
    gn                         S r SSKJrJrJrJr  SSKJrJr  SSK	J
r
  SSKJr  SSKJr  SSKJr   " S S	\5      r " S
 S\
5      r " S S\5      rg)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)InstanceContext)InstanceResource)ListResource)Versionc                   ~  ^  \ rS rSr " S S\5      r " S S\5      r " S S\5      r " S S	\5      r  SS
\	S\
\\4   S\\   4U 4S jjjr\SS j5       r\R$                  \R$                  4S\\\4   S\\\4   SS 4S jjr\R$                  \R$                  4S\\\4   S\\\4   SS 4S jjrS\4S jrSrU =r$ )'ComplianceRegistrationInquiriesInstance   c                        \ rS rSrSrSrSrSrg)<ComplianceRegistrationInquiriesInstance.BusinessIdentityType   direct_customerisv_reseller_or_partnerunknown N)__name__
__module____qualname____firstlineno__DIRECT_CUSTOMERISV_RESELLER_OR_PARTNERUNKNOWN__static_attributes__r       ځ/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/trusthub/v1/compliance_registration_inquiries.pyBusinessIdentityTyper      s    +";r   r!   c                   (    \ rS rSrSrSrSrSrSrSr	g)	EComplianceRegistrationInquiriesInstance.BusinessRegistrationAuthority   zUK:CRNzUS:EINzCA:CBNzAU:ACNOtherr   N)
r   r   r   r   UK_CRNUS_EINCA_CBNAU_ACNOTHERr   r   r   r    BusinessRegistrationAuthorityr#      s    r   r+   c                       \ rS rSrSrSrSrg)3ComplianceRegistrationInquiriesInstance.EndUserType%   
IndividualBusinessr   N)r   r   r   r   
INDIVIDUALBUSINESSr   r   r   r    EndUserTyper-   %   s    !
r   r3   c                   $    \ rS rSrSrSrSrSrSrg)7ComplianceRegistrationInquiriesInstance.PhoneNumberType)   localnationalmobilez	toll-freer   N)	r   r   r   r   LOCALNATIONALMOBILE	TOLL_FREEr   r   r   r    PhoneNumberTyper5   )   s    	r   r>   versionpayloadregistration_idc                   > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        SU=(       d    U R
                  0U l        S U l        g )N
inquiry_idinquiry_session_tokenrA   url)	super__init__getrC   rD   rA   rE   	_solution_context)selfr?   r@   rA   	__class__s       r    rG   0ComplianceRegistrationInquiriesInstance.__init__6   s|     	!)0\)B4;KK@W4X".5kk:K.L")++e"4 F$2F2F
 KOr   returnc                     U R                   c&  [        U R                  U R                  S   S9U l         U R                   $ )z
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
rA   rA   )rJ   &ComplianceRegistrationInquiriesContext_versionrI   rK   s    r    _proxy.ComplianceRegistrationInquiriesInstance._proxyH   s:     == B $/@ ADM }}r   is_isv_embedtheme_set_idc                 6    U R                   R                  UUS9$ )  
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
rV   rW   )rT   updaterK   rV   rW   s      r    r[   .ComplianceRegistrationInquiriesInstance.updateW   s&     {{!!%% " 
 	
r   c                 R   #    U R                   R                  UUS9I Sh  vN $  N7f))  
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
rZ   N)rT   update_asyncr\   s      r    r`   4ComplianceRegistrationInquiriesInstance.update_asynci   s3      [[--%% . 
 
 	
 
s   '%'c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )N
Provide a friendly representation

:returns: Machine friendly representation
 c              3   H   #    U  H  u  pS R                  X5      v   M     g7fz{}={}Nformat.0kvs      r    	<genexpr>CComplianceRegistrationInquiriesInstance.__repr__.<locals>.<genexpr>         S<RDA7>>!//<R    "z?<Twilio.Trusthub.V1.ComplianceRegistrationInquiriesInstance {}>joinrI   itemsrh   rK   contexts     r    __repr__0ComplianceRegistrationInquiriesInstance.__repr__{   s;     ((SDNN<P<P<RSSPWW
 	
r   )rJ   rI   rC   rD   rA   rE   )N)rN   rQ   )r   r   r   r   objectr!   r+   r3   r>   r   r   strr   r   rG   propertyrT   r   unsetr   boolr[   r`   rv   r   __classcell__rL   s   @r    r   r      s   v 
 f  &   *.	OO c3hO "#	O O$    -3LL+1<<
D&L)
 CK(
 
3	
( -3LL+1<<
D&L)
 CK(
 
3	
$	
# 	
 	
r   r   c                      ^  \ rS rSrS\S\4U 4S jjr\R                  \R                  4S\	\
\4   S\	\\4   S\4S jjr\R                  \R                  4S\	\
\4   S\	\\4   S\4S	 jjrS\4S
 jrSrU =r$ )rQ      r?   rA   c                 x   > [         TU ]  U5        SU0U l        SR                  " S0 U R                  D6U l        g)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.
rA   zV/ComplianceInquiries/Registration/{registration_id}/RegulatoryCompliance/GB/InitializeNr   )rF   rG   rI   rh   _uri)rK   r?   rA   rL   s      r    rG   /ComplianceRegistrationInquiriesContext.__init__   sC     	! 
 mss 
nn
	r   rV   rW   rN   c                 (   [         R                  " [        R                  " U5      US.5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  X4S9n[        U R                  XPR                  S   S	9$ )
rY   
IsIsvEmbed
ThemeSetId!application/x-www-form-urlencodedContent-Typeapplication/jsonAcceptPOSTmethoduridataheadersrA   rP   )	r   ofr   boolean_to_stringrR   r[   r   r   rI   rK   rV   rW   r   r   r@   s         r    r[   -ComplianceRegistrationInquiriesContext.update   s     yy'99,G*
 ))B-"E.--&&tyyt ' 
 7MM7NNCT4U
 	
r   c                 D  #    [         R                  " [        R                  " U5      US.5      n[         R                  " 0 5      nSUS'   SUS'   U R                  R                  SU R                  X4S9I Sh  vN n[        U R                  XPR                  S	   S
9$  N%7f)r_   r   r   r   r   r   r   r   NrA   rP   )	r   r   r   r   rR   r`   r   r   rI   r   s         r    r`   3ComplianceRegistrationInquiriesContext.update_async   s      yy'99,G*
 ))B-"E.22tyyt 3 
 
 7MM7NNCT4U
 	
	
s   A6B 8B9&B c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )rc   rd   c              3   H   #    U  H  u  pS R                  X5      v   M     g7frf   rg   ri   s      r    rm   BComplianceRegistrationInquiriesContext.__repr__.<locals>.<genexpr>   ro   rp   z><Twilio.Trusthub.V1.ComplianceRegistrationInquiriesContext {}>rq   rt   s     r    rv   /ComplianceRegistrationInquiriesContext.__repr__   s;     ((SDNN<P<P<RSSOVV
 	
r   )rI   r   )r   r   r   r   r   ry   rG   r   r{   r   r|   rx   r   r[   r`   rv   r   r}   r~   s   @r    rQ   rQ      s    
 
# 
& -3LL+1<< 
D&L) 
 CK( 
 
1	 
H -3LL+1<< 
D&L) 
 CK( 
 
1	 
D	
# 	
 	
r   rQ   c            Q       
  ^  \ rS rSrS\4U 4S jj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                  4%SSSSS\S	\	4   S
\S\	4   S\\
\	4   S\\
\	4   S\\\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S \\
\	4   S!\\
\	4   S"\\
\	4   S#\\\	4   S$\\
\	4   S%\\
\	4   S&\\
\	4   S'\\
\	4   S(\\
\	4   S)\\
\	4   S*\\
\	4   S+\\\	4   S,\\
\	4   S-\\
\	4   S.\\
\	4   S/\4PS0 jj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                  4%SSSSS\S	\	4   S
\S\	4   S\\
\	4   S\\
\	4   S\\\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S\\
\	4   S \\
\	4   S!\\
\	4   S"\\
\	4   S#\\\	4   S$\\
\	4   S%\\
\	4   S&\\
\	4   S'\\
\	4   S(\\
\	4   S)\\
\	4   S*\\
\	4   S+\\\	4   S,\\
\	4   S-\\
\	4   S.\\
\	4   S/\4PS1 jjrS2\
S/\4S3 jrS2\
S/\4S4 jrS/\
4S5 jrS6rU =r$ )7#ComplianceRegistrationInquiriesList   r?   c                 2   > [         TU ]  U5        SU l        g)zi
Initialize the ComplianceRegistrationInquiriesList

:param version: Version that contains the resource

zD/ComplianceInquiries/Registration/RegulatoryCompliance/GB/InitializeN)rF   rG   r   )rK   r?   rL   s     r    rG   ,ComplianceRegistrationInquiriesList.__init__   s     	! S 		r   end_user_typer-   phone_number_typer5   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_phonerV   "isv_registering_for_self_or_tenantstatus_callback_urlrW   rN   c(           	      B   [         R                  " 0 SU_SU_SU_SU_SU_SU_S[        R                  " U5      _SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_SU_0 SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_S[        R                  " U5      _SU_SU_SU_S U _S!U!_S"U"_EU#[        R                  " U$5      U%U&U'S#.E5      n([         R                  " S$S%05      n)S%U)S$'   S&U)S''   U R                  R                  S(U R                  U(U)S)9n*[        U R                  U*5      $ )*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
r3   r>   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   rR   creater   r   +rK   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   rV   r   r   rW   r   r   r@   s+                                              r    r   *ComplianceRegistrationInquiriesList.create   sr   z 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.--&&tyytW ' 
 7t}}gNNr   c(           	      ^  #    [         R                  " 0 SU_SU_SU_SU_SU_SU_S[        R                  " U5      _SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_SU_0 SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_S[        R                  " U5      _SU_SU_SU_S U _S!U!_S"U"_EU#[        R                  " U$5      U%U&U'S#.E5      n([         R                  " S$S%05      n)S%U)S$'   S&U)S''   U R                  R                  S(U R                  U(U)S)9I S*h  vN n*[        U R                  U*5      $  N7f)+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
r3   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   r   N)r   r   r   r   rR   create_asyncr   r   r   s+                                              r    r   0ComplianceRegistrationInquiriesList.create_async  s    z 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.22tyytW 3 
 
 7t}}gNN	
s   DD-D+D-rA   c                 *    [        U R                  US9$ a  
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.
rP   rQ   rR   rK   rA   s     r    rH   'ComplianceRegistrationInquiriesList.get)       6MM?
 	
r   c                 *    [        U R                  US9$ r   r   r   s     r    __call__,ComplianceRegistrationInquiriesList.__call__3  r   r   c                     g)rc   z8<Twilio.Trusthub.V1.ComplianceRegistrationInquiriesList>r   rS   s    r    rv   ,ComplianceRegistrationInquiriesList.__repr__=  s     Jr   )r   )r   r   r   r   r   rG   r   r{   r   rx   ry   r|   r   r   r   rQ   rH   r   rv   r   r}   r~   s   @r    r   r      s	   
 
& 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<<[VOLVO UVO !&JFR!
	VO */S*
VO #3;/VO "#v+.VO (-T6\':VO ',CK&8VO $CK0VO  S&[)!VO" 05S&[/A#VO$ /4CK.@%VO& +0V*<'VO( +0V*<)VO* 38V2D+VO, c6k*-VO. #(V"4/VO0 CK(1VO2 #3;/3VO4 #3;/5VO6 $CK07VO8 #(V"49VO: -2#v+,>;VO< !&c6k 2=VO> (-S&['9?VO@ (-S&['9AVOB ).c6k(:CVOD +0f*=EVOF f%GVOH CK IVOJ #v+&KVOL f%MVON S&[)OVOP  V,QVOR  V,SVOT D&L)UVOV -2#v+,>WVOX #3;/YVOZ CK([VO\ 
1]VO| 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<<[VOLVO UVO !&JFR!
	VO */S*
VO #3;/VO "#v+.VO (-T6\':VO ',CK&8VO $CK0VO  S&[)!VO" 05S&[/A#VO$ /4CK.@%VO& +0V*<'VO( +0V*<)VO* 38V2D+VO, c6k*-VO. #(V"4/VO0 CK(1VO2 #3;/3VO4 #3;/5VO6 $CK07VO8 #(V"49VO: -2#v+,>;VO< !&c6k 2=VO> (-S&['9?VO@ (-S&['9AVOB ).c6k(:CVOD +0f*=EVOF f%GVOH CK IVOJ #v+&KVOL f%MVON S&[)OVOP  V,QVOR  V,SVOT D&L)UVOV -2#v+,>WVOX #3;/YVOZ CK([VO\ 
1]VOp
3 
+Q 

 
0V 
J# J Jr   r   N)__doc__typingr   r   r   r   twilio.baser   r   twilio.base.instance_contextr	   twilio.base.instance_resourcer
   twilio.base.list_resourcer   twilio.base.versionr   r   rQ   r   r   r   r    <module>r     sP    . - ) 8 : 2 'm
.> m
``
_ `
FYJ, YJr   