stripe 17.6.0 → 17.7.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 +1068 -109
- package/OPENAPI_VERSION +1 -0
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -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/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/PaymentAttemptRecords.js +17 -0
- 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.js +48 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -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/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/PaymentAttemptRecords.js +14 -0
- 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.js +33 -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 +243 -0
- package/types/Accounts.d.ts +205 -1
- package/types/AccountsResource.d.ts +526 -2
- package/types/Balance.d.ts +18 -18
- package/types/Billing/CreditBalanceSummaryResource.d.ts +14 -0
- package/types/Billing/CreditGrants.d.ts +15 -1
- package/types/Billing/CreditGrantsResource.d.ts +14 -0
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/MeterEventSummaries.d.ts +2 -0
- 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/Charges.d.ts +151 -3
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +362 -9
- package/types/Checkout/SessionsResource.d.ts +465 -5
- package/types/ConfirmationTokens.d.ts +103 -4
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +23 -2
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +7 -0
- package/types/EventTypes.d.ts +596 -0
- package/types/Events.d.ts +93 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -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/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +28 -1
- package/types/InvoicePayments.d.ts +113 -0
- package/types/Invoices.d.ts +139 -4
- package/types/InvoicesResource.d.ts +4618 -933
- package/types/Issuing/Authorizations.d.ts +1 -0
- 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 +73 -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 +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +34 -2
- 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 +1179 -0
- package/types/OrdersResource.d.ts +2961 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +644 -1
- package/types/PaymentIntentsResource.d.ts +8027 -3740
- 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 +103 -4
- package/types/PaymentMethodsResource.d.ts +133 -0
- package/types/PaymentRecords.d.ts +242 -0
- package/types/PaymentRecordsResource.d.ts +455 -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/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1658 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
- package/types/Quotes.d.ts +597 -7
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +16 -2
- package/types/SetupAttempts.d.ts +38 -0
- package/types/SetupIntents.d.ts +111 -1
- package/types/SetupIntentsResource.d.ts +648 -6
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +91 -1
- package/types/SubscriptionsResource.d.ts +369 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -1
- package/types/Tax/Calculations.d.ts +1 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Transactions.d.ts +1 -1
- package/types/TaxRates.d.ts +3 -3
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +290 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +3 -1
- 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/WebhookEndpointsResource.d.ts +70 -0
- package/types/index.d.ts +62 -0
package/cjs/resources.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
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 = void 0;
|
|
4
|
+
exports.SubscriptionSchedules = exports.SubscriptionItems = 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.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = 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 = void 0;
|
|
6
6
|
const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
|
|
7
7
|
const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
|
|
8
8
|
const ActiveEntitlements_js_1 = require("./resources/Entitlements/ActiveEntitlements.js");
|
|
9
9
|
const Alerts_js_1 = require("./resources/Billing/Alerts.js");
|
|
10
|
+
const Associations_js_1 = require("./resources/Tax/Associations.js");
|
|
10
11
|
const Authorizations_js_1 = require("./resources/TestHelpers/Issuing/Authorizations.js");
|
|
11
12
|
const Authorizations_js_2 = require("./resources/Issuing/Authorizations.js");
|
|
12
13
|
const Calculations_js_1 = require("./resources/Tax/Calculations.js");
|
|
13
14
|
const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
|
|
14
15
|
const Cards_js_1 = require("./resources/TestHelpers/Issuing/Cards.js");
|
|
15
|
-
const Cards_js_2 = require("./resources/
|
|
16
|
+
const Cards_js_2 = require("./resources/GiftCards/Cards.js");
|
|
17
|
+
const Cards_js_3 = require("./resources/Issuing/Cards.js");
|
|
16
18
|
const Configurations_js_1 = require("./resources/BillingPortal/Configurations.js");
|
|
17
19
|
const Configurations_js_2 = require("./resources/Terminal/Configurations.js");
|
|
18
20
|
const ConfirmationTokens_js_1 = require("./resources/TestHelpers/ConfirmationTokens.js");
|
|
@@ -21,16 +23,24 @@ const CreditBalanceSummary_js_1 = require("./resources/Billing/CreditBalanceSumm
|
|
|
21
23
|
const CreditBalanceTransactions_js_1 = require("./resources/Billing/CreditBalanceTransactions.js");
|
|
22
24
|
const CreditGrants_js_1 = require("./resources/Billing/CreditGrants.js");
|
|
23
25
|
const CreditReversals_js_1 = require("./resources/Treasury/CreditReversals.js");
|
|
26
|
+
const CreditUnderwritingRecords_js_1 = require("./resources/Issuing/CreditUnderwritingRecords.js");
|
|
24
27
|
const Customers_js_1 = require("./resources/TestHelpers/Customers.js");
|
|
25
28
|
const DebitReversals_js_1 = require("./resources/Treasury/DebitReversals.js");
|
|
29
|
+
const DisputeSettlementDetails_js_1 = require("./resources/Issuing/DisputeSettlementDetails.js");
|
|
26
30
|
const Disputes_js_1 = require("./resources/Issuing/Disputes.js");
|
|
27
31
|
const EarlyFraudWarnings_js_1 = require("./resources/Radar/EarlyFraudWarnings.js");
|
|
28
32
|
const EventDestinations_js_1 = require("./resources/V2/Core/EventDestinations.js");
|
|
29
33
|
const Events_js_1 = require("./resources/V2/Core/Events.js");
|
|
30
34
|
const Features_js_1 = require("./resources/Entitlements/Features.js");
|
|
31
35
|
const FinancialAccounts_js_1 = require("./resources/Treasury/FinancialAccounts.js");
|
|
36
|
+
const FinancingOffers_js_1 = require("./resources/Capital/FinancingOffers.js");
|
|
37
|
+
const FinancingSummary_js_1 = require("./resources/Capital/FinancingSummary.js");
|
|
38
|
+
const FinancingTransactions_js_1 = require("./resources/Capital/FinancingTransactions.js");
|
|
39
|
+
const Forms_js_1 = require("./resources/Tax/Forms.js");
|
|
40
|
+
const FraudLiabilityDebits_js_1 = require("./resources/Issuing/FraudLiabilityDebits.js");
|
|
32
41
|
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js");
|
|
33
42
|
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
|
|
43
|
+
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
|
|
34
44
|
const Locations_js_1 = require("./resources/Terminal/Locations.js");
|
|
35
45
|
const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
|
|
36
46
|
const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
|
|
@@ -48,6 +58,7 @@ const PersonalizationDesigns_js_1 = require("./resources/TestHelpers/Issuing/Per
|
|
|
48
58
|
const PersonalizationDesigns_js_2 = require("./resources/Issuing/PersonalizationDesigns.js");
|
|
49
59
|
const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
|
|
50
60
|
const Products_js_1 = require("./resources/Climate/Products.js");
|
|
61
|
+
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
|
|
51
62
|
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js");
|
|
52
63
|
const Readers_js_2 = require("./resources/Terminal/Readers.js");
|
|
53
64
|
const ReceivedCredits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedCredits.js");
|
|
@@ -71,9 +82,10 @@ const Tokens_js_1 = require("./resources/Issuing/Tokens.js");
|
|
|
71
82
|
const TransactionEntries_js_1 = require("./resources/Treasury/TransactionEntries.js");
|
|
72
83
|
const Transactions_js_1 = require("./resources/TestHelpers/Issuing/Transactions.js");
|
|
73
84
|
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/
|
|
85
|
+
const Transactions_js_3 = require("./resources/GiftCards/Transactions.js");
|
|
86
|
+
const Transactions_js_4 = require("./resources/Issuing/Transactions.js");
|
|
87
|
+
const Transactions_js_5 = require("./resources/Tax/Transactions.js");
|
|
88
|
+
const Transactions_js_6 = require("./resources/Treasury/Transactions.js");
|
|
77
89
|
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js");
|
|
78
90
|
const ValueLists_js_1 = require("./resources/Radar/ValueLists.js");
|
|
79
91
|
const VerificationReports_js_1 = require("./resources/Identity/VerificationReports.js");
|
|
@@ -82,6 +94,8 @@ var Accounts_js_2 = require("./resources/Accounts.js");
|
|
|
82
94
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Accounts_js_2.Accounts; } });
|
|
83
95
|
var AccountLinks_js_1 = require("./resources/AccountLinks.js");
|
|
84
96
|
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return AccountLinks_js_1.AccountLinks; } });
|
|
97
|
+
var AccountNotices_js_1 = require("./resources/AccountNotices.js");
|
|
98
|
+
Object.defineProperty(exports, "AccountNotices", { enumerable: true, get: function () { return AccountNotices_js_1.AccountNotices; } });
|
|
85
99
|
var AccountSessions_js_1 = require("./resources/AccountSessions.js");
|
|
86
100
|
Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } });
|
|
87
101
|
var Accounts_js_3 = require("./resources/Accounts.js");
|
|
@@ -128,8 +142,14 @@ var Invoices_js_1 = require("./resources/Invoices.js");
|
|
|
128
142
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return Invoices_js_1.Invoices; } });
|
|
129
143
|
var Mandates_js_1 = require("./resources/Mandates.js");
|
|
130
144
|
Object.defineProperty(exports, "Mandates", { enumerable: true, get: function () { return Mandates_js_1.Mandates; } });
|
|
145
|
+
var Margins_js_1 = require("./resources/Margins.js");
|
|
146
|
+
Object.defineProperty(exports, "Margins", { enumerable: true, get: function () { return Margins_js_1.Margins; } });
|
|
131
147
|
var OAuth_js_1 = require("./resources/OAuth.js");
|
|
132
148
|
Object.defineProperty(exports, "OAuth", { enumerable: true, get: function () { return OAuth_js_1.OAuth; } });
|
|
149
|
+
var Orders_js_2 = require("./resources/Orders.js");
|
|
150
|
+
Object.defineProperty(exports, "Orders", { enumerable: true, get: function () { return Orders_js_2.Orders; } });
|
|
151
|
+
var PaymentAttemptRecords_js_1 = require("./resources/PaymentAttemptRecords.js");
|
|
152
|
+
Object.defineProperty(exports, "PaymentAttemptRecords", { enumerable: true, get: function () { return PaymentAttemptRecords_js_1.PaymentAttemptRecords; } });
|
|
133
153
|
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
|
|
134
154
|
Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } });
|
|
135
155
|
var PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
|
|
@@ -140,6 +160,8 @@ var PaymentMethodDomains_js_1 = require("./resources/PaymentMethodDomains.js");
|
|
|
140
160
|
Object.defineProperty(exports, "PaymentMethodDomains", { enumerable: true, get: function () { return PaymentMethodDomains_js_1.PaymentMethodDomains; } });
|
|
141
161
|
var PaymentMethods_js_1 = require("./resources/PaymentMethods.js");
|
|
142
162
|
Object.defineProperty(exports, "PaymentMethods", { enumerable: true, get: function () { return PaymentMethods_js_1.PaymentMethods; } });
|
|
163
|
+
var PaymentRecords_js_1 = require("./resources/PaymentRecords.js");
|
|
164
|
+
Object.defineProperty(exports, "PaymentRecords", { enumerable: true, get: function () { return PaymentRecords_js_1.PaymentRecords; } });
|
|
143
165
|
var Payouts_js_1 = require("./resources/Payouts.js");
|
|
144
166
|
Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return Payouts_js_1.Payouts; } });
|
|
145
167
|
var Plans_js_1 = require("./resources/Plans.js");
|
|
@@ -198,6 +220,11 @@ exports.BillingPortal = (0, ResourceNamespace_js_1.resourceNamespace)('billingPo
|
|
|
198
220
|
Configurations: Configurations_js_1.Configurations,
|
|
199
221
|
Sessions: Sessions_js_1.Sessions,
|
|
200
222
|
});
|
|
223
|
+
exports.Capital = (0, ResourceNamespace_js_1.resourceNamespace)('capital', {
|
|
224
|
+
FinancingOffers: FinancingOffers_js_1.FinancingOffers,
|
|
225
|
+
FinancingSummary: FinancingSummary_js_1.FinancingSummary,
|
|
226
|
+
FinancingTransactions: FinancingTransactions_js_1.FinancingTransactions,
|
|
227
|
+
});
|
|
201
228
|
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', {
|
|
202
229
|
Sessions: Sessions_js_2.Sessions,
|
|
203
230
|
});
|
|
@@ -212,12 +239,17 @@ exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlemen
|
|
|
212
239
|
});
|
|
213
240
|
exports.FinancialConnections = (0, ResourceNamespace_js_1.resourceNamespace)('financialConnections', {
|
|
214
241
|
Accounts: Accounts_js_1.Accounts,
|
|
242
|
+
Institutions: Institutions_js_1.Institutions,
|
|
215
243
|
Sessions: Sessions_js_3.Sessions,
|
|
216
244
|
Transactions: Transactions_js_2.Transactions,
|
|
217
245
|
});
|
|
218
246
|
exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding', {
|
|
219
247
|
Requests: Requests_js_1.Requests,
|
|
220
248
|
});
|
|
249
|
+
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', {
|
|
250
|
+
Cards: Cards_js_2.Cards,
|
|
251
|
+
Transactions: Transactions_js_3.Transactions,
|
|
252
|
+
});
|
|
221
253
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
222
254
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
223
255
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
@@ -225,12 +257,15 @@ exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
|
225
257
|
exports.Issuing = (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
|
|
226
258
|
Authorizations: Authorizations_js_2.Authorizations,
|
|
227
259
|
Cardholders: Cardholders_js_1.Cardholders,
|
|
228
|
-
Cards:
|
|
260
|
+
Cards: Cards_js_3.Cards,
|
|
261
|
+
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords,
|
|
262
|
+
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails,
|
|
229
263
|
Disputes: Disputes_js_1.Disputes,
|
|
264
|
+
FraudLiabilityDebits: FraudLiabilityDebits_js_1.FraudLiabilityDebits,
|
|
230
265
|
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns,
|
|
231
266
|
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles,
|
|
232
267
|
Tokens: Tokens_js_1.Tokens,
|
|
233
|
-
Transactions:
|
|
268
|
+
Transactions: Transactions_js_4.Transactions,
|
|
234
269
|
});
|
|
235
270
|
exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', {
|
|
236
271
|
EarlyFraudWarnings: EarlyFraudWarnings_js_1.EarlyFraudWarnings,
|
|
@@ -245,15 +280,18 @@ exports.Sigma = (0, ResourceNamespace_js_1.resourceNamespace)('sigma', {
|
|
|
245
280
|
ScheduledQueryRuns: ScheduledQueryRuns_js_1.ScheduledQueryRuns,
|
|
246
281
|
});
|
|
247
282
|
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
|
|
283
|
+
Associations: Associations_js_1.Associations,
|
|
248
284
|
Calculations: Calculations_js_1.Calculations,
|
|
285
|
+
Forms: Forms_js_1.Forms,
|
|
249
286
|
Registrations: Registrations_js_1.Registrations,
|
|
250
287
|
Settings: Settings_js_1.Settings,
|
|
251
|
-
Transactions:
|
|
288
|
+
Transactions: Transactions_js_5.Transactions,
|
|
252
289
|
});
|
|
253
290
|
exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
|
|
254
291
|
Configurations: Configurations_js_2.Configurations,
|
|
255
292
|
ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
|
|
256
293
|
Locations: Locations_js_1.Locations,
|
|
294
|
+
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
|
|
257
295
|
Readers: Readers_js_2.Readers,
|
|
258
296
|
});
|
|
259
297
|
exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers', {
|
|
@@ -288,7 +326,7 @@ exports.Treasury = (0, ResourceNamespace_js_1.resourceNamespace)('treasury', {
|
|
|
288
326
|
ReceivedCredits: ReceivedCredits_js_2.ReceivedCredits,
|
|
289
327
|
ReceivedDebits: ReceivedDebits_js_2.ReceivedDebits,
|
|
290
328
|
TransactionEntries: TransactionEntries_js_1.TransactionEntries,
|
|
291
|
-
Transactions:
|
|
329
|
+
Transactions: Transactions_js_6.Transactions,
|
|
292
330
|
});
|
|
293
331
|
exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
|
|
294
332
|
Billing: (0, ResourceNamespace_js_1.resourceNamespace)('billing', {
|
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 = '17.
|
|
39
|
+
Stripe.PACKAGE_VERSION = '17.7.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;
|
|
@@ -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,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
|
+
});
|
|
@@ -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
|
listUpcomingLines: stripeMethod({
|
|
32
45
|
method: 'GET',
|
|
33
46
|
fullPath: '/v1/invoices/upcoming/lines',
|
|
@@ -42,6 +55,10 @@ export const Invoices = StripeResource.extend({
|
|
|
42
55
|
method: 'POST',
|
|
43
56
|
fullPath: '/v1/invoices/{invoice}/remove_lines',
|
|
44
57
|
}),
|
|
58
|
+
retrievePayment: stripeMethod({
|
|
59
|
+
method: 'GET',
|
|
60
|
+
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}',
|
|
61
|
+
}),
|
|
45
62
|
retrieveUpcoming: stripeMethod({
|
|
46
63
|
method: 'GET',
|
|
47
64
|
fullPath: '/v1/invoices/upcoming',
|
|
@@ -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
|
+
});
|
|
@@ -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 DisputeSettlementDetails = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/issuing/dispute_settlement_details/{dispute_settlement_detail}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/issuing/dispute_settlement_details',
|
|
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 FraudLiabilityDebits = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/issuing/fraud_liability_debits/{fraud_liability_debit}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/issuing/fraud_liability_debits',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Margins = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/margins' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v1/billing/margins/{margin}',
|
|
9
|
+
}),
|
|
10
|
+
update: stripeMethod({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
fullPath: '/v1/billing/margins/{margin}',
|
|
13
|
+
}),
|
|
14
|
+
list: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v1/billing/margins',
|
|
17
|
+
methodType: 'list',
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Orders = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v1/orders' }),
|
|
6
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/orders/{id}' }),
|
|
7
|
+
update: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}' }),
|
|
8
|
+
list: stripeMethod({
|
|
9
|
+
method: 'GET',
|
|
10
|
+
fullPath: '/v1/orders',
|
|
11
|
+
methodType: 'list',
|
|
12
|
+
}),
|
|
13
|
+
cancel: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/cancel' }),
|
|
14
|
+
listLineItems: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v1/orders/{id}/line_items',
|
|
17
|
+
methodType: 'list',
|
|
18
|
+
}),
|
|
19
|
+
reopen: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/reopen' }),
|
|
20
|
+
submit: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/submit' }),
|
|
21
|
+
});
|
|
@@ -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 PaymentAttemptRecords = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/payment_attempt_records/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v1/payment_attempt_records',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -32,6 +32,10 @@ export const PaymentIntents = StripeResource.extend({
|
|
|
32
32
|
method: 'POST',
|
|
33
33
|
fullPath: '/v1/payment_intents/{intent}/confirm',
|
|
34
34
|
}),
|
|
35
|
+
decrementAuthorization: stripeMethod({
|
|
36
|
+
method: 'POST',
|
|
37
|
+
fullPath: '/v1/payment_intents/{intent}/decrement_authorization',
|
|
38
|
+
}),
|
|
35
39
|
incrementAuthorization: stripeMethod({
|
|
36
40
|
method: 'POST',
|
|
37
41
|
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
|
|
@@ -41,6 +45,10 @@ export const PaymentIntents = StripeResource.extend({
|
|
|
41
45
|
fullPath: '/v1/payment_intents/search',
|
|
42
46
|
methodType: 'search',
|
|
43
47
|
}),
|
|
48
|
+
triggerAction: stripeMethod({
|
|
49
|
+
method: 'POST',
|
|
50
|
+
fullPath: '/v1/test/payment_intents/{intent}/trigger_action',
|
|
51
|
+
}),
|
|
44
52
|
verifyMicrodeposits: stripeMethod({
|
|
45
53
|
method: 'POST',
|
|
46
54
|
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
|
|
@@ -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 PaymentRecords = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/payment_records/{id}' }),
|
|
6
|
+
reportPayment: stripeMethod({
|
|
7
|
+
method: 'POST',
|
|
8
|
+
fullPath: '/v1/payment_records/report_payment',
|
|
9
|
+
}),
|
|
10
|
+
reportPaymentAttempt: stripeMethod({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
fullPath: '/v1/payment_records/{id}/report_payment_attempt',
|
|
13
|
+
}),
|
|
14
|
+
reportPaymentAttemptCanceled: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v1/payment_records/{id}/report_payment_attempt_canceled',
|
|
17
|
+
}),
|
|
18
|
+
reportPaymentAttemptFailed: stripeMethod({
|
|
19
|
+
method: 'POST',
|
|
20
|
+
fullPath: '/v1/payment_records/{id}/report_payment_attempt_failed',
|
|
21
|
+
}),
|
|
22
|
+
reportPaymentAttemptGuaranteed: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/payment_records/{id}/report_payment_attempt_guaranteed',
|
|
25
|
+
}),
|
|
26
|
+
});
|
package/esm/resources/Quotes.js
CHANGED
|
@@ -16,6 +16,11 @@ export const Quotes = StripeResource.extend({
|
|
|
16
16
|
method: 'POST',
|
|
17
17
|
fullPath: '/v1/quotes/{quote}/finalize',
|
|
18
18
|
}),
|
|
19
|
+
listPreviewInvoiceLines: stripeMethod({
|
|
20
|
+
method: 'GET',
|
|
21
|
+
fullPath: '/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines',
|
|
22
|
+
methodType: 'list',
|
|
23
|
+
}),
|
|
19
24
|
listComputedUpfrontLineItems: stripeMethod({
|
|
20
25
|
method: 'GET',
|
|
21
26
|
fullPath: '/v1/quotes/{quote}/computed_upfront_line_items',
|
|
@@ -26,10 +31,37 @@ export const Quotes = StripeResource.extend({
|
|
|
26
31
|
fullPath: '/v1/quotes/{quote}/line_items',
|
|
27
32
|
methodType: 'list',
|
|
28
33
|
}),
|
|
34
|
+
listLines: stripeMethod({
|
|
35
|
+
method: 'GET',
|
|
36
|
+
fullPath: '/v1/quotes/{quote}/lines',
|
|
37
|
+
methodType: 'list',
|
|
38
|
+
}),
|
|
39
|
+
listPreviewInvoices: stripeMethod({
|
|
40
|
+
method: 'GET',
|
|
41
|
+
fullPath: '/v1/quotes/{quote}/preview_invoices',
|
|
42
|
+
methodType: 'list',
|
|
43
|
+
}),
|
|
44
|
+
listPreviewSubscriptionSchedules: stripeMethod({
|
|
45
|
+
method: 'GET',
|
|
46
|
+
fullPath: '/v1/quotes/{quote}/preview_subscription_schedules',
|
|
47
|
+
methodType: 'list',
|
|
48
|
+
}),
|
|
49
|
+
markDraft: stripeMethod({
|
|
50
|
+
method: 'POST',
|
|
51
|
+
fullPath: '/v1/quotes/{quote}/mark_draft',
|
|
52
|
+
}),
|
|
53
|
+
markStale: stripeMethod({
|
|
54
|
+
method: 'POST',
|
|
55
|
+
fullPath: '/v1/quotes/{quote}/mark_stale',
|
|
56
|
+
}),
|
|
29
57
|
pdf: stripeMethod({
|
|
30
58
|
method: 'GET',
|
|
31
59
|
fullPath: '/v1/quotes/{quote}/pdf',
|
|
32
60
|
host: 'files.stripe.com',
|
|
33
61
|
streaming: true,
|
|
34
62
|
}),
|
|
63
|
+
reestimate: stripeMethod({
|
|
64
|
+
method: 'POST',
|
|
65
|
+
fullPath: '/v1/quotes/{quote}/reestimate',
|
|
66
|
+
}),
|
|
35
67
|
});
|
|
@@ -19,6 +19,10 @@ export const SubscriptionSchedules = StripeResource.extend({
|
|
|
19
19
|
fullPath: '/v1/subscription_schedules',
|
|
20
20
|
methodType: 'list',
|
|
21
21
|
}),
|
|
22
|
+
amend: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/subscription_schedules/{schedule}/amend',
|
|
25
|
+
}),
|
|
22
26
|
cancel: stripeMethod({
|
|
23
27
|
method: 'POST',
|
|
24
28
|
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Associations = StripeResource.extend({
|
|
5
|
+
find: stripeMethod({ method: 'GET', fullPath: '/v1/tax/associations/find' }),
|
|
6
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Forms = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax/forms/{id}' }),
|
|
6
|
+
list: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v1/tax/forms',
|
|
9
|
+
methodType: 'list',
|
|
10
|
+
}),
|
|
11
|
+
pdf: stripeMethod({
|
|
12
|
+
method: 'GET',
|
|
13
|
+
fullPath: '/v1/tax/forms/{id}/pdf',
|
|
14
|
+
host: 'files.stripe.com',
|
|
15
|
+
streaming: true,
|
|
16
|
+
}),
|
|
17
|
+
});
|