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,445 +1,448 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TipoContaMovimentacao = 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
- description(val) {
415
- switch (val) {
416
- case this.Elgin:
417
- return 'Elgin';
418
- case this.Vero:
419
- return 'VERO';
420
- case this.Sitef:
421
- return 'Sitef';
422
- case this.Auttar:
423
- return 'Auttar';
424
- default:
425
- return '';
426
- }
427
- },
428
- };
429
- exports.TipoContaMovimentacao = {
430
- Transferencia: '0',
431
- Entrada: '1',
432
- Saida: '2',
433
- description(val) {
434
- switch (val) {
435
- case this.Transferencia:
436
- return 'Transferência';
437
- case this.Entrada:
438
- return 'Entrada';
439
- case this.Saida:
440
- return 'Saída';
441
- default:
442
- return 'enum not found';
443
- }
444
- },
445
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoContaMovimentacao = 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.TipoContaMovimentacao = {
433
+ Transferencia: '0',
434
+ Entrada: '1',
435
+ Saida: '2',
436
+ description(val) {
437
+ switch (val) {
438
+ case this.Transferencia:
439
+ return 'Transferência';
440
+ case this.Entrada:
441
+ return 'Entrada';
442
+ case this.Saida:
443
+ return 'Saída';
444
+ default:
445
+ return 'enum not found';
446
+ }
447
+ },
448
+ };