@nomalism-com/types 0.36.3 → 0.36.4
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/index.cjs
CHANGED
|
@@ -5013,7 +5013,7 @@ var entradaDeMaterialClientOrderBody = joi92.object().keys(entradaDeMaterialClie
|
|
|
5013
5013
|
var entradaDeMaterialStockBodyKeys = {
|
|
5014
5014
|
ef_dla_id: joi92.string().uuid().allow(null).required(),
|
|
5015
5015
|
ordered_quantity: joi92.number().positive().allow(0).required(),
|
|
5016
|
-
document_line_id: joi92.string().uuid().required(),
|
|
5016
|
+
document_line_id: joi92.string().uuid().allow(null).required(),
|
|
5017
5017
|
quantity: joi92.number().positive().allow(0).required(),
|
|
5018
5018
|
option: joi92.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
5019
5019
|
note: joi92.string().allow(null),
|
package/dist/index.js
CHANGED
|
@@ -5013,7 +5013,7 @@ var entradaDeMaterialClientOrderBody = joi92.object().keys(entradaDeMaterialClie
|
|
|
5013
5013
|
var entradaDeMaterialStockBodyKeys = {
|
|
5014
5014
|
ef_dla_id: joi92.string().uuid().allow(null).required(),
|
|
5015
5015
|
ordered_quantity: joi92.number().positive().allow(0).required(),
|
|
5016
|
-
document_line_id: joi92.string().uuid().required(),
|
|
5016
|
+
document_line_id: joi92.string().uuid().allow(null).required(),
|
|
5017
5017
|
quantity: joi92.number().positive().allow(0).required(),
|
|
5018
5018
|
option: joi92.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
5019
5019
|
note: joi92.string().allow(null),
|
|
@@ -49,7 +49,7 @@ export interface IGetMaterialEntranceInfoStock {
|
|
|
49
49
|
ordered_quantity: number;
|
|
50
50
|
}
|
|
51
51
|
export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
52
|
-
document_line_id: string;
|
|
52
|
+
document_line_id: string | null;
|
|
53
53
|
quantity: number;
|
|
54
54
|
option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
|
|
55
55
|
note: string | null;
|
package/package.json
CHANGED
|
@@ -92,7 +92,7 @@ export interface IGetMaterialEntranceInfoStock {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
95
|
-
document_line_id: string;
|
|
95
|
+
document_line_id: string | null;
|
|
96
96
|
quantity: number;
|
|
97
97
|
option:
|
|
98
98
|
| ICreateMaterialEntranceStockOption
|
|
@@ -47,7 +47,7 @@ const entradaDeMaterialStockBodyKeys: IShared.IRouteRequest<IEntradaDeMaterialSt
|
|
|
47
47
|
ef_dla_id: joi.string().uuid().allow(null).required(),
|
|
48
48
|
ordered_quantity: joi.number().positive().allow(0).required(),
|
|
49
49
|
|
|
50
|
-
document_line_id: joi.string().uuid().required(),
|
|
50
|
+
document_line_id: joi.string().uuid().allow(null).required(),
|
|
51
51
|
quantity: joi.number().positive().allow(0).required(),
|
|
52
52
|
option: joi
|
|
53
53
|
.string()
|