truflow 0.0.119 → 0.0.121
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/IAnnouncement.d.ts +40 -0
- package/dist/API/Allmoxy/IAnnouncement.js +2 -0
- package/dist/API/Allmoxy/ICompany.d.ts +166 -0
- package/dist/API/Allmoxy/ICompany.js +2 -0
- package/dist/API/Allmoxy/IGeneric.d.ts +12 -0
- package/dist/API/Allmoxy/IGeneric.js +2 -0
- package/dist/API/Allmoxy/IInventoryItem.d.ts +55 -0
- package/dist/API/Allmoxy/IInventoryItem.js +2 -0
- package/dist/API/Allmoxy/IInventoryOrder.d.ts +42 -0
- package/dist/API/Allmoxy/IInventoryOrder.js +2 -0
- package/dist/API/Allmoxy/ILocation.d.ts +18 -0
- package/dist/API/Allmoxy/ILocation.js +2 -0
- package/dist/API/Allmoxy/IOrder.d.ts +88 -0
- package/dist/API/Allmoxy/IOrder.js +2 -0
- package/dist/API/Allmoxy/IOrderProducts.d.ts +43 -0
- package/dist/API/Allmoxy/IOrderProducts.js +2 -0
- package/dist/API/Allmoxy/IProduct.d.ts +70 -0
- package/dist/API/Allmoxy/IProduct.js +2 -0
- package/dist/API/Allmoxy/IProductAttribute.d.ts +21 -0
- package/dist/API/Allmoxy/IProductAttribute.js +2 -0
- package/dist/API/Allmoxy/IProductAttributeOptions.d.ts +29 -0
- package/dist/API/Allmoxy/IProductAttributeOptions.js +2 -0
- package/dist/API/Allmoxy/IProductProductAttribute.d.ts +22 -0
- package/dist/API/Allmoxy/IProductProductAttribute.js +2 -0
- package/dist/API/Allmoxy/index.d.ts +12 -0
- package/dist/API/Allmoxy/index.js +28 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +15 -15
- package/src/API/Allmoxy/IAnnouncement.ts +41 -0
- package/src/API/Allmoxy/ICompany.ts +199 -0
- package/src/API/Allmoxy/IGeneric.ts +13 -0
- package/src/API/Allmoxy/IInventoryItem.ts +56 -0
- package/src/API/Allmoxy/IInventoryOrder.ts +43 -0
- package/src/API/Allmoxy/ILocation.ts +19 -0
- package/src/API/Allmoxy/IOrder.ts +89 -0
- package/src/API/Allmoxy/IOrderProducts.ts +46 -0
- package/src/API/Allmoxy/IProduct.ts +72 -0
- package/src/API/Allmoxy/IProductAttribute.ts +21 -0
- package/src/API/Allmoxy/IProductAttributeOptions.ts +30 -0
- package/src/API/Allmoxy/IProductProductAttribute.ts +23 -0
- package/src/API/Allmoxy/index.ts +12 -0
- package/src/Classes/ICRUDRouter.ts +6 -6
- package/src/Classes/ILogger.ts +17 -17
- package/src/Events/IDateEntryMoved.ts +13 -13
- package/src/Events/INegativeValue.ts +10 -10
- package/src/Events/IOrderDetails.ts +12 -12
- package/src/Events/IOrderMoved.ts +14 -14
- package/src/Events/IOrderProcessed.ts +6 -6
- package/src/Helpers/IAdministration.ts +9 -9
- package/src/Helpers/IAllmoxy.ts +4 -4
- package/src/Helpers/IEvents.ts +23 -23
- package/src/Helpers/IExporters.ts +45 -45
- package/src/Helpers/IOrders/IMoveDateEntry.ts +21 -21
- package/src/Helpers/IOrders/IMoveOrder.ts +28 -28
- package/src/Helpers/IOrders/IUpdateFullDailyTotal.ts +13 -13
- package/src/Helpers/IOrders/IUpdateIndividualDailyTotal.ts +8 -8
- package/src/Helpers/IOrders/index.ts +10 -10
- package/src/Helpers/ITotals.ts +16 -16
- package/src/Helpers/IZapier/index.ts +54 -54
- package/src/IConfig.ts +11 -11
- package/src/IDailyTotal.ts +9 -9
- package/src/IEvent.ts +21 -21
- package/src/IExporter.ts +20 -20
- package/src/IExpress.ts +14 -14
- package/src/IIntegration.ts +17 -17
- package/src/IJWT.ts +4 -4
- package/src/IMailCache.ts +19 -19
- package/src/INotification.ts +11 -11
- package/src/IOrder.ts +27 -27
- package/src/IScript.ts +10 -10
- package/src/ISetting.ts +83 -83
- package/src/IUser.ts +13 -13
- package/src/IWebsocket.ts +7 -7
- package/src/Routes/IOrderRoutes.ts +37 -37
- package/src/Routes/IZapierRoutes.ts +12 -12
- package/src/Templates/IDailyTotals.ts +4 -4
- package/src/index.ts +27 -26
- package/tsconfig.json +11 -11
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
// TODO: dissect data pased from move order and date entry
|
|
2
|
-
// create specific types for both varietes of req.body input
|
|
3
|
-
|
|
4
|
-
export interface IOrderEntry {
|
|
5
|
-
id: string;
|
|
6
|
-
orderID: number;
|
|
7
|
-
name: string;
|
|
8
|
-
companyName: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
type: string;
|
|
11
|
-
startDate: string;
|
|
12
|
-
shipDate: string;
|
|
13
|
-
highlight: boolean;
|
|
14
|
-
rpd: number;
|
|
15
|
-
highlightColor: string | null;
|
|
16
|
-
hasStarted: boolean;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface IUpdateOrderOld {
|
|
20
|
-
id: string;
|
|
21
|
-
orderID: number;
|
|
22
|
-
startDate: string;
|
|
23
|
-
updatedStartDate: string;
|
|
24
|
-
shipDate: string;
|
|
25
|
-
applyToOrder: boolean;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface IUpdateOrder {
|
|
29
|
-
id: string;
|
|
30
|
-
orderID: number;
|
|
31
|
-
quantity: number;
|
|
32
|
-
type: string;
|
|
33
|
-
startDate: string;
|
|
34
|
-
shipDate: string;
|
|
35
|
-
updatedStartDate: string;
|
|
36
|
-
applyToOrder: boolean;
|
|
37
|
-
}
|
|
1
|
+
// TODO: dissect data pased from move order and date entry
|
|
2
|
+
// create specific types for both varietes of req.body input
|
|
3
|
+
|
|
4
|
+
export interface IOrderEntry {
|
|
5
|
+
id: string;
|
|
6
|
+
orderID: number;
|
|
7
|
+
name: string;
|
|
8
|
+
companyName: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
type: string;
|
|
11
|
+
startDate: string;
|
|
12
|
+
shipDate: string;
|
|
13
|
+
highlight: boolean;
|
|
14
|
+
rpd: number;
|
|
15
|
+
highlightColor: string | null;
|
|
16
|
+
hasStarted: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface IUpdateOrderOld {
|
|
20
|
+
id: string;
|
|
21
|
+
orderID: number;
|
|
22
|
+
startDate: string;
|
|
23
|
+
updatedStartDate: string;
|
|
24
|
+
shipDate: string;
|
|
25
|
+
applyToOrder: boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface IUpdateOrder {
|
|
29
|
+
id: string;
|
|
30
|
+
orderID: number;
|
|
31
|
+
quantity: number;
|
|
32
|
+
type: string;
|
|
33
|
+
startDate: string;
|
|
34
|
+
shipDate: string;
|
|
35
|
+
updatedStartDate: string;
|
|
36
|
+
applyToOrder: boolean;
|
|
37
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface IZapierOrder {
|
|
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
|
+
export interface IZapierOrder {
|
|
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,4 +1,4 @@
|
|
|
1
|
-
export interface IDailyTotalsSchema {
|
|
2
|
-
type: typeof Number;
|
|
3
|
-
required: boolean;
|
|
4
|
-
}
|
|
1
|
+
export interface IDailyTotalsSchema {
|
|
2
|
+
type: typeof Number;
|
|
3
|
+
required: boolean;
|
|
4
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export * from "./IOrder";
|
|
2
|
-
export * from "./IExporter";
|
|
3
|
-
export * from "./IScript";
|
|
4
|
-
export * from "./IUser";
|
|
5
|
-
export * from "./IEvent";
|
|
6
|
-
export * from "./IDailyTotal";
|
|
7
|
-
export * from "./ISetting";
|
|
8
|
-
export * from "./IJWT";
|
|
9
|
-
export * from "./IExpress";
|
|
10
|
-
export * from "./IConfig";
|
|
11
|
-
export * from "./IWebsocket";
|
|
12
|
-
export * from "./Routes/IOrderRoutes";
|
|
13
|
-
export * from "./Helpers/IOrders";
|
|
14
|
-
export * from "./Helpers/IEvents";
|
|
15
|
-
export * from "./Helpers/IExporters";
|
|
16
|
-
export * from "./Helpers/ITotals";
|
|
17
|
-
export * from "./Helpers/IAdministration";
|
|
18
|
-
export * from "./Helpers/IZapier";
|
|
19
|
-
export * from "./Classes/ICRUDRouter";
|
|
20
|
-
export * from "./Classes/ILogger";
|
|
21
|
-
export * from "./Templates/IDailyTotals";
|
|
22
|
-
export * from "./Routes/IZapierRoutes";
|
|
23
|
-
export * from "./IIntegration";
|
|
24
|
-
export * from "./INotification";
|
|
25
|
-
export * from "./Helpers/IAllmoxy";
|
|
26
|
-
export * from "./IMailCache";
|
|
1
|
+
export * from "./IOrder";
|
|
2
|
+
export * from "./IExporter";
|
|
3
|
+
export * from "./IScript";
|
|
4
|
+
export * from "./IUser";
|
|
5
|
+
export * from "./IEvent";
|
|
6
|
+
export * from "./IDailyTotal";
|
|
7
|
+
export * from "./ISetting";
|
|
8
|
+
export * from "./IJWT";
|
|
9
|
+
export * from "./IExpress";
|
|
10
|
+
export * from "./IConfig";
|
|
11
|
+
export * from "./IWebsocket";
|
|
12
|
+
export * from "./Routes/IOrderRoutes";
|
|
13
|
+
export * from "./Helpers/IOrders";
|
|
14
|
+
export * from "./Helpers/IEvents";
|
|
15
|
+
export * from "./Helpers/IExporters";
|
|
16
|
+
export * from "./Helpers/ITotals";
|
|
17
|
+
export * from "./Helpers/IAdministration";
|
|
18
|
+
export * from "./Helpers/IZapier";
|
|
19
|
+
export * from "./Classes/ICRUDRouter";
|
|
20
|
+
export * from "./Classes/ILogger";
|
|
21
|
+
export * from "./Templates/IDailyTotals";
|
|
22
|
+
export * from "./Routes/IZapierRoutes";
|
|
23
|
+
export * from "./IIntegration";
|
|
24
|
+
export * from "./INotification";
|
|
25
|
+
export * from "./Helpers/IAllmoxy";
|
|
26
|
+
export * from "./IMailCache";
|
|
27
|
+
export * from "./API/Allmoxy";
|
package/tsconfig.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es5",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"outDir": "./dist",
|
|
7
|
-
"strict": true
|
|
8
|
-
},
|
|
9
|
-
"include": ["src"],
|
|
10
|
-
"exclude": ["node_modules"]
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"outDir": "./dist",
|
|
7
|
+
"strict": true
|
|
8
|
+
},
|
|
9
|
+
"include": ["src"],
|
|
10
|
+
"exclude": ["node_modules"]
|
|
11
|
+
}
|