mdz-enum 1.2.8 → 1.2.9
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/dist/checkout/index.d.ts +27 -27
- package/dist/checkout/index.js +80 -80
- package/dist/commercial/index.d.ts +162 -156
- package/dist/commercial/index.js +466 -449
- package/dist/common/index.d.ts +40 -40
- package/dist/common/index.js +117 -117
- package/dist/config/index.d.ts +117 -117
- package/dist/config/index.js +335 -335
- package/dist/finance/index.d.ts +113 -113
- package/dist/finance/index.js +327 -327
- package/dist/fiscal/index.d.ts +307 -307
- package/dist/fiscal/index.js +907 -907
- package/dist/functions.d.ts +4 -4
- package/dist/functions.js +37 -37
- package/dist/general/index.d.ts +73 -73
- package/dist/general/index.js +268 -268
- package/dist/index.d.ts +13 -13
- package/dist/index.js +150 -150
- package/dist/integration/index.d.ts +18 -18
- package/dist/integration/index.js +54 -54
- package/dist/logistics/index.d.ts +75 -75
- package/dist/logistics/index.js +220 -220
- package/dist/people/index.d.ts +22 -22
- package/dist/people/index.js +65 -65
- package/dist/platform/index.d.ts +45 -45
- package/dist/platform/index.js +131 -131
- package/dist/reports/index.d.ts +16 -16
- package/dist/reports/index.js +49 -49
- package/package.json +32 -33
- package/dist/plataform/index.d.ts +0 -12
- package/dist/plataform/index.js +0 -37
|
@@ -1,75 +1,75 @@
|
|
|
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" | "Processado" | "Estornado" | "Em Edição";
|
|
18
|
-
};
|
|
19
|
-
export declare const OrigemMovimentacaoEstoque: {
|
|
20
|
-
Manual: string;
|
|
21
|
-
NotaFiscal: string;
|
|
22
|
-
Pedido: string;
|
|
23
|
-
description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "Manual";
|
|
24
|
-
};
|
|
25
|
-
export declare const TipoCategoria: {
|
|
26
|
-
Beleza: string;
|
|
27
|
-
Bolsa: string;
|
|
28
|
-
Calçado: string;
|
|
29
|
-
Celular: string;
|
|
30
|
-
Decoracao: string;
|
|
31
|
-
Eletrodomestico: string;
|
|
32
|
-
Eletronico: string;
|
|
33
|
-
Esporte: string;
|
|
34
|
-
Ferramenta: string;
|
|
35
|
-
Game: string;
|
|
36
|
-
Movel: string;
|
|
37
|
-
Vestuario: string;
|
|
38
|
-
Saude: string;
|
|
39
|
-
description(val: string): "Beleza" | "Bolsas" | "Calçados" | "Celular" | "Decoração" | "Eletrodomésticos" | "Eletrônicos" | "Esportes" | "Ferramentas" | "Games" | "Móveis" | "Vestuário" | "Saúde" | undefined;
|
|
40
|
-
};
|
|
41
|
-
export declare const TipoImagemGaleria: {
|
|
42
|
-
Geral: string;
|
|
43
|
-
PorGrade: string;
|
|
44
|
-
description(val: string): "enum not found" | "Geral" | "Por Grade";
|
|
45
|
-
};
|
|
46
|
-
export declare const TipoAtualizacaoEstoque: {
|
|
47
|
-
NotaFiscal: string;
|
|
48
|
-
MovimentacaoEstoque: string;
|
|
49
|
-
description(val: string): "enum not found" | "Nota Fiscal" | "Movimentaçaõ de Estoque";
|
|
50
|
-
};
|
|
51
|
-
export declare const TipoLeiRotulagem: {
|
|
52
|
-
Lei_360: string;
|
|
53
|
-
Lei_429: string;
|
|
54
|
-
description(val: string): "enum not found" | "RDC 359/360" | "RDC 429";
|
|
55
|
-
};
|
|
56
|
-
export declare const TipoQuantidadeInfoNutricional: {
|
|
57
|
-
Grama: string;
|
|
58
|
-
Mililitro: string;
|
|
59
|
-
description(val: string): "enum not found" | "100 G (100 gramas)" | "100 ML (100 mililitros)";
|
|
60
|
-
};
|
|
61
|
-
export declare const TipoItem: {
|
|
62
|
-
MercadoriaRevenda: string;
|
|
63
|
-
MateriaPrima: string;
|
|
64
|
-
Embalagem: string;
|
|
65
|
-
ProdutoProcesso: string;
|
|
66
|
-
ProdutoAcabado: string;
|
|
67
|
-
Subproduto: string;
|
|
68
|
-
ProdutoIntermediario: string;
|
|
69
|
-
MaterialUsoConsumo: string;
|
|
70
|
-
AtivoImobilizado: string;
|
|
71
|
-
Servicos: string;
|
|
72
|
-
OutrosInsumos: string;
|
|
73
|
-
Outras: string;
|
|
74
|
-
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";
|
|
75
|
-
};
|
|
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" | "Processado" | "Estornado" | "Em Edição";
|
|
18
|
+
};
|
|
19
|
+
export declare const OrigemMovimentacaoEstoque: {
|
|
20
|
+
Manual: string;
|
|
21
|
+
NotaFiscal: string;
|
|
22
|
+
Pedido: string;
|
|
23
|
+
description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "Manual";
|
|
24
|
+
};
|
|
25
|
+
export declare const TipoCategoria: {
|
|
26
|
+
Beleza: string;
|
|
27
|
+
Bolsa: string;
|
|
28
|
+
Calçado: string;
|
|
29
|
+
Celular: string;
|
|
30
|
+
Decoracao: string;
|
|
31
|
+
Eletrodomestico: string;
|
|
32
|
+
Eletronico: string;
|
|
33
|
+
Esporte: string;
|
|
34
|
+
Ferramenta: string;
|
|
35
|
+
Game: string;
|
|
36
|
+
Movel: string;
|
|
37
|
+
Vestuario: string;
|
|
38
|
+
Saude: string;
|
|
39
|
+
description(val: string): "Beleza" | "Bolsas" | "Calçados" | "Celular" | "Decoração" | "Eletrodomésticos" | "Eletrônicos" | "Esportes" | "Ferramentas" | "Games" | "Móveis" | "Vestuário" | "Saúde" | undefined;
|
|
40
|
+
};
|
|
41
|
+
export declare const TipoImagemGaleria: {
|
|
42
|
+
Geral: string;
|
|
43
|
+
PorGrade: string;
|
|
44
|
+
description(val: string): "enum not found" | "Geral" | "Por Grade";
|
|
45
|
+
};
|
|
46
|
+
export declare const TipoAtualizacaoEstoque: {
|
|
47
|
+
NotaFiscal: string;
|
|
48
|
+
MovimentacaoEstoque: string;
|
|
49
|
+
description(val: string): "enum not found" | "Nota Fiscal" | "Movimentaçaõ de Estoque";
|
|
50
|
+
};
|
|
51
|
+
export declare const TipoLeiRotulagem: {
|
|
52
|
+
Lei_360: string;
|
|
53
|
+
Lei_429: string;
|
|
54
|
+
description(val: string): "enum not found" | "RDC 359/360" | "RDC 429";
|
|
55
|
+
};
|
|
56
|
+
export declare const TipoQuantidadeInfoNutricional: {
|
|
57
|
+
Grama: string;
|
|
58
|
+
Mililitro: string;
|
|
59
|
+
description(val: string): "enum not found" | "100 G (100 gramas)" | "100 ML (100 mililitros)";
|
|
60
|
+
};
|
|
61
|
+
export declare const TipoItem: {
|
|
62
|
+
MercadoriaRevenda: string;
|
|
63
|
+
MateriaPrima: string;
|
|
64
|
+
Embalagem: string;
|
|
65
|
+
ProdutoProcesso: string;
|
|
66
|
+
ProdutoAcabado: string;
|
|
67
|
+
Subproduto: string;
|
|
68
|
+
ProdutoIntermediario: string;
|
|
69
|
+
MaterialUsoConsumo: string;
|
|
70
|
+
AtivoImobilizado: string;
|
|
71
|
+
Servicos: string;
|
|
72
|
+
OutrosInsumos: string;
|
|
73
|
+
Outras: string;
|
|
74
|
+
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";
|
|
75
|
+
};
|
package/dist/logistics/index.js
CHANGED
|
@@ -1,220 +1,220 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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
|
-
description(val) {
|
|
60
|
-
switch (val) {
|
|
61
|
-
case this.Manual:
|
|
62
|
-
return 'Manual';
|
|
63
|
-
case this.NotaFiscal:
|
|
64
|
-
return 'Nota Fiscal';
|
|
65
|
-
case this.Pedido:
|
|
66
|
-
return 'Pedido';
|
|
67
|
-
default:
|
|
68
|
-
return 'enum not found';
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
exports.TipoCategoria = {
|
|
73
|
-
Beleza: '0',
|
|
74
|
-
Bolsa: '1',
|
|
75
|
-
Calçado: '2',
|
|
76
|
-
Celular: '3',
|
|
77
|
-
Decoracao: '4',
|
|
78
|
-
Eletrodomestico: '5',
|
|
79
|
-
Eletronico: '6',
|
|
80
|
-
Esporte: '7',
|
|
81
|
-
Ferramenta: '8',
|
|
82
|
-
Game: '9',
|
|
83
|
-
Movel: '10',
|
|
84
|
-
Vestuario: '11',
|
|
85
|
-
Saude: '12',
|
|
86
|
-
description(val) {
|
|
87
|
-
switch (val) {
|
|
88
|
-
case this.Beleza:
|
|
89
|
-
return 'Beleza';
|
|
90
|
-
case this.Bolsa:
|
|
91
|
-
return 'Bolsas';
|
|
92
|
-
case this.Calçado:
|
|
93
|
-
return 'Calçados';
|
|
94
|
-
case this.Celular:
|
|
95
|
-
return 'Celular';
|
|
96
|
-
case this.Decoracao:
|
|
97
|
-
return 'Decoração';
|
|
98
|
-
case this.Eletrodomestico:
|
|
99
|
-
return 'Eletrodomésticos';
|
|
100
|
-
case this.Eletronico:
|
|
101
|
-
return 'Eletrônicos';
|
|
102
|
-
case this.Esporte:
|
|
103
|
-
return 'Esportes';
|
|
104
|
-
case this.Ferramenta:
|
|
105
|
-
return 'Ferramentas';
|
|
106
|
-
case this.Game:
|
|
107
|
-
return 'Games';
|
|
108
|
-
case this.Movel:
|
|
109
|
-
return 'Móveis';
|
|
110
|
-
case this.Vestuario:
|
|
111
|
-
return 'Vestuário';
|
|
112
|
-
case this.Saude:
|
|
113
|
-
return 'Saúde';
|
|
114
|
-
default:
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
exports.TipoImagemGaleria = {
|
|
120
|
-
Geral: '0',
|
|
121
|
-
PorGrade: '1',
|
|
122
|
-
description(val) {
|
|
123
|
-
switch (val) {
|
|
124
|
-
case this.Geral:
|
|
125
|
-
return 'Geral';
|
|
126
|
-
case this.PorGrade:
|
|
127
|
-
return 'Por Grade';
|
|
128
|
-
default:
|
|
129
|
-
return 'enum not found';
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
exports.TipoAtualizacaoEstoque = {
|
|
134
|
-
NotaFiscal: '0',
|
|
135
|
-
MovimentacaoEstoque: '1',
|
|
136
|
-
description(val) {
|
|
137
|
-
switch (val) {
|
|
138
|
-
case this.NotaFiscal:
|
|
139
|
-
return 'Nota Fiscal';
|
|
140
|
-
case this.MovimentacaoEstoque:
|
|
141
|
-
return 'Movimentaçaõ de Estoque';
|
|
142
|
-
default:
|
|
143
|
-
return 'enum not found';
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
};
|
|
147
|
-
exports.TipoLeiRotulagem = {
|
|
148
|
-
Lei_360: '0',
|
|
149
|
-
Lei_429: '1',
|
|
150
|
-
description(val) {
|
|
151
|
-
switch (val) {
|
|
152
|
-
case this.Lei_360:
|
|
153
|
-
return 'RDC 359/360';
|
|
154
|
-
case this.Lei_429:
|
|
155
|
-
return 'RDC 429';
|
|
156
|
-
default:
|
|
157
|
-
return 'enum not found';
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
};
|
|
161
|
-
exports.TipoQuantidadeInfoNutricional = {
|
|
162
|
-
Grama: '0',
|
|
163
|
-
Mililitro: '1',
|
|
164
|
-
description(val) {
|
|
165
|
-
switch (val) {
|
|
166
|
-
case this.Grama:
|
|
167
|
-
return '100 G (100 gramas)';
|
|
168
|
-
case this.Mililitro:
|
|
169
|
-
return '100 ML (100 mililitros)';
|
|
170
|
-
default:
|
|
171
|
-
return 'enum not found';
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
};
|
|
175
|
-
exports.TipoItem = {
|
|
176
|
-
MercadoriaRevenda: '00',
|
|
177
|
-
MateriaPrima: '01',
|
|
178
|
-
Embalagem: '02',
|
|
179
|
-
ProdutoProcesso: '03',
|
|
180
|
-
ProdutoAcabado: '04',
|
|
181
|
-
Subproduto: '05',
|
|
182
|
-
ProdutoIntermediario: '06',
|
|
183
|
-
MaterialUsoConsumo: '07',
|
|
184
|
-
AtivoImobilizado: '08',
|
|
185
|
-
Servicos: '09',
|
|
186
|
-
OutrosInsumos: '10',
|
|
187
|
-
Outras: '99',
|
|
188
|
-
description(val) {
|
|
189
|
-
switch (val) {
|
|
190
|
-
case this.MercadoriaRevenda:
|
|
191
|
-
return 'Mercadoria para revenda';
|
|
192
|
-
case this.MateriaPrima:
|
|
193
|
-
return 'Matéria-prima';
|
|
194
|
-
case this.MateriaPrima:
|
|
195
|
-
return 'Matéria-prima';
|
|
196
|
-
case this.Embalagem:
|
|
197
|
-
return 'Embalagem';
|
|
198
|
-
case this.ProdutoProcesso:
|
|
199
|
-
return 'Produto em processo';
|
|
200
|
-
case this.ProdutoAcabado:
|
|
201
|
-
return 'Produto acabado';
|
|
202
|
-
case this.Subproduto:
|
|
203
|
-
return 'Subproduto';
|
|
204
|
-
case this.ProdutoIntermediario:
|
|
205
|
-
return 'Produto intermediário';
|
|
206
|
-
case this.MaterialUsoConsumo:
|
|
207
|
-
return 'Material de uso e consumo';
|
|
208
|
-
case this.AtivoImobilizado:
|
|
209
|
-
return 'Ativo imobilizado';
|
|
210
|
-
case this.Servicos:
|
|
211
|
-
return 'Serviços';
|
|
212
|
-
case this.OutrosInsumos:
|
|
213
|
-
return 'Outros insumos';
|
|
214
|
-
case this.Outras:
|
|
215
|
-
return 'Outras';
|
|
216
|
-
default:
|
|
217
|
-
return 'enum not found';
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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
|
+
description(val) {
|
|
60
|
+
switch (val) {
|
|
61
|
+
case this.Manual:
|
|
62
|
+
return 'Manual';
|
|
63
|
+
case this.NotaFiscal:
|
|
64
|
+
return 'Nota Fiscal';
|
|
65
|
+
case this.Pedido:
|
|
66
|
+
return 'Pedido';
|
|
67
|
+
default:
|
|
68
|
+
return 'enum not found';
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
exports.TipoCategoria = {
|
|
73
|
+
Beleza: '0',
|
|
74
|
+
Bolsa: '1',
|
|
75
|
+
Calçado: '2',
|
|
76
|
+
Celular: '3',
|
|
77
|
+
Decoracao: '4',
|
|
78
|
+
Eletrodomestico: '5',
|
|
79
|
+
Eletronico: '6',
|
|
80
|
+
Esporte: '7',
|
|
81
|
+
Ferramenta: '8',
|
|
82
|
+
Game: '9',
|
|
83
|
+
Movel: '10',
|
|
84
|
+
Vestuario: '11',
|
|
85
|
+
Saude: '12',
|
|
86
|
+
description(val) {
|
|
87
|
+
switch (val) {
|
|
88
|
+
case this.Beleza:
|
|
89
|
+
return 'Beleza';
|
|
90
|
+
case this.Bolsa:
|
|
91
|
+
return 'Bolsas';
|
|
92
|
+
case this.Calçado:
|
|
93
|
+
return 'Calçados';
|
|
94
|
+
case this.Celular:
|
|
95
|
+
return 'Celular';
|
|
96
|
+
case this.Decoracao:
|
|
97
|
+
return 'Decoração';
|
|
98
|
+
case this.Eletrodomestico:
|
|
99
|
+
return 'Eletrodomésticos';
|
|
100
|
+
case this.Eletronico:
|
|
101
|
+
return 'Eletrônicos';
|
|
102
|
+
case this.Esporte:
|
|
103
|
+
return 'Esportes';
|
|
104
|
+
case this.Ferramenta:
|
|
105
|
+
return 'Ferramentas';
|
|
106
|
+
case this.Game:
|
|
107
|
+
return 'Games';
|
|
108
|
+
case this.Movel:
|
|
109
|
+
return 'Móveis';
|
|
110
|
+
case this.Vestuario:
|
|
111
|
+
return 'Vestuário';
|
|
112
|
+
case this.Saude:
|
|
113
|
+
return 'Saúde';
|
|
114
|
+
default:
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
exports.TipoImagemGaleria = {
|
|
120
|
+
Geral: '0',
|
|
121
|
+
PorGrade: '1',
|
|
122
|
+
description(val) {
|
|
123
|
+
switch (val) {
|
|
124
|
+
case this.Geral:
|
|
125
|
+
return 'Geral';
|
|
126
|
+
case this.PorGrade:
|
|
127
|
+
return 'Por Grade';
|
|
128
|
+
default:
|
|
129
|
+
return 'enum not found';
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
exports.TipoAtualizacaoEstoque = {
|
|
134
|
+
NotaFiscal: '0',
|
|
135
|
+
MovimentacaoEstoque: '1',
|
|
136
|
+
description(val) {
|
|
137
|
+
switch (val) {
|
|
138
|
+
case this.NotaFiscal:
|
|
139
|
+
return 'Nota Fiscal';
|
|
140
|
+
case this.MovimentacaoEstoque:
|
|
141
|
+
return 'Movimentaçaõ de Estoque';
|
|
142
|
+
default:
|
|
143
|
+
return 'enum not found';
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
exports.TipoLeiRotulagem = {
|
|
148
|
+
Lei_360: '0',
|
|
149
|
+
Lei_429: '1',
|
|
150
|
+
description(val) {
|
|
151
|
+
switch (val) {
|
|
152
|
+
case this.Lei_360:
|
|
153
|
+
return 'RDC 359/360';
|
|
154
|
+
case this.Lei_429:
|
|
155
|
+
return 'RDC 429';
|
|
156
|
+
default:
|
|
157
|
+
return 'enum not found';
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
exports.TipoQuantidadeInfoNutricional = {
|
|
162
|
+
Grama: '0',
|
|
163
|
+
Mililitro: '1',
|
|
164
|
+
description(val) {
|
|
165
|
+
switch (val) {
|
|
166
|
+
case this.Grama:
|
|
167
|
+
return '100 G (100 gramas)';
|
|
168
|
+
case this.Mililitro:
|
|
169
|
+
return '100 ML (100 mililitros)';
|
|
170
|
+
default:
|
|
171
|
+
return 'enum not found';
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
exports.TipoItem = {
|
|
176
|
+
MercadoriaRevenda: '00',
|
|
177
|
+
MateriaPrima: '01',
|
|
178
|
+
Embalagem: '02',
|
|
179
|
+
ProdutoProcesso: '03',
|
|
180
|
+
ProdutoAcabado: '04',
|
|
181
|
+
Subproduto: '05',
|
|
182
|
+
ProdutoIntermediario: '06',
|
|
183
|
+
MaterialUsoConsumo: '07',
|
|
184
|
+
AtivoImobilizado: '08',
|
|
185
|
+
Servicos: '09',
|
|
186
|
+
OutrosInsumos: '10',
|
|
187
|
+
Outras: '99',
|
|
188
|
+
description(val) {
|
|
189
|
+
switch (val) {
|
|
190
|
+
case this.MercadoriaRevenda:
|
|
191
|
+
return 'Mercadoria para revenda';
|
|
192
|
+
case this.MateriaPrima:
|
|
193
|
+
return 'Matéria-prima';
|
|
194
|
+
case this.MateriaPrima:
|
|
195
|
+
return 'Matéria-prima';
|
|
196
|
+
case this.Embalagem:
|
|
197
|
+
return 'Embalagem';
|
|
198
|
+
case this.ProdutoProcesso:
|
|
199
|
+
return 'Produto em processo';
|
|
200
|
+
case this.ProdutoAcabado:
|
|
201
|
+
return 'Produto acabado';
|
|
202
|
+
case this.Subproduto:
|
|
203
|
+
return 'Subproduto';
|
|
204
|
+
case this.ProdutoIntermediario:
|
|
205
|
+
return 'Produto intermediário';
|
|
206
|
+
case this.MaterialUsoConsumo:
|
|
207
|
+
return 'Material de uso e consumo';
|
|
208
|
+
case this.AtivoImobilizado:
|
|
209
|
+
return 'Ativo imobilizado';
|
|
210
|
+
case this.Servicos:
|
|
211
|
+
return 'Serviços';
|
|
212
|
+
case this.OutrosInsumos:
|
|
213
|
+
return 'Outros insumos';
|
|
214
|
+
case this.Outras:
|
|
215
|
+
return 'Outras';
|
|
216
|
+
default:
|
|
217
|
+
return 'enum not found';
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
};
|
package/dist/people/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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" | "Compra" | "Devolução de Venda" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
|
|
22
|
-
};
|
|
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" | "Compra" | "Devolução de Venda" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
|
|
22
|
+
};
|