Ë
    [üàg�g  ã                   ó¢   — d Z ddlmZ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 - Lookups
    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ÚListÚOptionalÚUnion)Úvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc            !       óÊ  ‡ — e Zd 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                  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	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d 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                  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d f d„Zdefd„Zˆ xZS )ÚPhoneNumberInstancec                   ó$   — e Zd ZdZdZdZdZdZdZy)ú#PhoneNumberInstance.ValidationErrorÚ	TOO_SHORTÚTOO_LONGÚINVALID_BUT_POSSIBLEÚINVALID_COUNTRY_CODEÚINVALID_LENGTHÚNOT_A_NUMBERN)	Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   © ó    úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/lookups/v2/phone_number.pyÚValidationErrorr      s"   „ Øˆ	ØˆØ5ÐØ5ÐØ)ˆØ%‰r   r   ÚversionÚpayloadÚphone_numberc                 óL  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        |j                  d«      | _
        |j                  d	«      | _        |j                  d
«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d|xs | j
                  i| _        d | _        y )NÚcalling_country_codeÚcountry_coder    Únational_formatÚvalidÚvalidation_errorsÚcaller_nameÚsim_swapÚcall_forwardingÚline_statusÚline_type_intelligenceÚidentity_matchÚreassigned_numberÚsms_pumping_riskÚphone_number_quality_scoreÚpre_fillÚurl)ÚsuperÚ__init__Úgetr"   r#   r    r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   Ú	_solutionÚ_context)Úselfr   r   r    Ú	__class__s       €r   r3   zPhoneNumberInstance.__init__5   s  ø€ ô 	‰Ñ˜Ô!à3:·;±;Ð?UÓ3VˆÔ!Ø+2¯;©;°~Ó+FˆÔØ+2¯;©;°~Ó+FˆÔØ.5¯k©kÐ:KÓ.LˆÔØ%,§[¡[°Ó%9ˆŒ
ð �K‰KÐ+Ó,ð 	Ôð 9@¿¹ÀMÓ8RˆÔØ5<·[±[ÀÓ5LˆŒØ<C¿K¹KØó=
ˆÔð 9@¿¹ÀMÓ8RˆÔØCJÇ;Á;Ø$óD
ˆÔ#ð <C¿;¹;ÐGWÓ;XˆÔØ>E¿k¹kØó?
ˆÔð >E¿[¹[Øó>
ˆÔð HOÇ{Á{Ø(óH
ˆÔ'ð 6=·[±[ÀÓ5LˆŒØ")§+¡+¨eÓ"4ˆŒð ˜LÒ=¨D×,=Ñ,=ð
ˆŒð 7;ˆ�r   Úreturnc                 ó„   — | j                   €)t        | j                  | j                  d   ¬«      | _         | j                   S )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: PhoneNumberContext for this PhoneNumberInstance
        r    ©r    )r6   ÚPhoneNumberContextÚ_versionr5   ©r7   s    r   Ú_proxyzPhoneNumberInstance._proxy`   s9   € ð �=‰=Ð Ü.Ø—‘Ø!Ÿ^™^¨NÑ;ôˆDŒMð �}‰}Ðr   Úfieldsr#   Ú
first_nameÚ	last_nameÚaddress_line1Úaddress_line2ÚcityÚstateÚpostal_codeÚaddress_country_codeÚnational_idÚdate_of_birthÚlast_verified_dateÚverification_sidÚpartner_sub_idc                 óV   — | j                   j                  |||||||||	|
|||||¬«      S )õv
  
        Fetch the PhoneNumberInstance

        :param fields: A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score, pre_fill.
        :param country_code: The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
        :param first_name: Userâ€™s first name. This query parameter is only used (optionally) for identity_match package requests.
        :param last_name: Userâ€™s last name. This query parameter is only used (optionally) for identity_match package requests.
        :param address_line1: Userâ€™s first address line. This query parameter is only used (optionally) for identity_match package requests.
        :param address_line2: Userâ€™s second address line. This query parameter is only used (optionally) for identity_match package requests.
        :param city: Userâ€™s city. This query parameter is only used (optionally) for identity_match package requests.
        :param state: Userâ€™s country subdivision, such as state, province, or locality. This query parameter is only used (optionally) for identity_match package requests.
        :param postal_code: Userâ€™s postal zip code. This query parameter is only used (optionally) for identity_match package requests.
        :param address_country_code: Userâ€™s country, up to two characters. This query parameter is only used (optionally) for identity_match package requests.
        :param national_id: Userâ€™s national ID, such as SSN or Passport ID. This query parameter is only used (optionally) for identity_match package requests.
        :param date_of_birth: Userâ€™s date of birth, in YYYYMMDD format. This query parameter is only used (optionally) for identity_match package requests.
        :param last_verified_date: The date you obtained consent to call or text the end-user of the phone number or a date on which you are reasonably certain that the end-user could still be reached at that number. This query parameter is only used (optionally) for reassigned_number package requests.
        :param verification_sid: The unique identifier associated with a verification process through verify API. This query parameter is only used (optionally) for pre_fill package requests.
        :param partner_sub_id: The optional partnerSubId parameter to provide context for your sub-accounts, tenantIDs, sender IDs or other segmentation, enhancing the accuracy of the risk analysis.

        :returns: The fetched PhoneNumberInstance
        ©r@   r#   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   )r?   Úfetch©r7   r@   r#   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   s                   r   rQ   zPhoneNumberInstance.fetcho   sN   € ðN �{‰{× Ñ ØØ%Ø!ØØ'Ø'ØØØ#Ø!5Ø#Ø'Ø1Ø-Ø)ð !ó 
ð 	
r   c              ƒ   ór   K  — | j                   j                  |||||||||	|
|||||¬«      ƒ d{  –—† S 7 Œ­w)õ�
  
        Asynchronous coroutine to fetch the PhoneNumberInstance

        :param fields: A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score, pre_fill.
        :param country_code: The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
        :param first_name: Userâ€™s first name. This query parameter is only used (optionally) for identity_match package requests.
        :param last_name: Userâ€™s last name. This query parameter is only used (optionally) for identity_match package requests.
        :param address_line1: Userâ€™s first address line. This query parameter is only used (optionally) for identity_match package requests.
        :param address_line2: Userâ€™s second address line. This query parameter is only used (optionally) for identity_match package requests.
        :param city: Userâ€™s city. This query parameter is only used (optionally) for identity_match package requests.
        :param state: Userâ€™s country subdivision, such as state, province, or locality. This query parameter is only used (optionally) for identity_match package requests.
        :param postal_code: Userâ€™s postal zip code. This query parameter is only used (optionally) for identity_match package requests.
        :param address_country_code: Userâ€™s country, up to two characters. This query parameter is only used (optionally) for identity_match package requests.
        :param national_id: Userâ€™s national ID, such as SSN or Passport ID. This query parameter is only used (optionally) for identity_match package requests.
        :param date_of_birth: Userâ€™s date of birth, in YYYYMMDD format. This query parameter is only used (optionally) for identity_match package requests.
        :param last_verified_date: The date you obtained consent to call or text the end-user of the phone number or a date on which you are reasonably certain that the end-user could still be reached at that number. This query parameter is only used (optionally) for reassigned_number package requests.
        :param verification_sid: The unique identifier associated with a verification process through verify API. This query parameter is only used (optionally) for pre_fill package requests.
        :param partner_sub_id: The optional partnerSubId parameter to provide context for your sub-accounts, tenantIDs, sender IDs or other segmentation, enhancing the accuracy of the risk analysis.

        :returns: The fetched PhoneNumberInstance
        rP   N)r?   Úfetch_asyncrR   s                   r   rU   zPhoneNumberInstance.fetch_async¨   s\   è ø€ ðN —[‘[×,Ñ,ØØ%Ø!ØØ'Ø'ØØØ#Ø!5Ø#Ø'Ø1Ø-Ø)ð -ó 
÷ 
ð 	
ð 
ús   ‚.7°5±7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>z/PhoneNumberInstance.__repr__.<locals>.<genexpr>ç   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z*<Twilio.Lookups.V2.PhoneNumberInstance {}>©Újoinr5   Úitemsr\   ©r7   Úcontexts     r   Ú__repr__zPhoneNumberInstance.__repr__á   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ;×BÑBÀ7ÓKÐKr   )N)r9   r<   )r   r   r   Úobjectr   r   r   Ústrr   r   r3   Úpropertyr?   r   Úunsetr   rQ   rU   ri   Ú__classcell__©r8   s   @r   r   r      s•  ø„ ô&˜&ô &ðð0 '+ñ	);àð);ð �c˜3�h‘ð);ð ˜s‘mõ	);ðV òó ðð  &,§\¡\Ø+1¯<©<Ø)/¯©Ø(.¯©Ø,2¯L©LØ,2¯L©LØ#)§<¡<Ø$*§L¡LØ*0¯,©,Ø39·<±<Ø*0¯,©,Ø,2¯L©LØ17·±Ø/5¯|©|Ø-3¯\©\ñ!7
à�c˜6�kÑ"ð7
ð ˜C ˜KÑ(ð7
ð ˜#˜v˜+Ñ&ð	7
ð
 ˜˜f˜Ñ%ð7
ð ˜S &˜[Ñ)ð7
ð ˜S &˜[Ñ)ð7
ð �C˜�KÑ ð7
ð �S˜&�[Ñ!ð7
ð ˜3 ˜;Ñ'ð7
ð $ C¨ KÑ0ð7
ð ˜3 ˜;Ñ'ð7
ð ˜S &˜[Ñ)ð7
ð " # v +Ñ.ð7
ð    V Ñ,ð7
ð  ˜c 6˜kÑ*ð!7
ð" 
ó#7
ðv &,§\¡\Ø+1¯<©<Ø)/¯©Ø(.¯©Ø,2¯L©LØ,2¯L©LØ#)§<¡<Ø$*§L¡LØ*0¯,©,Ø39·<±<Ø*0¯,©,Ø,2¯L©LØ17·±Ø/5¯|©|Ø-3¯\©\ñ!7
à�c˜6�kÑ"ð7
ð ˜C ˜KÑ(ð7
ð ˜#˜v˜+Ñ&ð	7
ð
 ˜˜f˜Ñ%ð7
ð ˜S &˜[Ñ)ð7
ð ˜S &˜[Ñ)ð7
ð �C˜�KÑ ð7
ð �S˜&�[Ñ!ð7
ð ˜3 ˜;Ñ'ð7
ð $ C¨ KÑ0ð7
ð ˜3 ˜;Ñ'ð7
ð ˜S &˜[Ñ)ð7
ð " # v +Ñ.ð7
ð    V Ñ,ð7
ð  ˜c 6˜kÑ*ð!7
ð" 
ó#7
ðrL˜#÷ Lr   r   c            !       óˆ  ‡ — e Zd Zde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                  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
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                  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
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)zð
        Initialize the PhoneNumberContext

        :param version: Version that contains the resource
        :param phone_number: The phone number to lookup in E.164 or national format. Default country code is +1 (North America).
        r    z/PhoneNumbers/{phone_number}Nr   )r2   r3   r5   r\   Ú_uri)r7   r   r    r8   s      €r   r3   zPhoneNumberContext.__init__í   s@   ø€ ô 	‰Ñ˜Ô!ð ˜Lð
ˆŒð :Ð2×9Ñ9ÑK¸D¿N¹NÑKˆ�	r   r@   r#   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   r9   c                 ó  — t        j                  |||||||||	|
|||||dœ«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬«      S )rO   ©ÚFieldsÚCountryCodeÚ	FirstNameÚLastNameÚAddressLine1ÚAddressLine2ÚCityÚStateÚ
PostalCodeÚAddressCountryCodeÚ
NationalIdÚDateOfBirthÚLastVerifiedDateÚVerificationSidÚPartnerSubIdúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheadersr    r;   )r   Úofr=   rQ   rr   r   r5   ©r7   r@   r#   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   Údatar‹   r   s                      r   rQ   zPhoneNumberContext.fetchü   s©   € ôP �y‰yà Ø+Ø'Ø%Ø -Ø -ØØØ)Ø&:Ø)Ø,Ø$6Ø#3Ø .ñó
ˆô( —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô #Ø�M‰MØØŸ™¨Ñ7ô
ð 	
r   c              ƒ   ó8  K  — t        j                  |||||||||	|
|||||dœ«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)	rT   rt   r„   r…   r†   r‡   Nr    r;   )r   rŒ   r=   rU   rr   r   r5   r�   s                      r   rU   zPhoneNumberContext.fetch_asyncF  s·   è ø€ ôP �y‰yà Ø+Ø'Ø%Ø -Ø -ØØØ)Ø&:Ø)Ø,Ø$6Ø#3Ø .ñó
ˆô( —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô #Ø�M‰MØØŸ™¨Ñ7ô
ð 	
ð	
ús   ‚A,BÁ.BÁ/*Bc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rW   rX   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrZ   r[   r]   s      r   ra   z.PhoneNumberContext.__repr__.<locals>.<genexpr>–  rb   rc   z)<Twilio.Lookups.V2.PhoneNumberContext {}>rd   rg   s     r   ri   zPhoneNumberContext.__repr__�  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ:×AÑAÀ'ÓJÐJr   )r   r   r   r   rk   r3   r   rm   r   rj   r   rQ   rU   ri   rn   ro   s   @r   r<   r<   ë   su  ø„ ðL ð L°sõ Lð" &,§\¡\Ø+1¯<©<Ø)/¯©Ø(.¯©Ø,2¯L©LØ,2¯L©LØ#)§<¡<Ø$*§L¡LØ*0¯,©,Ø39·<±<Ø*0¯,©,Ø,2¯L©LØ17·±Ø/5¯|©|Ø-3¯\©\ñ!H
à�c˜6�kÑ"ðH
ð ˜C ˜KÑ(ðH
ð ˜#˜v˜+Ñ&ð	H
ð
 ˜˜f˜Ñ%ðH
ð ˜S &˜[Ñ)ðH
ð ˜S &˜[Ñ)ðH
ð �C˜�KÑ ðH
ð �S˜&�[Ñ!ðH
ð ˜3 ˜;Ñ'ðH
ð $ C¨ KÑ0ðH
ð ˜3 ˜;Ñ'ðH
ð ˜S &˜[Ñ)ðH
ð " # v +Ñ.ðH
ð    V Ñ,ðH
ð  ˜c 6˜kÑ*ð!H
ð" 
ó#H
ðX &,§\¡\Ø+1¯<©<Ø)/¯©Ø(.¯©Ø,2¯L©LØ,2¯L©LØ#)§<¡<Ø$*§L¡LØ*0¯,©,Ø39·<±<Ø*0¯,©,Ø,2¯L©LØ17·±Ø/5¯|©|Ø-3¯\©\ñ!H
à�c˜6�kÑ"ðH
ð ˜C ˜KÑ(ðH
ð ˜#˜v˜+Ñ&ð	H
ð
 ˜˜f˜Ñ%ðH
ð ˜S &˜[Ñ)ðH
ð ˜S &˜[Ñ)ðH
ð �C˜�KÑ ðH
ð �S˜&�[Ñ!ðH
ð ˜3 ˜;Ñ'ðH
ð $ C¨ KÑ0ðH
ð ˜3 ˜;Ñ'ðH
ð ˜S &˜[Ñ)ðH
ð " # v +Ñ.ðH
ð    V Ñ,ðH
ð  ˜c 6˜kÑ*ð!H
ð" 
ó#H
ðTK˜#÷ Kr   r<   c                   óP   ‡ — e Zd Zdefˆ 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 )ÚPhoneNumberListr   c                 ó$   •— t         ‰| �  |«       y)zm
        Initialize the PhoneNumberList

        :param version: Version that contains the resource

        N)r2   r3   )r7   r   r8   s     €r   r3   zPhoneNumberList.__init__œ  s   ø€ ô 	‰Ñ˜Õ!r   r    r9   c                 ó0   — t        | j                  |¬«      S ©z³
        Constructs a PhoneNumberContext

        :param phone_number: The phone number to lookup in E.164 or national format. Default country code is +1 (North America).
        r;   ©r<   r=   ©r7   r    s     r   r4   zPhoneNumberList.get¥  ó   € ô " $§-¡-¸lÔKÐKr   c                 ó0   — t        | j                  |¬«      S r–   r—   r˜   s     r   Ú__call__zPhoneNumberList.__call__­  r™   r   c                  ó   — y)rW   z#<Twilio.Lookups.V2.PhoneNumberList>r   r>   s    r   ri   zPhoneNumberList.__repr__µ  s   € ð 5r   )r   r   r   r   r3   rk   r<   r4   r›   ri   rn   ro   s   @r   r“   r“   š  sI   ø„ ð" õ "ðL ð LÐ(:ó LðL Sð LÐ-?ó Lð5˜#÷ 5r   r“   N)Ú__doc__Útypingr   r   r   r   r   Útwilio.baser   Útwilio.base.instance_contextr	   Útwilio.base.instance_resourcer
   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r<   r“   r   r   r   ú<module>r¤      sP   ðñ÷ 4Õ 3Ý Ý 8Ý :Ý 2Ý 'ôQLÐ*ô QLôhlK˜ô lKô^!5�lõ !5r   