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
package/cjs/stripe.cjs.node.d.ts
CHANGED
|
@@ -2505,6 +2505,10 @@ declare namespace StripeConstructor {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
namespace Receipt {
|
|
2507
2507
|
type AccountType = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt.AccountType;
|
|
2508
|
+
type CardholderMessage = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage;
|
|
2509
|
+
namespace CardholderMessage {
|
|
2510
|
+
type Destination = Stripe_.Charge.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage.Destination;
|
|
2511
|
+
}
|
|
2508
2512
|
}
|
|
2509
2513
|
namespace Wallet {
|
|
2510
2514
|
type Type = Stripe_.Charge.PaymentMethodDetails.CardPresent.Wallet.Type;
|
|
@@ -2745,6 +2749,10 @@ declare namespace StripeConstructor {
|
|
|
2745
2749
|
}
|
|
2746
2750
|
namespace Receipt {
|
|
2747
2751
|
type AccountType = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType;
|
|
2752
|
+
type CardholderMessage = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage;
|
|
2753
|
+
namespace CardholderMessage {
|
|
2754
|
+
type Destination = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage.Destination;
|
|
2755
|
+
}
|
|
2748
2756
|
}
|
|
2749
2757
|
namespace Wallet {
|
|
2750
2758
|
type Type = Stripe_.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type;
|
|
@@ -2980,6 +2988,7 @@ declare namespace StripeConstructor {
|
|
|
2980
2988
|
namespace CustomerUpdateParams {
|
|
2981
2989
|
type CashBalance = Stripe_.CustomerUpdateParams.CashBalance;
|
|
2982
2990
|
type InvoiceSettings = Stripe_.CustomerUpdateParams.InvoiceSettings;
|
|
2991
|
+
type MarketingAttribution = Stripe_.CustomerUpdateParams.MarketingAttribution;
|
|
2983
2992
|
type Shipping = Stripe_.CustomerUpdateParams.Shipping;
|
|
2984
2993
|
type Tax = Stripe_.CustomerUpdateParams.Tax;
|
|
2985
2994
|
type TaxExempt = Stripe_.CustomerUpdateParams.TaxExempt;
|
|
@@ -2996,6 +3005,9 @@ declare namespace StripeConstructor {
|
|
|
2996
3005
|
type AmountTaxDisplay = Stripe_.CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay;
|
|
2997
3006
|
}
|
|
2998
3007
|
}
|
|
3008
|
+
namespace MarketingAttribution {
|
|
3009
|
+
type AdConversion = Stripe_.CustomerUpdateParams.MarketingAttribution.AdConversion;
|
|
3010
|
+
}
|
|
2999
3011
|
namespace Tax {
|
|
3000
3012
|
type ValidateLocation = Stripe_.CustomerUpdateParams.Tax.ValidateLocation;
|
|
3001
3013
|
}
|
|
@@ -4581,6 +4593,7 @@ declare namespace StripeConstructor {
|
|
|
4581
4593
|
type Pix = Stripe_.Mandate.PaymentMethodDetails.Pix;
|
|
4582
4594
|
type RevolutPay = Stripe_.Mandate.PaymentMethodDetails.RevolutPay;
|
|
4583
4595
|
type SepaDebit = Stripe_.Mandate.PaymentMethodDetails.SepaDebit;
|
|
4596
|
+
type TossPay = Stripe_.Mandate.PaymentMethodDetails.TossPay;
|
|
4584
4597
|
type Twint = Stripe_.Mandate.PaymentMethodDetails.Twint;
|
|
4585
4598
|
type Upi = Stripe_.Mandate.PaymentMethodDetails.Upi;
|
|
4586
4599
|
type UsBankAccount = Stripe_.Mandate.PaymentMethodDetails.UsBankAccount;
|
|
@@ -5258,11 +5271,20 @@ declare namespace StripeConstructor {
|
|
|
5258
5271
|
type Card = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card;
|
|
5259
5272
|
namespace Card {
|
|
5260
5273
|
type Checks = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.Checks;
|
|
5274
|
+
type ThreeDSecure = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure;
|
|
5261
5275
|
namespace Checks {
|
|
5262
5276
|
type AddressLine1Check = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.Checks.AddressLine1Check;
|
|
5263
5277
|
type AddressPostalCodeCheck = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck;
|
|
5264
5278
|
type CvcCheck = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.Checks.CvcCheck;
|
|
5265
5279
|
}
|
|
5280
|
+
namespace ThreeDSecure {
|
|
5281
|
+
type AuthenticationFlow = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow;
|
|
5282
|
+
type ElectronicCommerceIndicator = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator;
|
|
5283
|
+
type ExemptionIndicator = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator;
|
|
5284
|
+
type Result = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.Result;
|
|
5285
|
+
type ResultReason = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.ResultReason;
|
|
5286
|
+
type Version = Stripe_.PaymentAttemptRecordReportAuthorizedParams.PaymentMethodDetails.Card.ThreeDSecure.Version;
|
|
5287
|
+
}
|
|
5266
5288
|
}
|
|
5267
5289
|
}
|
|
5268
5290
|
namespace ProcessorDetails {
|
|
@@ -5304,11 +5326,20 @@ declare namespace StripeConstructor {
|
|
|
5304
5326
|
type Type = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Type;
|
|
5305
5327
|
namespace Card {
|
|
5306
5328
|
type Checks = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks;
|
|
5329
|
+
type ThreeDSecure = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure;
|
|
5307
5330
|
namespace Checks {
|
|
5308
5331
|
type AddressLine1Check = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressLine1Check;
|
|
5309
5332
|
type AddressPostalCodeCheck = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck;
|
|
5310
5333
|
type CvcCheck = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.Checks.CvcCheck;
|
|
5311
5334
|
}
|
|
5335
|
+
namespace ThreeDSecure {
|
|
5336
|
+
type AuthenticationFlow = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow;
|
|
5337
|
+
type ElectronicCommerceIndicator = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator;
|
|
5338
|
+
type ExemptionIndicator = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator;
|
|
5339
|
+
type Result = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.Result;
|
|
5340
|
+
type ResultReason = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ResultReason;
|
|
5341
|
+
type Version = Stripe_.PaymentAttemptRecordReportGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.Version;
|
|
5342
|
+
}
|
|
5312
5343
|
}
|
|
5313
5344
|
}
|
|
5314
5345
|
namespace ProcessorDetails {
|
|
@@ -5510,6 +5541,10 @@ declare namespace StripeConstructor {
|
|
|
5510
5541
|
}
|
|
5511
5542
|
namespace Receipt {
|
|
5512
5543
|
type AccountType = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType;
|
|
5544
|
+
type CardholderMessage = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage;
|
|
5545
|
+
namespace CardholderMessage {
|
|
5546
|
+
type Destination = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage.Destination;
|
|
5547
|
+
}
|
|
5513
5548
|
}
|
|
5514
5549
|
namespace Wallet {
|
|
5515
5550
|
type Type = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent.Wallet.Type;
|
|
@@ -8666,6 +8701,7 @@ declare namespace StripeConstructor {
|
|
|
8666
8701
|
type WechatPayHandleAppRedirect = Stripe_.PaymentIntent.NextAction.WechatPayHandleAppRedirect;
|
|
8667
8702
|
type WechatPayRedirectToAndroidApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToAndroidApp;
|
|
8668
8703
|
type WechatPayRedirectToIosApp = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToIosApp;
|
|
8704
|
+
type WechatPayRedirectToMiniProgram = Stripe_.PaymentIntent.NextAction.WechatPayRedirectToMiniProgram;
|
|
8669
8705
|
namespace CashappHandleRedirectOrDisplayQrCode {
|
|
8670
8706
|
type QrCode = Stripe_.PaymentIntent.NextAction.CashappHandleRedirectOrDisplayQrCode.QrCode;
|
|
8671
8707
|
}
|
|
@@ -9954,6 +9990,10 @@ declare namespace StripeConstructor {
|
|
|
9954
9990
|
}
|
|
9955
9991
|
namespace Receipt {
|
|
9956
9992
|
type AccountType = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.AccountType;
|
|
9993
|
+
type CardholderMessage = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage;
|
|
9994
|
+
namespace CardholderMessage {
|
|
9995
|
+
type Destination = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage.Destination;
|
|
9996
|
+
}
|
|
9957
9997
|
}
|
|
9958
9998
|
namespace Wallet {
|
|
9959
9999
|
type Type = Stripe_.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Wallet.Type;
|
|
@@ -10106,6 +10146,7 @@ declare namespace StripeConstructor {
|
|
|
10106
10146
|
type Sofort = Stripe_.PaymentMethodConfigurationCreateParams.Sofort;
|
|
10107
10147
|
type Sunbit = Stripe_.PaymentMethodConfigurationCreateParams.Sunbit;
|
|
10108
10148
|
type Swish = Stripe_.PaymentMethodConfigurationCreateParams.Swish;
|
|
10149
|
+
type TossPay = Stripe_.PaymentMethodConfigurationCreateParams.TossPay;
|
|
10109
10150
|
type Twint = Stripe_.PaymentMethodConfigurationCreateParams.Twint;
|
|
10110
10151
|
type Upi = Stripe_.PaymentMethodConfigurationCreateParams.Upi;
|
|
10111
10152
|
type UsBankAccount = Stripe_.PaymentMethodConfigurationCreateParams.UsBankAccount;
|
|
@@ -10484,6 +10525,12 @@ declare namespace StripeConstructor {
|
|
|
10484
10525
|
type Preference = Stripe_.PaymentMethodConfigurationCreateParams.Swish.DisplayPreference.Preference;
|
|
10485
10526
|
}
|
|
10486
10527
|
}
|
|
10528
|
+
namespace TossPay {
|
|
10529
|
+
type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.TossPay.DisplayPreference;
|
|
10530
|
+
namespace DisplayPreference {
|
|
10531
|
+
type Preference = Stripe_.PaymentMethodConfigurationCreateParams.TossPay.DisplayPreference.Preference;
|
|
10532
|
+
}
|
|
10533
|
+
}
|
|
10487
10534
|
namespace Twint {
|
|
10488
10535
|
type DisplayPreference = Stripe_.PaymentMethodConfigurationCreateParams.Twint.DisplayPreference;
|
|
10489
10536
|
namespace DisplayPreference {
|
|
@@ -10584,6 +10631,7 @@ declare namespace StripeConstructor {
|
|
|
10584
10631
|
type Sofort = Stripe_.PaymentMethodConfigurationUpdateParams.Sofort;
|
|
10585
10632
|
type Sunbit = Stripe_.PaymentMethodConfigurationUpdateParams.Sunbit;
|
|
10586
10633
|
type Swish = Stripe_.PaymentMethodConfigurationUpdateParams.Swish;
|
|
10634
|
+
type TossPay = Stripe_.PaymentMethodConfigurationUpdateParams.TossPay;
|
|
10587
10635
|
type Twint = Stripe_.PaymentMethodConfigurationUpdateParams.Twint;
|
|
10588
10636
|
type Upi = Stripe_.PaymentMethodConfigurationUpdateParams.Upi;
|
|
10589
10637
|
type UsBankAccount = Stripe_.PaymentMethodConfigurationUpdateParams.UsBankAccount;
|
|
@@ -10962,6 +11010,12 @@ declare namespace StripeConstructor {
|
|
|
10962
11010
|
type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.Swish.DisplayPreference.Preference;
|
|
10963
11011
|
}
|
|
10964
11012
|
}
|
|
11013
|
+
namespace TossPay {
|
|
11014
|
+
type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.TossPay.DisplayPreference;
|
|
11015
|
+
namespace DisplayPreference {
|
|
11016
|
+
type Preference = Stripe_.PaymentMethodConfigurationUpdateParams.TossPay.DisplayPreference.Preference;
|
|
11017
|
+
}
|
|
11018
|
+
}
|
|
10965
11019
|
namespace Twint {
|
|
10966
11020
|
type DisplayPreference = Stripe_.PaymentMethodConfigurationUpdateParams.Twint.DisplayPreference;
|
|
10967
11021
|
namespace DisplayPreference {
|
|
@@ -11060,6 +11114,7 @@ declare namespace StripeConstructor {
|
|
|
11060
11114
|
type Sofort = Stripe_.PaymentMethodConfiguration.Sofort;
|
|
11061
11115
|
type Sunbit = Stripe_.PaymentMethodConfiguration.Sunbit;
|
|
11062
11116
|
type Swish = Stripe_.PaymentMethodConfiguration.Swish;
|
|
11117
|
+
type TossPay = Stripe_.PaymentMethodConfiguration.TossPay;
|
|
11063
11118
|
type Twint = Stripe_.PaymentMethodConfiguration.Twint;
|
|
11064
11119
|
type Upi = Stripe_.PaymentMethodConfiguration.Upi;
|
|
11065
11120
|
type UsBankAccount = Stripe_.PaymentMethodConfiguration.UsBankAccount;
|
|
@@ -11486,6 +11541,13 @@ declare namespace StripeConstructor {
|
|
|
11486
11541
|
type Value = Stripe_.PaymentMethodConfiguration.Swish.DisplayPreference.Value;
|
|
11487
11542
|
}
|
|
11488
11543
|
}
|
|
11544
|
+
namespace TossPay {
|
|
11545
|
+
type DisplayPreference = Stripe_.PaymentMethodConfiguration.TossPay.DisplayPreference;
|
|
11546
|
+
namespace DisplayPreference {
|
|
11547
|
+
type Preference = Stripe_.PaymentMethodConfiguration.TossPay.DisplayPreference.Preference;
|
|
11548
|
+
type Value = Stripe_.PaymentMethodConfiguration.TossPay.DisplayPreference.Value;
|
|
11549
|
+
}
|
|
11550
|
+
}
|
|
11489
11551
|
namespace Twint {
|
|
11490
11552
|
type DisplayPreference = Stripe_.PaymentMethodConfiguration.Twint.DisplayPreference;
|
|
11491
11553
|
namespace DisplayPreference {
|
|
@@ -11676,11 +11738,20 @@ declare namespace StripeConstructor {
|
|
|
11676
11738
|
type UsBankAccount = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.UsBankAccount;
|
|
11677
11739
|
namespace Card {
|
|
11678
11740
|
type Checks = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks;
|
|
11741
|
+
type ThreeDSecure = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure;
|
|
11679
11742
|
namespace Checks {
|
|
11680
11743
|
type AddressLine1Check = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.AddressLine1Check;
|
|
11681
11744
|
type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck;
|
|
11682
11745
|
type CvcCheck = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.Checks.CvcCheck;
|
|
11683
11746
|
}
|
|
11747
|
+
namespace ThreeDSecure {
|
|
11748
|
+
type AuthenticationFlow = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow;
|
|
11749
|
+
type ElectronicCommerceIndicator = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator;
|
|
11750
|
+
type ExemptionIndicator = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator;
|
|
11751
|
+
type Result = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.Result;
|
|
11752
|
+
type ResultReason = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.ResultReason;
|
|
11753
|
+
type Version = Stripe_.PaymentRecordReportPaymentParams.PaymentMethodDetails.Card.ThreeDSecure.Version;
|
|
11754
|
+
}
|
|
11684
11755
|
}
|
|
11685
11756
|
}
|
|
11686
11757
|
namespace ProcessorDetails {
|
|
@@ -11718,11 +11789,20 @@ declare namespace StripeConstructor {
|
|
|
11718
11789
|
type UsBankAccount = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.UsBankAccount;
|
|
11719
11790
|
namespace Card {
|
|
11720
11791
|
type Checks = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks;
|
|
11792
|
+
type ThreeDSecure = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure;
|
|
11721
11793
|
namespace Checks {
|
|
11722
11794
|
type AddressLine1Check = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.AddressLine1Check;
|
|
11723
11795
|
type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck;
|
|
11724
11796
|
type CvcCheck = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.Checks.CvcCheck;
|
|
11725
11797
|
}
|
|
11798
|
+
namespace ThreeDSecure {
|
|
11799
|
+
type AuthenticationFlow = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow;
|
|
11800
|
+
type ElectronicCommerceIndicator = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator;
|
|
11801
|
+
type ExemptionIndicator = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator;
|
|
11802
|
+
type Result = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.Result;
|
|
11803
|
+
type ResultReason = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.ResultReason;
|
|
11804
|
+
type Version = Stripe_.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Card.ThreeDSecure.Version;
|
|
11805
|
+
}
|
|
11726
11806
|
}
|
|
11727
11807
|
}
|
|
11728
11808
|
}
|
|
@@ -11758,11 +11838,20 @@ declare namespace StripeConstructor {
|
|
|
11758
11838
|
type Type = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Type;
|
|
11759
11839
|
namespace Card {
|
|
11760
11840
|
type Checks = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks;
|
|
11841
|
+
type ThreeDSecure = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure;
|
|
11761
11842
|
namespace Checks {
|
|
11762
11843
|
type AddressLine1Check = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressLine1Check;
|
|
11763
11844
|
type AddressPostalCodeCheck = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.AddressPostalCodeCheck;
|
|
11764
11845
|
type CvcCheck = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.Checks.CvcCheck;
|
|
11765
11846
|
}
|
|
11847
|
+
namespace ThreeDSecure {
|
|
11848
|
+
type AuthenticationFlow = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.AuthenticationFlow;
|
|
11849
|
+
type ElectronicCommerceIndicator = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ElectronicCommerceIndicator;
|
|
11850
|
+
type ExemptionIndicator = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ExemptionIndicator;
|
|
11851
|
+
type Result = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.Result;
|
|
11852
|
+
type ResultReason = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.ResultReason;
|
|
11853
|
+
type Version = Stripe_.PaymentRecordReportPaymentAttemptGuaranteedParams.PaymentMethodDetails.Card.ThreeDSecure.Version;
|
|
11854
|
+
}
|
|
11766
11855
|
}
|
|
11767
11856
|
}
|
|
11768
11857
|
namespace ProcessorDetails {
|
|
@@ -11964,6 +12053,10 @@ declare namespace StripeConstructor {
|
|
|
11964
12053
|
}
|
|
11965
12054
|
namespace Receipt {
|
|
11966
12055
|
type AccountType = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.AccountType;
|
|
12056
|
+
type CardholderMessage = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage;
|
|
12057
|
+
namespace CardholderMessage {
|
|
12058
|
+
type Destination = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Receipt.CardholderMessage.Destination;
|
|
12059
|
+
}
|
|
11967
12060
|
}
|
|
11968
12061
|
namespace Wallet {
|
|
11969
12062
|
type Type = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent.Wallet.Type;
|
|
@@ -13079,6 +13172,7 @@ declare namespace StripeConstructor {
|
|
|
13079
13172
|
type SepaDebit = Stripe_.SetupAttempt.PaymentMethodDetails.SepaDebit;
|
|
13080
13173
|
type Sofort = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort;
|
|
13081
13174
|
type StripeBalance = Stripe_.SetupAttempt.PaymentMethodDetails.StripeBalance;
|
|
13175
|
+
type TossPay = Stripe_.SetupAttempt.PaymentMethodDetails.TossPay;
|
|
13082
13176
|
type Twint = Stripe_.SetupAttempt.PaymentMethodDetails.Twint;
|
|
13083
13177
|
type Upi = Stripe_.SetupAttempt.PaymentMethodDetails.Upi;
|
|
13084
13178
|
type UsBankAccount = Stripe_.SetupAttempt.PaymentMethodDetails.UsBankAccount;
|
|
@@ -13294,6 +13388,7 @@ declare namespace StripeConstructor {
|
|
|
13294
13388
|
}
|
|
13295
13389
|
}
|
|
13296
13390
|
namespace BacsDebit {
|
|
13391
|
+
type FinancialConnections = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.FinancialConnections;
|
|
13297
13392
|
type MandateOptions = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.MandateOptions;
|
|
13298
13393
|
type VerificationMethod = Stripe_.SetupIntentCreateParams.PaymentMethodOptions.BacsDebit.VerificationMethod;
|
|
13299
13394
|
}
|
|
@@ -13553,6 +13648,7 @@ declare namespace StripeConstructor {
|
|
|
13553
13648
|
}
|
|
13554
13649
|
}
|
|
13555
13650
|
namespace BacsDebit {
|
|
13651
|
+
type FinancialConnections = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.FinancialConnections;
|
|
13556
13652
|
type MandateOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.MandateOptions;
|
|
13557
13653
|
type VerificationMethod = Stripe_.SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit.VerificationMethod;
|
|
13558
13654
|
}
|
|
@@ -13823,6 +13919,7 @@ declare namespace StripeConstructor {
|
|
|
13823
13919
|
}
|
|
13824
13920
|
}
|
|
13825
13921
|
namespace BacsDebit {
|
|
13922
|
+
type FinancialConnections = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.FinancialConnections;
|
|
13826
13923
|
type MandateOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.MandateOptions;
|
|
13827
13924
|
type VerificationMethod = Stripe_.SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit.VerificationMethod;
|
|
13828
13925
|
}
|
|
@@ -13994,6 +14091,7 @@ declare namespace StripeConstructor {
|
|
|
13994
14091
|
}
|
|
13995
14092
|
}
|
|
13996
14093
|
namespace BacsDebit {
|
|
14094
|
+
type FinancialConnections = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit.FinancialConnections;
|
|
13997
14095
|
type MandateOptions = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions;
|
|
13998
14096
|
type VerificationMethod = Stripe_.SetupIntent.PaymentMethodOptions.BacsDebit.VerificationMethod;
|
|
13999
14097
|
}
|
|
@@ -19092,6 +19190,7 @@ declare namespace StripeConstructor {
|
|
|
19092
19190
|
type FraudulentEmail = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail;
|
|
19093
19191
|
type FraudulentPerson = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson;
|
|
19094
19192
|
type FraudulentPhone = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone;
|
|
19193
|
+
type FraudulentSelfie = Stripe_.Identity.VerificationReport.Signals.FraudulentSelfie;
|
|
19095
19194
|
namespace FraudulentDocument {
|
|
19096
19195
|
type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.Indicator;
|
|
19097
19196
|
type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.RiskLevel;
|
|
@@ -19124,6 +19223,14 @@ declare namespace StripeConstructor {
|
|
|
19124
19223
|
type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone.Indicator.Indicator;
|
|
19125
19224
|
}
|
|
19126
19225
|
}
|
|
19226
|
+
namespace FraudulentSelfie {
|
|
19227
|
+
type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentSelfie.Indicator;
|
|
19228
|
+
type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentSelfie.RiskLevel;
|
|
19229
|
+
namespace Indicator {
|
|
19230
|
+
type Impact = Stripe_.Identity.VerificationReport.Signals.FraudulentSelfie.Indicator.Impact;
|
|
19231
|
+
type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentSelfie.Indicator.Indicator;
|
|
19232
|
+
}
|
|
19233
|
+
}
|
|
19127
19234
|
}
|
|
19128
19235
|
}
|
|
19129
19236
|
namespace VerificationSessionCreateParams {
|
|
@@ -20130,6 +20237,10 @@ declare namespace StripeConstructor {
|
|
|
20130
20237
|
type CustomerPresence = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence;
|
|
20131
20238
|
type PaymentType = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.Card.PaymentType;
|
|
20132
20239
|
}
|
|
20240
|
+
namespace SepaDebit {
|
|
20241
|
+
type CustomerPresence = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.SepaDebit.CustomerPresence;
|
|
20242
|
+
type PaymentType = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.SepaDebit.PaymentType;
|
|
20243
|
+
}
|
|
20133
20244
|
namespace UsBankAccount {
|
|
20134
20245
|
type CustomerPresence = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.UsBankAccount.CustomerPresence;
|
|
20135
20246
|
type PaymentType = Stripe_.Radar.PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails.UsBankAccount.PaymentType;
|
|
@@ -20219,6 +20330,10 @@ declare namespace StripeConstructor {
|
|
|
20219
20330
|
type CustomerPresence = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.CustomerPresence;
|
|
20220
20331
|
type PaymentType = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.Card.PaymentType;
|
|
20221
20332
|
}
|
|
20333
|
+
namespace SepaDebit {
|
|
20334
|
+
type CustomerPresence = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.SepaDebit.CustomerPresence;
|
|
20335
|
+
type PaymentType = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.SepaDebit.PaymentType;
|
|
20336
|
+
}
|
|
20222
20337
|
namespace UsBankAccount {
|
|
20223
20338
|
type CustomerPresence = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.UsBankAccount.CustomerPresence;
|
|
20224
20339
|
type PaymentType = Stripe_.Radar.PaymentEvaluation.PaymentDetails.MoneyMovementDetails.UsBankAccount.PaymentType;
|
|
@@ -20378,6 +20493,7 @@ declare namespace StripeConstructor {
|
|
|
20378
20493
|
type AgentDetails = Stripe_.SharedPayment.GrantedToken.AgentDetails;
|
|
20379
20494
|
type DeactivatedReason = Stripe_.SharedPayment.GrantedToken.DeactivatedReason;
|
|
20380
20495
|
type PaymentMethodDetails = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails;
|
|
20496
|
+
type ReferralFeeDetails = Stripe_.SharedPayment.GrantedToken.ReferralFeeDetails;
|
|
20381
20497
|
type RiskDetails = Stripe_.SharedPayment.GrantedToken.RiskDetails;
|
|
20382
20498
|
type UsageDetails = Stripe_.SharedPayment.GrantedToken.UsageDetails;
|
|
20383
20499
|
type UsageLimits = Stripe_.SharedPayment.GrantedToken.UsageLimits;
|
|
@@ -20407,6 +20523,9 @@ declare namespace StripeConstructor {
|
|
|
20407
20523
|
type Dob = Stripe_.SharedPayment.GrantedToken.PaymentMethodDetails.Klarna.Dob;
|
|
20408
20524
|
}
|
|
20409
20525
|
}
|
|
20526
|
+
namespace ReferralFeeDetails {
|
|
20527
|
+
type Rate = Stripe_.SharedPayment.GrantedToken.ReferralFeeDetails.Rate;
|
|
20528
|
+
}
|
|
20410
20529
|
namespace RiskDetails {
|
|
20411
20530
|
type Insights = Stripe_.SharedPayment.GrantedToken.RiskDetails.Insights;
|
|
20412
20531
|
namespace Insights {
|
|
@@ -20431,6 +20550,7 @@ declare namespace StripeConstructor {
|
|
|
20431
20550
|
namespace IssuedTokenCreateParams {
|
|
20432
20551
|
type SellerDetails = Stripe_.SharedPayment.IssuedTokenCreateParams.SellerDetails;
|
|
20433
20552
|
type UsageLimits = Stripe_.SharedPayment.IssuedTokenCreateParams.UsageLimits;
|
|
20553
|
+
type ReferralFeeDetails = Stripe_.SharedPayment.IssuedTokenCreateParams.ReferralFeeDetails;
|
|
20434
20554
|
namespace UsageLimits {
|
|
20435
20555
|
type Recurring = Stripe_.SharedPayment.IssuedTokenCreateParams.UsageLimits.Recurring;
|
|
20436
20556
|
type RecurringInterval = Stripe_.SharedPayment.IssuedTokenCreateParams.UsageLimits.RecurringInterval;
|
|
@@ -20442,6 +20562,7 @@ declare namespace StripeConstructor {
|
|
|
20442
20562
|
namespace IssuedToken {
|
|
20443
20563
|
type DeactivatedReason = Stripe_.SharedPayment.IssuedToken.DeactivatedReason;
|
|
20444
20564
|
type NextAction = Stripe_.SharedPayment.IssuedToken.NextAction;
|
|
20565
|
+
type ReferralFeeDetails = Stripe_.SharedPayment.IssuedToken.ReferralFeeDetails;
|
|
20445
20566
|
type RiskDetails = Stripe_.SharedPayment.IssuedToken.RiskDetails;
|
|
20446
20567
|
type SellerDetails = Stripe_.SharedPayment.IssuedToken.SellerDetails;
|
|
20447
20568
|
type Status = Stripe_.SharedPayment.IssuedToken.Status;
|
|
@@ -21848,6 +21969,8 @@ declare namespace StripeConstructor {
|
|
|
21848
21969
|
}
|
|
21849
21970
|
namespace Reader {
|
|
21850
21971
|
type Action = Stripe_.Terminal.Reader.Action;
|
|
21972
|
+
type DeviceHealth = Stripe_.Terminal.Reader.DeviceHealth;
|
|
21973
|
+
type DeviceHealthDetail = Stripe_.Terminal.Reader.DeviceHealthDetail;
|
|
21851
21974
|
type DeviceType = Stripe_.Terminal.Reader.DeviceType;
|
|
21852
21975
|
type Status = Stripe_.Terminal.Reader.Status;
|
|
21853
21976
|
namespace Action {
|
|
@@ -21927,6 +22050,9 @@ declare namespace StripeConstructor {
|
|
|
21927
22050
|
}
|
|
21928
22051
|
}
|
|
21929
22052
|
}
|
|
22053
|
+
namespace DeviceHealthDetail {
|
|
22054
|
+
type Type = Stripe_.Terminal.Reader.DeviceHealthDetail.Type;
|
|
22055
|
+
}
|
|
21930
22056
|
}
|
|
21931
22057
|
namespace ReaderCollectedData {
|
|
21932
22058
|
type Magstripe = Stripe_.Terminal.ReaderCollectedData.Magstripe;
|
|
@@ -30535,6 +30661,11 @@ declare namespace StripeConstructor {
|
|
|
30535
30661
|
type RewardProgramEnrollmentActivateParams = Stripe_.V2.MoneyManagement.RewardProgramEnrollmentActivateParams;
|
|
30536
30662
|
type RewardProgramEnrollmentDeactivateParams = Stripe_.V2.MoneyManagement.RewardProgramEnrollmentDeactivateParams;
|
|
30537
30663
|
type RewardProgramEnrollmentResource = Stripe_.V2.MoneyManagement.RewardProgramEnrollmentResource;
|
|
30664
|
+
type SpendingMandate = Stripe_.V2.MoneyManagement.SpendingMandate;
|
|
30665
|
+
type SpendingMandateRetrieveParams = Stripe_.V2.MoneyManagement.SpendingMandateRetrieveParams;
|
|
30666
|
+
type SpendingMandateListParams = Stripe_.V2.MoneyManagement.SpendingMandateListParams;
|
|
30667
|
+
type SpendingMandateCancelParams = Stripe_.V2.MoneyManagement.SpendingMandateCancelParams;
|
|
30668
|
+
type SpendingMandateResource = Stripe_.V2.MoneyManagement.SpendingMandateResource;
|
|
30538
30669
|
type Transaction = Stripe_.V2.MoneyManagement.Transaction;
|
|
30539
30670
|
type TransactionRetrieveParams = Stripe_.V2.MoneyManagement.TransactionRetrieveParams;
|
|
30540
30671
|
type TransactionUpdateParams = Stripe_.V2.MoneyManagement.TransactionUpdateParams;
|
|
@@ -30890,6 +31021,7 @@ declare namespace StripeConstructor {
|
|
|
30890
31021
|
type PayoutMethodOptions = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions;
|
|
30891
31022
|
namespace PayoutMethodOptions {
|
|
30892
31023
|
type BankAccount = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions.BankAccount;
|
|
31024
|
+
type CheckSend = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions.CheckSend;
|
|
30893
31025
|
namespace BankAccount {
|
|
30894
31026
|
type PreferredNetworkOptions = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions.BankAccount.PreferredNetworkOptions;
|
|
30895
31027
|
type PreferredNetwork = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions.BankAccount.PreferredNetwork;
|
|
@@ -30901,6 +31033,9 @@ declare namespace StripeConstructor {
|
|
|
30901
31033
|
}
|
|
30902
31034
|
}
|
|
30903
31035
|
}
|
|
31036
|
+
namespace CheckSend {
|
|
31037
|
+
type ShippingSpeed = Stripe_.V2.MoneyManagement.OutboundPaymentCreateParams.To.PayoutMethodOptions.CheckSend.ShippingSpeed;
|
|
31038
|
+
}
|
|
30904
31039
|
}
|
|
30905
31040
|
}
|
|
30906
31041
|
}
|
|
@@ -30944,6 +31079,7 @@ declare namespace StripeConstructor {
|
|
|
30944
31079
|
type PayoutMethodOptions = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions;
|
|
30945
31080
|
namespace PayoutMethodOptions {
|
|
30946
31081
|
type BankAccount = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions.BankAccount;
|
|
31082
|
+
type CheckSend = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions.CheckSend;
|
|
30947
31083
|
namespace BankAccount {
|
|
30948
31084
|
type PreferredNetworkOptions = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions.BankAccount.PreferredNetworkOptions;
|
|
30949
31085
|
type PreferredNetwork = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions.BankAccount.PreferredNetwork;
|
|
@@ -30955,6 +31091,9 @@ declare namespace StripeConstructor {
|
|
|
30955
31091
|
}
|
|
30956
31092
|
}
|
|
30957
31093
|
}
|
|
31094
|
+
namespace CheckSend {
|
|
31095
|
+
type ShippingSpeed = Stripe_.V2.MoneyManagement.OutboundPayment.To.PayoutMethodOptions.CheckSend.ShippingSpeed;
|
|
31096
|
+
}
|
|
30958
31097
|
}
|
|
30959
31098
|
}
|
|
30960
31099
|
namespace TraceId {
|
|
@@ -30963,10 +31102,16 @@ declare namespace StripeConstructor {
|
|
|
30963
31102
|
namespace TrackingDetails {
|
|
30964
31103
|
type BankAccount = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.BankAccount;
|
|
30965
31104
|
type Card = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.Card;
|
|
31105
|
+
type CheckSend = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.CheckSend;
|
|
30966
31106
|
type CryptoWallet = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.CryptoWallet;
|
|
30967
31107
|
type PaperCheck = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck;
|
|
30968
31108
|
type Status = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.Status;
|
|
30969
31109
|
type Type = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.Type;
|
|
31110
|
+
namespace CheckSend {
|
|
31111
|
+
type Carrier = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.CheckSend.Carrier;
|
|
31112
|
+
type MailingAddress = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.CheckSend.MailingAddress;
|
|
31113
|
+
type TrackingStatus = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.CheckSend.TrackingStatus;
|
|
31114
|
+
}
|
|
30970
31115
|
namespace PaperCheck {
|
|
30971
31116
|
type Carrier = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck.Carrier;
|
|
30972
31117
|
type MailingAddress = Stripe_.V2.MoneyManagement.OutboundPayment.TrackingDetails.PaperCheck.MailingAddress;
|
|
@@ -31059,12 +31204,16 @@ declare namespace StripeConstructor {
|
|
|
31059
31204
|
type ApplePay = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.ApplePay;
|
|
31060
31205
|
type BankAccount = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount;
|
|
31061
31206
|
type Card = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.Card;
|
|
31207
|
+
type CheckSend = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CheckSend;
|
|
31062
31208
|
type CryptoWallet = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CryptoWallet;
|
|
31063
31209
|
type Pix = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.Pix;
|
|
31064
31210
|
type Type = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.Type;
|
|
31065
31211
|
namespace BankAccount {
|
|
31066
31212
|
type BankAccountType = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.BankAccountType;
|
|
31067
31213
|
}
|
|
31214
|
+
namespace CheckSend {
|
|
31215
|
+
type MailingAddress = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CheckSend.MailingAddress;
|
|
31216
|
+
}
|
|
31068
31217
|
namespace CryptoWallet {
|
|
31069
31218
|
type Network = Stripe_.V2.MoneyManagement.OutboundSetupIntentCreateParams.PayoutMethodData.CryptoWallet.Network;
|
|
31070
31219
|
}
|
|
@@ -31157,6 +31306,7 @@ declare namespace StripeConstructor {
|
|
|
31157
31306
|
type PayoutMethodOptions = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions;
|
|
31158
31307
|
namespace PayoutMethodOptions {
|
|
31159
31308
|
type BankAccount = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions.BankAccount;
|
|
31309
|
+
type CheckSend = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions.CheckSend;
|
|
31160
31310
|
namespace BankAccount {
|
|
31161
31311
|
type PreferredNetworkOptions = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions.BankAccount.PreferredNetworkOptions;
|
|
31162
31312
|
type PreferredNetwork = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions.BankAccount.PreferredNetwork;
|
|
@@ -31168,6 +31318,9 @@ declare namespace StripeConstructor {
|
|
|
31168
31318
|
}
|
|
31169
31319
|
}
|
|
31170
31320
|
}
|
|
31321
|
+
namespace CheckSend {
|
|
31322
|
+
type ShippingSpeed = Stripe_.V2.MoneyManagement.PayoutIntentCreateParams.To.PayoutMethodOptions.CheckSend.ShippingSpeed;
|
|
31323
|
+
}
|
|
31171
31324
|
}
|
|
31172
31325
|
}
|
|
31173
31326
|
}
|
|
@@ -31234,6 +31387,7 @@ declare namespace StripeConstructor {
|
|
|
31234
31387
|
type PayoutMethodOptions = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions;
|
|
31235
31388
|
namespace PayoutMethodOptions {
|
|
31236
31389
|
type BankAccount = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions.BankAccount;
|
|
31390
|
+
type CheckSend = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions.CheckSend;
|
|
31237
31391
|
namespace BankAccount {
|
|
31238
31392
|
type PreferredNetworkOptions = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions.BankAccount.PreferredNetworkOptions;
|
|
31239
31393
|
type PreferredNetwork = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions.BankAccount.PreferredNetwork;
|
|
@@ -31245,6 +31399,9 @@ declare namespace StripeConstructor {
|
|
|
31245
31399
|
}
|
|
31246
31400
|
}
|
|
31247
31401
|
}
|
|
31402
|
+
namespace CheckSend {
|
|
31403
|
+
type ShippingSpeed = Stripe_.V2.MoneyManagement.PayoutIntent.To.PayoutMethodOptions.CheckSend.ShippingSpeed;
|
|
31404
|
+
}
|
|
31248
31405
|
}
|
|
31249
31406
|
}
|
|
31250
31407
|
}
|
|
@@ -31254,6 +31411,7 @@ declare namespace StripeConstructor {
|
|
|
31254
31411
|
type AvailablePayoutSpeed = Stripe_.V2.MoneyManagement.PayoutMethod.AvailablePayoutSpeed;
|
|
31255
31412
|
type BankAccount = Stripe_.V2.MoneyManagement.PayoutMethod.BankAccount;
|
|
31256
31413
|
type Card = Stripe_.V2.MoneyManagement.PayoutMethod.Card;
|
|
31414
|
+
type CheckSend = Stripe_.V2.MoneyManagement.PayoutMethod.CheckSend;
|
|
31257
31415
|
type CryptoWallet = Stripe_.V2.MoneyManagement.PayoutMethod.CryptoWallet;
|
|
31258
31416
|
type NetworkBusinessProfileWallet = Stripe_.V2.MoneyManagement.PayoutMethod.NetworkBusinessProfileWallet;
|
|
31259
31417
|
type Pix = Stripe_.V2.MoneyManagement.PayoutMethod.Pix;
|
|
@@ -31265,6 +31423,9 @@ declare namespace StripeConstructor {
|
|
|
31265
31423
|
namespace BankAccount {
|
|
31266
31424
|
type BankAccountType = Stripe_.V2.MoneyManagement.PayoutMethod.BankAccount.BankAccountType;
|
|
31267
31425
|
}
|
|
31426
|
+
namespace CheckSend {
|
|
31427
|
+
type MailingAddress = Stripe_.V2.MoneyManagement.PayoutMethod.CheckSend.MailingAddress;
|
|
31428
|
+
}
|
|
31268
31429
|
namespace CryptoWallet {
|
|
31269
31430
|
type Network = Stripe_.V2.MoneyManagement.PayoutMethod.CryptoWallet.Network;
|
|
31270
31431
|
}
|
|
@@ -31443,6 +31604,22 @@ declare namespace StripeConstructor {
|
|
|
31443
31604
|
type CardSpend = Stripe_.V2.MoneyManagement.RewardProgramEnrollment.CardSpend;
|
|
31444
31605
|
type Status = Stripe_.V2.MoneyManagement.RewardProgramEnrollment.Status;
|
|
31445
31606
|
}
|
|
31607
|
+
namespace SpendingMandate {
|
|
31608
|
+
type BankTransfer = Stripe_.V2.MoneyManagement.SpendingMandate.BankTransfer;
|
|
31609
|
+
type Status = Stripe_.V2.MoneyManagement.SpendingMandate.Status;
|
|
31610
|
+
type StatusDetails = Stripe_.V2.MoneyManagement.SpendingMandate.StatusDetails;
|
|
31611
|
+
type StatusTransitions = Stripe_.V2.MoneyManagement.SpendingMandate.StatusTransitions;
|
|
31612
|
+
type Type = Stripe_.V2.MoneyManagement.SpendingMandate.Type;
|
|
31613
|
+
namespace BankTransfer {
|
|
31614
|
+
type Network = Stripe_.V2.MoneyManagement.SpendingMandate.BankTransfer.Network;
|
|
31615
|
+
}
|
|
31616
|
+
namespace StatusDetails {
|
|
31617
|
+
type Canceled = Stripe_.V2.MoneyManagement.SpendingMandate.StatusDetails.Canceled;
|
|
31618
|
+
namespace Canceled {
|
|
31619
|
+
type Reason = Stripe_.V2.MoneyManagement.SpendingMandate.StatusDetails.Canceled.Reason;
|
|
31620
|
+
}
|
|
31621
|
+
}
|
|
31622
|
+
}
|
|
31446
31623
|
namespace Transaction {
|
|
31447
31624
|
type BalanceImpact = Stripe_.V2.MoneyManagement.Transaction.BalanceImpact;
|
|
31448
31625
|
type Category = Stripe_.V2.MoneyManagement.Transaction.Category;
|
|
@@ -33347,6 +33524,16 @@ declare namespace StripeConstructor {
|
|
|
33347
33524
|
type V2MoneyManagementRewardProgramRewardEarnedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementRewardProgramRewardEarnedEventNotification;
|
|
33348
33525
|
type V2MoneyManagementRewardProgramRewardReversedEvent = Stripe_.V2.Core.Events.V2MoneyManagementRewardProgramRewardReversedEvent;
|
|
33349
33526
|
type V2MoneyManagementRewardProgramRewardReversedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementRewardProgramRewardReversedEventNotification;
|
|
33527
|
+
type V2MoneyManagementSpendingMandateCanceledEvent = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateCanceledEvent;
|
|
33528
|
+
type V2MoneyManagementSpendingMandateCanceledEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateCanceledEventNotification;
|
|
33529
|
+
type V2MoneyManagementSpendingMandateCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateCreatedEvent;
|
|
33530
|
+
type V2MoneyManagementSpendingMandateCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateCreatedEventNotification;
|
|
33531
|
+
type V2MoneyManagementSpendingMandateExpiredEvent = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateExpiredEvent;
|
|
33532
|
+
type V2MoneyManagementSpendingMandateExpiredEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateExpiredEventNotification;
|
|
33533
|
+
type V2MoneyManagementSpendingMandatePendingCancellationEvent = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandatePendingCancellationEvent;
|
|
33534
|
+
type V2MoneyManagementSpendingMandatePendingCancellationEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandatePendingCancellationEventNotification;
|
|
33535
|
+
type V2MoneyManagementSpendingMandateUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateUpdatedEvent;
|
|
33536
|
+
type V2MoneyManagementSpendingMandateUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementSpendingMandateUpdatedEventNotification;
|
|
33350
33537
|
type V2MoneyManagementTransactionCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementTransactionCreatedEvent;
|
|
33351
33538
|
type V2MoneyManagementTransactionCreatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementTransactionCreatedEventNotification;
|
|
33352
33539
|
type V2MoneyManagementTransactionUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementTransactionUpdatedEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;
|
|
1
|
+
{"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;AAo/iCD,iBAAS,iBAAiB,CAAC"}
|
package/cjs/stripe.core.js
CHANGED
|
@@ -643,7 +643,9 @@ class Stripe {
|
|
|
643
643
|
parsed.context = StripeContext_js_1.StripeContext.parse(parsed.context);
|
|
644
644
|
}
|
|
645
645
|
parsed.fetchEvent = () => {
|
|
646
|
-
|
|
646
|
+
// Issue the request through a client scoped to this event's own context.
|
|
647
|
+
const eventClient = this.withStripeContext(parsed.context);
|
|
648
|
+
return eventClient._requestSender._rawRequest('GET',
|
|
647
649
|
// `id` comes from the notification body, so encode it the way the
|
|
648
650
|
// generated resources do -- otherwise it can inject path or query segments.
|
|
649
651
|
`/v2/core/events/${encodeURIComponent(parsed.id)}`, undefined, {
|
|
@@ -657,7 +659,9 @@ class Stripe {
|
|
|
657
659
|
if (!parsed.related_object) {
|
|
658
660
|
return Promise.resolve(null);
|
|
659
661
|
}
|
|
660
|
-
|
|
662
|
+
// See the comment in `fetchEvent` above.
|
|
663
|
+
const eventClient = this.withStripeContext(parsed.context);
|
|
664
|
+
return eventClient._requestSender._rawRequest('GET', parsed.related_object.url, undefined, {
|
|
661
665
|
stripeContext: parsed.context,
|
|
662
666
|
headers: {
|
|
663
667
|
'Stripe-Request-Trigger': `event=${parsed.id}`,
|
|
@@ -758,7 +762,7 @@ class Stripe {
|
|
|
758
762
|
}
|
|
759
763
|
}
|
|
760
764
|
exports.Stripe = Stripe;
|
|
761
|
-
Stripe.PACKAGE_VERSION = '23.2.0-alpha.
|
|
765
|
+
Stripe.PACKAGE_VERSION = '23.2.0-alpha.3';
|
|
762
766
|
Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
|
|
763
767
|
/**
|
|
764
768
|
* The major API version that this SDK uses. Objects retrieved using the same
|