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,549 +1,549 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TipoTransferenciaCaixa = exports.TipoContaMovimentacao = exports.SituacaoConciliacaoPagamento = exports.SituacaoTransacaoPagamento = exports.TipoConfiguracaoPagamento = exports.ModeloCaptura = exports.CNAB = exports.SituacaoContaMatera = exports.VariaveisBoleto = exports.TipoCalculoTaxaCartaoCredito = exports.SituacaoConciliacao = exports.TipoDataBoleto = exports.SituacaoBoleto = exports.TipoValorConfiguracaoBoleto = exports.SituacaoCaixa = exports.TipoCaixaOperacao = exports.TipoLancamentoDocumentoFinanceiro = exports.TipoDataDocumentoFinanceiro = exports.SituacaoDocumentoFinanceiro = exports.TipoPromocao = exports.TipoCalculoParcelamento = exports.BandeiraCartao = exports.OperacaoOperadoraCartao = exports.IndicadorFormaPagamento = exports.MeioPagamento = void 0;
4
- const fiscal_1 = require("../fiscal");
5
- exports.MeioPagamento = {
6
- Dinheiro: '01',
7
- Cheque: '02',
8
- CartaoCredito: '03',
9
- CartaoDebito: '04',
10
- CreditoLoja: '05',
11
- ValeAlimentacao: '10',
12
- ValeRefeicao: '11',
13
- ValePresente: '12',
14
- ValeCombustivel: '13',
15
- BoletoBancario: '15',
16
- DepositoBancario: '16',
17
- PIX: '17',
18
- TransferenciaBancaria: '18',
19
- Cashback: '19',
20
- SemPagamento: '90',
21
- PagamentoPosterior: '91',
22
- Outros: '99',
23
- description(val) {
24
- switch (val) {
25
- case this.Dinheiro:
26
- return 'Dinheiro';
27
- case this.Cheque:
28
- return 'Cheque';
29
- case this.CartaoCredito:
30
- return 'Cartão de Crédito';
31
- case this.CartaoDebito:
32
- return 'Cartão de Débito';
33
- case this.CreditoLoja:
34
- return 'Crédito Loja';
35
- case this.ValeAlimentacao:
36
- return 'Vale Alimentação';
37
- case this.ValeRefeicao:
38
- return 'Vale Refeição';
39
- case this.ValePresente:
40
- return 'Vale Presente';
41
- case this.ValeCombustivel:
42
- return 'Vale Combustível';
43
- case this.BoletoBancario:
44
- return 'Boleto Bancário';
45
- case this.DepositoBancario:
46
- return 'Depósito Bancário';
47
- case this.PIX:
48
- return 'PIX';
49
- case this.TransferenciaBancaria:
50
- return 'Transferência Bancária';
51
- case this.Cashback:
52
- return 'Cashback';
53
- case this.SemPagamento:
54
- return 'Sem Pagamento';
55
- case this.PagamentoPosterior:
56
- return 'Pagamento Posterior';
57
- case this.Outros:
58
- return 'Outros';
59
- default:
60
- return 'enum not found';
61
- }
62
- },
63
- };
64
- exports.IndicadorFormaPagamento = {
65
- PagamentoAVista: '0',
66
- PagamentoAPrazo: '1',
67
- description(val) {
68
- switch (val) {
69
- case this.PagamentoAVista:
70
- return 'Pagamento à Vista';
71
- case this.PagamentoAPrazo:
72
- return 'Pagamento à Prazo';
73
- default:
74
- return 'enum not found';
75
- }
76
- },
77
- };
78
- exports.OperacaoOperadoraCartao = {
79
- Credito: '1',
80
- Debito: '2',
81
- description(val) {
82
- switch (val) {
83
- case this.Credito:
84
- return 'Crédito';
85
- case this.Debito:
86
- return 'Débito';
87
- default:
88
- return 'enum not found';
89
- }
90
- },
91
- };
92
- exports.BandeiraCartao = {
93
- Visa: '01',
94
- Mastercard: '02',
95
- AmericanExpress: '03',
96
- Sorocred: '04',
97
- DinersClub: '05',
98
- Elo: '06',
99
- Hipercard: '07',
100
- Aura: '08',
101
- Cabal: '09',
102
- Outros: '99',
103
- description(val) {
104
- switch (val) {
105
- case this.Visa:
106
- return 'Visa';
107
- case this.Mastercard:
108
- return 'Mastercard';
109
- case this.AmericanExpress:
110
- return 'American Express';
111
- case this.Sorocred:
112
- return 'Sorocred';
113
- case this.DinersClub:
114
- return 'Diners Club';
115
- case this.Elo:
116
- return 'Elo';
117
- case this.Hipercard:
118
- return 'Hipercard';
119
- case this.Aura:
120
- return 'Aura';
121
- case this.Cabal:
122
- return 'Cabal';
123
- case this.Outros:
124
- return 'Outros';
125
- default:
126
- return 'enum not found';
127
- }
128
- },
129
- };
130
- exports.TipoCalculoParcelamento = {
131
- Simples: '0',
132
- Composto: '1',
133
- description(val) {
134
- switch (val) {
135
- case this.Simples:
136
- return 'Simples';
137
- case this.Composto:
138
- return 'Composto';
139
- default:
140
- return 'enum not found';
141
- }
142
- },
143
- };
144
- exports.TipoPromocao = {
145
- Percentual: '0',
146
- Valor: '1',
147
- description(val) {
148
- switch (val) {
149
- case this.Percentual:
150
- return 'Percentual';
151
- case this.Valor:
152
- return 'Valor';
153
- default:
154
- return 'enum not found';
155
- }
156
- },
157
- };
158
- exports.SituacaoDocumentoFinanceiro = {
159
- Aberto: '0',
160
- Quitado: '1',
161
- Estornado: '2',
162
- Vencido: '3',
163
- description(val) {
164
- switch (val) {
165
- case this.Aberto:
166
- return 'Aberto';
167
- case this.Quitado:
168
- return 'Quitado';
169
- case this.Estornado:
170
- return 'Estornado';
171
- case this.Vencido:
172
- return 'Vencido';
173
- default:
174
- return 'enum not found';
175
- }
176
- },
177
- };
178
- exports.TipoDataDocumentoFinanceiro = {
179
- Emissao: '0',
180
- Quitacao: '1',
181
- Vencimento: '2',
182
- description(val) {
183
- switch (val) {
184
- case this.Emissao:
185
- return 'Emissão';
186
- case this.Quitacao:
187
- return 'Quitação';
188
- case this.Vencimento:
189
- return 'Vencimento';
190
- default:
191
- return 'enum not found';
192
- }
193
- },
194
- };
195
- exports.TipoLancamentoDocumentoFinanceiro = {
196
- Abertura: '0',
197
- Pagamento: '1',
198
- Desconto: '2',
199
- Acrescimo: '3',
200
- Juros: '4',
201
- Multa: '5',
202
- description(val) {
203
- switch (val) {
204
- case this.Abertura:
205
- return 'Abertura';
206
- case this.Pagamento:
207
- return 'Pagamento';
208
- case this.Desconto:
209
- return 'Desconto';
210
- case this.Acrescimo:
211
- return 'Acréscimo';
212
- case this.Juros:
213
- return 'Juros';
214
- case this.Multa:
215
- return 'Multa';
216
- default:
217
- return 'enum not found';
218
- }
219
- },
220
- };
221
- exports.TipoCaixaOperacao = {
222
- Abertura: '0',
223
- Entrada: '1',
224
- Saida: '2',
225
- Recebimento: '3',
226
- Pagamento: '4',
227
- Compra: '5',
228
- Venda: '6',
229
- Fechamento: '7',
230
- VendaValeCredito: '8',
231
- description(val) {
232
- switch (val) {
233
- case this.Abertura:
234
- return 'Abertura';
235
- case this.Entrada:
236
- return 'Entrada';
237
- case this.Saida:
238
- return 'Saída';
239
- case this.Recebimento:
240
- return 'Recebimento';
241
- case this.Pagamento:
242
- return 'Pagamento';
243
- case this.Compra:
244
- return 'Compra';
245
- case this.Venda:
246
- return 'Venda';
247
- case this.Fechamento:
248
- return 'Fechamento';
249
- case this.VendaValeCredito:
250
- return 'Venda vale crédito';
251
- default:
252
- return 'enum not found';
253
- }
254
- },
255
- };
256
- exports.SituacaoCaixa = {
257
- Aberto: '0',
258
- Fechado: '1',
259
- FechadoComDiferenca: '2',
260
- description(val) {
261
- switch (val) {
262
- case this.Aberto:
263
- return 'Aberto';
264
- case this.Fechado:
265
- return 'Fechado';
266
- case this.FechadoComDiferenca:
267
- return 'Fechado com Diferença';
268
- default:
269
- return 'enum not found';
270
- }
271
- },
272
- };
273
- exports.TipoValorConfiguracaoBoleto = {
274
- Percentual: '0',
275
- Valor: '1',
276
- description(val) {
277
- switch (val) {
278
- case this.Percentual:
279
- return 'Percentual';
280
- case this.Valor:
281
- return 'Valor';
282
- default:
283
- return 'enum not found';
284
- }
285
- },
286
- };
287
- exports.SituacaoBoleto = {
288
- Pendente: '0',
289
- Pago: '1',
290
- Cancelado: '2',
291
- Vencido: '3',
292
- RemessaGerada: '4',
293
- description(val) {
294
- switch (val) {
295
- case this.Pendente:
296
- return 'Pendente';
297
- case this.Pago:
298
- return 'Pago';
299
- case this.Cancelado:
300
- return 'Cancelado';
301
- case this.Vencido:
302
- return 'Vencido';
303
- case this.RemessaGerada:
304
- return 'Remessa Gerada';
305
- default:
306
- return 'enum not found';
307
- }
308
- },
309
- };
310
- exports.TipoDataBoleto = {
311
- Emissao: '0',
312
- Vencimento: '1',
313
- Pagamento: '2',
314
- description(val) {
315
- switch (val) {
316
- case this.Emissao:
317
- return 'Emissão';
318
- case this.Vencimento:
319
- return 'Vencimento';
320
- case this.Pagamento:
321
- return 'Pagamento';
322
- default:
323
- return 'enum not found';
324
- }
325
- },
326
- };
327
- exports.SituacaoConciliacao = {
328
- NaoConciliado: '0',
329
- Conciliado: '1',
330
- description(val) {
331
- switch (val) {
332
- case this.NaoConciliado:
333
- return 'Não Conciliado';
334
- case this.Conciliado:
335
- return 'Conciliado';
336
- default:
337
- return 'enum not found';
338
- }
339
- },
340
- };
341
- exports.TipoCalculoTaxaCartaoCredito = {
342
- PercentualCadaParcela: '0',
343
- PercentualSobreParcelasAnteriores: '1',
344
- description(val) {
345
- switch (val) {
346
- case this.PercentualCadaParcela:
347
- return 'Percentual para cada parcela';
348
- case this.PercentualSobreParcelasAnteriores:
349
- return 'Percentual sobre todas parcelas anteriores';
350
- default:
351
- return 'enum not found';
352
- }
353
- },
354
- };
355
- exports.VariaveisBoleto = {
356
- DataVencimento: {
357
- Descricao: 'Data Vencimento',
358
- Chave: '<data_vencimento>',
359
- Tipo: fiscal_1.TipoCampo.Data,
360
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
361
- },
362
- NumeroCodigoBarra: {
363
- Descricao: 'Número código de barras',
364
- Chave: '<codigo_barra>',
365
- Tipo: fiscal_1.TipoCampo.Numerico,
366
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
367
- },
368
- Valor: {
369
- Descricao: 'Valor',
370
- Chave: '<valor>',
371
- Tipo: fiscal_1.TipoCampo.Numerico,
372
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
373
- },
374
- Cliente: {
375
- Descricao: 'Cliente',
376
- Chave: '<nome>',
377
- Tipo: fiscal_1.TipoCampo.Texto,
378
- Aplicacao: fiscal_1.OrigemCampo.Cliente,
379
- },
380
- };
381
- exports.SituacaoContaMatera = {
382
- EmCriacao: 'CREATING',
383
- Regular: 'REGULAR',
384
- description(val) {
385
- switch (val) {
386
- case this.EmCriacao:
387
- return 'Aguardando confirmação';
388
- case this.Regular:
389
- return 'Regular';
390
- default:
391
- return 'Conta com erro.';
392
- }
393
- },
394
- };
395
- exports.CNAB = {
396
- c400: 1,
397
- c240: 0,
398
- description(val) {
399
- switch (val) {
400
- case this.c400:
401
- return 'CNAB 400';
402
- case this.c240:
403
- return 'CNAB 240';
404
- default:
405
- return '';
406
- }
407
- },
408
- };
409
- exports.ModeloCaptura = {
410
- Elgin: '0',
411
- Vero: '1',
412
- Sitef: '2',
413
- Auttar: '3',
414
- Destaxa: '4',
415
- description(val) {
416
- switch (val) {
417
- case this.Elgin:
418
- return 'Elgin';
419
- case this.Vero:
420
- return 'VERO';
421
- case this.Sitef:
422
- return 'Sitef';
423
- case this.Auttar:
424
- return 'Auttar';
425
- case this.Destaxa:
426
- return 'Destaxa';
427
- default:
428
- return '';
429
- }
430
- },
431
- };
432
- exports.TipoConfiguracaoPagamento = {
433
- Elgin: '0',
434
- Vero: '1',
435
- Sitef: '2',
436
- Auttar: '3',
437
- Destaxa: '4',
438
- QueroQueroPag: '5',
439
- PagBank: '6',
440
- description(val) {
441
- switch (val) {
442
- case this.Elgin:
443
- return 'Elgin';
444
- case this.Vero:
445
- return 'Vero';
446
- case this.Sitef:
447
- return 'Sitef';
448
- case this.Auttar:
449
- return 'Auttar';
450
- case this.Destaxa:
451
- return 'Destaxa';
452
- case this.QueroQueroPag:
453
- return 'QueroQuero Pag';
454
- case this.PagBank:
455
- return 'PagBank';
456
- default:
457
- return '';
458
- }
459
- },
460
- };
461
- exports.SituacaoTransacaoPagamento = {
462
- Gerada: '0',
463
- Pendente: '1',
464
- Aprovada: '2',
465
- Cancelada: '3',
466
- Expirada: '4',
467
- Erro: '5',
468
- Solicitada: '6',
469
- EmProcessamento: '7',
470
- Devolvida: '8',
471
- NaoRealizada: '9',
472
- description(val) {
473
- switch (val) {
474
- case this.Gerada:
475
- return 'Gerada';
476
- case this.Pendente:
477
- return 'Pendente';
478
- case this.Aprovada:
479
- return 'Aprovada';
480
- case this.Cancelada:
481
- return 'Cancelada';
482
- case this.Expirada:
483
- return 'Expirada';
484
- case this.Erro:
485
- return 'Erro';
486
- case this.Solicitada:
487
- return 'Solicitacao de devolucao';
488
- case this.EmProcessamento:
489
- return 'Devolucao em processamento';
490
- case this.Devolvida:
491
- return 'Devolvida';
492
- case this.NaoRealizada:
493
- return 'Devolucao nao realizada';
494
- default:
495
- return 'enum not found';
496
- }
497
- },
498
- };
499
- exports.SituacaoConciliacaoPagamento = {
500
- Pendente: '0',
501
- Conciliado: '1',
502
- NaoSeAplica: '2',
503
- Divergente: '3',
504
- description(val) {
505
- switch (val) {
506
- case this.Pendente:
507
- return 'Pendente';
508
- case this.Conciliado:
509
- return 'Conciliado';
510
- case this.NaoSeAplica:
511
- return 'Nao se aplica';
512
- case this.Divergente:
513
- return 'Divergente';
514
- default:
515
- return 'enum not found';
516
- }
517
- },
518
- };
519
- exports.TipoContaMovimentacao = {
520
- Transferencia: '0',
521
- Entrada: '1',
522
- Saida: '2',
523
- description(val) {
524
- switch (val) {
525
- case this.Transferencia:
526
- return 'Transferência';
527
- case this.Entrada:
528
- return 'Entrada';
529
- case this.Saida:
530
- return 'Saída';
531
- default:
532
- return 'enum not found';
533
- }
534
- },
535
- };
536
- exports.TipoTransferenciaCaixa = {
537
- ContaBancaria: '0',
538
- Caixa: '1',
539
- description(val) {
540
- switch (val) {
541
- case this.ContaBancaria:
542
- return 'Conta bancária';
543
- case this.Caixa:
544
- return 'Caixa';
545
- default:
546
- return 'enum not found';
547
- }
548
- },
549
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoTransferenciaCaixa = exports.TipoContaMovimentacao = exports.SituacaoConciliacaoPagamento = exports.SituacaoTransacaoPagamento = exports.TipoConfiguracaoPagamento = exports.ModeloCaptura = exports.CNAB = exports.SituacaoContaMatera = exports.VariaveisBoleto = exports.TipoCalculoTaxaCartaoCredito = exports.SituacaoConciliacao = exports.TipoDataBoleto = exports.SituacaoBoleto = exports.TipoValorConfiguracaoBoleto = exports.SituacaoCaixa = exports.TipoCaixaOperacao = exports.TipoLancamentoDocumentoFinanceiro = exports.TipoDataDocumentoFinanceiro = exports.SituacaoDocumentoFinanceiro = exports.TipoPromocao = exports.TipoCalculoParcelamento = exports.BandeiraCartao = exports.OperacaoOperadoraCartao = exports.IndicadorFormaPagamento = exports.MeioPagamento = void 0;
4
+ const fiscal_1 = require("../fiscal");
5
+ exports.MeioPagamento = {
6
+ Dinheiro: '01',
7
+ Cheque: '02',
8
+ CartaoCredito: '03',
9
+ CartaoDebito: '04',
10
+ CreditoLoja: '05',
11
+ ValeAlimentacao: '10',
12
+ ValeRefeicao: '11',
13
+ ValePresente: '12',
14
+ ValeCombustivel: '13',
15
+ BoletoBancario: '15',
16
+ DepositoBancario: '16',
17
+ PIX: '17',
18
+ TransferenciaBancaria: '18',
19
+ Cashback: '19',
20
+ SemPagamento: '90',
21
+ PagamentoPosterior: '91',
22
+ Outros: '99',
23
+ description(val) {
24
+ switch (val) {
25
+ case this.Dinheiro:
26
+ return 'Dinheiro';
27
+ case this.Cheque:
28
+ return 'Cheque';
29
+ case this.CartaoCredito:
30
+ return 'Cartão de Crédito';
31
+ case this.CartaoDebito:
32
+ return 'Cartão de Débito';
33
+ case this.CreditoLoja:
34
+ return 'Crédito Loja';
35
+ case this.ValeAlimentacao:
36
+ return 'Vale Alimentação';
37
+ case this.ValeRefeicao:
38
+ return 'Vale Refeição';
39
+ case this.ValePresente:
40
+ return 'Vale Presente';
41
+ case this.ValeCombustivel:
42
+ return 'Vale Combustível';
43
+ case this.BoletoBancario:
44
+ return 'Boleto Bancário';
45
+ case this.DepositoBancario:
46
+ return 'Depósito Bancário';
47
+ case this.PIX:
48
+ return 'PIX';
49
+ case this.TransferenciaBancaria:
50
+ return 'Transferência Bancária';
51
+ case this.Cashback:
52
+ return 'Cashback';
53
+ case this.SemPagamento:
54
+ return 'Sem Pagamento';
55
+ case this.PagamentoPosterior:
56
+ return 'Pagamento Posterior';
57
+ case this.Outros:
58
+ return 'Outros';
59
+ default:
60
+ return 'enum not found';
61
+ }
62
+ },
63
+ };
64
+ exports.IndicadorFormaPagamento = {
65
+ PagamentoAVista: '0',
66
+ PagamentoAPrazo: '1',
67
+ description(val) {
68
+ switch (val) {
69
+ case this.PagamentoAVista:
70
+ return 'Pagamento à Vista';
71
+ case this.PagamentoAPrazo:
72
+ return 'Pagamento à Prazo';
73
+ default:
74
+ return 'enum not found';
75
+ }
76
+ },
77
+ };
78
+ exports.OperacaoOperadoraCartao = {
79
+ Credito: '1',
80
+ Debito: '2',
81
+ description(val) {
82
+ switch (val) {
83
+ case this.Credito:
84
+ return 'Crédito';
85
+ case this.Debito:
86
+ return 'Débito';
87
+ default:
88
+ return 'enum not found';
89
+ }
90
+ },
91
+ };
92
+ exports.BandeiraCartao = {
93
+ Visa: '01',
94
+ Mastercard: '02',
95
+ AmericanExpress: '03',
96
+ Sorocred: '04',
97
+ DinersClub: '05',
98
+ Elo: '06',
99
+ Hipercard: '07',
100
+ Aura: '08',
101
+ Cabal: '09',
102
+ Outros: '99',
103
+ description(val) {
104
+ switch (val) {
105
+ case this.Visa:
106
+ return 'Visa';
107
+ case this.Mastercard:
108
+ return 'Mastercard';
109
+ case this.AmericanExpress:
110
+ return 'American Express';
111
+ case this.Sorocred:
112
+ return 'Sorocred';
113
+ case this.DinersClub:
114
+ return 'Diners Club';
115
+ case this.Elo:
116
+ return 'Elo';
117
+ case this.Hipercard:
118
+ return 'Hipercard';
119
+ case this.Aura:
120
+ return 'Aura';
121
+ case this.Cabal:
122
+ return 'Cabal';
123
+ case this.Outros:
124
+ return 'Outros';
125
+ default:
126
+ return 'enum not found';
127
+ }
128
+ },
129
+ };
130
+ exports.TipoCalculoParcelamento = {
131
+ Simples: '0',
132
+ Composto: '1',
133
+ description(val) {
134
+ switch (val) {
135
+ case this.Simples:
136
+ return 'Simples';
137
+ case this.Composto:
138
+ return 'Composto';
139
+ default:
140
+ return 'enum not found';
141
+ }
142
+ },
143
+ };
144
+ exports.TipoPromocao = {
145
+ Percentual: '0',
146
+ Valor: '1',
147
+ description(val) {
148
+ switch (val) {
149
+ case this.Percentual:
150
+ return 'Percentual';
151
+ case this.Valor:
152
+ return 'Valor';
153
+ default:
154
+ return 'enum not found';
155
+ }
156
+ },
157
+ };
158
+ exports.SituacaoDocumentoFinanceiro = {
159
+ Aberto: '0',
160
+ Quitado: '1',
161
+ Estornado: '2',
162
+ Vencido: '3',
163
+ description(val) {
164
+ switch (val) {
165
+ case this.Aberto:
166
+ return 'Aberto';
167
+ case this.Quitado:
168
+ return 'Quitado';
169
+ case this.Estornado:
170
+ return 'Estornado';
171
+ case this.Vencido:
172
+ return 'Vencido';
173
+ default:
174
+ return 'enum not found';
175
+ }
176
+ },
177
+ };
178
+ exports.TipoDataDocumentoFinanceiro = {
179
+ Emissao: '0',
180
+ Quitacao: '1',
181
+ Vencimento: '2',
182
+ description(val) {
183
+ switch (val) {
184
+ case this.Emissao:
185
+ return 'Emissão';
186
+ case this.Quitacao:
187
+ return 'Quitação';
188
+ case this.Vencimento:
189
+ return 'Vencimento';
190
+ default:
191
+ return 'enum not found';
192
+ }
193
+ },
194
+ };
195
+ exports.TipoLancamentoDocumentoFinanceiro = {
196
+ Abertura: '0',
197
+ Pagamento: '1',
198
+ Desconto: '2',
199
+ Acrescimo: '3',
200
+ Juros: '4',
201
+ Multa: '5',
202
+ description(val) {
203
+ switch (val) {
204
+ case this.Abertura:
205
+ return 'Abertura';
206
+ case this.Pagamento:
207
+ return 'Pagamento';
208
+ case this.Desconto:
209
+ return 'Desconto';
210
+ case this.Acrescimo:
211
+ return 'Acréscimo';
212
+ case this.Juros:
213
+ return 'Juros';
214
+ case this.Multa:
215
+ return 'Multa';
216
+ default:
217
+ return 'enum not found';
218
+ }
219
+ },
220
+ };
221
+ exports.TipoCaixaOperacao = {
222
+ Abertura: '0',
223
+ Entrada: '1',
224
+ Saida: '2',
225
+ Recebimento: '3',
226
+ Pagamento: '4',
227
+ Compra: '5',
228
+ Venda: '6',
229
+ Fechamento: '7',
230
+ VendaValeCredito: '8',
231
+ description(val) {
232
+ switch (val) {
233
+ case this.Abertura:
234
+ return 'Abertura';
235
+ case this.Entrada:
236
+ return 'Entrada';
237
+ case this.Saida:
238
+ return 'Saída';
239
+ case this.Recebimento:
240
+ return 'Recebimento';
241
+ case this.Pagamento:
242
+ return 'Pagamento';
243
+ case this.Compra:
244
+ return 'Compra';
245
+ case this.Venda:
246
+ return 'Venda';
247
+ case this.Fechamento:
248
+ return 'Fechamento';
249
+ case this.VendaValeCredito:
250
+ return 'Venda vale crédito';
251
+ default:
252
+ return 'enum not found';
253
+ }
254
+ },
255
+ };
256
+ exports.SituacaoCaixa = {
257
+ Aberto: '0',
258
+ Fechado: '1',
259
+ FechadoComDiferenca: '2',
260
+ description(val) {
261
+ switch (val) {
262
+ case this.Aberto:
263
+ return 'Aberto';
264
+ case this.Fechado:
265
+ return 'Fechado';
266
+ case this.FechadoComDiferenca:
267
+ return 'Fechado com Diferença';
268
+ default:
269
+ return 'enum not found';
270
+ }
271
+ },
272
+ };
273
+ exports.TipoValorConfiguracaoBoleto = {
274
+ Percentual: '0',
275
+ Valor: '1',
276
+ description(val) {
277
+ switch (val) {
278
+ case this.Percentual:
279
+ return 'Percentual';
280
+ case this.Valor:
281
+ return 'Valor';
282
+ default:
283
+ return 'enum not found';
284
+ }
285
+ },
286
+ };
287
+ exports.SituacaoBoleto = {
288
+ Pendente: '0',
289
+ Pago: '1',
290
+ Cancelado: '2',
291
+ Vencido: '3',
292
+ RemessaGerada: '4',
293
+ description(val) {
294
+ switch (val) {
295
+ case this.Pendente:
296
+ return 'Pendente';
297
+ case this.Pago:
298
+ return 'Pago';
299
+ case this.Cancelado:
300
+ return 'Cancelado';
301
+ case this.Vencido:
302
+ return 'Vencido';
303
+ case this.RemessaGerada:
304
+ return 'Remessa Gerada';
305
+ default:
306
+ return 'enum not found';
307
+ }
308
+ },
309
+ };
310
+ exports.TipoDataBoleto = {
311
+ Emissao: '0',
312
+ Vencimento: '1',
313
+ Pagamento: '2',
314
+ description(val) {
315
+ switch (val) {
316
+ case this.Emissao:
317
+ return 'Emissão';
318
+ case this.Vencimento:
319
+ return 'Vencimento';
320
+ case this.Pagamento:
321
+ return 'Pagamento';
322
+ default:
323
+ return 'enum not found';
324
+ }
325
+ },
326
+ };
327
+ exports.SituacaoConciliacao = {
328
+ NaoConciliado: '0',
329
+ Conciliado: '1',
330
+ description(val) {
331
+ switch (val) {
332
+ case this.NaoConciliado:
333
+ return 'Não Conciliado';
334
+ case this.Conciliado:
335
+ return 'Conciliado';
336
+ default:
337
+ return 'enum not found';
338
+ }
339
+ },
340
+ };
341
+ exports.TipoCalculoTaxaCartaoCredito = {
342
+ PercentualCadaParcela: '0',
343
+ PercentualSobreParcelasAnteriores: '1',
344
+ description(val) {
345
+ switch (val) {
346
+ case this.PercentualCadaParcela:
347
+ return 'Percentual para cada parcela';
348
+ case this.PercentualSobreParcelasAnteriores:
349
+ return 'Percentual sobre todas parcelas anteriores';
350
+ default:
351
+ return 'enum not found';
352
+ }
353
+ },
354
+ };
355
+ exports.VariaveisBoleto = {
356
+ DataVencimento: {
357
+ Descricao: 'Data Vencimento',
358
+ Chave: '<data_vencimento>',
359
+ Tipo: fiscal_1.TipoCampo.Data,
360
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
361
+ },
362
+ NumeroCodigoBarra: {
363
+ Descricao: 'Número código de barras',
364
+ Chave: '<codigo_barra>',
365
+ Tipo: fiscal_1.TipoCampo.Numerico,
366
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
367
+ },
368
+ Valor: {
369
+ Descricao: 'Valor',
370
+ Chave: '<valor>',
371
+ Tipo: fiscal_1.TipoCampo.Numerico,
372
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
373
+ },
374
+ Cliente: {
375
+ Descricao: 'Cliente',
376
+ Chave: '<nome>',
377
+ Tipo: fiscal_1.TipoCampo.Texto,
378
+ Aplicacao: fiscal_1.OrigemCampo.Cliente,
379
+ },
380
+ };
381
+ exports.SituacaoContaMatera = {
382
+ EmCriacao: 'CREATING',
383
+ Regular: 'REGULAR',
384
+ description(val) {
385
+ switch (val) {
386
+ case this.EmCriacao:
387
+ return 'Aguardando confirmação';
388
+ case this.Regular:
389
+ return 'Regular';
390
+ default:
391
+ return 'Conta com erro.';
392
+ }
393
+ },
394
+ };
395
+ exports.CNAB = {
396
+ c400: 1,
397
+ c240: 0,
398
+ description(val) {
399
+ switch (val) {
400
+ case this.c400:
401
+ return 'CNAB 400';
402
+ case this.c240:
403
+ return 'CNAB 240';
404
+ default:
405
+ return '';
406
+ }
407
+ },
408
+ };
409
+ exports.ModeloCaptura = {
410
+ Elgin: '0',
411
+ Vero: '1',
412
+ Sitef: '2',
413
+ Auttar: '3',
414
+ Destaxa: '4',
415
+ description(val) {
416
+ switch (val) {
417
+ case this.Elgin:
418
+ return 'Elgin';
419
+ case this.Vero:
420
+ return 'VERO';
421
+ case this.Sitef:
422
+ return 'Sitef';
423
+ case this.Auttar:
424
+ return 'Auttar';
425
+ case this.Destaxa:
426
+ return 'Destaxa';
427
+ default:
428
+ return '';
429
+ }
430
+ },
431
+ };
432
+ exports.TipoConfiguracaoPagamento = {
433
+ Elgin: '0',
434
+ Vero: '1',
435
+ Sitef: '2',
436
+ Auttar: '3',
437
+ Destaxa: '4',
438
+ QueroQueroPag: '5',
439
+ PagBank: '6',
440
+ description(val) {
441
+ switch (val) {
442
+ case this.Elgin:
443
+ return 'Elgin';
444
+ case this.Vero:
445
+ return 'Vero';
446
+ case this.Sitef:
447
+ return 'Sitef';
448
+ case this.Auttar:
449
+ return 'Auttar';
450
+ case this.Destaxa:
451
+ return 'Destaxa';
452
+ case this.QueroQueroPag:
453
+ return 'QueroQuero Pag';
454
+ case this.PagBank:
455
+ return 'PagBank';
456
+ default:
457
+ return '';
458
+ }
459
+ },
460
+ };
461
+ exports.SituacaoTransacaoPagamento = {
462
+ Gerada: '0',
463
+ Pendente: '1',
464
+ Aprovada: '2',
465
+ Cancelada: '3',
466
+ Expirada: '4',
467
+ Erro: '5',
468
+ Solicitada: '6',
469
+ EmProcessamento: '7',
470
+ Devolvida: '8',
471
+ NaoRealizada: '9',
472
+ description(val) {
473
+ switch (val) {
474
+ case this.Gerada:
475
+ return 'Gerada';
476
+ case this.Pendente:
477
+ return 'Pendente';
478
+ case this.Aprovada:
479
+ return 'Aprovada';
480
+ case this.Cancelada:
481
+ return 'Cancelada';
482
+ case this.Expirada:
483
+ return 'Expirada';
484
+ case this.Erro:
485
+ return 'Erro';
486
+ case this.Solicitada:
487
+ return 'Solicitacao de devolucao';
488
+ case this.EmProcessamento:
489
+ return 'Devolucao em processamento';
490
+ case this.Devolvida:
491
+ return 'Devolvida';
492
+ case this.NaoRealizada:
493
+ return 'Devolucao nao realizada';
494
+ default:
495
+ return 'enum not found';
496
+ }
497
+ },
498
+ };
499
+ exports.SituacaoConciliacaoPagamento = {
500
+ Pendente: '0',
501
+ Conciliado: '1',
502
+ NaoSeAplica: '2',
503
+ Divergente: '3',
504
+ description(val) {
505
+ switch (val) {
506
+ case this.Pendente:
507
+ return 'Pendente';
508
+ case this.Conciliado:
509
+ return 'Conciliado';
510
+ case this.NaoSeAplica:
511
+ return 'Nao se aplica';
512
+ case this.Divergente:
513
+ return 'Divergente';
514
+ default:
515
+ return 'enum not found';
516
+ }
517
+ },
518
+ };
519
+ exports.TipoContaMovimentacao = {
520
+ Transferencia: '0',
521
+ Entrada: '1',
522
+ Saida: '2',
523
+ description(val) {
524
+ switch (val) {
525
+ case this.Transferencia:
526
+ return 'Transferência';
527
+ case this.Entrada:
528
+ return 'Entrada';
529
+ case this.Saida:
530
+ return 'Saída';
531
+ default:
532
+ return 'enum not found';
533
+ }
534
+ },
535
+ };
536
+ exports.TipoTransferenciaCaixa = {
537
+ ContaBancaria: '0',
538
+ Caixa: '1',
539
+ description(val) {
540
+ switch (val) {
541
+ case this.ContaBancaria:
542
+ return 'Conta bancária';
543
+ case this.Caixa:
544
+ return 'Caixa';
545
+ default:
546
+ return 'enum not found';
547
+ }
548
+ },
549
+ };