@nomalism-com/types 0.16.50 → 0.16.51
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,6 +1,6 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
2
|
export declare const undoProviderOrderBody: joi.ObjectSchema<any>;
|
|
3
|
-
export declare const conferirEncomendaClienteBody: joi.
|
|
3
|
+
export declare const conferirEncomendaClienteBody: joi.ArraySchema<any[]>;
|
|
4
4
|
export declare const findStockToOrderParamsBodyKeys: joi.ObjectSchema<any>;
|
|
5
5
|
export declare const setProviderBody: joi.ObjectSchema<any>;
|
|
6
6
|
export declare const unsetCativadoBody: joi.ObjectSchema<any>;
|
|
@@ -26,9 +26,9 @@ var conferirEncomendaClienteBodyKeys = {
|
|
|
26
26
|
id_provider: joi_1.default.number().integer().positive().allow(0).optional(),
|
|
27
27
|
};
|
|
28
28
|
exports.conferirEncomendaClienteBody = joi_1.default
|
|
29
|
-
.
|
|
30
|
-
.keys(conferirEncomendaClienteBodyKeys)
|
|
31
|
-
.
|
|
29
|
+
.array()
|
|
30
|
+
.items(joi_1.default.object().keys(conferirEncomendaClienteBodyKeys).messages(messages_1.messages))
|
|
31
|
+
.required();
|
|
32
32
|
var findStockToOrderParamsKeys = {
|
|
33
33
|
id_provider: joi_1.default.number().positive().required(),
|
|
34
34
|
};
|