@nomalism-com/types 1.3.3 → 1.3.5
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.js
CHANGED
|
@@ -1437,7 +1437,7 @@ var createBodyKeys9 = {
|
|
|
1437
1437
|
sent: joi10.boolean().optional(),
|
|
1438
1438
|
owner_id: joi10.string().uuid().required(),
|
|
1439
1439
|
owner_number: joi10.number().required(),
|
|
1440
|
-
owner_name: joi10.string().required(),
|
|
1440
|
+
owner_name: joi10.string().allow(null, "").empty("").required(),
|
|
1441
1441
|
reason_for_exemption_id: joi10.string().uuid().allow(null).optional(),
|
|
1442
1442
|
reason_for_exemption: joi10.string().allow(null),
|
|
1443
1443
|
billing_persona_id: joi10.string().uuid().allow(null).optional(),
|
|
@@ -5147,6 +5147,7 @@ var updateBodyKeys52 = {
|
|
|
5147
5147
|
price_cost: joi10.number().positive().allow(0).optional(),
|
|
5148
5148
|
price_sale: joi10.number().positive().allow(0).optional(),
|
|
5149
5149
|
unit_of_measure_quantity_notation: joi10.string().empty("").optional(),
|
|
5150
|
+
vat_tax: joi10.string().empty("").optional(),
|
|
5150
5151
|
state: joi10.string().valid(...productState).optional()
|
|
5151
5152
|
};
|
|
5152
5153
|
var updateBody52 = joi10.object().keys(updateBodyKeys52).messages(messages);
|
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": "1.3.
|
|
4
|
+
"version": "1.3.5",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|