@cellaware/utils 5.3.0 → 5.3.2
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/dist/chatwms/product.d.ts +12 -1
- package/dist/chatwms/product.js +23 -2
- package/package.json +1 -1
|
@@ -1,11 +1,22 @@
|
|
|
1
|
+
export declare const CHATWMS_PRODUCT_VENDOR_GROUP_CELLAWARE = "cellaware";
|
|
2
|
+
export declare const CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER = "blueyonder";
|
|
3
|
+
export declare const CHATWMS_PRODUCT_VENDOR_GROUPS: string[];
|
|
4
|
+
export declare const CHATWMS_PRODUCT_VENDOR_CELLAWARE_DEMO: string;
|
|
5
|
+
export declare const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE: string;
|
|
6
|
+
export declare const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE_CLOUD: string;
|
|
7
|
+
export declare const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISPATCHER: string;
|
|
8
|
+
export declare const CHATWMS_PRODUCT_VENDORS: string[];
|
|
1
9
|
export declare function chatwmsGetProductId(customer: string, vendor: string, version: string): string;
|
|
2
|
-
export interface
|
|
10
|
+
export interface ChatWMSProductBase {
|
|
3
11
|
productId: string;
|
|
4
12
|
customer: string;
|
|
5
13
|
vendor: string;
|
|
6
14
|
version: string;
|
|
7
15
|
description: string;
|
|
8
16
|
externalDescription: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function initChatWMSProductBase(): ChatWMSProductBase;
|
|
19
|
+
export interface ChatWMSProduct extends ChatWMSProductBase {
|
|
9
20
|
variables: ChatWMSProductVariable[];
|
|
10
21
|
tables: ChatWMSProductTable[];
|
|
11
22
|
notes: ChatWMSProductNote[];
|
package/dist/chatwms/product.js
CHANGED
|
@@ -1,14 +1,35 @@
|
|
|
1
|
+
export const CHATWMS_PRODUCT_VENDOR_GROUP_CELLAWARE = 'cellaware';
|
|
2
|
+
export const CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER = 'blueyonder';
|
|
3
|
+
export const CHATWMS_PRODUCT_VENDOR_GROUPS = [
|
|
4
|
+
CHATWMS_PRODUCT_VENDOR_GROUP_CELLAWARE,
|
|
5
|
+
CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER
|
|
6
|
+
];
|
|
7
|
+
export const CHATWMS_PRODUCT_VENDOR_CELLAWARE_DEMO = CHATWMS_PRODUCT_VENDOR_GROUP_CELLAWARE + '-demo';
|
|
8
|
+
export const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE = CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER + '-discrete';
|
|
9
|
+
export const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE_CLOUD = CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER + '-discrete-cloud';
|
|
10
|
+
export const CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISPATCHER = CHATWMS_PRODUCT_VENDOR_GROUP_BLUEYONDER + '-dispatcher';
|
|
11
|
+
export const CHATWMS_PRODUCT_VENDORS = [
|
|
12
|
+
CHATWMS_PRODUCT_VENDOR_CELLAWARE_DEMO,
|
|
13
|
+
CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE,
|
|
14
|
+
CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISCRETE_CLOUD,
|
|
15
|
+
CHATWMS_PRODUCT_VENDOR_BLUEYONDER_DISPATCHER
|
|
16
|
+
];
|
|
1
17
|
export function chatwmsGetProductId(customer, vendor, version) {
|
|
2
18
|
return `${customer}_${vendor}_${version}`;
|
|
3
19
|
}
|
|
4
|
-
export function
|
|
20
|
+
export function initChatWMSProductBase() {
|
|
5
21
|
return {
|
|
6
22
|
productId: '',
|
|
7
23
|
customer: '',
|
|
8
24
|
vendor: '',
|
|
9
25
|
version: '',
|
|
10
26
|
description: '',
|
|
11
|
-
externalDescription: ''
|
|
27
|
+
externalDescription: ''
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function initChatWMSProduct() {
|
|
31
|
+
return {
|
|
32
|
+
...initChatWMSProductBase(),
|
|
12
33
|
variables: [],
|
|
13
34
|
tables: [],
|
|
14
35
|
notes: [],
|