mdz-enum 1.1.43 → 1.1.45
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.
package/dist/checkout/index.d.ts
CHANGED
|
@@ -21,5 +21,6 @@ export declare const ModoOperacaoPdv: {
|
|
|
21
21
|
Pedido: string;
|
|
22
22
|
Orcamento: string;
|
|
23
23
|
Devolucao: string;
|
|
24
|
-
|
|
24
|
+
Consignacao: string;
|
|
25
|
+
description(val: string): "enum not found" | "Pedido" | "Consignação" | "Venda" | "Orçamento" | "Devolução";
|
|
25
26
|
};
|
package/dist/checkout/index.js
CHANGED
|
@@ -57,6 +57,7 @@ exports.ModoOperacaoPdv = {
|
|
|
57
57
|
Pedido: '1',
|
|
58
58
|
Orcamento: '2',
|
|
59
59
|
Devolucao: '3',
|
|
60
|
+
Consignacao: '4',
|
|
60
61
|
description(val) {
|
|
61
62
|
switch (val) {
|
|
62
63
|
case this.Venda:
|
|
@@ -67,6 +68,8 @@ exports.ModoOperacaoPdv = {
|
|
|
67
68
|
return 'Orçamento';
|
|
68
69
|
case this.Devolucao:
|
|
69
70
|
return 'Devolução';
|
|
71
|
+
case this.Consignacao:
|
|
72
|
+
return 'Consignação';
|
|
70
73
|
default:
|
|
71
74
|
return 'enum not found';
|
|
72
75
|
}
|
|
@@ -94,3 +94,11 @@ export declare const TipoDataPedido: {
|
|
|
94
94
|
data_conclusao: string;
|
|
95
95
|
description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Entrega" | "Data de Previsão de Retorno" | "Data de Conclusão";
|
|
96
96
|
};
|
|
97
|
+
export declare const ModalConsignacaoOperacao: {
|
|
98
|
+
EnviarAoCliente: string;
|
|
99
|
+
Finalizar: string;
|
|
100
|
+
Concluir: string;
|
|
101
|
+
Vender: string;
|
|
102
|
+
Cancelar: string;
|
|
103
|
+
description(val: string): "enum not found" | "Enviar ao Cliente" | "Finalizar" | "Concluir" | "Vender" | "Cancelar";
|
|
104
|
+
};
|
package/dist/commercial/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoDataPedido = exports.SituacaoItemConsignacao = exports.MotivoPedido = exports.TipoGrupoComissao = exports.TipoValorTabelaPreco = exports.TipoAplicacaoTabelaPreco = exports.StatusProcessoCarrinho = exports.SituacaoProdutoMarketplace = exports.TipoMarketplace = exports.TipoDescontoPromocao = exports.TipoFrete = exports.OrigemPedido = exports.OperacaoPedido = exports.SituacaoPedido = void 0;
|
|
3
|
+
exports.ModalConsignacaoOperacao = exports.TipoDataPedido = exports.SituacaoItemConsignacao = exports.MotivoPedido = exports.TipoGrupoComissao = exports.TipoValorTabelaPreco = exports.TipoAplicacaoTabelaPreco = exports.StatusProcessoCarrinho = exports.SituacaoProdutoMarketplace = exports.TipoMarketplace = exports.TipoDescontoPromocao = exports.TipoFrete = exports.OrigemPedido = exports.OperacaoPedido = exports.SituacaoPedido = void 0;
|
|
4
4
|
exports.SituacaoPedido = {
|
|
5
5
|
Edicao: '0',
|
|
6
6
|
Liberado: '1',
|
|
@@ -275,3 +275,26 @@ exports.TipoDataPedido = {
|
|
|
275
275
|
}
|
|
276
276
|
},
|
|
277
277
|
};
|
|
278
|
+
exports.ModalConsignacaoOperacao = {
|
|
279
|
+
EnviarAoCliente: '0',
|
|
280
|
+
Finalizar: '1',
|
|
281
|
+
Concluir: '2',
|
|
282
|
+
Vender: '3',
|
|
283
|
+
Cancelar: '4',
|
|
284
|
+
description(val) {
|
|
285
|
+
switch (val) {
|
|
286
|
+
case this.EnviarAoCliente:
|
|
287
|
+
return 'Enviar ao Cliente';
|
|
288
|
+
case this.Finalizar:
|
|
289
|
+
return 'Finalizar';
|
|
290
|
+
case this.Concluir:
|
|
291
|
+
return 'Concluir';
|
|
292
|
+
case this.Vender:
|
|
293
|
+
return 'Vender';
|
|
294
|
+
case this.Cancelar:
|
|
295
|
+
return 'Cancelar';
|
|
296
|
+
default:
|
|
297
|
+
return 'enum not found';
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const SituacaoOrganizacao: {
|
|
2
|
+
Ativo: string;
|
|
3
|
+
Bloqueado: string;
|
|
4
|
+
Cancelado: string;
|
|
5
|
+
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado";
|
|
6
|
+
};
|
|
7
|
+
export declare const TipoOrganizacao: {
|
|
8
|
+
Cliente: string;
|
|
9
|
+
Parceiro: string;
|
|
10
|
+
Entidade: string;
|
|
11
|
+
description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro";
|
|
12
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoOrganizacao = exports.SituacaoOrganizacao = void 0;
|
|
4
|
+
exports.SituacaoOrganizacao = {
|
|
5
|
+
Ativo: '1',
|
|
6
|
+
Bloqueado: '2',
|
|
7
|
+
Cancelado: '3',
|
|
8
|
+
description(val) {
|
|
9
|
+
switch (val) {
|
|
10
|
+
case this.Ativo:
|
|
11
|
+
return 'Ativo';
|
|
12
|
+
case this.Bloqueado:
|
|
13
|
+
return 'Bloqueado';
|
|
14
|
+
case this.Cancelado:
|
|
15
|
+
return 'Cancelado';
|
|
16
|
+
default:
|
|
17
|
+
return 'enum not found';
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
exports.TipoOrganizacao = {
|
|
22
|
+
Cliente: '1',
|
|
23
|
+
Parceiro: '2',
|
|
24
|
+
Entidade: '3',
|
|
25
|
+
description(val) {
|
|
26
|
+
switch (val) {
|
|
27
|
+
case this.Cliente:
|
|
28
|
+
return 'Cliente';
|
|
29
|
+
case this.Entidade:
|
|
30
|
+
return 'Entidade';
|
|
31
|
+
case this.Parceiro:
|
|
32
|
+
return 'Parceiro';
|
|
33
|
+
default:
|
|
34
|
+
return 'enum not found';
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|