truflow 0.0.167 → 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.
@@ -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/IOrder.d.ts CHANGED
@@ -57,4 +57,5 @@ export interface ILeanOrder {
57
57
  dateEntries: IDateEntry[];
58
58
  orderTags: string[];
59
59
  companyTags: string[];
60
+ status: string;
60
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truflow",
3
- "version": "0.0.167",
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
  }
@@ -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/IOrder.ts CHANGED
@@ -38,4 +38,5 @@ export interface ILeanOrder {
38
38
  dateEntries: IDateEntry[];
39
39
  orderTags: string[];
40
40
  companyTags: string[];
41
+ status: string;
41
42
  }
@@ -1,9 +0,0 @@
1
- import { ILeanDailyTotal } from "../IDailyTotal";
2
- import { IDateEntry } from "../IOrder";
3
- export interface INegativeValue {
4
- time: Date;
5
- dateEntry: IDateEntry;
6
- dailyTotals: ILeanDailyTotal;
7
- negativeType: string;
8
- negativeValue: number;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- export interface IOrderDetail {
2
- id: number;
3
- name: string;
4
- companyName: string;
5
- date: string;
6
- shipDate: string;
7
- requestedShipDate: string;
8
- companyID: number;
9
- summary: string;
10
- orderTags: string[];
11
- companyTags: string[];
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });