@turndown/library 0.0.57 → 0.1.0
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.
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ObjectValues } from "../base";
|
|
2
|
+
declare const INVENTORY_RESTOCK_ORDER_STATUS: {
|
|
3
|
+
readonly PENDING: "PENDING";
|
|
4
|
+
readonly ORDERED: "ORDERED";
|
|
5
|
+
readonly SHIPPED: "SHIPPED";
|
|
6
|
+
readonly RECEIVED: "RECEIVED";
|
|
7
|
+
};
|
|
8
|
+
export type InventoryRestockOrderStatus = ObjectValues<typeof INVENTORY_RESTOCK_ORDER_STATUS>;
|
|
2
9
|
export declare const INVENTORY_UNITS: {
|
|
3
10
|
COUNT: string;
|
|
4
11
|
ROLLS: string;
|
|
@@ -7,6 +14,15 @@ export declare const INVENTORY_UNITS: {
|
|
|
7
14
|
BOTTLES: string;
|
|
8
15
|
PACKS: string;
|
|
9
16
|
BAGS: string;
|
|
17
|
+
GALLONS: string;
|
|
18
|
+
LITERS: string;
|
|
19
|
+
KILOGRAMS: string;
|
|
20
|
+
POUNDS: string;
|
|
21
|
+
OUNCES: string;
|
|
22
|
+
GRAMS: string;
|
|
23
|
+
SHEETS: string;
|
|
24
|
+
CASES: string;
|
|
25
|
+
CARTONS: string;
|
|
10
26
|
OTHER: string;
|
|
11
27
|
};
|
|
12
28
|
export type InventoryUnitType = ObjectValues<typeof INVENTORY_UNITS>;
|
|
@@ -89,7 +105,7 @@ export interface InventoryRestockOrder {
|
|
|
89
105
|
id: string;
|
|
90
106
|
companyId: string;
|
|
91
107
|
orderNumber?: string;
|
|
92
|
-
status:
|
|
108
|
+
status: InventoryRestockOrderStatus;
|
|
93
109
|
totalItems?: number;
|
|
94
110
|
totalCost?: number;
|
|
95
111
|
orderedBy?: string;
|
|
@@ -169,7 +185,7 @@ export interface InventoryRestockOrder {
|
|
|
169
185
|
id: string;
|
|
170
186
|
companyId: string;
|
|
171
187
|
orderNumber?: string;
|
|
172
|
-
status:
|
|
188
|
+
status: InventoryRestockOrderStatus;
|
|
173
189
|
totalItems?: number;
|
|
174
190
|
totalCost?: number;
|
|
175
191
|
orderedBy?: string;
|
|
@@ -194,3 +210,4 @@ export interface InventoryRestockOrderItem {
|
|
|
194
210
|
totalCost?: number;
|
|
195
211
|
createdAt: Date;
|
|
196
212
|
}
|
|
213
|
+
export {};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
const INVENTORY_RESTOCK_ORDER_STATUS = {
|
|
2
|
+
PENDING: "PENDING",
|
|
3
|
+
ORDERED: "ORDERED",
|
|
4
|
+
SHIPPED: "SHIPPED",
|
|
5
|
+
RECEIVED: "RECEIVED",
|
|
6
|
+
};
|
|
1
7
|
export const INVENTORY_UNITS = {
|
|
2
8
|
COUNT: "COUNT",
|
|
3
9
|
ROLLS: "ROLLS",
|
|
@@ -6,6 +12,15 @@ export const INVENTORY_UNITS = {
|
|
|
6
12
|
BOTTLES: "BOTTLES",
|
|
7
13
|
PACKS: "PACKS",
|
|
8
14
|
BAGS: "BAGS",
|
|
15
|
+
GALLONS: "GALLONS",
|
|
16
|
+
LITERS: "LITERS",
|
|
17
|
+
KILOGRAMS: "KILOGRAMS",
|
|
18
|
+
POUNDS: "POUNDS",
|
|
19
|
+
OUNCES: "OUNCES",
|
|
20
|
+
GRAMS: "GRAMS",
|
|
21
|
+
SHEETS: "SHEETS",
|
|
22
|
+
CASES: "CASES",
|
|
23
|
+
CARTONS: "CARTONS",
|
|
9
24
|
OTHER: "OTHER",
|
|
10
25
|
};
|
|
11
26
|
export const INVENTORY_ITEM_TYPE = {
|