mdz-enum 1.5.12 → 1.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/checkout/index.d.ts +28 -28
  2. package/dist/checkout/index.js +83 -83
  3. package/dist/commercial/index.d.ts +227 -227
  4. package/dist/commercial/index.js +549 -549
  5. package/dist/common/index.d.ts +47 -47
  6. package/dist/common/index.js +137 -137
  7. package/dist/config/index.d.ts +137 -137
  8. package/dist/config/index.js +392 -392
  9. package/dist/finance/index.d.ts +164 -164
  10. package/dist/finance/index.js +425 -425
  11. package/dist/fiscal/index.d.ts +468 -468
  12. package/dist/fiscal/index.js +1165 -1165
  13. package/dist/functions.d.ts +11 -11
  14. package/dist/functions.js +74 -74
  15. package/dist/general/index.d.ts +248 -243
  16. package/dist/general/index.js +463 -449
  17. package/dist/index.d.ts +14 -14
  18. package/dist/index.js +207 -206
  19. package/dist/integration/index.d.ts +19 -19
  20. package/dist/integration/index.js +57 -57
  21. package/dist/logistics/index.d.ts +124 -124
  22. package/dist/logistics/index.js +359 -359
  23. package/dist/marketplace/templates/components/index.d.ts +145 -145
  24. package/dist/marketplace/templates/components/index.js +156 -156
  25. package/dist/marketplace/templates/elements/index.d.ts +34 -34
  26. package/dist/marketplace/templates/elements/index.js +37 -37
  27. package/dist/marketplace/templates/index.d.ts +286 -284
  28. package/dist/marketplace/templates/index.js +38 -38
  29. package/dist/marketplace/templates/pages/index.d.ts +140 -140
  30. package/dist/marketplace/templates/pages/index.js +310 -310
  31. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  32. package/dist/marketplace/templates/reference/index.js +18 -18
  33. package/dist/people/index.d.ts +36 -36
  34. package/dist/people/index.js +105 -105
  35. package/dist/platform/index.d.ts +189 -189
  36. package/dist/platform/index.js +548 -548
  37. package/dist/reports/index.d.ts +46 -46
  38. package/dist/reports/index.js +136 -136
  39. package/package.json +1 -1
@@ -1,425 +1,425 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- 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
- ProgramaFidelidade: '19',
20
- SemPagamento: '90',
21
- Outros: '99',
22
- description(val) {
23
- switch (val) {
24
- case this.Dinheiro:
25
- return 'Dinheiro';
26
- case this.Cheque:
27
- return 'Cheque';
28
- case this.CartaoCredito:
29
- return 'Cartão de Crédito';
30
- case this.CartaoDebito:
31
- return 'Cartão de Débito';
32
- case this.CreditoLoja:
33
- return 'Crédito Loja';
34
- case this.ValeAlimentacao:
35
- return 'Vale Alimentação';
36
- case this.ValeRefeicao:
37
- return 'Vale Refeição';
38
- case this.ValePresente:
39
- return 'Vale Presente';
40
- case this.ValeCombustivel:
41
- return 'Vale Combustível';
42
- case this.BoletoBancario:
43
- return 'Boleto Bancário';
44
- case this.DepositoBancario:
45
- return 'Depósito Bancário';
46
- case this.PIX:
47
- return 'PIX';
48
- case this.TransferenciaBancaria:
49
- return 'Transferência Bancária';
50
- case this.ProgramaFidelidade:
51
- return 'Programa de Fidelidade';
52
- case this.SemPagamento:
53
- return 'Sem Pagamento';
54
- case this.Outros:
55
- return 'Outros';
56
- default:
57
- return 'enum not found';
58
- }
59
- },
60
- };
61
- exports.IndicadorFormaPagamento = {
62
- PagamentoAVista: '0',
63
- PagamentoAPrazo: '1',
64
- description(val) {
65
- switch (val) {
66
- case this.PagamentoAVista:
67
- return 'Pagamento à Vista';
68
- case this.PagamentoAPrazo:
69
- return 'Pagamento à Prazo';
70
- default:
71
- return 'enum not found';
72
- }
73
- },
74
- };
75
- exports.OperacaoOperadoraCartao = {
76
- Credito: '1',
77
- Debito: '2',
78
- description(val) {
79
- switch (val) {
80
- case this.Credito:
81
- return 'Crédito';
82
- case this.Debito:
83
- return 'Débito';
84
- default:
85
- return 'enum not found';
86
- }
87
- },
88
- };
89
- exports.BandeiraCartao = {
90
- Visa: '01',
91
- Mastercard: '02',
92
- AmericanExpress: '03',
93
- Sorocred: '04',
94
- DinersClub: '05',
95
- Elo: '06',
96
- Hipercard: '07',
97
- Aura: '08',
98
- Cabal: '09',
99
- Outros: '99',
100
- description(val) {
101
- switch (val) {
102
- case this.Visa:
103
- return 'Visa';
104
- case this.Mastercard:
105
- return 'Mastercard';
106
- case this.AmericanExpress:
107
- return 'American Express';
108
- case this.Sorocred:
109
- return 'Sorocred';
110
- case this.DinersClub:
111
- return 'Diners Club';
112
- case this.Elo:
113
- return 'Elo';
114
- case this.Hipercard:
115
- return 'Hipercard';
116
- case this.Aura:
117
- return 'Aura';
118
- case this.Cabal:
119
- return 'Cabal';
120
- case this.Outros:
121
- return 'Outros';
122
- default:
123
- return 'enum not found';
124
- }
125
- },
126
- };
127
- exports.TipoCalculoParcelamento = {
128
- Simples: '0',
129
- Composto: '1',
130
- description(val) {
131
- switch (val) {
132
- case this.Simples:
133
- return 'Simples';
134
- case this.Composto:
135
- return 'Composto';
136
- default:
137
- return 'enum not found';
138
- }
139
- },
140
- };
141
- exports.TipoPromocao = {
142
- Percentual: '0',
143
- Valor: '1',
144
- description(val) {
145
- switch (val) {
146
- case this.Percentual:
147
- return 'Percentual';
148
- case this.Valor:
149
- return 'Valor';
150
- default:
151
- return 'enum not found';
152
- }
153
- },
154
- };
155
- exports.SituacaoDocumentoFinanceiro = {
156
- Aberto: '0',
157
- Quitado: '1',
158
- Estornado: '2',
159
- Vencido: '3',
160
- description(val) {
161
- switch (val) {
162
- case this.Aberto:
163
- return 'Aberto';
164
- case this.Quitado:
165
- return 'Quitado';
166
- case this.Estornado:
167
- return 'Estornado';
168
- case this.Vencido:
169
- return 'Vencido';
170
- default:
171
- return 'enum not found';
172
- }
173
- },
174
- };
175
- exports.TipoDataDocumentoFinanceiro = {
176
- Emissao: '0',
177
- Quitacao: '1',
178
- Vencimento: '2',
179
- description(val) {
180
- switch (val) {
181
- case this.Emissao:
182
- return 'Emissão';
183
- case this.Quitacao:
184
- return 'Quitação';
185
- case this.Vencimento:
186
- return 'Vencimento';
187
- default:
188
- return 'enum not found';
189
- }
190
- },
191
- };
192
- exports.TipoLancamentoDocumentoFinanceiro = {
193
- Abertura: '0',
194
- Pagamento: '1',
195
- Desconto: '2',
196
- Acrescimo: '3',
197
- Juros: '4',
198
- Multa: '5',
199
- description(val) {
200
- switch (val) {
201
- case this.Abertura:
202
- return 'Abertura';
203
- case this.Pagamento:
204
- return 'Pagamento';
205
- case this.Desconto:
206
- return 'Desconto';
207
- case this.Acrescimo:
208
- return 'Acréscimo';
209
- case this.Juros:
210
- return 'Juros';
211
- case this.Multa:
212
- return 'Multa';
213
- default:
214
- return 'enum not found';
215
- }
216
- },
217
- };
218
- exports.TipoCaixaOperacao = {
219
- Abertura: '0',
220
- Entrada: '1',
221
- Saida: '2',
222
- Recebimento: '3',
223
- Pagamento: '4',
224
- Compra: '5',
225
- Venda: '6',
226
- Fechamento: '7',
227
- VendaValeCredito: '8',
228
- description(val) {
229
- switch (val) {
230
- case this.Abertura:
231
- return 'Abertura';
232
- case this.Entrada:
233
- return 'Entrada';
234
- case this.Saida:
235
- return 'Saída';
236
- case this.Recebimento:
237
- return 'Recebimento';
238
- case this.Pagamento:
239
- return 'Pagamento';
240
- case this.Compra:
241
- return 'Compra';
242
- case this.Venda:
243
- return 'Venda';
244
- case this.Fechamento:
245
- return 'Fechamento';
246
- case this.VendaValeCredito:
247
- return 'Venda vale crédito';
248
- default:
249
- return 'enum not found';
250
- }
251
- },
252
- };
253
- exports.SituacaoCaixa = {
254
- Aberto: '0',
255
- Fechado: '1',
256
- FechadoComDiferenca: '2',
257
- description(val) {
258
- switch (val) {
259
- case this.Aberto:
260
- return 'Aberto';
261
- case this.Fechado:
262
- return 'Fechado';
263
- case this.FechadoComDiferenca:
264
- return 'Fechado com Diferença';
265
- default:
266
- return 'enum not found';
267
- }
268
- },
269
- };
270
- exports.TipoValorConfiguracaoBoleto = {
271
- Percentual: '0',
272
- Valor: '1',
273
- description(val) {
274
- switch (val) {
275
- case this.Percentual:
276
- return 'Percentual';
277
- case this.Valor:
278
- return 'Valor';
279
- default:
280
- return 'enum not found';
281
- }
282
- },
283
- };
284
- exports.SituacaoBoleto = {
285
- Pendente: '0',
286
- Pago: '1',
287
- Cancelado: '2',
288
- Vencido: '3',
289
- RemessaGerada: '4',
290
- description(val) {
291
- switch (val) {
292
- case this.Pendente:
293
- return 'Pendente';
294
- case this.Pago:
295
- return 'Pago';
296
- case this.Cancelado:
297
- return 'Cancelado';
298
- case this.Vencido:
299
- return 'Vencido';
300
- case this.RemessaGerada:
301
- return 'Remessa Gerada';
302
- default:
303
- return 'enum not found';
304
- }
305
- },
306
- };
307
- exports.TipoDataBoleto = {
308
- Emissao: '0',
309
- Vencimento: '1',
310
- Pagamento: '2',
311
- description(val) {
312
- switch (val) {
313
- case this.Emissao:
314
- return 'Emissão';
315
- case this.Vencimento:
316
- return 'Vencimento';
317
- case this.Pagamento:
318
- return 'Pagamento';
319
- default:
320
- return 'enum not found';
321
- }
322
- },
323
- };
324
- exports.SituacaoConciliacao = {
325
- NaoConciliado: '0',
326
- Conciliado: '1',
327
- description(val) {
328
- switch (val) {
329
- case this.NaoConciliado:
330
- return 'Não Conciliado';
331
- case this.Conciliado:
332
- return 'Conciliado';
333
- default:
334
- return 'enum not found';
335
- }
336
- },
337
- };
338
- exports.TipoCalculoTaxaCartaoCredito = {
339
- PercentualCadaParcela: '0',
340
- PercentualSobreParcelasAnteriores: '1',
341
- description(val) {
342
- switch (val) {
343
- case this.PercentualCadaParcela:
344
- return 'Percentual para cada parcela';
345
- case this.PercentualSobreParcelasAnteriores:
346
- return 'Percentual sobre todas parcelas anteriores';
347
- default:
348
- return 'enum not found';
349
- }
350
- },
351
- };
352
- exports.VariaveisBoleto = {
353
- DataVencimento: {
354
- Descricao: 'Data Vencimento',
355
- Chave: '<data_vencimento>',
356
- Tipo: fiscal_1.TipoCampo.Data,
357
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
358
- },
359
- NumeroCodigoBarra: {
360
- Descricao: 'Número código de barras',
361
- Chave: '<codigo_barra>',
362
- Tipo: fiscal_1.TipoCampo.Numerico,
363
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
364
- },
365
- Valor: {
366
- Descricao: 'Valor',
367
- Chave: '<valor>',
368
- Tipo: fiscal_1.TipoCampo.Numerico,
369
- Aplicacao: fiscal_1.OrigemCampo.Boleto,
370
- },
371
- Cliente: {
372
- Descricao: 'Cliente',
373
- Chave: '<nome>',
374
- Tipo: fiscal_1.TipoCampo.Texto,
375
- Aplicacao: fiscal_1.OrigemCampo.Cliente,
376
- },
377
- };
378
- exports.SituacaoContaMatera = {
379
- EmCriacao: 'CREATING',
380
- Regular: 'REGULAR',
381
- description(val) {
382
- switch (val) {
383
- case this.EmCriacao:
384
- return 'Aguardando confirmação';
385
- case this.Regular:
386
- return 'Regular';
387
- default:
388
- return 'Conta com erro.';
389
- }
390
- },
391
- };
392
- exports.CNAB = {
393
- c400: 1,
394
- c240: 0,
395
- description(val) {
396
- switch (val) {
397
- case this.c400:
398
- return 'CNAB 400';
399
- case this.c240:
400
- return 'CNAB 240';
401
- default:
402
- return '';
403
- }
404
- },
405
- };
406
- exports.ModeloCaptura = {
407
- Elgin: '0',
408
- Vero: '1',
409
- Sitef: '2',
410
- Auttar: '3',
411
- description(val) {
412
- switch (val) {
413
- case this.Elgin:
414
- return 'Elgin';
415
- case this.Vero:
416
- return 'VERO';
417
- case this.Sitef:
418
- return 'Sitef';
419
- case this.Auttar:
420
- return 'Auttar';
421
- default:
422
- return '';
423
- }
424
- },
425
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ 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
+ ProgramaFidelidade: '19',
20
+ SemPagamento: '90',
21
+ Outros: '99',
22
+ description(val) {
23
+ switch (val) {
24
+ case this.Dinheiro:
25
+ return 'Dinheiro';
26
+ case this.Cheque:
27
+ return 'Cheque';
28
+ case this.CartaoCredito:
29
+ return 'Cartão de Crédito';
30
+ case this.CartaoDebito:
31
+ return 'Cartão de Débito';
32
+ case this.CreditoLoja:
33
+ return 'Crédito Loja';
34
+ case this.ValeAlimentacao:
35
+ return 'Vale Alimentação';
36
+ case this.ValeRefeicao:
37
+ return 'Vale Refeição';
38
+ case this.ValePresente:
39
+ return 'Vale Presente';
40
+ case this.ValeCombustivel:
41
+ return 'Vale Combustível';
42
+ case this.BoletoBancario:
43
+ return 'Boleto Bancário';
44
+ case this.DepositoBancario:
45
+ return 'Depósito Bancário';
46
+ case this.PIX:
47
+ return 'PIX';
48
+ case this.TransferenciaBancaria:
49
+ return 'Transferência Bancária';
50
+ case this.ProgramaFidelidade:
51
+ return 'Programa de Fidelidade';
52
+ case this.SemPagamento:
53
+ return 'Sem Pagamento';
54
+ case this.Outros:
55
+ return 'Outros';
56
+ default:
57
+ return 'enum not found';
58
+ }
59
+ },
60
+ };
61
+ exports.IndicadorFormaPagamento = {
62
+ PagamentoAVista: '0',
63
+ PagamentoAPrazo: '1',
64
+ description(val) {
65
+ switch (val) {
66
+ case this.PagamentoAVista:
67
+ return 'Pagamento à Vista';
68
+ case this.PagamentoAPrazo:
69
+ return 'Pagamento à Prazo';
70
+ default:
71
+ return 'enum not found';
72
+ }
73
+ },
74
+ };
75
+ exports.OperacaoOperadoraCartao = {
76
+ Credito: '1',
77
+ Debito: '2',
78
+ description(val) {
79
+ switch (val) {
80
+ case this.Credito:
81
+ return 'Crédito';
82
+ case this.Debito:
83
+ return 'Débito';
84
+ default:
85
+ return 'enum not found';
86
+ }
87
+ },
88
+ };
89
+ exports.BandeiraCartao = {
90
+ Visa: '01',
91
+ Mastercard: '02',
92
+ AmericanExpress: '03',
93
+ Sorocred: '04',
94
+ DinersClub: '05',
95
+ Elo: '06',
96
+ Hipercard: '07',
97
+ Aura: '08',
98
+ Cabal: '09',
99
+ Outros: '99',
100
+ description(val) {
101
+ switch (val) {
102
+ case this.Visa:
103
+ return 'Visa';
104
+ case this.Mastercard:
105
+ return 'Mastercard';
106
+ case this.AmericanExpress:
107
+ return 'American Express';
108
+ case this.Sorocred:
109
+ return 'Sorocred';
110
+ case this.DinersClub:
111
+ return 'Diners Club';
112
+ case this.Elo:
113
+ return 'Elo';
114
+ case this.Hipercard:
115
+ return 'Hipercard';
116
+ case this.Aura:
117
+ return 'Aura';
118
+ case this.Cabal:
119
+ return 'Cabal';
120
+ case this.Outros:
121
+ return 'Outros';
122
+ default:
123
+ return 'enum not found';
124
+ }
125
+ },
126
+ };
127
+ exports.TipoCalculoParcelamento = {
128
+ Simples: '0',
129
+ Composto: '1',
130
+ description(val) {
131
+ switch (val) {
132
+ case this.Simples:
133
+ return 'Simples';
134
+ case this.Composto:
135
+ return 'Composto';
136
+ default:
137
+ return 'enum not found';
138
+ }
139
+ },
140
+ };
141
+ exports.TipoPromocao = {
142
+ Percentual: '0',
143
+ Valor: '1',
144
+ description(val) {
145
+ switch (val) {
146
+ case this.Percentual:
147
+ return 'Percentual';
148
+ case this.Valor:
149
+ return 'Valor';
150
+ default:
151
+ return 'enum not found';
152
+ }
153
+ },
154
+ };
155
+ exports.SituacaoDocumentoFinanceiro = {
156
+ Aberto: '0',
157
+ Quitado: '1',
158
+ Estornado: '2',
159
+ Vencido: '3',
160
+ description(val) {
161
+ switch (val) {
162
+ case this.Aberto:
163
+ return 'Aberto';
164
+ case this.Quitado:
165
+ return 'Quitado';
166
+ case this.Estornado:
167
+ return 'Estornado';
168
+ case this.Vencido:
169
+ return 'Vencido';
170
+ default:
171
+ return 'enum not found';
172
+ }
173
+ },
174
+ };
175
+ exports.TipoDataDocumentoFinanceiro = {
176
+ Emissao: '0',
177
+ Quitacao: '1',
178
+ Vencimento: '2',
179
+ description(val) {
180
+ switch (val) {
181
+ case this.Emissao:
182
+ return 'Emissão';
183
+ case this.Quitacao:
184
+ return 'Quitação';
185
+ case this.Vencimento:
186
+ return 'Vencimento';
187
+ default:
188
+ return 'enum not found';
189
+ }
190
+ },
191
+ };
192
+ exports.TipoLancamentoDocumentoFinanceiro = {
193
+ Abertura: '0',
194
+ Pagamento: '1',
195
+ Desconto: '2',
196
+ Acrescimo: '3',
197
+ Juros: '4',
198
+ Multa: '5',
199
+ description(val) {
200
+ switch (val) {
201
+ case this.Abertura:
202
+ return 'Abertura';
203
+ case this.Pagamento:
204
+ return 'Pagamento';
205
+ case this.Desconto:
206
+ return 'Desconto';
207
+ case this.Acrescimo:
208
+ return 'Acréscimo';
209
+ case this.Juros:
210
+ return 'Juros';
211
+ case this.Multa:
212
+ return 'Multa';
213
+ default:
214
+ return 'enum not found';
215
+ }
216
+ },
217
+ };
218
+ exports.TipoCaixaOperacao = {
219
+ Abertura: '0',
220
+ Entrada: '1',
221
+ Saida: '2',
222
+ Recebimento: '3',
223
+ Pagamento: '4',
224
+ Compra: '5',
225
+ Venda: '6',
226
+ Fechamento: '7',
227
+ VendaValeCredito: '8',
228
+ description(val) {
229
+ switch (val) {
230
+ case this.Abertura:
231
+ return 'Abertura';
232
+ case this.Entrada:
233
+ return 'Entrada';
234
+ case this.Saida:
235
+ return 'Saída';
236
+ case this.Recebimento:
237
+ return 'Recebimento';
238
+ case this.Pagamento:
239
+ return 'Pagamento';
240
+ case this.Compra:
241
+ return 'Compra';
242
+ case this.Venda:
243
+ return 'Venda';
244
+ case this.Fechamento:
245
+ return 'Fechamento';
246
+ case this.VendaValeCredito:
247
+ return 'Venda vale crédito';
248
+ default:
249
+ return 'enum not found';
250
+ }
251
+ },
252
+ };
253
+ exports.SituacaoCaixa = {
254
+ Aberto: '0',
255
+ Fechado: '1',
256
+ FechadoComDiferenca: '2',
257
+ description(val) {
258
+ switch (val) {
259
+ case this.Aberto:
260
+ return 'Aberto';
261
+ case this.Fechado:
262
+ return 'Fechado';
263
+ case this.FechadoComDiferenca:
264
+ return 'Fechado com Diferença';
265
+ default:
266
+ return 'enum not found';
267
+ }
268
+ },
269
+ };
270
+ exports.TipoValorConfiguracaoBoleto = {
271
+ Percentual: '0',
272
+ Valor: '1',
273
+ description(val) {
274
+ switch (val) {
275
+ case this.Percentual:
276
+ return 'Percentual';
277
+ case this.Valor:
278
+ return 'Valor';
279
+ default:
280
+ return 'enum not found';
281
+ }
282
+ },
283
+ };
284
+ exports.SituacaoBoleto = {
285
+ Pendente: '0',
286
+ Pago: '1',
287
+ Cancelado: '2',
288
+ Vencido: '3',
289
+ RemessaGerada: '4',
290
+ description(val) {
291
+ switch (val) {
292
+ case this.Pendente:
293
+ return 'Pendente';
294
+ case this.Pago:
295
+ return 'Pago';
296
+ case this.Cancelado:
297
+ return 'Cancelado';
298
+ case this.Vencido:
299
+ return 'Vencido';
300
+ case this.RemessaGerada:
301
+ return 'Remessa Gerada';
302
+ default:
303
+ return 'enum not found';
304
+ }
305
+ },
306
+ };
307
+ exports.TipoDataBoleto = {
308
+ Emissao: '0',
309
+ Vencimento: '1',
310
+ Pagamento: '2',
311
+ description(val) {
312
+ switch (val) {
313
+ case this.Emissao:
314
+ return 'Emissão';
315
+ case this.Vencimento:
316
+ return 'Vencimento';
317
+ case this.Pagamento:
318
+ return 'Pagamento';
319
+ default:
320
+ return 'enum not found';
321
+ }
322
+ },
323
+ };
324
+ exports.SituacaoConciliacao = {
325
+ NaoConciliado: '0',
326
+ Conciliado: '1',
327
+ description(val) {
328
+ switch (val) {
329
+ case this.NaoConciliado:
330
+ return 'Não Conciliado';
331
+ case this.Conciliado:
332
+ return 'Conciliado';
333
+ default:
334
+ return 'enum not found';
335
+ }
336
+ },
337
+ };
338
+ exports.TipoCalculoTaxaCartaoCredito = {
339
+ PercentualCadaParcela: '0',
340
+ PercentualSobreParcelasAnteriores: '1',
341
+ description(val) {
342
+ switch (val) {
343
+ case this.PercentualCadaParcela:
344
+ return 'Percentual para cada parcela';
345
+ case this.PercentualSobreParcelasAnteriores:
346
+ return 'Percentual sobre todas parcelas anteriores';
347
+ default:
348
+ return 'enum not found';
349
+ }
350
+ },
351
+ };
352
+ exports.VariaveisBoleto = {
353
+ DataVencimento: {
354
+ Descricao: 'Data Vencimento',
355
+ Chave: '<data_vencimento>',
356
+ Tipo: fiscal_1.TipoCampo.Data,
357
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
358
+ },
359
+ NumeroCodigoBarra: {
360
+ Descricao: 'Número código de barras',
361
+ Chave: '<codigo_barra>',
362
+ Tipo: fiscal_1.TipoCampo.Numerico,
363
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
364
+ },
365
+ Valor: {
366
+ Descricao: 'Valor',
367
+ Chave: '<valor>',
368
+ Tipo: fiscal_1.TipoCampo.Numerico,
369
+ Aplicacao: fiscal_1.OrigemCampo.Boleto,
370
+ },
371
+ Cliente: {
372
+ Descricao: 'Cliente',
373
+ Chave: '<nome>',
374
+ Tipo: fiscal_1.TipoCampo.Texto,
375
+ Aplicacao: fiscal_1.OrigemCampo.Cliente,
376
+ },
377
+ };
378
+ exports.SituacaoContaMatera = {
379
+ EmCriacao: 'CREATING',
380
+ Regular: 'REGULAR',
381
+ description(val) {
382
+ switch (val) {
383
+ case this.EmCriacao:
384
+ return 'Aguardando confirmação';
385
+ case this.Regular:
386
+ return 'Regular';
387
+ default:
388
+ return 'Conta com erro.';
389
+ }
390
+ },
391
+ };
392
+ exports.CNAB = {
393
+ c400: 1,
394
+ c240: 0,
395
+ description(val) {
396
+ switch (val) {
397
+ case this.c400:
398
+ return 'CNAB 400';
399
+ case this.c240:
400
+ return 'CNAB 240';
401
+ default:
402
+ return '';
403
+ }
404
+ },
405
+ };
406
+ exports.ModeloCaptura = {
407
+ Elgin: '0',
408
+ Vero: '1',
409
+ Sitef: '2',
410
+ Auttar: '3',
411
+ description(val) {
412
+ switch (val) {
413
+ case this.Elgin:
414
+ return 'Elgin';
415
+ case this.Vero:
416
+ return 'VERO';
417
+ case this.Sitef:
418
+ return 'Sitef';
419
+ case this.Auttar:
420
+ return 'Auttar';
421
+ default:
422
+ return '';
423
+ }
424
+ },
425
+ };