Ë
    [üàg¶-  ã                   óž   — d Z ddlmZmZmZmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ ddlmZ  G d„ d	e«      Z G d
„ de	«      Z G d„ de«      Zy)aë  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Trusthub
    This is the public Twilio REST API.

    NOTE: This class is auto generated by OpenAPI Generator.
    https://openapi-generator.tech
    Do not edit the class manually.
é    )ÚAnyÚDictÚOptionalÚUnion)Úvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   óÎ   ‡ — e Zd ZdZ	 ddedeeef   dee   fˆ fd„Z	e
dd„«       Zej                  fded	eeef   dd fd
„Zej                  fded	eeef   dd fd„Zdefd„Zˆ xZS )ÚComplianceInquiriesInstancear  
    :ivar inquiry_id: The unique ID used to start an embedded compliance registration session.
    :ivar inquiry_session_token: The session token used to start an embedded compliance registration session.
    :ivar customer_id: The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing.
    :ivar url: The URL of this resource.
    ÚversionÚpayloadÚcustomer_idc                 ó  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d|xs | j
                  i| _        d | _        y )NÚ
inquiry_idÚinquiry_session_tokenr   Úurl)	ÚsuperÚ__init__Úgetr   r   r   r   Ú	_solutionÚ_context)Úselfr   r   r   Ú	__class__s       €új/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/trusthub/v1/compliance_inquiries.pyr   z$ComplianceInquiriesInstance.__init__   sz   ø€ ô 	‰Ñ˜Ô!à)0¯©°\Ó)BˆŒØ4;·K±KÐ@WÓ4XˆÔ"Ø*1¯+©+°mÓ*DˆÔØ")§+¡+¨eÓ"4ˆŒð ˜;Ò:¨$×*:Ñ*:ð
ˆŒð ?Cˆ�ó    Úreturnc                 ó„   — | j                   €)t        | j                  | j                  d   ¬«      | _         | j                   S )a  
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: ComplianceInquiriesContext for this ComplianceInquiriesInstance
        r   ©r   )r   ÚComplianceInquiriesContextÚ_versionr   ©r   s    r   Ú_proxyz"ComplianceInquiriesInstance._proxy1   s9   € ð �=‰=Ð Ü6Ø—‘Ø ŸN™N¨=Ñ9ôˆDŒMð �}‰}Ðr   Úprimary_profile_sidÚtheme_set_idc                 ó<   — | j                   j                  ||¬«      S )ár  
        Update the ComplianceInquiriesInstance

        :param primary_profile_sid: The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The updated ComplianceInquiriesInstance
        ©r%   r&   )r$   Úupdate©r   r%   r&   s      r   r*   z"ComplianceInquiriesInstance.update@   s&   € ð �{‰{×!Ñ!Ø 3Ø%ð "ó 
ð 	
r   c              ƒ   óX   K  — | j                   j                  ||¬«      ƒ d{  –—† S 7 Œ­w)áŒ  
        Asynchronous coroutine to update the ComplianceInquiriesInstance

        :param primary_profile_sid: The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The updated ComplianceInquiriesInstance
        r)   N)r$   Úupdate_asyncr+   s      r   r.   z(ComplianceInquiriesInstance.update_asyncP   s4   è ø€ ð —[‘[×-Ñ-Ø 3Ø%ð .ó 
÷ 
ð 	
ð 
ús   ‚!*£(¤*c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )úf
        Provide a friendly representation

        :returns: Machine friendly representation
        ú c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­w©z{}={}N©Úformat©Ú.0ÚkÚvs      r   ú	<genexpr>z7ComplianceInquiriesInstance.__repr__.<locals>.<genexpr>f   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z3<Twilio.Trusthub.V1.ComplianceInquiriesInstance {}>©Újoinr   Úitemsr5   ©r   Úcontexts     r   Ú__repr__z$ComplianceInquiriesInstance.__repr__`   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØD×KÑKÈGÓTÐTr   )N)r   r!   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r   Úpropertyr$   r   Úunsetr   Úobjectr*   r.   rB   Ú__classcell__©r   s   @r   r   r      sÂ   ø„ ñð &*ñ	CàðCð �c˜3�h‘ðCð ˜c‘]õ	Cð$ òó ðð LRÏ<É<ñ
Ø#&ð
Ø6;¸CÀ¸KÑ6Hð
à	&ó
ð" LRÏ<É<ñ
Ø#&ð
Ø6;¸CÀ¸KÑ6Hð
à	&ó
ð U˜#÷ Ur   r   c                   ó    ‡ — e Zd Zdedefˆ fd„Zej                  fdedeee	f   de
fd„Zej                  fdedeee	f   de
fd„Zdefd	„Zˆ xZS )
r!   r   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)aU  
        Initialize the ComplianceInquiriesContext

        :param version: Version that contains the resource
        :param customer_id: The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.
        r   z7/ComplianceInquiries/Customers/{customer_id}/InitializeN© )r   r   r   r5   Ú_uri)r   r   r   r   s      €r   r   z#ComplianceInquiriesContext.__init__l   sF   ø€ ô 	‰Ñ˜Ô!ð ˜;ð
ˆŒð UÐM×TÑTñ 
Ø�n‰nñ
ˆ�	r   r%   r&   r   c                 ó  — t        j                  ||dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬	«      S )
r(   ©ÚPrimaryProfileSidÚ
ThemeSetIdú!application/x-www-form-urlencodedúContent-Typeúapplication/jsonÚAcceptÚPOST©ÚmethodÚuriÚdataÚheadersr   r    )r   Úofr"   r*   rP   r   r   ©r   r%   r&   r]   r^   r   s         r   r*   z!ComplianceInquiriesContext.update}   s‰   € ô �y‰yà%8Ø*ñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô +Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
r   c              ƒ   ó(  K  — t        j                  ||dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d	   ¬
«      S 7 Œ)­w)r-   rR   rU   rV   rW   rX   rY   rZ   Nr   r    )r   r_   r"   r.   rP   r   r   r`   s         r   r.   z'ComplianceInquiriesContext.update_async�   s—   è ø€ ô �y‰yà%8Ø*ñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô +Ø�M‰M˜7°·±¸}Ñ0Mô
ð 	
ð	
ús   ‚A$BÁ&BÁ'*Bc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r0   r1   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr3   r4   r6   s      r   r:   z6ComplianceInquiriesContext.__repr__.<locals>.<genexpr>Ã   r;   r<   z2<Twilio.Trusthub.V1.ComplianceInquiriesContext {}>r=   r@   s     r   rB   z#ComplianceInquiriesContext.__repr__½   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØC×JÑJÈ7ÓSÐSr   )rC   rD   rE   r   rG   r   r   rI   r   rJ   r   r*   r.   rB   rK   rL   s   @r   r!   r!   j   sˆ   ø„ ð
 ð 
°cõ 
ð$ LRÏ<É<ñ
Ø#&ð
Ø6;¸CÀ¸KÑ6Hð
à	$ó
ðB LRÏ<É<ñ
Ø#&ð
Ø6;¸CÀ¸KÑ6Hð
à	$ó
ð@T˜#÷ Tr   r!   c            	       ó  ‡ — e Zd Zdefˆ fd„Zej                  ej                  fdedeee	f   deee	f   de
fd„Zej                  ej                  fdedeee	f   deee	f   de
fd„Zd	edefd
„Zd	edefd„Zdefd„Zˆ xZS )ÚComplianceInquiriesListr   c                 ó2   •— t         ‰| �  |«       d| _        y)zu
        Initialize the ComplianceInquiriesList

        :param version: Version that contains the resource

        z)/ComplianceInquiries/Customers/InitializeN)r   r   rP   )r   r   r   s     €r   r   z ComplianceInquiriesList.__init__É   s   ø€ ô 	‰Ñ˜Ô!à?ˆ�	r   r%   Únotification_emailr&   r   c                 óô   — t        j                  |||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )a5  
        Create the ComplianceInquiriesInstance

        :param primary_profile_sid: The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
        :param notification_email: The email address that approval status updates will be sent to. If not specified, the email address associated with your primary customer profile will be used.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The created ComplianceInquiriesInstance
        ©rS   ÚNotificationEmailrT   rV   rU   rW   rX   rY   rZ   )r   r_   r"   ÚcreaterP   r   ©r   r%   rg   r&   r]   r^   r   s          r   rk   zComplianceInquiriesList.createÔ   sƒ   € ô  �y‰yà%8Ø%7Ø*ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô +¨4¯=©=¸'ÓBÐBr   c              ƒ   ó  K  — t        j                  |||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	aD  
        Asynchronously create the ComplianceInquiriesInstance

        :param primary_profile_sid: The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
        :param notification_email: The email address that approval status updates will be sent to. If not specified, the email address associated with your primary customer profile will be used.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The created ComplianceInquiriesInstance
        ri   rV   rU   rW   rX   rY   rZ   N)r   r_   r"   Úcreate_asyncrP   r   rl   s          r   rn   z$ComplianceInquiriesList.create_async÷   s‘   è ø€ ô  �y‰yà%8Ø%7Ø*ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô +¨4¯=©=¸'ÓBÐBð	
ús   ‚A'BÁ)BÁ*Br   c                 ó0   — t        | j                  |¬«      S ©a  
        Constructs a ComplianceInquiriesContext

        :param customer_id: The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.
        r    ©r!   r"   ©r   r   s     r   r   zComplianceInquiriesList.get  ó   € ô *¨$¯-©-À[ÔQÐQr   c                 ó0   — t        | j                  |¬«      S rp   rq   rr   s     r   Ú__call__z ComplianceInquiriesList.__call__"  rs   r   c                  ó   — y)r0   z,<Twilio.Trusthub.V1.ComplianceInquiriesList>rO   r#   s    r   rB   z ComplianceInquiriesList.__repr__*  s   € ð >r   )rC   rD   rE   r   r   r   rI   rG   r   rJ   r   rk   rn   r!   r   ru   rB   rK   rL   s   @r   re   re   Ç   sñ   ø„ ð	@ õ 	@ð 28·±Ø+1¯<©<ñ	!Cà ð!Cð " # v +Ñ.ð!Cð ˜C ˜KÑ(ð	!Cð
 
%ó!CðL 28·±Ø+1¯<©<ñ	!Cà ð!Cð " # v +Ñ.ð!Cð ˜C ˜KÑ(ð	!Cð
 
%ó!CðFR˜sð RÐ'Aó RðR Cð RÐ,Fó Rð>˜#÷ >r   re   N)rF   Útypingr   r   r   r   Útwilio.baser   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer	   Útwilio.base.list_resourcer
   Útwilio.base.versionr   r   r!   re   rO   r   r   ú<module>r}      sR   ðñ÷ .Ó -Ý Ý 8Ý :Ý 2Ý 'ôPUÐ"2ô PUôfZT ô ZTôzi>˜lõ i>r   