yt-uikit 0.8.15-loyalty-page-block.21 → 0.8.15-productTier-freebie-update.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.
- package/dist/esm/components/BundleBlock/Bundle.d.ts +12 -11
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/index.js +415 -415
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +12 -11
- package/dist/esm/types/components/index.d.ts +0 -1
- package/dist/index.d.ts +13 -74
- package/package.json +1 -1
- package/dist/esm/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +0 -63
- package/dist/esm/types/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +0 -63
|
@@ -264,6 +264,17 @@ export type Customizations = {
|
|
|
264
264
|
createdAt?: string;
|
|
265
265
|
updatedAt?: string;
|
|
266
266
|
};
|
|
267
|
+
export type ProductTier = {
|
|
268
|
+
tier: number;
|
|
269
|
+
title: string;
|
|
270
|
+
minimumQuantity: number;
|
|
271
|
+
isFixed?: boolean;
|
|
272
|
+
isFreebieTier?: boolean;
|
|
273
|
+
products: {
|
|
274
|
+
productId: string;
|
|
275
|
+
variantIds: string[];
|
|
276
|
+
}[];
|
|
277
|
+
};
|
|
267
278
|
export type BundlePayload = {
|
|
268
279
|
showIndividualProductSelector: boolean;
|
|
269
280
|
title?: string;
|
|
@@ -305,17 +316,7 @@ export type BundlePayload = {
|
|
|
305
316
|
minimumQuantity: number;
|
|
306
317
|
discountValue: number;
|
|
307
318
|
}[];
|
|
308
|
-
productTier?:
|
|
309
|
-
tier: number;
|
|
310
|
-
title: string;
|
|
311
|
-
minimumQuantity: number;
|
|
312
|
-
isFixed?: boolean;
|
|
313
|
-
isFreebieTier?: boolean;
|
|
314
|
-
products: {
|
|
315
|
-
productId: string;
|
|
316
|
-
variantIds: string[];
|
|
317
|
-
}[];
|
|
318
|
-
}[];
|
|
319
|
+
productTier?: ProductTier[];
|
|
319
320
|
};
|
|
320
321
|
volumeTiers?: {
|
|
321
322
|
isDefault: unknown;
|
|
@@ -4,5 +4,4 @@ export { default as Cart } from "./Cart";
|
|
|
4
4
|
export { default as CouponFrame } from "./CouponFrame";
|
|
5
5
|
export { default as Bundle } from "./BundleBlock";
|
|
6
6
|
export { default as BundleLoader } from "./BundleBlock/Loader";
|
|
7
|
-
export { default as LoyaltyPageBlock, LoyaltyPageConfigType, BrandConfigType, } from "./LoyaltyPageBlock/LoyaltyPageBlock";
|
|
8
7
|
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|