@orbe-agro/client-core 5.6.332 → 5.6.333
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/centralNfe/centralNfe.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.d.ts +1 -0
- package/dist/@types/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.js +2 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.js.map +1 -1
- package/dist/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.js +7 -0
- package/dist/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.js.map +1 -1
- package/lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts +2 -1
- package/lib/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.ts +7 -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.333" : "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":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcf,CAAA;AAED,eAAe,UAAU,CAAA"}
|
package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vinculoOperacao.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"vinculoOperacao.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2D7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
package/dist/@types/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ export declare function apiFindOneVinculoOperacao(id: number): Promise<any>;
|
|
|
3
3
|
export declare function apiUpdateVinculoOperacao(body: any): Promise<any>;
|
|
4
4
|
export declare function apiCreateVinculoOperacao(values: any): Promise<any>;
|
|
5
5
|
export declare function apiFindCfopsDisponiveis(cfop: string): Promise<any[]>;
|
|
6
|
+
export declare function apiFindCfopsSelecionados(cfop: string): Promise<any[]>;
|
|
6
7
|
//# sourceMappingURL=VinculoOperacaoService.d.ts.map
|
package/dist/@types/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VinculoOperacaoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.ts"],"names":[],"mappings":"AAKA,wBAAsB,6BAA6B,CAAC,IAAI,KAAA,gBAMvD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,gBAKzD;AAED,wBAAsB,wBAAwB,CAAC,IAAI,KAAA,gBAMlD;AAED,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,GAAG,gBAMzD;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,kBAKzD"}
|
|
1
|
+
{"version":3,"file":"VinculoOperacaoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.ts"],"names":[],"mappings":"AAKA,wBAAsB,6BAA6B,CAAC,IAAI,KAAA,gBAMvD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,gBAKzD;AAED,wBAAsB,wBAAwB,CAAC,IAAI,KAAA,gBAMlD;AAED,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,GAAG,gBAMzD;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,kBAKzD;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,MAAM,kBAK1D"}
|
|
@@ -4,7 +4,8 @@ const vinculoOperacao = {
|
|
|
4
4
|
findOne: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: "get" },
|
|
5
5
|
update: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: "patch" },
|
|
6
6
|
create: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: "post" },
|
|
7
|
-
findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/
|
|
7
|
+
findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-disponiveis`, httpMethod: "get" },
|
|
8
|
+
findCfopsSelecionados: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-selecionados`, httpMethod: "get" }
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
vinculoOperacao as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vinculoOperacao.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts"],"sourcesContent":["const VINCULO_OPERACAO_BASE_URL = '/central-nfe/api/vinculo-operacao'\n\nconst vinculoOperacao = {\n findMonitor: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'get' },\n update: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'patch' },\n create: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'post' },\n findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/{
|
|
1
|
+
{"version":3,"file":"vinculoOperacao.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts"],"sourcesContent":["const VINCULO_OPERACAO_BASE_URL = '/central-nfe/api/vinculo-operacao'\n\nconst vinculoOperacao = {\n findMonitor: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'get' },\n update: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'patch' },\n create: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'post' },\n findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-disponiveis`, httpMethod: 'get' },\n findCfopsSelecionados: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-selecionados`, httpMethod: 'get' }\n}\n\nexport default vinculoOperacao"],"names":[],"mappings":"AAAA,MAAM,4BAA4B;AAElC,MAAM,kBAAkB;AAAA,EACpB,aAAa,EAAE,UAAU,GAAG,yBAAyB,iBAAiB,YAAY,OAAA;AAAA,EAClF,SAAS,EAAE,UAAU,2BAA2B,YAAY,MAAA;AAAA,EAC5D,QAAQ,EAAE,UAAU,2BAA2B,YAAY,QAAA;AAAA,EAC3D,QAAQ,EAAE,UAAU,2BAA2B,YAAY,OAAA;AAAA,EAC3D,sBAAsB,EAAE,UAAU,GAAG,yBAAyB,sBAAsB,YAAY,MAAA;AAAA,EAChG,uBAAuB,EAAE,UAAU,GAAG,yBAAyB,uBAAuB,YAAY,MAAA;AACtG;"}
|
|
@@ -34,9 +34,16 @@ async function apiFindCfopsDisponiveis(cfop) {
|
|
|
34
34
|
method: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.httpMethod
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
+
async function apiFindCfopsSelecionados(cfop) {
|
|
38
|
+
return ApiService.fetchDataWithAxios({
|
|
39
|
+
url: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.endpoint.replace("{cfop}", cfop),
|
|
40
|
+
method: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.httpMethod
|
|
41
|
+
});
|
|
42
|
+
}
|
|
37
43
|
export {
|
|
38
44
|
apiCreateVinculoOperacao,
|
|
39
45
|
apiFindCfopsDisponiveis,
|
|
46
|
+
apiFindCfopsSelecionados,
|
|
40
47
|
apiFindMonitorVinculoOperacao,
|
|
41
48
|
apiFindOneVinculoOperacao,
|
|
42
49
|
apiUpdateVinculoOperacao
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VinculoOperacaoService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_OPERACAO_ENDPOINT = endpointConfig.centralNfe.vinculoOperacao;\n\nexport async function apiFindMonitorVinculoOperacao(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneVinculoOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${VINCULO_OPERACAO_ENDPOINT.findOne.endpoint}/${id}`,\n method: VINCULO_OPERACAO_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateVinculoOperacao(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.update.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateVinculoOperacao(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.create.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.create.httpMethod,\n data: values\n })\n}\n\nexport async function apiFindCfopsDisponiveis(cfop: string) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.endpoint.replace('{cfop}', cfop),\n method: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.httpMethod\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,4BAA4BA,yBAAe,WAAW;AAE5D,eAAsB,8BAA8B,MAAM;AACtD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,YAAY;AAAA,IAC3C,QAAQ,0BAA0B,YAAY;AAAA,IAC9C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,0BAA0B,QAAQ,QAAQ,IAAI,EAAE;AAAA,IACxD,QAAQ,0BAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsB,yBAAyB,MAAM;AACjD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,OAAO;AAAA,IACtC,QAAQ,0BAA0B,OAAO;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,QAAa;AACxD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,OAAO;AAAA,IACtC,QAAQ,0BAA0B,OAAO;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,wBAAwB,MAAc;AACxD,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,0BAA0B,qBAAqB,SAAS,QAAQ,UAAU,IAAI;AAAA,IACnF,QAAQ,0BAA0B,qBAAqB;AAAA,EAAA,CAC1D;AACL;"}
|
|
1
|
+
{"version":3,"file":"VinculoOperacaoService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/vinculoOperacao/VinculoOperacaoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_OPERACAO_ENDPOINT = endpointConfig.centralNfe.vinculoOperacao;\n\nexport async function apiFindMonitorVinculoOperacao(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneVinculoOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${VINCULO_OPERACAO_ENDPOINT.findOne.endpoint}/${id}`,\n method: VINCULO_OPERACAO_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateVinculoOperacao(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.update.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateVinculoOperacao(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_OPERACAO_ENDPOINT.create.endpoint,\n method: VINCULO_OPERACAO_ENDPOINT.create.httpMethod,\n data: values\n })\n}\n\nexport async function apiFindCfopsDisponiveis(cfop: string) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.endpoint.replace('{cfop}', cfop),\n method: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.httpMethod\n })\n}\n\nexport async function apiFindCfopsSelecionados(cfop: string) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.endpoint.replace('{cfop}', cfop),\n method: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.httpMethod\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,4BAA4BA,yBAAe,WAAW;AAE5D,eAAsB,8BAA8B,MAAM;AACtD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,YAAY;AAAA,IAC3C,QAAQ,0BAA0B,YAAY;AAAA,IAC9C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,0BAA0B,QAAQ,QAAQ,IAAI,EAAE;AAAA,IACxD,QAAQ,0BAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsB,yBAAyB,MAAM;AACjD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,OAAO;AAAA,IACtC,QAAQ,0BAA0B,OAAO;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,QAAa;AACxD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,0BAA0B,OAAO;AAAA,IACtC,QAAQ,0BAA0B,OAAO;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,wBAAwB,MAAc;AACxD,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,0BAA0B,qBAAqB,SAAS,QAAQ,UAAU,IAAI;AAAA,IACnF,QAAQ,0BAA0B,qBAAqB;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsB,yBAAyB,MAAc;AACzD,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,0BAA0B,sBAAsB,SAAS,QAAQ,UAAU,IAAI;AAAA,IACpF,QAAQ,0BAA0B,sBAAsB;AAAA,EAAA,CAC3D;AACL;"}
|
|
@@ -5,7 +5,8 @@ const vinculoOperacao = {
|
|
|
5
5
|
findOne: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'get' },
|
|
6
6
|
update: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'patch' },
|
|
7
7
|
create: { endpoint: VINCULO_OPERACAO_BASE_URL, httpMethod: 'post' },
|
|
8
|
-
findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/
|
|
8
|
+
findCfopsDisponiveis: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-disponiveis`, httpMethod: 'get' },
|
|
9
|
+
findCfopsSelecionados: { endpoint: `${VINCULO_OPERACAO_BASE_URL}/cfops-selecionados`, httpMethod: 'get' }
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export default vinculoOperacao
|
|
@@ -39,4 +39,11 @@ export async function apiFindCfopsDisponiveis(cfop: string) {
|
|
|
39
39
|
url: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.endpoint.replace('{cfop}', cfop),
|
|
40
40
|
method: VINCULO_OPERACAO_ENDPOINT.findCfopsDisponiveis.httpMethod
|
|
41
41
|
})
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export async function apiFindCfopsSelecionados(cfop: string) {
|
|
45
|
+
return ApiService.fetchDataWithAxios<any[]>({
|
|
46
|
+
url: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.endpoint.replace('{cfop}', cfop),
|
|
47
|
+
method: VINCULO_OPERACAO_ENDPOINT.findCfopsSelecionados.httpMethod
|
|
48
|
+
})
|
|
42
49
|
}
|
package/package.json
CHANGED