
    gsT                     ^    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  G d de      Zy)	    )AccountSession)RequestOptions)StripeService)Listcast)NotRequired	TypedDictc                      e Zd 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
 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 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 G d/ d0e      Z G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z G d7 d8e      Z G d9 d:e      Z  G d; d<e      Z! G d= d>e      Z" G d? d@e      Z#i fdAdBdCe$dDe%fdEZ&i fdAdBdCe$dDe%fdFZ'yG)HAccountSessionServicec                   <    e Zd ZU eed<   	 ded<   	 eee      ed<   y)"AccountSessionService.CreateParamsaccount,AccountSessionService.CreateParamsComponents
componentsexpandN)__name__
__module____qualname__str__annotations__r   r        e/var/www/html/Kila-kolis-project/venv/lib/python3.12/site-packages/stripe/_account_session_service.pyCreateParamsr      s0    	 CB	 DI&&	r   r   c                      e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y) r   =AccountSessionService.CreateParamsComponentsAccountManagementaccount_management=AccountSessionService.CreateParamsComponentsAccountOnboardingaccount_onboarding4AccountSessionService.CreateParamsComponentsBalancesbalances5AccountSessionService.CreateParamsComponentsDocuments	documents<AccountSessionService.CreateParamsComponentsFinancialAccountfinancial_accountHAccountSessionService.CreateParamsComponentsFinancialAccountTransactionsfinancial_account_transactions7AccountSessionService.CreateParamsComponentsIssuingCardissuing_card<AccountSessionService.CreateParamsComponentsIssuingCardsListissuing_cards_list>AccountSessionService.CreateParamsComponentsNotificationBannernotification_banner:AccountSessionService.CreateParamsComponentsPaymentDetailspayment_details4AccountSessionService.CreateParamsComponentsPaymentspayments3AccountSessionService.CreateParamsComponentsPayoutspayouts7AccountSessionService.CreateParamsComponentsPayoutsListpayouts_list<AccountSessionService.CreateParamsComponentsTaxRegistrationstax_registrations7AccountSessionService.CreateParamsComponentsTaxSettingstax_settingsN)r   r   r   r   r   r   r   r   CreateParamsComponentsz,AccountSessionService.CreateParamsComponents   sY   'K
 	
	 (K
 	
	 B
 	
	 C
 	
	 'J
 	
	 )4V)
 	
	 "E
 	
	 (J
 	
	 )L
 	
	 %H
 	
	 B
 	
	 A
 	
	 "E
 	
	 'J
 	
	 "E
 	
	r   r:   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   enabledEAccountSessionService.CreateParamsComponentsAccountManagementFeaturesfeaturesNr   r   r   boolr   r   r   r   r   'CreateParamsComponentsAccountManagementz=AccountSessionService.CreateParamsComponentsAccountManagementu   #    	 S
 	
	r   rA   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r=   "disable_stripe_user_authenticationexternal_account_collectionNr   r   r   r   r@   r   r   r   r   /CreateParamsComponentsAccountManagementFeatureszEAccountSessionService.CreateParamsComponentsAccountManagementFeatures   $    ,7,==	 &1%66	r   rG   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   r<   EAccountSessionService.CreateParamsComponentsAccountOnboardingFeaturesr>   Nr?   r   r   r   'CreateParamsComponentsAccountOnboardingz=AccountSessionService.CreateParamsComponentsAccountOnboarding   rB   r   rK   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)rJ   rD   rE   NrF   r   r   r   /CreateParamsComponentsAccountOnboardingFeatureszEAccountSessionService.CreateParamsComponentsAccountOnboardingFeatures   rH   r   rM   c                   *    e Zd ZU eed<   	 ed   ed<   y)r    r<   <AccountSessionService.CreateParamsComponentsBalancesFeaturesr>   Nr?   r   r   r   CreateParamsComponentsBalancesz4AccountSessionService.CreateParamsComponentsBalances   #    	 J
 	
	r   rP   c                   f    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<   y)rO   rD   edit_payout_schedulerE   instant_payoutsstandard_payoutsNrF   r   r   r   &CreateParamsComponentsBalancesFeaturesz<AccountSessionService.CreateParamsComponentsBalancesFeatures   Z    ,7,==	 *$//	 &1%66	 %T**	 &d++	r   rV   c                   *    e Zd ZU eed<   	 ed   ed<   y)r"   r<   =AccountSessionService.CreateParamsComponentsDocumentsFeaturesr>   Nr?   r   r   r   CreateParamsComponentsDocumentsz5AccountSessionService.CreateParamsComponentsDocuments   s#    	 K
 	
	r   rZ   c                       e Zd Zy)rY   Nr   r   r   r   r   r   'CreateParamsComponentsDocumentsFeaturesz=AccountSessionService.CreateParamsComponentsDocumentsFeatures       r   r]   c                   *    e Zd ZU eed<   	 ed   ed<   y)r$   r<   DAccountSessionService.CreateParamsComponentsFinancialAccountFeaturesr>   Nr?   r   r   r   &CreateParamsComponentsFinancialAccountz<AccountSessionService.CreateParamsComponentsFinancialAccount   #    	 R
 	
	r   ra   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r`   rD   rE   
send_moneytransfer_balanceNrF   r   r   r   .CreateParamsComponentsFinancialAccountFeatureszDAccountSessionService.CreateParamsComponentsFinancialAccountFeatures   sH    ,7,==	 &1%66	  %%	 &d++	r   rf   c                   *    e Zd ZU eed<   	 ed   ed<   y)r&   r<   PAccountSessionService.CreateParamsComponentsFinancialAccountTransactionsFeaturesr>   Nr?   r   r   r   2CreateParamsComponentsFinancialAccountTransactionszHAccountSessionService.CreateParamsComponentsFinancialAccountTransactions   s#    	 ^
 	
	r   ri   c                       e Zd ZU ee   ed<   y)rh   card_spend_dispute_managementNrF   r   r   r   :CreateParamsComponentsFinancialAccountTransactionsFeatureszPAccountSessionService.CreateParamsComponentsFinancialAccountTransactionsFeatures   s     (34'88	r   rl   c                   *    e Zd ZU eed<   	 ed   ed<   y)r(   r<   ?AccountSessionService.CreateParamsComponentsIssuingCardFeaturesr>   Nr?   r   r   r   !CreateParamsComponentsIssuingCardz7AccountSessionService.CreateParamsComponentsIssuingCard  #    	 M
 	
	r   ro   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)rn   card_managementrk   cardholder_managementspend_control_managementNrF   r   r   r   )CreateParamsComponentsIssuingCardFeaturesz?AccountSessionService.CreateParamsComponentsIssuingCardFeatures  sH    $T**	 (34'88	  +400	 #.d"33	r   ru   c                   *    e Zd ZU eed<   	 ed   ed<   y)r*   r<   DAccountSessionService.CreateParamsComponentsIssuingCardsListFeaturesr>   Nr?   r   r   r   &CreateParamsComponentsIssuingCardsListz<AccountSessionService.CreateParamsComponentsIssuingCardsList"  rb   r   rx   c                   f    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<   y)rw   rr   rk   rs   rD   rt   NrF   r   r   r   .CreateParamsComponentsIssuingCardsListFeatureszDAccountSessionService.CreateParamsComponentsIssuingCardsListFeatures.  sZ    $T**	 (34'88	  +400	 -8,==	 #.d"33	r   rz   c                   *    e Zd ZU eed<   	 ed   ed<   y)r,   r<   FAccountSessionService.CreateParamsComponentsNotificationBannerFeaturesr>   Nr?   r   r   r   (CreateParamsComponentsNotificationBannerz>AccountSessionService.CreateParamsComponentsNotificationBannerD  s#    	 T
 	
	r   r}   c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)r|   rD   rE   NrF   r   r   r   0CreateParamsComponentsNotificationBannerFeatureszFAccountSessionService.CreateParamsComponentsNotificationBannerFeaturesP  rH   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r.   r<   BAccountSessionService.CreateParamsComponentsPaymentDetailsFeaturesr>   Nr?   r   r   r   $CreateParamsComponentsPaymentDetailsz:AccountSessionService.CreateParamsComponentsPaymentDetailsZ  s#    	 P
 	
	r   r   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r   capture_payments*destination_on_behalf_of_charge_managementdispute_managementrefund_managementNrF   r   r   r   ,CreateParamsComponentsPaymentDetailsFeatureszBAccountSessionService.CreateParamsComponentsPaymentDetailsFeaturesf  I    %d++	 5@4EE	 (--	 't,,	r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r0   r<   <AccountSessionService.CreateParamsComponentsPaymentsFeaturesr>   Nr?   r   r   r   CreateParamsComponentsPaymentsz4AccountSessionService.CreateParamsComponentsPaymentsx  rQ   r   r   c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r   r   r   r   r   NrF   r   r   r   &CreateParamsComponentsPaymentsFeaturesz<AccountSessionService.CreateParamsComponentsPaymentsFeatures  r   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r2   r<   ;AccountSessionService.CreateParamsComponentsPayoutsFeaturesr>   Nr?   r   r   r   CreateParamsComponentsPayoutsz3AccountSessionService.CreateParamsComponentsPayouts  s#    	 I
 	
	r   r   c                   f    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<   y)r   rD   rS   rE   rT   rU   NrF   r   r   r   %CreateParamsComponentsPayoutsFeaturesz;AccountSessionService.CreateParamsComponentsPayoutsFeatures  rW   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r4   r<   ?AccountSessionService.CreateParamsComponentsPayoutsListFeaturesr>   Nr?   r   r   r   !CreateParamsComponentsPayoutsListz7AccountSessionService.CreateParamsComponentsPayoutsList  rp   r   r   c                       e Zd Zy)r   Nr\   r   r   r   )CreateParamsComponentsPayoutsListFeaturesz?AccountSessionService.CreateParamsComponentsPayoutsListFeatures  r^   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r6   r<   DAccountSessionService.CreateParamsComponentsTaxRegistrationsFeaturesr>   Nr?   r   r   r   &CreateParamsComponentsTaxRegistrationsz<AccountSessionService.CreateParamsComponentsTaxRegistrations  rb   r   r   c                       e Zd Zy)r   Nr\   r   r   r   .CreateParamsComponentsTaxRegistrationsFeatureszDAccountSessionService.CreateParamsComponentsTaxRegistrationsFeatures  r^   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r8   r<   ?AccountSessionService.CreateParamsComponentsTaxSettingsFeaturesr>   Nr?   r   r   r   !CreateParamsComponentsTaxSettingsz7AccountSessionService.CreateParamsComponentsTaxSettings  rp   r   r   c                       e Zd Zy)r   Nr\   r   r   r   )CreateParamsComponentsTaxSettingsFeaturesz?AccountSessionService.CreateParamsComponentsTaxSettingsFeatures  r^   r   r   paramsr   optionsreturnc           
      J    t        t        | j                  ddd||            S )
        Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.
        post/v1/account_sessionsapibase_addressr   r   )r   r   _requestselfr   r   s      r   createzAccountSessionService.create  s4     MM&"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r   r   r   r   r   N)r   r   _request_asyncr   s      r   create_asyncz"AccountSessionService.create_async  sD      %%&" &  	
 		
s   $1/
	1N)(r   r   r   r	   r   r:   rA   rG   rK   rM   rP   rV   rZ   r]   ra   rf   ri   rl   ro   ru   rx   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   
   s   y Z Zx
) 
) 
) 
) 
 
 ,
) 
) 
 
 $
Y 

I 
I $
 
 ,
9 
9 
y 
y $
 
 $
	 
	 ,
I 
I 
 
 
I 
I  #%
4
  
 
	
, #%
4
  
 
	
r   r   N)stripe._account_sessionr   stripe._request_optionsr   stripe._stripe_servicer   typingr   r   typing_extensionsr   r	   r   r   r   r   <module>r      s$    3 2 0  4
M 
r   