@orbe-agro/client-core 3.3.10 → 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/auth/AuthProvider.js +29 -35
- package/dist/lib/@ecme/auth/AuthProvider.js.map +1 -1
- 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/@ecme/views/auth/SignIn/components/SignInForm.js +35 -35
- package/dist/lib/@ecme/views/auth/SignIn/components/SignInForm.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 +78 -78
- 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/@types/auth.d.ts +2 -9
- package/dist/lib/types/@ecme/auth/AuthProvider.d.ts +2 -2
- 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/@ecme/views/auth/SignIn/components/SignInForm.d.ts +1 -1
- 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
|
@@ -1,88 +1,87 @@
|
|
|
1
1
|
import "../../configs/index.js";
|
|
2
|
-
import "../../../@ecme/services/index.js";
|
|
3
2
|
import e from "../../../@ecme/services/ApiService.js";
|
|
4
3
|
import a from "../../configs/endpoints.config/endpoints.navigation.js";
|
|
5
|
-
async function
|
|
4
|
+
async function n(t) {
|
|
6
5
|
return e.fetchDataWithAxios({
|
|
7
6
|
url: a.flux.tipoProcesso.findAll,
|
|
8
7
|
method: "post",
|
|
9
8
|
data: t
|
|
10
9
|
});
|
|
11
10
|
}
|
|
12
|
-
async function
|
|
11
|
+
async function u(t) {
|
|
13
12
|
return e.fetchDataWithAxios({
|
|
14
13
|
url: a.flux.tipoProcesso.add,
|
|
15
14
|
method: "post",
|
|
16
15
|
data: t
|
|
17
16
|
});
|
|
18
17
|
}
|
|
19
|
-
async function
|
|
18
|
+
async function c(t) {
|
|
20
19
|
return e.fetchDataWithAxios({
|
|
21
20
|
url: a.flux.tipoProcesso.update,
|
|
22
21
|
method: "patch",
|
|
23
22
|
data: t
|
|
24
23
|
});
|
|
25
24
|
}
|
|
26
|
-
async function
|
|
25
|
+
async function s(t) {
|
|
27
26
|
return e.fetchDataWithAxios({
|
|
28
27
|
url: `${a.flux.tipoProcesso.findOne}/${t}`,
|
|
29
28
|
method: "get"
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
|
-
async function
|
|
31
|
+
async function f(t) {
|
|
33
32
|
return e.fetchDataWithAxios({
|
|
34
33
|
url: `${a.flux.tipoProcesso.delete}/${t}`,
|
|
35
34
|
method: "delete"
|
|
36
35
|
});
|
|
37
36
|
}
|
|
38
|
-
async function
|
|
37
|
+
async function d(t) {
|
|
39
38
|
return e.fetchDataWithAxios({
|
|
40
39
|
url: a.flux.grupoAtendimento.findAll,
|
|
41
40
|
method: "post",
|
|
42
41
|
data: t
|
|
43
42
|
});
|
|
44
43
|
}
|
|
45
|
-
async function
|
|
44
|
+
async function h(t) {
|
|
46
45
|
return e.fetchDataWithAxios({
|
|
47
46
|
url: a.flux.grupoAtendimento.add,
|
|
48
47
|
method: "post",
|
|
49
48
|
data: t
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
|
-
async function
|
|
51
|
+
async function l(t) {
|
|
53
52
|
return e.fetchDataWithAxios({
|
|
54
53
|
url: a.flux.grupoAtendimento.update,
|
|
55
54
|
method: "patch",
|
|
56
55
|
data: t
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
|
-
async function
|
|
58
|
+
async function p(t) {
|
|
60
59
|
return e.fetchDataWithAxios({
|
|
61
60
|
url: `${a.flux.grupoAtendimento.findOne}/${t}`,
|
|
62
61
|
method: "get"
|
|
63
62
|
});
|
|
64
63
|
}
|
|
65
|
-
async function
|
|
64
|
+
async function x(t) {
|
|
66
65
|
return e.fetchDataWithAxios({
|
|
67
66
|
url: `${a.flux.grupoAtendimento.delete}/${t}`,
|
|
68
67
|
method: "delete"
|
|
69
68
|
});
|
|
70
69
|
}
|
|
71
|
-
async function
|
|
70
|
+
async function m(t) {
|
|
72
71
|
return e.fetchDataWithAxios({
|
|
73
72
|
url: a.flux.categoria.findAll,
|
|
74
73
|
method: "post",
|
|
75
74
|
data: t
|
|
76
75
|
});
|
|
77
76
|
}
|
|
78
|
-
async function
|
|
77
|
+
async function A(t) {
|
|
79
78
|
return e.fetchDataWithAxios({
|
|
80
79
|
url: a.flux.categoria.add,
|
|
81
80
|
method: "post",
|
|
82
81
|
data: t
|
|
83
82
|
});
|
|
84
83
|
}
|
|
85
|
-
async function
|
|
84
|
+
async function g(t) {
|
|
86
85
|
return e.fetchDataWithAxios({
|
|
87
86
|
url: a.flux.categoria.update,
|
|
88
87
|
method: "patch",
|
|
@@ -95,26 +94,26 @@ async function D(t) {
|
|
|
95
94
|
method: "get"
|
|
96
95
|
});
|
|
97
96
|
}
|
|
98
|
-
async function
|
|
97
|
+
async function y(t) {
|
|
99
98
|
return e.fetchDataWithAxios({
|
|
100
99
|
url: `${a.flux.categoria.delete}/${t}`,
|
|
101
100
|
method: "delete"
|
|
102
101
|
});
|
|
103
102
|
}
|
|
104
|
-
async function
|
|
103
|
+
async function W(t) {
|
|
105
104
|
return e.fetchDataWithAxios({
|
|
106
105
|
url: `${a.flux.categoria.findCategoriaByTipoProcesso}/${t}`,
|
|
107
106
|
method: "get"
|
|
108
107
|
});
|
|
109
108
|
}
|
|
110
|
-
async function
|
|
109
|
+
async function $(t) {
|
|
111
110
|
return e.fetchDataWithAxios({
|
|
112
111
|
url: a.flux.subcategoria.findAll,
|
|
113
112
|
method: "post",
|
|
114
113
|
data: t
|
|
115
114
|
});
|
|
116
115
|
}
|
|
117
|
-
async function
|
|
116
|
+
async function P(t) {
|
|
118
117
|
return e.fetchDataWithAxios({
|
|
119
118
|
url: a.flux.subcategoria.add,
|
|
120
119
|
method: "post",
|
|
@@ -128,25 +127,25 @@ async function C(t) {
|
|
|
128
127
|
data: t
|
|
129
128
|
});
|
|
130
129
|
}
|
|
131
|
-
async function
|
|
130
|
+
async function F(t) {
|
|
132
131
|
return e.fetchDataWithAxios({
|
|
133
132
|
url: `${a.flux.subcategoria.findSubcategoriaByCategoria}/${t}`,
|
|
134
133
|
method: "get"
|
|
135
134
|
});
|
|
136
135
|
}
|
|
137
|
-
async function
|
|
136
|
+
async function B(t) {
|
|
138
137
|
return e.fetchDataWithAxios({
|
|
139
138
|
url: `${a.flux.subcategoria.findOne}/${t}`,
|
|
140
139
|
method: "get"
|
|
141
140
|
});
|
|
142
141
|
}
|
|
143
|
-
async function
|
|
142
|
+
async function b(t) {
|
|
144
143
|
return e.fetchDataWithAxios({
|
|
145
144
|
url: `${a.flux.subcategoria.delete}/${t}`,
|
|
146
145
|
method: "delete"
|
|
147
146
|
});
|
|
148
147
|
}
|
|
149
|
-
async function
|
|
148
|
+
async function O(t) {
|
|
150
149
|
return e.fetchDataWithAxios({
|
|
151
150
|
url: a.flux.formularioBase.findAll,
|
|
152
151
|
method: "post",
|
|
@@ -160,145 +159,146 @@ async function G(t) {
|
|
|
160
159
|
data: t
|
|
161
160
|
});
|
|
162
161
|
}
|
|
163
|
-
async function
|
|
162
|
+
async function S(t) {
|
|
164
163
|
return e.fetchDataWithAxios({
|
|
165
164
|
url: a.flux.formularioBase.update,
|
|
166
165
|
method: "patch",
|
|
167
166
|
data: t
|
|
168
167
|
});
|
|
169
168
|
}
|
|
170
|
-
async function
|
|
171
|
-
return e.fetchDataWithAxios({
|
|
172
|
-
url: `${a.flux.formularioBase.findOneBySubcategoria}/${t}`,
|
|
173
|
-
method: "get"
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
async function v(t) {
|
|
169
|
+
async function T(t) {
|
|
177
170
|
return e.fetchDataWithAxios({
|
|
178
171
|
url: `${a.flux.formularioBase.findOne}/${t}`,
|
|
179
172
|
method: "get"
|
|
180
173
|
});
|
|
181
174
|
}
|
|
182
|
-
async function
|
|
175
|
+
async function U(t) {
|
|
183
176
|
return e.fetchDataWithAxios({
|
|
184
177
|
url: `${a.flux.formularioBase.delete}/${t}`,
|
|
185
178
|
method: "delete"
|
|
186
179
|
});
|
|
187
180
|
}
|
|
188
|
-
async function
|
|
181
|
+
async function v(t) {
|
|
189
182
|
return e.fetchDataWithAxios({
|
|
190
183
|
url: a.flux.processo.findAll,
|
|
191
184
|
method: "post",
|
|
192
185
|
data: t
|
|
193
186
|
});
|
|
194
187
|
}
|
|
195
|
-
async function
|
|
188
|
+
async function H(t) {
|
|
196
189
|
return e.fetchDataWithAxios({
|
|
197
190
|
url: a.flux.processo.add,
|
|
198
191
|
method: "post",
|
|
199
192
|
data: t
|
|
200
193
|
});
|
|
201
194
|
}
|
|
202
|
-
async function
|
|
195
|
+
async function N(t) {
|
|
203
196
|
return e.fetchDataWithAxios({
|
|
204
197
|
url: a.flux.processo.update,
|
|
205
198
|
method: "patch",
|
|
206
199
|
data: t
|
|
207
200
|
});
|
|
208
201
|
}
|
|
209
|
-
async function
|
|
202
|
+
async function R(t) {
|
|
210
203
|
return e.fetchDataWithAxios({
|
|
211
204
|
url: `${a.flux.processo.findOne}/${t}`,
|
|
212
205
|
method: "get"
|
|
213
206
|
});
|
|
214
207
|
}
|
|
215
|
-
async function
|
|
208
|
+
async function j(t) {
|
|
216
209
|
return e.fetchDataWithAxios({
|
|
217
210
|
url: `${a.flux.processo.aceitar}/${t}`,
|
|
218
211
|
method: "get"
|
|
219
212
|
});
|
|
220
213
|
}
|
|
221
|
-
async function
|
|
214
|
+
async function k(t) {
|
|
222
215
|
return e.fetchDataWithAxios({
|
|
223
216
|
url: a.flux.processo.concluir,
|
|
224
217
|
method: "put",
|
|
225
218
|
data: t
|
|
226
219
|
});
|
|
227
220
|
}
|
|
228
|
-
async function
|
|
221
|
+
async function q(t) {
|
|
229
222
|
return e.fetchDataWithAxios({
|
|
230
223
|
url: a.flux.processo.cancelar,
|
|
231
224
|
method: "put",
|
|
232
225
|
data: t
|
|
233
226
|
});
|
|
234
227
|
}
|
|
235
|
-
async function
|
|
228
|
+
async function w(t) {
|
|
236
229
|
return e.fetchDataWithAxios({
|
|
237
230
|
url: a.flux.processo.transferir,
|
|
238
231
|
method: "put",
|
|
239
232
|
data: t
|
|
240
233
|
});
|
|
241
234
|
}
|
|
242
|
-
async function
|
|
235
|
+
async function z(t) {
|
|
243
236
|
return e.fetchDataWithAxios({
|
|
244
237
|
url: a.flux.processo.transferirSolicitante,
|
|
245
238
|
method: "put",
|
|
246
239
|
data: t
|
|
247
240
|
});
|
|
248
241
|
}
|
|
249
|
-
async function
|
|
242
|
+
async function E(t) {
|
|
250
243
|
return e.fetchDataWithAxios({
|
|
251
244
|
url: a.flux.processo.transferirAtendente,
|
|
252
245
|
method: "put",
|
|
253
246
|
data: t
|
|
254
247
|
});
|
|
255
248
|
}
|
|
256
|
-
async function
|
|
249
|
+
async function I(t) {
|
|
257
250
|
return e.fetchDataWithAxios({
|
|
258
251
|
url: a.flux.processo.adicionarHistorico,
|
|
259
252
|
method: "put",
|
|
260
253
|
data: t
|
|
261
254
|
});
|
|
262
255
|
}
|
|
256
|
+
async function J(t) {
|
|
257
|
+
return e.fetchDataWithAxios({
|
|
258
|
+
url: a.flux.processo.retornarFluxoAtendimento,
|
|
259
|
+
method: "put",
|
|
260
|
+
data: t
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
263
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
264
|
+
j as apiAceitarProcesso,
|
|
265
|
+
I as apiAdicionarHistorico,
|
|
266
|
+
q as apiCancelarProcesso,
|
|
267
|
+
k as apiConcluirProcesso,
|
|
268
|
+
A as apiCreateCategoria,
|
|
269
269
|
G as apiCreateFormularioBase,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
270
|
+
h as apiCreateGrupoAtendimento,
|
|
271
|
+
H as apiCreateProcesso,
|
|
272
|
+
P as apiCreateSubcategoria,
|
|
273
|
+
u as apiCreateTipoProcesso,
|
|
274
|
+
y as apiDeleteCategoria,
|
|
275
|
+
U as apiDeleteFormularioBase,
|
|
276
|
+
x as apiDeleteGrupoAtendimento,
|
|
277
|
+
b as apiDeleteSubcategoria,
|
|
278
|
+
f as apiDeleteTipoProcesso,
|
|
279
|
+
W as apiFindCategoriaByTipoProcesso,
|
|
280
280
|
D as apiFindOneCategoria,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
281
|
+
T as apiFindOneFormularioBase,
|
|
282
|
+
p as apiFindOneGrupoAtendimento,
|
|
283
|
+
R as apiFindOneProcesso,
|
|
284
|
+
B as apiFindOneSubcategoria,
|
|
285
|
+
s as apiFindOneTipoProcesso,
|
|
286
|
+
F as apiFindSubategoriaByCategoria,
|
|
287
|
+
m as apiGetCategoria,
|
|
288
|
+
O as apiGetFormularioBase,
|
|
289
|
+
d as apiGetGrupoAtendimento,
|
|
290
|
+
v as apiGetProcesso,
|
|
291
|
+
$ as apiGetSubcategoria,
|
|
292
|
+
n as apiGetTipoProcesso,
|
|
293
|
+
J as apiRetornarFluxoAtendimento,
|
|
294
|
+
E as apiTransferirAtendente,
|
|
295
|
+
w as apiTransferirProcesso,
|
|
296
|
+
z as apiTransferirSolicitante,
|
|
297
|
+
g as apiUpdateCategoria,
|
|
298
|
+
S as apiUpdateFormularioBase,
|
|
299
|
+
l as apiUpdateGrupoAtendimento,
|
|
300
|
+
N as apiUpdateProcesso,
|
|
301
301
|
C as apiUpdateSubcategoria,
|
|
302
|
-
|
|
302
|
+
c as apiUpdateTipoProcesso
|
|
303
303
|
};
|
|
304
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 \"@/services\";\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,mBAAkC;AAAA,IAClD,KAAK,GAAGC,EAAgB,KAAK,aAAa,OAAO,IAAIK,CAAE;AAAA,IACvD,QAAQ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,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,aAAa;AAAA,IACvC,QAAQ;AAAA,IACR,MAAAE;AAAA,EAAA,CACD;AACH;AAEA,eAAsBE,EAAuBC,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F;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;"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
export type SignInCredential = {
|
|
2
|
-
|
|
2
|
+
username: string;
|
|
3
3
|
password: string;
|
|
4
4
|
};
|
|
5
5
|
export type SignInResponse = {
|
|
6
|
-
|
|
7
|
-
user: {
|
|
8
|
-
userId: string;
|
|
9
|
-
userName: string;
|
|
10
|
-
authority: string[];
|
|
11
|
-
avatar: string;
|
|
12
|
-
email: string;
|
|
13
|
-
};
|
|
6
|
+
jwtToken: string;
|
|
14
7
|
};
|
|
15
8
|
export type SignUpResponse = SignInResponse;
|
|
16
9
|
export type SignUpCredential = {
|
|
@@ -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;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface AdicionarHistoricoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const AdicionarHistoricoDialog: ({ isOpen, onClose, idProcesso, }: AdicionarHistoricoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default AdicionarHistoricoDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface CancelarProcessoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const CancelarProcessoDialog: ({ isOpen, onClose, idProcesso, }: CancelarProcessoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default CancelarProcessoDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface ConcluirProcessoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const ConcluirProcessoDialog: ({ isOpen, onClose, idProcesso, }: ConcluirProcessoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ConcluirProcessoDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface RetornarFluxAtendimentoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const RetornarFluxAtendimentoDialog: ({ isOpen, onClose, idProcesso, }: RetornarFluxAtendimentoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default RetornarFluxAtendimentoDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface TransferirParaAtendenteDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const TransferirParaAtendenteDialog: ({ isOpen, onClose, idProcesso, }: TransferirParaAtendenteDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TransferirParaAtendenteDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface TransferirParaSolicitanteDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const TransferirParaSolicitanteDialog: ({ isOpen, onClose, idProcesso, }: TransferirParaSolicitanteDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TransferirParaSolicitanteDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface TransferirProcessoDialogProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
idProcesso: number;
|
|
5
|
+
}
|
|
6
|
+
declare const TransferirProcessoDialog: ({ isOpen, onClose, idProcesso, }: TransferirProcessoDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TransferirProcessoDialog;
|