mdz-enum 1.5.45 → 1.5.46
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.
|
@@ -120,7 +120,8 @@ export declare const TipoDesdobramentoProduto: {
|
|
|
120
120
|
export declare const TipoCodigoEtiquetaProduto: {
|
|
121
121
|
SkuProduto: string;
|
|
122
122
|
Ean13: string;
|
|
123
|
-
|
|
123
|
+
CodigoBarra: string;
|
|
124
|
+
description(val: string): "enum not found" | "SKU do Produto" | "EAN13" | "Cód. de Barras";
|
|
124
125
|
};
|
|
125
126
|
export declare const SituacaoImagemProduto: {
|
|
126
127
|
ComImagem: string;
|
package/dist/logistics/index.js
CHANGED
|
@@ -346,12 +346,15 @@ exports.TipoDesdobramentoProduto = {
|
|
|
346
346
|
exports.TipoCodigoEtiquetaProduto = {
|
|
347
347
|
SkuProduto: '0',
|
|
348
348
|
Ean13: '1',
|
|
349
|
+
CodigoBarra: '2',
|
|
349
350
|
description(val) {
|
|
350
351
|
switch (val) {
|
|
351
352
|
case this.SkuProduto:
|
|
352
353
|
return 'SKU do Produto';
|
|
353
354
|
case this.Ean13:
|
|
354
355
|
return 'EAN13';
|
|
356
|
+
case this.CodigoBarra:
|
|
357
|
+
return 'Cód. de Barras';
|
|
355
358
|
default:
|
|
356
359
|
return 'enum not found';
|
|
357
360
|
}
|