mdz-enum 1.6.16 → 1.6.19

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 (39) 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 +237 -237
  4. package/dist/commercial/index.js +578 -578
  5. package/dist/common/index.d.ts +59 -59
  6. package/dist/common/index.js +171 -171
  7. package/dist/config/index.d.ts +181 -181
  8. package/dist/config/index.js +522 -522
  9. package/dist/finance/index.d.ts +177 -177
  10. package/dist/finance/index.js +462 -462
  11. package/dist/fiscal/index.d.ts +536 -536
  12. package/dist/fiscal/index.js +1356 -1356
  13. package/dist/functions.d.ts +11 -11
  14. package/dist/functions.js +74 -74
  15. package/dist/general/index.d.ts +265 -265
  16. package/dist/general/index.js +512 -512
  17. package/dist/index.d.ts +14 -14
  18. package/dist/index.js +232 -230
  19. package/dist/integration/index.d.ts +27 -27
  20. package/dist/integration/index.js +80 -80
  21. package/dist/logistics/index.d.ts +142 -142
  22. package/dist/logistics/index.js +410 -410
  23. package/dist/marketplace/templates/components/index.d.ts +290 -285
  24. package/dist/marketplace/templates/components/index.js +311 -305
  25. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  26. package/dist/marketplace/templates/elements/index.js +35 -35
  27. package/dist/marketplace/templates/index.d.ts +507 -502
  28. package/dist/marketplace/templates/index.js +46 -45
  29. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  30. package/dist/marketplace/templates/pages/index.js +413 -413
  31. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  32. package/dist/marketplace/templates/reference/index.js +26 -26
  33. package/dist/people/index.d.ts +50 -50
  34. package/dist/people/index.js +145 -145
  35. package/dist/platform/index.d.ts +205 -205
  36. package/dist/platform/index.js +594 -594
  37. package/dist/reports/index.d.ts +90 -90
  38. package/dist/reports/index.js +263 -263
  39. package/package.json +2 -3
@@ -1,522 +1,522 @@
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
- description(val) {
199
- switch (val) {
200
- case this.PreDefinida:
201
- return 'Pré Definida';
202
- case this.Personalizada:
203
- return 'Personalizada';
204
- default:
205
- return 'enum not found';
206
- }
207
- },
208
- };
209
- exports.ParametroEtiquetaProduto = {
210
- Sku: '1',
211
- Nome: '2',
212
- Barra: '3',
213
- Marca: '4',
214
- Grade: '5',
215
- Pv: '6',
216
- Pa: '7',
217
- Pvp: '8',
218
- Pap: '9',
219
- Nomel2: '10',
220
- Gradel2: '11',
221
- Pparcelado: '12',
222
- Nomel3: '13',
223
- Indexador: '14',
224
- description(val) {
225
- switch (val) {
226
- case this.Nome:
227
- return 'Descrição';
228
- case this.Nomel2:
229
- return 'Descrição Linha 2';
230
- case this.Sku:
231
- return 'Sku';
232
- case this.Barra:
233
- return 'Codigo de Barras';
234
- case this.Marca:
235
- return 'Marca';
236
- case this.Grade:
237
- return 'Variação';
238
- case this.Pv:
239
- return 'Preço Varejo';
240
- case this.Pa:
241
- return 'Preço Atacado';
242
- case this.Pvp:
243
- return 'Preço Varejo Promocional';
244
- case this.Pap:
245
- return 'Preço Atacado Promocional';
246
- case this.Gradel2:
247
- return 'Descrição Variação Linha 2';
248
- case this.Pparcelado:
249
- return 'Preço Parcelado';
250
- case this.Nomel3:
251
- return 'Descrição Linha 3';
252
- case this.Indexador:
253
- return 'Valor Indexador';
254
- default:
255
- return 'enum not found';
256
- }
257
- },
258
- };
259
- exports.ModeloPimaco = {
260
- M6187: '0',
261
- A4351: '1',
262
- description(val) {
263
- switch (val) {
264
- case this.M6187:
265
- return '6187';
266
- case this.A4351:
267
- return 'A4351';
268
- default:
269
- return 'enum not found';
270
- }
271
- },
272
- };
273
- exports.TipoImpressao = {
274
- Arquivo: '1',
275
- Texto: '2',
276
- description(val) {
277
- switch (val) {
278
- case this.Arquivo:
279
- return 'Arquivo';
280
- case this.Texto:
281
- return 'Texto';
282
- default:
283
- return 'enum not found';
284
- }
285
- },
286
- };
287
- exports.ModeloBalanca = {
288
- Filizola: '1',
289
- Toledo: '2',
290
- description(val) {
291
- switch (val) {
292
- case this.Filizola:
293
- return 'Filizola';
294
- case this.Toledo:
295
- return 'Toledo';
296
- default:
297
- return 'enum not found';
298
- }
299
- },
300
- };
301
- exports.TipoInformacaoBalanca = {
302
- Peso: '1',
303
- PrecoTotal: '2',
304
- description(val) {
305
- switch (val) {
306
- case this.Peso:
307
- return 'Peso';
308
- case this.PrecoTotal:
309
- return 'Preço Total';
310
- default:
311
- return 'enum not found';
312
- }
313
- },
314
- };
315
- exports.TipoAtualizacaoSocket = {
316
- Produto: '1',
317
- TabelaPreco: '2',
318
- Promocao: '3',
319
- description(val) {
320
- switch (val) {
321
- case this.Produto:
322
- return 'Produto';
323
- case this.TabelaPreco:
324
- return 'Tabela de Preço';
325
- case this.Promocao:
326
- return 'Promoção';
327
- default:
328
- return 'enum not found';
329
- }
330
- },
331
- };
332
- exports.TipoImportacao = {
333
- Produto: '1',
334
- Pessoa: '2',
335
- Estoque: '3',
336
- CodigoBarras: '4',
337
- Grade: '5',
338
- DocumentoFinanceiro: '6',
339
- PrecoProdutos: '7',
340
- PrecoGrade: '8',
341
- PrecoFilial: '9',
342
- description(val) {
343
- switch (val) {
344
- case this.Produto:
345
- return 'Produto';
346
- case this.Pessoa:
347
- return 'Pessoa';
348
- case this.Estoque:
349
- return 'Estoque';
350
- case this.CodigoBarras:
351
- return 'Código de Barras';
352
- case this.Grade:
353
- return 'Grade';
354
- case this.DocumentoFinanceiro:
355
- return 'Documento Financeiro';
356
- case this.PrecoProdutos:
357
- return 'Preço de Produtos';
358
- case this.PrecoGrade:
359
- return 'Preço de Grade';
360
- case this.PrecoFilial:
361
- return 'Preço de Filial';
362
- default:
363
- return 'enum not found';
364
- }
365
- },
366
- };
367
- exports.ModeloImportacao = {
368
- Importacao: '1',
369
- Atualizacao: '2',
370
- description(val) {
371
- switch (val) {
372
- case this.Importacao:
373
- return 'Importação';
374
- case this.Atualizacao:
375
- return 'Atualização';
376
- default:
377
- return 'enum not found';
378
- }
379
- },
380
- };
381
- exports.TipoArquivoExportacao = {
382
- Pdf: '0',
383
- Excel: '1',
384
- description(val) {
385
- switch (val) {
386
- case this.Pdf:
387
- return 'PDF';
388
- case this.Excel:
389
- return 'EXCEL';
390
- default:
391
- return 'enum not found';
392
- }
393
- },
394
- };
395
- exports.OrigemAutorizacao = {
396
- Nota: '0',
397
- Pedido: '1',
398
- description(val) {
399
- switch (val) {
400
- case this.Nota:
401
- return 'Nota';
402
- case this.Pedido:
403
- return 'Pedido';
404
- default:
405
- return 'enum not found';
406
- }
407
- },
408
- };
409
- exports.SituacaoAutorizacao = {
410
- Pendente: '0',
411
- Aprovado: '1',
412
- Rejeitado: '2',
413
- description(val) {
414
- switch (val) {
415
- case this.Pendente:
416
- return 'Pendente';
417
- case this.Aprovado:
418
- return 'Aprovado';
419
- case this.Rejeitado:
420
- return 'Rejeitado';
421
- default:
422
- return 'enum not found';
423
- }
424
- },
425
- };
426
- exports.TipoOperacaoComprovanteTroca = {
427
- Imprimir: '0',
428
- Solicitar: '1',
429
- description(val) {
430
- switch (val) {
431
- case this.Imprimir:
432
- return 'Sempre Imprimir';
433
- case this.Solicitar:
434
- return 'Solicitar Impressão';
435
- default:
436
- return 'enum not found';
437
- }
438
- },
439
- };
440
- exports.FusoHorario = {
441
- UTC_M12: -12,
442
- UTC_M11: -11,
443
- UTC_M10: -10,
444
- UTC_M9: -9,
445
- UTC_M8: -8,
446
- UTC_M7: -7,
447
- UTC_M6: -6,
448
- UTC_M5: -5,
449
- UTC_M4: -4,
450
- UTC_M3: -3,
451
- UTC_M2: -2,
452
- UTC_M1: -1,
453
- UTC_0: 0,
454
- UTC_P1: +1,
455
- UTC_P2: +2,
456
- UTC_P3: +3,
457
- UTC_P4: +4,
458
- UTC_P5: +5,
459
- UTC_P6: +6,
460
- UTC_P7: +7,
461
- UTC_P8: +8,
462
- UTC_P9: +9,
463
- UTC_P10: +10,
464
- UTC_P11: +11,
465
- UTC_P12: +12,
466
- description(val) {
467
- switch (val) {
468
- case this.UTC_M12:
469
- return 'UTC -12: Baker Island, Howland Island';
470
- case this.UTC_M11:
471
- return 'UTC -11: Samoa Americana, Niue';
472
- case this.UTC_M10:
473
- return 'UTC -10: Havaí, Polinésia Francesa';
474
- case this.UTC_M9:
475
- return 'UTC -9: Alasca';
476
- case this.UTC_M8:
477
- return 'UTC -8: Los Angeles, Vancouver, Tijuana';
478
- case this.UTC_M7:
479
- return 'UTC -7: Denver, Calgary, Phoenix, Arizona';
480
- case this.UTC_M6:
481
- return 'UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica';
482
- case this.UTC_M5:
483
- return 'UTC -5: Nova York, Bogotá, Lima, Toronto';
484
- case this.UTC_M4:
485
- return 'UTC -4: Caracas, Santiago, La Paz, Halifax';
486
- case this.UTC_M3:
487
- return 'UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo';
488
- case this.UTC_M2:
489
- return 'UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha';
490
- case this.UTC_M1:
491
- return 'UTC -1: Açores, Cabo Verde';
492
- case this.UTC_0:
493
- return 'UTC 0: Londres, Lisboa, Accra, Dublin';
494
- case this.UTC_P1:
495
- return 'UTC +1: Paris, Berlim, Roma, Madri, Bruxelas';
496
- case this.UTC_P2:
497
- return 'UTC +2: Atenas, Cairo, Joanesburgo, Helsinque';
498
- case this.UTC_P3:
499
- return 'UTC +3: Moscou, Riad, Nairóbi, São Petersburgo';
500
- case this.UTC_P4:
501
- return 'UTC +4: Dubai, Baku, Samara';
502
- case this.UTC_P5:
503
- return 'UTC +5: Islamabad, Maldivas, Tasquente';
504
- case this.UTC_P6:
505
- return 'UTC +6: Dhaka, Butão, Almaty';
506
- case this.UTC_P7:
507
- return 'UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk';
508
- case this.UTC_P8:
509
- return 'UTC +8: Pequim, Hong Kong, Perth, Singapura';
510
- case this.UTC_P9:
511
- return 'UTC +9: Tóquio, Seul, Yakutsk';
512
- case this.UTC_P10:
513
- return 'UTC +10: Sydney, Vladivostok, Port Moresby';
514
- case this.UTC_P11:
515
- return 'UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk';
516
- case this.UTC_P12:
517
- return 'UTC +12: Nova Zelândia, Fiji, Kamchatka';
518
- default:
519
- return 'Fuso horário não encontrado';
520
- }
521
- },
522
- };
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
+ description(val) {
199
+ switch (val) {
200
+ case this.PreDefinida:
201
+ return 'Pré Definida';
202
+ case this.Personalizada:
203
+ return 'Personalizada';
204
+ default:
205
+ return 'enum not found';
206
+ }
207
+ },
208
+ };
209
+ exports.ParametroEtiquetaProduto = {
210
+ Sku: '1',
211
+ Nome: '2',
212
+ Barra: '3',
213
+ Marca: '4',
214
+ Grade: '5',
215
+ Pv: '6',
216
+ Pa: '7',
217
+ Pvp: '8',
218
+ Pap: '9',
219
+ Nomel2: '10',
220
+ Gradel2: '11',
221
+ Pparcelado: '12',
222
+ Nomel3: '13',
223
+ Indexador: '14',
224
+ description(val) {
225
+ switch (val) {
226
+ case this.Nome:
227
+ return 'Descrição';
228
+ case this.Nomel2:
229
+ return 'Descrição Linha 2';
230
+ case this.Sku:
231
+ return 'Sku';
232
+ case this.Barra:
233
+ return 'Codigo de Barras';
234
+ case this.Marca:
235
+ return 'Marca';
236
+ case this.Grade:
237
+ return 'Variação';
238
+ case this.Pv:
239
+ return 'Preço Varejo';
240
+ case this.Pa:
241
+ return 'Preço Atacado';
242
+ case this.Pvp:
243
+ return 'Preço Varejo Promocional';
244
+ case this.Pap:
245
+ return 'Preço Atacado Promocional';
246
+ case this.Gradel2:
247
+ return 'Descrição Variação Linha 2';
248
+ case this.Pparcelado:
249
+ return 'Preço Parcelado';
250
+ case this.Nomel3:
251
+ return 'Descrição Linha 3';
252
+ case this.Indexador:
253
+ return 'Valor Indexador';
254
+ default:
255
+ return 'enum not found';
256
+ }
257
+ },
258
+ };
259
+ exports.ModeloPimaco = {
260
+ M6187: '0',
261
+ A4351: '1',
262
+ description(val) {
263
+ switch (val) {
264
+ case this.M6187:
265
+ return '6187';
266
+ case this.A4351:
267
+ return 'A4351';
268
+ default:
269
+ return 'enum not found';
270
+ }
271
+ },
272
+ };
273
+ exports.TipoImpressao = {
274
+ Arquivo: '1',
275
+ Texto: '2',
276
+ description(val) {
277
+ switch (val) {
278
+ case this.Arquivo:
279
+ return 'Arquivo';
280
+ case this.Texto:
281
+ return 'Texto';
282
+ default:
283
+ return 'enum not found';
284
+ }
285
+ },
286
+ };
287
+ exports.ModeloBalanca = {
288
+ Filizola: '1',
289
+ Toledo: '2',
290
+ description(val) {
291
+ switch (val) {
292
+ case this.Filizola:
293
+ return 'Filizola';
294
+ case this.Toledo:
295
+ return 'Toledo';
296
+ default:
297
+ return 'enum not found';
298
+ }
299
+ },
300
+ };
301
+ exports.TipoInformacaoBalanca = {
302
+ Peso: '1',
303
+ PrecoTotal: '2',
304
+ description(val) {
305
+ switch (val) {
306
+ case this.Peso:
307
+ return 'Peso';
308
+ case this.PrecoTotal:
309
+ return 'Preço Total';
310
+ default:
311
+ return 'enum not found';
312
+ }
313
+ },
314
+ };
315
+ exports.TipoAtualizacaoSocket = {
316
+ Produto: '1',
317
+ TabelaPreco: '2',
318
+ Promocao: '3',
319
+ description(val) {
320
+ switch (val) {
321
+ case this.Produto:
322
+ return 'Produto';
323
+ case this.TabelaPreco:
324
+ return 'Tabela de Preço';
325
+ case this.Promocao:
326
+ return 'Promoção';
327
+ default:
328
+ return 'enum not found';
329
+ }
330
+ },
331
+ };
332
+ exports.TipoImportacao = {
333
+ Produto: '1',
334
+ Pessoa: '2',
335
+ Estoque: '3',
336
+ CodigoBarras: '4',
337
+ Grade: '5',
338
+ DocumentoFinanceiro: '6',
339
+ PrecoProdutos: '7',
340
+ PrecoGrade: '8',
341
+ PrecoFilial: '9',
342
+ description(val) {
343
+ switch (val) {
344
+ case this.Produto:
345
+ return 'Produto';
346
+ case this.Pessoa:
347
+ return 'Pessoa';
348
+ case this.Estoque:
349
+ return 'Estoque';
350
+ case this.CodigoBarras:
351
+ return 'Código de Barras';
352
+ case this.Grade:
353
+ return 'Grade';
354
+ case this.DocumentoFinanceiro:
355
+ return 'Documento Financeiro';
356
+ case this.PrecoProdutos:
357
+ return 'Preço de Produtos';
358
+ case this.PrecoGrade:
359
+ return 'Preço de Grade';
360
+ case this.PrecoFilial:
361
+ return 'Preço de Filial';
362
+ default:
363
+ return 'enum not found';
364
+ }
365
+ },
366
+ };
367
+ exports.ModeloImportacao = {
368
+ Importacao: '1',
369
+ Atualizacao: '2',
370
+ description(val) {
371
+ switch (val) {
372
+ case this.Importacao:
373
+ return 'Importação';
374
+ case this.Atualizacao:
375
+ return 'Atualização';
376
+ default:
377
+ return 'enum not found';
378
+ }
379
+ },
380
+ };
381
+ exports.TipoArquivoExportacao = {
382
+ Pdf: '0',
383
+ Excel: '1',
384
+ description(val) {
385
+ switch (val) {
386
+ case this.Pdf:
387
+ return 'PDF';
388
+ case this.Excel:
389
+ return 'EXCEL';
390
+ default:
391
+ return 'enum not found';
392
+ }
393
+ },
394
+ };
395
+ exports.OrigemAutorizacao = {
396
+ Nota: '0',
397
+ Pedido: '1',
398
+ description(val) {
399
+ switch (val) {
400
+ case this.Nota:
401
+ return 'Nota';
402
+ case this.Pedido:
403
+ return 'Pedido';
404
+ default:
405
+ return 'enum not found';
406
+ }
407
+ },
408
+ };
409
+ exports.SituacaoAutorizacao = {
410
+ Pendente: '0',
411
+ Aprovado: '1',
412
+ Rejeitado: '2',
413
+ description(val) {
414
+ switch (val) {
415
+ case this.Pendente:
416
+ return 'Pendente';
417
+ case this.Aprovado:
418
+ return 'Aprovado';
419
+ case this.Rejeitado:
420
+ return 'Rejeitado';
421
+ default:
422
+ return 'enum not found';
423
+ }
424
+ },
425
+ };
426
+ exports.TipoOperacaoComprovanteTroca = {
427
+ Imprimir: '0',
428
+ Solicitar: '1',
429
+ description(val) {
430
+ switch (val) {
431
+ case this.Imprimir:
432
+ return 'Sempre Imprimir';
433
+ case this.Solicitar:
434
+ return 'Solicitar Impressão';
435
+ default:
436
+ return 'enum not found';
437
+ }
438
+ },
439
+ };
440
+ exports.FusoHorario = {
441
+ UTC_M12: -12,
442
+ UTC_M11: -11,
443
+ UTC_M10: -10,
444
+ UTC_M9: -9,
445
+ UTC_M8: -8,
446
+ UTC_M7: -7,
447
+ UTC_M6: -6,
448
+ UTC_M5: -5,
449
+ UTC_M4: -4,
450
+ UTC_M3: -3,
451
+ UTC_M2: -2,
452
+ UTC_M1: -1,
453
+ UTC_0: 0,
454
+ UTC_P1: +1,
455
+ UTC_P2: +2,
456
+ UTC_P3: +3,
457
+ UTC_P4: +4,
458
+ UTC_P5: +5,
459
+ UTC_P6: +6,
460
+ UTC_P7: +7,
461
+ UTC_P8: +8,
462
+ UTC_P9: +9,
463
+ UTC_P10: +10,
464
+ UTC_P11: +11,
465
+ UTC_P12: +12,
466
+ description(val) {
467
+ switch (val) {
468
+ case this.UTC_M12:
469
+ return 'UTC -12: Baker Island, Howland Island';
470
+ case this.UTC_M11:
471
+ return 'UTC -11: Samoa Americana, Niue';
472
+ case this.UTC_M10:
473
+ return 'UTC -10: Havaí, Polinésia Francesa';
474
+ case this.UTC_M9:
475
+ return 'UTC -9: Alasca';
476
+ case this.UTC_M8:
477
+ return 'UTC -8: Los Angeles, Vancouver, Tijuana';
478
+ case this.UTC_M7:
479
+ return 'UTC -7: Denver, Calgary, Phoenix, Arizona';
480
+ case this.UTC_M6:
481
+ return 'UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica';
482
+ case this.UTC_M5:
483
+ return 'UTC -5: Nova York, Bogotá, Lima, Toronto';
484
+ case this.UTC_M4:
485
+ return 'UTC -4: Caracas, Santiago, La Paz, Halifax';
486
+ case this.UTC_M3:
487
+ return 'UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo';
488
+ case this.UTC_M2:
489
+ return 'UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha';
490
+ case this.UTC_M1:
491
+ return 'UTC -1: Açores, Cabo Verde';
492
+ case this.UTC_0:
493
+ return 'UTC 0: Londres, Lisboa, Accra, Dublin';
494
+ case this.UTC_P1:
495
+ return 'UTC +1: Paris, Berlim, Roma, Madri, Bruxelas';
496
+ case this.UTC_P2:
497
+ return 'UTC +2: Atenas, Cairo, Joanesburgo, Helsinque';
498
+ case this.UTC_P3:
499
+ return 'UTC +3: Moscou, Riad, Nairóbi, São Petersburgo';
500
+ case this.UTC_P4:
501
+ return 'UTC +4: Dubai, Baku, Samara';
502
+ case this.UTC_P5:
503
+ return 'UTC +5: Islamabad, Maldivas, Tasquente';
504
+ case this.UTC_P6:
505
+ return 'UTC +6: Dhaka, Butão, Almaty';
506
+ case this.UTC_P7:
507
+ return 'UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk';
508
+ case this.UTC_P8:
509
+ return 'UTC +8: Pequim, Hong Kong, Perth, Singapura';
510
+ case this.UTC_P9:
511
+ return 'UTC +9: Tóquio, Seul, Yakutsk';
512
+ case this.UTC_P10:
513
+ return 'UTC +10: Sydney, Vladivostok, Port Moresby';
514
+ case this.UTC_P11:
515
+ return 'UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk';
516
+ case this.UTC_P12:
517
+ return 'UTC +12: Nova Zelândia, Fiji, Kamchatka';
518
+ default:
519
+ return 'Fuso horário não encontrado';
520
+ }
521
+ },
522
+ };