@nomalism-com/types 0.16.61 → 0.17.0
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.
|
@@ -24,7 +24,7 @@ export interface IEntradaDeMaterialClientOrder extends IGetMaterialEntranceInfoC
|
|
|
24
24
|
document_line_id: string;
|
|
25
25
|
quantity: number;
|
|
26
26
|
option: ICreateMaterialEntranceClientOrderOption | null;
|
|
27
|
-
|
|
27
|
+
note: string | null;
|
|
28
28
|
printed: string | null;
|
|
29
29
|
}
|
|
30
30
|
export declare const ICreateMaterialEntranceStockWithoutOrderOptionEnum: {
|
|
@@ -50,7 +50,7 @@ export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
|
50
50
|
document_line_id: string;
|
|
51
51
|
quantity: number;
|
|
52
52
|
option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
|
|
53
|
-
|
|
53
|
+
note: string | null;
|
|
54
54
|
printed: string | null;
|
|
55
55
|
}
|
|
56
56
|
export interface IEntradaDeMaterialNC {
|
|
@@ -59,7 +59,7 @@ export interface IEntradaDeMaterialNC {
|
|
|
59
59
|
document_line_id: string;
|
|
60
60
|
quantity: number;
|
|
61
61
|
option: null;
|
|
62
|
-
|
|
62
|
+
note: string | null;
|
|
63
63
|
printed: string | null;
|
|
64
64
|
}
|
|
65
65
|
export interface IGetMaterialEntranceInfoResponse {
|
|
@@ -30,7 +30,7 @@ var entradaDeMaterialClientOrderBodyKeys = {
|
|
|
30
30
|
.string())
|
|
31
31
|
.valid.apply(_a, interfaces_1.createMaterialEntranceClientOrderOptions).allow(null)
|
|
32
32
|
.required(),
|
|
33
|
-
|
|
33
|
+
note: joi_1.default.string().allow(null),
|
|
34
34
|
printed: joi_1.default.string().allow(null),
|
|
35
35
|
};
|
|
36
36
|
var entradaDeMaterialClientOrderBody = joi_1.default
|
|
@@ -46,7 +46,7 @@ var entradaDeMaterialStockBodyKeys = {
|
|
|
46
46
|
.string())
|
|
47
47
|
.valid.apply(_b, __spreadArray(__spreadArray([], interfaces_1.createMaterialEntranceStockOptions, false), interfaces_1.createMaterialEntranceStockWithoutOrderOptions, false)).allow(null)
|
|
48
48
|
.required(),
|
|
49
|
-
|
|
49
|
+
note: joi_1.default.string().allow(null),
|
|
50
50
|
printed: joi_1.default.string().allow(null),
|
|
51
51
|
};
|
|
52
52
|
var entradaDeMaterialStockBody = joi_1.default
|
|
@@ -60,7 +60,7 @@ var entradaDeMaterialNCBodyKeys = {
|
|
|
60
60
|
document_line_id: joi_1.default.string().uuid().required(),
|
|
61
61
|
quantity: joi_1.default.number().positive().allow(0).required(),
|
|
62
62
|
option: joi_1.default.valid(null).required(),
|
|
63
|
-
|
|
63
|
+
note: joi_1.default.string().allow(null),
|
|
64
64
|
printed: joi_1.default.string().allow(null),
|
|
65
65
|
};
|
|
66
66
|
var entradaDeMaterialNCBody = joi_1.default
|
|
@@ -43,6 +43,7 @@ var IShared = __importStar(require("../../../shared/interface"));
|
|
|
43
43
|
var findBodyResponseKeys = {
|
|
44
44
|
id: joi_1.default.string().uuid().required(),
|
|
45
45
|
document_header_id: joi_1.default.string().uuid().required(),
|
|
46
|
+
owner_id: joi_1.default.string().uuid().required(),
|
|
46
47
|
date: joi_1.default.date().required(),
|
|
47
48
|
debit: joi_1.default.number().positive().allow(0).required(),
|
|
48
49
|
credit: joi_1.default.number().positive().allow(0).required(),
|
|
@@ -59,6 +60,7 @@ exports.findBodyResponse = joi_1.default
|
|
|
59
60
|
var findByIdBodyResponseKeys = {
|
|
60
61
|
id: joi_1.default.string().uuid().required(),
|
|
61
62
|
document_header_id: joi_1.default.string().uuid().required(),
|
|
63
|
+
owner_id: joi_1.default.string().uuid().required(),
|
|
62
64
|
date: joi_1.default.date().required(),
|
|
63
65
|
debit: joi_1.default.number().positive().allow(0).required(),
|
|
64
66
|
credit: joi_1.default.number().positive().allow(0).required(),
|
|
@@ -75,6 +77,7 @@ exports.findByIdBodyResponse = joi_1.default
|
|
|
75
77
|
exports.findOwnerIdBodyResponsekeys = {
|
|
76
78
|
id: joi_1.default.string().uuid().required(),
|
|
77
79
|
document_header_id: joi_1.default.string().uuid().required(),
|
|
80
|
+
owner_id: joi_1.default.string().uuid().required(),
|
|
78
81
|
date: joi_1.default.date().required(),
|
|
79
82
|
debit: joi_1.default.number().positive().allow(0).required(),
|
|
80
83
|
credit: joi_1.default.number().positive().allow(0).required(),
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.17.0",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"convert-units": "^2.3.4",
|
|
36
|
-
"joi": "^17.
|
|
36
|
+
"joi": "^17.12.0",
|
|
37
37
|
"joi-to-swagger": "^6.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/convert-units": "^2.3.9",
|
|
41
|
-
"@types/node": "^20.11.
|
|
41
|
+
"@types/node": "^20.11.5",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
43
43
|
"@typescript-eslint/parser": "^6.19.0",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
49
49
|
"eslint-plugin-import": "^2.29.1",
|
|
50
50
|
"eslint-plugin-prettier": "^5.1.3",
|
|
51
|
-
"prettier": "^3.2.
|
|
51
|
+
"prettier": "^3.2.4",
|
|
52
52
|
"tsx": "^4.7.0",
|
|
53
53
|
"typescript": "^5.3.3"
|
|
54
54
|
}
|