@kachingappz/bundles-js 1.1.0 → 1.1.2

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.
@@ -68,6 +68,7 @@ declare interface BaseDealBar {
68
68
  highlights?: Highlights | null;
69
69
  sellingPlanEnabled?: boolean;
70
70
  sellingPlanGid?: string | null;
71
+ subscriptionMode?: SubscriptionMode;
71
72
  hideBehindScratchOff?: boolean;
72
73
  }
73
74
 
@@ -301,12 +302,14 @@ declare type DealBlock = {
301
302
  showBothPrices: boolean;
302
303
  unitLabel?: string;
303
304
  useProductCompareAtPrice: boolean;
305
+ hideFullPrice?: boolean;
304
306
  showPricesWithoutDecimals?: boolean;
305
307
  priceRounding: boolean;
306
308
  priceRoundingPrecision: PriceRoundingPrecision;
307
309
  updateNativePrice?: boolean;
308
310
  updateNativePriceType?: "item" | "bundle";
309
311
  showTotalPriceInAddToCartButton?: boolean;
312
+ includeUpsellsInDealBarPrice?: boolean;
310
313
  skipCart: boolean;
311
314
  showVariantsForSingleQuantity: boolean;
312
315
  preselectedDealBarId: string | null;
@@ -453,6 +456,7 @@ declare interface GlobalConfig {
453
456
  includeSellingPlans: boolean;
454
457
  includeAvailableQuantity: boolean;
455
458
  customApiHost: string | null;
459
+ appEmbedCheckToken?: string | null;
456
460
  keepQuantityInput: boolean;
457
461
  ignoreDeselect: boolean;
458
462
  ignoreUnitPrice: boolean;
@@ -505,8 +509,6 @@ declare interface GlobalConfig {
505
509
  "system.deal_page_items_few"?: string;
506
510
  "system.deal_page_items_many"?: string;
507
511
  "system.deal_page_percentage_off"?: string;
508
- "system.deal_page_price_each"?: string;
509
- "system.deal_page_quantity_for_price"?: string;
510
512
  "system.deal_page_in_your_box"?: string;
511
513
  "system.deal_page_in_your_box_count"?: string;
512
514
  "system.deal_page_in_box_count"?: string;
@@ -515,11 +517,10 @@ declare interface GlobalConfig {
515
517
  "system.deal_page_box_full"?: string;
516
518
  "system.deal_page_sold_out"?: string;
517
519
  "system.deal_page_start_your_box"?: string;
518
- "system.deal_page_not_a_full_box"?: string;
520
+ "system.deal_page_not_a_box_size"?: string;
519
521
  "system.deal_page_full_price_for_now"?: string;
520
522
  "system.deal_page_percentage_unlocked"?: string;
521
523
  "system.deal_page_box_of"?: string;
522
- "system.deal_page_no_box_price"?: string;
523
524
  "system.deal_page_track_box_full"?: string;
524
525
  "system.deal_page_nudge_start_percentage_one"?: string;
525
526
  "system.deal_page_nudge_start_percentage_other"?: string;
@@ -537,12 +538,10 @@ declare interface GlobalConfig {
537
538
  "system.deal_page_nudge_more_fixed_other"?: string;
538
539
  "system.deal_page_nudge_more_fixed_few"?: string;
539
540
  "system.deal_page_nudge_more_fixed_many"?: string;
540
- "system.deal_page_nudge_best_price"?: string;
541
- "system.deal_page_nudge_box_full"?: string;
542
- "system.deal_page_nudge_below_minimum_one"?: string;
543
- "system.deal_page_nudge_below_minimum_other"?: string;
544
- "system.deal_page_nudge_below_minimum_few"?: string;
545
- "system.deal_page_nudge_below_minimum_many"?: string;
541
+ "system.deal_page_nudge_not_a_box_size_one"?: string;
542
+ "system.deal_page_nudge_not_a_box_size_other"?: string;
543
+ "system.deal_page_nudge_not_a_box_size_few"?: string;
544
+ "system.deal_page_nudge_not_a_box_size_many"?: string;
546
545
  "system.deal_page_subtotal"?: string;
547
546
  "system.deal_page_box_discount"?: string;
548
547
  "system.deal_page_box_price_saving"?: string;
@@ -570,9 +569,7 @@ declare interface GlobalConfig {
570
569
  "system.deal_page_default_add_to_box"?: string;
571
570
  "system.deal_page_default_add_box_to_cart"?: string;
572
571
  "system.deal_page_items_range"?: string;
573
- "system.deal_page_minimum"?: string;
574
572
  "system.deal_page_tip_box_size"?: string;
575
- "system.deal_page_tip_on_its_own"?: string;
576
573
  "system.deal_page_about_this_price"?: string;
577
574
  };
578
575
  customSelectors: {
@@ -588,7 +585,6 @@ declare interface GlobalConfig {
588
585
  atc_total_price?: boolean;
589
586
  cart_change_response_rewrite?: boolean;
590
587
  cart_interceptor_dedupe_disabled?: boolean;
591
- cart_interceptor_json_encoding?: boolean;
592
588
  debug_cart_add?: boolean;
593
589
  disable_nested_cart_lines?: boolean;
594
590
  early_fetch_override?: boolean;
@@ -974,6 +970,8 @@ export declare interface StorefrontCredentials {
974
970
  storefrontAccessToken: string;
975
971
  }
976
972
 
973
+ declare type SubscriptionMode = "customer-choice" | "always-subscription" | "one-time-only";
974
+
977
975
  declare type Subscriptions = {
978
976
  layout: SubscriptionsLayout;
979
977
  position: "above" | "below";