@orbe-agro/client-core 5.6.359 → 5.6.361
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/dist/@ecme/components/template/Footer.js +1 -1
- package/dist/@types/@ecme/locales/lang/en/index.d.ts +2 -0
- package/dist/@types/@ecme/locales/lang/en/index.d.ts.map +1 -1
- package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts +2 -0
- package/dist/@types/@ecme/locales/lang/ptBR/index.d.ts.map +1 -1
- package/dist/@types/base/@types/models/ativos/ativo.d.ts +2 -2
- package/dist/@types/base/@types/models/ativos/ativo.d.ts.map +1 -1
- package/dist/@types/base/@types/models/ativos/chip.d.ts +26 -0
- package/dist/@types/base/@types/models/ativos/chip.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/contaFaturamento.d.ts +16 -0
- package/dist/@types/base/@types/models/ativos/contaFaturamento.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/documentacao.d.ts +17 -2
- package/dist/@types/base/@types/models/ativos/documentacao.d.ts.map +1 -1
- package/dist/@types/base/@types/models/ativos/fatura.d.ts +51 -0
- package/dist/@types/base/@types/models/ativos/fatura.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/historicoTelefonia.d.ts +19 -0
- package/dist/@types/base/@types/models/ativos/historicoTelefonia.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/index.d.ts +7 -0
- package/dist/@types/base/@types/models/ativos/index.d.ts.map +1 -1
- package/dist/@types/base/@types/models/ativos/indicadorTelefonia.d.ts +26 -0
- package/dist/@types/base/@types/models/ativos/indicadorTelefonia.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/linha.d.ts +30 -0
- package/dist/@types/base/@types/models/ativos/linha.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/monitorDispositivosTelefonia.d.ts +75 -0
- package/dist/@types/base/@types/models/ativos/monitorDispositivosTelefonia.d.ts.map +1 -0
- package/dist/@types/base/@types/models/ativos/remessaChip.d.ts +57 -0
- package/dist/@types/base/@types/models/ativos/remessaChip.d.ts.map +1 -0
- package/dist/@types/base/@types/models/faq/Faq.d.ts +10 -0
- package/dist/@types/base/@types/models/faq/Faq.d.ts.map +1 -1
- package/dist/@types/base/components/centralAjuda/__mocks__/centralAjudaExemplo.d.ts.map +1 -1
- package/dist/@types/base/components/centralAjuda/__mocks__/centralAjudaExemplo.dados.d.ts +5 -1
- package/dist/@types/base/components/centralAjuda/__mocks__/centralAjudaExemplo.dados.d.ts.map +1 -1
- package/dist/@types/base/components/centralAjuda/utils.d.ts +7 -2
- package/dist/@types/base/components/centralAjuda/utils.d.ts.map +1 -1
- package/dist/@types/base/components/centralAjuda/views/Conteudo/components/ConteudoArtigo.d.ts +1 -1
- package/dist/@types/base/components/centralAjuda/views/Conteudo/components/ConteudoArtigo.d.ts.map +1 -1
- package/dist/@types/base/components/centralAjuda/views/Conteudo/components/ConteudoAutoria.d.ts +12 -0
- package/dist/@types/base/components/centralAjuda/views/Conteudo/components/ConteudoAutoria.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/ativos.d.ts +184 -0
- package/dist/@types/base/configs/endpoints.config/ativos/ativos.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/ativos/config/chip.d.ts +48 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/chip.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/contaFaturamento.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/contaFaturamento.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/fatura.d.ts +28 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/fatura.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/historicoTelefonia.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/historicoTelefonia.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/indicadorTelefonia.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/indicadorTelefonia.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/linha.d.ts +36 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/linha.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/monitorDispositivosTelefonia.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/monitorDispositivosTelefonia.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/remessaChip.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/ativos/config/remessaChip.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +184 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/ativos/ativos.submenu.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/chip.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/chip.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/contaFaturamento.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/contaFaturamento.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/fatura.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/fatura.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/linha.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/linha.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/monitorTelefonia.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/monitorTelefonia.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/remessaChip.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/config/remessaChip.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/gestaoLinhasChips.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/ativos/gestaoLinhasChips.submenu.d.ts.map +1 -0
- package/dist/@types/base/locales/lang/en/index.d.ts +2 -0
- package/dist/@types/base/locales/lang/en/index.d.ts.map +1 -1
- package/dist/@types/base/locales/lang/en/modules/faq/centralAjuda.d.ts +2 -0
- package/dist/@types/base/locales/lang/en/modules/faq/centralAjuda.d.ts.map +1 -1
- package/dist/@types/base/locales/lang/ptBR/modules/faq/centralAjuda.d.ts.map +1 -1
- package/dist/@types/base/services/modules/ativos/chip/ChipService.d.ts +34 -0
- package/dist/@types/base/services/modules/ativos/chip/ChipService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.d.ts +8 -0
- package/dist/@types/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/fatura/FaturaService.d.ts +9 -0
- package/dist/@types/base/services/modules/ativos/fatura/FaturaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.d.ts +3 -0
- package/dist/@types/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/index.d.ts +7 -0
- package/dist/@types/base/services/modules/ativos/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.d.ts +3 -0
- package/dist/@types/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/linha/LinhaService.d.ts +22 -0
- package/dist/@types/base/services/modules/ativos/linha/LinhaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.d.ts +8 -0
- package/dist/@types/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/ativos/remessaChip/RemessaChipService.d.ts +8 -0
- package/dist/@types/base/services/modules/ativos/remessaChip/RemessaChipService.d.ts.map +1 -0
- package/dist/base/@types/models/ativos/ativo.js.map +1 -1
- package/dist/base/@types/models/ativos/chip.js +2 -0
- package/dist/base/@types/models/ativos/chip.js.map +1 -0
- package/dist/base/@types/models/ativos/contaFaturamento.js +2 -0
- package/dist/base/@types/models/ativos/contaFaturamento.js.map +1 -0
- package/dist/base/@types/models/ativos/fatura.js +2 -0
- package/dist/base/@types/models/ativos/fatura.js.map +1 -0
- package/dist/base/@types/models/ativos/historicoTelefonia.js +2 -0
- package/dist/base/@types/models/ativos/historicoTelefonia.js.map +1 -0
- package/dist/base/@types/models/ativos/index.js +7 -0
- package/dist/base/@types/models/ativos/index.js.map +1 -1
- package/dist/base/@types/models/ativos/indicadorTelefonia.js +2 -0
- package/dist/base/@types/models/ativos/indicadorTelefonia.js.map +1 -0
- package/dist/base/@types/models/ativos/linha.js +2 -0
- package/dist/base/@types/models/ativos/linha.js.map +1 -0
- package/dist/base/@types/models/ativos/monitorDispositivosTelefonia.js +2 -0
- package/dist/base/@types/models/ativos/monitorDispositivosTelefonia.js.map +1 -0
- package/dist/base/@types/models/ativos/remessaChip.js +2 -0
- package/dist/base/@types/models/ativos/remessaChip.js.map +1 -0
- package/dist/base/components/centralAjuda/utils.js +3 -1
- package/dist/base/components/centralAjuda/utils.js.map +1 -1
- package/dist/base/components/centralAjuda/views/Conteudo/components/ConteudoArtigo.js +5 -1
- package/dist/base/components/centralAjuda/views/Conteudo/components/ConteudoArtigo.js.map +1 -1
- package/dist/base/components/centralAjuda/views/Conteudo/components/ConteudoAutoria.js +25 -0
- package/dist/base/components/centralAjuda/views/Conteudo/components/ConteudoAutoria.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/ativos.js +16 -0
- package/dist/base/configs/endpoints.config/ativos/ativos.js.map +1 -1
- package/dist/base/configs/endpoints.config/ativos/config/chip.js +18 -0
- package/dist/base/configs/endpoints.config/ativos/config/chip.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/contaFaturamento.js +12 -0
- package/dist/base/configs/endpoints.config/ativos/config/contaFaturamento.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/fatura.js +13 -0
- package/dist/base/configs/endpoints.config/ativos/config/fatura.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/historicoTelefonia.js +8 -0
- package/dist/base/configs/endpoints.config/ativos/config/historicoTelefonia.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/indicadorTelefonia.js +8 -0
- package/dist/base/configs/endpoints.config/ativos/config/indicadorTelefonia.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/linha.js +15 -0
- package/dist/base/configs/endpoints.config/ativos/config/linha.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/monitorDispositivosTelefonia.js +12 -0
- package/dist/base/configs/endpoints.config/ativos/config/monitorDispositivosTelefonia.js.map +1 -0
- package/dist/base/configs/endpoints.config/ativos/config/remessaChip.js +12 -0
- package/dist/base/configs/endpoints.config/ativos/config/remessaChip.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/ativos.submenu.js +2 -0
- package/dist/base/configs/navigation.config/submenu/ativos/ativos.submenu.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/ativos/config/chip.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/chip.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/contaFaturamento.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/contaFaturamento.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/fatura.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/fatura.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/linha.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/linha.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/monitorTelefonia.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/monitorTelefonia.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/remessaChip.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/ativos/config/remessaChip.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/ativos/gestaoLinhasChips.submenu.js +29 -0
- package/dist/base/configs/navigation.config/submenu/ativos/gestaoLinhasChips.submenu.js.map +1 -0
- package/dist/base/hooks/dm/centroCusto/useCentroCustoDefaultList.js +1 -1
- package/dist/base/hooks/dm/centroCusto/useCentroCustoDefaultList.js.map +1 -1
- package/dist/base/index.js +44 -0
- package/dist/base/index.js.map +1 -1
- package/dist/base/locales/lang/en/modules/faq/centralAjuda.js +3 -1
- package/dist/base/locales/lang/en/modules/faq/centralAjuda.js.map +1 -1
- package/dist/base/locales/lang/ptBR/modules/faq/centralAjuda.js +3 -1
- package/dist/base/locales/lang/ptBR/modules/faq/centralAjuda.js.map +1 -1
- package/dist/base/services/index.js +44 -0
- package/dist/base/services/index.js.map +1 -1
- package/dist/base/services/modules/ativos/chip/ChipService.js +92 -0
- package/dist/base/services/modules/ativos/chip/ChipService.js.map +1 -0
- package/dist/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.js +44 -0
- package/dist/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.js.map +1 -0
- package/dist/base/services/modules/ativos/fatura/FaturaService.js +52 -0
- package/dist/base/services/modules/ativos/fatura/FaturaService.js.map +1 -0
- package/dist/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.js +14 -0
- package/dist/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.js.map +1 -0
- package/dist/base/services/modules/ativos/index.js +45 -1
- package/dist/base/services/modules/ativos/index.js.map +1 -1
- package/dist/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.js +13 -0
- package/dist/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.js.map +1 -0
- package/dist/base/services/modules/ativos/linha/LinhaService.js +68 -0
- package/dist/base/services/modules/ativos/linha/LinhaService.js.map +1 -0
- package/dist/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.js +46 -0
- package/dist/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.js.map +1 -0
- package/dist/base/services/modules/ativos/remessaChip/RemessaChipService.js +44 -0
- package/dist/base/services/modules/ativos/remessaChip/RemessaChipService.js.map +1 -0
- package/dist/base/services/modules/index.js +44 -0
- package/dist/base/services/modules/index.js.map +1 -1
- package/lib/base/@types/models/ativos/ativo.ts +2 -2
- package/lib/base/@types/models/ativos/chip.ts +26 -0
- package/lib/base/@types/models/ativos/contaFaturamento.ts +16 -0
- package/lib/base/@types/models/ativos/documentacao.ts +19 -2
- package/lib/base/@types/models/ativos/fatura.ts +54 -0
- package/lib/base/@types/models/ativos/historicoTelefonia.ts +19 -0
- package/lib/base/@types/models/ativos/index.ts +7 -0
- package/lib/base/@types/models/ativos/indicadorTelefonia.ts +26 -0
- package/lib/base/@types/models/ativos/linha.ts +30 -0
- package/lib/base/@types/models/ativos/monitorDispositivosTelefonia.ts +79 -0
- package/lib/base/@types/models/ativos/remessaChip.ts +59 -0
- package/lib/base/@types/models/faq/Faq.ts +10 -0
- package/lib/base/components/centralAjuda/__mocks__/centralAjudaExemplo.dados.ts +34 -19
- package/lib/base/components/centralAjuda/__mocks__/centralAjudaExemplo.ts +6 -0
- package/lib/base/components/centralAjuda/utils.ts +10 -3
- package/lib/base/components/centralAjuda/views/Conteudo/components/ConteudoArtigo.tsx +6 -2
- package/lib/base/components/centralAjuda/views/Conteudo/components/ConteudoAutoria.tsx +44 -0
- package/lib/base/configs/endpoints.config/ativos/ativos.ts +16 -0
- package/lib/base/configs/endpoints.config/ativos/config/chip.ts +17 -0
- package/lib/base/configs/endpoints.config/ativos/config/contaFaturamento.ts +11 -0
- package/lib/base/configs/endpoints.config/ativos/config/fatura.ts +12 -0
- package/lib/base/configs/endpoints.config/ativos/config/historicoTelefonia.ts +7 -0
- package/lib/base/configs/endpoints.config/ativos/config/indicadorTelefonia.ts +7 -0
- package/lib/base/configs/endpoints.config/ativos/config/linha.ts +14 -0
- package/lib/base/configs/endpoints.config/ativos/config/monitorDispositivosTelefonia.ts +11 -0
- package/lib/base/configs/endpoints.config/ativos/config/remessaChip.ts +11 -0
- package/lib/base/configs/navigation.config/submenu/ativos/ativos.submenu.ts +2 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/chip.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/contaFaturamento.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/fatura.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/linha.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/monitorTelefonia.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/config/remessaChip.submenu.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/ativos/gestaoLinhasChips.submenu.ts +29 -0
- package/lib/base/hooks/dm/centroCusto/useCentroCustoDefaultList.tsx +1 -1
- package/lib/base/locales/lang/en/modules/faq/centralAjuda.ts +2 -0
- package/lib/base/locales/lang/ptBR/modules/faq/centralAjuda.ts +2 -0
- package/lib/base/services/modules/ativos/chip/ChipService.ts +92 -0
- package/lib/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.ts +44 -0
- package/lib/base/services/modules/ativos/fatura/FaturaService.ts +52 -0
- package/lib/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.ts +13 -0
- package/lib/base/services/modules/ativos/index.ts +7 -0
- package/lib/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.ts +12 -0
- package/lib/base/services/modules/ativos/linha/LinhaService.ts +68 -0
- package/lib/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.ts +52 -0
- package/lib/base/services/modules/ativos/remessaChip/RemessaChipService.ts +44 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipService.js","sources":["../../../../../../lib/base/services/modules/ativos/chip/ChipService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TChip, TChipColumnDef } from \"@base/@types/models/ativos/chip\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CHIP_ENDPOINT = endpointConfig.ativos.chip;\n\nexport async function apiGetAtivosChip(id: number) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.findOne.endpoint + `${id}`,\n method: CHIP_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosChip(body: TChip) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TChip>>({\n url: CHIP_ENDPOINT.add.endpoint,\n method: CHIP_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosChip(body: TChip) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TChip>>({\n url: CHIP_ENDPOINT.update.endpoint,\n method: CHIP_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosChip(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TChip>>({\n url: CHIP_ENDPOINT.delete.endpoint + `${id}`,\n method: CHIP_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosChip(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TChipColumnDef>>({\n url: CHIP_ENDPOINT.findMonitor.endpoint,\n method: CHIP_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiVincularChipDispositivo(body: { chipId: number; dispositivoId: number }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.vincularDispositivo.endpoint,\n method: CHIP_ENDPOINT.vincularDispositivo.method,\n data: body,\n })\n}\n\nexport async function apiDesvincularChipDispositivo(body: { chipId: number; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.desvincularDispositivo.endpoint,\n method: CHIP_ENDPOINT.desvincularDispositivo.method,\n data: body,\n })\n}\n\nexport async function apiVincularChipLinha(body: { chipId: number; linhaId: number }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.vincularLinha.endpoint,\n method: CHIP_ENDPOINT.vincularLinha.method,\n data: body,\n })\n}\n\nexport async function apiDesvincularChipLinha(body: { chipId: number; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.desvincularLinha.endpoint,\n method: CHIP_ENDPOINT.desvincularLinha.method,\n data: body,\n })\n}\n\nexport async function apiSubstituirAtivosChip(body: { linhaId: number; novoChipId: number; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.substituir.endpoint,\n method: CHIP_ENDPOINT.substituir.method,\n data: body,\n })\n}\n\nexport async function apiAlterarStatusAtivosChip(body: { chipId: number; statusChip: string; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TChip>({\n url: CHIP_ENDPOINT.alterarStatus.endpoint,\n method: CHIP_ENDPOINT.alterarStatus.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,gBAAgBA,yBAAe,OAAO;AAE5C,eAAsB,iBAAiB,IAAY;AAC/C,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC3C,QAAQ,cAAc,QAAQ;AAAA,EAAA,CACjC;AACL;AAEA,eAAsB,iBAAiB,MAAa;AAChD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,IAAI;AAAA,IACvB,QAAQ,cAAc,IAAI;AAAA,IAC1B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,MAAa;AACnD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO;AAAA,IAC1B,QAAQ,cAAc,OAAO;AAAA,IAC7B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,cAAc,OAAO,WAAW,GAAG,EAAE;AAAA,IAC1C,QAAQ,cAAc,OAAO;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,yBAAyB,MAAsB;AACjE,SAAO,WAAW,mBAAmD;AAAA,IACjE,KAAK,cAAc,YAAY;AAAA,IAC/B,QAAQ,cAAc,YAAY;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAAiD;AAC9F,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,oBAAoB;AAAA,IACvC,QAAQ,cAAc,oBAAoB;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,8BAA8B,MAA2C;AAC3F,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,uBAAuB;AAAA,IAC1C,QAAQ,cAAc,uBAAuB;AAAA,IAC7C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qBAAqB,MAA2C;AAClF,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,cAAc;AAAA,IACjC,QAAQ,cAAc,cAAc;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,wBAAwB,MAA2C;AACrF,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,iBAAiB;AAAA,IACpC,QAAQ,cAAc,iBAAiB;AAAA,IACvC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,wBAAwB,MAAgE;AAC1G,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,WAAW;AAAA,IAC9B,QAAQ,cAAc,WAAW;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAA+D;AAC5G,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,cAAc,cAAc;AAAA,IACjC,QAAQ,cAAc,cAAc;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const CONTA_FATURAMENTO_ENDPOINT = endpointNavigationConfig.ativos.contaFaturamento;
|
|
4
|
+
async function apiGetAtivosContaFaturamento(id) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: CONTA_FATURAMENTO_ENDPOINT.findOne.endpoint + `${id}`,
|
|
7
|
+
method: CONTA_FATURAMENTO_ENDPOINT.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiAddAtivosContaFaturamento(body) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: CONTA_FATURAMENTO_ENDPOINT.add.endpoint,
|
|
13
|
+
method: CONTA_FATURAMENTO_ENDPOINT.add.method,
|
|
14
|
+
data: body
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiUpdateAtivosContaFaturamento(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: CONTA_FATURAMENTO_ENDPOINT.update.endpoint,
|
|
20
|
+
method: CONTA_FATURAMENTO_ENDPOINT.update.method,
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiDeleteAtivosContaFaturamento(id) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: CONTA_FATURAMENTO_ENDPOINT.delete.endpoint + `${id}`,
|
|
27
|
+
method: CONTA_FATURAMENTO_ENDPOINT.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function apiFindMonitorAtivosContaFaturamento(body) {
|
|
31
|
+
return ApiService.fetchDataWithAxios({
|
|
32
|
+
url: CONTA_FATURAMENTO_ENDPOINT.findMonitor.endpoint,
|
|
33
|
+
method: CONTA_FATURAMENTO_ENDPOINT.findMonitor.method,
|
|
34
|
+
data: body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
apiAddAtivosContaFaturamento,
|
|
39
|
+
apiDeleteAtivosContaFaturamento,
|
|
40
|
+
apiFindMonitorAtivosContaFaturamento,
|
|
41
|
+
apiGetAtivosContaFaturamento,
|
|
42
|
+
apiUpdateAtivosContaFaturamento
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=ContaFaturamentoService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContaFaturamentoService.js","sources":["../../../../../../lib/base/services/modules/ativos/contaFaturamento/ContaFaturamentoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TContaFaturamento, TContaFaturamentoColumnDef } from \"@base/@types/models/ativos/contaFaturamento\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CONTA_FATURAMENTO_ENDPOINT = endpointConfig.ativos.contaFaturamento;\n\nexport async function apiGetAtivosContaFaturamento(id: number) {\n return ApiService.fetchDataWithAxios<TContaFaturamento>({\n url: CONTA_FATURAMENTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: CONTA_FATURAMENTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosContaFaturamento(body: TContaFaturamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContaFaturamento>>({\n url: CONTA_FATURAMENTO_ENDPOINT.add.endpoint,\n method: CONTA_FATURAMENTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosContaFaturamento(body: TContaFaturamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContaFaturamento>>({\n url: CONTA_FATURAMENTO_ENDPOINT.update.endpoint,\n method: CONTA_FATURAMENTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosContaFaturamento(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContaFaturamento>>({\n url: CONTA_FATURAMENTO_ENDPOINT.delete.endpoint + `${id}`,\n method: CONTA_FATURAMENTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosContaFaturamento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContaFaturamentoColumnDef>>({\n url: CONTA_FATURAMENTO_ENDPOINT.findMonitor.endpoint,\n method: CONTA_FATURAMENTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,6BAA6BA,yBAAe,OAAO;AAEzD,eAAsB,6BAA6B,IAAY;AAC3D,SAAO,WAAW,mBAAsC;AAAA,IACpD,KAAK,2BAA2B,QAAQ,WAAW,GAAG,EAAE;AAAA,IACxD,QAAQ,2BAA2B,QAAQ;AAAA,EAAA,CAC9C;AACL;AAEA,eAAsB,6BAA6B,MAAyB;AACxE,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,2BAA2B,IAAI;AAAA,IACpC,QAAQ,2BAA2B,IAAI;AAAA,IACvC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gCAAgC,MAAyB;AAC3E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,2BAA2B,OAAO;AAAA,IACvC,QAAQ,2BAA2B,OAAO;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gCAAgC,IAAY;AAC9D,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,2BAA2B,OAAO,WAAW,GAAG,EAAE;AAAA,IACvD,QAAQ,2BAA2B,OAAO;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsB,qCAAqC,MAAsB;AAC7E,SAAO,WAAW,mBAA+D;AAAA,IAC7E,KAAK,2BAA2B,YAAY;AAAA,IAC5C,QAAQ,2BAA2B,YAAY;AAAA,IAC/C,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const FATURA_ENDPOINT = endpointNavigationConfig.ativos.fatura;
|
|
4
|
+
async function apiGetAtivosFatura(id) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: FATURA_ENDPOINT.findOne.endpoint + `${id}`,
|
|
7
|
+
method: FATURA_ENDPOINT.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiAddAtivosFatura(body) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: FATURA_ENDPOINT.add.endpoint,
|
|
13
|
+
method: FATURA_ENDPOINT.add.method,
|
|
14
|
+
data: body
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiUpdateAtivosFatura(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: FATURA_ENDPOINT.update.endpoint,
|
|
20
|
+
method: FATURA_ENDPOINT.update.method,
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiDeleteAtivosFatura(id) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: FATURA_ENDPOINT.delete.endpoint + `${id}`,
|
|
27
|
+
method: FATURA_ENDPOINT.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function apiFindMonitorAtivosFatura(body) {
|
|
31
|
+
return ApiService.fetchDataWithAxios({
|
|
32
|
+
url: FATURA_ENDPOINT.findMonitor.endpoint,
|
|
33
|
+
method: FATURA_ENDPOINT.findMonitor.method,
|
|
34
|
+
data: body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async function apiConferirCobrancaAtivosFatura(body) {
|
|
38
|
+
return ApiService.fetchDataWithAxios({
|
|
39
|
+
url: FATURA_ENDPOINT.conferirCobranca.endpoint,
|
|
40
|
+
method: FATURA_ENDPOINT.conferirCobranca.method,
|
|
41
|
+
data: body
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
apiAddAtivosFatura,
|
|
46
|
+
apiConferirCobrancaAtivosFatura,
|
|
47
|
+
apiDeleteAtivosFatura,
|
|
48
|
+
apiFindMonitorAtivosFatura,
|
|
49
|
+
apiGetAtivosFatura,
|
|
50
|
+
apiUpdateAtivosFatura
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=FaturaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FaturaService.js","sources":["../../../../../../lib/base/services/modules/ativos/fatura/FaturaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TConferirCobranca, TFatura, TFaturaColumnDef } from \"@base/@types/models/ativos/fatura\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst FATURA_ENDPOINT = endpointConfig.ativos.fatura;\n\nexport async function apiGetAtivosFatura(id: number) {\n return ApiService.fetchDataWithAxios<TFatura>({\n url: FATURA_ENDPOINT.findOne.endpoint + `${id}`,\n method: FATURA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosFatura(body: TFatura) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFatura>>({\n url: FATURA_ENDPOINT.add.endpoint,\n method: FATURA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosFatura(body: TFatura) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFatura>>({\n url: FATURA_ENDPOINT.update.endpoint,\n method: FATURA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosFatura(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFatura>>({\n url: FATURA_ENDPOINT.delete.endpoint + `${id}`,\n method: FATURA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosFatura(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFaturaColumnDef>>({\n url: FATURA_ENDPOINT.findMonitor.endpoint,\n method: FATURA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiConferirCobrancaAtivosFatura(body: TConferirCobranca) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFatura>>({\n url: FATURA_ENDPOINT.conferirCobranca.endpoint,\n method: FATURA_ENDPOINT.conferirCobranca.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,kBAAkBA,yBAAe,OAAO;AAE9C,eAAsB,mBAAmB,IAAY;AACjD,SAAO,WAAW,mBAA4B;AAAA,IAC1C,KAAK,gBAAgB,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC7C,QAAQ,gBAAgB,QAAQ;AAAA,EAAA,CACnC;AACL;AAEA,eAAsB,mBAAmB,MAAe;AACpD,SAAO,WAAW,mBAA4C;AAAA,IAC1D,KAAK,gBAAgB,IAAI;AAAA,IACzB,QAAQ,gBAAgB,IAAI;AAAA,IAC5B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,sBAAsB,MAAe;AACvD,SAAO,WAAW,mBAA4C;AAAA,IAC1D,KAAK,gBAAgB,OAAO;AAAA,IAC5B,QAAQ,gBAAgB,OAAO;AAAA,IAC/B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,sBAAsB,IAAY;AACpD,SAAO,WAAW,mBAA4C;AAAA,IAC1D,KAAK,gBAAgB,OAAO,WAAW,GAAG,EAAE;AAAA,IAC5C,QAAQ,gBAAgB,OAAO;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,2BAA2B,MAAsB;AACnE,SAAO,WAAW,mBAAqD;AAAA,IACnE,KAAK,gBAAgB,YAAY;AAAA,IACjC,QAAQ,gBAAgB,YAAY;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gCAAgC,MAAyB;AAC3E,SAAO,WAAW,mBAA4C;AAAA,IAC1D,KAAK,gBAAgB,iBAAiB;AAAA,IACtC,QAAQ,gBAAgB,iBAAiB;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const HISTORICO_TELEFONIA_ENDPOINT = endpointNavigationConfig.ativos.historicoTelefonia;
|
|
4
|
+
async function apiFindHistoricoTelefonia(body) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: HISTORICO_TELEFONIA_ENDPOINT.find.endpoint,
|
|
7
|
+
method: HISTORICO_TELEFONIA_ENDPOINT.find.method,
|
|
8
|
+
data: body
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
apiFindHistoricoTelefonia
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=HistoricoTelefoniaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoricoTelefoniaService.js","sources":["../../../../../../lib/base/services/modules/ativos/historicoTelefonia/HistoricoTelefoniaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { THistoricoTelefonia, TFindHistoricoTelefonia } from \"@base/@types/models/ativos/historicoTelefonia\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst HISTORICO_TELEFONIA_ENDPOINT = endpointConfig.ativos.historicoTelefonia;\n\nexport async function apiFindHistoricoTelefonia(body: TFindHistoricoTelefonia) {\n return ApiService.fetchDataWithAxios<THistoricoTelefonia[]>({\n url: HISTORICO_TELEFONIA_ENDPOINT.find.endpoint,\n method: HISTORICO_TELEFONIA_ENDPOINT.find.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAIA,MAAM,+BAA+BA,yBAAe,OAAO;AAE3D,eAAsB,0BAA0B,MAA+B;AAC3E,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,6BAA6B,KAAK;AAAA,IACvC,QAAQ,6BAA6B,KAAK;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { apiAddAtivosAplicacao, apiDeleteAtivosAplicacao, apiFindMonitorAtivosAplicacao, apiGetAtivosAplicacao, apiUpdateAtivosAplicacao } from "./aplicacao/AplicacaoService.js";
|
|
2
|
+
import { apiAddAtivosRemessaChip, apiDeleteAtivosRemessaChip, apiFindMonitorAtivosRemessaChip, apiGetAtivosRemessaChip, apiUpdateAtivosRemessaChip } from "./remessaChip/RemessaChipService.js";
|
|
2
3
|
import { apiAddAtivosAtivo, apiCountAtivosAtivo, apiDeleteAtivosAtivo, apiDevolverAtivosAtivo, apiDevolverLocadoraAtivosAtivo, apiDisponibilizarAtivosAtivo, apiExportarInventarioAtivo, apiFindDashboardAtivosAtivo, apiFindHistoricoByTipoAcao, apiFindInventarioAtivosAtivo, apiFindMonitorAtivosAtivo, apiFindSubstituicaoByAtivos, apiGetAtivosAtivo, apiGetDashboardAtivosAtivo, apiGetInventarioAtivosAtivo, apiGetInventarioOpcoesAtivo, apiRepararAtivosAtivo, apiTransferirAtivosAtivo, apiUpdateAtivosAtivo } from "./ativo/AtivoService.js";
|
|
3
4
|
import { apiAddAtivosBancoDados, apiDeleteAtivosBancoDados, apiFindMonitorAtivosBancoDados, apiGetAtivosBancoDados, apiUpdateAtivosBancoDados } from "./bancoDados/BancoDadosService.js";
|
|
4
5
|
import { apiAddAtivosCategoria, apiDeleteAtivosCategoria, apiFindMonitorAtivosCategoria, apiGetAtivosCategoria, apiUpdateAtivosCategoria } from "./categoria/CategoriaService.js";
|
|
6
|
+
import { apiAddAtivosChip, apiAlterarStatusAtivosChip, apiDeleteAtivosChip, apiDesvincularChipDispositivo, apiDesvincularChipLinha, apiFindMonitorAtivosChip, apiGetAtivosChip, apiSubstituirAtivosChip, apiUpdateAtivosChip, apiVincularChipDispositivo, apiVincularChipLinha } from "./chip/ChipService.js";
|
|
7
|
+
import { apiAddAtivosContaFaturamento, apiDeleteAtivosContaFaturamento, apiFindMonitorAtivosContaFaturamento, apiGetAtivosContaFaturamento, apiUpdateAtivosContaFaturamento } from "./contaFaturamento/ContaFaturamentoService.js";
|
|
5
8
|
import { apiAddAtivosDocumentacao, apiDeleteAtivosDocumentacao, apiFindMonitorAtivosDocumentacao, apiGetAtivosDocumentacao, apiGetAtivosDocumentacaoDisponiveis, apiUpdateAtivosDocumentacao } from "./documentacao/DocumentacaoService.js";
|
|
9
|
+
import { apiAddAtivosFatura, apiConferirCobrancaAtivosFatura, apiDeleteAtivosFatura, apiFindMonitorAtivosFatura, apiGetAtivosFatura, apiUpdateAtivosFatura } from "./fatura/FaturaService.js";
|
|
6
10
|
import { apiAddAtivosFormularioCampos, apiDeleteAtivosFormularioCampos, apiFindMonitorAtivosFormularioCampos, apiGetAtivosFormularioCampos, apiUpdateAtivosFormularioCampos } from "./formularioCampos/FormularioCamposService.js";
|
|
7
11
|
import { apiAddAtivosHardDisk, apiDeleteAtivosHardDisk, apiFindMonitorAtivosHardDisk, apiGetAtivosHardDisk, apiUpdateAtivosHardDisk } from "./hardDisk/HardDiskService.js";
|
|
12
|
+
import { apiFindHistoricoTelefonia } from "./historicoTelefonia/HistoricoTelefoniaService.js";
|
|
13
|
+
import { apiGetAtivosIndicadorTelefonia } from "./indicadorTelefonia/IndicadorTelefoniaService.js";
|
|
8
14
|
import { apiAddAtivosInternetProtocol, apiDeleteAtivosInternetProtocol, apiFindMonitorAtivosInternetProtocol, apiGetAtivosInternetProtocol, apiGetAtivosInternetProtocolDisponiveis, apiUpdateAtivosInternetProtocol } from "./internetProtocol/InternetProtocolService.js";
|
|
15
|
+
import { apiAddAtivosLinha, apiAlterarStatusAtivosLinha, apiDeleteAtivosLinha, apiDevolverAtivosLinha, apiFindMonitorAtivosLinha, apiGetAtivosLinha, apiTransferirAtivosLinha, apiUpdateAtivosLinha } from "./linha/LinhaService.js";
|
|
9
16
|
import { apiAddAtivosMarca, apiDeleteAtivosMarca, apiFindMonitorAtivosMarca, apiGetAtivosMarca, apiUpdateAtivosMarca } from "./marca/MarcaService.js";
|
|
10
17
|
import { apiAddAtivosMemoriaRam, apiDeleteAtivosMemoriaRam, apiFindMonitorAtivosMemoriaRam, apiGetAtivosMemoriaRam, apiUpdateAtivosMemoriaRam } from "./memoriaRam/MemoriaRamService.js";
|
|
11
18
|
import { apiAddAtivosModelo, apiDeleteAtivosModelo, apiFindByModeloAndTipo, apiFindMonitorAtivosModelo, apiGetAtivosModelo, apiUpdateAtivosModelo } from "./modelo/ModeloService.js";
|
|
@@ -24,16 +31,21 @@ export {
|
|
|
24
31
|
apiAddAtivosAtivo,
|
|
25
32
|
apiAddAtivosBancoDados,
|
|
26
33
|
apiAddAtivosCategoria,
|
|
34
|
+
apiAddAtivosChip,
|
|
35
|
+
apiAddAtivosContaFaturamento,
|
|
27
36
|
apiAddAtivosDocumentacao,
|
|
37
|
+
apiAddAtivosFatura,
|
|
28
38
|
apiAddAtivosFormularioCampos,
|
|
29
39
|
apiAddAtivosHardDisk,
|
|
30
40
|
apiAddAtivosInternetProtocol,
|
|
41
|
+
apiAddAtivosLinha,
|
|
31
42
|
apiAddAtivosMarca,
|
|
32
43
|
apiAddAtivosMemoriaRam,
|
|
33
44
|
apiAddAtivosModelo,
|
|
34
45
|
apiAddAtivosMonitorTela,
|
|
35
46
|
apiAddAtivosNotificacaoDocumentacao,
|
|
36
47
|
apiAddAtivosProcessador,
|
|
48
|
+
apiAddAtivosRemessaChip,
|
|
37
49
|
apiAddAtivosSistemaOperacional,
|
|
38
50
|
apiAddAtivosSoftware,
|
|
39
51
|
apiAddAtivosSubcategoria,
|
|
@@ -41,21 +53,29 @@ export {
|
|
|
41
53
|
apiAddAtivosVersaoAndroid,
|
|
42
54
|
apiAddAtivosVersaoMSOffice,
|
|
43
55
|
apiAddAtivosVlan,
|
|
56
|
+
apiAlterarStatusAtivosChip,
|
|
57
|
+
apiAlterarStatusAtivosLinha,
|
|
58
|
+
apiConferirCobrancaAtivosFatura,
|
|
44
59
|
apiCountAtivosAtivo,
|
|
45
60
|
apiDeleteAtivosAplicacao,
|
|
46
61
|
apiDeleteAtivosAtivo,
|
|
47
62
|
apiDeleteAtivosBancoDados,
|
|
48
63
|
apiDeleteAtivosCategoria,
|
|
64
|
+
apiDeleteAtivosChip,
|
|
65
|
+
apiDeleteAtivosContaFaturamento,
|
|
49
66
|
apiDeleteAtivosDocumentacao,
|
|
67
|
+
apiDeleteAtivosFatura,
|
|
50
68
|
apiDeleteAtivosFormularioCampos,
|
|
51
69
|
apiDeleteAtivosHardDisk,
|
|
52
70
|
apiDeleteAtivosInternetProtocol,
|
|
71
|
+
apiDeleteAtivosLinha,
|
|
53
72
|
apiDeleteAtivosMarca,
|
|
54
73
|
apiDeleteAtivosMemoriaRam,
|
|
55
74
|
apiDeleteAtivosModelo,
|
|
56
75
|
apiDeleteAtivosMonitorTela,
|
|
57
76
|
apiDeleteAtivosNotificacaoDocumentacao,
|
|
58
77
|
apiDeleteAtivosProcessador,
|
|
78
|
+
apiDeleteAtivosRemessaChip,
|
|
59
79
|
apiDeleteAtivosSistemaOperacional,
|
|
60
80
|
apiDeleteAtivosSoftware,
|
|
61
81
|
apiDeleteAtivosSubcategoria,
|
|
@@ -63,7 +83,10 @@ export {
|
|
|
63
83
|
apiDeleteAtivosVersaoAndroid,
|
|
64
84
|
apiDeleteAtivosVersaoMSOffice,
|
|
65
85
|
apiDeleteAtivosVlan,
|
|
86
|
+
apiDesvincularChipDispositivo,
|
|
87
|
+
apiDesvincularChipLinha,
|
|
66
88
|
apiDevolverAtivosAtivo,
|
|
89
|
+
apiDevolverAtivosLinha,
|
|
67
90
|
apiDevolverLocadoraAtivosAtivo,
|
|
68
91
|
apiDisponibilizarAtivosAtivo,
|
|
69
92
|
apiExportarInventarioAtivo,
|
|
@@ -71,21 +94,27 @@ export {
|
|
|
71
94
|
apiFindByTipoAndFormulario,
|
|
72
95
|
apiFindDashboardAtivosAtivo,
|
|
73
96
|
apiFindHistoricoByTipoAcao,
|
|
97
|
+
apiFindHistoricoTelefonia,
|
|
74
98
|
apiFindInventarioAtivosAtivo,
|
|
75
99
|
apiFindMonitorAtivosAplicacao,
|
|
76
100
|
apiFindMonitorAtivosAtivo,
|
|
77
101
|
apiFindMonitorAtivosBancoDados,
|
|
78
102
|
apiFindMonitorAtivosCategoria,
|
|
103
|
+
apiFindMonitorAtivosChip,
|
|
104
|
+
apiFindMonitorAtivosContaFaturamento,
|
|
79
105
|
apiFindMonitorAtivosDocumentacao,
|
|
106
|
+
apiFindMonitorAtivosFatura,
|
|
80
107
|
apiFindMonitorAtivosFormularioCampos,
|
|
81
108
|
apiFindMonitorAtivosHardDisk,
|
|
82
109
|
apiFindMonitorAtivosInternetProtocol,
|
|
110
|
+
apiFindMonitorAtivosLinha,
|
|
83
111
|
apiFindMonitorAtivosMarca,
|
|
84
112
|
apiFindMonitorAtivosMemoriaRam,
|
|
85
113
|
apiFindMonitorAtivosModelo,
|
|
86
114
|
apiFindMonitorAtivosMonitorTela,
|
|
87
115
|
apiFindMonitorAtivosNotificacaoDocumentacao,
|
|
88
116
|
apiFindMonitorAtivosProcessador,
|
|
117
|
+
apiFindMonitorAtivosRemessaChip,
|
|
89
118
|
apiFindMonitorAtivosSistemaOperacional,
|
|
90
119
|
apiFindMonitorAtivosSoftware,
|
|
91
120
|
apiFindMonitorAtivosSubcategoria,
|
|
@@ -98,19 +127,25 @@ export {
|
|
|
98
127
|
apiGetAtivosAtivo,
|
|
99
128
|
apiGetAtivosBancoDados,
|
|
100
129
|
apiGetAtivosCategoria,
|
|
130
|
+
apiGetAtivosChip,
|
|
131
|
+
apiGetAtivosContaFaturamento,
|
|
101
132
|
apiGetAtivosDocumentacao,
|
|
102
133
|
apiGetAtivosDocumentacaoDisponiveis,
|
|
134
|
+
apiGetAtivosFatura,
|
|
103
135
|
apiGetAtivosFindProcessador,
|
|
104
136
|
apiGetAtivosFormularioCampos,
|
|
105
137
|
apiGetAtivosHardDisk,
|
|
138
|
+
apiGetAtivosIndicadorTelefonia,
|
|
106
139
|
apiGetAtivosInternetProtocol,
|
|
107
140
|
apiGetAtivosInternetProtocolDisponiveis,
|
|
141
|
+
apiGetAtivosLinha,
|
|
108
142
|
apiGetAtivosMarca,
|
|
109
143
|
apiGetAtivosMemoriaRam,
|
|
110
144
|
apiGetAtivosModelo,
|
|
111
145
|
apiGetAtivosMonitorTela,
|
|
112
146
|
apiGetAtivosNotificacaoDocumentacao,
|
|
113
147
|
apiGetAtivosProcessador,
|
|
148
|
+
apiGetAtivosRemessaChip,
|
|
114
149
|
apiGetAtivosSistemaOperacional,
|
|
115
150
|
apiGetAtivosSoftware,
|
|
116
151
|
apiGetAtivosSubcategoria,
|
|
@@ -122,27 +157,36 @@ export {
|
|
|
122
157
|
apiGetInventarioAtivosAtivo,
|
|
123
158
|
apiGetInventarioOpcoesAtivo,
|
|
124
159
|
apiRepararAtivosAtivo,
|
|
160
|
+
apiSubstituirAtivosChip,
|
|
125
161
|
apiTransferirAtivosAtivo,
|
|
162
|
+
apiTransferirAtivosLinha,
|
|
126
163
|
apiUpdateAtivosAplicacao,
|
|
127
164
|
apiUpdateAtivosAtivo,
|
|
128
165
|
apiUpdateAtivosBancoDados,
|
|
129
166
|
apiUpdateAtivosCategoria,
|
|
167
|
+
apiUpdateAtivosChip,
|
|
168
|
+
apiUpdateAtivosContaFaturamento,
|
|
130
169
|
apiUpdateAtivosDocumentacao,
|
|
170
|
+
apiUpdateAtivosFatura,
|
|
131
171
|
apiUpdateAtivosFormularioCampos,
|
|
132
172
|
apiUpdateAtivosHardDisk,
|
|
133
173
|
apiUpdateAtivosInternetProtocol,
|
|
174
|
+
apiUpdateAtivosLinha,
|
|
134
175
|
apiUpdateAtivosMarca,
|
|
135
176
|
apiUpdateAtivosMemoriaRam,
|
|
136
177
|
apiUpdateAtivosModelo,
|
|
137
178
|
apiUpdateAtivosMonitorTela,
|
|
138
179
|
apiUpdateAtivosNotificacaoDocumentacao,
|
|
139
180
|
apiUpdateAtivosProcessador,
|
|
181
|
+
apiUpdateAtivosRemessaChip,
|
|
140
182
|
apiUpdateAtivosSistemaOperacional,
|
|
141
183
|
apiUpdateAtivosSoftware,
|
|
142
184
|
apiUpdateAtivosSubcategoria,
|
|
143
185
|
apiUpdateAtivosTipo,
|
|
144
186
|
apiUpdateAtivosVersaoAndroid,
|
|
145
187
|
apiUpdateAtivosVersaoMSOffice,
|
|
146
|
-
apiUpdateAtivosVlan
|
|
188
|
+
apiUpdateAtivosVlan,
|
|
189
|
+
apiVincularChipDispositivo,
|
|
190
|
+
apiVincularChipLinha
|
|
147
191
|
};
|
|
148
192
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const INDICADOR_TELEFONIA_ENDPOINT = endpointNavigationConfig.ativos.indicadorTelefonia;
|
|
4
|
+
async function apiGetAtivosIndicadorTelefonia() {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: INDICADOR_TELEFONIA_ENDPOINT.find.endpoint,
|
|
7
|
+
method: INDICADOR_TELEFONIA_ENDPOINT.find.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
apiGetAtivosIndicadorTelefonia
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IndicadorTelefoniaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndicadorTelefoniaService.js","sources":["../../../../../../lib/base/services/modules/ativos/indicadorTelefonia/IndicadorTelefoniaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TIndicadorTelefonia } from \"@base/@types/models/ativos/indicadorTelefonia\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst INDICADOR_TELEFONIA_ENDPOINT = endpointConfig.ativos.indicadorTelefonia;\n\nexport async function apiGetAtivosIndicadorTelefonia() {\n return ApiService.fetchDataWithAxios<TIndicadorTelefonia>({\n url: INDICADOR_TELEFONIA_ENDPOINT.find.endpoint,\n method: INDICADOR_TELEFONIA_ENDPOINT.find.method,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAIA,MAAM,+BAA+BA,yBAAe,OAAO;AAE3D,eAAsB,iCAAiC;AACnD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,6BAA6B,KAAK;AAAA,IACvC,QAAQ,6BAA6B,KAAK;AAAA,EAAA,CAC7C;AACL;"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const LINHA_ENDPOINT = endpointNavigationConfig.ativos.linha;
|
|
4
|
+
async function apiGetAtivosLinha(id) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: LINHA_ENDPOINT.findOne.endpoint + `${id}`,
|
|
7
|
+
method: LINHA_ENDPOINT.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiAddAtivosLinha(body) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: LINHA_ENDPOINT.add.endpoint,
|
|
13
|
+
method: LINHA_ENDPOINT.add.method,
|
|
14
|
+
data: body
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiUpdateAtivosLinha(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: LINHA_ENDPOINT.update.endpoint,
|
|
20
|
+
method: LINHA_ENDPOINT.update.method,
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiDeleteAtivosLinha(id) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: LINHA_ENDPOINT.delete.endpoint + `${id}`,
|
|
27
|
+
method: LINHA_ENDPOINT.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function apiFindMonitorAtivosLinha(body) {
|
|
31
|
+
return ApiService.fetchDataWithAxios({
|
|
32
|
+
url: LINHA_ENDPOINT.findMonitor.endpoint,
|
|
33
|
+
method: LINHA_ENDPOINT.findMonitor.method,
|
|
34
|
+
data: body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async function apiTransferirAtivosLinha(body) {
|
|
38
|
+
return ApiService.fetchDataWithAxios({
|
|
39
|
+
url: LINHA_ENDPOINT.transferir.endpoint,
|
|
40
|
+
method: LINHA_ENDPOINT.transferir.method,
|
|
41
|
+
data: body
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function apiDevolverAtivosLinha(body) {
|
|
45
|
+
return ApiService.fetchDataWithAxios({
|
|
46
|
+
url: LINHA_ENDPOINT.devolver.endpoint,
|
|
47
|
+
method: LINHA_ENDPOINT.devolver.method,
|
|
48
|
+
data: body
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function apiAlterarStatusAtivosLinha(body) {
|
|
52
|
+
return ApiService.fetchDataWithAxios({
|
|
53
|
+
url: LINHA_ENDPOINT.alterarStatus.endpoint,
|
|
54
|
+
method: LINHA_ENDPOINT.alterarStatus.method,
|
|
55
|
+
data: body
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
apiAddAtivosLinha,
|
|
60
|
+
apiAlterarStatusAtivosLinha,
|
|
61
|
+
apiDeleteAtivosLinha,
|
|
62
|
+
apiDevolverAtivosLinha,
|
|
63
|
+
apiFindMonitorAtivosLinha,
|
|
64
|
+
apiGetAtivosLinha,
|
|
65
|
+
apiTransferirAtivosLinha,
|
|
66
|
+
apiUpdateAtivosLinha
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=LinhaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinhaService.js","sources":["../../../../../../lib/base/services/modules/ativos/linha/LinhaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TLinha, TLinhaColumnDef } from \"@base/@types/models/ativos/linha\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst LINHA_ENDPOINT = endpointConfig.ativos.linha;\n\nexport async function apiGetAtivosLinha(id: number) {\n return ApiService.fetchDataWithAxios<TLinha>({\n url: LINHA_ENDPOINT.findOne.endpoint + `${id}`,\n method: LINHA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosLinha(body: TLinha) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TLinha>>({\n url: LINHA_ENDPOINT.add.endpoint,\n method: LINHA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosLinha(body: TLinha) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TLinha>>({\n url: LINHA_ENDPOINT.update.endpoint,\n method: LINHA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosLinha(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TLinha>>({\n url: LINHA_ENDPOINT.delete.endpoint + `${id}`,\n method: LINHA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosLinha(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TLinhaColumnDef>>({\n url: LINHA_ENDPOINT.findMonitor.endpoint,\n method: LINHA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiTransferirAtivosLinha(body: { linhaId: number; idsResponsaveis: number[]; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TLinha>({\n url: LINHA_ENDPOINT.transferir.endpoint,\n method: LINHA_ENDPOINT.transferir.method,\n data: body,\n })\n}\n\nexport async function apiDevolverAtivosLinha(body: { linhaId: number; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TLinha>({\n url: LINHA_ENDPOINT.devolver.endpoint,\n method: LINHA_ENDPOINT.devolver.method,\n data: body,\n })\n}\n\nexport async function apiAlterarStatusAtivosLinha(body: { linhaId: number; statusLinha: string; motivo?: string }) {\n return ApiService.fetchDataWithAxios<TLinha>({\n url: LINHA_ENDPOINT.alterarStatus.endpoint,\n method: LINHA_ENDPOINT.alterarStatus.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,iBAAiBA,yBAAe,OAAO;AAE7C,eAAsB,kBAAkB,IAAY;AAChD,SAAO,WAAW,mBAA2B;AAAA,IACzC,KAAK,eAAe,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC5C,QAAQ,eAAe,QAAQ;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,kBAAkB,MAAc;AAClD,SAAO,WAAW,mBAA2C;AAAA,IACzD,KAAK,eAAe,IAAI;AAAA,IACxB,QAAQ,eAAe,IAAI;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qBAAqB,MAAc;AACrD,SAAO,WAAW,mBAA2C;AAAA,IACzD,KAAK,eAAe,OAAO;AAAA,IAC3B,QAAQ,eAAe,OAAO;AAAA,IAC9B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qBAAqB,IAAY;AACnD,SAAO,WAAW,mBAA2C;AAAA,IACzD,KAAK,eAAe,OAAO,WAAW,GAAG,EAAE;AAAA,IAC3C,QAAQ,eAAe,OAAO;AAAA,EAAA,CACjC;AACL;AAEA,eAAsB,0BAA0B,MAAsB;AAClE,SAAO,WAAW,mBAAoD;AAAA,IAClE,KAAK,eAAe,YAAY;AAAA,IAChC,QAAQ,eAAe,YAAY;AAAA,IACnC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,MAAuE;AAClH,SAAO,WAAW,mBAA2B;AAAA,IACzC,KAAK,eAAe,WAAW;AAAA,IAC/B,QAAQ,eAAe,WAAW;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,uBAAuB,MAA4C;AACrF,SAAO,WAAW,mBAA2B;AAAA,IACzC,KAAK,eAAe,SAAS;AAAA,IAC7B,QAAQ,eAAe,SAAS;AAAA,IAChC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,4BAA4B,MAAiE;AAC/G,SAAO,WAAW,mBAA2B;AAAA,IACzC,KAAK,eAAe,cAAc;AAAA,IAClC,QAAQ,eAAe,cAAc;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT = endpointNavigationConfig.ativos.monitorDispositivosTelefonia;
|
|
4
|
+
async function apiFindMonitorDispositivosTelefonia(body) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findDispositivos.endpoint,
|
|
7
|
+
method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findDispositivos.method,
|
|
8
|
+
data: body
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async function apiFindMonitorChipsTelefonia(body) {
|
|
12
|
+
return ApiService.fetchDataWithAxios({
|
|
13
|
+
url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findChips.endpoint,
|
|
14
|
+
method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findChips.method,
|
|
15
|
+
data: body
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function apiFindMonitorLinhasTelefonia(body) {
|
|
19
|
+
return ApiService.fetchDataWithAxios({
|
|
20
|
+
url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findLinhas.endpoint,
|
|
21
|
+
method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findLinhas.method,
|
|
22
|
+
data: body
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function apiFindMonitorAquisicoesTelefonia(body) {
|
|
26
|
+
return ApiService.fetchDataWithAxios({
|
|
27
|
+
url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findAquisicoes.endpoint,
|
|
28
|
+
method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findAquisicoes.method,
|
|
29
|
+
data: body
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
async function apiFindMonitorCobrancasTelefonia(body) {
|
|
33
|
+
return ApiService.fetchDataWithAxios({
|
|
34
|
+
url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findCobrancas.endpoint,
|
|
35
|
+
method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findCobrancas.method,
|
|
36
|
+
data: body
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
apiFindMonitorAquisicoesTelefonia,
|
|
41
|
+
apiFindMonitorChipsTelefonia,
|
|
42
|
+
apiFindMonitorCobrancasTelefonia,
|
|
43
|
+
apiFindMonitorDispositivosTelefonia,
|
|
44
|
+
apiFindMonitorLinhasTelefonia
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=MonitorDispositivosTelefoniaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonitorDispositivosTelefoniaService.js","sources":["../../../../../../lib/base/services/modules/ativos/monitorDispositivosTelefonia/MonitorDispositivosTelefoniaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport {\n TMonitorAquisicao,\n TMonitorChip,\n TMonitorCobranca,\n TMonitorDispositivo,\n TMonitorLinha,\n} from \"@base/@types/models/ativos/monitorDispositivosTelefonia\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT = endpointConfig.ativos.monitorDispositivosTelefonia;\n\nexport async function apiFindMonitorDispositivosTelefonia(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMonitorDispositivo>>({\n url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findDispositivos.endpoint,\n method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findDispositivos.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorChipsTelefonia(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMonitorChip>>({\n url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findChips.endpoint,\n method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findChips.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorLinhasTelefonia(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMonitorLinha>>({\n url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findLinhas.endpoint,\n method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findLinhas.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorAquisicoesTelefonia(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMonitorAquisicao>>({\n url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findAquisicoes.endpoint,\n method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findAquisicoes.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorCobrancasTelefonia(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMonitorCobranca>>({\n url: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findCobrancas.endpoint,\n method: MONITOR_DISPOSITIVOS_TELEFONIA_ENDPOINT.findCobrancas.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAWA,MAAM,0CAA0CA,yBAAe,OAAO;AAEtE,eAAsB,oCAAoC,MAAsB;AAC5E,SAAO,WAAW,mBAAwD;AAAA,IACtE,KAAK,wCAAwC,iBAAiB;AAAA,IAC9D,QAAQ,wCAAwC,iBAAiB;AAAA,IACjE,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,6BAA6B,MAAsB;AACrE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,wCAAwC,UAAU;AAAA,IACvD,QAAQ,wCAAwC,UAAU;AAAA,IAC1D,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,8BAA8B,MAAsB;AACtE,SAAO,WAAW,mBAAkD;AAAA,IAChE,KAAK,wCAAwC,WAAW;AAAA,IACxD,QAAQ,wCAAwC,WAAW;AAAA,IAC3D,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,kCAAkC,MAAsB;AAC1E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,wCAAwC,eAAe;AAAA,IAC5D,QAAQ,wCAAwC,eAAe;AAAA,IAC/D,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,iCAAiC,MAAsB;AACzE,SAAO,WAAW,mBAAqD;AAAA,IACnE,KAAK,wCAAwC,cAAc;AAAA,IAC3D,QAAQ,wCAAwC,cAAc;AAAA,IAC9D,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const REMESSA_CHIP_ENDPOINT = endpointNavigationConfig.ativos.remessaChip;
|
|
4
|
+
async function apiGetAtivosRemessaChip(id) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: REMESSA_CHIP_ENDPOINT.findOne.endpoint + `${id}`,
|
|
7
|
+
method: REMESSA_CHIP_ENDPOINT.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiAddAtivosRemessaChip(body) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: REMESSA_CHIP_ENDPOINT.add.endpoint,
|
|
13
|
+
method: REMESSA_CHIP_ENDPOINT.add.method,
|
|
14
|
+
data: body
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiUpdateAtivosRemessaChip(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: REMESSA_CHIP_ENDPOINT.update.endpoint,
|
|
20
|
+
method: REMESSA_CHIP_ENDPOINT.update.method,
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiDeleteAtivosRemessaChip(id) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: REMESSA_CHIP_ENDPOINT.delete.endpoint + `${id}`,
|
|
27
|
+
method: REMESSA_CHIP_ENDPOINT.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function apiFindMonitorAtivosRemessaChip(body) {
|
|
31
|
+
return ApiService.fetchDataWithAxios({
|
|
32
|
+
url: REMESSA_CHIP_ENDPOINT.findMonitor.endpoint,
|
|
33
|
+
method: REMESSA_CHIP_ENDPOINT.findMonitor.method,
|
|
34
|
+
data: body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
apiAddAtivosRemessaChip,
|
|
39
|
+
apiDeleteAtivosRemessaChip,
|
|
40
|
+
apiFindMonitorAtivosRemessaChip,
|
|
41
|
+
apiGetAtivosRemessaChip,
|
|
42
|
+
apiUpdateAtivosRemessaChip
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=RemessaChipService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemessaChipService.js","sources":["../../../../../../lib/base/services/modules/ativos/remessaChip/RemessaChipService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TRemessaChip, TRemessaChipColumnDef } from \"@base/@types/models/ativos/remessaChip\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst REMESSA_CHIP_ENDPOINT = endpointConfig.ativos.remessaChip;\n\nexport async function apiGetAtivosRemessaChip(id: number) {\n return ApiService.fetchDataWithAxios<TRemessaChip>({\n url: REMESSA_CHIP_ENDPOINT.findOne.endpoint + `${id}`,\n method: REMESSA_CHIP_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddAtivosRemessaChip(body: TRemessaChip) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRemessaChip>>({\n url: REMESSA_CHIP_ENDPOINT.add.endpoint,\n method: REMESSA_CHIP_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateAtivosRemessaChip(body: TRemessaChip) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRemessaChip>>({\n url: REMESSA_CHIP_ENDPOINT.update.endpoint,\n method: REMESSA_CHIP_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteAtivosRemessaChip(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRemessaChip>>({\n url: REMESSA_CHIP_ENDPOINT.delete.endpoint + `${id}`,\n method: REMESSA_CHIP_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorAtivosRemessaChip(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRemessaChipColumnDef>>({\n url: REMESSA_CHIP_ENDPOINT.findMonitor.endpoint,\n method: REMESSA_CHIP_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,wBAAwBA,yBAAe,OAAO;AAEpD,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAiC;AAAA,IAC/C,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,wBAAwB,MAAoB;AAC9D,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,IAAI;AAAA,IAC/B,QAAQ,sBAAsB,IAAI;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAAoB;AACjE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO;AAAA,IAClC,QAAQ,sBAAsB,OAAO;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,IAAY;AACzD,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO,WAAW,GAAG,EAAE;AAAA,IAClD,QAAQ,sBAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsB,gCAAgC,MAAsB;AACxE,SAAO,WAAW,mBAA0D;AAAA,IACxE,KAAK,sBAAsB,YAAY;AAAA,IACvC,QAAQ,sBAAsB,YAAY;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;"}
|