@orbe-agro/client-core 5.6.332 → 5.6.334
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 +8 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/cfop.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/cfop.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 +8 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/services/modules/centralNfe/cfop/CfopService.d.ts +4 -0
- package/dist/@types/base/services/modules/centralNfe/cfop/CfopService.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/cfop.js +2 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/cfop.js.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/cfop/CfopService.js +9 -1
- package/dist/base/services/modules/centralNfe/cfop/CfopService.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/cfop.ts +2 -1
- package/lib/base/configs/endpoints.config/centralNfe/config/vinculoOperacao.ts +2 -1
- package/lib/base/services/modules/centralNfe/cfop/CfopService.ts +8 -0
- 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.334" : "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: [
|
|
@@ -202,6 +202,10 @@ declare const centralNfe: {
|
|
|
202
202
|
endpoint: string;
|
|
203
203
|
httpMethod: string;
|
|
204
204
|
};
|
|
205
|
+
findCfopsSelecionados: {
|
|
206
|
+
endpoint: string;
|
|
207
|
+
httpMethod: string;
|
|
208
|
+
};
|
|
205
209
|
};
|
|
206
210
|
cfop: {
|
|
207
211
|
findMonitor: {
|
|
@@ -212,6 +216,10 @@ declare const centralNfe: {
|
|
|
212
216
|
endpoint: string;
|
|
213
217
|
httpMethod: string;
|
|
214
218
|
};
|
|
219
|
+
updateSelecao: {
|
|
220
|
+
endpoint: string;
|
|
221
|
+
httpMethod: string;
|
|
222
|
+
};
|
|
215
223
|
};
|
|
216
224
|
historicoCfop: {
|
|
217
225
|
findIdCfopByIdProdutoAndIdFornecedor: {
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cfop.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/cfop.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"cfop.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/cfop.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;CAIT,CAAA;AAED,eAAe,IAAI,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"}
|
|
@@ -2262,6 +2262,10 @@ declare const endpointNavigationConfig: {
|
|
|
2262
2262
|
endpoint: string;
|
|
2263
2263
|
httpMethod: string;
|
|
2264
2264
|
};
|
|
2265
|
+
findCfopsSelecionados: {
|
|
2266
|
+
endpoint: string;
|
|
2267
|
+
httpMethod: string;
|
|
2268
|
+
};
|
|
2265
2269
|
};
|
|
2266
2270
|
cfop: {
|
|
2267
2271
|
findMonitor: {
|
|
@@ -2272,6 +2276,10 @@ declare const endpointNavigationConfig: {
|
|
|
2272
2276
|
endpoint: string;
|
|
2273
2277
|
httpMethod: string;
|
|
2274
2278
|
};
|
|
2279
|
+
updateSelecao: {
|
|
2280
|
+
endpoint: string;
|
|
2281
|
+
httpMethod: string;
|
|
2282
|
+
};
|
|
2275
2283
|
};
|
|
2276
2284
|
historicoCfop: {
|
|
2277
2285
|
findIdCfopByIdProdutoAndIdFornecedor: {
|
|
@@ -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"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export declare function apiFindMonitorCfop(body: any): Promise<any>;
|
|
2
2
|
export declare function apiCreateCfop(values: any): Promise<any>;
|
|
3
|
+
export declare function apiUpdateSelecaoCfop(values: {
|
|
4
|
+
id: number;
|
|
5
|
+
selecao: boolean;
|
|
6
|
+
}): Promise<void>;
|
|
3
7
|
//# sourceMappingURL=CfopService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CfopService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/cfop/CfopService.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CAAC,IAAI,KAAA,gBAM5C;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE,GAAG,gBAM9C"}
|
|
1
|
+
{"version":3,"file":"CfopService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/cfop/CfopService.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CAAC,IAAI,KAAA,gBAM5C;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE,GAAG,gBAM9C;AAED,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,iBAMlF"}
|
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"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const CFOP_BASE_URL = "/central-nfe/api/cfop";
|
|
2
2
|
const cfop = {
|
|
3
3
|
findMonitor: { endpoint: `${CFOP_BASE_URL}/find-monitor`, httpMethod: "post" },
|
|
4
|
-
create: { endpoint: CFOP_BASE_URL, httpMethod: "post" }
|
|
4
|
+
create: { endpoint: CFOP_BASE_URL, httpMethod: "post" },
|
|
5
|
+
updateSelecao: { endpoint: `${CFOP_BASE_URL}/selecao`, httpMethod: "patch" }
|
|
5
6
|
};
|
|
6
7
|
export {
|
|
7
8
|
cfop as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cfop.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/cfop.ts"],"sourcesContent":["const CFOP_BASE_URL = '/central-nfe/api/cfop'\n\nconst cfop = {\n findMonitor: { endpoint: `${CFOP_BASE_URL}/find-monitor`, httpMethod: 'post' },\n create: { endpoint: CFOP_BASE_URL, httpMethod: 'post' }
|
|
1
|
+
{"version":3,"file":"cfop.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/cfop.ts"],"sourcesContent":["const CFOP_BASE_URL = '/central-nfe/api/cfop'\n\nconst cfop = {\n findMonitor: { endpoint: `${CFOP_BASE_URL}/find-monitor`, httpMethod: 'post' },\n create: { endpoint: CFOP_BASE_URL, httpMethod: 'post' },\n updateSelecao: { endpoint: `${CFOP_BASE_URL}/selecao`, httpMethod: 'patch' },\n}\n\nexport default cfop\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,aAAa,EAAE,UAAU,GAAG,aAAa,iBAAiB,YAAY,OAAA;AAAA,EACtE,QAAQ,EAAE,UAAU,eAAe,YAAY,OAAA;AAAA,EAC/C,eAAe,EAAE,UAAU,GAAG,aAAa,YAAY,YAAY,QAAA;AACvE;"}
|
|
@@ -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;"}
|
|
@@ -15,8 +15,16 @@ async function apiCreateCfop(values) {
|
|
|
15
15
|
data: values
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
async function apiUpdateSelecaoCfop(values) {
|
|
19
|
+
return ApiService.fetchDataWithAxios({
|
|
20
|
+
url: CFOP_ENDPOINT.updateSelecao.endpoint,
|
|
21
|
+
method: CFOP_ENDPOINT.updateSelecao.httpMethod,
|
|
22
|
+
data: values
|
|
23
|
+
});
|
|
24
|
+
}
|
|
18
25
|
export {
|
|
19
26
|
apiCreateCfop,
|
|
20
|
-
apiFindMonitorCfop
|
|
27
|
+
apiFindMonitorCfop,
|
|
28
|
+
apiUpdateSelecaoCfop
|
|
21
29
|
};
|
|
22
30
|
//# sourceMappingURL=CfopService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CfopService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/cfop/CfopService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CFOP_ENDPOINT = endpointConfig.centralNfe.cfop;\n\nexport async function apiFindMonitorCfop(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: CFOP_ENDPOINT.findMonitor.endpoint,\n method: CFOP_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateCfop(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: CFOP_ENDPOINT.create.endpoint,\n method: CFOP_ENDPOINT.create.httpMethod,\n data: values\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,gBAAgBA,yBAAe,WAAW;AAEhD,eAAsB,mBAAmB,MAAM;AAC3C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,cAAc,YAAY;AAAA,IAC/B,QAAQ,cAAc,YAAY;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,QAAa;AAC7C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,cAAc,OAAO;AAAA,IAC1B,QAAQ,cAAc,OAAO;AAAA,IAC7B,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"CfopService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/cfop/CfopService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CFOP_ENDPOINT = endpointConfig.centralNfe.cfop;\n\nexport async function apiFindMonitorCfop(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: CFOP_ENDPOINT.findMonitor.endpoint,\n method: CFOP_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateCfop(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: CFOP_ENDPOINT.create.endpoint,\n method: CFOP_ENDPOINT.create.httpMethod,\n data: values\n })\n}\n\nexport async function apiUpdateSelecaoCfop(values: { id: number; selecao: boolean }) {\n return ApiService.fetchDataWithAxios<void>({\n url: CFOP_ENDPOINT.updateSelecao.endpoint,\n method: CFOP_ENDPOINT.updateSelecao.httpMethod,\n data: values,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,gBAAgBA,yBAAe,WAAW;AAEhD,eAAsB,mBAAmB,MAAM;AAC3C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,cAAc,YAAY;AAAA,IAC/B,QAAQ,cAAc,YAAY;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,QAAa;AAC7C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,cAAc,OAAO;AAAA,IAC1B,QAAQ,cAAc,OAAO;AAAA,IAC7B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qBAAqB,QAA0C;AACjF,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,cAAc,cAAc;AAAA,IACjC,QAAQ,cAAc,cAAc;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -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;"}
|
|
@@ -2,7 +2,8 @@ const CFOP_BASE_URL = '/central-nfe/api/cfop'
|
|
|
2
2
|
|
|
3
3
|
const cfop = {
|
|
4
4
|
findMonitor: { endpoint: `${CFOP_BASE_URL}/find-monitor`, httpMethod: 'post' },
|
|
5
|
-
create: { endpoint: CFOP_BASE_URL, httpMethod: 'post' }
|
|
5
|
+
create: { endpoint: CFOP_BASE_URL, httpMethod: 'post' },
|
|
6
|
+
updateSelecao: { endpoint: `${CFOP_BASE_URL}/selecao`, httpMethod: 'patch' },
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
export default cfop
|
|
@@ -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
|
|
@@ -18,3 +18,11 @@ export async function apiCreateCfop(values: any) {
|
|
|
18
18
|
data: values
|
|
19
19
|
})
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
export async function apiUpdateSelecaoCfop(values: { id: number; selecao: boolean }) {
|
|
23
|
+
return ApiService.fetchDataWithAxios<void>({
|
|
24
|
+
url: CFOP_ENDPOINT.updateSelecao.endpoint,
|
|
25
|
+
method: CFOP_ENDPOINT.updateSelecao.httpMethod,
|
|
26
|
+
data: values,
|
|
27
|
+
})
|
|
28
|
+
}
|
|
@@ -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