mdz-enum 1.2.26 → 1.2.27
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.
|
@@ -20,7 +20,8 @@ export declare const OrigemMovimentacaoEstoque: {
|
|
|
20
20
|
Manual: string;
|
|
21
21
|
NotaFiscal: string;
|
|
22
22
|
Pedido: string;
|
|
23
|
-
|
|
23
|
+
Inventario: string;
|
|
24
|
+
description(val: string): "enum not found" | "Pedido" | "Nota Fiscal" | "Manual" | "Inventário";
|
|
24
25
|
};
|
|
25
26
|
export declare const TipoCategoria: {
|
|
26
27
|
Beleza: string;
|
package/dist/logistics/index.js
CHANGED
|
@@ -56,6 +56,7 @@ exports.OrigemMovimentacaoEstoque = {
|
|
|
56
56
|
Manual: '1',
|
|
57
57
|
NotaFiscal: '2',
|
|
58
58
|
Pedido: '3',
|
|
59
|
+
Inventario: '4',
|
|
59
60
|
description(val) {
|
|
60
61
|
switch (val) {
|
|
61
62
|
case this.Manual:
|
|
@@ -64,6 +65,8 @@ exports.OrigemMovimentacaoEstoque = {
|
|
|
64
65
|
return 'Nota Fiscal';
|
|
65
66
|
case this.Pedido:
|
|
66
67
|
return 'Pedido';
|
|
68
|
+
case this.Inventario:
|
|
69
|
+
return 'Inventário';
|
|
67
70
|
default:
|
|
68
71
|
return 'enum not found';
|
|
69
72
|
}
|