Ë
    <@‹g@6  ã            	       óÔ   — 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	 d dl
mZ d dlmZ d dlmZmZ d d	lmZmZmZmZmZmZ d d
lmZmZmZmZ  G d„ ded   ed   ed   ed   «      Zy)é    )ÚCreateableAPIResource)ÚDeletableAPIResource)Ú
ListObject)ÚListableAPIResource)ÚRequestOptions)ÚStripeObject)ÚUpdateableAPIResource)Úclass_method_variantÚsanitize_id)ÚClassVarÚDictÚListÚOptionalÚcastÚoverload)ÚLiteralÚNotRequiredÚ	TypedDictÚUnpackc                   ó¼  — 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e	ed<   ee   ed<   	 eed<   	 eed<   	 eed<   	 eeef   ed<   	 ed   ed<   	 eed      ed<   	 eded   dd fd „«       Zeded   dd fd!„«       Zed"eded#   dd fd$„«       Zeed"eded#   dd fd%„«       «       Zeded#   dd fd&„«       Z ed'«      ded#   dd fd(„«       Zed"eded#   dd fd)„«       Z eed"eded#   dd fd*„«       «       Z!eded#   dd fd+„«       Z! ed,«      ded#   dd fd-„«       Z!eded.   de"d    fd/„«       Z#eded.   de"d    fd0„«       Z$ededed1   dd fd2„«       Z%ededed1   dd fd3„«       Z&ededed4   dd fd5„«       Z'ededed4   dd fd6„«       Z(de	iZ)y7)8ÚLocationz�
    A Location represents a grouping of readers.

    Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations)
    zterminal.locationÚOBJECT_NAMEc                   ó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)úLocation.AddressÚcityÚcountryÚline1Úline2Úpostal_codeÚstateN)Ú__name__Ú
__module__Ú__qualname__r   ÚstrÚ__annotations__© ó    úX/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/terminal/_location.pyÚAddressr      sf   … Ø�s‰mÓð	ð ˜#‘Óð	ð ˜‰}Óð	ð ˜‰}Óð	ð ˜c‘]Ó"ð	ð ˜‰}Óð	r'   r)   c                   ó`   — e Zd ZU ded<   	 ee   ed<   	 eed<   	 eee      ed<   	 ed   ed<   y)	úLocation.CreateParamsúLocation.CreateParamsAddressÚaddressÚconfiguration_overridesÚdisplay_nameÚexpandúLiteral['']|Dict[str, str]ÚmetadataN)r!   r"   r#   r%   r   r$   r   r&   r'   r(   ÚCreateParamsr+   7   sU   … Ø/Ó/ð	ð "-¨SÑ!1Ó1ð	ð Óð	ð ˜D ™IÑ&Ó&ð	ð Ð:Ñ;Ó;ð	r'   r3   c                   ór   — e Zd ZU ee   ed<   	 eed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r,   r   r   r   r   r   r    N©r!   r"   r#   r   r$   r%   r&   r'   r(   ÚCreateParamsAddresszLocation.CreateParamsAddressM   sf   … Ø˜#ÑÓð	ð ‹ð	ð ˜3ÑÓð	ð ˜3ÑÓð	ð ! Ñ%Ó%ð	ð ˜3ÑÓð	r'   r6   c                   ó   — e Zd Zy)úLocation.DeleteParamsN)r!   r"   r#   r&   r'   r(   ÚDeleteParamsr8   g   s   „ Ør'   r9   c                   óZ   — e Zd ZU ee   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   y)úLocation.ListParamsÚending_beforer0   ÚlimitÚstarting_afterN)r!   r"   r#   r   r$   r%   r   Úintr&   r'   r(   Ú
ListParamsr;   j   sL   … Ø" 3Ñ'Ó'ð	ð ˜D ™IÑ&Ó&ð	ð ˜3ÑÓð	ð $ CÑ(Ó(ð	r'   r@   c                   ól   — e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 eee      ed<   	 ed   ed<   y	)
úLocation.ModifyParamsúLocation.ModifyParamsAddressr-   zLiteral['']|strr.   r/   r0   r1   r2   N)r!   r"   r#   r   r%   r$   r   r&   r'   r(   ÚModifyParamsrB   |   sa   … ØÐ;Ñ<Ó<ð	ð "-Ð->Ñ!?Ó?ð	ð " #Ñ&Ó&ð	ð ˜D ™IÑ&Ó&ð	ð Ð:Ñ;Ó;ð	r'   rD   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)rC   r   r   r   r   r   r    Nr5   r&   r'   r(   ÚModifyParamsAddresszLocation.ModifyParamsAddress’   sl   … Ø˜#ÑÓð	ð ˜SÑ!Ó!ð	ð ˜3ÑÓð	ð ˜3ÑÓð	ð ! Ñ%Ó%ð	ð ˜3ÑÓð	r'   rF   c                   ó$   — e Zd ZU eee      ed<   y)úLocation.RetrieveParamsr0   N)r!   r"   r#   r   r   r$   r%   r&   r'   r(   ÚRetrieveParamsrH   ¬   s   … Ø˜D ™IÑ&Ó&ð	r'   rI   r-   r.   r/   ÚidÚlivemoder2   ÚobjectTÚdeletedÚparamsr+   Úreturnc                 óZ   — t        d| j                  d| j                  «       |¬«      «      S )úÞ
        Creates a new Location object.
        For further details, including which address fields are required in each country, see the [Manage locations](https://stripe.com/docs/terminal/fleet/locations) guide.
        r   Úpost©rN   )r   Ú_static_requestÚ	class_url©ÚclsrN   s     r(   ÚcreatezLocation.createÐ   s6   € ô ØØ×ÑØØ—‘“Øð  ó ó
ð 	
r'   c              ‹   óv   K  — t        d| j                  d| j                  «       |¬«      ƒ d{  –—† «      S 7 Œ­w)rQ   r   rR   rS   N)r   Ú_static_request_asyncrU   rV   s     r(   Úcreate_asynczLocation.create_asyncß   sD   è ø€ ô ØØ×+Ñ+ØØ—‘“Øð ,ó ÷ ó
ð 	
ðús   ‚,9®7
¯	9Úsidr8   c                 óz   — | j                  «       ›dt        |«      ›�}t        d| j                  d||¬«      «      S )ú,
        Deletes a Location object.
        ú/r   ÚdeleterS   ©rU   r   r   rT   ©rW   r\   rN   Úurls       r(   Ú_cls_deletezLocation._cls_deleteð   sE   € ð Ÿ™�¬+°cÔ*:Ð;ˆÜØØ×ÑØØØð  ó ó
ð 	
r'   c                  ó   — y©r^   Nr&   ©r\   rN   s     r(   r`   zLocation.delete  s   € ð 	r'   c                  ó   — yrf   r&   ©ÚselfrN   s     r(   r`   zLocation.delete  s   € ð
 	r'   rd   c                 óF   — | j                  d| j                  «       |¬«      S )r^   r`   rS   )Ú_request_and_refreshÚinstance_urlri   s     r(   r`   zLocation.delete  s.   € ð ×(Ñ(ØØ×ÑÓØð )ó 
ð 	
r'   c              ‹   ó–   K  — | j                  «       ›dt        |«      ›�}t        d| j                  d||¬«      ƒ d{  –—† «      S 7 Œ­w)r^   r_   r   r`   rS   N©rU   r   r   rZ   rb   s       r(   Ú_cls_delete_asynczLocation._cls_delete_async  sS   è ø€ ð Ÿ™�¬+°cÔ*:Ð;ˆÜØØ×+Ñ+ØØØð ,ó ÷ ó
ð 	
ðúó   ‚<A	¾A
¿	A	c              ‹   ó   K  — y­wrf   r&   rg   s     r(   Údelete_asynczLocation.delete_async0  s   è ø€ ð 	ùó   ‚c              ‹   ó   K  — y­wrf   r&   ri   s     r(   rs   zLocation.delete_async:  s   è ø€ ð 	ùrt   rp   c              ‹   ób   K  — | j                  d| j                  «       |¬«      ƒ d{  –—† S 7 Œ­w)r^   r`   rS   N)Ú_request_and_refresh_asyncrm   ri   s     r(   rs   zLocation.delete_asyncC  s<   è ø€ ð ×4Ñ4ØØ×ÑÓØð 5ó 
÷ 
ð 	
ð 
ús   ‚&/¨-©/r;   c                 ó¬   — | j                  d| j                  «       |¬«      }t        |t        «      s!t	        dt        |«      j                  z  «      ‚|S )ú5
        Returns a list of Location objects.
        ÚgetrS   ú%Expected list object from API, got %s)rT   rU   Ú
isinstancer   Ú	TypeErrorÚtyper!   ©rW   rN   Úresults      r(   ÚlistzLocation.listP  s]   € ð ×$Ñ$ØØ�M‰M‹OØð %ó 
ˆô
 ˜&¤*Ô-ÜØ7Ü˜“<×(Ñ(ñ*óð ð
 ˆr'   c              ‹   óÈ   K  — | j                  d| j                  «       |¬«      ƒ d{  –—† }t        |t        «      s!t	        dt        |«      j                  z  «      ‚|S 7 Œ7­w)ry   rz   rS   Nr{   )rZ   rU   r|   r   r}   r~   r!   r   s      r(   Ú
list_asynczLocation.list_asyncd  sk   è ø€ ð ×0Ñ0ØØ�M‰M‹OØð 1ó 
÷ 
ˆô
 ˜&¤*Ô-ÜØ7Ü˜“<×(Ñ(ñ*óð ð
 ˆð
ús   ‚&A"¨A ©8A"rB   c                 óz   — | j                  «       ›dt        |«      ›�}t        d| j                  d||¬«      «      S )ú�
        Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
        r_   r   rR   rS   ra   ©rW   rJ   rN   rc   s       r(   ÚmodifyzLocation.modifyx  sD   € ð Ÿ™�¬+°b¬/Ð:ˆÜØØ×ÑØØØð  ó ó
ð 	
r'   c              ‹   ó–   K  — | j                  «       ›dt        |«      ›�}t        d| j                  d||¬«      ƒ d{  –—† «      S 7 Œ­w)r…   r_   r   rR   rS   Nro   r†   s       r(   Úmodify_asynczLocation.modify_async‰  sR   è ø€ ð Ÿ™�¬+°b¬/Ð:ˆÜØØ×+Ñ+ØØØð ,ó ÷ ó
ð 	
ðúrq   rH   c                 ó8   —  | |fi |¤Ž}|j                  «        |S )ú.
        Retrieves a Location object.
        )Úrefresh©rW   rJ   rN   Úinstances       r(   ÚretrievezLocation.retrieveš  s$   € ñ �rÑ$˜VÑ$ˆØ×ÑÔØˆr'   c              ‹   óT   K  —  | |fi |¤Ž}|j                  «       ƒ d{  –—†  |S 7 Œ­w)r‹   N)Úrefresh_asyncr�   s       r(   Úretrieve_asynczLocation.retrieve_async¥  s3   è ø€ ñ �rÑ$˜VÑ$ˆØ×$Ñ$Ó&×&Ð&Øˆð 	'ús   ‚(Ÿ& (N)*r!   r"   r#   Ú__doc__r   r   r   r%   r   r)   r   r3   r   r6   r9   r@   rD   rF   rI   r   r$   Úboolr   Úclassmethodr   rX   r[   rd   r   Ústaticmethodr`   r
   rp   rs   r   r�   rƒ   r‡   r‰   r�   r’   Ú_inner_class_typesr&   r'   r(   r   r      s  … ñð ;N€K�˜'Ð"5Ñ6Ñ7ÓMô�,ô ô4�~ô ô,˜iô ô4�~ô ô�^ô ô$�~ô ô,˜iô ô4˜ô ð ÓØ% c™]Ó*ðð Óðð 	ƒGðð ƒNðð �3˜�8‰nÓðð Ð'Ñ(Ó(ðð �g˜d‘mÑ$Ó$ðð ð
˜fÐ%<Ñ=ð 
À*ò 
ó ð
ð ð
ØÐ5Ñ6ð
à	ò
ó ð
ð  ð
Øð
Ø!'Ð(?Ñ!@ð
à	ò
ó ð
ð  ØðØðØ"Ð#:Ñ;ðà	òó ó ðð ð˜vÐ&=Ñ>ð À:ò ó ðñ ˜-Ó(ð

ØÐ6Ñ7ð

à	ò

ó )ð

ð ð
Øð
Ø!'Ð(?Ñ!@ð
à	ò
ó ð
ð  ØðØðØ"Ð#:Ñ;ðà	òó ó ðð ðØÐ6Ñ7ðà	òó ðñ Ð-Ó.ð

ØÐ6Ñ7ð

à	ò

ó /ð

ð ðØÐ3Ñ4ðà	�JÑ	òó ðð& ðØÐ3Ñ4ðà	�JÑ	òó ðð& ð
Øð
Ø &Ð'>Ñ ?ð
à	ò
ó ð
ð  ð
Øð
Ø &Ð'>Ñ ?ð
à	ò
ó ð
ð  ðØðØ &Ð'@Ñ Aðà	òó ðð ðØðØ &Ð'@Ñ Aðà	òó ðð $ WÐ-Ñr'   r   N)Ústripe._createable_api_resourcer   Ústripe._deletable_api_resourcer   Ústripe._list_objectr   Ústripe._listable_api_resourcer   Ústripe._request_optionsr   Ústripe._stripe_objectr   Ústripe._updateable_api_resourcer	   Ústripe._utilr
   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   r   r   r   r&   r'   r(   ú<module>r¢      sX   ðõ BÝ ?Ý *Ý =Ý 2Ý .Ý Aß :ß A× Aß EÓ Eôa.Ø˜*Ñ%Ø˜Ñ$Ø˜
Ñ#Ø˜*Ñ%õ	a.r'   