@nomalism-com/types 0.45.45 → 0.45.47
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
|
@@ -4503,6 +4503,9 @@ var printLabelQueryKeys2 = {
|
|
|
4503
4503
|
var printLabelQuery2 = joi82.object().keys(printLabelQueryKeys2).messages(messages);
|
|
4504
4504
|
var printBulkLabelQuery = joi82.object().keys({
|
|
4505
4505
|
groupLabel: joi82.boolean().required(),
|
|
4506
|
+
stockOrders: joi82.string().required(),
|
|
4507
|
+
notOk: joi82.string().required(),
|
|
4508
|
+
clientOrders: joi82.string().required(),
|
|
4506
4509
|
saved_em_picking_ids: joi82.string().required(),
|
|
4507
4510
|
token: joi82.string().required()
|
|
4508
4511
|
});
|
package/dist/index.js
CHANGED
|
@@ -4503,6 +4503,9 @@ var printLabelQueryKeys2 = {
|
|
|
4503
4503
|
var printLabelQuery2 = joi82.object().keys(printLabelQueryKeys2).messages(messages);
|
|
4504
4504
|
var printBulkLabelQuery = joi82.object().keys({
|
|
4505
4505
|
groupLabel: joi82.boolean().required(),
|
|
4506
|
+
stockOrders: joi82.string().required(),
|
|
4507
|
+
notOk: joi82.string().required(),
|
|
4508
|
+
clientOrders: joi82.string().required(),
|
|
4506
4509
|
saved_em_picking_ids: joi82.string().required(),
|
|
4507
4510
|
token: joi82.string().required()
|
|
4508
4511
|
});
|
|
@@ -113,8 +113,14 @@ export interface IPrintLabelQueryRequest {
|
|
|
113
113
|
quantity: number;
|
|
114
114
|
note?: string;
|
|
115
115
|
}
|
|
116
|
-
export
|
|
116
|
+
export type IInclude = 'selectedOnly' | 'all' | 'none';
|
|
117
|
+
export interface IPrintOptions {
|
|
117
118
|
groupLabel: boolean;
|
|
119
|
+
stockOrders: IInclude;
|
|
120
|
+
notOk: IInclude;
|
|
121
|
+
clientOrders: IInclude;
|
|
122
|
+
}
|
|
123
|
+
export interface IPrintBulkLabelRequest extends IPrintOptions {
|
|
118
124
|
saved_em_picking_ids: string;
|
|
119
125
|
token: string;
|
|
120
126
|
}
|
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.45.
|
|
4
|
+
"version": "0.45.47",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@swc/core": "^1.15.40",
|
|
33
33
|
"@types/node": "^24.12.4",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^8.60.
|
|
35
|
-
"@typescript-eslint/parser": "^8.60.
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
35
|
+
"@typescript-eslint/parser": "^8.60.1",
|
|
36
36
|
"eslint": "^9.39.4",
|
|
37
37
|
"eslint-config-prettier": "^10.1.8",
|
|
38
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
38
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
39
39
|
"eslint-plugin-prettier": "^5.5.6",
|
|
40
40
|
"prettier": "^3.8.3",
|
|
41
41
|
"tsup": "^8.5.1"
|