stripe 18.0.0 → 18.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 +1155 -242
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +91 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -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/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -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/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -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 +17 -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 +12 -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/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +102 -18
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +79 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -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/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -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/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Terminal/Readers.js +8 -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 +14 -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 +9 -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/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +79 -1
- 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 +243 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +85 -0
- package/types/BalanceSettingsResource.d.ts +108 -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/Billing/MeterErrorReports.d.ts +106 -0
- 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 +166 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +312 -3
- package/types/Checkout/SessionsResource.d.ts +244 -1
- package/types/ConfirmationTokens.d.ts +151 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +9 -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/Errors.d.ts +69 -2
- package/types/EventTypes.d.ts +596 -0
- package/types/Events.d.ts +96 -1
- package/types/ExternalAccountsResource.d.ts +219 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +31 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -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/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -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/Invoices.d.ts +141 -3
- package/types/InvoicesResource.d.ts +1545 -6
- 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 +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1189 -0
- package/types/OrdersResource.d.ts +2981 -0
- package/types/PaymentAttemptRecords.d.ts +2112 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +679 -2
- package/types/PaymentIntentsResource.d.ts +8437 -3941
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +120 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2105 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Payouts.d.ts +5 -0
- package/types/PayoutsResource.d.ts +5 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -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 +1685 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
- package/types/Quotes.d.ts +601 -1
- package/types/QuotesResource.d.ts +2565 -218
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +50 -1
- package/types/SetupIntents.d.ts +121 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +23 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1237 -9
- package/types/Subscriptions.d.ts +94 -1
- package/types/SubscriptionsResource.d.ts +384 -8
- package/types/Tax/Associations.d.ts +126 -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/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +300 -0
- package/types/Terminal/ReadersResource.d.ts +220 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +171 -0
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -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/Core/AccountLinks.d.ts +101 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3760 -0
- package/types/V2/Core/Accounts.d.ts +8057 -0
- package/types/V2/Core/AccountsResource.d.ts +10184 -0
- package/types/V2/Core/Persons.d.ts +1857 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +155 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +65 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +687 -1
- package/types/V2/FinancialAddressCreditSimulations.d.ts +22 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +27 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +105 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +540 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +287 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +201 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +141 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +93 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +273 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +92 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +246 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +146 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +82 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +280 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +219 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +151 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +166 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +72 -2
- package/types/index.d.ts +135 -5
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/InvoicePaymentsResource.d.ts +0 -74
package/cjs/resources.js
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = void 0;
|
|
4
|
+
exports.Sources = exports.ShippingRates = exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoiceItems = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
|
|
5
|
+
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Issuing = exports.Identity = exports.GiftCards = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = void 0;
|
|
6
6
|
const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
|
|
7
|
+
const AccountLinks_js_1 = require("./resources/V2/Core/AccountLinks.js");
|
|
7
8
|
const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
|
|
9
|
+
const Accounts_js_2 = require("./resources/V2/Core/Accounts.js");
|
|
8
10
|
const ActiveEntitlements_js_1 = require("./resources/Entitlements/ActiveEntitlements.js");
|
|
11
|
+
const Adjustments_js_1 = require("./resources/V2/MoneyManagement/Adjustments.js");
|
|
9
12
|
const Alerts_js_1 = require("./resources/Billing/Alerts.js");
|
|
13
|
+
const Associations_js_1 = require("./resources/Tax/Associations.js");
|
|
10
14
|
const Authorizations_js_1 = require("./resources/TestHelpers/Issuing/Authorizations.js");
|
|
11
15
|
const Authorizations_js_2 = require("./resources/Issuing/Authorizations.js");
|
|
12
16
|
const Calculations_js_1 = require("./resources/Tax/Calculations.js");
|
|
13
17
|
const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
|
|
14
18
|
const Cards_js_1 = require("./resources/TestHelpers/Issuing/Cards.js");
|
|
15
|
-
const Cards_js_2 = require("./resources/
|
|
19
|
+
const Cards_js_2 = require("./resources/GiftCards/Cards.js");
|
|
20
|
+
const Cards_js_3 = require("./resources/Issuing/Cards.js");
|
|
16
21
|
const Configurations_js_1 = require("./resources/BillingPortal/Configurations.js");
|
|
17
22
|
const Configurations_js_2 = require("./resources/Terminal/Configurations.js");
|
|
18
23
|
const ConfirmationTokens_js_1 = require("./resources/TestHelpers/ConfirmationTokens.js");
|
|
@@ -21,16 +26,29 @@ const CreditBalanceSummary_js_1 = require("./resources/Billing/CreditBalanceSumm
|
|
|
21
26
|
const CreditBalanceTransactions_js_1 = require("./resources/Billing/CreditBalanceTransactions.js");
|
|
22
27
|
const CreditGrants_js_1 = require("./resources/Billing/CreditGrants.js");
|
|
23
28
|
const CreditReversals_js_1 = require("./resources/Treasury/CreditReversals.js");
|
|
29
|
+
const CreditUnderwritingRecords_js_1 = require("./resources/Issuing/CreditUnderwritingRecords.js");
|
|
24
30
|
const Customers_js_1 = require("./resources/TestHelpers/Customers.js");
|
|
25
31
|
const DebitReversals_js_1 = require("./resources/Treasury/DebitReversals.js");
|
|
32
|
+
const DisputeSettlementDetails_js_1 = require("./resources/Issuing/DisputeSettlementDetails.js");
|
|
26
33
|
const Disputes_js_1 = require("./resources/Issuing/Disputes.js");
|
|
27
34
|
const EarlyFraudWarnings_js_1 = require("./resources/Radar/EarlyFraudWarnings.js");
|
|
28
35
|
const EventDestinations_js_1 = require("./resources/V2/Core/EventDestinations.js");
|
|
29
36
|
const Events_js_1 = require("./resources/V2/Core/Events.js");
|
|
30
37
|
const Features_js_1 = require("./resources/Entitlements/Features.js");
|
|
31
38
|
const FinancialAccounts_js_1 = require("./resources/Treasury/FinancialAccounts.js");
|
|
39
|
+
const FinancialAccounts_js_2 = require("./resources/V2/MoneyManagement/FinancialAccounts.js");
|
|
40
|
+
const FinancialAddresses_js_1 = require("./resources/V2/MoneyManagement/FinancialAddresses.js");
|
|
41
|
+
const FinancialAddresses_js_2 = require("./resources/V2/TestHelpers/FinancialAddresses.js");
|
|
42
|
+
const FinancingOffers_js_1 = require("./resources/Capital/FinancingOffers.js");
|
|
43
|
+
const FinancingSummary_js_1 = require("./resources/Capital/FinancingSummary.js");
|
|
44
|
+
const FinancingTransactions_js_1 = require("./resources/Capital/FinancingTransactions.js");
|
|
45
|
+
const Forms_js_1 = require("./resources/Tax/Forms.js");
|
|
46
|
+
const FraudLiabilityDebits_js_1 = require("./resources/Issuing/FraudLiabilityDebits.js");
|
|
47
|
+
const GbBankAccounts_js_1 = require("./resources/V2/Core/Vault/GbBankAccounts.js");
|
|
32
48
|
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js");
|
|
33
49
|
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
|
|
50
|
+
const InboundTransfers_js_3 = require("./resources/V2/MoneyManagement/InboundTransfers.js");
|
|
51
|
+
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
|
|
34
52
|
const Locations_js_1 = require("./resources/Terminal/Locations.js");
|
|
35
53
|
const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
|
|
36
54
|
const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
|
|
@@ -40,20 +58,29 @@ const MeterEvents_js_1 = require("./resources/Billing/MeterEvents.js");
|
|
|
40
58
|
const MeterEvents_js_2 = require("./resources/V2/Billing/MeterEvents.js");
|
|
41
59
|
const Meters_js_1 = require("./resources/Billing/Meters.js");
|
|
42
60
|
const Orders_js_1 = require("./resources/Climate/Orders.js");
|
|
61
|
+
const OutboundPaymentQuotes_js_1 = require("./resources/V2/MoneyManagement/OutboundPaymentQuotes.js");
|
|
43
62
|
const OutboundPayments_js_1 = require("./resources/TestHelpers/Treasury/OutboundPayments.js");
|
|
44
63
|
const OutboundPayments_js_2 = require("./resources/Treasury/OutboundPayments.js");
|
|
64
|
+
const OutboundPayments_js_3 = require("./resources/V2/MoneyManagement/OutboundPayments.js");
|
|
65
|
+
const OutboundSetupIntents_js_1 = require("./resources/V2/MoneyManagement/OutboundSetupIntents.js");
|
|
45
66
|
const OutboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/OutboundTransfers.js");
|
|
46
67
|
const OutboundTransfers_js_2 = require("./resources/Treasury/OutboundTransfers.js");
|
|
68
|
+
const OutboundTransfers_js_3 = require("./resources/V2/MoneyManagement/OutboundTransfers.js");
|
|
69
|
+
const PayoutMethods_js_1 = require("./resources/V2/MoneyManagement/PayoutMethods.js");
|
|
70
|
+
const PayoutMethodsBankAccountSpec_js_1 = require("./resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js");
|
|
47
71
|
const PersonalizationDesigns_js_1 = require("./resources/TestHelpers/Issuing/PersonalizationDesigns.js");
|
|
48
72
|
const PersonalizationDesigns_js_2 = require("./resources/Issuing/PersonalizationDesigns.js");
|
|
49
73
|
const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
|
|
50
74
|
const Products_js_1 = require("./resources/Climate/Products.js");
|
|
75
|
+
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
|
|
51
76
|
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js");
|
|
52
77
|
const Readers_js_2 = require("./resources/Terminal/Readers.js");
|
|
53
78
|
const ReceivedCredits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedCredits.js");
|
|
54
79
|
const ReceivedCredits_js_2 = require("./resources/Treasury/ReceivedCredits.js");
|
|
80
|
+
const ReceivedCredits_js_3 = require("./resources/V2/MoneyManagement/ReceivedCredits.js");
|
|
55
81
|
const ReceivedDebits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedDebits.js");
|
|
56
82
|
const ReceivedDebits_js_2 = require("./resources/Treasury/ReceivedDebits.js");
|
|
83
|
+
const ReceivedDebits_js_3 = require("./resources/V2/MoneyManagement/ReceivedDebits.js");
|
|
57
84
|
const Refunds_js_1 = require("./resources/TestHelpers/Refunds.js");
|
|
58
85
|
const Registrations_js_1 = require("./resources/Tax/Registrations.js");
|
|
59
86
|
const ReportRuns_js_1 = require("./resources/Reporting/ReportRuns.js");
|
|
@@ -69,29 +96,37 @@ const Suppliers_js_1 = require("./resources/Climate/Suppliers.js");
|
|
|
69
96
|
const TestClocks_js_1 = require("./resources/TestHelpers/TestClocks.js");
|
|
70
97
|
const Tokens_js_1 = require("./resources/Issuing/Tokens.js");
|
|
71
98
|
const TransactionEntries_js_1 = require("./resources/Treasury/TransactionEntries.js");
|
|
99
|
+
const TransactionEntries_js_2 = require("./resources/V2/MoneyManagement/TransactionEntries.js");
|
|
72
100
|
const Transactions_js_1 = require("./resources/TestHelpers/Issuing/Transactions.js");
|
|
73
101
|
const Transactions_js_2 = require("./resources/FinancialConnections/Transactions.js");
|
|
74
|
-
const Transactions_js_3 = require("./resources/
|
|
75
|
-
const Transactions_js_4 = require("./resources/
|
|
76
|
-
const Transactions_js_5 = require("./resources/
|
|
102
|
+
const Transactions_js_3 = require("./resources/GiftCards/Transactions.js");
|
|
103
|
+
const Transactions_js_4 = require("./resources/Issuing/Transactions.js");
|
|
104
|
+
const Transactions_js_5 = require("./resources/Tax/Transactions.js");
|
|
105
|
+
const Transactions_js_6 = require("./resources/Treasury/Transactions.js");
|
|
106
|
+
const Transactions_js_7 = require("./resources/V2/MoneyManagement/Transactions.js");
|
|
107
|
+
const UsBankAccounts_js_1 = require("./resources/V2/Core/Vault/UsBankAccounts.js");
|
|
77
108
|
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js");
|
|
78
109
|
const ValueLists_js_1 = require("./resources/Radar/ValueLists.js");
|
|
79
110
|
const VerificationReports_js_1 = require("./resources/Identity/VerificationReports.js");
|
|
80
111
|
const VerificationSessions_js_1 = require("./resources/Identity/VerificationSessions.js");
|
|
81
|
-
var
|
|
82
|
-
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return
|
|
83
|
-
var
|
|
84
|
-
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return
|
|
112
|
+
var Accounts_js_3 = require("./resources/Accounts.js");
|
|
113
|
+
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Accounts_js_3.Accounts; } });
|
|
114
|
+
var AccountLinks_js_2 = require("./resources/AccountLinks.js");
|
|
115
|
+
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return AccountLinks_js_2.AccountLinks; } });
|
|
116
|
+
var AccountNotices_js_1 = require("./resources/AccountNotices.js");
|
|
117
|
+
Object.defineProperty(exports, "AccountNotices", { enumerable: true, get: function () { return AccountNotices_js_1.AccountNotices; } });
|
|
85
118
|
var AccountSessions_js_1 = require("./resources/AccountSessions.js");
|
|
86
119
|
Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } });
|
|
87
|
-
var
|
|
88
|
-
Object.defineProperty(exports, "Accounts", { enumerable: true, get: function () { return
|
|
120
|
+
var Accounts_js_4 = require("./resources/Accounts.js");
|
|
121
|
+
Object.defineProperty(exports, "Accounts", { enumerable: true, get: function () { return Accounts_js_4.Accounts; } });
|
|
89
122
|
var ApplePayDomains_js_1 = require("./resources/ApplePayDomains.js");
|
|
90
123
|
Object.defineProperty(exports, "ApplePayDomains", { enumerable: true, get: function () { return ApplePayDomains_js_1.ApplePayDomains; } });
|
|
91
124
|
var ApplicationFees_js_1 = require("./resources/ApplicationFees.js");
|
|
92
125
|
Object.defineProperty(exports, "ApplicationFees", { enumerable: true, get: function () { return ApplicationFees_js_1.ApplicationFees; } });
|
|
93
126
|
var Balance_js_1 = require("./resources/Balance.js");
|
|
94
127
|
Object.defineProperty(exports, "Balance", { enumerable: true, get: function () { return Balance_js_1.Balance; } });
|
|
128
|
+
var BalanceSettings_js_1 = require("./resources/BalanceSettings.js");
|
|
129
|
+
Object.defineProperty(exports, "BalanceSettings", { enumerable: true, get: function () { return BalanceSettings_js_1.BalanceSettings; } });
|
|
95
130
|
var BalanceTransactions_js_1 = require("./resources/BalanceTransactions.js");
|
|
96
131
|
Object.defineProperty(exports, "BalanceTransactions", { enumerable: true, get: function () { return BalanceTransactions_js_1.BalanceTransactions; } });
|
|
97
132
|
var Charges_js_1 = require("./resources/Charges.js");
|
|
@@ -116,22 +151,28 @@ var Events_js_2 = require("./resources/Events.js");
|
|
|
116
151
|
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return Events_js_2.Events; } });
|
|
117
152
|
var ExchangeRates_js_1 = require("./resources/ExchangeRates.js");
|
|
118
153
|
Object.defineProperty(exports, "ExchangeRates", { enumerable: true, get: function () { return ExchangeRates_js_1.ExchangeRates; } });
|
|
154
|
+
var ExternalAccounts_js_1 = require("./resources/ExternalAccounts.js");
|
|
155
|
+
Object.defineProperty(exports, "ExternalAccounts", { enumerable: true, get: function () { return ExternalAccounts_js_1.ExternalAccounts; } });
|
|
119
156
|
var FileLinks_js_1 = require("./resources/FileLinks.js");
|
|
120
157
|
Object.defineProperty(exports, "FileLinks", { enumerable: true, get: function () { return FileLinks_js_1.FileLinks; } });
|
|
121
158
|
var Files_js_1 = require("./resources/Files.js");
|
|
122
159
|
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return Files_js_1.Files; } });
|
|
123
160
|
var InvoiceItems_js_1 = require("./resources/InvoiceItems.js");
|
|
124
161
|
Object.defineProperty(exports, "InvoiceItems", { enumerable: true, get: function () { return InvoiceItems_js_1.InvoiceItems; } });
|
|
125
|
-
var InvoicePayments_js_1 = require("./resources/InvoicePayments.js");
|
|
126
|
-
Object.defineProperty(exports, "InvoicePayments", { enumerable: true, get: function () { return InvoicePayments_js_1.InvoicePayments; } });
|
|
127
162
|
var InvoiceRenderingTemplates_js_1 = require("./resources/InvoiceRenderingTemplates.js");
|
|
128
163
|
Object.defineProperty(exports, "InvoiceRenderingTemplates", { enumerable: true, get: function () { return InvoiceRenderingTemplates_js_1.InvoiceRenderingTemplates; } });
|
|
129
164
|
var Invoices_js_1 = require("./resources/Invoices.js");
|
|
130
165
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return Invoices_js_1.Invoices; } });
|
|
131
166
|
var Mandates_js_1 = require("./resources/Mandates.js");
|
|
132
167
|
Object.defineProperty(exports, "Mandates", { enumerable: true, get: function () { return Mandates_js_1.Mandates; } });
|
|
168
|
+
var Margins_js_1 = require("./resources/Margins.js");
|
|
169
|
+
Object.defineProperty(exports, "Margins", { enumerable: true, get: function () { return Margins_js_1.Margins; } });
|
|
133
170
|
var OAuth_js_1 = require("./resources/OAuth.js");
|
|
134
171
|
Object.defineProperty(exports, "OAuth", { enumerable: true, get: function () { return OAuth_js_1.OAuth; } });
|
|
172
|
+
var Orders_js_2 = require("./resources/Orders.js");
|
|
173
|
+
Object.defineProperty(exports, "Orders", { enumerable: true, get: function () { return Orders_js_2.Orders; } });
|
|
174
|
+
var PaymentAttemptRecords_js_1 = require("./resources/PaymentAttemptRecords.js");
|
|
175
|
+
Object.defineProperty(exports, "PaymentAttemptRecords", { enumerable: true, get: function () { return PaymentAttemptRecords_js_1.PaymentAttemptRecords; } });
|
|
135
176
|
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
|
|
136
177
|
Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } });
|
|
137
178
|
var PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
|
|
@@ -142,6 +183,8 @@ var PaymentMethodDomains_js_1 = require("./resources/PaymentMethodDomains.js");
|
|
|
142
183
|
Object.defineProperty(exports, "PaymentMethodDomains", { enumerable: true, get: function () { return PaymentMethodDomains_js_1.PaymentMethodDomains; } });
|
|
143
184
|
var PaymentMethods_js_1 = require("./resources/PaymentMethods.js");
|
|
144
185
|
Object.defineProperty(exports, "PaymentMethods", { enumerable: true, get: function () { return PaymentMethods_js_1.PaymentMethods; } });
|
|
186
|
+
var PaymentRecords_js_1 = require("./resources/PaymentRecords.js");
|
|
187
|
+
Object.defineProperty(exports, "PaymentRecords", { enumerable: true, get: function () { return PaymentRecords_js_1.PaymentRecords; } });
|
|
145
188
|
var Payouts_js_1 = require("./resources/Payouts.js");
|
|
146
189
|
Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return Payouts_js_1.Payouts; } });
|
|
147
190
|
var Plans_js_1 = require("./resources/Plans.js");
|
|
@@ -200,6 +243,11 @@ exports.BillingPortal = (0, ResourceNamespace_js_1.resourceNamespace)('billingPo
|
|
|
200
243
|
Configurations: Configurations_js_1.Configurations,
|
|
201
244
|
Sessions: Sessions_js_1.Sessions,
|
|
202
245
|
});
|
|
246
|
+
exports.Capital = (0, ResourceNamespace_js_1.resourceNamespace)('capital', {
|
|
247
|
+
FinancingOffers: FinancingOffers_js_1.FinancingOffers,
|
|
248
|
+
FinancingSummary: FinancingSummary_js_1.FinancingSummary,
|
|
249
|
+
FinancingTransactions: FinancingTransactions_js_1.FinancingTransactions,
|
|
250
|
+
});
|
|
203
251
|
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', {
|
|
204
252
|
Sessions: Sessions_js_2.Sessions,
|
|
205
253
|
});
|
|
@@ -214,12 +262,17 @@ exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlemen
|
|
|
214
262
|
});
|
|
215
263
|
exports.FinancialConnections = (0, ResourceNamespace_js_1.resourceNamespace)('financialConnections', {
|
|
216
264
|
Accounts: Accounts_js_1.Accounts,
|
|
265
|
+
Institutions: Institutions_js_1.Institutions,
|
|
217
266
|
Sessions: Sessions_js_3.Sessions,
|
|
218
267
|
Transactions: Transactions_js_2.Transactions,
|
|
219
268
|
});
|
|
220
269
|
exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding', {
|
|
221
270
|
Requests: Requests_js_1.Requests,
|
|
222
271
|
});
|
|
272
|
+
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', {
|
|
273
|
+
Cards: Cards_js_2.Cards,
|
|
274
|
+
Transactions: Transactions_js_3.Transactions,
|
|
275
|
+
});
|
|
223
276
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
224
277
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
225
278
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
@@ -227,12 +280,15 @@ exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
|
227
280
|
exports.Issuing = (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
|
|
228
281
|
Authorizations: Authorizations_js_2.Authorizations,
|
|
229
282
|
Cardholders: Cardholders_js_1.Cardholders,
|
|
230
|
-
Cards:
|
|
283
|
+
Cards: Cards_js_3.Cards,
|
|
284
|
+
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords,
|
|
285
|
+
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails,
|
|
231
286
|
Disputes: Disputes_js_1.Disputes,
|
|
287
|
+
FraudLiabilityDebits: FraudLiabilityDebits_js_1.FraudLiabilityDebits,
|
|
232
288
|
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns,
|
|
233
289
|
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles,
|
|
234
290
|
Tokens: Tokens_js_1.Tokens,
|
|
235
|
-
Transactions:
|
|
291
|
+
Transactions: Transactions_js_4.Transactions,
|
|
236
292
|
});
|
|
237
293
|
exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', {
|
|
238
294
|
EarlyFraudWarnings: EarlyFraudWarnings_js_1.EarlyFraudWarnings,
|
|
@@ -247,15 +303,18 @@ exports.Sigma = (0, ResourceNamespace_js_1.resourceNamespace)('sigma', {
|
|
|
247
303
|
ScheduledQueryRuns: ScheduledQueryRuns_js_1.ScheduledQueryRuns,
|
|
248
304
|
});
|
|
249
305
|
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
|
|
306
|
+
Associations: Associations_js_1.Associations,
|
|
250
307
|
Calculations: Calculations_js_1.Calculations,
|
|
308
|
+
Forms: Forms_js_1.Forms,
|
|
251
309
|
Registrations: Registrations_js_1.Registrations,
|
|
252
310
|
Settings: Settings_js_1.Settings,
|
|
253
|
-
Transactions:
|
|
311
|
+
Transactions: Transactions_js_5.Transactions,
|
|
254
312
|
});
|
|
255
313
|
exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
|
|
256
314
|
Configurations: Configurations_js_2.Configurations,
|
|
257
315
|
ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
|
|
258
316
|
Locations: Locations_js_1.Locations,
|
|
317
|
+
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
|
|
259
318
|
Readers: Readers_js_2.Readers,
|
|
260
319
|
});
|
|
261
320
|
exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers', {
|
|
@@ -290,7 +349,7 @@ exports.Treasury = (0, ResourceNamespace_js_1.resourceNamespace)('treasury', {
|
|
|
290
349
|
ReceivedCredits: ReceivedCredits_js_2.ReceivedCredits,
|
|
291
350
|
ReceivedDebits: ReceivedDebits_js_2.ReceivedDebits,
|
|
292
351
|
TransactionEntries: TransactionEntries_js_1.TransactionEntries,
|
|
293
|
-
Transactions:
|
|
352
|
+
Transactions: Transactions_js_6.Transactions,
|
|
294
353
|
});
|
|
295
354
|
exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
|
|
296
355
|
Billing: (0, ResourceNamespace_js_1.resourceNamespace)('billing', {
|
|
@@ -300,7 +359,32 @@ exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
|
|
|
300
359
|
MeterEvents: MeterEvents_js_2.MeterEvents,
|
|
301
360
|
}),
|
|
302
361
|
Core: (0, ResourceNamespace_js_1.resourceNamespace)('core', {
|
|
362
|
+
AccountLinks: AccountLinks_js_1.AccountLinks,
|
|
363
|
+
Accounts: Accounts_js_2.Accounts,
|
|
303
364
|
EventDestinations: EventDestinations_js_1.EventDestinations,
|
|
304
365
|
Events: Events_js_1.Events,
|
|
366
|
+
Vault: (0, ResourceNamespace_js_1.resourceNamespace)('vault', {
|
|
367
|
+
GbBankAccounts: GbBankAccounts_js_1.GbBankAccounts,
|
|
368
|
+
UsBankAccounts: UsBankAccounts_js_1.UsBankAccounts,
|
|
369
|
+
}),
|
|
370
|
+
}),
|
|
371
|
+
MoneyManagement: (0, ResourceNamespace_js_1.resourceNamespace)('moneyManagement', {
|
|
372
|
+
Adjustments: Adjustments_js_1.Adjustments,
|
|
373
|
+
FinancialAccounts: FinancialAccounts_js_2.FinancialAccounts,
|
|
374
|
+
FinancialAddresses: FinancialAddresses_js_1.FinancialAddresses,
|
|
375
|
+
InboundTransfers: InboundTransfers_js_3.InboundTransfers,
|
|
376
|
+
OutboundPaymentQuotes: OutboundPaymentQuotes_js_1.OutboundPaymentQuotes,
|
|
377
|
+
OutboundPayments: OutboundPayments_js_3.OutboundPayments,
|
|
378
|
+
OutboundSetupIntents: OutboundSetupIntents_js_1.OutboundSetupIntents,
|
|
379
|
+
OutboundTransfers: OutboundTransfers_js_3.OutboundTransfers,
|
|
380
|
+
PayoutMethods: PayoutMethods_js_1.PayoutMethods,
|
|
381
|
+
PayoutMethodsBankAccountSpec: PayoutMethodsBankAccountSpec_js_1.PayoutMethodsBankAccountSpec,
|
|
382
|
+
ReceivedCredits: ReceivedCredits_js_3.ReceivedCredits,
|
|
383
|
+
ReceivedDebits: ReceivedDebits_js_3.ReceivedDebits,
|
|
384
|
+
TransactionEntries: TransactionEntries_js_2.TransactionEntries,
|
|
385
|
+
Transactions: Transactions_js_7.Transactions,
|
|
386
|
+
}),
|
|
387
|
+
TestHelper: (0, ResourceNamespace_js_1.resourceNamespace)('testHelper', {
|
|
388
|
+
FinancialAddresses: FinancialAddresses_js_2.FinancialAddresses,
|
|
305
389
|
}),
|
|
306
390
|
});
|
package/cjs/stripe.core.js
CHANGED
|
@@ -36,7 +36,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
36
36
|
];
|
|
37
37
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
38
38
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
39
|
-
Stripe.PACKAGE_VERSION = '18.0.
|
|
39
|
+
Stripe.PACKAGE_VERSION = '18.1.0-beta.1';
|
|
40
40
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
41
41
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
|
42
42
|
Stripe.resources = resources;
|
package/esm/Error.js
CHANGED
|
@@ -26,6 +26,28 @@ export const generateV2Error = (rawStripeError) => {
|
|
|
26
26
|
// switchCases: The beginning of the section generated from our OpenAPI spec
|
|
27
27
|
case 'temporary_session_expired':
|
|
28
28
|
return new TemporarySessionExpiredError(rawStripeError);
|
|
29
|
+
case 'financial_account_not_open':
|
|
30
|
+
return new FinancialAccountNotOpenError(rawStripeError);
|
|
31
|
+
case 'blocked_by_stripe':
|
|
32
|
+
return new BlockedByStripeError(rawStripeError);
|
|
33
|
+
case 'already_canceled':
|
|
34
|
+
return new AlreadyCanceledError(rawStripeError);
|
|
35
|
+
case 'not_cancelable':
|
|
36
|
+
return new NotCancelableError(rawStripeError);
|
|
37
|
+
case 'insufficient_funds':
|
|
38
|
+
return new InsufficientFundsError(rawStripeError);
|
|
39
|
+
case 'quota_exceeded':
|
|
40
|
+
return new QuotaExceededError(rawStripeError);
|
|
41
|
+
case 'recipient_not_notifiable':
|
|
42
|
+
return new RecipientNotNotifiableError(rawStripeError);
|
|
43
|
+
case 'feature_not_enabled':
|
|
44
|
+
return new FeatureNotEnabledError(rawStripeError);
|
|
45
|
+
case 'invalid_payout_method':
|
|
46
|
+
return new InvalidPayoutMethodError(rawStripeError);
|
|
47
|
+
case 'controlled_by_dashboard':
|
|
48
|
+
return new ControlledByDashboardError(rawStripeError);
|
|
49
|
+
case 'invalid_payment_method':
|
|
50
|
+
return new InvalidPaymentMethodError(rawStripeError);
|
|
29
51
|
// switchCases: The end of the section generated from our OpenAPI spec
|
|
30
52
|
}
|
|
31
53
|
// Special handling for requests with missing required fields in V2 APIs.
|
|
@@ -182,4 +204,61 @@ export class TemporarySessionExpiredError extends StripeError {
|
|
|
182
204
|
super(rawStripeError, 'TemporarySessionExpiredError');
|
|
183
205
|
}
|
|
184
206
|
}
|
|
207
|
+
export class FinancialAccountNotOpenError extends StripeError {
|
|
208
|
+
constructor(rawStripeError = {}) {
|
|
209
|
+
super(rawStripeError, 'FinancialAccountNotOpenError');
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
export class BlockedByStripeError extends StripeError {
|
|
213
|
+
constructor(rawStripeError = {}) {
|
|
214
|
+
super(rawStripeError, 'BlockedByStripeError');
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
export class AlreadyCanceledError extends StripeError {
|
|
218
|
+
constructor(rawStripeError = {}) {
|
|
219
|
+
super(rawStripeError, 'AlreadyCanceledError');
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
export class NotCancelableError extends StripeError {
|
|
223
|
+
constructor(rawStripeError = {}) {
|
|
224
|
+
super(rawStripeError, 'NotCancelableError');
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
export class InsufficientFundsError extends StripeError {
|
|
228
|
+
constructor(rawStripeError = {}) {
|
|
229
|
+
super(rawStripeError, 'InsufficientFundsError');
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
export class QuotaExceededError extends StripeError {
|
|
233
|
+
constructor(rawStripeError = {}) {
|
|
234
|
+
super(rawStripeError, 'QuotaExceededError');
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
export class RecipientNotNotifiableError extends StripeError {
|
|
238
|
+
constructor(rawStripeError = {}) {
|
|
239
|
+
super(rawStripeError, 'RecipientNotNotifiableError');
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class FeatureNotEnabledError extends StripeError {
|
|
243
|
+
constructor(rawStripeError = {}) {
|
|
244
|
+
super(rawStripeError, 'FeatureNotEnabledError');
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
export class InvalidPayoutMethodError extends StripeError {
|
|
248
|
+
constructor(rawStripeError = {}) {
|
|
249
|
+
super(rawStripeError, 'InvalidPayoutMethodError');
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
export class ControlledByDashboardError extends StripeError {
|
|
253
|
+
constructor(rawStripeError = {}) {
|
|
254
|
+
super(rawStripeError, 'ControlledByDashboardError');
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
export class InvalidPaymentMethodError extends StripeError {
|
|
258
|
+
constructor(rawStripeError) {
|
|
259
|
+
super(rawStripeError, 'InvalidPaymentMethodError');
|
|
260
|
+
// @ts-ignore
|
|
261
|
+
this.invalid_param = this.raw.invalid_param;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
185
264
|
// classDefinitions: The end of the section generated from our OpenAPI spec
|
package/esm/apiVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec
|
|
2
|
-
export const ApiVersion = '2025-03-31.
|
|
2
|
+
export const ApiVersion = '2025-03-31.preview';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const AccountNotices = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/account_notices/{account_notice}',
|
|
8
|
+
}),
|
|
9
|
+
update: stripeMethod({
|
|
10
|
+
method: 'POST',
|
|
11
|
+
fullPath: '/v1/account_notices/{account_notice}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v1/account_notices',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const BalanceSettings = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/balance_settings' }),
|
|
6
|
+
update: stripeMethod({ method: 'POST', fullPath: '/v1/balance_settings' }),
|
|
7
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const FinancingOffers = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/capital/financing_offers/{financing_offer}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/capital/financing_offers',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
markDelivered: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v1/capital/financing_offers/{financing_offer}/mark_delivered',
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
@@ -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 FinancingSummary = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/capital/financing_summary',
|
|
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 FinancingTransactions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/capital/financing_transactions/{financing_transaction}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/capital/financing_transactions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ExternalAccounts = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v1/external_accounts' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v1/external_accounts/{id}',
|
|
9
|
+
}),
|
|
10
|
+
update: stripeMethod({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
fullPath: '/v1/external_accounts/{id}',
|
|
13
|
+
}),
|
|
14
|
+
list: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v1/external_accounts',
|
|
17
|
+
methodType: 'list',
|
|
18
|
+
}),
|
|
19
|
+
del: stripeMethod({ method: 'DELETE', fullPath: '/v1/external_accounts/{id}' }),
|
|
20
|
+
});
|
|
@@ -15,6 +15,11 @@ export const Accounts = StripeResource.extend({
|
|
|
15
15
|
method: 'POST',
|
|
16
16
|
fullPath: '/v1/financial_connections/accounts/{account}/disconnect',
|
|
17
17
|
}),
|
|
18
|
+
listInferredBalances: stripeMethod({
|
|
19
|
+
method: 'GET',
|
|
20
|
+
fullPath: '/v1/financial_connections/accounts/{account}/inferred_balances',
|
|
21
|
+
methodType: 'list',
|
|
22
|
+
}),
|
|
18
23
|
listOwners: stripeMethod({
|
|
19
24
|
method: 'GET',
|
|
20
25
|
fullPath: '/v1/financial_connections/accounts/{account}/owners',
|
|
@@ -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 Institutions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/financial_connections/institutions/{institution}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/financial_connections/institutions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Cards = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v1/gift_cards/cards/{id}',
|
|
9
|
+
}),
|
|
10
|
+
update: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards/{id}' }),
|
|
11
|
+
list: stripeMethod({
|
|
12
|
+
method: 'GET',
|
|
13
|
+
fullPath: '/v1/gift_cards/cards',
|
|
14
|
+
methodType: 'list',
|
|
15
|
+
}),
|
|
16
|
+
validate: stripeMethod({
|
|
17
|
+
method: 'POST',
|
|
18
|
+
fullPath: '/v1/gift_cards/cards/validate',
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v1/gift_cards/transactions',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/gift_cards/transactions/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v1/gift_cards/transactions/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v1/gift_cards/transactions',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
cancel: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/gift_cards/transactions/{id}/cancel',
|
|
25
|
+
}),
|
|
26
|
+
confirm: stripeMethod({
|
|
27
|
+
method: 'POST',
|
|
28
|
+
fullPath: '/v1/gift_cards/transactions/{id}/confirm',
|
|
29
|
+
}),
|
|
30
|
+
});
|
|
@@ -15,6 +15,14 @@ export const Invoices = StripeResource.extend({
|
|
|
15
15
|
method: 'POST',
|
|
16
16
|
fullPath: '/v1/invoices/{invoice}/add_lines',
|
|
17
17
|
}),
|
|
18
|
+
attachPayment: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v1/invoices/{invoice}/attach_payment',
|
|
21
|
+
}),
|
|
22
|
+
attachPaymentIntent: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/invoices/{invoice}/attach_payment_intent',
|
|
25
|
+
}),
|
|
18
26
|
createPreview: stripeMethod({
|
|
19
27
|
method: 'POST',
|
|
20
28
|
fullPath: '/v1/invoices/create_preview',
|
|
@@ -28,6 +36,11 @@ export const Invoices = StripeResource.extend({
|
|
|
28
36
|
fullPath: '/v1/invoices/{invoice}/lines',
|
|
29
37
|
methodType: 'list',
|
|
30
38
|
}),
|
|
39
|
+
listPayments: stripeMethod({
|
|
40
|
+
method: 'GET',
|
|
41
|
+
fullPath: '/v1/invoices/{invoice}/payments',
|
|
42
|
+
methodType: 'list',
|
|
43
|
+
}),
|
|
31
44
|
markUncollectible: stripeMethod({
|
|
32
45
|
method: 'POST',
|
|
33
46
|
fullPath: '/v1/invoices/{invoice}/mark_uncollectible',
|
|
@@ -37,6 +50,10 @@ export const Invoices = StripeResource.extend({
|
|
|
37
50
|
method: 'POST',
|
|
38
51
|
fullPath: '/v1/invoices/{invoice}/remove_lines',
|
|
39
52
|
}),
|
|
53
|
+
retrievePayment: stripeMethod({
|
|
54
|
+
method: 'GET',
|
|
55
|
+
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}',
|
|
56
|
+
}),
|
|
40
57
|
search: stripeMethod({
|
|
41
58
|
method: 'GET',
|
|
42
59
|
fullPath: '/v1/invoices/search',
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const CreditUnderwritingRecords = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/issuing/credit_underwriting_records',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
correct: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct',
|
|
17
|
+
}),
|
|
18
|
+
createFromApplication: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v1/issuing/credit_underwriting_records/create_from_application',
|
|
21
|
+
}),
|
|
22
|
+
createFromProactiveReview: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/issuing/credit_underwriting_records/create_from_proactive_review',
|
|
25
|
+
}),
|
|
26
|
+
reportDecision: stripeMethod({
|
|
27
|
+
method: 'POST',
|
|
28
|
+
fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision',
|
|
29
|
+
}),
|
|
30
|
+
});
|