@orbe-agro/client-core 5.3.131 → 5.3.133
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/views/auth/ForgotPassword/components/ForgotPasswordForm.js +10 -11
- package/dist/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.js.map +1 -1
- package/dist/@types/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.d.ts.map +1 -1
- package/dist/@types/base/configs/api.config.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +26 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoIva.d.ts +28 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoIva.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/compras/compras.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/compras/compras.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/compras/config/ordemCompra.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/compras/config/ordemCompra.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/config/businessPartner.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/businessPartner.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/config/condicaoPagamento.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/condicaoPagamento.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/config/grupoComprador.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/grupoComprador.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/iva.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/iva.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +54 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.d.ts +7 -0
- package/dist/@types/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/compras/ordemCompra/OrdemCompraService.d.ts +1 -0
- package/dist/@types/base/services/modules/compras/ordemCompra/OrdemCompraService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/businessPartner/BusinessPartnerService.d.ts +2 -0
- package/dist/@types/base/services/modules/dm/businessPartner/BusinessPartnerService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.d.ts +1 -0
- package/dist/@types/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/grupoComprador/GrupoCompradorService.d.ts +3 -0
- package/dist/@types/base/services/modules/dm/grupoComprador/GrupoCompradorService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/dm/index.d.ts +3 -1
- package/dist/@types/base/services/modules/dm/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/iva/IvaService.d.ts +3 -0
- package/dist/@types/base/services/modules/dm/iva/IvaService.d.ts.map +1 -0
- package/dist/base/configs/api.config.js +5 -5
- package/dist/base/configs/api.config.js.map +1 -1
- package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js +10 -8
- package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js.map +1 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/vinculoIva.js +12 -0
- package/dist/base/configs/endpoints.config/centralNfe/config/vinculoIva.js.map +1 -0
- package/dist/base/configs/endpoints.config/compras/config/ordemCompra.js +7 -6
- package/dist/base/configs/endpoints.config/compras/config/ordemCompra.js.map +1 -1
- package/dist/base/configs/endpoints.config/dm/config/businessPartner.js +2 -0
- package/dist/base/configs/endpoints.config/dm/config/businessPartner.js.map +1 -1
- package/dist/base/configs/endpoints.config/dm/config/condicaoPagamento.js +2 -1
- package/dist/base/configs/endpoints.config/dm/config/condicaoPagamento.js.map +1 -1
- package/dist/base/configs/endpoints.config/dm/config/grupoComprador.js +7 -0
- package/dist/base/configs/endpoints.config/dm/config/grupoComprador.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/config/iva.js +7 -0
- package/dist/base/configs/endpoints.config/dm/config/iva.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/dm.js +16 -12
- package/dist/base/configs/endpoints.config/dm/dm.js.map +1 -1
- package/dist/base/index.js +395 -387
- package/dist/base/index.js.map +1 -1
- package/dist/base/services/index.js +377 -369
- package/dist/base/services/index.js.map +1 -1
- package/dist/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.js +52 -0
- package/dist/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.js.map +1 -0
- package/dist/base/services/modules/compras/index.js +18 -17
- package/dist/base/services/modules/compras/ordemCompra/OrdemCompraService.js +24 -16
- package/dist/base/services/modules/compras/ordemCompra/OrdemCompraService.js.map +1 -1
- package/dist/base/services/modules/dm/businessPartner/BusinessPartnerService.js +25 -11
- package/dist/base/services/modules/dm/businessPartner/BusinessPartnerService.js.map +1 -1
- package/dist/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js +15 -8
- package/dist/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js.map +1 -1
- package/dist/base/services/modules/dm/grupoComprador/GrupoCompradorService.js +15 -0
- package/dist/base/services/modules/dm/grupoComprador/GrupoCompradorService.js.map +1 -0
- package/dist/base/services/modules/dm/index.js +77 -70
- package/dist/base/services/modules/dm/index.js.map +1 -1
- package/dist/base/services/modules/dm/iva/IvaService.js +15 -0
- package/dist/base/services/modules/dm/iva/IvaService.js.map +1 -0
- package/dist/base/services/modules/index.js +380 -372
- package/dist/base/services/modules/index.js.map +1 -1
- package/dist/base/utils/logo.js +5 -5
- package/dist/base/utils/logo.js.map +1 -1
- package/lib/@ecme/views/auth/ForgotPassword/components/ForgotPasswordForm.tsx +15 -19
- package/lib/base/configs/api.config.ts +1 -1
- package/lib/base/configs/endpoints.config/centralNfe/centralNfe.ts +3 -1
- package/lib/base/configs/endpoints.config/centralNfe/config/vinculoIva.ts +12 -0
- package/lib/base/configs/endpoints.config/compras/config/ordemCompra.ts +2 -1
- package/lib/base/configs/endpoints.config/dm/config/businessPartner.ts +3 -1
- package/lib/base/configs/endpoints.config/dm/config/condicaoPagamento.ts +2 -1
- package/lib/base/configs/endpoints.config/dm/config/grupoComprador.ts +7 -0
- package/lib/base/configs/endpoints.config/dm/config/iva.ts +7 -0
- package/lib/base/configs/endpoints.config/dm/dm.ts +4 -0
- package/lib/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.ts +53 -0
- package/lib/base/services/modules/compras/ordemCompra/OrdemCompraService.ts +8 -0
- package/lib/base/services/modules/dm/businessPartner/BusinessPartnerService.ts +14 -0
- package/lib/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.ts +7 -0
- package/lib/base/services/modules/dm/grupoComprador/GrupoCompradorService.ts +13 -0
- package/lib/base/services/modules/dm/index.ts +4 -2
- package/lib/base/services/modules/dm/iva/IvaService.ts +13 -0
- package/lib/base/utils/logo.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import a from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import o from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const t = o.centralNfe.vinculoIva;
|
|
4
|
+
async function c(n) {
|
|
5
|
+
return a.fetchDataWithAxios({
|
|
6
|
+
url: t.findMonitor.endpoint,
|
|
7
|
+
method: t.findMonitor.httpMethod,
|
|
8
|
+
data: n
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async function h(n) {
|
|
12
|
+
return a.fetchDataWithAxios({
|
|
13
|
+
url: `${t.findOne.endpoint}/${n}`,
|
|
14
|
+
method: t.findOne.httpMethod
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function p(n) {
|
|
18
|
+
return a.fetchDataWithAxios({
|
|
19
|
+
url: t.update.endpoint,
|
|
20
|
+
method: t.update.httpMethod,
|
|
21
|
+
data: n
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function l(n) {
|
|
25
|
+
return a.fetchDataWithAxios({
|
|
26
|
+
url: t.create.endpoint,
|
|
27
|
+
method: t.create.httpMethod,
|
|
28
|
+
data: n
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
async function f(n, i, e) {
|
|
32
|
+
return a.fetchDataWithAxios({
|
|
33
|
+
url: t.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.endpoint.replace("{nMaterial}", n).replace("{idFornecedor}", i.toString()).replace("{classificacaoContabil}", e),
|
|
34
|
+
method: t.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.httpMethod
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async function u(n) {
|
|
38
|
+
return a.fetchDataWithAxios({
|
|
39
|
+
url: t.save.endpoint,
|
|
40
|
+
method: t.save.httpMethod,
|
|
41
|
+
data: n
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
l as apiCreateVinculoIva,
|
|
46
|
+
f as apiFindIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil,
|
|
47
|
+
c as apiFindMonitorVinculoIva,
|
|
48
|
+
h as apiFindOneVinculoIva,
|
|
49
|
+
u as apiSaveVinculoIva,
|
|
50
|
+
p as apiUpdateVinculoIva
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=VinculoIvaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VinculoIvaService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_IVA_ENDPOINT = endpointConfig.centralNfe.vinculoIva;\n\nexport async function apiFindMonitorVinculoIva(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_IVA_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_IVA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneVinculoIva(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${VINCULO_IVA_ENDPOINT.findOne.endpoint}/${id}`,\n method: VINCULO_IVA_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateVinculoIva(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_IVA_ENDPOINT.update.endpoint,\n method: VINCULO_IVA_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateVinculoIva(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: VINCULO_IVA_ENDPOINT.create.endpoint,\n method: VINCULO_IVA_ENDPOINT.create.httpMethod,\n data: values\n })\n}\n\nexport async function apiFindIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil(material: string, idFornecedor: number, classificacaoContabil: string) {\n return ApiService.fetchDataWithAxios<number>({\n url: VINCULO_IVA_ENDPOINT.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.endpoint\n .replace('{nMaterial}', material)\n .replace('{idFornecedor}', idFornecedor.toString())\n .replace('{classificacaoContabil}', classificacaoContabil),\n method: VINCULO_IVA_ENDPOINT.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.httpMethod\n })\n}\n\nexport async function apiSaveVinculoIva(data: any) {\n return ApiService.fetchDataWithAxios<number>({\n url: VINCULO_IVA_ENDPOINT.save.endpoint,\n method: VINCULO_IVA_ENDPOINT.save.httpMethod,\n data\n })\n}"],"names":["VINCULO_IVA_ENDPOINT","endpointConfig","apiFindMonitorVinculoIva","body","ApiService","apiFindOneVinculoIva","id","apiUpdateVinculoIva","apiCreateVinculoIva","values","apiFindIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil","material","idFornecedor","classificacaoContabil","apiSaveVinculoIva","data"],"mappings":";;AAGA,MAAMA,IAAuBC,EAAe,WAAW;AAEvD,eAAsBC,EAAyBC,GAAM;AACjD,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAqBC,GAAY;AACnD,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGJ,EAAqB,QAAQ,QAAQ,IAAIM,CAAE;AAAA,IACnD,QAAQN,EAAqB,QAAQ;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBO,EAAoBJ,GAAM;AAC5C,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAqB,OAAO;AAAA,IACjC,QAAQA,EAAqB,OAAO;AAAA,IACpC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBK,EAAoBC,GAAa;AACnD,SAAOL,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAqB,OAAO;AAAA,IACjC,QAAQA,EAAqB,OAAO;AAAA,IACpC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA8DC,GAAkBC,GAAsBC,GAA+B;AACvJ,SAAOT,EAAW,mBAA2B;AAAA,IACzC,KAAKJ,EAAqB,2DAA2D,SAChF,QAAQ,eAAeW,CAAQ,EAC/B,QAAQ,kBAAkBC,EAAa,SAAA,CAAU,EACjD,QAAQ,2BAA2BC,CAAqB;AAAA,IAC7D,QAAQb,EAAqB,2DAA2D;AAAA,EAAA,CAC3F;AACL;AAEA,eAAsBc,EAAkBC,GAAW;AAC/C,SAAOX,EAAW,mBAA2B;AAAA,IACzC,KAAKJ,EAAqB,KAAK;AAAA,IAC/B,QAAQA,EAAqB,KAAK;AAAA,IAClC,MAAAe;AAAA,EAAA,CACH;AACL;"}
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
import { apiCreateLocalRecepcao as i, apiFindMonitorLocalRecepcao as e, apiFindOneLocalRecepcao as r, apiUpdateLocalRecepcao as p } from "./localRecepcao/LocalRecepcaoService.js";
|
|
2
|
-
import { apiCreateRequisicaoCompra as c, apiExecuteAcao as d, apiFindHistoricosMovimentacao as n, apiFindMonitorRequisicaoCompra as
|
|
2
|
+
import { apiCreateRequisicaoCompra as c, apiExecuteAcao as d, apiFindHistoricosMovimentacao as n, apiFindMonitorRequisicaoCompra as s, apiFindOneRequisicaoCompra as m, apiUpdateRequisicaoCompra as C } from "./requisicaoCompra/RequisicaoCompraService.js";
|
|
3
3
|
import { apiFinalizaRequisicaoAgrupada as u, apiFindMonitorRequisicaoAgrupadaItem as l, apiFindMonitorRequisicaoAgrupadaRequisicao as R } from "./requisicaoAgrupada/RequisicaoAgrupadaService.js";
|
|
4
|
-
import { apiExecuteAcaoCotacao as x, apiFindMonitorCotacao as L, apiFindOneCotacao as
|
|
5
|
-
import { apiCancelarOrdemCompra as
|
|
6
|
-
import { apiFindHistoricoAcaoByIdEntidade as
|
|
7
|
-
import { apiCreateCadastroEstrategiaLiberacaoValor as
|
|
4
|
+
import { apiExecuteAcaoCotacao as x, apiFindMonitorCotacao as L, apiFindOneCotacao as f, apiUpdateCotacao as g } from "./cotacao/CotacaoService.js";
|
|
5
|
+
import { apiCancelarOrdemCompra as E, apiFindMonitorOrdemCompra as M, apiFindOneOrdemCompra as A, apiFindOrdensComprasNfeByIdsFornecedores as b, apiUpdateOrdemCompra as U } from "./ordemCompra/OrdemCompraService.js";
|
|
6
|
+
import { apiFindHistoricoAcaoByIdEntidade as I } from "./historicoAcao/HistoricoAcaoService.js";
|
|
7
|
+
import { apiCreateCadastroEstrategiaLiberacaoValor as B, apiDeleteOneCadastroEstrategiaLiberacaoValor as H, apiFindMonitorCadastroEstrategiaLiberacaoValor as v, apiFindOneCadastroEstrategiaLiberacaoValor as z, apiUpdateCadastroEstrategiaLiberacaoValor as D } from "./cadastroEstrategiaLiberacaoValor/CadastroEstrategiaLiberacaoValorService.js";
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
E as apiCancelarOrdemCompra,
|
|
10
|
+
B as apiCreateCadastroEstrategiaLiberacaoValor,
|
|
11
11
|
i as apiCreateLocalRecepcao,
|
|
12
12
|
c as apiCreateRequisicaoCompra,
|
|
13
|
-
|
|
13
|
+
H as apiDeleteOneCadastroEstrategiaLiberacaoValor,
|
|
14
14
|
d as apiExecuteAcao,
|
|
15
15
|
x as apiExecuteAcaoCotacao,
|
|
16
16
|
u as apiFinalizaRequisicaoAgrupada,
|
|
17
|
-
|
|
17
|
+
I as apiFindHistoricoAcaoByIdEntidade,
|
|
18
18
|
n as apiFindHistoricosMovimentacao,
|
|
19
|
-
|
|
19
|
+
v as apiFindMonitorCadastroEstrategiaLiberacaoValor,
|
|
20
20
|
L as apiFindMonitorCotacao,
|
|
21
21
|
e as apiFindMonitorLocalRecepcao,
|
|
22
|
-
|
|
22
|
+
M as apiFindMonitorOrdemCompra,
|
|
23
23
|
l as apiFindMonitorRequisicaoAgrupadaItem,
|
|
24
24
|
R as apiFindMonitorRequisicaoAgrupadaRequisicao,
|
|
25
|
-
|
|
25
|
+
s as apiFindMonitorRequisicaoCompra,
|
|
26
26
|
z as apiFindOneCadastroEstrategiaLiberacaoValor,
|
|
27
|
-
|
|
27
|
+
f as apiFindOneCotacao,
|
|
28
28
|
r as apiFindOneLocalRecepcao,
|
|
29
29
|
A as apiFindOneOrdemCompra,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
m as apiFindOneRequisicaoCompra,
|
|
31
|
+
b as apiFindOrdensComprasNfeByIdsFornecedores,
|
|
32
|
+
D as apiUpdateCadastroEstrategiaLiberacaoValor,
|
|
33
|
+
g as apiUpdateCotacao,
|
|
33
34
|
p as apiUpdateLocalRecepcao,
|
|
34
|
-
|
|
35
|
+
U as apiUpdateOrdemCompra,
|
|
35
36
|
C as apiUpdateRequisicaoCompra
|
|
36
37
|
};
|
|
37
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,36 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const t =
|
|
4
|
-
async function
|
|
5
|
-
return
|
|
1
|
+
import n from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import o from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const t = o.compras.ordemCompra;
|
|
4
|
+
async function a(e) {
|
|
5
|
+
return n.fetchDataWithAxios({
|
|
6
6
|
url: t.findMonitor.endpoint,
|
|
7
7
|
method: t.findMonitor.httpMethod,
|
|
8
|
-
data:
|
|
8
|
+
data: e
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
-
async function d(
|
|
12
|
-
return
|
|
13
|
-
url: `${t.findOne.endpoint}/${
|
|
11
|
+
async function d(e) {
|
|
12
|
+
return n.fetchDataWithAxios({
|
|
13
|
+
url: `${t.findOne.endpoint}/${e}`,
|
|
14
14
|
method: t.findOne.httpMethod
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
async function p(
|
|
18
|
-
return
|
|
17
|
+
async function p(e) {
|
|
18
|
+
return n.fetchDataWithAxios({
|
|
19
19
|
url: t.update.endpoint,
|
|
20
20
|
method: t.update.httpMethod,
|
|
21
|
-
data:
|
|
21
|
+
data: e
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
async function c(
|
|
25
|
-
return
|
|
26
|
-
url: t.cancelar.endpoint.replace("{id}",
|
|
24
|
+
async function c(e) {
|
|
25
|
+
return n.fetchDataWithAxios({
|
|
26
|
+
url: t.cancelar.endpoint.replace("{id}", e.toString()),
|
|
27
27
|
method: t.cancelar.httpMethod
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
+
async function h(e) {
|
|
31
|
+
return n.fetchDataWithAxios({
|
|
32
|
+
url: t.findOrdensComprasNfeByIdsFornecedores.endpoint,
|
|
33
|
+
method: t.findOrdensComprasNfeByIdsFornecedores.httpMethod,
|
|
34
|
+
data: e
|
|
35
|
+
});
|
|
36
|
+
}
|
|
30
37
|
export {
|
|
31
38
|
c as apiCancelarOrdemCompra,
|
|
32
|
-
|
|
39
|
+
a as apiFindMonitorOrdemCompra,
|
|
33
40
|
d as apiFindOneOrdemCompra,
|
|
41
|
+
h as apiFindOrdensComprasNfeByIdsFornecedores,
|
|
34
42
|
p as apiUpdateOrdemCompra
|
|
35
43
|
};
|
|
36
44
|
//# sourceMappingURL=OrdemCompraService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrdemCompraService.js","sources":["../../../../../../lib/base/services/modules/compras/ordemCompra/OrdemCompraService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst ORDEM_COMPRA_ENDPOINT = endpointConfig.compras.ordemCompra;\n\nexport async function apiFindMonitorOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.findMonitor.endpoint,\n method: ORDEM_COMPRA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneOrdemCompra(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${ORDEM_COMPRA_ENDPOINT.findOne.endpoint}/${id}`,\n method: ORDEM_COMPRA_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.update.endpoint,\n method: ORDEM_COMPRA_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCancelarOrdemCompra(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.cancelar.endpoint.replace(\"{id}\", id.toString()),\n method: ORDEM_COMPRA_ENDPOINT.cancelar.httpMethod\n })\n}"],"names":["ORDEM_COMPRA_ENDPOINT","endpointConfig","apiFindMonitorOrdemCompra","body","ApiService","apiFindOneOrdemCompra","id","apiUpdateOrdemCompra","apiCancelarOrdemCompra"],"mappings":";;AAGA,MAAMA,IAAwBC,EAAe,QAAQ;AAErD,eAAsBC,EAA0BC,GAAM;AAClD,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAsBC,GAAY;AACpD,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGJ,EAAsB,QAAQ,QAAQ,IAAIM,CAAE;AAAA,IACpD,QAAQN,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBO,EAAqBJ,GAAM;AAC7C,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBK,EAAuBF,GAAY;AACrD,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,SAAS,SAAS,QAAQ,QAAQM,EAAG,UAAU;AAAA,IAC1E,QAAQN,EAAsB,SAAS;AAAA,EAAA,CAC1C;AACL;"}
|
|
1
|
+
{"version":3,"file":"OrdemCompraService.js","sources":["../../../../../../lib/base/services/modules/compras/ordemCompra/OrdemCompraService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst ORDEM_COMPRA_ENDPOINT = endpointConfig.compras.ordemCompra;\n\nexport async function apiFindMonitorOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.findMonitor.endpoint,\n method: ORDEM_COMPRA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneOrdemCompra(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${ORDEM_COMPRA_ENDPOINT.findOne.endpoint}/${id}`,\n method: ORDEM_COMPRA_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.update.endpoint,\n method: ORDEM_COMPRA_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCancelarOrdemCompra(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.cancelar.endpoint.replace(\"{id}\", id.toString()),\n method: ORDEM_COMPRA_ENDPOINT.cancelar.httpMethod\n })\n}\n\nexport async function apiFindOrdensComprasNfeByIdsFornecedores(data) {\n return ApiService.fetchDataWithAxios<any>({\n url: ORDEM_COMPRA_ENDPOINT.findOrdensComprasNfeByIdsFornecedores.endpoint,\n method: ORDEM_COMPRA_ENDPOINT.findOrdensComprasNfeByIdsFornecedores.httpMethod,\n data\n })\n}"],"names":["ORDEM_COMPRA_ENDPOINT","endpointConfig","apiFindMonitorOrdemCompra","body","ApiService","apiFindOneOrdemCompra","id","apiUpdateOrdemCompra","apiCancelarOrdemCompra","apiFindOrdensComprasNfeByIdsFornecedores","data"],"mappings":";;AAGA,MAAMA,IAAwBC,EAAe,QAAQ;AAErD,eAAsBC,EAA0BC,GAAM;AAClD,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAsBC,GAAY;AACpD,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGJ,EAAsB,QAAQ,QAAQ,IAAIM,CAAE;AAAA,IACpD,QAAQN,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBO,EAAqBJ,GAAM;AAC7C,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBK,EAAuBF,GAAY;AACrD,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,SAAS,SAAS,QAAQ,QAAQM,EAAG,UAAU;AAAA,IAC1E,QAAQN,EAAsB,SAAS;AAAA,EAAA,CAC1C;AACL;AAEA,eAAsBS,EAAyCC,GAAM;AACjE,SAAON,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAsB,sCAAsC;AAAA,IACjE,QAAQA,EAAsB,sCAAsC;AAAA,IACpE,MAAAU;AAAA,EAAA,CACH;AACL;"}
|
|
@@ -39,13 +39,19 @@ async function h(n) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
async function p(n) {
|
|
42
|
+
return t.fetchDataWithAxios({
|
|
43
|
+
url: e.findEmpresasIdsByCnpj.endpoint.replace("{cnpj}", n),
|
|
44
|
+
method: e.findEmpresasIdsByCnpj.httpMethod
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
async function m(n) {
|
|
42
48
|
return t.fetchDataWithAxios({
|
|
43
49
|
url: e.findMonitorTransportadora.endpoint,
|
|
44
50
|
method: e.findMonitorTransportadora.httpMethod,
|
|
45
51
|
data: n
|
|
46
52
|
});
|
|
47
53
|
}
|
|
48
|
-
async function
|
|
54
|
+
async function l(n) {
|
|
49
55
|
if (!(!n || Object.keys(n).length === 0))
|
|
50
56
|
return t.fetchDataWithAxios({
|
|
51
57
|
url: e.findBusinessPartnerFiliais.endpoint,
|
|
@@ -53,7 +59,7 @@ async function m(n) {
|
|
|
53
59
|
data: n
|
|
54
60
|
});
|
|
55
61
|
}
|
|
56
|
-
async function
|
|
62
|
+
async function B(n) {
|
|
57
63
|
if (!(!n || Object.keys(n).length === 0))
|
|
58
64
|
return t.fetchDataWithAxios({
|
|
59
65
|
url: e.findBusinessPartnerMatrizes.endpoint,
|
|
@@ -61,6 +67,12 @@ async function l(n) {
|
|
|
61
67
|
data: n
|
|
62
68
|
});
|
|
63
69
|
}
|
|
70
|
+
async function F(n) {
|
|
71
|
+
return t.fetchDataWithAxios({
|
|
72
|
+
url: e.findFornecedorNfeByCnpj.endpoint.replace("{cnpj}", n),
|
|
73
|
+
method: e.findFornecedorNfeByCnpj.httpMethod
|
|
74
|
+
});
|
|
75
|
+
}
|
|
64
76
|
async function P(n) {
|
|
65
77
|
if (!(!n || Object.keys(n).length === 0))
|
|
66
78
|
return t.fetchDataWithAxios({
|
|
@@ -69,7 +81,7 @@ async function P(n) {
|
|
|
69
81
|
data: n
|
|
70
82
|
});
|
|
71
83
|
}
|
|
72
|
-
async function
|
|
84
|
+
async function A(n) {
|
|
73
85
|
if (!(!n || Object.keys(n).length === 0))
|
|
74
86
|
return t.fetchDataWithAxios({
|
|
75
87
|
url: e.findBusinessPartnerFuncoesParceirosFornecedores.endpoint,
|
|
@@ -77,14 +89,14 @@ async function F(n) {
|
|
|
77
89
|
data: n
|
|
78
90
|
});
|
|
79
91
|
}
|
|
80
|
-
async function
|
|
92
|
+
async function D(n = {}) {
|
|
81
93
|
return t.fetchDataWithAxios({
|
|
82
94
|
url: e.findBusinessPartnerByClientOrSupplierFunction.endpoint,
|
|
83
95
|
method: e.findBusinessPartnerByClientOrSupplierFunction.method,
|
|
84
96
|
data: n
|
|
85
97
|
});
|
|
86
98
|
}
|
|
87
|
-
async function
|
|
99
|
+
async function y(n, i) {
|
|
88
100
|
return t.fetchDataWithAxios({
|
|
89
101
|
url: e.findSalesAreasByBusinessPartnerAndSetorAtividade.endpoint + `${n}/${i}`,
|
|
90
102
|
method: e.findSalesAreasByBusinessPartnerAndSetorAtividade.method
|
|
@@ -93,15 +105,17 @@ async function A(n, i) {
|
|
|
93
105
|
export {
|
|
94
106
|
u as apiFindDmBusinessPartner,
|
|
95
107
|
c as apiFindDmBusinessPartnerCliente,
|
|
96
|
-
|
|
108
|
+
l as apiFindDmBusinessPartnerFiliais,
|
|
97
109
|
f as apiFindDmBusinessPartnerFornecedor,
|
|
98
110
|
P as apiFindDmBusinessPartnerFuncoesParceirosClientes,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
111
|
+
A as apiFindDmBusinessPartnerFuncoesParceirosFornecedores,
|
|
112
|
+
B as apiFindDmBusinessPartnerMatrizes,
|
|
113
|
+
y as apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade,
|
|
114
|
+
D as apiFindDmVendedoresAKARepresentantesVendas,
|
|
115
|
+
p as apiFindEmpresasIdsByCnpj,
|
|
116
|
+
F as apiFindFornecedorNfeByCnpj,
|
|
103
117
|
h as apiFindMonitorFornecedor,
|
|
104
|
-
|
|
118
|
+
m as apiFindMonitorTransportadora,
|
|
105
119
|
d as apiGetDmBusinessPartner
|
|
106
120
|
};
|
|
107
121
|
//# sourceMappingURL=BusinessPartnerService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessPartnerService.js","sources":["../../../../../../lib/base/services/modules/dm/businessPartner/BusinessPartnerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAreaVendaCliente, TBusinessPartner } from \"@base/@types/models/dm/businessPartner\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst BUSINESS_PARTNER_ENDPOINT = endpointsConfig.dm.businessPartner;\n\nexport async function apiGetDmBusinessPartner(id: number) {\n return ApiService.fetchDataWithAxios<TBusinessPartner>({\n url: BUSINESS_PARTNER_ENDPOINT.findOne.endpoint + `${id}`,\n method: BUSINESS_PARTNER_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiFindDmBusinessPartner(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TBusinessPartner[]>>({\n url: BUSINESS_PARTNER_ENDPOINT.find.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.find.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerCliente(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerCliente.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerCliente.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFornecedor(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFornecedor.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFornecedor.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorFornecedor(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: BUSINESS_PARTNER_ENDPOINT.findMonitorFornecedor.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findMonitorFornecedor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindMonitorTransportadora(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: BUSINESS_PARTNER_ENDPOINT.findMonitorTransportadora.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findMonitorTransportadora.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFiliais(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFiliais.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFiliais.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerMatrizes(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerMatrizes.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerMatrizes.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFuncoesParceirosClientes(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosClientes.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosClientes.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFuncoesParceirosFornecedores(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosFornecedores.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosFornecedores.method,\n data: body,\n })\n}\n\nexport async function apiFindDmVendedoresAKARepresentantesVendas(data = {}) {\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerByClientOrSupplierFunction.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerByClientOrSupplierFunction.method,\n data,\n });\n}\n\nexport async function apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade(businessPartner: string, setorAtividade: string) {\n return ApiService.fetchDataWithAxios<TAreaVendaCliente[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findSalesAreasByBusinessPartnerAndSetorAtividade.endpoint + `${businessPartner}/` + `${setorAtividade}`,\n method: BUSINESS_PARTNER_ENDPOINT.findSalesAreasByBusinessPartnerAndSetorAtividade.method,\n })\n}"],"names":["BUSINESS_PARTNER_ENDPOINT","endpointsConfig","apiGetDmBusinessPartner","id","ApiService","apiFindDmBusinessPartner","body","apiFindDmBusinessPartnerCliente","apiFindDmBusinessPartnerFornecedor","apiFindMonitorFornecedor","apiFindMonitorTransportadora","apiFindDmBusinessPartnerFiliais","apiFindDmBusinessPartnerMatrizes","apiFindDmBusinessPartnerFuncoesParceirosClientes","apiFindDmBusinessPartnerFuncoesParceirosFornecedores","apiFindDmVendedoresAKARepresentantesVendas","data","apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade","businessPartner","setorAtividade"],"mappings":";;;AAKA,MAAMA,IAA4BC,EAAgB,GAAG;AAErD,eAAsBC,EAAwBC,GAAY;AACtD,SAAOC,EAAW,mBAAqC;AAAA,IACnD,KAAKJ,EAA0B,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACvD,QAAQH,EAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsBK,EAAyBC,GAAsB;AACjE,SAAOF,EAAW,mBAAuD;AAAA,IACrE,KAAKJ,EAA0B,KAAK;AAAA,IACpC,QAAQA,EAA0B,KAAK;AAAA,IACvC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAgCD,GAAsB;AACxE,MAAI,GAACA,KAAQ,OAAO,KAAKA,CAAI,EAAE,WAAW;AAG1C,WAAOF,EAAW,mBAAuC;AAAA,MACrD,KAAKJ,EAA0B,2BAA2B;AAAA,MAC1D,QAAQA,EAA0B,2BAA2B;AAAA,MAC7D,MAAMM;AAAA,IAAA,CACT;AACL;AAEA,eAAsBE,EAAmCF,GAAsB;AAC3E,MAAI,GAACA,KAAQ,OAAO,KAAKA,CAAI,EAAE,WAAW;AAG1C,WAAOF,EAAW,mBAAuC;AAAA,MACrD,KAAKJ,EAA0B,8BAA8B;AAAA,MAC7D,QAAQA,EAA0B,8BAA8B;AAAA,MAChE,MAAMM;AAAA,IAAA,CACT;AACL;AAEA,eAAsBG,EAAyBH,GAAsB;AACjE,SAAOF,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA0B,sBAAsB;AAAA,IACrD,QAAQA,EAA0B,sBAAsB;AAAA,IACxD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBI,
|
|
1
|
+
{"version":3,"file":"BusinessPartnerService.js","sources":["../../../../../../lib/base/services/modules/dm/businessPartner/BusinessPartnerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAreaVendaCliente, TBusinessPartner } from \"@base/@types/models/dm/businessPartner\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst BUSINESS_PARTNER_ENDPOINT = endpointsConfig.dm.businessPartner;\n\nexport async function apiGetDmBusinessPartner(id: number) {\n return ApiService.fetchDataWithAxios<TBusinessPartner>({\n url: BUSINESS_PARTNER_ENDPOINT.findOne.endpoint + `${id}`,\n method: BUSINESS_PARTNER_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiFindDmBusinessPartner(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TBusinessPartner[]>>({\n url: BUSINESS_PARTNER_ENDPOINT.find.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.find.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerCliente(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerCliente.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerCliente.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFornecedor(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFornecedor.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFornecedor.method,\n data: body,\n })\n}\n\nexport async function apiFindMonitorFornecedor(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: BUSINESS_PARTNER_ENDPOINT.findMonitorFornecedor.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findMonitorFornecedor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindEmpresasIdsByCnpj(cnpj: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: BUSINESS_PARTNER_ENDPOINT.findEmpresasIdsByCnpj.endpoint.replace('{cnpj}', cnpj),\n method: BUSINESS_PARTNER_ENDPOINT.findEmpresasIdsByCnpj.httpMethod,\n })\n}\n\nexport async function apiFindMonitorTransportadora(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: BUSINESS_PARTNER_ENDPOINT.findMonitorTransportadora.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findMonitorTransportadora.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFiliais(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFiliais.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFiliais.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerMatrizes(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerMatrizes.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerMatrizes.method,\n data: body,\n })\n}\n\nexport async function apiFindFornecedorNfeByCnpj(cnpj: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: BUSINESS_PARTNER_ENDPOINT.findFornecedorNfeByCnpj.endpoint.replace('{cnpj}', cnpj),\n method: BUSINESS_PARTNER_ENDPOINT.findFornecedorNfeByCnpj.httpMethod,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFuncoesParceirosClientes(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosClientes.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosClientes.method,\n data: body,\n })\n}\n\nexport async function apiFindDmBusinessPartnerFuncoesParceirosFornecedores(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosFornecedores.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerFuncoesParceirosFornecedores.method,\n data: body,\n })\n}\n\nexport async function apiFindDmVendedoresAKARepresentantesVendas(data = {}) {\n return ApiService.fetchDataWithAxios<TBusinessPartner[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerByClientOrSupplierFunction.endpoint,\n method: BUSINESS_PARTNER_ENDPOINT.findBusinessPartnerByClientOrSupplierFunction.method,\n data,\n });\n}\n\nexport async function apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade(businessPartner: string, setorAtividade: string) {\n return ApiService.fetchDataWithAxios<TAreaVendaCliente[]>({\n url: BUSINESS_PARTNER_ENDPOINT.findSalesAreasByBusinessPartnerAndSetorAtividade.endpoint + `${businessPartner}/` + `${setorAtividade}`,\n method: BUSINESS_PARTNER_ENDPOINT.findSalesAreasByBusinessPartnerAndSetorAtividade.method,\n })\n}"],"names":["BUSINESS_PARTNER_ENDPOINT","endpointsConfig","apiGetDmBusinessPartner","id","ApiService","apiFindDmBusinessPartner","body","apiFindDmBusinessPartnerCliente","apiFindDmBusinessPartnerFornecedor","apiFindMonitorFornecedor","apiFindEmpresasIdsByCnpj","cnpj","apiFindMonitorTransportadora","apiFindDmBusinessPartnerFiliais","apiFindDmBusinessPartnerMatrizes","apiFindFornecedorNfeByCnpj","apiFindDmBusinessPartnerFuncoesParceirosClientes","apiFindDmBusinessPartnerFuncoesParceirosFornecedores","apiFindDmVendedoresAKARepresentantesVendas","data","apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade","businessPartner","setorAtividade"],"mappings":"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"}
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from "../../../../../@ecme/services/ApiService.js";
|
|
2
2
|
import "../../../../configs/index.js";
|
|
3
3
|
import i from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
4
|
const o = i.dm.condicaoPagamento;
|
|
5
|
-
async function r(
|
|
6
|
-
return
|
|
5
|
+
async function r(t = {}) {
|
|
6
|
+
return a.fetchDataWithAxios({
|
|
7
7
|
url: o.find.endpoint,
|
|
8
8
|
method: o.find.method,
|
|
9
|
-
data:
|
|
9
|
+
data: t
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
async function
|
|
13
|
-
return
|
|
12
|
+
async function c(t) {
|
|
13
|
+
return a.fetchDataWithAxios({
|
|
14
14
|
url: o.findMonitor.endpoint,
|
|
15
15
|
method: o.findMonitor.httpMethod,
|
|
16
|
-
data:
|
|
16
|
+
data: t
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
async function m(t) {
|
|
20
|
+
return a.fetchDataWithAxios({
|
|
21
|
+
url: o.verificaCadastroCompletoByCondicaoPagamento.endpoint.replace("condicaoPagamento", t),
|
|
22
|
+
method: o.verificaCadastroCompletoByCondicaoPagamento.httpMethod
|
|
17
23
|
});
|
|
18
24
|
}
|
|
19
25
|
export {
|
|
20
26
|
r as apiFindDmCondicaoPagamento,
|
|
21
|
-
|
|
27
|
+
c as apiFindMonitorCondicaoPagamento,
|
|
28
|
+
m as apiFindVerificaCadastroCompletoByCondicaoPagamento
|
|
22
29
|
};
|
|
23
30
|
//# sourceMappingURL=CondicaoPagamentoService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CondicaoPagamentoService.js","sources":["../../../../../../lib/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types\";\nimport { TCondicaoPagamento } from \"@base/@types/models/dm/condicaoPagamento\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CONDICAO_PAGAMENTO_ENDPOINT = endpointsConfig.dm.condicaoPagamento;\n\nexport async function apiFindDmCondicaoPagamento(data = {}) {\n return ApiService.fetchDataWithAxios<TCondicaoPagamento[]>({\n url: CONDICAO_PAGAMENTO_ENDPOINT.find.endpoint,\n method: CONDICAO_PAGAMENTO_ENDPOINT.find.method,\n data,\n });\n}\n\nexport async function apiFindMonitorCondicaoPagamento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CONDICAO_PAGAMENTO_ENDPOINT.findMonitor.endpoint,\n method: CONDICAO_PAGAMENTO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n"],"names":["CONDICAO_PAGAMENTO_ENDPOINT","endpointsConfig","apiFindDmCondicaoPagamento","data","ApiService","apiFindMonitorCondicaoPagamento","body"],"mappings":";;;AAKA,MAAMA,IAA8BC,EAAgB,GAAG;AAEvD,eAAsBC,EAA2BC,IAAO,IAAI;AACxD,SAAOC,EAAW,mBAAyC;AAAA,IACvD,KAAKJ,EAA4B,KAAK;AAAA,IACtC,QAAQA,EAA4B,KAAK;AAAA,IACzC,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAgCC,GAAsB;AACxE,SAAOF,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA4B,YAAY;AAAA,IAC7C,QAAQA,EAA4B,YAAY;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"CondicaoPagamentoService.js","sources":["../../../../../../lib/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types\";\nimport { TCondicaoPagamento } from \"@base/@types/models/dm/condicaoPagamento\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CONDICAO_PAGAMENTO_ENDPOINT = endpointsConfig.dm.condicaoPagamento;\n\nexport async function apiFindDmCondicaoPagamento(data = {}) {\n return ApiService.fetchDataWithAxios<TCondicaoPagamento[]>({\n url: CONDICAO_PAGAMENTO_ENDPOINT.find.endpoint,\n method: CONDICAO_PAGAMENTO_ENDPOINT.find.method,\n data,\n });\n}\n\nexport async function apiFindMonitorCondicaoPagamento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CONDICAO_PAGAMENTO_ENDPOINT.findMonitor.endpoint,\n method: CONDICAO_PAGAMENTO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindVerificaCadastroCompletoByCondicaoPagamento(condicaoPagamento: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CONDICAO_PAGAMENTO_ENDPOINT.verificaCadastroCompletoByCondicaoPagamento.endpoint.replace('condicaoPagamento', condicaoPagamento),\n method: CONDICAO_PAGAMENTO_ENDPOINT.verificaCadastroCompletoByCondicaoPagamento.httpMethod\n })\n}"],"names":["CONDICAO_PAGAMENTO_ENDPOINT","endpointsConfig","apiFindDmCondicaoPagamento","data","ApiService","apiFindMonitorCondicaoPagamento","body","apiFindVerificaCadastroCompletoByCondicaoPagamento","condicaoPagamento"],"mappings":";;;AAKA,MAAMA,IAA8BC,EAAgB,GAAG;AAEvD,eAAsBC,EAA2BC,IAAO,IAAI;AACxD,SAAOC,EAAW,mBAAyC;AAAA,IACvD,KAAKJ,EAA4B,KAAK;AAAA,IACtC,QAAQA,EAA4B,KAAK;AAAA,IACzC,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAgCC,GAAsB;AACxE,SAAOF,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA4B,YAAY;AAAA,IAC7C,QAAQA,EAA4B,YAAY;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAmDC,GAA2B;AAChG,SAAOJ,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA4B,4CAA4C,SAAS,QAAQ,qBAAqBQ,CAAiB;AAAA,IACpI,QAAQR,EAA4B,4CAA4C;AAAA,EAAA,CACnF;AACL;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import "../../../../configs/index.js";
|
|
3
|
+
import r from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
|
+
const o = r.dm.grupoComprador;
|
|
5
|
+
async function a(t) {
|
|
6
|
+
return i.fetchDataWithAxios({
|
|
7
|
+
url: o.findMonitor.endpoint,
|
|
8
|
+
method: o.findMonitor.httpMethod,
|
|
9
|
+
data: t
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
a as apiFindMonitorGrupoComprador
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=GrupoCompradorService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrupoCompradorService.js","sources":["../../../../../../lib/base/services/modules/dm/grupoComprador/GrupoCompradorService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst GRUPO_COMPRADOR_ENDPOINT = endpointsConfig.dm.grupoComprador;\n\nexport async function apiFindMonitorGrupoComprador(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: GRUPO_COMPRADOR_ENDPOINT.findMonitor.endpoint,\n method: GRUPO_COMPRADOR_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["GRUPO_COMPRADOR_ENDPOINT","endpointsConfig","apiFindMonitorGrupoComprador","body","ApiService"],"mappings":";;;AAIA,MAAMA,IAA2BC,EAAgB,GAAG;AAEpD,eAAsBC,EAA6BC,GAAsB;AACrE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAyB,YAAY;AAAA,IAC1C,QAAQA,EAAyB,YAAY;AAAA,IAC7C,MAAMG;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { apiFindDmBusinessPartner as n, apiFindDmBusinessPartnerCliente as a, apiFindDmBusinessPartnerFiliais as r, apiFindDmBusinessPartnerFornecedor as d, apiFindDmBusinessPartnerFuncoesParceirosClientes as e, apiFindDmBusinessPartnerFuncoesParceirosFornecedores as p, apiFindDmBusinessPartnerMatrizes as t, apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade as m, apiFindDmVendedoresAKARepresentantesVendas as F,
|
|
2
|
-
import { apiFindDmCanalDistribuicao as
|
|
3
|
-
import { apiFindDmCentro as
|
|
4
|
-
import { apiFindMonitorCentroCusto as
|
|
5
|
-
import { apiFindDmCondicaoPagamento as
|
|
6
|
-
import { apiFindMonitorContaContabil as
|
|
7
|
-
import { apiFindDmDeposito as
|
|
8
|
-
import { apiFindDmEquipeVenda as
|
|
9
|
-
import { apiFindDmEscritorioVenda as
|
|
10
|
-
import { apiFindDmFormaPagamento as
|
|
11
|
-
import { apiFindDmGrupoVenda as
|
|
12
|
-
import { apiFindMonitorImobilizado as
|
|
13
|
-
import { apiFindDmIncoterms as
|
|
14
|
-
import { apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda as
|
|
15
|
-
import { apiFindDmSetorAtividade as
|
|
16
|
-
import { apiFindDmTipoDocumentoVenda as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
1
|
+
import { apiFindDmBusinessPartner as n, apiFindDmBusinessPartnerCliente as a, apiFindDmBusinessPartnerFiliais as r, apiFindDmBusinessPartnerFornecedor as d, apiFindDmBusinessPartnerFuncoesParceirosClientes as e, apiFindDmBusinessPartnerFuncoesParceirosFornecedores as p, apiFindDmBusinessPartnerMatrizes as t, apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade as m, apiFindDmVendedoresAKARepresentantesVendas as F, apiFindEmpresasIdsByCnpj as s, apiFindFornecedorNfeByCnpj as D, apiFindMonitorFornecedor as u, apiFindMonitorTransportadora as C, apiGetDmBusinessPartner as c } from "./businessPartner/BusinessPartnerService.js";
|
|
2
|
+
import { apiFindDmCanalDistribuicao as f, apiFindDmCanalDistribuicaoByCodigo as P } from "./canalDistribuicao/CanalDistribuicaoService.js";
|
|
3
|
+
import { apiFindDmCentro as V, apiFindDmCentroByCodigo as y, apiFindMonitorCentro as M } from "./centro/CentroService.js";
|
|
4
|
+
import { apiFindMonitorCentroCusto as l } from "./centroCusto/CentroCustoService.js";
|
|
5
|
+
import { apiFindDmCondicaoPagamento as A, apiFindMonitorCondicaoPagamento as E, apiFindVerificaCadastroCompletoByCondicaoPagamento as G } from "./condicaoPagamento/CondicaoPagamentoService.js";
|
|
6
|
+
import { apiFindMonitorContaContabil as I } from "./contaContabil/ContaContabilService.js";
|
|
7
|
+
import { apiFindDmDeposito as v, apiFindDmDepositoByCodigo as z, apiFindDmDepositosByCodigoCentro as S, apiFindMonitorDeposito as U } from "./deposito/DepositoService.js";
|
|
8
|
+
import { apiFindDmEquipeVenda as q, apiFindDmEquipeVendaByCodigo as R } from "./equipeVenda/EquipeVendaService.js";
|
|
9
|
+
import { apiFindDmEscritorioVenda as N, apiFindDmEscritorioVendaByCodigo as h } from "./escritorioVenda/EscritorioVendaService.js";
|
|
10
|
+
import { apiFindDmFormaPagamento as w, apiFindDmFormaPagamentoByCodigo as H } from "./formaPagamento/FormaPagamentoService.js";
|
|
11
|
+
import { apiFindDmGrupoVenda as L, apiFindDmGrupoVendaByCodigo as Q, apiFindMonitorGrupoVenda as W } from "./grupoVenda/GrupoVendaService.js";
|
|
12
|
+
import { apiFindMonitorImobilizado as Y } from "./imobilizado/ImobilizadoService.js";
|
|
13
|
+
import { apiFindDmIncoterms as _ } from "./incoterms/IncotermsService.js";
|
|
14
|
+
import { apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda as ii, apiFindDmProduto as oi, apiFindDmProdutoByCodigo as ni, apiFindDmProdutoByGrupoProduto as ai, apiFindDmProdutoIsPrecificadoRacao as ri, apiFindDmValidaProdutoByEmissorPedidoVenda as di, apiFindMonitorProduto as ei } from "./produto/ProdutoService.js";
|
|
15
|
+
import { apiFindDmSetorAtividade as ti } from "./setorAtividade/SetorAtividadeService.js";
|
|
16
|
+
import { apiFindDmTipoDocumentoVenda as Fi, apiFindDmTipoDocumentoVendaByCodigo as si, apiFindMonitorTipoDocumentoVenda as Di } from "./tipoDocumentoVenda/TipoDocumentoVendaService.js";
|
|
17
|
+
import { apiFindUser as Ci } from "./user/UserService.js";
|
|
18
|
+
import { apiFindMonitorIva as Bi } from "./iva/IvaService.js";
|
|
19
|
+
import { apiFindMonitorGrupoComprador as Pi } from "./grupoComprador/GrupoCompradorService.js";
|
|
20
|
+
import { apiFindDmTipoOrdemVenda as Vi, apiFindDmTipoOrdemVendaByCodigo as yi, apiFindMonitorTipoOrdemVenda as Mi } from "./tipoOrdemVenda/TipoOrdemVendaService.js";
|
|
21
|
+
import { apiFindDmTipoVeiculo as li, apiFindDmTipoVeiculoByCodigo as Ti, apiFindMonitorTipoVeiculo as Ai } from "./tipoVeiculo/TipoVeiculoService.js";
|
|
22
|
+
import { apiFindAllUfs as Gi, apiFindDmMunicipio as bi, apiFindDmMunicipioByCodigo as Ii, apiFindMonitorMunicipio as Oi, apiFindMunicipioByUf as vi } from "./municipio/MunicipioService.js";
|
|
21
23
|
export {
|
|
22
|
-
|
|
24
|
+
Gi as apiFindAllUfs,
|
|
23
25
|
n as apiFindDmBusinessPartner,
|
|
24
26
|
a as apiFindDmBusinessPartnerCliente,
|
|
25
27
|
r as apiFindDmBusinessPartnerFiliais,
|
|
@@ -27,56 +29,61 @@ export {
|
|
|
27
29
|
e as apiFindDmBusinessPartnerFuncoesParceirosClientes,
|
|
28
30
|
p as apiFindDmBusinessPartnerFuncoesParceirosFornecedores,
|
|
29
31
|
t as apiFindDmBusinessPartnerMatrizes,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
f as apiFindDmCanalDistribuicao,
|
|
33
|
+
P as apiFindDmCanalDistribuicaoByCodigo,
|
|
34
|
+
V as apiFindDmCentro,
|
|
35
|
+
y as apiFindDmCentroByCodigo,
|
|
36
|
+
A as apiFindDmCondicaoPagamento,
|
|
37
|
+
v as apiFindDmDeposito,
|
|
38
|
+
z as apiFindDmDepositoByCodigo,
|
|
39
|
+
S as apiFindDmDepositosByCodigoCentro,
|
|
40
|
+
q as apiFindDmEquipeVenda,
|
|
41
|
+
R as apiFindDmEquipeVendaByCodigo,
|
|
42
|
+
N as apiFindDmEscritorioVenda,
|
|
43
|
+
h as apiFindDmEscritorioVendaByCodigo,
|
|
44
|
+
ii as apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda,
|
|
43
45
|
m as apiFindDmFindSalesAreasByBusinessPartnerAndSetorAtividade,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
46
|
+
w as apiFindDmFormaPagamento,
|
|
47
|
+
H as apiFindDmFormaPagamentoByCodigo,
|
|
48
|
+
L as apiFindDmGrupoVenda,
|
|
49
|
+
Q as apiFindDmGrupoVendaByCodigo,
|
|
50
|
+
_ as apiFindDmIncoterms,
|
|
51
|
+
bi as apiFindDmMunicipio,
|
|
52
|
+
Ii as apiFindDmMunicipioByCodigo,
|
|
53
|
+
oi as apiFindDmProduto,
|
|
54
|
+
ni as apiFindDmProdutoByCodigo,
|
|
55
|
+
ai as apiFindDmProdutoByGrupoProduto,
|
|
56
|
+
ri as apiFindDmProdutoIsPrecificadoRacao,
|
|
57
|
+
ti as apiFindDmSetorAtividade,
|
|
58
|
+
Fi as apiFindDmTipoDocumentoVenda,
|
|
59
|
+
si as apiFindDmTipoDocumentoVendaByCodigo,
|
|
60
|
+
Vi as apiFindDmTipoOrdemVenda,
|
|
61
|
+
yi as apiFindDmTipoOrdemVendaByCodigo,
|
|
62
|
+
li as apiFindDmTipoVeiculo,
|
|
63
|
+
Ti as apiFindDmTipoVeiculoByCodigo,
|
|
64
|
+
di as apiFindDmValidaProdutoByEmissorPedidoVenda,
|
|
63
65
|
F as apiFindDmVendedoresAKARepresentantesVendas,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
66
|
+
s as apiFindEmpresasIdsByCnpj,
|
|
67
|
+
D as apiFindFornecedorNfeByCnpj,
|
|
68
|
+
M as apiFindMonitorCentro,
|
|
69
|
+
l as apiFindMonitorCentroCusto,
|
|
70
|
+
E as apiFindMonitorCondicaoPagamento,
|
|
71
|
+
I as apiFindMonitorContaContabil,
|
|
72
|
+
U as apiFindMonitorDeposito,
|
|
73
|
+
u as apiFindMonitorFornecedor,
|
|
74
|
+
Pi as apiFindMonitorGrupoComprador,
|
|
75
|
+
W as apiFindMonitorGrupoVenda,
|
|
76
|
+
Y as apiFindMonitorImobilizado,
|
|
77
|
+
Bi as apiFindMonitorIva,
|
|
78
|
+
Oi as apiFindMonitorMunicipio,
|
|
79
|
+
ei as apiFindMonitorProduto,
|
|
80
|
+
Di as apiFindMonitorTipoDocumentoVenda,
|
|
81
|
+
Mi as apiFindMonitorTipoOrdemVenda,
|
|
82
|
+
Ai as apiFindMonitorTipoVeiculo,
|
|
83
|
+
C as apiFindMonitorTransportadora,
|
|
84
|
+
vi as apiFindMunicipioByUf,
|
|
85
|
+
Ci as apiFindUser,
|
|
86
|
+
G as apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
87
|
+
c as apiGetDmBusinessPartner
|
|
81
88
|
};
|
|
82
89
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import t from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import "../../../../configs/index.js";
|
|
3
|
+
import n from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
|
+
const i = n.dm.iva;
|
|
5
|
+
async function e(o) {
|
|
6
|
+
return t.fetchDataWithAxios({
|
|
7
|
+
url: i.findMonitor.endpoint,
|
|
8
|
+
method: i.findMonitor.httpMethod,
|
|
9
|
+
data: o
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
e as apiFindMonitorIva
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=IvaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IvaService.js","sources":["../../../../../../lib/base/services/modules/dm/iva/IvaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst IVA_ENDPOINT = endpointsConfig.dm.iva;\n\nexport async function apiFindMonitorIva(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: IVA_ENDPOINT.findMonitor.endpoint,\n method: IVA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["IVA_ENDPOINT","endpointsConfig","apiFindMonitorIva","body","ApiService"],"mappings":";;;AAIA,MAAMA,IAAeC,EAAgB,GAAG;AAExC,eAAsBC,EAAkBC,GAAsB;AAC1D,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAa,YAAY;AAAA,IAC9B,QAAQA,EAAa,YAAY;AAAA,IACjC,MAAMG;AAAA,EAAA,CACT;AACL;"}
|