mdz-enum 1.1.12 → 1.1.14

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.
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- 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
- };
@@ -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
- };
@@ -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
- };
@@ -1,12 +0,0 @@
1
- export declare const TipoRelatorio: {
2
- Resumido: string;
3
- Detalhado: string;
4
- description(val: string): "Resumido" | "Detalhado" | undefined;
5
- };
6
- export declare const AgrupamentoRelatorio: {
7
- Pessoa: string;
8
- Data: string;
9
- Produto: string;
10
- Documento: string;
11
- description(val: string): "Produto" | "Pessoa" | "Data" | "Documento" | undefined;
12
- };
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- 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
- }
14
- },
15
- };
16
- exports.AgrupamentoRelatorio = {
17
- Pessoa: '1',
18
- Data: '2',
19
- Produto: '3',
20
- Documento: '4',
21
- description(val) {
22
- switch (val) {
23
- case this.Pessoa:
24
- return 'Pessoa';
25
- case this.Data:
26
- return 'Data';
27
- case this.Produto:
28
- return 'Produto';
29
- case this.Documento:
30
- return 'Documento';
31
- }
32
- },
33
- };
@@ -1,235 +0,0 @@
1
- export const SituacaoPedido = {
2
- Edicao: '0',
3
- Liberado: '1',
4
- Cancelado: '2',
5
- NotaPendente: '3',
6
- Faturado: '4',
7
-
8
- description(val: string) {
9
- switch (val) {
10
- case this.Edicao:
11
- return 'Edição'
12
-
13
- case this.Liberado:
14
- return 'Liberado'
15
-
16
- case this.Cancelado:
17
- return 'Cancelado'
18
-
19
- case this.NotaPendente:
20
- return 'Nota Pendente'
21
-
22
- case this.Faturado:
23
- return 'Faturado'
24
-
25
- default:
26
- return 'enum not found'
27
- }
28
- },
29
- }
30
-
31
- export const OperacaoPedido = {
32
- Orcamento: '0',
33
- Pedido: '1',
34
-
35
- description(val: string) {
36
- switch (val) {
37
- case this.Orcamento:
38
- return 'Orcamento'
39
-
40
- case this.Pedido:
41
- return 'Pedido'
42
-
43
- default:
44
- return 'enum not found'
45
- }
46
- },
47
- }
48
-
49
- export const OrigemPedido = {
50
- Erp: '0',
51
- Ecommerce: '1',
52
- MercadoLivre: '2',
53
-
54
- description(val: string) {
55
- switch (val) {
56
- case this.Erp:
57
- return 'Erp'
58
-
59
- case this.Ecommerce:
60
- return 'Ecommerce'
61
-
62
- case this.MercadoLivre:
63
- return 'Mercado Livre'
64
-
65
- default:
66
- return 'enum not found'
67
- }
68
- },
69
- }
70
-
71
- export const TipoFrete = {
72
- ContratacaoContaRemetente: '0',
73
- ContratacaoContaDestinatario: '1',
74
- ContratacaoTerceiros: '2',
75
- ProprioContaRemetente: '3',
76
- ProprioContaDestinatario: '4',
77
- SemFrete: '9',
78
-
79
- description(val: string) {
80
- switch (val) {
81
- case this.ContratacaoContaRemetente:
82
- return '0-Contratação do Frete por conta do Remetente (CIF)'
83
-
84
- case this.ContratacaoContaDestinatario:
85
- return '1-Contratação do Frete por conta do Destinatário (FOB)'
86
-
87
- case this.ContratacaoTerceiros:
88
- return '2-Contratação do Frete por conta de Terceiros'
89
-
90
- case this.ProprioContaRemetente:
91
- return '3-Transporte Próprio por conta do Remetente'
92
-
93
- case this.ProprioContaDestinatario:
94
- return '4-Transporte Próprio por conta do Destinatário'
95
-
96
- case this.SemFrete:
97
- return '9-Sem Ocorrência de Transporte'
98
-
99
- default:
100
- return 'enum not found'
101
- }
102
- },
103
- }
104
-
105
- export const TipoDescontoPromocao = {
106
- Valor: '0',
107
- Percentual: '1',
108
-
109
- description(val: string) {
110
- switch (val) {
111
- case this.Valor:
112
- return 'Valor'
113
-
114
- case this.Percentual:
115
- return 'Percentual'
116
-
117
- default:
118
- return 'enum not found'
119
- }
120
- },
121
- }
122
-
123
- export const TipoMarketplace = {
124
- MercadoLivre: '1',
125
- Ecommerce: '2',
126
- All: '3',
127
-
128
- description(val: string) {
129
- switch (val) {
130
- case this.MercadoLivre:
131
- return 'Mercado Livre'
132
-
133
- case this.Ecommerce:
134
- return 'Ecommerce'
135
-
136
- case this.All:
137
- return 'Todas integrações'
138
-
139
- default:
140
- return 'enum not found'
141
- }
142
- },
143
- }
144
-
145
- export const SituacaoProdutoMarketplace = {
146
- Pendente: '1',
147
- Publicado: '2',
148
- Erro: '3',
149
- Pausado: '4',
150
- Fechado: '5',
151
-
152
- description(val: string) {
153
- switch (val) {
154
- case this.Pendente:
155
- return 'Pendente a envio'
156
-
157
- case this.Publicado:
158
- return 'Publicado'
159
-
160
- case this.Erro:
161
- return 'Erro'
162
-
163
- case this.Pausado:
164
- return 'Pausado'
165
-
166
- case this.Fechado:
167
- return 'Fechado'
168
-
169
- default:
170
- return 'enum not found'
171
- }
172
- },
173
- }
174
-
175
- export const StatusProcessoCarrinho = {
176
- Pendente: '1',
177
- EmProcessamento: '2',
178
- Processado: '3',
179
-
180
- description(val: string) {
181
- switch (val) {
182
- case this.Pendente:
183
- return 'Pendente'
184
-
185
- case this.EmProcessamento:
186
- return 'Em processamento'
187
-
188
- case this.Processado:
189
- return 'Processado'
190
-
191
- default:
192
- return 'enum not found'
193
- }
194
- },
195
- }
196
-
197
- export const TipoAplicacaoTabelaPreco = {
198
- Desconto: '0',
199
- Acrescimo: '1',
200
-
201
- description(val: string) {
202
- switch (val) {
203
- case this.Desconto:
204
- return 'Desconto'
205
-
206
- case this.Acrescimo:
207
- return 'Acréscimo'
208
-
209
- default:
210
- return 'enum not found'
211
- }
212
- },
213
- }
214
-
215
- export const TipoValorTabelaPreco = {
216
- Percentual: '0',
217
- ValorFixo: '1',
218
- ValorTotal: '2',
219
-
220
- description(val: string) {
221
- switch (val) {
222
- case this.Percentual:
223
- return 'Percentual'
224
-
225
- case this.ValorFixo:
226
- return 'Valor fixo'
227
-
228
- case this.ValorTotal:
229
- return 'Valor total'
230
-
231
- default:
232
- return 'enum not found'
233
- }
234
- },
235
- }
@@ -1,204 +0,0 @@
1
- export const TipoPermissao = {
2
- Visualizacao: '1',
3
- Funcao: '2',
4
-
5
- description(val: string) {
6
- switch (val) {
7
- case this.Visualizacao:
8
- return 'Visualização'
9
-
10
- case this.Funcao:
11
- return 'Função'
12
-
13
- default:
14
- return 'enum not found'
15
- }
16
- },
17
- }
18
-
19
- export const TipoDispositivo = {
20
- Cliente: '1',
21
- Servidor: '2',
22
- description(val: string) {
23
- switch (val) {
24
- case this.Cliente:
25
- return 'Cliente'
26
-
27
- case this.Servidor:
28
- return 'Servidor'
29
-
30
- default:
31
- return 'enum not found'
32
- }
33
- },
34
- }
35
-
36
- export const TipoPeriferico = {
37
- Impressora: '1',
38
- Balanca: '2',
39
- Sat: '3',
40
-
41
- description(val: string) {
42
- switch (val) {
43
- case this.Impressora:
44
- return 'Impressora'
45
-
46
- case this.Balanca:
47
- return 'Balanca'
48
-
49
- case this.Sat:
50
- return 'Sat'
51
-
52
- default:
53
- return 'enum not found'
54
- }
55
- },
56
- }
57
-
58
- export const ModeloSat = {
59
- Bematech: '1',
60
- Gertec: '2',
61
- Urano: '3',
62
- Generica: '4',
63
- Sweda: '5',
64
- Tanca: '6',
65
- Dimep: '7',
66
- Nitere: '9',
67
- Elgin: '10',
68
- Care: '11',
69
- Epson: '12',
70
- ControlId: '13',
71
-
72
- description(val: string) {
73
- switch (val) {
74
- case this.Bematech:
75
- return 'Bematech'
76
-
77
- case this.Gertec:
78
- return 'Gertec'
79
-
80
- case this.Urano:
81
- return 'Urano'
82
-
83
- case this.Generica:
84
- return 'Generica'
85
-
86
- case this.Sweda:
87
- return 'Sweda'
88
-
89
- case this.Tanca:
90
- return 'Tanca'
91
-
92
- case this.Dimep:
93
- return 'Dimep'
94
-
95
- case this.Nitere:
96
- return 'Nitere'
97
-
98
- case this.Elgin:
99
- return 'Elgin'
100
-
101
- case this.Care:
102
- return 'Care'
103
-
104
- case this.Epson:
105
- return 'Epson'
106
-
107
- case this.ControlId:
108
- return 'ControlId'
109
-
110
- default:
111
- return 'enum not found'
112
- }
113
- },
114
- }
115
-
116
- export const VersaoLayoutSat = {
117
- Layout007: '0.07',
118
- Layout008: '0.08',
119
-
120
- description(val: string) {
121
- switch (val) {
122
- case this.Layout007:
123
- return 'Layout 0.07'
124
-
125
- case this.Layout008:
126
- return 'Layout 0.08'
127
-
128
- default:
129
- return 'enum not found'
130
- }
131
- },
132
- }
133
-
134
- export const ModoFinalizacao = {
135
- ImprimirDireto: '1',
136
- SolicitarModal: '2',
137
-
138
- description(val: string) {
139
- switch (val) {
140
- case this.ImprimirDireto:
141
- return 'Imprimir Direto'
142
-
143
- case this.SolicitarModal:
144
- return 'Solicitar Compartilhamento'
145
-
146
- default:
147
- return 'enum not found'
148
- }
149
- },
150
- }
151
-
152
- export const TipoPrecoPadrao = {
153
- Varejo: '0',
154
- Atacado: '1',
155
-
156
- description(val: string) {
157
- switch (val) {
158
- case this.Varejo:
159
- return 'Varejo'
160
-
161
- case this.Atacado:
162
- return 'Atacado'
163
-
164
- default:
165
- return 'enum not found'
166
- }
167
- },
168
- }
169
-
170
- export const TipoEtiqueta = {
171
- Produto: '1',
172
- Pedido: '2',
173
-
174
- description(val: string) {
175
- switch (val) {
176
- case this.Produto:
177
- return 'Produto'
178
-
179
- case this.Pedido:
180
- return 'Pedido'
181
-
182
- default:
183
- return 'enum not found'
184
- }
185
- },
186
- }
187
-
188
- export const ModeloEtiqueta = {
189
- Personalizada: '1',
190
- PreDefinida: '2',
191
-
192
- description(val: string) {
193
- switch (val) {
194
- case this.PreDefinida:
195
- return 'Pré Definida'
196
-
197
- case this.Personalizada:
198
- return 'Personalizada'
199
-
200
- default:
201
- return 'enum not found'
202
- }
203
- },
204
- }