
    Ch?                      z    S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
JrJr  S SKJrJrJr   " S S	\5      rg
)    )InvoiceRenderingTemplate)
ListObject)RequestOptions)StripeService)sanitize_id)Listcast)LiteralNotRequired	TypedDictc            	          \ rS rSr " S S\5      r " S S\5      r " S S\5      r " S S	\5      r0 0 4S
SS\	S\
\   4S jjr0 0 4S
SS\	S\
\   4S jjr0 0 4S\S
SS\	S\4S jjr0 0 4S\S
SS\	S\4S jjr0 0 4S\S
SS\	S\4S jjr0 0 4S\S
SS\	S\4S jjr0 0 4S\S
SS\	S\4S jjr0 0 4S\S
SS\	S\4S jjrSrg)InvoiceRenderingTemplateService   c                   ,    \ rS rSr% \\\      \S'   Srg)-InvoiceRenderingTemplateService.ArchiveParams   expand N	__name__
__module____qualname____firstlineno__r   r   str__annotations____static_attributes__r       m/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_invoice_rendering_template_service.pyArchiveParamsr          DI&&	r   r   c                   z    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'    \\	S      \S'   Sr
g	)
*InvoiceRenderingTemplateService.ListParams   ending_beforer   limitstarting_after)activearchivedstatusr   N)r   r   r   r   r   r   r   r   intr
   r   r   r   r   
ListParamsr"      s_    "3''	 DI&&	 3	 $C((	 G$89::r   r+   c                   >    \ rS rSr% \\\      \S'    \\   \S'   Sr	g).InvoiceRenderingTemplateService.RetrieveParams&   r   versionr   N)
r   r   r   r   r   r   r   r   r*   r   r   r   r   RetrieveParamsr-   &   s#    DI&&	 S!!r   r0   c                   ,    \ rS rSr% \\\      \S'   Srg)/InvoiceRenderingTemplateService.UnarchiveParams-   r   r   Nr   r   r   r   UnarchiveParamsr2   -   r    r   r4   paramsr"   optionsreturnc                 R    [        [        [           U R                  SSSUUS95      $ )h
List all templates, ordered by creation date, with the most recently created template appearing first.
get/v1/invoice_rendering_templatesapibase_addressr5   r6   )r	   r   r   _requestselfr5   r6   s      r   list$InvoiceRenderingTemplateService.list3   s:     /0MM1"  	
 		
r   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)r9   r:   r;   r<   r=   N)r	   r   r   _request_asyncr@   s      r   
list_async*InvoiceRenderingTemplateService.list_asyncF   sI      /0%%1" &  	
 		
s   (53
	5templater-   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )
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.
r:   */v1/invoice_rendering_templates/{template}rH   r<   r=   r	   r   r?   formatr   rA   rH   r5   r6   s       r   retrieve(InvoiceRenderingTemplateService.retrieveY   sO     $MM<CC(2 D  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rJ   r:   rK   rL   r<   r=   Nr	   r   rE   rN   r   rO   s       r   retrieve_async.InvoiceRenderingTemplateService.retrieve_asynco   s^      $%%<CC(2 D  # &  
 	
   7AA
	Ar   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )0  
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.
post2/v1/invoice_rendering_templates/{template}/archiverL   r<   r=   rM   rO   s       r   archive'InvoiceRenderingTemplateService.archive   sO     $MMDKK(2 L  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rX   rY   rZ   rL   r<   r=   NrS   rO   s       r   archive_async-InvoiceRenderingTemplateService.archive_async   s^      $%%DKK(2 L  # &  
 	
rV   r2   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )X
Unarchive an invoice rendering template so it can be used on new Stripe objects again.
rY   4/v1/invoice_rendering_templates/{template}/unarchiverL   r<   r=   rM   rO   s       r   	unarchive)InvoiceRenderingTemplateService.unarchive   sO     $MMFMM(2 N  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)ra   rY   rb   rL   r<   r=   NrS   rO   s       r   unarchive_async/InvoiceRenderingTemplateService.unarchive_async   s^      $%%FMM(2 N  # &  
 	
rV   r   N)r   r   r   r   r   r   r+   r0   r4   r   r   r   rB   rF   r   rP   rT   r[   r^   rc   rf   r   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>ro      s.    H * 2 0 $  = =O
m O
r   