mdz-enum 1.1.13 → 1.1.14

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