Ë
    <@‹g?   ã                   ó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  G d„ d	e«      Zy
)é    )ÚInvoiceRenderingTemplate)Ú
ListObject)ÚRequestOptions)ÚStripeService)Úsanitize_id)ÚListÚcast)ÚLiteralÚNotRequiredÚ	TypedDictc            	       óX  — e Zd Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zi i fd	d
dede	e
   fd„Zi i fd	d
dede	e
   fd„Zi i fded	ddede
fd„Zi i fded	ddede
fd„Zi i fded	ddede
fd„Zi i fded	ddede
fd„Zi i fded	ddede
fd„Zi i fded	ddede
fd„Zy)ÚInvoiceRenderingTemplateServicec                   ó$   — e Zd ZU eee      ed<   y)ú-InvoiceRenderingTemplateService.ArchiveParamsÚexpandN©Ú__name__Ú
__module__Ú__qualname__r   r   ÚstrÚ__annotations__© ó    úi/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_invoice_rendering_template_service.pyÚArchiveParamsr      ó   … Ø˜D ™IÑ&Ó&ð	r   r   c                   ór   — e Zd ZU ee   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   	 eed      ed<   y)ú*InvoiceRenderingTemplateService.ListParamsÚending_beforer   ÚlimitÚstarting_after)ÚactiveÚarchivedÚstatusN)	r   r   r   r   r   r   r   Úintr
   r   r   r   Ú
ListParamsr      s_   … Ø" 3Ñ'Ó'ð	ð ˜D ™IÑ&Ó&ð	ð ˜3ÑÓð	ð $ CÑ(Ó(ð	ð ˜GÐ$8Ñ9Ñ:Ô:r   r&   c                   ó6   — e Zd ZU eee      ed<   	 ee   ed<   y)ú.InvoiceRenderingTemplateService.RetrieveParamsr   ÚversionN)r   r   r   r   r   r   r   r%   r   r   r   ÚRetrieveParamsr(   &   s#   … Ø˜D ™IÑ&Ó&ð	ð ˜SÑ!Ô!r   r*   c                   ó$   — e Zd ZU eee      ed<   y)ú/InvoiceRenderingTemplateService.UnarchiveParamsr   Nr   r   r   r   ÚUnarchiveParamsr,   -   r   r   r-   Úparamsr   ÚoptionsÚreturnc           
      óX   — t        t        t           | j                  ddd||¬«      «      S )úx
        List all templates, ordered by creation date, with the most recently created template appearing first.
        Úgetú/v1/invoice_rendering_templatesÚapi©Úbase_addressr.   r/   )r	   r   r   Ú_request©Úselfr.   r/   s      r   Úlistz$InvoiceRenderingTemplateService.list3   s:   € ô ÜÔ/Ñ0Ø�M‰MØØ1Ø"ØØð ó ó	
ð 		
r   c           
   ƒ   ót   K  — t        t        t           | j                  ddd||¬«      ƒ d{  –—† «      S 7 Œ­w)r2   r3   r4   r5   r6   N)r	   r   r   Ú_request_asyncr9   s      r   Ú
list_asyncz*InvoiceRenderingTemplateService.list_asyncF   sJ   è ø€ ô ÜÔ/Ñ0Ø×%Ñ%ØØ1Ø"ØØð &ó ÷ ó	
ð 		
ðús   ‚+8­6
®	8Útemplater(   c                 ó|   — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      «      S )ú¾
        Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.
        r3   ú*/v1/invoice_rendering_templates/{template}©r?   r5   r6   ©r	   r   r8   Úformatr   ©r:   r?   r.   r/   s       r   Úretrievez(InvoiceRenderingTemplateService.retrieveY   sO   € ô Ü$Ø�M‰MØØ<×CÑCÜ(¨Ó2ð Dó ð #ØØð ó ó
ð 	
r   c              ƒ   ó˜   K  — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      ƒ d{  –—† «      S 7 Œ­w)rA   r3   rB   rC   r5   r6   N©r	   r   r=   rE   r   rF   s       r   Úretrieve_asyncz.InvoiceRenderingTemplateService.retrieve_asynco   s_   è ø€ ô Ü$Ø×%Ñ%ØØ<×CÑCÜ(¨Ó2ð Dó ð #ØØð &ó ÷ ó
ð 	
ðúó   ‚=A
¿A
Á 	A
r   c                 ó|   — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      «      S )õ@  
        Updates the status of an invoice rendering template to â€˜archived' so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.
        Úpostú2/v1/invoice_rendering_templates/{template}/archiverC   r5   r6   rD   rF   s       r   Úarchivez'InvoiceRenderingTemplateService.archive…   sO   € ô Ü$Ø�M‰MØØD×KÑKÜ(¨Ó2ð Ló ð #ØØð ó ó
ð 	
r   c              ƒ   ó˜   K  — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      ƒ d{  –—† «      S 7 Œ­w)rM   rN   rO   rC   r5   r6   NrI   rF   s       r   Úarchive_asyncz-InvoiceRenderingTemplateService.archive_async›   s_   è ø€ ô Ü$Ø×%Ñ%ØØD×KÑKÜ(¨Ó2ð Ló ð #ØØð &ó ÷ ó
ð 	
ðúrK   r,   c                 ó|   — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      «      S )úh
        Unarchive an invoice rendering template so it can be used on new Stripe objects again.
        rN   ú4/v1/invoice_rendering_templates/{template}/unarchiverC   r5   r6   rD   rF   s       r   Ú	unarchivez)InvoiceRenderingTemplateService.unarchive±   sO   € ô Ü$Ø�M‰MØØF×MÑMÜ(¨Ó2ð Nó ð #ØØð ó ó
ð 	
r   c              ƒ   ó˜   K  — t        t        | j                  ddj                  t	        |«      ¬«      d||¬«      ƒ d{  –—† «      S 7 Œ­w)rT   rN   rU   rC   r5   r6   NrI   rF   s       r   Úunarchive_asyncz/InvoiceRenderingTemplateService.unarchive_asyncÇ   s_   è ø€ ô Ü$Ø×%Ñ%ØØF×MÑMÜ(¨Ó2ð Nó ð #ØØð &ó ÷ ó
ð 	
ðúrK   N)r   r   r   r   r   r&   r*   r-   r   r   r   r;   r>   r   rG   rJ   rP   rR   rV   rX   r   r   r   r   r      sØ  „ ô˜	ô ô;�Yô ;ô&"˜ô "ô˜)ô ð @BØ"$ñ
à<ð
ð  ð
ð 
Ð,Ñ	-ó	
ð* @BØ"$ñ
à<ð
ð  ð
ð 
Ð,Ñ	-ó	
ð, DFØ"$ñ	
àð
ð Að
ð  ð	
ð
 
"ó
ð2 DFØ"$ñ	
àð
ð Að
ð  ð	
ð
 
"ó
ð2 CEØ"$ñ	
àð
ð @ð
ð  ð	
ð
 
"ó
ð2 CEØ"$ñ	
àð
ð @ð
ð  ð	
ð
 
"ó
ð2 EGØ"$ñ	
àð
ð Bð
ð  ð	
ð
 
"ó
ð2 EGØ"$ñ	
àð
ð Bð
ð  ð	
ð
 
"ô
r   r   N)Ú"stripe._invoice_rendering_templater   Ústripe._list_objectr   Ústripe._request_optionsr   Ústripe._stripe_servicer   Ústripe._utilr   Útypingr   r	   Útyping_extensionsr
   r   r   r   r   r   r   ú<module>r`      s.   ðõ HÝ *Ý 2Ý 0Ý $ß ß =Ñ =ôO
 mõ O
r   