@orbe-agro/client-core 5.3.125 → 5.3.127
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/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/racao/config/segmentoProduto.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +0 -4
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts +1 -1
- package/dist/@types/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts +0 -1
- package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js +0 -1
- package/dist/base/configs/endpoints.config/racao/config/segmentoProduto.js.map +1 -1
- package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js +13 -13
- package/dist/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.js.map +1 -1
- package/dist/base/index.js +255 -256
- package/dist/base/services/index.js +231 -232
- package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js +5 -5
- package/dist/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.js.map +1 -1
- package/dist/base/services/modules/index.js +238 -239
- package/dist/base/services/modules/racao/index.js +39 -40
- package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js +10 -18
- package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js.map +1 -1
- package/lib/base/configs/endpoints.config/racao/config/segmentoProduto.ts +0 -1
- package/lib/base/hooks/dm/tipoVeiculo/useTipoVeiculoList.tsx +9 -9
- package/lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx +2 -2
- package/lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts +0 -8
- package/package.json +1 -1
|
@@ -2,20 +2,20 @@ import t from "../../../../../@ecme/services/ApiService.js";
|
|
|
2
2
|
import "../../../../configs/index.js";
|
|
3
3
|
import n from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
4
|
const i = n.dm.tipoVeiculo;
|
|
5
|
-
async function r(o
|
|
5
|
+
async function r(o) {
|
|
6
6
|
return t.fetchDataWithAxios({
|
|
7
7
|
url: i.find.endpoint,
|
|
8
8
|
method: i.find.method,
|
|
9
9
|
data: o
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
async function
|
|
12
|
+
async function a(o) {
|
|
13
13
|
return t.fetchDataWithAxios({
|
|
14
14
|
url: i.findTipoVeiculoByCodigo.endpoint + `${o}`,
|
|
15
15
|
method: i.findTipoVeiculoByCodigo.method
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
async function
|
|
18
|
+
async function c(o) {
|
|
19
19
|
return t.fetchDataWithAxios({
|
|
20
20
|
url: i.findMonitor.endpoint,
|
|
21
21
|
method: i.findMonitor.httpMethod,
|
|
@@ -24,7 +24,7 @@ async function a(o) {
|
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
26
|
r as apiFindDmTipoVeiculo,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
a as apiFindDmTipoVeiculoByCodigo,
|
|
28
|
+
c as apiFindMonitorTipoVeiculo
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=TipoVeiculoService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipoVeiculoService.js","sources":["../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoVeiculo } from \"@base/@types/models/dm/tipoVeiculo\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst TIPO_VEICULO_ENDPOINT = endpointsConfig.dm.tipoVeiculo;\n\ntype TipoVeiculoResponse = {\n content: TTipoVeiculo[];\n};\n\nexport async function apiFindDmTipoVeiculo(
|
|
1
|
+
{"version":3,"file":"TipoVeiculoService.js","sources":["../../../../../../lib/base/services/modules/dm/tipoVeiculo/TipoVeiculoService.tsx"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoVeiculo } from \"@base/@types/models/dm/tipoVeiculo\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst TIPO_VEICULO_ENDPOINT = endpointsConfig.dm.tipoVeiculo;\n\ntype TipoVeiculoResponse = {\n content: TTipoVeiculo[];\n};\n\nexport async function apiFindDmTipoVeiculo(body) {\n return ApiService.fetchDataWithAxios<TipoVeiculoResponse>({\n url: TIPO_VEICULO_ENDPOINT.find.endpoint,\n method: TIPO_VEICULO_ENDPOINT.find.method,\n data: body,\n })\n}\n\nexport async function apiFindDmTipoVeiculoByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TTipoVeiculo>({\n url: TIPO_VEICULO_ENDPOINT.findTipoVeiculoByCodigo.endpoint + `${codigo}`,\n method: TIPO_VEICULO_ENDPOINT.findTipoVeiculoByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorTipoVeiculo(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: TIPO_VEICULO_ENDPOINT.findMonitor.endpoint,\n method: TIPO_VEICULO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["TIPO_VEICULO_ENDPOINT","endpointsConfig","apiFindDmTipoVeiculo","body","ApiService","apiFindDmTipoVeiculoByCodigo","codigo","apiFindMonitorTipoVeiculo"],"mappings":";;;AAKA,MAAMA,IAAwBC,EAAgB,GAAG;AAMjD,eAAsBC,EAAqBC,GAAM;AAC7C,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAsB,KAAK;AAAA,IAChC,QAAQA,EAAsB,KAAK;AAAA,IACnC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA6BC,GAAgB;AAC/D,SAAOF,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,wBAAwB,WAAW,GAAGM,CAAM;AAAA,IACvE,QAAQN,EAAsB,wBAAwB;AAAA,EAAA,CACzD;AACL;AAEA,eAAsBO,EAA0BJ,GAAsB;AAClE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMG;AAAA,EAAA,CACT;AACL;"}
|