mdz-enum 1.7.36 → 1.7.38

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 (46) 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 +272 -272
  5. package/dist/commercial/index.js +680 -680
  6. package/dist/common/index.d.ts +74 -74
  7. package/dist/common/index.js +214 -214
  8. package/dist/config/index.d.ts +219 -219
  9. package/dist/config/index.js +679 -679
  10. package/dist/eva/index.d.ts +198 -198
  11. package/dist/eva/index.js +330 -330
  12. package/dist/finance/index.d.ts +243 -243
  13. package/dist/finance/index.js +737 -737
  14. package/dist/fiscal/index.d.ts +612 -612
  15. package/dist/fiscal/index.js +1593 -1593
  16. package/dist/functions.d.ts +11 -11
  17. package/dist/functions.js +74 -74
  18. package/dist/general/index.d.ts +266 -266
  19. package/dist/general/index.js +515 -515
  20. package/dist/home/index.d.ts +88 -88
  21. package/dist/home/index.js +268 -268
  22. package/dist/index.d.ts +17 -17
  23. package/dist/index.js +332 -332
  24. package/dist/integration/index.d.ts +37 -37
  25. package/dist/integration/index.js +109 -109
  26. package/dist/logistics/index.d.ts +321 -321
  27. package/dist/logistics/index.js +917 -917
  28. package/dist/marketplace/templates/components/index.d.ts +352 -352
  29. package/dist/marketplace/templates/components/index.js +383 -383
  30. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  31. package/dist/marketplace/templates/elements/index.js +35 -35
  32. package/dist/marketplace/templates/index.d.ts +597 -600
  33. package/dist/marketplace/templates/index.js +49 -49
  34. package/dist/marketplace/templates/pages/index.d.ts +268 -268
  35. package/dist/marketplace/templates/pages/index.js +457 -457
  36. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  37. package/dist/marketplace/templates/reference/index.js +26 -26
  38. package/dist/people/index.d.ts +66 -66
  39. package/dist/people/index.js +192 -192
  40. package/dist/platform/index.d.ts +389 -388
  41. package/dist/platform/index.js +1208 -1205
  42. package/dist/reports/index.d.ts +108 -108
  43. package/dist/reports/index.js +316 -316
  44. package/dist/service/index.d.ts +73 -73
  45. package/dist/service/index.js +225 -225
  46. package/package.json +32 -32
@@ -1,515 +1,515 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TipoDocumento = exports.TipoPendencia = exports.TipoAjuste = exports.TipoData = exports.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = void 0;
4
- exports.Situacao = {
5
- Inativo: '0',
6
- Ativo: '1',
7
- description(val) {
8
- switch (val) {
9
- case this.Inativo:
10
- return 'Inativo';
11
- case this.Ativo:
12
- return 'Ativo';
13
- default:
14
- return 'enum not found';
15
- }
16
- },
17
- };
18
- exports.TipoCompartilhamento = {
19
- NotaFiscal: '1',
20
- PedidoVenda: '2',
21
- Boleto: '3',
22
- description(val) {
23
- switch (val) {
24
- case this.NotaFiscal:
25
- return 'Nota Fiscal';
26
- case this.PedidoVenda:
27
- return 'Pedido';
28
- case this.Boleto:
29
- return 'Boleto';
30
- default:
31
- return 'enum not found';
32
- }
33
- },
34
- };
35
- exports.TipoDescontoGeneral = {
36
- Percentual: '0',
37
- Valor: '1',
38
- description(val) {
39
- switch (val) {
40
- case this.Percentual:
41
- return 'Percentual';
42
- case this.Valor:
43
- return 'Valor';
44
- default:
45
- return 'enum not found';
46
- }
47
- },
48
- };
49
- exports.TipoTempo = {
50
- Dias: '1',
51
- Semanas: '2',
52
- Meses: '3',
53
- Anos: '4',
54
- description(val) {
55
- switch (val) {
56
- case this.Dias:
57
- return 'Dias';
58
- case this.Semanas:
59
- return 'Semanas';
60
- case this.Meses:
61
- return 'Meses';
62
- case this.Anos:
63
- return 'Anos';
64
- }
65
- },
66
- };
67
- exports.Uf = {
68
- RO: '11',
69
- AC: '12',
70
- AM: '13',
71
- RR: '14',
72
- PA: '15',
73
- AP: '16',
74
- TO: '17',
75
- MA: '21',
76
- PI: '22',
77
- CE: '23',
78
- RN: '24',
79
- PB: '25',
80
- PE: '26',
81
- AL: '27',
82
- SE: '28',
83
- BA: '29',
84
- MG: '31',
85
- ES: '32',
86
- RJ: '33',
87
- SP: '35',
88
- PR: '41',
89
- SC: '42',
90
- RS: '43',
91
- MS: '50',
92
- MT: '51',
93
- GO: '52',
94
- DF: '53',
95
- AN: '91',
96
- EX: '99',
97
- description(val) {
98
- switch (val) {
99
- case this.RO:
100
- return 'Rondônia';
101
- case this.AC:
102
- return 'Acre';
103
- case this.AM:
104
- return 'Amazonas';
105
- case this.RR:
106
- return 'Roraima';
107
- case this.PA:
108
- return 'Pará';
109
- case this.AP:
110
- return 'Amapá';
111
- case this.TO:
112
- return 'Tocantins';
113
- case this.MA:
114
- return 'Maranhão';
115
- case this.RN:
116
- return 'Rio Grande do Norte';
117
- case this.PB:
118
- return 'Paraíba';
119
- case this.PE:
120
- return 'Pernambuco';
121
- case this.AL:
122
- return 'Alagoas';
123
- case this.SE:
124
- return 'Sergipe';
125
- case this.BA:
126
- return 'Bahia';
127
- case this.MG:
128
- return 'Minas Gerais';
129
- case this.ES:
130
- return 'Espírito Santo';
131
- case this.RJ:
132
- return 'Rio de Janeiro';
133
- case this.SP:
134
- return 'São Paulo';
135
- case this.PR:
136
- return 'Paraná';
137
- case this.SC:
138
- return 'Santa Catarina';
139
- case this.RS:
140
- return 'Rio Grande do Sul';
141
- case this.MS:
142
- return 'Mato Grosso do Sul';
143
- case this.MT:
144
- return 'Mato Grosso';
145
- case this.GO:
146
- return 'Goiás';
147
- case this.DF:
148
- return 'Distrito Federal';
149
- case this.PI:
150
- return 'Piauí';
151
- case this.CE:
152
- return 'Ceará';
153
- }
154
- },
155
- shortDescription(val) {
156
- switch (val) {
157
- case this.PI:
158
- return 'PI';
159
- case this.CE:
160
- return 'CE';
161
- case this.RO:
162
- return 'RO';
163
- case this.AC:
164
- return 'AC';
165
- case this.AM:
166
- return 'AM';
167
- case this.RR:
168
- return 'RR';
169
- case this.PA:
170
- return 'PA';
171
- case this.AP:
172
- return 'AP';
173
- case this.TO:
174
- return 'TO';
175
- case this.MA:
176
- return 'MA';
177
- case this.RN:
178
- return 'RN';
179
- case this.PB:
180
- return 'PB';
181
- case this.PE:
182
- return 'PE';
183
- case this.AL:
184
- return 'AL';
185
- case this.SE:
186
- return 'SE';
187
- case this.BA:
188
- return 'BA';
189
- case this.MG:
190
- return 'MG';
191
- case this.ES:
192
- return 'ES';
193
- case this.RJ:
194
- return 'RJ';
195
- case this.SP:
196
- return 'SP';
197
- case this.PR:
198
- return 'PR';
199
- case this.SC:
200
- return 'SC';
201
- case this.RS:
202
- return 'RS';
203
- case this.MS:
204
- return 'MS';
205
- case this.MT:
206
- return 'MT';
207
- case this.GO:
208
- return 'GO';
209
- case this.DF:
210
- return 'DF';
211
- }
212
- },
213
- };
214
- exports.ProporcaoImagem = {
215
- '1/1': '0',
216
- '9/16': '1',
217
- description(val) {
218
- switch (val) {
219
- case this['1/1']:
220
- return '1/1';
221
- case this['9/16']:
222
- return '9/16';
223
- default:
224
- return 'enum not found';
225
- }
226
- },
227
- aspectRatioValue(val) {
228
- switch (val) {
229
- case this['1/1']:
230
- return 1 / 1;
231
- case this['9/16']:
232
- return 9 / 16;
233
- default:
234
- return 1 / 1;
235
- }
236
- },
237
- };
238
- exports.TipoLogos = {
239
- Quadrada: '0',
240
- Retangular: '1',
241
- description(val) {
242
- switch (val) {
243
- case this.Quadrada:
244
- return 'Quadrada';
245
- case this.Retangular:
246
- return 'Retangular';
247
- default:
248
- return 'enum not found';
249
- }
250
- },
251
- };
252
- exports.StyleTypeLogos = {
253
- Branca: '0',
254
- Preta: '1',
255
- Default: '2',
256
- description(val) {
257
- switch (val) {
258
- case this.Branca:
259
- return 'Branca';
260
- case this.Preta:
261
- return 'Preta';
262
- case this.Default:
263
- return 'Default';
264
- default:
265
- return 'enum not found';
266
- }
267
- },
268
- };
269
- exports.UfDB = {
270
- RO: {
271
- Descricao: 'RO',
272
- Chave: 1,
273
- Codigo_Ibge: '11',
274
- Nome: 'Rondônia',
275
- },
276
- AC: {
277
- Descricao: 'AC',
278
- Chave: 2,
279
- Codigo_Ibge: '12',
280
- Nome: 'Acre',
281
- },
282
- AM: {
283
- Descricao: 'AM',
284
- Chave: 3,
285
- Codigo_Ibge: '13',
286
- Nome: 'Amazonas',
287
- },
288
- RR: {
289
- Descricao: 'RR',
290
- Chave: 4,
291
- Codigo_Ibge: '14',
292
- Nome: 'Roraima',
293
- },
294
- PA: {
295
- Descricao: 'PA',
296
- Chave: 5,
297
- Codigo_Ibge: '15',
298
- Nome: 'Pará',
299
- },
300
- AP: {
301
- Descricao: 'AP',
302
- Chave: 6,
303
- Codigo_Ibge: '16',
304
- Nome: 'Amapá',
305
- },
306
- TO: {
307
- Descricao: 'TO',
308
- Chave: 7,
309
- Codigo_Ibge: '17',
310
- Nome: 'Tocantins',
311
- },
312
- MA: {
313
- Descricao: 'MA',
314
- Chave: 8,
315
- Codigo_Ibge: '21',
316
- Nome: 'Maranhão',
317
- },
318
- PI: {
319
- Descricao: 'PI',
320
- Chave: 9,
321
- Codigo_Ibge: '22',
322
- Nome: 'Piauí',
323
- },
324
- CE: {
325
- Descricao: 'CE',
326
- Chave: 10,
327
- Codigo_Ibge: '23',
328
- Nome: 'Ceará',
329
- },
330
- RN: {
331
- Descricao: 'RN',
332
- Chave: 11,
333
- Codigo_Ibge: '24',
334
- Nome: 'Rio Grande do Norte',
335
- },
336
- PB: {
337
- Descricao: 'PB',
338
- Chave: 12,
339
- Codigo_Ibge: '25',
340
- Nome: 'Paraíba',
341
- },
342
- PE: {
343
- Descricao: 'PE',
344
- Chave: 13,
345
- Codigo_Ibge: '26',
346
- Nome: 'Pernambuco',
347
- },
348
- AL: {
349
- Descricao: 'AL',
350
- Chave: 14,
351
- Codigo_Ibge: '27',
352
- Nome: 'Alagoas',
353
- },
354
- SE: {
355
- Descricao: 'SE',
356
- Chave: 15,
357
- Codigo_Ibge: '28',
358
- Nome: 'Sergipe',
359
- },
360
- BA: {
361
- Descricao: 'BA',
362
- Chave: 16,
363
- Codigo_Ibge: '29',
364
- Nome: 'Bahia',
365
- },
366
- MG: {
367
- Descricao: 'MG',
368
- Chave: 17,
369
- Codigo_Ibge: '31',
370
- Nome: 'Minas Geraris',
371
- },
372
- ES: {
373
- Descricao: 'ES',
374
- Chave: 18,
375
- Codigo_Ibge: '32',
376
- Nome: 'Espírito Santo',
377
- },
378
- RJ: {
379
- Descricao: 'RJ',
380
- Chave: 19,
381
- Codigo_Ibge: '33',
382
- Nome: 'Rio de Janeiro',
383
- },
384
- SP: {
385
- Descricao: 'SP',
386
- Chave: 20,
387
- Codigo_Ibge: '35',
388
- Nome: 'São Paulo',
389
- },
390
- PR: {
391
- Descricao: 'PR',
392
- Chave: 21,
393
- Codigo_Ibge: '41',
394
- Nome: 'Paraná',
395
- },
396
- SC: {
397
- Descricao: 'SC',
398
- Chave: 22,
399
- Codigo_Ibge: '42',
400
- Nome: 'Santa Catarina',
401
- },
402
- MS: {
403
- Descricao: 'MS',
404
- Chave: 23,
405
- Codigo_Ibge: '50',
406
- Nome: 'Mato Grosso do Sul',
407
- },
408
- MT: {
409
- Descricao: 'MT',
410
- Chave: 24,
411
- Codigo_Ibge: '51',
412
- Nome: 'Mato Grosso',
413
- },
414
- GO: {
415
- Descricao: 'GO',
416
- Chave: 25,
417
- Codigo_Ibge: '52',
418
- Nome: 'Goiás',
419
- },
420
- DF: {
421
- Descricao: 'DF',
422
- Chave: 26,
423
- Codigo_Ibge: '53',
424
- Nome: 'Distrito Federal',
425
- },
426
- RS: {
427
- Descricao: 'RS',
428
- Chave: 27,
429
- Codigo_Ibge: '43',
430
- Nome: 'Rio Grande do Sul',
431
- },
432
- };
433
- exports.TipoData = {
434
- DataCadastro: '0',
435
- DataAlteracao: '1',
436
- DataExclusao: '2',
437
- description(val) {
438
- switch (val) {
439
- case this.DataCadastro:
440
- return 'Data de Cadastro';
441
- case this.DataAlteracao:
442
- return 'Data de Alteração';
443
- case this.DataExclusao:
444
- return 'Data de Exclusão';
445
- default:
446
- return 'enum not found';
447
- }
448
- },
449
- };
450
- exports.TipoAjuste = {
451
- Desconto: '0',
452
- Acrescimo: '1',
453
- description(val) {
454
- switch (val) {
455
- case this.Desconto:
456
- return 'Desconto';
457
- case this.Acrescimo:
458
- return 'Acréscimo';
459
- default:
460
- return 'enum not found';
461
- }
462
- },
463
- };
464
- exports.TipoPendencia = {
465
- Aniversariantes: '0',
466
- DocumentoEntrada: '1',
467
- DocumentoSaida: '2',
468
- PedidosEntrega: '3',
469
- Orcamento: '4',
470
- Consignacao: '5',
471
- PedidoCompra: '6',
472
- NotasPendente: '7',
473
- OrdemServico: '8',
474
- OrdemProducao: '9',
475
- description(val) {
476
- switch (val) {
477
- case this.Aniversariantes:
478
- return 'Aniversariantes';
479
- case this.DocumentoEntrada:
480
- return 'Documento de Entrada';
481
- case this.DocumentoSaida:
482
- return 'Documento de Saída';
483
- case this.PedidosEntrega:
484
- return 'Pedidos de Entrega';
485
- case this.Orcamento:
486
- return 'Orçamentos';
487
- case this.Consignacao:
488
- return 'Consignações';
489
- case this.OrdemServico:
490
- return 'Ordem de Serviço';
491
- case this.PedidoCompra:
492
- return 'Pedidos de Compra';
493
- case this.NotasPendente:
494
- return 'Notas Pendentes';
495
- case this.OrdemProducao:
496
- return 'Ordens de Produção';
497
- default:
498
- return 'enum not found';
499
- }
500
- },
501
- };
502
- exports.TipoDocumento = {
503
- Identidade: '0',
504
- CarteiraHabilitacao: '1',
505
- description(val) {
506
- switch (val) {
507
- case this.Identidade:
508
- return 'Identidade';
509
- case this.CarteiraHabilitacao:
510
- return 'Carteira Nacional de Habilitação';
511
- default:
512
- return 'enum not found';
513
- }
514
- },
515
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoDocumento = exports.TipoPendencia = exports.TipoAjuste = exports.TipoData = exports.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = void 0;
4
+ exports.Situacao = {
5
+ Inativo: '0',
6
+ Ativo: '1',
7
+ description(val) {
8
+ switch (val) {
9
+ case this.Inativo:
10
+ return 'Inativo';
11
+ case this.Ativo:
12
+ return 'Ativo';
13
+ default:
14
+ return 'enum not found';
15
+ }
16
+ },
17
+ };
18
+ exports.TipoCompartilhamento = {
19
+ NotaFiscal: '1',
20
+ PedidoVenda: '2',
21
+ Boleto: '3',
22
+ description(val) {
23
+ switch (val) {
24
+ case this.NotaFiscal:
25
+ return 'Nota Fiscal';
26
+ case this.PedidoVenda:
27
+ return 'Pedido';
28
+ case this.Boleto:
29
+ return 'Boleto';
30
+ default:
31
+ return 'enum not found';
32
+ }
33
+ },
34
+ };
35
+ exports.TipoDescontoGeneral = {
36
+ Percentual: '0',
37
+ Valor: '1',
38
+ description(val) {
39
+ switch (val) {
40
+ case this.Percentual:
41
+ return 'Percentual';
42
+ case this.Valor:
43
+ return 'Valor';
44
+ default:
45
+ return 'enum not found';
46
+ }
47
+ },
48
+ };
49
+ exports.TipoTempo = {
50
+ Dias: '1',
51
+ Semanas: '2',
52
+ Meses: '3',
53
+ Anos: '4',
54
+ description(val) {
55
+ switch (val) {
56
+ case this.Dias:
57
+ return 'Dias';
58
+ case this.Semanas:
59
+ return 'Semanas';
60
+ case this.Meses:
61
+ return 'Meses';
62
+ case this.Anos:
63
+ return 'Anos';
64
+ }
65
+ },
66
+ };
67
+ exports.Uf = {
68
+ RO: '11',
69
+ AC: '12',
70
+ AM: '13',
71
+ RR: '14',
72
+ PA: '15',
73
+ AP: '16',
74
+ TO: '17',
75
+ MA: '21',
76
+ PI: '22',
77
+ CE: '23',
78
+ RN: '24',
79
+ PB: '25',
80
+ PE: '26',
81
+ AL: '27',
82
+ SE: '28',
83
+ BA: '29',
84
+ MG: '31',
85
+ ES: '32',
86
+ RJ: '33',
87
+ SP: '35',
88
+ PR: '41',
89
+ SC: '42',
90
+ RS: '43',
91
+ MS: '50',
92
+ MT: '51',
93
+ GO: '52',
94
+ DF: '53',
95
+ AN: '91',
96
+ EX: '99',
97
+ description(val) {
98
+ switch (val) {
99
+ case this.RO:
100
+ return 'Rondônia';
101
+ case this.AC:
102
+ return 'Acre';
103
+ case this.AM:
104
+ return 'Amazonas';
105
+ case this.RR:
106
+ return 'Roraima';
107
+ case this.PA:
108
+ return 'Pará';
109
+ case this.AP:
110
+ return 'Amapá';
111
+ case this.TO:
112
+ return 'Tocantins';
113
+ case this.MA:
114
+ return 'Maranhão';
115
+ case this.RN:
116
+ return 'Rio Grande do Norte';
117
+ case this.PB:
118
+ return 'Paraíba';
119
+ case this.PE:
120
+ return 'Pernambuco';
121
+ case this.AL:
122
+ return 'Alagoas';
123
+ case this.SE:
124
+ return 'Sergipe';
125
+ case this.BA:
126
+ return 'Bahia';
127
+ case this.MG:
128
+ return 'Minas Gerais';
129
+ case this.ES:
130
+ return 'Espírito Santo';
131
+ case this.RJ:
132
+ return 'Rio de Janeiro';
133
+ case this.SP:
134
+ return 'São Paulo';
135
+ case this.PR:
136
+ return 'Paraná';
137
+ case this.SC:
138
+ return 'Santa Catarina';
139
+ case this.RS:
140
+ return 'Rio Grande do Sul';
141
+ case this.MS:
142
+ return 'Mato Grosso do Sul';
143
+ case this.MT:
144
+ return 'Mato Grosso';
145
+ case this.GO:
146
+ return 'Goiás';
147
+ case this.DF:
148
+ return 'Distrito Federal';
149
+ case this.PI:
150
+ return 'Piauí';
151
+ case this.CE:
152
+ return 'Ceará';
153
+ }
154
+ },
155
+ shortDescription(val) {
156
+ switch (val) {
157
+ case this.PI:
158
+ return 'PI';
159
+ case this.CE:
160
+ return 'CE';
161
+ case this.RO:
162
+ return 'RO';
163
+ case this.AC:
164
+ return 'AC';
165
+ case this.AM:
166
+ return 'AM';
167
+ case this.RR:
168
+ return 'RR';
169
+ case this.PA:
170
+ return 'PA';
171
+ case this.AP:
172
+ return 'AP';
173
+ case this.TO:
174
+ return 'TO';
175
+ case this.MA:
176
+ return 'MA';
177
+ case this.RN:
178
+ return 'RN';
179
+ case this.PB:
180
+ return 'PB';
181
+ case this.PE:
182
+ return 'PE';
183
+ case this.AL:
184
+ return 'AL';
185
+ case this.SE:
186
+ return 'SE';
187
+ case this.BA:
188
+ return 'BA';
189
+ case this.MG:
190
+ return 'MG';
191
+ case this.ES:
192
+ return 'ES';
193
+ case this.RJ:
194
+ return 'RJ';
195
+ case this.SP:
196
+ return 'SP';
197
+ case this.PR:
198
+ return 'PR';
199
+ case this.SC:
200
+ return 'SC';
201
+ case this.RS:
202
+ return 'RS';
203
+ case this.MS:
204
+ return 'MS';
205
+ case this.MT:
206
+ return 'MT';
207
+ case this.GO:
208
+ return 'GO';
209
+ case this.DF:
210
+ return 'DF';
211
+ }
212
+ },
213
+ };
214
+ exports.ProporcaoImagem = {
215
+ '1/1': '0',
216
+ '9/16': '1',
217
+ description(val) {
218
+ switch (val) {
219
+ case this['1/1']:
220
+ return '1/1';
221
+ case this['9/16']:
222
+ return '9/16';
223
+ default:
224
+ return 'enum not found';
225
+ }
226
+ },
227
+ aspectRatioValue(val) {
228
+ switch (val) {
229
+ case this['1/1']:
230
+ return 1 / 1;
231
+ case this['9/16']:
232
+ return 9 / 16;
233
+ default:
234
+ return 1 / 1;
235
+ }
236
+ },
237
+ };
238
+ exports.TipoLogos = {
239
+ Quadrada: '0',
240
+ Retangular: '1',
241
+ description(val) {
242
+ switch (val) {
243
+ case this.Quadrada:
244
+ return 'Quadrada';
245
+ case this.Retangular:
246
+ return 'Retangular';
247
+ default:
248
+ return 'enum not found';
249
+ }
250
+ },
251
+ };
252
+ exports.StyleTypeLogos = {
253
+ Branca: '0',
254
+ Preta: '1',
255
+ Default: '2',
256
+ description(val) {
257
+ switch (val) {
258
+ case this.Branca:
259
+ return 'Branca';
260
+ case this.Preta:
261
+ return 'Preta';
262
+ case this.Default:
263
+ return 'Default';
264
+ default:
265
+ return 'enum not found';
266
+ }
267
+ },
268
+ };
269
+ exports.UfDB = {
270
+ RO: {
271
+ Descricao: 'RO',
272
+ Chave: 1,
273
+ Codigo_Ibge: '11',
274
+ Nome: 'Rondônia',
275
+ },
276
+ AC: {
277
+ Descricao: 'AC',
278
+ Chave: 2,
279
+ Codigo_Ibge: '12',
280
+ Nome: 'Acre',
281
+ },
282
+ AM: {
283
+ Descricao: 'AM',
284
+ Chave: 3,
285
+ Codigo_Ibge: '13',
286
+ Nome: 'Amazonas',
287
+ },
288
+ RR: {
289
+ Descricao: 'RR',
290
+ Chave: 4,
291
+ Codigo_Ibge: '14',
292
+ Nome: 'Roraima',
293
+ },
294
+ PA: {
295
+ Descricao: 'PA',
296
+ Chave: 5,
297
+ Codigo_Ibge: '15',
298
+ Nome: 'Pará',
299
+ },
300
+ AP: {
301
+ Descricao: 'AP',
302
+ Chave: 6,
303
+ Codigo_Ibge: '16',
304
+ Nome: 'Amapá',
305
+ },
306
+ TO: {
307
+ Descricao: 'TO',
308
+ Chave: 7,
309
+ Codigo_Ibge: '17',
310
+ Nome: 'Tocantins',
311
+ },
312
+ MA: {
313
+ Descricao: 'MA',
314
+ Chave: 8,
315
+ Codigo_Ibge: '21',
316
+ Nome: 'Maranhão',
317
+ },
318
+ PI: {
319
+ Descricao: 'PI',
320
+ Chave: 9,
321
+ Codigo_Ibge: '22',
322
+ Nome: 'Piauí',
323
+ },
324
+ CE: {
325
+ Descricao: 'CE',
326
+ Chave: 10,
327
+ Codigo_Ibge: '23',
328
+ Nome: 'Ceará',
329
+ },
330
+ RN: {
331
+ Descricao: 'RN',
332
+ Chave: 11,
333
+ Codigo_Ibge: '24',
334
+ Nome: 'Rio Grande do Norte',
335
+ },
336
+ PB: {
337
+ Descricao: 'PB',
338
+ Chave: 12,
339
+ Codigo_Ibge: '25',
340
+ Nome: 'Paraíba',
341
+ },
342
+ PE: {
343
+ Descricao: 'PE',
344
+ Chave: 13,
345
+ Codigo_Ibge: '26',
346
+ Nome: 'Pernambuco',
347
+ },
348
+ AL: {
349
+ Descricao: 'AL',
350
+ Chave: 14,
351
+ Codigo_Ibge: '27',
352
+ Nome: 'Alagoas',
353
+ },
354
+ SE: {
355
+ Descricao: 'SE',
356
+ Chave: 15,
357
+ Codigo_Ibge: '28',
358
+ Nome: 'Sergipe',
359
+ },
360
+ BA: {
361
+ Descricao: 'BA',
362
+ Chave: 16,
363
+ Codigo_Ibge: '29',
364
+ Nome: 'Bahia',
365
+ },
366
+ MG: {
367
+ Descricao: 'MG',
368
+ Chave: 17,
369
+ Codigo_Ibge: '31',
370
+ Nome: 'Minas Geraris',
371
+ },
372
+ ES: {
373
+ Descricao: 'ES',
374
+ Chave: 18,
375
+ Codigo_Ibge: '32',
376
+ Nome: 'Espírito Santo',
377
+ },
378
+ RJ: {
379
+ Descricao: 'RJ',
380
+ Chave: 19,
381
+ Codigo_Ibge: '33',
382
+ Nome: 'Rio de Janeiro',
383
+ },
384
+ SP: {
385
+ Descricao: 'SP',
386
+ Chave: 20,
387
+ Codigo_Ibge: '35',
388
+ Nome: 'São Paulo',
389
+ },
390
+ PR: {
391
+ Descricao: 'PR',
392
+ Chave: 21,
393
+ Codigo_Ibge: '41',
394
+ Nome: 'Paraná',
395
+ },
396
+ SC: {
397
+ Descricao: 'SC',
398
+ Chave: 22,
399
+ Codigo_Ibge: '42',
400
+ Nome: 'Santa Catarina',
401
+ },
402
+ MS: {
403
+ Descricao: 'MS',
404
+ Chave: 23,
405
+ Codigo_Ibge: '50',
406
+ Nome: 'Mato Grosso do Sul',
407
+ },
408
+ MT: {
409
+ Descricao: 'MT',
410
+ Chave: 24,
411
+ Codigo_Ibge: '51',
412
+ Nome: 'Mato Grosso',
413
+ },
414
+ GO: {
415
+ Descricao: 'GO',
416
+ Chave: 25,
417
+ Codigo_Ibge: '52',
418
+ Nome: 'Goiás',
419
+ },
420
+ DF: {
421
+ Descricao: 'DF',
422
+ Chave: 26,
423
+ Codigo_Ibge: '53',
424
+ Nome: 'Distrito Federal',
425
+ },
426
+ RS: {
427
+ Descricao: 'RS',
428
+ Chave: 27,
429
+ Codigo_Ibge: '43',
430
+ Nome: 'Rio Grande do Sul',
431
+ },
432
+ };
433
+ exports.TipoData = {
434
+ DataCadastro: '0',
435
+ DataAlteracao: '1',
436
+ DataExclusao: '2',
437
+ description(val) {
438
+ switch (val) {
439
+ case this.DataCadastro:
440
+ return 'Data de Cadastro';
441
+ case this.DataAlteracao:
442
+ return 'Data de Alteração';
443
+ case this.DataExclusao:
444
+ return 'Data de Exclusão';
445
+ default:
446
+ return 'enum not found';
447
+ }
448
+ },
449
+ };
450
+ exports.TipoAjuste = {
451
+ Desconto: '0',
452
+ Acrescimo: '1',
453
+ description(val) {
454
+ switch (val) {
455
+ case this.Desconto:
456
+ return 'Desconto';
457
+ case this.Acrescimo:
458
+ return 'Acréscimo';
459
+ default:
460
+ return 'enum not found';
461
+ }
462
+ },
463
+ };
464
+ exports.TipoPendencia = {
465
+ Aniversariantes: '0',
466
+ DocumentoEntrada: '1',
467
+ DocumentoSaida: '2',
468
+ PedidosEntrega: '3',
469
+ Orcamento: '4',
470
+ Consignacao: '5',
471
+ PedidoCompra: '6',
472
+ NotasPendente: '7',
473
+ OrdemServico: '8',
474
+ OrdemProducao: '9',
475
+ description(val) {
476
+ switch (val) {
477
+ case this.Aniversariantes:
478
+ return 'Aniversariantes';
479
+ case this.DocumentoEntrada:
480
+ return 'Documento de Entrada';
481
+ case this.DocumentoSaida:
482
+ return 'Documento de Saída';
483
+ case this.PedidosEntrega:
484
+ return 'Pedidos de Entrega';
485
+ case this.Orcamento:
486
+ return 'Orçamentos';
487
+ case this.Consignacao:
488
+ return 'Consignações';
489
+ case this.OrdemServico:
490
+ return 'Ordem de Serviço';
491
+ case this.PedidoCompra:
492
+ return 'Pedidos de Compra';
493
+ case this.NotasPendente:
494
+ return 'Notas Pendentes';
495
+ case this.OrdemProducao:
496
+ return 'Ordens de Produção';
497
+ default:
498
+ return 'enum not found';
499
+ }
500
+ },
501
+ };
502
+ exports.TipoDocumento = {
503
+ Identidade: '0',
504
+ CarteiraHabilitacao: '1',
505
+ description(val) {
506
+ switch (val) {
507
+ case this.Identidade:
508
+ return 'Identidade';
509
+ case this.CarteiraHabilitacao:
510
+ return 'Carteira Nacional de Habilitação';
511
+ default:
512
+ return 'enum not found';
513
+ }
514
+ },
515
+ };