@ikas/storefront-models 4.15.11 → 4.15.13
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/storefront-popup/index.d.ts +38 -0
- package/build-cjs/models/storefront-popup/index.js +1 -0
- package/build-cjs/models/storefront-popup/storefront-popup-analytics/index.d.ts +5 -0
- package/build-cjs/models/storefront-popup/storefront-popup-date-filter/index.d.ts +4 -0
- package/build-cjs/models/storefront-popup/storefront-popup-display-filter/index.d.ts +9 -0
- package/build-cjs/models/storefront-popup/storefront-popup-display-filter/index.js +1 -0
- package/build-cjs/models/storefront-popup/storefront-popup-display-settings/index.d.ts +14 -0
- package/build-cjs/models/storefront-popup/storefront-popup-display-settings/index.js +1 -0
- package/build-cjs/models/storefront-popup/storefront-popup-page-filter/index.d.ts +14 -0
- package/build-cjs/models/storefront-popup/storefront-popup-page-filter/index.js +1 -0
- package/build-cjs/models/storefront-popup/storefront-popup-page-filter/storefront-popup-page-filter-data/index.d.ts +10 -0
- package/build-cjs/models/storefront-popup/storefront-popup-page-filter/storefront-popup-page-filter-data/index.js +1 -0
- package/build-cjs/models/storefront-popup/storefront-popup-routing/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../base";
|
|
2
|
+
import { IkasStorefrontPopupAnalytics } from "./storefront-popup-analytics";
|
|
3
|
+
import { IkasStorefrontPopupDateFilter } from "./storefront-popup-date-filter";
|
|
4
|
+
import { IkasStorefrontPopupDisplayFilter } from "./storefront-popup-display-filter";
|
|
5
|
+
import { IkasStorefrontPopupDisplaySettings } from "./storefront-popup-display-settings";
|
|
6
|
+
import { IkasStorefrontPopupPageFilter } from "./storefront-popup-page-filter";
|
|
7
|
+
import { IkasStorefrontPopupRouting } from "./storefront-popup-routing";
|
|
8
|
+
export declare type IkasStorefrontPopup = {
|
|
9
|
+
id: string;
|
|
10
|
+
analytics: IkasStorefrontPopupAnalytics | null;
|
|
11
|
+
contentJson: any | null;
|
|
12
|
+
dateFilter: IkasStorefrontPopupDateFilter | null;
|
|
13
|
+
displayFilters: IkasStorefrontPopupDisplayFilter[] | null;
|
|
14
|
+
displaySettings: IkasStorefrontPopupDisplaySettings;
|
|
15
|
+
name: string;
|
|
16
|
+
pageFilters: IkasStorefrontPopupPageFilter[] | null;
|
|
17
|
+
status: IkasStorefrontPopupStatusEnum;
|
|
18
|
+
storefrontRoutings: IkasStorefrontPopupRouting[];
|
|
19
|
+
type: IkasStorefrontPopupTypeEnum;
|
|
20
|
+
visibleDevice: IkasStorefrontPopupDeviceTypeEnum;
|
|
21
|
+
} & IkasBaseModel;
|
|
22
|
+
export declare enum IkasStorefrontPopupStatusEnum {
|
|
23
|
+
ACTIVE = "ACTIVE",
|
|
24
|
+
DRAFT = "DRAFT",
|
|
25
|
+
PASSIVE = "PASSIVE"
|
|
26
|
+
}
|
|
27
|
+
export declare enum IkasStorefrontPopupTypeEnum {
|
|
28
|
+
FORM = "FORM",
|
|
29
|
+
NOTIFICATION = "NOTIFICATION",
|
|
30
|
+
NOTIFICATION_BAR = "NOTIFICATION_BAR",
|
|
31
|
+
PAGE_OVERLAY = "PAGE_OVERLAY",
|
|
32
|
+
POPUP = "POPUP"
|
|
33
|
+
}
|
|
34
|
+
export declare enum IkasStorefrontPopupDeviceTypeEnum {
|
|
35
|
+
ALL = "ALL",
|
|
36
|
+
DESKTOP = "DESKTOP",
|
|
37
|
+
MOBILE = "MOBILE"
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o,e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontPopupStatusEnum=void 0,(o=exports.IkasStorefrontPopupStatusEnum||(exports.IkasStorefrontPopupStatusEnum={})).ACTIVE="ACTIVE",o.DRAFT="DRAFT",o.PASSIVE="PASSIVE",exports.IkasStorefrontPopupTypeEnum=void 0,(e=exports.IkasStorefrontPopupTypeEnum||(exports.IkasStorefrontPopupTypeEnum={})).FORM="FORM",e.NOTIFICATION="NOTIFICATION",e.NOTIFICATION_BAR="NOTIFICATION_BAR",e.PAGE_OVERLAY="PAGE_OVERLAY",e.POPUP="POPUP",exports.IkasStorefrontPopupDeviceTypeEnum=void 0,(t=exports.IkasStorefrontPopupDeviceTypeEnum||(exports.IkasStorefrontPopupDeviceTypeEnum={})).ALL="ALL",t.DESKTOP="DESKTOP",t.MOBILE="MOBILE";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare type IkasStorefrontPopupDisplayFilter = {
|
|
2
|
+
operator: string;
|
|
3
|
+
type: IkasStorefrontPopupDisplayFilterTypeEnum;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontPopupDisplayFilterTypeEnum {
|
|
7
|
+
CART_TOTAL = "CART_TOTAL",
|
|
8
|
+
CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT"
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontPopupDisplayFilterTypeEnum=void 0,(e=exports.IkasStorefrontPopupDisplayFilterTypeEnum||(exports.IkasStorefrontPopupDisplayFilterTypeEnum={})).CART_TOTAL="CART_TOTAL",e.CUSTOMER_SEGMENT="CUSTOMER_SEGMENT";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type IkasStorefrontPopupDisplaySettings = {
|
|
2
|
+
frequency: IkasStorefrontPopupDisplayFrequencyEnum;
|
|
3
|
+
triggerType: IkasStorefrontPopupDisplayTriggerTypeEnum;
|
|
4
|
+
triggerValue: number | null;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontPopupDisplayFrequencyEnum {
|
|
7
|
+
EVERY_TIME = "EVERY_TIME",
|
|
8
|
+
ONCE_PER_SESSION = "ONCE_PER_SESSION"
|
|
9
|
+
}
|
|
10
|
+
export declare enum IkasStorefrontPopupDisplayTriggerTypeEnum {
|
|
11
|
+
EXIT_INTENT = "EXIT_INTENT",
|
|
12
|
+
ON_PAGE_LOAD = "ON_PAGE_LOAD",
|
|
13
|
+
SCROLL_DOWN = "SCROLL_DOWN"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontPopupDisplayFrequencyEnum=void 0,(e=exports.IkasStorefrontPopupDisplayFrequencyEnum||(exports.IkasStorefrontPopupDisplayFrequencyEnum={})).EVERY_TIME="EVERY_TIME",e.ONCE_PER_SESSION="ONCE_PER_SESSION",exports.IkasStorefrontPopupDisplayTriggerTypeEnum=void 0,(r=exports.IkasStorefrontPopupDisplayTriggerTypeEnum||(exports.IkasStorefrontPopupDisplayTriggerTypeEnum={})).EXIT_INTENT="EXIT_INTENT",r.ON_PAGE_LOAD="ON_PAGE_LOAD",r.SCROLL_DOWN="SCROLL_DOWN";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IkasStorefrontPopupPageFilterData } from "./storefront-popup-page-filter-data";
|
|
2
|
+
export declare type IkasStorefrontPopupPageFilter = {
|
|
3
|
+
filters: IkasStorefrontPopupPageFilterData[] | null;
|
|
4
|
+
pageType: IkasStorefrontPopupPageFilterTypeEnum;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontPopupPageFilterTypeEnum {
|
|
7
|
+
ACCOUNT = "ACCOUNT",
|
|
8
|
+
CART = "CART",
|
|
9
|
+
CATEGORY = "CATEGORY",
|
|
10
|
+
CUSTOM = "CUSTOM",
|
|
11
|
+
HOME = "HOME",
|
|
12
|
+
PRODUCT = "PRODUCT",
|
|
13
|
+
PRODUCT_BRAND = "PRODUCT_BRAND"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontPopupPageFilterTypeEnum=void 0,(e=exports.IkasStorefrontPopupPageFilterTypeEnum||(exports.IkasStorefrontPopupPageFilterTypeEnum={})).ACCOUNT="ACCOUNT",e.CART="CART",e.CATEGORY="CATEGORY",e.CUSTOM="CUSTOM",e.HOME="HOME",e.PRODUCT="PRODUCT",e.PRODUCT_BRAND="PRODUCT_BRAND";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IkasStorefrontPopupPageFilterData {
|
|
2
|
+
type: IkasStorefrontPopupPageFilterDataTypeEnum;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export declare enum IkasStorefrontPopupPageFilterDataTypeEnum {
|
|
6
|
+
CONTAINS = "CONTAINS",
|
|
7
|
+
DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN",
|
|
8
|
+
EXACT_MATCH = "EXACT_MATCH",
|
|
9
|
+
ID_LIST = "ID_LIST"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontPopupPageFilterDataTypeEnum=void 0,(e=exports.IkasStorefrontPopupPageFilterDataTypeEnum||(exports.IkasStorefrontPopupPageFilterDataTypeEnum={})).CONTAINS="CONTAINS",e.DOES_NOT_CONTAIN="DOES_NOT_CONTAIN",e.EXACT_MATCH="EXACT_MATCH",e.ID_LIST="ID_LIST";
|