truflow 0.0.122 → 0.0.124
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/API/Allmoxy/IProduct.d.ts +15 -0
- package/dist/IIntegration.d.ts +15 -4
- package/package.json +1 -1
- package/src/API/Allmoxy/IProduct.ts +17 -1
- package/src/IIntegration.ts +16 -4
|
@@ -27,6 +27,21 @@ type ISum = {
|
|
|
27
27
|
formula: string;
|
|
28
28
|
};
|
|
29
29
|
export interface IProduct {
|
|
30
|
+
createddate_end: string;
|
|
31
|
+
createddate_start: string;
|
|
32
|
+
export_class: string;
|
|
33
|
+
include_in_designer: boolean;
|
|
34
|
+
line_id: number;
|
|
35
|
+
name: string;
|
|
36
|
+
ordering: string;
|
|
37
|
+
page: number;
|
|
38
|
+
per_page: number;
|
|
39
|
+
related_objects: any;
|
|
40
|
+
status: number;
|
|
41
|
+
updateddate_end: string;
|
|
42
|
+
updateddate_start: string;
|
|
43
|
+
}
|
|
44
|
+
export interface IProductResponse {
|
|
30
45
|
product_id: number;
|
|
31
46
|
line_id: number;
|
|
32
47
|
name: string;
|
package/dist/IIntegration.d.ts
CHANGED
|
@@ -31,9 +31,20 @@ export interface ILeanIntegration {
|
|
|
31
31
|
}
|
|
32
32
|
export interface ILeanAllmoxyIntegration extends ILeanIntegration {
|
|
33
33
|
connectionInfo: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
basePath: string;
|
|
35
|
+
clientId: string;
|
|
36
|
+
clientSecret: string;
|
|
37
|
+
contactKey: string;
|
|
38
|
+
};
|
|
39
|
+
settings: {
|
|
40
|
+
loadOrdersFromAPI?: boolean;
|
|
41
|
+
saveSelectedAttributesInOrder?: boolean;
|
|
42
|
+
webhook?: {
|
|
43
|
+
name: string;
|
|
44
|
+
url: string;
|
|
45
|
+
event: string;
|
|
46
|
+
condition: string;
|
|
47
|
+
};
|
|
38
48
|
};
|
|
39
49
|
}
|
|
50
|
+
export type IAllmoxyIntegration = ILeanAllmoxyIntegration & Document;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ type IValidation = {
|
|
|
17
17
|
action_type: string;
|
|
18
18
|
value: string;
|
|
19
19
|
}[];
|
|
20
|
-
conditions: null | any;
|
|
20
|
+
conditions: null | any;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
type ISum = {
|
|
@@ -30,6 +30,22 @@ type ISum = {
|
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export interface IProduct {
|
|
33
|
+
createddate_end: string;
|
|
34
|
+
createddate_start: string;
|
|
35
|
+
export_class: string;
|
|
36
|
+
include_in_designer: boolean;
|
|
37
|
+
line_id: number;
|
|
38
|
+
name: string;
|
|
39
|
+
ordering: string;
|
|
40
|
+
page: number;
|
|
41
|
+
per_page: number;
|
|
42
|
+
related_objects: any;
|
|
43
|
+
status: number;
|
|
44
|
+
updateddate_end: string;
|
|
45
|
+
updateddate_start: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface IProductResponse {
|
|
33
49
|
product_id: number;
|
|
34
50
|
line_id: number;
|
|
35
51
|
name: string;
|
package/src/IIntegration.ts
CHANGED
|
@@ -9,9 +9,21 @@ export interface ILeanIntegration {
|
|
|
9
9
|
|
|
10
10
|
export interface ILeanAllmoxyIntegration extends ILeanIntegration {
|
|
11
11
|
connectionInfo: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
basePath: string;
|
|
13
|
+
clientId: string;
|
|
14
|
+
clientSecret: string;
|
|
15
|
+
contactKey: string;
|
|
16
|
+
};
|
|
17
|
+
settings: {
|
|
18
|
+
loadOrdersFromAPI?: boolean;
|
|
19
|
+
saveSelectedAttributesInOrder?: boolean;
|
|
20
|
+
webhook?: {
|
|
21
|
+
name: string;
|
|
22
|
+
url: string;
|
|
23
|
+
event: string;
|
|
24
|
+
condition: string;
|
|
25
|
+
};
|
|
16
26
|
};
|
|
17
27
|
}
|
|
28
|
+
|
|
29
|
+
export type IAllmoxyIntegration = ILeanAllmoxyIntegration & Document;
|