@ikas/storefront-models 4.9.2 → 4.9.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-cjs/models/customer/price-list-rule/filter/index.d.ts +10 -0
- package/build-cjs/models/customer/price-list-rule/filter/index.js +1 -0
- package/build-cjs/models/customer/price-list-rule/index.d.ts +5 -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/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-file/index.d.ts +6 -0
- package/build-cjs/models/storefront/b2b-settings/index.d.ts +14 -0
- package/build-cjs/models/storefront/b2b-settings/index.js +1 -0
- package/build-cjs/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasCustomerPriceListRuleFilter = {
|
|
2
|
+
type: IkasCustomerPriceListRuleFilterType;
|
|
3
|
+
valueList: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare enum IkasCustomerPriceListRuleFilterType {
|
|
6
|
+
CATEGORY = "CATEGORY",
|
|
7
|
+
PRODUCT = "PRODUCT",
|
|
8
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
9
|
+
PRODUCT_TAG = "PRODUCT_TAG"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerPriceListRuleFilterType=void 0,(e=exports.IkasCustomerPriceListRuleFilterType||(exports.IkasCustomerPriceListRuleFilterType={})).CATEGORY="CATEGORY",e.PRODUCT="PRODUCT",e.PRODUCT_BRAND="PRODUCT_BRAND",e.PRODUCT_TAG="PRODUCT_TAG";
|
|
@@ -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
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type IkasStorefrontB2BSettings = {
|
|
2
|
+
allowOnlyApprovedCustomersToLogin: boolean;
|
|
3
|
+
showPrices: IkasStorefrontB2BShowPricesEnum;
|
|
4
|
+
showProducts: IkasStorefrontB2BShowProductsEnum;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontB2BShowPricesEnum {
|
|
7
|
+
ALWAYS = "ALWAYS",
|
|
8
|
+
NEVER = "NEVER",
|
|
9
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
10
|
+
}
|
|
11
|
+
export declare enum IkasStorefrontB2BShowProductsEnum {
|
|
12
|
+
ALWAYS = "ALWAYS",
|
|
13
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontB2BShowPricesEnum=void 0,(o=exports.IkasStorefrontB2BShowPricesEnum||(exports.IkasStorefrontB2BShowPricesEnum={})).ALWAYS="ALWAYS",o.NEVER="NEVER",o.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS",exports.IkasStorefrontB2BShowProductsEnum=void 0,(r=exports.IkasStorefrontB2BShowProductsEnum||(exports.IkasStorefrontB2BShowProductsEnum={})).ALWAYS="ALWAYS",r.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS";
|
|
@@ -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
|
+
};
|