
    d{i                          d Z ddlmZmZmZmZ ddl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)	serializevalues)ApiResponse)InstanceContext)InstanceResource)ListResource)Versionc                       e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z	 	 dd	ed
e	e
ef   dee
   f fdZedd       Zej"                  ej"                  fdeeef   dee
ef   dd fdZej"                  ej"                  fdeeef   dee
ef   dd fdZej"                  ej"                  fdeeef   dee
ef   defdZej"                  ej"                  fdeeef   dee
ef   defdZde
fdZ xZS )'ComplianceRegistrationInquiriesInstancec                       e Zd ZdZdZdZy)<ComplianceRegistrationInquiriesInstance.BusinessIdentityTypedirect_customerisv_reseller_or_partnerunknownN)__name__
__module____qualname__DIRECT_CUSTOMERISV_RESELLER_OR_PARTNERUNKNOWN     w/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/trusthub/v1/compliance_registration_inquiries.pyBusinessIdentityTyper      s    +";r   r   c                        e Zd ZdZdZdZdZdZy)EComplianceRegistrationInquiriesInstance.BusinessRegistrationAuthorityzUK:CRNzUS:EINzCA:CBNzAU:ACNOtherN)r   r   r   UK_CRNUS_EINCA_CBNAU_ACNOTHERr   r   r   BusinessRegistrationAuthorityr       s    r   r'   c                       e Zd ZdZdZy)3ComplianceRegistrationInquiriesInstance.EndUserType
IndividualBusinessN)r   r   r   
INDIVIDUALBUSINESSr   r   r   EndUserTyper)   &   s    !
r   r.   c                       e Zd ZdZdZdZdZy)7ComplianceRegistrationInquiriesInstance.PhoneNumberTypelocalnationalmobilez	toll-freeN)r   r   r   LOCALNATIONALMOBILE	TOLL_FREEr   r   r   PhoneNumberTyper0   *   s    	r   r8   versionpayloadregistration_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)selfr9   r:   r;   	__class__s       r   rA   z0ComplianceRegistrationInquiriesInstance.__init__7   s|     	!)0\)B4;KK@W4X".5kk:K.L")++e"4 F$2F2F
 KOr   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: ComplianceRegistrationInquiriesContext for this ComplianceRegistrationInquiriesInstance
        r;   r;   )rD   &ComplianceRegistrationInquiriesContext_versionrC   rE   s    r   _proxyz.ComplianceRegistrationInquiriesInstance._proxyI   s:     == B $/@ ADM }}r   is_isv_embedtheme_set_idc                 <    | j                   j                  ||      S )7  
        Update the ComplianceRegistrationInquiriesInstance

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The updated ComplianceRegistrationInquiriesInstance
        rN   rO   )rM   updaterE   rN   rO   s      r   rS   z.ComplianceRegistrationInquiriesInstance.updateX   s&     {{!!%% " 
 	
r   c                 X   K   | j                   j                  ||       d{   S 7 w)Q  
        Asynchronous coroutine to update the ComplianceRegistrationInquiriesInstance

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The updated ComplianceRegistrationInquiriesInstance
        rR   N)rM   update_asyncrT   s      r   rW   z4ComplianceRegistrationInquiriesInstance.update_asyncj   s4      [[--%% . 
 
 	
 
   !*(*c                 <    | j                   j                  ||      S )aF  
        Update the ComplianceRegistrationInquiriesInstance with HTTP info

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        rR   )rM   update_with_http_inforT   s      r   rZ   z=ComplianceRegistrationInquiriesInstance.update_with_http_info|   s&     {{00%% 1 
 	
r   c                 X   K   | j                   j                  ||       d{   S 7 w)a`  
        Asynchronous coroutine to update the ComplianceRegistrationInquiriesInstance with HTTP info

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        rR   N)rM   update_with_http_info_asyncrT   s      r   r\   zCComplianceRegistrationInquiriesInstance.update_with_http_info_async   s4      [[<<%% = 
 
 	
 
rX   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>zCComplianceRegistrationInquiriesInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z?<Twilio.Trusthub.V1.ComplianceRegistrationInquiriesInstance {}>joinrC   itemsrc   rE   contexts     r   __repr__z0ComplianceRegistrationInquiriesInstance.__repr__   s;     ((SDNN<P<P<RSSPWW
 	
r   )N)rG   rJ   )r   r   r   objectr   r'   r.   r8   r   r   strr   r   rA   propertyrM   r   unsetr   boolrS   rW   r	   rZ   r\   rp   __classcell__rF   s   @r   r   r      s   v 
 f  &   *.	OO c3hO "#	O$    -3LL+1<<
D&L)
 CK(
 
3	
( -3LL+1<<
D&L)
 CK(
 
3	
( -3LL+1<<
D&L)
 CK(
 
	
( -3LL+1<<
D&L)
 CK(
 
	
$	
# 	
r   r   c                   8    e Zd Zdedef fdZej                  ej                  fdee	e
f   deee
f   defdZej                  ej                  fdee	e
f   deee
f   defdZej                  ej                  fdee	e
f   deee
f   defd	Zej                  ej                  fdee	e
f   deee
f   defd
Zej                  ej                  fdee	e
f   deee
f   defdZej                  ej                  fdee	e
f   deee
f   defdZdefdZ xZS )rJ   r9   r;   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)an  
        Initialize the ComplianceRegistrationInquiriesContext

        :param version: Version that contains the resource
        :param registration_id: The unique RegistrationId matching the Regulatory Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Regulatory Compliance Inquiry creation call.
        r;   zV/ComplianceInquiries/Registration/{registration_id}/RegulatoryCompliance/GB/InitializeNr   )r@   rA   rC   rc   _uri)rE   r9   r;   rF   s      r   rA   z/ComplianceRegistrationInquiriesContext.__init__   sF     	! 
 tlss 
nn
	r   rN   rO   rG   c                     t        j                  t        j                  |      |d      }t        j                  i       }d|d<   d|d<   | j                  j                  d| j                  ||      S )z{
        Internal helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        
IsIsvEmbed
ThemeSetId!application/x-www-form-urlencodedContent-Typeapplication/jsonAcceptPOSTmethoduridataheaders)r   ofr   boolean_to_stringrK   update_with_response_inforz   rE   rN   rO   r   r   s        r   _updatez.ComplianceRegistrationInquiriesContext._update   st     yy'99,G*
 ))B-"E.}}66tyytW 7 
 	
r   c                 z    | j                  ||      \  }}}t        | j                  || j                  d         S )rQ   rR   r;   rI   )r   r   rK   rC   rE   rN   rO   r:   _s        r   rS   z-ComplianceRegistrationInquiriesContext.update   sF     %L % 
A 7MM7DNNCT4U
 	
r   c                     | j                  ||      \  }}}t        | j                  || j                  d         }t	        |||      S )aT  
        Update the ComplianceRegistrationInquiriesInstance and return response metadata

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        rR   r;   rI   r   status_coder   )r   r   rK   rC   r	   rE   rN   rO   r:   r   r   instances          r   rZ   z<ComplianceRegistrationInquiriesContext.update_with_http_info   sU     )-%L )5 )
%g ;MM7DNNCT4U
 k7SSr   c                   K   t        j                  t        j                  |      |d      }t        j                  i       }d|d<   d|d<   | j                  j                  d| j                  ||       d{   S 7 w)	z
        Internal async helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        r|   r   r   r   r   r   r   N)r   r   r   r   rK   update_with_response_info_asyncrz   r   s        r   _update_asyncz4ComplianceRegistrationInquiriesContext._update_async  s      yy'99,G*
 ))B-"E.]]BBtyytW C 
 
 	
 
s   A7B 9A>:B c                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d         S 7 -w)rV   rR   Nr;   rI   )r   r   rK   rC   r   s        r   rW   z3ComplianceRegistrationInquiriesContext.update_async   sV      #00%L 1 
 
A 7MM7DNNCT4U
 	

s   A	A.A	c                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)an  
        Asynchronous coroutine to update the ComplianceRegistrationInquiriesInstance and return response metadata

        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        rR   Nr;   rI   r   )r   r   rK   rC   r	   r   s          r   r\   zBComplianceRegistrationInquiriesContext.update_with_http_info_async4  sf      /3.@.@%L /A /
 )
%g ;MM7DNNCT4U
 k7SS)
s   AA<Ac                     dj                  d | j                  j                         D              }dj                  |      S )r^   r_   c              3   F   K   | ]  \  }}d j                  ||        ywra   rb   rd   s      r   rh   zBComplianceRegistrationInquiriesContext.__repr__.<locals>.<genexpr>O  ri   rj   z><Twilio.Trusthub.V1.ComplianceRegistrationInquiriesContext {}>rk   rn   s     r   rp   z/ComplianceRegistrationInquiriesContext.__repr__I  s;     ((SDNN<P<P<RSSOVV
 	
r   )r   r   r   r   rr   rA   r   rt   r   ru   rq   tupler   r   rS   r	   rZ   r   rW   r\   rp   rv   rw   s   @r   rJ   rJ      s   
 
# 
& -3LL+1<<
D&L)
 CK(
 
	
< -3LL+1<<
D&L)
 CK(
 
1	
, -3LL+1<<TD&L)T CK(T 
	T. -3LL+1<<
D&L)
 CK(
 
	
< -3LL+1<<
D&L)
 CK(
 
1	
, -3LL+1<<TD&L)T CK(T 
	T*	
# 	
r   rJ   c            Q            e Zd Zdef fdZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd/Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd0Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd1Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd2Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd3Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f%dddddedef   d	ed
ef   dee	ef   dee	ef   dee
ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   dee	ef   d ee	ef   d!ee	ef   d"ee
ef   d#ee	ef   d$ee	ef   d%ee	ef   d&ee	ef   d'ee	ef   d(ee	ef   d)ee	ef   d*ee
ef   d+ee	ef   d,ee	ef   d-ee	ef   d.efPd4Zd5e	d.efd6Zd5e	d.efd7Zd.e	fd8Z xZS )9#ComplianceRegistrationInquiriesListr9   c                 2    t         |   |       d| _        y)z
        Initialize the ComplianceRegistrationInquiriesList

        :param version: Version that contains the resource

        zD/ComplianceInquiries/Registration/RegulatoryCompliance/GB/InitializeN)r@   rA   rz   )rE   r9   rF   s     r   rA   z,ComplianceRegistrationInquiriesList.__init__W  s     	! S 		r   end_user_typer)   phone_number_typer0   business_identity_typer   business_registration_authorityr    business_legal_namenotification_emailaccepted_notification_receiptbusiness_registration_numberbusiness_website_urlfriendly_name%authorized_representative1_first_name$authorized_representative1_last_name authorized_representative1_phone authorized_representative1_email(authorized_representative1_date_of_birthaddress_streetaddress_street_secondaryaddress_cityaddress_subdivisionaddress_postal_codeaddress_country_codeemergency_address_street"emergency_address_street_secondaryemergency_address_cityemergency_address_subdivisionemergency_address_postal_codeemergency_address_country_code use_address_as_emergency_address	file_namefile
first_name	last_namedate_of_birthindividual_emailindividual_phonerN   "isv_registering_for_self_or_tenantstatus_callback_urlrO   rG   c(           	         t        j                  i d|d|d|d|d|d|dt        j                  |      d|d	|	d
|
d|d|d|d|d|d|d|i d|d|d|d|d|d|d|d|d|d|dt        j                  |      d|d|d|d | d!|!d"|"|#t        j                  |$      |%|&|'d#      }(t        j                  d$d%i      })d%|)d$<   d&|)d'<   | j                  j                  d(| j                  |(|))      S )*z{
        Internal helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r.   r8   r   r'   BusinessLegalNameNotificationEmailAcceptedNotificationReceiptBusinessRegistrationNumberBusinessWebsiteUrlFriendlyName"AuthorizedRepresentative1FirstName!AuthorizedRepresentative1LastNameAuthorizedRepresentative1PhoneAuthorizedRepresentative1Email$AuthorizedRepresentative1DateOfBirthAddressStreetAddressStreetSecondaryAddressCityAddressSubdivisionAddressPostalCodeAddressCountryCodeEmergencyAddressStreetEmergencyAddressStreetSecondaryEmergencyAddressCityEmergencyAddressSubdivisionEmergencyAddressPostalCodeEmergencyAddressCountryCodeUseAddressAsEmergencyAddressFileNameFile	FirstNameLastNameDateOfBirthIndividualEmailIndividualPhoner}   IsvRegisteringForSelfOrTenantStatusCallbackUrlr~   r   r   r   r   r   r   )r   r   r   r   rK   create_with_response_inforz   *rE   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   r   r   s*                                             r   _createz+ComplianceRegistrationInquiriesList._created  sb   l yy,},!#4, '(>, 01P	,
 $%8, $%7, .y/J/J10, -.J, %&:, , 56[, 45Y, 12R,  12R!," 78`#,$  %,& )*B',( |),* %&9+,, $%8-,. %&:/,0 )*B1,2 23U3,4 '(>5,6 ./L7,8 -.K9,: ./M;,< /	0K0K41=,B IC,D E,F ZG,H II,J }K,L "#3M,N $4'99,G1S%8*W,.
^ ))^-PQR"E.}}66tyytW 7 
 	
r   c(                 @    | j                   d(i d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d | d!|!d"|"d#|#d$|$d%|%d&|&d'|'\  }(})})t        | j                  |(      S ))a+  
        Create the ComplianceRegistrationInquiriesInstance

        :param end_user_type:
        :param phone_number_type:
        :param business_identity_type:
        :param business_registration_authority:
        :param business_legal_name: he name of the business or organization using the Tollfree number.
        :param notification_email: he email address to receive the notification about the verification result.
        :param accepted_notification_receipt: The email address to receive the notification about the verification result.
        :param business_registration_number: Business registration number of the business
        :param business_website_url: The URL of the business website
        :param friendly_name: Friendly name for your business information
        :param authorized_representative1_first_name: First name of the authorized representative
        :param authorized_representative1_last_name: Last name of the authorized representative
        :param authorized_representative1_phone: Phone number of the authorized representative
        :param authorized_representative1_email: Email address of the authorized representative
        :param authorized_representative1_date_of_birth: Birthdate of the authorized representative
        :param address_street: Street address of the business
        :param address_street_secondary: Street address of the business
        :param address_city: City of the business
        :param address_subdivision: State or province of the business
        :param address_postal_code: Postal code of the business
        :param address_country_code: Country code of the business
        :param emergency_address_street: Street address of the business
        :param emergency_address_street_secondary: Street address of the business
        :param emergency_address_city: City of the business
        :param emergency_address_subdivision: State or province of the business
        :param emergency_address_postal_code: Postal code of the business
        :param emergency_address_country_code: Country code of the business
        :param use_address_as_emergency_address: Use the business address as the emergency address
        :param file_name: The name of the verification document to upload
        :param file: The verification document to upload
        :param first_name: The first name of the Individual User.
        :param last_name: The last name of the Individual User.
        :param date_of_birth: The date of birth of the Individual User.
        :param individual_email: The email address of the Individual User.
        :param individual_phone: The phone number of the Individual User.
        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param isv_registering_for_self_or_tenant: Indicates if the isv registering for self or tenant.
        :param status_callback_url: The url we call to inform you of bundle changes.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The created ComplianceRegistrationInquiriesInstance
        r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   r   )r   r   rK   *rE   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   r:   r   s*                                             r   createz*ComplianceRegistrationInquiriesList.create  s   x % (
'(
/(
 $:(
 -L	(

 !4(
  2(
 +H(
 *F(
 "6(
 ((
 3X(
 2V(
 .N(
 .N(
 6^(
  *!(
" &>#(
$ &%(
& !4'(
( !4)(
* "6+(
, &>-(
. 0R/(
0 $:1(
2 +H3(
4 +H5(
6 ,J7(
8 .N9(
:  ;(
< =(
> "?(
@  A(
B (C(
D .E(
F .G(
H &I(
J 0RK(
L !4M(
N &O(
AR 7t}}gNNr   c(                 \    | j                   d)i d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d | d!|!d"|"d#|#d$|$d%|%d&|&d'|'\  }(})}*t        | j                  |(      }+t        |+|)|*(      S )*aH  
        Create the ComplianceRegistrationInquiriesInstance and return response metadata

        :param end_user_type:
        :param phone_number_type:
        :param business_identity_type:
        :param business_registration_authority:
        :param business_legal_name: he name of the business or organization using the Tollfree number.
        :param notification_email: he email address to receive the notification about the verification result.
        :param accepted_notification_receipt: The email address to receive the notification about the verification result.
        :param business_registration_number: Business registration number of the business
        :param business_website_url: The URL of the business website
        :param friendly_name: Friendly name for your business information
        :param authorized_representative1_first_name: First name of the authorized representative
        :param authorized_representative1_last_name: Last name of the authorized representative
        :param authorized_representative1_phone: Phone number of the authorized representative
        :param authorized_representative1_email: Email address of the authorized representative
        :param authorized_representative1_date_of_birth: Birthdate of the authorized representative
        :param address_street: Street address of the business
        :param address_street_secondary: Street address of the business
        :param address_city: City of the business
        :param address_subdivision: State or province of the business
        :param address_postal_code: Postal code of the business
        :param address_country_code: Country code of the business
        :param emergency_address_street: Street address of the business
        :param emergency_address_street_secondary: Street address of the business
        :param emergency_address_city: City of the business
        :param emergency_address_subdivision: State or province of the business
        :param emergency_address_postal_code: Postal code of the business
        :param emergency_address_country_code: Country code of the business
        :param use_address_as_emergency_address: Use the business address as the emergency address
        :param file_name: The name of the verification document to upload
        :param file: The verification document to upload
        :param first_name: The first name of the Individual User.
        :param last_name: The last name of the Individual User.
        :param date_of_birth: The date of birth of the Individual User.
        :param individual_email: The email address of the Individual User.
        :param individual_phone: The phone number of the Individual User.
        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param isv_registering_for_self_or_tenant: Indicates if the isv registering for self or tenant.
        :param status_callback_url: The url we call to inform you of bundle changes.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   r   r   )r   r   rK   r	   ,rE   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   r:   r   r   r   s,                                               r   create_with_http_infoz9ComplianceRegistrationInquiriesList.create_with_http_infoZ  s   x )5 ()
'()
/()
 $:()
 -L	()

 !4()
  2()
 +H()
 *F()
 "6()
 (()
 3X()
 2V()
 .N()
 .N()
 6^()
  *!()
" &>#()
$ &%()
& !4'()
( !4)()
* "6+()
, &>-()
. 0R/()
0 $:1()
2 +H3()
4 +H5()
6 ,J7()
8 .N9()
:  ;()
< =()
> "?()
@  A()
B (C()
D .E()
F .G()
H &I()
J 0RK()
L !4M()
N &O()
%gR ;4=='Rk7SSr   c(           	      .  K   t        j                  i d|d|d|d|d|d|dt        j                  |      d|d	|	d
|
d|d|d|d|d|d|d|i d|d|d|d|d|d|d|d|d|d|dt        j                  |      d|d|d|d | d!|!d"|"|#t        j                  |$      |%|&|'d#      }(t        j                  d$d%i      })d%|)d$<   d&|)d'<   | j                  j                  d(| j                  |(|))       d*{   S 7 w)+z
        Internal async helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r.   r8   r   r'   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   N)r   r   r   r   rK   create_with_response_info_asyncrz   r   s*                                             r   _create_asyncz1ComplianceRegistrationInquiriesList._create_async  sq    l yy,},!#4, '(>, 01P	,
 $%8, $%7, .y/J/J10, -.J, %&:, , 56[, 45Y, 12R,  12R!," 78`#,$  %,& )*B',( |),* %&9+,, $%8-,. %&:/,0 )*B1,2 23U3,4 '(>5,6 ./L7,8 -.K9,: ./M;,< /	0K0K41=,B IC,D E,F ZG,H II,J }K,L "#3M,N $4'99,G1S%8*W,.
^ ))^-PQR"E.]]BBtyytW C 
 
 	
 
s   DDDDc(                 \  K    | j                   d)i d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d | d!|!d"|"d#|#d$|$d%|%d&|&d'|' d({   \  }(})})t        | j                  |(      S 7 w)*a:  
        Asynchronously create the ComplianceRegistrationInquiriesInstance

        :param end_user_type:
        :param phone_number_type:
        :param business_identity_type:
        :param business_registration_authority:
        :param business_legal_name: he name of the business or organization using the Tollfree number.
        :param notification_email: he email address to receive the notification about the verification result.
        :param accepted_notification_receipt: The email address to receive the notification about the verification result.
        :param business_registration_number: Business registration number of the business
        :param business_website_url: The URL of the business website
        :param friendly_name: Friendly name for your business information
        :param authorized_representative1_first_name: First name of the authorized representative
        :param authorized_representative1_last_name: Last name of the authorized representative
        :param authorized_representative1_phone: Phone number of the authorized representative
        :param authorized_representative1_email: Email address of the authorized representative
        :param authorized_representative1_date_of_birth: Birthdate of the authorized representative
        :param address_street: Street address of the business
        :param address_street_secondary: Street address of the business
        :param address_city: City of the business
        :param address_subdivision: State or province of the business
        :param address_postal_code: Postal code of the business
        :param address_country_code: Country code of the business
        :param emergency_address_street: Street address of the business
        :param emergency_address_street_secondary: Street address of the business
        :param emergency_address_city: City of the business
        :param emergency_address_subdivision: State or province of the business
        :param emergency_address_postal_code: Postal code of the business
        :param emergency_address_country_code: Country code of the business
        :param use_address_as_emergency_address: Use the business address as the emergency address
        :param file_name: The name of the verification document to upload
        :param file: The verification document to upload
        :param first_name: The first name of the Individual User.
        :param last_name: The last name of the Individual User.
        :param date_of_birth: The date of birth of the Individual User.
        :param individual_email: The email address of the Individual User.
        :param individual_phone: The phone number of the Individual User.
        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param isv_registering_for_self_or_tenant: Indicates if the isv registering for self or tenant.
        :param status_callback_url: The url we call to inform you of bundle changes.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: The created ComplianceRegistrationInquiriesInstance
        r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   Nr   )r   r   rK   r   s*                                             r   create_asyncz0ComplianceRegistrationInquiriesList.create_asyncQ  s    x 1d00 (
'(
/(
 $:(
 -L	(

 !4(
  2(
 +H(
 *F(
 "6(
 ((
 3X(
 2V(
 .N(
 .N(
 6^(
  *!(
" &>#(
$ &%(
& !4'(
( !4)(
* "6+(
, &>-(
. 0R/(
0 $:1(
2 +H3(
4 +H5(
6 ,J7(
8 .N9(
:  ;(
< =(
> "?(
@  A(
B (C(
D .E(
F .G(
H &I(
J 0RK(
L !4M(
N &O(
 (
AR 7t}}gNNS(
s   B	B,B*B,c(                 x  K    | j                   d*i d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|d | d!|!d"|"d#|#d$|$d%|%d&|&d'|' d({   \  }(})}*t        | j                  |(      }+t        |+|)|*)      S 7 ,w)+aW  
        Asynchronously create the ComplianceRegistrationInquiriesInstance and return response metadata

        :param end_user_type:
        :param phone_number_type:
        :param business_identity_type:
        :param business_registration_authority:
        :param business_legal_name: he name of the business or organization using the Tollfree number.
        :param notification_email: he email address to receive the notification about the verification result.
        :param accepted_notification_receipt: The email address to receive the notification about the verification result.
        :param business_registration_number: Business registration number of the business
        :param business_website_url: The URL of the business website
        :param friendly_name: Friendly name for your business information
        :param authorized_representative1_first_name: First name of the authorized representative
        :param authorized_representative1_last_name: Last name of the authorized representative
        :param authorized_representative1_phone: Phone number of the authorized representative
        :param authorized_representative1_email: Email address of the authorized representative
        :param authorized_representative1_date_of_birth: Birthdate of the authorized representative
        :param address_street: Street address of the business
        :param address_street_secondary: Street address of the business
        :param address_city: City of the business
        :param address_subdivision: State or province of the business
        :param address_postal_code: Postal code of the business
        :param address_country_code: Country code of the business
        :param emergency_address_street: Street address of the business
        :param emergency_address_street_secondary: Street address of the business
        :param emergency_address_city: City of the business
        :param emergency_address_subdivision: State or province of the business
        :param emergency_address_postal_code: Postal code of the business
        :param emergency_address_country_code: Country code of the business
        :param use_address_as_emergency_address: Use the business address as the emergency address
        :param file_name: The name of the verification document to upload
        :param file: The verification document to upload
        :param first_name: The first name of the Individual User.
        :param last_name: The last name of the Individual User.
        :param date_of_birth: The date of birth of the Individual User.
        :param individual_email: The email address of the Individual User.
        :param individual_phone: The phone number of the Individual User.
        :param is_isv_embed: Indicates if the inquiry is being started from an ISV embedded component.
        :param isv_registering_for_self_or_tenant: Indicates if the isv registering for self or tenant.
        :param status_callback_url: The url we call to inform you of bundle changes.
        :param theme_set_id: Theme id for styling the inquiry form.

        :returns: ApiResponse with instance, status code, and headers
        r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rN   r   r   rO   Nr   r   )r   r   rK   r	   r   s,                                               r   create_with_http_info_asyncz?ComplianceRegistrationInquiriesList.create_with_http_info_async  s    x /Ad.@.@ (/
'(/
/(/
 $:(/
 -L	(/

 !4(/
  2(/
 +H(/
 *F(/
 "6(/
 ((/
 3X(/
 2V(/
 .N(/
 .N(/
 6^(/
  *!(/
" &>#(/
$ &%(/
& !4'(/
( !4)(/
* "6+(/
, &>-(/
. 0R/(/
0 $:1(/
2 +H3(/
4 +H5(/
6 ,J7(/
8 .N9(/
:  ;(/
< =(/
> "?(/
@  A(/
B (C(/
D .E(/
F .G(/
H &I(/
J 0RK(/
L !4M(/
N &O(/
 ()
%gR ;4=='Rk7SSU()
s   B	B:B8-B:r;   c                 0    t        | j                  |      S a1  
        Constructs a ComplianceRegistrationInquiriesContext

        :param registration_id: The unique RegistrationId matching the Regulatory Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Regulatory Compliance Inquiry creation call.
        rI   rJ   rK   rE   r;   s     r   rB   z'ComplianceRegistrationInquiriesList.get`       6MM?
 	
r   c                 0    t        | j                  |      S r   r   r   s     r   __call__z,ComplianceRegistrationInquiriesList.__call__j  r   r   c                      y)r^   z8<Twilio.Trusthub.V1.ComplianceRegistrationInquiriesList>r   rL   s    r   rp   z,ComplianceRegistrationInquiriesList.__repr__t  s     Jr   )r   r   r   r   rA   r   rt   r   rq   rr   ru   r   r   r   r   r	   r   r   r   r   rJ   rB   r   rp   rv   rw   s   @r   r   r   U  sQ   
 
& LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[m
Lm
 Um
 !&JFR!
	m
 */S*
m
 #3;/m
 "#v+.m
 (-T6\':m
 ',CK&8m
 $CK0m
  S&[)!m
" 05S&[/A#m
$ /4CK.@%m
& +0V*<'m
( +0V*<)m
* 38V2D+m
, c6k*-m
. #(V"4/m
0 CK(1m
2 #3;/3m
4 #3;/5m
6 $CK07m
8 #(V"49m
: -2#v+,>;m
< !&c6k 2=m
> (-S&['9?m
@ (-S&['9Am
B ).c6k(:Cm
D +0f*=Em
F f%Gm
H CK Im
J #v+&Km
L f%Mm
N S&[)Om
P  V,Qm
R  V,Sm
T D&L)Um
V -2#v+,>Wm
X #3;/Ym
Z CK([m
\ 
]m
j LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[EOLEO UEO !&JFR!
	EO */S*
EO #3;/EO "#v+.EO (-T6\':EO ',CK&8EO $CK0EO  S&[)!EO" 05S&[/A#EO$ /4CK.@%EO& +0V*<'EO( +0V*<)EO* 38V2D+EO, c6k*-EO. #(V"4/EO0 CK(1EO2 #3;/3EO4 #3;/5EO6 $CK07EO8 #(V"49EO: -2#v+,>;EO< !&c6k 2=EO> (-S&['9?EO@ (-S&['9AEOB ).c6k(:CEOD +0f*=EEOF f%GEOH CK IEOJ #v+&KEOL f%MEON S&[)OEOP  V,QEOR  V,SEOT D&L)UEOV -2#v+,>WEOX #3;/YEOZ CK([EO\ 
1]EOZ LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[FTLFT UFT !&JFR!
	FT */S*
FT #3;/FT "#v+.FT (-T6\':FT ',CK&8FT $CK0FT  S&[)!FT" 05S&[/A#FT$ /4CK.@%FT& +0V*<'FT( +0V*<)FT* 38V2D+FT, c6k*-FT. #(V"4/FT0 CK(1FT2 #3;/3FT4 #3;/5FT6 $CK07FT8 #(V"49FT: -2#v+,>;FT< !&c6k 2=FT> (-S&['9?FT@ (-S&['9AFTB ).c6k(:CFTD +0f*=EFTF f%GFTH CK IFTJ #v+&KFTL f%MFTN S&[)OFTP  V,QFTR  V,SFTT D&L)UFTV -2#v+,>WFTX #3;/YFTZ CK([FT\ 
]FT\ LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[m
Lm
 Um
 !&JFR!
	m
 */S*
m
 #3;/m
 "#v+.m
 (-T6\':m
 ',CK&8m
 $CK0m
  S&[)!m
" 05S&[/A#m
$ /4CK.@%m
& +0V*<'m
( +0V*<)m
* 38V2D+m
, c6k*-m
. #(V"4/m
0 CK(1m
2 #3;/3m
4 #3;/5m
6 $CK07m
8 #(V"49m
: -2#v+,>;m
< !&c6k 2=m
> (-S&['9?m
@ (-S&['9Am
B ).c6k(:Cm
D +0f*=Em
F f%Gm
H CK Im
J #v+&Km
L f%Mm
N S&[)Om
P  V,Qm
R  V,Sm
T D&L)Um
V -2#v+,>Wm
X #3;/Ym
Z CK([m
\ 
]m
j LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[EOLEO UEO !&JFR!
	EO */S*
EO #3;/EO "#v+.EO (-T6\':EO ',CK&8EO $CK0EO  S&[)!EO" 05S&[/A#EO$ /4CK.@%EO& +0V*<'EO( +0V*<)EO* 38V2D+EO, c6k*-EO. #(V"4/EO0 CK(1EO2 #3;/3EO4 #3;/5EO6 $CK07EO8 #(V"49EO: -2#v+,>;EO< !&c6k 2=EO> (-S&['9?EO@ (-S&['9AEOB ).c6k(:CEOD +0f*=EEOF f%GEOH CK IEOJ #v+&KEOL f%MEON S&[)OEOP  V,QEOR  V,SEOT D&L)UEOV -2#v+,>WEOX #3;/YEOZ CK([EO\ 
1]EOZ LL LL28,,17=C\\;A<<39<<,2LLDJLLCI<<?E||?E||GM||-3\\7=||+1<<28,,28,,39<<7=||AG5;\\<BLL<BLL=C\\@F(.#)<<)/(.,2LL/5||/5||,2LLAG28,,+1<<[FTLFT UFT !&JFR!
	FT */S*
FT #3;/FT "#v+.FT (-T6\':FT ',CK&8FT $CK0FT  S&[)!FT" 05S&[/A#FT$ /4CK.@%FT& +0V*<'FT( +0V*<)FT* 38V2D+FT, c6k*-FT. #(V"4/FT0 CK(1FT2 #3;/3FT4 #3;/5FT6 $CK07FT8 #(V"49FT: -2#v+,>;FT< !&c6k 2=FT> (-S&['9?FT@ (-S&['9AFTB ).c6k(:CFTD +0f*=EFTF f%GFTH CK IFTJ #v+&KFTL f%MFTN S&[)OFTP  V,QFTR  V,SFTT D&L)UFTV -2#v+,>WFTX #3;/YFTZ CK([FT\ 
]FTP
3 
+Q 

 
0V 
J# Jr   r   N)__doc__typingr   r   r   r   twilio.baser   r   twilio.base.api_responser	   twilio.base.instance_contextr
   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   r   rJ   r   r   r   r   <module>r	     sS    . - ) 0 8 : 2 'Q
.> Q
hf
_ f
ReJ, eJr   