@kachingappz/bundles-js 1.1.8 → 1.1.10

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.
@@ -315,6 +315,7 @@ declare type DealBlock = {
315
315
  showTotalPriceInAddToCartButton?: boolean;
316
316
  includeUpsellsInDealBarPrice?: boolean;
317
317
  skipCart: boolean;
318
+ skipCartRemoveOtherProducts?: boolean;
318
319
  showVariantsForSingleQuantity: boolean;
319
320
  preselectedDealBarId: string | null;
320
321
  cornerRadius: number;
@@ -412,13 +413,7 @@ declare type DefaultSortOption = "relevance" | "newest-first" | "price-low-to-hi
412
413
 
413
414
  declare type DiscountType = "default" | "percentage" | "amount" | "specific";
414
415
 
415
- export declare const fetchKachingBundlesData: (storefront: HydrogenV2Storefront | HydrogenStorefrontClient | ReactHydrogenStorefront | ShopifyStorefrontApiClient | StorefrontCredentials, { productId, dealBlockId, abTestVariantId, country, language, }: {
416
- productId: string;
417
- dealBlockId?: string;
418
- abTestVariantId?: string;
419
- country?: string;
420
- language?: string;
421
- }) => Promise<KachingBundlesData | null>;
416
+ export declare const fetchKachingBundlesData: (storefront: KachingBundlesStorefront, options: KachingBundlesDataOptions) => Promise<KachingBundlesData | null>;
422
417
 
423
418
  declare type Font = {
424
419
  size: string | number;
@@ -578,6 +573,15 @@ declare interface GlobalConfig {
578
573
  "system.deal_page_default_empty_note"?: string;
579
574
  "system.deal_page_default_add_to_box"?: string;
580
575
  "system.deal_page_default_add_box_to_cart"?: string;
576
+ "system.deal_page_default_subscribe_title"?: string;
577
+ "system.deal_page_default_subscribe_subtitle"?: string;
578
+ "system.deal_page_default_one_time_title"?: string;
579
+ "system.deal_page_purchase_options"?: string;
580
+ "system.deal_page_frequency"?: string;
581
+ "system.deal_page_one_time_only"?: string;
582
+ "system.deal_page_subscription_only"?: string;
583
+ "system.deal_page_some_items_subscription_only"?: string;
584
+ "system.deal_page_remove_subscription_only_items"?: string;
581
585
  "system.deal_page_items_range"?: string;
582
586
  "system.deal_page_tip_box_size"?: string;
583
587
  "system.deal_page_about_this_price"?: string;
@@ -648,6 +652,7 @@ declare interface GlobalConfig {
648
652
  intercept_cart_request?: boolean;
649
653
  klaviyo_integration?: boolean;
650
654
  legacy_saved_percentage?: boolean;
655
+ localized_most_popular_badge?: boolean;
651
656
  low_priority_scripts?: boolean;
652
657
  native_swatches_disabled?: boolean;
653
658
  observe_external_selling_plan?: boolean;
@@ -669,6 +674,7 @@ declare interface GlobalConfig {
669
674
  widget_scroll_guard?: boolean;
670
675
  };
671
676
  shopCustomStyles: string;
677
+ shopDealPageCustomStyles?: string;
672
678
  brandColors?: BrandColors | null;
673
679
  }
674
680
 
@@ -713,6 +719,7 @@ export declare interface KachingBundlesData {
713
719
  dealBlock: DealBlock;
714
720
  product: Product;
715
721
  otherProducts: Product[];
722
+ mixAndMatchSwapProducts: Product[];
716
723
  mediaImages: {
717
724
  gid: string;
718
725
  url: string;
@@ -723,6 +730,16 @@ export declare interface KachingBundlesData {
723
730
  };
724
731
  }
725
732
 
733
+ declare interface KachingBundlesDataOptions {
734
+ productId: string;
735
+ dealBlockId?: string;
736
+ abTestVariantId?: string;
737
+ country?: string;
738
+ language?: string;
739
+ }
740
+
741
+ declare type KachingBundlesStorefront = HydrogenV2Storefront | HydrogenStorefrontClient | ReactHydrogenStorefront | ShopifyStorefrontApiClient | StorefrontCredentials;
742
+
726
743
  declare type LowStockAlert = {
727
744
  threshold: number;
728
745
  message: string;
@@ -763,6 +780,9 @@ declare interface MixAndMatchProduct {
763
780
  id: string;
764
781
  variantGIDs: string[] | null;
765
782
  }[];
783
+ selectedCollections?: {
784
+ id: string;
785
+ }[];
766
786
  }
767
787
 
768
788
  declare type MostPopularBadge = BaseBadge & {
@@ -814,6 +834,9 @@ declare interface Product {
814
834
  };
815
835
  rating?: ProductRating | null;
816
836
  subtitle?: string | null;
837
+ productType?: string | null;
838
+ categoryGid?: string | null;
839
+ tags?: string[];
817
840
  }
818
841
 
819
842
  declare interface ProductOption {
@@ -958,6 +981,7 @@ declare type ScratchOff = {
958
981
  declare interface SellingPlan {
959
982
  id: number;
960
983
  name: string;
984
+ recurringDeliveries?: boolean;
961
985
  priceAdjustment: {
962
986
  type: "percentage" | "fixed_amount" | "price";
963
987
  value: number;