@nomalism-com/types 0.40.10 → 0.40.12
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
|
@@ -4691,6 +4691,7 @@ var printLabelQueryKeys2 = {
|
|
|
4691
4691
|
pc_document_number: joi85.number().integer().positive().allow(null).optional(),
|
|
4692
4692
|
prison: joi85.boolean().required(),
|
|
4693
4693
|
quantity: joi85.number().positive().required(),
|
|
4694
|
+
availableStock: joi85.number().required(),
|
|
4694
4695
|
note: joi85.string().allow(null, "").optional(),
|
|
4695
4696
|
token: joi85.string().required()
|
|
4696
4697
|
};
|
|
@@ -5101,7 +5102,7 @@ __export(route_schema_exports94, {
|
|
|
5101
5102
|
import joi95 from "joi";
|
|
5102
5103
|
var upsertOrDeleteBodyKeys = {
|
|
5103
5104
|
document_line_id: joi95.string().uuid().required(),
|
|
5104
|
-
note: joi95.string().required(),
|
|
5105
|
+
note: joi95.string().empty("").required(),
|
|
5105
5106
|
type: joi95.string().valid(...documentLineNoteTypes).required()
|
|
5106
5107
|
};
|
|
5107
5108
|
var upsertOrDeleteBody = joi95.object().keys(upsertOrDeleteBodyKeys).messages(messages);
|
package/dist/index.js
CHANGED
|
@@ -4691,6 +4691,7 @@ var printLabelQueryKeys2 = {
|
|
|
4691
4691
|
pc_document_number: joi85.number().integer().positive().allow(null).optional(),
|
|
4692
4692
|
prison: joi85.boolean().required(),
|
|
4693
4693
|
quantity: joi85.number().positive().required(),
|
|
4694
|
+
availableStock: joi85.number().required(),
|
|
4694
4695
|
note: joi85.string().allow(null, "").optional(),
|
|
4695
4696
|
token: joi85.string().required()
|
|
4696
4697
|
};
|
|
@@ -5101,7 +5102,7 @@ __export(route_schema_exports94, {
|
|
|
5101
5102
|
import joi95 from "joi";
|
|
5102
5103
|
var upsertOrDeleteBodyKeys = {
|
|
5103
5104
|
document_line_id: joi95.string().uuid().required(),
|
|
5104
|
-
note: joi95.string().required(),
|
|
5105
|
+
note: joi95.string().empty("").required(),
|
|
5105
5106
|
type: joi95.string().valid(...documentLineNoteTypes).required()
|
|
5106
5107
|
};
|
|
5107
5108
|
var upsertOrDeleteBody = joi95.object().keys(upsertOrDeleteBodyKeys).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": "0.40.
|
|
4
|
+
"version": "0.40.12",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|