stripe 17.6.0-beta.2 → 17.6.0
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 +124 -1035
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -222
- package/types/Accounts.d.ts +1 -190
- package/types/AccountsResource.d.ts +0 -520
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +0 -138
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -340
- package/types/Checkout/SessionsResource.d.ts +5 -445
- package/types/ConfirmationTokens.d.ts +0 -99
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -7
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -644
- package/types/PaymentIntentsResource.d.ts +3734 -8021
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Terminal/Readers.d.ts +0 -310
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -70
- package/types/index.d.ts +0 -62
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -113
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/README.md
CHANGED
|
@@ -554,7 +554,6 @@ const stripe = new Stripe('sk_test_...', {
|
|
|
554
554
|
If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `rawRequest` method on the StripeClient object.
|
|
555
555
|
|
|
556
556
|
```javascript
|
|
557
|
-
import Stripe from 'stripe';
|
|
558
557
|
const client = new Stripe('sk_test_...');
|
|
559
558
|
|
|
560
559
|
client.rawRequest(
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
17.6.0
|
|
1
|
+
17.6.0
|
|
@@ -18,11 +18,6 @@ exports.Accounts = StripeResource_js_1.StripeResource.extend({
|
|
|
18
18
|
method: 'POST',
|
|
19
19
|
fullPath: '/v1/financial_connections/accounts/{account}/disconnect',
|
|
20
20
|
}),
|
|
21
|
-
listInferredBalances: stripeMethod({
|
|
22
|
-
method: 'GET',
|
|
23
|
-
fullPath: '/v1/financial_connections/accounts/{account}/inferred_balances',
|
|
24
|
-
methodType: 'list',
|
|
25
|
-
}),
|
|
26
21
|
listOwners: stripeMethod({
|
|
27
22
|
method: 'GET',
|
|
28
23
|
fullPath: '/v1/financial_connections/accounts/{account}/owners',
|
|
@@ -18,14 +18,6 @@ exports.Invoices = StripeResource_js_1.StripeResource.extend({
|
|
|
18
18
|
method: 'POST',
|
|
19
19
|
fullPath: '/v1/invoices/{invoice}/add_lines',
|
|
20
20
|
}),
|
|
21
|
-
attachPayment: stripeMethod({
|
|
22
|
-
method: 'POST',
|
|
23
|
-
fullPath: '/v1/invoices/{invoice}/attach_payment',
|
|
24
|
-
}),
|
|
25
|
-
attachPaymentIntent: stripeMethod({
|
|
26
|
-
method: 'POST',
|
|
27
|
-
fullPath: '/v1/invoices/{invoice}/attach_payment_intent',
|
|
28
|
-
}),
|
|
29
21
|
createPreview: stripeMethod({
|
|
30
22
|
method: 'POST',
|
|
31
23
|
fullPath: '/v1/invoices/create_preview',
|
|
@@ -39,11 +31,6 @@ exports.Invoices = StripeResource_js_1.StripeResource.extend({
|
|
|
39
31
|
fullPath: '/v1/invoices/{invoice}/lines',
|
|
40
32
|
methodType: 'list',
|
|
41
33
|
}),
|
|
42
|
-
listPayments: stripeMethod({
|
|
43
|
-
method: 'GET',
|
|
44
|
-
fullPath: '/v1/invoices/{invoice}/payments',
|
|
45
|
-
methodType: 'list',
|
|
46
|
-
}),
|
|
47
34
|
listUpcomingLines: stripeMethod({
|
|
48
35
|
method: 'GET',
|
|
49
36
|
fullPath: '/v1/invoices/upcoming/lines',
|
|
@@ -58,10 +45,6 @@ exports.Invoices = StripeResource_js_1.StripeResource.extend({
|
|
|
58
45
|
method: 'POST',
|
|
59
46
|
fullPath: '/v1/invoices/{invoice}/remove_lines',
|
|
60
47
|
}),
|
|
61
|
-
retrievePayment: stripeMethod({
|
|
62
|
-
method: 'GET',
|
|
63
|
-
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}',
|
|
64
|
-
}),
|
|
65
48
|
retrieveUpcoming: stripeMethod({
|
|
66
49
|
method: 'GET',
|
|
67
50
|
fullPath: '/v1/invoices/upcoming',
|
|
@@ -35,10 +35,6 @@ exports.PaymentIntents = StripeResource_js_1.StripeResource.extend({
|
|
|
35
35
|
method: 'POST',
|
|
36
36
|
fullPath: '/v1/payment_intents/{intent}/confirm',
|
|
37
37
|
}),
|
|
38
|
-
decrementAuthorization: stripeMethod({
|
|
39
|
-
method: 'POST',
|
|
40
|
-
fullPath: '/v1/payment_intents/{intent}/decrement_authorization',
|
|
41
|
-
}),
|
|
42
38
|
incrementAuthorization: stripeMethod({
|
|
43
39
|
method: 'POST',
|
|
44
40
|
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
|
|
@@ -48,10 +44,6 @@ exports.PaymentIntents = StripeResource_js_1.StripeResource.extend({
|
|
|
48
44
|
fullPath: '/v1/payment_intents/search',
|
|
49
45
|
methodType: 'search',
|
|
50
46
|
}),
|
|
51
|
-
triggerAction: stripeMethod({
|
|
52
|
-
method: 'POST',
|
|
53
|
-
fullPath: '/v1/test/payment_intents/{intent}/trigger_action',
|
|
54
|
-
}),
|
|
55
47
|
verifyMicrodeposits: stripeMethod({
|
|
56
48
|
method: 'POST',
|
|
57
49
|
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
|
package/cjs/resources/Quotes.js
CHANGED
|
@@ -19,11 +19,6 @@ exports.Quotes = StripeResource_js_1.StripeResource.extend({
|
|
|
19
19
|
method: 'POST',
|
|
20
20
|
fullPath: '/v1/quotes/{quote}/finalize',
|
|
21
21
|
}),
|
|
22
|
-
listPreviewInvoiceLines: stripeMethod({
|
|
23
|
-
method: 'GET',
|
|
24
|
-
fullPath: '/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines',
|
|
25
|
-
methodType: 'list',
|
|
26
|
-
}),
|
|
27
22
|
listComputedUpfrontLineItems: stripeMethod({
|
|
28
23
|
method: 'GET',
|
|
29
24
|
fullPath: '/v1/quotes/{quote}/computed_upfront_line_items',
|
|
@@ -34,37 +29,10 @@ exports.Quotes = StripeResource_js_1.StripeResource.extend({
|
|
|
34
29
|
fullPath: '/v1/quotes/{quote}/line_items',
|
|
35
30
|
methodType: 'list',
|
|
36
31
|
}),
|
|
37
|
-
listLines: stripeMethod({
|
|
38
|
-
method: 'GET',
|
|
39
|
-
fullPath: '/v1/quotes/{quote}/lines',
|
|
40
|
-
methodType: 'list',
|
|
41
|
-
}),
|
|
42
|
-
listPreviewInvoices: stripeMethod({
|
|
43
|
-
method: 'GET',
|
|
44
|
-
fullPath: '/v1/quotes/{quote}/preview_invoices',
|
|
45
|
-
methodType: 'list',
|
|
46
|
-
}),
|
|
47
|
-
listPreviewSubscriptionSchedules: stripeMethod({
|
|
48
|
-
method: 'GET',
|
|
49
|
-
fullPath: '/v1/quotes/{quote}/preview_subscription_schedules',
|
|
50
|
-
methodType: 'list',
|
|
51
|
-
}),
|
|
52
|
-
markDraft: stripeMethod({
|
|
53
|
-
method: 'POST',
|
|
54
|
-
fullPath: '/v1/quotes/{quote}/mark_draft',
|
|
55
|
-
}),
|
|
56
|
-
markStale: stripeMethod({
|
|
57
|
-
method: 'POST',
|
|
58
|
-
fullPath: '/v1/quotes/{quote}/mark_stale',
|
|
59
|
-
}),
|
|
60
32
|
pdf: stripeMethod({
|
|
61
33
|
method: 'GET',
|
|
62
34
|
fullPath: '/v1/quotes/{quote}/pdf',
|
|
63
35
|
host: 'files.stripe.com',
|
|
64
36
|
streaming: true,
|
|
65
37
|
}),
|
|
66
|
-
reestimate: stripeMethod({
|
|
67
|
-
method: 'POST',
|
|
68
|
-
fullPath: '/v1/quotes/{quote}/reestimate',
|
|
69
|
-
}),
|
|
70
38
|
});
|
|
@@ -22,10 +22,6 @@ exports.SubscriptionSchedules = StripeResource_js_1.StripeResource.extend({
|
|
|
22
22
|
fullPath: '/v1/subscription_schedules',
|
|
23
23
|
methodType: 'list',
|
|
24
24
|
}),
|
|
25
|
-
amend: stripeMethod({
|
|
26
|
-
method: 'POST',
|
|
27
|
-
fullPath: '/v1/subscription_schedules/{schedule}/amend',
|
|
28
|
-
}),
|
|
29
25
|
cancel: stripeMethod({
|
|
30
26
|
method: 'POST',
|
|
31
27
|
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
|
|
@@ -27,18 +27,6 @@ exports.Readers = StripeResource_js_1.StripeResource.extend({
|
|
|
27
27
|
method: 'POST',
|
|
28
28
|
fullPath: '/v1/terminal/readers/{reader}/cancel_action',
|
|
29
29
|
}),
|
|
30
|
-
collectInputs: stripeMethod({
|
|
31
|
-
method: 'POST',
|
|
32
|
-
fullPath: '/v1/terminal/readers/{reader}/collect_inputs',
|
|
33
|
-
}),
|
|
34
|
-
collectPaymentMethod: stripeMethod({
|
|
35
|
-
method: 'POST',
|
|
36
|
-
fullPath: '/v1/terminal/readers/{reader}/collect_payment_method',
|
|
37
|
-
}),
|
|
38
|
-
confirmPaymentIntent: stripeMethod({
|
|
39
|
-
method: 'POST',
|
|
40
|
-
fullPath: '/v1/terminal/readers/{reader}/confirm_payment_intent',
|
|
41
|
-
}),
|
|
42
30
|
processPaymentIntent: stripeMethod({
|
|
43
31
|
method: 'POST',
|
|
44
32
|
fullPath: '/v1/terminal/readers/{reader}/process_payment_intent',
|
package/cjs/resources.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
5
|
-
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Issuing = exports.Identity = exports.
|
|
4
|
+
exports.Tokens = exports.TaxRates = exports.TaxIds = 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.OAuth = 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.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.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = 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");
|
|
11
10
|
const Authorizations_js_1 = require("./resources/TestHelpers/Issuing/Authorizations.js");
|
|
12
11
|
const Authorizations_js_2 = require("./resources/Issuing/Authorizations.js");
|
|
13
12
|
const Calculations_js_1 = require("./resources/Tax/Calculations.js");
|
|
14
13
|
const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
|
|
15
14
|
const Cards_js_1 = require("./resources/TestHelpers/Issuing/Cards.js");
|
|
16
|
-
const Cards_js_2 = require("./resources/
|
|
17
|
-
const Cards_js_3 = require("./resources/Issuing/Cards.js");
|
|
15
|
+
const Cards_js_2 = require("./resources/Issuing/Cards.js");
|
|
18
16
|
const Configurations_js_1 = require("./resources/BillingPortal/Configurations.js");
|
|
19
17
|
const Configurations_js_2 = require("./resources/Terminal/Configurations.js");
|
|
20
18
|
const ConfirmationTokens_js_1 = require("./resources/TestHelpers/ConfirmationTokens.js");
|
|
@@ -23,24 +21,16 @@ const CreditBalanceSummary_js_1 = require("./resources/Billing/CreditBalanceSumm
|
|
|
23
21
|
const CreditBalanceTransactions_js_1 = require("./resources/Billing/CreditBalanceTransactions.js");
|
|
24
22
|
const CreditGrants_js_1 = require("./resources/Billing/CreditGrants.js");
|
|
25
23
|
const CreditReversals_js_1 = require("./resources/Treasury/CreditReversals.js");
|
|
26
|
-
const CreditUnderwritingRecords_js_1 = require("./resources/Issuing/CreditUnderwritingRecords.js");
|
|
27
24
|
const Customers_js_1 = require("./resources/TestHelpers/Customers.js");
|
|
28
25
|
const DebitReversals_js_1 = require("./resources/Treasury/DebitReversals.js");
|
|
29
|
-
const DisputeSettlementDetails_js_1 = require("./resources/Issuing/DisputeSettlementDetails.js");
|
|
30
26
|
const Disputes_js_1 = require("./resources/Issuing/Disputes.js");
|
|
31
27
|
const EarlyFraudWarnings_js_1 = require("./resources/Radar/EarlyFraudWarnings.js");
|
|
32
28
|
const EventDestinations_js_1 = require("./resources/V2/Core/EventDestinations.js");
|
|
33
29
|
const Events_js_1 = require("./resources/V2/Core/Events.js");
|
|
34
30
|
const Features_js_1 = require("./resources/Entitlements/Features.js");
|
|
35
31
|
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");
|
|
41
32
|
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js");
|
|
42
33
|
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
|
|
43
|
-
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
|
|
44
34
|
const Locations_js_1 = require("./resources/Terminal/Locations.js");
|
|
45
35
|
const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
|
|
46
36
|
const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
|
|
@@ -58,7 +48,6 @@ const PersonalizationDesigns_js_1 = require("./resources/TestHelpers/Issuing/Per
|
|
|
58
48
|
const PersonalizationDesigns_js_2 = require("./resources/Issuing/PersonalizationDesigns.js");
|
|
59
49
|
const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
|
|
60
50
|
const Products_js_1 = require("./resources/Climate/Products.js");
|
|
61
|
-
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
|
|
62
51
|
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js");
|
|
63
52
|
const Readers_js_2 = require("./resources/Terminal/Readers.js");
|
|
64
53
|
const ReceivedCredits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedCredits.js");
|
|
@@ -82,10 +71,9 @@ const Tokens_js_1 = require("./resources/Issuing/Tokens.js");
|
|
|
82
71
|
const TransactionEntries_js_1 = require("./resources/Treasury/TransactionEntries.js");
|
|
83
72
|
const Transactions_js_1 = require("./resources/TestHelpers/Issuing/Transactions.js");
|
|
84
73
|
const Transactions_js_2 = require("./resources/FinancialConnections/Transactions.js");
|
|
85
|
-
const Transactions_js_3 = require("./resources/
|
|
86
|
-
const Transactions_js_4 = require("./resources/
|
|
87
|
-
const Transactions_js_5 = require("./resources/
|
|
88
|
-
const Transactions_js_6 = require("./resources/Treasury/Transactions.js");
|
|
74
|
+
const Transactions_js_3 = require("./resources/Issuing/Transactions.js");
|
|
75
|
+
const Transactions_js_4 = require("./resources/Tax/Transactions.js");
|
|
76
|
+
const Transactions_js_5 = require("./resources/Treasury/Transactions.js");
|
|
89
77
|
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js");
|
|
90
78
|
const ValueLists_js_1 = require("./resources/Radar/ValueLists.js");
|
|
91
79
|
const VerificationReports_js_1 = require("./resources/Identity/VerificationReports.js");
|
|
@@ -94,8 +82,6 @@ var Accounts_js_2 = require("./resources/Accounts.js");
|
|
|
94
82
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Accounts_js_2.Accounts; } });
|
|
95
83
|
var AccountLinks_js_1 = require("./resources/AccountLinks.js");
|
|
96
84
|
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; } });
|
|
99
85
|
var AccountSessions_js_1 = require("./resources/AccountSessions.js");
|
|
100
86
|
Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } });
|
|
101
87
|
var Accounts_js_3 = require("./resources/Accounts.js");
|
|
@@ -142,14 +128,8 @@ var Invoices_js_1 = require("./resources/Invoices.js");
|
|
|
142
128
|
Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return Invoices_js_1.Invoices; } });
|
|
143
129
|
var Mandates_js_1 = require("./resources/Mandates.js");
|
|
144
130
|
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; } });
|
|
147
131
|
var OAuth_js_1 = require("./resources/OAuth.js");
|
|
148
132
|
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; } });
|
|
153
133
|
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
|
|
154
134
|
Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } });
|
|
155
135
|
var PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
|
|
@@ -160,8 +140,6 @@ var PaymentMethodDomains_js_1 = require("./resources/PaymentMethodDomains.js");
|
|
|
160
140
|
Object.defineProperty(exports, "PaymentMethodDomains", { enumerable: true, get: function () { return PaymentMethodDomains_js_1.PaymentMethodDomains; } });
|
|
161
141
|
var PaymentMethods_js_1 = require("./resources/PaymentMethods.js");
|
|
162
142
|
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; } });
|
|
165
143
|
var Payouts_js_1 = require("./resources/Payouts.js");
|
|
166
144
|
Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return Payouts_js_1.Payouts; } });
|
|
167
145
|
var Plans_js_1 = require("./resources/Plans.js");
|
|
@@ -220,11 +198,6 @@ exports.BillingPortal = (0, ResourceNamespace_js_1.resourceNamespace)('billingPo
|
|
|
220
198
|
Configurations: Configurations_js_1.Configurations,
|
|
221
199
|
Sessions: Sessions_js_1.Sessions,
|
|
222
200
|
});
|
|
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
|
-
});
|
|
228
201
|
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', {
|
|
229
202
|
Sessions: Sessions_js_2.Sessions,
|
|
230
203
|
});
|
|
@@ -239,17 +212,12 @@ exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlemen
|
|
|
239
212
|
});
|
|
240
213
|
exports.FinancialConnections = (0, ResourceNamespace_js_1.resourceNamespace)('financialConnections', {
|
|
241
214
|
Accounts: Accounts_js_1.Accounts,
|
|
242
|
-
Institutions: Institutions_js_1.Institutions,
|
|
243
215
|
Sessions: Sessions_js_3.Sessions,
|
|
244
216
|
Transactions: Transactions_js_2.Transactions,
|
|
245
217
|
});
|
|
246
218
|
exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding', {
|
|
247
219
|
Requests: Requests_js_1.Requests,
|
|
248
220
|
});
|
|
249
|
-
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', {
|
|
250
|
-
Cards: Cards_js_2.Cards,
|
|
251
|
-
Transactions: Transactions_js_3.Transactions,
|
|
252
|
-
});
|
|
253
221
|
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
254
222
|
VerificationReports: VerificationReports_js_1.VerificationReports,
|
|
255
223
|
VerificationSessions: VerificationSessions_js_1.VerificationSessions,
|
|
@@ -257,15 +225,12 @@ exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
|
|
|
257
225
|
exports.Issuing = (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
|
|
258
226
|
Authorizations: Authorizations_js_2.Authorizations,
|
|
259
227
|
Cardholders: Cardholders_js_1.Cardholders,
|
|
260
|
-
Cards:
|
|
261
|
-
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords,
|
|
262
|
-
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails,
|
|
228
|
+
Cards: Cards_js_2.Cards,
|
|
263
229
|
Disputes: Disputes_js_1.Disputes,
|
|
264
|
-
FraudLiabilityDebits: FraudLiabilityDebits_js_1.FraudLiabilityDebits,
|
|
265
230
|
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns,
|
|
266
231
|
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles,
|
|
267
232
|
Tokens: Tokens_js_1.Tokens,
|
|
268
|
-
Transactions:
|
|
233
|
+
Transactions: Transactions_js_3.Transactions,
|
|
269
234
|
});
|
|
270
235
|
exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', {
|
|
271
236
|
EarlyFraudWarnings: EarlyFraudWarnings_js_1.EarlyFraudWarnings,
|
|
@@ -280,18 +245,15 @@ exports.Sigma = (0, ResourceNamespace_js_1.resourceNamespace)('sigma', {
|
|
|
280
245
|
ScheduledQueryRuns: ScheduledQueryRuns_js_1.ScheduledQueryRuns,
|
|
281
246
|
});
|
|
282
247
|
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
|
|
283
|
-
Associations: Associations_js_1.Associations,
|
|
284
248
|
Calculations: Calculations_js_1.Calculations,
|
|
285
|
-
Forms: Forms_js_1.Forms,
|
|
286
249
|
Registrations: Registrations_js_1.Registrations,
|
|
287
250
|
Settings: Settings_js_1.Settings,
|
|
288
|
-
Transactions:
|
|
251
|
+
Transactions: Transactions_js_4.Transactions,
|
|
289
252
|
});
|
|
290
253
|
exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
|
|
291
254
|
Configurations: Configurations_js_2.Configurations,
|
|
292
255
|
ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
|
|
293
256
|
Locations: Locations_js_1.Locations,
|
|
294
|
-
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
|
|
295
257
|
Readers: Readers_js_2.Readers,
|
|
296
258
|
});
|
|
297
259
|
exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers', {
|
|
@@ -326,7 +288,7 @@ exports.Treasury = (0, ResourceNamespace_js_1.resourceNamespace)('treasury', {
|
|
|
326
288
|
ReceivedCredits: ReceivedCredits_js_2.ReceivedCredits,
|
|
327
289
|
ReceivedDebits: ReceivedDebits_js_2.ReceivedDebits,
|
|
328
290
|
TransactionEntries: TransactionEntries_js_1.TransactionEntries,
|
|
329
|
-
Transactions:
|
|
291
|
+
Transactions: Transactions_js_5.Transactions,
|
|
330
292
|
});
|
|
331
293
|
exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
|
|
332
294
|
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.6.0
|
|
39
|
+
Stripe.PACKAGE_VERSION = '17.6.0';
|
|
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;
|
|
@@ -15,11 +15,6 @@ 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
|
-
}),
|
|
23
18
|
listOwners: stripeMethod({
|
|
24
19
|
method: 'GET',
|
|
25
20
|
fullPath: '/v1/financial_connections/accounts/{account}/owners',
|
|
@@ -15,14 +15,6 @@ 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
|
-
}),
|
|
26
18
|
createPreview: stripeMethod({
|
|
27
19
|
method: 'POST',
|
|
28
20
|
fullPath: '/v1/invoices/create_preview',
|
|
@@ -36,11 +28,6 @@ export const Invoices = StripeResource.extend({
|
|
|
36
28
|
fullPath: '/v1/invoices/{invoice}/lines',
|
|
37
29
|
methodType: 'list',
|
|
38
30
|
}),
|
|
39
|
-
listPayments: stripeMethod({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
fullPath: '/v1/invoices/{invoice}/payments',
|
|
42
|
-
methodType: 'list',
|
|
43
|
-
}),
|
|
44
31
|
listUpcomingLines: stripeMethod({
|
|
45
32
|
method: 'GET',
|
|
46
33
|
fullPath: '/v1/invoices/upcoming/lines',
|
|
@@ -55,10 +42,6 @@ export const Invoices = StripeResource.extend({
|
|
|
55
42
|
method: 'POST',
|
|
56
43
|
fullPath: '/v1/invoices/{invoice}/remove_lines',
|
|
57
44
|
}),
|
|
58
|
-
retrievePayment: stripeMethod({
|
|
59
|
-
method: 'GET',
|
|
60
|
-
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}',
|
|
61
|
-
}),
|
|
62
45
|
retrieveUpcoming: stripeMethod({
|
|
63
46
|
method: 'GET',
|
|
64
47
|
fullPath: '/v1/invoices/upcoming',
|
|
@@ -32,10 +32,6 @@ 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
|
-
}),
|
|
39
35
|
incrementAuthorization: stripeMethod({
|
|
40
36
|
method: 'POST',
|
|
41
37
|
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
|
|
@@ -45,10 +41,6 @@ export const PaymentIntents = StripeResource.extend({
|
|
|
45
41
|
fullPath: '/v1/payment_intents/search',
|
|
46
42
|
methodType: 'search',
|
|
47
43
|
}),
|
|
48
|
-
triggerAction: stripeMethod({
|
|
49
|
-
method: 'POST',
|
|
50
|
-
fullPath: '/v1/test/payment_intents/{intent}/trigger_action',
|
|
51
|
-
}),
|
|
52
44
|
verifyMicrodeposits: stripeMethod({
|
|
53
45
|
method: 'POST',
|
|
54
46
|
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
|
package/esm/resources/Quotes.js
CHANGED
|
@@ -16,11 +16,6 @@ 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
|
-
}),
|
|
24
19
|
listComputedUpfrontLineItems: stripeMethod({
|
|
25
20
|
method: 'GET',
|
|
26
21
|
fullPath: '/v1/quotes/{quote}/computed_upfront_line_items',
|
|
@@ -31,37 +26,10 @@ export const Quotes = StripeResource.extend({
|
|
|
31
26
|
fullPath: '/v1/quotes/{quote}/line_items',
|
|
32
27
|
methodType: 'list',
|
|
33
28
|
}),
|
|
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
|
-
}),
|
|
57
29
|
pdf: stripeMethod({
|
|
58
30
|
method: 'GET',
|
|
59
31
|
fullPath: '/v1/quotes/{quote}/pdf',
|
|
60
32
|
host: 'files.stripe.com',
|
|
61
33
|
streaming: true,
|
|
62
34
|
}),
|
|
63
|
-
reestimate: stripeMethod({
|
|
64
|
-
method: 'POST',
|
|
65
|
-
fullPath: '/v1/quotes/{quote}/reestimate',
|
|
66
|
-
}),
|
|
67
35
|
});
|
|
@@ -19,10 +19,6 @@ 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
|
-
}),
|
|
26
22
|
cancel: stripeMethod({
|
|
27
23
|
method: 'POST',
|
|
28
24
|
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
|
|
@@ -24,18 +24,6 @@ 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
|
-
}),
|
|
39
27
|
processPaymentIntent: stripeMethod({
|
|
40
28
|
method: 'POST',
|
|
41
29
|
fullPath: '/v1/terminal/readers/{reader}/process_payment_intent',
|