mdz-enum 1.5.21 → 1.5.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.
Files changed (40) hide show
  1. package/README.MD +7 -7
  2. package/dist/checkout/index.d.ts +28 -28
  3. package/dist/checkout/index.js +83 -83
  4. package/dist/commercial/index.d.ts +227 -227
  5. package/dist/commercial/index.js +549 -549
  6. package/dist/common/index.d.ts +47 -47
  7. package/dist/common/index.js +137 -137
  8. package/dist/config/index.d.ts +166 -138
  9. package/dist/config/index.js +478 -395
  10. package/dist/finance/index.d.ts +164 -164
  11. package/dist/finance/index.js +425 -425
  12. package/dist/fiscal/index.d.ts +468 -468
  13. package/dist/fiscal/index.js +1165 -1165
  14. package/dist/functions.d.ts +11 -11
  15. package/dist/functions.js +74 -74
  16. package/dist/general/index.d.ts +257 -257
  17. package/dist/general/index.js +489 -489
  18. package/dist/index.d.ts +14 -14
  19. package/dist/index.js +208 -208
  20. package/dist/integration/index.d.ts +19 -19
  21. package/dist/integration/index.js +57 -57
  22. package/dist/logistics/index.d.ts +124 -124
  23. package/dist/logistics/index.js +359 -359
  24. package/dist/marketplace/templates/components/index.d.ts +158 -158
  25. package/dist/marketplace/templates/components/index.js +171 -171
  26. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  27. package/dist/marketplace/templates/elements/index.js +35 -35
  28. package/dist/marketplace/templates/index.d.ts +292 -295
  29. package/dist/marketplace/templates/index.js +40 -40
  30. package/dist/marketplace/templates/pages/index.d.ts +140 -140
  31. package/dist/marketplace/templates/pages/index.js +310 -310
  32. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  33. package/dist/marketplace/templates/reference/index.js +18 -18
  34. package/dist/people/index.d.ts +36 -36
  35. package/dist/people/index.js +105 -105
  36. package/dist/platform/index.d.ts +189 -189
  37. package/dist/platform/index.js +548 -548
  38. package/dist/reports/index.d.ts +49 -49
  39. package/dist/reports/index.js +145 -145
  40. package/package.json +33 -32
@@ -1,49 +1,49 @@
1
- export declare const TipoRelatorio: {
2
- Resumido: string;
3
- Detalhado: string;
4
- description(val: string): "enum not found" | "Resumido" | "Detalhado";
5
- };
6
- export declare const AgrupamentoRelatorio: {
7
- Cliente: string;
8
- Data: string;
9
- Produto: string;
10
- Documento: string;
11
- Vendedor: string;
12
- Categoria: string;
13
- Marca: string;
14
- Filial: string;
15
- PlanoConta: string;
16
- CentroCusto: string;
17
- Preco: string;
18
- Operacao: string;
19
- MeioPagamento: string;
20
- description(val: string): "enum not found" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento";
21
- };
22
- export declare const AgrupamentoRelatoriosProdutos: {
23
- Produto: string;
24
- Categoria: string;
25
- Marca: string;
26
- UnidadeMedida: string;
27
- CenarioFiscal: string;
28
- NCM: string;
29
- Filial: string;
30
- EnderecoEstoque: string;
31
- InventarioP7: string;
32
- description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Endereço de Estoque" | "Inventário P7";
33
- };
34
- export declare const TipoPreco: {
35
- Compra: string;
36
- CompraMedio: string;
37
- Custo: string;
38
- CustoMedio: string;
39
- Venda: string;
40
- VendaAtacado: string;
41
- description(val: string): "enum not found" | "Venda" | "Compra" | "Compra médio" | "Custo" | "Custo médio" | "Venda atacado";
42
- };
43
- export declare const AgrupamentoRelatorioPessoas: {
44
- Pessoa: string;
45
- Tipo: string;
46
- Classificacao: string;
47
- Cidade: string;
48
- description(val: string): "enum not found" | "Pessoa" | "Tipo" | "Classificação" | "Cidade";
49
- };
1
+ export declare const TipoRelatorio: {
2
+ Resumido: string;
3
+ Detalhado: string;
4
+ description(val: string): "enum not found" | "Resumido" | "Detalhado";
5
+ };
6
+ export declare const AgrupamentoRelatorio: {
7
+ Cliente: string;
8
+ Data: string;
9
+ Produto: string;
10
+ Documento: string;
11
+ Vendedor: string;
12
+ Categoria: string;
13
+ Marca: string;
14
+ Filial: string;
15
+ PlanoConta: string;
16
+ CentroCusto: string;
17
+ Preco: string;
18
+ Operacao: string;
19
+ MeioPagamento: string;
20
+ description(val: string): "enum not found" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento";
21
+ };
22
+ export declare const AgrupamentoRelatoriosProdutos: {
23
+ Produto: string;
24
+ Categoria: string;
25
+ Marca: string;
26
+ UnidadeMedida: string;
27
+ CenarioFiscal: string;
28
+ NCM: string;
29
+ Filial: string;
30
+ EnderecoEstoque: string;
31
+ InventarioP7: string;
32
+ description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Endereço de Estoque" | "Inventário P7";
33
+ };
34
+ export declare const TipoPreco: {
35
+ Compra: string;
36
+ CompraMedio: string;
37
+ Custo: string;
38
+ CustoMedio: string;
39
+ Venda: string;
40
+ VendaAtacado: string;
41
+ description(val: string): "enum not found" | "Venda" | "Compra" | "Compra médio" | "Custo" | "Custo médio" | "Venda atacado";
42
+ };
43
+ export declare const AgrupamentoRelatorioPessoas: {
44
+ Pessoa: string;
45
+ Tipo: string;
46
+ Classificacao: string;
47
+ Cidade: string;
48
+ description(val: string): "enum not found" | "Pessoa" | "Tipo" | "Classificação" | "Cidade";
49
+ };
@@ -1,145 +1,145 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = 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
- Preco: '11',
30
- Operacao: '12',
31
- MeioPagamento: '13',
32
- description(val) {
33
- switch (val) {
34
- case this.Cliente:
35
- return 'Cliente';
36
- case this.Data:
37
- return 'Data';
38
- case this.Produto:
39
- return 'Produto';
40
- case this.Documento:
41
- return 'Documento';
42
- case this.Vendedor:
43
- return 'Vendedor';
44
- case this.Categoria:
45
- return 'Categoria';
46
- case this.Marca:
47
- return 'Marca';
48
- case this.Filial:
49
- return 'Filial';
50
- case this.PlanoConta:
51
- return 'Plano de Contas';
52
- case this.CentroCusto:
53
- return 'Centro de Custo';
54
- case this.Preco:
55
- return 'Preço';
56
- case this.Operacao:
57
- return 'Operação';
58
- case this.MeioPagamento:
59
- return 'Meio de Pagamento';
60
- default:
61
- return 'enum not found';
62
- }
63
- },
64
- };
65
- exports.AgrupamentoRelatoriosProdutos = {
66
- Produto: '1',
67
- Categoria: '2',
68
- Marca: '3',
69
- UnidadeMedida: '4',
70
- CenarioFiscal: '5',
71
- NCM: '6',
72
- Filial: '7',
73
- EnderecoEstoque: '8',
74
- InventarioP7: '9',
75
- description(val) {
76
- switch (val) {
77
- case this.Produto:
78
- return 'Produto';
79
- case this.Categoria:
80
- return 'Categoria';
81
- case this.Marca:
82
- return 'Marca';
83
- case this.UnidadeMedida:
84
- return 'Unidade de Medida';
85
- case this.CenarioFiscal:
86
- return 'Cenário Fiscal';
87
- case this.NCM:
88
- return 'NCM';
89
- case this.Filial:
90
- return 'Filial';
91
- case this.EnderecoEstoque:
92
- return 'Endereço de Estoque';
93
- case this.InventarioP7:
94
- return 'Inventário P7';
95
- default:
96
- return 'enum not found';
97
- }
98
- },
99
- };
100
- exports.TipoPreco = {
101
- Compra: '1',
102
- CompraMedio: '2',
103
- Custo: '3',
104
- CustoMedio: '4',
105
- Venda: '5',
106
- VendaAtacado: '6',
107
- description(val) {
108
- switch (val) {
109
- case this.Compra:
110
- return 'Compra';
111
- case this.CompraMedio:
112
- return 'Compra médio';
113
- case this.Custo:
114
- return 'Custo';
115
- case this.CustoMedio:
116
- return 'Custo médio';
117
- case this.Venda:
118
- return 'Venda';
119
- case this.VendaAtacado:
120
- return 'Venda atacado';
121
- default:
122
- return 'enum not found';
123
- }
124
- },
125
- };
126
- exports.AgrupamentoRelatorioPessoas = {
127
- Pessoa: '0',
128
- Tipo: '1',
129
- Classificacao: '2',
130
- Cidade: '3',
131
- description(val) {
132
- switch (val) {
133
- case this.Pessoa:
134
- return 'Pessoa';
135
- case this.Tipo:
136
- return 'Tipo';
137
- case this.Classificacao:
138
- return 'Classificação';
139
- case this.Cidade:
140
- return 'Cidade';
141
- default:
142
- return 'enum not found';
143
- }
144
- },
145
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = 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
+ Preco: '11',
30
+ Operacao: '12',
31
+ MeioPagamento: '13',
32
+ description(val) {
33
+ switch (val) {
34
+ case this.Cliente:
35
+ return 'Cliente';
36
+ case this.Data:
37
+ return 'Data';
38
+ case this.Produto:
39
+ return 'Produto';
40
+ case this.Documento:
41
+ return 'Documento';
42
+ case this.Vendedor:
43
+ return 'Vendedor';
44
+ case this.Categoria:
45
+ return 'Categoria';
46
+ case this.Marca:
47
+ return 'Marca';
48
+ case this.Filial:
49
+ return 'Filial';
50
+ case this.PlanoConta:
51
+ return 'Plano de Contas';
52
+ case this.CentroCusto:
53
+ return 'Centro de Custo';
54
+ case this.Preco:
55
+ return 'Preço';
56
+ case this.Operacao:
57
+ return 'Operação';
58
+ case this.MeioPagamento:
59
+ return 'Meio de Pagamento';
60
+ default:
61
+ return 'enum not found';
62
+ }
63
+ },
64
+ };
65
+ exports.AgrupamentoRelatoriosProdutos = {
66
+ Produto: '1',
67
+ Categoria: '2',
68
+ Marca: '3',
69
+ UnidadeMedida: '4',
70
+ CenarioFiscal: '5',
71
+ NCM: '6',
72
+ Filial: '7',
73
+ EnderecoEstoque: '8',
74
+ InventarioP7: '9',
75
+ description(val) {
76
+ switch (val) {
77
+ case this.Produto:
78
+ return 'Produto';
79
+ case this.Categoria:
80
+ return 'Categoria';
81
+ case this.Marca:
82
+ return 'Marca';
83
+ case this.UnidadeMedida:
84
+ return 'Unidade de Medida';
85
+ case this.CenarioFiscal:
86
+ return 'Cenário Fiscal';
87
+ case this.NCM:
88
+ return 'NCM';
89
+ case this.Filial:
90
+ return 'Filial';
91
+ case this.EnderecoEstoque:
92
+ return 'Endereço de Estoque';
93
+ case this.InventarioP7:
94
+ return 'Inventário P7';
95
+ default:
96
+ return 'enum not found';
97
+ }
98
+ },
99
+ };
100
+ exports.TipoPreco = {
101
+ Compra: '1',
102
+ CompraMedio: '2',
103
+ Custo: '3',
104
+ CustoMedio: '4',
105
+ Venda: '5',
106
+ VendaAtacado: '6',
107
+ description(val) {
108
+ switch (val) {
109
+ case this.Compra:
110
+ return 'Compra';
111
+ case this.CompraMedio:
112
+ return 'Compra médio';
113
+ case this.Custo:
114
+ return 'Custo';
115
+ case this.CustoMedio:
116
+ return 'Custo médio';
117
+ case this.Venda:
118
+ return 'Venda';
119
+ case this.VendaAtacado:
120
+ return 'Venda atacado';
121
+ default:
122
+ return 'enum not found';
123
+ }
124
+ },
125
+ };
126
+ exports.AgrupamentoRelatorioPessoas = {
127
+ Pessoa: '0',
128
+ Tipo: '1',
129
+ Classificacao: '2',
130
+ Cidade: '3',
131
+ description(val) {
132
+ switch (val) {
133
+ case this.Pessoa:
134
+ return 'Pessoa';
135
+ case this.Tipo:
136
+ return 'Tipo';
137
+ case this.Classificacao:
138
+ return 'Classificação';
139
+ case this.Cidade:
140
+ return 'Cidade';
141
+ default:
142
+ return 'enum not found';
143
+ }
144
+ },
145
+ };
package/package.json CHANGED
@@ -1,32 +1,33 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.5.21",
4
- "description": "Enumerados ModerShop",
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
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.5.22",
4
+ "description": "Enumerados ModerShop",
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
+