Ë
    [üàg?  ã                   óª   — d Z ddlmZmZ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 - Numbers
    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ÚIteratorÚAsyncIterator)Úvalues)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   óB   ‡ — e Zd ZdZdedeeef   fˆ fd„Zdefd„Z	ˆ xZ
S )Ú#SigningRequestConfigurationInstanceuù  
    :ivar logo_sid: The SID of the document  that includes the logo that will appear in the LOA. To upload documents follow the following guide: https://www.twilio.com/docs/phone-numbers/regulatory/getting-started/create-new-bundle-public-rest-apis#supporting-document-create
    :ivar friendly_name: This is the string that you assigned as a friendly name for describing the creation of the configuration.
    :ivar product: The product or service for which is requesting the signature.
    :ivar country: The country ISO code to apply the configuration.
    :ivar email_subject: Subject of the email that the end client will receive ex: â€œTwilio Hosting Requestâ€�, maximum length of 255 characters.
    :ivar email_message: Content of the email that the end client will receive ex: â€œThis is a Hosting request from Twilio, please check the document and sign itâ€�, maximum length of 5,000 characters.
    :ivar url_redirection: Url the end client will be redirected after signing a document.
    :ivar url:
    ÚversionÚpayloadc                 ó„  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        |j                  d«      | _
        y )	NÚlogo_sidÚfriendly_nameÚproductÚcountryÚemail_subjectÚemail_messageÚurl_redirectionÚurl)ÚsuperÚ__init__Úgetr   r   r   r   r   r   r   r   )Úselfr   r   Ú	__class__s      €úr/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/numbers/v1/signing_request_configuration.pyr   z,SigningRequestConfigurationInstance.__init__$   s•   ø€ Ü‰Ñ˜Ô!à'.§{¡{°:Ó'>ˆŒØ,3¯K©K¸Ó,HˆÔØ&-§k¡k°)Ó&<ˆŒØ&-§k¡k°)Ó&<ˆŒØ,3¯K©K¸Ó,HˆÔØ,3¯K©K¸Ó,HˆÔØ.5¯k©kÐ:KÓ.LˆÔØ")§+¡+¨eÓ"4ˆ�ó    Úreturnc                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z7<Twilio.Numbers.V1.SigningRequestConfigurationInstance>© ©r   s    r!   Ú__repr__z,SigningRequestConfigurationInstance.__repr__0   s   € ð Ir"   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r(   Ú__classcell__©r    s   @r!   r   r      s1   ø„ ñ	ð
5 ð 
5°$°s¸C°x±.õ 
5ðI˜#÷ Ir"   r   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚSigningRequestConfigurationPager   r#   c                 ó.   — t        | j                  |«      S )z�
        Build an instance of SigningRequestConfigurationInstance

        :param payload: Payload response from the API
        )r   Ú_version)r   r   s     r!   Úget_instancez,SigningRequestConfigurationPage.get_instance<   s   € ô 3°4·=±=À'ÓJÐJr"   c                  ó   — y)r%   z3<Twilio.Numbers.V1.SigningRequestConfigurationPage>r&   r'   s    r!   r(   z(SigningRequestConfigurationPage.__repr__F   ó   € ð Er"   N)	r)   r*   r+   r   r-   r   r   r4   r(   r&   r"   r!   r1   r1   :   s0   „ ðKØ˜C ˜H‘~ðKà	,óKðE˜#ô Er"   r1   c                   ó  ‡ — e Zd Zdefˆ fd„Zej                  fdeeef   de	fd„Z
ej                  fdeeef   de	fd„Zej                  ej                  ddfdeeef   d	eeef   d
ee   dee   dee	   f
d„Zej                  ej                  ddfdeeef   d	eeef   d
ee   dee   dee	   f
d„Zej                  ej                  ddfdeeef   d	eeef   d
ee   dee   dee	   f
d„Zej                  ej                  ddfdeeef   d	eeef   d
ee   dee   dee	   f
d„Z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fd„Z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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 )ÚSigningRequestConfigurationListr   c                 ó2   •— t         ‰| �  |«       d| _        y)z}
        Initialize the SigningRequestConfigurationList

        :param version: Version that contains the resource

        z/SigningRequest/ConfigurationN)r   r   Ú_uri)r   r   r    s     €r!   r   z(SigningRequestConfigurationList.__init__Q   s   ø€ ô 	‰Ñ˜Ô!à3ˆ�	r"   Úbodyr#   c                 óâ   — |j                  «       }t        j                  ddi«      }d|d<   d|d<   | j                  j	                  d| j
                  ||¬«      }t        | j                  |«      S )z™
        Create the SigningRequestConfigurationInstance

        :param body:

        :returns: The created SigningRequestConfigurationInstance
        úContent-Typeú!application/x-www-form-urlencodedúapplication/jsonÚAcceptÚPOST©ÚmethodÚuriÚdataÚheaders)Úto_dictr
   Úofr3   Úcreater:   r   ©r   r;   rE   rF   r   s        r!   rI   z&SigningRequestConfigurationList.create\   sp   € ð �|‰|‹~ˆä—)‘)˜^Ð-PÐQÓRˆà"4ˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô 3°4·=±=À'ÓJÐJr"   c              ƒ   óþ   K  — |j                  «       }t        j                  ddi«      }d|d<   d|d<   | j                  j	                  d| j
                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)z¨
        Asynchronously create the SigningRequestConfigurationInstance

        :param body:

        :returns: The created SigningRequestConfigurationInstance
        r=   r>   r?   r@   rA   rB   N)rG   r
   rH   r3   Úcreate_asyncr:   r   rJ   s        r!   rL   z,SigningRequestConfigurationList.create_asynct   s~   è ø€ ð �|‰|‹~ˆä—)‘)˜^Ð-PÐQÓRˆà"4ˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô 3°4·=±=À'ÓJÐJð	
ús   ‚AA=Á A;Á!A=Nr   r   ÚlimitÚ	page_sizec                 ó¦   — | j                   j                  ||«      }| j                  |||d   ¬«      }| j                   j                  ||d   «      S )ay  
        Streams SigningRequestConfigurationInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        rN   ©r   r   rN   rM   )r3   Úread_limitsÚpageÚstream©r   r   r   rM   rN   ÚlimitsrR   s          r!   rS   z&SigningRequestConfigurationList.streamŒ   sV   € ð0 —‘×*Ñ*¨5°)Ó<ˆØ�y‰yØ W¸¸{Ñ8Kð ó 
ˆð �}‰}×#Ñ# D¨&°©/Ó:Ð:r"   c              ƒ   óÂ   K  — | j                   j                  ||«      }| j                  |||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)aˆ  
        Asynchronously streams SigningRequestConfigurationInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        rN   rP   NrM   )r3   rQ   Ú
page_asyncÚstream_asyncrT   s          r!   rX   z,SigningRequestConfigurationList.stream_async«   sd   è ø€ ð0 —‘×*Ñ*¨5°)Ó<ˆØ—_‘_Ø W¸¸{Ñ8Kð %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð	
ús   ‚7A¹Aº$Ac                 ó>   — t        | j                  ||||¬«      «      S )a  
        Lists SigningRequestConfigurationInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        ©r   r   rM   rN   )ÚlistrS   )r   r   r   rM   rN   s        r!   r[   z$SigningRequestConfigurationList.listÊ   s.   € ô. Ø�K‰KØØØØ#ð	 ó ó
ð 	
r"   c              ƒ   ó~   K  — | j                  ||||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)a%  
        Asynchronously lists SigningRequestConfigurationInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param str product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        rZ   N)rX   )r   r   r   rM   rN   Úrecords         r!   Ú
list_asyncz*SigningRequestConfigurationList.list_asyncê   sZ   è ø€ ð2 '+×&7Ñ&7ØØØØ#ð	 '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚=›0œ=¢8¤4¨2
©4¬8°=²4´8µ=Ú
page_tokenÚpage_numberc                 óî   — t        j                  |||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )a›  
        Retrieve a single page of SigningRequestConfigurationInstance records from the API.
        Request is executed immediately

        :param country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of SigningRequestConfigurationInstance
        ©ÚCountryÚProductÚ	PageTokenr   ÚPageSizer=   r>   r?   r@   ÚGET©rC   rD   ÚparamsrF   )r
   rH   r3   rR   r:   r1   ©	r   r   r   r_   r`   rN   rE   rF   Úresponses	            r!   rR   z$SigningRequestConfigurationList.page  s   € ô( �y‰yà"Ø"Ø'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô /¨t¯}©}¸hÓGÐGr"   c              ƒ   ó
  K  — t        j                  |||||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	aª  
        Asynchronously retrieve a single page of SigningRequestConfigurationInstance records from the API.
        Request is executed immediately

        :param country: The country ISO code to apply this configuration, this is an optional field, Example: US, MX
        :param product: The product or service for which is requesting the signature, this is an optional field, Example: Porting, Hosting
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of SigningRequestConfigurationInstance
        rb   r=   r>   r?   r@   rg   rh   N)r
   rH   r3   rW   r:   r1   rj   s	            r!   rW   z*SigningRequestConfigurationList.page_async2  s�   è ø€ ô( �y‰yà"Ø"Ø'Ø#Ø%ñó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô /¨t¯}©}¸hÓGÐGð
ús   ‚A$BÁ&BÁ'BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )a  
        Retrieve a specific page of SigningRequestConfigurationInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of SigningRequestConfigurationInstance
        rg   )r3   ÚdomainÚtwilioÚrequestr1   ©r   rm   rk   s      r!   Úget_pagez(SigningRequestConfigurationList.get_pageY  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ.¨t¯}©}¸hÓGÐGr"   c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a*  
        Asynchronously retrieve a specific page of SigningRequestConfigurationInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of SigningRequestConfigurationInstance
        rg   N)r3   ro   rp   Úrequest_asyncr1   rr   s      r!   Úget_page_asyncz.SigningRequestConfigurationList.get_page_asynce  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ.¨t¯}©}¸hÓGÐGð Vús   ‚4A¶A·Ac                  ó   — y)r%   z3<Twilio.Numbers.V1.SigningRequestConfigurationList>r&   r'   s    r!   r(   z(SigningRequestConfigurationList.__repr__q  r6   r"   )r)   r*   r+   r   r   r
   Úunsetr   Úobjectr   rI   rL   r-   r   Úintr   rS   r	   rX   r   r[   r^   r1   rR   rW   rs   rv   r(   r.   r/   s   @r!   r8   r8   O   s‡  ø„ ð	4 õ 	4ð -3¯L©LñKØ˜& &˜.Ñ)ðKà	,óKð2 -3¯L©LñKØ˜& &˜.Ñ)ðKà	,óKð4 '-§l¡lØ&,§l¡lØ#Ø#'ñ;à�s˜F�{Ñ#ð;ð �s˜F�{Ñ#ð;ð ˜‰}ð	;ð
 ˜C‘=ð;ð 
Ð5Ñ	6ó;ðB '-§l¡lØ&,§l¡lØ#Ø#'ñAà�s˜F�{Ñ#ðAð �s˜F�{Ñ#ðAð ˜‰}ð	Að
 ˜C‘=ðAð 
Ð:Ñ	;óAðB '-§l¡lØ&,§l¡lØ#Ø#'ñ
à�s˜F�{Ñ#ð
ð �s˜F�{Ñ#ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð1Ñ	2ó
ðD '-§l¡lØ&,§l¡lØ#Ø#'ñ
à�s˜F�{Ñ#ð
ð �s˜F�{Ñ#ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð1Ñ	2ó
ðF '-§l¡lØ&,§l¡lØ)/¯©Ø*0¯,©,Ø(.¯©ñ%Hà�s˜F�{Ñ#ð%Hð �s˜F�{Ñ#ð%Hð ˜#˜v˜+Ñ&ð	%Hð
 ˜3 ˜;Ñ'ð%Hð ˜˜f˜Ñ%ð%Hð 
)ó%HðR '-§l¡lØ&,§l¡lØ)/¯©Ø*0¯,©,Ø(.¯©ñ%Hà�s˜F�{Ñ#ð%Hð �s˜F�{Ñ#ð%Hð ˜#˜v˜+Ñ&ð	%Hð
 ˜3 ˜;Ñ'ð%Hð ˜˜f˜Ñ%ð%Hð 
)ó%HðN
H 3ð 
HÐ+Jó 
Hð
H¨sð 
HÐ7Vó 
HðE˜#÷ Er"   r8   N)r,   Útypingr   r   r   r   r   r   r	   Útwilio.baser
   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   r1   r8   r&   r"   r!   ú<module>r�      sS   ðñ÷ M× LÑ LÝ å :Ý 2Ý 'Ý !ôIÐ*:ô IôDE dô Eô*hE lõ hEr"   