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,410 +1,410 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModoPreco = exports.SituacaoColecao = exports.SituacaoImagemProduto = exports.TipoCodigoEtiquetaProduto = exports.TipoDesdobramentoProduto = exports.TipoMovimentacaoItemInventario = exports.TipoAjusteInventario = exports.SituacaoItemInventario = exports.SituacaoInventario = exports.TipoItem = exports.TipoQuantidadeInfoNutricional = exports.TipoLeiRotulagem = exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.SituacaoQuantidadeEstoque = exports.OperacaoMovimentacaoEstoque = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = void 0;
4
- exports.TipoProduto = {
5
- Simples: '0',
6
- ComGrade: '1',
7
- Kit: '2',
8
- Conjunto: '3',
9
- description(val) {
10
- switch (val) {
11
- case this.Simples:
12
- return 'Simples';
13
- case this.ComGrade:
14
- return 'Com Grade';
15
- case this.Kit:
16
- return 'Kit';
17
- case this.Conjunto:
18
- return 'Conjunto';
19
- default:
20
- return 'enum not found';
21
- }
22
- },
23
- };
24
- exports.TipoValoracao = {
25
- PrecoCompra: '0',
26
- PrecoCusto: '1',
27
- PrecoVenda: '2',
28
- PrecoAtacado: '3',
29
- description(val) {
30
- switch (val) {
31
- case this.PrecoCompra:
32
- return 'Preço de Compra';
33
- case this.PrecoCusto:
34
- return 'Preço de Custo';
35
- case this.PrecoVenda:
36
- return 'Preço de Venda';
37
- case this.PrecoAtacado:
38
- return 'Preço de Atacado';
39
- default:
40
- return 'enum not found';
41
- }
42
- },
43
- };
44
- exports.SituacaoMovimentacaoEstoque = {
45
- EmEdicao: '0',
46
- Processado: '1',
47
- Estornado: '2',
48
- description(val) {
49
- switch (val) {
50
- case this.EmEdicao:
51
- return 'Em Edição';
52
- case this.Processado:
53
- return 'Processado';
54
- case this.Estornado:
55
- return 'Estornado';
56
- default:
57
- return 'enum not found';
58
- }
59
- },
60
- };
61
- exports.OrigemMovimentacaoEstoque = {
62
- Manual: '1',
63
- NotaFiscal: '2',
64
- Pedido: '3',
65
- Inventario: '4',
66
- description(val) {
67
- switch (val) {
68
- case this.Manual:
69
- return 'Manual';
70
- case this.NotaFiscal:
71
- return 'Nota Fiscal';
72
- case this.Pedido:
73
- return 'Pedido';
74
- case this.Inventario:
75
- return 'Inventário';
76
- default:
77
- return 'enum not found';
78
- }
79
- },
80
- };
81
- exports.OperacaoMovimentacaoEstoque = {
82
- Entrada: '0',
83
- Saida: '1',
84
- Transferencia: '2',
85
- description(val) {
86
- switch (val) {
87
- case this.Entrada:
88
- return 'Entrada';
89
- case this.Saida:
90
- return 'Saída';
91
- case this.Transferencia:
92
- return 'Transferência';
93
- default:
94
- return 'enum not found';
95
- }
96
- },
97
- };
98
- exports.SituacaoQuantidadeEstoque = {
99
- Negativo: '0',
100
- Positivo: '1',
101
- description(val) {
102
- switch (val) {
103
- case this.Negativo:
104
- return 'Negativo';
105
- case this.Positivo:
106
- return 'Positivo';
107
- default:
108
- return 'enum not found';
109
- }
110
- },
111
- };
112
- exports.TipoCategoria = {
113
- Beleza: '0',
114
- Bolsa: '1',
115
- Calçado: '2',
116
- Celular: '3',
117
- Decoracao: '4',
118
- Eletrodomestico: '5',
119
- Eletronico: '6',
120
- Esporte: '7',
121
- Ferramenta: '8',
122
- Game: '9',
123
- Movel: '10',
124
- Vestuario: '11',
125
- Saude: '12',
126
- Automotivo: '13',
127
- MateriaisConstrucao: '14',
128
- description(val) {
129
- switch (val) {
130
- case this.Beleza:
131
- return 'Beleza';
132
- case this.Bolsa:
133
- return 'Bolsas';
134
- case this.Calçado:
135
- return 'Calçados';
136
- case this.Celular:
137
- return 'Celular';
138
- case this.Decoracao:
139
- return 'Decoração';
140
- case this.Eletrodomestico:
141
- return 'Eletrodomésticos';
142
- case this.Eletronico:
143
- return 'Eletrônicos';
144
- case this.Esporte:
145
- return 'Esportes';
146
- case this.Ferramenta:
147
- return 'Ferramentas';
148
- case this.Game:
149
- return 'Games';
150
- case this.Movel:
151
- return 'Móveis';
152
- case this.Vestuario:
153
- return 'Vestuário';
154
- case this.Saude:
155
- return 'Saúde';
156
- case this.Automotivo:
157
- return 'Automotivo';
158
- case this.MateriaisConstrucao:
159
- return 'Materiais de Construção';
160
- default:
161
- break;
162
- }
163
- },
164
- };
165
- exports.TipoImagemGaleria = {
166
- Geral: '0',
167
- PorGrade: '1',
168
- description(val) {
169
- switch (val) {
170
- case this.Geral:
171
- return 'Geral';
172
- case this.PorGrade:
173
- return 'Por Grade';
174
- default:
175
- return 'enum not found';
176
- }
177
- },
178
- };
179
- exports.TipoAtualizacaoEstoque = {
180
- NotaFiscal: '0',
181
- MovimentacaoEstoque: '1',
182
- description(val) {
183
- switch (val) {
184
- case this.NotaFiscal:
185
- return 'Nota Fiscal';
186
- case this.MovimentacaoEstoque:
187
- return 'Movimentaçaõ de Estoque';
188
- default:
189
- return 'enum not found';
190
- }
191
- },
192
- };
193
- exports.TipoLeiRotulagem = {
194
- Lei_360: '0',
195
- Lei_429: '1',
196
- description(val) {
197
- switch (val) {
198
- case this.Lei_360:
199
- return 'RDC 359/360';
200
- case this.Lei_429:
201
- return 'RDC 429';
202
- default:
203
- return 'enum not found';
204
- }
205
- },
206
- };
207
- exports.TipoQuantidadeInfoNutricional = {
208
- Grama: '0',
209
- Mililitro: '1',
210
- description(val) {
211
- switch (val) {
212
- case this.Grama:
213
- return '100 G (100 gramas)';
214
- case this.Mililitro:
215
- return '100 ML (100 mililitros)';
216
- default:
217
- return 'enum not found';
218
- }
219
- },
220
- };
221
- exports.TipoItem = {
222
- MercadoriaRevenda: '00',
223
- MateriaPrima: '01',
224
- Embalagem: '02',
225
- ProdutoProcesso: '03',
226
- ProdutoAcabado: '04',
227
- Subproduto: '05',
228
- ProdutoIntermediario: '06',
229
- MaterialUsoConsumo: '07',
230
- AtivoImobilizado: '08',
231
- Servicos: '09',
232
- OutrosInsumos: '10',
233
- Outras: '99',
234
- description(val) {
235
- switch (val) {
236
- case this.MercadoriaRevenda:
237
- return 'Mercadoria para revenda';
238
- case this.MateriaPrima:
239
- return 'Matéria-prima';
240
- case this.MateriaPrima:
241
- return 'Matéria-prima';
242
- case this.Embalagem:
243
- return 'Embalagem';
244
- case this.ProdutoProcesso:
245
- return 'Produto em processo';
246
- case this.ProdutoAcabado:
247
- return 'Produto acabado';
248
- case this.Subproduto:
249
- return 'Subproduto';
250
- case this.ProdutoIntermediario:
251
- return 'Produto intermediário';
252
- case this.MaterialUsoConsumo:
253
- return 'Material de uso e consumo';
254
- case this.AtivoImobilizado:
255
- return 'Ativo imobilizado';
256
- case this.Servicos:
257
- return 'Serviços';
258
- case this.OutrosInsumos:
259
- return 'Outros insumos';
260
- case this.Outras:
261
- return 'Outras';
262
- default:
263
- return 'enum not found';
264
- }
265
- },
266
- };
267
- exports.SituacaoInventario = {
268
- EmAndamento: '0',
269
- Concluido: '1',
270
- Cancelado: '2',
271
- description(val) {
272
- switch (val) {
273
- case this.EmAndamento:
274
- return 'Em Andamento';
275
- case this.Concluido:
276
- return 'Concluído';
277
- case this.Cancelado:
278
- return 'Cancelado';
279
- default:
280
- return 'enum not found';
281
- }
282
- },
283
- };
284
- exports.SituacaoItemInventario = {
285
- Excluido: '0',
286
- Atualizado: '1',
287
- AtualizacaoPendente: '2',
288
- InclusaoPendente: '3',
289
- description(val) {
290
- switch (val) {
291
- case this.Atualizado:
292
- return 'Atualizado';
293
- case this.Excluido:
294
- return 'Excluído';
295
- case this.AtualizacaoPendente:
296
- return 'Atualização Pendente';
297
- case this.InclusaoPendente:
298
- return 'Inclusão Pendente';
299
- default:
300
- return 'enum not found';
301
- }
302
- },
303
- };
304
- exports.TipoAjusteInventario = {
305
- Ajuste: '0',
306
- ApenasEntrada: '1',
307
- ApenasSaida: '2',
308
- description(val) {
309
- switch (val) {
310
- case this.Ajuste:
311
- return 'Ajuste';
312
- case this.ApenasEntrada:
313
- return 'Apenas Entrada';
314
- case this.ApenasSaida:
315
- return 'Apenas Saída';
316
- default:
317
- return 'enum not found';
318
- }
319
- },
320
- };
321
- exports.TipoMovimentacaoItemInventario = {
322
- Entrada: '0',
323
- Saida: '1',
324
- SemMov: '3',
325
- description(val) {
326
- switch (val) {
327
- case this.Entrada:
328
- return 'Entrada';
329
- case this.Saida:
330
- return 'Saída';
331
- case this.SemMov:
332
- return 'Não Mov.';
333
- default:
334
- return 'enum not found';
335
- }
336
- },
337
- };
338
- exports.TipoDesdobramentoProduto = {
339
- EmProduto: '0',
340
- EmGrade: '1',
341
- description(val) {
342
- switch (val) {
343
- case this.EmProduto:
344
- return 'Produtos';
345
- case this.EmGrade:
346
- return 'Grades';
347
- default:
348
- return 'enum not found';
349
- }
350
- },
351
- };
352
- exports.TipoCodigoEtiquetaProduto = {
353
- SkuProduto: '0',
354
- Ean13: '1',
355
- CodigoBarra: '2',
356
- description(val) {
357
- switch (val) {
358
- case this.SkuProduto:
359
- return 'SKU do Produto';
360
- case this.Ean13:
361
- return 'EAN13';
362
- case this.CodigoBarra:
363
- return 'Cód. de Barras';
364
- default:
365
- return 'enum not found';
366
- }
367
- },
368
- };
369
- exports.SituacaoImagemProduto = {
370
- ComImagem: '0',
371
- SemImagem: '1',
372
- description(val) {
373
- switch (val) {
374
- case this.ComImagem:
375
- return 'Com Imagem';
376
- case this.SemImagem:
377
- return 'Sem Imagem';
378
- default:
379
- return 'enum not found';
380
- }
381
- },
382
- };
383
- exports.SituacaoColecao = {
384
- Encerrada: '0',
385
- EmAndamento: '1',
386
- description(val) {
387
- switch (val) {
388
- case this.Encerrada:
389
- return 'Encerrada';
390
- case this.EmAndamento:
391
- return 'Em Andamento';
392
- default:
393
- return 'enum not found';
394
- }
395
- },
396
- };
397
- exports.ModoPreco = {
398
- Pai: '0',
399
- Filho: '1',
400
- description(val) {
401
- switch (val) {
402
- case this.Pai:
403
- return 'Pai';
404
- case this.Filho:
405
- return 'Filho';
406
- default:
407
- return 'enum not found';
408
- }
409
- },
410
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModoPreco = exports.SituacaoColecao = exports.SituacaoImagemProduto = exports.TipoCodigoEtiquetaProduto = exports.TipoDesdobramentoProduto = exports.TipoMovimentacaoItemInventario = exports.TipoAjusteInventario = exports.SituacaoItemInventario = exports.SituacaoInventario = exports.TipoItem = exports.TipoQuantidadeInfoNutricional = exports.TipoLeiRotulagem = exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.SituacaoQuantidadeEstoque = exports.OperacaoMovimentacaoEstoque = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = void 0;
4
+ exports.TipoProduto = {
5
+ Simples: '0',
6
+ ComGrade: '1',
7
+ Kit: '2',
8
+ Conjunto: '3',
9
+ description(val) {
10
+ switch (val) {
11
+ case this.Simples:
12
+ return 'Simples';
13
+ case this.ComGrade:
14
+ return 'Com Grade';
15
+ case this.Kit:
16
+ return 'Kit';
17
+ case this.Conjunto:
18
+ return 'Conjunto';
19
+ default:
20
+ return 'enum not found';
21
+ }
22
+ },
23
+ };
24
+ exports.TipoValoracao = {
25
+ PrecoCompra: '0',
26
+ PrecoCusto: '1',
27
+ PrecoVenda: '2',
28
+ PrecoAtacado: '3',
29
+ description(val) {
30
+ switch (val) {
31
+ case this.PrecoCompra:
32
+ return 'Preço de Compra';
33
+ case this.PrecoCusto:
34
+ return 'Preço de Custo';
35
+ case this.PrecoVenda:
36
+ return 'Preço de Venda';
37
+ case this.PrecoAtacado:
38
+ return 'Preço de Atacado';
39
+ default:
40
+ return 'enum not found';
41
+ }
42
+ },
43
+ };
44
+ exports.SituacaoMovimentacaoEstoque = {
45
+ EmEdicao: '0',
46
+ Processado: '1',
47
+ Estornado: '2',
48
+ description(val) {
49
+ switch (val) {
50
+ case this.EmEdicao:
51
+ return 'Em Edição';
52
+ case this.Processado:
53
+ return 'Processado';
54
+ case this.Estornado:
55
+ return 'Estornado';
56
+ default:
57
+ return 'enum not found';
58
+ }
59
+ },
60
+ };
61
+ exports.OrigemMovimentacaoEstoque = {
62
+ Manual: '1',
63
+ NotaFiscal: '2',
64
+ Pedido: '3',
65
+ Inventario: '4',
66
+ description(val) {
67
+ switch (val) {
68
+ case this.Manual:
69
+ return 'Manual';
70
+ case this.NotaFiscal:
71
+ return 'Nota Fiscal';
72
+ case this.Pedido:
73
+ return 'Pedido';
74
+ case this.Inventario:
75
+ return 'Inventário';
76
+ default:
77
+ return 'enum not found';
78
+ }
79
+ },
80
+ };
81
+ exports.OperacaoMovimentacaoEstoque = {
82
+ Entrada: '0',
83
+ Saida: '1',
84
+ Transferencia: '2',
85
+ description(val) {
86
+ switch (val) {
87
+ case this.Entrada:
88
+ return 'Entrada';
89
+ case this.Saida:
90
+ return 'Saída';
91
+ case this.Transferencia:
92
+ return 'Transferência';
93
+ default:
94
+ return 'enum not found';
95
+ }
96
+ },
97
+ };
98
+ exports.SituacaoQuantidadeEstoque = {
99
+ Negativo: '0',
100
+ Positivo: '1',
101
+ description(val) {
102
+ switch (val) {
103
+ case this.Negativo:
104
+ return 'Negativo';
105
+ case this.Positivo:
106
+ return 'Positivo';
107
+ default:
108
+ return 'enum not found';
109
+ }
110
+ },
111
+ };
112
+ exports.TipoCategoria = {
113
+ Beleza: '0',
114
+ Bolsa: '1',
115
+ Calçado: '2',
116
+ Celular: '3',
117
+ Decoracao: '4',
118
+ Eletrodomestico: '5',
119
+ Eletronico: '6',
120
+ Esporte: '7',
121
+ Ferramenta: '8',
122
+ Game: '9',
123
+ Movel: '10',
124
+ Vestuario: '11',
125
+ Saude: '12',
126
+ Automotivo: '13',
127
+ MateriaisConstrucao: '14',
128
+ description(val) {
129
+ switch (val) {
130
+ case this.Beleza:
131
+ return 'Beleza';
132
+ case this.Bolsa:
133
+ return 'Bolsas';
134
+ case this.Calçado:
135
+ return 'Calçados';
136
+ case this.Celular:
137
+ return 'Celular';
138
+ case this.Decoracao:
139
+ return 'Decoração';
140
+ case this.Eletrodomestico:
141
+ return 'Eletrodomésticos';
142
+ case this.Eletronico:
143
+ return 'Eletrônicos';
144
+ case this.Esporte:
145
+ return 'Esportes';
146
+ case this.Ferramenta:
147
+ return 'Ferramentas';
148
+ case this.Game:
149
+ return 'Games';
150
+ case this.Movel:
151
+ return 'Móveis';
152
+ case this.Vestuario:
153
+ return 'Vestuário';
154
+ case this.Saude:
155
+ return 'Saúde';
156
+ case this.Automotivo:
157
+ return 'Automotivo';
158
+ case this.MateriaisConstrucao:
159
+ return 'Materiais de Construção';
160
+ default:
161
+ break;
162
+ }
163
+ },
164
+ };
165
+ exports.TipoImagemGaleria = {
166
+ Geral: '0',
167
+ PorGrade: '1',
168
+ description(val) {
169
+ switch (val) {
170
+ case this.Geral:
171
+ return 'Geral';
172
+ case this.PorGrade:
173
+ return 'Por Grade';
174
+ default:
175
+ return 'enum not found';
176
+ }
177
+ },
178
+ };
179
+ exports.TipoAtualizacaoEstoque = {
180
+ NotaFiscal: '0',
181
+ MovimentacaoEstoque: '1',
182
+ description(val) {
183
+ switch (val) {
184
+ case this.NotaFiscal:
185
+ return 'Nota Fiscal';
186
+ case this.MovimentacaoEstoque:
187
+ return 'Movimentaçaõ de Estoque';
188
+ default:
189
+ return 'enum not found';
190
+ }
191
+ },
192
+ };
193
+ exports.TipoLeiRotulagem = {
194
+ Lei_360: '0',
195
+ Lei_429: '1',
196
+ description(val) {
197
+ switch (val) {
198
+ case this.Lei_360:
199
+ return 'RDC 359/360';
200
+ case this.Lei_429:
201
+ return 'RDC 429';
202
+ default:
203
+ return 'enum not found';
204
+ }
205
+ },
206
+ };
207
+ exports.TipoQuantidadeInfoNutricional = {
208
+ Grama: '0',
209
+ Mililitro: '1',
210
+ description(val) {
211
+ switch (val) {
212
+ case this.Grama:
213
+ return '100 G (100 gramas)';
214
+ case this.Mililitro:
215
+ return '100 ML (100 mililitros)';
216
+ default:
217
+ return 'enum not found';
218
+ }
219
+ },
220
+ };
221
+ exports.TipoItem = {
222
+ MercadoriaRevenda: '00',
223
+ MateriaPrima: '01',
224
+ Embalagem: '02',
225
+ ProdutoProcesso: '03',
226
+ ProdutoAcabado: '04',
227
+ Subproduto: '05',
228
+ ProdutoIntermediario: '06',
229
+ MaterialUsoConsumo: '07',
230
+ AtivoImobilizado: '08',
231
+ Servicos: '09',
232
+ OutrosInsumos: '10',
233
+ Outras: '99',
234
+ description(val) {
235
+ switch (val) {
236
+ case this.MercadoriaRevenda:
237
+ return 'Mercadoria para revenda';
238
+ case this.MateriaPrima:
239
+ return 'Matéria-prima';
240
+ case this.MateriaPrima:
241
+ return 'Matéria-prima';
242
+ case this.Embalagem:
243
+ return 'Embalagem';
244
+ case this.ProdutoProcesso:
245
+ return 'Produto em processo';
246
+ case this.ProdutoAcabado:
247
+ return 'Produto acabado';
248
+ case this.Subproduto:
249
+ return 'Subproduto';
250
+ case this.ProdutoIntermediario:
251
+ return 'Produto intermediário';
252
+ case this.MaterialUsoConsumo:
253
+ return 'Material de uso e consumo';
254
+ case this.AtivoImobilizado:
255
+ return 'Ativo imobilizado';
256
+ case this.Servicos:
257
+ return 'Serviços';
258
+ case this.OutrosInsumos:
259
+ return 'Outros insumos';
260
+ case this.Outras:
261
+ return 'Outras';
262
+ default:
263
+ return 'enum not found';
264
+ }
265
+ },
266
+ };
267
+ exports.SituacaoInventario = {
268
+ EmAndamento: '0',
269
+ Concluido: '1',
270
+ Cancelado: '2',
271
+ description(val) {
272
+ switch (val) {
273
+ case this.EmAndamento:
274
+ return 'Em Andamento';
275
+ case this.Concluido:
276
+ return 'Concluído';
277
+ case this.Cancelado:
278
+ return 'Cancelado';
279
+ default:
280
+ return 'enum not found';
281
+ }
282
+ },
283
+ };
284
+ exports.SituacaoItemInventario = {
285
+ Excluido: '0',
286
+ Atualizado: '1',
287
+ AtualizacaoPendente: '2',
288
+ InclusaoPendente: '3',
289
+ description(val) {
290
+ switch (val) {
291
+ case this.Atualizado:
292
+ return 'Atualizado';
293
+ case this.Excluido:
294
+ return 'Excluído';
295
+ case this.AtualizacaoPendente:
296
+ return 'Atualização Pendente';
297
+ case this.InclusaoPendente:
298
+ return 'Inclusão Pendente';
299
+ default:
300
+ return 'enum not found';
301
+ }
302
+ },
303
+ };
304
+ exports.TipoAjusteInventario = {
305
+ Ajuste: '0',
306
+ ApenasEntrada: '1',
307
+ ApenasSaida: '2',
308
+ description(val) {
309
+ switch (val) {
310
+ case this.Ajuste:
311
+ return 'Ajuste';
312
+ case this.ApenasEntrada:
313
+ return 'Apenas Entrada';
314
+ case this.ApenasSaida:
315
+ return 'Apenas Saída';
316
+ default:
317
+ return 'enum not found';
318
+ }
319
+ },
320
+ };
321
+ exports.TipoMovimentacaoItemInventario = {
322
+ Entrada: '0',
323
+ Saida: '1',
324
+ SemMov: '3',
325
+ description(val) {
326
+ switch (val) {
327
+ case this.Entrada:
328
+ return 'Entrada';
329
+ case this.Saida:
330
+ return 'Saída';
331
+ case this.SemMov:
332
+ return 'Não Mov.';
333
+ default:
334
+ return 'enum not found';
335
+ }
336
+ },
337
+ };
338
+ exports.TipoDesdobramentoProduto = {
339
+ EmProduto: '0',
340
+ EmGrade: '1',
341
+ description(val) {
342
+ switch (val) {
343
+ case this.EmProduto:
344
+ return 'Produtos';
345
+ case this.EmGrade:
346
+ return 'Grades';
347
+ default:
348
+ return 'enum not found';
349
+ }
350
+ },
351
+ };
352
+ exports.TipoCodigoEtiquetaProduto = {
353
+ SkuProduto: '0',
354
+ Ean13: '1',
355
+ CodigoBarra: '2',
356
+ description(val) {
357
+ switch (val) {
358
+ case this.SkuProduto:
359
+ return 'SKU do Produto';
360
+ case this.Ean13:
361
+ return 'EAN13';
362
+ case this.CodigoBarra:
363
+ return 'Cód. de Barras';
364
+ default:
365
+ return 'enum not found';
366
+ }
367
+ },
368
+ };
369
+ exports.SituacaoImagemProduto = {
370
+ ComImagem: '0',
371
+ SemImagem: '1',
372
+ description(val) {
373
+ switch (val) {
374
+ case this.ComImagem:
375
+ return 'Com Imagem';
376
+ case this.SemImagem:
377
+ return 'Sem Imagem';
378
+ default:
379
+ return 'enum not found';
380
+ }
381
+ },
382
+ };
383
+ exports.SituacaoColecao = {
384
+ Encerrada: '0',
385
+ EmAndamento: '1',
386
+ description(val) {
387
+ switch (val) {
388
+ case this.Encerrada:
389
+ return 'Encerrada';
390
+ case this.EmAndamento:
391
+ return 'Em Andamento';
392
+ default:
393
+ return 'enum not found';
394
+ }
395
+ },
396
+ };
397
+ exports.ModoPreco = {
398
+ Pai: '0',
399
+ Filho: '1',
400
+ description(val) {
401
+ switch (val) {
402
+ case this.Pai:
403
+ return 'Pai';
404
+ case this.Filho:
405
+ return 'Filho';
406
+ default:
407
+ return 'enum not found';
408
+ }
409
+ },
410
+ };