mdz-enum 1.2.39 → 1.2.40
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/README.MD +1 -1
- package/dist/checkout/index.d.ts +27 -27
- package/dist/checkout/index.js +80 -80
- package/dist/commercial/index.d.ts +162 -162
- package/dist/commercial/index.js +466 -466
- package/dist/common/index.d.ts +42 -42
- package/dist/common/index.js +123 -123
- package/dist/config/index.d.ts +119 -119
- package/dist/config/index.js +341 -341
- package/dist/finance/index.d.ts +113 -113
- package/dist/finance/index.js +327 -327
- package/dist/fiscal/index.d.ts +313 -308
- package/dist/fiscal/index.js +924 -910
- package/dist/functions.d.ts +4 -4
- package/dist/functions.js +37 -37
- package/dist/general/index.d.ts +73 -73
- package/dist/general/index.js +268 -268
- package/dist/index.d.ts +13 -13
- package/dist/index.js +165 -164
- package/dist/integration/index.d.ts +18 -18
- package/dist/integration/index.js +54 -54
- package/dist/logistics/index.d.ts +107 -107
- package/dist/logistics/index.js +311 -311
- package/dist/people/index.d.ts +22 -22
- package/dist/people/index.js +65 -65
- package/dist/platform/index.d.ts +102 -102
- package/dist/platform/index.js +295 -295
- package/dist/reports/index.d.ts +29 -29
- package/dist/reports/index.js +87 -87
- package/package.json +32 -33
- package/dist/plataform/index.d.ts +0 -12
- package/dist/plataform/index.js +0 -37
package/dist/reports/index.js
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
|
|
4
|
-
exports.TipoRelatorio = {
|
|
5
|
-
Resumido: '1',
|
|
6
|
-
Detalhado: '2',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Resumido:
|
|
10
|
-
return 'Resumido';
|
|
11
|
-
case this.Detalhado:
|
|
12
|
-
return 'Detalhado';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.AgrupamentoRelatorio = {
|
|
19
|
-
Cliente: '1',
|
|
20
|
-
Data: '2',
|
|
21
|
-
Produto: '3',
|
|
22
|
-
Documento: '4',
|
|
23
|
-
Vendedor: '5',
|
|
24
|
-
Categoria: '6',
|
|
25
|
-
Marca: '7',
|
|
26
|
-
Filial: '8',
|
|
27
|
-
PlanoConta: '9',
|
|
28
|
-
CentroCusto: '10',
|
|
29
|
-
description(val) {
|
|
30
|
-
switch (val) {
|
|
31
|
-
case this.Cliente:
|
|
32
|
-
return 'Cliente';
|
|
33
|
-
case this.Data:
|
|
34
|
-
return 'Data';
|
|
35
|
-
case this.Produto:
|
|
36
|
-
return 'Produto';
|
|
37
|
-
case this.Documento:
|
|
38
|
-
return 'Documento';
|
|
39
|
-
case this.Vendedor:
|
|
40
|
-
return 'Vendedor';
|
|
41
|
-
case this.Categoria:
|
|
42
|
-
return 'Categoria';
|
|
43
|
-
case this.Marca:
|
|
44
|
-
return 'Marca';
|
|
45
|
-
case this.Filial:
|
|
46
|
-
return 'Filial';
|
|
47
|
-
case this.PlanoConta:
|
|
48
|
-
return 'Plano de Contas';
|
|
49
|
-
case this.CentroCusto:
|
|
50
|
-
return 'Centro de Custo';
|
|
51
|
-
default:
|
|
52
|
-
return 'enum not found';
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
exports.AgrupamentoRelatoriosProdutos = {
|
|
57
|
-
Produto: '1',
|
|
58
|
-
Categoria: '2',
|
|
59
|
-
Marca: '3',
|
|
60
|
-
UnidadeMedida: '4',
|
|
61
|
-
CenarioFiscal: '5',
|
|
62
|
-
NCM: '6',
|
|
63
|
-
Filial: '7',
|
|
64
|
-
EnderecoEstoque: '8',
|
|
65
|
-
description(val) {
|
|
66
|
-
switch (val) {
|
|
67
|
-
case this.Produto:
|
|
68
|
-
return 'Produto';
|
|
69
|
-
case this.Categoria:
|
|
70
|
-
return 'Categoria';
|
|
71
|
-
case this.Marca:
|
|
72
|
-
return 'Marca';
|
|
73
|
-
case this.UnidadeMedida:
|
|
74
|
-
return 'Unidade de Medida';
|
|
75
|
-
case this.CenarioFiscal:
|
|
76
|
-
return 'Cenário Fiscal';
|
|
77
|
-
case this.NCM:
|
|
78
|
-
return 'NCM';
|
|
79
|
-
case this.Filial:
|
|
80
|
-
return 'Filial';
|
|
81
|
-
case this.EnderecoEstoque:
|
|
82
|
-
return 'Endereço de Estoque';
|
|
83
|
-
default:
|
|
84
|
-
return 'enum not found';
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
|
|
4
|
+
exports.TipoRelatorio = {
|
|
5
|
+
Resumido: '1',
|
|
6
|
+
Detalhado: '2',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Resumido:
|
|
10
|
+
return 'Resumido';
|
|
11
|
+
case this.Detalhado:
|
|
12
|
+
return 'Detalhado';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.AgrupamentoRelatorio = {
|
|
19
|
+
Cliente: '1',
|
|
20
|
+
Data: '2',
|
|
21
|
+
Produto: '3',
|
|
22
|
+
Documento: '4',
|
|
23
|
+
Vendedor: '5',
|
|
24
|
+
Categoria: '6',
|
|
25
|
+
Marca: '7',
|
|
26
|
+
Filial: '8',
|
|
27
|
+
PlanoConta: '9',
|
|
28
|
+
CentroCusto: '10',
|
|
29
|
+
description(val) {
|
|
30
|
+
switch (val) {
|
|
31
|
+
case this.Cliente:
|
|
32
|
+
return 'Cliente';
|
|
33
|
+
case this.Data:
|
|
34
|
+
return 'Data';
|
|
35
|
+
case this.Produto:
|
|
36
|
+
return 'Produto';
|
|
37
|
+
case this.Documento:
|
|
38
|
+
return 'Documento';
|
|
39
|
+
case this.Vendedor:
|
|
40
|
+
return 'Vendedor';
|
|
41
|
+
case this.Categoria:
|
|
42
|
+
return 'Categoria';
|
|
43
|
+
case this.Marca:
|
|
44
|
+
return 'Marca';
|
|
45
|
+
case this.Filial:
|
|
46
|
+
return 'Filial';
|
|
47
|
+
case this.PlanoConta:
|
|
48
|
+
return 'Plano de Contas';
|
|
49
|
+
case this.CentroCusto:
|
|
50
|
+
return 'Centro de Custo';
|
|
51
|
+
default:
|
|
52
|
+
return 'enum not found';
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
exports.AgrupamentoRelatoriosProdutos = {
|
|
57
|
+
Produto: '1',
|
|
58
|
+
Categoria: '2',
|
|
59
|
+
Marca: '3',
|
|
60
|
+
UnidadeMedida: '4',
|
|
61
|
+
CenarioFiscal: '5',
|
|
62
|
+
NCM: '6',
|
|
63
|
+
Filial: '7',
|
|
64
|
+
EnderecoEstoque: '8',
|
|
65
|
+
description(val) {
|
|
66
|
+
switch (val) {
|
|
67
|
+
case this.Produto:
|
|
68
|
+
return 'Produto';
|
|
69
|
+
case this.Categoria:
|
|
70
|
+
return 'Categoria';
|
|
71
|
+
case this.Marca:
|
|
72
|
+
return 'Marca';
|
|
73
|
+
case this.UnidadeMedida:
|
|
74
|
+
return 'Unidade de Medida';
|
|
75
|
+
case this.CenarioFiscal:
|
|
76
|
+
return 'Cenário Fiscal';
|
|
77
|
+
case this.NCM:
|
|
78
|
+
return 'NCM';
|
|
79
|
+
case this.Filial:
|
|
80
|
+
return 'Filial';
|
|
81
|
+
case this.EnderecoEstoque:
|
|
82
|
+
return 'Endereço de Estoque';
|
|
83
|
+
default:
|
|
84
|
+
return 'enum not found';
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
};
|
package/package.json
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Enumerados Moderniza",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"package.json",
|
|
13
|
-
"README.md"
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [],
|
|
20
|
-
"author": "willian.moderniza",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/node": "^16.9.1",
|
|
28
|
-
"ts-node": "^10.2.1",
|
|
29
|
-
"typescript": "^4.4.3"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {}
|
|
32
|
-
}
|
|
33
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.2.40",
|
|
4
|
+
"description": "Enumerados Moderniza",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"package.json",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "willian.moderniza",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "^16.9.1",
|
|
28
|
+
"ts-node": "^10.2.1",
|
|
29
|
+
"typescript": "^4.4.3"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {}
|
|
32
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const SituacaoOrganizacao: {
|
|
2
|
-
Ativo: string;
|
|
3
|
-
Bloqueado: string;
|
|
4
|
-
Cancelado: string;
|
|
5
|
-
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado";
|
|
6
|
-
};
|
|
7
|
-
export declare const TipoOrganizacao: {
|
|
8
|
-
Cliente: string;
|
|
9
|
-
Parceiro: string;
|
|
10
|
-
Entidade: string;
|
|
11
|
-
description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro";
|
|
12
|
-
};
|
package/dist/plataform/index.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoOrganizacao = exports.SituacaoOrganizacao = void 0;
|
|
4
|
-
exports.SituacaoOrganizacao = {
|
|
5
|
-
Ativo: '1',
|
|
6
|
-
Bloqueado: '2',
|
|
7
|
-
Cancelado: '3',
|
|
8
|
-
description(val) {
|
|
9
|
-
switch (val) {
|
|
10
|
-
case this.Ativo:
|
|
11
|
-
return 'Ativo';
|
|
12
|
-
case this.Bloqueado:
|
|
13
|
-
return 'Bloqueado';
|
|
14
|
-
case this.Cancelado:
|
|
15
|
-
return 'Cancelado';
|
|
16
|
-
default:
|
|
17
|
-
return 'enum not found';
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
exports.TipoOrganizacao = {
|
|
22
|
-
Cliente: '1',
|
|
23
|
-
Parceiro: '2',
|
|
24
|
-
Entidade: '3',
|
|
25
|
-
description(val) {
|
|
26
|
-
switch (val) {
|
|
27
|
-
case this.Cliente:
|
|
28
|
-
return 'Cliente';
|
|
29
|
-
case this.Entidade:
|
|
30
|
-
return 'Entidade';
|
|
31
|
-
case this.Parceiro:
|
|
32
|
-
return 'Parceiro';
|
|
33
|
-
default:
|
|
34
|
-
return 'enum not found';
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
};
|