stripe 17.2.1 → 17.3.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 +925 -114
- package/README.md +4 -4
- 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/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -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/Issuing/Cards.js +4 -0
- package/cjs/resources.js +42 -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/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -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/Issuing/Cards.js +4 -0
- package/esm/resources.js +29 -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 +75 -5
- package/types/AccountSessionsResource.d.ts +354 -5
- package/types/Accounts.d.ts +211 -3
- package/types/AccountsResource.d.ts +584 -2
- package/types/Billing/CreditBalanceSummary.d.ts +4 -4
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
- package/types/Billing/CreditGrants.d.ts +11 -8
- package/types/Billing/CreditGrantsResource.d.ts +6 -6
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/BillingPortal/Configurations.d.ts +22 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +56 -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/Charges.d.ts +168 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +360 -5
- package/types/ConfirmationTokens.d.ts +157 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +24 -0
- package/types/CreditNotesResource.d.ts +54 -3
- package/types/CustomersResource.d.ts +27 -3
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +564 -2
- package/types/Events.d.ts +91 -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/Forwarding/Requests.d.ts +5 -0
- package/types/Forwarding/RequestsResource.d.ts +5 -0
- 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 +31 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +139 -3
- package/types/InvoicesResource.d.ts +5488 -1799
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CardsResource.d.ts +1 -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/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 +7 -0
- package/types/Mandates.d.ts +85 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +697 -1
- package/types/PaymentIntentsResource.d.ts +7977 -3377
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +102 -2
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +157 -0
- package/types/PaymentMethodsResource.d.ts +195 -1
- package/types/Persons.d.ts +1 -1
- 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 +1601 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +4 -0
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +768 -6
- package/types/Sources.d.ts +23 -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 +87 -1
- package/types/SubscriptionsResource.d.ts +359 -4
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +33 -1
- package/types/Tax/CalculationsResource.d.ts +7 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Registrations.d.ts +82 -0
- package/types/Tax/RegistrationsResource.d.ts +109 -0
- package/types/Tax/Transactions.d.ts +8 -1
- package/types/TaxIds.d.ts +7 -1
- package/types/TaxIdsResource.d.ts +7 -1
- package/types/TaxRates.d.ts +25 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +145 -1
- package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +2 -2
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- 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/UsageRecordSummaries.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +66 -0
- package/types/index.d.ts +53 -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.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.V2 = exports.Transfers = exports.Topups = void 0;
|
|
4
|
+
exports.TaxCodes = exports.Subscriptions = 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.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = 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.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.V2 = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = 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,14 +23,21 @@ 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 Features_js_1 = require("./resources/Entitlements/Features.js");
|
|
29
33
|
const FinancialAccounts_js_1 = require("./resources/Treasury/FinancialAccounts.js");
|
|
34
|
+
const FinancingOffers_js_1 = require("./resources/Capital/FinancingOffers.js");
|
|
35
|
+
const FinancingSummary_js_1 = require("./resources/Capital/FinancingSummary.js");
|
|
36
|
+
const FinancingTransactions_js_1 = require("./resources/Capital/FinancingTransactions.js");
|
|
37
|
+
const Forms_js_1 = require("./resources/Tax/Forms.js");
|
|
30
38
|
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js");
|
|
31
39
|
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
|
|
40
|
+
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
|
|
32
41
|
const Locations_js_1 = require("./resources/Terminal/Locations.js");
|
|
33
42
|
const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
|
|
34
43
|
const MeterEvents_js_1 = require("./resources/Billing/MeterEvents.js");
|
|
@@ -42,6 +51,7 @@ const PersonalizationDesigns_js_1 = require("./resources/TestHelpers/Issuing/Per
|
|
|
42
51
|
const PersonalizationDesigns_js_2 = require("./resources/Issuing/PersonalizationDesigns.js");
|
|
43
52
|
const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
|
|
44
53
|
const Products_js_1 = require("./resources/Climate/Products.js");
|
|
54
|
+
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
|
|
45
55
|
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js");
|
|
46
56
|
const Readers_js_2 = require("./resources/Terminal/Readers.js");
|
|
47
57
|
const ReceivedCredits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedCredits.js");
|
|
@@ -65,9 +75,10 @@ const Tokens_js_1 = require("./resources/Issuing/Tokens.js");
|
|
|
65
75
|
const TransactionEntries_js_1 = require("./resources/Treasury/TransactionEntries.js");
|
|
66
76
|
const Transactions_js_1 = require("./resources/TestHelpers/Issuing/Transactions.js");
|
|
67
77
|
const Transactions_js_2 = require("./resources/FinancialConnections/Transactions.js");
|
|
68
|
-
const Transactions_js_3 = require("./resources/
|
|
69
|
-
const Transactions_js_4 = require("./resources/
|
|
70
|
-
const Transactions_js_5 = require("./resources/
|
|
78
|
+
const Transactions_js_3 = require("./resources/GiftCards/Transactions.js");
|
|
79
|
+
const Transactions_js_4 = require("./resources/Issuing/Transactions.js");
|
|
80
|
+
const Transactions_js_5 = require("./resources/Tax/Transactions.js");
|
|
81
|
+
const Transactions_js_6 = require("./resources/Treasury/Transactions.js");
|
|
71
82
|
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js");
|
|
72
83
|
const ValueLists_js_1 = require("./resources/Radar/ValueLists.js");
|
|
73
84
|
const VerificationReports_js_1 = require("./resources/Identity/VerificationReports.js");
|
|
@@ -76,6 +87,8 @@ var Accounts_js_2 = require("./resources/Accounts.js");
|
|
|
76
87
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Accounts_js_2.Accounts; } });
|
|
77
88
|
var AccountLinks_js_1 = require("./resources/AccountLinks.js");
|
|
78
89
|
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return AccountLinks_js_1.AccountLinks; } });
|
|
90
|
+
var AccountNotices_js_1 = require("./resources/AccountNotices.js");
|
|
91
|
+
Object.defineProperty(exports, "AccountNotices", { enumerable: true, get: function () { return AccountNotices_js_1.AccountNotices; } });
|
|
79
92
|
var AccountSessions_js_1 = require("./resources/AccountSessions.js");
|
|
80
93
|
Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } });
|
|
81
94
|
var Accounts_js_3 = require("./resources/Accounts.js");
|
|
@@ -122,8 +135,12 @@ var Invoices_js_1 = require("./resources/Invoices.js");
|
|
|
122
135
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return Invoices_js_1.Invoices; } });
|
|
123
136
|
var Mandates_js_1 = require("./resources/Mandates.js");
|
|
124
137
|
Object.defineProperty(exports, "Mandates", { enumerable: true, get: function () { return Mandates_js_1.Mandates; } });
|
|
138
|
+
var Margins_js_1 = require("./resources/Margins.js");
|
|
139
|
+
Object.defineProperty(exports, "Margins", { enumerable: true, get: function () { return Margins_js_1.Margins; } });
|
|
125
140
|
var OAuth_js_1 = require("./resources/OAuth.js");
|
|
126
141
|
Object.defineProperty(exports, "OAuth", { enumerable: true, get: function () { return OAuth_js_1.OAuth; } });
|
|
142
|
+
var Orders_js_2 = require("./resources/Orders.js");
|
|
143
|
+
Object.defineProperty(exports, "Orders", { enumerable: true, get: function () { return Orders_js_2.Orders; } });
|
|
127
144
|
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
|
|
128
145
|
Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } });
|
|
129
146
|
var PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
|
|
@@ -194,6 +211,11 @@ exports.BillingPortal = (0, ResourceNamespace_js_1.resourceNamespace)('billingPo
|
|
|
194
211
|
Configurations: Configurations_js_1.Configurations,
|
|
195
212
|
Sessions: Sessions_js_1.Sessions,
|
|
196
213
|
});
|
|
214
|
+
exports.Capital = (0, ResourceNamespace_js_1.resourceNamespace)('capital', {
|
|
215
|
+
FinancingOffers: FinancingOffers_js_1.FinancingOffers,
|
|
216
|
+
FinancingSummary: FinancingSummary_js_1.FinancingSummary,
|
|
217
|
+
FinancingTransactions: FinancingTransactions_js_1.FinancingTransactions,
|
|
218
|
+
});
|
|
197
219
|
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', {
|
|
198
220
|
Sessions: Sessions_js_2.Sessions,
|
|
199
221
|
});
|
|
@@ -208,12 +230,17 @@ exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlemen
|
|
|
208
230
|
});
|
|
209
231
|
exports.FinancialConnections = (0, ResourceNamespace_js_1.resourceNamespace)('financialConnections', {
|
|
210
232
|
Accounts: Accounts_js_1.Accounts,
|
|
233
|
+
Institutions: Institutions_js_1.Institutions,
|
|
211
234
|
Sessions: Sessions_js_3.Sessions,
|
|
212
235
|
Transactions: Transactions_js_2.Transactions,
|
|
213
236
|
});
|
|
214
237
|
exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding', {
|
|
215
238
|
Requests: Requests_js_1.Requests,
|
|
216
239
|
});
|
|
240
|
+
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', {
|
|
241
|
+
Cards: Cards_js_2.Cards,
|
|
242
|
+
Transactions: Transactions_js_3.Transactions,
|
|
243
|
+
});
|
|
217
244
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
218
245
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
219
246
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
@@ -221,12 +248,14 @@ exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
|
221
248
|
exports.Issuing = (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
|
|
222
249
|
Authorizations: Authorizations_js_2.Authorizations,
|
|
223
250
|
Cardholders: Cardholders_js_1.Cardholders,
|
|
224
|
-
Cards:
|
|
251
|
+
Cards: Cards_js_3.Cards,
|
|
252
|
+
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords,
|
|
253
|
+
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails,
|
|
225
254
|
Disputes: Disputes_js_1.Disputes,
|
|
226
255
|
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns,
|
|
227
256
|
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles,
|
|
228
257
|
Tokens: Tokens_js_1.Tokens,
|
|
229
|
-
Transactions:
|
|
258
|
+
Transactions: Transactions_js_4.Transactions,
|
|
230
259
|
});
|
|
231
260
|
exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', {
|
|
232
261
|
EarlyFraudWarnings: EarlyFraudWarnings_js_1.EarlyFraudWarnings,
|
|
@@ -241,15 +270,18 @@ exports.Sigma = (0, ResourceNamespace_js_1.resourceNamespace)('sigma', {
|
|
|
241
270
|
ScheduledQueryRuns: ScheduledQueryRuns_js_1.ScheduledQueryRuns,
|
|
242
271
|
});
|
|
243
272
|
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
|
|
273
|
+
Associations: Associations_js_1.Associations,
|
|
244
274
|
Calculations: Calculations_js_1.Calculations,
|
|
275
|
+
Forms: Forms_js_1.Forms,
|
|
245
276
|
Registrations: Registrations_js_1.Registrations,
|
|
246
277
|
Settings: Settings_js_1.Settings,
|
|
247
|
-
Transactions:
|
|
278
|
+
Transactions: Transactions_js_5.Transactions,
|
|
248
279
|
});
|
|
249
280
|
exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
|
|
250
281
|
Configurations: Configurations_js_2.Configurations,
|
|
251
282
|
ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
|
|
252
283
|
Locations: Locations_js_1.Locations,
|
|
284
|
+
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
|
|
253
285
|
Readers: Readers_js_2.Readers,
|
|
254
286
|
});
|
|
255
287
|
exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers', {
|
|
@@ -284,5 +316,5 @@ exports.Treasury = (0, ResourceNamespace_js_1.resourceNamespace)('treasury', {
|
|
|
284
316
|
ReceivedCredits: ReceivedCredits_js_2.ReceivedCredits,
|
|
285
317
|
ReceivedDebits: ReceivedDebits_js_2.ReceivedDebits,
|
|
286
318
|
TransactionEntries: TransactionEntries_js_1.TransactionEntries,
|
|
287
|
-
Transactions:
|
|
319
|
+
Transactions: Transactions_js_6.Transactions,
|
|
288
320
|
});
|
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.3.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,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
|
+
});
|
|
@@ -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',
|
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
|
+
});
|
|
@@ -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 ReaderCollectedData = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/terminal/reader_collected_data/{reader_collected_data}',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -24,6 +24,18 @@ export const Readers = StripeResource.extend({
|
|
|
24
24
|
method: 'POST',
|
|
25
25
|
fullPath: '/v1/terminal/readers/{reader}/cancel_action',
|
|
26
26
|
}),
|
|
27
|
+
collectInputs: stripeMethod({
|
|
28
|
+
method: 'POST',
|
|
29
|
+
fullPath: '/v1/terminal/readers/{reader}/collect_inputs',
|
|
30
|
+
}),
|
|
31
|
+
collectPaymentMethod: stripeMethod({
|
|
32
|
+
method: 'POST',
|
|
33
|
+
fullPath: '/v1/terminal/readers/{reader}/collect_payment_method',
|
|
34
|
+
}),
|
|
35
|
+
confirmPaymentIntent: stripeMethod({
|
|
36
|
+
method: 'POST',
|
|
37
|
+
fullPath: '/v1/terminal/readers/{reader}/confirm_payment_intent',
|
|
38
|
+
}),
|
|
27
39
|
processPaymentIntent: stripeMethod({
|
|
28
40
|
method: 'POST',
|
|
29
41
|
fullPath: '/v1/terminal/readers/{reader}/process_payment_intent',
|
|
@@ -18,4 +18,8 @@ export const Cards = StripeResource.extend({
|
|
|
18
18
|
method: 'POST',
|
|
19
19
|
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/ship',
|
|
20
20
|
}),
|
|
21
|
+
submitCard: stripeMethod({
|
|
22
|
+
method: 'POST',
|
|
23
|
+
fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/submit',
|
|
24
|
+
}),
|
|
21
25
|
});
|