stripe 20.1.0-beta.1 → 20.1.0
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 +47 -1500
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +2 -88
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -81
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -47
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -620
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +1 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +3 -3
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -18
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -179
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -297
- package/types/Checkout/SessionsResource.d.ts +59 -417
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -109
- package/types/Coupons.d.ts +3 -38
- package/types/CouponsResource.d.ts +2 -25
- package/types/CreditNoteLineItems.d.ts +3 -17
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -42
- package/types/CustomerSessionsResource.d.ts +0 -41
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -23
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -43
- package/types/DisputesResource.d.ts +1 -12
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +1 -97
- package/types/ExchangeRates.d.ts +2 -2
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +4 -37
- package/types/FinancialConnections/AccountsResource.d.ts +6 -38
- package/types/FinancialConnections/Sessions.d.ts +3 -51
- package/types/FinancialConnections/SessionsResource.d.ts +4 -41
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +8 -13
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +10 -46
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -204
- package/types/InvoicesResource.d.ts +132 -1651
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -22
- package/types/Issuing/Cards.d.ts +10 -10
- package/types/Issuing/CardsResource.d.ts +13 -13
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +12 -17
- package/types/Issuing/TransactionsResource.d.ts +1 -6
- package/types/LineItems.d.ts +4 -48
- package/types/LoginLinks.d.ts +1 -1
- package/types/Mandates.d.ts +1 -69
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +119 -135
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +48 -705
- package/types/PaymentIntentsResource.d.ts +6867 -19451
- package/types/PaymentLinks.d.ts +7 -12
- package/types/PaymentLinksResource.d.ts +28 -38
- package/types/PaymentMethodConfigurations.d.ts +4 -184
- package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -116
- package/types/PaymentMethodsResource.d.ts +7 -116
- package/types/PaymentRecords.d.ts +126 -135
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -23
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -28
- package/types/PricesResource.d.ts +10 -32
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +14 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/Quotes.d.ts +14 -602
- package/types/QuotesResource.d.ts +298 -2628
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -17
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +22 -60
- package/types/SetupIntents.d.ts +22 -157
- package/types/SetupIntentsResource.d.ts +50 -673
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -34
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -33
- package/types/SubscriptionItemsResource.d.ts +22 -131
- package/types/SubscriptionSchedules.d.ts +9 -209
- package/types/SubscriptionSchedulesResource.d.ts +39 -1257
- package/types/Subscriptions.d.ts +41 -251
- package/types/SubscriptionsResource.d.ts +94 -734
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -30
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -10
- package/types/TransfersResource.d.ts +6 -11
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -30
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
- package/types/Treasury/ReceivedCredits.d.ts +9 -35
- package/types/Treasury/ReceivedDebits.d.ts +6 -37
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Core/AccountLinks.d.ts +13 -21
- package/types/V2/Core/AccountLinksResource.d.ts +8 -16
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +129 -24
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +256 -1349
- package/types/V2/Core/AccountsResource.d.ts +282 -567
- package/types/V2/Core/EventTypes.d.ts +10 -1542
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -134
- package/types/lib.d.ts +0 -10
- 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/ExternalAccounts.js +0 -23
- 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 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- 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 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- 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/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/ExternalAccounts.js +0 -20
- 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 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- 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 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- 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/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- 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/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- 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/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- 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/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -5505
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- 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/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- 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 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
- 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 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- 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 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- 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 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -14,12 +14,12 @@ declare module 'stripe' {
|
|
|
14
14
|
currency?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The ID of the customer
|
|
17
|
+
* The ID of the customer to bill for this invoice item.
|
|
18
18
|
*/
|
|
19
19
|
customer?: string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* The ID of the account
|
|
22
|
+
* The ID of the account representing the customer to bill for this invoice item.
|
|
23
23
|
*/
|
|
24
24
|
customer_account?: string;
|
|
25
25
|
|
|
@@ -49,22 +49,17 @@ declare module 'stripe' {
|
|
|
49
49
|
invoice?: string;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
margins?: Array<string>;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Set of [key-value pairs](https://stripe.com/docs/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`.
|
|
52
|
+
* 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`.
|
|
58
53
|
*/
|
|
59
54
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
60
55
|
|
|
61
56
|
/**
|
|
62
|
-
* The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/
|
|
57
|
+
* The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
|
|
63
58
|
*/
|
|
64
59
|
period?: InvoiceItemCreateParams.Period;
|
|
65
60
|
|
|
66
61
|
/**
|
|
67
|
-
* Data used to generate a new [Price](https://stripe.com/
|
|
62
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
|
|
68
63
|
*/
|
|
69
64
|
price_data?: InvoiceItemCreateParams.PriceData;
|
|
70
65
|
|
|
@@ -84,12 +79,12 @@ declare module 'stripe' {
|
|
|
84
79
|
subscription?: string;
|
|
85
80
|
|
|
86
81
|
/**
|
|
87
|
-
* Only required if a [default tax behavior](https://stripe.com/
|
|
82
|
+
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
88
83
|
*/
|
|
89
84
|
tax_behavior?: InvoiceItemCreateParams.TaxBehavior;
|
|
90
85
|
|
|
91
86
|
/**
|
|
92
|
-
* A [tax code](https://stripe.com/
|
|
87
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
93
88
|
*/
|
|
94
89
|
tax_code?: Stripe.Emptyable<string>;
|
|
95
90
|
|
|
@@ -116,56 +111,12 @@ declare module 'stripe' {
|
|
|
116
111
|
*/
|
|
117
112
|
discount?: string;
|
|
118
113
|
|
|
119
|
-
/**
|
|
120
|
-
* Details to determine how long the discount should be applied for.
|
|
121
|
-
*/
|
|
122
|
-
discount_end?: Discount.DiscountEnd;
|
|
123
|
-
|
|
124
114
|
/**
|
|
125
115
|
* ID of the promotion code to create a new discount for.
|
|
126
116
|
*/
|
|
127
117
|
promotion_code?: string;
|
|
128
118
|
}
|
|
129
119
|
|
|
130
|
-
namespace Discount {
|
|
131
|
-
interface DiscountEnd {
|
|
132
|
-
/**
|
|
133
|
-
* Time span for the redeemed discount.
|
|
134
|
-
*/
|
|
135
|
-
duration?: DiscountEnd.Duration;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
139
|
-
*/
|
|
140
|
-
timestamp?: number;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The type of calculation made to determine when the discount ends.
|
|
144
|
-
*/
|
|
145
|
-
type: DiscountEnd.Type;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
namespace DiscountEnd {
|
|
149
|
-
interface Duration {
|
|
150
|
-
/**
|
|
151
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
152
|
-
*/
|
|
153
|
-
interval: Duration.Interval;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
157
|
-
*/
|
|
158
|
-
interval_count: number;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
namespace Duration {
|
|
162
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
type Type = 'duration' | 'timestamp';
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
120
|
interface Period {
|
|
170
121
|
/**
|
|
171
122
|
* The end of the period, which must be greater than or equal to the start. This value is inclusive.
|
|
@@ -190,7 +141,7 @@ declare module 'stripe' {
|
|
|
190
141
|
product: string;
|
|
191
142
|
|
|
192
143
|
/**
|
|
193
|
-
* Only required if a [default tax behavior](https://stripe.com/
|
|
144
|
+
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
194
145
|
*/
|
|
195
146
|
tax_behavior?: PriceData.TaxBehavior;
|
|
196
147
|
|
|
@@ -253,22 +204,17 @@ declare module 'stripe' {
|
|
|
253
204
|
expand?: Array<string>;
|
|
254
205
|
|
|
255
206
|
/**
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
margins?: Stripe.Emptyable<Array<string>>;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Set of [key-value pairs](https://stripe.com/docs/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
|
+
* 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`.
|
|
262
208
|
*/
|
|
263
209
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
264
210
|
|
|
265
211
|
/**
|
|
266
|
-
* The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/
|
|
212
|
+
* The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.
|
|
267
213
|
*/
|
|
268
214
|
period?: InvoiceItemUpdateParams.Period;
|
|
269
215
|
|
|
270
216
|
/**
|
|
271
|
-
* Data used to generate a new [Price](https://stripe.com/
|
|
217
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
|
|
272
218
|
*/
|
|
273
219
|
price_data?: InvoiceItemUpdateParams.PriceData;
|
|
274
220
|
|
|
@@ -283,12 +229,12 @@ declare module 'stripe' {
|
|
|
283
229
|
quantity?: number;
|
|
284
230
|
|
|
285
231
|
/**
|
|
286
|
-
* Only required if a [default tax behavior](https://stripe.com/
|
|
232
|
+
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
287
233
|
*/
|
|
288
234
|
tax_behavior?: InvoiceItemUpdateParams.TaxBehavior;
|
|
289
235
|
|
|
290
236
|
/**
|
|
291
|
-
* A [tax code](https://stripe.com/
|
|
237
|
+
* A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
292
238
|
*/
|
|
293
239
|
tax_code?: Stripe.Emptyable<string>;
|
|
294
240
|
|
|
@@ -315,56 +261,12 @@ declare module 'stripe' {
|
|
|
315
261
|
*/
|
|
316
262
|
discount?: string;
|
|
317
263
|
|
|
318
|
-
/**
|
|
319
|
-
* Details to determine how long the discount should be applied for.
|
|
320
|
-
*/
|
|
321
|
-
discount_end?: Discount.DiscountEnd;
|
|
322
|
-
|
|
323
264
|
/**
|
|
324
265
|
* ID of the promotion code to create a new discount for.
|
|
325
266
|
*/
|
|
326
267
|
promotion_code?: string;
|
|
327
268
|
}
|
|
328
269
|
|
|
329
|
-
namespace Discount {
|
|
330
|
-
interface DiscountEnd {
|
|
331
|
-
/**
|
|
332
|
-
* Time span for the redeemed discount.
|
|
333
|
-
*/
|
|
334
|
-
duration?: DiscountEnd.Duration;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
338
|
-
*/
|
|
339
|
-
timestamp?: number;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* The type of calculation made to determine when the discount ends.
|
|
343
|
-
*/
|
|
344
|
-
type: DiscountEnd.Type;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
namespace DiscountEnd {
|
|
348
|
-
interface Duration {
|
|
349
|
-
/**
|
|
350
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
351
|
-
*/
|
|
352
|
-
interval: Duration.Interval;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
356
|
-
*/
|
|
357
|
-
interval_count: number;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
namespace Duration {
|
|
361
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
type Type = 'duration' | 'timestamp';
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
270
|
interface Period {
|
|
369
271
|
/**
|
|
370
272
|
* The end of the period, which must be greater than or equal to the start. This value is inclusive.
|
|
@@ -389,7 +291,7 @@ declare module 'stripe' {
|
|
|
389
291
|
product: string;
|
|
390
292
|
|
|
391
293
|
/**
|
|
392
|
-
* Only required if a [default tax behavior](https://stripe.com/
|
|
294
|
+
* Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
393
295
|
*/
|
|
394
296
|
tax_behavior?: PriceData.TaxBehavior;
|
|
395
297
|
|
|
@@ -425,12 +327,12 @@ declare module 'stripe' {
|
|
|
425
327
|
created?: Stripe.RangeQueryParam | number;
|
|
426
328
|
|
|
427
329
|
/**
|
|
428
|
-
* The identifier of the customer whose invoice items to return. If none is provided, all invoice items
|
|
330
|
+
* The identifier of the customer whose invoice items to return. If none is provided, returns all invoice items.
|
|
429
331
|
*/
|
|
430
332
|
customer?: string;
|
|
431
333
|
|
|
432
334
|
/**
|
|
433
|
-
* The identifier of the account whose invoice items to return. If none is provided, all invoice items
|
|
335
|
+
* The identifier of the account representing the customer whose invoice items to return. If none is provided, returns all invoice items.
|
|
434
336
|
*/
|
|
435
337
|
customer_account?: string;
|
|
436
338
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
declare module 'stripe' {
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
|
-
* Invoice Line Items represent the individual lines within an [invoice](https://stripe.com/
|
|
6
|
+
* Invoice Line Items represent the individual lines within an [invoice](https://docs.stripe.com/api/invoices) and only exist within the context of an invoice.
|
|
7
7
|
*
|
|
8
|
-
* Each line item is backed by either an [invoice item](https://stripe.com/
|
|
8
|
+
* Each line item is backed by either an [invoice item](https://docs.stripe.com/api/invoiceitems) or a [subscription item](https://docs.stripe.com/api/subscription_items).
|
|
9
9
|
*/
|
|
10
10
|
interface InvoiceLineItem {
|
|
11
11
|
/**
|
|
@@ -59,17 +59,7 @@ declare module 'stripe' {
|
|
|
59
59
|
livemode: boolean;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
margin_amounts?: Array<InvoiceLineItem.MarginAmount> | null;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* The margins applied to the line item. When set, the `default_margins` on the invoice do not apply to the line item. Use `expand[]=margins` to expand each margin.
|
|
68
|
-
*/
|
|
69
|
-
margins?: Array<string | Stripe.Margin> | null;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.
|
|
62
|
+
* 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. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.
|
|
73
63
|
*/
|
|
74
64
|
metadata: Stripe.Metadata;
|
|
75
65
|
|
|
@@ -98,9 +88,9 @@ declare module 'stripe' {
|
|
|
98
88
|
subscription: string | Stripe.Subscription | null;
|
|
99
89
|
|
|
100
90
|
/**
|
|
101
|
-
* The
|
|
91
|
+
* The subtotal of the line item, in cents (or local equivalent), before any discounts or taxes.
|
|
102
92
|
*/
|
|
103
|
-
|
|
93
|
+
subtotal: number;
|
|
104
94
|
|
|
105
95
|
/**
|
|
106
96
|
* The tax information of the line item.
|
|
@@ -121,18 +111,6 @@ declare module 'stripe' {
|
|
|
121
111
|
discount: string | Stripe.Discount | Stripe.DeletedDiscount;
|
|
122
112
|
}
|
|
123
113
|
|
|
124
|
-
interface MarginAmount {
|
|
125
|
-
/**
|
|
126
|
-
* The amount, in cents (or local equivalent), of the reduction in line item amount.
|
|
127
|
-
*/
|
|
128
|
-
amount: number;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* The margin that was applied to get this margin amount.
|
|
132
|
-
*/
|
|
133
|
-
margin: string | Stripe.Margin;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
114
|
interface Parent {
|
|
137
115
|
/**
|
|
138
116
|
* Details about the invoice item that generated this line item
|
|
@@ -280,11 +258,6 @@ declare module 'stripe' {
|
|
|
280
258
|
*/
|
|
281
259
|
discount?: string | Stripe.Discount | Stripe.DeletedDiscount;
|
|
282
260
|
|
|
283
|
-
/**
|
|
284
|
-
* The margin that was applied to get this pretax credit amount.
|
|
285
|
-
*/
|
|
286
|
-
margin?: string | Stripe.Margin;
|
|
287
|
-
|
|
288
261
|
/**
|
|
289
262
|
* Type of the pretax credit amount referenced.
|
|
290
263
|
*/
|
|
@@ -292,7 +265,7 @@ declare module 'stripe' {
|
|
|
292
265
|
}
|
|
293
266
|
|
|
294
267
|
namespace PretaxCreditAmount {
|
|
295
|
-
type Type = 'credit_balance_transaction' | 'discount'
|
|
268
|
+
type Type = 'credit_balance_transaction' | 'discount';
|
|
296
269
|
}
|
|
297
270
|
|
|
298
271
|
interface Pricing {
|
|
@@ -314,7 +287,7 @@ declare module 'stripe' {
|
|
|
314
287
|
/**
|
|
315
288
|
* The ID of the price this item is associated with.
|
|
316
289
|
*/
|
|
317
|
-
price: string;
|
|
290
|
+
price: string | Stripe.Price;
|
|
318
291
|
|
|
319
292
|
/**
|
|
320
293
|
* The ID of the product this item is associated with.
|
|
@@ -377,21 +350,12 @@ declare module 'stripe' {
|
|
|
377
350
|
type TaxBehavior = 'exclusive' | 'inclusive';
|
|
378
351
|
|
|
379
352
|
interface TaxRateDetails {
|
|
353
|
+
/**
|
|
354
|
+
* ID of the tax rate
|
|
355
|
+
*/
|
|
380
356
|
tax_rate: string;
|
|
381
357
|
}
|
|
382
358
|
}
|
|
383
|
-
|
|
384
|
-
interface TaxCalculationReference {
|
|
385
|
-
/**
|
|
386
|
-
* The calculation identifier for tax calculation response.
|
|
387
|
-
*/
|
|
388
|
-
calculation_id: string | null;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* The calculation identifier for tax calculation response line item.
|
|
392
|
-
*/
|
|
393
|
-
calculation_item_id: string | null;
|
|
394
|
-
}
|
|
395
359
|
}
|
|
396
360
|
}
|
|
397
361
|
}
|
|
@@ -5,7 +5,7 @@ declare module 'stripe' {
|
|
|
5
5
|
/**
|
|
6
6
|
* Invoice Payments represent payments made against invoices. Invoice Payments can
|
|
7
7
|
* be accessed in two ways:
|
|
8
|
-
* 1. By expanding the `payments` field on the [Invoice](https://stripe.com
|
|
8
|
+
* 1. By expanding the `payments` field on the [Invoice](https://api.stripe.com#invoice) resource.
|
|
9
9
|
* 2. By using the Invoice Payment retrieve and list endpoints.
|
|
10
10
|
*
|
|
11
11
|
* Invoice Payments include the mapping between payment objects, such as Payment Intent, and Invoices.
|
|
@@ -28,7 +28,7 @@ declare module 'stripe' {
|
|
|
28
28
|
livemode: boolean;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
metadata: Stripe.Metadata | null;
|
|
34
34
|
|