mdz-enum 1.7.52 → 1.7.55
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 +7 -7
- package/dist/checkout/index.d.ts +5 -5
- package/dist/commercial/index.d.ts +30 -30
- package/dist/common/index.d.ts +11 -11
- package/dist/config/index.d.ts +31 -31
- package/dist/eva/index.d.ts +14 -14
- package/dist/finance/index.d.ts +35 -27
- package/dist/finance/index.js +24 -1
- package/dist/fiscal/index.d.ts +48 -48
- package/dist/general/index.d.ts +13 -13
- package/dist/home/index.d.ts +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -6
- package/dist/integration/index.d.ts +5 -5
- package/dist/logistics/index.d.ts +44 -44
- package/dist/people/index.d.ts +9 -9
- package/dist/platform/index.d.ts +36 -35
- package/dist/platform/index.js +3 -0
- package/dist/reports/index.d.ts +14 -14
- package/dist/service/index.d.ts +33 -10
- package/dist/service/index.js +89 -1
- package/package.json +1 -1
package/dist/platform/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ export declare const SituacaoOrganizacao: {
|
|
|
4
4
|
Bloqueado: string;
|
|
5
5
|
AtivacaoSolicitada: string;
|
|
6
6
|
CancelamentoSolicitado: string;
|
|
7
|
-
|
|
7
|
+
Distrato: string;
|
|
8
|
+
description(val: string): "enum not found" | "Cancelado" | "Ativo" | "Bloqueado" | "Ativação Solicitada" | "Cancelamento Solicitado" | "Distrato";
|
|
8
9
|
};
|
|
9
10
|
export declare const SituacaoAtivacao: {
|
|
10
11
|
Cancelado: string;
|
|
@@ -12,13 +13,13 @@ export declare const SituacaoAtivacao: {
|
|
|
12
13
|
Bloqueado: string;
|
|
13
14
|
PagamentoPendente: string;
|
|
14
15
|
CompraRecusada: string;
|
|
15
|
-
description(val: string): "
|
|
16
|
+
description(val: string): "enum not found" | "Cancelado" | "Ativo" | "Bloqueado" | "Pagamento Pendente" | "Compra Recusada";
|
|
16
17
|
};
|
|
17
18
|
export declare const SituacaoTicket: {
|
|
18
19
|
EmAberto: string;
|
|
19
20
|
EmAtendimento: string;
|
|
20
21
|
Concluido: string;
|
|
21
|
-
description(val: string): "
|
|
22
|
+
description(val: string): "enum not found" | "Concluído" | "Em Aberto" | "Em Atendimento";
|
|
22
23
|
};
|
|
23
24
|
export declare const TipoOrganizacao: {
|
|
24
25
|
Cliente: string;
|
|
@@ -26,34 +27,34 @@ export declare const TipoOrganizacao: {
|
|
|
26
27
|
Entidade: string;
|
|
27
28
|
Franquia: string;
|
|
28
29
|
Principal: string;
|
|
29
|
-
description(val: string): "
|
|
30
|
+
description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro" | "Franquia" | "Principal";
|
|
30
31
|
};
|
|
31
32
|
export declare const TipoBanners: {
|
|
32
33
|
Desktop: string;
|
|
33
34
|
Mobile: string;
|
|
34
|
-
description(val: string): "
|
|
35
|
+
description(val: string): "enum not found" | "Desktop" | "Mobile";
|
|
35
36
|
};
|
|
36
37
|
export declare const EstruturaNegocio: {
|
|
37
38
|
Matriz: string;
|
|
38
39
|
Filial: string;
|
|
39
|
-
description(val: string): "
|
|
40
|
+
description(val: string): "enum not found" | "Filial" | "Matriz";
|
|
40
41
|
};
|
|
41
42
|
export declare const SituacaoAplicativo: {
|
|
42
43
|
Inativo: string;
|
|
43
44
|
Ativo: string;
|
|
44
|
-
description(val: string): "
|
|
45
|
+
description(val: string): "enum not found" | "Ativo" | "Inativo";
|
|
45
46
|
};
|
|
46
47
|
export declare const SituacaoPlanos: {
|
|
47
48
|
Inativo: string;
|
|
48
49
|
Ativo: string;
|
|
49
|
-
description(val: string): "
|
|
50
|
+
description(val: string): "enum not found" | "Ativo" | "Inativo";
|
|
50
51
|
};
|
|
51
52
|
export declare const SituacaoUsuarios: {
|
|
52
53
|
Inativo: string;
|
|
53
54
|
Ativo: string;
|
|
54
55
|
ConfirmacaoPendente: string;
|
|
55
56
|
RedefinicaoSenha: string;
|
|
56
|
-
description(val: string): "
|
|
57
|
+
description(val: string): "enum not found" | "Ativo" | "Inativo" | "Confirmação pendente" | "Redefinição de senha";
|
|
57
58
|
};
|
|
58
59
|
export declare const SegmentoGrupo: {
|
|
59
60
|
Moda: string;
|
|
@@ -65,7 +66,7 @@ export declare const SegmentoGrupo: {
|
|
|
65
66
|
Automotivo: string;
|
|
66
67
|
Papelaria_e_Presentes: string;
|
|
67
68
|
Outros: string;
|
|
68
|
-
description(val: string): "
|
|
69
|
+
description(val: string): "enum not found" | "Automotivo" | "Moda e acessórios" | "Alimentação e conveniência" | "Pets e agro" | "Casa e construção" | "Tecnologia e eletrônicos" | "Beleza e saúde" | "Papelaria e presentes" | "Outros segmentos";
|
|
69
70
|
};
|
|
70
71
|
export declare const Segmento: {
|
|
71
72
|
Produtos_Alimenticios: string;
|
|
@@ -139,7 +140,7 @@ export declare const Segmento: {
|
|
|
139
140
|
Atacado_e_Distribuicao: string;
|
|
140
141
|
Servicos: string;
|
|
141
142
|
Outros: string;
|
|
142
|
-
description(val: string): "
|
|
143
|
+
description(val: string): "enum not found" | "Outros" | "Calçados" | "Eletrodomésticos" | "Eletrônicos" | "Móveis" | "Vestuário" | "Ótica" | "Produtos alimentícios" | "Material de construção" | "Supermercado e hipermercado" | "Informática e acessórios" | "Autopeças" | "Pet shop" | "Distribuidora de bebidas" | "Veículos" | "Perfumaria e cosméticos" | "Material para escritório" | "Tecidos" | "Combustíveis e lubrificantes" | "Artigos médicos" | "Livraria" | "Motocicletas e motopeças" | "Farmácia e drogaria" | "Artigos ortopédicos" | "Moda infantil" | "Moda íntima e lingerie" | "Moda esportiva" | "Bolsas e acessórios" | "Joalheria e bijuterias" | "Relojoaria" | "Açougue" | "Mini mercado e mercearia" | "Hortifruti e sacolão" | "Padaria" | "Confeitaria e doceria" | "Produtos naturais" | "Empório" | "Adega" | "Loja de conveniência" | "Restaurante e lanchonete" | "Agropecuária" | "Casa de ração" | "Colchões" | "Decoração e utilidades domésticas" | "Iluminação" | "Vidraçaria" | "Material elétrico" | "Tintas" | "Ferragens e ferramentas" | "Celulares e acessórios" | "Assistência técnica" | "Games e consoles" | "Higiene e limpeza" | "Suplementos" | "Acessórios automotivos" | "Pneus" | "Papelaria" | "Presentes" | "Brinquedos" | "Floricultura" | "Armarinho e aviamentos" | "Artigos religiosos" | "Tabacaria" | "Importados" | "Artesanato e produtos regionais" | "Sex shop" | "Artigos esportivos" | "Bicicletas" | "Embalagens e descartáveis" | "Atacado e distribuição" | "Prestação de serviços";
|
|
143
144
|
grupo(val: string): string;
|
|
144
145
|
};
|
|
145
146
|
export declare const Perfis: {
|
|
@@ -147,26 +148,26 @@ export declare const Perfis: {
|
|
|
147
148
|
Suporte: string;
|
|
148
149
|
Financeiro: string;
|
|
149
150
|
Comercial: string;
|
|
150
|
-
description(val: string): "
|
|
151
|
+
description(val: string): "enum not found" | "Administrador" | "Financeiro" | "Comercial" | "Suporte";
|
|
151
152
|
};
|
|
152
153
|
export declare const TipoRequisicao: {
|
|
153
154
|
Cobranca: string;
|
|
154
155
|
Compra: string;
|
|
155
156
|
Recorrencia: string;
|
|
156
|
-
description(val: string): "
|
|
157
|
+
description(val: string): "enum not found" | "Compra" | "Cobrança" | "Recorrência";
|
|
157
158
|
};
|
|
158
159
|
export declare const SituacaoRequisicao: {
|
|
159
160
|
Pendente: string;
|
|
160
161
|
EmAndamento: string;
|
|
161
162
|
Finalizada: string;
|
|
162
|
-
description(val: string): "
|
|
163
|
+
description(val: string): "enum not found" | "Pendente" | "Finalizada" | "Em andamento";
|
|
163
164
|
};
|
|
164
165
|
export declare const TipoTransacao: {
|
|
165
166
|
Compra: string;
|
|
166
167
|
Recorrencia: string;
|
|
167
168
|
Comissao: string;
|
|
168
169
|
Cobranca: string;
|
|
169
|
-
description(val: string): "
|
|
170
|
+
description(val: string): "enum not found" | "Compra" | "Cobrança" | "Recorrência" | "Comissão";
|
|
170
171
|
};
|
|
171
172
|
export declare const Modulos: {
|
|
172
173
|
Fiscal: number;
|
|
@@ -174,12 +175,12 @@ export declare const Modulos: {
|
|
|
174
175
|
Venda: number;
|
|
175
176
|
Financeiro: number;
|
|
176
177
|
PDV: number;
|
|
177
|
-
description(val: number): "
|
|
178
|
+
description(val: number): "enum not found" | "PDV" | "Módulo Fiscal" | "Módulo de Produtos" | "Módulo de Venda" | "Módulo Financeiro";
|
|
178
179
|
};
|
|
179
180
|
export declare const TipoAplicativo: {
|
|
180
181
|
Aplicativo: number;
|
|
181
182
|
Modulo: number;
|
|
182
|
-
description(val: number): "
|
|
183
|
+
description(val: number): "enum not found" | "Aplicativo" | "Modulo";
|
|
183
184
|
};
|
|
184
185
|
export declare const Aplicativos: {
|
|
185
186
|
Modershop: number;
|
|
@@ -217,12 +218,12 @@ export declare const Aplicativos: {
|
|
|
217
218
|
ModerLojaAdm: number;
|
|
218
219
|
ModerLojaPdv: number;
|
|
219
220
|
ModerLojaLicencaAdicional: number;
|
|
220
|
-
description(val: number): "
|
|
221
|
+
description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "TikTok Shop" | "Nuvemshop" | "Vitrine Digital" | "Marketplace" | "Modershop" | "ModerLoja" | "ModerLoja Adm" | "ModerLoja PDV" | "ModerLoja Licença Adicional" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "ModerShop App" | "Dispositivo do ModerShop App" | "Módulo Produção" | "ModerLog" | "Sped" | "Cake ERP" | "Módulo Ótica" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)" | "Vero POS" | "EVA" | "EVA Pro" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens" | "API Integração";
|
|
221
222
|
};
|
|
222
223
|
export declare const IsDemonstracao: {
|
|
223
224
|
Demonstracao: boolean;
|
|
224
225
|
NaoDemonstracao: boolean;
|
|
225
|
-
description(val: boolean): "
|
|
226
|
+
description(val: boolean): "enum not found" | "Demonstração" | "Não Demonstracao";
|
|
226
227
|
};
|
|
227
228
|
export declare const UnidadeFederativa: {
|
|
228
229
|
Acre: number;
|
|
@@ -252,7 +253,7 @@ export declare const UnidadeFederativa: {
|
|
|
252
253
|
Sergipe: number;
|
|
253
254
|
Sao_Paulo: number;
|
|
254
255
|
Tocantins: number;
|
|
255
|
-
description(val: number): "
|
|
256
|
+
description(val: number): "enum not found" | "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Piauí" | "Ceará" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Rio Grande do Sul" | "Minas Gerais";
|
|
256
257
|
};
|
|
257
258
|
export declare const MotivoInativacao: {
|
|
258
259
|
Inadimplencia: string;
|
|
@@ -269,19 +270,19 @@ export declare const MotivoInativacao: {
|
|
|
269
270
|
Outros: string;
|
|
270
271
|
Testes: string;
|
|
271
272
|
MigracaoModershop: string;
|
|
272
|
-
description(val: string): "
|
|
273
|
+
description(val: string): "Outros" | "Inadimplência" | "Inativado" | "Insatisfação" | "Ausência de Recursos" | "Encerramento das Atividades" | "Preços" | "Concorrência" | "Adaptação" | "Complexidade" | "Solicitações não Atendidas" | "Suporte não resolvido" | "Encerramento de testes" | "Migração para o ModerShop";
|
|
273
274
|
};
|
|
274
275
|
export declare const UnidadeDeNegocio: {
|
|
275
276
|
ModerShop: number;
|
|
276
277
|
ModernizaLoja: number;
|
|
277
278
|
ModerFood: number;
|
|
278
279
|
ModerLog: number;
|
|
279
|
-
description(val: number): "
|
|
280
|
+
description(val: number): "enum not found" | "ModerLog" | "ModerShop" | "Moderniza Loja" | "ModerFood";
|
|
280
281
|
};
|
|
281
282
|
export declare const TipoSuporte: {
|
|
282
283
|
Admin: string;
|
|
283
284
|
Parceiro: string;
|
|
284
|
-
description(val: string): "
|
|
285
|
+
description(val: string): "enum not found" | "Parceiro" | "Admin";
|
|
285
286
|
};
|
|
286
287
|
export declare const TipoMovimentoMensagem: {
|
|
287
288
|
Compra: string;
|
|
@@ -289,12 +290,12 @@ export declare const TipoMovimentoMensagem: {
|
|
|
289
290
|
Ajuste: string;
|
|
290
291
|
Estorno: string;
|
|
291
292
|
Franquia: string;
|
|
292
|
-
description(val: string): "
|
|
293
|
+
description(val: string): "enum not found" | "Compra de pacote" | "Consumo" | "Ajuste manual" | "Estorno" | "Franquia mensal";
|
|
293
294
|
};
|
|
294
295
|
export declare const TipoLead: {
|
|
295
296
|
Lojista: string;
|
|
296
297
|
Revenda: string;
|
|
297
|
-
description(val: string): "
|
|
298
|
+
description(val: string): "enum not found" | "Lojista" | "Revenda";
|
|
298
299
|
};
|
|
299
300
|
export declare const EtapaLead: {
|
|
300
301
|
Novo: string;
|
|
@@ -303,7 +304,7 @@ export declare const EtapaLead: {
|
|
|
303
304
|
Proposta: string;
|
|
304
305
|
Ganho: string;
|
|
305
306
|
Perdido: string;
|
|
306
|
-
description(val: string): "
|
|
307
|
+
description(val: string): "enum not found" | "Demonstração" | "Novo" | "Em contato" | "Proposta" | "Ganho" | "Perdido";
|
|
307
308
|
};
|
|
308
309
|
export declare const OrigemLead: {
|
|
309
310
|
Site: string;
|
|
@@ -316,7 +317,7 @@ export declare const OrigemLead: {
|
|
|
316
317
|
Prospeccao: string;
|
|
317
318
|
Base: string;
|
|
318
319
|
Outro: string;
|
|
319
|
-
description(val: string): "
|
|
320
|
+
description(val: string): "enum not found" | "Outro" | "Indicação" | "WhatsApp" | "Parceiro" | "Site" | "Google Ads" | "Redes sociais" | "Evento" | "Prospecção ativa" | "Base de clientes";
|
|
320
321
|
};
|
|
321
322
|
export declare const MotivoPerdaLead: {
|
|
322
323
|
Preco: string;
|
|
@@ -326,7 +327,7 @@ export declare const MotivoPerdaLead: {
|
|
|
326
327
|
SemMomento: string;
|
|
327
328
|
Funcionalidade: string;
|
|
328
329
|
Outro: string;
|
|
329
|
-
description(val: string): "
|
|
330
|
+
description(val: string): "enum not found" | "Outro" | "Preço" | "Escolheu um concorrente" | "Parou de responder" | "Fora do perfil" | "Não é o momento" | "Faltou funcionalidade";
|
|
330
331
|
};
|
|
331
332
|
export declare const TipoAtividadeCrm: {
|
|
332
333
|
Ligacao: string;
|
|
@@ -337,7 +338,7 @@ export declare const TipoAtividadeCrm: {
|
|
|
337
338
|
Tarefa: string;
|
|
338
339
|
Nota: string;
|
|
339
340
|
Sistema: string;
|
|
340
|
-
description(val: string): "
|
|
341
|
+
description(val: string): "enum not found" | "Demonstração" | "WhatsApp" | "Ligação" | "E-mail" | "Visita" | "Tarefa" | "Anotação" | "Registro automático";
|
|
341
342
|
};
|
|
342
343
|
export declare const OportunidadeCrm: {
|
|
343
344
|
Tef: string;
|
|
@@ -345,7 +346,7 @@ export declare const OportunidadeCrm: {
|
|
|
345
346
|
Reativacao: string;
|
|
346
347
|
Retencao: string;
|
|
347
348
|
Eva: string;
|
|
348
|
-
description(val: string): "
|
|
349
|
+
description(val: string): "enum not found" | "Integrar maquininha (TEF)" | "Abrir loja virtual" | "Reativar ex-cliente" | "Recuperar vendas em queda" | "Ativar a EVA";
|
|
349
350
|
};
|
|
350
351
|
export declare const SituacaoPropostaCrm: {
|
|
351
352
|
Rascunho: string;
|
|
@@ -353,13 +354,13 @@ export declare const SituacaoPropostaCrm: {
|
|
|
353
354
|
Aceita: string;
|
|
354
355
|
Recusada: string;
|
|
355
356
|
Expirada: string;
|
|
356
|
-
description(val: string): "
|
|
357
|
+
description(val: string): "enum not found" | "Expirada" | "Rascunho" | "Enviada" | "Aceita" | "Recusada";
|
|
357
358
|
};
|
|
358
359
|
export declare const NivelAcesso: {
|
|
359
360
|
Diretoria: string;
|
|
360
361
|
Lideranca: string;
|
|
361
362
|
Colaborador: string;
|
|
362
|
-
description(val: string): "
|
|
363
|
+
description(val: string): "enum not found" | "Diretoria" | "Liderança" | "Colaborador";
|
|
363
364
|
};
|
|
364
365
|
export declare const AreaModerniza: {
|
|
365
366
|
Desenvolvimento: string;
|
|
@@ -368,7 +369,7 @@ export declare const AreaModerniza: {
|
|
|
368
369
|
Financeiro: string;
|
|
369
370
|
SucessoCliente: string;
|
|
370
371
|
Marketing: string;
|
|
371
|
-
description(val: string): "
|
|
372
|
+
description(val: string): "enum not found" | "Financeiro" | "Comercial" | "Suporte" | "Desenvolvimento" | "Sucesso do cliente" | "Marketing";
|
|
372
373
|
};
|
|
373
374
|
export declare const EtapaJornada: {
|
|
374
375
|
AguardandoInicio: string;
|
|
@@ -379,7 +380,7 @@ export declare const EtapaJornada: {
|
|
|
379
380
|
Concluida: string;
|
|
380
381
|
Parada: string;
|
|
381
382
|
Cancelada: string;
|
|
382
|
-
description(val: string): "
|
|
383
|
+
description(val: string): "enum not found" | "Cancelada" | "Concluída" | "Aguardando início" | "Em implantação" | "Aguardando desenvolvimento" | "Em treinamento" | "Em acompanhamento" | "Parada";
|
|
383
384
|
};
|
|
384
385
|
export declare const ItemImplantacao: {
|
|
385
386
|
ReuniaoInicial: string;
|
|
@@ -390,5 +391,5 @@ export declare const ItemImplantacao: {
|
|
|
390
391
|
Treinamento: string;
|
|
391
392
|
PrimeiraVenda: string;
|
|
392
393
|
IntegracoesAtivas: string;
|
|
393
|
-
description(val: string): "
|
|
394
|
+
description(val: string): "enum not found" | "Reunião de início" | "Certificado digital instalado" | "Produtos e clientes importados" | "Configuração fiscal" | "Emitindo nota em produção" | "Equipe treinada" | "Primeira venda no sistema" | "Integrações contratadas funcionando";
|
|
394
395
|
};
|
package/dist/platform/index.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.SituacaoOrganizacao = {
|
|
|
7
7
|
Bloqueado: '2',
|
|
8
8
|
AtivacaoSolicitada: '3',
|
|
9
9
|
CancelamentoSolicitado: '4',
|
|
10
|
+
Distrato: '5',
|
|
10
11
|
description(val) {
|
|
11
12
|
switch (val) {
|
|
12
13
|
case this.Ativo:
|
|
@@ -19,6 +20,8 @@ exports.SituacaoOrganizacao = {
|
|
|
19
20
|
return 'Ativação Solicitada';
|
|
20
21
|
case this.CancelamentoSolicitado:
|
|
21
22
|
return 'Cancelamento Solicitado';
|
|
23
|
+
case this.Distrato:
|
|
24
|
+
return 'Distrato';
|
|
22
25
|
default:
|
|
23
26
|
return 'enum not found';
|
|
24
27
|
}
|
package/dist/reports/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const TipoRelatorio: {
|
|
2
2
|
Resumido: string;
|
|
3
3
|
Detalhado: string;
|
|
4
|
-
description(val: string): "
|
|
4
|
+
description(val: string): "enum not found" | "Resumido" | "Detalhado";
|
|
5
5
|
};
|
|
6
6
|
export declare const AgrupamentoRelatorio: {
|
|
7
7
|
Cliente: string;
|
|
@@ -29,12 +29,12 @@ export declare const AgrupamentoRelatorio: {
|
|
|
29
29
|
EnderecoEstoque: string;
|
|
30
30
|
Lancamento: string;
|
|
31
31
|
Cfop: string;
|
|
32
|
-
description(val: string): "
|
|
32
|
+
description(val: string): "Vendedor" | "enum not found" | "Consignação" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Fornecedor" | "Documento" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento" | "Operadora Cartão" | "Coleção" | "Lote" | "Validade" | "Objeto" | "Situação" | "Tipo de Movimentação" | "Endereço de Estoque" | "Lançamento" | "CFOP";
|
|
33
33
|
};
|
|
34
34
|
export declare const TipoPosicaoConsignacao: {
|
|
35
35
|
Posicao: string;
|
|
36
36
|
Movimentacao: string;
|
|
37
|
-
description(val: string): "
|
|
37
|
+
description(val: string): "enum not found" | "Posição em aberto" | "Movimentação do período";
|
|
38
38
|
};
|
|
39
39
|
export declare const AgrupamentoRelatoriosProdutos: {
|
|
40
40
|
Produto: string;
|
|
@@ -50,7 +50,7 @@ export declare const AgrupamentoRelatoriosProdutos: {
|
|
|
50
50
|
Validade: string;
|
|
51
51
|
CodigoBarra: string;
|
|
52
52
|
LoteValidade: string;
|
|
53
|
-
description(val: string): "
|
|
53
|
+
description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Lote" | "Validade" | "Endereço de Estoque" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Código de Barra" | "Inventário P7" | "Lote e Validade";
|
|
54
54
|
};
|
|
55
55
|
export declare const TipoPreco: {
|
|
56
56
|
Compra: string;
|
|
@@ -59,7 +59,7 @@ export declare const TipoPreco: {
|
|
|
59
59
|
CustoMedio: string;
|
|
60
60
|
Venda: string;
|
|
61
61
|
VendaAtacado: string;
|
|
62
|
-
description(val: string): "
|
|
62
|
+
description(val: string): "enum not found" | "Venda" | "Compra" | "Compra médio" | "Custo" | "Custo médio" | "Venda atacado";
|
|
63
63
|
};
|
|
64
64
|
export declare const AgrupamentoRelatorioPessoas: {
|
|
65
65
|
Pessoa: string;
|
|
@@ -67,7 +67,7 @@ export declare const AgrupamentoRelatorioPessoas: {
|
|
|
67
67
|
Classificacao: string;
|
|
68
68
|
Cidade: string;
|
|
69
69
|
Origem: string;
|
|
70
|
-
description(val: string): "
|
|
70
|
+
description(val: string): "enum not found" | "Pessoa" | "Tipo" | "Classificação" | "Cidade" | "Origem";
|
|
71
71
|
};
|
|
72
72
|
export declare const AgrupamentoRelatorioEntrega: {
|
|
73
73
|
Data: string;
|
|
@@ -82,30 +82,30 @@ export declare const AgrupamentoRelatorioEntrega: {
|
|
|
82
82
|
Situacao: string;
|
|
83
83
|
Indisponibilidade: string;
|
|
84
84
|
Integracao: string;
|
|
85
|
-
description(val: string): "
|
|
85
|
+
description(val: string): "enum not found" | "Produto" | "Cliente" | "Data" | "Integração" | "Transportadora" | "Filial" | "Situação" | "Cidade" | "Indisponibilidade" | "Entregador" | "Veículo" | "Rota";
|
|
86
86
|
};
|
|
87
87
|
export declare const TipoRelatorioEntrega: {
|
|
88
88
|
Resumido: string;
|
|
89
89
|
Detalhado: string;
|
|
90
90
|
Item: string;
|
|
91
|
-
description(val: string): "
|
|
91
|
+
description(val: string): "enum not found" | "Resumido" | "Detalhado" | "Por item (planilha)";
|
|
92
92
|
};
|
|
93
93
|
export declare const TipoDataEntrega: {
|
|
94
94
|
Previsao: string;
|
|
95
95
|
Conclusao: string;
|
|
96
|
-
description(val: string): "
|
|
96
|
+
description(val: string): "enum not found" | "Data de Conclusão" | "Data de Previsão";
|
|
97
97
|
};
|
|
98
98
|
export declare const SituacaoQtdEstoque: {
|
|
99
99
|
Zerado: string;
|
|
100
100
|
Negativo: string;
|
|
101
101
|
Positivo: string;
|
|
102
|
-
description(val: string): "
|
|
102
|
+
description(val: string): "enum not found" | "Negativo" | "Positivo" | "Zerado";
|
|
103
103
|
};
|
|
104
104
|
export declare const PrioridadeCompra: {
|
|
105
105
|
Alta: string;
|
|
106
106
|
Media: string;
|
|
107
107
|
Baixa: string;
|
|
108
|
-
description(val: string): "
|
|
108
|
+
description(val: string): "enum not found" | "Alta" | "Média" | "Baixa";
|
|
109
109
|
};
|
|
110
110
|
export declare const StatusCompra: {
|
|
111
111
|
ComprarUrgente: string;
|
|
@@ -116,7 +116,7 @@ export declare const StatusCompra: {
|
|
|
116
116
|
SemDemanda: string;
|
|
117
117
|
Parado: string;
|
|
118
118
|
Excesso: string;
|
|
119
|
-
description(val: string): "
|
|
119
|
+
description(val: string): "enum not found" | "Normal" | "Comprar urgente" | "Comprar" | "Atenção" | "Revisar Demanda" | "Sem demanda" | "Parado" | "Excesso";
|
|
120
120
|
};
|
|
121
121
|
export declare const FaixaCobertura: {
|
|
122
122
|
Critica: string;
|
|
@@ -124,12 +124,12 @@ export declare const FaixaCobertura: {
|
|
|
124
124
|
Normal: string;
|
|
125
125
|
Alta: string;
|
|
126
126
|
Excesso: string;
|
|
127
|
-
description(val: string): "
|
|
127
|
+
description(val: string): "enum not found" | "Normal" | "Alta" | "Baixa" | "Excesso" | "Crítica";
|
|
128
128
|
};
|
|
129
129
|
export declare const TendenciaDemanda: {
|
|
130
130
|
Acelerando: string;
|
|
131
131
|
Estavel: string;
|
|
132
132
|
Desacelerando: string;
|
|
133
133
|
SemDemanda: string;
|
|
134
|
-
description(val: string): "
|
|
134
|
+
description(val: string): "enum not found" | "Sem demanda" | "Acelerando" | "Estável" | "Desacelerando";
|
|
135
135
|
};
|
package/dist/service/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const SituacaoAgendamento: {
|
|
|
5
5
|
Concluido: string;
|
|
6
6
|
Cancelado: string;
|
|
7
7
|
NaoCompareceu: string;
|
|
8
|
-
description(val: string): "" | "
|
|
8
|
+
description(val: string): "" | "Cancelado" | "Concluído" | "Agendado" | "Confirmado" | "Em atendimento" | "Não compareceu";
|
|
9
9
|
};
|
|
10
10
|
export declare const SituacoesAgendamentoOcupamAgenda: string[];
|
|
11
11
|
export declare const SituacoesAgendamentoEditaveis: string[];
|
|
@@ -13,7 +13,7 @@ export declare const TransicoesSituacaoAgendamento: Record<string, string[]>;
|
|
|
13
13
|
export declare const TipoAgendaHorario: {
|
|
14
14
|
Funcionamento: string;
|
|
15
15
|
Bloqueio: string;
|
|
16
|
-
description(val: string): "" | "
|
|
16
|
+
description(val: string): "" | "Funcionamento" | "Bloqueio";
|
|
17
17
|
};
|
|
18
18
|
export declare const DiaSemana: {
|
|
19
19
|
Domingo: number;
|
|
@@ -23,7 +23,7 @@ export declare const DiaSemana: {
|
|
|
23
23
|
Quinta: number;
|
|
24
24
|
Sexta: number;
|
|
25
25
|
Sabado: number;
|
|
26
|
-
description(val: number): "" | "Dom" | "
|
|
26
|
+
description(val: number): "" | "Dom" | "Seg" | "Ter" | "Qua" | "Qui" | "Sex" | "Sáb";
|
|
27
27
|
};
|
|
28
28
|
export declare const GradesAgenda: number[];
|
|
29
29
|
export declare const TipoCampoObjeto: {
|
|
@@ -33,18 +33,18 @@ export declare const TipoCampoObjeto: {
|
|
|
33
33
|
Lista: string;
|
|
34
34
|
SimNao: string;
|
|
35
35
|
Placa: string;
|
|
36
|
-
description(val: string): "" | "
|
|
36
|
+
description(val: string): "" | "Texto" | "Data" | "Número" | "Lista de opções" | "Sim ou não" | "Placa de veículo";
|
|
37
37
|
};
|
|
38
38
|
export declare const EscopoCampoObjeto: {
|
|
39
39
|
Cadastro: string;
|
|
40
40
|
Atendimento: string;
|
|
41
|
-
description(val: string): "" | "
|
|
41
|
+
description(val: string): "" | "Cadastro do objeto" | "A cada atendimento";
|
|
42
42
|
};
|
|
43
43
|
export declare const SituacaoGarantia: {
|
|
44
44
|
Ativa: string;
|
|
45
45
|
Cancelada: string;
|
|
46
46
|
Anulada: string;
|
|
47
|
-
description(val: string): "" | "
|
|
47
|
+
description(val: string): "" | "Cancelada" | "Ativa" | "Anulada";
|
|
48
48
|
};
|
|
49
49
|
export declare const StatusGarantia: {
|
|
50
50
|
AguardandoInicio: string;
|
|
@@ -53,21 +53,44 @@ export declare const StatusGarantia: {
|
|
|
53
53
|
Vencida: string;
|
|
54
54
|
Cancelada: string;
|
|
55
55
|
Anulada: string;
|
|
56
|
-
description(val: string): "" | "
|
|
56
|
+
description(val: string): "" | "Cancelada" | "Aguardando início" | "Anulada" | "Vigente" | "A vencer" | "Vencida";
|
|
57
57
|
};
|
|
58
58
|
export declare const OrigemGarantia: {
|
|
59
59
|
Servico: string;
|
|
60
60
|
Peca: string;
|
|
61
|
-
description(val: string): "" | "
|
|
61
|
+
description(val: string): "" | "Serviço" | "Peça";
|
|
62
62
|
};
|
|
63
63
|
export declare const InicioGarantia: {
|
|
64
64
|
Faturamento: string;
|
|
65
65
|
Entrega: string;
|
|
66
|
-
description(val: string): "" | "
|
|
66
|
+
description(val: string): "" | "No faturamento da OS" | "Na entrega ao cliente";
|
|
67
67
|
};
|
|
68
68
|
export declare const ResultadoAcionamentoGarantia: {
|
|
69
69
|
EmAnalise: string;
|
|
70
70
|
Procedente: string;
|
|
71
71
|
Improcedente: string;
|
|
72
|
-
description(val: string): "" | "Em análise" | "
|
|
72
|
+
description(val: string): "" | "Em análise" | "Procedente" | "Improcedente";
|
|
73
|
+
};
|
|
74
|
+
export declare const StatusSuporte: {
|
|
75
|
+
Disponivel: string;
|
|
76
|
+
Ocupado: string;
|
|
77
|
+
Ausente: string;
|
|
78
|
+
Pausa: string;
|
|
79
|
+
description(val: string): "" | "Disponível" | "Ocupado" | "Ausente" | "Pausa";
|
|
80
|
+
color(val: string): "#10b981" | "#f59e0b" | "#ef4444" | "#6366f1" | "#gray";
|
|
81
|
+
};
|
|
82
|
+
export declare const TipoPlantao: {
|
|
83
|
+
Comercial: string;
|
|
84
|
+
Tecnico: string;
|
|
85
|
+
Administrativo: string;
|
|
86
|
+
Atendimento: string;
|
|
87
|
+
description(val: string): "" | "Comercial" | "Técnico" | "Administrativo" | "Atendimento";
|
|
88
|
+
color(val: string): "#gray" | "#3b82f6" | "#8b5cf6" | "#ec4899" | "#06b6d4";
|
|
89
|
+
};
|
|
90
|
+
export declare const StatusScheduleSuporte: {
|
|
91
|
+
Entrada: string;
|
|
92
|
+
Saida: string;
|
|
93
|
+
Pausa: string;
|
|
94
|
+
Retorno: string;
|
|
95
|
+
description(val: string): "" | "Entrada" | "Saída" | "Pausa" | "Retorno";
|
|
73
96
|
};
|
package/dist/service/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResultadoAcionamentoGarantia = exports.InicioGarantia = exports.OrigemGarantia = exports.StatusGarantia = exports.SituacaoGarantia = exports.EscopoCampoObjeto = exports.TipoCampoObjeto = exports.GradesAgenda = exports.DiaSemana = exports.TipoAgendaHorario = exports.TransicoesSituacaoAgendamento = exports.SituacoesAgendamentoEditaveis = exports.SituacoesAgendamentoOcupamAgenda = exports.SituacaoAgendamento = void 0;
|
|
3
|
+
exports.StatusScheduleSuporte = exports.TipoPlantao = exports.StatusSuporte = exports.ResultadoAcionamentoGarantia = exports.InicioGarantia = exports.OrigemGarantia = exports.StatusGarantia = exports.SituacaoGarantia = exports.EscopoCampoObjeto = exports.TipoCampoObjeto = exports.GradesAgenda = exports.DiaSemana = exports.TipoAgendaHorario = exports.TransicoesSituacaoAgendamento = exports.SituacoesAgendamentoEditaveis = exports.SituacoesAgendamentoOcupamAgenda = exports.SituacaoAgendamento = void 0;
|
|
4
4
|
exports.SituacaoAgendamento = {
|
|
5
5
|
Agendado: '1',
|
|
6
6
|
Confirmado: '2',
|
|
@@ -223,3 +223,91 @@ exports.ResultadoAcionamentoGarantia = {
|
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
};
|
|
226
|
+
exports.StatusSuporte = {
|
|
227
|
+
Disponivel: '1',
|
|
228
|
+
Ocupado: '2',
|
|
229
|
+
Ausente: '3',
|
|
230
|
+
Pausa: '4',
|
|
231
|
+
description(val) {
|
|
232
|
+
switch (val) {
|
|
233
|
+
case this.Disponivel:
|
|
234
|
+
return 'Disponível';
|
|
235
|
+
case this.Ocupado:
|
|
236
|
+
return 'Ocupado';
|
|
237
|
+
case this.Ausente:
|
|
238
|
+
return 'Ausente';
|
|
239
|
+
case this.Pausa:
|
|
240
|
+
return 'Pausa';
|
|
241
|
+
default:
|
|
242
|
+
return '';
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
color(val) {
|
|
246
|
+
switch (val) {
|
|
247
|
+
case this.Disponivel:
|
|
248
|
+
return '#10b981';
|
|
249
|
+
case this.Ocupado:
|
|
250
|
+
return '#f59e0b';
|
|
251
|
+
case this.Ausente:
|
|
252
|
+
return '#ef4444';
|
|
253
|
+
case this.Pausa:
|
|
254
|
+
return '#6366f1';
|
|
255
|
+
default:
|
|
256
|
+
return '#gray';
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
};
|
|
260
|
+
exports.TipoPlantao = {
|
|
261
|
+
Comercial: '1',
|
|
262
|
+
Tecnico: '2',
|
|
263
|
+
Administrativo: '3',
|
|
264
|
+
Atendimento: '4',
|
|
265
|
+
description(val) {
|
|
266
|
+
switch (val) {
|
|
267
|
+
case this.Comercial:
|
|
268
|
+
return 'Comercial';
|
|
269
|
+
case this.Tecnico:
|
|
270
|
+
return 'Técnico';
|
|
271
|
+
case this.Administrativo:
|
|
272
|
+
return 'Administrativo';
|
|
273
|
+
case this.Atendimento:
|
|
274
|
+
return 'Atendimento';
|
|
275
|
+
default:
|
|
276
|
+
return '';
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
color(val) {
|
|
280
|
+
switch (val) {
|
|
281
|
+
case this.Comercial:
|
|
282
|
+
return '#3b82f6';
|
|
283
|
+
case this.Tecnico:
|
|
284
|
+
return '#8b5cf6';
|
|
285
|
+
case this.Administrativo:
|
|
286
|
+
return '#ec4899';
|
|
287
|
+
case this.Atendimento:
|
|
288
|
+
return '#06b6d4';
|
|
289
|
+
default:
|
|
290
|
+
return '#gray';
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
};
|
|
294
|
+
exports.StatusScheduleSuporte = {
|
|
295
|
+
Entrada: '1',
|
|
296
|
+
Saida: '2',
|
|
297
|
+
Pausa: '3',
|
|
298
|
+
Retorno: '4',
|
|
299
|
+
description(val) {
|
|
300
|
+
switch (val) {
|
|
301
|
+
case this.Entrada:
|
|
302
|
+
return 'Entrada';
|
|
303
|
+
case this.Saida:
|
|
304
|
+
return 'Saída';
|
|
305
|
+
case this.Pausa:
|
|
306
|
+
return 'Pausa';
|
|
307
|
+
case this.Retorno:
|
|
308
|
+
return 'Retorno';
|
|
309
|
+
default:
|
|
310
|
+
return '';
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
};
|