stripe 19.0.0 → 19.1.0-beta.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 +1431 -11
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +13 -0
- package/cjs/resources/PaymentRecords.js +33 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +25 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +29 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +110 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +100 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +13 -0
- package/esm/resources/PaymentRecords.js +30 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/OnboardingLinks.js +9 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +22 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +26 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +95 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +171 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +369 -2
- package/types/Checkout/SessionsResource.d.ts +634 -2
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Disputes.d.ts +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +664 -0
- package/types/Events.d.ts +97 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/InvoicePaymentsResource.d.ts +10 -1
- package/types/Invoices.d.ts +204 -4
- package/types/InvoicesResource.d.ts +1646 -21
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +135 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +3139 -0
- package/types/PaymentAttemptRecords.d.ts +2360 -0
- package/types/PaymentAttemptRecordsResource.d.ts +52 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +825 -3
- package/types/PaymentIntentsResource.d.ts +11753 -5914
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +130 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2353 -0
- package/types/PaymentRecordsResource.d.ts +559 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1770 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2588 -243
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +210 -2
- package/types/SetupIntentsResource.d.ts +938 -4
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1233 -5
- package/types/Subscriptions.d.ts +263 -1
- package/types/SubscriptionsResource.d.ts +747 -8
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -0
- package/types/Terminal/OnboardingLinks.d.ts +57 -0
- package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +686 -0
- package/types/V2/Billing/CadencesResource.d.ts +487 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +337 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/AccountPersons.d.ts +615 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
- package/types/V2/Core/Accounts.d.ts +5919 -0
- package/types/V2/Core/AccountsResource.d.ts +4999 -0
- package/types/V2/Core/EventTypes.d.ts +1646 -9
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +147 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +112 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +326 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
- package/types/WebhookEndpointsResource.d.ts +78 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +160 -0
- package/types/lib.d.ts +10 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const OutboundPayments = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/money_management/outbound_payments',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/outbound_payments/{id}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/money_management/outbound_payments',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
cancel: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/money_management/outbound_payments/{id}/cancel',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const OutboundSetupIntents = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/money_management/outbound_setup_intents',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/outbound_setup_intents/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/money_management/outbound_setup_intents/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/money_management/outbound_setup_intents',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
cancel: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v2/money_management/outbound_setup_intents/{id}/cancel',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const OutboundTransfers = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/money_management/outbound_transfers',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/outbound_transfers/{id}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/money_management/outbound_transfers',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
cancel: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/money_management/outbound_transfers/{id}/cancel',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const PayoutMethods = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/payout_methods/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/payout_methods',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
archive: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v2/money_management/payout_methods/{id}/archive',
|
|
17
|
+
}),
|
|
18
|
+
unarchive: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/money_management/payout_methods/{id}/unarchive',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const PayoutMethodsBankAccountSpec = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/payout_methods_bank_account_spec',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ReceivedCredits = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/received_credits/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/received_credits',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ReceivedDebits = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/received_debits/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/received_debits',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const TransactionEntries = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/transaction_entries/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/transaction_entries',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Transactions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/money_management/transactions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/transactions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const OffSessionPayments = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/payments/off_session_payments',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/payments/off_session_payments/{id}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/payments/off_session_payments',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
cancel: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v2/payments/off_session_payments/{id}/cancel',
|
|
21
|
+
}),
|
|
22
|
+
capture: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v2/payments/off_session_payments/{id}/capture',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const FinancialAddresses = StripeResource.extend({
|
|
5
|
+
credit: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/test_helpers/financial_addresses/{id}/credit',
|
|
8
|
+
}),
|
|
9
|
+
generateMicrodeposits: stripeMethod({
|
|
10
|
+
method: 'POST',
|
|
11
|
+
fullPath: '/v2/test_helpers/financial_addresses/{id}/generate_microdeposits',
|
|
12
|
+
}),
|
|
13
|
+
});
|
package/esm/resources.js
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec
|
|
2
2
|
import { resourceNamespace } from './ResourceNamespace.js';
|
|
3
|
+
import { AccountLinks as V2CoreAccountLinks } from './resources/V2/Core/AccountLinks.js';
|
|
3
4
|
import { Accounts as FinancialConnectionsAccounts } from './resources/FinancialConnections/Accounts.js';
|
|
5
|
+
import { Accounts as V2CoreAccounts } from './resources/V2/Core/Accounts.js';
|
|
4
6
|
import { ActiveEntitlements as EntitlementsActiveEntitlements } from './resources/Entitlements/ActiveEntitlements.js';
|
|
7
|
+
import { Adjustments as V2MoneyManagementAdjustments } from './resources/V2/MoneyManagement/Adjustments.js';
|
|
5
8
|
import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js';
|
|
9
|
+
import { Associations as TaxAssociations } from './resources/Tax/Associations.js';
|
|
6
10
|
import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js';
|
|
7
11
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
12
|
+
import { BillSettings as V2BillingBillSettings } from './resources/V2/Billing/BillSettings.js';
|
|
13
|
+
import { Cadences as V2BillingCadences } from './resources/V2/Billing/Cadences.js';
|
|
8
14
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
9
15
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
10
16
|
import { Cards as IssuingCards } from './resources/Issuing/Cards.js';
|
|
11
17
|
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js';
|
|
18
|
+
import { CollectionSettings as V2BillingCollectionSettings } from './resources/V2/Billing/CollectionSettings.js';
|
|
12
19
|
import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js';
|
|
13
20
|
import { Configurations as TerminalConfigurations } from './resources/Terminal/Configurations.js';
|
|
14
21
|
import { ConfirmationTokens as TestHelpersConfirmationTokens } from './resources/TestHelpers/ConfirmationTokens.js';
|
|
@@ -17,16 +24,29 @@ import { CreditBalanceSummary as BillingCreditBalanceSummary } from './resources
|
|
|
17
24
|
import { CreditBalanceTransactions as BillingCreditBalanceTransactions } from './resources/Billing/CreditBalanceTransactions.js';
|
|
18
25
|
import { CreditGrants as BillingCreditGrants } from './resources/Billing/CreditGrants.js';
|
|
19
26
|
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js';
|
|
27
|
+
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js';
|
|
20
28
|
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js';
|
|
21
29
|
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js';
|
|
30
|
+
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js';
|
|
22
31
|
import { Disputes as IssuingDisputes } from './resources/Issuing/Disputes.js';
|
|
23
32
|
import { EarlyFraudWarnings as RadarEarlyFraudWarnings } from './resources/Radar/EarlyFraudWarnings.js';
|
|
24
33
|
import { EventDestinations as V2CoreEventDestinations } from './resources/V2/Core/EventDestinations.js';
|
|
25
34
|
import { Events as V2CoreEvents } from './resources/V2/Core/Events.js';
|
|
26
35
|
import { Features as EntitlementsFeatures } from './resources/Entitlements/Features.js';
|
|
27
36
|
import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js';
|
|
37
|
+
import { FinancialAccounts as V2MoneyManagementFinancialAccounts } from './resources/V2/MoneyManagement/FinancialAccounts.js';
|
|
38
|
+
import { FinancialAddresses as V2MoneyManagementFinancialAddresses } from './resources/V2/MoneyManagement/FinancialAddresses.js';
|
|
39
|
+
import { FinancialAddresses as V2TestHelpersFinancialAddresses } from './resources/V2/TestHelpers/FinancialAddresses.js';
|
|
40
|
+
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
|
|
41
|
+
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
|
|
42
|
+
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
|
|
43
|
+
import { Forms as TaxForms } from './resources/Tax/Forms.js';
|
|
44
|
+
import { FraudLiabilityDebits as IssuingFraudLiabilityDebits } from './resources/Issuing/FraudLiabilityDebits.js';
|
|
45
|
+
import { GbBankAccounts as V2CoreVaultGbBankAccounts } from './resources/V2/Core/Vault/GbBankAccounts.js';
|
|
28
46
|
import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js';
|
|
29
47
|
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
|
|
48
|
+
import { InboundTransfers as V2MoneyManagementInboundTransfers } from './resources/V2/MoneyManagement/InboundTransfers.js';
|
|
49
|
+
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
|
|
30
50
|
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
|
|
31
51
|
import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
|
|
32
52
|
import { MeterEventAdjustments as V2BillingMeterEventAdjustments } from './resources/V2/Billing/MeterEventAdjustments.js';
|
|
@@ -34,22 +54,36 @@ import { MeterEventSession as V2BillingMeterEventSession } from './resources/V2/
|
|
|
34
54
|
import { MeterEventStream as V2BillingMeterEventStream } from './resources/V2/Billing/MeterEventStream.js';
|
|
35
55
|
import { MeterEvents as BillingMeterEvents } from './resources/Billing/MeterEvents.js';
|
|
36
56
|
import { MeterEvents as V2BillingMeterEvents } from './resources/V2/Billing/MeterEvents.js';
|
|
57
|
+
import { MeterUsage as BillingAnalyticsMeterUsage } from './resources/Billing/Analytics/MeterUsage.js';
|
|
37
58
|
import { Meters as BillingMeters } from './resources/Billing/Meters.js';
|
|
59
|
+
import { OffSessionPayments as V2PaymentsOffSessionPayments } from './resources/V2/Payments/OffSessionPayments.js';
|
|
60
|
+
import { OnboardingLinks as TerminalOnboardingLinks } from './resources/Terminal/OnboardingLinks.js';
|
|
38
61
|
import { Orders as ClimateOrders } from './resources/Climate/Orders.js';
|
|
62
|
+
import { OutboundPaymentQuotes as V2MoneyManagementOutboundPaymentQuotes } from './resources/V2/MoneyManagement/OutboundPaymentQuotes.js';
|
|
39
63
|
import { OutboundPayments as TestHelpersTreasuryOutboundPayments } from './resources/TestHelpers/Treasury/OutboundPayments.js';
|
|
40
64
|
import { OutboundPayments as TreasuryOutboundPayments } from './resources/Treasury/OutboundPayments.js';
|
|
65
|
+
import { OutboundPayments as V2MoneyManagementOutboundPayments } from './resources/V2/MoneyManagement/OutboundPayments.js';
|
|
66
|
+
import { OutboundSetupIntents as V2MoneyManagementOutboundSetupIntents } from './resources/V2/MoneyManagement/OutboundSetupIntents.js';
|
|
41
67
|
import { OutboundTransfers as TestHelpersTreasuryOutboundTransfers } from './resources/TestHelpers/Treasury/OutboundTransfers.js';
|
|
42
68
|
import { OutboundTransfers as TreasuryOutboundTransfers } from './resources/Treasury/OutboundTransfers.js';
|
|
69
|
+
import { OutboundTransfers as V2MoneyManagementOutboundTransfers } from './resources/V2/MoneyManagement/OutboundTransfers.js';
|
|
70
|
+
import { PayoutMethods as V2MoneyManagementPayoutMethods } from './resources/V2/MoneyManagement/PayoutMethods.js';
|
|
71
|
+
import { PayoutMethodsBankAccountSpec as V2MoneyManagementPayoutMethodsBankAccountSpec } from './resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js';
|
|
43
72
|
import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
|
|
44
73
|
import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } from './resources/TestHelpers/Issuing/PersonalizationDesigns.js';
|
|
45
74
|
import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
|
|
46
75
|
import { Products as ClimateProducts } from './resources/Climate/Products.js';
|
|
76
|
+
import { Profiles as V2BillingProfiles } from './resources/V2/Billing/Profiles.js';
|
|
77
|
+
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
|
|
47
78
|
import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
|
|
48
79
|
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
|
|
49
80
|
import { ReceivedCredits as TestHelpersTreasuryReceivedCredits } from './resources/TestHelpers/Treasury/ReceivedCredits.js';
|
|
50
81
|
import { ReceivedCredits as TreasuryReceivedCredits } from './resources/Treasury/ReceivedCredits.js';
|
|
82
|
+
import { ReceivedCredits as V2MoneyManagementReceivedCredits } from './resources/V2/MoneyManagement/ReceivedCredits.js';
|
|
51
83
|
import { ReceivedDebits as TestHelpersTreasuryReceivedDebits } from './resources/TestHelpers/Treasury/ReceivedDebits.js';
|
|
52
84
|
import { ReceivedDebits as TreasuryReceivedDebits } from './resources/Treasury/ReceivedDebits.js';
|
|
85
|
+
import { ReceivedDebits as V2MoneyManagementReceivedDebits } from './resources/V2/MoneyManagement/ReceivedDebits.js';
|
|
86
|
+
import { RedactionJobs as PrivacyRedactionJobs } from './resources/Privacy/RedactionJobs.js';
|
|
53
87
|
import { Refunds as TestHelpersRefunds } from './resources/TestHelpers/Refunds.js';
|
|
54
88
|
import { Registrations as TaxRegistrations } from './resources/Tax/Registrations.js';
|
|
55
89
|
import { ReportRuns as ReportingReportRuns } from './resources/Reporting/ReportRuns.js';
|
|
@@ -65,17 +99,21 @@ import { Suppliers as ClimateSuppliers } from './resources/Climate/Suppliers.js'
|
|
|
65
99
|
import { TestClocks as TestHelpersTestClocks } from './resources/TestHelpers/TestClocks.js';
|
|
66
100
|
import { Tokens as IssuingTokens } from './resources/Issuing/Tokens.js';
|
|
67
101
|
import { TransactionEntries as TreasuryTransactionEntries } from './resources/Treasury/TransactionEntries.js';
|
|
102
|
+
import { TransactionEntries as V2MoneyManagementTransactionEntries } from './resources/V2/MoneyManagement/TransactionEntries.js';
|
|
68
103
|
import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js';
|
|
69
104
|
import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js';
|
|
70
105
|
import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js';
|
|
71
106
|
import { Transactions as TestHelpersIssuingTransactions } from './resources/TestHelpers/Issuing/Transactions.js';
|
|
72
107
|
import { Transactions as TreasuryTransactions } from './resources/Treasury/Transactions.js';
|
|
108
|
+
import { Transactions as V2MoneyManagementTransactions } from './resources/V2/MoneyManagement/Transactions.js';
|
|
109
|
+
import { UsBankAccounts as V2CoreVaultUsBankAccounts } from './resources/V2/Core/Vault/UsBankAccounts.js';
|
|
73
110
|
import { ValueListItems as RadarValueListItems } from './resources/Radar/ValueListItems.js';
|
|
74
111
|
import { ValueLists as RadarValueLists } from './resources/Radar/ValueLists.js';
|
|
75
112
|
import { VerificationReports as IdentityVerificationReports } from './resources/Identity/VerificationReports.js';
|
|
76
113
|
import { VerificationSessions as IdentityVerificationSessions } from './resources/Identity/VerificationSessions.js';
|
|
77
114
|
export { Accounts as Account } from './resources/Accounts.js';
|
|
78
115
|
export { AccountLinks } from './resources/AccountLinks.js';
|
|
116
|
+
export { AccountNotices } from './resources/AccountNotices.js';
|
|
79
117
|
export { AccountSessions } from './resources/AccountSessions.js';
|
|
80
118
|
export { Accounts } from './resources/Accounts.js';
|
|
81
119
|
export { ApplePayDomains } from './resources/ApplePayDomains.js';
|
|
@@ -94,19 +132,25 @@ export { Disputes } from './resources/Disputes.js';
|
|
|
94
132
|
export { EphemeralKeys } from './resources/EphemeralKeys.js';
|
|
95
133
|
export { Events } from './resources/Events.js';
|
|
96
134
|
export { ExchangeRates } from './resources/ExchangeRates.js';
|
|
135
|
+
export { ExternalAccounts } from './resources/ExternalAccounts.js';
|
|
97
136
|
export { FileLinks } from './resources/FileLinks.js';
|
|
98
137
|
export { Files } from './resources/Files.js';
|
|
138
|
+
export { FxQuotes } from './resources/FxQuotes.js';
|
|
99
139
|
export { InvoiceItems } from './resources/InvoiceItems.js';
|
|
100
140
|
export { InvoicePayments } from './resources/InvoicePayments.js';
|
|
101
141
|
export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
|
|
102
142
|
export { Invoices } from './resources/Invoices.js';
|
|
103
143
|
export { Mandates } from './resources/Mandates.js';
|
|
144
|
+
export { Margins } from './resources/Margins.js';
|
|
104
145
|
export { OAuth } from './resources/OAuth.js';
|
|
146
|
+
export { Orders } from './resources/Orders.js';
|
|
147
|
+
export { PaymentAttemptRecords } from './resources/PaymentAttemptRecords.js';
|
|
105
148
|
export { PaymentIntents } from './resources/PaymentIntents.js';
|
|
106
149
|
export { PaymentLinks } from './resources/PaymentLinks.js';
|
|
107
150
|
export { PaymentMethodConfigurations } from './resources/PaymentMethodConfigurations.js';
|
|
108
151
|
export { PaymentMethodDomains } from './resources/PaymentMethodDomains.js';
|
|
109
152
|
export { PaymentMethods } from './resources/PaymentMethods.js';
|
|
153
|
+
export { PaymentRecords } from './resources/PaymentRecords.js';
|
|
110
154
|
export { Payouts } from './resources/Payouts.js';
|
|
111
155
|
export { Plans } from './resources/Plans.js';
|
|
112
156
|
export { Prices } from './resources/Prices.js';
|
|
@@ -138,11 +182,19 @@ export const Billing = resourceNamespace('billing', {
|
|
|
138
182
|
MeterEventAdjustments: BillingMeterEventAdjustments,
|
|
139
183
|
MeterEvents: BillingMeterEvents,
|
|
140
184
|
Meters: BillingMeters,
|
|
185
|
+
Analytics: resourceNamespace('analytics', {
|
|
186
|
+
MeterUsage: BillingAnalyticsMeterUsage,
|
|
187
|
+
}),
|
|
141
188
|
});
|
|
142
189
|
export const BillingPortal = resourceNamespace('billingPortal', {
|
|
143
190
|
Configurations: BillingPortalConfigurations,
|
|
144
191
|
Sessions: BillingPortalSessions,
|
|
145
192
|
});
|
|
193
|
+
export const Capital = resourceNamespace('capital', {
|
|
194
|
+
FinancingOffers: CapitalFinancingOffers,
|
|
195
|
+
FinancingSummary: CapitalFinancingSummary,
|
|
196
|
+
FinancingTransactions: CapitalFinancingTransactions,
|
|
197
|
+
});
|
|
146
198
|
export const Checkout = resourceNamespace('checkout', {
|
|
147
199
|
Sessions: CheckoutSessions,
|
|
148
200
|
});
|
|
@@ -157,6 +209,7 @@ export const Entitlements = resourceNamespace('entitlements', {
|
|
|
157
209
|
});
|
|
158
210
|
export const FinancialConnections = resourceNamespace('financialConnections', {
|
|
159
211
|
Accounts: FinancialConnectionsAccounts,
|
|
212
|
+
Institutions: FinancialConnectionsInstitutions,
|
|
160
213
|
Sessions: FinancialConnectionsSessions,
|
|
161
214
|
Transactions: FinancialConnectionsTransactions,
|
|
162
215
|
});
|
|
@@ -171,12 +224,18 @@ export const Issuing = resourceNamespace('issuing', {
|
|
|
171
224
|
Authorizations: IssuingAuthorizations,
|
|
172
225
|
Cardholders: IssuingCardholders,
|
|
173
226
|
Cards: IssuingCards,
|
|
227
|
+
CreditUnderwritingRecords: IssuingCreditUnderwritingRecords,
|
|
228
|
+
DisputeSettlementDetails: IssuingDisputeSettlementDetails,
|
|
174
229
|
Disputes: IssuingDisputes,
|
|
230
|
+
FraudLiabilityDebits: IssuingFraudLiabilityDebits,
|
|
175
231
|
PersonalizationDesigns: IssuingPersonalizationDesigns,
|
|
176
232
|
PhysicalBundles: IssuingPhysicalBundles,
|
|
177
233
|
Tokens: IssuingTokens,
|
|
178
234
|
Transactions: IssuingTransactions,
|
|
179
235
|
});
|
|
236
|
+
export const Privacy = resourceNamespace('privacy', {
|
|
237
|
+
RedactionJobs: PrivacyRedactionJobs,
|
|
238
|
+
});
|
|
180
239
|
export const Radar = resourceNamespace('radar', {
|
|
181
240
|
EarlyFraudWarnings: RadarEarlyFraudWarnings,
|
|
182
241
|
ValueListItems: RadarValueListItems,
|
|
@@ -190,7 +249,9 @@ export const Sigma = resourceNamespace('sigma', {
|
|
|
190
249
|
ScheduledQueryRuns: SigmaScheduledQueryRuns,
|
|
191
250
|
});
|
|
192
251
|
export const Tax = resourceNamespace('tax', {
|
|
252
|
+
Associations: TaxAssociations,
|
|
193
253
|
Calculations: TaxCalculations,
|
|
254
|
+
Forms: TaxForms,
|
|
194
255
|
Registrations: TaxRegistrations,
|
|
195
256
|
Settings: TaxSettings,
|
|
196
257
|
Transactions: TaxTransactions,
|
|
@@ -199,6 +260,8 @@ export const Terminal = resourceNamespace('terminal', {
|
|
|
199
260
|
Configurations: TerminalConfigurations,
|
|
200
261
|
ConnectionTokens: TerminalConnectionTokens,
|
|
201
262
|
Locations: TerminalLocations,
|
|
263
|
+
OnboardingLinks: TerminalOnboardingLinks,
|
|
264
|
+
ReaderCollectedData: TerminalReaderCollectedData,
|
|
202
265
|
Readers: TerminalReaders,
|
|
203
266
|
});
|
|
204
267
|
export const TestHelpers = resourceNamespace('testHelpers', {
|
|
@@ -237,13 +300,45 @@ export const Treasury = resourceNamespace('treasury', {
|
|
|
237
300
|
});
|
|
238
301
|
export const V2 = resourceNamespace('v2', {
|
|
239
302
|
Billing: resourceNamespace('billing', {
|
|
303
|
+
BillSettings: V2BillingBillSettings,
|
|
304
|
+
Cadences: V2BillingCadences,
|
|
305
|
+
CollectionSettings: V2BillingCollectionSettings,
|
|
240
306
|
MeterEventAdjustments: V2BillingMeterEventAdjustments,
|
|
241
307
|
MeterEventSession: V2BillingMeterEventSession,
|
|
242
308
|
MeterEventStream: V2BillingMeterEventStream,
|
|
243
309
|
MeterEvents: V2BillingMeterEvents,
|
|
310
|
+
Profiles: V2BillingProfiles,
|
|
244
311
|
}),
|
|
245
312
|
Core: resourceNamespace('core', {
|
|
313
|
+
AccountLinks: V2CoreAccountLinks,
|
|
314
|
+
Accounts: V2CoreAccounts,
|
|
246
315
|
EventDestinations: V2CoreEventDestinations,
|
|
247
316
|
Events: V2CoreEvents,
|
|
317
|
+
Vault: resourceNamespace('vault', {
|
|
318
|
+
GbBankAccounts: V2CoreVaultGbBankAccounts,
|
|
319
|
+
UsBankAccounts: V2CoreVaultUsBankAccounts,
|
|
320
|
+
}),
|
|
321
|
+
}),
|
|
322
|
+
MoneyManagement: resourceNamespace('moneyManagement', {
|
|
323
|
+
Adjustments: V2MoneyManagementAdjustments,
|
|
324
|
+
FinancialAccounts: V2MoneyManagementFinancialAccounts,
|
|
325
|
+
FinancialAddresses: V2MoneyManagementFinancialAddresses,
|
|
326
|
+
InboundTransfers: V2MoneyManagementInboundTransfers,
|
|
327
|
+
OutboundPaymentQuotes: V2MoneyManagementOutboundPaymentQuotes,
|
|
328
|
+
OutboundPayments: V2MoneyManagementOutboundPayments,
|
|
329
|
+
OutboundSetupIntents: V2MoneyManagementOutboundSetupIntents,
|
|
330
|
+
OutboundTransfers: V2MoneyManagementOutboundTransfers,
|
|
331
|
+
PayoutMethods: V2MoneyManagementPayoutMethods,
|
|
332
|
+
PayoutMethodsBankAccountSpec: V2MoneyManagementPayoutMethodsBankAccountSpec,
|
|
333
|
+
ReceivedCredits: V2MoneyManagementReceivedCredits,
|
|
334
|
+
ReceivedDebits: V2MoneyManagementReceivedDebits,
|
|
335
|
+
TransactionEntries: V2MoneyManagementTransactionEntries,
|
|
336
|
+
Transactions: V2MoneyManagementTransactions,
|
|
337
|
+
}),
|
|
338
|
+
Payment: resourceNamespace('payment', {
|
|
339
|
+
OffSessionPayments: V2PaymentsOffSessionPayments,
|
|
340
|
+
}),
|
|
341
|
+
TestHelper: resourceNamespace('testHelper', {
|
|
342
|
+
FinancialAddresses: V2TestHelpersFinancialAddresses,
|
|
248
343
|
}),
|
|
249
344
|
});
|
package/esm/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '19.0.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '19.1.0-beta.1';
|
|
38
38
|
Stripe.API_VERSION = ApiVersion;
|
|
39
39
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
40
40
|
Stripe.StripeResource = StripeResource;
|
package/package.json
CHANGED
|
@@ -62,7 +62,11 @@ declare module 'stripe' {
|
|
|
62
62
|
type FutureRequirements = 'include' | 'omit';
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
type Type =
|
|
65
|
+
type Type =
|
|
66
|
+
| 'account_onboarding'
|
|
67
|
+
| 'account_update'
|
|
68
|
+
| 'capital_financing_offer'
|
|
69
|
+
| 'capital_financing_reporting';
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
class AccountLinksResource {
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
/**
|
|
6
|
+
* A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.
|
|
7
|
+
*
|
|
8
|
+
* See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.
|
|
9
|
+
*/
|
|
10
|
+
interface AccountNotice {
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the object.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
18
|
+
*/
|
|
19
|
+
object: 'account_notice';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
23
|
+
*/
|
|
24
|
+
created: number;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* When present, the deadline for sending the notice to meet the relevant regulations.
|
|
28
|
+
*/
|
|
29
|
+
deadline: number | null;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Information about the email when sent.
|
|
33
|
+
*/
|
|
34
|
+
email: AccountNotice.Email | null;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Information about objects related to the notice.
|
|
38
|
+
*/
|
|
39
|
+
linked_objects: AccountNotice.LinkedObjects | null;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
43
|
+
*/
|
|
44
|
+
livemode: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
*/
|
|
49
|
+
metadata: Stripe.Metadata | null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Reason the notice is being sent. The reason determines what copy the notice must contain. See the [regulated customer notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.
|
|
53
|
+
*/
|
|
54
|
+
reason: AccountNotice.Reason;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.
|
|
58
|
+
*/
|
|
59
|
+
sent_at: number | null;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
namespace AccountNotice {
|
|
63
|
+
interface Email {
|
|
64
|
+
/**
|
|
65
|
+
* Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
66
|
+
*/
|
|
67
|
+
plain_text: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Email address of the recipient.
|
|
71
|
+
*/
|
|
72
|
+
recipient: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Subject of the email.
|
|
76
|
+
*/
|
|
77
|
+
subject: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface LinkedObjects {
|
|
81
|
+
/**
|
|
82
|
+
* Associated [Capability](https://stripe.com/docs/api/capabilities)
|
|
83
|
+
*/
|
|
84
|
+
capability: string | null;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Associated [Credit Underwriting Record](https://stripe.com/docs/api/issuing/credit_underwriting_record)
|
|
88
|
+
*/
|
|
89
|
+
issuing_credit_underwriting_record?: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Associated [Issuing Dispute](https://stripe.com/docs/api/issuing/disputes)
|
|
93
|
+
*/
|
|
94
|
+
issuing_dispute: string | null;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type Reason =
|
|
98
|
+
| 'issuing.account_closed_for_inactivity'
|
|
99
|
+
| 'issuing.account_closed_for_not_providing_business_model_clarification'
|
|
100
|
+
| 'issuing.account_closed_for_not_providing_url_clarification'
|
|
101
|
+
| 'issuing.account_closed_for_not_providing_use_case_clarification'
|
|
102
|
+
| 'issuing.account_closed_for_terms_of_service_violation'
|
|
103
|
+
| 'issuing.application_rejected_for_failure_to_verify'
|
|
104
|
+
| 'issuing.credit_application_rejected'
|
|
105
|
+
| 'issuing.credit_increase_application_rejected'
|
|
106
|
+
| 'issuing.credit_limit_decreased'
|
|
107
|
+
| 'issuing.credit_line_closed'
|
|
108
|
+
| 'issuing.dispute_lost'
|
|
109
|
+
| 'issuing.dispute_submitted'
|
|
110
|
+
| 'issuing.dispute_won';
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|