@kachingappz/bundles-js 1.1.1 → 1.1.3

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
 
@@ -508,8 +509,6 @@ declare interface GlobalConfig {
508
509
  "system.deal_page_items_few"?: string;
509
510
  "system.deal_page_items_many"?: string;
510
511
  "system.deal_page_percentage_off"?: string;
511
- "system.deal_page_price_each"?: string;
512
- "system.deal_page_quantity_for_price"?: string;
513
512
  "system.deal_page_in_your_box"?: string;
514
513
  "system.deal_page_in_your_box_count"?: string;
515
514
  "system.deal_page_in_box_count"?: string;
@@ -556,6 +555,7 @@ declare interface GlobalConfig {
556
555
  "system.deal_page_line_quantity"?: string;
557
556
  "system.deal_page_view_box"?: string;
558
557
  "system.deal_page_close"?: string;
558
+ "system.deal_page_view_full_details"?: string;
559
559
  "system.deal_page_back_to_products"?: string;
560
560
  "system.deal_page_items_still_to_add_one"?: string;
561
561
  "system.deal_page_items_still_to_add_other"?: string;
@@ -571,8 +571,13 @@ declare interface GlobalConfig {
571
571
  "system.deal_page_default_add_box_to_cart"?: string;
572
572
  "system.deal_page_items_range"?: string;
573
573
  "system.deal_page_tip_box_size"?: string;
574
- "system.deal_page_tip_on_its_own"?: string;
575
574
  "system.deal_page_about_this_price"?: string;
575
+ "system.deal_page_rating"?: string;
576
+ "system.deal_page_rating_count_one"?: string;
577
+ "system.deal_page_rating_count_other"?: string;
578
+ "system.deal_page_rating_count_few"?: string;
579
+ "system.deal_page_rating_count_many"?: string;
580
+ "system.deal_page_promotion_percentage"?: string;
576
581
  };
577
582
  customSelectors: {
578
583
  quantity: string | null;
@@ -583,17 +588,16 @@ declare interface GlobalConfig {
583
588
  label?: string | null;
584
589
  };
585
590
  featureFlags: {
586
- accelerated_checkout_additional_items?: boolean;
587
591
  atc_total_price?: boolean;
588
592
  cart_change_response_rewrite?: boolean;
589
593
  cart_interceptor_dedupe_disabled?: boolean;
590
- cart_interceptor_json_encoding?: boolean;
591
594
  debug_cart_add?: boolean;
592
595
  disable_nested_cart_lines?: boolean;
593
596
  early_fetch_override?: boolean;
594
597
  hide_missing_variants?: boolean;
595
598
  initialize_with_form_variant?: boolean;
596
599
  intercept_cart_request?: boolean;
600
+ klaviyo_integration?: boolean;
597
601
  legacy_saved_percentage?: boolean;
598
602
  low_priority_scripts?: boolean;
599
603
  native_swatches_disabled?: boolean;
@@ -613,6 +617,7 @@ declare interface GlobalConfig {
613
617
  storefront_metaobjects?: boolean;
614
618
  pos_extension?: boolean;
615
619
  variant_images?: boolean;
620
+ widget_scroll_guard?: boolean;
616
621
  };
617
622
  shopCustomStyles: string;
618
623
  brandColors?: BrandColors | null;
@@ -756,6 +761,7 @@ declare interface Product {
756
761
  text3: string | null;
757
762
  text4: string | null;
758
763
  };
764
+ rating?: ProductRating | null;
759
765
  }
760
766
 
761
767
  declare interface ProductOption {
@@ -788,6 +794,11 @@ declare type ProductPersonalisation = {
788
794
  required: boolean;
789
795
  };
790
796
 
797
+ declare interface ProductRating {
798
+ value: number;
799
+ count: number | null;
800
+ }
801
+
791
802
  declare type ProgressiveGift = {
792
803
  id: string;
793
804
  giftType: "product" | "shipping";
@@ -973,6 +984,8 @@ export declare interface StorefrontCredentials {
973
984
  storefrontAccessToken: string;
974
985
  }
975
986
 
987
+ declare type SubscriptionMode = "customer-choice" | "always-subscription" | "one-time-only";
988
+
976
989
  declare type Subscriptions = {
977
990
  layout: SubscriptionsLayout;
978
991
  position: "above" | "below";
@@ -1040,6 +1053,7 @@ declare type Upsell = {
1040
1053
  quantity: number;
1041
1054
  preselected: boolean;
1042
1055
  visibleOnlyWhenDealBarSelected: boolean;
1056
+ matchQuantityWithDealBar?: boolean;
1043
1057
  subscriptionEnabled?: boolean;
1044
1058
  subscriptionType?: "deal" | "always";
1045
1059
  };