truflow 0.0.166 → 0.0.168
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/IIntegration.d.ts +8 -0
- package/dist/IInventory.d.ts +1 -1
- package/dist/IOrder.d.ts +1 -0
- package/package.json +3 -2
- package/src/IIntegration.ts +8 -0
- package/src/IInventory.ts +1 -1
- package/src/IOrder.ts +1 -0
- package/dist/Events/INegativeValue.d.ts +0 -9
- package/dist/Events/INegativeValue.js +0 -2
- package/dist/Events/IOrderDetails.d.ts +0 -12
- package/dist/Events/IOrderDetails.js +0 -2
package/dist/IIntegration.d.ts
CHANGED
|
@@ -38,6 +38,14 @@ export interface ILeanAllmoxyIntegration extends ILeanIntegration {
|
|
|
38
38
|
};
|
|
39
39
|
settings: {
|
|
40
40
|
loadOrdersFromAPI?: boolean;
|
|
41
|
+
enableStatusSync?: boolean;
|
|
42
|
+
statusWebhooks?: {
|
|
43
|
+
id: string;
|
|
44
|
+
status: string;
|
|
45
|
+
url: string;
|
|
46
|
+
condition: string;
|
|
47
|
+
authToken: string;
|
|
48
|
+
}[];
|
|
41
49
|
saveSelectedAttributesInOrder?: boolean;
|
|
42
50
|
webhook?: {
|
|
43
51
|
id: string;
|
package/dist/IInventory.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import mongoose from "mongoose";
|
|
25
|
+
import mongoose, { Document } from "mongoose";
|
|
26
26
|
export interface IField {
|
|
27
27
|
name: string;
|
|
28
28
|
type: string;
|
package/dist/IOrder.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "truflow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.168",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -14,5 +14,6 @@
|
|
|
14
14
|
"mongoose": "^7.3.4",
|
|
15
15
|
"socket.io": "^4.7.5",
|
|
16
16
|
"typescript": "^5.1.6"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
18
19
|
}
|
package/src/IIntegration.ts
CHANGED
|
@@ -16,6 +16,14 @@ export interface ILeanAllmoxyIntegration extends ILeanIntegration {
|
|
|
16
16
|
};
|
|
17
17
|
settings: {
|
|
18
18
|
loadOrdersFromAPI?: boolean;
|
|
19
|
+
enableStatusSync?: boolean;
|
|
20
|
+
statusWebhooks?: {
|
|
21
|
+
id: string;
|
|
22
|
+
status: string;
|
|
23
|
+
url: string;
|
|
24
|
+
condition: string;
|
|
25
|
+
authToken: string;
|
|
26
|
+
}[];
|
|
19
27
|
saveSelectedAttributesInOrder?: boolean;
|
|
20
28
|
webhook?: {
|
|
21
29
|
id: string;
|
package/src/IInventory.ts
CHANGED
package/src/IOrder.ts
CHANGED