@orbe-agro/client-core 3.3.11 → 3.3.12
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/lib/@ecme/locales/lang/ptBR/modules/DadosMestres/dadosMestres.nav.js +13 -0
- package/dist/lib/@ecme/locales/lang/ptBR/modules/DadosMestres/dadosMestres.nav.js.map +1 -0
- package/dist/lib/@ecme/locales/lang/ptBR/modules/Ticket/ticket.nav.js +15 -0
- package/dist/lib/@ecme/locales/lang/ptBR/modules/Ticket/ticket.nav.js.map +1 -0
- package/dist/lib/@ecme/locales/lang/ptBR/nav.js +7 -3
- package/dist/lib/@ecme/locales/lang/ptBR/nav.js.map +1 -1
- package/dist/lib/base/components/shared/AceitarProcessoDialog.js +34 -0
- package/dist/lib/base/components/shared/AceitarProcessoDialog.js.map +1 -0
- package/dist/lib/base/components/shared/AdicionarHistoricoDialog.js +59 -0
- package/dist/lib/base/components/shared/AdicionarHistoricoDialog.js.map +1 -0
- package/dist/lib/base/components/shared/CancelarProcessoDialog.js +60 -0
- package/dist/lib/base/components/shared/CancelarProcessoDialog.js.map +1 -0
- package/dist/lib/base/components/shared/ConcluirProcessoDialog.js +59 -0
- package/dist/lib/base/components/shared/ConcluirProcessoDialog.js.map +1 -0
- package/dist/lib/base/components/shared/RetornarFluxAtendimentoDialog.js +59 -0
- package/dist/lib/base/components/shared/RetornarFluxAtendimentoDialog.js.map +1 -0
- package/dist/lib/base/components/shared/TransferirParaAtendenteDialog.js +59 -0
- package/dist/lib/base/components/shared/TransferirParaAtendenteDialog.js.map +1 -0
- package/dist/lib/base/components/shared/TransferirParaSolicitanteDialog.js +59 -0
- package/dist/lib/base/components/shared/TransferirParaSolicitanteDialog.js.map +1 -0
- package/dist/lib/base/components/shared/TransferirProcessoDialog.js +84 -0
- package/dist/lib/base/components/shared/TransferirProcessoDialog.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Localizacao/municipio.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Localizacao/municipio.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/businessPartner.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/businessPartner.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/centro.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/centro.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/deposito.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/deposito.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/incoterms.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/incoterms.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/produto.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/produto.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/safra.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Sap/safra.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js +7 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js +8 -0
- package/dist/lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js.map +1 -0
- package/dist/lib/base/configs/endpoints.config/flux/config/formularioBase.js +1 -2
- package/dist/lib/base/configs/endpoints.config/flux/config/formularioBase.js.map +1 -1
- package/dist/lib/base/configs/endpoints.config/flux/config/processo.js +2 -1
- package/dist/lib/base/configs/endpoints.config/flux/config/processo.js.map +1 -1
- package/dist/lib/base/configs/navigation.config/modules.navigation.js +17 -13
- package/dist/lib/base/configs/navigation.config/modules.navigation.js.map +1 -1
- package/dist/lib/base/configs/navigation.config/modules.submenu/DadosMestres/dadosMestres.navigation.js +59 -0
- package/dist/lib/base/configs/navigation.config/modules.submenu/DadosMestres/dadosMestres.navigation.js.map +1 -0
- package/dist/lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.js +89 -0
- package/dist/lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.js.map +1 -0
- package/dist/lib/base/hooks/flux/useAceitarProcesso.js +25 -0
- package/dist/lib/base/hooks/flux/useAceitarProcesso.js.map +1 -0
- package/dist/lib/base/hooks/flux/useAdicionarHistorico.js +25 -0
- package/dist/lib/base/hooks/flux/useAdicionarHistorico.js.map +1 -0
- package/dist/lib/base/hooks/flux/useCancelarProcesso.js +25 -0
- package/dist/lib/base/hooks/flux/useCancelarProcesso.js.map +1 -0
- package/dist/lib/base/hooks/flux/useConcluirProcesso.js +25 -0
- package/dist/lib/base/hooks/flux/useConcluirProcesso.js.map +1 -0
- package/dist/lib/base/hooks/flux/useRetornarFluxoAtendimento.js +25 -0
- package/dist/lib/base/hooks/flux/useRetornarFluxoAtendimento.js.map +1 -0
- package/dist/lib/base/hooks/flux/useTransferirParaAtendente.js +25 -0
- package/dist/lib/base/hooks/flux/useTransferirParaAtendente.js.map +1 -0
- package/dist/lib/base/hooks/flux/useTransferirParaSolicitante.js +25 -0
- package/dist/lib/base/hooks/flux/useTransferirParaSolicitante.js.map +1 -0
- package/dist/lib/base/hooks/flux/useTransferirProcesso.js +25 -0
- package/dist/lib/base/hooks/flux/useTransferirProcesso.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Localizacao/MunicipioService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Localizacao/MunicipioService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/BusinessPartnerService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/BusinessPartnerService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/CentroService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/CentroService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/DepositoService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/DepositoService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/IncotermsService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/IncotermsService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/ProdutoService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/ProdutoService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/SafraService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Sap/SafraService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Transporte/MotoristaService.js +13 -0
- package/dist/lib/base/services/modules/DadosMestres/Transporte/MotoristaService.js.map +1 -0
- package/dist/lib/base/services/modules/DadosMestres/Transporte/VeiculoService.js +20 -0
- package/dist/lib/base/services/modules/DadosMestres/Transporte/VeiculoService.js.map +1 -0
- package/dist/lib/base/services/modules/FluxService.js +49 -48
- package/dist/lib/base/services/modules/FluxService.js.map +1 -1
- package/dist/lib/base/services/modules/ObjectStorageService.js +3 -4
- package/dist/lib/base/services/modules/ObjectStorageService.js.map +1 -1
- package/dist/lib/types/@ecme/locales/lang/ptBR/modules/DadosMestres/dadosMestres.nav.d.ts +10 -0
- package/dist/lib/types/@ecme/locales/lang/ptBR/modules/Ticket/ticket.nav.d.ts +12 -0
- package/dist/lib/types/base/components/shared/AceitarProcessoDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/AdicionarHistoricoDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/CancelarProcessoDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/ConcluirProcessoDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/RetornarFluxAtendimentoDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/TransferirParaAtendenteDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/TransferirParaSolicitanteDialog.d.ts +7 -0
- package/dist/lib/types/base/components/shared/TransferirProcessoDialog.d.ts +7 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Localizacao/municipio.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/businessPartner.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/centro.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/deposito.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/incoterms.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/produto.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Sap/safra.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.d.ts +4 -0
- package/dist/lib/types/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.d.ts +5 -0
- package/dist/lib/types/base/configs/endpoints.config/endpoints.navigation.d.ts +1 -1
- package/dist/lib/types/base/configs/endpoints.config/flux/config/formularioBase.d.ts +0 -1
- package/dist/lib/types/base/configs/endpoints.config/flux/config/processo.d.ts +1 -0
- package/dist/lib/types/base/configs/endpoints.config/flux/flux.d.ts +1 -1
- package/dist/lib/types/base/configs/navigation.config/modules.submenu/DadosMestres/dadosMestres.navigation.d.ts +3 -0
- package/dist/lib/types/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.d.ts +3 -0
- package/dist/lib/types/base/hooks/flux/useAceitarProcesso.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useAdicionarHistorico.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useCancelarProcesso.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useConcluirProcesso.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useRetornarFluxoAtendimento.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useTransferirParaAtendente.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useTransferirParaSolicitante.d.ts +2 -0
- package/dist/lib/types/base/hooks/flux/useTransferirProcesso.d.ts +2 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Localizacao/MunicipioService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/BusinessPartnerService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/CentroService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/DepositoService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/IncotermsService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/ProdutoService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Sap/SafraService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Transporte/MotoristaService.d.ts +1 -0
- package/dist/lib/types/base/services/modules/DadosMestres/Transporte/VeiculoService.d.ts +2 -0
- package/dist/lib/types/base/services/modules/FluxService.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "../../../@ecme/components/index.js";
|
|
3
|
+
import { apiTransferirSolicitante as a } from "../../services/modules/FluxService.js";
|
|
4
|
+
import { useMutation as n } from "@tanstack/react-query";
|
|
5
|
+
import i from "../../../@ecme/components/ui/toast/toast.js";
|
|
6
|
+
import e from "../../../@ecme/components/ui/Notification/Notification.js";
|
|
7
|
+
function d(r, o) {
|
|
8
|
+
return n({
|
|
9
|
+
mutationFn: a,
|
|
10
|
+
onSuccess: () => {
|
|
11
|
+
r && r(), o && o(), i.push(
|
|
12
|
+
/* @__PURE__ */ t(e, { title: "Sucesso", type: "success", children: "Processo enviado com sucesso" })
|
|
13
|
+
);
|
|
14
|
+
},
|
|
15
|
+
onError: (s) => {
|
|
16
|
+
i.push(
|
|
17
|
+
/* @__PURE__ */ t(e, { title: "Erro", type: "danger", children: s.message })
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
d as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=useTransferirParaSolicitante.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransferirParaSolicitante.js","sources":["../../../../../lib/base/hooks/flux/useTransferirParaSolicitante.tsx"],"sourcesContent":["import { Notification, toast } from '@/components'\nimport { TActionProcesso, TProcesso } from '@base/@types/models/flux/processo'\nimport { apiTransferirSolicitante } from '@base/services/modules/FluxService'\nimport { useMutation } from '@tanstack/react-query'\n\nexport default function useTransferirParaSolicitante(\n onClose?: () => void,\n onReset?: () => void,\n) {\n return useMutation<TProcesso, Error, TActionProcesso>({\n mutationFn: apiTransferirSolicitante,\n onSuccess: () => {\n if (onClose) onClose()\n if (onReset) onReset()\n toast.push(\n <Notification title=\"Sucesso\" type=\"success\">\n Processo enviado com sucesso\n </Notification>,\n )\n },\n onError: (error: Error) => {\n toast.push(\n <Notification title=\"Erro\" type=\"danger\">\n {error.message}\n </Notification>,\n )\n },\n })\n}\n"],"names":["useTransferirParaSolicitante","onClose","onReset","useMutation","apiTransferirSolicitante","toast","Notification","error"],"mappings":";;;;;;AAKwB,SAAAA,EACpBC,GACAC,GACF;AACE,SAAOC,EAA+C;AAAA,IAClD,YAAYC;AAAA,IACZ,WAAW,MAAM;AACb,MAAIH,KAAiBA,EAAA,GACjBC,KAAiBA,EAAA,GACfG,EAAA;AAAA,0BACDC,GAAa,EAAA,OAAM,WAAU,MAAK,WAAU,UAE7C,+BAAA,CAAA;AAAA,MACJ;AAAA,IACJ;AAAA,IACA,SAAS,CAACC,MAAiB;AACjB,MAAAF,EAAA;AAAA,0BACDC,GAAa,EAAA,OAAM,QAAO,MAAK,UAC3B,YAAM,QACX,CAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EACJ,CACH;AACL;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "../../../@ecme/components/index.js";
|
|
3
|
+
import { apiTransferirProcesso as e } from "../../services/modules/FluxService.js";
|
|
4
|
+
import { useMutation as i } from "@tanstack/react-query";
|
|
5
|
+
import o from "../../../@ecme/components/ui/toast/toast.js";
|
|
6
|
+
import s from "../../../@ecme/components/ui/Notification/Notification.js";
|
|
7
|
+
function f() {
|
|
8
|
+
return i({
|
|
9
|
+
mutationFn: e,
|
|
10
|
+
onSuccess: () => {
|
|
11
|
+
o.push(
|
|
12
|
+
/* @__PURE__ */ r(s, { title: "Sucesso", type: "success", children: "Processo transferido com sucesso" })
|
|
13
|
+
);
|
|
14
|
+
},
|
|
15
|
+
onError: (t) => {
|
|
16
|
+
o.push(
|
|
17
|
+
/* @__PURE__ */ r(s, { title: "Erro", type: "danger", children: t.message })
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
f as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=useTransferirProcesso.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransferirProcesso.js","sources":["../../../../../lib/base/hooks/flux/useTransferirProcesso.tsx"],"sourcesContent":["import { Notification, toast } from '@/components'\nimport { TActionProcesso, TProcesso } from '@base/@types/models/flux/processo'\nimport { apiTransferirProcesso } from '@base/services/modules/FluxService'\nimport { useMutation } from '@tanstack/react-query'\n\nexport default function useTransferirProcesso() {\n return useMutation<TProcesso, Error, TActionProcesso>({\n mutationFn: apiTransferirProcesso,\n onSuccess: () => {\n toast.push(\n <Notification title=\"Sucesso\" type=\"success\">\n Processo transferido com sucesso\n </Notification>,\n )\n },\n onError: (error: Error) => {\n toast.push(\n <Notification title=\"Erro\" type=\"danger\">\n {error.message}\n </Notification>,\n )\n },\n })\n}\n"],"names":["useTransferirProcesso","useMutation","apiTransferirProcesso","toast","Notification","error"],"mappings":";;;;;;AAKA,SAAwBA,IAAwB;AAC5C,SAAOC,EAA+C;AAAA,IAClD,YAAYC;AAAA,IACZ,WAAW,MAAM;AACP,MAAAC,EAAA;AAAA,0BACDC,GAAa,EAAA,OAAM,WAAU,MAAK,WAAU,UAE7C,mCAAA,CAAA;AAAA,MACJ;AAAA,IACJ;AAAA,IACA,SAAS,CAACC,MAAiB;AACjB,MAAAF,EAAA;AAAA,0BACDC,GAAa,EAAA,OAAM,QAAO,MAAK,UAC3B,YAAM,QACX,CAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EACJ,CACH;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "../../../../configs/endpoints.config/DadosMestres/Localizacao/municipio.endpoint.config.js";
|
|
2
|
+
import t from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function r(i) {
|
|
4
|
+
return t.fetchDataWithAxios({
|
|
5
|
+
url: o.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: i
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
r as apiGetMunicipios
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=MunicipioService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MunicipioService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Localizacao/MunicipioService.ts"],"sourcesContent":["import municipioEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Localizacao/municipio.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetMunicipios(body) {\n return ApiService.fetchDataWithAxios({\n url: municipioEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetMunicipios","body","ApiService","municipioEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAiBC,GAAM;AACzC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import i from "../../../../configs/endpoints.config/DadosMestres/Sap/businessPartner.endpoint.config.js";
|
|
2
|
+
import r from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function o(t) {
|
|
4
|
+
return r.fetchDataWithAxios({
|
|
5
|
+
url: i.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
o as apiGetBusinessPartners
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=BusinessPartnerService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessPartnerService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/BusinessPartnerService.ts"],"sourcesContent":["import businessPartnerEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/businessPartner.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetBusinessPartners(body) {\n return ApiService.fetchDataWithAxios({\n url: businessPartnerEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetBusinessPartners","body","ApiService","businessPartnerEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAuBC,GAAM;AAC/C,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAA8B;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "../../../../configs/endpoints.config/DadosMestres/Sap/centro.endpoint.config.js";
|
|
2
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function e(t) {
|
|
4
|
+
return i.fetchDataWithAxios({
|
|
5
|
+
url: o.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
e as apiGetCentros
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=CentroService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CentroService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/CentroService.ts"],"sourcesContent":["import centroEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/centro.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetCentros(body) {\n return ApiService.fetchDataWithAxios({\n url: centroEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetCentros","body","ApiService","centroEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAcC,GAAM;AACtC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import t from "../../../../configs/endpoints.config/DadosMestres/Sap/deposito.endpoint.config.js";
|
|
2
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function r(o) {
|
|
4
|
+
return i.fetchDataWithAxios({
|
|
5
|
+
url: t.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: o
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
r as apiGetDepositos
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=DepositoService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositoService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/DepositoService.ts"],"sourcesContent":["import depositoEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/deposito.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetDepositos(body) {\n return ApiService.fetchDataWithAxios({\n url: depositoEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetDepositos","body","ApiService","depositoEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAgBC,GAAM;AACxC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAuB;AAAA,IAC5B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "../../../../configs/endpoints.config/DadosMestres/Sap/incoterms.endpoint.config.js";
|
|
2
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function e(t) {
|
|
4
|
+
return i.fetchDataWithAxios({
|
|
5
|
+
url: o.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
e as apiGetIncoterms
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=IncotermsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncotermsService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/IncotermsService.ts"],"sourcesContent":["import incotermsEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/incoterms.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetIncoterms(body) {\n return ApiService.fetchDataWithAxios({\n url: incotermsEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetIncoterms","body","ApiService","incotermsEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAgBC,GAAM;AACxC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import t from "../../../../configs/endpoints.config/DadosMestres/Sap/produto.endpoint.config.js";
|
|
2
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function p(o) {
|
|
4
|
+
return i.fetchDataWithAxios({
|
|
5
|
+
url: t.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: o
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
p as apiGetProdutos
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ProdutoService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProdutoService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/ProdutoService.ts"],"sourcesContent":["import produtoEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/produto.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetProdutos(body) {\n return ApiService.fetchDataWithAxios({\n url: produtoEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetProdutos","body","ApiService","produtoEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAeC,GAAM;AACvC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import i from "../../../../configs/endpoints.config/DadosMestres/Sap/safra.endpoint.config.js";
|
|
2
|
+
import o from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function f(t) {
|
|
4
|
+
return o.fetchDataWithAxios({
|
|
5
|
+
url: i.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
f as apiGetSafras
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=SafraService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafraService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Sap/SafraService.ts"],"sourcesContent":["import safraEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Sap/safra.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetSafras(body) {\n return ApiService.fetchDataWithAxios({\n url: safraEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetSafras","body","ApiService","safraEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAaC,GAAM;AACrC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAoB;AAAA,IACzB,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "../../../../configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js";
|
|
2
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function n(t) {
|
|
4
|
+
return i.fetchDataWithAxios({
|
|
5
|
+
url: o.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
n as apiGetMotoristas
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=MotoristaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MotoristaService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/MotoristaService.ts"],"sourcesContent":["import motoristaEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetMotoristas(body) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}"],"names":["apiGetMotoristas","body","ApiService","motoristaEndpointConfig"],"mappings":";;AAGA,eAAsBA,EAAiBC,GAAM;AACzC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import i from "../../../../configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js";
|
|
2
|
+
import o from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function r(t) {
|
|
4
|
+
return o.fetchDataWithAxios({
|
|
5
|
+
url: i.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: t
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function a(t) {
|
|
11
|
+
return o.fetchDataWithAxios({
|
|
12
|
+
url: i.findOne + t,
|
|
13
|
+
method: "get"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
a as apiGetVeiculo,
|
|
18
|
+
r as apiGetVeiculos
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=VeiculoService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VeiculoService.js","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/VeiculoService.ts"],"sourcesContent":["import veiculoEndpointConfig from '@base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetVeiculos(body) {\n return ApiService.fetchDataWithAxios({\n url: veiculoEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetVeiculo(id) {\n return ApiService.fetchDataWithAxios({\n url: veiculoEndpointConfig.findOne + id,\n method: 'get',\n })\n}"],"names":["apiGetVeiculos","body","ApiService","veiculoEndpointConfig","apiGetVeiculo","id"],"mappings":";;AAGA,eAAsBA,EAAeC,GAAM;AACvC,SAAOC,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACT;AACL;AAEO,SAASG,EAAcC,GAAI;AAC9B,SAAOH,EAAW,mBAAmB;AAAA,IACjC,KAAKC,EAAsB,UAAUE;AAAA,IACrC,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -88,13 +88,13 @@ async function g(t) {
|
|
|
88
88
|
data: t
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
async function
|
|
91
|
+
async function D(t) {
|
|
92
92
|
return e.fetchDataWithAxios({
|
|
93
93
|
url: `${a.flux.categoria.findOne}/${t}`,
|
|
94
94
|
method: "get"
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
async function
|
|
97
|
+
async function y(t) {
|
|
98
98
|
return e.fetchDataWithAxios({
|
|
99
99
|
url: `${a.flux.categoria.delete}/${t}`,
|
|
100
100
|
method: "delete"
|
|
@@ -120,26 +120,26 @@ async function P(t) {
|
|
|
120
120
|
data: t
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function C(t) {
|
|
124
124
|
return e.fetchDataWithAxios({
|
|
125
125
|
url: a.flux.subcategoria.update,
|
|
126
126
|
method: "patch",
|
|
127
127
|
data: t
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
async function
|
|
130
|
+
async function F(t) {
|
|
131
131
|
return e.fetchDataWithAxios({
|
|
132
132
|
url: `${a.flux.subcategoria.findSubcategoriaByCategoria}/${t}`,
|
|
133
133
|
method: "get"
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
async function
|
|
136
|
+
async function B(t) {
|
|
137
137
|
return e.fetchDataWithAxios({
|
|
138
138
|
url: `${a.flux.subcategoria.findOne}/${t}`,
|
|
139
139
|
method: "get"
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
async function
|
|
142
|
+
async function b(t) {
|
|
143
143
|
return e.fetchDataWithAxios({
|
|
144
144
|
url: `${a.flux.subcategoria.delete}/${t}`,
|
|
145
145
|
method: "delete"
|
|
@@ -152,14 +152,14 @@ async function O(t) {
|
|
|
152
152
|
data: t
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
async function
|
|
155
|
+
async function G(t) {
|
|
156
156
|
return e.fetchDataWithAxios({
|
|
157
157
|
url: a.flux.formularioBase.add,
|
|
158
158
|
method: "post",
|
|
159
159
|
data: t
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
async function
|
|
162
|
+
async function S(t) {
|
|
163
163
|
return e.fetchDataWithAxios({
|
|
164
164
|
url: a.flux.formularioBase.update,
|
|
165
165
|
method: "patch",
|
|
@@ -167,137 +167,138 @@ async function G(t) {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
async function T(t) {
|
|
170
|
-
return e.fetchDataWithAxios({
|
|
171
|
-
url: `${a.flux.formularioBase.findOneBySubcategoria}/${t}`,
|
|
172
|
-
method: "get"
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
async function U(t) {
|
|
176
170
|
return e.fetchDataWithAxios({
|
|
177
171
|
url: `${a.flux.formularioBase.findOne}/${t}`,
|
|
178
172
|
method: "get"
|
|
179
173
|
});
|
|
180
174
|
}
|
|
181
|
-
async function
|
|
175
|
+
async function U(t) {
|
|
182
176
|
return e.fetchDataWithAxios({
|
|
183
177
|
url: `${a.flux.formularioBase.delete}/${t}`,
|
|
184
178
|
method: "delete"
|
|
185
179
|
});
|
|
186
180
|
}
|
|
187
|
-
async function
|
|
181
|
+
async function v(t) {
|
|
188
182
|
return e.fetchDataWithAxios({
|
|
189
183
|
url: a.flux.processo.findAll,
|
|
190
184
|
method: "post",
|
|
191
185
|
data: t
|
|
192
186
|
});
|
|
193
187
|
}
|
|
194
|
-
async function
|
|
188
|
+
async function H(t) {
|
|
195
189
|
return e.fetchDataWithAxios({
|
|
196
190
|
url: a.flux.processo.add,
|
|
197
191
|
method: "post",
|
|
198
192
|
data: t
|
|
199
193
|
});
|
|
200
194
|
}
|
|
201
|
-
async function
|
|
195
|
+
async function N(t) {
|
|
202
196
|
return e.fetchDataWithAxios({
|
|
203
197
|
url: a.flux.processo.update,
|
|
204
198
|
method: "patch",
|
|
205
199
|
data: t
|
|
206
200
|
});
|
|
207
201
|
}
|
|
208
|
-
async function
|
|
202
|
+
async function R(t) {
|
|
209
203
|
return e.fetchDataWithAxios({
|
|
210
204
|
url: `${a.flux.processo.findOne}/${t}`,
|
|
211
205
|
method: "get"
|
|
212
206
|
});
|
|
213
207
|
}
|
|
214
|
-
async function
|
|
208
|
+
async function j(t) {
|
|
215
209
|
return e.fetchDataWithAxios({
|
|
216
210
|
url: `${a.flux.processo.aceitar}/${t}`,
|
|
217
211
|
method: "get"
|
|
218
212
|
});
|
|
219
213
|
}
|
|
220
|
-
async function
|
|
214
|
+
async function k(t) {
|
|
221
215
|
return e.fetchDataWithAxios({
|
|
222
216
|
url: a.flux.processo.concluir,
|
|
223
217
|
method: "put",
|
|
224
218
|
data: t
|
|
225
219
|
});
|
|
226
220
|
}
|
|
227
|
-
async function
|
|
221
|
+
async function q(t) {
|
|
228
222
|
return e.fetchDataWithAxios({
|
|
229
223
|
url: a.flux.processo.cancelar,
|
|
230
224
|
method: "put",
|
|
231
225
|
data: t
|
|
232
226
|
});
|
|
233
227
|
}
|
|
234
|
-
async function
|
|
228
|
+
async function w(t) {
|
|
235
229
|
return e.fetchDataWithAxios({
|
|
236
230
|
url: a.flux.processo.transferir,
|
|
237
231
|
method: "put",
|
|
238
232
|
data: t
|
|
239
233
|
});
|
|
240
234
|
}
|
|
241
|
-
async function
|
|
235
|
+
async function z(t) {
|
|
242
236
|
return e.fetchDataWithAxios({
|
|
243
237
|
url: a.flux.processo.transferirSolicitante,
|
|
244
238
|
method: "put",
|
|
245
239
|
data: t
|
|
246
240
|
});
|
|
247
241
|
}
|
|
248
|
-
async function
|
|
242
|
+
async function E(t) {
|
|
249
243
|
return e.fetchDataWithAxios({
|
|
250
244
|
url: a.flux.processo.transferirAtendente,
|
|
251
245
|
method: "put",
|
|
252
246
|
data: t
|
|
253
247
|
});
|
|
254
248
|
}
|
|
255
|
-
async function
|
|
249
|
+
async function I(t) {
|
|
256
250
|
return e.fetchDataWithAxios({
|
|
257
251
|
url: a.flux.processo.adicionarHistorico,
|
|
258
252
|
method: "put",
|
|
259
253
|
data: t
|
|
260
254
|
});
|
|
261
255
|
}
|
|
256
|
+
async function J(t) {
|
|
257
|
+
return e.fetchDataWithAxios({
|
|
258
|
+
url: a.flux.processo.retornarFluxoAtendimento,
|
|
259
|
+
method: "put",
|
|
260
|
+
data: t
|
|
261
|
+
});
|
|
262
|
+
}
|
|
262
263
|
export {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
j as apiAceitarProcesso,
|
|
265
|
+
I as apiAdicionarHistorico,
|
|
266
|
+
q as apiCancelarProcesso,
|
|
267
|
+
k as apiConcluirProcesso,
|
|
267
268
|
A as apiCreateCategoria,
|
|
268
|
-
|
|
269
|
+
G as apiCreateFormularioBase,
|
|
269
270
|
h as apiCreateGrupoAtendimento,
|
|
270
|
-
|
|
271
|
+
H as apiCreateProcesso,
|
|
271
272
|
P as apiCreateSubcategoria,
|
|
272
273
|
u as apiCreateTipoProcesso,
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
y as apiDeleteCategoria,
|
|
275
|
+
U as apiDeleteFormularioBase,
|
|
275
276
|
x as apiDeleteGrupoAtendimento,
|
|
276
|
-
|
|
277
|
+
b as apiDeleteSubcategoria,
|
|
277
278
|
f as apiDeleteTipoProcesso,
|
|
278
279
|
W as apiFindCategoriaByTipoProcesso,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
T as apiFindOneFormularioBaseBySubcategoria,
|
|
280
|
+
D as apiFindOneCategoria,
|
|
281
|
+
T as apiFindOneFormularioBase,
|
|
282
282
|
p as apiFindOneGrupoAtendimento,
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
R as apiFindOneProcesso,
|
|
284
|
+
B as apiFindOneSubcategoria,
|
|
285
285
|
s as apiFindOneTipoProcesso,
|
|
286
|
-
|
|
286
|
+
F as apiFindSubategoriaByCategoria,
|
|
287
287
|
m as apiGetCategoria,
|
|
288
288
|
O as apiGetFormularioBase,
|
|
289
289
|
d as apiGetGrupoAtendimento,
|
|
290
|
-
|
|
290
|
+
v as apiGetProcesso,
|
|
291
291
|
$ as apiGetSubcategoria,
|
|
292
292
|
n as apiGetTipoProcesso,
|
|
293
|
-
J as
|
|
294
|
-
E as
|
|
295
|
-
|
|
293
|
+
J as apiRetornarFluxoAtendimento,
|
|
294
|
+
E as apiTransferirAtendente,
|
|
295
|
+
w as apiTransferirProcesso,
|
|
296
|
+
z as apiTransferirSolicitante,
|
|
296
297
|
g as apiUpdateCategoria,
|
|
297
|
-
|
|
298
|
+
S as apiUpdateFormularioBase,
|
|
298
299
|
l as apiUpdateGrupoAtendimento,
|
|
299
|
-
|
|
300
|
-
|
|
300
|
+
N as apiUpdateProcesso,
|
|
301
|
+
C as apiUpdateSubcategoria,
|
|
301
302
|
c as apiUpdateTipoProcesso
|
|
302
303
|
};
|
|
303
304
|
//# sourceMappingURL=FluxService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxService.js","sources":["../../../../../lib/base/services/modules/FluxService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoProcesso } from \"@base/@types/models/flux/tipoProcesso\";\nimport { TGrupoAtendimento } from \"@base/@types/models/flux/grupoAtendimento\";\nimport { TCategoria } from \"@base/@types/models/flux/categoria\";\nimport { TFormularioBase } from \"@base/@types/models/flux/formularioBase\";\nimport {\n TActionProcesso,\n TProcesso,\n TUpdateProcesso,\n} from \"@base/@types/models/flux/processo\";\nimport { TSubcategoria } from \"@base/@types/models/flux/subcategoria\";\nimport { endpointsConfig } from \"@base/configs\";\nimport ApiService from \"lib/@ecme/services/ApiService\";\n\nexport async function apiGetTipoProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetGrupoAtendimento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiFindCategoriaByTipoProcesso(idTipoProcesso: number) {\n return ApiService.fetchDataWithAxios<TCategoria[]>({\n url: `${endpointsConfig.flux.categoria.findCategoriaByTipoProcesso}/${idTipoProcesso}`,\n method: \"get\",\n });\n}\n\nexport async function apiGetSubcategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindSubategoriaByCategoria(idCategoria: number) {\n return ApiService.fetchDataWithAxios<TSubcategoria[]>({\n url: `${endpointsConfig.flux.subcategoria.findSubcategoriaByCategoria}/${idCategoria}`,\n method: \"get\",\n });\n}\n\nexport async function apiFindOneSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetFormularioBase(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneFormularioBaseBySubcategoria(\n idSubcategoria: number\n) {\n return ApiService.fetchDataWithAxios<TFormularioBase[]>({\n url: `${endpointsConfig.flux.formularioBase.findOneBySubcategoria}/${idSubcategoria}`,\n method: \"get\",\n });\n}\n\nexport async function apiFindOneFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateProcesso(data?: TProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateProcesso(data?: TUpdateProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiAceitarProcesso(id: number) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.aceitar}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiConcluirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.concluir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiCancelarProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.cancelar,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirSolicitante(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirSolicitante,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirAtendente(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirAtendente,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiAdicionarHistorico(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.adicionarHistorico,\n method: \"put\",\n data: body,\n });\n}\n"],"names":["apiGetTipoProcesso","body","ApiService","endpointsConfig","apiCreateTipoProcesso","data","apiUpdateTipoProcesso","apiFindOneTipoProcesso","id","apiDeleteTipoProcesso","apiGetGrupoAtendimento","apiCreateGrupoAtendimento","apiUpdateGrupoAtendimento","apiFindOneGrupoAtendimento","apiDeleteGrupoAtendimento","apiGetCategoria","apiCreateCategoria","apiUpdateCategoria","apiFindOneCategoria","apiDeleteCategoria","apiFindCategoriaByTipoProcesso","idTipoProcesso","apiGetSubcategoria","apiCreateSubcategoria","apiUpdateSubcategoria","apiFindSubategoriaByCategoria","idCategoria","apiFindOneSubcategoria","apiDeleteSubcategoria","apiGetFormularioBase","apiCreateFormularioBase","apiUpdateFormularioBase","apiFindOneFormularioBaseBySubcategoria","idSubcategoria","apiFindOneFormularioBase","apiDeleteFormularioBase","apiGetProcesso","apiCreateProcesso","apiUpdateProcesso","apiFindOneProcesso","apiAceitarProcesso","apiConcluirProcesso","apiCancelarProcesso","apiTransferirProcesso","apiTransferirSolicitante","apiTransferirAtendente","apiAdicionarHistorico"],"mappings":";;;AAcA,eAAsBA,EAAmBC,GAAsB;AAC7D,SAAOC,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsBG,EAAsBC,GAAsB;AAChE,SAAOH,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAAE;AAAA,EAAA,CACD;AACH;AAEA,eAAsBC,EAAsBD,GAAsB;AAChE,SAAOH,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAAE;AAAA,EAAA,CACD;AACH;AAEA,eAAsBE,EAAuBC,GAAY;AACvD,SAAON,EAAW,mBAAk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AEA,eAAsByC,EAAoBzC,GAAwB;AAChE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB0C,EAAsB1C,GAAwB;AAClE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB2C,EAAyB3C,GAAwB;AACrE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB4C,EAAuB5C,GAAwB;AACnE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB6C,EAAsB7C,GAAwB;AAClE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;"}
|
|
1
|
+
{"version":3,"file":"FluxService.js","sources":["../../../../../lib/base/services/modules/FluxService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoProcesso } from \"@base/@types/models/flux/tipoProcesso\";\nimport { TGrupoAtendimento } from \"@base/@types/models/flux/grupoAtendimento\";\nimport { TCategoria } from \"@base/@types/models/flux/categoria\";\nimport { TFormularioBase } from \"@base/@types/models/flux/formularioBase\";\nimport {\n TActionProcesso,\n TProcesso,\n TUpdateProcesso,\n} from \"@base/@types/models/flux/processo\";\nimport { TSubcategoria } from \"@base/@types/models/flux/subcategoria\";\nimport { endpointsConfig } from \"@base/configs\";\nimport ApiService from \"@/services/ApiService\";\n\nexport async function apiGetTipoProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetGrupoAtendimento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiFindCategoriaByTipoProcesso(idTipoProcesso: number) {\n return ApiService.fetchDataWithAxios<TCategoria[]>({\n url: `${endpointsConfig.flux.categoria.findCategoriaByTipoProcesso}/${idTipoProcesso}`,\n method: \"get\",\n });\n}\n\nexport async function apiGetSubcategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindSubategoriaByCategoria(idCategoria: number) {\n return ApiService.fetchDataWithAxios<TSubcategoria[]>({\n url: `${endpointsConfig.flux.subcategoria.findSubcategoriaByCategoria}/${idCategoria}`,\n method: \"get\",\n });\n}\n\nexport async function apiFindOneSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetFormularioBase(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateProcesso(data?: TProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateProcesso(data?: TUpdateProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiAceitarProcesso(id: number) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.aceitar}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiConcluirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.concluir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiCancelarProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.cancelar,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirSolicitante(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirSolicitante,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirAtendente(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirAtendente,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiAdicionarHistorico(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.adicionarHistorico,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiRetornarFluxoAtendimento(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.retornarFluxoAtendimento,\n method: \"put\",\n data: body,\n });\n}\n"],"names":["apiGetTipoProcesso","body","ApiService","endpointsConfig","apiCreateTipoProcesso","data","apiUpdateTipoProcesso","apiFindOneTipoProcesso","id","apiDeleteTipoProcesso","apiGetGrupoAtendimento","apiCreateGrupoAtendimento","apiUpdateGrupoAtendimento","apiFindOneGrupoAtendimento","apiDeleteGrupoAtendimento","apiGetCategoria","apiCreateCategoria","apiUpdateCategoria","apiFindOneCategoria","apiDeleteCategoria","apiFindCategoriaByTipoProcesso","idTipoProcesso","apiGetSubcategoria","apiCreateSubcategoria","apiUpdateSubcategoria","apiFindSubategoriaByCategoria","idCategoria","apiFindOneSubcategoria","apiDeleteSubcategoria","apiGetFormularioBase","apiCreateFormularioBase","apiUpdateFormularioBase","apiFindOneFormularioBase","apiDeleteFormularioBase","apiGetProcesso","apiCreateProcesso","apiUpdateProcesso","apiFindOneProcesso","apiAceitarProcesso","apiConcluirProcesso","apiCancelarProcesso","apiTransferirProcesso","apiTransferirSolicitante","apiTransferirAtendente","apiAdicionarHistorico","apiRetornarFluxoAtendimento"],"mappings":";;;AAcA,eAAsBA,EAAmBC,GAAsB;AAC7D,SAAOC,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsBG,EAAsBC,GAAsB;AAChE,SAAOH,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAAE;AAAA,EAAA,CACD;AACH;AAEA,eAAsBC,EAAsBD,GAAsB;AAChE,SAAOH,EAAW,mBAAkD;AAAA,IAClE,KAAKC,EAAgB,KAAK,aAA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,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsBwC,EAAsBxC,GAAwB;AAClE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsByC,EAAyBzC,GAAwB;AACrE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB0C,EAAuB1C,GAAwB;AACnE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB2C,EAAsB3C,GAAwB;AAClE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;AAEA,eAAsB4C,EAA4B5C,GAAwB;AACxE,SAAOC,EAAW,mBAA8B;AAAA,IAC9C,KAAKC,EAAgB,KAAK,SAAS;AAAA,IACnC,QAAQ;AAAA,IACR,MAAMF;AAAA,EAAA,CACP;AACH;"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import "../../../@ecme/services/index.js";
|
|
2
|
-
import "../../configs/index.js";
|
|
3
1
|
import t from "../../../@ecme/services/ApiService.js";
|
|
2
|
+
import "../../configs/index.js";
|
|
4
3
|
import i from "../../configs/endpoints.config/endpoints.navigation.js";
|
|
5
|
-
async function
|
|
4
|
+
async function a(o) {
|
|
6
5
|
return t.fetchDataWithAxios({
|
|
7
6
|
url: `${i.objectStorage.minio.download}/${o}`,
|
|
8
7
|
method: "get"
|
|
9
8
|
});
|
|
10
9
|
}
|
|
11
10
|
export {
|
|
12
|
-
|
|
11
|
+
a as apiObjectStorageDownload
|
|
13
12
|
};
|
|
14
13
|
//# sourceMappingURL=ObjectStorageService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectStorageService.js","sources":["../../../../../lib/base/services/modules/ObjectStorageService.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"ObjectStorageService.js","sources":["../../../../../lib/base/services/modules/ObjectStorageService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { endpointsConfig } from '@base/configs'\n\nexport async function apiObjectStorageDownload(fileName: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${endpointsConfig.objectStorage.minio.download}/${fileName}`,\n method: 'get',\n })\n}\n\n\n"],"names":["apiObjectStorageDownload","fileName","ApiService","endpointsConfig"],"mappings":";;;AAGA,eAAsBA,EAAyBC,GAAkB;AAC7D,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGC,EAAgB,cAAc,MAAM,QAAQ,IAAIF,CAAQ;AAAA,IAChE,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ticket: {
|
|
3
|
+
title: string;
|
|
4
|
+
motivoCancelamento: string;
|
|
5
|
+
vinculoSafraOperacao: string;
|
|
6
|
+
vinculoTransgeniaOperacao: string;
|
|
7
|
+
operacao: string;
|
|
8
|
+
tabelaBiodiesel: string;
|
|
9
|
+
rotaRomaneio: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface AceitarProcessoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const AceitarProcessoDialog: ({ isOpen, onClose, idProcesso, }: AceitarProcessoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default AceitarProcessoDialog;
|