stripe 17.3.1 → 17.4.0-beta.2
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 +967 -109
- 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/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 +68 -14
- 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 +51 -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 +50 -5
- package/types/AccountSessionsResource.d.ts +355 -0
- package/types/Accounts.d.ts +221 -5
- package/types/AccountsResource.d.ts +496 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
- package/types/Billing/CreditGrants.d.ts +5 -6
- package/types/Billing/CreditGrantsResource.d.ts +11 -11
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- 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 +121 -5
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +360 -5
- package/types/Checkout/SessionsResource.d.ts +444 -9
- 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 +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +11 -2
- package/types/Disputes.d.ts +1 -1
- package/types/EventTypes.d.ts +579 -0
- package/types/Events.d.ts +92 -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/FundingInstructions.d.ts +28 -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/Identity/VerificationReports.d.ts +1 -1
- package/types/Identity/VerificationSessions.d.ts +1 -1
- package/types/Identity/VerificationSessionsResource.d.ts +1 -1
- 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 -3
- package/types/InvoicesResource.d.ts +5536 -1845
- package/types/Issuing/Authorizations.d.ts +1 -1
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/Cards.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/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 +7 -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 +1155 -0
- package/types/OrdersResource.d.ts +2913 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +667 -2
- package/types/PaymentIntentsResource.d.ts +7948 -3704
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +21 -2
- 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 +259 -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 +1615 -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 +14 -0
- package/types/SetupAttempts.d.ts +40 -2
- package/types/SetupIntents.d.ts +113 -2
- package/types/SetupIntentsResource.d.ts +652 -7
- 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 +92 -1
- package/types/SubscriptionsResource.d.ts +371 -2
- 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 +4 -1
- package/types/Tax/CalculationsResource.d.ts +2 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Transactions.d.ts +3 -1
- package/types/TaxIds.d.ts +2 -1
- package/types/TaxIdsResource.d.ts +2 -1
- package/types/TaxRates.d.ts +1 -0
- package/types/TaxRatesResource.d.ts +2 -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 +104 -0
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +14 -4
- 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/InboundTransfers.d.ts +1 -1
- 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 +68 -0
- package/types/index.d.ts +74 -4
- package/cjs/resources/V2/Billing.js +0 -18
- package/cjs/resources/V2/Core.js +0 -14
- package/cjs/resources/V2.js +0 -14
- package/esm/resources/V2/Billing.js +0 -15
- package/esm/resources/V2/Core.js +0 -11
- package/esm/resources/V2.js +0 -11
- package/types/V2/BillingResource.d.ts +0 -14
- package/types/V2/CoreResource.d.ts +0 -12
- package/types/V2Resource.d.ts +0 -10
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.
|
|
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,17 +23,31 @@ 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");
|
|
32
|
+
const EventDestinations_js_1 = require("./resources/V2/Core/EventDestinations.js");
|
|
33
|
+
const Events_js_1 = require("./resources/V2/Core/Events.js");
|
|
28
34
|
const Features_js_1 = require("./resources/Entitlements/Features.js");
|
|
29
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");
|
|
30
41
|
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js");
|
|
31
42
|
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
|
|
43
|
+
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
|
|
32
44
|
const Locations_js_1 = require("./resources/Terminal/Locations.js");
|
|
33
45
|
const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
|
|
46
|
+
const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
|
|
47
|
+
const MeterEventSession_js_1 = require("./resources/V2/Billing/MeterEventSession.js");
|
|
48
|
+
const MeterEventStream_js_1 = require("./resources/V2/Billing/MeterEventStream.js");
|
|
34
49
|
const MeterEvents_js_1 = require("./resources/Billing/MeterEvents.js");
|
|
50
|
+
const MeterEvents_js_2 = require("./resources/V2/Billing/MeterEvents.js");
|
|
35
51
|
const Meters_js_1 = require("./resources/Billing/Meters.js");
|
|
36
52
|
const Orders_js_1 = require("./resources/Climate/Orders.js");
|
|
37
53
|
const OutboundPayments_js_1 = require("./resources/TestHelpers/Treasury/OutboundPayments.js");
|
|
@@ -42,6 +58,7 @@ const PersonalizationDesigns_js_1 = require("./resources/TestHelpers/Issuing/Per
|
|
|
42
58
|
const PersonalizationDesigns_js_2 = require("./resources/Issuing/PersonalizationDesigns.js");
|
|
43
59
|
const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
|
|
44
60
|
const Products_js_1 = require("./resources/Climate/Products.js");
|
|
61
|
+
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
|
|
45
62
|
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js");
|
|
46
63
|
const Readers_js_2 = require("./resources/Terminal/Readers.js");
|
|
47
64
|
const ReceivedCredits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedCredits.js");
|
|
@@ -65,9 +82,10 @@ const Tokens_js_1 = require("./resources/Issuing/Tokens.js");
|
|
|
65
82
|
const TransactionEntries_js_1 = require("./resources/Treasury/TransactionEntries.js");
|
|
66
83
|
const Transactions_js_1 = require("./resources/TestHelpers/Issuing/Transactions.js");
|
|
67
84
|
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/
|
|
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");
|
|
71
89
|
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js");
|
|
72
90
|
const ValueLists_js_1 = require("./resources/Radar/ValueLists.js");
|
|
73
91
|
const VerificationReports_js_1 = require("./resources/Identity/VerificationReports.js");
|
|
@@ -76,6 +94,8 @@ var Accounts_js_2 = require("./resources/Accounts.js");
|
|
|
76
94
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Accounts_js_2.Accounts; } });
|
|
77
95
|
var AccountLinks_js_1 = require("./resources/AccountLinks.js");
|
|
78
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; } });
|
|
79
99
|
var AccountSessions_js_1 = require("./resources/AccountSessions.js");
|
|
80
100
|
Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } });
|
|
81
101
|
var Accounts_js_3 = require("./resources/Accounts.js");
|
|
@@ -106,8 +126,8 @@ var Disputes_js_2 = require("./resources/Disputes.js");
|
|
|
106
126
|
Object.defineProperty(exports, "Disputes", { enumerable: true, get: function () { return Disputes_js_2.Disputes; } });
|
|
107
127
|
var EphemeralKeys_js_1 = require("./resources/EphemeralKeys.js");
|
|
108
128
|
Object.defineProperty(exports, "EphemeralKeys", { enumerable: true, get: function () { return EphemeralKeys_js_1.EphemeralKeys; } });
|
|
109
|
-
var
|
|
110
|
-
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return
|
|
129
|
+
var Events_js_2 = require("./resources/Events.js");
|
|
130
|
+
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return Events_js_2.Events; } });
|
|
111
131
|
var ExchangeRates_js_1 = require("./resources/ExchangeRates.js");
|
|
112
132
|
Object.defineProperty(exports, "ExchangeRates", { enumerable: true, get: function () { return ExchangeRates_js_1.ExchangeRates; } });
|
|
113
133
|
var FileLinks_js_1 = require("./resources/FileLinks.js");
|
|
@@ -122,8 +142,14 @@ var Invoices_js_1 = require("./resources/Invoices.js");
|
|
|
122
142
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return Invoices_js_1.Invoices; } });
|
|
123
143
|
var Mandates_js_1 = require("./resources/Mandates.js");
|
|
124
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; } });
|
|
125
147
|
var OAuth_js_1 = require("./resources/OAuth.js");
|
|
126
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; } });
|
|
127
153
|
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
|
|
128
154
|
Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } });
|
|
129
155
|
var PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
|
|
@@ -134,6 +160,8 @@ var PaymentMethodDomains_js_1 = require("./resources/PaymentMethodDomains.js");
|
|
|
134
160
|
Object.defineProperty(exports, "PaymentMethodDomains", { enumerable: true, get: function () { return PaymentMethodDomains_js_1.PaymentMethodDomains; } });
|
|
135
161
|
var PaymentMethods_js_1 = require("./resources/PaymentMethods.js");
|
|
136
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; } });
|
|
137
165
|
var Payouts_js_1 = require("./resources/Payouts.js");
|
|
138
166
|
Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return Payouts_js_1.Payouts; } });
|
|
139
167
|
var Plans_js_1 = require("./resources/Plans.js");
|
|
@@ -176,8 +204,6 @@ var Topups_js_1 = require("./resources/Topups.js");
|
|
|
176
204
|
Object.defineProperty(exports, "Topups", { enumerable: true, get: function () { return Topups_js_1.Topups; } });
|
|
177
205
|
var Transfers_js_1 = require("./resources/Transfers.js");
|
|
178
206
|
Object.defineProperty(exports, "Transfers", { enumerable: true, get: function () { return Transfers_js_1.Transfers; } });
|
|
179
|
-
var V2_js_1 = require("./resources/V2.js");
|
|
180
|
-
Object.defineProperty(exports, "V2", { enumerable: true, get: function () { return V2_js_1.V2; } });
|
|
181
207
|
var WebhookEndpoints_js_1 = require("./resources/WebhookEndpoints.js");
|
|
182
208
|
Object.defineProperty(exports, "WebhookEndpoints", { enumerable: true, get: function () { return WebhookEndpoints_js_1.WebhookEndpoints; } });
|
|
183
209
|
exports.Apps = (0, ResourceNamespace_js_1.resourceNamespace)('apps', { Secrets: Secrets_js_1.Secrets });
|
|
@@ -194,6 +220,11 @@ exports.BillingPortal = (0, ResourceNamespace_js_1.resourceNamespace)('billingPo
|
|
|
194
220
|
Configurations: Configurations_js_1.Configurations,
|
|
195
221
|
Sessions: Sessions_js_1.Sessions,
|
|
196
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
|
+
});
|
|
197
228
|
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', {
|
|
198
229
|
Sessions: Sessions_js_2.Sessions,
|
|
199
230
|
});
|
|
@@ -208,12 +239,17 @@ exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlemen
|
|
|
208
239
|
});
|
|
209
240
|
exports.FinancialConnections = (0, ResourceNamespace_js_1.resourceNamespace)('financialConnections', {
|
|
210
241
|
Accounts: Accounts_js_1.Accounts,
|
|
242
|
+
Institutions: Institutions_js_1.Institutions,
|
|
211
243
|
Sessions: Sessions_js_3.Sessions,
|
|
212
244
|
Transactions: Transactions_js_2.Transactions,
|
|
213
245
|
});
|
|
214
246
|
exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding', {
|
|
215
247
|
Requests: Requests_js_1.Requests,
|
|
216
248
|
});
|
|
249
|
+
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', {
|
|
250
|
+
Cards: Cards_js_2.Cards,
|
|
251
|
+
Transactions: Transactions_js_3.Transactions,
|
|
252
|
+
});
|
|
217
253
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
218
254
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
219
255
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
@@ -221,12 +257,15 @@ exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
|
221
257
|
exports.Issuing = (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
|
|
222
258
|
Authorizations: Authorizations_js_2.Authorizations,
|
|
223
259
|
Cardholders: Cardholders_js_1.Cardholders,
|
|
224
|
-
Cards:
|
|
260
|
+
Cards: Cards_js_3.Cards,
|
|
261
|
+
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords,
|
|
262
|
+
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails,
|
|
225
263
|
Disputes: Disputes_js_1.Disputes,
|
|
264
|
+
FraudLiabilityDebits: FraudLiabilityDebits_js_1.FraudLiabilityDebits,
|
|
226
265
|
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns,
|
|
227
266
|
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles,
|
|
228
267
|
Tokens: Tokens_js_1.Tokens,
|
|
229
|
-
Transactions:
|
|
268
|
+
Transactions: Transactions_js_4.Transactions,
|
|
230
269
|
});
|
|
231
270
|
exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', {
|
|
232
271
|
EarlyFraudWarnings: EarlyFraudWarnings_js_1.EarlyFraudWarnings,
|
|
@@ -241,15 +280,18 @@ exports.Sigma = (0, ResourceNamespace_js_1.resourceNamespace)('sigma', {
|
|
|
241
280
|
ScheduledQueryRuns: ScheduledQueryRuns_js_1.ScheduledQueryRuns,
|
|
242
281
|
});
|
|
243
282
|
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
|
|
283
|
+
Associations: Associations_js_1.Associations,
|
|
244
284
|
Calculations: Calculations_js_1.Calculations,
|
|
285
|
+
Forms: Forms_js_1.Forms,
|
|
245
286
|
Registrations: Registrations_js_1.Registrations,
|
|
246
287
|
Settings: Settings_js_1.Settings,
|
|
247
|
-
Transactions:
|
|
288
|
+
Transactions: Transactions_js_5.Transactions,
|
|
248
289
|
});
|
|
249
290
|
exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
|
|
250
291
|
Configurations: Configurations_js_2.Configurations,
|
|
251
292
|
ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
|
|
252
293
|
Locations: Locations_js_1.Locations,
|
|
294
|
+
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
|
|
253
295
|
Readers: Readers_js_2.Readers,
|
|
254
296
|
});
|
|
255
297
|
exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers', {
|
|
@@ -284,5 +326,17 @@ exports.Treasury = (0, ResourceNamespace_js_1.resourceNamespace)('treasury', {
|
|
|
284
326
|
ReceivedCredits: ReceivedCredits_js_2.ReceivedCredits,
|
|
285
327
|
ReceivedDebits: ReceivedDebits_js_2.ReceivedDebits,
|
|
286
328
|
TransactionEntries: TransactionEntries_js_1.TransactionEntries,
|
|
287
|
-
Transactions:
|
|
329
|
+
Transactions: Transactions_js_6.Transactions,
|
|
330
|
+
});
|
|
331
|
+
exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
|
|
332
|
+
Billing: (0, ResourceNamespace_js_1.resourceNamespace)('billing', {
|
|
333
|
+
MeterEventAdjustments: MeterEventAdjustments_js_2.MeterEventAdjustments,
|
|
334
|
+
MeterEventSession: MeterEventSession_js_1.MeterEventSession,
|
|
335
|
+
MeterEventStream: MeterEventStream_js_1.MeterEventStream,
|
|
336
|
+
MeterEvents: MeterEvents_js_2.MeterEvents,
|
|
337
|
+
}),
|
|
338
|
+
Core: (0, ResourceNamespace_js_1.resourceNamespace)('core', {
|
|
339
|
+
EventDestinations: EventDestinations_js_1.EventDestinations,
|
|
340
|
+
Events: Events_js_1.Events,
|
|
341
|
+
}),
|
|
288
342
|
});
|
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.4.0-beta.2';
|
|
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
|
});
|