truflow 0.0.175 → 0.0.177
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/IQualityControl.d.ts +11 -0
- package/dist/IQualityControl.js +2 -0
- package/dist/ISetting.d.ts +8 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/IQualityControl.ts +11 -0
- package/src/ISetting.ts +8 -6
- package/src/index.ts +1 -0
package/dist/ISetting.d.ts
CHANGED
|
@@ -49,12 +49,14 @@ export interface ILeanLimit extends ILeanSetting {
|
|
|
49
49
|
rpd: string;
|
|
50
50
|
limit: string;
|
|
51
51
|
enabled: boolean;
|
|
52
|
-
products?:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
products?: [
|
|
53
|
+
{
|
|
54
|
+
name: string;
|
|
55
|
+
sheetGroupingAttribute?: string;
|
|
56
|
+
grainedProduct?: boolean;
|
|
57
|
+
grainedProductAttribute?: string;
|
|
58
|
+
}
|
|
59
|
+
];
|
|
58
60
|
nestable?: boolean;
|
|
59
61
|
}
|
|
60
62
|
export interface ILeanOrderFlag extends ILeanSetting {
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IQualityControlNotification {
|
|
2
|
+
_id?: string;
|
|
3
|
+
productId: string;
|
|
4
|
+
attributeId: string;
|
|
5
|
+
operator: string; // e.g., 'eq', 'ne', 'gt', 'lt', 'in', etc.
|
|
6
|
+
values: (string | number)[];
|
|
7
|
+
notificationType: string; // e.g., 'in-app', 'email', etc.
|
|
8
|
+
message: string;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
}
|
package/src/ISetting.ts
CHANGED
|
@@ -30,12 +30,14 @@ export interface ILeanLimit extends ILeanSetting {
|
|
|
30
30
|
rpd: string;
|
|
31
31
|
limit: string;
|
|
32
32
|
enabled: boolean;
|
|
33
|
-
products?:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
products?: [
|
|
34
|
+
{
|
|
35
|
+
name: string;
|
|
36
|
+
sheetGroupingAttribute?: string;
|
|
37
|
+
grainedProduct?: boolean;
|
|
38
|
+
grainedProductAttribute?: string;
|
|
39
|
+
}
|
|
40
|
+
];
|
|
39
41
|
nestable?: boolean;
|
|
40
42
|
}
|
|
41
43
|
|
package/src/index.ts
CHANGED