@bigcommerce/checkout-sdk 1.303.0 → 1.305.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.
@@ -1453,9 +1453,23 @@ declare interface BlueSnapV2StyleProps {
1453
1453
  width?: string;
1454
1454
  }
1455
1455
 
1456
+ declare interface BodlEventsPayload {
1457
+ [key: string]: unknown;
1458
+ }
1459
+
1456
1460
  declare interface BodlService {
1457
1461
  checkoutBegin(): void;
1458
1462
  orderPurchased(): void;
1463
+ stepCompleted(step?: string): void;
1464
+ customerEmailEntry(email?: string): void;
1465
+ customerSuggestionExecute(): void;
1466
+ customerPaymentMethodExecuted(payload?: BodlEventsPayload): void;
1467
+ showShippingMethods(): void;
1468
+ selectedPaymentMethod(methodName?: string): void;
1469
+ clickPayButton(payload?: BodlEventsPayload): void;
1470
+ paymentRejected(): void;
1471
+ paymentComplete(): void;
1472
+ exitCheckout(): void;
1459
1473
  }
1460
1474
 
1461
1475
  declare interface BodyStyles {
@@ -2181,6 +2195,7 @@ declare interface Checkout {
2181
2195
  createdTime: string;
2182
2196
  updatedTime: string;
2183
2197
  payments?: CheckoutPayment[];
2198
+ channelId: number;
2184
2199
  }
2185
2200
 
2186
2201
  declare class CheckoutButtonErrorSelector {
@@ -2350,6 +2365,10 @@ declare interface CheckoutPayment {
2350
2365
  gatewayId?: string;
2351
2366
  }
2352
2367
 
2368
+ declare interface CheckoutPaymentMethodExecutedOptions {
2369
+ hasBoltAccount?: boolean;
2370
+ }
2371
+
2353
2372
  declare interface CheckoutRequestBody {
2354
2373
  customerMessage: string;
2355
2374
  }
@@ -4815,6 +4834,7 @@ declare interface EmbeddedContentOptions {
4815
4834
  *
4816
4835
  */
4817
4836
  declare interface ExecutePaymentMethodCheckoutOptions extends CustomerRequestOptions {
4837
+ checkoutPaymentMethodExecuted?(data?: CheckoutPaymentMethodExecutedOptions): void;
4818
4838
  continueWithCheckoutCallback?(): void;
4819
4839
  }
4820
4840
 
@@ -5866,6 +5886,7 @@ declare interface Order {
5866
5886
  status: string;
5867
5887
  taxes: Tax[];
5868
5888
  taxTotal: number;
5889
+ channelId: number;
5869
5890
  }
5870
5891
 
5871
5892
  declare interface OrderConsignment {