mdz-enum 1.5.54 → 1.5.56
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.
|
@@ -16,7 +16,8 @@ export declare const OperacaoPedido: {
|
|
|
16
16
|
Pedido: string;
|
|
17
17
|
Consignacao: string;
|
|
18
18
|
Compra: string;
|
|
19
|
-
|
|
19
|
+
OrdemServico: string;
|
|
20
|
+
description(val: string): "enum not found" | "Consignação" | "Pedido" | "Orçamento" | "Pedido de Compra" | "Ordem de Serviço";
|
|
20
21
|
};
|
|
21
22
|
export declare const OrigemPedido: {
|
|
22
23
|
Erp: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -45,6 +45,7 @@ exports.OperacaoPedido = {
|
|
|
45
45
|
Pedido: '1',
|
|
46
46
|
Consignacao: '2',
|
|
47
47
|
Compra: '3',
|
|
48
|
+
OrdemServico: '4',
|
|
48
49
|
description(val) {
|
|
49
50
|
switch (val) {
|
|
50
51
|
case this.Orcamento:
|
|
@@ -55,6 +56,8 @@ exports.OperacaoPedido = {
|
|
|
55
56
|
return 'Consignação';
|
|
56
57
|
case this.Compra:
|
|
57
58
|
return 'Pedido de Compra';
|
|
59
|
+
case this.OrdemServico:
|
|
60
|
+
return 'Ordem de Serviço';
|
|
58
61
|
default:
|
|
59
62
|
return 'enum not found';
|
|
60
63
|
}
|
|
@@ -18,3 +18,12 @@ export declare const TipoPagamentoSafeTwoPay: {
|
|
|
18
18
|
PIX: number;
|
|
19
19
|
description(val: number): "enum not found" | "Boleto" | "Cartão de Crédito" | "PIX";
|
|
20
20
|
};
|
|
21
|
+
export declare const TipoProcessamentoPlugFourMarket: {
|
|
22
|
+
CadastroProduto: number;
|
|
23
|
+
AtualizacaoEstoque: number;
|
|
24
|
+
PedidoLiberar: number;
|
|
25
|
+
PedidoFaturar: number;
|
|
26
|
+
PedidoEnvio: number;
|
|
27
|
+
PedidoEntregue: number;
|
|
28
|
+
description(val: number): "enum not found" | "Cadastro Produto" | "Atualização Estoque" | "Pedido Liberar";
|
|
29
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoPagamentoSafeTwoPay = exports.TipoPagamentoTuo = exports.TipoIntegracaoPagamento = void 0;
|
|
3
|
+
exports.TipoProcessamentoPlugFourMarket = exports.TipoPagamentoSafeTwoPay = exports.TipoPagamentoTuo = exports.TipoIntegracaoPagamento = void 0;
|
|
4
4
|
exports.TipoIntegracaoPagamento = {
|
|
5
5
|
Tuo: '0',
|
|
6
6
|
ModerBank: '1',
|
|
@@ -58,3 +58,29 @@ exports.TipoPagamentoSafeTwoPay = {
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
};
|
|
61
|
+
exports.TipoProcessamentoPlugFourMarket = {
|
|
62
|
+
CadastroProduto: 1,
|
|
63
|
+
AtualizacaoEstoque: 2,
|
|
64
|
+
PedidoLiberar: 4,
|
|
65
|
+
PedidoFaturar: 5,
|
|
66
|
+
PedidoEnvio: 6,
|
|
67
|
+
PedidoEntregue: 7,
|
|
68
|
+
description(val) {
|
|
69
|
+
switch (val) {
|
|
70
|
+
case this.CadastroProduto:
|
|
71
|
+
return 'Cadastro Produto';
|
|
72
|
+
case this.AtualizacaoEstoque:
|
|
73
|
+
return 'Atualização Estoque';
|
|
74
|
+
case this.PedidoLiberar:
|
|
75
|
+
return 'Pedido Liberar';
|
|
76
|
+
case this.PedidoFaturar:
|
|
77
|
+
return 'Pedido Liberar';
|
|
78
|
+
case this.PedidoEnvio:
|
|
79
|
+
return 'Pedido Liberar';
|
|
80
|
+
case this.PedidoEntregue:
|
|
81
|
+
return 'Pedido Liberar';
|
|
82
|
+
default:
|
|
83
|
+
return 'enum not found';
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
};
|