truflow 0.0.172 → 0.0.173
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.
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface IBatchOrder {
|
|
2
|
+
batch_id: number;
|
|
3
|
+
order_id: number[];
|
|
4
|
+
}
|
|
5
|
+
interface IBatchPurchaseOrder {
|
|
6
|
+
batch_id: number;
|
|
7
|
+
po_id: number[];
|
|
8
|
+
}
|
|
9
|
+
interface IBatchInvoice {
|
|
10
|
+
batch_id: number;
|
|
11
|
+
invoice_id: number[];
|
|
12
|
+
}
|
|
13
|
+
export interface IOrderBatchResponse {
|
|
14
|
+
batch_id: number;
|
|
15
|
+
name: string | null;
|
|
16
|
+
batch_date: string | null;
|
|
17
|
+
batch_type: string | null;
|
|
18
|
+
createdby: string | null;
|
|
19
|
+
createdbyid: number | null;
|
|
20
|
+
createddate: string | null;
|
|
21
|
+
updatedby: string | null;
|
|
22
|
+
updatedbyid: number | null;
|
|
23
|
+
updateddate: string | null;
|
|
24
|
+
batch_orders: IBatchOrder[];
|
|
25
|
+
batch_purchase_orders: IBatchPurchaseOrder[];
|
|
26
|
+
batch_invoices: IBatchInvoice[];
|
|
27
|
+
}
|
|
28
|
+
export interface IOrderBatch {
|
|
29
|
+
name: string | null;
|
|
30
|
+
batch_type: "order" | "invoice" | "purchase_order";
|
|
31
|
+
item_ids: number[];
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -28,3 +28,4 @@ __exportStar(require("./IProductAttribute"), exports);
|
|
|
28
28
|
__exportStar(require("./IProductAttributeOptions"), exports);
|
|
29
29
|
__exportStar(require("./IProductProductAttribute"), exports);
|
|
30
30
|
__exportStar(require("./ITrigger"), exports);
|
|
31
|
+
__exportStar(require("./IOrderBatch"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
interface IBatchOrder {
|
|
2
|
+
batch_id: number;
|
|
3
|
+
order_id: number[];
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface IBatchPurchaseOrder {
|
|
7
|
+
batch_id: number;
|
|
8
|
+
po_id: number[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface IBatchInvoice {
|
|
12
|
+
batch_id: number;
|
|
13
|
+
invoice_id: number[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IOrderBatchResponse {
|
|
17
|
+
batch_id: number;
|
|
18
|
+
name: string | null;
|
|
19
|
+
batch_date: string | null;
|
|
20
|
+
batch_type: string | null;
|
|
21
|
+
createdby: string | null;
|
|
22
|
+
createdbyid: number | null;
|
|
23
|
+
createddate: string | null;
|
|
24
|
+
updatedby: string | null;
|
|
25
|
+
updatedbyid: number | null;
|
|
26
|
+
updateddate: string | null;
|
|
27
|
+
batch_orders: IBatchOrder[];
|
|
28
|
+
batch_purchase_orders: IBatchPurchaseOrder[];
|
|
29
|
+
batch_invoices: IBatchInvoice[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface IOrderBatch {
|
|
33
|
+
name: string | null;
|
|
34
|
+
batch_type: "order" | "invoice" | "purchase_order";
|
|
35
|
+
item_ids: number[];
|
|
36
|
+
}
|
package/src/API/Allmoxy/index.ts
CHANGED