stripe 23.2.0-alpha.2 → 23.2.0-alpha.3
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 +25 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/StripeEventNotificationHandler.js +5 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Webhooks.js +159 -42
- package/cjs/Webhooks.js.map +1 -1
- package/cjs/crypto/CryptoProvider.d.ts +4 -0
- package/cjs/crypto/CryptoProvider.js +6 -0
- package/cjs/crypto/CryptoProvider.js.map +1 -1
- package/cjs/crypto/NodeCryptoProvider.d.ts +2 -0
- package/cjs/crypto/NodeCryptoProvider.js +6 -2
- package/cjs/crypto/NodeCryptoProvider.js.map +1 -1
- package/cjs/crypto/SubtleCryptoProvider.d.ts +2 -0
- package/cjs/crypto/SubtleCryptoProvider.js +4 -0
- package/cjs/crypto/SubtleCryptoProvider.js.map +1 -1
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/Charges.d.ts +23 -6
- package/cjs/resources/Checkout/Sessions.d.ts +6 -0
- package/cjs/resources/Checkout/Sessions.js +2 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/ConfirmationTokens.d.ts +19 -2
- package/cjs/resources/Customers.d.ts +50 -0
- package/cjs/resources/FxQuotes.d.ts +2 -2
- package/cjs/resources/Identity/VerificationReports.d.ts +32 -0
- package/cjs/resources/Mandates.d.ts +7 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +98 -1
- package/cjs/resources/PaymentIntents.d.ts +27 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/cjs/resources/PaymentMethods.d.ts +19 -2
- package/cjs/resources/PaymentRecords.d.ts +132 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +24 -0
- package/cjs/resources/Reserve/Holds.d.ts +2 -2
- package/cjs/resources/Reserve/Holds.js +2 -2
- package/cjs/resources/Reserve/Plans.d.ts +2 -2
- package/cjs/resources/Reserve/Plans.js +2 -2
- package/cjs/resources/Reserve/Releases.d.ts +2 -2
- package/cjs/resources/Reserve/Releases.js +2 -2
- package/cjs/resources/SetupAttempts.d.ts +9 -2
- package/cjs/resources/SetupIntents.d.ts +34 -0
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +21 -2
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +36 -0
- package/cjs/resources/Terminal/Readers.d.ts +20 -2
- package/cjs/resources/V2/Core/Events.d.ts +81 -5
- package/cjs/resources/V2/Core/Events.js +12 -6
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +1 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js +1 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +119 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +44 -2
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +76 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +43 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +3 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +3 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +10 -1
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/SpendingMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +15 -8
- package/cjs/resources/V2/MoneyManagement/index.js +2 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources.js +2 -0
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +187 -0
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.js +7 -3
- package/cjs/stripe.core.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +5 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Webhooks.js +159 -42
- package/esm/Webhooks.js.map +1 -1
- package/esm/crypto/CryptoProvider.d.ts +4 -0
- package/esm/crypto/CryptoProvider.js +6 -0
- package/esm/crypto/CryptoProvider.js.map +1 -1
- package/esm/crypto/NodeCryptoProvider.d.ts +2 -0
- package/esm/crypto/NodeCryptoProvider.js +6 -2
- package/esm/crypto/NodeCryptoProvider.js.map +1 -1
- package/esm/crypto/SubtleCryptoProvider.d.ts +2 -0
- package/esm/crypto/SubtleCryptoProvider.js +4 -0
- package/esm/crypto/SubtleCryptoProvider.js.map +1 -1
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/Charges.d.ts +23 -6
- package/esm/resources/Checkout/Sessions.d.ts +6 -0
- package/esm/resources/Checkout/Sessions.js +2 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/ConfirmationTokens.d.ts +19 -2
- package/esm/resources/Customers.d.ts +50 -0
- package/esm/resources/FxQuotes.d.ts +2 -2
- package/esm/resources/Identity/VerificationReports.d.ts +32 -0
- package/esm/resources/Mandates.d.ts +7 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +98 -1
- package/esm/resources/PaymentIntents.d.ts +27 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/esm/resources/PaymentMethods.d.ts +19 -2
- package/esm/resources/PaymentRecords.d.ts +132 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +24 -0
- package/esm/resources/Reserve/Holds.d.ts +2 -2
- package/esm/resources/Reserve/Holds.js +2 -2
- package/esm/resources/Reserve/Plans.d.ts +2 -2
- package/esm/resources/Reserve/Plans.js +2 -2
- package/esm/resources/Reserve/Releases.d.ts +2 -2
- package/esm/resources/Reserve/Releases.js +2 -2
- package/esm/resources/SetupAttempts.d.ts +9 -2
- package/esm/resources/SetupIntents.d.ts +34 -0
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +21 -2
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +36 -0
- package/esm/resources/Terminal/Readers.d.ts +20 -2
- package/esm/resources/V2/Core/Events.d.ts +81 -5
- package/esm/resources/V2/Core/Events.js +12 -6
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +1 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js +1 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +119 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +44 -2
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +76 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +43 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +3 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +3 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +10 -1
- package/esm/resources/V2/MoneyManagement/SpendingMandates.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/SpendingMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/SpendingMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +15 -8
- package/esm/resources/V2/MoneyManagement/index.js +2 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources.js +2 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.js +7 -3
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.js +7 -3
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -526,6 +526,7 @@ export declare namespace SetupIntent {
|
|
|
526
526
|
interface AmazonPay {
|
|
527
527
|
}
|
|
528
528
|
interface BacsDebit {
|
|
529
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
529
530
|
mandate_options?: BacsDebit.MandateOptions;
|
|
530
531
|
verification_method?: BacsDebit.VerificationMethod;
|
|
531
532
|
}
|
|
@@ -640,6 +641,9 @@ export declare namespace SetupIntent {
|
|
|
640
641
|
}
|
|
641
642
|
}
|
|
642
643
|
namespace BacsDebit {
|
|
644
|
+
interface FinancialConnections {
|
|
645
|
+
return_url?: string;
|
|
646
|
+
}
|
|
643
647
|
interface MandateOptions {
|
|
644
648
|
/**
|
|
645
649
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -1931,6 +1935,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1931
1935
|
interface AmazonPay {
|
|
1932
1936
|
}
|
|
1933
1937
|
interface BacsDebit {
|
|
1938
|
+
/**
|
|
1939
|
+
* Additional fields for Financial Connections session creation.
|
|
1940
|
+
*/
|
|
1941
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
1934
1942
|
/**
|
|
1935
1943
|
* Additional fields for Mandate creation
|
|
1936
1944
|
*/
|
|
@@ -2099,6 +2107,12 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2099
2107
|
}
|
|
2100
2108
|
}
|
|
2101
2109
|
namespace BacsDebit {
|
|
2110
|
+
interface FinancialConnections {
|
|
2111
|
+
/**
|
|
2112
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
2113
|
+
*/
|
|
2114
|
+
return_url?: string;
|
|
2115
|
+
}
|
|
2102
2116
|
interface MandateOptions {
|
|
2103
2117
|
/**
|
|
2104
2118
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -3428,6 +3442,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3428
3442
|
interface AmazonPay {
|
|
3429
3443
|
}
|
|
3430
3444
|
interface BacsDebit {
|
|
3445
|
+
/**
|
|
3446
|
+
* Additional fields for Financial Connections session creation.
|
|
3447
|
+
*/
|
|
3448
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
3431
3449
|
/**
|
|
3432
3450
|
* Additional fields for Mandate creation
|
|
3433
3451
|
*/
|
|
@@ -3596,6 +3614,12 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3596
3614
|
}
|
|
3597
3615
|
}
|
|
3598
3616
|
namespace BacsDebit {
|
|
3617
|
+
interface FinancialConnections {
|
|
3618
|
+
/**
|
|
3619
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
3620
|
+
*/
|
|
3621
|
+
return_url?: string;
|
|
3622
|
+
}
|
|
3599
3623
|
interface MandateOptions {
|
|
3600
3624
|
/**
|
|
3601
3625
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -4986,6 +5010,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4986
5010
|
interface AmazonPay {
|
|
4987
5011
|
}
|
|
4988
5012
|
interface BacsDebit {
|
|
5013
|
+
/**
|
|
5014
|
+
* Additional fields for Financial Connections session creation.
|
|
5015
|
+
*/
|
|
5016
|
+
financial_connections?: BacsDebit.FinancialConnections;
|
|
4989
5017
|
/**
|
|
4990
5018
|
* Additional fields for Mandate creation
|
|
4991
5019
|
*/
|
|
@@ -5154,6 +5182,12 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
5154
5182
|
}
|
|
5155
5183
|
}
|
|
5156
5184
|
namespace BacsDebit {
|
|
5185
|
+
interface FinancialConnections {
|
|
5186
|
+
/**
|
|
5187
|
+
* For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
5188
|
+
*/
|
|
5189
|
+
return_url?: string;
|
|
5190
|
+
}
|
|
5157
5191
|
interface MandateOptions {
|
|
5158
5192
|
/**
|
|
5159
5193
|
* Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
@@ -40,6 +40,10 @@ export interface GrantedToken {
|
|
|
40
40
|
* Details of the PaymentMethod that was shared via this token.
|
|
41
41
|
*/
|
|
42
42
|
payment_method_details: GrantedToken.PaymentMethodDetails | null;
|
|
43
|
+
/**
|
|
44
|
+
* Referral fees may be charged when a SharedPaymentGrantedToken is used. This behavior is controlled by the issuer of the token. This field provides details about the referral fee rate.
|
|
45
|
+
*/
|
|
46
|
+
referral_fee_details?: GrantedToken.ReferralFeeDetails | null;
|
|
43
47
|
/**
|
|
44
48
|
* Risk details of the SharedPaymentGrantedToken.
|
|
45
49
|
*/
|
|
@@ -81,6 +85,9 @@ export declare namespace GrantedToken {
|
|
|
81
85
|
*/
|
|
82
86
|
type: PaymentMethodDetails.Type;
|
|
83
87
|
}
|
|
88
|
+
interface ReferralFeeDetails {
|
|
89
|
+
rate: ReferralFeeDetails.Rate;
|
|
90
|
+
}
|
|
84
91
|
interface RiskDetails {
|
|
85
92
|
/**
|
|
86
93
|
* Risk insights for this token, including scores and recommended actions for each risk type.
|
|
@@ -221,11 +228,11 @@ export declare namespace GrantedToken {
|
|
|
221
228
|
namespace Card {
|
|
222
229
|
interface Checks {
|
|
223
230
|
/**
|
|
224
|
-
* If
|
|
231
|
+
* If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
225
232
|
*/
|
|
226
233
|
address_line1_check: string | null;
|
|
227
234
|
/**
|
|
228
|
-
* If
|
|
235
|
+
* If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
229
236
|
*/
|
|
230
237
|
address_postal_code_check: string | null;
|
|
231
238
|
/**
|
|
@@ -327,6 +334,18 @@ export declare namespace GrantedToken {
|
|
|
327
334
|
}
|
|
328
335
|
}
|
|
329
336
|
}
|
|
337
|
+
namespace ReferralFeeDetails {
|
|
338
|
+
interface Rate {
|
|
339
|
+
/**
|
|
340
|
+
* The percentage of the payment amount which will be calculated as a fee.
|
|
341
|
+
*/
|
|
342
|
+
percentage: number | null;
|
|
343
|
+
/**
|
|
344
|
+
* The type of fee rate.
|
|
345
|
+
*/
|
|
346
|
+
type: 'percentage';
|
|
347
|
+
}
|
|
348
|
+
}
|
|
330
349
|
namespace RiskDetails {
|
|
331
350
|
interface Insights {
|
|
332
351
|
/**
|
|
@@ -48,6 +48,10 @@ export interface IssuedToken {
|
|
|
48
48
|
* ID of an existing PaymentMethod.
|
|
49
49
|
*/
|
|
50
50
|
payment_method: string;
|
|
51
|
+
/**
|
|
52
|
+
* Referral fee details of the SharedPaymentIssuedToken.
|
|
53
|
+
*/
|
|
54
|
+
referral_fee_details?: IssuedToken.ReferralFeeDetails | null;
|
|
51
55
|
/**
|
|
52
56
|
* If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
|
53
57
|
*/
|
|
@@ -103,6 +107,20 @@ export declare namespace IssuedToken {
|
|
|
103
107
|
*/
|
|
104
108
|
use_stripe_sdk: NextAction.UseStripeSdk | null;
|
|
105
109
|
}
|
|
110
|
+
interface ReferralFeeDetails {
|
|
111
|
+
/**
|
|
112
|
+
* The Customer to be invoiced for fees assessed.
|
|
113
|
+
*/
|
|
114
|
+
customer: string;
|
|
115
|
+
/**
|
|
116
|
+
* The account to be invoiced for fees assessed.
|
|
117
|
+
*/
|
|
118
|
+
customer_account: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* The percentage of the payment charged as a referral fee.
|
|
121
|
+
*/
|
|
122
|
+
referral_fee_percent: number;
|
|
123
|
+
}
|
|
106
124
|
interface RiskDetails {
|
|
107
125
|
/**
|
|
108
126
|
* Risk insights for this token, including scores and recommended actions for each risk type.
|
|
@@ -290,6 +308,10 @@ export declare namespace SharedPayment {
|
|
|
290
308
|
* Specifies which fields in the response should be expanded.
|
|
291
309
|
*/
|
|
292
310
|
expand?: Array<string>;
|
|
311
|
+
/**
|
|
312
|
+
* Referral fee details for this SharedPaymentToken.
|
|
313
|
+
*/
|
|
314
|
+
referral_fee_details?: IssuedTokenCreateParams.ReferralFeeDetails;
|
|
293
315
|
/**
|
|
294
316
|
* If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
|
295
317
|
*/
|
|
@@ -342,6 +364,20 @@ export declare namespace SharedPayment {
|
|
|
342
364
|
*/
|
|
343
365
|
recurring_interval?: UsageLimits.RecurringInterval;
|
|
344
366
|
}
|
|
367
|
+
interface ReferralFeeDetails {
|
|
368
|
+
/**
|
|
369
|
+
* The Customer to be invoiced for fees assessed.
|
|
370
|
+
*/
|
|
371
|
+
customer?: string;
|
|
372
|
+
/**
|
|
373
|
+
* The account with a Customer configuration to be invoiced for fees assessed.
|
|
374
|
+
*/
|
|
375
|
+
customer_account?: string;
|
|
376
|
+
/**
|
|
377
|
+
* The percentage of the payment to charge as a referral fee, from 0 through 50 with at most two decimal places.
|
|
378
|
+
*/
|
|
379
|
+
referral_fee_percent: number;
|
|
380
|
+
}
|
|
345
381
|
namespace UsageLimits {
|
|
346
382
|
interface Recurring {
|
|
347
383
|
/**
|
|
@@ -97,6 +97,14 @@ export interface Reader {
|
|
|
97
97
|
* Always true for a deleted object
|
|
98
98
|
*/
|
|
99
99
|
deleted?: void;
|
|
100
|
+
/**
|
|
101
|
+
* The overall device health of the reader: `healthy` or `unhealthy`. Renamed to `no_issues_detected` and `needs_attention` respectively; see `device_health_details` for the specific conditions.
|
|
102
|
+
*/
|
|
103
|
+
device_health: Reader.DeviceHealth | null;
|
|
104
|
+
/**
|
|
105
|
+
* The set of conditions affecting the reader's device health. Empty when there are no conditions.
|
|
106
|
+
*/
|
|
107
|
+
device_health_details: Array<Reader.DeviceHealthDetail> | null;
|
|
100
108
|
/**
|
|
101
109
|
* The current software version of the reader.
|
|
102
110
|
*/
|
|
@@ -161,7 +169,7 @@ export interface DeletedReader {
|
|
|
161
169
|
serial_number: string;
|
|
162
170
|
}
|
|
163
171
|
export declare namespace DeletedReader {
|
|
164
|
-
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'stripe_t600' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
172
|
+
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s700_devkit' | 'stripe_s710' | 'stripe_s710_devkit' | 'stripe_t600' | 'stripe_t600_devkit' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_ux700_devkit' | 'verifone_v660p' | 'verifone_v660p_devkit' | OtherString;
|
|
165
173
|
}
|
|
166
174
|
export declare namespace Reader {
|
|
167
175
|
interface Action {
|
|
@@ -238,6 +246,13 @@ export declare namespace Reader {
|
|
|
238
246
|
*/
|
|
239
247
|
type: Action.Type;
|
|
240
248
|
}
|
|
249
|
+
type DeviceHealth = 'healthy' | 'unhealthy' | OtherString;
|
|
250
|
+
interface DeviceHealthDetail {
|
|
251
|
+
/**
|
|
252
|
+
* The type of condition affecting the reader's device health.
|
|
253
|
+
*/
|
|
254
|
+
type: DeviceHealthDetail.Type;
|
|
255
|
+
}
|
|
241
256
|
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'stripe_t600' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
242
257
|
type Status = 'offline' | 'online' | OtherString;
|
|
243
258
|
namespace Action {
|
|
@@ -823,6 +838,9 @@ export declare namespace Reader {
|
|
|
823
838
|
}
|
|
824
839
|
}
|
|
825
840
|
}
|
|
841
|
+
namespace DeviceHealthDetail {
|
|
842
|
+
type Type = 'unrecoverable_tamper' | OtherString;
|
|
843
|
+
}
|
|
826
844
|
}
|
|
827
845
|
export declare namespace Terminal {
|
|
828
846
|
interface ReaderCreateParams {
|
|
@@ -896,7 +914,7 @@ export declare namespace Terminal {
|
|
|
896
914
|
status?: ReaderListParams.Status;
|
|
897
915
|
}
|
|
898
916
|
namespace ReaderListParams {
|
|
899
|
-
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'stripe_t600' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
917
|
+
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s700_devkit' | 'stripe_s710' | 'stripe_s710_devkit' | 'stripe_t600' | 'stripe_t600_devkit' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_ux700_devkit' | 'verifone_v660p' | 'verifone_v660p_devkit' | OtherString;
|
|
900
918
|
type Status = 'offline' | 'online' | OtherString;
|
|
901
919
|
}
|
|
902
920
|
}
|