@ikas/storefront-models 4.10.0-beta.2 → 4.10.0-beta.21
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 +6 -0
- package/build/models/filter-category/index.d.ts +3 -0
- package/build/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +31 -0
- package/build/models/order/line-item/variant/bundle-product/index.d.ts +12 -0
- package/build/models/order/line-item/variant/index.d.ts +4 -0
- package/build/models/product/variant/bundle-settings/bundle-product/index.d.ts +10 -0
- package/build/models/product/variant/bundle-settings/index.d.ts +6 -0
- package/build/models/product/variant/index.d.ts +2 -0
- package/build/models/product-file/index.d.ts +6 -0
- package/build/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/build/models/storefront/index.d.ts +2 -0
- package/build-cjs/index.d.ts +6 -0
- package/build-cjs/models/filter-category/index.d.ts +3 -0
- package/build-cjs/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +31 -0
- package/build-cjs/models/order/line-item/variant/bundle-product/index.d.ts +12 -0
- package/build-cjs/models/order/line-item/variant/index.d.ts +4 -0
- package/build-cjs/models/product/campaign/search/index.d.ts +13 -0
- package/build-cjs/models/product/variant/bundle-settings/bundle-product/index.d.ts +10 -0
- package/build-cjs/models/product/variant/bundle-settings/index.d.ts +6 -0
- package/build-cjs/models/product/variant/index.d.ts +2 -0
- package/build-cjs/models/product-file/index.d.ts +6 -0
- package/build-cjs/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/build-cjs/models/storefront/index.d.ts +2 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export * from "./models/order/line-item/discount";
|
|
|
84
84
|
export * from "./models/order/line-item/option/value";
|
|
85
85
|
export * from "./models/order/line-item/option";
|
|
86
86
|
export * from "./models/order/line-item/variant/brand";
|
|
87
|
+
export * from "./models/order/line-item/variant/bundle-product/bundle-variant";
|
|
88
|
+
export * from "./models/order/line-item/variant/bundle-product";
|
|
87
89
|
export * from "./models/order/line-item/variant/category";
|
|
88
90
|
export * from "./models/order/line-item/variant/price";
|
|
89
91
|
export * from "./models/order/line-item/variant/tag";
|
|
@@ -135,6 +137,8 @@ export * from "./models/product/option-set";
|
|
|
135
137
|
export * from "./models/product/star";
|
|
136
138
|
export * from "./models/product/stock-location";
|
|
137
139
|
export * from "./models/product/tag";
|
|
140
|
+
export * from "./models/product/variant/bundle-settings/bundle-product";
|
|
141
|
+
export * from "./models/product/variant/bundle-settings";
|
|
138
142
|
export * from "./models/product/variant/price";
|
|
139
143
|
export * from "./models/product/variant/unit";
|
|
140
144
|
export * from "./models/product/variant/init";
|
|
@@ -143,6 +147,7 @@ export * from "./models/product/variant-type/init";
|
|
|
143
147
|
export * from "./models/product/variant-type";
|
|
144
148
|
export * from "./models/product/init";
|
|
145
149
|
export * from "./models/product";
|
|
150
|
+
export * from "./models/product-file";
|
|
146
151
|
export * from "./models/product-option-file";
|
|
147
152
|
export * from "./models/raffle/init";
|
|
148
153
|
export * from "./models/raffle/";
|
|
@@ -162,6 +167,7 @@ export * from "./models/stock-location/address";
|
|
|
162
167
|
export * from "./models/stock-location/available";
|
|
163
168
|
export * from "./models/stock-location";
|
|
164
169
|
export * from "./models/storefront/domain";
|
|
170
|
+
export * from "./models/storefront/index-page-seo-setting";
|
|
165
171
|
export * from "./models/storefront/localization";
|
|
166
172
|
export * from "./models/storefront/routing/dynamic-currency";
|
|
167
173
|
export * from "./models/storefront/routing";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
2
|
+
import { IkasImage } from "../image";
|
|
2
3
|
export declare type IkasFilterCategory = {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
@@ -6,4 +7,6 @@ export declare type IkasFilterCategory = {
|
|
|
6
7
|
isAutomated: boolean | null;
|
|
7
8
|
resultCount: number | null;
|
|
8
9
|
isSelected: boolean;
|
|
10
|
+
imageId: string | null;
|
|
11
|
+
image?: IkasImage | null;
|
|
9
12
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IkasOrderLineVariantVariantValue } from "../../value";
|
|
2
|
+
import { IkasOrderLineVariantBrand } from "../../brand";
|
|
3
|
+
import { IkasOrderLineVariantCategory } from "../../category";
|
|
4
|
+
import { IkasOrderLineVariantPrice } from "../../price";
|
|
5
|
+
import { IkasImage } from "../../../../../image";
|
|
6
|
+
import { IkasOrderLineBaseUnit } from "../../../base-unit";
|
|
7
|
+
import { IkasOrderLineVariantUnit } from "../../unit";
|
|
8
|
+
import { IkasOrderLineVariantTag } from "../../tag";
|
|
9
|
+
export declare type IkasOrderLineBundleVariant = {
|
|
10
|
+
barcodeList: string[] | null;
|
|
11
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
13
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
14
|
+
fileId: string | null;
|
|
15
|
+
id: string | null;
|
|
16
|
+
mainImageId: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
19
|
+
productId: string | null;
|
|
20
|
+
sku: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
tagIds: string[] | null;
|
|
23
|
+
tags: IkasOrderLineVariantTag[] | null;
|
|
24
|
+
taxValue: number | null;
|
|
25
|
+
type: number | null;
|
|
26
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
27
|
+
weight: number | null;
|
|
28
|
+
hsCode: string | null;
|
|
29
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
30
|
+
mainImage?: IkasImage | null;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasOrderLineBundleVariant } from "./bundle-variant";
|
|
2
|
+
export declare type IkasOrderLineVariantBundleProduct = {
|
|
3
|
+
deleted: boolean | null;
|
|
4
|
+
discountPrice: number | null;
|
|
5
|
+
discountRatio: number | null;
|
|
6
|
+
finalPrice: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
price: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
taxValue: number | null;
|
|
11
|
+
variant: IkasOrderLineBundleVariant;
|
|
12
|
+
};
|
|
@@ -6,11 +6,14 @@ import { IkasImage } from "../../../image";
|
|
|
6
6
|
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
7
|
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
8
|
import { IkasOrderLineVariantTag } from "./tag";
|
|
9
|
+
import { IkasOrderLineVariantBundleProduct } from "./bundle-product";
|
|
9
10
|
export declare type IkasOrderLineVariant = {
|
|
10
11
|
barcodeList: string[] | null;
|
|
11
12
|
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
13
|
brand: IkasOrderLineVariantBrand | null;
|
|
14
|
+
bundleProducts: IkasOrderLineVariantBundleProduct[] | null;
|
|
13
15
|
categories: IkasOrderLineVariantCategory[] | null;
|
|
16
|
+
fileId: string | null;
|
|
14
17
|
id: string | null;
|
|
15
18
|
mainImageId: string | null;
|
|
16
19
|
name: string;
|
|
@@ -24,6 +27,7 @@ export declare type IkasOrderLineVariant = {
|
|
|
24
27
|
type: number | null;
|
|
25
28
|
unit: IkasOrderLineVariantUnit | null;
|
|
26
29
|
weight: number | null;
|
|
30
|
+
hsCode: string | null;
|
|
27
31
|
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
28
32
|
mainImage?: IkasImage | null;
|
|
29
33
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasBundleProduct = {
|
|
2
|
+
addToBundleBasePrice: boolean | null;
|
|
3
|
+
discountRatio: number | null;
|
|
4
|
+
filteredVariantIds: string[];
|
|
5
|
+
maxQuantity: number | null;
|
|
6
|
+
minQuantity: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
productId: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
};
|
|
@@ -4,6 +4,7 @@ import { IkasProductAttributeValue } from "../attribute-value";
|
|
|
4
4
|
import { IkasProductCampaign } from "../campaign";
|
|
5
5
|
import { IkasProductImage } from "../image";
|
|
6
6
|
import { IkasProductVariantUnit } from "./unit";
|
|
7
|
+
import { IkasBundleSettings } from "./bundle-settings";
|
|
7
8
|
export declare type IkasProductVariant = {
|
|
8
9
|
id: string;
|
|
9
10
|
sku: string | null;
|
|
@@ -18,4 +19,5 @@ export declare type IkasProductVariant = {
|
|
|
18
19
|
images: IkasProductImage[] | null;
|
|
19
20
|
campaigns?: IkasProductCampaign[];
|
|
20
21
|
unit: IkasProductVariantUnit | null;
|
|
22
|
+
bundleSettings: IkasBundleSettings | null;
|
|
21
23
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
export declare type IkasIndexPageSeoSetting = {
|
|
3
|
+
canonicals: string[] | null;
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
deleted: boolean;
|
|
6
|
+
description: string | null;
|
|
7
|
+
disableIndex: boolean | null;
|
|
8
|
+
favIcon: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
locale: string;
|
|
11
|
+
pageTitle: string | null;
|
|
12
|
+
slug: string | null;
|
|
13
|
+
updatedAt: any | null;
|
|
14
|
+
icon?: IkasImage | null;
|
|
15
|
+
};
|
|
@@ -3,6 +3,7 @@ import { IkasStorefrontDomain } from "./domain";
|
|
|
3
3
|
import { IkasStorefrontRouting } from "./routing";
|
|
4
4
|
import { IkasStorefrontTheme } from "./theme";
|
|
5
5
|
import { IkasStorefontMetaTemplates } from "./meta-templates";
|
|
6
|
+
import { IkasIndexPageSeoSetting } from "./index-page-seo-setting";
|
|
6
7
|
export declare enum IkasStorefrontStatus {
|
|
7
8
|
WAITING = "WAITING",
|
|
8
9
|
READY = "READY"
|
|
@@ -27,4 +28,5 @@ export declare type IkasStorefront = {
|
|
|
27
28
|
routings: IkasStorefrontRouting[];
|
|
28
29
|
domains: IkasStorefrontDomain[];
|
|
29
30
|
themes: IkasStorefrontTheme[];
|
|
31
|
+
indexPageSeoSettings: IkasIndexPageSeoSetting[];
|
|
30
32
|
};
|
package/build-cjs/index.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export * from "./models/order/line-item/discount";
|
|
|
84
84
|
export * from "./models/order/line-item/option/value";
|
|
85
85
|
export * from "./models/order/line-item/option";
|
|
86
86
|
export * from "./models/order/line-item/variant/brand";
|
|
87
|
+
export * from "./models/order/line-item/variant/bundle-product/bundle-variant";
|
|
88
|
+
export * from "./models/order/line-item/variant/bundle-product";
|
|
87
89
|
export * from "./models/order/line-item/variant/category";
|
|
88
90
|
export * from "./models/order/line-item/variant/price";
|
|
89
91
|
export * from "./models/order/line-item/variant/tag";
|
|
@@ -135,6 +137,8 @@ export * from "./models/product/option-set";
|
|
|
135
137
|
export * from "./models/product/star";
|
|
136
138
|
export * from "./models/product/stock-location";
|
|
137
139
|
export * from "./models/product/tag";
|
|
140
|
+
export * from "./models/product/variant/bundle-settings/bundle-product";
|
|
141
|
+
export * from "./models/product/variant/bundle-settings";
|
|
138
142
|
export * from "./models/product/variant/price";
|
|
139
143
|
export * from "./models/product/variant/unit";
|
|
140
144
|
export * from "./models/product/variant/init";
|
|
@@ -143,6 +147,7 @@ export * from "./models/product/variant-type/init";
|
|
|
143
147
|
export * from "./models/product/variant-type";
|
|
144
148
|
export * from "./models/product/init";
|
|
145
149
|
export * from "./models/product";
|
|
150
|
+
export * from "./models/product-file";
|
|
146
151
|
export * from "./models/product-option-file";
|
|
147
152
|
export * from "./models/raffle/init";
|
|
148
153
|
export * from "./models/raffle/";
|
|
@@ -162,6 +167,7 @@ export * from "./models/stock-location/address";
|
|
|
162
167
|
export * from "./models/stock-location/available";
|
|
163
168
|
export * from "./models/stock-location";
|
|
164
169
|
export * from "./models/storefront/domain";
|
|
170
|
+
export * from "./models/storefront/index-page-seo-setting";
|
|
165
171
|
export * from "./models/storefront/localization";
|
|
166
172
|
export * from "./models/storefront/routing/dynamic-currency";
|
|
167
173
|
export * from "./models/storefront/routing";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
2
|
+
import { IkasImage } from "../image";
|
|
2
3
|
export declare type IkasFilterCategory = {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
@@ -6,4 +7,6 @@ export declare type IkasFilterCategory = {
|
|
|
6
7
|
isAutomated: boolean | null;
|
|
7
8
|
resultCount: number | null;
|
|
8
9
|
isSelected: boolean;
|
|
10
|
+
imageId: string | null;
|
|
11
|
+
image?: IkasImage | null;
|
|
9
12
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IkasOrderLineVariantVariantValue } from "../../value";
|
|
2
|
+
import { IkasOrderLineVariantBrand } from "../../brand";
|
|
3
|
+
import { IkasOrderLineVariantCategory } from "../../category";
|
|
4
|
+
import { IkasOrderLineVariantPrice } from "../../price";
|
|
5
|
+
import { IkasImage } from "../../../../../image";
|
|
6
|
+
import { IkasOrderLineBaseUnit } from "../../../base-unit";
|
|
7
|
+
import { IkasOrderLineVariantUnit } from "../../unit";
|
|
8
|
+
import { IkasOrderLineVariantTag } from "../../tag";
|
|
9
|
+
export declare type IkasOrderLineBundleVariant = {
|
|
10
|
+
barcodeList: string[] | null;
|
|
11
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
13
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
14
|
+
fileId: string | null;
|
|
15
|
+
id: string | null;
|
|
16
|
+
mainImageId: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
19
|
+
productId: string | null;
|
|
20
|
+
sku: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
tagIds: string[] | null;
|
|
23
|
+
tags: IkasOrderLineVariantTag[] | null;
|
|
24
|
+
taxValue: number | null;
|
|
25
|
+
type: number | null;
|
|
26
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
27
|
+
weight: number | null;
|
|
28
|
+
hsCode: string | null;
|
|
29
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
30
|
+
mainImage?: IkasImage | null;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasOrderLineBundleVariant } from "./bundle-variant";
|
|
2
|
+
export declare type IkasOrderLineVariantBundleProduct = {
|
|
3
|
+
deleted: boolean | null;
|
|
4
|
+
discountPrice: number | null;
|
|
5
|
+
discountRatio: number | null;
|
|
6
|
+
finalPrice: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
price: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
taxValue: number | null;
|
|
11
|
+
variant: IkasOrderLineBundleVariant;
|
|
12
|
+
};
|
|
@@ -6,11 +6,14 @@ import { IkasImage } from "../../../image";
|
|
|
6
6
|
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
7
|
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
8
|
import { IkasOrderLineVariantTag } from "./tag";
|
|
9
|
+
import { IkasOrderLineVariantBundleProduct } from "./bundle-product";
|
|
9
10
|
export declare type IkasOrderLineVariant = {
|
|
10
11
|
barcodeList: string[] | null;
|
|
11
12
|
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
13
|
brand: IkasOrderLineVariantBrand | null;
|
|
14
|
+
bundleProducts: IkasOrderLineVariantBundleProduct[] | null;
|
|
13
15
|
categories: IkasOrderLineVariantCategory[] | null;
|
|
16
|
+
fileId: string | null;
|
|
14
17
|
id: string | null;
|
|
15
18
|
mainImageId: string | null;
|
|
16
19
|
name: string;
|
|
@@ -24,6 +27,7 @@ export declare type IkasOrderLineVariant = {
|
|
|
24
27
|
type: number | null;
|
|
25
28
|
unit: IkasOrderLineVariantUnit | null;
|
|
26
29
|
weight: number | null;
|
|
30
|
+
hsCode: string | null;
|
|
27
31
|
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
28
32
|
mainImage?: IkasImage | null;
|
|
29
33
|
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasBundleProduct = {
|
|
2
|
+
addToBundleBasePrice: boolean | null;
|
|
3
|
+
discountRatio: number | null;
|
|
4
|
+
filteredVariantIds: string[];
|
|
5
|
+
maxQuantity: number | null;
|
|
6
|
+
minQuantity: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
productId: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
};
|
|
@@ -4,6 +4,7 @@ import { IkasProductAttributeValue } from "../attribute-value";
|
|
|
4
4
|
import { IkasProductCampaign } from "../campaign";
|
|
5
5
|
import { IkasProductImage } from "../image";
|
|
6
6
|
import { IkasProductVariantUnit } from "./unit";
|
|
7
|
+
import { IkasBundleSettings } from "./bundle-settings";
|
|
7
8
|
export declare type IkasProductVariant = {
|
|
8
9
|
id: string;
|
|
9
10
|
sku: string | null;
|
|
@@ -18,4 +19,5 @@ export declare type IkasProductVariant = {
|
|
|
18
19
|
images: IkasProductImage[] | null;
|
|
19
20
|
campaigns?: IkasProductCampaign[];
|
|
20
21
|
unit: IkasProductVariantUnit | null;
|
|
22
|
+
bundleSettings: IkasBundleSettings | null;
|
|
21
23
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
export declare type IkasIndexPageSeoSetting = {
|
|
3
|
+
canonicals: string[] | null;
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
deleted: boolean;
|
|
6
|
+
description: string | null;
|
|
7
|
+
disableIndex: boolean | null;
|
|
8
|
+
favIcon: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
locale: string;
|
|
11
|
+
pageTitle: string | null;
|
|
12
|
+
slug: string | null;
|
|
13
|
+
updatedAt: any | null;
|
|
14
|
+
icon?: IkasImage | null;
|
|
15
|
+
};
|
|
@@ -3,6 +3,7 @@ import { IkasStorefrontDomain } from "./domain";
|
|
|
3
3
|
import { IkasStorefrontRouting } from "./routing";
|
|
4
4
|
import { IkasStorefrontTheme } from "./theme";
|
|
5
5
|
import { IkasStorefontMetaTemplates } from "./meta-templates";
|
|
6
|
+
import { IkasIndexPageSeoSetting } from "./index-page-seo-setting";
|
|
6
7
|
export declare enum IkasStorefrontStatus {
|
|
7
8
|
WAITING = "WAITING",
|
|
8
9
|
READY = "READY"
|
|
@@ -27,4 +28,5 @@ export declare type IkasStorefront = {
|
|
|
27
28
|
routings: IkasStorefrontRouting[];
|
|
28
29
|
domains: IkasStorefrontDomain[];
|
|
29
30
|
themes: IkasStorefrontTheme[];
|
|
31
|
+
indexPageSeoSettings: IkasIndexPageSeoSetting[];
|
|
30
32
|
};
|