mdz-enum 1.7.18 → 1.7.21
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.
|
@@ -9,7 +9,8 @@ export declare const SituacaoPedido: {
|
|
|
9
9
|
RetornoCliente: string;
|
|
10
10
|
AguardandoConclusao: string;
|
|
11
11
|
Concluida: string;
|
|
12
|
-
|
|
12
|
+
FaturadoParcial: string;
|
|
13
|
+
description(val: string): "enum not found" | "Pendente" | "Cancelado" | "Edição" | "Liberado" | "Nota Pendente" | "Faturado" | "Enviado ao Cliente" | "Retorno do Cliente" | "Aguardando Conclusão" | "Concluída" | "Faturado Parcial";
|
|
13
14
|
};
|
|
14
15
|
export declare const OperacaoPedido: {
|
|
15
16
|
Orcamento: string;
|
|
@@ -80,7 +81,8 @@ export declare const TipoValorTabelaPreco: {
|
|
|
80
81
|
};
|
|
81
82
|
export declare const TipoGrupoComissao: {
|
|
82
83
|
Vendedores: string;
|
|
83
|
-
|
|
84
|
+
Afiliados: string;
|
|
85
|
+
description(val: string): "enum not found" | "Vendedores" | "Afiliados";
|
|
84
86
|
};
|
|
85
87
|
export declare const MotivoPedido: {
|
|
86
88
|
SemEstoque: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.SituacaoPedido = {
|
|
|
13
13
|
RetornoCliente: '7',
|
|
14
14
|
AguardandoConclusao: '8',
|
|
15
15
|
Concluida: '9',
|
|
16
|
+
FaturadoParcial: '10',
|
|
16
17
|
description(val) {
|
|
17
18
|
switch (val) {
|
|
18
19
|
case this.Edicao:
|
|
@@ -35,6 +36,8 @@ exports.SituacaoPedido = {
|
|
|
35
36
|
return 'Aguardando Conclusão';
|
|
36
37
|
case this.Concluida:
|
|
37
38
|
return 'Concluída';
|
|
39
|
+
case this.FaturadoParcial:
|
|
40
|
+
return 'Faturado Parcial';
|
|
38
41
|
default:
|
|
39
42
|
return 'enum not found';
|
|
40
43
|
}
|
|
@@ -234,10 +237,13 @@ exports.TipoValorTabelaPreco = {
|
|
|
234
237
|
};
|
|
235
238
|
exports.TipoGrupoComissao = {
|
|
236
239
|
Vendedores: '0',
|
|
240
|
+
Afiliados: '1',
|
|
237
241
|
description(val) {
|
|
238
242
|
switch (val) {
|
|
239
243
|
case this.Vendedores:
|
|
240
244
|
return 'Vendedores';
|
|
245
|
+
case this.Afiliados:
|
|
246
|
+
return 'Afiliados';
|
|
241
247
|
default:
|
|
242
248
|
return 'enum not found';
|
|
243
249
|
}
|
package/dist/config/index.d.ts
CHANGED
|
@@ -211,8 +211,9 @@ export declare const ModuloEmpresa: {
|
|
|
211
211
|
Servico: string;
|
|
212
212
|
Otica: string;
|
|
213
213
|
Serie: string;
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
Afiliado: string;
|
|
215
|
+
description(val: string): "enum not found" | "Produção" | "Afiliados" | "Serviços" | "Kit" | "Conjunto" | "Grade de produtos" | "Controle de lotes" | "Informação nutricional" | "Conferência de itens" | "Agendamento" | "Controle de entregas" | "Ótica" | "Controle de números de série";
|
|
216
|
+
campo(val: string): "" | "is_produto_grade" | "is_produto_kit" | "is_produto_conjunto" | "is_modulo_producao" | "is_lote" | "is_informacao_nutricional" | "is_modulo_conferencia" | "is_modulo_agendamento" | "is_modulo_entrega" | "is_modulo_servico" | "is_modulo_otica" | "is_serie" | "is_modulo_afiliado";
|
|
216
217
|
pai(val: string): string | null;
|
|
217
218
|
doTipoProduto(tipoProduto: string): string | null;
|
|
218
219
|
};
|
package/dist/config/index.js
CHANGED
|
@@ -588,6 +588,7 @@ exports.ModuloEmpresa = {
|
|
|
588
588
|
Servico: '9',
|
|
589
589
|
Otica: '10',
|
|
590
590
|
Serie: '11',
|
|
591
|
+
Afiliado: '12',
|
|
591
592
|
description(val) {
|
|
592
593
|
switch (val) {
|
|
593
594
|
case this.Grade:
|
|
@@ -614,6 +615,8 @@ exports.ModuloEmpresa = {
|
|
|
614
615
|
return 'Ótica';
|
|
615
616
|
case this.Serie:
|
|
616
617
|
return 'Controle de números de série';
|
|
618
|
+
case this.Afiliado:
|
|
619
|
+
return 'Afiliados';
|
|
617
620
|
default:
|
|
618
621
|
return 'enum not found';
|
|
619
622
|
}
|
|
@@ -644,6 +647,8 @@ exports.ModuloEmpresa = {
|
|
|
644
647
|
return 'is_modulo_otica';
|
|
645
648
|
case this.Serie:
|
|
646
649
|
return 'is_serie';
|
|
650
|
+
case this.Afiliado:
|
|
651
|
+
return 'is_modulo_afiliado';
|
|
647
652
|
default:
|
|
648
653
|
return '';
|
|
649
654
|
}
|