@nomalism-com/types 0.10.36 → 0.10.38
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/document/order/interfaces.d.ts +1 -0
- package/dist/modules/document/order/interfaces.js +1 -0
- package/dist/modules/supply/cabideProduct/interface.d.ts +6 -6
- package/dist/modules/supply/cabideProduct/route.schema.js +12 -12
- package/dist/shared/entities/stock.d.ts +3 -0
- package/package.json +3 -3
|
@@ -15,6 +15,7 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
|
15
15
|
'Espera Consulta Stock': 'Espera Consulta Stock';
|
|
16
16
|
'Espera Cotação': 'Espera Cotação';
|
|
17
17
|
'Encomendar VA': 'Encomendar VA';
|
|
18
|
+
'Encomendar VA sem notificação': 'Encomendar VA sem notificação';
|
|
18
19
|
'Encomendar Stock': 'Encomendar Stock';
|
|
19
20
|
'Cancelar Encomendar': 'Cancelar Encomendar';
|
|
20
21
|
'Stock em Loja': 'Stock em Loja';
|
|
@@ -14,6 +14,7 @@ exports.ConferirEncomendaClienteOptionsEnum = {
|
|
|
14
14
|
'Espera Consulta Stock': 'Espera Consulta Stock',
|
|
15
15
|
'Espera Cotação': 'Espera Cotação',
|
|
16
16
|
'Encomendar VA': 'Encomendar VA',
|
|
17
|
+
'Encomendar VA sem notificação': 'Encomendar VA sem notificação',
|
|
17
18
|
'Encomendar Stock': 'Encomendar Stock',
|
|
18
19
|
'Cancelar Encomendar': 'Cancelar Encomendar',
|
|
19
20
|
'Stock em Loja': 'Stock em Loja',
|
|
@@ -14,9 +14,9 @@ export interface ICreateRequest {
|
|
|
14
14
|
preco_final_1?: number;
|
|
15
15
|
preco_final_2?: number;
|
|
16
16
|
preco_final_3?: number;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
portes_1?: number;
|
|
18
|
+
portes_2?: number;
|
|
19
|
+
portes_3?: number;
|
|
20
20
|
preco_custo_1?: number;
|
|
21
21
|
preco_custo_2?: number;
|
|
22
22
|
preco_custo_3?: number;
|
|
@@ -31,9 +31,9 @@ export interface IUpdateRequest {
|
|
|
31
31
|
preco_final_1?: number;
|
|
32
32
|
preco_final_2?: number;
|
|
33
33
|
preco_final_3?: number;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
portes_1?: number;
|
|
35
|
+
portes_2?: number;
|
|
36
|
+
portes_3?: number;
|
|
37
37
|
preco_custo_1?: number;
|
|
38
38
|
preco_custo_2?: number;
|
|
39
39
|
preco_custo_3?: number;
|
|
@@ -11,15 +11,15 @@ var createBodyKeys = {
|
|
|
11
11
|
vat_tax_id: joi_1.default.string().uuid().required(),
|
|
12
12
|
designation: joi_1.default.string().required(),
|
|
13
13
|
width: joi_1.default.number().required(),
|
|
14
|
-
preco_final_1: joi_1.default.number().positive().optional(),
|
|
15
|
-
preco_final_2: joi_1.default.number().positive().optional(),
|
|
16
|
-
preco_final_3: joi_1.default.number().positive().optional(),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
preco_custo_1: joi_1.default.number().positive().optional(),
|
|
21
|
-
preco_custo_2: joi_1.default.number().positive().optional(),
|
|
22
|
-
preco_custo_3: joi_1.default.number().positive().optional(),
|
|
14
|
+
preco_final_1: joi_1.default.number().positive().allow(0).optional(),
|
|
15
|
+
preco_final_2: joi_1.default.number().positive().allow(0).optional(),
|
|
16
|
+
preco_final_3: joi_1.default.number().positive().allow(0).optional(),
|
|
17
|
+
portes_1: joi_1.default.number().positive().allow(0).optional(),
|
|
18
|
+
portes_2: joi_1.default.number().positive().allow(0).optional(),
|
|
19
|
+
portes_3: joi_1.default.number().positive().allow(0).optional(),
|
|
20
|
+
preco_custo_1: joi_1.default.number().positive().allow(0).optional(),
|
|
21
|
+
preco_custo_2: joi_1.default.number().positive().allow(0).optional(),
|
|
22
|
+
preco_custo_3: joi_1.default.number().positive().allow(0).optional(),
|
|
23
23
|
observacoes_1: joi_1.default.string().optional(),
|
|
24
24
|
observacoes_2: joi_1.default.string().optional(),
|
|
25
25
|
observacoes_3: joi_1.default.string().optional(),
|
|
@@ -32,9 +32,9 @@ var updateBodyKeys = {
|
|
|
32
32
|
preco_final_1: joi_1.default.number().positive().optional(),
|
|
33
33
|
preco_final_2: joi_1.default.number().positive().optional(),
|
|
34
34
|
preco_final_3: joi_1.default.number().positive().optional(),
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
portes_1: joi_1.default.number().positive().optional(),
|
|
36
|
+
portes_2: joi_1.default.number().positive().optional(),
|
|
37
|
+
portes_3: joi_1.default.number().positive().optional(),
|
|
38
38
|
preco_custo_1: joi_1.default.number().positive().optional(),
|
|
39
39
|
preco_custo_2: joi_1.default.number().positive().optional(),
|
|
40
40
|
preco_custo_3: joi_1.default.number().positive().optional(),
|
|
@@ -244,15 +244,18 @@ export type CabideProduct = {
|
|
|
244
244
|
largura: number | null;
|
|
245
245
|
tax: number | null;
|
|
246
246
|
composicao: string | null;
|
|
247
|
+
portes_1: number | null;
|
|
247
248
|
preco_custo_1: number | null;
|
|
248
249
|
preco_final_1: number | null;
|
|
249
250
|
preco_venda_1: number | null;
|
|
250
251
|
observacoes_1: string | null;
|
|
252
|
+
portes_2: number | null;
|
|
251
253
|
preco_custo_2: number | null;
|
|
252
254
|
preco_final_2: number | null;
|
|
253
255
|
preco_venda_2: number | null;
|
|
254
256
|
observacoes_2: string | null;
|
|
255
257
|
preco_custo_3: number | null;
|
|
258
|
+
portes_3: number | null;
|
|
256
259
|
preco_final_3: number | null;
|
|
257
260
|
preco_venda_3: number | null;
|
|
258
261
|
observacoes_3: string | null;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.10.
|
|
12
|
+
"version": "0.10.38",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
43
43
|
"@typescript-eslint/parser": "^6.8.0",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
45
|
-
"eslint": "^8.
|
|
45
|
+
"eslint": "^8.52.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
47
|
"eslint-config-prettier": "^9.0.0",
|
|
48
48
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
49
|
-
"eslint-plugin-import": "^2.
|
|
49
|
+
"eslint-plugin-import": "^2.29.0",
|
|
50
50
|
"eslint-plugin-prettier": "^5.0.1",
|
|
51
51
|
"prettier": "^3.0.3",
|
|
52
52
|
"tsx": "^3.14.0",
|