@orbe-agro/client-core 5.6.254 → 5.6.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@ecme/components/template/Footer.js +1 -1
- package/dist/@types/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.d.ts.map +1 -1
- package/dist/@types/base/services/modules/SapService/Sap/ExecuteSapApiService.d.ts +1 -0
- package/dist/@types/base/services/modules/SapService/Sap/ExecuteSapApiService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.js +2 -1
- package/dist/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.js.map +1 -1
- package/dist/base/services/modules/SapService/Sap/ExecuteSapApiService.js +9 -1
- package/dist/base/services/modules/SapService/Sap/ExecuteSapApiService.js.map +1 -1
- package/lib/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.ts +1 -0
- package/lib/base/services/modules/SapService/Sap/ExecuteSapApiService.ts +8 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import Container from "../shared/Container.js";
|
|
|
3
3
|
import classNames from "../../utils/classNames.js";
|
|
4
4
|
import { APP_NAME } from "../../constants/app.constant.js";
|
|
5
5
|
import { PAGE_CONTAINER_GUTTER_X } from "../../constants/theme.constant.js";
|
|
6
|
-
const version = true ? "5.6.
|
|
6
|
+
const version = true ? "5.6.255" : "0.0.0";
|
|
7
7
|
const FooterContent = () => {
|
|
8
8
|
return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-auto items-center justify-between", children: [
|
|
9
9
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeSapApi.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"executeSapApi.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,2BAA2B;;;;CAIhC,CAAA;AAED,eAAe,2BAA2B,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function apiBuscaSaldoFisicoDisponivel(body: any): Promise<unknown>;
|
|
2
2
|
export declare function apiFindNfe(body: any): Promise<unknown>;
|
|
3
|
+
export declare function apiRegistraNfeEventoCartaCorrecao(body: any): Promise<unknown>;
|
|
3
4
|
//# sourceMappingURL=ExecuteSapApiService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteSapApiService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/SapService/Sap/ExecuteSapApiService.ts"],"names":[],"mappings":"AAGA,wBAAsB,6BAA6B,CAAC,IAAI,KAAA,oBAMvD;AAED,wBAAsB,UAAU,CAAC,IAAI,KAAA,oBAMpC"}
|
|
1
|
+
{"version":3,"file":"ExecuteSapApiService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/SapService/Sap/ExecuteSapApiService.ts"],"names":[],"mappings":"AAGA,wBAAsB,6BAA6B,CAAC,IAAI,KAAA,oBAMvD;AAED,wBAAsB,UAAU,CAAC,IAAI,KAAA,oBAMpC;AAED,wBAAsB,iCAAiC,CAAC,IAAI,KAAA,oBAM3D"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const EXECUTE_SAP_API_PATH = "/sap/api/sap/execute-sap-api";
|
|
2
2
|
const executeSapApiEndpointConfig = {
|
|
3
3
|
buscaSaldoFisicoDisponivel: `${EXECUTE_SAP_API_PATH}/busca-saldo-fisico-disponivel`,
|
|
4
|
-
findNfe: `${EXECUTE_SAP_API_PATH}/find-nfe
|
|
4
|
+
findNfe: `${EXECUTE_SAP_API_PATH}/find-nfe`,
|
|
5
|
+
registraNfeEventoCartaCorrecao: `${EXECUTE_SAP_API_PATH}/registra-nfe-evento-carta-correcao`
|
|
5
6
|
};
|
|
6
7
|
export {
|
|
7
8
|
executeSapApiEndpointConfig as default
|
package/dist/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeSapApi.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.ts"],"sourcesContent":["const EXECUTE_SAP_API_PATH = '/sap/api/sap/execute-sap-api'\n\nconst executeSapApiEndpointConfig = {\n buscaSaldoFisicoDisponivel: `${EXECUTE_SAP_API_PATH}/busca-saldo-fisico-disponivel`,\n findNfe: `${EXECUTE_SAP_API_PATH}/find-nfe`,\n}\n\nexport default executeSapApiEndpointConfig"],"names":[],"mappings":"AAAA,MAAM,uBAAuB;AAE7B,MAAM,8BAA8B;AAAA,EAChC,4BAA4B,GAAG,oBAAoB;AAAA,EACnD,SAAS,GAAG,oBAAoB;
|
|
1
|
+
{"version":3,"file":"executeSapApi.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config.ts"],"sourcesContent":["const EXECUTE_SAP_API_PATH = '/sap/api/sap/execute-sap-api'\n\nconst executeSapApiEndpointConfig = {\n buscaSaldoFisicoDisponivel: `${EXECUTE_SAP_API_PATH}/busca-saldo-fisico-disponivel`,\n findNfe: `${EXECUTE_SAP_API_PATH}/find-nfe`,\n registraNfeEventoCartaCorrecao: `${EXECUTE_SAP_API_PATH}/registra-nfe-evento-carta-correcao`,\n}\n\nexport default executeSapApiEndpointConfig"],"names":[],"mappings":"AAAA,MAAM,uBAAuB;AAE7B,MAAM,8BAA8B;AAAA,EAChC,4BAA4B,GAAG,oBAAoB;AAAA,EACnD,SAAS,GAAG,oBAAoB;AAAA,EAChC,gCAAgC,GAAG,oBAAoB;AAC3D;"}
|
|
@@ -14,8 +14,16 @@ async function apiFindNfe(body) {
|
|
|
14
14
|
data: body
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
async function apiRegistraNfeEventoCartaCorrecao(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: executeSapApiEndpointConfig.registraNfeEventoCartaCorrecao,
|
|
20
|
+
method: "post",
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
17
24
|
export {
|
|
18
25
|
apiBuscaSaldoFisicoDisponivel,
|
|
19
|
-
apiFindNfe
|
|
26
|
+
apiFindNfe,
|
|
27
|
+
apiRegistraNfeEventoCartaCorrecao
|
|
20
28
|
};
|
|
21
29
|
//# sourceMappingURL=ExecuteSapApiService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteSapApiService.js","sources":["../../../../../../lib/base/services/modules/SapService/Sap/ExecuteSapApiService.ts"],"sourcesContent":["import executeSapApiEndpointConfig from '@base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiBuscaSaldoFisicoDisponivel(body) {\n return ApiService.fetchDataWithAxios({\n url: executeSapApiEndpointConfig.buscaSaldoFisicoDisponivel,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindNfe(body) {\n return ApiService.fetchDataWithAxios({\n url: executeSapApiEndpointConfig.findNfe,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,8BAA8B,MAAM;AACtD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,4BAA4B;AAAA,IACjC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,WAAW,MAAM;AACnC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,4BAA4B;AAAA,IACjC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"ExecuteSapApiService.js","sources":["../../../../../../lib/base/services/modules/SapService/Sap/ExecuteSapApiService.ts"],"sourcesContent":["import executeSapApiEndpointConfig from '@base/configs/endpoints.config/SapService/Sap/executeSapApi.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiBuscaSaldoFisicoDisponivel(body) {\n return ApiService.fetchDataWithAxios({\n url: executeSapApiEndpointConfig.buscaSaldoFisicoDisponivel,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindNfe(body) {\n return ApiService.fetchDataWithAxios({\n url: executeSapApiEndpointConfig.findNfe,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiRegistraNfeEventoCartaCorrecao(body) {\n return ApiService.fetchDataWithAxios({\n url: executeSapApiEndpointConfig.registraNfeEventoCartaCorrecao,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,8BAA8B,MAAM;AACtD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,4BAA4B;AAAA,IACjC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,WAAW,MAAM;AACnC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,4BAA4B;AAAA,IACjC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,kCAAkC,MAAM;AAC1D,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,4BAA4B;AAAA,IACjC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -3,6 +3,7 @@ const EXECUTE_SAP_API_PATH = '/sap/api/sap/execute-sap-api'
|
|
|
3
3
|
const executeSapApiEndpointConfig = {
|
|
4
4
|
buscaSaldoFisicoDisponivel: `${EXECUTE_SAP_API_PATH}/busca-saldo-fisico-disponivel`,
|
|
5
5
|
findNfe: `${EXECUTE_SAP_API_PATH}/find-nfe`,
|
|
6
|
+
registraNfeEventoCartaCorrecao: `${EXECUTE_SAP_API_PATH}/registra-nfe-evento-carta-correcao`,
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
export default executeSapApiEndpointConfig
|
|
@@ -15,4 +15,12 @@ export async function apiFindNfe(body) {
|
|
|
15
15
|
method: 'post',
|
|
16
16
|
data: body,
|
|
17
17
|
})
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export async function apiRegistraNfeEventoCartaCorrecao(body) {
|
|
21
|
+
return ApiService.fetchDataWithAxios({
|
|
22
|
+
url: executeSapApiEndpointConfig.registraNfeEventoCartaCorrecao,
|
|
23
|
+
method: 'post',
|
|
24
|
+
data: body,
|
|
25
|
+
})
|
|
18
26
|
}
|
package/package.json
CHANGED