stripe 16.8.0-beta.1 → 16.8.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 +118 -798
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -2
- package/cjs/multipart.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- 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 -40
- package/cjs/stripe.core.js +3 -6
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +0 -1
- package/esm/multipart.js +2 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- 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 -26
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- 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 -215
- package/types/Accounts.d.ts +1 -106
- package/types/AccountsResource.d.ts +5 -251
- package/types/Charges.d.ts +17 -77
- package/types/ChargesResource.d.ts +2 -1296
- package/types/Checkout/Sessions.d.ts +4 -116
- package/types/Checkout/SessionsResource.d.ts +5 -111
- package/types/ConfirmationTokens.d.ts +31 -66
- 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 -2
- package/types/Disputes.d.ts +0 -158
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -460
- package/types/Events.d.ts +0 -85
- 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 +0 -22
- package/types/Invoices.d.ts +1 -116
- package/types/InvoicesResource.d.ts +1833 -5491
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +3 -489
- package/types/PaymentIntentsResource.d.ts +3456 -6972
- package/types/PaymentLinks.d.ts +0 -1
- package/types/PaymentLinksResource.d.ts +0 -2
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +31 -66
- package/types/PaymentMethodsResource.d.ts +0 -110
- 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 -596
- package/types/QuotesResource.d.ts +267 -3176
- package/types/SetupAttempts.d.ts +0 -9
- package/types/SetupIntents.d.ts +2 -111
- package/types/SetupIntentsResource.d.ts +3 -498
- package/types/Sources.d.ts +0 -23
- 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 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- 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 -54
- package/types/index.d.ts +0 -67
- package/types/lib.d.ts +0 -12
- 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/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- 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/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- 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 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1083
- package/types/OrdersResource.d.ts +0 -2763
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1530
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
|
@@ -38,11 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
created: number;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
43
|
-
*/
|
|
44
|
-
display_name?: string | null;
|
|
45
|
-
|
|
46
41
|
/**
|
|
47
42
|
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
48
43
|
* Stripe or the platform can control Features via the requested field.
|
|
@@ -9,11 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
*/
|
|
10
10
|
supported_currencies: Array<string>;
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
14
|
-
*/
|
|
15
|
-
display_name?: Stripe.Emptyable<string>;
|
|
16
|
-
|
|
17
12
|
/**
|
|
18
13
|
* Specifies which fields in the response should be expanded.
|
|
19
14
|
*/
|
|
@@ -211,11 +206,6 @@ declare module 'stripe' {
|
|
|
211
206
|
}
|
|
212
207
|
|
|
213
208
|
interface FinancialAccountUpdateParams {
|
|
214
|
-
/**
|
|
215
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
216
|
-
*/
|
|
217
|
-
display_name?: Stripe.Emptyable<string>;
|
|
218
|
-
|
|
219
209
|
/**
|
|
220
210
|
* Specifies which fields in the response should be expanded.
|
|
221
211
|
*/
|
|
@@ -76,11 +76,6 @@ declare module 'stripe' {
|
|
|
76
76
|
*/
|
|
77
77
|
metadata: Stripe.Metadata;
|
|
78
78
|
|
|
79
|
-
/**
|
|
80
|
-
* Details about the network used for the OutboundTransfer.
|
|
81
|
-
*/
|
|
82
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
83
|
-
|
|
84
79
|
/**
|
|
85
80
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
86
81
|
*/
|
|
@@ -187,27 +182,6 @@ declare module 'stripe' {
|
|
|
187
182
|
}
|
|
188
183
|
}
|
|
189
184
|
|
|
190
|
-
interface NetworkDetails {
|
|
191
|
-
/**
|
|
192
|
-
* Details about an ACH transaction.
|
|
193
|
-
*/
|
|
194
|
-
ach?: NetworkDetails.Ach | null;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* The type of flow that originated the OutboundTransfer.
|
|
198
|
-
*/
|
|
199
|
-
type: 'ach';
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
namespace NetworkDetails {
|
|
203
|
-
interface Ach {
|
|
204
|
-
/**
|
|
205
|
-
* ACH Addenda record
|
|
206
|
-
*/
|
|
207
|
-
addenda: string | null;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
185
|
interface ReturnedDetails {
|
|
212
186
|
/**
|
|
213
187
|
* Reason for the return.
|
|
@@ -44,11 +44,6 @@ declare module 'stripe' {
|
|
|
44
44
|
*/
|
|
45
45
|
metadata?: Stripe.MetadataParam;
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* Details about the network used for the OutboundTransfer.
|
|
49
|
-
*/
|
|
50
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
51
|
-
|
|
52
47
|
/**
|
|
53
48
|
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
|
|
54
49
|
*/
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
type Network = 'ach' | 'us_domestic_wire';
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the OutboundTransfer.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
|
|
103
77
|
interface OutboundTransferRetrieveParams {
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedCredit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedCredit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedCredit may be reversed.
|
|
76
71
|
*/
|
|
@@ -240,27 +235,6 @@ declare module 'stripe' {
|
|
|
240
235
|
|
|
241
236
|
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
|
|
242
237
|
|
|
243
|
-
interface NetworkDetails {
|
|
244
|
-
/**
|
|
245
|
-
* Details about an ACH transaction.
|
|
246
|
-
*/
|
|
247
|
-
ach?: NetworkDetails.Ach | null;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* The type of flow that originated the ReceivedCredit.
|
|
251
|
-
*/
|
|
252
|
-
type: 'ach';
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
namespace NetworkDetails {
|
|
256
|
-
interface Ach {
|
|
257
|
-
/**
|
|
258
|
-
* ACH Addenda record
|
|
259
|
-
*/
|
|
260
|
-
addenda: string | null;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
238
|
interface ReversalDetails {
|
|
265
239
|
/**
|
|
266
240
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedDebit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedDebit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedDebit might be reversed.
|
|
76
71
|
*/
|
|
@@ -194,36 +189,10 @@ declare module 'stripe' {
|
|
|
194
189
|
* Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.
|
|
195
190
|
*/
|
|
196
191
|
payout: string | null;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* The ReceivedCredit that Capital withheld from
|
|
200
|
-
*/
|
|
201
|
-
received_credit_capital_withholding?: string | null;
|
|
202
192
|
}
|
|
203
193
|
|
|
204
194
|
type Network = 'ach' | 'card' | 'stripe';
|
|
205
195
|
|
|
206
|
-
interface NetworkDetails {
|
|
207
|
-
/**
|
|
208
|
-
* Details about an ACH transaction.
|
|
209
|
-
*/
|
|
210
|
-
ach?: NetworkDetails.Ach | null;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The type of flow that originated the ReceivedDebit.
|
|
214
|
-
*/
|
|
215
|
-
type: 'ach';
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
namespace NetworkDetails {
|
|
219
|
-
interface Ach {
|
|
220
|
-
/**
|
|
221
|
-
* ACH Addenda record
|
|
222
|
-
*/
|
|
223
|
-
addenda: string | null;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
196
|
interface ReversalDetails {
|
|
228
197
|
/**
|
|
229
198
|
* Time before which a ReceivedDebit can be reversed.
|
|
@@ -152,8 +152,6 @@ declare module 'stripe' {
|
|
|
152
152
|
| 'account.external_account.deleted'
|
|
153
153
|
| 'account.external_account.updated'
|
|
154
154
|
| 'account.updated'
|
|
155
|
-
| 'account_notice.created'
|
|
156
|
-
| 'account_notice.updated'
|
|
157
155
|
| 'application_fee.created'
|
|
158
156
|
| 'application_fee.refund.updated'
|
|
159
157
|
| 'application_fee.refunded'
|
|
@@ -163,15 +161,6 @@ declare module 'stripe' {
|
|
|
163
161
|
| 'billing_portal.configuration.updated'
|
|
164
162
|
| 'billing_portal.session.created'
|
|
165
163
|
| 'capability.updated'
|
|
166
|
-
| 'capital.financing_offer.accepted'
|
|
167
|
-
| 'capital.financing_offer.canceled'
|
|
168
|
-
| 'capital.financing_offer.created'
|
|
169
|
-
| 'capital.financing_offer.expired'
|
|
170
|
-
| 'capital.financing_offer.fully_repaid'
|
|
171
|
-
| 'capital.financing_offer.paid_out'
|
|
172
|
-
| 'capital.financing_offer.rejected'
|
|
173
|
-
| 'capital.financing_offer.replacement_created'
|
|
174
|
-
| 'capital.financing_transaction.created'
|
|
175
164
|
| 'cash_balance.funds_available'
|
|
176
165
|
| 'charge.captured'
|
|
177
166
|
| 'charge.dispute.closed'
|
|
@@ -212,15 +201,11 @@ declare module 'stripe' {
|
|
|
212
201
|
| 'customer.source.deleted'
|
|
213
202
|
| 'customer.source.expiring'
|
|
214
203
|
| 'customer.source.updated'
|
|
215
|
-
| 'customer.subscription.collection_paused'
|
|
216
|
-
| 'customer.subscription.collection_resumed'
|
|
217
204
|
| 'customer.subscription.created'
|
|
218
|
-
| 'customer.subscription.custom_event'
|
|
219
205
|
| 'customer.subscription.deleted'
|
|
220
206
|
| 'customer.subscription.paused'
|
|
221
207
|
| 'customer.subscription.pending_update_applied'
|
|
222
208
|
| 'customer.subscription.pending_update_expired'
|
|
223
|
-
| 'customer.subscription.price_migration_failed'
|
|
224
209
|
| 'customer.subscription.resumed'
|
|
225
210
|
| 'customer.subscription.trial_will_end'
|
|
226
211
|
| 'customer.subscription.updated'
|
|
@@ -236,10 +221,8 @@ declare module 'stripe' {
|
|
|
236
221
|
| 'financial_connections.account.disconnected'
|
|
237
222
|
| 'financial_connections.account.reactivated'
|
|
238
223
|
| 'financial_connections.account.refreshed_balance'
|
|
239
|
-
| 'financial_connections.account.refreshed_inferred_balances'
|
|
240
224
|
| 'financial_connections.account.refreshed_ownership'
|
|
241
225
|
| 'financial_connections.account.refreshed_transactions'
|
|
242
|
-
| 'financial_connections.session.updated'
|
|
243
226
|
| 'identity.verification_session.canceled'
|
|
244
227
|
| 'identity.verification_session.created'
|
|
245
228
|
| 'identity.verification_session.processing'
|
|
@@ -253,7 +236,6 @@ declare module 'stripe' {
|
|
|
253
236
|
| 'invoice.marked_uncollectible'
|
|
254
237
|
| 'invoice.overdue'
|
|
255
238
|
| 'invoice.paid'
|
|
256
|
-
| 'invoice.payment.overpaid'
|
|
257
239
|
| 'invoice.payment_action_required'
|
|
258
240
|
| 'invoice.payment_failed'
|
|
259
241
|
| 'invoice.payment_succeeded'
|
|
@@ -320,16 +302,10 @@ declare module 'stripe' {
|
|
|
320
302
|
| 'product.updated'
|
|
321
303
|
| 'promotion_code.created'
|
|
322
304
|
| 'promotion_code.updated'
|
|
323
|
-
| 'quote.accept_failed'
|
|
324
305
|
| 'quote.accepted'
|
|
325
|
-
| 'quote.accepting'
|
|
326
306
|
| 'quote.canceled'
|
|
327
307
|
| 'quote.created'
|
|
328
|
-
| 'quote.draft'
|
|
329
308
|
| 'quote.finalized'
|
|
330
|
-
| 'quote.reestimate_failed'
|
|
331
|
-
| 'quote.reestimated'
|
|
332
|
-
| 'quote.stale'
|
|
333
309
|
| 'radar.early_fraud_warning.created'
|
|
334
310
|
| 'radar.early_fraud_warning.updated'
|
|
335
311
|
| 'refund.created'
|
|
@@ -357,16 +333,13 @@ declare module 'stripe' {
|
|
|
357
333
|
| 'subscription_schedule.completed'
|
|
358
334
|
| 'subscription_schedule.created'
|
|
359
335
|
| 'subscription_schedule.expiring'
|
|
360
|
-
| 'subscription_schedule.price_migration_failed'
|
|
361
336
|
| 'subscription_schedule.released'
|
|
362
337
|
| 'subscription_schedule.updated'
|
|
363
|
-
| 'tax.form.updated'
|
|
364
338
|
| 'tax.settings.updated'
|
|
365
339
|
| 'tax_rate.created'
|
|
366
340
|
| 'tax_rate.updated'
|
|
367
341
|
| 'terminal.reader.action_failed'
|
|
368
342
|
| 'terminal.reader.action_succeeded'
|
|
369
|
-
| 'terminal.reader.action_updated'
|
|
370
343
|
| 'test_helpers.test_clock.advancing'
|
|
371
344
|
| 'test_helpers.test_clock.created'
|
|
372
345
|
| 'test_helpers.test_clock.deleted'
|
|
@@ -460,8 +433,6 @@ declare module 'stripe' {
|
|
|
460
433
|
| 'account.external_account.deleted'
|
|
461
434
|
| 'account.external_account.updated'
|
|
462
435
|
| 'account.updated'
|
|
463
|
-
| 'account_notice.created'
|
|
464
|
-
| 'account_notice.updated'
|
|
465
436
|
| 'application_fee.created'
|
|
466
437
|
| 'application_fee.refund.updated'
|
|
467
438
|
| 'application_fee.refunded'
|
|
@@ -471,15 +442,6 @@ declare module 'stripe' {
|
|
|
471
442
|
| 'billing_portal.configuration.updated'
|
|
472
443
|
| 'billing_portal.session.created'
|
|
473
444
|
| 'capability.updated'
|
|
474
|
-
| 'capital.financing_offer.accepted'
|
|
475
|
-
| 'capital.financing_offer.canceled'
|
|
476
|
-
| 'capital.financing_offer.created'
|
|
477
|
-
| 'capital.financing_offer.expired'
|
|
478
|
-
| 'capital.financing_offer.fully_repaid'
|
|
479
|
-
| 'capital.financing_offer.paid_out'
|
|
480
|
-
| 'capital.financing_offer.rejected'
|
|
481
|
-
| 'capital.financing_offer.replacement_created'
|
|
482
|
-
| 'capital.financing_transaction.created'
|
|
483
445
|
| 'cash_balance.funds_available'
|
|
484
446
|
| 'charge.captured'
|
|
485
447
|
| 'charge.dispute.closed'
|
|
@@ -520,15 +482,11 @@ declare module 'stripe' {
|
|
|
520
482
|
| 'customer.source.deleted'
|
|
521
483
|
| 'customer.source.expiring'
|
|
522
484
|
| 'customer.source.updated'
|
|
523
|
-
| 'customer.subscription.collection_paused'
|
|
524
|
-
| 'customer.subscription.collection_resumed'
|
|
525
485
|
| 'customer.subscription.created'
|
|
526
|
-
| 'customer.subscription.custom_event'
|
|
527
486
|
| 'customer.subscription.deleted'
|
|
528
487
|
| 'customer.subscription.paused'
|
|
529
488
|
| 'customer.subscription.pending_update_applied'
|
|
530
489
|
| 'customer.subscription.pending_update_expired'
|
|
531
|
-
| 'customer.subscription.price_migration_failed'
|
|
532
490
|
| 'customer.subscription.resumed'
|
|
533
491
|
| 'customer.subscription.trial_will_end'
|
|
534
492
|
| 'customer.subscription.updated'
|
|
@@ -544,10 +502,8 @@ declare module 'stripe' {
|
|
|
544
502
|
| 'financial_connections.account.disconnected'
|
|
545
503
|
| 'financial_connections.account.reactivated'
|
|
546
504
|
| 'financial_connections.account.refreshed_balance'
|
|
547
|
-
| 'financial_connections.account.refreshed_inferred_balances'
|
|
548
505
|
| 'financial_connections.account.refreshed_ownership'
|
|
549
506
|
| 'financial_connections.account.refreshed_transactions'
|
|
550
|
-
| 'financial_connections.session.updated'
|
|
551
507
|
| 'identity.verification_session.canceled'
|
|
552
508
|
| 'identity.verification_session.created'
|
|
553
509
|
| 'identity.verification_session.processing'
|
|
@@ -561,7 +517,6 @@ declare module 'stripe' {
|
|
|
561
517
|
| 'invoice.marked_uncollectible'
|
|
562
518
|
| 'invoice.overdue'
|
|
563
519
|
| 'invoice.paid'
|
|
564
|
-
| 'invoice.payment.overpaid'
|
|
565
520
|
| 'invoice.payment_action_required'
|
|
566
521
|
| 'invoice.payment_failed'
|
|
567
522
|
| 'invoice.payment_succeeded'
|
|
@@ -628,16 +583,10 @@ declare module 'stripe' {
|
|
|
628
583
|
| 'product.updated'
|
|
629
584
|
| 'promotion_code.created'
|
|
630
585
|
| 'promotion_code.updated'
|
|
631
|
-
| 'quote.accept_failed'
|
|
632
586
|
| 'quote.accepted'
|
|
633
|
-
| 'quote.accepting'
|
|
634
587
|
| 'quote.canceled'
|
|
635
588
|
| 'quote.created'
|
|
636
|
-
| 'quote.draft'
|
|
637
589
|
| 'quote.finalized'
|
|
638
|
-
| 'quote.reestimate_failed'
|
|
639
|
-
| 'quote.reestimated'
|
|
640
|
-
| 'quote.stale'
|
|
641
590
|
| 'radar.early_fraud_warning.created'
|
|
642
591
|
| 'radar.early_fraud_warning.updated'
|
|
643
592
|
| 'refund.created'
|
|
@@ -665,16 +614,13 @@ declare module 'stripe' {
|
|
|
665
614
|
| 'subscription_schedule.completed'
|
|
666
615
|
| 'subscription_schedule.created'
|
|
667
616
|
| 'subscription_schedule.expiring'
|
|
668
|
-
| 'subscription_schedule.price_migration_failed'
|
|
669
617
|
| 'subscription_schedule.released'
|
|
670
618
|
| 'subscription_schedule.updated'
|
|
671
|
-
| 'tax.form.updated'
|
|
672
619
|
| 'tax.settings.updated'
|
|
673
620
|
| 'tax_rate.created'
|
|
674
621
|
| 'tax_rate.updated'
|
|
675
622
|
| 'terminal.reader.action_failed'
|
|
676
623
|
| 'terminal.reader.action_succeeded'
|
|
677
|
-
| 'terminal.reader.action_updated'
|
|
678
624
|
| 'test_helpers.test_clock.advancing'
|
|
679
625
|
| 'test_helpers.test_clock.created'
|
|
680
626
|
| 'test_helpers.test_clock.deleted'
|
package/types/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
///<reference path='./Deprecations.d.ts' />
|
|
11
11
|
// Imports: The beginning of the section generated from our OpenAPI spec
|
|
12
12
|
///<reference path='./AccountLinksResource.d.ts' />
|
|
13
|
-
///<reference path='./AccountNoticesResource.d.ts' />
|
|
14
13
|
///<reference path='./AccountSessionsResource.d.ts' />
|
|
15
14
|
///<reference path='./AccountsResource.d.ts' />
|
|
16
15
|
///<reference path='./ApplePayDomainsResource.d.ts' />
|
|
@@ -24,9 +23,6 @@
|
|
|
24
23
|
///<reference path='./Billing/MetersResource.d.ts' />
|
|
25
24
|
///<reference path='./BillingPortal/ConfigurationsResource.d.ts' />
|
|
26
25
|
///<reference path='./BillingPortal/SessionsResource.d.ts' />
|
|
27
|
-
///<reference path='./Capital/FinancingOffersResource.d.ts' />
|
|
28
|
-
///<reference path='./Capital/FinancingSummaryResource.d.ts' />
|
|
29
|
-
///<reference path='./Capital/FinancingTransactionsResource.d.ts' />
|
|
30
26
|
///<reference path='./ChargesResource.d.ts' />
|
|
31
27
|
///<reference path='./Checkout/SessionsResource.d.ts' />
|
|
32
28
|
///<reference path='./Climate/OrdersResource.d.ts' />
|
|
@@ -47,12 +43,9 @@
|
|
|
47
43
|
///<reference path='./FileLinksResource.d.ts' />
|
|
48
44
|
///<reference path='./FilesResource.d.ts' />
|
|
49
45
|
///<reference path='./FinancialConnections/AccountsResource.d.ts' />
|
|
50
|
-
///<reference path='./FinancialConnections/InstitutionsResource.d.ts' />
|
|
51
46
|
///<reference path='./FinancialConnections/SessionsResource.d.ts' />
|
|
52
47
|
///<reference path='./FinancialConnections/TransactionsResource.d.ts' />
|
|
53
48
|
///<reference path='./Forwarding/RequestsResource.d.ts' />
|
|
54
|
-
///<reference path='./GiftCards/CardsResource.d.ts' />
|
|
55
|
-
///<reference path='./GiftCards/TransactionsResource.d.ts' />
|
|
56
49
|
///<reference path='./Identity/VerificationReportsResource.d.ts' />
|
|
57
50
|
///<reference path='./Identity/VerificationSessionsResource.d.ts' />
|
|
58
51
|
///<reference path='./InvoiceItemsResource.d.ts' />
|
|
@@ -60,15 +53,12 @@
|
|
|
60
53
|
///<reference path='./Issuing/AuthorizationsResource.d.ts' />
|
|
61
54
|
///<reference path='./Issuing/CardholdersResource.d.ts' />
|
|
62
55
|
///<reference path='./Issuing/CardsResource.d.ts' />
|
|
63
|
-
///<reference path='./Issuing/CreditUnderwritingRecordsResource.d.ts' />
|
|
64
56
|
///<reference path='./Issuing/DisputesResource.d.ts' />
|
|
65
57
|
///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' />
|
|
66
58
|
///<reference path='./Issuing/PhysicalBundlesResource.d.ts' />
|
|
67
59
|
///<reference path='./Issuing/TokensResource.d.ts' />
|
|
68
60
|
///<reference path='./Issuing/TransactionsResource.d.ts' />
|
|
69
61
|
///<reference path='./MandatesResource.d.ts' />
|
|
70
|
-
///<reference path='./MarginsResource.d.ts' />
|
|
71
|
-
///<reference path='./OrdersResource.d.ts' />
|
|
72
62
|
///<reference path='./PaymentIntentsResource.d.ts' />
|
|
73
63
|
///<reference path='./PaymentLinksResource.d.ts' />
|
|
74
64
|
///<reference path='./PaymentMethodConfigurationsResource.d.ts' />
|
|
@@ -79,7 +69,6 @@
|
|
|
79
69
|
///<reference path='./PricesResource.d.ts' />
|
|
80
70
|
///<reference path='./ProductsResource.d.ts' />
|
|
81
71
|
///<reference path='./PromotionCodesResource.d.ts' />
|
|
82
|
-
///<reference path='./QuotePhasesResource.d.ts' />
|
|
83
72
|
///<reference path='./QuotesResource.d.ts' />
|
|
84
73
|
///<reference path='./Radar/EarlyFraudWarningsResource.d.ts' />
|
|
85
74
|
///<reference path='./Radar/ValueListItemsResource.d.ts' />
|
|
@@ -96,9 +85,7 @@
|
|
|
96
85
|
///<reference path='./SubscriptionItemsResource.d.ts' />
|
|
97
86
|
///<reference path='./SubscriptionSchedulesResource.d.ts' />
|
|
98
87
|
///<reference path='./SubscriptionsResource.d.ts' />
|
|
99
|
-
///<reference path='./Tax/AssociationsResource.d.ts' />
|
|
100
88
|
///<reference path='./Tax/CalculationsResource.d.ts' />
|
|
101
|
-
///<reference path='./Tax/FormsResource.d.ts' />
|
|
102
89
|
///<reference path='./Tax/RegistrationsResource.d.ts' />
|
|
103
90
|
///<reference path='./Tax/SettingsResource.d.ts' />
|
|
104
91
|
///<reference path='./Tax/TransactionsResource.d.ts' />
|
|
@@ -138,7 +125,6 @@
|
|
|
138
125
|
///<reference path='./Treasury/TransactionsResource.d.ts' />
|
|
139
126
|
///<reference path='./WebhookEndpointsResource.d.ts' />
|
|
140
127
|
///<reference path='./AccountLinks.d.ts' />
|
|
141
|
-
///<reference path='./AccountNotices.d.ts' />
|
|
142
128
|
///<reference path='./AccountSessions.d.ts' />
|
|
143
129
|
///<reference path='./Accounts.d.ts' />
|
|
144
130
|
///<reference path='./ApplePayDomains.d.ts' />
|
|
@@ -158,9 +144,6 @@
|
|
|
158
144
|
///<reference path='./BillingPortal/Configurations.d.ts' />
|
|
159
145
|
///<reference path='./BillingPortal/Sessions.d.ts' />
|
|
160
146
|
///<reference path='./Capabilities.d.ts' />
|
|
161
|
-
///<reference path='./Capital/FinancingOffers.d.ts' />
|
|
162
|
-
///<reference path='./Capital/FinancingSummary.d.ts' />
|
|
163
|
-
///<reference path='./Capital/FinancingTransactions.d.ts' />
|
|
164
147
|
///<reference path='./Cards.d.ts' />
|
|
165
148
|
///<reference path='./CashBalances.d.ts' />
|
|
166
149
|
///<reference path='./Charges.d.ts' />
|
|
@@ -191,27 +174,21 @@
|
|
|
191
174
|
///<reference path='./FeeRefunds.d.ts' />
|
|
192
175
|
///<reference path='./FileLinks.d.ts' />
|
|
193
176
|
///<reference path='./Files.d.ts' />
|
|
194
|
-
///<reference path='./FinancialConnections/AccountInferredBalances.d.ts' />
|
|
195
177
|
///<reference path='./FinancialConnections/AccountOwners.d.ts' />
|
|
196
178
|
///<reference path='./FinancialConnections/AccountOwnerships.d.ts' />
|
|
197
179
|
///<reference path='./FinancialConnections/Accounts.d.ts' />
|
|
198
|
-
///<reference path='./FinancialConnections/Institutions.d.ts' />
|
|
199
180
|
///<reference path='./FinancialConnections/Sessions.d.ts' />
|
|
200
181
|
///<reference path='./FinancialConnections/Transactions.d.ts' />
|
|
201
182
|
///<reference path='./Forwarding/Requests.d.ts' />
|
|
202
183
|
///<reference path='./FundingInstructions.d.ts' />
|
|
203
|
-
///<reference path='./GiftCards/Cards.d.ts' />
|
|
204
|
-
///<reference path='./GiftCards/Transactions.d.ts' />
|
|
205
184
|
///<reference path='./Identity/VerificationReports.d.ts' />
|
|
206
185
|
///<reference path='./Identity/VerificationSessions.d.ts' />
|
|
207
186
|
///<reference path='./InvoiceItems.d.ts' />
|
|
208
187
|
///<reference path='./InvoiceLineItems.d.ts' />
|
|
209
|
-
///<reference path='./InvoicePayments.d.ts' />
|
|
210
188
|
///<reference path='./Invoices.d.ts' />
|
|
211
189
|
///<reference path='./Issuing/Authorizations.d.ts' />
|
|
212
190
|
///<reference path='./Issuing/Cardholders.d.ts' />
|
|
213
191
|
///<reference path='./Issuing/Cards.d.ts' />
|
|
214
|
-
///<reference path='./Issuing/CreditUnderwritingRecords.d.ts' />
|
|
215
192
|
///<reference path='./Issuing/Disputes.d.ts' />
|
|
216
193
|
///<reference path='./Issuing/PersonalizationDesigns.d.ts' />
|
|
217
194
|
///<reference path='./Issuing/PhysicalBundles.d.ts' />
|
|
@@ -220,8 +197,6 @@
|
|
|
220
197
|
///<reference path='./LineItems.d.ts' />
|
|
221
198
|
///<reference path='./LoginLinks.d.ts' />
|
|
222
199
|
///<reference path='./Mandates.d.ts' />
|
|
223
|
-
///<reference path='./Margins.d.ts' />
|
|
224
|
-
///<reference path='./Orders.d.ts' />
|
|
225
200
|
///<reference path='./PaymentIntents.d.ts' />
|
|
226
201
|
///<reference path='./PaymentLinks.d.ts' />
|
|
227
202
|
///<reference path='./PaymentMethodConfigurations.d.ts' />
|
|
@@ -234,10 +209,6 @@
|
|
|
234
209
|
///<reference path='./ProductFeatures.d.ts' />
|
|
235
210
|
///<reference path='./Products.d.ts' />
|
|
236
211
|
///<reference path='./PromotionCodes.d.ts' />
|
|
237
|
-
///<reference path='./QuoteLines.d.ts' />
|
|
238
|
-
///<reference path='./QuotePhases.d.ts' />
|
|
239
|
-
///<reference path='./QuotePreviewInvoices.d.ts' />
|
|
240
|
-
///<reference path='./QuotePreviewSubscriptionSchedules.d.ts' />
|
|
241
212
|
///<reference path='./Quotes.d.ts' />
|
|
242
213
|
///<reference path='./Radar/EarlyFraudWarnings.d.ts' />
|
|
243
214
|
///<reference path='./Radar/ValueListItems.d.ts' />
|
|
@@ -257,10 +228,8 @@
|
|
|
257
228
|
///<reference path='./SubscriptionItems.d.ts' />
|
|
258
229
|
///<reference path='./SubscriptionSchedules.d.ts' />
|
|
259
230
|
///<reference path='./Subscriptions.d.ts' />
|
|
260
|
-
///<reference path='./Tax/Associations.d.ts' />
|
|
261
231
|
///<reference path='./Tax/CalculationLineItems.d.ts' />
|
|
262
232
|
///<reference path='./Tax/Calculations.d.ts' />
|
|
263
|
-
///<reference path='./Tax/Forms.d.ts' />
|
|
264
233
|
///<reference path='./Tax/Registrations.d.ts' />
|
|
265
234
|
///<reference path='./Tax/Settings.d.ts' />
|
|
266
235
|
///<reference path='./Tax/TransactionLineItems.d.ts' />
|
|
@@ -313,7 +282,6 @@ declare module 'stripe' {
|
|
|
313
282
|
|
|
314
283
|
// Fields: The beginning of the section generated from our OpenAPI spec
|
|
315
284
|
accountLinks: Stripe.AccountLinksResource;
|
|
316
|
-
accountNotices: Stripe.AccountNoticesResource;
|
|
317
285
|
accountSessions: Stripe.AccountSessionsResource;
|
|
318
286
|
accounts: Stripe.AccountsResource;
|
|
319
287
|
applePayDomains: Stripe.ApplePayDomainsResource;
|
|
@@ -336,8 +304,6 @@ declare module 'stripe' {
|
|
|
336
304
|
invoiceItems: Stripe.InvoiceItemsResource;
|
|
337
305
|
invoices: Stripe.InvoicesResource;
|
|
338
306
|
mandates: Stripe.MandatesResource;
|
|
339
|
-
margins: Stripe.MarginsResource;
|
|
340
|
-
orders: Stripe.OrdersResource;
|
|
341
307
|
paymentIntents: Stripe.PaymentIntentsResource;
|
|
342
308
|
paymentLinks: Stripe.PaymentLinksResource;
|
|
343
309
|
paymentMethodConfigurations: Stripe.PaymentMethodConfigurationsResource;
|
|
@@ -348,7 +314,6 @@ declare module 'stripe' {
|
|
|
348
314
|
prices: Stripe.PricesResource;
|
|
349
315
|
products: Stripe.ProductsResource;
|
|
350
316
|
promotionCodes: Stripe.PromotionCodesResource;
|
|
351
|
-
quotePhases: Stripe.QuotePhasesResource;
|
|
352
317
|
quotes: Stripe.QuotesResource;
|
|
353
318
|
refunds: Stripe.RefundsResource;
|
|
354
319
|
reviews: Stripe.ReviewsResource;
|
|
@@ -379,11 +344,6 @@ declare module 'stripe' {
|
|
|
379
344
|
configurations: Stripe.BillingPortal.ConfigurationsResource;
|
|
380
345
|
sessions: Stripe.BillingPortal.SessionsResource;
|
|
381
346
|
};
|
|
382
|
-
capital: {
|
|
383
|
-
financingOffers: Stripe.Capital.FinancingOffersResource;
|
|
384
|
-
financingSummary: Stripe.Capital.FinancingSummaryResource;
|
|
385
|
-
financingTransactions: Stripe.Capital.FinancingTransactionsResource;
|
|
386
|
-
};
|
|
387
347
|
checkout: {
|
|
388
348
|
sessions: Stripe.Checkout.SessionsResource;
|
|
389
349
|
};
|
|
@@ -398,17 +358,12 @@ declare module 'stripe' {
|
|
|
398
358
|
};
|
|
399
359
|
financialConnections: {
|
|
400
360
|
accounts: Stripe.FinancialConnections.AccountsResource;
|
|
401
|
-
institutions: Stripe.FinancialConnections.InstitutionsResource;
|
|
402
361
|
sessions: Stripe.FinancialConnections.SessionsResource;
|
|
403
362
|
transactions: Stripe.FinancialConnections.TransactionsResource;
|
|
404
363
|
};
|
|
405
364
|
forwarding: {
|
|
406
365
|
requests: Stripe.Forwarding.RequestsResource;
|
|
407
366
|
};
|
|
408
|
-
giftCards: {
|
|
409
|
-
cards: Stripe.GiftCards.CardsResource;
|
|
410
|
-
transactions: Stripe.GiftCards.TransactionsResource;
|
|
411
|
-
};
|
|
412
367
|
identity: {
|
|
413
368
|
verificationReports: Stripe.Identity.VerificationReportsResource;
|
|
414
369
|
verificationSessions: Stripe.Identity.VerificationSessionsResource;
|
|
@@ -417,7 +372,6 @@ declare module 'stripe' {
|
|
|
417
372
|
authorizations: Stripe.Issuing.AuthorizationsResource;
|
|
418
373
|
cards: Stripe.Issuing.CardsResource;
|
|
419
374
|
cardholders: Stripe.Issuing.CardholdersResource;
|
|
420
|
-
creditUnderwritingRecords: Stripe.Issuing.CreditUnderwritingRecordsResource;
|
|
421
375
|
disputes: Stripe.Issuing.DisputesResource;
|
|
422
376
|
personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource;
|
|
423
377
|
physicalBundles: Stripe.Issuing.PhysicalBundlesResource;
|
|
@@ -437,9 +391,7 @@ declare module 'stripe' {
|
|
|
437
391
|
scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
|
|
438
392
|
};
|
|
439
393
|
tax: {
|
|
440
|
-
associations: Stripe.Tax.AssociationsResource;
|
|
441
394
|
calculations: Stripe.Tax.CalculationsResource;
|
|
442
|
-
forms: Stripe.Tax.FormsResource;
|
|
443
395
|
registrations: Stripe.Tax.RegistrationsResource;
|
|
444
396
|
settings: Stripe.Tax.SettingsResource;
|
|
445
397
|
transactions: Stripe.Tax.TransactionsResource;
|
|
@@ -504,25 +456,6 @@ declare module 'stripe' {
|
|
|
504
456
|
event: 'response',
|
|
505
457
|
handler: (event: Stripe.ResponseEvent) => void
|
|
506
458
|
): void;
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Allows for sending "raw" requests to the Stripe API, which can be used for
|
|
510
|
-
* testing new API endpoints or performing requests that the library does
|
|
511
|
-
* not support yet.
|
|
512
|
-
*
|
|
513
|
-
* This is an experimental interface and is not yet stable.
|
|
514
|
-
*
|
|
515
|
-
* @param method - HTTP request method, 'GET', 'POST', or 'DELETE'
|
|
516
|
-
* @param path - The path of the request, e.g. '/v1/beta_endpoint'
|
|
517
|
-
* @param params - The parameters to include in the request body.
|
|
518
|
-
* @param options - Additional request options.
|
|
519
|
-
*/
|
|
520
|
-
rawRequest(
|
|
521
|
-
method: string,
|
|
522
|
-
path: string,
|
|
523
|
-
params?: {[key: string]: unknown},
|
|
524
|
-
options?: Stripe.RawRequestOptions
|
|
525
|
-
): Promise<Stripe.Response<unknown>>;
|
|
526
459
|
}
|
|
527
460
|
|
|
528
461
|
export default Stripe;
|
package/types/lib.d.ts
CHANGED
|
@@ -153,18 +153,6 @@ declare module 'stripe' {
|
|
|
153
153
|
host?: string;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export type RawRequestOptions = RequestOptions & {
|
|
157
|
-
/**
|
|
158
|
-
* Specify encoding for the request body. This is an experimental interface and is not yet stable.
|
|
159
|
-
*/
|
|
160
|
-
apiMode?: 'standard' | 'preview';
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Specify additional request headers. This is an experimental interface and is not yet stable.
|
|
164
|
-
*/
|
|
165
|
-
additionalHeaders?: {[headerName: string]: string};
|
|
166
|
-
};
|
|
167
|
-
|
|
168
156
|
export type Response<T> = T & {
|
|
169
157
|
lastResponse: {
|
|
170
158
|
headers: {[key: string]: string};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AccountNotices = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
|
-
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
7
|
-
exports.AccountNotices = StripeResource_js_1.StripeResource.extend({
|
|
8
|
-
retrieve: stripeMethod({
|
|
9
|
-
method: 'GET',
|
|
10
|
-
fullPath: '/v1/account_notices/{account_notice}',
|
|
11
|
-
}),
|
|
12
|
-
update: stripeMethod({
|
|
13
|
-
method: 'POST',
|
|
14
|
-
fullPath: '/v1/account_notices/{account_notice}',
|
|
15
|
-
}),
|
|
16
|
-
list: stripeMethod({
|
|
17
|
-
method: 'GET',
|
|
18
|
-
fullPath: '/v1/account_notices',
|
|
19
|
-
methodType: 'list',
|
|
20
|
-
}),
|
|
21
|
-
});
|