mdz-enum 1.1.19 → 1.1.21
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.
- package/README.MD +1 -1
- package/package.json +32 -33
- package/dist/commercial/index.d.ts +0 -64
- package/dist/commercial/index.js +0 -185
- package/dist/config/index.d.ts +0 -73
- package/dist/config/index.js +0 -211
- package/dist/finance/index.d.ts +0 -112
- package/dist/finance/index.js +0 -324
- package/dist/fiscal/index.d.ts +0 -291
- package/dist/fiscal/index.js +0 -862
- package/dist/functions.d.ts +0 -4
- package/dist/functions.js +0 -37
- package/dist/general/index.d.ts +0 -56
- package/dist/general/index.js +0 -205
- package/dist/index.d.ts +0 -11
- package/dist/index.js +0 -99
- package/dist/integration/index.d.ts +0 -4
- package/dist/integration/index.js +0 -14
- package/dist/logistics/index.d.ts +0 -45
- package/dist/logistics/index.js +0 -132
- package/dist/people/index.d.ts +0 -15
- package/dist/people/index.js +0 -45
- package/dist/plataform/index.d.ts +0 -12
- package/dist/plataform/index.js +0 -37
- package/dist/reports/index.d.ts +0 -12
- package/dist/reports/index.js +0 -33
package/dist/finance/index.d.ts
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export declare const MeioPagamento: {
|
|
2
|
-
Dinheiro: string;
|
|
3
|
-
Cheque: string;
|
|
4
|
-
CartaoCredito: string;
|
|
5
|
-
CartaoDebito: string;
|
|
6
|
-
CreditoLoja: string;
|
|
7
|
-
ValeAlimentacao: string;
|
|
8
|
-
ValeRefeicao: string;
|
|
9
|
-
ValePresente: string;
|
|
10
|
-
ValeCombustivel: string;
|
|
11
|
-
BoletoBancario: string;
|
|
12
|
-
DepositoBancario: string;
|
|
13
|
-
PIX: string;
|
|
14
|
-
TransferenciaBancaria: string;
|
|
15
|
-
ProgramaFidelidade: string;
|
|
16
|
-
SemPagamento: string;
|
|
17
|
-
Outros: string;
|
|
18
|
-
description(val: string): "enum not found" | "Dinheiro" | "Cheque" | "Cartão de Crédito" | "Cartão de Débito" | "Crédito Loja" | "Vale Alimentação" | "Vale Refeição" | "Vale Presente" | "Vale Combustível" | "Boleto Bancário" | "Depósito Bancário" | "PIX" | "Transferência Bancária" | "Programa de Fidelidade" | "Sem Pagamento" | "Outros";
|
|
19
|
-
};
|
|
20
|
-
export declare const IndicadorFormaPagamento: {
|
|
21
|
-
PagamentoAVista: string;
|
|
22
|
-
PagamentoAPrazo: string;
|
|
23
|
-
description(val: string): "enum not found" | "Pagamento à Vista" | "Pagamento à Prazo";
|
|
24
|
-
};
|
|
25
|
-
export declare const OperacaoOperadoraCartao: {
|
|
26
|
-
Credito: string;
|
|
27
|
-
Debito: string;
|
|
28
|
-
description(val: string): "enum not found" | "Crédito" | "Débito";
|
|
29
|
-
};
|
|
30
|
-
export declare const BandeiraCartao: {
|
|
31
|
-
Visa: string;
|
|
32
|
-
Mastercard: string;
|
|
33
|
-
AmericanExpress: string;
|
|
34
|
-
Sorocred: string;
|
|
35
|
-
DinersClub: string;
|
|
36
|
-
Elo: string;
|
|
37
|
-
Hipercard: string;
|
|
38
|
-
Aura: string;
|
|
39
|
-
Cabal: string;
|
|
40
|
-
Outros: string;
|
|
41
|
-
description(val: string): "enum not found" | "Outros" | "Visa" | "Mastercard" | "American Express" | "Sorocred" | "Diners Club" | "Elo" | "Hipercard" | "Aura" | "Cabal";
|
|
42
|
-
};
|
|
43
|
-
export declare const TipoCalculoParcelamento: {
|
|
44
|
-
Simples: string;
|
|
45
|
-
Composto: string;
|
|
46
|
-
description(val: string): "enum not found" | "Simples" | "Composto";
|
|
47
|
-
};
|
|
48
|
-
export declare const TipoPromocao: {
|
|
49
|
-
Percentual: string;
|
|
50
|
-
Valor: string;
|
|
51
|
-
description(val: string): "enum not found" | "Valor" | "Percentual";
|
|
52
|
-
};
|
|
53
|
-
export declare const SituacaoDocumentoFinanceiro: {
|
|
54
|
-
Aberto: string;
|
|
55
|
-
Quitado: string;
|
|
56
|
-
Estornado: string;
|
|
57
|
-
description(val: string): "enum not found" | "Aberto" | "Quitado" | "Estornado";
|
|
58
|
-
};
|
|
59
|
-
export declare const TipoDataDocumentoFinanceiro: {
|
|
60
|
-
Emissao: string;
|
|
61
|
-
Quitacao: string;
|
|
62
|
-
Vencimento: string;
|
|
63
|
-
description(val: string): "enum not found" | "Emissão" | "Quitação" | "Vencimento";
|
|
64
|
-
};
|
|
65
|
-
export declare const TipoLancamentoDocumentoFinanceiro: {
|
|
66
|
-
Abertura: string;
|
|
67
|
-
Pagamento: string;
|
|
68
|
-
Desconto: string;
|
|
69
|
-
Acrescimo: string;
|
|
70
|
-
Juros: string;
|
|
71
|
-
Multa: string;
|
|
72
|
-
description(val: string): "enum not found" | "Desconto" | "Acréscimo" | "Abertura" | "Pagamento" | "Juros" | "Multa";
|
|
73
|
-
};
|
|
74
|
-
export declare const TipoCaixaOperacao: {
|
|
75
|
-
Abertura: string;
|
|
76
|
-
Entrada: string;
|
|
77
|
-
Saida: string;
|
|
78
|
-
Recebimento: string;
|
|
79
|
-
Pagamento: string;
|
|
80
|
-
Compra: string;
|
|
81
|
-
Venda: string;
|
|
82
|
-
Fechamento: string;
|
|
83
|
-
description(val: string): "enum not found" | "Abertura" | "Pagamento" | "Entrada" | "Saída" | "Recebimento" | "Compra" | "Venda" | "Fechamento";
|
|
84
|
-
};
|
|
85
|
-
export declare const SituacaoCaixa: {
|
|
86
|
-
Aberto: string;
|
|
87
|
-
Fechado: string;
|
|
88
|
-
FechadoComDiferenca: string;
|
|
89
|
-
description(val: string): "enum not found" | "Fechado" | "Aberto" | "Fechado com Diferença";
|
|
90
|
-
};
|
|
91
|
-
export declare const TipoValorConfiguracaoBoleto: {
|
|
92
|
-
Percentual: string;
|
|
93
|
-
Valor: string;
|
|
94
|
-
description(val: string): "enum not found" | "Valor" | "Percentual";
|
|
95
|
-
};
|
|
96
|
-
export declare const SituacaoBoleto: {
|
|
97
|
-
Pendente: string;
|
|
98
|
-
Pago: string;
|
|
99
|
-
Cancelado: string;
|
|
100
|
-
Vencido: string;
|
|
101
|
-
description(val: string): "Cancelado" | "enum not found" | "Pendente" | "Pago" | "Vencido";
|
|
102
|
-
};
|
|
103
|
-
export declare const SituacaoConciliacao: {
|
|
104
|
-
NaoConciliado: string;
|
|
105
|
-
Conciliado: string;
|
|
106
|
-
description(val: string): "enum not found" | "Não Conciliado" | "Conciliado";
|
|
107
|
-
};
|
|
108
|
-
export declare const TipoCalculoTaxaCartaoCredito: {
|
|
109
|
-
PercentualCadaParcela: string;
|
|
110
|
-
PercentualSobreParcelasAnteriores: string;
|
|
111
|
-
description(val: string): "enum not found" | "Percentual para cada parcela" | "Percentual sobre todas parcelas anteriores";
|
|
112
|
-
};
|
package/dist/finance/index.js
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoCalculoTaxaCartaoCredito = exports.SituacaoConciliacao = 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
|
-
exports.MeioPagamento = {
|
|
5
|
-
Dinheiro: '01',
|
|
6
|
-
Cheque: '02',
|
|
7
|
-
CartaoCredito: '03',
|
|
8
|
-
CartaoDebito: '04',
|
|
9
|
-
CreditoLoja: '05',
|
|
10
|
-
ValeAlimentacao: '10',
|
|
11
|
-
ValeRefeicao: '11',
|
|
12
|
-
ValePresente: '12',
|
|
13
|
-
ValeCombustivel: '13',
|
|
14
|
-
BoletoBancario: '15',
|
|
15
|
-
DepositoBancario: '16',
|
|
16
|
-
PIX: '17',
|
|
17
|
-
TransferenciaBancaria: '18',
|
|
18
|
-
ProgramaFidelidade: '19',
|
|
19
|
-
SemPagamento: '90',
|
|
20
|
-
Outros: '99',
|
|
21
|
-
description(val) {
|
|
22
|
-
switch (val) {
|
|
23
|
-
case this.Dinheiro:
|
|
24
|
-
return 'Dinheiro';
|
|
25
|
-
case this.Cheque:
|
|
26
|
-
return 'Cheque';
|
|
27
|
-
case this.CartaoCredito:
|
|
28
|
-
return 'Cartão de Crédito';
|
|
29
|
-
case this.CartaoDebito:
|
|
30
|
-
return 'Cartão de Débito';
|
|
31
|
-
case this.CreditoLoja:
|
|
32
|
-
return 'Crédito Loja';
|
|
33
|
-
case this.ValeAlimentacao:
|
|
34
|
-
return 'Vale Alimentação';
|
|
35
|
-
case this.ValeRefeicao:
|
|
36
|
-
return 'Vale Refeição';
|
|
37
|
-
case this.ValePresente:
|
|
38
|
-
return 'Vale Presente';
|
|
39
|
-
case this.ValeCombustivel:
|
|
40
|
-
return 'Vale Combustível';
|
|
41
|
-
case this.BoletoBancario:
|
|
42
|
-
return 'Boleto Bancário';
|
|
43
|
-
case this.DepositoBancario:
|
|
44
|
-
return 'Depósito Bancário';
|
|
45
|
-
case this.PIX:
|
|
46
|
-
return 'PIX';
|
|
47
|
-
case this.TransferenciaBancaria:
|
|
48
|
-
return 'Transferência Bancária';
|
|
49
|
-
case this.ProgramaFidelidade:
|
|
50
|
-
return 'Programa de Fidelidade';
|
|
51
|
-
case this.SemPagamento:
|
|
52
|
-
return 'Sem Pagamento';
|
|
53
|
-
case this.Outros:
|
|
54
|
-
return 'Outros';
|
|
55
|
-
default:
|
|
56
|
-
return 'enum not found';
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
exports.IndicadorFormaPagamento = {
|
|
61
|
-
PagamentoAVista: '0',
|
|
62
|
-
PagamentoAPrazo: '1',
|
|
63
|
-
description(val) {
|
|
64
|
-
switch (val) {
|
|
65
|
-
case this.PagamentoAVista:
|
|
66
|
-
return 'Pagamento à Vista';
|
|
67
|
-
case this.PagamentoAPrazo:
|
|
68
|
-
return 'Pagamento à Prazo';
|
|
69
|
-
default:
|
|
70
|
-
return 'enum not found';
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
};
|
|
74
|
-
exports.OperacaoOperadoraCartao = {
|
|
75
|
-
Credito: '1',
|
|
76
|
-
Debito: '2',
|
|
77
|
-
description(val) {
|
|
78
|
-
switch (val) {
|
|
79
|
-
case this.Credito:
|
|
80
|
-
return 'Crédito';
|
|
81
|
-
case this.Debito:
|
|
82
|
-
return 'Débito';
|
|
83
|
-
default:
|
|
84
|
-
return 'enum not found';
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
exports.BandeiraCartao = {
|
|
89
|
-
Visa: '01',
|
|
90
|
-
Mastercard: '02',
|
|
91
|
-
AmericanExpress: '03',
|
|
92
|
-
Sorocred: '04',
|
|
93
|
-
DinersClub: '05',
|
|
94
|
-
Elo: '06',
|
|
95
|
-
Hipercard: '07',
|
|
96
|
-
Aura: '08',
|
|
97
|
-
Cabal: '09',
|
|
98
|
-
Outros: '99',
|
|
99
|
-
description(val) {
|
|
100
|
-
switch (val) {
|
|
101
|
-
case this.Visa:
|
|
102
|
-
return 'Visa';
|
|
103
|
-
case this.Mastercard:
|
|
104
|
-
return 'Mastercard';
|
|
105
|
-
case this.AmericanExpress:
|
|
106
|
-
return 'American Express';
|
|
107
|
-
case this.Sorocred:
|
|
108
|
-
return 'Sorocred';
|
|
109
|
-
case this.DinersClub:
|
|
110
|
-
return 'Diners Club';
|
|
111
|
-
case this.Elo:
|
|
112
|
-
return 'Elo';
|
|
113
|
-
case this.Hipercard:
|
|
114
|
-
return 'Hipercard';
|
|
115
|
-
case this.Aura:
|
|
116
|
-
return 'Aura';
|
|
117
|
-
case this.Cabal:
|
|
118
|
-
return 'Cabal';
|
|
119
|
-
case this.Outros:
|
|
120
|
-
return 'Outros';
|
|
121
|
-
default:
|
|
122
|
-
return 'enum not found';
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
exports.TipoCalculoParcelamento = {
|
|
127
|
-
Simples: '0',
|
|
128
|
-
Composto: '1',
|
|
129
|
-
description(val) {
|
|
130
|
-
switch (val) {
|
|
131
|
-
case this.Simples:
|
|
132
|
-
return 'Simples';
|
|
133
|
-
case this.Composto:
|
|
134
|
-
return 'Composto';
|
|
135
|
-
default:
|
|
136
|
-
return 'enum not found';
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
};
|
|
140
|
-
exports.TipoPromocao = {
|
|
141
|
-
Percentual: '0',
|
|
142
|
-
Valor: '1',
|
|
143
|
-
description(val) {
|
|
144
|
-
switch (val) {
|
|
145
|
-
case this.Percentual:
|
|
146
|
-
return 'Percentual';
|
|
147
|
-
case this.Valor:
|
|
148
|
-
return 'Valor';
|
|
149
|
-
default:
|
|
150
|
-
return 'enum not found';
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
};
|
|
154
|
-
exports.SituacaoDocumentoFinanceiro = {
|
|
155
|
-
Aberto: '0',
|
|
156
|
-
Quitado: '1',
|
|
157
|
-
Estornado: '2',
|
|
158
|
-
description(val) {
|
|
159
|
-
switch (val) {
|
|
160
|
-
case this.Aberto:
|
|
161
|
-
return 'Aberto';
|
|
162
|
-
case this.Quitado:
|
|
163
|
-
return 'Quitado';
|
|
164
|
-
case this.Estornado:
|
|
165
|
-
return 'Estornado';
|
|
166
|
-
default:
|
|
167
|
-
return 'enum not found';
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
};
|
|
171
|
-
exports.TipoDataDocumentoFinanceiro = {
|
|
172
|
-
Emissao: '0',
|
|
173
|
-
Quitacao: '1',
|
|
174
|
-
Vencimento: '2',
|
|
175
|
-
description(val) {
|
|
176
|
-
switch (val) {
|
|
177
|
-
case this.Emissao:
|
|
178
|
-
return 'Emissão';
|
|
179
|
-
case this.Quitacao:
|
|
180
|
-
return 'Quitação';
|
|
181
|
-
case this.Vencimento:
|
|
182
|
-
return 'Vencimento';
|
|
183
|
-
default:
|
|
184
|
-
return 'enum not found';
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
exports.TipoLancamentoDocumentoFinanceiro = {
|
|
189
|
-
Abertura: '0',
|
|
190
|
-
Pagamento: '1',
|
|
191
|
-
Desconto: '2',
|
|
192
|
-
Acrescimo: '3',
|
|
193
|
-
Juros: '4',
|
|
194
|
-
Multa: '5',
|
|
195
|
-
description(val) {
|
|
196
|
-
switch (val) {
|
|
197
|
-
case this.Abertura:
|
|
198
|
-
return 'Abertura';
|
|
199
|
-
case this.Pagamento:
|
|
200
|
-
return 'Pagamento';
|
|
201
|
-
case this.Desconto:
|
|
202
|
-
return 'Desconto';
|
|
203
|
-
case this.Acrescimo:
|
|
204
|
-
return 'Acréscimo';
|
|
205
|
-
case this.Juros:
|
|
206
|
-
return 'Juros';
|
|
207
|
-
case this.Multa:
|
|
208
|
-
return 'Multa';
|
|
209
|
-
default:
|
|
210
|
-
return 'enum not found';
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
};
|
|
214
|
-
exports.TipoCaixaOperacao = {
|
|
215
|
-
Abertura: '0',
|
|
216
|
-
Entrada: '1',
|
|
217
|
-
Saida: '2',
|
|
218
|
-
Recebimento: '3',
|
|
219
|
-
Pagamento: '4',
|
|
220
|
-
Compra: '5',
|
|
221
|
-
Venda: '6',
|
|
222
|
-
Fechamento: '7',
|
|
223
|
-
description(val) {
|
|
224
|
-
switch (val) {
|
|
225
|
-
case this.Abertura:
|
|
226
|
-
return 'Abertura';
|
|
227
|
-
case this.Entrada:
|
|
228
|
-
return 'Entrada';
|
|
229
|
-
case this.Saida:
|
|
230
|
-
return 'Saída';
|
|
231
|
-
case this.Recebimento:
|
|
232
|
-
return 'Recebimento';
|
|
233
|
-
case this.Pagamento:
|
|
234
|
-
return 'Pagamento';
|
|
235
|
-
case this.Compra:
|
|
236
|
-
return 'Compra';
|
|
237
|
-
case this.Venda:
|
|
238
|
-
return 'Venda';
|
|
239
|
-
case this.Fechamento:
|
|
240
|
-
return 'Fechamento';
|
|
241
|
-
default:
|
|
242
|
-
return 'enum not found';
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
};
|
|
246
|
-
exports.SituacaoCaixa = {
|
|
247
|
-
Aberto: '0',
|
|
248
|
-
Fechado: '1',
|
|
249
|
-
FechadoComDiferenca: '2',
|
|
250
|
-
description(val) {
|
|
251
|
-
switch (val) {
|
|
252
|
-
case this.Aberto:
|
|
253
|
-
return 'Aberto';
|
|
254
|
-
case this.Fechado:
|
|
255
|
-
return 'Fechado';
|
|
256
|
-
case this.FechadoComDiferenca:
|
|
257
|
-
return 'Fechado com Diferença';
|
|
258
|
-
default:
|
|
259
|
-
return 'enum not found';
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
};
|
|
263
|
-
exports.TipoValorConfiguracaoBoleto = {
|
|
264
|
-
Percentual: '0',
|
|
265
|
-
Valor: '1',
|
|
266
|
-
description(val) {
|
|
267
|
-
switch (val) {
|
|
268
|
-
case this.Percentual:
|
|
269
|
-
return 'Percentual';
|
|
270
|
-
case this.Valor:
|
|
271
|
-
return 'Valor';
|
|
272
|
-
default:
|
|
273
|
-
return 'enum not found';
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
};
|
|
277
|
-
exports.SituacaoBoleto = {
|
|
278
|
-
Pendente: '0',
|
|
279
|
-
Pago: '1',
|
|
280
|
-
Cancelado: '2',
|
|
281
|
-
Vencido: '3',
|
|
282
|
-
description(val) {
|
|
283
|
-
switch (val) {
|
|
284
|
-
case this.Pendente:
|
|
285
|
-
return 'Pendente';
|
|
286
|
-
case this.Pago:
|
|
287
|
-
return 'Pago';
|
|
288
|
-
case this.Cancelado:
|
|
289
|
-
return 'Cancelado';
|
|
290
|
-
case this.Vencido:
|
|
291
|
-
return 'Vencido';
|
|
292
|
-
default:
|
|
293
|
-
return 'enum not found';
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
};
|
|
297
|
-
exports.SituacaoConciliacao = {
|
|
298
|
-
NaoConciliado: '0',
|
|
299
|
-
Conciliado: '1',
|
|
300
|
-
description(val) {
|
|
301
|
-
switch (val) {
|
|
302
|
-
case this.NaoConciliado:
|
|
303
|
-
return 'Não Conciliado';
|
|
304
|
-
case this.Conciliado:
|
|
305
|
-
return 'Conciliado';
|
|
306
|
-
default:
|
|
307
|
-
return 'enum not found';
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
};
|
|
311
|
-
exports.TipoCalculoTaxaCartaoCredito = {
|
|
312
|
-
PercentualCadaParcela: '0',
|
|
313
|
-
PercentualSobreParcelasAnteriores: '1',
|
|
314
|
-
description(val) {
|
|
315
|
-
switch (val) {
|
|
316
|
-
case this.PercentualCadaParcela:
|
|
317
|
-
return 'Percentual para cada parcela';
|
|
318
|
-
case this.PercentualSobreParcelasAnteriores:
|
|
319
|
-
return 'Percentual sobre todas parcelas anteriores';
|
|
320
|
-
default:
|
|
321
|
-
return 'enum not found';
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
};
|