mdz-enum 1.2.39 → 1.2.40
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 -162
- package/dist/commercial/index.js +466 -466
- package/dist/common/index.d.ts +42 -42
- package/dist/common/index.js +123 -123
- package/dist/config/index.d.ts +119 -119
- package/dist/config/index.js +341 -341
- package/dist/finance/index.d.ts +113 -113
- package/dist/finance/index.js +327 -327
- package/dist/fiscal/index.d.ts +313 -308
- package/dist/fiscal/index.js +924 -910
- 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 +165 -164
- package/dist/integration/index.d.ts +18 -18
- package/dist/integration/index.js +54 -54
- package/dist/logistics/index.d.ts +107 -107
- package/dist/logistics/index.js +311 -311
- package/dist/people/index.d.ts +22 -22
- package/dist/people/index.js +65 -65
- package/dist/platform/index.d.ts +102 -102
- package/dist/platform/index.js +295 -295
- package/dist/reports/index.d.ts +29 -29
- package/dist/reports/index.js +87 -87
- package/package.json +32 -33
- package/dist/plataform/index.d.ts +0 -12
- package/dist/plataform/index.js +0 -37
package/dist/platform/index.js
CHANGED
|
@@ -1,295 +1,295 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = exports.SituacaoUsuarios = exports.SituacaoPlanos = exports.SituacaoAplicativo = 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
|
-
CancelamentoSolicitado: '4',
|
|
10
|
-
description(val) {
|
|
11
|
-
switch (val) {
|
|
12
|
-
case this.Ativo:
|
|
13
|
-
return 'Ativo';
|
|
14
|
-
case this.Bloqueado:
|
|
15
|
-
return 'Bloqueado';
|
|
16
|
-
case this.Cancelado:
|
|
17
|
-
return 'Cancelado';
|
|
18
|
-
case this.AtivacaoSolicitada:
|
|
19
|
-
return 'Ativacao Solicitada';
|
|
20
|
-
case this.CancelamentoSolicitado:
|
|
21
|
-
return 'Cancelamento Solicitado';
|
|
22
|
-
default:
|
|
23
|
-
return 'enum not found';
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
exports.SituacaoAtivacao = {
|
|
28
|
-
Cancelado: '0',
|
|
29
|
-
Ativo: '1',
|
|
30
|
-
Bloqueado: '2',
|
|
31
|
-
CancelamentoSolicitado: '3',
|
|
32
|
-
description(val) {
|
|
33
|
-
switch (val) {
|
|
34
|
-
case this.Ativo:
|
|
35
|
-
return 'Ativo';
|
|
36
|
-
case this.Bloqueado:
|
|
37
|
-
return 'Bloqueado';
|
|
38
|
-
case this.Cancelado:
|
|
39
|
-
return 'Cancelado';
|
|
40
|
-
case this.CancelamentoSolicitado:
|
|
41
|
-
return 'Cancelamento Solicitado';
|
|
42
|
-
default:
|
|
43
|
-
return 'enum not found';
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
exports.TipoTicket = {
|
|
48
|
-
CancelamentoAplicativo: '1',
|
|
49
|
-
CancelamentoOrganizacao: '2',
|
|
50
|
-
AtivacaoAplicativo: '3',
|
|
51
|
-
AtivacaoOrganizacao: '4',
|
|
52
|
-
description(val) {
|
|
53
|
-
switch (val) {
|
|
54
|
-
case this.CancelamentoAplicativo:
|
|
55
|
-
return 'Cancelamento Aplicativo';
|
|
56
|
-
case this.CancelamentoOrganizacao:
|
|
57
|
-
return 'Cancelamento Organização';
|
|
58
|
-
case this.AtivacaoAplicativo:
|
|
59
|
-
return 'Ativação Aplicativo';
|
|
60
|
-
case this.AtivacaoOrganizacao:
|
|
61
|
-
return 'Ativação Organização';
|
|
62
|
-
default:
|
|
63
|
-
return 'enum not found';
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
exports.SituacaoTicket = {
|
|
68
|
-
EmAberto: '0',
|
|
69
|
-
EmAtendimento: '1',
|
|
70
|
-
Concluido: '2',
|
|
71
|
-
description(val) {
|
|
72
|
-
switch (val) {
|
|
73
|
-
case this.EmAberto:
|
|
74
|
-
return 'Em Aberto';
|
|
75
|
-
case this.EmAtendimento:
|
|
76
|
-
return 'Em Atendimento';
|
|
77
|
-
case this.Concluido:
|
|
78
|
-
return 'Concluído';
|
|
79
|
-
default:
|
|
80
|
-
return 'enum not found';
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
};
|
|
84
|
-
exports.TipoOrganizacao = {
|
|
85
|
-
Cliente: '1',
|
|
86
|
-
Parceiro: '2',
|
|
87
|
-
Entidade: '3',
|
|
88
|
-
Franquia: '4',
|
|
89
|
-
Principal: '5',
|
|
90
|
-
description(val) {
|
|
91
|
-
switch (val) {
|
|
92
|
-
case this.Cliente:
|
|
93
|
-
return 'Cliente';
|
|
94
|
-
case this.Entidade:
|
|
95
|
-
return 'Entidade';
|
|
96
|
-
case this.Parceiro:
|
|
97
|
-
return 'Parceiro';
|
|
98
|
-
case this.Franquia:
|
|
99
|
-
return 'Franquia';
|
|
100
|
-
case this.Principal:
|
|
101
|
-
return 'Principal';
|
|
102
|
-
default:
|
|
103
|
-
return 'enum not found';
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
};
|
|
107
|
-
exports.TipoBanners = {
|
|
108
|
-
Desktop: '1',
|
|
109
|
-
Mobile: '2',
|
|
110
|
-
description(val) {
|
|
111
|
-
switch (val) {
|
|
112
|
-
case this.Desktop:
|
|
113
|
-
return 'Desktop';
|
|
114
|
-
case this.Mobile:
|
|
115
|
-
return 'Mobile';
|
|
116
|
-
default:
|
|
117
|
-
return 'enum not found';
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
};
|
|
121
|
-
exports.EstruturaNegocio = {
|
|
122
|
-
Matriz: '0',
|
|
123
|
-
Filial: '1',
|
|
124
|
-
description(val) {
|
|
125
|
-
switch (val) {
|
|
126
|
-
case this.Matriz:
|
|
127
|
-
return 'Matriz';
|
|
128
|
-
case this.Filial:
|
|
129
|
-
return 'Filial';
|
|
130
|
-
default:
|
|
131
|
-
return 'enum not found';
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
};
|
|
135
|
-
exports.SituacaoAplicativo = {
|
|
136
|
-
Inativo: '0',
|
|
137
|
-
Ativo: '1',
|
|
138
|
-
description(val) {
|
|
139
|
-
switch (val) {
|
|
140
|
-
case this.Inativo:
|
|
141
|
-
return 'Inativo';
|
|
142
|
-
case this.Ativo:
|
|
143
|
-
return 'Ativo';
|
|
144
|
-
default:
|
|
145
|
-
return 'enum not found';
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
};
|
|
149
|
-
exports.SituacaoPlanos = {
|
|
150
|
-
Inativo: '0',
|
|
151
|
-
Ativo: '1',
|
|
152
|
-
description(val) {
|
|
153
|
-
switch (val) {
|
|
154
|
-
case this.Inativo:
|
|
155
|
-
return 'Inativo';
|
|
156
|
-
case this.Ativo:
|
|
157
|
-
return 'Ativo';
|
|
158
|
-
default:
|
|
159
|
-
return 'enum not found';
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
};
|
|
163
|
-
exports.SituacaoUsuarios = {
|
|
164
|
-
Inativo: '0',
|
|
165
|
-
Ativo: '1',
|
|
166
|
-
description(val) {
|
|
167
|
-
switch (val) {
|
|
168
|
-
case this.Inativo:
|
|
169
|
-
return 'Inativo';
|
|
170
|
-
case this.Ativo:
|
|
171
|
-
return 'Ativo';
|
|
172
|
-
default:
|
|
173
|
-
return 'enum not found';
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
};
|
|
177
|
-
exports.Segmento = {
|
|
178
|
-
Produtos_Alimenticios: '0',
|
|
179
|
-
Vestuario: '1',
|
|
180
|
-
Material_de_construçao: '2',
|
|
181
|
-
Mercado: '3',
|
|
182
|
-
Informatica: '4',
|
|
183
|
-
Auto_pecas: '5',
|
|
184
|
-
Pet: '6',
|
|
185
|
-
Bebidas: '7',
|
|
186
|
-
Veiculos: '8',
|
|
187
|
-
Moveis: '9',
|
|
188
|
-
Cosmeticos: '10',
|
|
189
|
-
Material_Para_Escritorio: '11',
|
|
190
|
-
Tecido: '12',
|
|
191
|
-
Eletrodomesticos: '13',
|
|
192
|
-
Calcado: '14',
|
|
193
|
-
Combustiveis_e_lubrificantes: '15',
|
|
194
|
-
Artigos_Medicos: '16',
|
|
195
|
-
Livraria: '17',
|
|
196
|
-
Motocicleta: '18',
|
|
197
|
-
Artigos_Farmaceuticos: '19',
|
|
198
|
-
Artigos_Ortopedicos: '20',
|
|
199
|
-
description(val) {
|
|
200
|
-
switch (val) {
|
|
201
|
-
case this.Produtos_Alimenticios:
|
|
202
|
-
return 'Produtos alimentícios';
|
|
203
|
-
case this.Vestuario:
|
|
204
|
-
return 'Vestuário';
|
|
205
|
-
case this.Material_de_construçao:
|
|
206
|
-
return 'Material de construção';
|
|
207
|
-
case this.Mercado:
|
|
208
|
-
return 'Hipermercado, supermercado';
|
|
209
|
-
case this.Informatica:
|
|
210
|
-
return 'Informática e computação';
|
|
211
|
-
case this.Auto_pecas:
|
|
212
|
-
return 'Auto peças';
|
|
213
|
-
case this.Pet:
|
|
214
|
-
return 'Pet';
|
|
215
|
-
case this.Bebidas:
|
|
216
|
-
return 'Bebidas';
|
|
217
|
-
case this.Veiculos:
|
|
218
|
-
return 'Veículos';
|
|
219
|
-
case this.Moveis:
|
|
220
|
-
return 'Móveis';
|
|
221
|
-
case this.Cosmeticos:
|
|
222
|
-
return 'Perfumaria e cosmético';
|
|
223
|
-
case this.Material_Para_Escritorio:
|
|
224
|
-
return 'Material para escritório';
|
|
225
|
-
case this.Tecido:
|
|
226
|
-
return 'Tecido';
|
|
227
|
-
case this.Eletrodomesticos:
|
|
228
|
-
return 'Eletrodomésticos';
|
|
229
|
-
case this.Calcado:
|
|
230
|
-
return 'Calçado';
|
|
231
|
-
case this.Combustiveis_e_lubrificantes:
|
|
232
|
-
return 'Combustíveis e lubrificantes';
|
|
233
|
-
case this.Artigos_Medicos:
|
|
234
|
-
return 'Artigos médicos';
|
|
235
|
-
case this.Livraria:
|
|
236
|
-
return 'Livraria';
|
|
237
|
-
case this.Motocicleta:
|
|
238
|
-
return 'Motocicleta';
|
|
239
|
-
case this.Artigos_Farmaceuticos:
|
|
240
|
-
return 'Artigos Farmacêuticos - Farmácia';
|
|
241
|
-
case this.Artigos_Ortopedicos:
|
|
242
|
-
return 'Artigos ortopédicos';
|
|
243
|
-
default:
|
|
244
|
-
return 'enum not found';
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
};
|
|
248
|
-
exports.Perfis = {
|
|
249
|
-
Administrador: '0',
|
|
250
|
-
Suporte: '1',
|
|
251
|
-
Financeiro: '2',
|
|
252
|
-
Comercial: '3',
|
|
253
|
-
description(val) {
|
|
254
|
-
switch (val) {
|
|
255
|
-
case this.Administrador:
|
|
256
|
-
return 'Administrador';
|
|
257
|
-
case this.Suporte:
|
|
258
|
-
return 'Suporte';
|
|
259
|
-
case this.Financeiro:
|
|
260
|
-
return 'Financeiro';
|
|
261
|
-
case this.Comercial:
|
|
262
|
-
return 'Comercial';
|
|
263
|
-
default:
|
|
264
|
-
return 'enum not found';
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
};
|
|
268
|
-
exports.TipoRequisicao = {
|
|
269
|
-
Cobranca: '1',
|
|
270
|
-
description(val) {
|
|
271
|
-
switch (val) {
|
|
272
|
-
case this.Cobranca:
|
|
273
|
-
return 'Cobrança';
|
|
274
|
-
default:
|
|
275
|
-
return 'enum not found';
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
};
|
|
279
|
-
exports.SituacaoRequisicao = {
|
|
280
|
-
Pendente: '1',
|
|
281
|
-
EmAndamento: '2',
|
|
282
|
-
Finalizada: '3',
|
|
283
|
-
description(val) {
|
|
284
|
-
switch (val) {
|
|
285
|
-
case this.Pendente:
|
|
286
|
-
return 'Pendente';
|
|
287
|
-
case this.EmAndamento:
|
|
288
|
-
return 'Em andamento';
|
|
289
|
-
case this.Finalizada:
|
|
290
|
-
return 'Finalizada';
|
|
291
|
-
default:
|
|
292
|
-
return 'enum not found';
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = exports.SituacaoUsuarios = exports.SituacaoPlanos = exports.SituacaoAplicativo = 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
|
+
CancelamentoSolicitado: '4',
|
|
10
|
+
description(val) {
|
|
11
|
+
switch (val) {
|
|
12
|
+
case this.Ativo:
|
|
13
|
+
return 'Ativo';
|
|
14
|
+
case this.Bloqueado:
|
|
15
|
+
return 'Bloqueado';
|
|
16
|
+
case this.Cancelado:
|
|
17
|
+
return 'Cancelado';
|
|
18
|
+
case this.AtivacaoSolicitada:
|
|
19
|
+
return 'Ativacao Solicitada';
|
|
20
|
+
case this.CancelamentoSolicitado:
|
|
21
|
+
return 'Cancelamento Solicitado';
|
|
22
|
+
default:
|
|
23
|
+
return 'enum not found';
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
exports.SituacaoAtivacao = {
|
|
28
|
+
Cancelado: '0',
|
|
29
|
+
Ativo: '1',
|
|
30
|
+
Bloqueado: '2',
|
|
31
|
+
CancelamentoSolicitado: '3',
|
|
32
|
+
description(val) {
|
|
33
|
+
switch (val) {
|
|
34
|
+
case this.Ativo:
|
|
35
|
+
return 'Ativo';
|
|
36
|
+
case this.Bloqueado:
|
|
37
|
+
return 'Bloqueado';
|
|
38
|
+
case this.Cancelado:
|
|
39
|
+
return 'Cancelado';
|
|
40
|
+
case this.CancelamentoSolicitado:
|
|
41
|
+
return 'Cancelamento Solicitado';
|
|
42
|
+
default:
|
|
43
|
+
return 'enum not found';
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
exports.TipoTicket = {
|
|
48
|
+
CancelamentoAplicativo: '1',
|
|
49
|
+
CancelamentoOrganizacao: '2',
|
|
50
|
+
AtivacaoAplicativo: '3',
|
|
51
|
+
AtivacaoOrganizacao: '4',
|
|
52
|
+
description(val) {
|
|
53
|
+
switch (val) {
|
|
54
|
+
case this.CancelamentoAplicativo:
|
|
55
|
+
return 'Cancelamento Aplicativo';
|
|
56
|
+
case this.CancelamentoOrganizacao:
|
|
57
|
+
return 'Cancelamento Organização';
|
|
58
|
+
case this.AtivacaoAplicativo:
|
|
59
|
+
return 'Ativação Aplicativo';
|
|
60
|
+
case this.AtivacaoOrganizacao:
|
|
61
|
+
return 'Ativação Organização';
|
|
62
|
+
default:
|
|
63
|
+
return 'enum not found';
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
exports.SituacaoTicket = {
|
|
68
|
+
EmAberto: '0',
|
|
69
|
+
EmAtendimento: '1',
|
|
70
|
+
Concluido: '2',
|
|
71
|
+
description(val) {
|
|
72
|
+
switch (val) {
|
|
73
|
+
case this.EmAberto:
|
|
74
|
+
return 'Em Aberto';
|
|
75
|
+
case this.EmAtendimento:
|
|
76
|
+
return 'Em Atendimento';
|
|
77
|
+
case this.Concluido:
|
|
78
|
+
return 'Concluído';
|
|
79
|
+
default:
|
|
80
|
+
return 'enum not found';
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
exports.TipoOrganizacao = {
|
|
85
|
+
Cliente: '1',
|
|
86
|
+
Parceiro: '2',
|
|
87
|
+
Entidade: '3',
|
|
88
|
+
Franquia: '4',
|
|
89
|
+
Principal: '5',
|
|
90
|
+
description(val) {
|
|
91
|
+
switch (val) {
|
|
92
|
+
case this.Cliente:
|
|
93
|
+
return 'Cliente';
|
|
94
|
+
case this.Entidade:
|
|
95
|
+
return 'Entidade';
|
|
96
|
+
case this.Parceiro:
|
|
97
|
+
return 'Parceiro';
|
|
98
|
+
case this.Franquia:
|
|
99
|
+
return 'Franquia';
|
|
100
|
+
case this.Principal:
|
|
101
|
+
return 'Principal';
|
|
102
|
+
default:
|
|
103
|
+
return 'enum not found';
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
exports.TipoBanners = {
|
|
108
|
+
Desktop: '1',
|
|
109
|
+
Mobile: '2',
|
|
110
|
+
description(val) {
|
|
111
|
+
switch (val) {
|
|
112
|
+
case this.Desktop:
|
|
113
|
+
return 'Desktop';
|
|
114
|
+
case this.Mobile:
|
|
115
|
+
return 'Mobile';
|
|
116
|
+
default:
|
|
117
|
+
return 'enum not found';
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
exports.EstruturaNegocio = {
|
|
122
|
+
Matriz: '0',
|
|
123
|
+
Filial: '1',
|
|
124
|
+
description(val) {
|
|
125
|
+
switch (val) {
|
|
126
|
+
case this.Matriz:
|
|
127
|
+
return 'Matriz';
|
|
128
|
+
case this.Filial:
|
|
129
|
+
return 'Filial';
|
|
130
|
+
default:
|
|
131
|
+
return 'enum not found';
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
exports.SituacaoAplicativo = {
|
|
136
|
+
Inativo: '0',
|
|
137
|
+
Ativo: '1',
|
|
138
|
+
description(val) {
|
|
139
|
+
switch (val) {
|
|
140
|
+
case this.Inativo:
|
|
141
|
+
return 'Inativo';
|
|
142
|
+
case this.Ativo:
|
|
143
|
+
return 'Ativo';
|
|
144
|
+
default:
|
|
145
|
+
return 'enum not found';
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
exports.SituacaoPlanos = {
|
|
150
|
+
Inativo: '0',
|
|
151
|
+
Ativo: '1',
|
|
152
|
+
description(val) {
|
|
153
|
+
switch (val) {
|
|
154
|
+
case this.Inativo:
|
|
155
|
+
return 'Inativo';
|
|
156
|
+
case this.Ativo:
|
|
157
|
+
return 'Ativo';
|
|
158
|
+
default:
|
|
159
|
+
return 'enum not found';
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
exports.SituacaoUsuarios = {
|
|
164
|
+
Inativo: '0',
|
|
165
|
+
Ativo: '1',
|
|
166
|
+
description(val) {
|
|
167
|
+
switch (val) {
|
|
168
|
+
case this.Inativo:
|
|
169
|
+
return 'Inativo';
|
|
170
|
+
case this.Ativo:
|
|
171
|
+
return 'Ativo';
|
|
172
|
+
default:
|
|
173
|
+
return 'enum not found';
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
exports.Segmento = {
|
|
178
|
+
Produtos_Alimenticios: '0',
|
|
179
|
+
Vestuario: '1',
|
|
180
|
+
Material_de_construçao: '2',
|
|
181
|
+
Mercado: '3',
|
|
182
|
+
Informatica: '4',
|
|
183
|
+
Auto_pecas: '5',
|
|
184
|
+
Pet: '6',
|
|
185
|
+
Bebidas: '7',
|
|
186
|
+
Veiculos: '8',
|
|
187
|
+
Moveis: '9',
|
|
188
|
+
Cosmeticos: '10',
|
|
189
|
+
Material_Para_Escritorio: '11',
|
|
190
|
+
Tecido: '12',
|
|
191
|
+
Eletrodomesticos: '13',
|
|
192
|
+
Calcado: '14',
|
|
193
|
+
Combustiveis_e_lubrificantes: '15',
|
|
194
|
+
Artigos_Medicos: '16',
|
|
195
|
+
Livraria: '17',
|
|
196
|
+
Motocicleta: '18',
|
|
197
|
+
Artigos_Farmaceuticos: '19',
|
|
198
|
+
Artigos_Ortopedicos: '20',
|
|
199
|
+
description(val) {
|
|
200
|
+
switch (val) {
|
|
201
|
+
case this.Produtos_Alimenticios:
|
|
202
|
+
return 'Produtos alimentícios';
|
|
203
|
+
case this.Vestuario:
|
|
204
|
+
return 'Vestuário';
|
|
205
|
+
case this.Material_de_construçao:
|
|
206
|
+
return 'Material de construção';
|
|
207
|
+
case this.Mercado:
|
|
208
|
+
return 'Hipermercado, supermercado';
|
|
209
|
+
case this.Informatica:
|
|
210
|
+
return 'Informática e computação';
|
|
211
|
+
case this.Auto_pecas:
|
|
212
|
+
return 'Auto peças';
|
|
213
|
+
case this.Pet:
|
|
214
|
+
return 'Pet';
|
|
215
|
+
case this.Bebidas:
|
|
216
|
+
return 'Bebidas';
|
|
217
|
+
case this.Veiculos:
|
|
218
|
+
return 'Veículos';
|
|
219
|
+
case this.Moveis:
|
|
220
|
+
return 'Móveis';
|
|
221
|
+
case this.Cosmeticos:
|
|
222
|
+
return 'Perfumaria e cosmético';
|
|
223
|
+
case this.Material_Para_Escritorio:
|
|
224
|
+
return 'Material para escritório';
|
|
225
|
+
case this.Tecido:
|
|
226
|
+
return 'Tecido';
|
|
227
|
+
case this.Eletrodomesticos:
|
|
228
|
+
return 'Eletrodomésticos';
|
|
229
|
+
case this.Calcado:
|
|
230
|
+
return 'Calçado';
|
|
231
|
+
case this.Combustiveis_e_lubrificantes:
|
|
232
|
+
return 'Combustíveis e lubrificantes';
|
|
233
|
+
case this.Artigos_Medicos:
|
|
234
|
+
return 'Artigos médicos';
|
|
235
|
+
case this.Livraria:
|
|
236
|
+
return 'Livraria';
|
|
237
|
+
case this.Motocicleta:
|
|
238
|
+
return 'Motocicleta';
|
|
239
|
+
case this.Artigos_Farmaceuticos:
|
|
240
|
+
return 'Artigos Farmacêuticos - Farmácia';
|
|
241
|
+
case this.Artigos_Ortopedicos:
|
|
242
|
+
return 'Artigos ortopédicos';
|
|
243
|
+
default:
|
|
244
|
+
return 'enum not found';
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
exports.Perfis = {
|
|
249
|
+
Administrador: '0',
|
|
250
|
+
Suporte: '1',
|
|
251
|
+
Financeiro: '2',
|
|
252
|
+
Comercial: '3',
|
|
253
|
+
description(val) {
|
|
254
|
+
switch (val) {
|
|
255
|
+
case this.Administrador:
|
|
256
|
+
return 'Administrador';
|
|
257
|
+
case this.Suporte:
|
|
258
|
+
return 'Suporte';
|
|
259
|
+
case this.Financeiro:
|
|
260
|
+
return 'Financeiro';
|
|
261
|
+
case this.Comercial:
|
|
262
|
+
return 'Comercial';
|
|
263
|
+
default:
|
|
264
|
+
return 'enum not found';
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
exports.TipoRequisicao = {
|
|
269
|
+
Cobranca: '1',
|
|
270
|
+
description(val) {
|
|
271
|
+
switch (val) {
|
|
272
|
+
case this.Cobranca:
|
|
273
|
+
return 'Cobrança';
|
|
274
|
+
default:
|
|
275
|
+
return 'enum not found';
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
};
|
|
279
|
+
exports.SituacaoRequisicao = {
|
|
280
|
+
Pendente: '1',
|
|
281
|
+
EmAndamento: '2',
|
|
282
|
+
Finalizada: '3',
|
|
283
|
+
description(val) {
|
|
284
|
+
switch (val) {
|
|
285
|
+
case this.Pendente:
|
|
286
|
+
return 'Pendente';
|
|
287
|
+
case this.EmAndamento:
|
|
288
|
+
return 'Em andamento';
|
|
289
|
+
case this.Finalizada:
|
|
290
|
+
return 'Finalizada';
|
|
291
|
+
default:
|
|
292
|
+
return 'enum not found';
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
};
|
package/dist/reports/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
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
|
-
PlanoConta: string;
|
|
16
|
-
CentroCusto: string;
|
|
17
|
-
description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo";
|
|
18
|
-
};
|
|
19
|
-
export declare const AgrupamentoRelatoriosProdutos: {
|
|
20
|
-
Produto: string;
|
|
21
|
-
Categoria: string;
|
|
22
|
-
Marca: string;
|
|
23
|
-
UnidadeMedida: string;
|
|
24
|
-
CenarioFiscal: string;
|
|
25
|
-
NCM: string;
|
|
26
|
-
Filial: string;
|
|
27
|
-
EnderecoEstoque: string;
|
|
28
|
-
description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Endereço de Estoque";
|
|
29
|
-
};
|
|
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
|
+
PlanoConta: string;
|
|
16
|
+
CentroCusto: string;
|
|
17
|
+
description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo";
|
|
18
|
+
};
|
|
19
|
+
export declare const AgrupamentoRelatoriosProdutos: {
|
|
20
|
+
Produto: string;
|
|
21
|
+
Categoria: string;
|
|
22
|
+
Marca: string;
|
|
23
|
+
UnidadeMedida: string;
|
|
24
|
+
CenarioFiscal: string;
|
|
25
|
+
NCM: string;
|
|
26
|
+
Filial: string;
|
|
27
|
+
EnderecoEstoque: string;
|
|
28
|
+
description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Endereço de Estoque";
|
|
29
|
+
};
|