mdz-enum 1.2.8 → 1.2.9
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 +27 -27
- package/dist/checkout/index.js +80 -80
- package/dist/commercial/index.d.ts +162 -156
- package/dist/commercial/index.js +466 -449
- package/dist/common/index.d.ts +40 -40
- package/dist/common/index.js +117 -117
- package/dist/config/index.d.ts +117 -117
- package/dist/config/index.js +335 -335
- package/dist/finance/index.d.ts +113 -113
- package/dist/finance/index.js +327 -327
- package/dist/fiscal/index.d.ts +307 -307
- package/dist/fiscal/index.js +907 -907
- package/dist/functions.d.ts +4 -4
- package/dist/functions.js +37 -37
- package/dist/general/index.d.ts +73 -73
- package/dist/general/index.js +268 -268
- package/dist/index.d.ts +13 -13
- package/dist/index.js +150 -150
- package/dist/integration/index.d.ts +18 -18
- package/dist/integration/index.js +54 -54
- package/dist/logistics/index.d.ts +75 -75
- package/dist/logistics/index.js +220 -220
- package/dist/people/index.d.ts +22 -22
- package/dist/people/index.js +65 -65
- package/dist/platform/index.d.ts +45 -45
- package/dist/platform/index.js +131 -131
- package/dist/reports/index.d.ts +16 -16
- package/dist/reports/index.js +49 -49
- package/package.json +32 -33
- package/dist/plataform/index.d.ts +0 -12
- package/dist/plataform/index.js +0 -37
package/dist/people/index.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
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
|
-
EstornoSaldoUsado: '2',
|
|
50
|
-
EstornoSaldoGerado: '3',
|
|
51
|
-
description(val) {
|
|
52
|
-
switch (val) {
|
|
53
|
-
case this.DevolucaoVenda:
|
|
54
|
-
return 'Devolução de Venda';
|
|
55
|
-
case this.CompraNotaFiscal:
|
|
56
|
-
return 'Compra';
|
|
57
|
-
case this.EstornoSaldoUsado:
|
|
58
|
-
return 'Estorno de saldo usado';
|
|
59
|
-
case this.EstornoSaldoGerado:
|
|
60
|
-
return 'Estorno de Saldo Gerado';
|
|
61
|
-
default:
|
|
62
|
-
return 'enum not found';
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
};
|
|
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
|
+
EstornoSaldoUsado: '2',
|
|
50
|
+
EstornoSaldoGerado: '3',
|
|
51
|
+
description(val) {
|
|
52
|
+
switch (val) {
|
|
53
|
+
case this.DevolucaoVenda:
|
|
54
|
+
return 'Devolução de Venda';
|
|
55
|
+
case this.CompraNotaFiscal:
|
|
56
|
+
return 'Compra';
|
|
57
|
+
case this.EstornoSaldoUsado:
|
|
58
|
+
return 'Estorno de saldo usado';
|
|
59
|
+
case this.EstornoSaldoGerado:
|
|
60
|
+
return 'Estorno de Saldo Gerado';
|
|
61
|
+
default:
|
|
62
|
+
return 'enum not found';
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
};
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
export declare const SituacaoOrganizacao: {
|
|
2
|
-
Cancelado: string;
|
|
3
|
-
Ativo: string;
|
|
4
|
-
Bloqueado: string;
|
|
5
|
-
AtivacaoSolicitada: string;
|
|
6
|
-
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Ativacao Solicitada";
|
|
7
|
-
};
|
|
8
|
-
export declare const SituacaoAtivacao: {
|
|
9
|
-
Cancelado: string;
|
|
10
|
-
Ativo: string;
|
|
11
|
-
Bloqueado: string;
|
|
12
|
-
CancelamentoSolicitado: string;
|
|
13
|
-
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Cancelamento Solicitado";
|
|
14
|
-
};
|
|
15
|
-
export declare const TipoTicket: {
|
|
16
|
-
CancelamentoAplicativo: string;
|
|
17
|
-
CancelamentoOrganizacao: string;
|
|
18
|
-
AtivacaoAplicativo: string;
|
|
19
|
-
AtivacaoOrganizacao: string;
|
|
20
|
-
description(val: string): "enum not found" | "Cancelamento Aplicativo" | "Cancelamento Organização" | "Ativação Aplicativo" | "Ativação Organização";
|
|
21
|
-
};
|
|
22
|
-
export declare const SituacaoTicket: {
|
|
23
|
-
EmAberto: string;
|
|
24
|
-
EmAtendimento: string;
|
|
25
|
-
Concluido: string;
|
|
26
|
-
description(val: string): "enum not found" | "Em Aberto" | "Em Atendimento" | "Concluído";
|
|
27
|
-
};
|
|
28
|
-
export declare const TipoOrganizacao: {
|
|
29
|
-
Cliente: string;
|
|
30
|
-
Parceiro: string;
|
|
31
|
-
Entidade: string;
|
|
32
|
-
Franquia: string;
|
|
33
|
-
Principal: string;
|
|
34
|
-
description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro" | "Franquia" | "Principal";
|
|
35
|
-
};
|
|
36
|
-
export declare const TipoBanners: {
|
|
37
|
-
Desktop: string;
|
|
38
|
-
Mobile: string;
|
|
39
|
-
description(val: string): "enum not found" | "Desktop" | "Mobile";
|
|
40
|
-
};
|
|
41
|
-
export declare const EstruturaNegocio: {
|
|
42
|
-
Matriz: string;
|
|
43
|
-
Filial: string;
|
|
44
|
-
description(val: string): "enum not found" | "Filial" | "Matriz";
|
|
45
|
-
};
|
|
1
|
+
export declare const SituacaoOrganizacao: {
|
|
2
|
+
Cancelado: string;
|
|
3
|
+
Ativo: string;
|
|
4
|
+
Bloqueado: string;
|
|
5
|
+
AtivacaoSolicitada: string;
|
|
6
|
+
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Ativacao Solicitada";
|
|
7
|
+
};
|
|
8
|
+
export declare const SituacaoAtivacao: {
|
|
9
|
+
Cancelado: string;
|
|
10
|
+
Ativo: string;
|
|
11
|
+
Bloqueado: string;
|
|
12
|
+
CancelamentoSolicitado: string;
|
|
13
|
+
description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Cancelamento Solicitado";
|
|
14
|
+
};
|
|
15
|
+
export declare const TipoTicket: {
|
|
16
|
+
CancelamentoAplicativo: string;
|
|
17
|
+
CancelamentoOrganizacao: string;
|
|
18
|
+
AtivacaoAplicativo: string;
|
|
19
|
+
AtivacaoOrganizacao: string;
|
|
20
|
+
description(val: string): "enum not found" | "Cancelamento Aplicativo" | "Cancelamento Organização" | "Ativação Aplicativo" | "Ativação Organização";
|
|
21
|
+
};
|
|
22
|
+
export declare const SituacaoTicket: {
|
|
23
|
+
EmAberto: string;
|
|
24
|
+
EmAtendimento: string;
|
|
25
|
+
Concluido: string;
|
|
26
|
+
description(val: string): "enum not found" | "Em Aberto" | "Em Atendimento" | "Concluído";
|
|
27
|
+
};
|
|
28
|
+
export declare const TipoOrganizacao: {
|
|
29
|
+
Cliente: string;
|
|
30
|
+
Parceiro: string;
|
|
31
|
+
Entidade: string;
|
|
32
|
+
Franquia: string;
|
|
33
|
+
Principal: string;
|
|
34
|
+
description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro" | "Franquia" | "Principal";
|
|
35
|
+
};
|
|
36
|
+
export declare const TipoBanners: {
|
|
37
|
+
Desktop: string;
|
|
38
|
+
Mobile: string;
|
|
39
|
+
description(val: string): "enum not found" | "Desktop" | "Mobile";
|
|
40
|
+
};
|
|
41
|
+
export declare const EstruturaNegocio: {
|
|
42
|
+
Matriz: string;
|
|
43
|
+
Filial: string;
|
|
44
|
+
description(val: string): "enum not found" | "Filial" | "Matriz";
|
|
45
|
+
};
|
package/dist/platform/index.js
CHANGED
|
@@ -1,131 +1,131 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EstruturaNegocio = exports.TipoBanners = exports.TipoOrganizacao = exports.SituacaoTicket = exports.TipoTicket = exports.SituacaoAtivacao = exports.SituacaoOrganizacao = void 0;
|
|
4
|
-
exports.SituacaoOrganizacao = {
|
|
5
|
-
Cancelado: '0',
|
|
6
|
-
Ativo: '1',
|
|
7
|
-
Bloqueado: '2',
|
|
8
|
-
AtivacaoSolicitada: '3',
|
|
9
|
-
description(val) {
|
|
10
|
-
switch (val) {
|
|
11
|
-
case this.Ativo:
|
|
12
|
-
return 'Ativo';
|
|
13
|
-
case this.Bloqueado:
|
|
14
|
-
return 'Bloqueado';
|
|
15
|
-
case this.Cancelado:
|
|
16
|
-
return 'Cancelado';
|
|
17
|
-
case this.AtivacaoSolicitada:
|
|
18
|
-
return 'Ativacao Solicitada';
|
|
19
|
-
default:
|
|
20
|
-
return 'enum not found';
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
exports.SituacaoAtivacao = {
|
|
25
|
-
Cancelado: '0',
|
|
26
|
-
Ativo: '1',
|
|
27
|
-
Bloqueado: '2',
|
|
28
|
-
CancelamentoSolicitado: '3',
|
|
29
|
-
description(val) {
|
|
30
|
-
switch (val) {
|
|
31
|
-
case this.Ativo:
|
|
32
|
-
return 'Ativo';
|
|
33
|
-
case this.Bloqueado:
|
|
34
|
-
return 'Bloqueado';
|
|
35
|
-
case this.Cancelado:
|
|
36
|
-
return 'Cancelado';
|
|
37
|
-
case this.CancelamentoSolicitado:
|
|
38
|
-
return 'Cancelamento Solicitado';
|
|
39
|
-
default:
|
|
40
|
-
return 'enum not found';
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
exports.TipoTicket = {
|
|
45
|
-
CancelamentoAplicativo: '1',
|
|
46
|
-
CancelamentoOrganizacao: '2',
|
|
47
|
-
AtivacaoAplicativo: '3',
|
|
48
|
-
AtivacaoOrganizacao: '4',
|
|
49
|
-
description(val) {
|
|
50
|
-
switch (val) {
|
|
51
|
-
case this.CancelamentoAplicativo:
|
|
52
|
-
return 'Cancelamento Aplicativo';
|
|
53
|
-
case this.CancelamentoOrganizacao:
|
|
54
|
-
return 'Cancelamento Organização';
|
|
55
|
-
case this.AtivacaoAplicativo:
|
|
56
|
-
return 'Ativação Aplicativo';
|
|
57
|
-
case this.AtivacaoOrganizacao:
|
|
58
|
-
return 'Ativação Organização';
|
|
59
|
-
default:
|
|
60
|
-
return 'enum not found';
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
exports.SituacaoTicket = {
|
|
65
|
-
EmAberto: '0',
|
|
66
|
-
EmAtendimento: '1',
|
|
67
|
-
Concluido: '2',
|
|
68
|
-
description(val) {
|
|
69
|
-
switch (val) {
|
|
70
|
-
case this.EmAberto:
|
|
71
|
-
return 'Em Aberto';
|
|
72
|
-
case this.EmAtendimento:
|
|
73
|
-
return 'Em Atendimento';
|
|
74
|
-
case this.Concluido:
|
|
75
|
-
return 'Concluído';
|
|
76
|
-
default:
|
|
77
|
-
return 'enum not found';
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
exports.TipoOrganizacao = {
|
|
82
|
-
Cliente: '1',
|
|
83
|
-
Parceiro: '2',
|
|
84
|
-
Entidade: '3',
|
|
85
|
-
Franquia: '4',
|
|
86
|
-
Principal: '5',
|
|
87
|
-
description(val) {
|
|
88
|
-
switch (val) {
|
|
89
|
-
case this.Cliente:
|
|
90
|
-
return 'Cliente';
|
|
91
|
-
case this.Entidade:
|
|
92
|
-
return 'Entidade';
|
|
93
|
-
case this.Parceiro:
|
|
94
|
-
return 'Parceiro';
|
|
95
|
-
case this.Franquia:
|
|
96
|
-
return 'Franquia';
|
|
97
|
-
case this.Principal:
|
|
98
|
-
return 'Principal';
|
|
99
|
-
default:
|
|
100
|
-
return 'enum not found';
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
};
|
|
104
|
-
exports.TipoBanners = {
|
|
105
|
-
Desktop: '1',
|
|
106
|
-
Mobile: '2',
|
|
107
|
-
description(val) {
|
|
108
|
-
switch (val) {
|
|
109
|
-
case this.Desktop:
|
|
110
|
-
return 'Desktop';
|
|
111
|
-
case this.Mobile:
|
|
112
|
-
return 'Mobile';
|
|
113
|
-
default:
|
|
114
|
-
return 'enum not found';
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
};
|
|
118
|
-
exports.EstruturaNegocio = {
|
|
119
|
-
Matriz: '0',
|
|
120
|
-
Filial: '1',
|
|
121
|
-
description(val) {
|
|
122
|
-
switch (val) {
|
|
123
|
-
case this.Matriz:
|
|
124
|
-
return 'Matriz';
|
|
125
|
-
case this.Filial:
|
|
126
|
-
return 'Filial';
|
|
127
|
-
default:
|
|
128
|
-
return 'enum not found';
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EstruturaNegocio = exports.TipoBanners = exports.TipoOrganizacao = exports.SituacaoTicket = exports.TipoTicket = exports.SituacaoAtivacao = exports.SituacaoOrganizacao = void 0;
|
|
4
|
+
exports.SituacaoOrganizacao = {
|
|
5
|
+
Cancelado: '0',
|
|
6
|
+
Ativo: '1',
|
|
7
|
+
Bloqueado: '2',
|
|
8
|
+
AtivacaoSolicitada: '3',
|
|
9
|
+
description(val) {
|
|
10
|
+
switch (val) {
|
|
11
|
+
case this.Ativo:
|
|
12
|
+
return 'Ativo';
|
|
13
|
+
case this.Bloqueado:
|
|
14
|
+
return 'Bloqueado';
|
|
15
|
+
case this.Cancelado:
|
|
16
|
+
return 'Cancelado';
|
|
17
|
+
case this.AtivacaoSolicitada:
|
|
18
|
+
return 'Ativacao Solicitada';
|
|
19
|
+
default:
|
|
20
|
+
return 'enum not found';
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
exports.SituacaoAtivacao = {
|
|
25
|
+
Cancelado: '0',
|
|
26
|
+
Ativo: '1',
|
|
27
|
+
Bloqueado: '2',
|
|
28
|
+
CancelamentoSolicitado: '3',
|
|
29
|
+
description(val) {
|
|
30
|
+
switch (val) {
|
|
31
|
+
case this.Ativo:
|
|
32
|
+
return 'Ativo';
|
|
33
|
+
case this.Bloqueado:
|
|
34
|
+
return 'Bloqueado';
|
|
35
|
+
case this.Cancelado:
|
|
36
|
+
return 'Cancelado';
|
|
37
|
+
case this.CancelamentoSolicitado:
|
|
38
|
+
return 'Cancelamento Solicitado';
|
|
39
|
+
default:
|
|
40
|
+
return 'enum not found';
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
exports.TipoTicket = {
|
|
45
|
+
CancelamentoAplicativo: '1',
|
|
46
|
+
CancelamentoOrganizacao: '2',
|
|
47
|
+
AtivacaoAplicativo: '3',
|
|
48
|
+
AtivacaoOrganizacao: '4',
|
|
49
|
+
description(val) {
|
|
50
|
+
switch (val) {
|
|
51
|
+
case this.CancelamentoAplicativo:
|
|
52
|
+
return 'Cancelamento Aplicativo';
|
|
53
|
+
case this.CancelamentoOrganizacao:
|
|
54
|
+
return 'Cancelamento Organização';
|
|
55
|
+
case this.AtivacaoAplicativo:
|
|
56
|
+
return 'Ativação Aplicativo';
|
|
57
|
+
case this.AtivacaoOrganizacao:
|
|
58
|
+
return 'Ativação Organização';
|
|
59
|
+
default:
|
|
60
|
+
return 'enum not found';
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
exports.SituacaoTicket = {
|
|
65
|
+
EmAberto: '0',
|
|
66
|
+
EmAtendimento: '1',
|
|
67
|
+
Concluido: '2',
|
|
68
|
+
description(val) {
|
|
69
|
+
switch (val) {
|
|
70
|
+
case this.EmAberto:
|
|
71
|
+
return 'Em Aberto';
|
|
72
|
+
case this.EmAtendimento:
|
|
73
|
+
return 'Em Atendimento';
|
|
74
|
+
case this.Concluido:
|
|
75
|
+
return 'Concluído';
|
|
76
|
+
default:
|
|
77
|
+
return 'enum not found';
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
exports.TipoOrganizacao = {
|
|
82
|
+
Cliente: '1',
|
|
83
|
+
Parceiro: '2',
|
|
84
|
+
Entidade: '3',
|
|
85
|
+
Franquia: '4',
|
|
86
|
+
Principal: '5',
|
|
87
|
+
description(val) {
|
|
88
|
+
switch (val) {
|
|
89
|
+
case this.Cliente:
|
|
90
|
+
return 'Cliente';
|
|
91
|
+
case this.Entidade:
|
|
92
|
+
return 'Entidade';
|
|
93
|
+
case this.Parceiro:
|
|
94
|
+
return 'Parceiro';
|
|
95
|
+
case this.Franquia:
|
|
96
|
+
return 'Franquia';
|
|
97
|
+
case this.Principal:
|
|
98
|
+
return 'Principal';
|
|
99
|
+
default:
|
|
100
|
+
return 'enum not found';
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
exports.TipoBanners = {
|
|
105
|
+
Desktop: '1',
|
|
106
|
+
Mobile: '2',
|
|
107
|
+
description(val) {
|
|
108
|
+
switch (val) {
|
|
109
|
+
case this.Desktop:
|
|
110
|
+
return 'Desktop';
|
|
111
|
+
case this.Mobile:
|
|
112
|
+
return 'Mobile';
|
|
113
|
+
default:
|
|
114
|
+
return 'enum not found';
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
exports.EstruturaNegocio = {
|
|
119
|
+
Matriz: '0',
|
|
120
|
+
Filial: '1',
|
|
121
|
+
description(val) {
|
|
122
|
+
switch (val) {
|
|
123
|
+
case this.Matriz:
|
|
124
|
+
return 'Matriz';
|
|
125
|
+
case this.Filial:
|
|
126
|
+
return 'Filial';
|
|
127
|
+
default:
|
|
128
|
+
return 'enum not found';
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
};
|
package/dist/reports/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const TipoRelatorio: {
|
|
2
|
-
Resumido: string;
|
|
3
|
-
Detalhado: string;
|
|
4
|
-
description(val: string): "enum not found" | "Resumido" | "Detalhado";
|
|
5
|
-
};
|
|
6
|
-
export declare const AgrupamentoRelatorio: {
|
|
7
|
-
Cliente: string;
|
|
8
|
-
Data: string;
|
|
9
|
-
Produto: string;
|
|
10
|
-
Documento: string;
|
|
11
|
-
Vendedor: string;
|
|
12
|
-
Categoria: string;
|
|
13
|
-
Marca: string;
|
|
14
|
-
Filial: string;
|
|
15
|
-
description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial";
|
|
16
|
-
};
|
|
1
|
+
export declare const TipoRelatorio: {
|
|
2
|
+
Resumido: string;
|
|
3
|
+
Detalhado: string;
|
|
4
|
+
description(val: string): "enum not found" | "Resumido" | "Detalhado";
|
|
5
|
+
};
|
|
6
|
+
export declare const AgrupamentoRelatorio: {
|
|
7
|
+
Cliente: string;
|
|
8
|
+
Data: string;
|
|
9
|
+
Produto: string;
|
|
10
|
+
Documento: string;
|
|
11
|
+
Vendedor: string;
|
|
12
|
+
Categoria: string;
|
|
13
|
+
Marca: string;
|
|
14
|
+
Filial: string;
|
|
15
|
+
description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial";
|
|
16
|
+
};
|
package/dist/reports/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
|
|
4
|
-
exports.TipoRelatorio = {
|
|
5
|
-
Resumido: '1',
|
|
6
|
-
Detalhado: '2',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Resumido:
|
|
10
|
-
return 'Resumido';
|
|
11
|
-
case this.Detalhado:
|
|
12
|
-
return 'Detalhado';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.AgrupamentoRelatorio = {
|
|
19
|
-
Cliente: '1',
|
|
20
|
-
Data: '2',
|
|
21
|
-
Produto: '3',
|
|
22
|
-
Documento: '4',
|
|
23
|
-
Vendedor: '5',
|
|
24
|
-
Categoria: '6',
|
|
25
|
-
Marca: '7',
|
|
26
|
-
Filial: '8',
|
|
27
|
-
description(val) {
|
|
28
|
-
switch (val) {
|
|
29
|
-
case this.Cliente:
|
|
30
|
-
return 'Cliente';
|
|
31
|
-
case this.Data:
|
|
32
|
-
return 'Data';
|
|
33
|
-
case this.Produto:
|
|
34
|
-
return 'Produto';
|
|
35
|
-
case this.Documento:
|
|
36
|
-
return 'Documento';
|
|
37
|
-
case this.Vendedor:
|
|
38
|
-
return 'Vendedor';
|
|
39
|
-
case this.Categoria:
|
|
40
|
-
return 'Categoria';
|
|
41
|
-
case this.Marca:
|
|
42
|
-
return 'Marca';
|
|
43
|
-
case this.Filial:
|
|
44
|
-
return 'Filial';
|
|
45
|
-
default:
|
|
46
|
-
return 'enum not found';
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
|
|
4
|
+
exports.TipoRelatorio = {
|
|
5
|
+
Resumido: '1',
|
|
6
|
+
Detalhado: '2',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Resumido:
|
|
10
|
+
return 'Resumido';
|
|
11
|
+
case this.Detalhado:
|
|
12
|
+
return 'Detalhado';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.AgrupamentoRelatorio = {
|
|
19
|
+
Cliente: '1',
|
|
20
|
+
Data: '2',
|
|
21
|
+
Produto: '3',
|
|
22
|
+
Documento: '4',
|
|
23
|
+
Vendedor: '5',
|
|
24
|
+
Categoria: '6',
|
|
25
|
+
Marca: '7',
|
|
26
|
+
Filial: '8',
|
|
27
|
+
description(val) {
|
|
28
|
+
switch (val) {
|
|
29
|
+
case this.Cliente:
|
|
30
|
+
return 'Cliente';
|
|
31
|
+
case this.Data:
|
|
32
|
+
return 'Data';
|
|
33
|
+
case this.Produto:
|
|
34
|
+
return 'Produto';
|
|
35
|
+
case this.Documento:
|
|
36
|
+
return 'Documento';
|
|
37
|
+
case this.Vendedor:
|
|
38
|
+
return 'Vendedor';
|
|
39
|
+
case this.Categoria:
|
|
40
|
+
return 'Categoria';
|
|
41
|
+
case this.Marca:
|
|
42
|
+
return 'Marca';
|
|
43
|
+
case this.Filial:
|
|
44
|
+
return 'Filial';
|
|
45
|
+
default:
|
|
46
|
+
return 'enum not found';
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
};
|