mdz-enum 1.0.46 → 1.0.47
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.
|
@@ -25,3 +25,8 @@ export declare const TipoFrete: {
|
|
|
25
25
|
SemFrete: string;
|
|
26
26
|
description(val: string): "enum not found" | "0-Contratação do Frete por conta do Remetente (CIF)" | "1-Contratação do Frete por conta do Destinatário (FOB)" | "2-Contratação do Frete por conta de Terceiros" | "3-Transporte Próprio por conta do Remetente" | "4-Transporte Próprio por conta do Destinatário" | "9-Sem Ocorrência de Transporte";
|
|
27
27
|
};
|
|
28
|
+
export declare const SituacaoPromocao: {
|
|
29
|
+
Ativo: string;
|
|
30
|
+
Inativo: string;
|
|
31
|
+
description(val: string): "enum not found" | "Ativo" | "Inativo";
|
|
32
|
+
};
|
package/dist/commercial/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoFrete = exports.OrigemPedido = exports.OperacaoPedido = exports.SituacaoPedido = void 0;
|
|
3
|
+
exports.SituacaoPromocao = exports.TipoFrete = exports.OrigemPedido = exports.OperacaoPedido = exports.SituacaoPedido = void 0;
|
|
4
4
|
exports.SituacaoPedido = {
|
|
5
5
|
Edicao: '0',
|
|
6
6
|
Liberado: '1',
|
|
@@ -36,7 +36,7 @@ exports.OperacaoPedido = {
|
|
|
36
36
|
default:
|
|
37
37
|
return 'enum not found';
|
|
38
38
|
}
|
|
39
|
-
}
|
|
39
|
+
},
|
|
40
40
|
};
|
|
41
41
|
exports.OrigemPedido = {
|
|
42
42
|
Erp: '0',
|
|
@@ -50,7 +50,7 @@ exports.OrigemPedido = {
|
|
|
50
50
|
default:
|
|
51
51
|
return 'enum not found';
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
},
|
|
54
54
|
};
|
|
55
55
|
exports.TipoFrete = {
|
|
56
56
|
ContratacaoContaRemetente: '0',
|
|
@@ -78,3 +78,17 @@ exports.TipoFrete = {
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
};
|
|
81
|
+
exports.SituacaoPromocao = {
|
|
82
|
+
Ativo: '0',
|
|
83
|
+
Inativo: '1',
|
|
84
|
+
description(val) {
|
|
85
|
+
switch (val) {
|
|
86
|
+
case this.Ativo:
|
|
87
|
+
return 'Ativo';
|
|
88
|
+
case this.Inativo:
|
|
89
|
+
return 'Inativo';
|
|
90
|
+
default:
|
|
91
|
+
return 'enum not found';
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
};
|
package/dist/general/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/commercial/index.ts
CHANGED
|
@@ -34,16 +34,16 @@ export const OperacaoPedido = {
|
|
|
34
34
|
|
|
35
35
|
description(val: string) {
|
|
36
36
|
switch (val) {
|
|
37
|
-
case this.Orcamento:
|
|
37
|
+
case this.Orcamento:
|
|
38
38
|
return 'Orcamento'
|
|
39
39
|
|
|
40
|
-
case this.Pedido:
|
|
40
|
+
case this.Pedido:
|
|
41
41
|
return 'Pedido'
|
|
42
42
|
|
|
43
|
-
default:
|
|
43
|
+
default:
|
|
44
44
|
return 'enum not found'
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export const OrigemPedido = {
|
|
@@ -52,16 +52,16 @@ export const OrigemPedido = {
|
|
|
52
52
|
|
|
53
53
|
description(val: string) {
|
|
54
54
|
switch (val) {
|
|
55
|
-
case this.Erp:
|
|
55
|
+
case this.Erp:
|
|
56
56
|
return 'Erp'
|
|
57
57
|
|
|
58
|
-
case this.Ecommerce:
|
|
58
|
+
case this.Ecommerce:
|
|
59
59
|
return 'Ecommerce'
|
|
60
60
|
|
|
61
|
-
default:
|
|
61
|
+
default:
|
|
62
62
|
return 'enum not found'
|
|
63
63
|
}
|
|
64
|
-
}
|
|
64
|
+
},
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export const TipoFrete = {
|
|
@@ -97,3 +97,21 @@ export const TipoFrete = {
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
}
|
|
100
|
+
|
|
101
|
+
export const SituacaoPromocao = {
|
|
102
|
+
Ativo: '0',
|
|
103
|
+
Inativo: '1',
|
|
104
|
+
|
|
105
|
+
description(val: string) {
|
|
106
|
+
switch (val) {
|
|
107
|
+
case this.Ativo:
|
|
108
|
+
return 'Ativo'
|
|
109
|
+
|
|
110
|
+
case this.Inativo:
|
|
111
|
+
return 'Inativo'
|
|
112
|
+
|
|
113
|
+
default:
|
|
114
|
+
return 'enum not found'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
}
|