@nomalism-com/types 0.17.34 → 0.17.36
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.
|
@@ -121,6 +121,8 @@ export interface ICreateRequest {
|
|
|
121
121
|
commissioner_id?: string | null;
|
|
122
122
|
commission_percentage?: number;
|
|
123
123
|
return_reason?: string | null;
|
|
124
|
+
created_by?: string | null;
|
|
125
|
+
updated_by?: string | null;
|
|
124
126
|
}
|
|
125
127
|
export interface IDeliveryAdresses {
|
|
126
128
|
delivery_departure_street?: string | null;
|
|
@@ -340,12 +342,16 @@ export interface IFindByTypeResponse {
|
|
|
340
342
|
lines: IFindByTypeLine[];
|
|
341
343
|
}
|
|
342
344
|
export interface IDocumentListResponse {
|
|
345
|
+
user_type: IDocumentType.IDocumentTypeUserType | null;
|
|
343
346
|
emission_date: Date;
|
|
344
347
|
virtual_name: string;
|
|
345
348
|
document_number: number;
|
|
346
|
-
|
|
347
|
-
|
|
349
|
+
billing_persona_name: string;
|
|
350
|
+
billing_persona_nif: string;
|
|
351
|
+
owner_number: number;
|
|
348
352
|
owner_id: string | null;
|
|
353
|
+
quantity: number;
|
|
354
|
+
status: 'in' | 'out' | 'captive';
|
|
349
355
|
}
|
|
350
356
|
export interface IProviderProposalData {
|
|
351
357
|
product_id: string;
|
|
@@ -110,6 +110,8 @@ var createBodyKeys = {
|
|
|
110
110
|
commissioner_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
111
111
|
commission_percentage: joi_1.default.number().positive().allow(0).default(0).optional(),
|
|
112
112
|
return_reason: joi_1.default.string().allow(null).optional(),
|
|
113
|
+
updated_by: joi_1.default.string().uuid().allow(null).optional(),
|
|
114
|
+
created_by: joi_1.default.string().uuid().allow(null).optional(),
|
|
113
115
|
};
|
|
114
116
|
exports.createBody = joi_1.default
|
|
115
117
|
.object()
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.17.
|
|
12
|
+
"version": "0.17.36",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"convert-units": "^2.3.4",
|
|
36
|
-
"joi": "^17.12.
|
|
36
|
+
"joi": "^17.12.1",
|
|
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.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
43
|
-
"@typescript-eslint/parser": "^6.
|
|
41
|
+
"@types/node": "^20.11.10",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
43
|
+
"@typescript-eslint/parser": "^6.20.0",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
45
45
|
"eslint": "^8.56.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|