@ikas/storefront-models 4.5.0-beta.32 → 4.5.0-beta.33

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
@@ -121,6 +121,7 @@ export * from "./models/product/campaign/filter";
121
121
  export * from "./models/product/campaign/product-buyx-then-gety";
122
122
  export * from "./models/product/campaign/product-campaign-date-range-field";
123
123
  export * from "./models/product/campaign/product-fixed-discount";
124
+ export * from "./models/product/campaign/search";
124
125
  export * from "./models/product/campaign";
125
126
  export * from "./models/product/image/init";
126
127
  export * from "./models/product/image";
@@ -0,0 +1,13 @@
1
+ import { IkasCampaignType } from "../data";
2
+ import { IkasProductBuyXThenGetY } from "../product-buyx-then-gety";
3
+ import { IkasProductCampaignDateRangeField } from "../product-campaign-date-range-field";
4
+ import { IkasProductFixedDiscount } from "../product-fixed-discount";
5
+ export declare type IkasProductCampaignSearch = {
6
+ buyXThenGetY: IkasProductBuyXThenGetY;
7
+ currencyCodes: [string] | null;
8
+ dateRange: IkasProductCampaignDateRangeField | null;
9
+ fixedDiscount: IkasProductFixedDiscount | null;
10
+ salesChannelIds: string[] | null;
11
+ title: string;
12
+ type: IkasCampaignType;
13
+ };
@@ -9,6 +9,7 @@ import { IkasVariantValue } from "../variant-type/variant-value";
9
9
  import { IkasVariantType } from "../variant-type";
10
10
  import { IkasProductBaseUnit } from "./base-unit";
11
11
  import { IkasProductStar } from "./star";
12
+ import { IkasProductCampaignSearch } from "./campaign/search";
12
13
  export declare type IkasProduct = {
13
14
  id: string;
14
15
  name: string;
@@ -17,6 +18,7 @@ export declare type IkasProduct = {
17
18
  shortDescription: string;
18
19
  metaData: IkasHTMLMetaData | null;
19
20
  brand: IkasBrand | null;
21
+ campaigns: IkasProductCampaignSearch[] | null;
20
22
  categories: IkasCategory[];
21
23
  deleted: boolean | null;
22
24
  tags: IkasProductTag[] | null;
@@ -121,6 +121,7 @@ export * from "./models/product/campaign/filter";
121
121
  export * from "./models/product/campaign/product-buyx-then-gety";
122
122
  export * from "./models/product/campaign/product-campaign-date-range-field";
123
123
  export * from "./models/product/campaign/product-fixed-discount";
124
+ export * from "./models/product/campaign/search";
124
125
  export * from "./models/product/campaign";
125
126
  export * from "./models/product/image/init";
126
127
  export * from "./models/product/image";
@@ -0,0 +1,13 @@
1
+ import { IkasCampaignType } from "../data";
2
+ import { IkasProductBuyXThenGetY } from "../product-buyx-then-gety";
3
+ import { IkasProductCampaignDateRangeField } from "../product-campaign-date-range-field";
4
+ import { IkasProductFixedDiscount } from "../product-fixed-discount";
5
+ export declare type IkasProductCampaignSearch = {
6
+ buyXThenGetY: IkasProductBuyXThenGetY;
7
+ currencyCodes: [string] | null;
8
+ dateRange: IkasProductCampaignDateRangeField | null;
9
+ fixedDiscount: IkasProductFixedDiscount | null;
10
+ salesChannelIds: string[] | null;
11
+ title: string;
12
+ type: IkasCampaignType;
13
+ };
@@ -9,6 +9,7 @@ import { IkasVariantValue } from "../variant-type/variant-value";
9
9
  import { IkasVariantType } from "../variant-type";
10
10
  import { IkasProductBaseUnit } from "./base-unit";
11
11
  import { IkasProductStar } from "./star";
12
+ import { IkasProductCampaignSearch } from "./campaign/search";
12
13
  export declare type IkasProduct = {
13
14
  id: string;
14
15
  name: string;
@@ -17,6 +18,7 @@ export declare type IkasProduct = {
17
18
  shortDescription: string;
18
19
  metaData: IkasHTMLMetaData | null;
19
20
  brand: IkasBrand | null;
21
+ campaigns: IkasProductCampaignSearch[] | null;
20
22
  categories: IkasCategory[];
21
23
  deleted: boolean | null;
22
24
  tags: IkasProductTag[] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-models",
3
- "version": "4.5.0-beta.32",
3
+ "version": "4.5.0-beta.33",
4
4
  "author": "ikas",
5
5
  "license": "ISC",
6
6
  "description": "Data models to be used in an ikas storefront application.",