@orbe-agro/client-core 5.5.62 → 5.5.63
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/DadosMestres/Transporte/motorista.endpoint.config.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.d.ts.map +1 -1
- package/dist/@types/base/services/modules/DadosMestres/Transporte/MotoristaService.d.ts +1 -0
- package/dist/@types/base/services/modules/DadosMestres/Transporte/MotoristaService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/DadosMestres/Transporte/VeiculoService.d.ts +1 -0
- package/dist/@types/base/services/modules/DadosMestres/Transporte/VeiculoService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js +2 -1
- package/dist/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js.map +1 -1
- package/dist/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js +2 -1
- package/dist/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js.map +1 -1
- package/dist/base/services/modules/DadosMestres/Transporte/MotoristaService.js +9 -1
- package/dist/base/services/modules/DadosMestres/Transporte/MotoristaService.js.map +1 -1
- package/dist/base/services/modules/DadosMestres/Transporte/VeiculoService.js +9 -1
- package/dist/base/services/modules/DadosMestres/Transporte/VeiculoService.js.map +1 -1
- package/lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.ts +1 -0
- package/lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.ts +1 -0
- package/lib/base/services/modules/DadosMestres/Transporte/MotoristaService.ts +8 -0
- package/lib/base/services/modules/DadosMestres/Transporte/VeiculoService.ts +8 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motorista.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"motorista.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,uBAAuB;;;;;CAK5B,CAAA;AAED,eAAe,uBAAuB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"veiculo.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"veiculo.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB;;;;;CAK1B,CAAA;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function apiGetMotoristas(body: any): Promise<unknown>;
|
|
2
2
|
export declare function apiGetMotorista(id: any): Promise<unknown>;
|
|
3
3
|
export declare function apiAddMotorista(body: any): Promise<unknown>;
|
|
4
|
+
export declare function apiGetMotoristasByIds(ids: any): Promise<unknown>;
|
|
4
5
|
//# sourceMappingURL=MotoristaService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotoristaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/MotoristaService.ts"],"names":[],"mappings":"AAGA,wBAAsB,gBAAgB,CAAC,IAAI,KAAA,oBAM1C;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAA,oBAKjC;AAED,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC"}
|
|
1
|
+
{"version":3,"file":"MotoristaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/MotoristaService.ts"],"names":[],"mappings":"AAGA,wBAAsB,gBAAgB,CAAC,IAAI,KAAA,oBAM1C;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAA,oBAKjC;AAED,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC;AAED,wBAAsB,qBAAqB,CAAC,GAAG,KAAA,oBAM9C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function apiGetVeiculos(body: any): Promise<unknown>;
|
|
2
2
|
export declare function apiGetVeiculo(id: any): Promise<unknown>;
|
|
3
3
|
export declare function apiAddVeiculo(body: any): Promise<unknown>;
|
|
4
|
+
export declare function apiGetVeiculosByIds(ids: any): Promise<unknown>;
|
|
4
5
|
//# sourceMappingURL=VeiculoService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/VeiculoService.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,CAAC,IAAI,KAAA,oBAMxC;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAA,oBAK/B;AAED,wBAAsB,aAAa,CAAC,IAAI,KAAA,oBAMvC"}
|
|
1
|
+
{"version":3,"file":"VeiculoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/DadosMestres/Transporte/VeiculoService.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,CAAC,IAAI,KAAA,oBAMxC;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAA,oBAK/B;AAED,wBAAsB,aAAa,CAAC,IAAI,KAAA,oBAMvC;AAED,wBAAsB,mBAAmB,CAAC,GAAG,KAAA,oBAM5C"}
|
package/dist/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js
CHANGED
|
@@ -2,7 +2,8 @@ const MOTORISTA_API_PATH = "/dados-mestres/api/motorista";
|
|
|
2
2
|
const motoristaEndpointConfig = {
|
|
3
3
|
add: `${MOTORISTA_API_PATH}`,
|
|
4
4
|
findAll: `${MOTORISTA_API_PATH}/find`,
|
|
5
|
-
findOne: `${MOTORISTA_API_PATH}
|
|
5
|
+
findOne: `${MOTORISTA_API_PATH}/`,
|
|
6
|
+
findByIds: `${MOTORISTA_API_PATH}/find-by-ids`
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
8
9
|
motoristaEndpointConfig as default
|
package/dist/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motorista.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.ts"],"sourcesContent":["const MOTORISTA_API_PATH = '/dados-mestres/api/motorista'\n\nconst motoristaEndpointConfig = {\n add: `${MOTORISTA_API_PATH}`,\n findAll: `${MOTORISTA_API_PATH}/find`,\n findOne: `${MOTORISTA_API_PATH}/`,\n}\n\nexport default motoristaEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAE3B,MAAM,0BAA0B;AAAA,EAC5B,KAAK,GAAG,kBAAkB;AAAA,EAC1B,SAAS,GAAG,kBAAkB;AAAA,EAC9B,SAAS,GAAG,kBAAkB;
|
|
1
|
+
{"version":3,"file":"motorista.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/motorista.endpoint.config.ts"],"sourcesContent":["const MOTORISTA_API_PATH = '/dados-mestres/api/motorista'\n\nconst motoristaEndpointConfig = {\n add: `${MOTORISTA_API_PATH}`,\n findAll: `${MOTORISTA_API_PATH}/find`,\n findOne: `${MOTORISTA_API_PATH}/`,\n findByIds: `${MOTORISTA_API_PATH}/find-by-ids`,\n}\n\nexport default motoristaEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAE3B,MAAM,0BAA0B;AAAA,EAC5B,KAAK,GAAG,kBAAkB;AAAA,EAC1B,SAAS,GAAG,kBAAkB;AAAA,EAC9B,SAAS,GAAG,kBAAkB;AAAA,EAC9B,WAAW,GAAG,kBAAkB;AACpC;"}
|
package/dist/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js
CHANGED
|
@@ -2,7 +2,8 @@ const VEICULO_API_PATH = "/dados-mestres/api/veiculo";
|
|
|
2
2
|
const veiculoEndpointConfig = {
|
|
3
3
|
add: `${VEICULO_API_PATH}`,
|
|
4
4
|
findAll: `${VEICULO_API_PATH}/find`,
|
|
5
|
-
findOne: `${VEICULO_API_PATH}
|
|
5
|
+
findOne: `${VEICULO_API_PATH}/`,
|
|
6
|
+
findByIds: `${VEICULO_API_PATH}/find-by-ids`
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
8
9
|
veiculoEndpointConfig as default
|
package/dist/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"veiculo.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.ts"],"sourcesContent":["const VEICULO_API_PATH = '/dados-mestres/api/veiculo'\n\nconst veiculoEndpointConfig = {\n add: `${VEICULO_API_PATH}`,\n findAll: `${VEICULO_API_PATH}/find`,\n findOne: `${VEICULO_API_PATH}/`,\n}\n\nexport default veiculoEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,mBAAmB;AAEzB,MAAM,wBAAwB;AAAA,EAC1B,KAAK,GAAG,gBAAgB;AAAA,EACxB,SAAS,GAAG,gBAAgB;AAAA,EAC5B,SAAS,GAAG,gBAAgB;
|
|
1
|
+
{"version":3,"file":"veiculo.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/DadosMestres/Transporte/veiculo.endpoint.config.ts"],"sourcesContent":["const VEICULO_API_PATH = '/dados-mestres/api/veiculo'\n\nconst veiculoEndpointConfig = {\n add: `${VEICULO_API_PATH}`,\n findAll: `${VEICULO_API_PATH}/find`,\n findOne: `${VEICULO_API_PATH}/`,\n findByIds: `${VEICULO_API_PATH}/find-by-ids`,\n}\n\nexport default veiculoEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,mBAAmB;AAEzB,MAAM,wBAAwB;AAAA,EAC1B,KAAK,GAAG,gBAAgB;AAAA,EACxB,SAAS,GAAG,gBAAgB;AAAA,EAC5B,SAAS,GAAG,gBAAgB;AAAA,EAC5B,WAAW,GAAG,gBAAgB;AAClC;"}
|
|
@@ -20,9 +20,17 @@ async function apiAddMotorista(body) {
|
|
|
20
20
|
data: body
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
+
async function apiGetMotoristasByIds(ids) {
|
|
24
|
+
return ApiService.fetchDataWithAxios({
|
|
25
|
+
url: motoristaEndpointConfig.findByIds,
|
|
26
|
+
method: "post",
|
|
27
|
+
data: ids
|
|
28
|
+
});
|
|
29
|
+
}
|
|
23
30
|
export {
|
|
24
31
|
apiAddMotorista,
|
|
25
32
|
apiGetMotorista,
|
|
26
|
-
apiGetMotoristas
|
|
33
|
+
apiGetMotoristas,
|
|
34
|
+
apiGetMotoristasByIds
|
|
27
35
|
};
|
|
28
36
|
//# sourceMappingURL=MotoristaService.js.map
|
|
@@ -1 +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}\n\nexport function apiGetMotorista(id) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.findOne + id,\n method: 'get',\n })\n}\n\nexport async function apiAddMotorista(body) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.add,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,iBAAiB,MAAM;AACzC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,gBAAgB,IAAI;AAChC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB,UAAU;AAAA,IACvC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,gBAAgB,MAAM;AACxC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
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}\n\nexport function apiGetMotorista(id) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.findOne + id,\n method: 'get',\n })\n}\n\nexport async function apiAddMotorista(body) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.add,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetMotoristasByIds(ids) {\n return ApiService.fetchDataWithAxios({\n url: motoristaEndpointConfig.findByIds,\n method: 'post',\n data: ids,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,iBAAiB,MAAM;AACzC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,gBAAgB,IAAI;AAChC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB,UAAU;AAAA,IACvC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,gBAAgB,MAAM;AACxC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,sBAAsB,KAAK;AAC7C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,wBAAwB;AAAA,IAC7B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -20,9 +20,17 @@ async function apiAddVeiculo(body) {
|
|
|
20
20
|
data: body
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
+
async function apiGetVeiculosByIds(ids) {
|
|
24
|
+
return ApiService.fetchDataWithAxios({
|
|
25
|
+
url: veiculoEndpointConfig.findByIds,
|
|
26
|
+
method: "post",
|
|
27
|
+
data: ids
|
|
28
|
+
});
|
|
29
|
+
}
|
|
23
30
|
export {
|
|
24
31
|
apiAddVeiculo,
|
|
25
32
|
apiGetVeiculo,
|
|
26
|
-
apiGetVeiculos
|
|
33
|
+
apiGetVeiculos,
|
|
34
|
+
apiGetVeiculosByIds
|
|
27
35
|
};
|
|
28
36
|
//# sourceMappingURL=VeiculoService.js.map
|
|
@@ -1 +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}\n\nexport async function apiAddVeiculo(body) {\n return ApiService.fetchDataWithAxios({\n url: veiculoEndpointConfig.add,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,eAAe,MAAM;AACvC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,cAAc,IAAI;AAC9B,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB,UAAU;AAAA,IACrC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,cAAc,MAAM;AACtC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
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}\n\nexport async function apiAddVeiculo(body) {\n return ApiService.fetchDataWithAxios({\n url: veiculoEndpointConfig.add,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetVeiculosByIds(ids) {\n return ApiService.fetchDataWithAxios({\n url: veiculoEndpointConfig.findByIds,\n method: 'post',\n data: ids,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,eAAe,MAAM;AACvC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,cAAc,IAAI;AAC9B,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB,UAAU;AAAA,IACrC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,cAAc,MAAM;AACtC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,KAAK;AAC3C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB;AAAA,IAC3B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -22,4 +22,12 @@ export async function apiAddMotorista(body) {
|
|
|
22
22
|
method: 'post',
|
|
23
23
|
data: body,
|
|
24
24
|
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export async function apiGetMotoristasByIds(ids) {
|
|
28
|
+
return ApiService.fetchDataWithAxios({
|
|
29
|
+
url: motoristaEndpointConfig.findByIds,
|
|
30
|
+
method: 'post',
|
|
31
|
+
data: ids,
|
|
32
|
+
})
|
|
25
33
|
}
|
|
@@ -22,4 +22,12 @@ export async function apiAddVeiculo(body) {
|
|
|
22
22
|
method: 'post',
|
|
23
23
|
data: body,
|
|
24
24
|
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export async function apiGetVeiculosByIds(ids) {
|
|
28
|
+
return ApiService.fetchDataWithAxios({
|
|
29
|
+
url: veiculoEndpointConfig.findByIds,
|
|
30
|
+
method: 'post',
|
|
31
|
+
data: ids,
|
|
32
|
+
})
|
|
25
33
|
}
|