
    khP              
       p   U d dl mZmZ d dlmZ d dlZd dlZd dlZd dl	m
Z
 d dlmZ d dlmZ d dlmZ dZeed	<   d
Zeed<   dZeed<   dZeed<   dZee   ed<   dZee   ed<   eZeed<   eZeed<   eZeed<   eZeed<   e
j:                  Zeed<   dZe ed<   dZ!ee   ed<   da"ed   ed<   da#ee   ed<   dZ$e ed<   dZ%e&ed<   ejN                  jQ                  ejN                  jS                  e*      d d!      Z+eed"<   da"da,d# Z-d$ Z.d% Z/dZ0eed&      ed'<   d d(l1m2Z2 d d)l3m4Z4 d d*l5m6Z6m7Z7 d d+l8m9Z9 	 	 	 d d,ed-ee   d.ee   d/ee   fd0Z:d d1l;m<Z< d d2l=m>Z> d d3l=m?Z? d d4l@mAZA d d5lBmCZC d d6lDmEZE d d7lFmGZG d d8lHmIZI d d9lJmKZK d d:lLmMZM d d;lNmOZO d d<lPmQZQ d d=lRmSZS d d>lTmUZU d d?lVmWZW d d@lXmYZY d dAlZm[Z[ d dBl\m]Z] d dCl^m_Z_ d dDl`maZa d dElbmcZc d dFldmeZe d dGldmfZf d dHldmgZgmhZh d dIlimjZj d dJlimkZk d dKlimlZl d dLlimmZm d dMlimnZn d dNlimoZo d dOlimpZp d dPlimqZq d dQlimrZr d dRlimsZs d dSlimtZt d dTlumvZvmwZwmxZxmyZymzZzm{Z{m|Z|m}Z} d dUl~mZ d dVlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ d dWlmZ d dXlmZ d dYlmZ d dZlmZ d d[lmZ d d\lmZ d d]lmZ d d^lmZ d d_lmZ d d`lmZ d dalmZ d dblmZ d dclmZ d ddlmZ d delmZ d dflmZ d dglmZ d dhlmZ d dilmZ d djlmZ d dklmZ d dllmZ d dmlmZ d dnlmZ d dolmZ d dplmZ d dqlmZ d drlmZ d dslmZ d dtlmZ d dulmZ d dvlmZ d dwlmZ d dxlmZ d dylmZ d dzlmZ d d{lmZ d d|lmZ d d}lmZ d d~lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dl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 d dlmZ d dlmZ d dlmZ d dlmZ d dli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% 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l0m1Z1 d dl2m3Z3 d dl4m5Z5 d dl6m7Z7 d dl8m9Z9 d dl:m;Z; d dl<m=Z= d dl>m?Z? d dl@mAZA d dlBmCZC d dlDmEZE d dlFmGZG d dlHmIZI d dlJmKZK d dlLmMZM d dlNmOZO d dlPmQZQ d dlRmSZS d dlTmUZU d dlVmWZW d dlXmYZY d dlZm[Z[ d dl\m]Z] d dl^m_Z_ d dl`maZa d dlbmcZc d dldmeZe d dlfmgZg d dlhmiZi d dljmkZk d dÐllmmZm d dĐlnmoZo d dŐlpmqZq d dƐlrmsZs d dǐltmuZu d dȐlvmwZw d dɐlxmyZy d dʐlz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 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 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 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 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 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 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 y(      )TYPE_CHECKINGLiteral)OptionalN)_ApiVersion)_APIRequestor)AppInfo)VERSIONzhttps://api.stripe.comDEFAULT_API_BASEzhttps://connect.stripe.comDEFAULT_CONNECT_API_BASEzhttps://files.stripe.comDEFAULT_UPLOAD_API_BASEzhttps://meter-events.stripe.comDEFAULT_METER_EVENTS_API_BASEapi_key	client_idapi_baseconnect_api_baseupload_api_basemeter_events_api_baseapi_versionTverify_ssl_certsproxy
HTTPClientdefault_http_clientapp_infoenable_telemetry   max_network_retriesdatazca-certificates.crtca_bundle_pathc                  :    t         rt                y t                y )N)r   _warn_if_mismatched_proxy_init_default_http_client     O/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/stripe/__init__.pyensure_default_http_clientr%   3   s    !#r#   c                  :    t        t        t              at        ay )N)r   r   )new_default_http_clientr   r   r   _default_proxyr"   r#   r$   r!   r!   :   s     2) Nr#   c                  N    ddl m}  | t        k7  rt        j                  d       y y )Nr   r   zstripe.proxy was updated after sending a request - this is a no-op. To use a different proxy, set stripe.default_http_client to a new client configured with the proxy.)striper   r(   warningswarnr*   s    r$   r    r    G   s#    )	
 r#   )debuginfolog)OAuth)OAuthService)WebhookWebhookSignature)StripeClientname
partner_idurlversionc                     | |||da y )Nr6   r7   r8   r9   )r   r;   s       r$   set_app_infor<   j   s      	Hr#   )APIResource)ErrorObject)OAuthErrorObject)
ListObject)SearchResultObject)StripeObject)RequestOptions)StripeContext)CreateableAPIResource)custom_method)DeletableAPIResource)ListableAPIResource)nested_resource_class_methods)SearchableAPIResource)SingletonAPIResource)APIResourceTestHelpers)UpdateableAPIResource)VerifyMixin)RequestorOptions)ApiMode)BaseAddress)StripeResponse)StripeResponseBase)StripeStreamResponseStripeStreamResponseAsync)StripeError)APIError)APIConnectionError)StripeErrorWithParamCode)	CardError)IdempotencyError)InvalidRequestError)AuthenticationError)PermissionError)RateLimitError)SignatureVerificationError)r   PycurlClientRequestsClientUrlFetchClientHTTPXClientAIOHTTPClientUrllibClientr'   )convert_to_stripe_object)appsbillingbilling_portalcheckoutclimateentitlementseventsfinancial_connections
forwardingidentityissuingparamsradar	reportingsigmataxterminaltest_helperstreasuryv2)Account)AccountCapabilityService)AccountExternalAccountService)AccountLink)AccountLinkService)AccountLoginLinkService)AccountPersonService)AccountService)AccountSession)AccountSessionService)ApplePayDomain)ApplePayDomainService)Application)ApplicationFee)ApplicationFeeRefund)ApplicationFeeRefundService)ApplicationFeeService)AppsService)Balance)BalanceService)BalanceSettings)BalanceSettingsService)BalanceTransaction)BalanceTransactionService)BankAccount)BillingPortalService)BillingService)
Capability)Card)CashBalance)Charge)ChargeService)CheckoutService)ClimateService)ConfirmationToken)ConfirmationTokenService)ConnectCollectionTransfer)CountrySpec)CountrySpecService)Coupon)CouponService)
CreditNote)CreditNoteLineItem)CreditNoteLineItemService)CreditNotePreviewLinesService)CreditNoteService)Customer)CustomerBalanceTransaction)!CustomerBalanceTransactionService)CustomerCashBalanceService)CustomerCashBalanceTransaction)%CustomerCashBalanceTransactionService)"CustomerFundingInstructionsService)CustomerPaymentMethodService)CustomerPaymentSourceService)CustomerService)CustomerSession)CustomerSessionService)CustomerTaxIdService)Discount)Dispute)DisputeService)EntitlementsService)EphemeralKey)EphemeralKeyService)TemporarySessionExpiredError)Event)EventService)ExchangeRate)ExchangeRateService)File)FileLink)FileLinkService)FileService)FinancialConnectionsService)ForwardingService)FundingInstructions)IdentityService)Invoice)InvoiceItem)InvoiceItemService)InvoiceLineItem)InvoiceLineItemService)InvoicePayment)InvoicePaymentService)InvoiceRenderingTemplate)InvoiceRenderingTemplateService)InvoiceService)IssuingService)LineItem)	LoginLink)Mandate)MandateService)PaymentIntent)PaymentIntentService)PaymentLink)PaymentLinkLineItemService)PaymentLinkService)PaymentMethod)PaymentMethodConfiguration)!PaymentMethodConfigurationService)PaymentMethodDomain)PaymentMethodDomainService)PaymentMethodService)Payout)PayoutService)Person)Plan)PlanService)Price)PriceService)Product)ProductFeature)ProductFeatureService)ProductService)PromotionCode)PromotionCodeService)Quote)$QuoteComputedUpfrontLineItemsService)QuoteLineItemService)QuoteService)RadarService)Refund)RefundService)ReportingService)ReserveTransaction)Reversal)Review)ReviewService)SetupAttempt)SetupAttemptService)SetupIntent)SetupIntentService)ShippingRate)ShippingRateService)SigmaService)Source)SourceMandateNotification)SourceService)SourceTransaction)SourceTransactionService)Subscription)SubscriptionItem)SubscriptionItemService)SubscriptionSchedule)SubscriptionScheduleService)SubscriptionService)TaxCode)TaxCodeService)TaxDeductedAtSource)TaxId)TaxIdService)TaxRate)TaxRateService)
TaxService)TerminalService)TestHelpersService)Token)TokenService)Topup)TopupService)Transfer)TransferReversalService)TransferService)TreasuryService)
V1Services)
V2Services)WebhookEndpoint)WebhookEndpointService)NNN(  typing_extensionsr   r   typingr   sys_sysosr,   stripe._api_versionr   stripe._api_requestorr   stripe._app_infor   stripe._versionr	   r
   str__annotations__r   r   r   r   r   r   r   r   r   CURRENTr   r   boolr   r   r   r   r   intpathjoindirname__file__r   r(   r%   r!   r    r0   stripe._oauthr1   stripe._oauth_servicer2   stripe._webhookr3   r4   stripe._stripe_clientr5   r<   stripe._api_resourcer=   stripe._error_objectr>   r?   stripe._list_objectr@   stripe._search_result_objectrA   stripe._stripe_objectrB   stripe._request_optionsrC   stripe._stripe_contextrD   stripe._createable_api_resourcerE   stripe._custom_methodrF   stripe._deletable_api_resourcerG   stripe._listable_api_resourcerH   %stripe._nested_resource_class_methodsrI   stripe._searchable_api_resourcerJ   stripe._singleton_api_resourcerK   stripe._test_helpersrL   stripe._updateable_api_resourcerM   stripe._verify_mixinrN   stripe._requestor_optionsrO   stripe._api_moderP   stripe._base_addressrQ   stripe._stripe_responserR   rS   rT   rU   stripe._errorrV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   stripe._http_clientr   ra   rb   rc   rd   re   rf   r'   stripe._utilrg   r+   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   stripe._accountr|   "stripe._account_capability_servicer}   (stripe._account_external_account_servicer~   stripe._account_linkr   stripe._account_link_servicer   "stripe._account_login_link_servicer   stripe._account_person_servicer   stripe._account_servicer   stripe._account_sessionr   stripe._account_session_servicer   stripe._apple_pay_domainr    stripe._apple_pay_domain_servicer   stripe._applicationr   stripe._application_feer   stripe._application_fee_refundr   &stripe._application_fee_refund_servicer   stripe._application_fee_servicer   stripe._apps_servicer   stripe._balancer   stripe._balance_servicer   stripe._balance_settingsr    stripe._balance_settings_servicer   stripe._balance_transactionr   #stripe._balance_transaction_servicer   stripe._bank_accountr   stripe._billing_portal_servicer   stripe._billing_servicer   stripe._capabilityr   stripe._cardr   stripe._cash_balancer   stripe._charger   stripe._charge_servicer   stripe._checkout_servicer   stripe._climate_servicer   stripe._confirmation_tokenr   "stripe._confirmation_token_servicer   #stripe._connect_collection_transferr   stripe._country_specr   stripe._country_spec_servicer   stripe._couponr   stripe._coupon_servicer   stripe._credit_noter   stripe._credit_note_line_itemr   %stripe._credit_note_line_item_servicer   )stripe._credit_note_preview_lines_servicer   stripe._credit_note_servicer   stripe._customerr   $stripe._customer_balance_transactionr   ,stripe._customer_balance_transaction_servicer   %stripe._customer_cash_balance_servicer   )stripe._customer_cash_balance_transactionr   1stripe._customer_cash_balance_transaction_servicer   -stripe._customer_funding_instructions_servicer   'stripe._customer_payment_method_servicer   'stripe._customer_payment_source_servicer   stripe._customer_servicer   stripe._customer_sessionr    stripe._customer_session_servicer   stripe._customer_tax_id_servicer   stripe._discountr   stripe._disputer   stripe._dispute_servicer   stripe._entitlements_servicer   stripe._ephemeral_keyr   stripe._ephemeral_key_servicer   r   stripe._eventr   stripe._event_servicer   stripe._exchange_rater   stripe._exchange_rate_servicer   stripe._filer   stripe._file_linkr   stripe._file_link_servicer   stripe._file_servicer   %stripe._financial_connections_servicer   stripe._forwarding_servicer   stripe._funding_instructionsr   stripe._identity_servicer   stripe._invoicer   stripe._invoice_itemr   stripe._invoice_item_servicer   stripe._invoice_line_itemr   !stripe._invoice_line_item_servicer   stripe._invoice_paymentr   stripe._invoice_payment_servicer   "stripe._invoice_rendering_templater   *stripe._invoice_rendering_template_servicer   stripe._invoice_servicer   stripe._issuing_servicer   stripe._line_itemr   stripe._login_linkr   stripe._mandater   stripe._mandate_servicer   stripe._payment_intentr   stripe._payment_intent_servicer   stripe._payment_linkr   &stripe._payment_link_line_item_servicer   stripe._payment_link_servicer   stripe._payment_methodr   $stripe._payment_method_configurationr   ,stripe._payment_method_configuration_servicer   stripe._payment_method_domainr   %stripe._payment_method_domain_servicer   stripe._payment_method_servicer   stripe._payoutr   stripe._payout_servicer   stripe._personr   stripe._planr   stripe._plan_servicer   stripe._pricer   stripe._price_servicer   stripe._productr   stripe._product_featurer   stripe._product_feature_servicer   stripe._product_servicer   stripe._promotion_coder   stripe._promotion_code_servicer   stripe._quoter   1stripe._quote_computed_upfront_line_items_servicer   stripe._quote_line_item_servicer   stripe._quote_servicer   stripe._radar_servicer   stripe._refundr   stripe._refund_servicer   stripe._reporting_servicer   stripe._reserve_transactionr   stripe._reversalr   stripe._reviewr   stripe._review_servicer   stripe._setup_attemptr   stripe._setup_attempt_servicer   stripe._setup_intentr   stripe._setup_intent_servicer   stripe._shipping_rater  stripe._shipping_rate_servicer  stripe._sigma_servicer  stripe._sourcer  #stripe._source_mandate_notificationr  stripe._source_servicer  stripe._source_transactionr  "stripe._source_transaction_servicer  stripe._subscriptionr	  stripe._subscription_itemr
  !stripe._subscription_item_servicer  stripe._subscription_scheduler  %stripe._subscription_schedule_servicer  stripe._subscription_servicer  stripe._tax_coder  stripe._tax_code_servicer  stripe._tax_deducted_at_sourcer  stripe._tax_idr  stripe._tax_id_servicer  stripe._tax_rater  stripe._tax_rate_servicer  stripe._tax_servicer  stripe._terminal_servicer  stripe._test_helpers_servicer  stripe._tokenr  stripe._token_servicer  stripe._topupr  stripe._topup_servicer  stripe._transferr  !stripe._transfer_reversal_servicer  stripe._transfer_servicer  stripe._treasury_servicer   stripe._v1_servicesr!  stripe._v2_servicesr"  stripe._webhook_endpointr#   stripe._webhook_endpoint_servicer$  r"   r#   r$   <module>r     s   4 4   	  , / 0 . 1 # 0 < # <9  9%F s F # 	8C=  #  0 # 0. .: s :&&S & $ x} .2 Xl+ 2"(7
 " $  S ggllGGOOHv'< 
   


 +/Xgo&' . ) > ? !%!	
 
# c]	  < ; E 8 ? D A
 E L 5 . B N 0 > D D < :
	 	 	 N
     , / < E D F ; D < . D G < E 7 % ; + A G D M < , A 8 O 1  H G G G   2 1 . . D D  ? >  ) ( > > > >  & % 2 2 H H ; ;  N M  H G . . ; ;  I H  E D    E D D D 2 2 5 5 . . D D A A  < ;   B A      , + A A + + % % ; ; ( ( > > . . D D  E D A A  ) (   ? > > > + + A A J J  2 1 + + A A > >  < ;  ? >  ? > + +  B A M M  > = J J     0 / E E  * ) ? ? / / E E 8 8 G G  ) ( > > ( ( > > 1 1  H G G G 8 8 8 8 G G r#   