@nomalism-com/types 0.11.19 → 0.11.21
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/modules/supply/documentHeader/interfaces.d.ts +2 -2
- package/dist/modules/supply/documentHeader/route.schema.js +2 -2
- package/dist/modules/supply/documentLine/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentLine/route.schema.js +1 -4
- package/dist/shared/entities/stock.d.ts +2 -2
- package/package.json +2 -2
|
@@ -200,8 +200,8 @@ export interface IUpdateRequest {
|
|
|
200
200
|
commissioner_id?: string | null;
|
|
201
201
|
commission_percentage?: number;
|
|
202
202
|
commission_paid?: boolean;
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
is_archived?: boolean;
|
|
204
|
+
is_void?: boolean;
|
|
205
205
|
}
|
|
206
206
|
export interface IGetActionsResponse {
|
|
207
207
|
document_type: DocumentType;
|
|
@@ -237,8 +237,8 @@ var updateBodyKeys = {
|
|
|
237
237
|
commissioner_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
238
238
|
commission_percentage: joi_1.default.number().positive().allow(0).optional(),
|
|
239
239
|
commission_paid: joi_1.default.boolean().optional(),
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
is_archived: joi_1.default.boolean().optional(),
|
|
241
|
+
is_void: joi_1.default.boolean().optional(),
|
|
242
242
|
};
|
|
243
243
|
exports.updateBody = joi_1.default
|
|
244
244
|
.object()
|
|
@@ -213,7 +213,7 @@ export interface IUpdateLineStatesTriggerResponse {
|
|
|
213
213
|
broker_topic?: IShared.IBrokerTopic;
|
|
214
214
|
}
|
|
215
215
|
export interface IPrintLabelParamsRequest {
|
|
216
|
-
document_line_ids: string
|
|
216
|
+
document_line_ids: string;
|
|
217
217
|
}
|
|
218
218
|
export interface IPrintLabelQueryRequest {
|
|
219
219
|
token: string;
|
|
@@ -107,10 +107,7 @@ exports.findByDocumentLineStateQuery = joi_1.default
|
|
|
107
107
|
.keys(findByDocumentLineStateQueryKeys)
|
|
108
108
|
.messages(messages_1.messages);
|
|
109
109
|
var printLabelParamsKeys = {
|
|
110
|
-
document_line_ids: joi_1.default
|
|
111
|
-
.array()
|
|
112
|
-
.items(joi_1.default.string().uuid().required())
|
|
113
|
-
.required(),
|
|
110
|
+
document_line_ids: joi_1.default.string().required(),
|
|
114
111
|
};
|
|
115
112
|
exports.printLabelParams = joi_1.default
|
|
116
113
|
.object()
|
|
@@ -568,8 +568,8 @@ export type DocumentHeader = {
|
|
|
568
568
|
commission_percentage: number;
|
|
569
569
|
commission_paid: boolean;
|
|
570
570
|
return_reason: string | null;
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
is_archived: boolean;
|
|
572
|
+
is_void: boolean;
|
|
573
573
|
origin_id: string | null;
|
|
574
574
|
created_at: Date;
|
|
575
575
|
updated_at: Date;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.11.
|
|
12
|
+
"version": "0.11.21",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-import": "^2.29.0",
|
|
50
50
|
"eslint-plugin-prettier": "^5.0.1",
|
|
51
51
|
"prettier": "^3.0.3",
|
|
52
|
-
"tsx": "^
|
|
52
|
+
"tsx": "^4.1.0",
|
|
53
53
|
"typescript": "^5.2.2"
|
|
54
54
|
}
|
|
55
55
|
}
|