Ë
    [üàg™  ã                   óà   — d Z ddlmZ ddlmZmZmZmZmZmZm	Z	 ddl
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 G d„ de«      Zy)að  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Conversations
    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.
é    )Údatetime)ÚAnyÚDictÚListÚOptionalÚUnionÚIteratorÚAsyncIterator)ÚdeserializeÚ	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   óz  ‡ — e Zd 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defd„Zdefd„Zd!d„Zd!d„Z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def   dee	ef   dee	ef   dedef   de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*                  f	dee	ef   deeef   dedef   dee	ef   dee	ef   dedef   de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 )"ÚAddressConfigurationInstancec                   ó   — e Zd ZdZdZdZy)ú-AddressConfigurationInstance.AutoCreationTypeÚwebhookÚstudioÚdefaultN)Ú__name__Ú
__module__Ú__qualname__ÚWEBHOOKÚSTUDIOÚDEFAULT© ó    úp/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/conversations/v1/address_configuration.pyÚAutoCreationTyper      s   „ ØˆØˆØ‰r!   r#   c                   ó   — e Zd ZdZdZy)ú#AddressConfigurationInstance.MethodÚGETÚPOSTN)r   r   r   r&   r'   r    r!   r"   ÚMethodr%       s   „ ØˆØ‰r!   r(   c                   ó,   — e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
ú!AddressConfigurationInstance.TypeÚsmsÚwhatsappÚ	messengerÚgbmÚemailÚrcsÚappleÚchatN)r   r   r   ÚSMSÚWHATSAPPÚ	MESSENGERÚGBMÚEMAILÚRCSÚAPPLEÚCHATr    r!   r"   ÚTyper*   $   s*   „ ØˆØˆØˆ	ØˆØˆØˆØˆØ‰r!   r;   ÚversionÚpayloadÚsidc                 ód  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _        |j                  d	«      | _        |j                  d
«      | _        d|xs | j                  i| _        d | _        y )Nr>   Úaccount_sidÚtypeÚaddressÚfriendly_nameÚauto_creationÚdate_createdÚdate_updatedÚurlÚaddress_country)ÚsuperÚ__init__Úgetr>   r@   rA   rB   rC   rD   r   Úiso8601_datetimerE   rF   rG   rH   Ú	_solutionÚ_context)Úselfr<   r=   r>   Ú	__class__s       €r"   rJ   z%AddressConfigurationInstance.__init__;   sü   ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ*1¯+©+°mÓ*DˆÔØ#*§;¡;¨vÓ#6ˆŒ	Ø&-§k¡k°)Ó&<ˆŒØ,3¯K©K¸Ó,HˆÔØ:A¿+¹+ÀoÓ:VˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð #*§+¡+¨eÓ"4ˆŒØ.5¯k©kÐ:KÓ.LˆÔð �3’?˜$Ÿ(™(ð
ˆŒð @Dˆ�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: AddressConfigurationContext for this AddressConfigurationInstance
        r>   ©r>   )rN   ÚAddressConfigurationContextÚ_versionrM   ©rO   s    r"   Ú_proxyz#AddressConfigurationInstance._proxyT   s9   € ð �=‰=Ð Ü7Ø—‘Ø—N‘N 5Ñ)ôˆDŒMð �}‰}Ðr!   c                 ó6   — | j                   j                  «       S )úw
        Deletes the AddressConfigurationInstance


        :returns: True if delete succeeds, False otherwise
        )rW   ÚdeleterV   s    r"   rZ   z#AddressConfigurationInstance.deletec   s   € ð �{‰{×!Ñ!Ó#Ð#r!   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú“
        Asynchronous coroutine that deletes the AddressConfigurationInstance


        :returns: True if delete succeeds, False otherwise
        N)rW   Údelete_asyncrV   s    r"   r]   z)AddressConfigurationInstance.delete_asyncl   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )úu
        Fetch the AddressConfigurationInstance


        :returns: The fetched AddressConfigurationInstance
        )rW   ÚfetchrV   s    r"   ra   z"AddressConfigurationInstance.fetchu   s   € ð �{‰{× Ñ Ó"Ð"r!   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú�
        Asynchronous coroutine to fetch the AddressConfigurationInstance


        :returns: The fetched AddressConfigurationInstance
        N)rW   Úfetch_asyncrV   s    r"   rd   z(AddressConfigurationInstance.fetch_async~   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úr^   rC   Úauto_creation_enabledÚauto_creation_typer   Ú&auto_creation_conversation_service_sidÚauto_creation_webhook_urlÚauto_creation_webhook_methodr%   Úauto_creation_webhook_filtersÚauto_creation_studio_flow_sidÚ auto_creation_studio_retry_countc
                 óJ   — | j                   j                  |||||||||	¬«	      S )á  
        Update the AddressConfigurationInstance

        :param friendly_name: The human-readable name of this configuration, limited to 256 characters. Optional.
        :param auto_creation_enabled: Enable/Disable auto-creating conversations for messages to this address
        :param auto_creation_type:
        :param auto_creation_conversation_service_sid: Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
        :param auto_creation_webhook_url: For type `webhook`, the url for the webhook request.
        :param auto_creation_webhook_method:
        :param auto_creation_webhook_filters: The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
        :param auto_creation_studio_flow_sid: For type `studio`, the studio flow SID where the webhook should be sent to.
        :param auto_creation_studio_retry_count: For type `studio`, number of times to retry the webhook request

        :returns: The updated AddressConfigurationInstance
        ©	rC   re   rf   rg   rh   ri   rj   rk   rl   )rW   Úupdate©
rO   rC   re   rf   rg   rh   ri   rj   rk   rl   s
             r"   rp   z#AddressConfigurationInstance.update‡   s;   € ð> �{‰{×!Ñ!Ø'Ø"7Ø1Ø3YØ&?Ø)EØ*GØ*GØ-Mð "ó 

ð 
	
r!   c
              ƒ   óf   K  — | j                   j                  |||||||||	¬«	      ƒ d{  –—† S 7 Œ­w)á/  
        Asynchronous coroutine to update the AddressConfigurationInstance

        :param friendly_name: The human-readable name of this configuration, limited to 256 characters. Optional.
        :param auto_creation_enabled: Enable/Disable auto-creating conversations for messages to this address
        :param auto_creation_type:
        :param auto_creation_conversation_service_sid: Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
        :param auto_creation_webhook_url: For type `webhook`, the url for the webhook request.
        :param auto_creation_webhook_method:
        :param auto_creation_webhook_filters: The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
        :param auto_creation_studio_flow_sid: For type `studio`, the studio flow SID where the webhook should be sent to.
        :param auto_creation_studio_retry_count: For type `studio`, number of times to retry the webhook request

        :returns: The updated AddressConfigurationInstance
        ro   N)rW   Úupdate_asyncrq   s
             r"   rt   z)AddressConfigurationInstance.update_async²   sI   è ø€ ð> —[‘[×-Ñ-Ø'Ø"7Ø1Ø3YØ&?Ø)EØ*GØ*GØ-Mð .ó 

÷ 

ð 
	
ð 

ús   ‚(1ª/«1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>z8AddressConfigurationInstance.__repr__.<locals>.<genexpr>ã   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z9<Twilio.Conversations.V1.AddressConfigurationInstance {}>©ÚjoinrM   Úitemsr{   ©rO   Úcontexts     r"   Ú__repr__z%AddressConfigurationInstance.__repr__Ý   s;   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØJ×QÑQØó
ð 	
r!   ©N)rQ   rT   )rQ   r   )r   r   r   Úobjectr#   r(   r;   r   r   Ústrr   r   rJ   ÚpropertyrW   ÚboolrZ   r]   ra   rd   r   Úunsetr   r   Úintrp   rt   rˆ   Ú__classcell__©rP   s   @r"   r   r      s¸  ø„ ô˜6ô ô
�ô ôˆvô ðð OSñDØðDØ)-¨c°3¨h©ðDØ>FÀs¹mõDð2 òó ðð$˜ó $ð0 Dó 0ó#ó/ð -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|ñ)
à˜S &˜[Ñ)ð)
ð  % T¨6 \Ñ2ð)
ð "Ø;¸VÐCñ
ð	)
ð 16°c¸6°kÑ0Bð)
ð $)¨¨f¨Ñ#5ð)
ð ',Ø1°6Ð9ñ'
ð)
ð (-¨T°#©Y¸Ð->Ñ'?ð)
ð (-¨S°&¨[Ñ'9ð)
ð +0°°V°Ñ*<ð)
ð 
(ó)
ðZ -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|ñ)
à˜S &˜[Ñ)ð)
ð  % T¨6 \Ñ2ð)
ð "Ø;¸VÐCñ
ð	)
ð 16°c¸6°kÑ0Bð)
ð $)¨¨f¨Ñ#5ð)
ð ',Ø1°6Ð9ñ'
ð)
ð (-¨T°#©Y¸Ð->Ñ'?ð)
ð (-¨S°&¨[Ñ'9ð)
ð +0°°V°Ñ*<ð)
ð 
(ó)
ðV	
˜#÷ 	
r!   r   c                   ó  ‡ — e Zd Zdedefˆ fd„Zdefd„Zdefd„Zde	fd„Z
de	fd„Z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def   deeef   deeef   dedef   de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                  f	d	eeef   d
eeef   dedef   deeef   deeef   dedef   de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 )rT   r<   r>   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)a  
        Initialize the AddressConfigurationContext

        :param version: Version that contains the resource
        :param sid: The SID of the Address Configuration resource. This value can be either the `sid` or the `address` of the configuration
        r>   z/Configuration/Addresses/{sid}Nr    )rI   rJ   rM   r{   Ú_uri)rO   r<   r>   rP   s      €r"   rJ   z$AddressConfigurationContext.__init__ë   s@   ø€ ô 	‰Ñ˜Ô!ð �3ð
ˆŒð <Ð4×;Ñ;ÑM¸d¿n¹nÑMˆ�	r!   rQ   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )rY   ÚDELETE©ÚmethodÚuriÚheaders)r   ÚofrU   rZ   r”   ©rO   rš   s     r"   rZ   z"AddressConfigurationContext.deleteú   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr!   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r\   r–   r—   N)r   r›   rU   r]   r”   rœ   s     r"   r]   z(AddressConfigurationContext.delete_async  sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 óÐ   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )r`   úapplication/jsonÚAcceptr&   r—   r>   rS   )r   r›   rU   ra   r”   r   rM   ©rO   rš   r=   s      r"   ra   z!AddressConfigurationContext.fetch  s]   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆä+Ø�M‰MØØ—‘˜uÑ%ô
ð 	
r!   c              ƒ   óì   K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)rc   rŸ   r    r&   r—   Nr>   rS   )r   r›   rU   rd   r”   r   rM   r¡   s      r"   rd   z'AddressConfigurationContext.fetch_async(  sr   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô ,Ø�M‰MØØ—‘˜uÑ%ô
ð 	
ð	
ús   ‚AA4ÁA2Á	*A4rC   re   rf   r   rg   rh   ri   r%   rj   rk   rl   c
                 ój  — t        j                  |t        j                  |«      ||||t        j                  |d„ «      ||	dœ	«      }
t        j                  i «      }d|d<   d|d<   | j
                  j                  d| j                  |
|¬«      }t        | j
                  || j                  d	   ¬
«      S )rn   c                 ó   — | S r‰   r    ©Úes    r"   ú<lambda>z4AddressConfigurationContext.update.<locals>.<lambda>i  ó   € ¸Q€ r!   ©	ÚFriendlyNameúAutoCreation.EnabledúAutoCreation.Typeú#AutoCreation.ConversationServiceSidúAutoCreation.WebhookUrlúAutoCreation.WebhookMethodúAutoCreation.WebhookFiltersúAutoCreation.StudioFlowSidúAutoCreation.StudioRetryCountú!application/x-www-form-urlencodedúContent-TyperŸ   r    r'   ©r˜   r™   Údatarš   r>   rS   )
r   r›   r   Úboolean_to_stringÚmaprU   rp   r”   r   rM   ©rO   rC   re   rf   rg   rh   ri   rj   rk   rl   r¶   rš   r=   s                r"   rp   z"AddressConfigurationContext.update>  sÀ   € ô@ �y‰yà -Ü(1×(CÑ(CØ)ó)ð &8Ø7]Ø+DØ.JÜ/8¯}©}Ø1±;ó0ð /LØ1Qñó
ˆô" —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô ,Ø�M‰M˜7¨¯©°uÑ(=ô
ð 	
r!   c
              ƒ   ó†  K  — t        j                  |t        j                  |«      ||||t        j                  |d„ «      ||	dœ	«      }
t        j                  i «      }d|d<   d|d<   | j
                  j                  d| j                  |
|¬«      ƒ d	{  –—† }t        | j
                  || j                  d
   ¬«      S 7 Œ)­w)rs   c                 ó   — | S r‰   r    r¥   s    r"   r§   z:AddressConfigurationContext.update_async.<locals>.<lambda>¨  r¨   r!   r©   r³   r´   rŸ   r    r'   rµ   Nr>   rS   )
r   r›   r   r·   r¸   rU   rt   r”   r   rM   r¹   s                r"   rt   z(AddressConfigurationContext.update_async}  sÎ   è ø€ ô@ �y‰yà -Ü(1×(CÑ(CØ)ó)ð &8Ø7]Ø+DØ.JÜ/8¯}©}Ø1±;ó0ð /LØ1Qñó
ˆô" —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô ,Ø�M‰M˜7¨¯©°uÑ(=ô
ð 	
ð	
ús   ‚BCÂB?Â*Cc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rv   rw   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wry   rz   r|   s      r"   r€   z7AddressConfigurationContext.__repr__.<locals>.<genexpr>Â  r�   r‚   z8<Twilio.Conversations.V1.AddressConfigurationContext {}>rƒ   r†   s     r"   rˆ   z$AddressConfigurationContext.__repr__¼  s;   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØI×PÑPØó
ð 	
r!   )r   r   r   r   r‹   rJ   r�   rZ   r]   r   ra   rd   r   rŽ   r   rŠ   r   r�   rp   rt   rˆ   r�   r‘   s   @r"   rT   rT   é   so  ø„ ðN ð N¨cõ Nð
U˜ó 
Uð
 Dó 
ð
Ð3ó 
ð(
Ð#?ó 
ð0 -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|ñ=
à˜S &˜[Ñ)ð=
ð  % T¨6 \Ñ2ð=
ð "Ø;¸VÐCñ
ð	=
ð 16°c¸6°kÑ0Bð=
ð $)¨¨f¨Ñ#5ð=
ð ',Ø1°6Ð9ñ'
ð=
ð (-¨T°#©Y¸Ð->Ñ'?ð=
ð (-¨S°&¨[Ñ'9ð=
ð +0°°V°Ñ*<ð=
ð 
&ó=
ðB -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|ñ=
à˜S &˜[Ñ)ð=
ð  % T¨6 \Ñ2ð=
ð "Ø;¸VÐCñ
ð	=
ð 16°c¸6°kÑ0Bð=
ð $)¨¨f¨Ñ#5ð=
ð ',Ø1°6Ð9ñ'
ð=
ð (-¨T°#©Y¸Ð->Ñ'?ð=
ð (-¨S°&¨[Ñ'9ð=
ð +0°°V°Ñ*<ð=
ð 
&ó=
ð~	
˜#÷ 	
r!   rT   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚAddressConfigurationPager=   rQ   c                 ó.   — t        | j                  |«      S )zz
        Build an instance of AddressConfigurationInstance

        :param payload: Payload response from the API
        )r   rU   )rO   r=   s     r"   Úget_instancez%AddressConfigurationPage.get_instanceÊ  s   € ô ,¨D¯M©M¸7ÓCÐCr!   c                  ó   — y)rv   z2<Twilio.Conversations.V1.AddressConfigurationPage>r    rV   s    r"   rˆ   z!AddressConfigurationPage.__repr__Ò  ó   € ð Dr!   N)	r   r   r   r   r‹   r   r   rÁ   rˆ   r    r!   r"   r¿   r¿   È  s/   „ ðD D¨¨c¨¡Nð DÐ7Só DðD˜#ô Dr!   r¿   c                   óô  ‡ — 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                  f
dddedeee	f   dee
e	f   ded	e	f   d
eee	f   deee	f   dede	f   de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                  f
dddedeee	f   dee
e	f   ded	e	f   d
eee	f   deee	f   dede	f   de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                  ddfdeee	f   dee   dee   dee   fd„Zej                  ddfdeee	f   dee   dee   dee   fd„Zej                  ddfdeee	f   dee   dee   dee   fd„Zej                  dd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                  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                  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defd$„Zd#edefd%„Zdefd&„Zˆ xZ S )'ÚAddressConfigurationListr<   c                 ó2   •— t         ‰| �  |«       d| _        y)zv
        Initialize the AddressConfigurationList

        :param version: Version that contains the resource

        z/Configuration/AddressesN)rI   rJ   r”   )rO   r<   rP   s     €r"   rJ   z!AddressConfigurationList.__init__Ý  s   ø€ ô 	‰Ñ˜Ô!à.ˆ�	r!   rA   r*   rB   rC   re   rf   r   rg   rh   ri   r%   rj   rk   rl   rH   rQ   c                 óV  — t        j                  |||t        j                  |«      ||||t        j                  |	d„ «      |
||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j
                  j                  d| j                  ||¬«      }t        | j
                  |«      S )	a:  
        Create the AddressConfigurationInstance

        :param type:
        :param address: The unique address to be configured. The address can be a whatsapp address or phone number
        :param friendly_name: The human-readable name of this configuration, limited to 256 characters. Optional.
        :param auto_creation_enabled: Enable/Disable auto-creating conversations for messages to this address
        :param auto_creation_type:
        :param auto_creation_conversation_service_sid: Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
        :param auto_creation_webhook_url: For type `webhook`, the url for the webhook request.
        :param auto_creation_webhook_method:
        :param auto_creation_webhook_filters: The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
        :param auto_creation_studio_flow_sid: For type `studio`, the studio flow SID where the webhook should be sent to.
        :param auto_creation_studio_retry_count: For type `studio`, number of times to retry the webhook request
        :param address_country: An ISO 3166-1 alpha-2n country code which the address belongs to. This is currently only applicable to short code addresses.

        :returns: The created AddressConfigurationInstance
        c                 ó   — | S r‰   r    r¥   s    r"   r§   z1AddressConfigurationList.create.<locals>.<lambda>  r¨   r!   ©r;   ÚAddressrª   r«   r¬   r­   r®   r¯   r°   r±   r²   ÚAddressCountryr´   r³   rŸ   r    r'   rµ   )	r   r›   r   r·   r¸   rU   Úcreater”   r   ©rO   rA   rB   rC   re   rf   rg   rh   ri   rj   rk   rl   rH   r¶   rš   r=   s                   r"   rÌ   zAddressConfigurationList.createè  sÀ   € ôL �y‰yàØ"Ø -Ü(1×(CÑ(CØ)ó)ð &8Ø7]Ø+DØ.JÜ/8¯}©}Ø1±;ó0ð /LØ1QØ"1ñ!ó
ˆô( —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô ,¨D¯M©M¸7ÓCÐCr!   c              ƒ   ór  K  — t        j                  |||t        j                  |«      ||||t        j                  |	d„ «      |
||dœ«      }t        j                  ddi«      }d|d<   d|d<   | j
                  j                  d| j                  ||¬«      ƒ d	{  –—† }t        | j
                  |«      S 7 Œ­w)
aI  
        Asynchronously create the AddressConfigurationInstance

        :param type:
        :param address: The unique address to be configured. The address can be a whatsapp address or phone number
        :param friendly_name: The human-readable name of this configuration, limited to 256 characters. Optional.
        :param auto_creation_enabled: Enable/Disable auto-creating conversations for messages to this address
        :param auto_creation_type:
        :param auto_creation_conversation_service_sid: Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
        :param auto_creation_webhook_url: For type `webhook`, the url for the webhook request.
        :param auto_creation_webhook_method:
        :param auto_creation_webhook_filters: The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
        :param auto_creation_studio_flow_sid: For type `studio`, the studio flow SID where the webhook should be sent to.
        :param auto_creation_studio_retry_count: For type `studio`, number of times to retry the webhook request
        :param address_country: An ISO 3166-1 alpha-2n country code which the address belongs to. This is currently only applicable to short code addresses.

        :returns: The created AddressConfigurationInstance
        c                 ó   — | S r‰   r    r¥   s    r"   r§   z7AddressConfigurationList.create_async.<locals>.<lambda>a  r¨   r!   rÉ   r´   r³   rŸ   r    r'   rµ   N)	r   r›   r   r·   r¸   rU   Úcreate_asyncr”   r   rÍ   s                   r"   rÐ   z%AddressConfigurationList.create_async.  sÎ   è ø€ ôL �y‰yàØ"Ø -Ü(1×(CÑ(CØ)ó)ð &8Ø7]Ø+DØ.JÜ/8¯}©}Ø1±;ó0ð /LØ1QØ"1ñ!ó
ˆô( —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô ,¨D¯M©M¸7ÓCÐCð	
ús   ‚BB7ÂB5ÂB7NÚlimitÚ	page_sizec                 ó¤   — | j                   j                  ||«      }| j                  ||d   ¬«      }| j                   j                  ||d   «      S )aß  
        Streams AddressConfigurationInstance 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 type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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
        rÒ   ©rA   rÒ   rÑ   )rU   Úread_limitsÚpageÚstream©rO   rA   rÑ   rÒ   ÚlimitsrÖ   s         r"   r×   zAddressConfigurationList.streamt  sL   € ð, —‘×*Ñ*¨5°)Ó<ˆØ�y‰y˜d¨f°[Ñ.AˆyÓBˆà�}‰}×#Ñ# D¨&°©/Ó:Ð:r!   c              ƒ   óÀ   K  — | j                   j                  ||«      }| j                  ||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)aî  
        Asynchronously streams AddressConfigurationInstance 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 type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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
        rÒ   rÔ   NrÑ   )rU   rÕ   Ú
page_asyncÚstream_asyncrØ   s         r"   rÜ   z%AddressConfigurationList.stream_async�  sY   è ø€ ð, —‘×*Ñ*¨5°)Ó<ˆØ—_‘_¨$¸&ÀÑ:M�_ÓN×Nˆà�}‰}×)Ñ)¨$°°w±Ó@Ð@ð Oús   ‚6A¸A¹$Ac                 ó<   — t        | j                  |||¬«      «      S )a|  
        Lists AddressConfigurationInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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
        ©rA   rÑ   rÒ   )Úlistr×   )rO   rA   rÑ   rÒ   s       r"   rß   zAddressConfigurationList.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 AddressConfigurationInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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Þ   N)rÜ   )rO   rA   rÑ   rÒ   Úrecords        r"   Ú
list_asyncz#AddressConfigurationList.list_asyncÇ  sW   è ø€ ð. '+×&7Ñ&7ØØØ#ð '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚<š/›<¡7£3§1
¨3«7¯<±3³7´<Ú
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 AddressConfigurationInstance records from the API.
        Request is executed immediately

        :param type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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 AddressConfigurationInstance
        ©r;   Ú	PageTokenr   ÚPageSizer´   r³   rŸ   r    r&   ©r˜   r™   Úparamsrš   )r   r›   rU   rÖ   r”   r¿   ©rO   rA   rã   rä   rÒ   r¶   rš   Úresponses           r"   rÖ   zAddressConfigurationList.pageå  s|   € ô$ �y‰yàØ'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô (¨¯©°xÓ@Ð@r!   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 AddressConfigurationInstance records from the API.
        Request is executed immediately

        :param type: Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
        :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 AddressConfigurationInstance
        ræ   r´   r³   rŸ   r    r&   ré   N)r   r›   rU   rÛ   r”   r¿   rë   s           r"   rÛ   z#AddressConfigurationList.page_async	  sŠ   è ø€ ô$ �y‰yàØ'Ø#Ø%ñ	ó
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô (¨¯©°xÓ@Ð@ð
ús   ‚A#BÁ%B Á&BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )a  
        Retrieve a specific page of AddressConfigurationInstance records from the API.
        Request is executed immediately

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

        :returns: Page of AddressConfigurationInstance
        r&   )rU   ÚdomainÚtwilioÚrequestr¿   ©rO   rî   rì   s      r"   Úget_pagez!AddressConfigurationList.get_page-  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ'¨¯©°xÓ@Ð@r!   c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a  
        Asynchronously retrieve a specific page of AddressConfigurationInstance records from the API.
        Request is executed immediately

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

        :returns: Page of AddressConfigurationInstance
        r&   N)rU   rð   rñ   Úrequest_asyncr¿   ró   s      r"   Úget_page_asyncz'AddressConfigurationList.get_page_async9  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ'¨¯©°xÓ@Ð@ð Vús   ‚4A¶A·Ar>   c                 ó0   — t        | j                  |¬«      S ©zÇ
        Constructs a AddressConfigurationContext

        :param sid: The SID of the Address Configuration resource. This value can be either the `sid` or the `address` of the configuration
        rS   ©rT   rU   ©rO   r>   s     r"   rK   zAddressConfigurationList.getE  ó   € ô +¨4¯=©=¸cÔBÐBr!   c                 ó0   — t        | j                  |¬«      S rù   rú   rû   s     r"   Ú__call__z!AddressConfigurationList.__call__M  rü   r!   c                  ó   — y)rv   z2<Twilio.Conversations.V1.AddressConfigurationList>r    rV   s    r"   rˆ   z!AddressConfigurationList.__repr__U  rÃ   r!   )!r   r   r   r   rJ   r   rŽ   r‹   r   rŠ   r�   r   r�   r   rÌ   rÐ   r   r	   r×   r
   rÜ   rß   râ   r¿   rÖ   rÛ   rô   r÷   rT   rK   rþ   rˆ   r�   r‘   s   @r"   rÅ   rÅ   Û  si  ø„ ð	/ õ 	/ð -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|Ø.4¯l©lñ#DDà1ðDDð ðDDð ˜S &˜[Ñ)ð	DDð
  % T¨6 \Ñ2ðDDð "Ø;¸VÐCñ
ðDDð 16°c¸6°kÑ0BðDDð $)¨¨f¨Ñ#5ðDDð ',Ø1°6Ð9ñ'
ðDDð (-¨T°#©Y¸Ð->Ñ'?ðDDð (-¨S°&¨[Ñ'9ðDDð  +0°°V°Ñ*<ð!DDð" ˜s F˜{Ñ+ð#DDð$ 
&ó%DDðT -3¯L©LØ5;·\±\ð �L‰LØEKÇ\Á\Ø8>¿¹ð �L‰LØBHÇ,Á,Ø<B¿L¹LØ?E¿|¹|Ø.4¯l©lñ#DDà1ðDDð ðDDð ˜S &˜[Ñ)ð	DDð
  % T¨6 \Ñ2ðDDð "Ø;¸VÐCñ
ðDDð 16°c¸6°kÑ0BðDDð $)¨¨f¨Ñ#5ðDDð ',Ø1°6Ð9ñ'
ðDDð (-¨T°#©Y¸Ð->Ñ'?ðDDð (-¨S°&¨[Ñ'9ðDDð  +0°°V°Ñ*<ð!DDð" ˜s F˜{Ñ+ð#DDð$ 
&ó%DDðP $*§<¡<Ø#Ø#'ñ	;à�C˜�KÑ ð;ð ˜‰}ð;ð ˜C‘=ð	;ð
 
Ð.Ñ	/ó;ð: $*§<¡<Ø#Ø#'ñ	Aà�C˜�KÑ ðAð ˜‰}ðAð ˜C‘=ð	Að
 
Ð3Ñ	4óAð: $*§<¡<Ø#Ø#'ñ	
à�C˜�KÑ ð
ð ˜‰}ð
ð ˜C‘=ð	
ð
 
Ð*Ñ	+ó
ð> $*§<¡<Ø#Ø#'ñ	
à�C˜�KÑ ð
ð ˜‰}ð
ð ˜C‘=ð	
ð
 
Ð*Ñ	+ó
ð@ $*§<¡<Ø)/¯©Ø*0¯,©,Ø(.¯©ñ"Aà�C˜�KÑ ð"Að ˜#˜v˜+Ñ&ð"Að ˜3 ˜;Ñ'ð	"Að
 ˜˜f˜Ñ%ð"Að 
"ó"AðL $*§<¡<Ø)/¯©Ø*0¯,©,Ø(.¯©ñ"Aà�C˜�KÑ ð"Að ˜#˜v˜+Ñ&ð"Að ˜3 ˜;Ñ'ð	"Að
 ˜˜f˜Ñ%ð"Að 
"ó"AðH
A 3ð 
AÐ+Có 
Að
A¨sð 
AÐ7Oó 
AðC�sð CÐ:ó CðC˜Cð CÐ$?ó CðD˜#÷ Dr!   rÅ   N)Ú__doc__r   Útypingr   r   r   r   r   r	   r
   Útwilio.baser   r   r   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   rT   r¿   rÅ   r    r!   r"   ú<module>r     sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôM
Ð#3ô M
ô`\
 /ô \
ô~D˜tô Dô&@D˜|õ @Dr!   