@managesome/eposmatic-toolkit 0.2.451 → 0.2.452
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.
|
@@ -34,34 +34,3 @@ export interface IWarehouseSaleOrderDelivery {
|
|
|
34
34
|
createdAt: Date;
|
|
35
35
|
updatedAt: Date;
|
|
36
36
|
}
|
|
37
|
-
export interface IWarehouseSaleOrderDeliveryDocument extends IWarehouseSaleOrderDelivery {
|
|
38
|
-
doc_kind: WAREHOUSE_SALE_ORDER_PHYSICAL_DOC_KIND_ENUM.DELIVERY;
|
|
39
|
-
status: WAREHOUSE_SALE_ORDER_DELIVERY_STATUS_ENUM;
|
|
40
|
-
applied_to_doc_id?: null;
|
|
41
|
-
}
|
|
42
|
-
export interface IWarehouseSaleOrderDeliveryReturnDocument extends IWarehouseSaleOrderDelivery {
|
|
43
|
-
doc_kind: WAREHOUSE_SALE_ORDER_PHYSICAL_DOC_KIND_ENUM.DELIVERY_RETURN;
|
|
44
|
-
applied_to_doc_id: string;
|
|
45
|
-
status: WAREHOUSE_SALE_ORDER_DELIVERY_RETURN_STATUS_ENUM;
|
|
46
|
-
}
|
|
47
|
-
interface IWarehouseCreateSaleOrderPhysicalDocBodyBase {
|
|
48
|
-
item_id: string;
|
|
49
|
-
quantity: number;
|
|
50
|
-
reason?: string | null;
|
|
51
|
-
}
|
|
52
|
-
interface IWarehouseCreateSaleOrderPhysicalDocBase {
|
|
53
|
-
items: IWarehouseCreateSaleOrderPhysicalDocBodyBase[];
|
|
54
|
-
notes?: string;
|
|
55
|
-
sale_order_updatedAt?: Date | string;
|
|
56
|
-
}
|
|
57
|
-
export interface IWarehouseCreateSaleOrderDeliveryBody extends IWarehouseCreateSaleOrderPhysicalDocBase {
|
|
58
|
-
doc_kind?: WAREHOUSE_SALE_ORDER_PHYSICAL_DOC_KIND_ENUM.DELIVERY;
|
|
59
|
-
status?: WAREHOUSE_SALE_ORDER_DELIVERY_STATUS_ENUM;
|
|
60
|
-
}
|
|
61
|
-
export interface IWarehouseCreateSaleOrderDeliveryReturnBody extends IWarehouseCreateSaleOrderPhysicalDocBase {
|
|
62
|
-
doc_kind: WAREHOUSE_SALE_ORDER_PHYSICAL_DOC_KIND_ENUM.DELIVERY_RETURN;
|
|
63
|
-
applied_to_doc_id: string;
|
|
64
|
-
status: WAREHOUSE_SALE_ORDER_DELIVERY_RETURN_STATUS_ENUM;
|
|
65
|
-
}
|
|
66
|
-
export type IWarehouseCreateSaleOrderPhysicalDocBody = IWarehouseCreateSaleOrderDeliveryBody | IWarehouseCreateSaleOrderDeliveryReturnBody;
|
|
67
|
-
export {};
|