@orbe-agro/client-core 5.6.194 → 5.6.195
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/HubFiscal/nfe.endpoint.config.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.d.ts.map +1 -1
- package/dist/@types/base/services/modules/HubFiscal/NfeService.d.ts +1 -0
- package/dist/@types/base/services/modules/HubFiscal/NfeService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.js +2 -1
- package/dist/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.js.map +1 -1
- package/dist/base/services/modules/HubFiscal/NfeService.js +8 -0
- package/dist/base/services/modules/HubFiscal/NfeService.js.map +1 -1
- package/lib/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.ts +1 -0
- package/lib/base/services/modules/HubFiscal/NfeService.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.195" : "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":"nfe.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"nfe.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,iBAAiB;;;;;;CAMtB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -2,4 +2,5 @@ export declare function apiGetNfes(body: any): Promise<unknown>;
|
|
|
2
2
|
export declare function apiGetPdf(id: any): Promise<unknown>;
|
|
3
3
|
export declare function apiAddObservacao(body: any): Promise<unknown>;
|
|
4
4
|
export declare function apiGetEventosNfe(chaveAcesso: any): Promise<unknown>;
|
|
5
|
+
export declare function apiAddCartaCorrecao(body: any): Promise<unknown>;
|
|
5
6
|
//# sourceMappingURL=NfeService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/HubFiscal/NfeService.ts"],"names":[],"mappings":"AAGA,wBAAsB,UAAU,CAAC,IAAI,KAAA,oBAMpC;AAED,wBAAsB,SAAS,CAAC,EAAE,KAAA,oBAKjC;AAED,wBAAsB,gBAAgB,CAAC,IAAI,KAAA,oBAM1C;AAED,wBAAsB,gBAAgB,CAAC,WAAW,KAAA,oBAKjD"}
|
|
1
|
+
{"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/HubFiscal/NfeService.ts"],"names":[],"mappings":"AAGA,wBAAsB,UAAU,CAAC,IAAI,KAAA,oBAMpC;AAED,wBAAsB,SAAS,CAAC,EAAE,KAAA,oBAKjC;AAED,wBAAsB,gBAAgB,CAAC,IAAI,KAAA,oBAM1C;AAED,wBAAsB,gBAAgB,CAAC,WAAW,KAAA,oBAKjD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,KAAA,oBAM7C"}
|
|
@@ -3,7 +3,8 @@ const nfeEndpointConfig = {
|
|
|
3
3
|
findAll: `${NFE_API_PATH}/find`,
|
|
4
4
|
getPdf: `${NFE_API_PATH}/pdf/`,
|
|
5
5
|
addObservacao: `${NFE_API_PATH}/observacao`,
|
|
6
|
-
findEventos: `${NFE_API_PATH}/eventos
|
|
6
|
+
findEventos: `${NFE_API_PATH}/eventos/`,
|
|
7
|
+
addCartaCorrecao: `${NFE_API_PATH}/carta-correcao`
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
10
|
nfeEndpointConfig as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nfe.endpoint.config.js","sources":["../../../../../lib/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.ts"],"sourcesContent":["const NFE_API_PATH = '/hub-fiscal/api/nfe'\n\nconst nfeEndpointConfig = {\n findAll: `${NFE_API_PATH}/find`,\n getPdf: `${NFE_API_PATH}/pdf/`,\n addObservacao: `${NFE_API_PATH}/observacao`,\n findEventos: `${NFE_API_PATH}/eventos/`, \n}\n\nexport default nfeEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,oBAAoB;AAAA,EACtB,SAAS,GAAG,YAAY;AAAA,EACxB,QAAQ,GAAG,YAAY;AAAA,EACvB,eAAe,GAAG,YAAY;AAAA,EAC9B,aAAa,GAAG,YAAY;
|
|
1
|
+
{"version":3,"file":"nfe.endpoint.config.js","sources":["../../../../../lib/base/configs/endpoints.config/HubFiscal/nfe.endpoint.config.ts"],"sourcesContent":["const NFE_API_PATH = '/hub-fiscal/api/nfe'\n\nconst nfeEndpointConfig = {\n findAll: `${NFE_API_PATH}/find`,\n getPdf: `${NFE_API_PATH}/pdf/`,\n addObservacao: `${NFE_API_PATH}/observacao`,\n findEventos: `${NFE_API_PATH}/eventos/`, \n addCartaCorrecao: `${NFE_API_PATH}/carta-correcao`,\n}\n\nexport default nfeEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,oBAAoB;AAAA,EACtB,SAAS,GAAG,YAAY;AAAA,EACxB,QAAQ,GAAG,YAAY;AAAA,EACvB,eAAe,GAAG,YAAY;AAAA,EAC9B,aAAa,GAAG,YAAY;AAAA,EAC5B,kBAAkB,GAAG,YAAY;AACrC;"}
|
|
@@ -26,7 +26,15 @@ async function apiGetEventosNfe(chaveAcesso) {
|
|
|
26
26
|
method: "get"
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
+
async function apiAddCartaCorrecao(body) {
|
|
30
|
+
return ApiService.fetchDataWithAxios({
|
|
31
|
+
url: nfeEndpointConfig.addCartaCorrecao,
|
|
32
|
+
method: "post",
|
|
33
|
+
data: body
|
|
34
|
+
});
|
|
35
|
+
}
|
|
29
36
|
export {
|
|
37
|
+
apiAddCartaCorrecao,
|
|
30
38
|
apiAddObservacao,
|
|
31
39
|
apiGetEventosNfe,
|
|
32
40
|
apiGetNfes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NfeService.js","sources":["../../../../../lib/base/services/modules/HubFiscal/NfeService.ts"],"sourcesContent":["import nfeEndpointConfig from '@base/configs/endpoints.config/HubFiscal/nfe.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetNfes(body) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetPdf(id) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.getPdf + id,\n method: 'get',\n })\n}\n\nexport async function apiAddObservacao(body) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.addObservacao,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetEventosNfe(chaveAcesso) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.findEventos + chaveAcesso,\n method: 'get',\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,WAAW,MAAM;AACnC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB;AAAA,IACvB,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,UAAU,IAAI;AAChC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB,SAAS;AAAA,IAChC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,iBAAiB,MAAM;AACzC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB;AAAA,IACvB,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,iBAAiB,aAAa;AAChD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB,cAAc;AAAA,IACrC,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
1
|
+
{"version":3,"file":"NfeService.js","sources":["../../../../../lib/base/services/modules/HubFiscal/NfeService.ts"],"sourcesContent":["import nfeEndpointConfig from '@base/configs/endpoints.config/HubFiscal/nfe.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetNfes(body) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetPdf(id) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.getPdf + id,\n method: 'get',\n })\n}\n\nexport async function apiAddObservacao(body) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.addObservacao,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetEventosNfe(chaveAcesso) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.findEventos + chaveAcesso,\n method: 'get',\n })\n}\n\nexport async function apiAddCartaCorrecao(body) {\n return ApiService.fetchDataWithAxios({\n url: nfeEndpointConfig.addCartaCorrecao,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,WAAW,MAAM;AACnC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB;AAAA,IACvB,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,UAAU,IAAI;AAChC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB,SAAS;AAAA,IAChC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,iBAAiB,MAAM;AACzC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB;AAAA,IACvB,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,iBAAiB,aAAa;AAChD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB,cAAc;AAAA,IACrC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAM;AAC5C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,kBAAkB;AAAA,IACvB,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -29,4 +29,12 @@ export async function apiGetEventosNfe(chaveAcesso) {
|
|
|
29
29
|
url: nfeEndpointConfig.findEventos + chaveAcesso,
|
|
30
30
|
method: 'get',
|
|
31
31
|
})
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export async function apiAddCartaCorrecao(body) {
|
|
35
|
+
return ApiService.fetchDataWithAxios({
|
|
36
|
+
url: nfeEndpointConfig.addCartaCorrecao,
|
|
37
|
+
method: 'post',
|
|
38
|
+
data: body,
|
|
39
|
+
})
|
|
32
40
|
}
|
package/package.json
CHANGED