mdz-enum 1.6.34 → 1.6.35

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 (42) hide show
  1. package/README.MD +7 -7
  2. package/dist/checkout/index.d.ts +33 -33
  3. package/dist/checkout/index.js +97 -97
  4. package/dist/commercial/index.d.ts +245 -243
  5. package/dist/commercial/index.js +601 -595
  6. package/dist/common/index.d.ts +59 -59
  7. package/dist/common/index.js +171 -171
  8. package/dist/config/index.d.ts +182 -182
  9. package/dist/config/index.js +525 -525
  10. package/dist/eva/index.d.ts +142 -142
  11. package/dist/eva/index.js +170 -170
  12. package/dist/finance/index.d.ts +207 -207
  13. package/dist/finance/index.js +549 -549
  14. package/dist/fiscal/index.d.ts +536 -536
  15. package/dist/fiscal/index.js +1356 -1356
  16. package/dist/functions.d.ts +11 -11
  17. package/dist/functions.js +74 -74
  18. package/dist/general/index.d.ts +265 -265
  19. package/dist/general/index.js +512 -512
  20. package/dist/index.d.ts +15 -15
  21. package/dist/index.js +246 -246
  22. package/dist/integration/index.d.ts +27 -27
  23. package/dist/integration/index.js +80 -80
  24. package/dist/logistics/index.d.ts +142 -142
  25. package/dist/logistics/index.js +410 -410
  26. package/dist/marketplace/templates/components/index.d.ts +306 -306
  27. package/dist/marketplace/templates/components/index.js +331 -331
  28. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  29. package/dist/marketplace/templates/elements/index.js +35 -35
  30. package/dist/marketplace/templates/index.d.ts +523 -526
  31. package/dist/marketplace/templates/index.js +48 -48
  32. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  33. package/dist/marketplace/templates/pages/index.js +413 -413
  34. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  35. package/dist/marketplace/templates/reference/index.js +26 -26
  36. package/dist/people/index.d.ts +62 -62
  37. package/dist/people/index.js +180 -180
  38. package/dist/platform/index.d.ts +207 -207
  39. package/dist/platform/index.js +600 -600
  40. package/dist/reports/index.d.ts +95 -95
  41. package/dist/reports/index.js +278 -278
  42. package/package.json +33 -33
@@ -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,62 +1,62 @@
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
- description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Cashback" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
23
- };
24
- export declare const TipoLancamentoValeCredito: {
25
- Compra: string;
26
- Venda: string;
27
- CancelamentoVenda: string;
28
- Cancelamento: string;
29
- description(val: string): "enum not found" | "Venda" | "Compra" | "Cancelado" | "Venda Cancelada";
30
- };
31
- export declare const SituacaoValeCredito: {
32
- Aberto: string;
33
- Encerrado: string;
34
- Cancelado: string;
35
- description(val: string): "enum not found" | "Cancelado" | "Aberto" | "Encerrado";
36
- };
37
- export declare const TipoPessoaClassificacao: {
38
- Cliente: string;
39
- ConsumidorFinal: string;
40
- Fornecedor: string;
41
- Contador: string;
42
- Transportadora: string;
43
- description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
44
- };
45
- export declare const TipoDataPessoa: {
46
- DataCadastro: string;
47
- DataAlteracao: string;
48
- DataAniversario: string;
49
- description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Aniversário";
50
- };
51
- export declare const OrigemPessoa: {
52
- Erp: string;
53
- Ecommerce: string;
54
- Pedido: string;
55
- PDV: string;
56
- Marketplace: string;
57
- Indicacao: string;
58
- Instagram: string;
59
- WhatsApp: string;
60
- Facebook: string;
61
- description(val: string): "enum not found" | "Pedido" | "PDV" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook";
62
- };
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
+ description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Cashback" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
23
+ };
24
+ export declare const TipoLancamentoValeCredito: {
25
+ Compra: string;
26
+ Venda: string;
27
+ CancelamentoVenda: string;
28
+ Cancelamento: string;
29
+ description(val: string): "enum not found" | "Venda" | "Compra" | "Cancelado" | "Venda Cancelada";
30
+ };
31
+ export declare const SituacaoValeCredito: {
32
+ Aberto: string;
33
+ Encerrado: string;
34
+ Cancelado: string;
35
+ description(val: string): "enum not found" | "Cancelado" | "Aberto" | "Encerrado";
36
+ };
37
+ export declare const TipoPessoaClassificacao: {
38
+ Cliente: string;
39
+ ConsumidorFinal: string;
40
+ Fornecedor: string;
41
+ Contador: string;
42
+ Transportadora: string;
43
+ description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
44
+ };
45
+ export declare const TipoDataPessoa: {
46
+ DataCadastro: string;
47
+ DataAlteracao: string;
48
+ DataAniversario: string;
49
+ description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Aniversário";
50
+ };
51
+ export declare const OrigemPessoa: {
52
+ Erp: string;
53
+ Ecommerce: string;
54
+ Pedido: string;
55
+ PDV: string;
56
+ Marketplace: string;
57
+ Indicacao: string;
58
+ Instagram: string;
59
+ WhatsApp: string;
60
+ Facebook: string;
61
+ description(val: string): "enum not found" | "Pedido" | "PDV" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook";
62
+ };
@@ -1,180 +1,180 @@
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
- description(val) {
53
- switch (val) {
54
- case this.DevolucaoVenda:
55
- return 'Devolução de Venda';
56
- case this.CompraNotaFiscal:
57
- return 'Compra';
58
- case this.EstornoSaldoUsado:
59
- return 'Estorno de saldo usado';
60
- case this.EstornoSaldoGerado:
61
- return 'Estorno de Saldo Gerado';
62
- case this.Cashback:
63
- return 'Cashback';
64
- default:
65
- return 'enum not found';
66
- }
67
- },
68
- };
69
- exports.TipoLancamentoValeCredito = {
70
- Compra: '0',
71
- Venda: '1',
72
- CancelamentoVenda: '2',
73
- Cancelamento: '3',
74
- description(val) {
75
- switch (val) {
76
- case this.Compra:
77
- return 'Compra';
78
- case this.Venda:
79
- return 'Venda';
80
- case this.CancelamentoVenda:
81
- return 'Venda Cancelada';
82
- case this.Cancelamento:
83
- return 'Cancelado';
84
- default:
85
- return 'enum not found';
86
- }
87
- },
88
- };
89
- exports.SituacaoValeCredito = {
90
- Aberto: '0',
91
- Encerrado: '1',
92
- Cancelado: '2',
93
- description(val) {
94
- switch (val) {
95
- case this.Aberto:
96
- return 'Aberto';
97
- case this.Encerrado:
98
- return 'Encerrado';
99
- case this.Cancelado:
100
- return 'Cancelado';
101
- default:
102
- return 'enum not found';
103
- }
104
- }
105
- };
106
- exports.TipoPessoaClassificacao = {
107
- Cliente: '0',
108
- ConsumidorFinal: '1',
109
- Fornecedor: '2',
110
- Contador: '3',
111
- Transportadora: '4',
112
- description(val) {
113
- switch (val) {
114
- case this.Cliente:
115
- return 'Cliente';
116
- case this.ConsumidorFinal:
117
- return 'Consumidor Final';
118
- case this.Fornecedor:
119
- return 'Fornecedor';
120
- case this.Contador:
121
- return 'Contador';
122
- case this.Transportadora:
123
- return 'Transportadora';
124
- default:
125
- return 'enum not found';
126
- }
127
- },
128
- };
129
- exports.TipoDataPessoa = {
130
- DataCadastro: '0',
131
- DataAlteracao: '1',
132
- DataAniversario: '2',
133
- description(val) {
134
- switch (val) {
135
- case this.DataCadastro:
136
- return 'Data de Cadastro';
137
- case this.DataAlteracao:
138
- return 'Data de Alteração';
139
- case this.DataAniversario:
140
- return 'Data de Aniversário';
141
- default:
142
- return 'enum not found';
143
- }
144
- },
145
- };
146
- exports.OrigemPessoa = {
147
- Erp: '0',
148
- Ecommerce: '1',
149
- Pedido: '2',
150
- PDV: '3',
151
- Marketplace: '4',
152
- Indicacao: '5',
153
- Instagram: '6',
154
- WhatsApp: '7',
155
- Facebook: '8',
156
- description(val) {
157
- switch (val) {
158
- case this.Erp:
159
- return 'ERP';
160
- case this.Ecommerce:
161
- return 'E-commerce';
162
- case this.Pedido:
163
- return 'Pedido';
164
- case this.PDV:
165
- return 'PDV';
166
- case this.Marketplace:
167
- return 'Marketplace';
168
- case this.Indicacao:
169
- return 'Indicação';
170
- case this.Instagram:
171
- return 'Instagram';
172
- case this.WhatsApp:
173
- return 'WhatsApp';
174
- case this.Facebook:
175
- return 'Facebook';
176
- default:
177
- return 'enum not found';
178
- }
179
- },
180
- };
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
+ description(val) {
53
+ switch (val) {
54
+ case this.DevolucaoVenda:
55
+ return 'Devolução de Venda';
56
+ case this.CompraNotaFiscal:
57
+ return 'Compra';
58
+ case this.EstornoSaldoUsado:
59
+ return 'Estorno de saldo usado';
60
+ case this.EstornoSaldoGerado:
61
+ return 'Estorno de Saldo Gerado';
62
+ case this.Cashback:
63
+ return 'Cashback';
64
+ default:
65
+ return 'enum not found';
66
+ }
67
+ },
68
+ };
69
+ exports.TipoLancamentoValeCredito = {
70
+ Compra: '0',
71
+ Venda: '1',
72
+ CancelamentoVenda: '2',
73
+ Cancelamento: '3',
74
+ description(val) {
75
+ switch (val) {
76
+ case this.Compra:
77
+ return 'Compra';
78
+ case this.Venda:
79
+ return 'Venda';
80
+ case this.CancelamentoVenda:
81
+ return 'Venda Cancelada';
82
+ case this.Cancelamento:
83
+ return 'Cancelado';
84
+ default:
85
+ return 'enum not found';
86
+ }
87
+ },
88
+ };
89
+ exports.SituacaoValeCredito = {
90
+ Aberto: '0',
91
+ Encerrado: '1',
92
+ Cancelado: '2',
93
+ description(val) {
94
+ switch (val) {
95
+ case this.Aberto:
96
+ return 'Aberto';
97
+ case this.Encerrado:
98
+ return 'Encerrado';
99
+ case this.Cancelado:
100
+ return 'Cancelado';
101
+ default:
102
+ return 'enum not found';
103
+ }
104
+ }
105
+ };
106
+ exports.TipoPessoaClassificacao = {
107
+ Cliente: '0',
108
+ ConsumidorFinal: '1',
109
+ Fornecedor: '2',
110
+ Contador: '3',
111
+ Transportadora: '4',
112
+ description(val) {
113
+ switch (val) {
114
+ case this.Cliente:
115
+ return 'Cliente';
116
+ case this.ConsumidorFinal:
117
+ return 'Consumidor Final';
118
+ case this.Fornecedor:
119
+ return 'Fornecedor';
120
+ case this.Contador:
121
+ return 'Contador';
122
+ case this.Transportadora:
123
+ return 'Transportadora';
124
+ default:
125
+ return 'enum not found';
126
+ }
127
+ },
128
+ };
129
+ exports.TipoDataPessoa = {
130
+ DataCadastro: '0',
131
+ DataAlteracao: '1',
132
+ DataAniversario: '2',
133
+ description(val) {
134
+ switch (val) {
135
+ case this.DataCadastro:
136
+ return 'Data de Cadastro';
137
+ case this.DataAlteracao:
138
+ return 'Data de Alteração';
139
+ case this.DataAniversario:
140
+ return 'Data de Aniversário';
141
+ default:
142
+ return 'enum not found';
143
+ }
144
+ },
145
+ };
146
+ exports.OrigemPessoa = {
147
+ Erp: '0',
148
+ Ecommerce: '1',
149
+ Pedido: '2',
150
+ PDV: '3',
151
+ Marketplace: '4',
152
+ Indicacao: '5',
153
+ Instagram: '6',
154
+ WhatsApp: '7',
155
+ Facebook: '8',
156
+ description(val) {
157
+ switch (val) {
158
+ case this.Erp:
159
+ return 'ERP';
160
+ case this.Ecommerce:
161
+ return 'E-commerce';
162
+ case this.Pedido:
163
+ return 'Pedido';
164
+ case this.PDV:
165
+ return 'PDV';
166
+ case this.Marketplace:
167
+ return 'Marketplace';
168
+ case this.Indicacao:
169
+ return 'Indicação';
170
+ case this.Instagram:
171
+ return 'Instagram';
172
+ case this.WhatsApp:
173
+ return 'WhatsApp';
174
+ case this.Facebook:
175
+ return 'Facebook';
176
+ default:
177
+ return 'enum not found';
178
+ }
179
+ },
180
+ };