Ë
    <@‹gMy  ã                   ó�   — d dl 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
mZmZmZ d dlmZmZ erd dlmZ  G d	„ d
ed
   «      Zy)é    N)ÚExpandableField)ÚStripeObject)ÚUpdateableAPIResource)Úsanitize_id)ÚClassVarÚDictÚListÚOptional)ÚLiteralÚTYPE_CHECKING)ÚFilec                   óŒ  — e Zd ZU dZdZeed      ed<    G d„ de«      Z	 G d„ de«      Z
 G d„ d	e«      Z G d
„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zee   ed<   	 ee	   ed<   ee
   ed<   ee   ed<   	 ee   ed<   	 eed<   	 ee   ed<   ee   ed<   	 ee   ed <   	 ee   ed!<   	 ee   ed"<   	 eee      ed#<   	 ee   ed$<   	 ee   ed%<   	 eed&<   	 ee   ed'<   	 ee   ed(<   	 ee   ed)<   	 ee   ed*<   	 ee   ed+<   	 ee   ed,<   	 eeeef      ed-<   	 ee   ed.<   	 ed   ed/<   	 ee   ed0<   	 eed1      ed2<   	 ee   ed3<   ee   ed4<   ee   ed5<   	 ee   ed6<   	 ee   ed7<   eed8      ed9<   	 d:„ Zed;„ «       Zed<„ «       Ze	e
eeeeeeeed=œ
Zy>)?ÚPersona  
    This is an object representing a person associated with a Stripe account.

    A platform cannot access a person for an account where [account.controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.

    See the [Standard onboarding](https://stripe.com/connect/standard-accounts) or [Express onboarding](https://stripe.com/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](https://stripe.com/connect/handling-api-verification#person-information).
    ÚpersonÚOBJECT_NAMEc                   ó>   — e Zd ZU  G d„ de«      Zee   ed<   	 deiZy)úPerson.AdditionalTosAcceptancesc                   óB   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)ú'Person.AdditionalTosAcceptances.AccountÚdateÚipÚ
user_agentN)Ú__name__Ú
__module__Ú__qualname__r
   ÚintÚ__annotations__Ústr© ó    úM/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_person.pyÚAccountr      s3   … Ø˜3‘-Óðð ˜‘Óðð ! ™Ó%ðr    r"   ÚaccountN)r   r   r   r   r"   r
   r   Ú_inner_class_typesr   r    r!   ÚAdditionalTosAcceptancesr      s-   … ô	�lô 	ð ˜'Ñ"Ó"ð	ð (¨Ð1Ñr    r%   c                   óx   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)úPerson.AddressÚcityÚcountryÚline1Úline2Úpostal_codeÚstateN©r   r   r   r
   r   r   r   r    r!   ÚAddressr'   /   óf   … Ø�s‰mÓð	ð ˜#‘Óð	ð ˜‰}Óð	ð ˜‰}Óð	ð ˜c‘]Ó"ð	ð ˜‰}Óð	r    r/   c                   óŠ   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)	úPerson.AddressKanar(   r)   r*   r+   r,   r-   ÚtownNr.   r   r    r!   ÚAddressKanar2   I   ów   … Ø�s‰mÓð	ð ˜#‘Óð	ð ˜‰}Óð	ð ˜‰}Óð	ð ˜c‘]Ó"ð	ð ˜‰}Óð	ð �s‰mÓð	r    r4   c                   óŠ   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)	úPerson.AddressKanjir(   r)   r*   r+   r,   r-   r3   Nr.   r   r    r!   ÚAddressKanjir7   g   r5   r    r8   c                   óB   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)ú
Person.DobÚdayÚmonthÚyearN)r   r   r   r
   r   r   r   r    r!   ÚDobr:   …   s3   … Ø�c‰]Óð	ð ˜‰}Óð	ð �s‰mÓð	r    r>   c                   ó¶   — e Zd ZU  G d„ de«      Z G d„ de«      Zeee      ed<   	 ee	   ed<   	 ee   ed<   	 ee	   ed<   	 ee	   ed	<   	 ee	   ed
<   	 eedœZ
y)úPerson.FutureRequirementsc                   ó0   — e Zd ZU ee   ed<   	 ee   ed<   y)ú%Person.FutureRequirements.AlternativeÚalternative_fields_dueÚoriginal_fields_dueN©r   r   r   r	   r   r   r   r    r!   ÚAlternativerB   ”   ó"   … Ø$(¨¡IÓ-ðð "& c¡Ó*ðr    rF   c                   ó6   — e Zd ZU ed   ed<   	 eed<   	 eed<   y)úPerson.FutureRequirements.Error©ZÚ&invalid_address_city_state_postal_codeÚ$invalid_address_highway_contract_boxÚinvalid_address_private_mailboxÚinvalid_business_profile_nameÚ(invalid_business_profile_name_denylistedÚinvalid_company_name_denylistedÚinvalid_dob_age_over_maximumÚinvalid_dob_age_under_18Úinvalid_dob_age_under_minimumÚ"invalid_product_description_lengthÚ%invalid_product_description_url_matchÚinvalid_representative_countryÚ.invalid_statement_descriptor_business_mismatchÚ'invalid_statement_descriptor_denylistedÚ#invalid_statement_descriptor_lengthÚ.invalid_statement_descriptor_prefix_denylistedÚ,invalid_statement_descriptor_prefix_mismatchÚinvalid_street_addressÚinvalid_tax_idÚinvalid_tax_id_formatÚinvalid_tos_acceptanceÚinvalid_url_denylistedÚinvalid_url_formatÚinvalid_url_lengthÚ!invalid_url_web_presence_detectedÚ1invalid_url_website_business_information_mismatchÚinvalid_url_website_emptyÚ invalid_url_website_inaccessibleÚ+invalid_url_website_inaccessible_geoblockedÚ3invalid_url_website_inaccessible_password_protectedÚinvalid_url_website_incompleteÚ2invalid_url_website_incomplete_cancellation_policyÚ7invalid_url_website_incomplete_customer_service_detailsÚ1invalid_url_website_incomplete_legal_restrictionsÚ,invalid_url_website_incomplete_refund_policyÚ,invalid_url_website_incomplete_return_policyÚ3invalid_url_website_incomplete_terms_and_conditionsÚ1invalid_url_website_incomplete_under_constructionÚinvalid_url_website_otherÚinvalid_value_otherÚverification_directors_mismatchÚ&verification_document_address_mismatchÚ%verification_document_address_missingÚverification_document_corruptÚ+verification_document_country_not_supportedÚ(verification_document_directors_mismatchÚ"verification_document_dob_mismatchÚ$verification_document_duplicate_typeÚverification_document_expiredÚ!verification_document_failed_copyÚ&verification_document_failed_greyscaleÚ"verification_document_failed_otherÚ&verification_document_failed_test_modeÚ verification_document_fraudulentÚ(verification_document_id_number_mismatchÚ'verification_document_id_number_missingÚ verification_document_incompleteÚverification_document_invalidÚ2verification_document_issue_or_expiry_date_missingÚ!verification_document_manipulatedÚ"verification_document_missing_backÚ#verification_document_missing_frontÚ#verification_document_name_mismatchÚ"verification_document_name_missingÚ*verification_document_nationality_mismatchÚ"verification_document_not_readableÚ verification_document_not_signedÚ"verification_document_not_uploadedÚ$verification_document_photo_mismatchÚverification_document_too_largeÚ(verification_document_type_not_supportedÚ!verification_extraneous_directorsÚ!verification_failed_address_matchÚ'verification_failed_business_iec_numberÚ"verification_failed_document_matchÚ#verification_failed_id_number_matchÚ"verification_failed_keyed_identityÚverification_failed_keyed_matchÚverification_failed_name_matchÚverification_failed_otherÚ,verification_failed_representative_authorityÚ'verification_failed_residential_addressÚ verification_failed_tax_id_matchÚ%verification_failed_tax_id_not_issuedÚverification_missing_directorsÚverification_missing_executivesÚverification_missing_ownersÚ;verification_requires_additional_memorandum_of_associationsÚ6verification_requires_additional_proof_of_registrationÚverification_supportabilityÚcodeÚreasonÚrequirementN©r   r   r   r   r   r   r   r    r!   ÚErrorrI   ž   ó6   … ØðY/ñ[ó [ðxð ‹Kðð Óðr    r©   ÚalternativesÚcurrently_dueÚerrorsÚeventually_dueÚpast_dueÚpending_verification©r«   r­   N©r   r   r   r   rF   r©   r
   r	   r   r   r$   r   r    r!   ÚFutureRequirementsr@   “   ó–   … ô	˜,ô 	ôg	�Lô g	ðR ˜t KÑ0Ñ1Ó1ð	ð ˜C‘yÓ ð	ð �U‘Óð	ð ˜S™	Ó!ð	ð �s‘)Óð	ð # 3™iÓ'ð	ð /:ÀUÑKÑr    r³   c                   óx   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)úPerson.RegisteredAddressr(   r)   r*   r+   r,   r-   Nr.   r   r    r!   ÚRegisteredAddressr¶   !  r0   r    r·   c                   óœ   — e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y	)
úPerson.RelationshipÚ
authorizerÚdirectorÚ	executiveÚlegal_guardianÚownerÚpercent_ownershipÚrepresentativeÚtitleN)r   r   r   r
   Úboolr   Úfloatr   r   r    r!   ÚRelationshipr¹   ;  sˆ   … Ø˜T‘NÓ"ð	ð ˜4‘.Ó ð	ð ˜D‘>Ó!ð	ð ! ™Ó&ð	ð ˜‰~Óð	ð $ E™?Ó*ð	ð ! ™Ó&ð	ð ˜‰}Óð	r    rÄ   c                   ó¶   — e Zd ZU  G d„ de«      Z G d„ de«      Zeee      ed<   	 ee	   ed<   	 ee   ed<   	 ee	   ed<   	 ee	   ed	<   	 ee	   ed
<   	 eedœZ
y)úPerson.Requirementsc                   ó0   — e Zd ZU ee   ed<   	 ee   ed<   y)úPerson.Requirements.AlternativerC   rD   NrE   r   r    r!   rF   rÈ   ^  rG   r    rF   c                   ó6   — e Zd ZU ed   ed<   	 eed<   	 eed<   y)úPerson.Requirements.ErrorrJ   r¥   r¦   r§   Nr¨   r   r    r!   r©   rÊ   h  rª   r    r©   r«   r¬   r­   r®   r¯   r°   r±   Nr²   r   r    r!   ÚRequirementsrÆ   ]  r´   r    rË   c                   ó–   — e Zd ZU  G d„ de«      Z G d„ de«      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   eed	<   	 eed
œZ	y)úPerson.Verificationc                   ó`   — e Zd ZU eed      ed<   	 ee   ed<   	 ee   ed<   	 eed      ed<   y)ú&Person.Verification.AdditionalDocumentr   ÚbackÚdetailsÚdetails_codeÚfrontN©r   r   r   r
   r   r   r   r   r    r!   ÚAdditionalDocumentrÏ   ì  óP   … Ø˜?¨6Ñ2Ñ3Ó3ðð ˜c‘]Ó"ðð # 3™-Ó'ðð ˜O¨FÑ3Ñ4Ó4ðr    rÕ   c                   ó`   — e Zd ZU eed      ed<   	 ee   ed<   	 ee   ed<   	 eed      ed<   y)úPerson.Verification.Documentr   rÐ   rÑ   rÒ   rÓ   NrÔ   r   r    r!   ÚDocumentrØ   þ  rÖ   r    rÙ   Úadditional_documentrÑ   rÒ   ÚdocumentÚstatus)rÚ   rÛ   N)
r   r   r   r   rÕ   rÙ   r
   r   r   r$   r   r    r!   ÚVerificationrÍ   ë  sv   … ô	 ô 	ô$	�|ô 	ð$ &Ð&8Ñ9Ó9ð	ð ˜#‘Óð	ð ˜s‘mÓ#ð	ð ˜8Ñ$Ó$Ø‹ð	ð $6Ø ñ
Ñr    rÝ   r#   Úadditional_tos_acceptancesÚaddressÚaddress_kanaÚaddress_kanjiÚcreatedÚdobÚemailÚ
first_nameÚfirst_name_kanaÚfirst_name_kanjiÚfull_name_aliasesÚfuture_requirementsÚgenderÚidÚid_number_providedÚid_number_secondary_providedÚ	last_nameÚlast_name_kanaÚlast_name_kanjiÚmaiden_nameÚmetadataÚnationalityÚobjectÚphone)ÚexistingÚnoneÚpolitical_exposureÚregistered_addressÚrelationshipÚrequirementsÚssn_last_4_providedÚverificationTÚdeletedc                 ó¶   — | j                   }| j                  }t        j                  j	                  «       }|€J ‚t        |«      }t        |«      }|›d|›d|›�S )Nú/z	/persons/)rë   r#   Ústriper"   Ú	class_urlr   )ÚselfÚtokenr#   ÚbaseÚ	acct_extnÚextns         r!   Úinstance_urlzPerson.instance_url•  sS   € Ø—‘ˆØ—,‘,ˆÜ�~‰~×'Ñ'Ó)ˆØÐ"Ð"Ð"Ü Ó(ˆ	Ü˜5Ó!ˆÚ%)ª9±dÐ;Ð;r    c                 ó   — t        d«      ‚)NzŸCan't modify a person without an account ID. Use stripe.Account.modify_person('account_id', 'person_id', ...) (see https://stripe.com/docs/api/persons/update).©ÚNotImplementedError)ÚclsÚsidÚparamss      r!   ÚmodifyzPerson.modifyž  s   € ä!ð@ó
ð 	
r    c                 ó   — t        d«      ‚)Nz Can't retrieve a person without an account ID. Use stripe.Account.retrieve_person('account_id', 'person_id') (see https://stripe.com/docs/api/persons/retrieve).r
  )r  rë   r  s      r!   ÚretrievezPerson.retrieve¦  s   € ä!ðBó
ð 	
r    )
rÞ   rß   rà   rá   rã   ré   rù   rú   rû   rý   N)r   r   r   Ú__doc__r   r   r   r   r   r%   r/   r4   r8   r>   r³   r·   rÄ   rË   rÝ   r
   r   r   r	   rÂ   r   r  Úclassmethodr  r  r$   r   r    r!   r   r      s	  … ñð 08€K�˜' (Ñ+Ñ,Ó7ô2 <ô 2ô*�,ô ô4�lô ô<�|ô ô<ˆlô ôLL˜\ô LLô\˜Lô ô4 �|ô  ôDLL�|ô LLô\9
�|ô 9
ðv �c‰]Óðð !)Ð)AÑ BÓBØ�gÑÓØ˜;Ñ'Ó'ðð ˜LÑ)Ó)ðð ƒLðð 
�#‰ÓØ�C‰=Óðð ˜‘Óðð ˜c‘]Ó"ðð ˜s‘mÓ#ðð    S¡	Ñ*Ó*ðð "Ð"4Ñ5Ó5ðð �S‰MÓðð 	ƒGðð ! ™Ó&ðð #+¨4¡.Ó0ðð ˜‰}Óðð ˜S‘MÓ!ðð ˜c‘]Ó"ðð ˜#‘Óðð �t˜C ˜H‘~Ñ&Ó&ðð ˜#‘Óðð �HÑÓðð �C‰=Óðð ! Ð);Ñ!<Ñ=Ó=ðð !Ð!2Ñ3Ó3Ø˜<Ñ(Ó(Ø˜<Ñ(Ó(ðð " $™Ó'ðð ˜<Ñ(Ó(Ø�g˜d‘mÑ$Ó$ðò<ð ñ
ó ð
ð ñ
ó ð
ð '?ØØ#Ø%ØØ1Ø/Ø$Ø$Ø$ñÑr    r   )r  Ústripe._expandable_fieldr   Ústripe._stripe_objectr   Ústripe._updateable_api_resourcer   Ústripe._utilr   Útypingr   r   r	   r
   Útyping_extensionsr   r   Ústripe._filer   r   r   r    r!   ú<module>r     s9   ðó Ý 4Ý .Ý AÝ $ß 1Ó 1ß 4áÝ!ôj
Ð" 8Ñ,õ j
r    