Ë
    [üàg=5  ã                   ó²   — d Z ddlmZ ddl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  G d	„ d
e«      Z G d„ de«      Z G d„ de«      Zy)aé  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Verify
    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ÚOptionalÚUnion)ÚdeserializeÚ	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   ó4  ‡ — e Zd Z G d„ de«      Z	 dedeeef   fˆ fd„Z	e
dd„«       Z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def   deeef   dd fd„Z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def   deeef   dd fd„Zdefd„Zˆ xZS )Ú#VerificationAttemptsSummaryInstancec                   ó   — e Zd ZdZdZdZdZy)ú,VerificationAttemptsSummaryInstance.ChannelsÚsmsÚcallÚemailÚwhatsappN)Ú__name__Ú
__module__Ú__qualname__ÚSMSÚCALLÚEMAILÚWHATSAPP© ó    úq/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/verify/v2/verification_attempts_summary.pyÚChannelsr      s   „ ØˆØˆØˆØ‰r   r!   ÚversionÚpayloadc                 ó¦  •— t         ‰| �  |«       t        j                  |j	                  d«      «      | _        t        j                  |j	                  d«      «      | _        t        j                  |j	                  d«      «      | _        t        j                  |j	                  d«      «      | _	        |j	                  d«      | _
        d | _        y )NÚtotal_attemptsÚtotal_convertedÚtotal_unconvertedÚconversion_rate_percentageÚurl)ÚsuperÚ__init__r   ÚintegerÚgetr%   r&   r'   Údecimalr(   r)   Ú_context)Úselfr"   r#   Ú	__class__s      €r    r+   z,VerificationAttemptsSummaryInstance.__init__(   s°   ø€ Ü‰Ñ˜Ô!ä-8×-@Ñ-@Ø�K‰KÐ(Ó)ó.
ˆÔô /:×.AÑ.AØ�K‰KÐ)Ó*ó/
ˆÔô 1<×0CÑ0CØ�K‰KÐ+Ó,ó1
ˆÔô <G×;NÑ;NØ�K‰KÐ4Ó5ó<
ˆÔ'ð #*§+¡+¨eÓ"4ˆŒàFJˆ�r   Úreturnc                 óf   — | j                   €t        | j                  «      | _         | 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: VerificationAttemptsSummaryContext for this VerificationAttemptsSummaryInstance
        )r/   Ú"VerificationAttemptsSummaryContextÚ_version©r0   s    r    Ú_proxyz*VerificationAttemptsSummaryInstance._proxy;   s-   € ð �=‰=Ð Ü>Ø—‘óˆDŒMð �}‰}Ðr   Úverify_service_sidÚdate_created_afterÚdate_created_beforeÚcountryÚchannelr   Údestination_prefixc                 óD   — | j                   j                  ||||||¬«      S )áÄ  
        Fetch the VerificationAttemptsSummaryInstance

        :param verify_service_sid: Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
        :param date_created_after: Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
        :param date_created_before: Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
        :param country: Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
        :param channel: Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
        :param destination_prefix: Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.

        :returns: The fetched VerificationAttemptsSummaryInstance
        ©r8   r9   r:   r;   r<   r=   )r7   Úfetch©r0   r8   r9   r:   r;   r<   r=   s          r    rA   z)VerificationAttemptsSummaryInstance.fetchI   s2   € ð. �{‰{× Ñ Ø1Ø1Ø 3ØØØ1ð !ó 
ð 	
r   c              ƒ   ó`   K  — | j                   j                  ||||||¬«      ƒ d{  –—† S 7 Œ­w)áÞ  
        Asynchronous coroutine to fetch the VerificationAttemptsSummaryInstance

        :param verify_service_sid: Filter used to consider only Verification Attempts of the given verify service on the summary aggregation.
        :param date_created_after: Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
        :param date_created_before: Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
        :param country: Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation.
        :param channel: Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP`
        :param destination_prefix: Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format.

        :returns: The fetched VerificationAttemptsSummaryInstance
        r@   N)r7   Úfetch_asyncrB   s          r    rE   z/VerificationAttemptsSummaryInstance.fetch_asynci   s@   è ø€ ð. —[‘[×,Ñ,Ø1Ø1Ø 3ØØØ1ð -ó 
÷ 
ð 	
ð 
ús   ‚%.§,¨.c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z6<Twilio.Verify.V2.VerificationAttemptsSummaryInstance>r   r6   s    r    Ú__repr__z,VerificationAttemptsSummaryInstance.__repr__‰   s   € ð Hr   )r2   r4   )r   r   r   Úobjectr!   r   r   Ústrr   r+   Úpropertyr7   r
   Úunsetr   r   rA   rE   rH   Ú__classcell__©r1   s   @r    r   r      s¼  ø„ ô�6ô ððK ð K°$°s¸C°x±.õ Kð& òó ðð 28·±Ø6<·l±lØ7=·|±|Ø&,§l¡lð �L‰LØ17·±ñ
à! # v +Ñ.ð
ð " (¨FÐ"2Ñ3ð
ð # 8¨VÐ#3Ñ4ð	
ð
 �s˜F�{Ñ#ð
ð Ø:¸FÐBñ
ð
ð " # v +Ñ.ð
ð 
/ó
ðD 28·±Ø6<·l±lØ7=·|±|Ø&,§l¡lð �L‰LØ17·±ñ
à! # v +Ñ.ð
ð " (¨FÐ"2Ñ3ð
ð # 8¨VÐ#3Ñ4ð	
ð
 �s˜F�{Ñ#ð
ð Ø:¸FÐBñ
ð
ð " # v +Ñ.ð
ð 
/ó
ð@H˜#÷ H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                  fdeee	f   dee
e	f   dee
e	f   deee	f   dede	f   d	eee	f   d
efd„Z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de	f   d	eee	f   d
efd„Zd
efd„Zˆ xZS )r4   r"   c                 ó2   •— t         ‰| �  |«       d| _        y)z
        Initialize the VerificationAttemptsSummaryContext

        :param version: Version that contains the resource
        z/Attempts/SummaryN)r*   r+   Ú_uri©r0   r"   r1   s     €r    r+   z+VerificationAttemptsSummaryContext.__init__•   s   ø€ ô 	‰Ñ˜Ô!à'ˆ�	r   r8   r9   r:   r;   r<   r   r=   r2   c           	      ó8  — t        j                  |t        j                  |«      t        j                  |«      |||dœ«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }	t        | j                  |	«      S )r?   ©ÚVerifyServiceSidÚDateCreatedAfterÚDateCreatedBeforeÚCountryÚChannelÚDestinationPrefixúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheaders)r
   Úofr	   Úiso8601_datetimer5   rA   rQ   r   ©
r0   r8   r9   r:   r;   r<   r=   Údatarb   r#   s
             r    rA   z(VerificationAttemptsSummaryContext.fetchŸ   s™   € ô0 �y‰yà$6Ü$-×$>Ñ$>Ð?QÓ$RÜ%.×%?Ñ%?Ð@SÓ%TØ"Ø"Ø%7ñó	
ˆô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô 3Ø�M‰MØó
ð 	
r   c           	   ƒ   óT  K  — t        j                  |t        j                  |«      t        j                  |«      |||dœ«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }	t        | j                  |	«      S 7 Œ­w)rD   rT   r[   r\   r]   r^   N)r
   rc   r	   rd   r5   rE   rQ   r   re   s
             r    rE   z.VerificationAttemptsSummaryContext.fetch_asyncÏ   s§   è ø€ ô0 �y‰yà$6Ü$-×$>Ñ$>Ð?QÓ$RÜ%.×%?Ñ%?Ð@SÓ%TØ"Ø"Ø%7ñó	
ˆô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô 3Ø�M‰MØó
ð 	
ð	
ús   ‚B	B(ÂB&ÂB(c                  ó   — y)rG   z5<Twilio.Verify.V2.VerificationAttemptsSummaryContext>r   r6   s    r    rH   z+VerificationAttemptsSummaryContext.__repr__ÿ   s   € ð Gr   )r   r   r   r   r+   r
   rL   r   rJ   rI   r   r   rA   rE   rH   rM   rN   s   @r    r4   r4   “   s…  ø„ ð( õ (ð 28·±Ø6<·l±lØ7=·|±|Ø&,§l¡lð �L‰LØ17·±ñ.
à! # v +Ñ.ð.
ð " (¨FÐ"2Ñ3ð.
ð # 8¨VÐ#3Ñ4ð	.
ð
 �s˜F�{Ñ#ð.
ð Ø:¸FÐBñ
ð.
ð " # v +Ñ.ð.
ð 
-ó.
ðd 28·±Ø6<·l±lØ7=·|±|Ø&,§l¡lð �L‰LØ17·±ñ.
à! # v +Ñ.ð.
ð " (¨FÐ"2Ñ3ð.
ð # 8¨VÐ#3Ñ4ð	.
ð
 �s˜F�{Ñ#ð.
ð Ø:¸FÐBñ
ð.
ð " # v +Ñ.ð.
ð 
-ó.
ð`G˜#÷ Gr   r4   c                   óH   ‡ — e Zd Zdefˆ fd„Zdefd„Zdefd„Zdefd„Z	ˆ xZ
S )ÚVerificationAttemptsSummaryListr"   c                 ó$   •— t         ‰| �  |«       y)z}
        Initialize the VerificationAttemptsSummaryList

        :param version: Version that contains the resource

        N)r*   r+   rR   s     €r    r+   z(VerificationAttemptsSummaryList.__init__  s   ø€ ô 	‰Ñ˜Õ!r   r2   c                 ó,   — t        | j                  «      S ©zB
        Constructs a VerificationAttemptsSummaryContext

        ©r4   r5   r6   s    r    r-   z#VerificationAttemptsSummaryList.get  ó   € ô
 2°$·-±-Ó@Ð@r   c                 ó,   — t        | j                  «      S rm   rn   r6   s    r    Ú__call__z(VerificationAttemptsSummaryList.__call__  ro   r   c                  ó   — y)rG   z2<Twilio.Verify.V2.VerificationAttemptsSummaryList>r   r6   s    r    rH   z(VerificationAttemptsSummaryList.__repr__"  s   € ð Dr   )r   r   r   r   r+   r4   r-   rq   rJ   rH   rM   rN   s   @r    rj   rj   	  s;   ø„ ð" õ "ðAÐ7ó AðAÐ<ó AðD˜#÷ Dr   rj   N)Ú__doc__r   Útypingr   r   r   r   Útwilio.baser   r	   r
   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r4   rj   r   r   r    ú<module>rz      sX   ðñõ ß -Ó -ß 6Ñ 6Ý 8Ý :Ý 2Ý 'ôxHÐ*:ô xHôvsG¨ô sGôlD lõ Dr   