@bigcommerce/checkout-sdk 1.181.0 → 1.183.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.
@@ -725,6 +725,10 @@ declare interface BoltPaymentInitializeOptions {
725
725
  * The CSS selector of a container where the Bolt Embedded payment field should be inserted into.
726
726
  */
727
727
  containerId?: string;
728
+ /**
729
+ * A callback that gets called when the customer selects Bolt as payment option.
730
+ */
731
+ onPaymentSelect?(hasBoltAccount: boolean): void;
728
732
  }
729
733
 
730
734
  declare interface BraintreeError extends Error {
@@ -4870,7 +4874,7 @@ declare interface OrderPaymentRequestBody {
4870
4874
  * An object that contains the details of a credit card, vaulted payment
4871
4875
  * instrument or nonce instrument.
4872
4876
  */
4873
- paymentData?: CreditCardInstrument | HostedInstrument | HostedCreditCardInstrument | HostedVaultedInstrument | NonceInstrument | VaultedInstrument | CreditCardInstrument & WithDocumentInstrument | CreditCardInstrument & WithCheckoutcomFawryInstrument | CreditCardInstrument & WithCheckoutcomSEPAInstrument | CreditCardInstrument & WithCheckoutcomiDealInstrument | HostedInstrument & WithMollieIssuerInstrument;
4877
+ paymentData?: CreditCardInstrument | HostedInstrument | HostedCreditCardInstrument | HostedVaultedInstrument | NonceInstrument | VaultedInstrument | CreditCardInstrument & WithDocumentInstrument | CreditCardInstrument & WithCheckoutcomFawryInstrument | CreditCardInstrument & WithCheckoutcomSEPAInstrument | CreditCardInstrument & WithCheckoutcomiDealInstrument | HostedInstrument & WithMollieIssuerInstrument | WithAccountCreation;
4874
4878
  }
4875
4879
 
4876
4880
  declare type OrderPayments = Array<GatewayOrderPayment | GiftCertificateOrderPayment>;
@@ -6212,6 +6216,10 @@ declare interface WechatState {
6212
6216
  data: WechatDataPaymentMethodState;
6213
6217
  }
6214
6218
 
6219
+ declare interface WithAccountCreation {
6220
+ shouldCreateAccount?: boolean;
6221
+ }
6222
+
6215
6223
  declare interface WithCheckoutcomFawryInstrument {
6216
6224
  customerMobile: string;
6217
6225
  customerEmail: string;