mdz-enum 1.7.9 → 1.7.12

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 (45) hide show
  1. package/dist/checkout/index.d.ts +33 -33
  2. package/dist/checkout/index.js +97 -97
  3. package/dist/commercial/index.d.ts +254 -254
  4. package/dist/commercial/index.js +627 -627
  5. package/dist/common/index.d.ts +71 -71
  6. package/dist/common/index.js +205 -205
  7. package/dist/config/index.d.ts +217 -217
  8. package/dist/config/index.js +669 -669
  9. package/dist/eva/index.d.ts +164 -164
  10. package/dist/eva/index.js +233 -233
  11. package/dist/finance/index.d.ts +241 -241
  12. package/dist/finance/index.js +731 -731
  13. package/dist/fiscal/index.d.ts +612 -578
  14. package/dist/fiscal/index.js +1593 -1494
  15. package/dist/functions.d.ts +11 -11
  16. package/dist/functions.js +74 -74
  17. package/dist/general/index.d.ts +265 -265
  18. package/dist/general/index.js +512 -512
  19. package/dist/home/index.d.ts +88 -88
  20. package/dist/home/index.js +268 -268
  21. package/dist/index.d.ts +17 -17
  22. package/dist/index.js +311 -297
  23. package/dist/integration/index.d.ts +37 -37
  24. package/dist/integration/index.js +109 -109
  25. package/dist/logistics/index.d.ts +281 -281
  26. package/dist/logistics/index.js +807 -807
  27. package/dist/marketplace/templates/components/index.d.ts +352 -352
  28. package/dist/marketplace/templates/components/index.js +383 -383
  29. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  30. package/dist/marketplace/templates/elements/index.js +35 -35
  31. package/dist/marketplace/templates/index.d.ts +592 -589
  32. package/dist/marketplace/templates/index.js +49 -49
  33. package/dist/marketplace/templates/pages/index.d.ts +254 -254
  34. package/dist/marketplace/templates/pages/index.js +443 -443
  35. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  36. package/dist/marketplace/templates/reference/index.js +26 -26
  37. package/dist/people/index.d.ts +66 -66
  38. package/dist/people/index.js +192 -192
  39. package/dist/platform/index.d.ts +321 -221
  40. package/dist/platform/index.js +936 -641
  41. package/dist/reports/index.d.ts +107 -107
  42. package/dist/reports/index.js +313 -313
  43. package/dist/service/index.d.ts +28 -28
  44. package/dist/service/index.js +97 -97
  45. package/package.json +31 -31
@@ -1,24 +1,24 @@
1
- /**
2
- * Referencia de configuracao da aparencia (themes)
3
- */
4
- declare const APPEARANCE_REFERENCE: {
5
- /** Cor primaria */
6
- PRIMARY_COLOR: {
7
- KEY: string;
8
- DEFAULT: string;
9
- };
10
- /** Cor secundaria */
11
- SECONDARY_COLOR: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- PRIMARY_TEXT_COLOR: {
16
- KEY: string;
17
- DEFAULT: string;
18
- };
19
- SECONDARY_TEXT_COLOR: {
20
- KEY: string;
21
- DEFAULT: string;
22
- };
23
- };
24
- export default APPEARANCE_REFERENCE;
1
+ /**
2
+ * Referencia de configuracao da aparencia (themes)
3
+ */
4
+ declare const APPEARANCE_REFERENCE: {
5
+ /** Cor primaria */
6
+ PRIMARY_COLOR: {
7
+ KEY: string;
8
+ DEFAULT: string;
9
+ };
10
+ /** Cor secundaria */
11
+ SECONDARY_COLOR: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ PRIMARY_TEXT_COLOR: {
16
+ KEY: string;
17
+ DEFAULT: string;
18
+ };
19
+ SECONDARY_TEXT_COLOR: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ };
23
+ };
24
+ export default APPEARANCE_REFERENCE;
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Referencia de configuracao da aparencia (themes)
5
- */
6
- const APPEARANCE_REFERENCE = {
7
- /** Cor primaria */
8
- PRIMARY_COLOR: {
9
- KEY: 'color_primary',
10
- DEFAULT: '#8854D0',
11
- },
12
- /** Cor secundaria */
13
- SECONDARY_COLOR: {
14
- KEY: 'color_secondary',
15
- DEFAULT: '#000000',
16
- },
17
- PRIMARY_TEXT_COLOR: {
18
- KEY: 'color_primary_text',
19
- DEFAULT: '#ffffff',
20
- },
21
- SECONDARY_TEXT_COLOR: {
22
- KEY: 'color_secondary_text',
23
- DEFAULT: '#ffffff',
24
- },
25
- };
26
- exports.default = APPEARANCE_REFERENCE;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Referencia de configuracao da aparencia (themes)
5
+ */
6
+ const APPEARANCE_REFERENCE = {
7
+ /** Cor primaria */
8
+ PRIMARY_COLOR: {
9
+ KEY: 'color_primary',
10
+ DEFAULT: '#8854D0',
11
+ },
12
+ /** Cor secundaria */
13
+ SECONDARY_COLOR: {
14
+ KEY: 'color_secondary',
15
+ DEFAULT: '#000000',
16
+ },
17
+ PRIMARY_TEXT_COLOR: {
18
+ KEY: 'color_primary_text',
19
+ DEFAULT: '#ffffff',
20
+ },
21
+ SECONDARY_TEXT_COLOR: {
22
+ KEY: 'color_secondary_text',
23
+ DEFAULT: '#ffffff',
24
+ },
25
+ };
26
+ exports.default = APPEARANCE_REFERENCE;
@@ -1,66 +1,66 @@
1
- export declare const TipoEndereco: {
2
- Residencial: string;
3
- Comercial: string;
4
- description(val: string): "Comercial" | "Residencial" | "enum not found";
5
- };
6
- export declare const TipoPessoa: {
7
- Fisico: string;
8
- Juridico: string;
9
- description(val: string): "Físico" | "Jurídico" | "enum not found";
10
- };
11
- export declare const GeneroPessoa: {
12
- Masculino: string;
13
- Feminino: string;
14
- description(val: string): "Feminino" | "Masculino" | "enum not found";
15
- };
16
- export declare const TipoOperacaoPessoaContaCorrente: {
17
- DevolucaoVenda: string;
18
- CompraNotaFiscal: string;
19
- EstornoSaldoUsado: string;
20
- EstornoSaldoGerado: string;
21
- Cashback: string;
22
- CompraValeCredito: string;
23
- description(val: string): "Cashback" | "Compra" | "Compra de Vale Crédito" | "Devolução de Venda" | "Estorno de Saldo Gerado" | "Estorno de saldo usado" | "enum not found";
24
- };
25
- export declare const TipoLancamentoValeCredito: {
26
- Compra: string;
27
- Venda: string;
28
- CancelamentoVenda: string;
29
- Cancelamento: string;
30
- description(val: string): "Cancelado" | "Compra" | "Venda" | "Venda Cancelada" | "enum not found";
31
- };
32
- export declare const SituacaoValeCredito: {
33
- Aberto: string;
34
- Encerrado: string;
35
- Cancelado: string;
36
- description(val: string): "Aberto" | "Cancelado" | "Encerrado" | "enum not found";
37
- };
38
- export declare const TipoPessoaClassificacao: {
39
- Cliente: string;
40
- ConsumidorFinal: string;
41
- Fornecedor: string;
42
- Contador: string;
43
- Transportadora: string;
44
- description(val: string): "Cliente" | "Consumidor Final" | "Contador" | "Fornecedor" | "Transportadora" | "enum not found";
45
- };
46
- export declare const TipoDataPessoa: {
47
- DataCadastro: string;
48
- DataAlteracao: string;
49
- DataAniversario: string;
50
- description(val: string): "Data de Alteração" | "Data de Aniversário" | "Data de Cadastro" | "enum not found";
51
- };
52
- export declare const OrigemPessoa: {
53
- Erp: string;
54
- Ecommerce: string;
55
- Pedido: string;
56
- PDV: string;
57
- Marketplace: string;
58
- Indicacao: string;
59
- Instagram: string;
60
- WhatsApp: string;
61
- Facebook: string;
62
- Radio: string;
63
- CarroDeSom: string;
64
- Integracao: string;
65
- description(val: string): "Carro de Som" | "E-commerce" | "ERP" | "Facebook" | "Indicação" | "Instagram" | "Integração" | "Marketplace" | "PDV" | "Pedido" | "Rádio" | "WhatsApp" | "enum not found";
66
- };
1
+ export declare const TipoEndereco: {
2
+ Residencial: string;
3
+ Comercial: string;
4
+ description(val: string): "enum not found" | "Residencial" | "Comercial";
5
+ };
6
+ export declare const TipoPessoa: {
7
+ Fisico: string;
8
+ Juridico: string;
9
+ description(val: string): "enum not found" | "Físico" | "Jurídico";
10
+ };
11
+ export declare const GeneroPessoa: {
12
+ Masculino: string;
13
+ Feminino: string;
14
+ description(val: string): "enum not found" | "Masculino" | "Feminino";
15
+ };
16
+ export declare const TipoOperacaoPessoaContaCorrente: {
17
+ DevolucaoVenda: string;
18
+ CompraNotaFiscal: string;
19
+ EstornoSaldoUsado: string;
20
+ EstornoSaldoGerado: string;
21
+ Cashback: string;
22
+ CompraValeCredito: string;
23
+ description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Cashback" | "Estorno de saldo usado" | "Estorno de Saldo Gerado" | "Compra de Vale Crédito";
24
+ };
25
+ export declare const TipoLancamentoValeCredito: {
26
+ Compra: string;
27
+ Venda: string;
28
+ CancelamentoVenda: string;
29
+ Cancelamento: string;
30
+ description(val: string): "enum not found" | "Venda" | "Compra" | "Cancelado" | "Venda Cancelada";
31
+ };
32
+ export declare const SituacaoValeCredito: {
33
+ Aberto: string;
34
+ Encerrado: string;
35
+ Cancelado: string;
36
+ description(val: string): "enum not found" | "Cancelado" | "Aberto" | "Encerrado";
37
+ };
38
+ export declare const TipoPessoaClassificacao: {
39
+ Cliente: string;
40
+ ConsumidorFinal: string;
41
+ Fornecedor: string;
42
+ Contador: string;
43
+ Transportadora: string;
44
+ description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
45
+ };
46
+ export declare const TipoDataPessoa: {
47
+ DataCadastro: string;
48
+ DataAlteracao: string;
49
+ DataAniversario: string;
50
+ description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Aniversário";
51
+ };
52
+ export declare const OrigemPessoa: {
53
+ Erp: string;
54
+ Ecommerce: string;
55
+ Pedido: string;
56
+ PDV: string;
57
+ Marketplace: string;
58
+ Indicacao: string;
59
+ Instagram: string;
60
+ WhatsApp: string;
61
+ Facebook: string;
62
+ Radio: string;
63
+ CarroDeSom: string;
64
+ Integracao: string;
65
+ description(val: string): "enum not found" | "Pedido" | "PDV" | "Integração" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook" | "Rádio" | "Carro de Som";
66
+ };
@@ -1,192 +1,192 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrigemPessoa = exports.TipoDataPessoa = exports.TipoPessoaClassificacao = exports.SituacaoValeCredito = exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
4
- exports.TipoEndereco = {
5
- Residencial: '0',
6
- Comercial: '1',
7
- description(val) {
8
- switch (val) {
9
- case this.Residencial:
10
- return 'Residencial';
11
- case this.Comercial:
12
- return 'Comercial';
13
- default:
14
- return 'enum not found';
15
- }
16
- },
17
- };
18
- exports.TipoPessoa = {
19
- Fisico: '0',
20
- Juridico: '1',
21
- description(val) {
22
- switch (val) {
23
- case this.Fisico:
24
- return 'Físico';
25
- case this.Juridico:
26
- return 'Jurídico';
27
- default:
28
- return 'enum not found';
29
- }
30
- },
31
- };
32
- exports.GeneroPessoa = {
33
- Masculino: '0',
34
- Feminino: '1',
35
- description(val) {
36
- switch (val) {
37
- case this.Masculino:
38
- return 'Masculino';
39
- case this.Feminino:
40
- return 'Feminino';
41
- default:
42
- return 'enum not found';
43
- }
44
- },
45
- };
46
- exports.TipoOperacaoPessoaContaCorrente = {
47
- DevolucaoVenda: '0',
48
- CompraNotaFiscal: '1',
49
- EstornoSaldoUsado: '2',
50
- EstornoSaldoGerado: '3',
51
- Cashback: '4',
52
- CompraValeCredito: '5',
53
- description(val) {
54
- switch (val) {
55
- case this.DevolucaoVenda:
56
- return 'Devolução de Venda';
57
- case this.CompraNotaFiscal:
58
- return 'Compra';
59
- case this.EstornoSaldoUsado:
60
- return 'Estorno de saldo usado';
61
- case this.EstornoSaldoGerado:
62
- return 'Estorno de Saldo Gerado';
63
- case this.Cashback:
64
- return 'Cashback';
65
- case this.CompraValeCredito:
66
- return 'Compra de Vale Crédito';
67
- default:
68
- return 'enum not found';
69
- }
70
- },
71
- };
72
- exports.TipoLancamentoValeCredito = {
73
- Compra: '0',
74
- Venda: '1',
75
- CancelamentoVenda: '2',
76
- Cancelamento: '3',
77
- description(val) {
78
- switch (val) {
79
- case this.Compra:
80
- return 'Compra';
81
- case this.Venda:
82
- return 'Venda';
83
- case this.CancelamentoVenda:
84
- return 'Venda Cancelada';
85
- case this.Cancelamento:
86
- return 'Cancelado';
87
- default:
88
- return 'enum not found';
89
- }
90
- },
91
- };
92
- exports.SituacaoValeCredito = {
93
- Aberto: '0',
94
- Encerrado: '1',
95
- Cancelado: '2',
96
- description(val) {
97
- switch (val) {
98
- case this.Aberto:
99
- return 'Aberto';
100
- case this.Encerrado:
101
- return 'Encerrado';
102
- case this.Cancelado:
103
- return 'Cancelado';
104
- default:
105
- return 'enum not found';
106
- }
107
- },
108
- };
109
- exports.TipoPessoaClassificacao = {
110
- Cliente: '0',
111
- ConsumidorFinal: '1',
112
- Fornecedor: '2',
113
- Contador: '3',
114
- Transportadora: '4',
115
- description(val) {
116
- switch (val) {
117
- case this.Cliente:
118
- return 'Cliente';
119
- case this.ConsumidorFinal:
120
- return 'Consumidor Final';
121
- case this.Fornecedor:
122
- return 'Fornecedor';
123
- case this.Contador:
124
- return 'Contador';
125
- case this.Transportadora:
126
- return 'Transportadora';
127
- default:
128
- return 'enum not found';
129
- }
130
- },
131
- };
132
- exports.TipoDataPessoa = {
133
- DataCadastro: '0',
134
- DataAlteracao: '1',
135
- DataAniversario: '2',
136
- description(val) {
137
- switch (val) {
138
- case this.DataCadastro:
139
- return 'Data de Cadastro';
140
- case this.DataAlteracao:
141
- return 'Data de Alteração';
142
- case this.DataAniversario:
143
- return 'Data de Aniversário';
144
- default:
145
- return 'enum not found';
146
- }
147
- },
148
- };
149
- exports.OrigemPessoa = {
150
- Erp: '0',
151
- Ecommerce: '1',
152
- Pedido: '2',
153
- PDV: '3',
154
- Marketplace: '4',
155
- Indicacao: '5',
156
- Instagram: '6',
157
- WhatsApp: '7',
158
- Facebook: '8',
159
- Radio: '9',
160
- CarroDeSom: '10',
161
- Integracao: '11',
162
- description(val) {
163
- switch (val) {
164
- case this.Erp:
165
- return 'ERP';
166
- case this.Ecommerce:
167
- return 'E-commerce';
168
- case this.Pedido:
169
- return 'Pedido';
170
- case this.PDV:
171
- return 'PDV';
172
- case this.Marketplace:
173
- return 'Marketplace';
174
- case this.Indicacao:
175
- return 'Indicação';
176
- case this.Instagram:
177
- return 'Instagram';
178
- case this.WhatsApp:
179
- return 'WhatsApp';
180
- case this.Facebook:
181
- return 'Facebook';
182
- case this.Radio:
183
- return 'Rádio';
184
- case this.CarroDeSom:
185
- return 'Carro de Som';
186
- case this.Integracao:
187
- return 'Integração';
188
- default:
189
- return 'enum not found';
190
- }
191
- },
192
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrigemPessoa = exports.TipoDataPessoa = exports.TipoPessoaClassificacao = exports.SituacaoValeCredito = exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
4
+ exports.TipoEndereco = {
5
+ Residencial: '0',
6
+ Comercial: '1',
7
+ description(val) {
8
+ switch (val) {
9
+ case this.Residencial:
10
+ return 'Residencial';
11
+ case this.Comercial:
12
+ return 'Comercial';
13
+ default:
14
+ return 'enum not found';
15
+ }
16
+ },
17
+ };
18
+ exports.TipoPessoa = {
19
+ Fisico: '0',
20
+ Juridico: '1',
21
+ description(val) {
22
+ switch (val) {
23
+ case this.Fisico:
24
+ return 'Físico';
25
+ case this.Juridico:
26
+ return 'Jurídico';
27
+ default:
28
+ return 'enum not found';
29
+ }
30
+ },
31
+ };
32
+ exports.GeneroPessoa = {
33
+ Masculino: '0',
34
+ Feminino: '1',
35
+ description(val) {
36
+ switch (val) {
37
+ case this.Masculino:
38
+ return 'Masculino';
39
+ case this.Feminino:
40
+ return 'Feminino';
41
+ default:
42
+ return 'enum not found';
43
+ }
44
+ },
45
+ };
46
+ exports.TipoOperacaoPessoaContaCorrente = {
47
+ DevolucaoVenda: '0',
48
+ CompraNotaFiscal: '1',
49
+ EstornoSaldoUsado: '2',
50
+ EstornoSaldoGerado: '3',
51
+ Cashback: '4',
52
+ CompraValeCredito: '5',
53
+ description(val) {
54
+ switch (val) {
55
+ case this.DevolucaoVenda:
56
+ return 'Devolução de Venda';
57
+ case this.CompraNotaFiscal:
58
+ return 'Compra';
59
+ case this.EstornoSaldoUsado:
60
+ return 'Estorno de saldo usado';
61
+ case this.EstornoSaldoGerado:
62
+ return 'Estorno de Saldo Gerado';
63
+ case this.Cashback:
64
+ return 'Cashback';
65
+ case this.CompraValeCredito:
66
+ return 'Compra de Vale Crédito';
67
+ default:
68
+ return 'enum not found';
69
+ }
70
+ },
71
+ };
72
+ exports.TipoLancamentoValeCredito = {
73
+ Compra: '0',
74
+ Venda: '1',
75
+ CancelamentoVenda: '2',
76
+ Cancelamento: '3',
77
+ description(val) {
78
+ switch (val) {
79
+ case this.Compra:
80
+ return 'Compra';
81
+ case this.Venda:
82
+ return 'Venda';
83
+ case this.CancelamentoVenda:
84
+ return 'Venda Cancelada';
85
+ case this.Cancelamento:
86
+ return 'Cancelado';
87
+ default:
88
+ return 'enum not found';
89
+ }
90
+ },
91
+ };
92
+ exports.SituacaoValeCredito = {
93
+ Aberto: '0',
94
+ Encerrado: '1',
95
+ Cancelado: '2',
96
+ description(val) {
97
+ switch (val) {
98
+ case this.Aberto:
99
+ return 'Aberto';
100
+ case this.Encerrado:
101
+ return 'Encerrado';
102
+ case this.Cancelado:
103
+ return 'Cancelado';
104
+ default:
105
+ return 'enum not found';
106
+ }
107
+ },
108
+ };
109
+ exports.TipoPessoaClassificacao = {
110
+ Cliente: '0',
111
+ ConsumidorFinal: '1',
112
+ Fornecedor: '2',
113
+ Contador: '3',
114
+ Transportadora: '4',
115
+ description(val) {
116
+ switch (val) {
117
+ case this.Cliente:
118
+ return 'Cliente';
119
+ case this.ConsumidorFinal:
120
+ return 'Consumidor Final';
121
+ case this.Fornecedor:
122
+ return 'Fornecedor';
123
+ case this.Contador:
124
+ return 'Contador';
125
+ case this.Transportadora:
126
+ return 'Transportadora';
127
+ default:
128
+ return 'enum not found';
129
+ }
130
+ },
131
+ };
132
+ exports.TipoDataPessoa = {
133
+ DataCadastro: '0',
134
+ DataAlteracao: '1',
135
+ DataAniversario: '2',
136
+ description(val) {
137
+ switch (val) {
138
+ case this.DataCadastro:
139
+ return 'Data de Cadastro';
140
+ case this.DataAlteracao:
141
+ return 'Data de Alteração';
142
+ case this.DataAniversario:
143
+ return 'Data de Aniversário';
144
+ default:
145
+ return 'enum not found';
146
+ }
147
+ },
148
+ };
149
+ exports.OrigemPessoa = {
150
+ Erp: '0',
151
+ Ecommerce: '1',
152
+ Pedido: '2',
153
+ PDV: '3',
154
+ Marketplace: '4',
155
+ Indicacao: '5',
156
+ Instagram: '6',
157
+ WhatsApp: '7',
158
+ Facebook: '8',
159
+ Radio: '9',
160
+ CarroDeSom: '10',
161
+ Integracao: '11',
162
+ description(val) {
163
+ switch (val) {
164
+ case this.Erp:
165
+ return 'ERP';
166
+ case this.Ecommerce:
167
+ return 'E-commerce';
168
+ case this.Pedido:
169
+ return 'Pedido';
170
+ case this.PDV:
171
+ return 'PDV';
172
+ case this.Marketplace:
173
+ return 'Marketplace';
174
+ case this.Indicacao:
175
+ return 'Indicação';
176
+ case this.Instagram:
177
+ return 'Instagram';
178
+ case this.WhatsApp:
179
+ return 'WhatsApp';
180
+ case this.Facebook:
181
+ return 'Facebook';
182
+ case this.Radio:
183
+ return 'Rádio';
184
+ case this.CarroDeSom:
185
+ return 'Carro de Som';
186
+ case this.Integracao:
187
+ return 'Integração';
188
+ default:
189
+ return 'enum not found';
190
+ }
191
+ },
192
+ };