@nomalism-com/types 0.40.15 → 0.40.16
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
|
@@ -1901,7 +1901,8 @@ var updateManyKeys = {
|
|
|
1901
1901
|
provider_estimated_delivery_date: joi18.date().allow(null, "").optional(),
|
|
1902
1902
|
provider_purchase_discount: joi18.number().positive().allow(0).max(100).optional(),
|
|
1903
1903
|
consignacao: joi18.boolean().optional(),
|
|
1904
|
-
cancelled: joi18.boolean().optional()
|
|
1904
|
+
cancelled: joi18.boolean().optional(),
|
|
1905
|
+
force_close: joi18.boolean().optional()
|
|
1905
1906
|
};
|
|
1906
1907
|
var updateManyBody = joi18.object().keys(updateManyKeys).messages(messages);
|
|
1907
1908
|
var updateIndexesBody = joi18.array().items(joi18.string().uuid().required()).required().messages(messages);
|
package/dist/index.js
CHANGED
|
@@ -1901,7 +1901,8 @@ var updateManyKeys = {
|
|
|
1901
1901
|
provider_estimated_delivery_date: joi18.date().allow(null, "").optional(),
|
|
1902
1902
|
provider_purchase_discount: joi18.number().positive().allow(0).max(100).optional(),
|
|
1903
1903
|
consignacao: joi18.boolean().optional(),
|
|
1904
|
-
cancelled: joi18.boolean().optional()
|
|
1904
|
+
cancelled: joi18.boolean().optional(),
|
|
1905
|
+
force_close: joi18.boolean().optional()
|
|
1905
1906
|
};
|
|
1906
1907
|
var updateManyBody = joi18.object().keys(updateManyKeys).messages(messages);
|
|
1907
1908
|
var updateIndexesBody = joi18.array().items(joi18.string().uuid().required()).required().messages(messages);
|
|
@@ -3,7 +3,7 @@ export declare const createBody: joi.ArraySchema<any[]>;
|
|
|
3
3
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
4
|
export declare const updateDataBody: joi.ObjectSchema<any>;
|
|
5
5
|
export declare const updateManyBody: joi.ObjectSchema<any>;
|
|
6
|
-
export declare const updateIndexesBody: joi.ArraySchema<
|
|
7
|
-
export declare const deleteBody: joi.ArraySchema<
|
|
6
|
+
export declare const updateIndexesBody: joi.ArraySchema<string[]>;
|
|
7
|
+
export declare const deleteBody: joi.ArraySchema<string[]>;
|
|
8
8
|
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
9
9
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
@@ -118,7 +118,12 @@ export declare const findByOwnerIdQueryKeys: IRouteRequest<IFindByOwnerIdRequest
|
|
|
118
118
|
export declare const findByOwnerIdQuery: joi.ObjectSchema<any>;
|
|
119
119
|
export declare const idParam: joi.ObjectSchema<any>;
|
|
120
120
|
export declare const idNumberParam: joi.ObjectSchema<any>;
|
|
121
|
-
export declare const findMinifiedReponse: joi.ArraySchema<
|
|
121
|
+
export declare const findMinifiedReponse: joi.ArraySchema<{
|
|
122
|
+
name: unknown;
|
|
123
|
+
id: unknown;
|
|
124
|
+
group: unknown;
|
|
125
|
+
multimedia_id: unknown;
|
|
126
|
+
}[]>;
|
|
122
127
|
export declare const joiValidateStamps: IRouteResponseWithoutStamps<WithTimestampsOriginID>;
|
|
123
128
|
export declare const IUserSendEmailDocumentTemplateEnum: {
|
|
124
129
|
generic: 'generic';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.16",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|