@stripe/stripe-js 3.0.6 → 3.0.7

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/dist/index.d.mts CHANGED
@@ -9205,9 +9205,6 @@ interface StripePaymentElementChangeEvent {
9205
9205
  * Contact [Stripe support](https://support.stripe.com/) for more information.
9206
9206
  */
9207
9207
 
9208
- /**
9209
- * StripeCustomCheckoutInitOptions
9210
- */
9211
9208
  interface StripeCustomCheckoutElementsOptions {
9212
9209
  appearance?: Appearance;
9213
9210
  loader?: 'auto' | 'always' | 'never';
@@ -9219,10 +9216,7 @@ interface StripeCustomCheckoutOptions {
9219
9216
  elementsOptions?: StripeCustomCheckoutElementsOptions;
9220
9217
  }
9221
9218
 
9222
- /**
9223
- * StripeCustomCheckoutActions
9224
- */
9225
-
9219
+ /* Custom Checkout types */
9226
9220
  type StripeCustomCheckoutAddress = {
9227
9221
  country: string;
9228
9222
  line1?: string | null;
@@ -9232,72 +9226,50 @@ type StripeCustomCheckoutAddress = {
9232
9226
  state?: string | null;
9233
9227
  };
9234
9228
 
9235
- type StripeCustomCheckoutContact = {
9236
- name?: string | null;
9237
- address: StripeCustomCheckoutAddress;
9229
+ type StripeCustomCheckoutAdjustableQuantity = {
9230
+ maximum: number;
9231
+ minimum: number;
9238
9232
  };
9239
9233
 
9240
- type StripeCustomCheckoutResult =
9241
- | {session: StripeCustomCheckoutSession; error?: undefined}
9242
- | {session?: undefined; error: StripeError};
9234
+ type StripeCustomCheckoutBillingInterval =
9235
+ | 'day'
9236
+ | 'month'
9237
+ | 'week'
9238
+ | 'year';
9243
9239
 
9244
- interface StripeCustomCheckoutActions {
9245
- applyPromotionCode: (
9246
- promotionCode: string
9247
- ) => Promise<StripeCustomCheckoutResult>;
9248
- removePromotionCode: () => Promise<StripeCustomCheckoutResult>;
9249
- updateShippingAddress: (
9250
- shippingAddress: StripeCustomCheckoutContact | null
9251
- ) => Promise<StripeCustomCheckoutResult>;
9252
- updateBillingAddress: (
9253
- billingAddress: StripeCustomCheckoutContact | null
9254
- ) => Promise<StripeCustomCheckoutResult>;
9255
- updatePhoneNumber: (phoneNumber: string) => void;
9256
- updateEmail: (email: string) => void;
9257
- updateLineItemQuantity: (args: {
9258
- lineItem: string;
9259
- quantity: number;
9260
- }) => Promise<StripeCustomCheckoutResult>;
9261
- updateShippingOption: (
9262
- shippingOption: string
9263
- ) => Promise<StripeCustomCheckoutResult>;
9264
- confirm: (args?: {
9265
- return_url?: string;
9266
- }) => Promise<StripeCustomCheckoutResult>;
9267
- }
9240
+ type StripeCustomCheckoutConfirmationRequirement =
9241
+ | 'phoneNumber'
9242
+ | 'shippingAddress'
9243
+ | 'billingAddress'
9244
+ | 'paymentDetails'
9245
+ | 'email';
9268
9246
 
9269
- /**
9270
- * StripeCustomCheckoutSession
9271
- */
9247
+ type StripeCustomCheckoutContact = {
9248
+ name?: string | null;
9249
+ address: StripeCustomCheckoutAddress;
9250
+ };
9272
9251
 
9273
- type StripeCustomCheckoutTaxAmount = {
9274
- amount: number;
9275
- inclusive: boolean;
9276
- displayName: string;
9252
+ type StripeCustomCheckoutDeliveryEstimate = {
9253
+ maximum: StripeCustomCheckoutEstimate | null;
9254
+ minimum: StripeCustomCheckoutEstimate | null;
9277
9255
  };
9278
9256
 
9279
9257
  type StripeCustomCheckoutDiscountAmount = {
9280
9258
  amount: number;
9281
9259
  displayName: string;
9282
9260
  promotionCode: string | null;
9261
+ recurring:
9262
+ | {type: 'forever'}
9263
+ | {type: 'repeating'; durationInMonths: number}
9264
+ | null;
9283
9265
  };
9284
9266
 
9285
- type StripeCustomCheckoutShipping = {
9286
- shippingOption: StripeCustomCheckoutShippingOption;
9287
- taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
9288
- };
9289
-
9290
- type StripeCustomCheckoutShippingOption = {
9291
- id: string;
9292
- amount: number;
9293
- currency: string;
9294
- displayName: string | null;
9295
- deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
9296
- };
9297
-
9298
- type StripeCustomCheckoutDeliveryEstimate = {
9299
- maximum: StripeCustomCheckoutEstimate | null;
9300
- minimum: StripeCustomCheckoutEstimate | null;
9267
+ type StripeCustomCheckoutDueNext = {
9268
+ amountSubtotal: number;
9269
+ amountDiscount: number;
9270
+ amountTaxInclusive: number;
9271
+ amountTaxExclusive: number;
9272
+ billingCycleAnchor: number | null;
9301
9273
  };
9302
9274
 
9303
9275
  type StripeCustomCheckoutEstimate = {
@@ -9305,16 +9277,23 @@ type StripeCustomCheckoutEstimate = {
9305
9277
  value: number;
9306
9278
  };
9307
9279
 
9308
- type StripeCustomCheckoutBillingInterval =
9309
- | 'day'
9310
- | 'month'
9311
- | 'week'
9312
- | 'year';
9280
+ type StripeCustomCheckoutLastPaymentError = {
9281
+ message: string;
9282
+ };
9283
+
9284
+ type StripeCustomCheckoutTaxAmount = {
9285
+ amount: number;
9286
+ inclusive: boolean;
9287
+ displayName: string;
9288
+ };
9313
9289
 
9314
9290
  type StripeCustomCheckoutLineItem = {
9315
9291
  id: string;
9316
9292
  name: string;
9317
- amount: number;
9293
+ amountDiscount: number;
9294
+ amountSubtotal: number;
9295
+ amountTaxExclusive: number;
9296
+ amountTaxInclusive: number;
9318
9297
  unitAmount: number;
9319
9298
  description: string | null;
9320
9299
  quantity: number;
@@ -9322,45 +9301,87 @@ type StripeCustomCheckoutLineItem = {
9322
9301
  taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
9323
9302
  recurring: {
9324
9303
  interval: StripeCustomCheckoutBillingInterval;
9325
- interval_count: number;
9304
+ intervalCount: number;
9305
+ isProrated: boolean;
9306
+ usageType: 'metered' | 'licensed';
9326
9307
  } | null;
9308
+ adjustableQuantity: StripeCustomCheckoutAdjustableQuantity | null;
9309
+ };
9310
+
9311
+ type StripeCustomCheckoutRecurring = {
9312
+ interval: StripeCustomCheckoutBillingInterval;
9313
+ intervalCount: number;
9314
+ dueNext: StripeCustomCheckoutDueNext;
9315
+ trial: StripeCustomCheckoutTrial | null;
9327
9316
  };
9328
9317
 
9318
+ type StripeCustomCheckoutShipping = {
9319
+ shippingOption: StripeCustomCheckoutShippingOption;
9320
+ taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
9321
+ };
9322
+
9323
+ type StripeCustomCheckoutShippingOption = {
9324
+ id: string;
9325
+ amount: number;
9326
+ currency: string;
9327
+ displayName: string | null;
9328
+ deliveryEstimate: StripeCustomCheckoutDeliveryEstimate | null;
9329
+ };
9330
+
9331
+ type StripeCustomCheckoutStatus =
9332
+ | {type: 'open'}
9333
+ | {type: 'expired'}
9334
+ | {
9335
+ type: 'complete';
9336
+ paymentStatus: 'paid' | 'unpaid' | 'no_payment_required';
9337
+ };
9338
+
9339
+ type StripeCustomCheckoutTaxStatus =
9340
+ | {status: 'ready'}
9341
+ | {status: 'requires_shipping_address'}
9342
+ | {status: 'requires_billing_address'};
9343
+
9329
9344
  type StripeCustomCheckoutTotalSummary = {
9345
+ appliedBalance: number;
9346
+ balanceAppliedToNextInvoice: boolean;
9347
+ discount: number;
9348
+ shippingRate: number;
9330
9349
  subtotal: number;
9331
9350
  taxExclusive: number;
9332
9351
  taxInclusive: number;
9333
- shippingRate: number;
9334
- discount: number;
9335
9352
  total: number;
9336
9353
  };
9337
9354
 
9338
- type StripeCustomCheckoutConfirmationRequirement =
9339
- | 'phoneNumber'
9340
- | 'shippingAddress'
9341
- | 'billingAddress'
9342
- | 'paymentDetails'
9343
- | 'email';
9355
+ type StripeCustomCheckoutTrial = {
9356
+ trialEnd: number;
9357
+ trialPeriodDays: number;
9358
+ };
9344
9359
 
9360
+ /* Custom Checkout session */
9345
9361
  interface StripeCustomCheckoutSession {
9346
- lineItems: Array<StripeCustomCheckoutLineItem>;
9347
- taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
9348
- discountAmounts: Array<StripeCustomCheckoutDiscountAmount> | null;
9362
+ billingAddress: StripeCustomCheckoutContact | null;
9363
+ canConfirm: boolean;
9364
+ confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
9349
9365
  currency: string;
9366
+ discountAmounts: Array<StripeCustomCheckoutDiscountAmount> | null;
9367
+ email: string | null;
9368
+ lastPaymentError: StripeCustomCheckoutLastPaymentError | null;
9369
+ lineItems: Array<StripeCustomCheckoutLineItem>;
9370
+ phoneNumber: string | null;
9371
+ recurring: StripeCustomCheckoutRecurring | null;
9350
9372
  shipping: StripeCustomCheckoutShipping | null;
9351
- shippingOptions: Array<StripeCustomCheckoutShippingOption>;
9352
9373
  shippingAddress: StripeCustomCheckoutContact | null;
9353
- billingAddress: StripeCustomCheckoutContact | null;
9354
- phoneNumber: string | null;
9355
- email: string | null;
9374
+ shippingOptions: Array<StripeCustomCheckoutShippingOption>;
9375
+ status: StripeCustomCheckoutStatus;
9376
+ tax: StripeCustomCheckoutTaxStatus;
9377
+ taxAmounts: Array<StripeCustomCheckoutTaxAmount> | null;
9356
9378
  total: StripeCustomCheckoutTotalSummary;
9357
- confirmationRequirements: StripeCustomCheckoutConfirmationRequirement[];
9358
- canConfirm: boolean;
9359
9379
  }
9360
9380
 
9361
- /**
9362
- * StripeCustomCheckoutElements
9363
- */
9381
+ type StripeCustomCheckoutResult =
9382
+ | {session: StripeCustomCheckoutSession; error?: undefined}
9383
+ | {session?: undefined; error: StripeError};
9384
+
9364
9385
  type StripeCustomCheckoutPaymentElementOptions = {
9365
9386
  layout?: Layout | LayoutObject;
9366
9387
  paymentMethodOrder?: Array<string>;
@@ -9376,13 +9397,177 @@ type StripeCustomCheckoutAddressElementOptions = {
9376
9397
  };
9377
9398
  };
9378
9399
 
9379
- interface StripeCustomCheckoutElementsActions {
9400
+ type StripeCustomCheckoutExpressCheckoutElementOptions = {
9401
+ buttonHeight: StripeExpressCheckoutElementOptions['buttonHeight'];
9402
+ buttonTheme: StripeExpressCheckoutElementOptions['buttonTheme'];
9403
+ buttonType: StripeExpressCheckoutElementOptions['buttonType'];
9404
+ layout: StripeExpressCheckoutElementOptions['layout'];
9405
+ };
9406
+
9407
+ type StripeCustomCheckoutUpdateHandler = (
9408
+ session: StripeCustomCheckoutSession
9409
+ ) => void;
9410
+
9411
+ type StripeCustomCheckoutExpressCheckoutElementConfirmEvent = StripeExpressCheckoutElementConfirmEvent & {
9412
+ confirm: () => Promise<StripeCustomCheckoutResult>;
9413
+ };
9414
+
9415
+ type StripeCustomCheckoutExpressCheckoutElement = StripeElementBase & {
9416
+ /**
9417
+ * Triggered when the element is fully rendered.
9418
+ */
9419
+ on(
9420
+ eventType: 'ready',
9421
+ handler: (event: StripeExpressCheckoutElementReadyEvent) => any
9422
+ ): StripeCustomCheckoutExpressCheckoutElement;
9423
+ once(
9424
+ eventType: 'ready',
9425
+ handler: (event: StripeExpressCheckoutElementReadyEvent) => any
9426
+ ): StripeCustomCheckoutExpressCheckoutElement;
9427
+ off(
9428
+ eventType: 'ready',
9429
+ handler?: (event: StripeExpressCheckoutElementReadyEvent) => any
9430
+ ): StripeCustomCheckoutExpressCheckoutElement;
9431
+
9432
+ /**
9433
+ * Triggered when the element gains focus.
9434
+ */
9435
+ on(
9436
+ eventType: 'focus',
9437
+ handler: (event: {elementType: 'expressCheckout'}) => any
9438
+ ): StripeCustomCheckoutExpressCheckoutElement;
9439
+ once(
9440
+ eventType: 'focus',
9441
+ handler: (event: {elementType: 'expressCheckout'}) => any
9442
+ ): StripeCustomCheckoutExpressCheckoutElement;
9443
+ off(
9444
+ eventType: 'focus',
9445
+ handler?: (event: {elementType: 'expressCheckout'}) => any
9446
+ ): StripeCustomCheckoutExpressCheckoutElement;
9447
+
9448
+ /**
9449
+ * Triggered when the element loses focus.
9450
+ */
9451
+ on(
9452
+ eventType: 'blur',
9453
+ handler: (event: {elementType: 'expressCheckout'}) => any
9454
+ ): StripeCustomCheckoutExpressCheckoutElement;
9455
+ once(
9456
+ eventType: 'blur',
9457
+ handler: (event: {elementType: 'expressCheckout'}) => any
9458
+ ): StripeCustomCheckoutExpressCheckoutElement;
9459
+ off(
9460
+ eventType: 'blur',
9461
+ handler?: (event: {elementType: 'expressCheckout'}) => any
9462
+ ): StripeCustomCheckoutExpressCheckoutElement;
9463
+
9464
+ /**
9465
+ * Triggered when the escape key is pressed within the element.
9466
+ */
9467
+ on(
9468
+ eventType: 'escape',
9469
+ handler: (event: {elementType: 'expressCheckout'}) => any
9470
+ ): StripeCustomCheckoutExpressCheckoutElement;
9471
+ once(
9472
+ eventType: 'escape',
9473
+ handler: (event: {elementType: 'expressCheckout'}) => any
9474
+ ): StripeCustomCheckoutExpressCheckoutElement;
9475
+ off(
9476
+ eventType: 'escape',
9477
+ handler?: (event: {elementType: 'expressCheckout'}) => any
9478
+ ): StripeCustomCheckoutExpressCheckoutElement;
9479
+
9480
+ /**
9481
+ * Triggered when the element fails to load.
9482
+ */
9483
+ on(
9484
+ eventType: 'loaderror',
9485
+ handler: (event: {
9486
+ elementType: 'expressCheckout';
9487
+ error: StripeError;
9488
+ }) => any
9489
+ ): StripeCustomCheckoutExpressCheckoutElement;
9490
+ once(
9491
+ eventType: 'loaderror',
9492
+ handler: (event: {
9493
+ elementType: 'expressCheckout';
9494
+ error: StripeError;
9495
+ }) => any
9496
+ ): StripeCustomCheckoutExpressCheckoutElement;
9497
+ off(
9498
+ eventType: 'loaderror',
9499
+ handler?: (event: {
9500
+ elementType: 'expressCheckout';
9501
+ error: StripeError;
9502
+ }) => any
9503
+ ): StripeCustomCheckoutExpressCheckoutElement;
9504
+
9505
+ /**
9506
+ * Triggered when a buyer authorizes a payment within a supported payment method.
9507
+ */
9508
+ on(
9509
+ eventType: 'confirm',
9510
+ handler: (
9511
+ event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
9512
+ ) => any
9513
+ ): StripeCustomCheckoutExpressCheckoutElement;
9514
+ once(
9515
+ eventType: 'confirm',
9516
+ handler: (
9517
+ event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
9518
+ ) => any
9519
+ ): StripeCustomCheckoutExpressCheckoutElement;
9520
+ off(
9521
+ eventType: 'confirm',
9522
+ handler?: (
9523
+ event: StripeCustomCheckoutExpressCheckoutElementConfirmEvent
9524
+ ) => any
9525
+ ): StripeCustomCheckoutExpressCheckoutElement;
9526
+
9527
+ /**
9528
+ * Updates the options the `ExpressCheckoutElement` was initialized with.
9529
+ * Updates are merged into the existing configuration.
9530
+ */
9531
+ update: StripeExpressCheckoutElement['update'];
9532
+ };
9533
+
9534
+ interface StripeCustomCheckout {
9535
+ /* Custom Checkout methods */
9536
+ applyPromotionCode: (
9537
+ promotionCode: string
9538
+ ) => Promise<StripeCustomCheckoutResult>;
9539
+ removePromotionCode: () => Promise<StripeCustomCheckoutResult>;
9540
+ updateShippingAddress: (
9541
+ shippingAddress: StripeCustomCheckoutContact | null
9542
+ ) => Promise<StripeCustomCheckoutResult>;
9543
+ updateBillingAddress: (
9544
+ billingAddress: StripeCustomCheckoutContact | null
9545
+ ) => Promise<StripeCustomCheckoutResult>;
9546
+ updatePhoneNumber: (phoneNumber: string) => void;
9547
+ updateEmail: (email: string) => void;
9548
+ updateLineItemQuantity: (args: {
9549
+ lineItem: string;
9550
+ quantity: number;
9551
+ }) => Promise<StripeCustomCheckoutResult>;
9552
+ updateShippingOption: (
9553
+ shippingOption: string
9554
+ ) => Promise<StripeCustomCheckoutResult>;
9555
+ confirm: (args?: {
9556
+ return_url?: string;
9557
+ }) => Promise<StripeCustomCheckoutResult>;
9558
+ session: () => StripeCustomCheckoutSession;
9559
+ on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
9560
+
9561
+ /* Elements methods */
9380
9562
  changeAppearance: (appearance: Appearance) => void;
9381
9563
  getElement(elementType: 'payment'): StripePaymentElement | null;
9382
9564
  getElement(
9383
9565
  elementType: 'address',
9384
9566
  mode: AddressMode
9385
9567
  ): StripeAddressElement | null;
9568
+ getElement(
9569
+ elementType: 'expressCheckout'
9570
+ ): StripeCustomCheckoutExpressCheckoutElement | null;
9386
9571
  createElement(
9387
9572
  elementType: 'payment',
9388
9573
  options?: StripeCustomCheckoutPaymentElementOptions
@@ -9391,20 +9576,10 @@ interface StripeCustomCheckoutElementsActions {
9391
9576
  elementType: 'address',
9392
9577
  options: StripeCustomCheckoutAddressElementOptions
9393
9578
  ): StripeAddressElement;
9394
- }
9395
-
9396
- /**
9397
- * StripeCustomCheckout
9398
- */
9399
- type StripeCustomCheckoutUpdateHandler = (
9400
- session: StripeCustomCheckoutSession
9401
- ) => void;
9402
-
9403
- interface StripeCustomCheckout
9404
- extends StripeCustomCheckoutActions,
9405
- StripeCustomCheckoutElementsActions {
9406
- session: () => StripeCustomCheckoutSession;
9407
- on: (event: 'change', handler: StripeCustomCheckoutUpdateHandler) => void;
9579
+ createElement(
9580
+ elementType: 'expressCheckout',
9581
+ options: StripeCustomCheckoutExpressCheckoutElementOptions
9582
+ ): StripeCustomCheckoutExpressCheckoutElement;
9408
9583
  }
9409
9584
 
9410
9585
  /**
@@ -12614,4 +12789,4 @@ declare global {
12614
12789
  }
12615
12790
  }
12616
12791
 
12617
- export { type AccountAddressParam, type Address, type AddressMode, type AddressParam, type Appearance, type ApplePayButtonTheme, type ApplePayButtonType, type AvailablePaymentMethods, type BankAccount, type BankAccountToken, BillingDetails, type ButtonThemeOption, type ButtonTypeOption, type CanMakePaymentResult, Card, type CardNetworkBrand, type CartDescriptor, type CartItemDetails, type CartShowOnAdd, type ChangeResolveDetails, type CheckoutLocale, type ClickResolveDetails, type CollectBankAccountForPaymentOptions, type CollectBankAccountForSetupOptions, type CollectBankAccountParams, type CollectBankAccountPaymentMethodData, type CollectBankAccountTokenOptions, type CollectBankAccountTokenResult, type CollectFinancialConnectionsAccountsOptions, type ConfirmAcssDebitPaymentData, type ConfirmAcssDebitPaymentOptions, type ConfirmAcssDebitSetupData, type ConfirmAcssDebitSetupOptions, type ConfirmAffirmPaymentData, type ConfirmAffirmPaymentOptions, type ConfirmAfterpayClearpayPaymentData, type ConfirmAfterpayClearpayPaymentOptions, type ConfirmAlipayPaymentData, type ConfirmAlipayPaymentOptions, type ConfirmAuBecsDebitPaymentData, type ConfirmAuBecsDebitSetupData, type ConfirmBacsDebitSetupData, type ConfirmBancontactPaymentData, type ConfirmBancontactPaymentOptions, type ConfirmBancontactSetupData, type ConfirmBlikPaymentData, type ConfirmBlikPaymentOptions, type ConfirmBoletoPaymentData, type ConfirmBoletoPaymentOptions, type ConfirmCardPaymentData, type ConfirmCardPaymentOptions, type ConfirmCardSetupData, type ConfirmCardSetupOptions, type ConfirmCashappPaymentData, type ConfirmCashappPaymentOptions, type ConfirmCashappSetupData, type ConfirmCashappSetupOptions, type ConfirmCustomerBalancePaymentData, type ConfirmCustomerBalancePaymentOptions, type ConfirmEpsPaymentData, type ConfirmEpsPaymentOptions, type ConfirmFpxPaymentData, type ConfirmFpxPaymentOptions, type ConfirmGiropayPaymentData, type ConfirmGiropayPaymentOptions, type ConfirmGrabPayPaymentData, type ConfirmGrabPayPaymentOptions, type ConfirmIdealPaymentData, type ConfirmIdealPaymentOptions, type ConfirmIdealSetupData, type ConfirmKlarnaPaymentData, type ConfirmKlarnaPaymentOptions, type ConfirmKonbiniPaymentData, type ConfirmKonbiniPaymentOptions, type ConfirmOxxoPaymentData, type ConfirmOxxoPaymentOptions, type ConfirmP24PaymentData, type ConfirmP24PaymentOptions, type ConfirmPayNowPaymentData, type ConfirmPayNowPaymentOptions, type ConfirmPayPalPaymentData, type ConfirmPayPalSetupData, type ConfirmPaymentData, type ConfirmPixPaymentData, type ConfirmPixPaymentOptions, type ConfirmPromptPayPaymentData, type ConfirmPromptPayPaymentOptions, type ConfirmSepaDebitPaymentData, type ConfirmSepaDebitSetupData, type ConfirmSofortPaymentData, type ConfirmSofortPaymentOptions, type ConfirmSofortSetupData, type ConfirmSofortSetupOptions, type ConfirmUsBankAccountPaymentData, type ConfirmUsBankAccountSetupData, type ConfirmWechatPayPaymentData, type ConfirmWechatPayPaymentOptions, type ContactOption, type CreatePaymentMethodAcssDebitData, type CreatePaymentMethodAffirmData, type CreatePaymentMethodAfterpayClearpayData, type CreatePaymentMethodAlipayData, type CreatePaymentMethodAuBecsDebitData, type CreatePaymentMethodBacsDebitData, type CreatePaymentMethodBancontactData, type CreatePaymentMethodBlikData, type CreatePaymentMethodBoletoData, type CreatePaymentMethodCardData, type CreatePaymentMethodCashappData, type CreatePaymentMethodCustomerBalanceData, type CreatePaymentMethodData, type CreatePaymentMethodEpsData, type CreatePaymentMethodFpxData, type CreatePaymentMethodFromElement, type CreatePaymentMethodFromElements, type CreatePaymentMethodGiropayData, type CreatePaymentMethodGrabPayData, type CreatePaymentMethodIdealData, type CreatePaymentMethodKlarnaData, type CreatePaymentMethodKonbiniData, type CreatePaymentMethodOxxoData, type CreatePaymentMethodP24Data, type CreatePaymentMethodPayNowData, type CreatePaymentMethodPayPalData, type CreatePaymentMethodPixData, type CreatePaymentMethodPromptPayData, type CreatePaymentMethodSepaDebitData, type CreatePaymentMethodSofortData, type CreatePaymentMethodUsBankAccountData, type CreatePaymentMethodWechatPayData, CreateSourceData, type CreateTokenBankAccountData, type CreateTokenCardData, type CreateTokenIbanData, type CreateTokenPiiData, type CssFontSource, type CustomFontSource, type CustomerOptions, type DefaultValuesOption, type DeliveryEstimate, type DeliveryUnit, type EphemeralKeyNonceOptions, type EphemeralKeyNonceResult, type ExpressCheckoutAddress, type ExpressCheckoutPartialAddress, type ExpressCheckoutWalletOption, type ExpressCheckoutWalletsOption, type ExpressPaymentType, type FieldOption, type FieldsOption, FinancialConnectionsSession, type FinancialConnectionsSessionResult, type GooglePayButtonTheme, type GooglePayButtonType, type JapanAddressParam, type Layout, type LayoutObject, type LayoutOption, type LineItem, type Metadata, type MetadataParam, Order, PaymentIntent, PaymentIntentConfirmParams, type PaymentIntentOrSetupIntentResult, type PaymentIntentResult, PaymentMethod, PaymentMethodCreateParams, type PaymentMethodResult, type PaymentRequest, type PaymentRequestCompleteStatus, type PaymentRequestEvent, type PaymentRequestItem, type PaymentRequestOptions, type PaymentRequestPaymentMethodEvent, type PaymentRequestShippingAddress, type PaymentRequestShippingAddressEvent, type PaymentRequestShippingOption, type PaymentRequestShippingOptionEvent, type PaymentRequestSourceEvent, type PaymentRequestTokenEvent, type PaymentRequestUpdateDetails, type PaymentRequestUpdateDetailsStatus, type PaymentRequestUpdateOptions, type PaymentRequestWallet, type PaymentWalletOption, type PaymentWalletsOption, type ProcessOrderParams, type ProcessOrderResult, type RadarSessionPayload, type RedirectToCheckoutClientOptions, type RedirectToCheckoutOptions, type RedirectToCheckoutServerOptions, type RetrieveOrderResult, type RetrieveSourceParam, SetupIntent, type SetupIntentConfirmParams, type SetupIntentResult, type ShippingAddress, type ShippingRate, Source, SourceCreateParams, type SourceResult, type Stripe, type StripeAddressElement, type StripeAddressElementChangeEvent, type StripeAddressElementOptions, type StripeAffirmMessageElement, type StripeAffirmMessageElementOptions, type StripeAfterpayClearpayMessageElement, type StripeAfterpayClearpayMessageElementOptions, type StripeAuBankAccountElement, type StripeAuBankAccountElementChangeEvent, type StripeAuBankAccountElementOptions, type StripeCardCvcElement, type StripeCardCvcElementChangeEvent, type StripeCardCvcElementOptions, type StripeCardElement, type StripeCardElementChangeEvent, type StripeCardElementOptions, type StripeCardElementUpdateOptions, type StripeCardExpiryElement, type StripeCardExpiryElementChangeEvent, type StripeCardExpiryElementOptions, type StripeCardNumberElement, type StripeCardNumberElementChangeEvent, type StripeCardNumberElementOptions, type StripeCardNumberElementUpdateOptions, type StripeCartElement, type StripeCartElementLineItemClickEvent, type StripeCartElementOptions, type StripeCartElementPayloadEvent, type StripeCartElementUpdateOptions, type StripeConstructor, type StripeConstructorOptions, type StripeCustomCheckout, type StripeCustomCheckoutActions, type StripeCustomCheckoutAddress, type StripeCustomCheckoutAddressElementOptions, type StripeCustomCheckoutBillingInterval, type StripeCustomCheckoutConfirmationRequirement, type StripeCustomCheckoutContact, type StripeCustomCheckoutDeliveryEstimate, type StripeCustomCheckoutDiscountAmount, type StripeCustomCheckoutElementsActions, type StripeCustomCheckoutElementsOptions, type StripeCustomCheckoutEstimate, type StripeCustomCheckoutLineItem, type StripeCustomCheckoutOptions, type StripeCustomCheckoutPaymentElementOptions, type StripeCustomCheckoutResult, type StripeCustomCheckoutSession, type StripeCustomCheckoutShipping, type StripeCustomCheckoutShippingOption, type StripeCustomCheckoutTaxAmount, type StripeCustomCheckoutTotalSummary, type StripeCustomCheckoutUpdateHandler, type StripeElement, type StripeElementBase, type StripeElementCSSProperties, type StripeElementChangeEvent, type StripeElementClasses, type StripeElementLocale, type StripeElementStyle, type StripeElementStyleVariant, type StripeElementType, type StripeElements, type StripeElementsOptions, type StripeElementsOptionsClientSecret, type StripeElementsOptionsMode, type StripeElementsUpdateOptions, type StripeEmbeddedCheckout, type StripeEmbeddedCheckoutOptions, type StripeEpsBankElement, type StripeEpsBankElementChangeEvent, type StripeEpsBankElementOptions, type StripeError, type StripeErrorType, type StripeExpressCheckoutElement, type StripeExpressCheckoutElementClickEvent, type StripeExpressCheckoutElementConfirmEvent, type StripeExpressCheckoutElementOptions, type StripeExpressCheckoutElementReadyEvent, type StripeExpressCheckoutElementShippingAddressChangeEvent, type StripeExpressCheckoutElementShippingRateChangeEvent, type StripeExpressCheckoutElementUpdateOptions, type StripeFpxBankElement, type StripeFpxBankElementChangeEvent, type StripeFpxBankElementOptions, type StripeIbanElement, type StripeIbanElementChangeEvent, type StripeIbanElementOptions, type StripeIdealBankElement, type StripeIdealBankElementChangeEvent, type StripeIdealBankElementOptions, type StripeIssuingCardCopyButtonElement, type StripeIssuingCardCopyButtonElementOptions, type StripeIssuingCardCvcDisplayElement, type StripeIssuingCardCvcDisplayElementOptions, type StripeIssuingCardExpiryDisplayElement, type StripeIssuingCardExpiryDisplayElementOptions, type StripeIssuingCardNumberDisplayElement, type StripeIssuingCardNumberDisplayElementOptions, type StripeIssuingCardPinDisplayElement, type StripeIssuingCardPinDisplayElementOptions, type StripeLinkAuthenticationElement, type StripeLinkAuthenticationElementChangeEvent, type StripeLinkAuthenticationElementOptions, type StripeP24BankElement, type StripeP24BankElementChangeEvent, type StripeP24BankElementOptions, type StripePaymentElement, type StripePaymentElementChangeEvent, type StripePaymentElementOptions, type StripePaymentMethodMessagingElement, type StripePaymentMethodMessagingElementOptions, type StripePaymentRequestButtonElement, type StripePaymentRequestButtonElementClickEvent, type StripePaymentRequestButtonElementOptions, type StripeShippingAddressElement, type StripeShippingAddressElementChangeEvent, type StripeShippingAddressElementOptions, type TermOption, type TermsOption, type Token, TokenCreateParams, type TokenResult, type VerificationSession, type VerificationSessionResult, type VerifyMicrodepositsForPaymentData, type VerifyMicrodepositsForSetupData, type WrapperLibrary, loadStripe };
12792
+ export { type AccountAddressParam, type Address, type AddressMode, type AddressParam, type Appearance, type ApplePayButtonTheme, type ApplePayButtonType, type AvailablePaymentMethods, type BankAccount, type BankAccountToken, BillingDetails, type ButtonThemeOption, type ButtonTypeOption, type CanMakePaymentResult, Card, type CardNetworkBrand, type CartDescriptor, type CartItemDetails, type CartShowOnAdd, type ChangeResolveDetails, type CheckoutLocale, type ClickResolveDetails, type CollectBankAccountForPaymentOptions, type CollectBankAccountForSetupOptions, type CollectBankAccountParams, type CollectBankAccountPaymentMethodData, type CollectBankAccountTokenOptions, type CollectBankAccountTokenResult, type CollectFinancialConnectionsAccountsOptions, type ConfirmAcssDebitPaymentData, type ConfirmAcssDebitPaymentOptions, type ConfirmAcssDebitSetupData, type ConfirmAcssDebitSetupOptions, type ConfirmAffirmPaymentData, type ConfirmAffirmPaymentOptions, type ConfirmAfterpayClearpayPaymentData, type ConfirmAfterpayClearpayPaymentOptions, type ConfirmAlipayPaymentData, type ConfirmAlipayPaymentOptions, type ConfirmAuBecsDebitPaymentData, type ConfirmAuBecsDebitSetupData, type ConfirmBacsDebitSetupData, type ConfirmBancontactPaymentData, type ConfirmBancontactPaymentOptions, type ConfirmBancontactSetupData, type ConfirmBlikPaymentData, type ConfirmBlikPaymentOptions, type ConfirmBoletoPaymentData, type ConfirmBoletoPaymentOptions, type ConfirmCardPaymentData, type ConfirmCardPaymentOptions, type ConfirmCardSetupData, type ConfirmCardSetupOptions, type ConfirmCashappPaymentData, type ConfirmCashappPaymentOptions, type ConfirmCashappSetupData, type ConfirmCashappSetupOptions, type ConfirmCustomerBalancePaymentData, type ConfirmCustomerBalancePaymentOptions, type ConfirmEpsPaymentData, type ConfirmEpsPaymentOptions, type ConfirmFpxPaymentData, type ConfirmFpxPaymentOptions, type ConfirmGiropayPaymentData, type ConfirmGiropayPaymentOptions, type ConfirmGrabPayPaymentData, type ConfirmGrabPayPaymentOptions, type ConfirmIdealPaymentData, type ConfirmIdealPaymentOptions, type ConfirmIdealSetupData, type ConfirmKlarnaPaymentData, type ConfirmKlarnaPaymentOptions, type ConfirmKonbiniPaymentData, type ConfirmKonbiniPaymentOptions, type ConfirmOxxoPaymentData, type ConfirmOxxoPaymentOptions, type ConfirmP24PaymentData, type ConfirmP24PaymentOptions, type ConfirmPayNowPaymentData, type ConfirmPayNowPaymentOptions, type ConfirmPayPalPaymentData, type ConfirmPayPalSetupData, type ConfirmPaymentData, type ConfirmPixPaymentData, type ConfirmPixPaymentOptions, type ConfirmPromptPayPaymentData, type ConfirmPromptPayPaymentOptions, type ConfirmSepaDebitPaymentData, type ConfirmSepaDebitSetupData, type ConfirmSofortPaymentData, type ConfirmSofortPaymentOptions, type ConfirmSofortSetupData, type ConfirmSofortSetupOptions, type ConfirmUsBankAccountPaymentData, type ConfirmUsBankAccountSetupData, type ConfirmWechatPayPaymentData, type ConfirmWechatPayPaymentOptions, type ContactOption, type CreatePaymentMethodAcssDebitData, type CreatePaymentMethodAffirmData, type CreatePaymentMethodAfterpayClearpayData, type CreatePaymentMethodAlipayData, type CreatePaymentMethodAuBecsDebitData, type CreatePaymentMethodBacsDebitData, type CreatePaymentMethodBancontactData, type CreatePaymentMethodBlikData, type CreatePaymentMethodBoletoData, type CreatePaymentMethodCardData, type CreatePaymentMethodCashappData, type CreatePaymentMethodCustomerBalanceData, type CreatePaymentMethodData, type CreatePaymentMethodEpsData, type CreatePaymentMethodFpxData, type CreatePaymentMethodFromElement, type CreatePaymentMethodFromElements, type CreatePaymentMethodGiropayData, type CreatePaymentMethodGrabPayData, type CreatePaymentMethodIdealData, type CreatePaymentMethodKlarnaData, type CreatePaymentMethodKonbiniData, type CreatePaymentMethodOxxoData, type CreatePaymentMethodP24Data, type CreatePaymentMethodPayNowData, type CreatePaymentMethodPayPalData, type CreatePaymentMethodPixData, type CreatePaymentMethodPromptPayData, type CreatePaymentMethodSepaDebitData, type CreatePaymentMethodSofortData, type CreatePaymentMethodUsBankAccountData, type CreatePaymentMethodWechatPayData, CreateSourceData, type CreateTokenBankAccountData, type CreateTokenCardData, type CreateTokenIbanData, type CreateTokenPiiData, type CssFontSource, type CustomFontSource, type CustomerOptions, type DefaultValuesOption, type DeliveryEstimate, type DeliveryUnit, type EphemeralKeyNonceOptions, type EphemeralKeyNonceResult, type ExpressCheckoutAddress, type ExpressCheckoutPartialAddress, type ExpressCheckoutWalletOption, type ExpressCheckoutWalletsOption, type ExpressPaymentType, type FieldOption, type FieldsOption, FinancialConnectionsSession, type FinancialConnectionsSessionResult, type GooglePayButtonTheme, type GooglePayButtonType, type JapanAddressParam, type Layout, type LayoutObject, type LayoutOption, type LineItem, type Metadata, type MetadataParam, Order, PaymentIntent, PaymentIntentConfirmParams, type PaymentIntentOrSetupIntentResult, type PaymentIntentResult, PaymentMethod, PaymentMethodCreateParams, type PaymentMethodResult, type PaymentRequest, type PaymentRequestCompleteStatus, type PaymentRequestEvent, type PaymentRequestItem, type PaymentRequestOptions, type PaymentRequestPaymentMethodEvent, type PaymentRequestShippingAddress, type PaymentRequestShippingAddressEvent, type PaymentRequestShippingOption, type PaymentRequestShippingOptionEvent, type PaymentRequestSourceEvent, type PaymentRequestTokenEvent, type PaymentRequestUpdateDetails, type PaymentRequestUpdateDetailsStatus, type PaymentRequestUpdateOptions, type PaymentRequestWallet, type PaymentWalletOption, type PaymentWalletsOption, type ProcessOrderParams, type ProcessOrderResult, type RadarSessionPayload, type RedirectToCheckoutClientOptions, type RedirectToCheckoutOptions, type RedirectToCheckoutServerOptions, type RetrieveOrderResult, type RetrieveSourceParam, SetupIntent, type SetupIntentConfirmParams, type SetupIntentResult, type ShippingAddress, type ShippingRate, Source, SourceCreateParams, type SourceResult, type Stripe, type StripeAddressElement, type StripeAddressElementChangeEvent, type StripeAddressElementOptions, type StripeAffirmMessageElement, type StripeAffirmMessageElementOptions, type StripeAfterpayClearpayMessageElement, type StripeAfterpayClearpayMessageElementOptions, type StripeAuBankAccountElement, type StripeAuBankAccountElementChangeEvent, type StripeAuBankAccountElementOptions, type StripeCardCvcElement, type StripeCardCvcElementChangeEvent, type StripeCardCvcElementOptions, type StripeCardElement, type StripeCardElementChangeEvent, type StripeCardElementOptions, type StripeCardElementUpdateOptions, type StripeCardExpiryElement, type StripeCardExpiryElementChangeEvent, type StripeCardExpiryElementOptions, type StripeCardNumberElement, type StripeCardNumberElementChangeEvent, type StripeCardNumberElementOptions, type StripeCardNumberElementUpdateOptions, type StripeCartElement, type StripeCartElementLineItemClickEvent, type StripeCartElementOptions, type StripeCartElementPayloadEvent, type StripeCartElementUpdateOptions, type StripeConstructor, type StripeConstructorOptions, type StripeCustomCheckout, type StripeCustomCheckoutAddress, type StripeCustomCheckoutAddressElementOptions, type StripeCustomCheckoutAdjustableQuantity, type StripeCustomCheckoutBillingInterval, type StripeCustomCheckoutConfirmationRequirement, type StripeCustomCheckoutContact, type StripeCustomCheckoutDeliveryEstimate, type StripeCustomCheckoutDiscountAmount, type StripeCustomCheckoutDueNext, type StripeCustomCheckoutElementsOptions, type StripeCustomCheckoutEstimate, type StripeCustomCheckoutExpressCheckoutElement, type StripeCustomCheckoutExpressCheckoutElementConfirmEvent, type StripeCustomCheckoutExpressCheckoutElementOptions, type StripeCustomCheckoutLastPaymentError, type StripeCustomCheckoutLineItem, type StripeCustomCheckoutOptions, type StripeCustomCheckoutPaymentElementOptions, type StripeCustomCheckoutRecurring, type StripeCustomCheckoutResult, type StripeCustomCheckoutSession, type StripeCustomCheckoutShipping, type StripeCustomCheckoutShippingOption, type StripeCustomCheckoutStatus, type StripeCustomCheckoutTaxAmount, type StripeCustomCheckoutTaxStatus, type StripeCustomCheckoutTotalSummary, type StripeCustomCheckoutTrial, type StripeCustomCheckoutUpdateHandler, type StripeElement, type StripeElementBase, type StripeElementCSSProperties, type StripeElementChangeEvent, type StripeElementClasses, type StripeElementLocale, type StripeElementStyle, type StripeElementStyleVariant, type StripeElementType, type StripeElements, type StripeElementsOptions, type StripeElementsOptionsClientSecret, type StripeElementsOptionsMode, type StripeElementsUpdateOptions, type StripeEmbeddedCheckout, type StripeEmbeddedCheckoutOptions, type StripeEpsBankElement, type StripeEpsBankElementChangeEvent, type StripeEpsBankElementOptions, type StripeError, type StripeErrorType, type StripeExpressCheckoutElement, type StripeExpressCheckoutElementClickEvent, type StripeExpressCheckoutElementConfirmEvent, type StripeExpressCheckoutElementOptions, type StripeExpressCheckoutElementReadyEvent, type StripeExpressCheckoutElementShippingAddressChangeEvent, type StripeExpressCheckoutElementShippingRateChangeEvent, type StripeExpressCheckoutElementUpdateOptions, type StripeFpxBankElement, type StripeFpxBankElementChangeEvent, type StripeFpxBankElementOptions, type StripeIbanElement, type StripeIbanElementChangeEvent, type StripeIbanElementOptions, type StripeIdealBankElement, type StripeIdealBankElementChangeEvent, type StripeIdealBankElementOptions, type StripeIssuingCardCopyButtonElement, type StripeIssuingCardCopyButtonElementOptions, type StripeIssuingCardCvcDisplayElement, type StripeIssuingCardCvcDisplayElementOptions, type StripeIssuingCardExpiryDisplayElement, type StripeIssuingCardExpiryDisplayElementOptions, type StripeIssuingCardNumberDisplayElement, type StripeIssuingCardNumberDisplayElementOptions, type StripeIssuingCardPinDisplayElement, type StripeIssuingCardPinDisplayElementOptions, type StripeLinkAuthenticationElement, type StripeLinkAuthenticationElementChangeEvent, type StripeLinkAuthenticationElementOptions, type StripeP24BankElement, type StripeP24BankElementChangeEvent, type StripeP24BankElementOptions, type StripePaymentElement, type StripePaymentElementChangeEvent, type StripePaymentElementOptions, type StripePaymentMethodMessagingElement, type StripePaymentMethodMessagingElementOptions, type StripePaymentRequestButtonElement, type StripePaymentRequestButtonElementClickEvent, type StripePaymentRequestButtonElementOptions, type StripeShippingAddressElement, type StripeShippingAddressElementChangeEvent, type StripeShippingAddressElementOptions, type TermOption, type TermsOption, type Token, TokenCreateParams, type TokenResult, type VerificationSession, type VerificationSessionResult, type VerifyMicrodepositsForPaymentData, type VerifyMicrodepositsForSetupData, type WrapperLibrary, loadStripe };