mdz-enum 1.0.88 → 1.0.89
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/logistics/index.d.ts +16 -0
- package/dist/logistics/index.js +48 -1
- package/package.json +1 -1
- package/src/logistics/index.ts +62 -0
|
@@ -27,3 +27,19 @@ export declare const OrigemMovimentacaoEstoque: {
|
|
|
27
27
|
Pedido: string;
|
|
28
28
|
description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "Manual";
|
|
29
29
|
};
|
|
30
|
+
export declare const TipoCategoria: {
|
|
31
|
+
Beleza: string;
|
|
32
|
+
Bolsa: string;
|
|
33
|
+
Calçado: string;
|
|
34
|
+
Celular: string;
|
|
35
|
+
Decoracao: string;
|
|
36
|
+
Eletrodomestico: string;
|
|
37
|
+
Eletronico: string;
|
|
38
|
+
Esporte: string;
|
|
39
|
+
Ferramenta: string;
|
|
40
|
+
Game: string;
|
|
41
|
+
Movel: string;
|
|
42
|
+
Roupa: string;
|
|
43
|
+
Saude: string;
|
|
44
|
+
description(val: string): "Beleza" | "Bolsa" | "Calçado" | "Celular" | "Decoração" | "Eletrodomésticos" | "Eletrônicos" | "Esportes" | "Ferramentas" | "Games" | "Móveis" | "Roupas" | "Saúde" | undefined;
|
|
45
|
+
};
|
package/dist/logistics/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = exports.TipoAtributo = void 0;
|
|
3
|
+
exports.TipoCategoria = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = exports.TipoAtributo = void 0;
|
|
4
4
|
exports.TipoAtributo = {
|
|
5
5
|
Cor: '0',
|
|
6
6
|
Tamanho: '1',
|
|
@@ -83,3 +83,50 @@ exports.OrigemMovimentacaoEstoque = {
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
};
|
|
86
|
+
exports.TipoCategoria = {
|
|
87
|
+
Beleza: '0',
|
|
88
|
+
Bolsa: '1',
|
|
89
|
+
Calçado: '2',
|
|
90
|
+
Celular: '3',
|
|
91
|
+
Decoracao: '4',
|
|
92
|
+
Eletrodomestico: '5',
|
|
93
|
+
Eletronico: '6',
|
|
94
|
+
Esporte: '7',
|
|
95
|
+
Ferramenta: '8',
|
|
96
|
+
Game: '9',
|
|
97
|
+
Movel: '10',
|
|
98
|
+
Roupa: '11',
|
|
99
|
+
Saude: '12',
|
|
100
|
+
description(val) {
|
|
101
|
+
switch (val) {
|
|
102
|
+
case this.Beleza:
|
|
103
|
+
return 'Beleza';
|
|
104
|
+
case this.Bolsa:
|
|
105
|
+
return 'Bolsa';
|
|
106
|
+
case this.Calçado:
|
|
107
|
+
return 'Calçado';
|
|
108
|
+
case this.Celular:
|
|
109
|
+
return 'Celular';
|
|
110
|
+
case this.Decoracao:
|
|
111
|
+
return 'Decoração';
|
|
112
|
+
case this.Eletrodomestico:
|
|
113
|
+
return 'Eletrodomésticos';
|
|
114
|
+
case this.Eletronico:
|
|
115
|
+
return 'Eletrônicos';
|
|
116
|
+
case this.Esporte:
|
|
117
|
+
return 'Esportes';
|
|
118
|
+
case this.Ferramenta:
|
|
119
|
+
return 'Ferramentas';
|
|
120
|
+
case this.Game:
|
|
121
|
+
return 'Games';
|
|
122
|
+
case this.Movel:
|
|
123
|
+
return 'Móveis';
|
|
124
|
+
case this.Roupa:
|
|
125
|
+
return 'Roupas';
|
|
126
|
+
case this.Saude:
|
|
127
|
+
return 'Saúde';
|
|
128
|
+
default:
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
};
|
package/package.json
CHANGED
package/src/logistics/index.ts
CHANGED
|
@@ -103,3 +103,65 @@ export const OrigemMovimentacaoEstoque = {
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
export const TipoCategoria = {
|
|
108
|
+
Beleza: '0',
|
|
109
|
+
Bolsa: '1',
|
|
110
|
+
Calçado: '2',
|
|
111
|
+
Celular: '3',
|
|
112
|
+
Decoracao: '4',
|
|
113
|
+
Eletrodomestico: '5',
|
|
114
|
+
Eletronico: '6',
|
|
115
|
+
Esporte: '7',
|
|
116
|
+
Ferramenta: '8',
|
|
117
|
+
Game: '9',
|
|
118
|
+
Movel: '10',
|
|
119
|
+
Roupa: '11',
|
|
120
|
+
Saude: '12',
|
|
121
|
+
|
|
122
|
+
description(val: string) {
|
|
123
|
+
switch (val) {
|
|
124
|
+
case this.Beleza:
|
|
125
|
+
return 'Beleza'
|
|
126
|
+
|
|
127
|
+
case this.Bolsa:
|
|
128
|
+
return 'Bolsa'
|
|
129
|
+
|
|
130
|
+
case this.Calçado:
|
|
131
|
+
return 'Calçado'
|
|
132
|
+
|
|
133
|
+
case this.Celular:
|
|
134
|
+
return 'Celular'
|
|
135
|
+
|
|
136
|
+
case this.Decoracao:
|
|
137
|
+
return 'Decoração'
|
|
138
|
+
|
|
139
|
+
case this.Eletrodomestico:
|
|
140
|
+
return 'Eletrodomésticos'
|
|
141
|
+
|
|
142
|
+
case this.Eletronico:
|
|
143
|
+
return 'Eletrônicos'
|
|
144
|
+
|
|
145
|
+
case this.Esporte:
|
|
146
|
+
return 'Esportes'
|
|
147
|
+
|
|
148
|
+
case this.Ferramenta:
|
|
149
|
+
return 'Ferramentas'
|
|
150
|
+
|
|
151
|
+
case this.Game:
|
|
152
|
+
return 'Games'
|
|
153
|
+
|
|
154
|
+
case this.Movel:
|
|
155
|
+
return 'Móveis'
|
|
156
|
+
|
|
157
|
+
case this.Roupa:
|
|
158
|
+
return 'Roupas'
|
|
159
|
+
|
|
160
|
+
case this.Saude:
|
|
161
|
+
return 'Saúde'
|
|
162
|
+
|
|
163
|
+
default:
|
|
164
|
+
break
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
}
|