mdz-enum 1.1.96 → 1.1.98
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/general/index.d.ts +2 -2
- package/dist/general/index.js +8 -0
- package/dist/logistics/index.js +12 -12
- package/package.json +1 -1
package/dist/general/index.d.ts
CHANGED
|
@@ -51,8 +51,8 @@ export declare const Uf: {
|
|
|
51
51
|
DF: string;
|
|
52
52
|
AN: string;
|
|
53
53
|
EX: string;
|
|
54
|
-
description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Minas Gerais" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Rio Grande do Sul" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | undefined;
|
|
55
|
-
shortDescription(val: string): "RO" | "AC" | "AM" | "RR" | "PA" | "AP" | "TO" | "MA" | "RN" | "PB" | "PE" | "AL" | "SE" | "BA" | "MG" | "ES" | "RJ" | "SP" | "PR" | "SC" | "RS" | "MS" | "MT" | "GO" | "DF" | undefined;
|
|
54
|
+
description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Minas Gerais" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Rio Grande do Sul" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Piauí" | "Ceará" | undefined;
|
|
55
|
+
shortDescription(val: string): "PI" | "CE" | "RO" | "AC" | "AM" | "RR" | "PA" | "AP" | "TO" | "MA" | "RN" | "PB" | "PE" | "AL" | "SE" | "BA" | "MG" | "ES" | "RJ" | "SP" | "PR" | "SC" | "RS" | "MS" | "MT" | "GO" | "DF" | undefined;
|
|
56
56
|
};
|
|
57
57
|
export declare const ProporcaoImagem: {
|
|
58
58
|
'1/1': string;
|
package/dist/general/index.js
CHANGED
|
@@ -146,10 +146,18 @@ exports.Uf = {
|
|
|
146
146
|
return 'Goiás';
|
|
147
147
|
case this.DF:
|
|
148
148
|
return 'Distrito Federal';
|
|
149
|
+
case this.PI:
|
|
150
|
+
return 'Piauí';
|
|
151
|
+
case this.CE:
|
|
152
|
+
return 'Ceará';
|
|
149
153
|
}
|
|
150
154
|
},
|
|
151
155
|
shortDescription(val) {
|
|
152
156
|
switch (val) {
|
|
157
|
+
case this.PI:
|
|
158
|
+
return 'PI';
|
|
159
|
+
case this.CE:
|
|
160
|
+
return 'CE';
|
|
153
161
|
case this.RO:
|
|
154
162
|
return 'RO';
|
|
155
163
|
case this.AC:
|
package/dist/logistics/index.js
CHANGED
|
@@ -173,18 +173,18 @@ exports.TipoQuantidadeInfoNutricional = {
|
|
|
173
173
|
},
|
|
174
174
|
};
|
|
175
175
|
exports.TipoItem = {
|
|
176
|
-
MercadoriaRevenda: '
|
|
177
|
-
MateriaPrima: '
|
|
178
|
-
Embalagem: '
|
|
179
|
-
ProdutoProcesso: '
|
|
180
|
-
ProdutoAcabado: '
|
|
181
|
-
Subproduto: '
|
|
182
|
-
ProdutoIntermediario: '
|
|
183
|
-
MaterialUsoConsumo: '
|
|
184
|
-
AtivoImobilizado: '
|
|
185
|
-
Servicos: '
|
|
186
|
-
OutrosInsumos: '
|
|
187
|
-
Outras: '
|
|
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
188
|
description(val) {
|
|
189
189
|
switch (val) {
|
|
190
190
|
case this.MercadoriaRevenda:
|