@ikas/storefront-models 4.12.0-beta.2 → 4.12.0-beta.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.
package/build/index.d.ts CHANGED
@@ -124,6 +124,7 @@ export * from "./models/product/attribute-value";
124
124
  export * from "./models/product/back-in-stock-settings";
125
125
  export * from "./models/product/base-unit";
126
126
  export * from "./models/product/filter";
127
+ export * from "./models/product/campaign-offers";
127
128
  export * from "./models/product/campaign/data";
128
129
  export * from "./models/product/campaign/filter";
129
130
  export * from "./models/product/campaign/product-buyx-then-gety";
@@ -0,0 +1,3 @@
1
+ export declare type IkasProductCampaignOffer = {
2
+ id: string;
3
+ };
@@ -10,6 +10,7 @@ import { IkasVariantType } from "../variant-type";
10
10
  import { IkasProductBaseUnit } from "./base-unit";
11
11
  import { IkasProductStar } from "./star";
12
12
  import { IkasProductCampaign } from "./campaign";
13
+ import { IkasProductCampaignOffer } from "./campaign-offers";
13
14
  export declare type IkasProduct = {
14
15
  id: string;
15
16
  name: string;
@@ -33,6 +34,7 @@ export declare type IkasProduct = {
33
34
  groupVariantsByVariantTypeId: string | null;
34
35
  dynamicPriceListIds: string[] | null;
35
36
  productVolumeDiscountId: string | null;
37
+ campaignOffers: IkasProductCampaignOffer[] | null;
36
38
  };
37
39
  export declare enum IkasProductType {
38
40
  PHYSICAL = "PHYSICAL",
@@ -12,7 +12,7 @@ export declare type IkasProductVariant = {
12
12
  baseBundlePrices: IkasProductPrice[] | null;
13
13
  variantValues: IkasVariantValue[];
14
14
  attributes: IkasProductAttributeValue[];
15
- price: IkasProductPrice;
15
+ price?: IkasProductPrice;
16
16
  prices: IkasProductPrice[];
17
17
  stock: number;
18
18
  isActive: boolean;
@@ -124,6 +124,7 @@ export * from "./models/product/attribute-value";
124
124
  export * from "./models/product/back-in-stock-settings";
125
125
  export * from "./models/product/base-unit";
126
126
  export * from "./models/product/filter";
127
+ export * from "./models/product/campaign-offers";
127
128
  export * from "./models/product/campaign/data";
128
129
  export * from "./models/product/campaign/filter";
129
130
  export * from "./models/product/campaign/product-buyx-then-gety";
@@ -0,0 +1,3 @@
1
+ export declare type IkasProductCampaignOffer = {
2
+ id: string;
3
+ };
@@ -10,6 +10,7 @@ import { IkasVariantType } from "../variant-type";
10
10
  import { IkasProductBaseUnit } from "./base-unit";
11
11
  import { IkasProductStar } from "./star";
12
12
  import { IkasProductCampaign } from "./campaign";
13
+ import { IkasProductCampaignOffer } from "./campaign-offers";
13
14
  export declare type IkasProduct = {
14
15
  id: string;
15
16
  name: string;
@@ -33,6 +34,7 @@ export declare type IkasProduct = {
33
34
  groupVariantsByVariantTypeId: string | null;
34
35
  dynamicPriceListIds: string[] | null;
35
36
  productVolumeDiscountId: string | null;
37
+ campaignOffers: IkasProductCampaignOffer[] | null;
36
38
  };
37
39
  export declare enum IkasProductType {
38
40
  PHYSICAL = "PHYSICAL",
@@ -12,7 +12,7 @@ export declare type IkasProductVariant = {
12
12
  baseBundlePrices: IkasProductPrice[] | null;
13
13
  variantValues: IkasVariantValue[];
14
14
  attributes: IkasProductAttributeValue[];
15
- price: IkasProductPrice;
15
+ price?: IkasProductPrice;
16
16
  prices: IkasProductPrice[];
17
17
  stock: number;
18
18
  isActive: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-models",
3
- "version": "4.12.0-beta.2",
3
+ "version": "4.12.0-beta.3",
4
4
  "author": "ikas",
5
5
  "license": "ISC",
6
6
  "description": "Data models to be used in an ikas storefront application.",