@bigcommerce/checkout-sdk 1.302.0 → 1.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  /// <reference types="applepayjs" />
2
+ import { Omit as Omit_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
2
3
  import { RequestOptions as RequestOptions_2 } from '@bigcommerce/request-sender';
3
4
  import { Response } from '@bigcommerce/request-sender';
4
5
  import { Timeout } from '@bigcommerce/request-sender';
@@ -123,6 +124,7 @@ declare interface AdyenBaseCardComponentOptions_2 {
123
124
  * for a list of supported properties.
124
125
  */
125
126
  styles?: StyleOptions_2;
127
+ showBrandsUnderCardNumber?: boolean;
126
128
  }
127
129
 
128
130
  declare interface AdyenComponent {
@@ -365,7 +367,7 @@ declare interface AdyenV2PaymentInitializeOptions {
365
367
  /**
366
368
  * Optional. Overwriting the default options
367
369
  */
368
- options?: Omit<AdyenCreditCardComponentOptions, 'onChange'> | AdyenIdealComponentOptions;
370
+ options?: Omit_2<AdyenCreditCardComponentOptions, 'onChange'> | AdyenIdealComponentOptions;
369
371
  shouldShowNumberField?: boolean;
370
372
  validateCardFields(validateState: AdyenV2ValidationState): void;
371
373
  }
@@ -499,7 +501,7 @@ declare interface AdyenV3PaymentInitializeOptions {
499
501
  /**
500
502
  * Optional. Overwriting the default options
501
503
  */
502
- options?: Omit<AdyenV3CreditCardComponentOptions, 'onChange'>;
504
+ options?: Omit_2<AdyenV3CreditCardComponentOptions, 'onChange'>;
503
505
  shouldShowNumberField?: boolean;
504
506
  validateCardFields(validateState: AdyenV3ValidationState): void;
505
507
  }
@@ -1226,16 +1228,6 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
1226
1228
  * consumption.
1227
1229
  */
1228
1230
  creditCard?: CreditCardPaymentInitializeOptions;
1229
- /**
1230
- * The options that are required to initialize the AdyenV2 payment
1231
- * method. They can be omitted unless you need to support AdyenV2.
1232
- */
1233
- adyenv2?: AdyenV2PaymentInitializeOptions;
1234
- /**
1235
- * The options that are required to initialize the AdyenV3 payment
1236
- * method. They can be omitted unless you need to support AdyenV3.
1237
- */
1238
- adyenv3?: AdyenV3PaymentInitializeOptions;
1239
1231
  /**
1240
1232
  * The options that are required to initialize the Amazon Pay payment
1241
1233
  * method. They can be omitted unless you need to support AmazonPay.
@@ -5981,7 +5973,7 @@ declare interface PayPalInstrument extends BaseAccountInstrument {
5981
5973
  method: 'paypal';
5982
5974
  }
5983
5975
 
5984
- declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithApplePayPaymentInitializeOptions;
5976
+ declare type PaymentInitializeOptions = BasePaymentInitializeOptions & WithAdyenV2PaymentInitializeOptions & WithAdyenV3PaymentInitializeOptions & WithApplePayPaymentInitializeOptions;
5985
5977
 
5986
5978
  declare type PaymentInstrument = CardInstrument | AccountInstrument;
5987
5979
 
@@ -7518,6 +7510,22 @@ declare interface WithAccountCreation {
7518
7510
  shouldCreateAccount?: boolean;
7519
7511
  }
7520
7512
 
7513
+ declare interface WithAdyenV2PaymentInitializeOptions {
7514
+ /**
7515
+ * The options that are required to initialize the Apple Pay payment
7516
+ * method. They can be omitted unless you need to support Apple Pay.
7517
+ */
7518
+ adyenv2?: AdyenV2PaymentInitializeOptions;
7519
+ }
7520
+
7521
+ declare interface WithAdyenV3PaymentInitializeOptions {
7522
+ /**
7523
+ * The options that are required to initialize the Apple Pay payment
7524
+ * method. They can be omitted unless you need to support Apple Pay.
7525
+ */
7526
+ adyenv3?: AdyenV3PaymentInitializeOptions;
7527
+ }
7528
+
7521
7529
  declare interface WithApplePayButtonInitializeOptions {
7522
7530
  applepay?: ApplePayButtonInitializeOptions_2;
7523
7531
  }