mdz-enum 1.5.85 → 1.5.87

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