@nomalism-com/types 0.11.20 → 0.11.22
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 +1 -0
- package/dist/modules/supply/documentHeader/route.schema.js +1 -0
- package/dist/modules/supply/documentLine/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentLine/route.schema.js +1 -4
- package/dist/modules/supply/orderManagement/interface.d.ts +2 -0
- package/package.json +2 -2
|
@@ -239,6 +239,7 @@ var updateBodyKeys = {
|
|
|
239
239
|
commission_paid: joi_1.default.boolean().optional(),
|
|
240
240
|
is_archived: joi_1.default.boolean().optional(),
|
|
241
241
|
is_void: joi_1.default.boolean().optional(),
|
|
242
|
+
created_by: joi_1.default.string().uuid().allow(null).optional(),
|
|
242
243
|
};
|
|
243
244
|
exports.updateBody = joi_1.default
|
|
244
245
|
.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()
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDocumentTypeUserType } from '../documentType/interfaces';
|
|
2
|
+
import { IProductType } from '../../stock/product/interface';
|
|
2
3
|
export declare const Route = "order_management";
|
|
3
4
|
export declare const UpperName = "OrderManagement";
|
|
4
5
|
export declare const LowerName: string;
|
|
@@ -22,6 +23,7 @@ export interface IFindProviderProductsResponse {
|
|
|
22
23
|
ref: string;
|
|
23
24
|
des: string;
|
|
24
25
|
product_id: string;
|
|
26
|
+
type: IProductType;
|
|
25
27
|
multimedia_id: string | null;
|
|
26
28
|
price_cost: string;
|
|
27
29
|
price_sale: string;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.11.
|
|
12
|
+
"version": "0.11.22",
|
|
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
|
}
|