keevo-api-services-alpha-crm 0.0.2
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 +24 -0
- package/esm2022/keevo-api-services-alpha-crm.mjs +5 -0
- package/esm2022/lib/models/catalogo/catalogo/catalogo-resumo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo/catalogo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo/filtro-catalogo-combo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo/filtro-catalogo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo/valores-variavel-model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo/variavel-catalogo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-complementar/catalogo-complementar-resumo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-complementar/catalogo-complementar.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-complementar/filtro-catalogo-complementar.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-nivel-hierarquia/catalogo-nivel-hierarquia-resumo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-nivel-hierarquia/catalogo-nivel-hierarquia.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-nivel-hierarquia/filtro-catalogo-itens-combo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-nivel-hierarquia/filtro-catalogo-nivel-hierarquia-model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-tipo-item/catalogo-tipo-item.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-tipo-item/en_tipoitem.model.mjs +6 -0
- package/esm2022/lib/models/catalogo/catalogo-tipo-item/filtro-catalogo-tipo-item.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis-atributos.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis-valor-lista.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/catalogo-variaveis/filtro-catalogo-variaveis.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/categoria-item/categoria-item.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/categoria-item/filtro-categoria-item.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/distribuicao/distribuicao-resumo.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/distribuicao/distribuicao.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/distribuicao/filtro-distribuicao.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/distribuicao-itens/distribuicao-itens.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/unidade-medida/filtro-unidade-medida.model.mjs +2 -0
- package/esm2022/lib/models/catalogo/unidade-medida/unidade-medida.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/configuracao-comissao/configuracao-comissao.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/configuracao-comissao/filtro-configuracao-comissao.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/hierarquia-organizacional/filtro-hierarquia-organizacional-model.mjs +2 -0
- package/esm2022/lib/models/configuracao/hierarquia-organizacional/hierarquia-organizacional-model.mjs +2 -0
- package/esm2022/lib/models/configuracao/inbox/filtro-inbox.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/inbox/inbox.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/origem-dados/filtro-origem-dados.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/origem-dados/origem-dados.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/papel-crm/filtro-papel-crm.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/papel-crm/papel-crm.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/parametros/filtro-parametros.model.mjs +2 -0
- package/esm2022/lib/models/configuracao/parametros/parametros-front-model.mjs +2 -0
- package/esm2022/lib/models/configuracao/parametros/parametros.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao/cotacao-proposta.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao/cotacao-resumo.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao/cotacao.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao/filtro-cotacao.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao/lista-visualizacao-cotacao-proposta.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/cotacao-itens/cotacaoes-itens.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/forma-pagamento/filtro-forma-pagamento.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/forma-pagamento/forma-pagamento.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/cotacao-email.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/filtro-proposta.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/lista-distribuicao-itens-catalogo.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/proposta-model.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/variaveis-proposta-atributos.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/variaveis-proposta-model.model.mjs +2 -0
- package/esm2022/lib/models/cotacao/proposta/variaveis-proposta-modelo.model.mjs +2 -0
- package/esm2022/lib/models/distribuicao-variavel/distribuicao-variavel.model.mjs +2 -0
- package/esm2022/lib/models/dominio/classificacao-contraparte/classificacao-contraparte.model.mjs +2 -0
- package/esm2022/lib/models/dominio/papel-subarea/papel-subarea.model.mjs +2 -0
- package/esm2022/lib/models/dominio/status-contraparte/status-contraparte.model.mjs +2 -0
- package/esm2022/lib/models/dominio/status-cotacao/status-cotacao.model.mjs +9 -0
- package/esm2022/lib/models/dominio/tipo-contraparte/tipo-contraparte.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipo-item/tipo-item-model.mjs +6 -0
- package/esm2022/lib/models/dominio/tipo-motivo/tipo-motivo.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipo-pessoa/tipo-pessoa-model.mjs +6 -0
- package/esm2022/lib/models/dominio/tipo-variavel/tipo-variavel.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtro-crm-combo-model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/cadencia/cadencia-combo.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/cadencia/cadencia-sequencia.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/cadencia/cadencia.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/campanha/campanha-itens.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/campanha/campanha.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/campanha/filtro-campanha.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/campanha/origem-dados-campanha.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/concorrente/concorrente.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/concorrente/filtro-concorrente-model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/etapa-oportunidade/etapa-atualizacao-ordem.model..mjs +2 -0
- package/esm2022/lib/models/oportunidade/etapa-oportunidade/etapa-oportunidade.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/etapa-oportunidade/filtro-etapa-oportunidade.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/motivo-perda-ganho/filtro-motivo-perda-ganho.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/motivo-perda-ganho/motivo-perda-ganho.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/filtro-oportunidade.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/oportunidade-historico-cadencia.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/oportunidade-resumo.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/oportunidade.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/oportunidade.motivo.model.model.mjs +2 -0
- package/esm2022/lib/models/oportunidade/oportunidade/trocar-etapa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/agentevendas/agente-vendas-por-usuario-model.mjs +2 -0
- package/esm2022/lib/models/pessoa/agentevendas/agentevendas.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/agentevendas/filtro-agentevendas.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/contraparte/contraparte-resumo.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/contraparte/contraparte.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/contraparte/filtro-contraparte.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/contraparte/papeis-prospect.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/empresa/empresa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/empresa/filtro-empresa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/parceirorevenda/filtro-parceirorevenda.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/parceirorevenda/parceirorevenda.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoa-cnae.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoa-contato.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoa-endereco.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/usuario/usuario-alterado-notificacao.model.mjs +2 -0
- package/esm2022/lib/models/relatorios/comissao/consulta-relatorio-comissao.model.mjs +2 -0
- package/esm2022/lib/models/relatorios/comissao/relatorio-analitico-comissao.model.mjs +2 -0
- package/esm2022/lib/models/relatorios/comissao/relatorio-sintetico-comissao.model.mjs +2 -0
- package/esm2022/lib/services/@base/base-alpha-crm.service.mjs +21 -0
- package/esm2022/lib/services/catalogo/catalogo-complementar.service.mjs +46 -0
- package/esm2022/lib/services/catalogo/catalogo-nivel-hierarquia.service.mjs +72 -0
- package/esm2022/lib/services/catalogo/catalogo-tipo-item.service.mjs +46 -0
- package/esm2022/lib/services/catalogo/catalogo-variaveis.service.mjs +46 -0
- package/esm2022/lib/services/catalogo/catalogo.service.mjs +58 -0
- package/esm2022/lib/services/catalogo/categoria-item.service.mjs +46 -0
- package/esm2022/lib/services/catalogo/distribuicao.service.mjs +46 -0
- package/esm2022/lib/services/catalogo/unidade-medida.service.mjs +46 -0
- package/esm2022/lib/services/configuracao/configuracao-comissao.service.mjs +38 -0
- package/esm2022/lib/services/configuracao/hierarquia-organizacional.service.mjs +46 -0
- package/esm2022/lib/services/configuracao/inbox.service.mjs +46 -0
- package/esm2022/lib/services/configuracao/origem-dados.service.mjs +46 -0
- package/esm2022/lib/services/configuracao/papel-crm.service.mjs +46 -0
- package/esm2022/lib/services/configuracao/parametros.service.mjs +54 -0
- package/esm2022/lib/services/cotacao/cotacao-itens.service.mjs +34 -0
- package/esm2022/lib/services/cotacao/cotacao-proposta.service.mjs +38 -0
- package/esm2022/lib/services/cotacao/cotacao.service.mjs +42 -0
- package/esm2022/lib/services/cotacao/forma-pagamento.service.mjs +46 -0
- package/esm2022/lib/services/cotacao/proposta.service.mjs +46 -0
- package/esm2022/lib/services/dominio/classificacao-contraparte.service.mjs +30 -0
- package/esm2022/lib/services/dominio/papel-subarea.service.mjs +30 -0
- package/esm2022/lib/services/dominio/status-contraparte.service.mjs +30 -0
- package/esm2022/lib/services/dominio/status-cotacao.service.mjs +30 -0
- package/esm2022/lib/services/dominio/tipo-contraparte.service.mjs +30 -0
- package/esm2022/lib/services/dominio/tipo-motivo.service.mjs +30 -0
- package/esm2022/lib/services/dominio/tipo-variavel.service.mjs +30 -0
- package/esm2022/lib/services/oportunidade/campanha.service.mjs +46 -0
- package/esm2022/lib/services/oportunidade/concorrente.service.mjs +42 -0
- package/esm2022/lib/services/oportunidade/etapa-oportunidade.service.mjs +54 -0
- package/esm2022/lib/services/oportunidade/motivo-perda-ganho.service.mjs +46 -0
- package/esm2022/lib/services/oportunidade/oportunidade.service.mjs +54 -0
- package/esm2022/lib/services/pessoa/agentevendas.service.mjs +50 -0
- package/esm2022/lib/services/pessoa/contraparte.service.mjs +50 -0
- package/esm2022/lib/services/pessoa/empresa.service.mjs +43 -0
- package/esm2022/lib/services/pessoa/parceirorevenda.service.mjs +46 -0
- package/esm2022/lib/services/pessoa/pessoa.service.mjs +34 -0
- package/esm2022/lib/services/pessoa/usuario-alpha-crm.service.mjs +26 -0
- package/esm2022/lib/services/relatorio/relatorio-comissao.service.mjs +26 -0
- package/esm2022/public-api-models.mjs +103 -0
- package/esm2022/public-api-services.mjs +39 -0
- package/esm2022/public-api.mjs +6 -0
- package/fesm2022/keevo-api-services-alpha-crm.mjs +1522 -0
- package/fesm2022/keevo-api-services-alpha-crm.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/models/catalogo/catalogo/catalogo-resumo.model.d.ts +9 -0
- package/lib/models/catalogo/catalogo/catalogo.model.d.ts +18 -0
- package/lib/models/catalogo/catalogo/filtro-catalogo-combo.model.d.ts +6 -0
- package/lib/models/catalogo/catalogo/filtro-catalogo.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo/valores-variavel-model.d.ts +6 -0
- package/lib/models/catalogo/catalogo/variavel-catalogo.model.d.ts +11 -0
- package/lib/models/catalogo/catalogo-complementar/catalogo-complementar-resumo.model.d.ts +8 -0
- package/lib/models/catalogo/catalogo-complementar/catalogo-complementar.model.d.ts +8 -0
- package/lib/models/catalogo/catalogo-complementar/filtro-catalogo-complementar.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-nivel-hierarquia/catalogo-nivel-hierarquia-resumo.model.d.ts +7 -0
- package/lib/models/catalogo/catalogo-nivel-hierarquia/catalogo-nivel-hierarquia.model.d.ts +8 -0
- package/lib/models/catalogo/catalogo-nivel-hierarquia/filtro-catalogo-itens-combo.model.d.ts +5 -0
- package/lib/models/catalogo/catalogo-nivel-hierarquia/filtro-catalogo-nivel-hierarquia-model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-tipo-item/catalogo-tipo-item.model.d.ts +6 -0
- package/lib/models/catalogo/catalogo-tipo-item/en_tipoitem.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-tipo-item/filtro-catalogo-tipo-item.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis-atributos.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis-valor-lista.model.d.ts +4 -0
- package/lib/models/catalogo/catalogo-variaveis/catalogo-variaveis.model.d.ts +13 -0
- package/lib/models/catalogo/catalogo-variaveis/filtro-catalogo-variaveis.model.d.ts +4 -0
- package/lib/models/catalogo/categoria-item/categoria-item.model.d.ts +7 -0
- package/lib/models/catalogo/categoria-item/filtro-categoria-item.model.d.ts +4 -0
- package/lib/models/catalogo/distribuicao/distribuicao-resumo.model.d.ts +8 -0
- package/lib/models/catalogo/distribuicao/distribuicao.model.d.ts +9 -0
- package/lib/models/catalogo/distribuicao/filtro-distribuicao.model.d.ts +4 -0
- package/lib/models/catalogo/distribuicao-itens/distribuicao-itens.model.d.ts +8 -0
- package/lib/models/catalogo/unidade-medida/filtro-unidade-medida.model.d.ts +4 -0
- package/lib/models/catalogo/unidade-medida/unidade-medida.model.d.ts +8 -0
- package/lib/models/configuracao/configuracao-comissao/configuracao-comissao.model.d.ts +9 -0
- package/lib/models/configuracao/configuracao-comissao/filtro-configuracao-comissao.model.d.ts +4 -0
- package/lib/models/configuracao/hierarquia-organizacional/filtro-hierarquia-organizacional-model.d.ts +5 -0
- package/lib/models/configuracao/hierarquia-organizacional/hierarquia-organizacional-model.d.ts +10 -0
- package/lib/models/configuracao/inbox/filtro-inbox.model.d.ts +4 -0
- package/lib/models/configuracao/inbox/inbox.model.d.ts +7 -0
- package/lib/models/configuracao/origem-dados/filtro-origem-dados.model.d.ts +4 -0
- package/lib/models/configuracao/origem-dados/origem-dados.model.d.ts +8 -0
- package/lib/models/configuracao/papel-crm/filtro-papel-crm.model.d.ts +4 -0
- package/lib/models/configuracao/papel-crm/papel-crm.model.d.ts +10 -0
- package/lib/models/configuracao/parametros/filtro-parametros.model.d.ts +4 -0
- package/lib/models/configuracao/parametros/parametros-front-model.d.ts +12 -0
- package/lib/models/configuracao/parametros/parametros.model.d.ts +31 -0
- package/lib/models/cotacao/cotacao/cotacao-proposta.model.d.ts +8 -0
- package/lib/models/cotacao/cotacao/cotacao-resumo.model.d.ts +12 -0
- package/lib/models/cotacao/cotacao/cotacao.model.d.ts +25 -0
- package/lib/models/cotacao/cotacao/filtro-cotacao.model.d.ts +10 -0
- package/lib/models/cotacao/cotacao/lista-visualizacao-cotacao-proposta.model.d.ts +4 -0
- package/lib/models/cotacao/cotacao-itens/cotacaoes-itens.model.d.ts +20 -0
- package/lib/models/cotacao/forma-pagamento/filtro-forma-pagamento.model.d.ts +4 -0
- package/lib/models/cotacao/forma-pagamento/forma-pagamento.model.d.ts +7 -0
- package/lib/models/cotacao/proposta/cotacao-email.model.d.ts +6 -0
- package/lib/models/cotacao/proposta/filtro-proposta.model.d.ts +5 -0
- package/lib/models/cotacao/proposta/lista-distribuicao-itens-catalogo.model.d.ts +4 -0
- package/lib/models/cotacao/proposta/proposta-model.model.d.ts +19 -0
- package/lib/models/cotacao/proposta/variaveis-proposta-atributos.model.d.ts +3 -0
- package/lib/models/cotacao/proposta/variaveis-proposta-model.model.d.ts +14 -0
- package/lib/models/cotacao/proposta/variaveis-proposta-modelo.model.d.ts +6 -0
- package/lib/models/distribuicao-variavel/distribuicao-variavel.model.d.ts +6 -0
- package/lib/models/dominio/classificacao-contraparte/classificacao-contraparte.model.d.ts +4 -0
- package/lib/models/dominio/papel-subarea/papel-subarea.model.d.ts +4 -0
- package/lib/models/dominio/status-contraparte/status-contraparte.model.d.ts +5 -0
- package/lib/models/dominio/status-cotacao/status-cotacao.model.d.ts +12 -0
- package/lib/models/dominio/tipo-contraparte/tipo-contraparte.model.d.ts +5 -0
- package/lib/models/dominio/tipo-item/tipo-item-model.d.ts +4 -0
- package/lib/models/dominio/tipo-motivo/tipo-motivo.model.d.ts +4 -0
- package/lib/models/dominio/tipo-pessoa/tipo-pessoa-model.d.ts +4 -0
- package/lib/models/dominio/tipo-variavel/tipo-variavel.model.d.ts +6 -0
- package/lib/models/filtro/filtro-crm-combo-model.d.ts +7 -0
- package/lib/models/oportunidade/cadencia/cadencia-combo.model.d.ts +7 -0
- package/lib/models/oportunidade/cadencia/cadencia-sequencia.model.d.ts +15 -0
- package/lib/models/oportunidade/cadencia/cadencia.model.d.ts +15 -0
- package/lib/models/oportunidade/campanha/campanha-itens.model.d.ts +12 -0
- package/lib/models/oportunidade/campanha/campanha.model.d.ts +23 -0
- package/lib/models/oportunidade/campanha/filtro-campanha.model.d.ts +4 -0
- package/lib/models/oportunidade/campanha/origem-dados-campanha.model.d.ts +4 -0
- package/lib/models/oportunidade/concorrente/concorrente.model.d.ts +6 -0
- package/lib/models/oportunidade/concorrente/filtro-concorrente-model.d.ts +4 -0
- package/lib/models/oportunidade/etapa-oportunidade/etapa-atualizacao-ordem.model..d.ts +5 -0
- package/lib/models/oportunidade/etapa-oportunidade/etapa-oportunidade.model.d.ts +8 -0
- package/lib/models/oportunidade/etapa-oportunidade/filtro-etapa-oportunidade.model.d.ts +4 -0
- package/lib/models/oportunidade/motivo-perda-ganho/filtro-motivo-perda-ganho.model.d.ts +4 -0
- package/lib/models/oportunidade/motivo-perda-ganho/motivo-perda-ganho.model.d.ts +9 -0
- package/lib/models/oportunidade/oportunidade/filtro-oportunidade.model.d.ts +10 -0
- package/lib/models/oportunidade/oportunidade/oportunidade-historico-cadencia.model.d.ts +10 -0
- package/lib/models/oportunidade/oportunidade/oportunidade-resumo.model.d.ts +15 -0
- package/lib/models/oportunidade/oportunidade/oportunidade.model.d.ts +35 -0
- package/lib/models/oportunidade/oportunidade/oportunidade.motivo.model.model.d.ts +5 -0
- package/lib/models/oportunidade/oportunidade/trocar-etapa.model.d.ts +5 -0
- package/lib/models/pessoa/agentevendas/agente-vendas-por-usuario-model.d.ts +9 -0
- package/lib/models/pessoa/agentevendas/agentevendas.model.d.ts +11 -0
- package/lib/models/pessoa/agentevendas/filtro-agentevendas.model.d.ts +4 -0
- package/lib/models/pessoa/contraparte/contraparte-resumo.model.d.ts +14 -0
- package/lib/models/pessoa/contraparte/contraparte.model.d.ts +18 -0
- package/lib/models/pessoa/contraparte/filtro-contraparte.model.d.ts +5 -0
- package/lib/models/pessoa/contraparte/papeis-prospect.model.d.ts +6 -0
- package/lib/models/pessoa/empresa/empresa.model.d.ts +13 -0
- package/lib/models/pessoa/empresa/filtro-empresa.model.d.ts +4 -0
- package/lib/models/pessoa/parceirorevenda/filtro-parceirorevenda.model.d.ts +4 -0
- package/lib/models/pessoa/parceirorevenda/parceirorevenda.model.d.ts +13 -0
- package/lib/models/pessoa/pessoa/pessoa-cnae.model.d.ts +9 -0
- package/lib/models/pessoa/pessoa/pessoa-contato.model.d.ts +6 -0
- package/lib/models/pessoa/pessoa/pessoa-endereco.model.d.ts +22 -0
- package/lib/models/pessoa/pessoa/pessoa.model.d.ts +19 -0
- package/lib/models/pessoa/usuario/usuario-alterado-notificacao.model.d.ts +10 -0
- package/lib/models/relatorios/comissao/consulta-relatorio-comissao.model.d.ts +9 -0
- package/lib/models/relatorios/comissao/relatorio-analitico-comissao.model.d.ts +9 -0
- package/lib/models/relatorios/comissao/relatorio-sintetico-comissao.model.d.ts +5 -0
- package/lib/services/@base/base-alpha-crm.service.d.ts +8 -0
- package/lib/services/catalogo/catalogo-complementar.service.d.ts +24 -0
- package/lib/services/catalogo/catalogo-nivel-hierarquia.service.d.ts +25 -0
- package/lib/services/catalogo/catalogo-tipo-item.service.d.ts +24 -0
- package/lib/services/catalogo/catalogo-variaveis.service.d.ts +24 -0
- package/lib/services/catalogo/catalogo.service.d.ts +31 -0
- package/lib/services/catalogo/categoria-item.service.d.ts +24 -0
- package/lib/services/catalogo/distribuicao.service.d.ts +24 -0
- package/lib/services/catalogo/unidade-medida.service.d.ts +24 -0
- package/lib/services/configuracao/configuracao-comissao.service.d.ts +20 -0
- package/lib/services/configuracao/hierarquia-organizacional.service.d.ts +24 -0
- package/lib/services/configuracao/inbox.service.d.ts +25 -0
- package/lib/services/configuracao/origem-dados.service.d.ts +24 -0
- package/lib/services/configuracao/papel-crm.service.d.ts +24 -0
- package/lib/services/configuracao/parametros.service.d.ts +29 -0
- package/lib/services/cotacao/cotacao-itens.service.d.ts +18 -0
- package/lib/services/cotacao/cotacao-proposta.service.d.ts +20 -0
- package/lib/services/cotacao/cotacao.service.d.ts +22 -0
- package/lib/services/cotacao/forma-pagamento.service.d.ts +24 -0
- package/lib/services/cotacao/proposta.service.d.ts +25 -0
- package/lib/services/dominio/classificacao-contraparte.service.d.ts +16 -0
- package/lib/services/dominio/papel-subarea.service.d.ts +16 -0
- package/lib/services/dominio/status-contraparte.service.d.ts +16 -0
- package/lib/services/dominio/status-cotacao.service.d.ts +16 -0
- package/lib/services/dominio/tipo-contraparte.service.d.ts +16 -0
- package/lib/services/dominio/tipo-motivo.service.d.ts +16 -0
- package/lib/services/dominio/tipo-variavel.service.d.ts +16 -0
- package/lib/services/oportunidade/campanha.service.d.ts +24 -0
- package/lib/services/oportunidade/concorrente.service.d.ts +22 -0
- package/lib/services/oportunidade/etapa-oportunidade.service.d.ts +28 -0
- package/lib/services/oportunidade/motivo-perda-ganho.service.d.ts +24 -0
- package/lib/services/oportunidade/oportunidade.service.d.ts +30 -0
- package/lib/services/pessoa/agentevendas.service.d.ts +26 -0
- package/lib/services/pessoa/contraparte.service.d.ts +26 -0
- package/lib/services/pessoa/empresa.service.d.ts +23 -0
- package/lib/services/pessoa/parceirorevenda.service.d.ts +24 -0
- package/lib/services/pessoa/pessoa.service.d.ts +18 -0
- package/lib/services/pessoa/usuario-alpha-crm.service.d.ts +14 -0
- package/lib/services/relatorio/relatorio-comissao.service.d.ts +14 -0
- package/package.json +25 -0
- package/public-api-models.d.ts +102 -0
- package/public-api-services.d.ts +38 -0
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,1522 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Inject, Injectable } from '@angular/core';
|
|
3
|
+
import { BaseApiService } from 'keevo-api-services';
|
|
4
|
+
import * as i1 from '@angular/common/http';
|
|
5
|
+
import { map } from 'rxjs';
|
|
6
|
+
|
|
7
|
+
var en_statuscotacao;
|
|
8
|
+
(function (en_statuscotacao) {
|
|
9
|
+
en_statuscotacao[en_statuscotacao["en_em_aberto"] = 1] = "en_em_aberto";
|
|
10
|
+
en_statuscotacao[en_statuscotacao["en_aguardando_aceite"] = 2] = "en_aguardando_aceite";
|
|
11
|
+
en_statuscotacao[en_statuscotacao["en_aprovada"] = 3] = "en_aprovada";
|
|
12
|
+
en_statuscotacao[en_statuscotacao["en_rejeitada"] = 4] = "en_rejeitada";
|
|
13
|
+
en_statuscotacao[en_statuscotacao["en_expirada"] = 5] = "en_expirada";
|
|
14
|
+
})(en_statuscotacao || (en_statuscotacao = {}));
|
|
15
|
+
|
|
16
|
+
var EnTipoItem;
|
|
17
|
+
(function (EnTipoItem) {
|
|
18
|
+
EnTipoItem[EnTipoItem["CATALOGO"] = 1] = "CATALOGO";
|
|
19
|
+
EnTipoItem[EnTipoItem["DISTRIBUICAO"] = 2] = "DISTRIBUICAO";
|
|
20
|
+
})(EnTipoItem || (EnTipoItem = {}));
|
|
21
|
+
|
|
22
|
+
var en_tipoitem;
|
|
23
|
+
(function (en_tipoitem) {
|
|
24
|
+
en_tipoitem[en_tipoitem["en_item"] = 1] = "en_item";
|
|
25
|
+
en_tipoitem[en_tipoitem["en_distribuicao"] = 2] = "en_distribuicao";
|
|
26
|
+
})(en_tipoitem || (en_tipoitem = {}));
|
|
27
|
+
|
|
28
|
+
var en_tipopessoa;
|
|
29
|
+
(function (en_tipopessoa) {
|
|
30
|
+
en_tipopessoa[en_tipopessoa["en_fisica"] = 1] = "en_fisica";
|
|
31
|
+
en_tipopessoa[en_tipopessoa["en_juridica"] = 2] = "en_juridica";
|
|
32
|
+
})(en_tipopessoa || (en_tipopessoa = {}));
|
|
33
|
+
|
|
34
|
+
class BaseAlphaCrmService extends BaseApiService {
|
|
35
|
+
constructor(httpClient, hostEnv) {
|
|
36
|
+
super(httpClient);
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAlphaCrmService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
39
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAlphaCrmService, providedIn: 'root' }); }
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAlphaCrmService, decorators: [{
|
|
42
|
+
type: Injectable,
|
|
43
|
+
args: [{
|
|
44
|
+
providedIn: 'root'
|
|
45
|
+
}]
|
|
46
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
47
|
+
type: Inject,
|
|
48
|
+
args: ['hostEnv']
|
|
49
|
+
}] }] });
|
|
50
|
+
|
|
51
|
+
class UnidadeMedidaService extends BaseAlphaCrmService {
|
|
52
|
+
constructor(httpClient, hostEnv) {
|
|
53
|
+
super(httpClient, hostEnv);
|
|
54
|
+
this.hostEnv = hostEnv;
|
|
55
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/UnidadeMedida/ListarPaginado';
|
|
56
|
+
this.rotaListarComboUnidadeMedida = 'alphacrm/api/v1/UnidadeMedida/ListarComboUnidadeMedida';
|
|
57
|
+
this.rotaSelecionar = 'alphacrm/api/v1/UnidadeMedida/Selecionar';
|
|
58
|
+
this.rotaSalvar = 'alphacrm/api/v1/UnidadeMedida/Salvar';
|
|
59
|
+
this.rotaExcluir = 'alphacrm/api/v1/UnidadeMedida/Excluir';
|
|
60
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/UnidadeMedida/AtivarInativarUnidadeMedida';
|
|
61
|
+
}
|
|
62
|
+
AtivarInativar(unidadeMedida, ativoInativo) {
|
|
63
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${unidadeMedida.idunidademedida}/${ativoInativo}`);
|
|
64
|
+
}
|
|
65
|
+
ListarPaginado(filtro) {
|
|
66
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
67
|
+
}
|
|
68
|
+
ListarComboUnidadeMedida(idmaster) {
|
|
69
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboUnidadeMedida}/${idmaster}`);
|
|
70
|
+
}
|
|
71
|
+
Selecionar(idunidademedida) {
|
|
72
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idunidademedida}`);
|
|
73
|
+
}
|
|
74
|
+
salvar(unidademedida) {
|
|
75
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, unidademedida);
|
|
76
|
+
}
|
|
77
|
+
excluir(idunidademedida) {
|
|
78
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idunidademedida}`);
|
|
79
|
+
}
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UnidadeMedidaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
81
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UnidadeMedidaService, providedIn: 'root' }); }
|
|
82
|
+
}
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UnidadeMedidaService, decorators: [{
|
|
84
|
+
type: Injectable,
|
|
85
|
+
args: [{
|
|
86
|
+
providedIn: 'root'
|
|
87
|
+
}]
|
|
88
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
89
|
+
type: Inject,
|
|
90
|
+
args: ['hostEnv']
|
|
91
|
+
}] }] });
|
|
92
|
+
|
|
93
|
+
class CatalogoComplementarService extends BaseAlphaCrmService {
|
|
94
|
+
constructor(httpClient, hostEnv) {
|
|
95
|
+
super(httpClient, hostEnv);
|
|
96
|
+
this.hostEnv = hostEnv;
|
|
97
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/CatalogoComplementar/AtivarInativar';
|
|
98
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/CatalogoComplementar/ListarPaginado';
|
|
99
|
+
this.rotaListarComboPesquisa = 'alphacrm/api/v1/CatalogoComplementar/ListarComboPesquisa';
|
|
100
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CatalogoComplementar/Selecionar';
|
|
101
|
+
this.rotaSalvar = 'alphacrm/api/v1/CatalogoComplementar/Salvar';
|
|
102
|
+
this.rotaExcluir = 'alphacrm/api/v1/CatalogoComplementar/Excluir';
|
|
103
|
+
}
|
|
104
|
+
AtivarInativar(catalogocomplementar, indativo) {
|
|
105
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${catalogocomplementar.idcatalogocomplementar}/${indativo}`);
|
|
106
|
+
}
|
|
107
|
+
ListarComboPesquisa(filtro) {
|
|
108
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarComboPesquisa, filtro);
|
|
109
|
+
}
|
|
110
|
+
ListarPaginado(filtro) {
|
|
111
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
112
|
+
}
|
|
113
|
+
Selecionar(catalogocomplementar) {
|
|
114
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${catalogocomplementar.idcatalogocomplementar}`);
|
|
115
|
+
}
|
|
116
|
+
Salvar(catalogocomplementar) {
|
|
117
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogocomplementar);
|
|
118
|
+
}
|
|
119
|
+
Excluir(idcatalogocomplementar) {
|
|
120
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcatalogocomplementar}`);
|
|
121
|
+
}
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoComplementarService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
123
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoComplementarService, providedIn: 'root' }); }
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoComplementarService, decorators: [{
|
|
126
|
+
type: Injectable,
|
|
127
|
+
args: [{
|
|
128
|
+
providedIn: 'root'
|
|
129
|
+
}]
|
|
130
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
131
|
+
type: Inject,
|
|
132
|
+
args: ['hostEnv']
|
|
133
|
+
}] }] });
|
|
134
|
+
|
|
135
|
+
class CatalogoNivelHierarquiaService extends BaseAlphaCrmService {
|
|
136
|
+
constructor(httpClient, hostEnv) {
|
|
137
|
+
super(httpClient, hostEnv);
|
|
138
|
+
this.hostEnv = hostEnv;
|
|
139
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/CatalogoNivelHierarquia/AtivarInativar';
|
|
140
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/CatalogoNivelHierarquia/ListarPaginado';
|
|
141
|
+
this.rotaListarComboCatalogoNivelHierarquia = 'alphacrm/api/v1/CatalogoNivelHierarquia/ListarComboCatalogoNivelHierarquia';
|
|
142
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CatalogoNivelHierarquia/Selecionar';
|
|
143
|
+
this.rotaSalvar = 'alphacrm/api/v1/CatalogoNivelHierarquia/Salvar';
|
|
144
|
+
this.rotaExcluir = 'alphacrm/api/v1/CatalogoNivelHierarquia/Excluir';
|
|
145
|
+
}
|
|
146
|
+
AtivarInativar(idcatalogonivelhierarquia, indativo) {
|
|
147
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idcatalogonivelhierarquia}/${indativo}`);
|
|
148
|
+
}
|
|
149
|
+
ListarPaginado(filtro) {
|
|
150
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
151
|
+
}
|
|
152
|
+
ListarComboCatalogoNivelHierarquia(idmaster) {
|
|
153
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboCatalogoNivelHierarquia}/${idmaster}`);
|
|
154
|
+
}
|
|
155
|
+
Selecionar(idcatalogonivelhierarquia) {
|
|
156
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcatalogonivelhierarquia}`);
|
|
157
|
+
}
|
|
158
|
+
Salvar(catalogonivelhierarquia) {
|
|
159
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogonivelhierarquia);
|
|
160
|
+
}
|
|
161
|
+
Excluir(idcatalogonivelhierarquia) {
|
|
162
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcatalogonivelhierarquia}`);
|
|
163
|
+
}
|
|
164
|
+
obterUltimoNivelHierarquia(idmaster) {
|
|
165
|
+
return this.ListarComboCatalogoNivelHierarquia(idmaster).pipe(map((response) => {
|
|
166
|
+
const niveisHierarquia = Array.isArray(response) ? response : response?.data || response?.items || [];
|
|
167
|
+
if (!niveisHierarquia || niveisHierarquia.length === 0) {
|
|
168
|
+
return null;
|
|
169
|
+
}
|
|
170
|
+
const calcularProfundidade = (nivelId, niveis) => {
|
|
171
|
+
const nivel = niveis.find(n => n.idcatalogonivelhierarquia === nivelId);
|
|
172
|
+
if (!nivel || !nivel.idcatalogonivelhierarquiapai) {
|
|
173
|
+
return 1;
|
|
174
|
+
}
|
|
175
|
+
return 1 + calcularProfundidade(nivel.idcatalogonivelhierarquiapai, niveis);
|
|
176
|
+
};
|
|
177
|
+
let ultimoNivel = null;
|
|
178
|
+
let maiorProfundidade = 0;
|
|
179
|
+
niveisHierarquia.forEach((nivel) => {
|
|
180
|
+
const profundidade = calcularProfundidade(nivel.idcatalogonivelhierarquia, niveisHierarquia);
|
|
181
|
+
if (profundidade > maiorProfundidade) {
|
|
182
|
+
maiorProfundidade = profundidade;
|
|
183
|
+
ultimoNivel = nivel;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
return ultimoNivel?.idcatalogonivelhierarquiapai || null;
|
|
187
|
+
}));
|
|
188
|
+
}
|
|
189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoNivelHierarquiaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoNivelHierarquiaService, providedIn: 'root' }); }
|
|
191
|
+
}
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoNivelHierarquiaService, decorators: [{
|
|
193
|
+
type: Injectable,
|
|
194
|
+
args: [{
|
|
195
|
+
providedIn: 'root'
|
|
196
|
+
}]
|
|
197
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
198
|
+
type: Inject,
|
|
199
|
+
args: ['hostEnv']
|
|
200
|
+
}] }] });
|
|
201
|
+
|
|
202
|
+
class CatalogoTipoItemService extends BaseAlphaCrmService {
|
|
203
|
+
constructor(httpClient, hostEnv) {
|
|
204
|
+
super(httpClient, hostEnv);
|
|
205
|
+
this.hostEnv = hostEnv;
|
|
206
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/CatalogoTipoItem/AtivarInativar';
|
|
207
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/CatalogoTipoItem/ListarPaginado';
|
|
208
|
+
this.rotaListarComboCatalogoTipoItem = 'alphacrm/api/v1/CatalogoTipoItem/ListarComboCatalogoTipoItem';
|
|
209
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CatalogoTipoItem/Selecionar';
|
|
210
|
+
this.rotaSalvar = 'alphacrm/api/v1/CatalogoTipoItem/Salvar';
|
|
211
|
+
this.rotaExcluir = 'alphacrm/api/v1/CatalogoTipoItem/Excluir';
|
|
212
|
+
}
|
|
213
|
+
AtivarInativar(idcatalogotipoitem, indativo) {
|
|
214
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idcatalogotipoitem}/${indativo}`);
|
|
215
|
+
}
|
|
216
|
+
ListarPaginado(filtro) {
|
|
217
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
218
|
+
}
|
|
219
|
+
ListarComboCatalogoTipoItem(idmaster) {
|
|
220
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboCatalogoTipoItem}/${idmaster}`);
|
|
221
|
+
}
|
|
222
|
+
Selecionar(idcatalogotipoitem) {
|
|
223
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcatalogotipoitem}`);
|
|
224
|
+
}
|
|
225
|
+
Salvar(catalogotipoitem) {
|
|
226
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogotipoitem);
|
|
227
|
+
}
|
|
228
|
+
Excluir(idcatalogotipoitem) {
|
|
229
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcatalogotipoitem}`);
|
|
230
|
+
}
|
|
231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoItemService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
232
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoItemService, providedIn: 'root' }); }
|
|
233
|
+
}
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoItemService, decorators: [{
|
|
235
|
+
type: Injectable,
|
|
236
|
+
args: [{
|
|
237
|
+
providedIn: 'root'
|
|
238
|
+
}]
|
|
239
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
240
|
+
type: Inject,
|
|
241
|
+
args: ['hostEnv']
|
|
242
|
+
}] }] });
|
|
243
|
+
|
|
244
|
+
class CatalogoService extends BaseAlphaCrmService {
|
|
245
|
+
constructor(httpClient, hostEnv) {
|
|
246
|
+
super(httpClient, hostEnv);
|
|
247
|
+
this.hostEnv = hostEnv;
|
|
248
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Catalogo/AtivarInativar';
|
|
249
|
+
this.rotaListarComboCatalogo = 'alphacrm/api/v1/Catalogo/ListarComboCatalogo';
|
|
250
|
+
this.rotaListarComboPesquisa = 'alphacrm/api/v1/Catalogo/ListarComboPesquisa';
|
|
251
|
+
this.rotaListarComboItensCatalogo = 'alphacrm/api/v1/Catalogo/ListarComboItensCatalogo';
|
|
252
|
+
this.rotaListarPorListaIdItens = 'alphacrm/api/v1/Catalogo/ListarPorListaIdItens';
|
|
253
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Catalogo/ListarPaginado';
|
|
254
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Catalogo/Selecionar';
|
|
255
|
+
this.rotaSalvar = 'alphacrm/api/v1/Catalogo/Salvar';
|
|
256
|
+
this.rotaExcluir = 'alphacrm/api/v1/Catalogo/Excluir';
|
|
257
|
+
}
|
|
258
|
+
AtivarInativar(idcatalogo, indativo) {
|
|
259
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idcatalogo}/${indativo}`);
|
|
260
|
+
}
|
|
261
|
+
ListarComboCatalogo(idmaster, idcatalogonivelhierarquia, idcatalogo) {
|
|
262
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboCatalogo}/${idmaster}/${idcatalogonivelhierarquia}/${idcatalogo}`);
|
|
263
|
+
}
|
|
264
|
+
ListarComboPesquisa(filtro) {
|
|
265
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarComboPesquisa, filtro);
|
|
266
|
+
}
|
|
267
|
+
ListarComboItensCatalogo(filtro) {
|
|
268
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarComboItensCatalogo, filtro);
|
|
269
|
+
}
|
|
270
|
+
ListarPorListaIdItens(listaiditens) {
|
|
271
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPorListaIdItens, listaiditens);
|
|
272
|
+
}
|
|
273
|
+
ListarPaginado(filtro) {
|
|
274
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
275
|
+
}
|
|
276
|
+
Selecionar(idcatalogo) {
|
|
277
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcatalogo}`);
|
|
278
|
+
}
|
|
279
|
+
Salvar(catalogo) {
|
|
280
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogo);
|
|
281
|
+
}
|
|
282
|
+
Excluir(idcatalogo) {
|
|
283
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcatalogo}`);
|
|
284
|
+
}
|
|
285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
286
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoService, providedIn: 'root' }); }
|
|
287
|
+
}
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoService, decorators: [{
|
|
289
|
+
type: Injectable,
|
|
290
|
+
args: [{
|
|
291
|
+
providedIn: 'root'
|
|
292
|
+
}]
|
|
293
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
294
|
+
type: Inject,
|
|
295
|
+
args: ['hostEnv']
|
|
296
|
+
}] }] });
|
|
297
|
+
|
|
298
|
+
class CategoriaItemService extends BaseAlphaCrmService {
|
|
299
|
+
constructor(httpClient, hostEnv) {
|
|
300
|
+
super(httpClient, hostEnv);
|
|
301
|
+
this.hostEnv = hostEnv;
|
|
302
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/CategoriaItem/ListarPaginado';
|
|
303
|
+
this.rotaListarComboCategoriaItem = 'alphacrm/api/v1/CategoriaItem/ListarComboCategoriaItem';
|
|
304
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CategoriaItem/Selecionar';
|
|
305
|
+
this.rotaSalvar = 'alphacrm/api/v1/CategoriaItem/Salvar';
|
|
306
|
+
this.rotaExcluir = 'alphacrm/api/v1/CategoriaItem/Excluir';
|
|
307
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/CategoriaItem/AtivarInativarCategoriaItem';
|
|
308
|
+
}
|
|
309
|
+
AtivarInativar(categoriaitem, ativoInativo) {
|
|
310
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${categoriaitem.idcategoriaitem}/${ativoInativo}`);
|
|
311
|
+
}
|
|
312
|
+
ListarPaginado(filtro) {
|
|
313
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
314
|
+
}
|
|
315
|
+
ListarComboCategoriaItem(idmaster) {
|
|
316
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboCategoriaItem}/${idmaster}`);
|
|
317
|
+
}
|
|
318
|
+
Selecionar(idcategoriaitem) {
|
|
319
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcategoriaitem}`);
|
|
320
|
+
}
|
|
321
|
+
salvar(categoriaitem) {
|
|
322
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, categoriaitem);
|
|
323
|
+
}
|
|
324
|
+
excluir(idcategoriaitem) {
|
|
325
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcategoriaitem}`);
|
|
326
|
+
}
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CategoriaItemService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CategoriaItemService, providedIn: 'root' }); }
|
|
329
|
+
}
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CategoriaItemService, decorators: [{
|
|
331
|
+
type: Injectable,
|
|
332
|
+
args: [{
|
|
333
|
+
providedIn: 'root'
|
|
334
|
+
}]
|
|
335
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
336
|
+
type: Inject,
|
|
337
|
+
args: ['hostEnv']
|
|
338
|
+
}] }] });
|
|
339
|
+
|
|
340
|
+
class ConfiguracaoComissaoService extends BaseAlphaCrmService {
|
|
341
|
+
constructor(httpClient, hostEnv) {
|
|
342
|
+
super(httpClient, hostEnv);
|
|
343
|
+
this.hostEnv = hostEnv;
|
|
344
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/ConfiguracaoComissao/ListarPaginado';
|
|
345
|
+
this.rotaSelecionar = 'alphacrm/api/v1/ConfiguracaoComissao/Selecionar';
|
|
346
|
+
this.rotaSalvar = 'alphacrm/api/v1/ConfiguracaoComissao/Salvar';
|
|
347
|
+
this.rotaExcluir = 'alphacrm/api/v1/ConfiguracaoComissao/Excluir';
|
|
348
|
+
}
|
|
349
|
+
ListarPaginado(filtro) {
|
|
350
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
351
|
+
}
|
|
352
|
+
Selecionar(idconfiguracaocomissao) {
|
|
353
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idconfiguracaocomissao}`);
|
|
354
|
+
}
|
|
355
|
+
salvar(configuracaocomissao) {
|
|
356
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, configuracaocomissao);
|
|
357
|
+
}
|
|
358
|
+
excluir(idconfiguracaocomissao) {
|
|
359
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idconfiguracaocomissao}`);
|
|
360
|
+
}
|
|
361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfiguracaoComissaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
362
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfiguracaoComissaoService, providedIn: 'root' }); }
|
|
363
|
+
}
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfiguracaoComissaoService, decorators: [{
|
|
365
|
+
type: Injectable,
|
|
366
|
+
args: [{
|
|
367
|
+
providedIn: 'root'
|
|
368
|
+
}]
|
|
369
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
370
|
+
type: Inject,
|
|
371
|
+
args: ['hostEnv']
|
|
372
|
+
}] }] });
|
|
373
|
+
|
|
374
|
+
class PapelCrmService extends BaseAlphaCrmService {
|
|
375
|
+
constructor(httpClient, hostEnv) {
|
|
376
|
+
super(httpClient, hostEnv);
|
|
377
|
+
this.hostEnv = hostEnv;
|
|
378
|
+
this.rotaListaComboPapelCRM = 'alphacrm/api/v1/PapelCrm/ListarComboPapelCRM';
|
|
379
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/PapelCrm/ListarPaginado';
|
|
380
|
+
this.rotaSelecionar = 'alphacrm/api/v1/PapelCrm/Selecionar';
|
|
381
|
+
this.rotaSalvar = 'alphacrm/api/v1/PapelCrm/Salvar';
|
|
382
|
+
this.rotaExcluir = 'alphacrm/api/v1/PapelCrm/Excluir';
|
|
383
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/PapelCrm/AtivarInativar';
|
|
384
|
+
}
|
|
385
|
+
AtivarInativar(papelCrm, ativoInativo) {
|
|
386
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${papelCrm.idpapelcrm}/${ativoInativo}`);
|
|
387
|
+
}
|
|
388
|
+
ListarComboPapelCRM(idmaster) {
|
|
389
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListaComboPapelCRM}/${idmaster}`);
|
|
390
|
+
}
|
|
391
|
+
ListarPaginado(filtro) {
|
|
392
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
393
|
+
}
|
|
394
|
+
Selecionar(idpapelcrm) {
|
|
395
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idpapelcrm}`);
|
|
396
|
+
}
|
|
397
|
+
salvar(papelcrm) {
|
|
398
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, papelcrm);
|
|
399
|
+
}
|
|
400
|
+
excluir(idpapelcrm) {
|
|
401
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idpapelcrm}`);
|
|
402
|
+
}
|
|
403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelCrmService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
404
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelCrmService, providedIn: 'root' }); }
|
|
405
|
+
}
|
|
406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelCrmService, decorators: [{
|
|
407
|
+
type: Injectable,
|
|
408
|
+
args: [{
|
|
409
|
+
providedIn: 'root'
|
|
410
|
+
}]
|
|
411
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
412
|
+
type: Inject,
|
|
413
|
+
args: ['hostEnv']
|
|
414
|
+
}] }] });
|
|
415
|
+
|
|
416
|
+
class OrigemDadosService extends BaseAlphaCrmService {
|
|
417
|
+
constructor(httpClient, hostEnv) {
|
|
418
|
+
super(httpClient, hostEnv);
|
|
419
|
+
this.hostEnv = hostEnv;
|
|
420
|
+
this.rotaListarComboOrigemDados = 'alphacrm/api/v1/OrigemDados/ListarComboOrigemDados';
|
|
421
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/OrigemDados/ListarPaginado';
|
|
422
|
+
this.rotaSelecionar = 'alphacrm/api/v1/OrigemDados/Selecionar';
|
|
423
|
+
this.rotaSalvar = 'alphacrm/api/v1/OrigemDados/Salvar';
|
|
424
|
+
this.rotaExcluir = 'alphacrm/api/v1/OrigemDados/Excluir';
|
|
425
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/OrigemDados/AtivarInativar';
|
|
426
|
+
}
|
|
427
|
+
AtivarInativar(origemDados, ativoInativo) {
|
|
428
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${origemDados}/${ativoInativo}`);
|
|
429
|
+
}
|
|
430
|
+
ListarComboPapelCRM(idmaster) {
|
|
431
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboOrigemDados}/${idmaster}`);
|
|
432
|
+
}
|
|
433
|
+
ListarPaginado(filtro) {
|
|
434
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
435
|
+
}
|
|
436
|
+
Selecionar(idorigemdados) {
|
|
437
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idorigemdados}`);
|
|
438
|
+
}
|
|
439
|
+
Salvar(origemDados) {
|
|
440
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, origemDados);
|
|
441
|
+
}
|
|
442
|
+
Excluir(idorigemdados) {
|
|
443
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idorigemdados}`);
|
|
444
|
+
}
|
|
445
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrigemDadosService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
446
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrigemDadosService, providedIn: 'root' }); }
|
|
447
|
+
}
|
|
448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OrigemDadosService, decorators: [{
|
|
449
|
+
type: Injectable,
|
|
450
|
+
args: [{
|
|
451
|
+
providedIn: 'root'
|
|
452
|
+
}]
|
|
453
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
454
|
+
type: Inject,
|
|
455
|
+
args: ['hostEnv']
|
|
456
|
+
}] }] });
|
|
457
|
+
|
|
458
|
+
class CotacaoService extends BaseAlphaCrmService {
|
|
459
|
+
constructor(httpClient, hostEnv) {
|
|
460
|
+
super(httpClient, hostEnv);
|
|
461
|
+
this.hostEnv = hostEnv;
|
|
462
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Cotacao/ListarPaginado';
|
|
463
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Cotacao/Selecionar';
|
|
464
|
+
this.rotaSalvar = 'alphacrm/api/v1/Cotacao/Salvar';
|
|
465
|
+
this.rotaDuplicar = 'alphacrm/api/v1/Cotacao/Duplicar';
|
|
466
|
+
this.rotaExcluir = 'alphacrm/api/v1/Cotacao/Excluir';
|
|
467
|
+
}
|
|
468
|
+
ListarPaginado(filtro) {
|
|
469
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
470
|
+
}
|
|
471
|
+
Selecionar(idcotacao) {
|
|
472
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcotacao}`);
|
|
473
|
+
}
|
|
474
|
+
salvar(cotacao) {
|
|
475
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, cotacao);
|
|
476
|
+
}
|
|
477
|
+
Duplicar(idcotacao) {
|
|
478
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaDuplicar}/${idcotacao}`);
|
|
479
|
+
}
|
|
480
|
+
excluir(idcotacao) {
|
|
481
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcotacao}`);
|
|
482
|
+
}
|
|
483
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
484
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoService, providedIn: 'root' }); }
|
|
485
|
+
}
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoService, decorators: [{
|
|
487
|
+
type: Injectable,
|
|
488
|
+
args: [{
|
|
489
|
+
providedIn: 'root'
|
|
490
|
+
}]
|
|
491
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
492
|
+
type: Inject,
|
|
493
|
+
args: ['hostEnv']
|
|
494
|
+
}] }] });
|
|
495
|
+
|
|
496
|
+
class CotacaoItensService extends BaseAlphaCrmService {
|
|
497
|
+
constructor(httpClient, hostEnv) {
|
|
498
|
+
super(httpClient, hostEnv);
|
|
499
|
+
this.hostEnv = hostEnv;
|
|
500
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CotacaoItens/Selecionar';
|
|
501
|
+
this.rotaSalvar = 'alphacrm/api/v1/CotacaoItens/Salvar';
|
|
502
|
+
this.rotaExcluir = 'alphacrm/api/v1/CotacaoItens/Excluir';
|
|
503
|
+
}
|
|
504
|
+
Selecionar(idcotacaoitens) {
|
|
505
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcotacaoitens}`);
|
|
506
|
+
}
|
|
507
|
+
salvar(cotacao) {
|
|
508
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, cotacao);
|
|
509
|
+
}
|
|
510
|
+
excluir(idcotacaoitens) {
|
|
511
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcotacaoitens}`);
|
|
512
|
+
}
|
|
513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoItensService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
514
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoItensService, providedIn: 'root' }); }
|
|
515
|
+
}
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoItensService, decorators: [{
|
|
517
|
+
type: Injectable,
|
|
518
|
+
args: [{
|
|
519
|
+
providedIn: 'root'
|
|
520
|
+
}]
|
|
521
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
522
|
+
type: Inject,
|
|
523
|
+
args: ['hostEnv']
|
|
524
|
+
}] }] });
|
|
525
|
+
|
|
526
|
+
class FormaPagamentoService extends BaseAlphaCrmService {
|
|
527
|
+
constructor(httpClient, hostEnv) {
|
|
528
|
+
super(httpClient, hostEnv);
|
|
529
|
+
this.hostEnv = hostEnv;
|
|
530
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/FormaPagamento/ListarPaginado';
|
|
531
|
+
this.rotaListarComboFormaPagamento = 'alphacrm/api/v1/FormaPagamento/ListarComboFormaPagamento';
|
|
532
|
+
this.rotaSelecionar = 'alphacrm/api/v1/FormaPagamento/Selecionar';
|
|
533
|
+
this.rotaSalvar = 'alphacrm/api/v1/FormaPagamento/Salvar';
|
|
534
|
+
this.rotaExcluir = 'alphacrm/api/v1/FormaPagamento/Excluir';
|
|
535
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/FormaPagamento/AtivarInativar';
|
|
536
|
+
}
|
|
537
|
+
AtivarInativar(idformapagamento, indativo) {
|
|
538
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idformapagamento}/${indativo}`);
|
|
539
|
+
}
|
|
540
|
+
ListarPaginado(filtro) {
|
|
541
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
542
|
+
}
|
|
543
|
+
ListarComboFormaPagamento(idmaster) {
|
|
544
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboFormaPagamento}/${idmaster}`);
|
|
545
|
+
}
|
|
546
|
+
Selecionar(idformapagamento) {
|
|
547
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idformapagamento}`);
|
|
548
|
+
}
|
|
549
|
+
salvar(formapagamento) {
|
|
550
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, formapagamento);
|
|
551
|
+
}
|
|
552
|
+
excluir(idformapagamento) {
|
|
553
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idformapagamento}`);
|
|
554
|
+
}
|
|
555
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
556
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagamentoService, providedIn: 'root' }); }
|
|
557
|
+
}
|
|
558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagamentoService, decorators: [{
|
|
559
|
+
type: Injectable,
|
|
560
|
+
args: [{
|
|
561
|
+
providedIn: 'root'
|
|
562
|
+
}]
|
|
563
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
564
|
+
type: Inject,
|
|
565
|
+
args: ['hostEnv']
|
|
566
|
+
}] }] });
|
|
567
|
+
|
|
568
|
+
class PropostaService extends BaseAlphaCrmService {
|
|
569
|
+
constructor(httpClient, hostEnv) {
|
|
570
|
+
super(httpClient, hostEnv);
|
|
571
|
+
this.hostEnv = hostEnv;
|
|
572
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Proposta/ListarPaginado';
|
|
573
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Proposta/Selecionar';
|
|
574
|
+
this.rotaSalvar = 'alphacrm/api/v1/Proposta/Salvar';
|
|
575
|
+
this.rotaExcluir = 'alphacrm/api/v1/Proposta/Excluir';
|
|
576
|
+
this.rotaListarPorTipoItem = 'alphacrm/api/v1/Proposta/ListarPorTipoItem';
|
|
577
|
+
this.rotaAtivarInativarProposta = 'alphacrm/api/v1/Proposta/AtivarInativar';
|
|
578
|
+
}
|
|
579
|
+
ListarPaginado(filtro) {
|
|
580
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
581
|
+
}
|
|
582
|
+
Selecionar(idconfiguracaoproposta) {
|
|
583
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idconfiguracaoproposta}`);
|
|
584
|
+
}
|
|
585
|
+
Salvar(cotacao) {
|
|
586
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, cotacao);
|
|
587
|
+
}
|
|
588
|
+
Excluir(idconfiguracaoproposta) {
|
|
589
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idconfiguracaoproposta}`);
|
|
590
|
+
}
|
|
591
|
+
ListarPorTipoItem(idtipoitem) {
|
|
592
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarPorTipoItem}/${idtipoitem}`);
|
|
593
|
+
}
|
|
594
|
+
AtivarInativarProposta(idconfiguracaoproposta, indativo) {
|
|
595
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativarProposta}/${idconfiguracaoproposta}/${indativo}`, {});
|
|
596
|
+
}
|
|
597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropostaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
598
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropostaService, providedIn: 'root' }); }
|
|
599
|
+
}
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropostaService, decorators: [{
|
|
601
|
+
type: Injectable,
|
|
602
|
+
args: [{
|
|
603
|
+
providedIn: 'root'
|
|
604
|
+
}]
|
|
605
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
606
|
+
type: Inject,
|
|
607
|
+
args: ['hostEnv']
|
|
608
|
+
}] }] });
|
|
609
|
+
|
|
610
|
+
class ClassificacaoContraparteService extends BaseAlphaCrmService {
|
|
611
|
+
constructor(httpClient, hostEnv) {
|
|
612
|
+
super(httpClient, hostEnv);
|
|
613
|
+
this.hostEnv = hostEnv;
|
|
614
|
+
this.rotaListar = 'alphacrm/api/v1/ClassificacaoContraparte/listar';
|
|
615
|
+
this.rotaSelecionar = 'alphacrm/api/v1/ClassificacaoContraparte/selecionar';
|
|
616
|
+
}
|
|
617
|
+
Listar() {
|
|
618
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
619
|
+
}
|
|
620
|
+
Selecionar(idclassificacaocontraparte) {
|
|
621
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idclassificacaocontraparte}`);
|
|
622
|
+
}
|
|
623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClassificacaoContraparteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
624
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClassificacaoContraparteService, providedIn: 'root' }); }
|
|
625
|
+
}
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClassificacaoContraparteService, decorators: [{
|
|
627
|
+
type: Injectable,
|
|
628
|
+
args: [{
|
|
629
|
+
providedIn: 'root'
|
|
630
|
+
}]
|
|
631
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
632
|
+
type: Inject,
|
|
633
|
+
args: ['hostEnv']
|
|
634
|
+
}] }] });
|
|
635
|
+
|
|
636
|
+
class StatusContraparteService extends BaseAlphaCrmService {
|
|
637
|
+
constructor(httpClient, hostEnv) {
|
|
638
|
+
super(httpClient, hostEnv);
|
|
639
|
+
this.hostEnv = hostEnv;
|
|
640
|
+
this.rotaListar = 'alphacrm/api/v1/StatusContraparte/listar';
|
|
641
|
+
this.rotaSelecionar = 'alphacrm/api/v1/StatusContraparte/selecionar';
|
|
642
|
+
}
|
|
643
|
+
Listar() {
|
|
644
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
645
|
+
}
|
|
646
|
+
Selecionar(idstatuscontraparte) {
|
|
647
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idstatuscontraparte}`);
|
|
648
|
+
}
|
|
649
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusContraparteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
650
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusContraparteService, providedIn: 'root' }); }
|
|
651
|
+
}
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusContraparteService, decorators: [{
|
|
653
|
+
type: Injectable,
|
|
654
|
+
args: [{
|
|
655
|
+
providedIn: 'root'
|
|
656
|
+
}]
|
|
657
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
658
|
+
type: Inject,
|
|
659
|
+
args: ['hostEnv']
|
|
660
|
+
}] }] });
|
|
661
|
+
|
|
662
|
+
class StatusCotacaoService extends BaseAlphaCrmService {
|
|
663
|
+
constructor(httpClient, hostEnv) {
|
|
664
|
+
super(httpClient, hostEnv);
|
|
665
|
+
this.hostEnv = hostEnv;
|
|
666
|
+
this.rotaListar = 'alphacrm/api/v1/StatusCotacao/listar';
|
|
667
|
+
this.rotaSelecionar = 'alphacrm/api/v1/StatusCotacao/selecionar';
|
|
668
|
+
}
|
|
669
|
+
Listar() {
|
|
670
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
671
|
+
}
|
|
672
|
+
Selecionar(idstatuscotacao) {
|
|
673
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idstatuscotacao}`);
|
|
674
|
+
}
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusCotacaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
676
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusCotacaoService, providedIn: 'root' }); }
|
|
677
|
+
}
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StatusCotacaoService, decorators: [{
|
|
679
|
+
type: Injectable,
|
|
680
|
+
args: [{
|
|
681
|
+
providedIn: 'root'
|
|
682
|
+
}]
|
|
683
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
684
|
+
type: Inject,
|
|
685
|
+
args: ['hostEnv']
|
|
686
|
+
}] }] });
|
|
687
|
+
|
|
688
|
+
class TipoContraparteService extends BaseAlphaCrmService {
|
|
689
|
+
constructor(httpClient, hostEnv) {
|
|
690
|
+
super(httpClient, hostEnv);
|
|
691
|
+
this.hostEnv = hostEnv;
|
|
692
|
+
this.rotaListar = 'alphacrm/api/v1/TipoContraparte/listar';
|
|
693
|
+
this.rotaSelecionar = 'alphacrm/api/v1/TipoContraparte/selecionar';
|
|
694
|
+
}
|
|
695
|
+
Listar() {
|
|
696
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
697
|
+
}
|
|
698
|
+
Selecionar(idtipocontraparte) {
|
|
699
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idtipocontraparte}`);
|
|
700
|
+
}
|
|
701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContraparteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
702
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContraparteService, providedIn: 'root' }); }
|
|
703
|
+
}
|
|
704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContraparteService, decorators: [{
|
|
705
|
+
type: Injectable,
|
|
706
|
+
args: [{
|
|
707
|
+
providedIn: 'root'
|
|
708
|
+
}]
|
|
709
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
710
|
+
type: Inject,
|
|
711
|
+
args: ['hostEnv']
|
|
712
|
+
}] }] });
|
|
713
|
+
|
|
714
|
+
class TipoMotivoService extends BaseAlphaCrmService {
|
|
715
|
+
constructor(httpClient, hostEnv) {
|
|
716
|
+
super(httpClient, hostEnv);
|
|
717
|
+
this.hostEnv = hostEnv;
|
|
718
|
+
this.rotaListar = 'alphacrm/api/v1/TipoMotivo/Listar';
|
|
719
|
+
this.rotaSelecionar = 'alphacrm/api/v1/TipoMotivo/Selecionar';
|
|
720
|
+
}
|
|
721
|
+
Listar() {
|
|
722
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
723
|
+
}
|
|
724
|
+
Selecionar(idtipomotivo) {
|
|
725
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idtipomotivo}`);
|
|
726
|
+
}
|
|
727
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
728
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoService, providedIn: 'root' }); }
|
|
729
|
+
}
|
|
730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoService, decorators: [{
|
|
731
|
+
type: Injectable,
|
|
732
|
+
args: [{
|
|
733
|
+
providedIn: 'root'
|
|
734
|
+
}]
|
|
735
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
736
|
+
type: Inject,
|
|
737
|
+
args: ['hostEnv']
|
|
738
|
+
}] }] });
|
|
739
|
+
|
|
740
|
+
class CampanhaService extends BaseAlphaCrmService {
|
|
741
|
+
constructor(httpClient, hostEnv) {
|
|
742
|
+
super(httpClient, hostEnv);
|
|
743
|
+
this.hostEnv = hostEnv;
|
|
744
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Campanha/ListarPaginado';
|
|
745
|
+
this.rotaListarComboCampanha = 'alphacrm/api/v1/Campanha/ListarComboCampanha';
|
|
746
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Campanha/Selecionar';
|
|
747
|
+
this.rotaSalvar = 'alphacrm/api/v1/Campanha/Salvar';
|
|
748
|
+
this.rotaExcluir = 'alphacrm/api/v1/Campanha/Excluir';
|
|
749
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Campanha/AtivarInativarCampanha';
|
|
750
|
+
}
|
|
751
|
+
AtivarInativar(campanha, ativoInativo) {
|
|
752
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${campanha.idcampanha}/${ativoInativo}`);
|
|
753
|
+
}
|
|
754
|
+
ListarComboCampanha(idmaster) {
|
|
755
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboCampanha}/${idmaster}`);
|
|
756
|
+
}
|
|
757
|
+
ListarPaginado(filtro) {
|
|
758
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
759
|
+
}
|
|
760
|
+
Selecionar(idcampanha) {
|
|
761
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcampanha}`);
|
|
762
|
+
}
|
|
763
|
+
salvar(campanha) {
|
|
764
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, campanha);
|
|
765
|
+
}
|
|
766
|
+
excluir(idcampanha) {
|
|
767
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcampanha}`);
|
|
768
|
+
}
|
|
769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CampanhaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
770
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CampanhaService, providedIn: 'root' }); }
|
|
771
|
+
}
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CampanhaService, decorators: [{
|
|
773
|
+
type: Injectable,
|
|
774
|
+
args: [{
|
|
775
|
+
providedIn: 'root'
|
|
776
|
+
}]
|
|
777
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
778
|
+
type: Inject,
|
|
779
|
+
args: ['hostEnv']
|
|
780
|
+
}] }] });
|
|
781
|
+
|
|
782
|
+
class ConcorrenteService extends BaseAlphaCrmService {
|
|
783
|
+
constructor(httpClient, hostEnv) {
|
|
784
|
+
super(httpClient, hostEnv);
|
|
785
|
+
this.hostEnv = hostEnv;
|
|
786
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Concorrente/ListarPaginado';
|
|
787
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Concorrente/Selecionar';
|
|
788
|
+
this.rotaSalvar = 'alphacrm/api/v1/Concorrente/Salvar';
|
|
789
|
+
this.rotaExcluir = 'alphacrm/api/v1/Concorrente/Excluir';
|
|
790
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Concorrente/AtivarInativar';
|
|
791
|
+
}
|
|
792
|
+
AtivarInativar(idconcorrente, indativo) {
|
|
793
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idconcorrente}/${indativo}`);
|
|
794
|
+
}
|
|
795
|
+
ListarPaginado(filtro) {
|
|
796
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
797
|
+
}
|
|
798
|
+
Selecionar(idconcorrente) {
|
|
799
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idconcorrente}`);
|
|
800
|
+
}
|
|
801
|
+
salvar(concorrente) {
|
|
802
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, concorrente);
|
|
803
|
+
}
|
|
804
|
+
excluir(idconcorrente) {
|
|
805
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idconcorrente}`);
|
|
806
|
+
}
|
|
807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConcorrenteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
808
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConcorrenteService, providedIn: 'root' }); }
|
|
809
|
+
}
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConcorrenteService, decorators: [{
|
|
811
|
+
type: Injectable,
|
|
812
|
+
args: [{
|
|
813
|
+
providedIn: 'root'
|
|
814
|
+
}]
|
|
815
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
816
|
+
type: Inject,
|
|
817
|
+
args: ['hostEnv']
|
|
818
|
+
}] }] });
|
|
819
|
+
|
|
820
|
+
class EtapaOportunidadeService extends BaseAlphaCrmService {
|
|
821
|
+
constructor(httpClient, hostEnv) {
|
|
822
|
+
super(httpClient, hostEnv);
|
|
823
|
+
this.hostEnv = hostEnv;
|
|
824
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/EtapaOportunidade/ListarPaginado';
|
|
825
|
+
this.rotaListarCombo = 'alphacrm/api/v1/EtapaOportunidade/ListarComboEtapaOportunidade';
|
|
826
|
+
this.rotaSelecionar = 'alphacrm/api/v1/EtapaOportunidade/Selecionar';
|
|
827
|
+
this.rotaSalvar = 'alphacrm/api/v1/EtapaOportunidade/Salvar';
|
|
828
|
+
this.rotaExcluir = 'alphacrm/api/v1/EtapaOportunidade/Excluir';
|
|
829
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/EtapaOportunidade/AtivarInativarEtapa';
|
|
830
|
+
this.rotaOrdenarEtapa = 'alphacrm/api/v1/EtapaOportunidade/ReordenarEtapasOportunidade';
|
|
831
|
+
this.rotaListarEtapaTelaOportunidade = 'alphacrm/api/v1/EtapaOportunidade/ListarEtapaTelaOportunidade';
|
|
832
|
+
}
|
|
833
|
+
AtivarInativar(idetapaoportunidade, indativo) {
|
|
834
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idetapaoportunidade}/${indativo}`);
|
|
835
|
+
}
|
|
836
|
+
ListarPaginado(filtro) {
|
|
837
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
838
|
+
}
|
|
839
|
+
ListarComboEtapaOportunidade(idmaster) {
|
|
840
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarCombo}/${idmaster}`);
|
|
841
|
+
}
|
|
842
|
+
ListarEtapaTelaOportunidade(idmaster) {
|
|
843
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarEtapaTelaOportunidade}/${idmaster}`);
|
|
844
|
+
}
|
|
845
|
+
ReordenarEtapasOportunidade(ordem) {
|
|
846
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaOrdenarEtapa, ordem);
|
|
847
|
+
}
|
|
848
|
+
Selecionar(idetapaoportunidade) {
|
|
849
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idetapaoportunidade}`);
|
|
850
|
+
}
|
|
851
|
+
salvar(etapaoportunidade) {
|
|
852
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, etapaoportunidade);
|
|
853
|
+
}
|
|
854
|
+
excluir(idetapaoportunidade) {
|
|
855
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idetapaoportunidade}`);
|
|
856
|
+
}
|
|
857
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EtapaOportunidadeService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
858
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EtapaOportunidadeService, providedIn: 'root' }); }
|
|
859
|
+
}
|
|
860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EtapaOportunidadeService, decorators: [{
|
|
861
|
+
type: Injectable,
|
|
862
|
+
args: [{
|
|
863
|
+
providedIn: 'root'
|
|
864
|
+
}]
|
|
865
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
866
|
+
type: Inject,
|
|
867
|
+
args: ['hostEnv']
|
|
868
|
+
}] }] });
|
|
869
|
+
|
|
870
|
+
class MotivoPerdaGanhoService extends BaseAlphaCrmService {
|
|
871
|
+
constructor(httpClient, hostEnv) {
|
|
872
|
+
super(httpClient, hostEnv);
|
|
873
|
+
this.hostEnv = hostEnv;
|
|
874
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/MotivoPerdaGanho/ListarPaginado';
|
|
875
|
+
this.rotaListarComboMotivoPerdaGanho = 'alphacrm/api/v1/MotivoPerdaGanho/ListarComboMotivoPerdaGanho';
|
|
876
|
+
this.rotaSelecionar = 'alphacrm/api/v1/MotivoPerdaGanho/Selecionar';
|
|
877
|
+
this.rotaSalvar = 'alphacrm/api/v1/MotivoPerdaGanho/Salvar';
|
|
878
|
+
this.rotaExcluir = 'alphacrm/api/v1/MotivoPerdaGanho/Excluir';
|
|
879
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/MotivoPerdaGanho/AtivarInativarMotivoPerdaGanho';
|
|
880
|
+
}
|
|
881
|
+
AtivarInativar(idmotivoperdaganho, indativo) {
|
|
882
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idmotivoperdaganho}/${indativo}`);
|
|
883
|
+
}
|
|
884
|
+
ListarPaginado(filtro) {
|
|
885
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
886
|
+
}
|
|
887
|
+
ListarComboMotivoPerdaGanho(idmaster, idtipomotivo) {
|
|
888
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarComboMotivoPerdaGanho}/${idmaster}/${idtipomotivo}`);
|
|
889
|
+
}
|
|
890
|
+
Selecionar(idmotivoperdaganho) {
|
|
891
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idmotivoperdaganho}`);
|
|
892
|
+
}
|
|
893
|
+
salvar(motivoperdaganho) {
|
|
894
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, motivoperdaganho);
|
|
895
|
+
}
|
|
896
|
+
excluir(idmotivoperdaganho) {
|
|
897
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idmotivoperdaganho}`);
|
|
898
|
+
}
|
|
899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MotivoPerdaGanhoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
900
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MotivoPerdaGanhoService, providedIn: 'root' }); }
|
|
901
|
+
}
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MotivoPerdaGanhoService, decorators: [{
|
|
903
|
+
type: Injectable,
|
|
904
|
+
args: [{
|
|
905
|
+
providedIn: 'root'
|
|
906
|
+
}]
|
|
907
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
908
|
+
type: Inject,
|
|
909
|
+
args: ['hostEnv']
|
|
910
|
+
}] }] });
|
|
911
|
+
|
|
912
|
+
class OportunidadeService extends BaseAlphaCrmService {
|
|
913
|
+
constructor(httpClient, hostEnv) {
|
|
914
|
+
super(httpClient, hostEnv);
|
|
915
|
+
this.hostEnv = hostEnv;
|
|
916
|
+
this.rotCombo = 'alphacrm/api/v1/Oportunidade/ListarCombo';
|
|
917
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Oportunidade/ListarPaginado';
|
|
918
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Oportunidade/Selecionar';
|
|
919
|
+
this.rotaTrocarEtapa = 'alphacrm/api/v1/Oportunidade/TrocarEtapa';
|
|
920
|
+
this.rotaSalvar = 'alphacrm/api/v1/Oportunidade/Salvar';
|
|
921
|
+
this.rotaExcluir = 'alphacrm/api/v1/Oportunidade/Excluir';
|
|
922
|
+
this.rotaFinalizarMotivo = 'alphacrm/api/v1/Oportunidade/FinalizarOportunidadeMotivo';
|
|
923
|
+
this.rotaListarPaginadoTodasEtapas = 'alphacrm/api/v1/Oportunidade/ListarPaginadoTodasEtapas';
|
|
924
|
+
}
|
|
925
|
+
ListarCombo(filtroContraparte) {
|
|
926
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotCombo, filtroContraparte);
|
|
927
|
+
}
|
|
928
|
+
ListarPaginado(filtro) {
|
|
929
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
930
|
+
}
|
|
931
|
+
ListarPaginadoTodasEtapas(filtro) {
|
|
932
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginadoTodasEtapas, filtro);
|
|
933
|
+
}
|
|
934
|
+
Selecionar(idoportunidade) {
|
|
935
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idoportunidade}`);
|
|
936
|
+
}
|
|
937
|
+
TrocarEtapa(trocarEtapaModel) {
|
|
938
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaTrocarEtapa}`, trocarEtapaModel);
|
|
939
|
+
}
|
|
940
|
+
Salvar(oportunidade) {
|
|
941
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, oportunidade);
|
|
942
|
+
}
|
|
943
|
+
Excluir(idoportunidade) {
|
|
944
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idoportunidade}`);
|
|
945
|
+
}
|
|
946
|
+
FinalizarOportunidadeMotivo(oportunidademotivo) {
|
|
947
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaFinalizarMotivo}`, oportunidademotivo);
|
|
948
|
+
}
|
|
949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OportunidadeService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
950
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OportunidadeService, providedIn: 'root' }); }
|
|
951
|
+
}
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OportunidadeService, decorators: [{
|
|
953
|
+
type: Injectable,
|
|
954
|
+
args: [{
|
|
955
|
+
providedIn: 'root'
|
|
956
|
+
}]
|
|
957
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
958
|
+
type: Inject,
|
|
959
|
+
args: ['hostEnv']
|
|
960
|
+
}] }] });
|
|
961
|
+
|
|
962
|
+
class AgenteVendasService extends BaseAlphaCrmService {
|
|
963
|
+
constructor(httpClient, hostEnv) {
|
|
964
|
+
super(httpClient, hostEnv);
|
|
965
|
+
this.hostEnv = hostEnv;
|
|
966
|
+
this.rotaListarCombo = 'alphacrm/api/v1/AgenteVendas/ListarComboAgenteVendas';
|
|
967
|
+
this.rotaListar = 'alphacrm/api/v1/AgenteVendas/ListarPaginado ';
|
|
968
|
+
this.rotaSalvar = 'alphacrm/api/v1/AgenteVendas/Salvar';
|
|
969
|
+
this.rotaSelecionar = 'alphacrm/api/v1/AgenteVendas/Selecionar';
|
|
970
|
+
this.rotaExcluir = 'alphacrm/api/v1/AgenteVendas/Excluir';
|
|
971
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/AgenteVendas/AtivarInativarAgenteVendas';
|
|
972
|
+
this.rotaSelecionarDadosAgenteVendasporUsuario = 'alphacrm/api/v1/AgenteVendas/SelecionarDadosAgenteVendasporUsuario';
|
|
973
|
+
}
|
|
974
|
+
AtivarInativar(agenteVendas, ativoInativo) {
|
|
975
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${agenteVendas.idagentevendas}/${ativoInativo}`);
|
|
976
|
+
}
|
|
977
|
+
ListarComboAgenteVendas(idmaster, idpapelcrm) {
|
|
978
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarCombo}/${idmaster}/${idpapelcrm}`);
|
|
979
|
+
}
|
|
980
|
+
ListarPaginado(filtroAgentevendas) {
|
|
981
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListar, filtroAgentevendas);
|
|
982
|
+
}
|
|
983
|
+
Salvar(contraparte) {
|
|
984
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, contraparte);
|
|
985
|
+
}
|
|
986
|
+
Selecionar(idagentevendas) {
|
|
987
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idagentevendas}`);
|
|
988
|
+
}
|
|
989
|
+
SelecionarDadosAgenteVendasporUsuario(idusuario) {
|
|
990
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionarDadosAgenteVendasporUsuario}/${idusuario}`);
|
|
991
|
+
}
|
|
992
|
+
Excluir(idagentevendas) {
|
|
993
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idagentevendas}`);
|
|
994
|
+
}
|
|
995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteVendasService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
996
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteVendasService, providedIn: 'root' }); }
|
|
997
|
+
}
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteVendasService, decorators: [{
|
|
999
|
+
type: Injectable,
|
|
1000
|
+
args: [{
|
|
1001
|
+
providedIn: 'root'
|
|
1002
|
+
}]
|
|
1003
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1004
|
+
type: Inject,
|
|
1005
|
+
args: ['hostEnv']
|
|
1006
|
+
}] }] });
|
|
1007
|
+
|
|
1008
|
+
;
|
|
1009
|
+
class EmpresaService extends BaseAlphaCrmService {
|
|
1010
|
+
constructor(httpClient, hostEnv) {
|
|
1011
|
+
super(httpClient, hostEnv);
|
|
1012
|
+
this.hostEnv = hostEnv;
|
|
1013
|
+
this.rotaListar = 'alphacrm/api/v1/Empresa/ListarPaginado';
|
|
1014
|
+
this.rotaSalvar = 'alphacrm/api/v1/Empresa/Salvar';
|
|
1015
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Empresa/Selecionar';
|
|
1016
|
+
this.rotaExcluir = 'alphacrm/api/v1/Empresa/Excluir';
|
|
1017
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Empresa/AtivarInativar';
|
|
1018
|
+
}
|
|
1019
|
+
AtivarInativar(empresa, ativoInativo) {
|
|
1020
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${empresa.idempresa}/${ativoInativo}`);
|
|
1021
|
+
}
|
|
1022
|
+
ListarPaginado(filtroEmpresa) {
|
|
1023
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListar, filtroEmpresa);
|
|
1024
|
+
}
|
|
1025
|
+
Salvar(empresa) {
|
|
1026
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, empresa);
|
|
1027
|
+
}
|
|
1028
|
+
Selecionar(idempresa, idmaster) {
|
|
1029
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idempresa}/${idmaster}`);
|
|
1030
|
+
}
|
|
1031
|
+
Excluir(idempresa, idmaster) {
|
|
1032
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idempresa}/${idmaster}`);
|
|
1033
|
+
}
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1035
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
|
1036
|
+
}
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, decorators: [{
|
|
1038
|
+
type: Injectable,
|
|
1039
|
+
args: [{
|
|
1040
|
+
providedIn: 'root'
|
|
1041
|
+
}]
|
|
1042
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1043
|
+
type: Inject,
|
|
1044
|
+
args: ['hostEnv']
|
|
1045
|
+
}] }] });
|
|
1046
|
+
|
|
1047
|
+
class ContraparteService extends BaseAlphaCrmService {
|
|
1048
|
+
constructor(httpClient, hostEnv) {
|
|
1049
|
+
super(httpClient, hostEnv);
|
|
1050
|
+
this.hostEnv = hostEnv;
|
|
1051
|
+
this.rotCombo = 'alphacrm/api/v1/Contraparte/ListarCombo';
|
|
1052
|
+
this.rotaListar = 'alphacrm/api/v1/Contraparte/ListarPaginado';
|
|
1053
|
+
this.rotaSalvar = 'alphacrm/api/v1/Contraparte/Salvar';
|
|
1054
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Contraparte/Selecionar';
|
|
1055
|
+
this.rotaSelecionarMesmoCpfCnpj = 'alphacrm/api/v1/Contraparte/SelecionarMesmoCpfCnpj';
|
|
1056
|
+
this.rotaExcluir = 'alphacrm/api/v1/Contraparte/Excluir';
|
|
1057
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Contraparte/AtivarInativarContraParte';
|
|
1058
|
+
}
|
|
1059
|
+
AtivarInativar(contraParte, ativoInativo) {
|
|
1060
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${contraParte.idcontraparte}/${ativoInativo}`);
|
|
1061
|
+
}
|
|
1062
|
+
ListarCombo(filtroContraparte) {
|
|
1063
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotCombo, filtroContraparte);
|
|
1064
|
+
}
|
|
1065
|
+
ListarPaginado(filtroContraparte) {
|
|
1066
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListar, filtroContraparte);
|
|
1067
|
+
}
|
|
1068
|
+
Salvar(contraparte) {
|
|
1069
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, contraparte);
|
|
1070
|
+
}
|
|
1071
|
+
Selecionar(idcontraparte) {
|
|
1072
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcontraparte}`);
|
|
1073
|
+
}
|
|
1074
|
+
SelecionarMesmoCpfCnpj(idmaster, cpfcnpj) {
|
|
1075
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionarMesmoCpfCnpj}/${idmaster}/${cpfcnpj}`);
|
|
1076
|
+
}
|
|
1077
|
+
Excluir(idcontraparte) {
|
|
1078
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcontraparte}`);
|
|
1079
|
+
}
|
|
1080
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContraparteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1081
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContraparteService, providedIn: 'root' }); }
|
|
1082
|
+
}
|
|
1083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContraparteService, decorators: [{
|
|
1084
|
+
type: Injectable,
|
|
1085
|
+
args: [{
|
|
1086
|
+
providedIn: 'root'
|
|
1087
|
+
}]
|
|
1088
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1089
|
+
type: Inject,
|
|
1090
|
+
args: ['hostEnv']
|
|
1091
|
+
}] }] });
|
|
1092
|
+
|
|
1093
|
+
class ParceiroRevendaService extends BaseAlphaCrmService {
|
|
1094
|
+
constructor(httpClient, hostEnv) {
|
|
1095
|
+
super(httpClient, hostEnv);
|
|
1096
|
+
this.hostEnv = hostEnv;
|
|
1097
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/ParceiroRevenda/AtivarInativarParceiroRevenda';
|
|
1098
|
+
this.rotaListarCombo = 'alphacrm/api/v1/ParceiroRevenda/ListarComboParceiroRevenda';
|
|
1099
|
+
this.rotaListar = 'alphacrm/api/v1/ParceiroRevenda/ListarPaginado';
|
|
1100
|
+
this.rotaSalvar = 'alphacrm/api/v1/ParceiroRevenda/Salvar';
|
|
1101
|
+
this.rotaSelecionar = 'alphacrm/api/v1/ParceiroRevenda/Selecionar';
|
|
1102
|
+
this.rotaExcluir = 'alphacrm/api/v1/ParceiroRevenda/Excluir';
|
|
1103
|
+
}
|
|
1104
|
+
AtivarInativar(parceirorevenda, ativoInativo) {
|
|
1105
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${parceirorevenda}/${ativoInativo}`);
|
|
1106
|
+
}
|
|
1107
|
+
ListarComboParceiroRevenda(idmaster, idparceirorevenda) {
|
|
1108
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarCombo}/${idmaster}/${idparceirorevenda}`);
|
|
1109
|
+
}
|
|
1110
|
+
ListarPaginado(filtroParceirorevenda) {
|
|
1111
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListar, filtroParceirorevenda);
|
|
1112
|
+
}
|
|
1113
|
+
Salvar(parceirorevenda) {
|
|
1114
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, parceirorevenda);
|
|
1115
|
+
}
|
|
1116
|
+
Selecionar(idparceirorevenda) {
|
|
1117
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idparceirorevenda}`);
|
|
1118
|
+
}
|
|
1119
|
+
Excluir(idparceirorevenda) {
|
|
1120
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idparceirorevenda}`);
|
|
1121
|
+
}
|
|
1122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParceiroRevendaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1123
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParceiroRevendaService, providedIn: 'root' }); }
|
|
1124
|
+
}
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParceiroRevendaService, decorators: [{
|
|
1126
|
+
type: Injectable,
|
|
1127
|
+
args: [{
|
|
1128
|
+
providedIn: 'root'
|
|
1129
|
+
}]
|
|
1130
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1131
|
+
type: Inject,
|
|
1132
|
+
args: ['hostEnv']
|
|
1133
|
+
}] }] });
|
|
1134
|
+
|
|
1135
|
+
class InboxService extends BaseAlphaCrmService {
|
|
1136
|
+
constructor(httpClient, hostEnv) {
|
|
1137
|
+
super(httpClient, hostEnv);
|
|
1138
|
+
this.hostEnv = hostEnv;
|
|
1139
|
+
this.rotaListaComboInbox = 'alphacrm/api/v1/Inbox/ListarComboInbox';
|
|
1140
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Inbox/ListarPaginado';
|
|
1141
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Inbox/Selecionar';
|
|
1142
|
+
this.rotaSalvar = 'alphacrm/api/v1/Inbox/Salvar';
|
|
1143
|
+
this.rotaExcluir = 'alphacrm/api/v1/Inbox/Excluir';
|
|
1144
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Inbox/AtivarInativar';
|
|
1145
|
+
}
|
|
1146
|
+
AtivarInativar(inbox, ativoInativo) {
|
|
1147
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${inbox.idinbox}/${ativoInativo}`);
|
|
1148
|
+
}
|
|
1149
|
+
ListarComboinbox(idmaster) {
|
|
1150
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListaComboInbox}/${idmaster}`);
|
|
1151
|
+
}
|
|
1152
|
+
ListarPaginado(filtro) {
|
|
1153
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
1154
|
+
}
|
|
1155
|
+
Selecionar(idinbox) {
|
|
1156
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idinbox}`);
|
|
1157
|
+
}
|
|
1158
|
+
salvar(inbox) {
|
|
1159
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, inbox);
|
|
1160
|
+
}
|
|
1161
|
+
excluir(idinbox) {
|
|
1162
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idinbox}`);
|
|
1163
|
+
}
|
|
1164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InboxService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1165
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InboxService, providedIn: 'root' }); }
|
|
1166
|
+
}
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InboxService, decorators: [{
|
|
1168
|
+
type: Injectable,
|
|
1169
|
+
args: [{
|
|
1170
|
+
providedIn: 'root'
|
|
1171
|
+
}]
|
|
1172
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1173
|
+
type: Inject,
|
|
1174
|
+
args: ['hostEnv']
|
|
1175
|
+
}] }] });
|
|
1176
|
+
|
|
1177
|
+
class DistribuicaoService extends BaseAlphaCrmService {
|
|
1178
|
+
constructor(httpClient, hostEnv) {
|
|
1179
|
+
super(httpClient, hostEnv);
|
|
1180
|
+
this.hostEnv = hostEnv;
|
|
1181
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/Distribuicao/AtivarInativar';
|
|
1182
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/Distribuicao/ListarPaginado';
|
|
1183
|
+
this.rotaListarPorListaIdDistribuicao = 'alphacrm/api/v1/Distribuicao/ListarPorListaIdDistribuicao';
|
|
1184
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Distribuicao/Selecionar';
|
|
1185
|
+
this.rotaSalvar = 'alphacrm/api/v1/Distribuicao/Salvar';
|
|
1186
|
+
this.rotaExcluir = 'alphacrm/api/v1/Distribuicao/Excluir';
|
|
1187
|
+
}
|
|
1188
|
+
AtivarInativar(iddistribuicao, indativo) {
|
|
1189
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${iddistribuicao}/${indativo}`);
|
|
1190
|
+
}
|
|
1191
|
+
ListarPaginado(filtro) {
|
|
1192
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
1193
|
+
}
|
|
1194
|
+
ListarPorListaIdItens(listaiditens) {
|
|
1195
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPorListaIdDistribuicao, listaiditens);
|
|
1196
|
+
}
|
|
1197
|
+
Selecionar(iddistribuicao) {
|
|
1198
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${iddistribuicao}`);
|
|
1199
|
+
}
|
|
1200
|
+
Salvar(catalogo) {
|
|
1201
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogo);
|
|
1202
|
+
}
|
|
1203
|
+
Excluir(iddistribuicao) {
|
|
1204
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${iddistribuicao}`);
|
|
1205
|
+
}
|
|
1206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DistribuicaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DistribuicaoService, providedIn: 'root' }); }
|
|
1208
|
+
}
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DistribuicaoService, decorators: [{
|
|
1210
|
+
type: Injectable,
|
|
1211
|
+
args: [{
|
|
1212
|
+
providedIn: 'root'
|
|
1213
|
+
}]
|
|
1214
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1215
|
+
type: Inject,
|
|
1216
|
+
args: ['hostEnv']
|
|
1217
|
+
}] }] });
|
|
1218
|
+
|
|
1219
|
+
class RelatorioComissaoService extends BaseAlphaCrmService {
|
|
1220
|
+
constructor(httpClient, hostEnv) {
|
|
1221
|
+
super(httpClient, hostEnv);
|
|
1222
|
+
this.hostEnv = hostEnv;
|
|
1223
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/RelatorioComissao/ListarPaginado';
|
|
1224
|
+
}
|
|
1225
|
+
ListarPaginado(filtro) {
|
|
1226
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
1227
|
+
}
|
|
1228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RelatorioComissaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1229
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RelatorioComissaoService, providedIn: 'root' }); }
|
|
1230
|
+
}
|
|
1231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RelatorioComissaoService, decorators: [{
|
|
1232
|
+
type: Injectable,
|
|
1233
|
+
args: [{
|
|
1234
|
+
providedIn: 'root'
|
|
1235
|
+
}]
|
|
1236
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1237
|
+
type: Inject,
|
|
1238
|
+
args: ['hostEnv']
|
|
1239
|
+
}] }] });
|
|
1240
|
+
|
|
1241
|
+
class PapelSubareaService extends BaseAlphaCrmService {
|
|
1242
|
+
constructor(httpClient, hostEnv) {
|
|
1243
|
+
super(httpClient, hostEnv);
|
|
1244
|
+
this.hostEnv = hostEnv;
|
|
1245
|
+
this.rotaListar = 'alphacrm/api/v1/PapelSubarea/Listar';
|
|
1246
|
+
this.rotaSelecionar = 'alphacrm/api/v1/PapelSubarea/Selecionar';
|
|
1247
|
+
}
|
|
1248
|
+
Listar() {
|
|
1249
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
1250
|
+
}
|
|
1251
|
+
Selecionar(idtipopapelprospect) {
|
|
1252
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idtipopapelprospect}`);
|
|
1253
|
+
}
|
|
1254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelSubareaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1255
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelSubareaService, providedIn: 'root' }); }
|
|
1256
|
+
}
|
|
1257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PapelSubareaService, decorators: [{
|
|
1258
|
+
type: Injectable,
|
|
1259
|
+
args: [{
|
|
1260
|
+
providedIn: 'root'
|
|
1261
|
+
}]
|
|
1262
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1263
|
+
type: Inject,
|
|
1264
|
+
args: ['hostEnv']
|
|
1265
|
+
}] }] });
|
|
1266
|
+
|
|
1267
|
+
class ParametrosService extends BaseAlphaCrmService {
|
|
1268
|
+
constructor(httpClient, hostEnv) {
|
|
1269
|
+
super(httpClient, hostEnv);
|
|
1270
|
+
this.hostEnv = hostEnv;
|
|
1271
|
+
this.rotaListar = 'alphacrm/api/v1/Parametros/Listar';
|
|
1272
|
+
this.rotaListarMascarasVigentes = 'alphacrm/api/v1/Parametros/ListarMascarasVigentes';
|
|
1273
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Parametros/Selecionar';
|
|
1274
|
+
this.rotaSelecionarParametrosporMaster = 'alphacrm/api/v1/Parametros/SelecionarParametrosporMaster';
|
|
1275
|
+
this.rotaSalvar = 'alphacrm/api/v1/Parametros/Salvar';
|
|
1276
|
+
this.rotaExcluir = 'alphacrm/api/v1/Parametros/Excluir';
|
|
1277
|
+
this.rotaTestarConfiguracaoEmail = 'alphacrm/api/v1/Parametros/TestarConfiguracaoEmail';
|
|
1278
|
+
this.rotaListarDiaVencimento = 'alphacrm/api/v1/Parametros/ListarComboDiaVencimento';
|
|
1279
|
+
}
|
|
1280
|
+
Listar(idmaster) {
|
|
1281
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListar}/${idmaster}`);
|
|
1282
|
+
}
|
|
1283
|
+
ListarComboDiaVencimento(idmaster) {
|
|
1284
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarDiaVencimento}/${idmaster}`);
|
|
1285
|
+
}
|
|
1286
|
+
ListarMascarasVigentes(idmaster) {
|
|
1287
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarMascarasVigentes}/${idmaster}`);
|
|
1288
|
+
}
|
|
1289
|
+
Selecionar(idparametroconfiguracao) {
|
|
1290
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idparametroconfiguracao}`);
|
|
1291
|
+
}
|
|
1292
|
+
SelecionarParametrosporMaster(idmaster) {
|
|
1293
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionarParametrosporMaster}/${idmaster}`);
|
|
1294
|
+
}
|
|
1295
|
+
Salvar(dadosparametros) {
|
|
1296
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, dadosparametros);
|
|
1297
|
+
}
|
|
1298
|
+
ConfiguracaoEmail(config) {
|
|
1299
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaTestarConfiguracaoEmail, config);
|
|
1300
|
+
}
|
|
1301
|
+
Excluir(idparametroconfiguracao) {
|
|
1302
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idparametroconfiguracao}`);
|
|
1303
|
+
}
|
|
1304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParametrosService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1305
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParametrosService, providedIn: 'root' }); }
|
|
1306
|
+
}
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParametrosService, decorators: [{
|
|
1308
|
+
type: Injectable,
|
|
1309
|
+
args: [{
|
|
1310
|
+
providedIn: 'root'
|
|
1311
|
+
}]
|
|
1312
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1313
|
+
type: Inject,
|
|
1314
|
+
args: ['hostEnv']
|
|
1315
|
+
}] }] });
|
|
1316
|
+
|
|
1317
|
+
class HierarquiaOrganizacionalService extends BaseAlphaCrmService {
|
|
1318
|
+
constructor(httpClient, hostEnv) {
|
|
1319
|
+
super(httpClient, hostEnv);
|
|
1320
|
+
this.hostEnv = hostEnv;
|
|
1321
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/HierarquiaOrganizacional/AtivarInativar';
|
|
1322
|
+
this.rotaListarCombo = 'alphacrm/api/v1/HierarquiaOrganizacional/ListarCombo';
|
|
1323
|
+
this.rotaSalvar = 'alphacrm/api/v1/HierarquiaOrganizacional/Salvar';
|
|
1324
|
+
this.rotaSelecionar = 'alphacrm/api/v1/HierarquiaOrganizacional/Selecionar';
|
|
1325
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/HierarquiaOrganizacional/ListarPaginado';
|
|
1326
|
+
this.rotaExcluir = 'alphacrm/api/v1/HierarquiaOrganizacional/Excluir';
|
|
1327
|
+
}
|
|
1328
|
+
AtivarInativar(idHierarquiaOrganizacional, indativo) {
|
|
1329
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idHierarquiaOrganizacional}/${indativo}`);
|
|
1330
|
+
}
|
|
1331
|
+
ListarCombo(idmaster) {
|
|
1332
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarCombo}/${idmaster}`);
|
|
1333
|
+
}
|
|
1334
|
+
Salvar(HierarquiaOrganizacional) {
|
|
1335
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, HierarquiaOrganizacional);
|
|
1336
|
+
}
|
|
1337
|
+
Selecionar(idHierarquiaOrganizacional) {
|
|
1338
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idHierarquiaOrganizacional}`);
|
|
1339
|
+
}
|
|
1340
|
+
ListarPaginado(filtro) {
|
|
1341
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
1342
|
+
}
|
|
1343
|
+
Excluir(idHierarquiaOrganizacional) {
|
|
1344
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idHierarquiaOrganizacional}`);
|
|
1345
|
+
}
|
|
1346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HierarquiaOrganizacionalService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HierarquiaOrganizacionalService, providedIn: 'root' }); }
|
|
1348
|
+
}
|
|
1349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HierarquiaOrganizacionalService, decorators: [{
|
|
1350
|
+
type: Injectable,
|
|
1351
|
+
args: [{
|
|
1352
|
+
providedIn: 'root'
|
|
1353
|
+
}]
|
|
1354
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1355
|
+
type: Inject,
|
|
1356
|
+
args: ['hostEnv']
|
|
1357
|
+
}] }] });
|
|
1358
|
+
|
|
1359
|
+
class UsuarioAlphaCrmService extends BaseAlphaCrmService {
|
|
1360
|
+
constructor(httpClient, hostEnv) {
|
|
1361
|
+
super(httpClient, hostEnv);
|
|
1362
|
+
this.hostEnv = hostEnv;
|
|
1363
|
+
this.rotaSelecionarUsuario = 'alphacrm/api/v1/Usuario/SelecionarUsuario';
|
|
1364
|
+
}
|
|
1365
|
+
SelecionarUsuario(cpfcnpj, idmaster) {
|
|
1366
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionarUsuario}/${cpfcnpj}/${idmaster}`);
|
|
1367
|
+
}
|
|
1368
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsuarioAlphaCrmService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1369
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsuarioAlphaCrmService, providedIn: 'root' }); }
|
|
1370
|
+
}
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsuarioAlphaCrmService, decorators: [{
|
|
1372
|
+
type: Injectable,
|
|
1373
|
+
args: [{
|
|
1374
|
+
providedIn: 'root'
|
|
1375
|
+
}]
|
|
1376
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1377
|
+
type: Inject,
|
|
1378
|
+
args: ['hostEnv']
|
|
1379
|
+
}] }] });
|
|
1380
|
+
|
|
1381
|
+
class TipoVariavelService extends BaseAlphaCrmService {
|
|
1382
|
+
constructor(httpClient, hostEnv) {
|
|
1383
|
+
super(httpClient, hostEnv);
|
|
1384
|
+
this.hostEnv = hostEnv;
|
|
1385
|
+
this.rotaListar = 'alphacrm/api/v1/TipoVariavel/Listar';
|
|
1386
|
+
this.rotaSelecionar = 'alphacrm/api/v1/TipoVariavel/Selecionar';
|
|
1387
|
+
}
|
|
1388
|
+
Listar() {
|
|
1389
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, this.rotaListar);
|
|
1390
|
+
}
|
|
1391
|
+
Selecionar(idtipovariavel) {
|
|
1392
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idtipovariavel}`);
|
|
1393
|
+
}
|
|
1394
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVariavelService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1395
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVariavelService, providedIn: 'root' }); }
|
|
1396
|
+
}
|
|
1397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVariavelService, decorators: [{
|
|
1398
|
+
type: Injectable,
|
|
1399
|
+
args: [{
|
|
1400
|
+
providedIn: 'root'
|
|
1401
|
+
}]
|
|
1402
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1403
|
+
type: Inject,
|
|
1404
|
+
args: ['hostEnv']
|
|
1405
|
+
}] }] });
|
|
1406
|
+
|
|
1407
|
+
class CatalogoVariaveisService extends BaseAlphaCrmService {
|
|
1408
|
+
constructor(httpClient, hostEnv) {
|
|
1409
|
+
super(httpClient, hostEnv);
|
|
1410
|
+
this.hostEnv = hostEnv;
|
|
1411
|
+
this.rotaListarPaginado = 'alphacrm/api/v1/CatalogoVariaveis/ListarPaginado';
|
|
1412
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CatalogoVariaveis/Selecionar';
|
|
1413
|
+
this.rotaSalvar = 'alphacrm/api/v1/CatalogoVariaveis/Salvar';
|
|
1414
|
+
this.rotaListarCombo = 'alphacrm/api/v1/CatalogoVariaveis/ListarComboVariaveis';
|
|
1415
|
+
this.rotaExcluir = 'alphacrm/api/v1/CatalogoVariaveis/Excluir';
|
|
1416
|
+
this.rotaAtivarInativar = 'alphacrm/api/v1/CatalogoVariaveis/AtivarInativar';
|
|
1417
|
+
}
|
|
1418
|
+
AtivarInativar(idvariavelcatalogo, ativoInativo) {
|
|
1419
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaAtivarInativar}/${idvariavelcatalogo}/${ativoInativo}`);
|
|
1420
|
+
}
|
|
1421
|
+
ListarPaginado(filtro) {
|
|
1422
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaListarPaginado, filtro);
|
|
1423
|
+
}
|
|
1424
|
+
ListarComboVariaveis(idmaster) {
|
|
1425
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaListarCombo}/${idmaster}`);
|
|
1426
|
+
}
|
|
1427
|
+
Selecionar(idvariavelcatalogo) {
|
|
1428
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idvariavelcatalogo}`);
|
|
1429
|
+
}
|
|
1430
|
+
Salvar(catalogovariaveis) {
|
|
1431
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, catalogovariaveis);
|
|
1432
|
+
}
|
|
1433
|
+
Excluir(idvariavelcatalogo) {
|
|
1434
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idvariavelcatalogo}`);
|
|
1435
|
+
}
|
|
1436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoVariaveisService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1437
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoVariaveisService, providedIn: 'root' }); }
|
|
1438
|
+
}
|
|
1439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoVariaveisService, decorators: [{
|
|
1440
|
+
type: Injectable,
|
|
1441
|
+
args: [{
|
|
1442
|
+
providedIn: 'root'
|
|
1443
|
+
}]
|
|
1444
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1445
|
+
type: Inject,
|
|
1446
|
+
args: ['hostEnv']
|
|
1447
|
+
}] }] });
|
|
1448
|
+
|
|
1449
|
+
class PessoaService extends BaseAlphaCrmService {
|
|
1450
|
+
constructor(httpClient, hostEnv) {
|
|
1451
|
+
super(httpClient, hostEnv);
|
|
1452
|
+
this.hostEnv = hostEnv;
|
|
1453
|
+
this.rotaSalvar = 'alphacrm/api/v1/Pessoa/Salvar';
|
|
1454
|
+
this.rotaSelecionar = 'alphacrm/api/v1/Pessoa/Selecionar';
|
|
1455
|
+
this.rotaExcluir = 'alphacrm/api/v1/Pessoa/Excluir';
|
|
1456
|
+
}
|
|
1457
|
+
Salvar(pessoa) {
|
|
1458
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, pessoa);
|
|
1459
|
+
}
|
|
1460
|
+
Selecionar(idpessoa) {
|
|
1461
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idpessoa}`);
|
|
1462
|
+
}
|
|
1463
|
+
Excluir(idpessoa) {
|
|
1464
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idpessoa}`);
|
|
1465
|
+
}
|
|
1466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PessoaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1467
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PessoaService, providedIn: 'root' }); }
|
|
1468
|
+
}
|
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PessoaService, decorators: [{
|
|
1470
|
+
type: Injectable,
|
|
1471
|
+
args: [{
|
|
1472
|
+
providedIn: 'root'
|
|
1473
|
+
}]
|
|
1474
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1475
|
+
type: Inject,
|
|
1476
|
+
args: ['hostEnv']
|
|
1477
|
+
}] }] });
|
|
1478
|
+
|
|
1479
|
+
class CotacaoPropostaService extends BaseAlphaCrmService {
|
|
1480
|
+
constructor(httpClient, hostEnv) {
|
|
1481
|
+
super(httpClient, hostEnv);
|
|
1482
|
+
this.hostEnv = hostEnv;
|
|
1483
|
+
this.rotaSelecionar = 'alphacrm/api/v1/CotacaoProposta/Selecionar';
|
|
1484
|
+
this.rotaSalvar = 'alphacrm/api/v1/CotacaoProposta/Salvar';
|
|
1485
|
+
this.rotaExcluir = 'alphacrm/api/v1/CotacaoProposta/Excluir';
|
|
1486
|
+
this.rotaEnviarEmailProposta = 'alphacrm/api/v1/CotacaoProposta/EnviarEmailProposta';
|
|
1487
|
+
}
|
|
1488
|
+
Salvar(model) {
|
|
1489
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, this.rotaSalvar, model);
|
|
1490
|
+
}
|
|
1491
|
+
Selecionar(idcotacaoproposta) {
|
|
1492
|
+
return this.get(this.hostEnv.apiurlAlphaCrm, `${this.rotaSelecionar}/${idcotacaoproposta}`);
|
|
1493
|
+
}
|
|
1494
|
+
Excluir(idcotacaoproposta) {
|
|
1495
|
+
return this.delete(this.hostEnv.apiurlAlphaCrm, `${this.rotaExcluir}/${idcotacaoproposta}`);
|
|
1496
|
+
}
|
|
1497
|
+
EnviarEmailProposta(idcotacaoproposta) {
|
|
1498
|
+
return this.post(this.hostEnv.apiurlAlphaCrm, `${this.rotaEnviarEmailProposta}/${idcotacaoproposta}`);
|
|
1499
|
+
}
|
|
1500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoPropostaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1501
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoPropostaService, providedIn: 'root' }); }
|
|
1502
|
+
}
|
|
1503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CotacaoPropostaService, decorators: [{
|
|
1504
|
+
type: Injectable,
|
|
1505
|
+
args: [{
|
|
1506
|
+
providedIn: 'root'
|
|
1507
|
+
}]
|
|
1508
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1509
|
+
type: Inject,
|
|
1510
|
+
args: ['hostEnv']
|
|
1511
|
+
}] }] });
|
|
1512
|
+
|
|
1513
|
+
/*
|
|
1514
|
+
* Public API Surface of keevo-api-services-alpha-crm
|
|
1515
|
+
*/
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Generated bundle index. Do not edit.
|
|
1519
|
+
*/
|
|
1520
|
+
|
|
1521
|
+
export { AgenteVendasService, CampanhaService, CatalogoComplementarService, CatalogoNivelHierarquiaService, CatalogoService, CatalogoTipoItemService, CatalogoVariaveisService, CategoriaItemService, ClassificacaoContraparteService, ConcorrenteService, ConfiguracaoComissaoService, ContraparteService, CotacaoItensService, CotacaoPropostaService, CotacaoService, DistribuicaoService, EmpresaService, EnTipoItem, EtapaOportunidadeService, FormaPagamentoService, HierarquiaOrganizacionalService, InboxService, MotivoPerdaGanhoService, OportunidadeService, OrigemDadosService, PapelCrmService, PapelSubareaService, ParametrosService, ParceiroRevendaService, PessoaService, PropostaService, RelatorioComissaoService, StatusContraparteService, StatusCotacaoService, TipoContraparteService, TipoMotivoService, TipoVariavelService, UnidadeMedidaService, UsuarioAlphaCrmService, en_statuscotacao, en_tipoitem, en_tipopessoa };
|
|
1522
|
+
//# sourceMappingURL=keevo-api-services-alpha-crm.mjs.map
|