mdz-enum 1.6.33 → 1.6.34

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 (41) 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 +243 -243
  4. package/dist/commercial/index.js +595 -595
  5. package/dist/common/index.d.ts +59 -59
  6. package/dist/common/index.js +171 -171
  7. package/dist/config/index.d.ts +182 -182
  8. package/dist/config/index.js +525 -525
  9. package/dist/eva/index.d.ts +142 -142
  10. package/dist/eva/index.js +170 -170
  11. package/dist/finance/index.d.ts +207 -207
  12. package/dist/finance/index.js +549 -549
  13. package/dist/fiscal/index.d.ts +536 -536
  14. package/dist/fiscal/index.js +1356 -1356
  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/index.d.ts +15 -15
  20. package/dist/index.js +246 -246
  21. package/dist/integration/index.d.ts +27 -27
  22. package/dist/integration/index.js +80 -80
  23. package/dist/logistics/index.d.ts +142 -142
  24. package/dist/logistics/index.js +410 -410
  25. package/dist/marketplace/templates/components/index.d.ts +306 -306
  26. package/dist/marketplace/templates/components/index.js +331 -331
  27. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  28. package/dist/marketplace/templates/elements/index.js +35 -35
  29. package/dist/marketplace/templates/index.d.ts +526 -523
  30. package/dist/marketplace/templates/index.js +48 -48
  31. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  32. package/dist/marketplace/templates/pages/index.js +413 -413
  33. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  34. package/dist/marketplace/templates/reference/index.js +26 -26
  35. package/dist/people/index.d.ts +62 -62
  36. package/dist/people/index.js +180 -180
  37. package/dist/platform/index.d.ts +207 -207
  38. package/dist/platform/index.js +600 -600
  39. package/dist/reports/index.d.ts +95 -95
  40. package/dist/reports/index.js +278 -278
  41. package/package.json +1 -1
@@ -1,525 +1,525 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FusoHorario = exports.TipoOperacaoComprovanteTroca = exports.SituacaoAutorizacao = exports.OrigemAutorizacao = exports.TipoArquivoExportacao = exports.ModeloImportacao = exports.TipoImportacao = exports.TipoAtualizacaoSocket = exports.TipoInformacaoBalanca = exports.ModeloBalanca = exports.TipoImpressao = exports.ModeloPimaco = exports.ParametroEtiquetaProduto = exports.ModeloEtiqueta = exports.TipoEtiqueta = exports.TipoPrecoPadrao = exports.ModoFinalizacao = exports.VersaoLayoutSat = exports.ModeloSat = exports.ModeloPOS = exports.TipoPeriferico = exports.TipoDispositivo = exports.TipoPermissaoMain = exports.TipoPermissao = void 0;
4
- exports.TipoPermissao = {
5
- Visualizacao: '1',
6
- Funcao: '2',
7
- description(val) {
8
- switch (val) {
9
- case this.Visualizacao:
10
- return 'Visualização';
11
- case this.Funcao:
12
- return 'Função';
13
- default:
14
- return 'enum not found';
15
- }
16
- },
17
- };
18
- exports.TipoPermissaoMain = {
19
- Master: '1',
20
- Administrador: '2',
21
- Gestor: '3',
22
- Vendedor: '4',
23
- Financeiro: '5',
24
- description(val) {
25
- switch (val) {
26
- case this.Master:
27
- return 'Master';
28
- case this.Administrador:
29
- return 'Administrador';
30
- case this.Gestor:
31
- return 'Gestor';
32
- case this.Vendedor:
33
- return 'Vendedor';
34
- case this.Financeiro:
35
- return 'Financeiro';
36
- default:
37
- return 'enum not found';
38
- }
39
- },
40
- };
41
- exports.TipoDispositivo = {
42
- Cliente: '1',
43
- Servidor: '2',
44
- description(val) {
45
- switch (val) {
46
- case this.Cliente:
47
- return 'Cliente';
48
- case this.Servidor:
49
- return 'Servidor';
50
- default:
51
- return 'enum not found';
52
- }
53
- },
54
- };
55
- exports.TipoPeriferico = {
56
- ImpressoraA4: '1',
57
- Balanca: '2',
58
- Sat: '3',
59
- ImpressoraComprovante: '4',
60
- ImpressoraEtiqueta: '5',
61
- POS: '6',
62
- description(val) {
63
- switch (val) {
64
- case this.ImpressoraA4:
65
- return 'Impressora A4';
66
- case this.ImpressoraComprovante:
67
- return 'Impressora Comprovante';
68
- case this.ImpressoraEtiqueta:
69
- return 'Impressora Etiqueta';
70
- case this.Balanca:
71
- return 'Balanca';
72
- case this.Sat:
73
- return 'Sat';
74
- case this.POS:
75
- return 'POS';
76
- default:
77
- return 'enum not found';
78
- }
79
- },
80
- };
81
- exports.ModeloPOS = {
82
- Vero: '1',
83
- description(val) {
84
- switch (val) {
85
- case this.Vero:
86
- return 'VERO';
87
- default:
88
- return 'enum not found';
89
- }
90
- },
91
- };
92
- exports.ModeloSat = {
93
- Bematech: '1',
94
- Gertec: '2',
95
- Urano: '3',
96
- Generica: '4',
97
- Sweda: '5',
98
- Tanca: '6',
99
- Dimep: '7',
100
- Nitere: '9',
101
- Elgin: '10',
102
- Care: '11',
103
- Epson: '12',
104
- ControlId: '13',
105
- MFe: '99',
106
- description(val) {
107
- switch (val) {
108
- case this.Bematech:
109
- return 'Bematech';
110
- case this.Gertec:
111
- return 'Gertec';
112
- case this.Urano:
113
- return 'Urano';
114
- case this.Generica:
115
- return 'Generica';
116
- case this.Sweda:
117
- return 'Sweda';
118
- case this.Tanca:
119
- return 'Tanca';
120
- case this.Dimep:
121
- return 'Dimep';
122
- case this.Nitere:
123
- return 'Nitere';
124
- case this.Elgin:
125
- return 'Elgin';
126
- case this.Care:
127
- return 'Care';
128
- case this.Epson:
129
- return 'Epson';
130
- case this.ControlId:
131
- return 'ControlId';
132
- case this.MFe:
133
- return 'MFe';
134
- default:
135
- return 'enum not found';
136
- }
137
- },
138
- };
139
- exports.VersaoLayoutSat = {
140
- Layout007: '0.07',
141
- Layout008: '0.08',
142
- description(val) {
143
- switch (val) {
144
- case this.Layout007:
145
- return 'Layout 0.07';
146
- case this.Layout008:
147
- return 'Layout 0.08';
148
- default:
149
- return 'enum not found';
150
- }
151
- },
152
- };
153
- exports.ModoFinalizacao = {
154
- ImprimirDireto: '1',
155
- SolicitarModal: '2',
156
- description(val) {
157
- switch (val) {
158
- case this.ImprimirDireto:
159
- return 'Imprimir Direto';
160
- case this.SolicitarModal:
161
- return 'Solicitar Compartilhamento';
162
- default:
163
- return 'enum not found';
164
- }
165
- },
166
- };
167
- exports.TipoPrecoPadrao = {
168
- Varejo: '0',
169
- Atacado: '1',
170
- description(val) {
171
- switch (val) {
172
- case this.Varejo:
173
- return 'Varejo';
174
- case this.Atacado:
175
- return 'Atacado';
176
- default:
177
- return 'enum not found';
178
- }
179
- },
180
- };
181
- exports.TipoEtiqueta = {
182
- Produto: '1',
183
- Pedido: '2',
184
- description(val) {
185
- switch (val) {
186
- case this.Produto:
187
- return 'Produto';
188
- case this.Pedido:
189
- return 'Pedido';
190
- default:
191
- return 'enum not found';
192
- }
193
- },
194
- };
195
- exports.ModeloEtiqueta = {
196
- Personalizada: '1',
197
- PreDefinida: '2',
198
- Desenhada: '3',
199
- description(val) {
200
- switch (val) {
201
- case this.PreDefinida:
202
- return 'Pré Definida';
203
- case this.Personalizada:
204
- return 'Personalizada';
205
- case this.Desenhada:
206
- return 'Desenhada';
207
- default:
208
- return 'enum not found';
209
- }
210
- },
211
- };
212
- exports.ParametroEtiquetaProduto = {
213
- Sku: '1',
214
- Nome: '2',
215
- Barra: '3',
216
- Marca: '4',
217
- Grade: '5',
218
- Pv: '6',
219
- Pa: '7',
220
- Pvp: '8',
221
- Pap: '9',
222
- Nomel2: '10',
223
- Gradel2: '11',
224
- Pparcelado: '12',
225
- Nomel3: '13',
226
- Indexador: '14',
227
- description(val) {
228
- switch (val) {
229
- case this.Nome:
230
- return 'Descrição';
231
- case this.Nomel2:
232
- return 'Descrição Linha 2';
233
- case this.Sku:
234
- return 'Sku';
235
- case this.Barra:
236
- return 'Codigo de Barras';
237
- case this.Marca:
238
- return 'Marca';
239
- case this.Grade:
240
- return 'Variação';
241
- case this.Pv:
242
- return 'Preço Varejo';
243
- case this.Pa:
244
- return 'Preço Atacado';
245
- case this.Pvp:
246
- return 'Preço Varejo Promocional';
247
- case this.Pap:
248
- return 'Preço Atacado Promocional';
249
- case this.Gradel2:
250
- return 'Descrição Variação Linha 2';
251
- case this.Pparcelado:
252
- return 'Preço Parcelado';
253
- case this.Nomel3:
254
- return 'Descrição Linha 3';
255
- case this.Indexador:
256
- return 'Valor Indexador';
257
- default:
258
- return 'enum not found';
259
- }
260
- },
261
- };
262
- exports.ModeloPimaco = {
263
- M6187: '0',
264
- A4351: '1',
265
- description(val) {
266
- switch (val) {
267
- case this.M6187:
268
- return '6187';
269
- case this.A4351:
270
- return 'A4351';
271
- default:
272
- return 'enum not found';
273
- }
274
- },
275
- };
276
- exports.TipoImpressao = {
277
- Arquivo: '1',
278
- Texto: '2',
279
- description(val) {
280
- switch (val) {
281
- case this.Arquivo:
282
- return 'Arquivo';
283
- case this.Texto:
284
- return 'Texto';
285
- default:
286
- return 'enum not found';
287
- }
288
- },
289
- };
290
- exports.ModeloBalanca = {
291
- Filizola: '1',
292
- Toledo: '2',
293
- description(val) {
294
- switch (val) {
295
- case this.Filizola:
296
- return 'Filizola';
297
- case this.Toledo:
298
- return 'Toledo';
299
- default:
300
- return 'enum not found';
301
- }
302
- },
303
- };
304
- exports.TipoInformacaoBalanca = {
305
- Peso: '1',
306
- PrecoTotal: '2',
307
- description(val) {
308
- switch (val) {
309
- case this.Peso:
310
- return 'Peso';
311
- case this.PrecoTotal:
312
- return 'Preço Total';
313
- default:
314
- return 'enum not found';
315
- }
316
- },
317
- };
318
- exports.TipoAtualizacaoSocket = {
319
- Produto: '1',
320
- TabelaPreco: '2',
321
- Promocao: '3',
322
- description(val) {
323
- switch (val) {
324
- case this.Produto:
325
- return 'Produto';
326
- case this.TabelaPreco:
327
- return 'Tabela de Preço';
328
- case this.Promocao:
329
- return 'Promoção';
330
- default:
331
- return 'enum not found';
332
- }
333
- },
334
- };
335
- exports.TipoImportacao = {
336
- Produto: '1',
337
- Pessoa: '2',
338
- Estoque: '3',
339
- CodigoBarras: '4',
340
- Grade: '5',
341
- DocumentoFinanceiro: '6',
342
- PrecoProdutos: '7',
343
- PrecoGrade: '8',
344
- PrecoFilial: '9',
345
- description(val) {
346
- switch (val) {
347
- case this.Produto:
348
- return 'Produto';
349
- case this.Pessoa:
350
- return 'Pessoa';
351
- case this.Estoque:
352
- return 'Estoque';
353
- case this.CodigoBarras:
354
- return 'Código de Barras';
355
- case this.Grade:
356
- return 'Grade';
357
- case this.DocumentoFinanceiro:
358
- return 'Documento Financeiro';
359
- case this.PrecoProdutos:
360
- return 'Preço de Produtos';
361
- case this.PrecoGrade:
362
- return 'Preço de Grade';
363
- case this.PrecoFilial:
364
- return 'Preço de Filial';
365
- default:
366
- return 'enum not found';
367
- }
368
- },
369
- };
370
- exports.ModeloImportacao = {
371
- Importacao: '1',
372
- Atualizacao: '2',
373
- description(val) {
374
- switch (val) {
375
- case this.Importacao:
376
- return 'Importação';
377
- case this.Atualizacao:
378
- return 'Atualização';
379
- default:
380
- return 'enum not found';
381
- }
382
- },
383
- };
384
- exports.TipoArquivoExportacao = {
385
- Pdf: '0',
386
- Excel: '1',
387
- description(val) {
388
- switch (val) {
389
- case this.Pdf:
390
- return 'PDF';
391
- case this.Excel:
392
- return 'EXCEL';
393
- default:
394
- return 'enum not found';
395
- }
396
- },
397
- };
398
- exports.OrigemAutorizacao = {
399
- Nota: '0',
400
- Pedido: '1',
401
- description(val) {
402
- switch (val) {
403
- case this.Nota:
404
- return 'Nota';
405
- case this.Pedido:
406
- return 'Pedido';
407
- default:
408
- return 'enum not found';
409
- }
410
- },
411
- };
412
- exports.SituacaoAutorizacao = {
413
- Pendente: '0',
414
- Aprovado: '1',
415
- Rejeitado: '2',
416
- description(val) {
417
- switch (val) {
418
- case this.Pendente:
419
- return 'Pendente';
420
- case this.Aprovado:
421
- return 'Aprovado';
422
- case this.Rejeitado:
423
- return 'Rejeitado';
424
- default:
425
- return 'enum not found';
426
- }
427
- },
428
- };
429
- exports.TipoOperacaoComprovanteTroca = {
430
- Imprimir: '0',
431
- Solicitar: '1',
432
- description(val) {
433
- switch (val) {
434
- case this.Imprimir:
435
- return 'Sempre Imprimir';
436
- case this.Solicitar:
437
- return 'Solicitar Impressão';
438
- default:
439
- return 'enum not found';
440
- }
441
- },
442
- };
443
- exports.FusoHorario = {
444
- UTC_M12: -12,
445
- UTC_M11: -11,
446
- UTC_M10: -10,
447
- UTC_M9: -9,
448
- UTC_M8: -8,
449
- UTC_M7: -7,
450
- UTC_M6: -6,
451
- UTC_M5: -5,
452
- UTC_M4: -4,
453
- UTC_M3: -3,
454
- UTC_M2: -2,
455
- UTC_M1: -1,
456
- UTC_0: 0,
457
- UTC_P1: +1,
458
- UTC_P2: +2,
459
- UTC_P3: +3,
460
- UTC_P4: +4,
461
- UTC_P5: +5,
462
- UTC_P6: +6,
463
- UTC_P7: +7,
464
- UTC_P8: +8,
465
- UTC_P9: +9,
466
- UTC_P10: +10,
467
- UTC_P11: +11,
468
- UTC_P12: +12,
469
- description(val) {
470
- switch (val) {
471
- case this.UTC_M12:
472
- return 'UTC -12: Baker Island, Howland Island';
473
- case this.UTC_M11:
474
- return 'UTC -11: Samoa Americana, Niue';
475
- case this.UTC_M10:
476
- return 'UTC -10: Havaí, Polinésia Francesa';
477
- case this.UTC_M9:
478
- return 'UTC -9: Alasca';
479
- case this.UTC_M8:
480
- return 'UTC -8: Los Angeles, Vancouver, Tijuana';
481
- case this.UTC_M7:
482
- return 'UTC -7: Denver, Calgary, Phoenix, Arizona';
483
- case this.UTC_M6:
484
- return 'UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica';
485
- case this.UTC_M5:
486
- return 'UTC -5: Nova York, Bogotá, Lima, Toronto';
487
- case this.UTC_M4:
488
- return 'UTC -4: Caracas, Santiago, La Paz, Halifax';
489
- case this.UTC_M3:
490
- return 'UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo';
491
- case this.UTC_M2:
492
- return 'UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha';
493
- case this.UTC_M1:
494
- return 'UTC -1: Açores, Cabo Verde';
495
- case this.UTC_0:
496
- return 'UTC 0: Londres, Lisboa, Accra, Dublin';
497
- case this.UTC_P1:
498
- return 'UTC +1: Paris, Berlim, Roma, Madri, Bruxelas';
499
- case this.UTC_P2:
500
- return 'UTC +2: Atenas, Cairo, Joanesburgo, Helsinque';
501
- case this.UTC_P3:
502
- return 'UTC +3: Moscou, Riad, Nairóbi, São Petersburgo';
503
- case this.UTC_P4:
504
- return 'UTC +4: Dubai, Baku, Samara';
505
- case this.UTC_P5:
506
- return 'UTC +5: Islamabad, Maldivas, Tasquente';
507
- case this.UTC_P6:
508
- return 'UTC +6: Dhaka, Butão, Almaty';
509
- case this.UTC_P7:
510
- return 'UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk';
511
- case this.UTC_P8:
512
- return 'UTC +8: Pequim, Hong Kong, Perth, Singapura';
513
- case this.UTC_P9:
514
- return 'UTC +9: Tóquio, Seul, Yakutsk';
515
- case this.UTC_P10:
516
- return 'UTC +10: Sydney, Vladivostok, Port Moresby';
517
- case this.UTC_P11:
518
- return 'UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk';
519
- case this.UTC_P12:
520
- return 'UTC +12: Nova Zelândia, Fiji, Kamchatka';
521
- default:
522
- return 'Fuso horário não encontrado';
523
- }
524
- },
525
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FusoHorario = exports.TipoOperacaoComprovanteTroca = exports.SituacaoAutorizacao = exports.OrigemAutorizacao = exports.TipoArquivoExportacao = exports.ModeloImportacao = exports.TipoImportacao = exports.TipoAtualizacaoSocket = exports.TipoInformacaoBalanca = exports.ModeloBalanca = exports.TipoImpressao = exports.ModeloPimaco = exports.ParametroEtiquetaProduto = exports.ModeloEtiqueta = exports.TipoEtiqueta = exports.TipoPrecoPadrao = exports.ModoFinalizacao = exports.VersaoLayoutSat = exports.ModeloSat = exports.ModeloPOS = exports.TipoPeriferico = exports.TipoDispositivo = exports.TipoPermissaoMain = exports.TipoPermissao = void 0;
4
+ exports.TipoPermissao = {
5
+ Visualizacao: '1',
6
+ Funcao: '2',
7
+ description(val) {
8
+ switch (val) {
9
+ case this.Visualizacao:
10
+ return 'Visualização';
11
+ case this.Funcao:
12
+ return 'Função';
13
+ default:
14
+ return 'enum not found';
15
+ }
16
+ },
17
+ };
18
+ exports.TipoPermissaoMain = {
19
+ Master: '1',
20
+ Administrador: '2',
21
+ Gestor: '3',
22
+ Vendedor: '4',
23
+ Financeiro: '5',
24
+ description(val) {
25
+ switch (val) {
26
+ case this.Master:
27
+ return 'Master';
28
+ case this.Administrador:
29
+ return 'Administrador';
30
+ case this.Gestor:
31
+ return 'Gestor';
32
+ case this.Vendedor:
33
+ return 'Vendedor';
34
+ case this.Financeiro:
35
+ return 'Financeiro';
36
+ default:
37
+ return 'enum not found';
38
+ }
39
+ },
40
+ };
41
+ exports.TipoDispositivo = {
42
+ Cliente: '1',
43
+ Servidor: '2',
44
+ description(val) {
45
+ switch (val) {
46
+ case this.Cliente:
47
+ return 'Cliente';
48
+ case this.Servidor:
49
+ return 'Servidor';
50
+ default:
51
+ return 'enum not found';
52
+ }
53
+ },
54
+ };
55
+ exports.TipoPeriferico = {
56
+ ImpressoraA4: '1',
57
+ Balanca: '2',
58
+ Sat: '3',
59
+ ImpressoraComprovante: '4',
60
+ ImpressoraEtiqueta: '5',
61
+ POS: '6',
62
+ description(val) {
63
+ switch (val) {
64
+ case this.ImpressoraA4:
65
+ return 'Impressora A4';
66
+ case this.ImpressoraComprovante:
67
+ return 'Impressora Comprovante';
68
+ case this.ImpressoraEtiqueta:
69
+ return 'Impressora Etiqueta';
70
+ case this.Balanca:
71
+ return 'Balanca';
72
+ case this.Sat:
73
+ return 'Sat';
74
+ case this.POS:
75
+ return 'POS';
76
+ default:
77
+ return 'enum not found';
78
+ }
79
+ },
80
+ };
81
+ exports.ModeloPOS = {
82
+ Vero: '1',
83
+ description(val) {
84
+ switch (val) {
85
+ case this.Vero:
86
+ return 'VERO';
87
+ default:
88
+ return 'enum not found';
89
+ }
90
+ },
91
+ };
92
+ exports.ModeloSat = {
93
+ Bematech: '1',
94
+ Gertec: '2',
95
+ Urano: '3',
96
+ Generica: '4',
97
+ Sweda: '5',
98
+ Tanca: '6',
99
+ Dimep: '7',
100
+ Nitere: '9',
101
+ Elgin: '10',
102
+ Care: '11',
103
+ Epson: '12',
104
+ ControlId: '13',
105
+ MFe: '99',
106
+ description(val) {
107
+ switch (val) {
108
+ case this.Bematech:
109
+ return 'Bematech';
110
+ case this.Gertec:
111
+ return 'Gertec';
112
+ case this.Urano:
113
+ return 'Urano';
114
+ case this.Generica:
115
+ return 'Generica';
116
+ case this.Sweda:
117
+ return 'Sweda';
118
+ case this.Tanca:
119
+ return 'Tanca';
120
+ case this.Dimep:
121
+ return 'Dimep';
122
+ case this.Nitere:
123
+ return 'Nitere';
124
+ case this.Elgin:
125
+ return 'Elgin';
126
+ case this.Care:
127
+ return 'Care';
128
+ case this.Epson:
129
+ return 'Epson';
130
+ case this.ControlId:
131
+ return 'ControlId';
132
+ case this.MFe:
133
+ return 'MFe';
134
+ default:
135
+ return 'enum not found';
136
+ }
137
+ },
138
+ };
139
+ exports.VersaoLayoutSat = {
140
+ Layout007: '0.07',
141
+ Layout008: '0.08',
142
+ description(val) {
143
+ switch (val) {
144
+ case this.Layout007:
145
+ return 'Layout 0.07';
146
+ case this.Layout008:
147
+ return 'Layout 0.08';
148
+ default:
149
+ return 'enum not found';
150
+ }
151
+ },
152
+ };
153
+ exports.ModoFinalizacao = {
154
+ ImprimirDireto: '1',
155
+ SolicitarModal: '2',
156
+ description(val) {
157
+ switch (val) {
158
+ case this.ImprimirDireto:
159
+ return 'Imprimir Direto';
160
+ case this.SolicitarModal:
161
+ return 'Solicitar Compartilhamento';
162
+ default:
163
+ return 'enum not found';
164
+ }
165
+ },
166
+ };
167
+ exports.TipoPrecoPadrao = {
168
+ Varejo: '0',
169
+ Atacado: '1',
170
+ description(val) {
171
+ switch (val) {
172
+ case this.Varejo:
173
+ return 'Varejo';
174
+ case this.Atacado:
175
+ return 'Atacado';
176
+ default:
177
+ return 'enum not found';
178
+ }
179
+ },
180
+ };
181
+ exports.TipoEtiqueta = {
182
+ Produto: '1',
183
+ Pedido: '2',
184
+ description(val) {
185
+ switch (val) {
186
+ case this.Produto:
187
+ return 'Produto';
188
+ case this.Pedido:
189
+ return 'Pedido';
190
+ default:
191
+ return 'enum not found';
192
+ }
193
+ },
194
+ };
195
+ exports.ModeloEtiqueta = {
196
+ Personalizada: '1',
197
+ PreDefinida: '2',
198
+ Desenhada: '3',
199
+ description(val) {
200
+ switch (val) {
201
+ case this.PreDefinida:
202
+ return 'Pré Definida';
203
+ case this.Personalizada:
204
+ return 'Personalizada';
205
+ case this.Desenhada:
206
+ return 'Desenhada';
207
+ default:
208
+ return 'enum not found';
209
+ }
210
+ },
211
+ };
212
+ exports.ParametroEtiquetaProduto = {
213
+ Sku: '1',
214
+ Nome: '2',
215
+ Barra: '3',
216
+ Marca: '4',
217
+ Grade: '5',
218
+ Pv: '6',
219
+ Pa: '7',
220
+ Pvp: '8',
221
+ Pap: '9',
222
+ Nomel2: '10',
223
+ Gradel2: '11',
224
+ Pparcelado: '12',
225
+ Nomel3: '13',
226
+ Indexador: '14',
227
+ description(val) {
228
+ switch (val) {
229
+ case this.Nome:
230
+ return 'Descrição';
231
+ case this.Nomel2:
232
+ return 'Descrição Linha 2';
233
+ case this.Sku:
234
+ return 'Sku';
235
+ case this.Barra:
236
+ return 'Codigo de Barras';
237
+ case this.Marca:
238
+ return 'Marca';
239
+ case this.Grade:
240
+ return 'Variação';
241
+ case this.Pv:
242
+ return 'Preço Varejo';
243
+ case this.Pa:
244
+ return 'Preço Atacado';
245
+ case this.Pvp:
246
+ return 'Preço Varejo Promocional';
247
+ case this.Pap:
248
+ return 'Preço Atacado Promocional';
249
+ case this.Gradel2:
250
+ return 'Descrição Variação Linha 2';
251
+ case this.Pparcelado:
252
+ return 'Preço Parcelado';
253
+ case this.Nomel3:
254
+ return 'Descrição Linha 3';
255
+ case this.Indexador:
256
+ return 'Valor Indexador';
257
+ default:
258
+ return 'enum not found';
259
+ }
260
+ },
261
+ };
262
+ exports.ModeloPimaco = {
263
+ M6187: '0',
264
+ A4351: '1',
265
+ description(val) {
266
+ switch (val) {
267
+ case this.M6187:
268
+ return '6187';
269
+ case this.A4351:
270
+ return 'A4351';
271
+ default:
272
+ return 'enum not found';
273
+ }
274
+ },
275
+ };
276
+ exports.TipoImpressao = {
277
+ Arquivo: '1',
278
+ Texto: '2',
279
+ description(val) {
280
+ switch (val) {
281
+ case this.Arquivo:
282
+ return 'Arquivo';
283
+ case this.Texto:
284
+ return 'Texto';
285
+ default:
286
+ return 'enum not found';
287
+ }
288
+ },
289
+ };
290
+ exports.ModeloBalanca = {
291
+ Filizola: '1',
292
+ Toledo: '2',
293
+ description(val) {
294
+ switch (val) {
295
+ case this.Filizola:
296
+ return 'Filizola';
297
+ case this.Toledo:
298
+ return 'Toledo';
299
+ default:
300
+ return 'enum not found';
301
+ }
302
+ },
303
+ };
304
+ exports.TipoInformacaoBalanca = {
305
+ Peso: '1',
306
+ PrecoTotal: '2',
307
+ description(val) {
308
+ switch (val) {
309
+ case this.Peso:
310
+ return 'Peso';
311
+ case this.PrecoTotal:
312
+ return 'Preço Total';
313
+ default:
314
+ return 'enum not found';
315
+ }
316
+ },
317
+ };
318
+ exports.TipoAtualizacaoSocket = {
319
+ Produto: '1',
320
+ TabelaPreco: '2',
321
+ Promocao: '3',
322
+ description(val) {
323
+ switch (val) {
324
+ case this.Produto:
325
+ return 'Produto';
326
+ case this.TabelaPreco:
327
+ return 'Tabela de Preço';
328
+ case this.Promocao:
329
+ return 'Promoção';
330
+ default:
331
+ return 'enum not found';
332
+ }
333
+ },
334
+ };
335
+ exports.TipoImportacao = {
336
+ Produto: '1',
337
+ Pessoa: '2',
338
+ Estoque: '3',
339
+ CodigoBarras: '4',
340
+ Grade: '5',
341
+ DocumentoFinanceiro: '6',
342
+ PrecoProdutos: '7',
343
+ PrecoGrade: '8',
344
+ PrecoFilial: '9',
345
+ description(val) {
346
+ switch (val) {
347
+ case this.Produto:
348
+ return 'Produto';
349
+ case this.Pessoa:
350
+ return 'Pessoa';
351
+ case this.Estoque:
352
+ return 'Estoque';
353
+ case this.CodigoBarras:
354
+ return 'Código de Barras';
355
+ case this.Grade:
356
+ return 'Grade';
357
+ case this.DocumentoFinanceiro:
358
+ return 'Documento Financeiro';
359
+ case this.PrecoProdutos:
360
+ return 'Preço de Produtos';
361
+ case this.PrecoGrade:
362
+ return 'Preço de Grade';
363
+ case this.PrecoFilial:
364
+ return 'Preço de Filial';
365
+ default:
366
+ return 'enum not found';
367
+ }
368
+ },
369
+ };
370
+ exports.ModeloImportacao = {
371
+ Importacao: '1',
372
+ Atualizacao: '2',
373
+ description(val) {
374
+ switch (val) {
375
+ case this.Importacao:
376
+ return 'Importação';
377
+ case this.Atualizacao:
378
+ return 'Atualização';
379
+ default:
380
+ return 'enum not found';
381
+ }
382
+ },
383
+ };
384
+ exports.TipoArquivoExportacao = {
385
+ Pdf: '0',
386
+ Excel: '1',
387
+ description(val) {
388
+ switch (val) {
389
+ case this.Pdf:
390
+ return 'PDF';
391
+ case this.Excel:
392
+ return 'EXCEL';
393
+ default:
394
+ return 'enum not found';
395
+ }
396
+ },
397
+ };
398
+ exports.OrigemAutorizacao = {
399
+ Nota: '0',
400
+ Pedido: '1',
401
+ description(val) {
402
+ switch (val) {
403
+ case this.Nota:
404
+ return 'Nota';
405
+ case this.Pedido:
406
+ return 'Pedido';
407
+ default:
408
+ return 'enum not found';
409
+ }
410
+ },
411
+ };
412
+ exports.SituacaoAutorizacao = {
413
+ Pendente: '0',
414
+ Aprovado: '1',
415
+ Rejeitado: '2',
416
+ description(val) {
417
+ switch (val) {
418
+ case this.Pendente:
419
+ return 'Pendente';
420
+ case this.Aprovado:
421
+ return 'Aprovado';
422
+ case this.Rejeitado:
423
+ return 'Rejeitado';
424
+ default:
425
+ return 'enum not found';
426
+ }
427
+ },
428
+ };
429
+ exports.TipoOperacaoComprovanteTroca = {
430
+ Imprimir: '0',
431
+ Solicitar: '1',
432
+ description(val) {
433
+ switch (val) {
434
+ case this.Imprimir:
435
+ return 'Sempre Imprimir';
436
+ case this.Solicitar:
437
+ return 'Solicitar Impressão';
438
+ default:
439
+ return 'enum not found';
440
+ }
441
+ },
442
+ };
443
+ exports.FusoHorario = {
444
+ UTC_M12: -12,
445
+ UTC_M11: -11,
446
+ UTC_M10: -10,
447
+ UTC_M9: -9,
448
+ UTC_M8: -8,
449
+ UTC_M7: -7,
450
+ UTC_M6: -6,
451
+ UTC_M5: -5,
452
+ UTC_M4: -4,
453
+ UTC_M3: -3,
454
+ UTC_M2: -2,
455
+ UTC_M1: -1,
456
+ UTC_0: 0,
457
+ UTC_P1: +1,
458
+ UTC_P2: +2,
459
+ UTC_P3: +3,
460
+ UTC_P4: +4,
461
+ UTC_P5: +5,
462
+ UTC_P6: +6,
463
+ UTC_P7: +7,
464
+ UTC_P8: +8,
465
+ UTC_P9: +9,
466
+ UTC_P10: +10,
467
+ UTC_P11: +11,
468
+ UTC_P12: +12,
469
+ description(val) {
470
+ switch (val) {
471
+ case this.UTC_M12:
472
+ return 'UTC -12: Baker Island, Howland Island';
473
+ case this.UTC_M11:
474
+ return 'UTC -11: Samoa Americana, Niue';
475
+ case this.UTC_M10:
476
+ return 'UTC -10: Havaí, Polinésia Francesa';
477
+ case this.UTC_M9:
478
+ return 'UTC -9: Alasca';
479
+ case this.UTC_M8:
480
+ return 'UTC -8: Los Angeles, Vancouver, Tijuana';
481
+ case this.UTC_M7:
482
+ return 'UTC -7: Denver, Calgary, Phoenix, Arizona';
483
+ case this.UTC_M6:
484
+ return 'UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica';
485
+ case this.UTC_M5:
486
+ return 'UTC -5: Nova York, Bogotá, Lima, Toronto';
487
+ case this.UTC_M4:
488
+ return 'UTC -4: Caracas, Santiago, La Paz, Halifax';
489
+ case this.UTC_M3:
490
+ return 'UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo';
491
+ case this.UTC_M2:
492
+ return 'UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha';
493
+ case this.UTC_M1:
494
+ return 'UTC -1: Açores, Cabo Verde';
495
+ case this.UTC_0:
496
+ return 'UTC 0: Londres, Lisboa, Accra, Dublin';
497
+ case this.UTC_P1:
498
+ return 'UTC +1: Paris, Berlim, Roma, Madri, Bruxelas';
499
+ case this.UTC_P2:
500
+ return 'UTC +2: Atenas, Cairo, Joanesburgo, Helsinque';
501
+ case this.UTC_P3:
502
+ return 'UTC +3: Moscou, Riad, Nairóbi, São Petersburgo';
503
+ case this.UTC_P4:
504
+ return 'UTC +4: Dubai, Baku, Samara';
505
+ case this.UTC_P5:
506
+ return 'UTC +5: Islamabad, Maldivas, Tasquente';
507
+ case this.UTC_P6:
508
+ return 'UTC +6: Dhaka, Butão, Almaty';
509
+ case this.UTC_P7:
510
+ return 'UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk';
511
+ case this.UTC_P8:
512
+ return 'UTC +8: Pequim, Hong Kong, Perth, Singapura';
513
+ case this.UTC_P9:
514
+ return 'UTC +9: Tóquio, Seul, Yakutsk';
515
+ case this.UTC_P10:
516
+ return 'UTC +10: Sydney, Vladivostok, Port Moresby';
517
+ case this.UTC_P11:
518
+ return 'UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk';
519
+ case this.UTC_P12:
520
+ return 'UTC +12: Nova Zelândia, Fiji, Kamchatka';
521
+ default:
522
+ return 'Fuso horário não encontrado';
523
+ }
524
+ },
525
+ };