stripe 21.1.0-beta.2 → 22.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +99 -1664
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Decimal.d.ts +532 -0
- package/cjs/Decimal.js +1 -0
- package/cjs/Decimal.js.map +1 -0
- package/cjs/Error.d.ts +163 -0
- package/cjs/Error.js +3 -115
- package/cjs/Error.js.map +1 -0
- package/cjs/RequestSender.d.ts +59 -0
- package/cjs/RequestSender.js +29 -38
- package/cjs/RequestSender.js.map +1 -0
- package/cjs/ResourceNamespace.d.ts +6 -0
- package/cjs/ResourceNamespace.js +1 -0
- package/cjs/ResourceNamespace.js.map +1 -0
- package/cjs/StripeContext.d.ts +32 -0
- package/cjs/StripeContext.js +1 -0
- package/cjs/StripeContext.js.map +1 -0
- package/cjs/StripeEmitter.d.ts +23 -0
- package/cjs/StripeEmitter.js +1 -0
- package/cjs/StripeEmitter.js.map +1 -0
- package/cjs/StripeResource.d.ts +18 -0
- package/cjs/StripeResource.js +64 -155
- package/cjs/StripeResource.js.map +1 -0
- package/cjs/Types.d.ts +188 -0
- package/cjs/Types.js +10 -0
- package/cjs/Types.js.map +1 -0
- package/cjs/V2Coercion.d.ts +17 -0
- package/cjs/V2Coercion.js +1 -0
- package/cjs/V2Coercion.js.map +1 -0
- package/cjs/Webhooks.d.ts +37 -0
- package/cjs/Webhooks.js +10 -7
- package/cjs/Webhooks.js.map +1 -0
- package/cjs/apiVersion.d.ts +2 -0
- package/cjs/apiVersion.js +4 -2
- package/cjs/apiVersion.js.map +1 -0
- package/cjs/autoPagination.d.ts +25 -0
- package/cjs/autoPagination.js +36 -28
- package/cjs/autoPagination.js.map +1 -0
- package/cjs/crypto/CryptoProvider.d.ts +44 -0
- package/cjs/crypto/CryptoProvider.js +5 -0
- package/cjs/crypto/CryptoProvider.js.map +1 -0
- package/cjs/crypto/NodeCryptoProvider.d.ts +12 -0
- package/cjs/crypto/NodeCryptoProvider.js +1 -0
- package/cjs/crypto/NodeCryptoProvider.js.map +1 -0
- package/cjs/crypto/SubtleCryptoProvider.d.ts +16 -0
- package/cjs/crypto/SubtleCryptoProvider.js +1 -0
- package/cjs/crypto/SubtleCryptoProvider.js.map +1 -0
- package/cjs/lib.d.ts +267 -0
- package/cjs/lib.js +3 -0
- package/cjs/lib.js.map +1 -0
- package/cjs/multipart.d.ts +5 -0
- package/cjs/multipart.js +1 -0
- package/cjs/multipart.js.map +1 -0
- package/cjs/net/FetchHttpClient.d.ts +27 -0
- package/cjs/net/FetchHttpClient.js +5 -1
- package/cjs/net/FetchHttpClient.js.map +1 -0
- package/cjs/net/HttpClient.d.ts +63 -0
- package/cjs/net/HttpClient.js +1 -0
- package/cjs/net/HttpClient.js.map +1 -0
- package/cjs/net/NodeHttpClient.d.ts +24 -0
- package/cjs/net/NodeHttpClient.js +1 -0
- package/cjs/net/NodeHttpClient.js.map +1 -0
- package/cjs/platform/NodePlatformFunctions.d.ts +33 -0
- package/cjs/platform/NodePlatformFunctions.js +1 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -0
- package/cjs/platform/PlatformFunctions.d.ts +64 -0
- package/cjs/platform/PlatformFunctions.js +1 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -0
- package/cjs/platform/WebPlatformFunctions.d.ts +22 -0
- package/cjs/platform/WebPlatformFunctions.js +1 -0
- package/cjs/platform/WebPlatformFunctions.js.map +1 -0
- package/cjs/resources/AccountLinks.d.ts +76 -0
- package/cjs/resources/AccountLinks.js +11 -5
- package/cjs/resources/AccountLinks.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +1015 -0
- package/cjs/resources/AccountSessions.js +11 -5
- package/cjs/resources/AccountSessions.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +5196 -0
- package/cjs/resources/Accounts.js +174 -108
- package/cjs/resources/Accounts.js.map +1 -0
- package/cjs/resources/ApplePayDomains.d.ts +80 -0
- package/cjs/resources/ApplePayDomains.js +31 -18
- package/cjs/resources/ApplePayDomains.js.map +1 -0
- package/cjs/resources/ApplicationFees.d.ts +181 -0
- package/cjs/resources/ApplicationFees.js +55 -30
- package/cjs/resources/ApplicationFees.js.map +1 -0
- package/cjs/resources/Applications.d.ts +36 -0
- package/cjs/resources/Applications.js +4 -0
- package/cjs/resources/Applications.js.map +1 -0
- package/cjs/resources/Apps/Secrets.d.ts +201 -0
- package/cjs/resources/Apps/Secrets.js +31 -15
- package/cjs/resources/Apps/Secrets.js.map +1 -0
- package/cjs/resources/Apps/index.d.ts +15 -0
- package/cjs/resources/Apps/index.js +13 -0
- package/cjs/resources/Apps/index.js.map +1 -0
- package/cjs/resources/Balance.d.ts +285 -0
- package/cjs/resources/Balance.js +12 -5
- package/cjs/resources/Balance.js.map +1 -0
- package/cjs/resources/BalanceSettings.d.ts +164 -0
- package/cjs/resources/BalanceSettings.js +19 -6
- package/cjs/resources/BalanceSettings.js.map +1 -0
- package/cjs/resources/BalanceTransactionSources.d.ts +15 -0
- package/cjs/resources/BalanceTransactionSources.js +4 -0
- package/cjs/resources/BalanceTransactionSources.js.map +1 -0
- package/cjs/resources/BalanceTransactions.d.ts +142 -0
- package/cjs/resources/BalanceTransactions.js +23 -13
- package/cjs/resources/BalanceTransactions.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +182 -0
- package/cjs/resources/BankAccounts.js +4 -0
- package/cjs/resources/BankAccounts.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +27 -0
- package/cjs/resources/Billing/AlertTriggereds.js +4 -0
- package/cjs/resources/Billing/AlertTriggereds.js.map +1 -0
- package/cjs/resources/Billing/Alerts.d.ts +193 -0
- package/cjs/resources/Billing/Alerts.js +43 -23
- package/cjs/resources/Billing/Alerts.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +142 -0
- package/cjs/resources/Billing/CreditBalanceSummary.js +11 -8
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +183 -0
- package/cjs/resources/Billing/CreditBalanceTransactions.js +19 -13
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -0
- package/cjs/resources/Billing/CreditGrants.d.ts +300 -0
- package/cjs/resources/Billing/CreditGrants.js +43 -26
- package/cjs/resources/Billing/CreditGrants.js.map +1 -0
- package/cjs/resources/Billing/MeterEventAdjustments.d.ts +73 -0
- package/cjs/resources/Billing/MeterEventAdjustments.js +11 -8
- package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -0
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +30 -0
- package/cjs/resources/Billing/MeterEventSummaries.js +4 -0
- package/cjs/resources/Billing/MeterEventSummaries.js.map +1 -0
- package/cjs/resources/Billing/MeterEvents.d.ts +66 -0
- package/cjs/resources/Billing/MeterEvents.js +11 -5
- package/cjs/resources/Billing/MeterEvents.js.map +1 -0
- package/cjs/resources/Billing/Meters.d.ts +251 -0
- package/cjs/resources/Billing/Meters.js +51 -25
- package/cjs/resources/Billing/Meters.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +65 -0
- package/cjs/resources/Billing/index.js +25 -0
- package/cjs/resources/Billing/index.js.map +1 -0
- package/cjs/resources/BillingPortal/Configurations.d.ts +728 -0
- package/cjs/resources/BillingPortal/Configurations.js +31 -21
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +360 -0
- package/cjs/resources/BillingPortal/Sessions.js +11 -8
- package/cjs/resources/BillingPortal/Sessions.js.map +1 -0
- package/cjs/resources/BillingPortal/index.d.ts +20 -0
- package/cjs/resources/BillingPortal/index.js +15 -0
- package/cjs/resources/BillingPortal/index.js.map +1 -0
- package/cjs/resources/Capabilities.d.ts +160 -0
- package/cjs/resources/Capabilities.js +4 -0
- package/cjs/resources/Capabilities.js.map +1 -0
- package/cjs/resources/Cards.d.ts +170 -0
- package/cjs/resources/Cards.js +4 -0
- package/cjs/resources/Cards.js.map +1 -0
- package/cjs/resources/CashBalances.d.ts +40 -0
- package/cjs/resources/CashBalances.js +4 -0
- package/cjs/resources/CashBalances.js.map +1 -0
- package/cjs/resources/Charges.d.ts +2287 -0
- package/cjs/resources/Charges.js +54 -21
- package/cjs/resources/Charges.js.map +1 -0
- package/cjs/resources/Checkout/Sessions.d.ts +4888 -0
- package/cjs/resources/Checkout/Sessions.js +442 -407
- package/cjs/resources/Checkout/Sessions.js.map +1 -0
- package/cjs/resources/Checkout/index.d.ts +17 -0
- package/cjs/resources/Checkout/index.js +13 -0
- package/cjs/resources/Checkout/index.js.map +1 -0
- package/cjs/resources/Climate/Orders.d.ts +265 -0
- package/cjs/resources/Climate/Orders.js +75 -54
- package/cjs/resources/Climate/Orders.js.map +1 -0
- package/cjs/resources/Climate/Products.d.ts +90 -0
- package/cjs/resources/Climate/Products.js +33 -26
- package/cjs/resources/Climate/Products.js.map +1 -0
- package/cjs/resources/Climate/Suppliers.d.ts +86 -0
- package/cjs/resources/Climate/Suppliers.js +19 -13
- package/cjs/resources/Climate/Suppliers.js.map +1 -0
- package/cjs/resources/Climate/index.d.ts +28 -0
- package/cjs/resources/Climate/index.js +17 -0
- package/cjs/resources/Climate/index.js.map +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +1212 -0
- package/cjs/resources/ConfirmationTokens.js +11 -8
- package/cjs/resources/ConfirmationTokens.js.map +1 -0
- package/cjs/resources/ConnectCollectionTransfers.d.ts +27 -0
- package/cjs/resources/ConnectCollectionTransfers.js +4 -0
- package/cjs/resources/ConnectCollectionTransfers.js.map +1 -0
- package/cjs/resources/CountrySpecs.d.ts +86 -0
- package/cjs/resources/CountrySpecs.js +19 -13
- package/cjs/resources/CountrySpecs.js.map +1 -0
- package/cjs/resources/Coupons.d.ts +246 -0
- package/cjs/resources/Coupons.js +39 -13
- package/cjs/resources/Coupons.js.map +1 -0
- package/cjs/resources/CreditNoteLineItems.d.ts +140 -0
- package/cjs/resources/CreditNoteLineItems.js +4 -0
- package/cjs/resources/CreditNoteLineItems.js.map +1 -0
- package/cjs/resources/CreditNotes.d.ts +873 -0
- package/cjs/resources/CreditNotes.js +225 -202
- package/cjs/resources/CreditNotes.js.map +1 -0
- package/cjs/resources/CustomerBalanceTransactions.d.ts +70 -0
- package/cjs/resources/CustomerBalanceTransactions.js +4 -0
- package/cjs/resources/CustomerBalanceTransactions.js.map +1 -0
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +166 -0
- package/cjs/resources/CustomerCashBalanceTransactions.js +4 -0
- package/cjs/resources/CustomerCashBalanceTransactions.js.map +1 -0
- package/cjs/resources/CustomerSessions.d.ts +403 -0
- package/cjs/resources/CustomerSessions.js +11 -5
- package/cjs/resources/CustomerSessions.js.map +1 -0
- package/cjs/resources/CustomerSources.d.ts +6 -0
- package/cjs/resources/CustomerSources.js +4 -0
- package/cjs/resources/CustomerSources.js.map +1 -0
- package/cjs/resources/Customers.d.ts +1115 -0
- package/cjs/resources/Customers.js +543 -475
- package/cjs/resources/Customers.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +133 -0
- package/cjs/resources/Discounts.js +4 -0
- package/cjs/resources/Discounts.js.map +1 -0
- package/cjs/resources/Disputes.d.ts +682 -0
- package/cjs/resources/Disputes.js +35 -15
- package/cjs/resources/Disputes.js.map +1 -0
- package/cjs/resources/Entitlements/ActiveEntitlementSummaries.d.ts +20 -0
- package/cjs/resources/Entitlements/ActiveEntitlementSummaries.js +4 -0
- package/cjs/resources/Entitlements/ActiveEntitlementSummaries.js.map +1 -0
- package/cjs/resources/Entitlements/ActiveEntitlements.d.ts +56 -0
- package/cjs/resources/Entitlements/ActiveEntitlements.js +19 -13
- package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -0
- package/cjs/resources/Entitlements/Features.d.ts +115 -0
- package/cjs/resources/Entitlements/Features.js +31 -18
- package/cjs/resources/Entitlements/Features.js.map +1 -0
- package/cjs/resources/Entitlements/index.d.ts +24 -0
- package/cjs/resources/Entitlements/index.js +15 -0
- package/cjs/resources/Entitlements/index.js.map +1 -0
- package/cjs/resources/EphemeralKeys.d.ts +63 -0
- package/cjs/resources/EphemeralKeys.js +20 -14
- package/cjs/resources/EphemeralKeys.js.map +1 -0
- package/cjs/resources/Events.d.ts +3554 -0
- package/cjs/resources/Events.js +19 -10
- package/cjs/resources/Events.js.map +1 -0
- package/cjs/resources/ExchangeRates.d.ts +47 -0
- package/cjs/resources/ExchangeRates.js +25 -13
- package/cjs/resources/ExchangeRates.js.map +1 -0
- package/cjs/resources/ExternalAccounts.d.ts +4 -0
- package/cjs/resources/ExternalAccounts.js +1 -20
- package/cjs/resources/ExternalAccounts.js.map +1 -0
- package/cjs/resources/FeeRefunds.d.ts +37 -0
- package/cjs/resources/FeeRefunds.js +4 -0
- package/cjs/resources/FeeRefunds.js.map +1 -0
- package/cjs/resources/FileLinks.d.ts +116 -0
- package/cjs/resources/FileLinks.js +31 -12
- package/cjs/resources/FileLinks.js.map +1 -0
- package/cjs/resources/Files.d.ts +127 -0
- package/cjs/resources/Files.js +32 -20
- package/cjs/resources/Files.js.map +1 -0
- package/cjs/resources/FinancialConnections/AccountOwners.d.ts +34 -0
- package/cjs/resources/FinancialConnections/AccountOwners.js +4 -0
- package/cjs/resources/FinancialConnections/AccountOwners.js.map +1 -0
- package/cjs/resources/FinancialConnections/AccountOwnerships.d.ts +20 -0
- package/cjs/resources/FinancialConnections/AccountOwnerships.js +4 -0
- package/cjs/resources/FinancialConnections/AccountOwnerships.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +383 -0
- package/cjs/resources/FinancialConnections/Accounts.js +51 -39
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +166 -0
- package/cjs/resources/FinancialConnections/Sessions.js +17 -12
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Transactions.d.ts +111 -0
- package/cjs/resources/FinancialConnections/Transactions.js +19 -13
- package/cjs/resources/FinancialConnections/Transactions.js.map +1 -0
- package/cjs/resources/FinancialConnections/index.d.ts +36 -0
- package/cjs/resources/FinancialConnections/index.js +17 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -0
- package/cjs/resources/Forwarding/Requests.d.ts +203 -0
- package/cjs/resources/Forwarding/Requests.js +25 -14
- package/cjs/resources/Forwarding/Requests.js.map +1 -0
- package/cjs/resources/Forwarding/index.d.ts +14 -0
- package/cjs/resources/Forwarding/index.js +13 -0
- package/cjs/resources/Forwarding/index.js.map +1 -0
- package/cjs/resources/FundingInstructions.d.ts +213 -0
- package/cjs/resources/FundingInstructions.js +4 -0
- package/cjs/resources/FundingInstructions.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +414 -0
- package/cjs/resources/Identity/VerificationReports.js +19 -13
- package/cjs/resources/Identity/VerificationReports.js.map +1 -0
- package/cjs/resources/Identity/VerificationSessions.d.ts +532 -0
- package/cjs/resources/Identity/VerificationSessions.js +75 -29
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -0
- package/cjs/resources/Identity/index.d.ts +23 -0
- package/cjs/resources/Identity/index.js +15 -0
- package/cjs/resources/Identity/index.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +506 -0
- package/cjs/resources/InvoiceItems.js +119 -104
- package/cjs/resources/InvoiceItems.js.map +1 -0
- package/cjs/resources/InvoiceLineItems.d.ts +280 -0
- package/cjs/resources/InvoiceLineItems.js +4 -0
- package/cjs/resources/InvoiceLineItems.js.map +1 -0
- package/cjs/resources/InvoicePayments.d.ts +142 -0
- package/cjs/resources/InvoicePayments.js +19 -13
- package/cjs/resources/InvoicePayments.js.map +1 -0
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +87 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +31 -21
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -0
- package/cjs/resources/Invoices.d.ts +4024 -0
- package/cjs/resources/Invoices.js +660 -635
- package/cjs/resources/Invoices.js.map +1 -0
- package/cjs/resources/Issuing/Authorizations.d.ts +606 -0
- package/cjs/resources/Issuing/Authorizations.js +673 -645
- package/cjs/resources/Issuing/Authorizations.js.map +1 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +718 -0
- package/cjs/resources/Issuing/Cardholders.js +31 -18
- package/cjs/resources/Issuing/Cardholders.js.map +1 -0
- package/cjs/resources/Issuing/Cards.d.ts +764 -0
- package/cjs/resources/Issuing/Cards.js +31 -12
- package/cjs/resources/Issuing/Cards.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +862 -0
- package/cjs/resources/Issuing/Disputes.js +37 -22
- package/cjs/resources/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +291 -0
- package/cjs/resources/Issuing/PersonalizationDesigns.js +31 -21
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -0
- package/cjs/resources/Issuing/PhysicalBundles.d.ts +93 -0
- package/cjs/resources/Issuing/PhysicalBundles.js +19 -13
- package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +250 -0
- package/cjs/resources/Issuing/Tokens.js +25 -17
- package/cjs/resources/Issuing/Tokens.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +451 -0
- package/cjs/resources/Issuing/Transactions.js +221 -211
- package/cjs/resources/Issuing/Transactions.js.map +1 -0
- package/cjs/resources/Issuing/index.d.ts +69 -0
- package/cjs/resources/Issuing/index.js +27 -0
- package/cjs/resources/Issuing/index.js.map +1 -0
- package/cjs/resources/LineItems.d.ts +101 -0
- package/cjs/resources/LineItems.js +4 -0
- package/cjs/resources/LineItems.js.map +1 -0
- package/cjs/resources/LoginLinks.d.ts +14 -0
- package/cjs/resources/LoginLinks.js +4 -0
- package/cjs/resources/LoginLinks.js.map +1 -0
- package/cjs/resources/Mandates.d.ts +279 -0
- package/cjs/resources/Mandates.js +11 -10
- package/cjs/resources/Mandates.js.map +1 -0
- package/cjs/resources/OAuth.d.ts +280 -0
- package/cjs/resources/OAuth.js +24 -22
- package/cjs/resources/OAuth.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +1809 -0
- package/cjs/resources/PaymentAttemptRecords.js +19 -13
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -0
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +93 -0
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.js +4 -0
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.js.map +1 -0
- package/cjs/resources/PaymentIntents.d.ts +11040 -0
- package/cjs/resources/PaymentIntents.js +165 -60
- package/cjs/resources/PaymentIntents.js.map +1 -0
- package/cjs/resources/PaymentLinks.d.ts +2041 -0
- package/cjs/resources/PaymentLinks.js +328 -312
- package/cjs/resources/PaymentLinks.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +4039 -0
- package/cjs/resources/PaymentMethodConfigurations.js +31 -21
- package/cjs/resources/PaymentMethodConfigurations.js.map +1 -0
- package/cjs/resources/PaymentMethodDomains.d.ts +246 -0
- package/cjs/resources/PaymentMethodDomains.js +42 -25
- package/cjs/resources/PaymentMethodDomains.js.map +1 -0
- package/cjs/resources/PaymentMethods.d.ts +1920 -0
- package/cjs/resources/PaymentMethods.js +57 -26
- package/cjs/resources/PaymentMethods.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +2279 -0
- package/cjs/resources/PaymentRecords.js +60 -33
- package/cjs/resources/PaymentRecords.js.map +1 -0
- package/cjs/resources/Payouts.d.ts +262 -0
- package/cjs/resources/Payouts.js +49 -20
- package/cjs/resources/Payouts.js.map +1 -0
- package/cjs/resources/Persons.d.ts +474 -0
- package/cjs/resources/Persons.js +4 -0
- package/cjs/resources/Persons.js.map +1 -0
- package/cjs/resources/Plans.d.ts +363 -0
- package/cjs/resources/Plans.js +130 -112
- package/cjs/resources/Plans.js.map +1 -0
- package/cjs/resources/Prices.d.ts +721 -0
- package/cjs/resources/Prices.js +296 -277
- package/cjs/resources/Prices.js.map +1 -0
- package/cjs/resources/ProductFeatures.d.ts +38 -0
- package/cjs/resources/ProductFeatures.js +4 -0
- package/cjs/resources/ProductFeatures.js.map +1 -0
- package/cjs/resources/Products.d.ts +575 -0
- package/cjs/resources/Products.js +96 -59
- package/cjs/resources/Products.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +271 -0
- package/cjs/resources/PromotionCodes.js +31 -46
- package/cjs/resources/PromotionCodes.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +1202 -0
- package/cjs/resources/Quotes.js +599 -1691
- package/cjs/resources/Quotes.js.map +1 -0
- package/cjs/resources/Radar/EarlyFraudWarnings.d.ts +79 -0
- package/cjs/resources/Radar/EarlyFraudWarnings.js +21 -13
- package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +581 -0
- package/cjs/resources/Radar/PaymentEvaluations.js +11 -8
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -0
- package/cjs/resources/Radar/ValueListItems.d.ts +119 -0
- package/cjs/resources/Radar/ValueListItems.js +31 -21
- package/cjs/resources/Radar/ValueListItems.js.map +1 -0
- package/cjs/resources/Radar/ValueLists.d.ts +170 -0
- package/cjs/resources/Radar/ValueLists.js +37 -22
- package/cjs/resources/Radar/ValueLists.js.map +1 -0
- package/cjs/resources/Radar/index.d.ts +35 -0
- package/cjs/resources/Radar/index.js +19 -0
- package/cjs/resources/Radar/index.js.map +1 -0
- package/cjs/resources/Refunds.d.ts +502 -0
- package/cjs/resources/Refunds.js +51 -16
- package/cjs/resources/Refunds.js.map +1 -0
- package/cjs/resources/Reporting/ReportRuns.d.ts +176 -0
- package/cjs/resources/Reporting/ReportRuns.js +25 -14
- package/cjs/resources/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/Reporting/ReportTypes.d.ts +66 -0
- package/cjs/resources/Reporting/ReportTypes.js +19 -13
- package/cjs/resources/Reporting/ReportTypes.js.map +1 -0
- package/cjs/resources/Reporting/index.d.ts +20 -0
- package/cjs/resources/Reporting/index.js +15 -0
- package/cjs/resources/Reporting/index.js.map +1 -0
- package/cjs/resources/Reserve/Holds.d.ts +79 -0
- package/cjs/resources/Reserve/Holds.js +1 -11
- package/cjs/resources/Reserve/Holds.js.map +1 -0
- package/cjs/resources/Reserve/Plans.d.ts +76 -0
- package/cjs/resources/Reserve/Plans.js +1 -6
- package/cjs/resources/Reserve/Plans.js.map +1 -0
- package/cjs/resources/Reserve/Releases.d.ts +79 -0
- package/cjs/resources/Reserve/Releases.js +1 -14
- package/cjs/resources/Reserve/Releases.js.map +1 -0
- package/cjs/resources/Reserve/index.d.ts +13 -0
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -0
- package/cjs/resources/ReserveTransactions.d.ts +19 -0
- package/cjs/resources/ReserveTransactions.js +4 -0
- package/cjs/resources/ReserveTransactions.js.map +1 -0
- package/cjs/resources/Reviews.d.ts +143 -0
- package/cjs/resources/Reviews.js +25 -14
- package/cjs/resources/Reviews.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +535 -0
- package/cjs/resources/SetupAttempts.js +13 -9
- package/cjs/resources/SetupAttempts.js.map +1 -0
- package/cjs/resources/SetupIntents.d.ts +4266 -0
- package/cjs/resources/SetupIntents.js +71 -30
- package/cjs/resources/SetupIntents.js.map +1 -0
- package/cjs/resources/ShippingRates.d.ts +319 -0
- package/cjs/resources/ShippingRates.js +31 -18
- package/cjs/resources/ShippingRates.js.map +1 -0
- package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +83 -0
- package/cjs/resources/Sigma/ScheduledQueryRuns.js +19 -13
- package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -0
- package/cjs/resources/Sigma/index.d.ts +13 -0
- package/cjs/resources/Sigma/index.js +13 -0
- package/cjs/resources/Sigma/index.js.map +1 -0
- package/cjs/resources/SourceMandateNotifications.d.ts +79 -0
- package/cjs/resources/SourceMandateNotifications.js +4 -0
- package/cjs/resources/SourceMandateNotifications.js.map +1 -0
- package/cjs/resources/SourceTransactions.d.ts +140 -0
- package/cjs/resources/SourceTransactions.js +4 -0
- package/cjs/resources/SourceTransactions.js.map +1 -0
- package/cjs/resources/Sources.d.ts +918 -0
- package/cjs/resources/Sources.js +39 -16
- package/cjs/resources/Sources.js.map +1 -0
- package/cjs/resources/SubscriptionItems.d.ts +417 -0
- package/cjs/resources/SubscriptionItems.js +330 -306
- package/cjs/resources/SubscriptionItems.js.map +1 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1777 -0
- package/cjs/resources/SubscriptionSchedules.js +105 -127
- package/cjs/resources/SubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Subscriptions.d.ts +2313 -0
- package/cjs/resources/Subscriptions.js +749 -718
- package/cjs/resources/Subscriptions.js.map +1 -0
- package/cjs/resources/Tax/Associations.d.ts +75 -0
- package/cjs/resources/Tax/Associations.js +11 -5
- package/cjs/resources/Tax/Associations.js.map +1 -0
- package/cjs/resources/Tax/CalculationLineItems.d.ts +121 -0
- package/cjs/resources/Tax/CalculationLineItems.js +4 -0
- package/cjs/resources/Tax/CalculationLineItems.js.map +1 -0
- package/cjs/resources/Tax/Calculations.d.ts +487 -0
- package/cjs/resources/Tax/Calculations.js +25 -14
- package/cjs/resources/Tax/Calculations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +3300 -0
- package/cjs/resources/Tax/Registrations.js +33 -18
- package/cjs/resources/Tax/Registrations.js.map +1 -0
- package/cjs/resources/Tax/Settings.d.ts +118 -0
- package/cjs/resources/Tax/Settings.js +17 -6
- package/cjs/resources/Tax/Settings.js.map +1 -0
- package/cjs/resources/Tax/TransactionLineItems.d.ts +67 -0
- package/cjs/resources/Tax/TransactionLineItems.js +4 -0
- package/cjs/resources/Tax/TransactionLineItems.js.map +1 -0
- package/cjs/resources/Tax/Transactions.d.ts +347 -0
- package/cjs/resources/Tax/Transactions.js +31 -21
- package/cjs/resources/Tax/Transactions.js.map +1 -0
- package/cjs/resources/Tax/index.d.ts +47 -0
- package/cjs/resources/Tax/index.js +21 -0
- package/cjs/resources/Tax/index.js.map +1 -0
- package/cjs/resources/TaxCodes.d.ts +43 -0
- package/cjs/resources/TaxCodes.js +19 -10
- package/cjs/resources/TaxCodes.js.map +1 -0
- package/cjs/resources/TaxDeductedAtSources.d.ts +22 -0
- package/cjs/resources/TaxDeductedAtSources.js +4 -0
- package/cjs/resources/TaxDeductedAtSources.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +216 -0
- package/cjs/resources/TaxIds.js +31 -12
- package/cjs/resources/TaxIds.js.map +1 -0
- package/cjs/resources/TaxRates.d.ts +226 -0
- package/cjs/resources/TaxRates.js +31 -12
- package/cjs/resources/TaxRates.js.map +1 -0
- package/cjs/resources/Terminal/Configurations.d.ts +1655 -0
- package/cjs/resources/Terminal/Configurations.js +37 -25
- package/cjs/resources/Terminal/Configurations.js.map +1 -0
- package/cjs/resources/Terminal/ConnectionTokens.d.ts +34 -0
- package/cjs/resources/Terminal/ConnectionTokens.js +11 -8
- package/cjs/resources/Terminal/ConnectionTokens.js.map +1 -0
- package/cjs/resources/Terminal/Locations.d.ts +285 -0
- package/cjs/resources/Terminal/Locations.js +38 -22
- package/cjs/resources/Terminal/Locations.js.map +1 -0
- package/cjs/resources/Terminal/OnboardingLinks.d.ts +89 -0
- package/cjs/resources/Terminal/OnboardingLinks.js +11 -8
- package/cjs/resources/Terminal/OnboardingLinks.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +1013 -0
- package/cjs/resources/Terminal/Readers.js +85 -54
- package/cjs/resources/Terminal/Readers.js.map +1 -0
- package/cjs/resources/Terminal/index.d.ts +52 -0
- package/cjs/resources/Terminal/index.js +21 -0
- package/cjs/resources/Terminal/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +651 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.js +11 -8
- package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/Customers.d.ts +29 -0
- package/cjs/resources/TestHelpers/Customers.js +11 -8
- package/cjs/resources/TestHelpers/Customers.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +806 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +980 -954
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.d.ts +75 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.js +35 -24
- package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +67 -0
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +23 -16
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +582 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +291 -273
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +14 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +19 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Refunds.d.ts +17 -0
- package/cjs/resources/TestHelpers/Refunds.js +11 -8
- package/cjs/resources/TestHelpers/Refunds.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +107 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.js +23 -16
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Terminal/index.js +13 -0
- package/cjs/resources/TestHelpers/Terminal/index.js.map +1 -0
- package/cjs/resources/TestHelpers/TestClocks.d.ts +142 -0
- package/cjs/resources/TestHelpers/TestClocks.js +37 -25
- package/cjs/resources/TestHelpers/TestClocks.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +62 -0
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +23 -16
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +119 -0
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +29 -20
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +119 -0
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +29 -20
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +72 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js +11 -8
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +71 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.js +11 -8
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/index.d.ts +16 -0
- package/cjs/resources/TestHelpers/Treasury/index.js +21 -0
- package/cjs/resources/TestHelpers/Treasury/index.js.map +1 -0
- package/cjs/resources/TestHelpers/index.d.ts +31 -0
- package/cjs/resources/TestHelpers/index.js +25 -0
- package/cjs/resources/TestHelpers/index.js.map +1 -0
- package/cjs/resources/Tokens.d.ts +874 -0
- package/cjs/resources/Tokens.js +18 -6
- package/cjs/resources/Tokens.js.map +1 -0
- package/cjs/resources/Topups.d.ts +177 -0
- package/cjs/resources/Topups.js +37 -13
- package/cjs/resources/Topups.js.map +1 -0
- package/cjs/resources/TransferReversals.d.ts +46 -0
- package/cjs/resources/TransferReversals.js +4 -0
- package/cjs/resources/TransferReversals.js.map +1 -0
- package/cjs/resources/Transfers.d.ts +242 -0
- package/cjs/resources/Transfers.js +65 -29
- package/cjs/resources/Transfers.js.map +1 -0
- package/cjs/resources/Treasury/CreditReversals.d.ts +132 -0
- package/cjs/resources/Treasury/CreditReversals.js +25 -17
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -0
- package/cjs/resources/Treasury/DebitReversals.d.ts +147 -0
- package/cjs/resources/Treasury/DebitReversals.js +25 -17
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +402 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.js +4 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +756 -0
- package/cjs/resources/Treasury/FinancialAccounts.js +49 -33
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -0
- package/cjs/resources/Treasury/InboundTransfers.d.ts +263 -0
- package/cjs/resources/Treasury/InboundTransfers.js +31 -21
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -0
- package/cjs/resources/Treasury/OutboundPayments.d.ts +452 -0
- package/cjs/resources/Treasury/OutboundPayments.js +31 -21
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +346 -0
- package/cjs/resources/Treasury/OutboundTransfers.js +31 -21
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +261 -0
- package/cjs/resources/Treasury/ReceivedCredits.js +19 -13
- package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +202 -0
- package/cjs/resources/Treasury/ReceivedDebits.js +19 -13
- package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -0
- package/cjs/resources/Treasury/TransactionEntries.d.ts +187 -0
- package/cjs/resources/Treasury/TransactionEntries.js +315 -306
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -0
- package/cjs/resources/Treasury/Transactions.d.ts +212 -0
- package/cjs/resources/Treasury/Transactions.js +349 -342
- package/cjs/resources/Treasury/Transactions.js.map +1 -0
- package/cjs/resources/Treasury/index.d.ts +83 -0
- package/cjs/resources/Treasury/index.js +31 -0
- package/cjs/resources/Treasury/index.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +81 -0
- package/cjs/resources/V2/Billing/MeterEventAdjustments.js +11 -8
- package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventSession.d.ts +41 -0
- package/cjs/resources/V2/Billing/MeterEventSession.js +11 -8
- package/cjs/resources/V2/Billing/MeterEventSession.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventStream.d.ts +48 -0
- package/cjs/resources/V2/Billing/MeterEventStream.js +14 -9
- package/cjs/resources/V2/Billing/MeterEventStream.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEvents.d.ts +75 -0
- package/cjs/resources/V2/Billing/MeterEvents.js +11 -5
- package/cjs/resources/V2/Billing/MeterEvents.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +24 -0
- package/cjs/resources/V2/Billing/index.js +19 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +235 -0
- package/cjs/resources/V2/Core/AccountLinks.js +12 -5
- package/cjs/resources/V2/Core/AccountLinks.js.map +1 -0
- package/cjs/resources/V2/Core/AccountPersonTokens.d.ts +26 -0
- package/cjs/resources/V2/Core/AccountPersonTokens.js +4 -0
- package/cjs/resources/V2/Core/AccountPersonTokens.js.map +1 -0
- package/cjs/resources/V2/Core/AccountPersons.d.ts +473 -0
- package/cjs/resources/V2/Core/AccountPersons.js +4 -0
- package/cjs/resources/V2/Core/AccountPersons.js.map +1 -0
- package/cjs/resources/V2/Core/AccountTokens.d.ts +778 -0
- package/cjs/resources/V2/Core/AccountTokens.js +33 -25
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -0
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +378 -0
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +27 -19
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -0
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +884 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +93 -73
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +6951 -0
- package/cjs/resources/V2/Core/Accounts.js +142 -120
- package/cjs/resources/V2/Core/Accounts.js.map +1 -0
- package/cjs/resources/V2/Core/EventDestinations.d.ts +327 -0
- package/cjs/resources/V2/Core/EventDestinations.js +55 -37
- package/cjs/resources/V2/Core/EventDestinations.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +650 -0
- package/cjs/resources/V2/Core/Events.js +31 -39
- package/cjs/resources/V2/Core/Events.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +51 -0
- package/cjs/resources/V2/Core/index.js +21 -0
- package/cjs/resources/V2/Core/index.js.map +1 -0
- package/cjs/resources/V2/DeletedObject.d.ts +10 -0
- package/cjs/resources/V2/DeletedObject.js +4 -0
- package/cjs/resources/V2/DeletedObject.js.map +1 -0
- package/cjs/resources/V2/V2Amounts.d.ts +4 -0
- package/cjs/resources/V2/V2Amounts.js +3 -0
- package/cjs/resources/V2/V2Amounts.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +16 -0
- package/cjs/resources/V2/index.js +15 -0
- package/cjs/resources/V2/index.js.map +1 -0
- package/cjs/resources/WebhookEndpoints.d.ts +170 -0
- package/cjs/resources/WebhookEndpoints.js +37 -22
- package/cjs/resources/WebhookEndpoints.js.map +1 -0
- package/cjs/resources.d.ts +76 -0
- package/cjs/resources.js +152 -253
- package/cjs/resources.js.map +1 -0
- package/cjs/shared.d.ts +152 -0
- package/cjs/shared.js +6 -0
- package/cjs/shared.js.map +1 -0
- package/cjs/stripe.cjs.node.d.ts +9 -0
- package/cjs/stripe.cjs.node.js +30 -10
- package/cjs/stripe.cjs.node.js.map +1 -0
- package/cjs/stripe.cjs.worker.d.ts +6 -0
- package/cjs/stripe.cjs.worker.js +30 -10
- package/cjs/stripe.cjs.worker.js.map +1 -0
- package/cjs/stripe.core.d.ts +441 -0
- package/cjs/stripe.core.js +475 -325
- package/cjs/stripe.core.js.map +1 -0
- package/cjs/utils.d.ts +74 -0
- package/cjs/utils.js +57 -130
- package/cjs/utils.js.map +1 -0
- package/esm/Decimal.d.ts +532 -0
- package/esm/Decimal.js +1 -0
- package/esm/Decimal.js.map +1 -0
- package/esm/Error.d.ts +163 -0
- package/esm/Error.js +2 -100
- package/esm/Error.js.map +1 -0
- package/esm/RequestSender.d.ts +59 -0
- package/esm/RequestSender.js +30 -39
- package/esm/RequestSender.js.map +1 -0
- package/esm/ResourceNamespace.d.ts +6 -0
- package/esm/ResourceNamespace.js +1 -0
- package/esm/ResourceNamespace.js.map +1 -0
- package/esm/StripeContext.d.ts +32 -0
- package/esm/StripeContext.js +1 -0
- package/esm/StripeContext.js.map +1 -0
- package/esm/StripeEmitter.d.ts +23 -0
- package/esm/StripeEmitter.js +1 -0
- package/esm/StripeEmitter.js.map +1 -0
- package/esm/StripeResource.d.ts +18 -0
- package/esm/StripeResource.js +64 -155
- package/esm/StripeResource.js.map +1 -0
- package/esm/Types.d.ts +188 -0
- package/esm/Types.js +7 -0
- package/esm/Types.js.map +1 -0
- package/esm/V2Coercion.d.ts +17 -0
- package/esm/V2Coercion.js +1 -0
- package/esm/V2Coercion.js.map +1 -0
- package/esm/Webhooks.d.ts +37 -0
- package/esm/Webhooks.js +10 -7
- package/esm/Webhooks.js.map +1 -0
- package/esm/apiVersion.d.ts +2 -0
- package/esm/apiVersion.js +3 -1
- package/esm/apiVersion.js.map +1 -0
- package/esm/autoPagination.d.ts +25 -0
- package/esm/autoPagination.js +37 -29
- package/esm/autoPagination.js.map +1 -0
- package/esm/crypto/CryptoProvider.d.ts +44 -0
- package/esm/crypto/CryptoProvider.js +5 -0
- package/esm/crypto/CryptoProvider.js.map +1 -0
- package/esm/crypto/NodeCryptoProvider.d.ts +12 -0
- package/esm/crypto/NodeCryptoProvider.js +1 -0
- package/esm/crypto/NodeCryptoProvider.js.map +1 -0
- package/esm/crypto/SubtleCryptoProvider.d.ts +16 -0
- package/esm/crypto/SubtleCryptoProvider.js +1 -0
- package/esm/crypto/SubtleCryptoProvider.js.map +1 -0
- package/esm/lib.d.ts +267 -0
- package/esm/lib.js +2 -0
- package/esm/lib.js.map +1 -0
- package/esm/multipart.d.ts +5 -0
- package/esm/multipart.js +1 -0
- package/esm/multipart.js.map +1 -0
- package/esm/net/FetchHttpClient.d.ts +27 -0
- package/esm/net/FetchHttpClient.js +5 -1
- package/esm/net/FetchHttpClient.js.map +1 -0
- package/esm/net/HttpClient.d.ts +63 -0
- package/esm/net/HttpClient.js +1 -0
- package/esm/net/HttpClient.js.map +1 -0
- package/esm/net/NodeHttpClient.d.ts +24 -0
- package/esm/net/NodeHttpClient.js +1 -0
- package/esm/net/NodeHttpClient.js.map +1 -0
- package/esm/platform/NodePlatformFunctions.d.ts +33 -0
- package/esm/platform/NodePlatformFunctions.js +1 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -0
- package/esm/platform/PlatformFunctions.d.ts +64 -0
- package/esm/platform/PlatformFunctions.js +1 -0
- package/esm/platform/PlatformFunctions.js.map +1 -0
- package/esm/platform/WebPlatformFunctions.d.ts +22 -0
- package/esm/platform/WebPlatformFunctions.js +1 -0
- package/esm/platform/WebPlatformFunctions.js.map +1 -0
- package/esm/resources/AccountLinks.d.ts +76 -0
- package/esm/resources/AccountLinks.js +9 -4
- package/esm/resources/AccountLinks.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +1015 -0
- package/esm/resources/AccountSessions.js +9 -4
- package/esm/resources/AccountSessions.js.map +1 -0
- package/esm/resources/Accounts.d.ts +5196 -0
- package/esm/resources/Accounts.js +172 -107
- package/esm/resources/Accounts.js.map +1 -0
- package/esm/resources/ApplePayDomains.d.ts +80 -0
- package/esm/resources/ApplePayDomains.js +29 -17
- package/esm/resources/ApplePayDomains.js.map +1 -0
- package/esm/resources/ApplicationFees.d.ts +181 -0
- package/esm/resources/ApplicationFees.js +53 -29
- package/esm/resources/ApplicationFees.js.map +1 -0
- package/esm/resources/Applications.d.ts +36 -0
- package/esm/resources/Applications.js +3 -0
- package/esm/resources/Applications.js.map +1 -0
- package/esm/resources/Apps/Secrets.d.ts +201 -0
- package/esm/resources/Apps/Secrets.js +29 -14
- package/esm/resources/Apps/Secrets.js.map +1 -0
- package/esm/resources/Apps/index.d.ts +15 -0
- package/esm/resources/Apps/index.js +9 -0
- package/esm/resources/Apps/index.js.map +1 -0
- package/esm/resources/Balance.d.ts +285 -0
- package/esm/resources/Balance.js +10 -4
- package/esm/resources/Balance.js.map +1 -0
- package/esm/resources/BalanceSettings.d.ts +164 -0
- package/esm/resources/BalanceSettings.js +17 -5
- package/esm/resources/BalanceSettings.js.map +1 -0
- package/esm/resources/BalanceTransactionSources.d.ts +15 -0
- package/esm/resources/BalanceTransactionSources.js +3 -0
- package/esm/resources/BalanceTransactionSources.js.map +1 -0
- package/esm/resources/BalanceTransactions.d.ts +142 -0
- package/esm/resources/BalanceTransactions.js +21 -12
- package/esm/resources/BalanceTransactions.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +182 -0
- package/esm/resources/BankAccounts.js +3 -0
- package/esm/resources/BankAccounts.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +27 -0
- package/esm/resources/Billing/AlertTriggereds.js +3 -0
- package/esm/resources/Billing/AlertTriggereds.js.map +1 -0
- package/esm/resources/Billing/Alerts.d.ts +193 -0
- package/esm/resources/Billing/Alerts.js +41 -22
- package/esm/resources/Billing/Alerts.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +142 -0
- package/esm/resources/Billing/CreditBalanceSummary.js +9 -7
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +183 -0
- package/esm/resources/Billing/CreditBalanceTransactions.js +17 -12
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -0
- package/esm/resources/Billing/CreditGrants.d.ts +300 -0
- package/esm/resources/Billing/CreditGrants.js +41 -25
- package/esm/resources/Billing/CreditGrants.js.map +1 -0
- package/esm/resources/Billing/MeterEventAdjustments.d.ts +73 -0
- package/esm/resources/Billing/MeterEventAdjustments.js +9 -7
- package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -0
- package/esm/resources/Billing/MeterEventSummaries.d.ts +30 -0
- package/esm/resources/Billing/MeterEventSummaries.js +3 -0
- package/esm/resources/Billing/MeterEventSummaries.js.map +1 -0
- package/esm/resources/Billing/MeterEvents.d.ts +66 -0
- package/esm/resources/Billing/MeterEvents.js +9 -4
- package/esm/resources/Billing/MeterEvents.js.map +1 -0
- package/esm/resources/Billing/Meters.d.ts +251 -0
- package/esm/resources/Billing/Meters.js +49 -24
- package/esm/resources/Billing/Meters.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +65 -0
- package/esm/resources/Billing/index.js +21 -0
- package/esm/resources/Billing/index.js.map +1 -0
- package/esm/resources/BillingPortal/Configurations.d.ts +728 -0
- package/esm/resources/BillingPortal/Configurations.js +29 -20
- package/esm/resources/BillingPortal/Configurations.js.map +1 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +360 -0
- package/esm/resources/BillingPortal/Sessions.js +9 -7
- package/esm/resources/BillingPortal/Sessions.js.map +1 -0
- package/esm/resources/BillingPortal/index.d.ts +20 -0
- package/esm/resources/BillingPortal/index.js +11 -0
- package/esm/resources/BillingPortal/index.js.map +1 -0
- package/esm/resources/Capabilities.d.ts +160 -0
- package/esm/resources/Capabilities.js +3 -0
- package/esm/resources/Capabilities.js.map +1 -0
- package/esm/resources/Cards.d.ts +170 -0
- package/esm/resources/Cards.js +3 -0
- package/esm/resources/Cards.js.map +1 -0
- package/esm/resources/CashBalances.d.ts +40 -0
- package/esm/resources/CashBalances.js +3 -0
- package/esm/resources/CashBalances.js.map +1 -0
- package/esm/resources/Charges.d.ts +2287 -0
- package/esm/resources/Charges.js +52 -20
- package/esm/resources/Charges.js.map +1 -0
- package/esm/resources/Checkout/Sessions.d.ts +4888 -0
- package/esm/resources/Checkout/Sessions.js +440 -406
- package/esm/resources/Checkout/Sessions.js.map +1 -0
- package/esm/resources/Checkout/index.d.ts +17 -0
- package/esm/resources/Checkout/index.js +9 -0
- package/esm/resources/Checkout/index.js.map +1 -0
- package/esm/resources/Climate/Orders.d.ts +265 -0
- package/esm/resources/Climate/Orders.js +73 -53
- package/esm/resources/Climate/Orders.js.map +1 -0
- package/esm/resources/Climate/Products.d.ts +90 -0
- package/esm/resources/Climate/Products.js +31 -25
- package/esm/resources/Climate/Products.js.map +1 -0
- package/esm/resources/Climate/Suppliers.d.ts +86 -0
- package/esm/resources/Climate/Suppliers.js +17 -12
- package/esm/resources/Climate/Suppliers.js.map +1 -0
- package/esm/resources/Climate/index.d.ts +28 -0
- package/esm/resources/Climate/index.js +13 -0
- package/esm/resources/Climate/index.js.map +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +1212 -0
- package/esm/resources/ConfirmationTokens.js +9 -7
- package/esm/resources/ConfirmationTokens.js.map +1 -0
- package/esm/resources/ConnectCollectionTransfers.d.ts +27 -0
- package/esm/resources/ConnectCollectionTransfers.js +3 -0
- package/esm/resources/ConnectCollectionTransfers.js.map +1 -0
- package/esm/resources/CountrySpecs.d.ts +86 -0
- package/esm/resources/CountrySpecs.js +17 -12
- package/esm/resources/CountrySpecs.js.map +1 -0
- package/esm/resources/Coupons.d.ts +246 -0
- package/esm/resources/Coupons.js +37 -12
- package/esm/resources/Coupons.js.map +1 -0
- package/esm/resources/CreditNoteLineItems.d.ts +140 -0
- package/esm/resources/CreditNoteLineItems.js +3 -0
- package/esm/resources/CreditNoteLineItems.js.map +1 -0
- package/esm/resources/CreditNotes.d.ts +873 -0
- package/esm/resources/CreditNotes.js +223 -201
- package/esm/resources/CreditNotes.js.map +1 -0
- package/esm/resources/CustomerBalanceTransactions.d.ts +70 -0
- package/esm/resources/CustomerBalanceTransactions.js +3 -0
- package/esm/resources/CustomerBalanceTransactions.js.map +1 -0
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +166 -0
- package/esm/resources/CustomerCashBalanceTransactions.js +3 -0
- package/esm/resources/CustomerCashBalanceTransactions.js.map +1 -0
- package/esm/resources/CustomerSessions.d.ts +403 -0
- package/esm/resources/CustomerSessions.js +9 -4
- package/esm/resources/CustomerSessions.js.map +1 -0
- package/esm/resources/CustomerSources.d.ts +6 -0
- package/esm/resources/CustomerSources.js +3 -0
- package/esm/resources/CustomerSources.js.map +1 -0
- package/esm/resources/Customers.d.ts +1115 -0
- package/esm/resources/Customers.js +541 -474
- package/esm/resources/Customers.js.map +1 -0
- package/esm/resources/Discounts.d.ts +133 -0
- package/esm/resources/Discounts.js +3 -0
- package/esm/resources/Discounts.js.map +1 -0
- package/esm/resources/Disputes.d.ts +682 -0
- package/esm/resources/Disputes.js +33 -14
- package/esm/resources/Disputes.js.map +1 -0
- package/esm/resources/Entitlements/ActiveEntitlementSummaries.d.ts +20 -0
- package/esm/resources/Entitlements/ActiveEntitlementSummaries.js +3 -0
- package/esm/resources/Entitlements/ActiveEntitlementSummaries.js.map +1 -0
- package/esm/resources/Entitlements/ActiveEntitlements.d.ts +56 -0
- package/esm/resources/Entitlements/ActiveEntitlements.js +17 -12
- package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -0
- package/esm/resources/Entitlements/Features.d.ts +115 -0
- package/esm/resources/Entitlements/Features.js +29 -17
- package/esm/resources/Entitlements/Features.js.map +1 -0
- package/esm/resources/Entitlements/index.d.ts +24 -0
- package/esm/resources/Entitlements/index.js +11 -0
- package/esm/resources/Entitlements/index.js.map +1 -0
- package/esm/resources/EphemeralKeys.d.ts +63 -0
- package/esm/resources/EphemeralKeys.js +18 -13
- package/esm/resources/EphemeralKeys.js.map +1 -0
- package/esm/resources/Events.d.ts +3554 -0
- package/esm/resources/Events.js +17 -9
- package/esm/resources/Events.js.map +1 -0
- package/esm/resources/ExchangeRates.d.ts +47 -0
- package/esm/resources/ExchangeRates.js +23 -12
- package/esm/resources/ExchangeRates.js.map +1 -0
- package/esm/resources/ExternalAccounts.d.ts +4 -0
- package/esm/resources/ExternalAccounts.js +2 -19
- package/esm/resources/ExternalAccounts.js.map +1 -0
- package/esm/resources/FeeRefunds.d.ts +37 -0
- package/esm/resources/FeeRefunds.js +3 -0
- package/esm/resources/FeeRefunds.js.map +1 -0
- package/esm/resources/FileLinks.d.ts +116 -0
- package/esm/resources/FileLinks.js +29 -11
- package/esm/resources/FileLinks.js.map +1 -0
- package/esm/resources/Files.d.ts +127 -0
- package/esm/resources/Files.js +30 -19
- package/esm/resources/Files.js.map +1 -0
- package/esm/resources/FinancialConnections/AccountOwners.d.ts +34 -0
- package/esm/resources/FinancialConnections/AccountOwners.js +3 -0
- package/esm/resources/FinancialConnections/AccountOwners.js.map +1 -0
- package/esm/resources/FinancialConnections/AccountOwnerships.d.ts +20 -0
- package/esm/resources/FinancialConnections/AccountOwnerships.js +3 -0
- package/esm/resources/FinancialConnections/AccountOwnerships.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +383 -0
- package/esm/resources/FinancialConnections/Accounts.js +49 -38
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +166 -0
- package/esm/resources/FinancialConnections/Sessions.js +15 -11
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -0
- package/esm/resources/FinancialConnections/Transactions.d.ts +111 -0
- package/esm/resources/FinancialConnections/Transactions.js +17 -12
- package/esm/resources/FinancialConnections/Transactions.js.map +1 -0
- package/esm/resources/FinancialConnections/index.d.ts +36 -0
- package/esm/resources/FinancialConnections/index.js +13 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -0
- package/esm/resources/Forwarding/Requests.d.ts +203 -0
- package/esm/resources/Forwarding/Requests.js +23 -13
- package/esm/resources/Forwarding/Requests.js.map +1 -0
- package/esm/resources/Forwarding/index.d.ts +14 -0
- package/esm/resources/Forwarding/index.js +9 -0
- package/esm/resources/Forwarding/index.js.map +1 -0
- package/esm/resources/FundingInstructions.d.ts +213 -0
- package/esm/resources/FundingInstructions.js +3 -0
- package/esm/resources/FundingInstructions.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +414 -0
- package/esm/resources/Identity/VerificationReports.js +17 -12
- package/esm/resources/Identity/VerificationReports.js.map +1 -0
- package/esm/resources/Identity/VerificationSessions.d.ts +532 -0
- package/esm/resources/Identity/VerificationSessions.js +73 -28
- package/esm/resources/Identity/VerificationSessions.js.map +1 -0
- package/esm/resources/Identity/index.d.ts +23 -0
- package/esm/resources/Identity/index.js +11 -0
- package/esm/resources/Identity/index.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +506 -0
- package/esm/resources/InvoiceItems.js +117 -103
- package/esm/resources/InvoiceItems.js.map +1 -0
- package/esm/resources/InvoiceLineItems.d.ts +280 -0
- package/esm/resources/InvoiceLineItems.js +3 -0
- package/esm/resources/InvoiceLineItems.js.map +1 -0
- package/esm/resources/InvoicePayments.d.ts +142 -0
- package/esm/resources/InvoicePayments.js +17 -12
- package/esm/resources/InvoicePayments.js.map +1 -0
- package/esm/resources/InvoiceRenderingTemplates.d.ts +87 -0
- package/esm/resources/InvoiceRenderingTemplates.js +29 -20
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -0
- package/esm/resources/Invoices.d.ts +4024 -0
- package/esm/resources/Invoices.js +658 -634
- package/esm/resources/Invoices.js.map +1 -0
- package/esm/resources/Issuing/Authorizations.d.ts +606 -0
- package/esm/resources/Issuing/Authorizations.js +671 -644
- package/esm/resources/Issuing/Authorizations.js.map +1 -0
- package/esm/resources/Issuing/Cardholders.d.ts +718 -0
- package/esm/resources/Issuing/Cardholders.js +29 -17
- package/esm/resources/Issuing/Cardholders.js.map +1 -0
- package/esm/resources/Issuing/Cards.d.ts +764 -0
- package/esm/resources/Issuing/Cards.js +29 -11
- package/esm/resources/Issuing/Cards.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +862 -0
- package/esm/resources/Issuing/Disputes.js +35 -21
- package/esm/resources/Issuing/Disputes.js.map +1 -0
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +291 -0
- package/esm/resources/Issuing/PersonalizationDesigns.js +29 -20
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -0
- package/esm/resources/Issuing/PhysicalBundles.d.ts +93 -0
- package/esm/resources/Issuing/PhysicalBundles.js +17 -12
- package/esm/resources/Issuing/PhysicalBundles.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +250 -0
- package/esm/resources/Issuing/Tokens.js +23 -16
- package/esm/resources/Issuing/Tokens.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +451 -0
- package/esm/resources/Issuing/Transactions.js +219 -210
- package/esm/resources/Issuing/Transactions.js.map +1 -0
- package/esm/resources/Issuing/index.d.ts +69 -0
- package/esm/resources/Issuing/index.js +23 -0
- package/esm/resources/Issuing/index.js.map +1 -0
- package/esm/resources/LineItems.d.ts +101 -0
- package/esm/resources/LineItems.js +3 -0
- package/esm/resources/LineItems.js.map +1 -0
- package/esm/resources/LoginLinks.d.ts +14 -0
- package/esm/resources/LoginLinks.js +3 -0
- package/esm/resources/LoginLinks.js.map +1 -0
- package/esm/resources/Mandates.d.ts +279 -0
- package/esm/resources/Mandates.js +9 -9
- package/esm/resources/Mandates.js.map +1 -0
- package/esm/resources/OAuth.d.ts +280 -0
- package/esm/resources/OAuth.js +23 -22
- package/esm/resources/OAuth.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +1809 -0
- package/esm/resources/PaymentAttemptRecords.js +17 -12
- package/esm/resources/PaymentAttemptRecords.js.map +1 -0
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +93 -0
- package/esm/resources/PaymentIntentAmountDetailsLineItems.js +3 -0
- package/esm/resources/PaymentIntentAmountDetailsLineItems.js.map +1 -0
- package/esm/resources/PaymentIntents.d.ts +11040 -0
- package/esm/resources/PaymentIntents.js +163 -59
- package/esm/resources/PaymentIntents.js.map +1 -0
- package/esm/resources/PaymentLinks.d.ts +2041 -0
- package/esm/resources/PaymentLinks.js +326 -311
- package/esm/resources/PaymentLinks.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +4039 -0
- package/esm/resources/PaymentMethodConfigurations.js +29 -20
- package/esm/resources/PaymentMethodConfigurations.js.map +1 -0
- package/esm/resources/PaymentMethodDomains.d.ts +246 -0
- package/esm/resources/PaymentMethodDomains.js +40 -24
- package/esm/resources/PaymentMethodDomains.js.map +1 -0
- package/esm/resources/PaymentMethods.d.ts +1920 -0
- package/esm/resources/PaymentMethods.js +55 -25
- package/esm/resources/PaymentMethods.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +2279 -0
- package/esm/resources/PaymentRecords.js +58 -32
- package/esm/resources/PaymentRecords.js.map +1 -0
- package/esm/resources/Payouts.d.ts +262 -0
- package/esm/resources/Payouts.js +47 -19
- package/esm/resources/Payouts.js.map +1 -0
- package/esm/resources/Persons.d.ts +474 -0
- package/esm/resources/Persons.js +3 -0
- package/esm/resources/Persons.js.map +1 -0
- package/esm/resources/Plans.d.ts +363 -0
- package/esm/resources/Plans.js +128 -111
- package/esm/resources/Plans.js.map +1 -0
- package/esm/resources/Prices.d.ts +721 -0
- package/esm/resources/Prices.js +294 -276
- package/esm/resources/Prices.js.map +1 -0
- package/esm/resources/ProductFeatures.d.ts +38 -0
- package/esm/resources/ProductFeatures.js +3 -0
- package/esm/resources/ProductFeatures.js.map +1 -0
- package/esm/resources/Products.d.ts +575 -0
- package/esm/resources/Products.js +94 -58
- package/esm/resources/Products.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +271 -0
- package/esm/resources/PromotionCodes.js +29 -45
- package/esm/resources/PromotionCodes.js.map +1 -0
- package/esm/resources/Quotes.d.ts +1202 -0
- package/esm/resources/Quotes.js +597 -1690
- package/esm/resources/Quotes.js.map +1 -0
- package/esm/resources/Radar/EarlyFraudWarnings.d.ts +79 -0
- package/esm/resources/Radar/EarlyFraudWarnings.js +19 -12
- package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +581 -0
- package/esm/resources/Radar/PaymentEvaluations.js +9 -7
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -0
- package/esm/resources/Radar/ValueListItems.d.ts +119 -0
- package/esm/resources/Radar/ValueListItems.js +29 -20
- package/esm/resources/Radar/ValueListItems.js.map +1 -0
- package/esm/resources/Radar/ValueLists.d.ts +170 -0
- package/esm/resources/Radar/ValueLists.js +35 -21
- package/esm/resources/Radar/ValueLists.js.map +1 -0
- package/esm/resources/Radar/index.d.ts +35 -0
- package/esm/resources/Radar/index.js +15 -0
- package/esm/resources/Radar/index.js.map +1 -0
- package/esm/resources/Refunds.d.ts +502 -0
- package/esm/resources/Refunds.js +49 -15
- package/esm/resources/Refunds.js.map +1 -0
- package/esm/resources/Reporting/ReportRuns.d.ts +176 -0
- package/esm/resources/Reporting/ReportRuns.js +23 -13
- package/esm/resources/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/Reporting/ReportTypes.d.ts +66 -0
- package/esm/resources/Reporting/ReportTypes.js +17 -12
- package/esm/resources/Reporting/ReportTypes.js.map +1 -0
- package/esm/resources/Reporting/index.d.ts +20 -0
- package/esm/resources/Reporting/index.js +11 -0
- package/esm/resources/Reporting/index.js.map +1 -0
- package/esm/resources/Reserve/Holds.d.ts +79 -0
- package/esm/resources/Reserve/Holds.js +2 -10
- package/esm/resources/Reserve/Holds.js.map +1 -0
- package/esm/resources/Reserve/Plans.d.ts +76 -0
- package/esm/resources/Reserve/Plans.js +2 -5
- package/esm/resources/Reserve/Plans.js.map +1 -0
- package/esm/resources/Reserve/Releases.d.ts +79 -0
- package/esm/resources/Reserve/Releases.js +2 -13
- package/esm/resources/Reserve/Releases.js.map +1 -0
- package/esm/resources/Reserve/index.d.ts +13 -0
- package/esm/resources/Reserve/index.js +5 -0
- package/esm/resources/Reserve/index.js.map +1 -0
- package/esm/resources/ReserveTransactions.d.ts +19 -0
- package/esm/resources/ReserveTransactions.js +3 -0
- package/esm/resources/ReserveTransactions.js.map +1 -0
- package/esm/resources/Reviews.d.ts +143 -0
- package/esm/resources/Reviews.js +23 -13
- package/esm/resources/Reviews.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +535 -0
- package/esm/resources/SetupAttempts.js +11 -8
- package/esm/resources/SetupAttempts.js.map +1 -0
- package/esm/resources/SetupIntents.d.ts +4266 -0
- package/esm/resources/SetupIntents.js +69 -29
- package/esm/resources/SetupIntents.js.map +1 -0
- package/esm/resources/ShippingRates.d.ts +319 -0
- package/esm/resources/ShippingRates.js +29 -17
- package/esm/resources/ShippingRates.js.map +1 -0
- package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +83 -0
- package/esm/resources/Sigma/ScheduledQueryRuns.js +17 -12
- package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -0
- package/esm/resources/Sigma/index.d.ts +13 -0
- package/esm/resources/Sigma/index.js +9 -0
- package/esm/resources/Sigma/index.js.map +1 -0
- package/esm/resources/SourceMandateNotifications.d.ts +79 -0
- package/esm/resources/SourceMandateNotifications.js +3 -0
- package/esm/resources/SourceMandateNotifications.js.map +1 -0
- package/esm/resources/SourceTransactions.d.ts +140 -0
- package/esm/resources/SourceTransactions.js +3 -0
- package/esm/resources/SourceTransactions.js.map +1 -0
- package/esm/resources/Sources.d.ts +918 -0
- package/esm/resources/Sources.js +37 -15
- package/esm/resources/Sources.js.map +1 -0
- package/esm/resources/SubscriptionItems.d.ts +417 -0
- package/esm/resources/SubscriptionItems.js +328 -305
- package/esm/resources/SubscriptionItems.js.map +1 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1777 -0
- package/esm/resources/SubscriptionSchedules.js +103 -126
- package/esm/resources/SubscriptionSchedules.js.map +1 -0
- package/esm/resources/Subscriptions.d.ts +2313 -0
- package/esm/resources/Subscriptions.js +747 -717
- package/esm/resources/Subscriptions.js.map +1 -0
- package/esm/resources/Tax/Associations.d.ts +75 -0
- package/esm/resources/Tax/Associations.js +9 -4
- package/esm/resources/Tax/Associations.js.map +1 -0
- package/esm/resources/Tax/CalculationLineItems.d.ts +121 -0
- package/esm/resources/Tax/CalculationLineItems.js +3 -0
- package/esm/resources/Tax/CalculationLineItems.js.map +1 -0
- package/esm/resources/Tax/Calculations.d.ts +487 -0
- package/esm/resources/Tax/Calculations.js +23 -13
- package/esm/resources/Tax/Calculations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +3300 -0
- package/esm/resources/Tax/Registrations.js +31 -17
- package/esm/resources/Tax/Registrations.js.map +1 -0
- package/esm/resources/Tax/Settings.d.ts +118 -0
- package/esm/resources/Tax/Settings.js +15 -5
- package/esm/resources/Tax/Settings.js.map +1 -0
- package/esm/resources/Tax/TransactionLineItems.d.ts +67 -0
- package/esm/resources/Tax/TransactionLineItems.js +3 -0
- package/esm/resources/Tax/TransactionLineItems.js.map +1 -0
- package/esm/resources/Tax/Transactions.d.ts +347 -0
- package/esm/resources/Tax/Transactions.js +29 -20
- package/esm/resources/Tax/Transactions.js.map +1 -0
- package/esm/resources/Tax/index.d.ts +47 -0
- package/esm/resources/Tax/index.js +17 -0
- package/esm/resources/Tax/index.js.map +1 -0
- package/esm/resources/TaxCodes.d.ts +43 -0
- package/esm/resources/TaxCodes.js +17 -9
- package/esm/resources/TaxCodes.js.map +1 -0
- package/esm/resources/TaxDeductedAtSources.d.ts +22 -0
- package/esm/resources/TaxDeductedAtSources.js +3 -0
- package/esm/resources/TaxDeductedAtSources.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +216 -0
- package/esm/resources/TaxIds.js +29 -11
- package/esm/resources/TaxIds.js.map +1 -0
- package/esm/resources/TaxRates.d.ts +226 -0
- package/esm/resources/TaxRates.js +29 -11
- package/esm/resources/TaxRates.js.map +1 -0
- package/esm/resources/Terminal/Configurations.d.ts +1655 -0
- package/esm/resources/Terminal/Configurations.js +35 -24
- package/esm/resources/Terminal/Configurations.js.map +1 -0
- package/esm/resources/Terminal/ConnectionTokens.d.ts +34 -0
- package/esm/resources/Terminal/ConnectionTokens.js +9 -7
- package/esm/resources/Terminal/ConnectionTokens.js.map +1 -0
- package/esm/resources/Terminal/Locations.d.ts +285 -0
- package/esm/resources/Terminal/Locations.js +36 -21
- package/esm/resources/Terminal/Locations.js.map +1 -0
- package/esm/resources/Terminal/OnboardingLinks.d.ts +89 -0
- package/esm/resources/Terminal/OnboardingLinks.js +9 -7
- package/esm/resources/Terminal/OnboardingLinks.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +1013 -0
- package/esm/resources/Terminal/Readers.js +83 -53
- package/esm/resources/Terminal/Readers.js.map +1 -0
- package/esm/resources/Terminal/index.d.ts +52 -0
- package/esm/resources/Terminal/index.js +17 -0
- package/esm/resources/Terminal/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +651 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.js +9 -7
- package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -0
- package/esm/resources/TestHelpers/Customers.d.ts +29 -0
- package/esm/resources/TestHelpers/Customers.js +9 -7
- package/esm/resources/TestHelpers/Customers.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +806 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +978 -953
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Cards.d.ts +75 -0
- package/esm/resources/TestHelpers/Issuing/Cards.js +33 -23
- package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +67 -0
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +21 -15
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +582 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js +289 -272
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +14 -0
- package/esm/resources/TestHelpers/Issuing/index.js +15 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -0
- package/esm/resources/TestHelpers/Refunds.d.ts +17 -0
- package/esm/resources/TestHelpers/Refunds.js +9 -7
- package/esm/resources/TestHelpers/Refunds.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +107 -0
- package/esm/resources/TestHelpers/Terminal/Readers.js +21 -15
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Terminal/index.js +9 -0
- package/esm/resources/TestHelpers/Terminal/index.js.map +1 -0
- package/esm/resources/TestHelpers/TestClocks.d.ts +142 -0
- package/esm/resources/TestHelpers/TestClocks.js +35 -24
- package/esm/resources/TestHelpers/TestClocks.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +62 -0
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +21 -15
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +119 -0
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +27 -19
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +119 -0
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +27 -19
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +72 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js +9 -7
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +71 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.js +9 -7
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/index.d.ts +16 -0
- package/esm/resources/TestHelpers/Treasury/index.js +17 -0
- package/esm/resources/TestHelpers/Treasury/index.js.map +1 -0
- package/esm/resources/TestHelpers/index.d.ts +31 -0
- package/esm/resources/TestHelpers/index.js +21 -0
- package/esm/resources/TestHelpers/index.js.map +1 -0
- package/esm/resources/Tokens.d.ts +874 -0
- package/esm/resources/Tokens.js +16 -5
- package/esm/resources/Tokens.js.map +1 -0
- package/esm/resources/Topups.d.ts +177 -0
- package/esm/resources/Topups.js +35 -12
- package/esm/resources/Topups.js.map +1 -0
- package/esm/resources/TransferReversals.d.ts +46 -0
- package/esm/resources/TransferReversals.js +3 -0
- package/esm/resources/TransferReversals.js.map +1 -0
- package/esm/resources/Transfers.d.ts +242 -0
- package/esm/resources/Transfers.js +63 -28
- package/esm/resources/Transfers.js.map +1 -0
- package/esm/resources/Treasury/CreditReversals.d.ts +132 -0
- package/esm/resources/Treasury/CreditReversals.js +23 -16
- package/esm/resources/Treasury/CreditReversals.js.map +1 -0
- package/esm/resources/Treasury/DebitReversals.d.ts +147 -0
- package/esm/resources/Treasury/DebitReversals.js +23 -16
- package/esm/resources/Treasury/DebitReversals.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +402 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.js +3 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +756 -0
- package/esm/resources/Treasury/FinancialAccounts.js +47 -32
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -0
- package/esm/resources/Treasury/InboundTransfers.d.ts +263 -0
- package/esm/resources/Treasury/InboundTransfers.js +29 -20
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -0
- package/esm/resources/Treasury/OutboundPayments.d.ts +452 -0
- package/esm/resources/Treasury/OutboundPayments.js +29 -20
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +346 -0
- package/esm/resources/Treasury/OutboundTransfers.js +29 -20
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +261 -0
- package/esm/resources/Treasury/ReceivedCredits.js +17 -12
- package/esm/resources/Treasury/ReceivedCredits.js.map +1 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +202 -0
- package/esm/resources/Treasury/ReceivedDebits.js +17 -12
- package/esm/resources/Treasury/ReceivedDebits.js.map +1 -0
- package/esm/resources/Treasury/TransactionEntries.d.ts +187 -0
- package/esm/resources/Treasury/TransactionEntries.js +313 -305
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -0
- package/esm/resources/Treasury/Transactions.d.ts +212 -0
- package/esm/resources/Treasury/Transactions.js +347 -341
- package/esm/resources/Treasury/Transactions.js.map +1 -0
- package/esm/resources/Treasury/index.d.ts +83 -0
- package/esm/resources/Treasury/index.js +27 -0
- package/esm/resources/Treasury/index.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +81 -0
- package/esm/resources/V2/Billing/MeterEventAdjustments.js +9 -7
- package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventSession.d.ts +41 -0
- package/esm/resources/V2/Billing/MeterEventSession.js +9 -7
- package/esm/resources/V2/Billing/MeterEventSession.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventStream.d.ts +48 -0
- package/esm/resources/V2/Billing/MeterEventStream.js +12 -8
- package/esm/resources/V2/Billing/MeterEventStream.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEvents.d.ts +75 -0
- package/esm/resources/V2/Billing/MeterEvents.js +9 -4
- package/esm/resources/V2/Billing/MeterEvents.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +24 -0
- package/esm/resources/V2/Billing/index.js +15 -0
- package/esm/resources/V2/Billing/index.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +235 -0
- package/esm/resources/V2/Core/AccountLinks.js +10 -4
- package/esm/resources/V2/Core/AccountLinks.js.map +1 -0
- package/esm/resources/V2/Core/AccountPersonTokens.d.ts +26 -0
- package/esm/resources/V2/Core/AccountPersonTokens.js +3 -0
- package/esm/resources/V2/Core/AccountPersonTokens.js.map +1 -0
- package/esm/resources/V2/Core/AccountPersons.d.ts +473 -0
- package/esm/resources/V2/Core/AccountPersons.js +3 -0
- package/esm/resources/V2/Core/AccountPersons.js.map +1 -0
- package/esm/resources/V2/Core/AccountTokens.d.ts +778 -0
- package/esm/resources/V2/Core/AccountTokens.js +31 -24
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -0
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +378 -0
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +25 -18
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -0
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +884 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +91 -72
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -0
- package/esm/resources/V2/Core/Accounts.d.ts +6951 -0
- package/esm/resources/V2/Core/Accounts.js +142 -121
- package/esm/resources/V2/Core/Accounts.js.map +1 -0
- package/esm/resources/V2/Core/EventDestinations.d.ts +327 -0
- package/esm/resources/V2/Core/EventDestinations.js +53 -36
- package/esm/resources/V2/Core/EventDestinations.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +650 -0
- package/esm/resources/V2/Core/Events.js +29 -38
- package/esm/resources/V2/Core/Events.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +51 -0
- package/esm/resources/V2/Core/index.js +17 -0
- package/esm/resources/V2/Core/index.js.map +1 -0
- package/esm/resources/V2/DeletedObject.d.ts +10 -0
- package/esm/resources/V2/DeletedObject.js +3 -0
- package/esm/resources/V2/DeletedObject.js.map +1 -0
- package/esm/resources/V2/V2Amounts.d.ts +4 -0
- package/esm/resources/V2/V2Amounts.js +2 -0
- package/esm/resources/V2/V2Amounts.js.map +1 -0
- package/esm/resources/V2/index.d.ts +16 -0
- package/esm/resources/V2/index.js +11 -0
- package/esm/resources/V2/index.js.map +1 -0
- package/esm/resources/WebhookEndpoints.d.ts +170 -0
- package/esm/resources/WebhookEndpoints.js +35 -21
- package/esm/resources/WebhookEndpoints.js.map +1 -0
- package/esm/resources.d.ts +76 -0
- package/esm/resources.js +139 -236
- package/esm/resources.js.map +1 -0
- package/esm/shared.d.ts +152 -0
- package/esm/shared.js +2 -0
- package/esm/shared.js.map +1 -0
- package/esm/stripe.core.d.ts +441 -0
- package/esm/stripe.core.js +473 -324
- package/esm/stripe.core.js.map +1 -0
- package/esm/stripe.esm.node.d.ts +441 -0
- package/esm/stripe.esm.node.js +566 -3
- package/esm/stripe.esm.node.js.map +1 -0
- package/esm/stripe.esm.worker.d.ts +3 -0
- package/esm/stripe.esm.worker.js +4 -2
- package/esm/stripe.esm.worker.js.map +1 -0
- package/esm/utils.d.ts +74 -0
- package/esm/utils.js +54 -125
- package/esm/utils.js.map +1 -0
- package/package.json +9 -5
- package/cjs/StripeEventNotificationHandler.js +0 -132
- package/cjs/StripeMethod.js +0 -36
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -12
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -441
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -12
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Tax/Locations.js +0 -18
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -182
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -63
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -152
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Core/BatchJobs.js +0 -215
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/StripeEventNotificationHandler.js +0 -128
- package/esm/StripeMethod.js +0 -32
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Authorizations.js +0 -9
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -438
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -9
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Tax/Locations.js +0 -15
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -179
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -60
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -149
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Core/BatchJobs.js +0 -212
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/.eslintrc.js +0 -22
- package/types/AccountLinks.d.ts +0 -33
- package/types/AccountLinksResource.d.ts +0 -82
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/AccountSessions.d.ts +0 -623
- package/types/AccountSessionsResource.d.ts +0 -941
- package/types/Accounts.d.ts +0 -2018
- package/types/AccountsResource.d.ts +0 -6057
- package/types/ApplePayDomains.d.ts +0 -57
- package/types/ApplePayDomainsResource.d.ts +0 -77
- package/types/ApplicationFees.d.ts +0 -108
- package/types/ApplicationFeesResource.d.ts +0 -162
- package/types/Applications.d.ts +0 -55
- package/types/Apps/Secrets.d.ts +0 -80
- package/types/Apps/SecretsResource.d.ts +0 -186
- package/types/Balance.d.ts +0 -425
- package/types/BalanceResource.d.ts +0 -26
- package/types/BalanceSettings.d.ts +0 -103
- package/types/BalanceSettingsResource.d.ts +0 -124
- package/types/BalanceTransactionSources.d.ts +0 -23
- package/types/BalanceTransactions.d.ts +0 -176
- package/types/BalanceTransactionsResource.d.ts +0 -72
- package/types/BankAccounts.d.ts +0 -435
- package/types/Billing/AlertTriggereds.d.ts +0 -42
- package/types/Billing/Alerts.d.ts +0 -84
- package/types/Billing/AlertsResource.d.ts +0 -183
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Billing/CreditBalanceSummary.d.ts +0 -99
- package/types/Billing/CreditBalanceSummaryResource.d.ts +0 -83
- package/types/Billing/CreditBalanceTransactions.d.ts +0 -178
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +0 -62
- package/types/Billing/CreditGrants.d.ts +0 -150
- package/types/Billing/CreditGrantsResource.d.ts +0 -248
- package/types/Billing/MeterEventAdjustments.d.ts +0 -53
- package/types/Billing/MeterEventAdjustmentsResource.d.ts +0 -48
- package/types/Billing/MeterEventSummaries.d.ts +0 -50
- package/types/Billing/MeterEvents.d.ts +0 -49
- package/types/Billing/MeterEventsResource.d.ts +0 -46
- package/types/Billing/Meters.d.ts +0 -110
- package/types/Billing/MetersResource.d.ts +0 -234
- package/types/BillingPortal/Configurations.d.ts +0 -319
- package/types/BillingPortal/ConfigurationsResource.d.ts +0 -679
- package/types/BillingPortal/Sessions.d.ts +0 -293
- package/types/BillingPortal/SessionsResource.d.ts +0 -273
- package/types/Capabilities.d.ts +0 -424
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -109
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/Cards.d.ts +0 -230
- package/types/CashBalances.d.ts +0 -57
- package/types/Charges.d.ts +0 -2789
- package/types/ChargesResource.d.ts +0 -4202
- package/types/Checkout/Sessions.d.ts +0 -3169
- package/types/Checkout/SessionsResource.d.ts +0 -4460
- package/types/Climate/Orders.d.ts +0 -197
- package/types/Climate/OrdersResource.d.ts +0 -159
- package/types/Climate/Products.d.ts +0 -81
- package/types/Climate/ProductsResource.d.ts +0 -45
- package/types/Climate/Suppliers.d.ts +0 -82
- package/types/Climate/SuppliersResource.d.ts +0 -45
- package/types/ConfirmationTokens.d.ts +0 -1849
- package/types/ConfirmationTokensResource.d.ts +0 -27
- package/types/ConnectCollectionTransfers.d.ts +0 -40
- package/types/CountrySpecs.d.ts +0 -88
- package/types/CountrySpecsResource.d.ts +0 -43
- package/types/Coupons.d.ts +0 -174
- package/types/CouponsResource.d.ts +0 -226
- package/types/CreditNoteLineItems.d.ts +0 -212
- package/types/CreditNotes.d.ts +0 -408
- package/types/CreditNotesResource.d.ts +0 -773
- package/types/CustomerBalanceTransactions.d.ts +0 -106
- package/types/CustomerCashBalanceTransactions.d.ts +0 -230
- package/types/CustomerSessions.d.ts +0 -324
- package/types/CustomerSessionsResource.d.ts +0 -304
- package/types/CustomerSources.d.ts +0 -9
- package/types/Customers.d.ts +0 -326
- package/types/CustomersResource.d.ts +0 -1570
- package/types/Discounts.d.ts +0 -175
- package/types/Disputes.d.ts +0 -559
- package/types/DisputesResource.d.ts +0 -395
- package/types/Entitlements/ActiveEntitlementSummaries.d.ts +0 -32
- package/types/Entitlements/ActiveEntitlements.d.ts +0 -37
- package/types/Entitlements/ActiveEntitlementsResource.d.ts +0 -49
- package/types/Entitlements/Features.d.ts +0 -48
- package/types/Entitlements/FeaturesResource.d.ts +0 -118
- package/types/EphemeralKeys.d.ts +0 -40
- package/types/EphemeralKeysResource.d.ts +0 -65
- package/types/Errors.d.ts +0 -441
- package/types/EventTypes.d.ts +0 -5090
- package/types/Events.d.ts +0 -471
- package/types/EventsResource.d.ts +0 -63
- package/types/ExchangeRates.d.ts +0 -54
- package/types/ExchangeRatesResource.d.ts +0 -49
- package/types/ExternalAccounts.d.ts +0 -9
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FeeRefunds.d.ts +0 -54
- package/types/FileLinks.d.ts +0 -57
- package/types/FileLinksResource.d.ts +0 -114
- package/types/Files.d.ts +0 -96
- package/types/FilesResource.d.ts +0 -146
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/AccountOwners.d.ts +0 -52
- package/types/FinancialConnections/AccountOwnerships.d.ts +0 -32
- package/types/FinancialConnections/Accounts.d.ts +0 -394
- package/types/FinancialConnections/AccountsResource.d.ts +0 -216
- package/types/FinancialConnections/Authorizations.d.ts +0 -93
- package/types/FinancialConnections/AuthorizationsResource.d.ts +0 -29
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FinancialConnections/Sessions.d.ts +0 -231
- package/types/FinancialConnections/SessionsResource.d.ts +0 -205
- package/types/FinancialConnections/Transactions.d.ts +0 -85
- package/types/FinancialConnections/TransactionsResource.d.ts +0 -68
- package/types/Forwarding/Requests.d.ts +0 -165
- package/types/Forwarding/RequestsResource.d.ts +0 -127
- package/types/FundingInstructions.d.ts +0 -297
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Identity/VerificationReports.d.ts +0 -487
- package/types/Identity/VerificationReportsResource.d.ts +0 -71
- package/types/Identity/VerificationSessions.d.ts +0 -352
- package/types/Identity/VerificationSessionsResource.d.ts +0 -366
- package/types/InvoiceItems.d.ts +0 -245
- package/types/InvoiceItemsResource.d.ts +0 -522
- package/types/InvoiceLineItems.d.ts +0 -410
- package/types/InvoicePayments.d.ts +0 -111
- package/types/InvoicePaymentsResource.d.ts +0 -88
- package/types/InvoiceRenderingTemplates.d.ts +0 -55
- package/types/InvoiceRenderingTemplatesResource.d.ts +0 -93
- package/types/Invoices.d.ts +0 -1834
- package/types/InvoicesResource.d.ts +0 -5936
- package/types/Issuing/Authorizations.d.ts +0 -689
- package/types/Issuing/AuthorizationsResource.d.ts +0 -151
- package/types/Issuing/Cardholders.d.ts +0 -1184
- package/types/Issuing/CardholdersResource.d.ts +0 -2412
- package/types/Issuing/Cards.d.ts +0 -1312
- package/types/Issuing/CardsResource.d.ts +0 -2371
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/Disputes.d.ts +0 -383
- package/types/Issuing/DisputesResource.d.ts +0 -776
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/PersonalizationDesigns.d.ts +0 -142
- package/types/Issuing/PersonalizationDesignsResource.d.ts +0 -253
- package/types/Issuing/PhysicalBundles.d.ts +0 -75
- package/types/Issuing/PhysicalBundlesResource.d.ts +0 -63
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Issuing/Tokens.d.ts +0 -273
- package/types/Issuing/TokensResource.d.ts +0 -88
- package/types/Issuing/Transactions.d.ts +0 -484
- package/types/Issuing/TransactionsResource.d.ts +0 -97
- package/types/LineItems.d.ts +0 -179
- package/types/LoginLinks.d.ts +0 -26
- package/types/Mandates.d.ts +0 -441
- package/types/MandatesResource.d.ts +0 -58
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/OAuth.d.ts +0 -355
- package/types/Orders.d.ts +0 -1165
- package/types/OrdersResource.d.ts +0 -5449
- package/types/PaymentAttemptRecords.d.ts +0 -2546
- package/types/PaymentAttemptRecordsResource.d.ts +0 -57
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -126
- package/types/PaymentIntents.d.ts +0 -4875
- package/types/PaymentIntentsResource.d.ts +0 -24384
- package/types/PaymentLinks.d.ts +0 -1068
- package/types/PaymentLinksResource.d.ts +0 -2375
- package/types/PaymentMethodConfigurations.d.ts +0 -2225
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -3208
- package/types/PaymentMethodDomains.d.ts +0 -213
- package/types/PaymentMethodDomainsResource.d.ts +0 -126
- package/types/PaymentMethods.d.ts +0 -1744
- package/types/PaymentMethodsResource.d.ts +0 -1324
- package/types/PaymentRecords.d.ts +0 -2546
- package/types/PaymentRecordsResource.d.ts +0 -657
- package/types/Payouts.d.ts +0 -177
- package/types/PayoutsResource.d.ts +0 -201
- package/types/Persons.d.ts +0 -826
- package/types/Plans.d.ts +0 -195
- package/types/PlansResource.d.ts +0 -322
- package/types/Prices.d.ts +0 -347
- package/types/PricesResource.d.ts +0 -648
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -233
- package/types/ProductCatalog/TrialOffers.d.ts +0 -82
- package/types/ProductCatalog/TrialOffersResource.d.ts +0 -85
- package/types/ProductFeatures.d.ts +0 -57
- package/types/Products.d.ts +0 -170
- package/types/ProductsResource.d.ts +0 -650
- package/types/PromotionCodes.d.ts +0 -125
- package/types/PromotionCodesResource.d.ts +0 -250
- package/types/QuoteLines.d.ts +0 -644
- package/types/QuotePreviewInvoices.d.ts +0 -1818
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -913
- package/types/Quotes.d.ts +0 -1278
- package/types/QuotesResource.d.ts +0 -3248
- package/types/Radar/EarlyFraudWarnings.d.ts +0 -55
- package/types/Radar/EarlyFraudWarningsResource.d.ts +0 -64
- package/types/Radar/PaymentEvaluations.d.ts +0 -580
- package/types/Radar/PaymentEvaluationsResource.d.ts +0 -208
- package/types/Radar/ValueListItems.d.ts +0 -74
- package/types/Radar/ValueListItemsResource.d.ts +0 -99
- package/types/Radar/ValueLists.d.ts +0 -104
- package/types/Radar/ValueListsResource.d.ts +0 -156
- package/types/Refunds.d.ts +0 -501
- package/types/RefundsResource.d.ts +0 -187
- package/types/Reporting/ReportRuns.d.ts +0 -115
- package/types/Reporting/ReportRunsResource.d.ts +0 -763
- package/types/Reporting/ReportTypes.d.ts +0 -64
- package/types/Reporting/ReportTypesResource.d.ts +0 -47
- package/types/Reserve/Holds.d.ts +0 -104
- package/types/Reserve/HoldsResource.d.ts +0 -76
- package/types/Reserve/Plans.d.ts +0 -103
- package/types/Reserve/PlansResource.d.ts +0 -29
- package/types/Reserve/Releases.d.ts +0 -105
- package/types/Reserve/ReleasesResource.d.ts +0 -60
- package/types/ReserveTransactions.d.ts +0 -32
- package/types/Reviews.d.ts +0 -146
- package/types/ReviewsResource.d.ts +0 -68
- package/types/SetupAttempts.d.ts +0 -919
- package/types/SetupAttemptsResource.d.ts +0 -35
- package/types/SetupIntents.d.ts +0 -1250
- package/types/SetupIntentsResource.d.ts +0 -5850
- package/types/ShippingRates.d.ts +0 -155
- package/types/ShippingRatesResource.d.ts +0 -262
- package/types/Sigma/ScheduledQueryRuns.d.ts +0 -76
- package/types/Sigma/ScheduledQueryRunsResource.d.ts +0 -47
- package/types/SourceMandateNotifications.d.ts +0 -105
- package/types/SourceTransactions.d.ts +0 -203
- package/types/Sources.d.ts +0 -775
- package/types/SourcesResource.d.ts +0 -611
- package/types/SubscriptionItems.d.ts +0 -161
- package/types/SubscriptionItemsResource.d.ts +0 -584
- package/types/SubscriptionSchedules.d.ts +0 -892
- package/types/SubscriptionSchedulesResource.d.ts +0 -2829
- package/types/Subscriptions.d.ts +0 -1127
- package/types/SubscriptionsResource.d.ts +0 -3095
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/CalculationLineItems.d.ts +0 -200
- package/types/Tax/Calculations.d.ts +0 -527
- package/types/Tax/CalculationsResource.d.ts +0 -411
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Tax/Locations.d.ts +0 -34
- package/types/Tax/LocationsResource.d.ts +0 -117
- package/types/Tax/Registrations.d.ts +0 -1790
- package/types/Tax/RegistrationsResource.d.ts +0 -2591
- package/types/Tax/Settings.d.ts +0 -86
- package/types/Tax/SettingsResource.d.ts +0 -77
- package/types/Tax/TransactionLineItems.d.ts +0 -90
- package/types/Tax/Transactions.d.ts +0 -426
- package/types/Tax/TransactionsResource.d.ts +0 -182
- package/types/TaxCodes.d.ts +0 -48
- package/types/TaxCodesResource.d.ts +0 -43
- package/types/TaxDeductedAtSources.d.ts +0 -35
- package/types/TaxIds.d.ts +0 -262
- package/types/TaxIdsResource.d.ts +0 -263
- package/types/TaxRates.d.ts +0 -144
- package/types/TaxRatesResource.d.ts +0 -215
- package/types/Terminal/Configurations.d.ts +0 -639
- package/types/Terminal/ConfigurationsResource.d.ts +0 -1497
- package/types/Terminal/ConnectionTokens.d.ts +0 -29
- package/types/Terminal/ConnectionTokensResource.d.ts +0 -32
- package/types/Terminal/Locations.d.ts +0 -166
- package/types/Terminal/LocationsResource.d.ts +0 -233
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/Terminal/Readers.d.ts +0 -696
- package/types/Terminal/ReadersResource.d.ts +0 -665
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -1030
- package/types/TestHelpers/CustomersResource.d.ts +0 -40
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +0 -1404
- package/types/TestHelpers/Issuing/CardsResource.d.ts +0 -121
- package/types/TestHelpers/Issuing/PersonalizationDesignsResource.d.ts +0 -113
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +0 -1354
- package/types/TestHelpers/RefundsResource.d.ts +0 -29
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -151
- package/types/TestHelpers/TestClocks.d.ts +0 -98
- package/types/TestHelpers/TestClocksResource.d.ts +0 -108
- package/types/TestHelpers/Treasury/InboundTransfersResource.d.ts +0 -108
- package/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts +0 -175
- package/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts +0 -175
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -119
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -117
- package/types/Tokens.d.ts +0 -84
- package/types/TokensResource.d.ts +0 -1086
- package/types/Topups.d.ts +0 -103
- package/types/TopupsResource.d.ts +0 -158
- package/types/TransferReversals.d.ts +0 -72
- package/types/Transfers.d.ts +0 -109
- package/types/TransfersResource.d.ts +0 -265
- package/types/Treasury/CreditReversals.d.ts +0 -92
- package/types/Treasury/CreditReversalsResource.d.ts +0 -88
- package/types/Treasury/DebitReversals.d.ts +0 -104
- package/types/Treasury/DebitReversalsResource.d.ts +0 -95
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -630
- package/types/Treasury/FinancialAccounts.d.ts +0 -255
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -770
- package/types/Treasury/InboundTransfers.d.ts +0 -235
- package/types/Treasury/InboundTransfersResource.d.ts +0 -128
- package/types/Treasury/OutboundPayments.d.ts +0 -324
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -285
- package/types/Treasury/OutboundTransfers.d.ts +0 -325
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -205
- package/types/Treasury/ReceivedCredits.d.ts +0 -305
- package/types/Treasury/ReceivedCreditsResource.d.ts +0 -79
- package/types/Treasury/ReceivedDebits.d.ts +0 -258
- package/types/Treasury/ReceivedDebitsResource.d.ts +0 -58
- package/types/Treasury/TransactionEntries.d.ts +0 -203
- package/types/Treasury/TransactionEntriesResource.d.ts +0 -70
- package/types/Treasury/Transactions.d.ts +0 -202
- package/types/Treasury/TransactionsResource.d.ts +0 -82
- package/types/UpcomingInvoices.d.ts +0 -5
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -690
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/MeterEventAdjustments.d.ts +0 -65
- package/types/V2/Billing/MeterEventAdjustmentsResource.d.ts +0 -47
- package/types/V2/Billing/MeterEventSessionResource.d.ts +0 -26
- package/types/V2/Billing/MeterEventSessions.d.ts +0 -45
- package/types/V2/Billing/MeterEventStreamResource.d.ts +0 -62
- package/types/V2/Billing/MeterEvents.d.ts +0 -55
- package/types/V2/Billing/MeterEventsResource.d.ts +0 -52
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -153
- package/types/V2/Core/AccountPersonTokens.d.ts +0 -44
- package/types/V2/Core/AccountPersons.d.ts +0 -661
- package/types/V2/Core/AccountTokens.d.ts +0 -44
- package/types/V2/Core/AccountTokensResource.d.ts +0 -1161
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +0 -556
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1260
- package/types/V2/Core/Accounts.d.ts +0 -6404
- package/types/V2/Core/AccountsResource.d.ts +0 -5623
- package/types/V2/Core/BatchJobs.d.ts +0 -365
- package/types/V2/Core/BatchJobsResource.d.ts +0 -126
- package/types/V2/Core/EventDestinations.d.ts +0 -214
- package/types/V2/Core/EventDestinationsResource.d.ts +0 -303
- package/types/V2/Core/EventTypes.d.ts +0 -2059
- package/types/V2/Core/Events.d.ts +0 -86
- package/types/V2/Core/EventsResource.d.ts +0 -63
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -186
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -204
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -147
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -203
- package/types/V2/DeletedObject.d.ts +0 -22
- package/types/V2/EventMisc.d.ts +0 -117
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -160
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -185
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -318
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -213
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -98
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -115
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -311
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -195
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
- package/types/WebhookEndpoints.d.ts +0 -101
- package/types/WebhookEndpointsResource.d.ts +0 -878
- package/types/Webhooks.d.ts +0 -164
- package/types/apiVersion.d.ts +0 -3
- package/types/crypto/crypto.d.ts +0 -59
- package/types/index.d.ts +0 -767
- package/types/lib.d.ts +0 -420
- package/types/net/net.d.ts +0 -99
- package/types/shared.d.ts +0 -178
- package/types/test/.eslintrc.js +0 -6
- package/types/test/tsconfig.json +0 -67
- package/types/test/typescriptTest.ts +0 -384
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { StripeResource } from '../StripeResource.js';
|
|
2
|
+
import { Product, DeletedProduct } from './Products.js';
|
|
3
|
+
import { Decimal, Emptyable, MetadataParam, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
4
|
+
import { RequestOptions, Response, ApiListPromise } from '../lib.js';
|
|
5
|
+
export declare class PlanResource extends StripeResource {
|
|
6
|
+
/**
|
|
7
|
+
* Deleting plans means new subscribers can't be added. Existing subscribers aren't affected.
|
|
8
|
+
*/
|
|
9
|
+
del(id: string, params?: PlanDeleteParams, options?: RequestOptions): Promise<Response<DeletedPlan>>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the plan with the given ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(id: string, params?: PlanRetrieveParams, options?: RequestOptions): Promise<Response<Plan>>;
|
|
14
|
+
/**
|
|
15
|
+
* Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle.
|
|
16
|
+
*/
|
|
17
|
+
update(id: string, params?: PlanUpdateParams, options?: RequestOptions): Promise<Response<Plan>>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns a list of your plans.
|
|
20
|
+
*/
|
|
21
|
+
list(params?: PlanListParams, options?: RequestOptions): ApiListPromise<Plan>;
|
|
22
|
+
/**
|
|
23
|
+
* You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
|
|
24
|
+
*/
|
|
25
|
+
create(params: PlanCreateParams, options?: RequestOptions): Promise<Response<Plan>>;
|
|
26
|
+
}
|
|
27
|
+
export interface Plan {
|
|
28
|
+
/**
|
|
29
|
+
* Unique identifier for the object.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
34
|
+
*/
|
|
35
|
+
object: 'plan';
|
|
36
|
+
/**
|
|
37
|
+
* Whether the plan can be used for new purchases.
|
|
38
|
+
*/
|
|
39
|
+
active: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
42
|
+
*/
|
|
43
|
+
amount: number | null;
|
|
44
|
+
/**
|
|
45
|
+
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
46
|
+
*/
|
|
47
|
+
amount_decimal: Decimal | null;
|
|
48
|
+
/**
|
|
49
|
+
* Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.
|
|
50
|
+
*/
|
|
51
|
+
billing_scheme: Plan.BillingScheme;
|
|
52
|
+
/**
|
|
53
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
54
|
+
*/
|
|
55
|
+
created: number;
|
|
56
|
+
/**
|
|
57
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
58
|
+
*/
|
|
59
|
+
currency: string;
|
|
60
|
+
/**
|
|
61
|
+
* Always true for a deleted object
|
|
62
|
+
*/
|
|
63
|
+
deleted?: void;
|
|
64
|
+
/**
|
|
65
|
+
* The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.
|
|
66
|
+
*/
|
|
67
|
+
interval: Plan.Interval;
|
|
68
|
+
/**
|
|
69
|
+
* The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
|
|
70
|
+
*/
|
|
71
|
+
interval_count: number;
|
|
72
|
+
/**
|
|
73
|
+
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
74
|
+
*/
|
|
75
|
+
livemode: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
78
|
+
*/
|
|
79
|
+
metadata: Metadata | null;
|
|
80
|
+
/**
|
|
81
|
+
* The meter tracking the usage of a metered price
|
|
82
|
+
*/
|
|
83
|
+
meter: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* A brief description of the plan, hidden from customers.
|
|
86
|
+
*/
|
|
87
|
+
nickname: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* The product whose pricing this plan determines.
|
|
90
|
+
*/
|
|
91
|
+
product: string | Product | DeletedProduct | null;
|
|
92
|
+
/**
|
|
93
|
+
* Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.
|
|
94
|
+
*/
|
|
95
|
+
tiers?: Array<Plan.Tier>;
|
|
96
|
+
/**
|
|
97
|
+
* Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.
|
|
98
|
+
*/
|
|
99
|
+
tiers_mode: Plan.TiersMode | null;
|
|
100
|
+
/**
|
|
101
|
+
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.
|
|
102
|
+
*/
|
|
103
|
+
transform_usage: Plan.TransformUsage | null;
|
|
104
|
+
/**
|
|
105
|
+
* Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
106
|
+
*/
|
|
107
|
+
trial_period_days: number | null;
|
|
108
|
+
/**
|
|
109
|
+
* Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.
|
|
110
|
+
*/
|
|
111
|
+
usage_type: Plan.UsageType;
|
|
112
|
+
}
|
|
113
|
+
export interface DeletedPlan {
|
|
114
|
+
/**
|
|
115
|
+
* Unique identifier for the object.
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
/**
|
|
119
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
120
|
+
*/
|
|
121
|
+
object: 'plan';
|
|
122
|
+
/**
|
|
123
|
+
* Always true for a deleted object
|
|
124
|
+
*/
|
|
125
|
+
deleted: true;
|
|
126
|
+
}
|
|
127
|
+
export declare namespace Plan {
|
|
128
|
+
type BillingScheme = 'per_unit' | 'tiered';
|
|
129
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
130
|
+
interface Tier {
|
|
131
|
+
/**
|
|
132
|
+
* Price for the entire tier.
|
|
133
|
+
*/
|
|
134
|
+
flat_amount: number | null;
|
|
135
|
+
/**
|
|
136
|
+
* Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.
|
|
137
|
+
*/
|
|
138
|
+
flat_amount_decimal: Decimal | null;
|
|
139
|
+
/**
|
|
140
|
+
* Per unit price for units relevant to the tier.
|
|
141
|
+
*/
|
|
142
|
+
unit_amount: number | null;
|
|
143
|
+
/**
|
|
144
|
+
* Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.
|
|
145
|
+
*/
|
|
146
|
+
unit_amount_decimal: Decimal | null;
|
|
147
|
+
/**
|
|
148
|
+
* Up to and including to this quantity will be contained in the tier.
|
|
149
|
+
*/
|
|
150
|
+
up_to: number | null;
|
|
151
|
+
}
|
|
152
|
+
type TiersMode = 'graduated' | 'volume';
|
|
153
|
+
interface TransformUsage {
|
|
154
|
+
/**
|
|
155
|
+
* Divide usage by this number.
|
|
156
|
+
*/
|
|
157
|
+
divide_by: number;
|
|
158
|
+
/**
|
|
159
|
+
* After division, either round the result `up` or `down`.
|
|
160
|
+
*/
|
|
161
|
+
round: TransformUsage.Round;
|
|
162
|
+
}
|
|
163
|
+
type UsageType = 'licensed' | 'metered';
|
|
164
|
+
namespace TransformUsage {
|
|
165
|
+
type Round = 'down' | 'up';
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export interface PlanCreateParams {
|
|
169
|
+
/**
|
|
170
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
171
|
+
*/
|
|
172
|
+
currency: string;
|
|
173
|
+
/**
|
|
174
|
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
175
|
+
*/
|
|
176
|
+
interval: PlanCreateParams.Interval;
|
|
177
|
+
/**
|
|
178
|
+
* Whether the plan is currently available for new subscriptions. Defaults to `true`.
|
|
179
|
+
*/
|
|
180
|
+
active?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* A positive integer in cents (or local equivalent) (or 0 for a free plan) representing how much to charge on a recurring basis.
|
|
183
|
+
*/
|
|
184
|
+
amount?: number;
|
|
185
|
+
/**
|
|
186
|
+
* Same as `amount`, but accepts a decimal value with at most 12 decimal places. Only one of `amount` and `amount_decimal` can be set.
|
|
187
|
+
*/
|
|
188
|
+
amount_decimal?: Decimal;
|
|
189
|
+
/**
|
|
190
|
+
* Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.
|
|
191
|
+
*/
|
|
192
|
+
billing_scheme?: PlanCreateParams.BillingScheme;
|
|
193
|
+
/**
|
|
194
|
+
* Specifies which fields in the response should be expanded.
|
|
195
|
+
*/
|
|
196
|
+
expand?: Array<string>;
|
|
197
|
+
/**
|
|
198
|
+
* An identifier randomly generated by Stripe. Used to identify this plan when subscribing a customer. You can optionally override this ID, but the ID must be unique across all plans in your Stripe account. You can, however, use the same plan ID in both live and test modes.
|
|
199
|
+
*/
|
|
200
|
+
id?: string;
|
|
201
|
+
/**
|
|
202
|
+
* The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
|
203
|
+
*/
|
|
204
|
+
interval_count?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
207
|
+
*/
|
|
208
|
+
metadata?: Emptyable<MetadataParam>;
|
|
209
|
+
/**
|
|
210
|
+
* The meter tracking the usage of a metered price
|
|
211
|
+
*/
|
|
212
|
+
meter?: string;
|
|
213
|
+
/**
|
|
214
|
+
* A brief description of the plan, hidden from customers.
|
|
215
|
+
*/
|
|
216
|
+
nickname?: string;
|
|
217
|
+
product?: PlanCreateParams.Product | string;
|
|
218
|
+
/**
|
|
219
|
+
* Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.
|
|
220
|
+
*/
|
|
221
|
+
tiers?: Array<PlanCreateParams.Tier>;
|
|
222
|
+
/**
|
|
223
|
+
* Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows.
|
|
224
|
+
*/
|
|
225
|
+
tiers_mode?: PlanCreateParams.TiersMode;
|
|
226
|
+
/**
|
|
227
|
+
* Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`.
|
|
228
|
+
*/
|
|
229
|
+
transform_usage?: PlanCreateParams.TransformUsage;
|
|
230
|
+
/**
|
|
231
|
+
* Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
232
|
+
*/
|
|
233
|
+
trial_period_days?: number;
|
|
234
|
+
/**
|
|
235
|
+
* Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.
|
|
236
|
+
*/
|
|
237
|
+
usage_type?: PlanCreateParams.UsageType;
|
|
238
|
+
}
|
|
239
|
+
export declare namespace PlanCreateParams {
|
|
240
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
241
|
+
type BillingScheme = 'per_unit' | 'tiered';
|
|
242
|
+
interface Product {
|
|
243
|
+
/**
|
|
244
|
+
* Whether the product is currently available for purchase. Defaults to `true`.
|
|
245
|
+
*/
|
|
246
|
+
active?: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.
|
|
249
|
+
*/
|
|
250
|
+
id?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
253
|
+
*/
|
|
254
|
+
metadata?: MetadataParam;
|
|
255
|
+
/**
|
|
256
|
+
* The product's name, meant to be displayable to the customer.
|
|
257
|
+
*/
|
|
258
|
+
name: string;
|
|
259
|
+
/**
|
|
260
|
+
* An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.
|
|
261
|
+
*
|
|
262
|
+
* This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped.
|
|
263
|
+
*/
|
|
264
|
+
statement_descriptor?: string;
|
|
265
|
+
/**
|
|
266
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
267
|
+
*/
|
|
268
|
+
tax_code?: string;
|
|
269
|
+
/**
|
|
270
|
+
* A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
271
|
+
*/
|
|
272
|
+
unit_label?: string;
|
|
273
|
+
}
|
|
274
|
+
interface Tier {
|
|
275
|
+
/**
|
|
276
|
+
* The flat billing amount for an entire tier, regardless of the number of units in the tier.
|
|
277
|
+
*/
|
|
278
|
+
flat_amount?: number;
|
|
279
|
+
/**
|
|
280
|
+
* Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set.
|
|
281
|
+
*/
|
|
282
|
+
flat_amount_decimal?: Decimal;
|
|
283
|
+
/**
|
|
284
|
+
* The per unit billing amount for each individual unit for which this tier applies.
|
|
285
|
+
*/
|
|
286
|
+
unit_amount?: number;
|
|
287
|
+
/**
|
|
288
|
+
* Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
|
289
|
+
*/
|
|
290
|
+
unit_amount_decimal?: Decimal;
|
|
291
|
+
/**
|
|
292
|
+
* Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier.
|
|
293
|
+
*/
|
|
294
|
+
up_to: 'inf' | number;
|
|
295
|
+
}
|
|
296
|
+
type TiersMode = 'graduated' | 'volume';
|
|
297
|
+
interface TransformUsage {
|
|
298
|
+
/**
|
|
299
|
+
* Divide usage by this number.
|
|
300
|
+
*/
|
|
301
|
+
divide_by: number;
|
|
302
|
+
/**
|
|
303
|
+
* After division, either round the result `up` or `down`.
|
|
304
|
+
*/
|
|
305
|
+
round: TransformUsage.Round;
|
|
306
|
+
}
|
|
307
|
+
type UsageType = 'licensed' | 'metered';
|
|
308
|
+
namespace TransformUsage {
|
|
309
|
+
type Round = 'down' | 'up';
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
export interface PlanRetrieveParams {
|
|
313
|
+
/**
|
|
314
|
+
* Specifies which fields in the response should be expanded.
|
|
315
|
+
*/
|
|
316
|
+
expand?: Array<string>;
|
|
317
|
+
}
|
|
318
|
+
export interface PlanUpdateParams {
|
|
319
|
+
/**
|
|
320
|
+
* Whether the plan is currently available for new subscriptions.
|
|
321
|
+
*/
|
|
322
|
+
active?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Specifies which fields in the response should be expanded.
|
|
325
|
+
*/
|
|
326
|
+
expand?: Array<string>;
|
|
327
|
+
/**
|
|
328
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
329
|
+
*/
|
|
330
|
+
metadata?: Emptyable<MetadataParam>;
|
|
331
|
+
/**
|
|
332
|
+
* A brief description of the plan, hidden from customers.
|
|
333
|
+
*/
|
|
334
|
+
nickname?: string;
|
|
335
|
+
/**
|
|
336
|
+
* The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule.
|
|
337
|
+
*/
|
|
338
|
+
product?: string;
|
|
339
|
+
/**
|
|
340
|
+
* Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
341
|
+
*/
|
|
342
|
+
trial_period_days?: number;
|
|
343
|
+
}
|
|
344
|
+
export interface PlanListParams extends PaginationParams {
|
|
345
|
+
/**
|
|
346
|
+
* Only return plans that are active or inactive (e.g., pass `false` to list all inactive plans).
|
|
347
|
+
*/
|
|
348
|
+
active?: boolean;
|
|
349
|
+
/**
|
|
350
|
+
* A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
|
|
351
|
+
*/
|
|
352
|
+
created?: RangeQueryParam | number;
|
|
353
|
+
/**
|
|
354
|
+
* Specifies which fields in the response should be expanded.
|
|
355
|
+
*/
|
|
356
|
+
expand?: Array<string>;
|
|
357
|
+
/**
|
|
358
|
+
* Only return plans for the given product.
|
|
359
|
+
*/
|
|
360
|
+
product?: string;
|
|
361
|
+
}
|
|
362
|
+
export interface PlanDeleteParams {
|
|
363
|
+
}
|
package/cjs/resources/Plans.js
CHANGED
|
@@ -1,141 +1,159 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.PlanResource = void 0;
|
|
5
5
|
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
class PlanResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* Deleting plans means new subscribers can't be added. Existing subscribers aren't affected.
|
|
9
|
+
*/
|
|
10
|
+
del(id, params, options) {
|
|
11
|
+
return this._makeRequest('DELETE', `/v1/plans/${id}`, params, options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the plan with the given ID.
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id, params, options) {
|
|
17
|
+
return this._makeRequest('GET', `/v1/plans/${id}`, params, options, {
|
|
18
|
+
responseSchema: {
|
|
19
|
+
kind: 'object',
|
|
20
|
+
fields: {
|
|
21
|
+
amount_decimal: { kind: 'nullable', inner: { kind: 'decimal_string' } },
|
|
22
|
+
tiers: {
|
|
23
|
+
kind: 'array',
|
|
24
|
+
element: {
|
|
25
|
+
kind: 'object',
|
|
26
|
+
fields: {
|
|
27
|
+
flat_amount_decimal: {
|
|
28
|
+
kind: 'nullable',
|
|
29
|
+
inner: { kind: 'decimal_string' },
|
|
30
|
+
},
|
|
31
|
+
unit_amount_decimal: {
|
|
32
|
+
kind: 'nullable',
|
|
33
|
+
inner: { kind: 'decimal_string' },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
22
36
|
},
|
|
23
37
|
},
|
|
24
38
|
},
|
|
25
39
|
},
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle.
|
|
44
|
+
*/
|
|
45
|
+
update(id, params, options) {
|
|
46
|
+
return this._makeRequest('POST', `/v1/plans/${id}`, params, options, {
|
|
47
|
+
responseSchema: {
|
|
48
|
+
kind: 'object',
|
|
49
|
+
fields: {
|
|
50
|
+
amount_decimal: { kind: 'nullable', inner: { kind: 'decimal_string' } },
|
|
51
|
+
tiers: {
|
|
52
|
+
kind: 'array',
|
|
53
|
+
element: {
|
|
54
|
+
kind: 'object',
|
|
55
|
+
fields: {
|
|
56
|
+
flat_amount_decimal: {
|
|
57
|
+
kind: 'nullable',
|
|
58
|
+
inner: { kind: 'decimal_string' },
|
|
59
|
+
},
|
|
60
|
+
unit_amount_decimal: {
|
|
61
|
+
kind: 'nullable',
|
|
62
|
+
inner: { kind: 'decimal_string' },
|
|
63
|
+
},
|
|
43
64
|
},
|
|
44
65
|
},
|
|
45
66
|
},
|
|
46
67
|
},
|
|
47
68
|
},
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
kind: '
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns a list of your plans.
|
|
73
|
+
*/
|
|
74
|
+
list(params, options) {
|
|
75
|
+
return this._makeRequest('GET', '/v1/plans', params, options, {
|
|
76
|
+
methodType: 'list',
|
|
77
|
+
responseSchema: {
|
|
78
|
+
kind: 'object',
|
|
79
|
+
fields: {
|
|
80
|
+
data: {
|
|
81
|
+
kind: 'array',
|
|
82
|
+
element: {
|
|
83
|
+
kind: 'object',
|
|
84
|
+
fields: {
|
|
85
|
+
amount_decimal: {
|
|
86
|
+
kind: 'nullable',
|
|
87
|
+
inner: { kind: 'decimal_string' },
|
|
88
|
+
},
|
|
89
|
+
tiers: {
|
|
90
|
+
kind: 'array',
|
|
91
|
+
element: {
|
|
92
|
+
kind: 'object',
|
|
93
|
+
fields: {
|
|
94
|
+
flat_amount_decimal: {
|
|
95
|
+
kind: 'nullable',
|
|
96
|
+
inner: { kind: 'decimal_string' },
|
|
97
|
+
},
|
|
98
|
+
unit_amount_decimal: {
|
|
99
|
+
kind: 'nullable',
|
|
100
|
+
inner: { kind: 'decimal_string' },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
69
105
|
},
|
|
70
106
|
},
|
|
71
107
|
},
|
|
72
108
|
},
|
|
73
109
|
},
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
kind: '
|
|
85
|
-
|
|
86
|
-
kind: '
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
unit_amount_decimal: {
|
|
93
|
-
kind: 'nullable',
|
|
94
|
-
inner: { kind: 'decimal_string' },
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* You can now model subscriptions more flexibly using the [Prices API](https://docs.stripe.com/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
|
|
114
|
+
*/
|
|
115
|
+
create(params, options) {
|
|
116
|
+
return this._makeRequest('POST', '/v1/plans', params, options, {
|
|
117
|
+
requestSchema: {
|
|
118
|
+
kind: 'object',
|
|
119
|
+
fields: {
|
|
120
|
+
amount_decimal: { kind: 'decimal_string' },
|
|
121
|
+
tiers: {
|
|
122
|
+
kind: 'array',
|
|
123
|
+
element: {
|
|
124
|
+
kind: 'object',
|
|
125
|
+
fields: {
|
|
126
|
+
flat_amount_decimal: { kind: 'decimal_string' },
|
|
127
|
+
unit_amount_decimal: { kind: 'decimal_string' },
|
|
95
128
|
},
|
|
96
129
|
},
|
|
97
130
|
},
|
|
98
131
|
},
|
|
99
132
|
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
inner: { kind: 'decimal_string' },
|
|
117
|
-
},
|
|
118
|
-
tiers: {
|
|
119
|
-
kind: 'array',
|
|
120
|
-
element: {
|
|
121
|
-
kind: 'object',
|
|
122
|
-
fields: {
|
|
123
|
-
flat_amount_decimal: {
|
|
124
|
-
kind: 'nullable',
|
|
125
|
-
inner: { kind: 'decimal_string' },
|
|
126
|
-
},
|
|
127
|
-
unit_amount_decimal: {
|
|
128
|
-
kind: 'nullable',
|
|
129
|
-
inner: { kind: 'decimal_string' },
|
|
130
|
-
},
|
|
131
|
-
},
|
|
133
|
+
responseSchema: {
|
|
134
|
+
kind: 'object',
|
|
135
|
+
fields: {
|
|
136
|
+
amount_decimal: { kind: 'nullable', inner: { kind: 'decimal_string' } },
|
|
137
|
+
tiers: {
|
|
138
|
+
kind: 'array',
|
|
139
|
+
element: {
|
|
140
|
+
kind: 'object',
|
|
141
|
+
fields: {
|
|
142
|
+
flat_amount_decimal: {
|
|
143
|
+
kind: 'nullable',
|
|
144
|
+
inner: { kind: 'decimal_string' },
|
|
145
|
+
},
|
|
146
|
+
unit_amount_decimal: {
|
|
147
|
+
kind: 'nullable',
|
|
148
|
+
inner: { kind: 'decimal_string' },
|
|
132
149
|
},
|
|
133
150
|
},
|
|
134
151
|
},
|
|
135
152
|
},
|
|
136
153
|
},
|
|
137
154
|
},
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.PlanResource = PlanResource;
|
|
159
|
+
//# sourceMappingURL=Plans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plans.js","sourceRoot":"","sources":["../../src/resources/Plans.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAYpD,MAAa,YAAa,SAAQ,kCAAc;IAC9C;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,aAAa,EAAE,EAAE,EACjB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;YAClE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,cAAc,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;oBACnE,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;gCACD,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;YACnE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,cAAc,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;oBACnE,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;gCACD,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,IAAI,CACF,MAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE;YAC5D,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,cAAc,EAAE;oCACd,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;gCACD,KAAK,EAAE;oCACL,IAAI,EAAE,OAAO;oCACb,OAAO,EAAE;wCACP,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE;4CACN,mBAAmB,EAAE;gDACnB,IAAI,EAAE,UAAU;gDAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;6CAChC;4CACD,mBAAmB,EAAE;gDACnB,IAAI,EAAE,UAAU;gDAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;6CAChC;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE;YAC7D,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,cAAc,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;oBACxC,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,mBAAmB,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;gCAC7C,mBAAmB,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;6BAC9C;yBACF;qBACF;iBACF;aACF;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,cAAc,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;oBACnE,KAAK,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;gCACD,mBAAmB,EAAE;oCACnB,IAAI,EAAE,UAAU;oCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;iCAChC;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;CACF;AA9KD,oCA8KC"}
|