mdz-enum 1.2.74 → 1.2.76
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/dist/checkout/index.d.ts +28 -0
- package/dist/checkout/index.js +83 -0
- package/dist/commercial/index.d.ts +218 -0
- package/dist/commercial/index.js +523 -0
- package/dist/common/index.d.ts +42 -0
- package/dist/common/index.js +123 -0
- package/dist/config/index.d.ts +125 -0
- package/dist/config/index.js +358 -0
- package/dist/finance/index.d.ts +145 -0
- package/dist/finance/index.js +371 -0
- package/dist/fiscal/index.d.ts +449 -0
- package/dist/fiscal/index.js +1122 -0
- package/dist/functions.d.ts +11 -0
- package/dist/functions.js +74 -0
- package/dist/general/index.d.ts +237 -0
- package/dist/general/index.js +432 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +182 -0
- package/dist/integration/index.d.ts +19 -0
- package/dist/integration/index.js +57 -0
- package/dist/logistics/index.d.ts +108 -0
- package/dist/logistics/index.js +314 -0
- package/dist/people/index.d.ts +27 -0
- package/dist/people/index.js +79 -0
- package/dist/platform/index.d.ts +141 -0
- package/dist/platform/index.js +407 -0
- package/dist/reports/index.d.ts +29 -0
- package/dist/reports/index.js +87 -0
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoPagamentoSafeTwoPay = exports.TipoPagamentoTuo = exports.TipoIntegracaoPagamento = void 0;
|
|
4
|
+
exports.TipoIntegracaoPagamento = {
|
|
5
|
+
Tuo: '0',
|
|
6
|
+
ModerBank: '1',
|
|
7
|
+
SafeTwoPay: '2',
|
|
8
|
+
Interno: '3',
|
|
9
|
+
description(val) {
|
|
10
|
+
switch (val) {
|
|
11
|
+
case this.Tuo:
|
|
12
|
+
return 'Tuo Bank';
|
|
13
|
+
case this.ModerBank:
|
|
14
|
+
return 'ModerBank';
|
|
15
|
+
case this.SafeTwoPay:
|
|
16
|
+
return 'Safe2Pay';
|
|
17
|
+
case this.Interno:
|
|
18
|
+
return 'Interno';
|
|
19
|
+
default:
|
|
20
|
+
return 'enum not found';
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
exports.TipoPagamentoTuo = {
|
|
25
|
+
Boleto: 1,
|
|
26
|
+
Debito: 2,
|
|
27
|
+
Cartao: 3,
|
|
28
|
+
description(val) {
|
|
29
|
+
switch (val) {
|
|
30
|
+
case this.Boleto:
|
|
31
|
+
return 'Boleto';
|
|
32
|
+
case this.Cartao:
|
|
33
|
+
return 'Cartão de Crédito';
|
|
34
|
+
case this.Debito:
|
|
35
|
+
return 'Débito';
|
|
36
|
+
default:
|
|
37
|
+
return 'enum not found';
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
exports.TipoPagamentoSafeTwoPay = {
|
|
42
|
+
Boleto: 1,
|
|
43
|
+
CartaoCredito: 2,
|
|
44
|
+
PIX: 6,
|
|
45
|
+
description(val) {
|
|
46
|
+
switch (val) {
|
|
47
|
+
case this.Boleto:
|
|
48
|
+
return 'Boleto';
|
|
49
|
+
case this.CartaoCredito:
|
|
50
|
+
return 'Cartão de Crédito';
|
|
51
|
+
case this.PIX:
|
|
52
|
+
return 'PIX';
|
|
53
|
+
default:
|
|
54
|
+
return 'enum not found';
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export declare const TipoProduto: {
|
|
2
|
+
Simples: string;
|
|
3
|
+
ComGrade: string;
|
|
4
|
+
description(val: string): "enum not found" | "Simples" | "Com Grade";
|
|
5
|
+
};
|
|
6
|
+
export declare const TipoValoracao: {
|
|
7
|
+
PrecoAquisicao: string;
|
|
8
|
+
PrecoCusto: string;
|
|
9
|
+
PrecoVenda: string;
|
|
10
|
+
PrecoAtacado: string;
|
|
11
|
+
description(val: string): "enum not found" | "Preço de Aquisição" | "Preço de Custo" | "Preço de Venda" | "Preço de Atacado";
|
|
12
|
+
};
|
|
13
|
+
export declare const SituacaoMovimentacaoEstoque: {
|
|
14
|
+
EmEdicao: string;
|
|
15
|
+
Processado: string;
|
|
16
|
+
Estornado: string;
|
|
17
|
+
description(val: string): "enum not found" | "Em Edição" | "Processado" | "Estornado";
|
|
18
|
+
};
|
|
19
|
+
export declare const OrigemMovimentacaoEstoque: {
|
|
20
|
+
Manual: string;
|
|
21
|
+
NotaFiscal: string;
|
|
22
|
+
Pedido: string;
|
|
23
|
+
Inventario: string;
|
|
24
|
+
description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "Manual" | "Inventário";
|
|
25
|
+
};
|
|
26
|
+
export declare const TipoCategoria: {
|
|
27
|
+
Beleza: string;
|
|
28
|
+
Bolsa: string;
|
|
29
|
+
Calçado: string;
|
|
30
|
+
Celular: string;
|
|
31
|
+
Decoracao: string;
|
|
32
|
+
Eletrodomestico: string;
|
|
33
|
+
Eletronico: string;
|
|
34
|
+
Esporte: string;
|
|
35
|
+
Ferramenta: string;
|
|
36
|
+
Game: string;
|
|
37
|
+
Movel: string;
|
|
38
|
+
Vestuario: string;
|
|
39
|
+
Saude: string;
|
|
40
|
+
Automotivo: string;
|
|
41
|
+
MateriaisConstrucao: string;
|
|
42
|
+
description(val: string): "Beleza" | "Bolsas" | "Calçados" | "Celular" | "Decoração" | "Eletrodomésticos" | "Eletrônicos" | "Esportes" | "Ferramentas" | "Games" | "Móveis" | "Vestuário" | "Saúde" | "Automotivo" | "Materiais de Construção" | undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare const TipoImagemGaleria: {
|
|
45
|
+
Geral: string;
|
|
46
|
+
PorGrade: string;
|
|
47
|
+
description(val: string): "enum not found" | "Geral" | "Por Grade";
|
|
48
|
+
};
|
|
49
|
+
export declare const TipoAtualizacaoEstoque: {
|
|
50
|
+
NotaFiscal: string;
|
|
51
|
+
MovimentacaoEstoque: string;
|
|
52
|
+
description(val: string): "enum not found" | "Nota Fiscal" | "Movimentaçaõ de Estoque";
|
|
53
|
+
};
|
|
54
|
+
export declare const TipoLeiRotulagem: {
|
|
55
|
+
Lei_360: string;
|
|
56
|
+
Lei_429: string;
|
|
57
|
+
description(val: string): "enum not found" | "RDC 359/360" | "RDC 429";
|
|
58
|
+
};
|
|
59
|
+
export declare const TipoQuantidadeInfoNutricional: {
|
|
60
|
+
Grama: string;
|
|
61
|
+
Mililitro: string;
|
|
62
|
+
description(val: string): "enum not found" | "100 G (100 gramas)" | "100 ML (100 mililitros)";
|
|
63
|
+
};
|
|
64
|
+
export declare const TipoItem: {
|
|
65
|
+
MercadoriaRevenda: string;
|
|
66
|
+
MateriaPrima: string;
|
|
67
|
+
Embalagem: string;
|
|
68
|
+
ProdutoProcesso: string;
|
|
69
|
+
ProdutoAcabado: string;
|
|
70
|
+
Subproduto: string;
|
|
71
|
+
ProdutoIntermediario: string;
|
|
72
|
+
MaterialUsoConsumo: string;
|
|
73
|
+
AtivoImobilizado: string;
|
|
74
|
+
Servicos: string;
|
|
75
|
+
OutrosInsumos: string;
|
|
76
|
+
Outras: string;
|
|
77
|
+
description(val: string): "enum not found" | "Mercadoria para revenda" | "Matéria-prima" | "Embalagem" | "Produto em processo" | "Produto acabado" | "Subproduto" | "Produto intermediário" | "Material de uso e consumo" | "Ativo imobilizado" | "Serviços" | "Outros insumos" | "Outras";
|
|
78
|
+
};
|
|
79
|
+
export declare const SituacaoInventario: {
|
|
80
|
+
EmAndamento: string;
|
|
81
|
+
Concluido: string;
|
|
82
|
+
Cancelado: string;
|
|
83
|
+
description(val: string): "enum not found" | "Cancelado" | "Em Andamento" | "Concluído";
|
|
84
|
+
};
|
|
85
|
+
export declare const SituacaoItemInventario: {
|
|
86
|
+
Excluido: string;
|
|
87
|
+
Atualizado: string;
|
|
88
|
+
AtualizacaoPendente: string;
|
|
89
|
+
InclusaoPendente: string;
|
|
90
|
+
description(val: string): "enum not found" | "Atualizado" | "Excluído" | "Atualização Pendente" | "Inclusão Pendente";
|
|
91
|
+
};
|
|
92
|
+
export declare const TipoAjusteInventario: {
|
|
93
|
+
Ajuste: string;
|
|
94
|
+
ApenasEntrada: string;
|
|
95
|
+
ApenasSaida: string;
|
|
96
|
+
description(val: string): "enum not found" | "Ajuste" | "Apenas Entrada" | "Apenas Saída";
|
|
97
|
+
};
|
|
98
|
+
export declare const TipoMovimentacaoItemInventario: {
|
|
99
|
+
Entrada: string;
|
|
100
|
+
Saida: string;
|
|
101
|
+
SemMov: string;
|
|
102
|
+
description(val: string): "enum not found" | "Entrada" | "Saída" | "Não Mov.";
|
|
103
|
+
};
|
|
104
|
+
export declare const TipoDesdobramentoProduto: {
|
|
105
|
+
EmProduto: string;
|
|
106
|
+
EmGrade: string;
|
|
107
|
+
description(val: string): "enum not found" | "Produtos" | "Grades";
|
|
108
|
+
};
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoDesdobramentoProduto = exports.TipoMovimentacaoItemInventario = exports.TipoAjusteInventario = exports.SituacaoItemInventario = exports.SituacaoInventario = exports.TipoItem = exports.TipoQuantidadeInfoNutricional = exports.TipoLeiRotulagem = exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = void 0;
|
|
4
|
+
exports.TipoProduto = {
|
|
5
|
+
Simples: '0',
|
|
6
|
+
ComGrade: '1',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Simples:
|
|
10
|
+
return 'Simples';
|
|
11
|
+
case this.ComGrade:
|
|
12
|
+
return 'Com Grade';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoValoracao = {
|
|
19
|
+
PrecoAquisicao: '0',
|
|
20
|
+
PrecoCusto: '1',
|
|
21
|
+
PrecoVenda: '2',
|
|
22
|
+
PrecoAtacado: '3',
|
|
23
|
+
description(val) {
|
|
24
|
+
switch (val) {
|
|
25
|
+
case this.PrecoAquisicao:
|
|
26
|
+
return 'Preço de Aquisição';
|
|
27
|
+
case this.PrecoCusto:
|
|
28
|
+
return 'Preço de Custo';
|
|
29
|
+
case this.PrecoVenda:
|
|
30
|
+
return 'Preço de Venda';
|
|
31
|
+
case this.PrecoAtacado:
|
|
32
|
+
return 'Preço de Atacado';
|
|
33
|
+
default:
|
|
34
|
+
return 'enum not found';
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
exports.SituacaoMovimentacaoEstoque = {
|
|
39
|
+
EmEdicao: '0',
|
|
40
|
+
Processado: '1',
|
|
41
|
+
Estornado: '2',
|
|
42
|
+
description(val) {
|
|
43
|
+
switch (val) {
|
|
44
|
+
case this.EmEdicao:
|
|
45
|
+
return 'Em Edição';
|
|
46
|
+
case this.Processado:
|
|
47
|
+
return 'Processado';
|
|
48
|
+
case this.Estornado:
|
|
49
|
+
return 'Estornado';
|
|
50
|
+
default:
|
|
51
|
+
return 'enum not found';
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
exports.OrigemMovimentacaoEstoque = {
|
|
56
|
+
Manual: '1',
|
|
57
|
+
NotaFiscal: '2',
|
|
58
|
+
Pedido: '3',
|
|
59
|
+
Inventario: '4',
|
|
60
|
+
description(val) {
|
|
61
|
+
switch (val) {
|
|
62
|
+
case this.Manual:
|
|
63
|
+
return 'Manual';
|
|
64
|
+
case this.NotaFiscal:
|
|
65
|
+
return 'Nota Fiscal';
|
|
66
|
+
case this.Pedido:
|
|
67
|
+
return 'Pedido';
|
|
68
|
+
case this.Inventario:
|
|
69
|
+
return 'Inventário';
|
|
70
|
+
default:
|
|
71
|
+
return 'enum not found';
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
exports.TipoCategoria = {
|
|
76
|
+
Beleza: '0',
|
|
77
|
+
Bolsa: '1',
|
|
78
|
+
Calçado: '2',
|
|
79
|
+
Celular: '3',
|
|
80
|
+
Decoracao: '4',
|
|
81
|
+
Eletrodomestico: '5',
|
|
82
|
+
Eletronico: '6',
|
|
83
|
+
Esporte: '7',
|
|
84
|
+
Ferramenta: '8',
|
|
85
|
+
Game: '9',
|
|
86
|
+
Movel: '10',
|
|
87
|
+
Vestuario: '11',
|
|
88
|
+
Saude: '12',
|
|
89
|
+
Automotivo: '13',
|
|
90
|
+
MateriaisConstrucao: '14',
|
|
91
|
+
description(val) {
|
|
92
|
+
switch (val) {
|
|
93
|
+
case this.Beleza:
|
|
94
|
+
return 'Beleza';
|
|
95
|
+
case this.Bolsa:
|
|
96
|
+
return 'Bolsas';
|
|
97
|
+
case this.Calçado:
|
|
98
|
+
return 'Calçados';
|
|
99
|
+
case this.Celular:
|
|
100
|
+
return 'Celular';
|
|
101
|
+
case this.Decoracao:
|
|
102
|
+
return 'Decoração';
|
|
103
|
+
case this.Eletrodomestico:
|
|
104
|
+
return 'Eletrodomésticos';
|
|
105
|
+
case this.Eletronico:
|
|
106
|
+
return 'Eletrônicos';
|
|
107
|
+
case this.Esporte:
|
|
108
|
+
return 'Esportes';
|
|
109
|
+
case this.Ferramenta:
|
|
110
|
+
return 'Ferramentas';
|
|
111
|
+
case this.Game:
|
|
112
|
+
return 'Games';
|
|
113
|
+
case this.Movel:
|
|
114
|
+
return 'Móveis';
|
|
115
|
+
case this.Vestuario:
|
|
116
|
+
return 'Vestuário';
|
|
117
|
+
case this.Saude:
|
|
118
|
+
return 'Saúde';
|
|
119
|
+
case this.Automotivo:
|
|
120
|
+
return 'Automotivo';
|
|
121
|
+
case this.MateriaisConstrucao:
|
|
122
|
+
return 'Materiais de Construção';
|
|
123
|
+
default:
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
exports.TipoImagemGaleria = {
|
|
129
|
+
Geral: '0',
|
|
130
|
+
PorGrade: '1',
|
|
131
|
+
description(val) {
|
|
132
|
+
switch (val) {
|
|
133
|
+
case this.Geral:
|
|
134
|
+
return 'Geral';
|
|
135
|
+
case this.PorGrade:
|
|
136
|
+
return 'Por Grade';
|
|
137
|
+
default:
|
|
138
|
+
return 'enum not found';
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
exports.TipoAtualizacaoEstoque = {
|
|
143
|
+
NotaFiscal: '0',
|
|
144
|
+
MovimentacaoEstoque: '1',
|
|
145
|
+
description(val) {
|
|
146
|
+
switch (val) {
|
|
147
|
+
case this.NotaFiscal:
|
|
148
|
+
return 'Nota Fiscal';
|
|
149
|
+
case this.MovimentacaoEstoque:
|
|
150
|
+
return 'Movimentaçaõ de Estoque';
|
|
151
|
+
default:
|
|
152
|
+
return 'enum not found';
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
exports.TipoLeiRotulagem = {
|
|
157
|
+
Lei_360: '0',
|
|
158
|
+
Lei_429: '1',
|
|
159
|
+
description(val) {
|
|
160
|
+
switch (val) {
|
|
161
|
+
case this.Lei_360:
|
|
162
|
+
return 'RDC 359/360';
|
|
163
|
+
case this.Lei_429:
|
|
164
|
+
return 'RDC 429';
|
|
165
|
+
default:
|
|
166
|
+
return 'enum not found';
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
};
|
|
170
|
+
exports.TipoQuantidadeInfoNutricional = {
|
|
171
|
+
Grama: '0',
|
|
172
|
+
Mililitro: '1',
|
|
173
|
+
description(val) {
|
|
174
|
+
switch (val) {
|
|
175
|
+
case this.Grama:
|
|
176
|
+
return '100 G (100 gramas)';
|
|
177
|
+
case this.Mililitro:
|
|
178
|
+
return '100 ML (100 mililitros)';
|
|
179
|
+
default:
|
|
180
|
+
return 'enum not found';
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
exports.TipoItem = {
|
|
185
|
+
MercadoriaRevenda: '00',
|
|
186
|
+
MateriaPrima: '01',
|
|
187
|
+
Embalagem: '02',
|
|
188
|
+
ProdutoProcesso: '03',
|
|
189
|
+
ProdutoAcabado: '04',
|
|
190
|
+
Subproduto: '05',
|
|
191
|
+
ProdutoIntermediario: '06',
|
|
192
|
+
MaterialUsoConsumo: '07',
|
|
193
|
+
AtivoImobilizado: '08',
|
|
194
|
+
Servicos: '09',
|
|
195
|
+
OutrosInsumos: '10',
|
|
196
|
+
Outras: '99',
|
|
197
|
+
description(val) {
|
|
198
|
+
switch (val) {
|
|
199
|
+
case this.MercadoriaRevenda:
|
|
200
|
+
return 'Mercadoria para revenda';
|
|
201
|
+
case this.MateriaPrima:
|
|
202
|
+
return 'Matéria-prima';
|
|
203
|
+
case this.MateriaPrima:
|
|
204
|
+
return 'Matéria-prima';
|
|
205
|
+
case this.Embalagem:
|
|
206
|
+
return 'Embalagem';
|
|
207
|
+
case this.ProdutoProcesso:
|
|
208
|
+
return 'Produto em processo';
|
|
209
|
+
case this.ProdutoAcabado:
|
|
210
|
+
return 'Produto acabado';
|
|
211
|
+
case this.Subproduto:
|
|
212
|
+
return 'Subproduto';
|
|
213
|
+
case this.ProdutoIntermediario:
|
|
214
|
+
return 'Produto intermediário';
|
|
215
|
+
case this.MaterialUsoConsumo:
|
|
216
|
+
return 'Material de uso e consumo';
|
|
217
|
+
case this.AtivoImobilizado:
|
|
218
|
+
return 'Ativo imobilizado';
|
|
219
|
+
case this.Servicos:
|
|
220
|
+
return 'Serviços';
|
|
221
|
+
case this.OutrosInsumos:
|
|
222
|
+
return 'Outros insumos';
|
|
223
|
+
case this.Outras:
|
|
224
|
+
return 'Outras';
|
|
225
|
+
default:
|
|
226
|
+
return 'enum not found';
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
exports.SituacaoInventario = {
|
|
231
|
+
EmAndamento: '0',
|
|
232
|
+
Concluido: '1',
|
|
233
|
+
Cancelado: '2',
|
|
234
|
+
description(val) {
|
|
235
|
+
switch (val) {
|
|
236
|
+
case this.EmAndamento:
|
|
237
|
+
return 'Em Andamento';
|
|
238
|
+
case this.Concluido:
|
|
239
|
+
return 'Concluído';
|
|
240
|
+
case this.Cancelado:
|
|
241
|
+
return 'Cancelado';
|
|
242
|
+
default:
|
|
243
|
+
return 'enum not found';
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
};
|
|
247
|
+
exports.SituacaoItemInventario = {
|
|
248
|
+
Excluido: '0',
|
|
249
|
+
Atualizado: '1',
|
|
250
|
+
AtualizacaoPendente: '2',
|
|
251
|
+
InclusaoPendente: '3',
|
|
252
|
+
description(val) {
|
|
253
|
+
switch (val) {
|
|
254
|
+
case this.Atualizado:
|
|
255
|
+
return 'Atualizado';
|
|
256
|
+
case this.Excluido:
|
|
257
|
+
return 'Excluído';
|
|
258
|
+
case this.AtualizacaoPendente:
|
|
259
|
+
return 'Atualização Pendente';
|
|
260
|
+
case this.InclusaoPendente:
|
|
261
|
+
return 'Inclusão Pendente';
|
|
262
|
+
default:
|
|
263
|
+
return 'enum not found';
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
exports.TipoAjusteInventario = {
|
|
268
|
+
Ajuste: '0',
|
|
269
|
+
ApenasEntrada: '1',
|
|
270
|
+
ApenasSaida: '2',
|
|
271
|
+
description(val) {
|
|
272
|
+
switch (val) {
|
|
273
|
+
case this.Ajuste:
|
|
274
|
+
return 'Ajuste';
|
|
275
|
+
case this.ApenasEntrada:
|
|
276
|
+
return 'Apenas Entrada';
|
|
277
|
+
case this.ApenasSaida:
|
|
278
|
+
return 'Apenas Saída';
|
|
279
|
+
default:
|
|
280
|
+
return 'enum not found';
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
};
|
|
284
|
+
exports.TipoMovimentacaoItemInventario = {
|
|
285
|
+
Entrada: '0',
|
|
286
|
+
Saida: '1',
|
|
287
|
+
SemMov: '3',
|
|
288
|
+
description(val) {
|
|
289
|
+
switch (val) {
|
|
290
|
+
case this.Entrada:
|
|
291
|
+
return 'Entrada';
|
|
292
|
+
case this.Saida:
|
|
293
|
+
return 'Saída';
|
|
294
|
+
case this.SemMov:
|
|
295
|
+
return 'Não Mov.';
|
|
296
|
+
default:
|
|
297
|
+
return 'enum not found';
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
};
|
|
301
|
+
exports.TipoDesdobramentoProduto = {
|
|
302
|
+
EmProduto: '0',
|
|
303
|
+
EmGrade: '1',
|
|
304
|
+
description(val) {
|
|
305
|
+
switch (val) {
|
|
306
|
+
case this.EmProduto:
|
|
307
|
+
return 'Produtos';
|
|
308
|
+
case this.EmGrade:
|
|
309
|
+
return 'Grades';
|
|
310
|
+
default:
|
|
311
|
+
return 'enum not found';
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const TipoEndereco: {
|
|
2
|
+
Residencial: string;
|
|
3
|
+
Comercial: string;
|
|
4
|
+
description(val: string): "enum not found" | "Residencial" | "Comercial";
|
|
5
|
+
};
|
|
6
|
+
export declare const TipoPessoa: {
|
|
7
|
+
Fisico: string;
|
|
8
|
+
Juridico: string;
|
|
9
|
+
description(val: string): "enum not found" | "Físico" | "Jurídico";
|
|
10
|
+
};
|
|
11
|
+
export declare const GeneroPessoa: {
|
|
12
|
+
Masculino: string;
|
|
13
|
+
Feminino: string;
|
|
14
|
+
description(val: string): "enum not found" | "Masculino" | "Feminino";
|
|
15
|
+
};
|
|
16
|
+
export declare const TipoOperacaoPessoaContaCorrente: {
|
|
17
|
+
DevolucaoVenda: string;
|
|
18
|
+
CompraNotaFiscal: string;
|
|
19
|
+
EstornoSaldoUsado: string;
|
|
20
|
+
EstornoSaldoGerado: string;
|
|
21
|
+
description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
|
|
22
|
+
};
|
|
23
|
+
export declare const TipoLancamentoValeCredito: {
|
|
24
|
+
Compra: string;
|
|
25
|
+
Venda: string;
|
|
26
|
+
description(val: string): "enum not found" | "Venda" | "Compra";
|
|
27
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
|
|
4
|
+
exports.TipoEndereco = {
|
|
5
|
+
Residencial: '0',
|
|
6
|
+
Comercial: '1',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Residencial:
|
|
10
|
+
return 'Residencial';
|
|
11
|
+
case this.Comercial:
|
|
12
|
+
return 'Comercial';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoPessoa = {
|
|
19
|
+
Fisico: '0',
|
|
20
|
+
Juridico: '1',
|
|
21
|
+
description(val) {
|
|
22
|
+
switch (val) {
|
|
23
|
+
case this.Fisico:
|
|
24
|
+
return 'Físico';
|
|
25
|
+
case this.Juridico:
|
|
26
|
+
return 'Jurídico';
|
|
27
|
+
default:
|
|
28
|
+
return 'enum not found';
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
exports.GeneroPessoa = {
|
|
33
|
+
Masculino: '0',
|
|
34
|
+
Feminino: '1',
|
|
35
|
+
description(val) {
|
|
36
|
+
switch (val) {
|
|
37
|
+
case this.Masculino:
|
|
38
|
+
return 'Masculino';
|
|
39
|
+
case this.Feminino:
|
|
40
|
+
return 'Feminino';
|
|
41
|
+
default:
|
|
42
|
+
return 'enum not found';
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
exports.TipoOperacaoPessoaContaCorrente = {
|
|
47
|
+
DevolucaoVenda: '0',
|
|
48
|
+
CompraNotaFiscal: '1',
|
|
49
|
+
EstornoSaldoUsado: '2',
|
|
50
|
+
EstornoSaldoGerado: '3',
|
|
51
|
+
description(val) {
|
|
52
|
+
switch (val) {
|
|
53
|
+
case this.DevolucaoVenda:
|
|
54
|
+
return 'Devolução de Venda';
|
|
55
|
+
case this.CompraNotaFiscal:
|
|
56
|
+
return 'Compra';
|
|
57
|
+
case this.EstornoSaldoUsado:
|
|
58
|
+
return 'Estorno de saldo usado';
|
|
59
|
+
case this.EstornoSaldoGerado:
|
|
60
|
+
return 'Estorno de Saldo Gerado';
|
|
61
|
+
default:
|
|
62
|
+
return 'enum not found';
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
exports.TipoLancamentoValeCredito = {
|
|
67
|
+
Compra: '0',
|
|
68
|
+
Venda: '1',
|
|
69
|
+
description(val) {
|
|
70
|
+
switch (val) {
|
|
71
|
+
case this.Compra:
|
|
72
|
+
return 'Compra';
|
|
73
|
+
case this.Venda:
|
|
74
|
+
return 'Venda';
|
|
75
|
+
default:
|
|
76
|
+
return 'enum not found';
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
};
|