mdz-enum 1.0.44 → 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/finance/index.d.ts
CHANGED
|
@@ -79,5 +79,6 @@ export declare const TipoCaixaOperacao: {
|
|
|
79
79
|
export declare const SituacaoCaixa: {
|
|
80
80
|
Aberto: string;
|
|
81
81
|
Fechado: string;
|
|
82
|
-
|
|
82
|
+
FechadoComDiferenca: string;
|
|
83
|
+
description(val: string): "enum not found" | "Aberto" | "Fechado" | "Fechado com Diferença";
|
|
83
84
|
};
|
package/dist/finance/index.js
CHANGED
|
@@ -229,12 +229,15 @@ exports.TipoCaixaOperacao = {
|
|
|
229
229
|
exports.SituacaoCaixa = {
|
|
230
230
|
Aberto: '0',
|
|
231
231
|
Fechado: '1',
|
|
232
|
+
FechadoComDiferenca: '2',
|
|
232
233
|
description(val) {
|
|
233
234
|
switch (val) {
|
|
234
235
|
case this.Aberto:
|
|
235
236
|
return 'Aberto';
|
|
236
237
|
case this.Fechado:
|
|
237
238
|
return 'Fechado';
|
|
239
|
+
case this.FechadoComDiferenca:
|
|
240
|
+
return 'Fechado com Diferença';
|
|
238
241
|
default:
|
|
239
242
|
return 'enum not found';
|
|
240
243
|
}
|
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
|
+
}
|
package/src/finance/index.ts
CHANGED
|
@@ -295,6 +295,7 @@ export const TipoCaixaOperacao = {
|
|
|
295
295
|
export const SituacaoCaixa = {
|
|
296
296
|
Aberto: '0',
|
|
297
297
|
Fechado: '1',
|
|
298
|
+
FechadoComDiferenca: '2',
|
|
298
299
|
|
|
299
300
|
description(val: string) {
|
|
300
301
|
switch (val) {
|
|
@@ -304,6 +305,9 @@ export const SituacaoCaixa = {
|
|
|
304
305
|
case this.Fechado:
|
|
305
306
|
return 'Fechado'
|
|
306
307
|
|
|
308
|
+
case this.FechadoComDiferenca:
|
|
309
|
+
return 'Fechado com Diferença'
|
|
310
|
+
|
|
307
311
|
default:
|
|
308
312
|
return 'enum not found'
|
|
309
313
|
}
|