@nomalism-com/types 0.16.11 → 0.16.13
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.
|
@@ -91,10 +91,12 @@ export interface IFinalizarEntradaDeMaterialResponse {
|
|
|
91
91
|
document_number: string;
|
|
92
92
|
}
|
|
93
93
|
export interface IPrintLabelParamsRequest {
|
|
94
|
+
product_id: string;
|
|
94
95
|
document_line_id: string;
|
|
95
96
|
}
|
|
96
97
|
export interface IPrintLabelQueryRequest {
|
|
97
98
|
pc_document_number?: number | null;
|
|
99
|
+
prison: boolean;
|
|
98
100
|
quantity: number;
|
|
99
101
|
}
|
|
100
102
|
export interface IPrintLabelQueryWithTokenRequest extends IPrintLabelQueryRequest {
|
|
@@ -24,6 +24,7 @@ exports.undoEntradaDeMaterialBody = joi_1.default
|
|
|
24
24
|
.keys(undoEntradaDeMaterialBodyKeys)
|
|
25
25
|
.messages(messages_1.messages);
|
|
26
26
|
var printLabelParamsKeys = {
|
|
27
|
+
product_id: joi_1.default.string().uuid().required(),
|
|
27
28
|
document_line_id: joi_1.default.string().uuid().required(),
|
|
28
29
|
};
|
|
29
30
|
exports.printLabelParams = joi_1.default
|
|
@@ -37,6 +38,7 @@ var printLabelQueryKeys = {
|
|
|
37
38
|
.positive()
|
|
38
39
|
.allow(null)
|
|
39
40
|
.optional(),
|
|
41
|
+
prison: joi_1.default.boolean().required(),
|
|
40
42
|
quantity: joi_1.default.number().positive().required(),
|
|
41
43
|
token: joi_1.default.string().required(),
|
|
42
44
|
};
|