mdz-enum 1.1.35 → 1.1.36
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/README.MD +1 -1
- package/dist/checkout/index.d.ts +25 -25
- package/dist/checkout/index.js +74 -74
- package/dist/commercial/index.d.ts +79 -74
- package/dist/commercial/index.js +228 -213
- package/dist/config/index.d.ts +79 -79
- package/dist/config/index.js +228 -228
- package/dist/finance/index.d.ts +112 -112
- package/dist/finance/index.js +324 -324
- package/dist/fiscal/index.d.ts +291 -291
- package/dist/fiscal/index.js +862 -862
- package/dist/functions.d.ts +4 -4
- package/dist/functions.js +37 -37
- package/dist/general/index.d.ts +56 -56
- package/dist/general/index.js +205 -205
- package/dist/index.d.ts +12 -12
- package/dist/index.js +110 -110
- package/dist/integration/index.d.ts +10 -10
- package/dist/integration/index.js +31 -31
- package/dist/logistics/index.d.ts +50 -50
- package/dist/logistics/index.js +146 -146
- package/dist/people/index.d.ts +20 -20
- package/dist/people/index.js +59 -59
- package/dist/plataform/index.d.ts +12 -12
- package/dist/plataform/index.js +37 -37
- package/dist/platform/index.d.ts +18 -18
- package/dist/platform/index.js +54 -54
- package/dist/reports/index.d.ts +12 -12
- package/dist/reports/index.js +33 -33
- package/package.json +32 -33
package/dist/logistics/index.js
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = void 0;
|
|
4
|
-
exports.TipoProduto = {
|
|
5
|
-
Simples: '0',
|
|
6
|
-
ComGrade: '1',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Simples:
|
|
10
|
-
return 'Simples';
|
|
11
|
-
case this.ComGrade:
|
|
12
|
-
return 'Com Grade';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.TipoValoracao = {
|
|
19
|
-
PrecoAquisicao: '0',
|
|
20
|
-
PrecoCusto: '1',
|
|
21
|
-
PrecoVenda: '2',
|
|
22
|
-
PrecoAtacado: '3',
|
|
23
|
-
description(val) {
|
|
24
|
-
switch (val) {
|
|
25
|
-
case this.PrecoAquisicao:
|
|
26
|
-
return 'Preço de Aquisição';
|
|
27
|
-
case this.PrecoCusto:
|
|
28
|
-
return 'Preço de Custo';
|
|
29
|
-
case this.PrecoVenda:
|
|
30
|
-
return 'Preço de Venda';
|
|
31
|
-
case this.PrecoAtacado:
|
|
32
|
-
return 'Preço de Atacado';
|
|
33
|
-
default:
|
|
34
|
-
return 'enum not found';
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
exports.SituacaoMovimentacaoEstoque = {
|
|
39
|
-
EmEdicao: '0',
|
|
40
|
-
Processado: '1',
|
|
41
|
-
Estornado: '2',
|
|
42
|
-
description(val) {
|
|
43
|
-
switch (val) {
|
|
44
|
-
case this.EmEdicao:
|
|
45
|
-
return 'Em Edição';
|
|
46
|
-
case this.Processado:
|
|
47
|
-
return 'Processado';
|
|
48
|
-
case this.Estornado:
|
|
49
|
-
return 'Estornado';
|
|
50
|
-
default:
|
|
51
|
-
return 'enum not found';
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
exports.OrigemMovimentacaoEstoque = {
|
|
56
|
-
Manual: '1',
|
|
57
|
-
NotaFiscal: '2',
|
|
58
|
-
Pedido: '3',
|
|
59
|
-
description(val) {
|
|
60
|
-
switch (val) {
|
|
61
|
-
case this.Manual:
|
|
62
|
-
return 'Manual';
|
|
63
|
-
case this.NotaFiscal:
|
|
64
|
-
return 'Nota Fiscal';
|
|
65
|
-
case this.Pedido:
|
|
66
|
-
return 'Pedido';
|
|
67
|
-
default:
|
|
68
|
-
return 'enum not found';
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
exports.TipoCategoria = {
|
|
73
|
-
Beleza: '0',
|
|
74
|
-
Bolsa: '1',
|
|
75
|
-
Calçado: '2',
|
|
76
|
-
Celular: '3',
|
|
77
|
-
Decoracao: '4',
|
|
78
|
-
Eletrodomestico: '5',
|
|
79
|
-
Eletronico: '6',
|
|
80
|
-
Esporte: '7',
|
|
81
|
-
Ferramenta: '8',
|
|
82
|
-
Game: '9',
|
|
83
|
-
Movel: '10',
|
|
84
|
-
Vestuario: '11',
|
|
85
|
-
Saude: '12',
|
|
86
|
-
description(val) {
|
|
87
|
-
switch (val) {
|
|
88
|
-
case this.Beleza:
|
|
89
|
-
return 'Beleza';
|
|
90
|
-
case this.Bolsa:
|
|
91
|
-
return 'Bolsas';
|
|
92
|
-
case this.Calçado:
|
|
93
|
-
return 'Calçados';
|
|
94
|
-
case this.Celular:
|
|
95
|
-
return 'Celular';
|
|
96
|
-
case this.Decoracao:
|
|
97
|
-
return 'Decoração';
|
|
98
|
-
case this.Eletrodomestico:
|
|
99
|
-
return 'Eletrodomésticos';
|
|
100
|
-
case this.Eletronico:
|
|
101
|
-
return 'Eletrônicos';
|
|
102
|
-
case this.Esporte:
|
|
103
|
-
return 'Esportes';
|
|
104
|
-
case this.Ferramenta:
|
|
105
|
-
return 'Ferramentas';
|
|
106
|
-
case this.Game:
|
|
107
|
-
return 'Games';
|
|
108
|
-
case this.Movel:
|
|
109
|
-
return 'Móveis';
|
|
110
|
-
case this.Vestuario:
|
|
111
|
-
return 'Vestuário';
|
|
112
|
-
case this.Saude:
|
|
113
|
-
return 'Saúde';
|
|
114
|
-
default:
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
exports.TipoImagemGaleria = {
|
|
120
|
-
Geral: '0',
|
|
121
|
-
PorGrade: '1',
|
|
122
|
-
description(val) {
|
|
123
|
-
switch (val) {
|
|
124
|
-
case this.Geral:
|
|
125
|
-
return 'Geral';
|
|
126
|
-
case this.PorGrade:
|
|
127
|
-
return 'Por Grade';
|
|
128
|
-
default:
|
|
129
|
-
return 'enum not found';
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
exports.TipoAtualizacaoEstoque = {
|
|
134
|
-
NotaFiscal: '0',
|
|
135
|
-
MovimentacaoEstoque: '1',
|
|
136
|
-
description(val) {
|
|
137
|
-
switch (val) {
|
|
138
|
-
case this.NotaFiscal:
|
|
139
|
-
return 'Nota Fiscal';
|
|
140
|
-
case this.MovimentacaoEstoque:
|
|
141
|
-
return 'Movimentaçaõ de Estoque';
|
|
142
|
-
default:
|
|
143
|
-
return 'enum not found';
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = void 0;
|
|
4
|
+
exports.TipoProduto = {
|
|
5
|
+
Simples: '0',
|
|
6
|
+
ComGrade: '1',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Simples:
|
|
10
|
+
return 'Simples';
|
|
11
|
+
case this.ComGrade:
|
|
12
|
+
return 'Com Grade';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoValoracao = {
|
|
19
|
+
PrecoAquisicao: '0',
|
|
20
|
+
PrecoCusto: '1',
|
|
21
|
+
PrecoVenda: '2',
|
|
22
|
+
PrecoAtacado: '3',
|
|
23
|
+
description(val) {
|
|
24
|
+
switch (val) {
|
|
25
|
+
case this.PrecoAquisicao:
|
|
26
|
+
return 'Preço de Aquisição';
|
|
27
|
+
case this.PrecoCusto:
|
|
28
|
+
return 'Preço de Custo';
|
|
29
|
+
case this.PrecoVenda:
|
|
30
|
+
return 'Preço de Venda';
|
|
31
|
+
case this.PrecoAtacado:
|
|
32
|
+
return 'Preço de Atacado';
|
|
33
|
+
default:
|
|
34
|
+
return 'enum not found';
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
exports.SituacaoMovimentacaoEstoque = {
|
|
39
|
+
EmEdicao: '0',
|
|
40
|
+
Processado: '1',
|
|
41
|
+
Estornado: '2',
|
|
42
|
+
description(val) {
|
|
43
|
+
switch (val) {
|
|
44
|
+
case this.EmEdicao:
|
|
45
|
+
return 'Em Edição';
|
|
46
|
+
case this.Processado:
|
|
47
|
+
return 'Processado';
|
|
48
|
+
case this.Estornado:
|
|
49
|
+
return 'Estornado';
|
|
50
|
+
default:
|
|
51
|
+
return 'enum not found';
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
exports.OrigemMovimentacaoEstoque = {
|
|
56
|
+
Manual: '1',
|
|
57
|
+
NotaFiscal: '2',
|
|
58
|
+
Pedido: '3',
|
|
59
|
+
description(val) {
|
|
60
|
+
switch (val) {
|
|
61
|
+
case this.Manual:
|
|
62
|
+
return 'Manual';
|
|
63
|
+
case this.NotaFiscal:
|
|
64
|
+
return 'Nota Fiscal';
|
|
65
|
+
case this.Pedido:
|
|
66
|
+
return 'Pedido';
|
|
67
|
+
default:
|
|
68
|
+
return 'enum not found';
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
exports.TipoCategoria = {
|
|
73
|
+
Beleza: '0',
|
|
74
|
+
Bolsa: '1',
|
|
75
|
+
Calçado: '2',
|
|
76
|
+
Celular: '3',
|
|
77
|
+
Decoracao: '4',
|
|
78
|
+
Eletrodomestico: '5',
|
|
79
|
+
Eletronico: '6',
|
|
80
|
+
Esporte: '7',
|
|
81
|
+
Ferramenta: '8',
|
|
82
|
+
Game: '9',
|
|
83
|
+
Movel: '10',
|
|
84
|
+
Vestuario: '11',
|
|
85
|
+
Saude: '12',
|
|
86
|
+
description(val) {
|
|
87
|
+
switch (val) {
|
|
88
|
+
case this.Beleza:
|
|
89
|
+
return 'Beleza';
|
|
90
|
+
case this.Bolsa:
|
|
91
|
+
return 'Bolsas';
|
|
92
|
+
case this.Calçado:
|
|
93
|
+
return 'Calçados';
|
|
94
|
+
case this.Celular:
|
|
95
|
+
return 'Celular';
|
|
96
|
+
case this.Decoracao:
|
|
97
|
+
return 'Decoração';
|
|
98
|
+
case this.Eletrodomestico:
|
|
99
|
+
return 'Eletrodomésticos';
|
|
100
|
+
case this.Eletronico:
|
|
101
|
+
return 'Eletrônicos';
|
|
102
|
+
case this.Esporte:
|
|
103
|
+
return 'Esportes';
|
|
104
|
+
case this.Ferramenta:
|
|
105
|
+
return 'Ferramentas';
|
|
106
|
+
case this.Game:
|
|
107
|
+
return 'Games';
|
|
108
|
+
case this.Movel:
|
|
109
|
+
return 'Móveis';
|
|
110
|
+
case this.Vestuario:
|
|
111
|
+
return 'Vestuário';
|
|
112
|
+
case this.Saude:
|
|
113
|
+
return 'Saúde';
|
|
114
|
+
default:
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
exports.TipoImagemGaleria = {
|
|
120
|
+
Geral: '0',
|
|
121
|
+
PorGrade: '1',
|
|
122
|
+
description(val) {
|
|
123
|
+
switch (val) {
|
|
124
|
+
case this.Geral:
|
|
125
|
+
return 'Geral';
|
|
126
|
+
case this.PorGrade:
|
|
127
|
+
return 'Por Grade';
|
|
128
|
+
default:
|
|
129
|
+
return 'enum not found';
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
exports.TipoAtualizacaoEstoque = {
|
|
134
|
+
NotaFiscal: '0',
|
|
135
|
+
MovimentacaoEstoque: '1',
|
|
136
|
+
description(val) {
|
|
137
|
+
switch (val) {
|
|
138
|
+
case this.NotaFiscal:
|
|
139
|
+
return 'Nota Fiscal';
|
|
140
|
+
case this.MovimentacaoEstoque:
|
|
141
|
+
return 'Movimentaçaõ de Estoque';
|
|
142
|
+
default:
|
|
143
|
+
return 'enum not found';
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
};
|
package/dist/people/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export declare const TipoEndereco: {
|
|
2
|
-
Residencial: string;
|
|
3
|
-
Comercial: string;
|
|
4
|
-
description(val: string): "enum not found" | "Residencial" | "Comercial";
|
|
5
|
-
};
|
|
6
|
-
export declare const TipoPessoa: {
|
|
7
|
-
Fisico: string;
|
|
8
|
-
Juridico: string;
|
|
9
|
-
description(val: string): "enum not found" | "Físico" | "Jurídico";
|
|
10
|
-
};
|
|
11
|
-
export declare const GeneroPessoa: {
|
|
12
|
-
Masculino: string;
|
|
13
|
-
Feminino: string;
|
|
14
|
-
description(val: string): "enum not found" | "Masculino" | "Feminino";
|
|
15
|
-
};
|
|
16
|
-
export declare const TipoOperacaoPessoaContaCorrente: {
|
|
17
|
-
DevolucaoVenda: string;
|
|
18
|
-
CompraNotaFiscal: string;
|
|
19
|
-
description(val: string): "enum not found" | "Compra" | "Devolução de Venda";
|
|
20
|
-
};
|
|
1
|
+
export declare const TipoEndereco: {
|
|
2
|
+
Residencial: string;
|
|
3
|
+
Comercial: string;
|
|
4
|
+
description(val: string): "enum not found" | "Residencial" | "Comercial";
|
|
5
|
+
};
|
|
6
|
+
export declare const TipoPessoa: {
|
|
7
|
+
Fisico: string;
|
|
8
|
+
Juridico: string;
|
|
9
|
+
description(val: string): "enum not found" | "Físico" | "Jurídico";
|
|
10
|
+
};
|
|
11
|
+
export declare const GeneroPessoa: {
|
|
12
|
+
Masculino: string;
|
|
13
|
+
Feminino: string;
|
|
14
|
+
description(val: string): "enum not found" | "Masculino" | "Feminino";
|
|
15
|
+
};
|
|
16
|
+
export declare const TipoOperacaoPessoaContaCorrente: {
|
|
17
|
+
DevolucaoVenda: string;
|
|
18
|
+
CompraNotaFiscal: string;
|
|
19
|
+
description(val: string): "enum not found" | "Compra" | "Devolução de Venda";
|
|
20
|
+
};
|
package/dist/people/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
|
|
4
|
-
exports.TipoEndereco = {
|
|
5
|
-
Residencial: '0',
|
|
6
|
-
Comercial: '1',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Residencial:
|
|
10
|
-
return 'Residencial';
|
|
11
|
-
case this.Comercial:
|
|
12
|
-
return 'Comercial';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.TipoPessoa = {
|
|
19
|
-
Fisico: '0',
|
|
20
|
-
Juridico: '1',
|
|
21
|
-
description(val) {
|
|
22
|
-
switch (val) {
|
|
23
|
-
case this.Fisico:
|
|
24
|
-
return 'Físico';
|
|
25
|
-
case this.Juridico:
|
|
26
|
-
return 'Jurídico';
|
|
27
|
-
default:
|
|
28
|
-
return 'enum not found';
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
exports.GeneroPessoa = {
|
|
33
|
-
Masculino: '0',
|
|
34
|
-
Feminino: '1',
|
|
35
|
-
description(val) {
|
|
36
|
-
switch (val) {
|
|
37
|
-
case this.Masculino:
|
|
38
|
-
return 'Masculino';
|
|
39
|
-
case this.Feminino:
|
|
40
|
-
return 'Feminino';
|
|
41
|
-
default:
|
|
42
|
-
return 'enum not found';
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
exports.TipoOperacaoPessoaContaCorrente = {
|
|
47
|
-
DevolucaoVenda: '0',
|
|
48
|
-
CompraNotaFiscal: '1',
|
|
49
|
-
description(val) {
|
|
50
|
-
switch (val) {
|
|
51
|
-
case this.DevolucaoVenda:
|
|
52
|
-
return 'Devolução de Venda';
|
|
53
|
-
case this.CompraNotaFiscal:
|
|
54
|
-
return 'Compra';
|
|
55
|
-
default:
|
|
56
|
-
return 'enum not found';
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
|
|
4
|
+
exports.TipoEndereco = {
|
|
5
|
+
Residencial: '0',
|
|
6
|
+
Comercial: '1',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Residencial:
|
|
10
|
+
return 'Residencial';
|
|
11
|
+
case this.Comercial:
|
|
12
|
+
return 'Comercial';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoPessoa = {
|
|
19
|
+
Fisico: '0',
|
|
20
|
+
Juridico: '1',
|
|
21
|
+
description(val) {
|
|
22
|
+
switch (val) {
|
|
23
|
+
case this.Fisico:
|
|
24
|
+
return 'Físico';
|
|
25
|
+
case this.Juridico:
|
|
26
|
+
return 'Jurídico';
|
|
27
|
+
default:
|
|
28
|
+
return 'enum not found';
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
exports.GeneroPessoa = {
|
|
33
|
+
Masculino: '0',
|
|
34
|
+
Feminino: '1',
|
|
35
|
+
description(val) {
|
|
36
|
+
switch (val) {
|
|
37
|
+
case this.Masculino:
|
|
38
|
+
return 'Masculino';
|
|
39
|
+
case this.Feminino:
|
|
40
|
+
return 'Feminino';
|
|
41
|
+
default:
|
|
42
|
+
return 'enum not found';
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
exports.TipoOperacaoPessoaContaCorrente = {
|
|
47
|
+
DevolucaoVenda: '0',
|
|
48
|
+
CompraNotaFiscal: '1',
|
|
49
|
+
description(val) {
|
|
50
|
+
switch (val) {
|
|
51
|
+
case this.DevolucaoVenda:
|
|
52
|
+
return 'Devolução de Venda';
|
|
53
|
+
case this.CompraNotaFiscal:
|
|
54
|
+
return 'Compra';
|
|
55
|
+
default:
|
|
56
|
+
return 'enum not found';
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -1,12 +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
|
-
};
|
|
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
|
+
};
|
package/dist/plataform/index.js
CHANGED
|
@@ -1,37 +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
|
-
};
|
|
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
|
+
};
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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
|
-
};
|
|
13
|
-
export declare const TipoConfiguracao: {
|
|
14
|
-
String: string;
|
|
15
|
-
Int: string;
|
|
16
|
-
Boolean: string;
|
|
17
|
-
description(val: string): "enum not found" | "String" | "Int" | "Boolean";
|
|
18
|
-
};
|
|
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
|
+
};
|
|
13
|
+
export declare const TipoConfiguracao: {
|
|
14
|
+
String: string;
|
|
15
|
+
Int: string;
|
|
16
|
+
Boolean: string;
|
|
17
|
+
description(val: string): "enum not found" | "String" | "Int" | "Boolean";
|
|
18
|
+
};
|