@orbe-agro/client-core 5.3.54 → 5.3.57
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/@types/base/@types/models/dm/grupoVenda.d.ts +7 -0
- package/dist/@types/base/@types/models/dm/grupoVenda.d.ts.map +1 -0
- package/dist/@types/base/@types/models/dm/tipoDocumentoVenda.d.ts +7 -0
- package/dist/@types/base/@types/models/dm/tipoDocumentoVenda.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/grupoVenda.d.ts +16 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/grupoVenda.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/tipoDocumentoVenda.d.ts +16 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/tipoDocumentoVenda.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +28 -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 +28 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.d.ts +12 -0
- package/dist/@types/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.d.ts.map +1 -0
- package/dist/@types/base/hooks/dm/grupoVenda/useGrupoVendaList.d.ts +13 -0
- package/dist/@types/base/hooks/dm/grupoVenda/useGrupoVendaList.d.ts.map +1 -0
- package/dist/@types/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.d.ts +12 -0
- package/dist/@types/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.d.ts.map +1 -0
- package/dist/@types/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.d.ts +13 -0
- package/dist/@types/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.d.ts.map +1 -0
- package/dist/@types/base/hooks/index.d.ts +4 -0
- package/dist/@types/base/hooks/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/businessPartner/BusinessPartnerService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/centroCusto/CentroCustoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/contaContabil/ContaContabilService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/deposito/DepositoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/grupoVenda/GrupoVendaService.d.ts +6 -0
- package/dist/@types/base/services/modules/dm/grupoVenda/GrupoVendaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/dm/imobilizado/ImobilizadoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/incoterms/IncotermsService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/index.d.ts +7 -4
- package/dist/@types/base/services/modules/dm/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/produto/ProdutoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService.d.ts +6 -0
- package/dist/@types/base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService.d.ts.map +1 -0
- package/dist/@types/base/store/dm/grupoVenda/grupoVendaListStore.d.ts +4 -0
- package/dist/@types/base/store/dm/grupoVenda/grupoVendaListStore.d.ts.map +1 -0
- package/dist/@types/base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.d.ts +4 -0
- package/dist/@types/base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.d.ts.map +1 -0
- package/dist/base/@types/models/dm/grupoVenda.js +2 -0
- package/dist/base/@types/models/dm/grupoVenda.js.map +1 -0
- package/dist/base/@types/models/dm/tipoDocumentoVenda.js +2 -0
- package/dist/base/@types/models/dm/tipoDocumentoVenda.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/config/grupoVenda.js +9 -0
- package/dist/base/configs/endpoints.config/dm/config/grupoVenda.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/config/tipoDocumentoVenda.js +9 -0
- package/dist/base/configs/endpoints.config/dm/config/tipoDocumentoVenda.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/dm.js +17 -13
- package/dist/base/configs/endpoints.config/dm/dm.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/tipoCarga.js +1 -1
- package/dist/base/configs/endpoints.config/transportadora/tipoCarga.js.map +1 -1
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js +27 -0
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaByCodigoList.js.map +1 -0
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js +26 -0
- package/dist/base/hooks/dm/grupoVenda/useGrupoVendaList.js.map +1 -0
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js +27 -0
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaByCodigoList.js.map +1 -0
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js +26 -0
- package/dist/base/hooks/dm/tipoDocumentoVenda/useTipoDocumentoVendaList.js.map +1 -0
- package/dist/base/hooks/index.js +36 -28
- package/dist/base/hooks/index.js.map +1 -1
- package/dist/base/index.js +386 -368
- package/dist/base/index.js.map +1 -1
- package/dist/base/services/index.js +323 -313
- package/dist/base/services/index.js.map +1 -1
- package/dist/base/services/modules/dm/businessPartner/BusinessPartnerService.js.map +1 -1
- package/dist/base/services/modules/dm/centroCusto/CentroCustoService.js.map +1 -1
- package/dist/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js.map +1 -1
- package/dist/base/services/modules/dm/contaContabil/ContaContabilService.js.map +1 -1
- package/dist/base/services/modules/dm/deposito/DepositoService.js.map +1 -1
- package/dist/base/services/modules/dm/grupoVenda/GrupoVendaService.js +30 -0
- package/dist/base/services/modules/dm/grupoVenda/GrupoVendaService.js.map +1 -0
- package/dist/base/services/modules/dm/imobilizado/ImobilizadoService.js.map +1 -1
- package/dist/base/services/modules/dm/incoterms/IncotermsService.js.map +1 -1
- package/dist/base/services/modules/dm/index.js +45 -35
- package/dist/base/services/modules/dm/index.js.map +1 -1
- package/dist/base/services/modules/dm/produto/ProdutoService.js.map +1 -1
- package/dist/base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService.js +30 -0
- package/dist/base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService.js.map +1 -0
- package/dist/base/services/modules/index.js +325 -315
- package/dist/base/services/modules/index.js.map +1 -1
- package/dist/base/store/dm/grupoVenda/grupoVendaListStore.js +14 -0
- package/dist/base/store/dm/grupoVenda/grupoVendaListStore.js.map +1 -0
- package/dist/base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.js +14 -0
- package/dist/base/store/dm/tipoDocumentoVenda/tipoDocumentoVendaListStore.js.map +1 -0
- 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessPartnerService.js","sources":["../../../../../../lib/base/services/modules/dm/businessPartner/BusinessPartnerService.
|
|
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 { TBusinessPartner } from \"@base/@types/models/dm/businessPartner\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst BUSINESS_PARTNER_ENDPOINT = endpointsConfig.dm.businessPartner;\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}"],"names":["BUSINESS_PARTNER_ENDPOINT","endpointsConfig","apiFindDmBusinessPartner","body","ApiService","apiFindDmBusinessPartnerCliente","apiFindDmBusinessPartnerFornecedor","apiFindMonitorFornecedor","apiFindMonitorTransportadora"],"mappings":";;;AAKA,MAAMA,IAA4BC,EAAgB,GAAG;AAErD,eAAsBC,EAAyBC,GAAsB;AACjE,SAAOC,EAAW,mBAAuD;AAAA,IACrE,KAAKJ,EAA0B,KAAK;AAAA,IACpC,QAAQA,EAA0B,KAAK;AAAA,IACvC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAgCF,GAAsB;AACxE,MAAI,GAACA,KAAQ,OAAO,KAAKA,CAAI,EAAE,WAAW;AAG1C,WAAOC,EAAW,mBAAuC;AAAA,MACrD,KAAKJ,EAA0B,2BAA2B;AAAA,MAC1D,QAAQA,EAA0B,2BAA2B;AAAA,MAC7D,MAAMG;AAAA,IAAA,CACT;AACL;AAEA,eAAsBG,EAAmCH,GAAsB;AAC3E,MAAI,GAACA,KAAQ,OAAO,KAAKA,CAAI,EAAE,WAAW;AAG1C,WAAOC,EAAW,mBAAuC;AAAA,MACrD,KAAKJ,EAA0B,8BAA8B;AAAA,MAC7D,QAAQA,EAA0B,8BAA8B;AAAA,MAChE,MAAMG;AAAA,IAAA,CACT;AACL;AAEA,eAAsBI,EAAyBJ,GAAsB;AACjE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA0B,sBAAsB;AAAA,IACrD,QAAQA,EAA0B,sBAAsB;AAAA,IACxD,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBK,EAA6BL,GAAsB;AACrE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA0B,0BAA0B;AAAA,IACzD,QAAQA,EAA0B,0BAA0B;AAAA,IAC5D,MAAMG;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CentroCustoService.js","sources":["../../../../../../lib/base/services/modules/dm/centroCusto/CentroCustoService.
|
|
1
|
+
{"version":3,"file":"CentroCustoService.js","sources":["../../../../../../lib/base/services/modules/dm/centroCusto/CentroCustoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CENTRO_CUSTO_ENDPOINT = endpointsConfig.dm.centroCusto;\n\nexport async function apiFindMonitorCentroCusto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CENTRO_CUSTO_ENDPOINT.findMonitor.endpoint,\n method: CENTRO_CUSTO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["CENTRO_CUSTO_ENDPOINT","endpointsConfig","apiFindMonitorCentroCusto","body","ApiService"],"mappings":";;;AAIA,MAAMA,IAAwBC,EAAgB,GAAG;AAEjD,eAAsBC,EAA0BC,GAAsB;AAClE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMG;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CondicaoPagamentoService.js","sources":["../../../../../../lib/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContaContabilService.js","sources":["../../../../../../lib/base/services/modules/dm/contaContabil/ContaContabilService.
|
|
1
|
+
{"version":3,"file":"ContaContabilService.js","sources":["../../../../../../lib/base/services/modules/dm/contaContabil/ContaContabilService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CONTA_CONTABIL_ENDPOINT = endpointsConfig.dm.contaContabil;\n\nexport async function apiFindMonitorContaContabil(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CONTA_CONTABIL_ENDPOINT.findMonitor.endpoint,\n method: CONTA_CONTABIL_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["CONTA_CONTABIL_ENDPOINT","endpointsConfig","apiFindMonitorContaContabil","body","ApiService"],"mappings":";;;AAIA,MAAMA,IAA0BC,EAAgB,GAAG;AAEnD,eAAsBC,EAA4BC,GAAsB;AACpE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAwB,YAAY;AAAA,IACzC,QAAQA,EAAwB,YAAY;AAAA,IAC5C,MAAMG;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositoService.js","sources":["../../../../../../lib/base/services/modules/dm/deposito/DepositoService.
|
|
1
|
+
{"version":3,"file":"DepositoService.js","sources":["../../../../../../lib/base/services/modules/dm/deposito/DepositoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TDeposito } from \"@base/@types/models/dm/deposito\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst DEPOSITO_ENDPOINT = endpointsConfig.dm.deposito;\n\nexport async function apiFindDmDeposito(data = {}) {\n return ApiService.fetchDataWithAxios<TDeposito[]>({\n url: DEPOSITO_ENDPOINT.find.endpoint,\n method: DEPOSITO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmDepositoByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TDeposito>({\n url: DEPOSITO_ENDPOINT.findDepositoByCodigo.endpoint + `${codigo}`,\n method: DEPOSITO_ENDPOINT.findDepositoByCodigo.method,\n })\n}\n\nexport async function apiFindDmDepositosByCodigoCentro(codigoCentro: string) {\n return ApiService.fetchDataWithAxios<TDeposito[]>({\n url: DEPOSITO_ENDPOINT.findDepositosByCodigoCentro.endpoint + `${codigoCentro}`,\n method: DEPOSITO_ENDPOINT.findDepositosByCodigoCentro.method,\n })\n}\n\nexport async function apiFindMonitorDeposito(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: DEPOSITO_ENDPOINT.findMonitor.endpoint,\n method: DEPOSITO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["DEPOSITO_ENDPOINT","endpointsConfig","apiFindDmDeposito","data","ApiService","apiFindDmDepositoByCodigo","codigo","apiFindDmDepositosByCodigoCentro","codigoCentro","apiFindMonitorDeposito","body"],"mappings":";;;AAKA,MAAMA,IAAoBC,EAAgB,GAAG;AAE7C,eAAsBC,EAAkBC,IAAO,IAAI;AAC/C,SAAOC,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAkB,KAAK;AAAA,IAC5B,QAAQA,EAAkB,KAAK;AAAA,IAC/B,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAA0BC,GAAgB;AAC5D,SAAOF,EAAW,mBAA8B;AAAA,IAC5C,KAAKJ,EAAkB,qBAAqB,WAAW,GAAGM,CAAM;AAAA,IAChE,QAAQN,EAAkB,qBAAqB;AAAA,EAAA,CAClD;AACL;AAEA,eAAsBO,EAAiCC,GAAsB;AACzE,SAAOJ,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAkB,4BAA4B,WAAW,GAAGQ,CAAY;AAAA,IAC7E,QAAQR,EAAkB,4BAA4B;AAAA,EAAA,CACzD;AACL;AAEA,eAAsBS,EAAuBC,GAAsB;AAC/D,SAAON,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAkB,YAAY;AAAA,IACnC,QAAQA,EAAkB,YAAY;AAAA,IACtC,MAAMU;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import "../../../../configs/index.js";
|
|
3
|
+
import t from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
|
+
const o = t.dm.grupoVenda;
|
|
5
|
+
async function a(n = {}) {
|
|
6
|
+
return i.fetchDataWithAxios({
|
|
7
|
+
url: o.find.endpoint,
|
|
8
|
+
method: o.find.method,
|
|
9
|
+
data: n
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
async function p(n) {
|
|
13
|
+
return i.fetchDataWithAxios({
|
|
14
|
+
url: o.findGrupoVendaByCodigo.endpoint + `${n}`,
|
|
15
|
+
method: o.findGrupoVendaByCodigo.method
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function f(n) {
|
|
19
|
+
return i.fetchDataWithAxios({
|
|
20
|
+
url: o.findMonitor.endpoint,
|
|
21
|
+
method: o.findMonitor.httpMethod,
|
|
22
|
+
data: n
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
a as apiFindDmGrupoVenda,
|
|
27
|
+
p as apiFindDmGrupoVendaByCodigo,
|
|
28
|
+
f as apiFindMonitorGrupoVenda
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=GrupoVendaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrupoVendaService.js","sources":["../../../../../../lib/base/services/modules/dm/grupoVenda/GrupoVendaService.tsx"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TGrupoVenda } from \"@base/@types/models/dm/grupoVenda\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst GRUPO_VENDA_ENDPOINT = endpointsConfig.dm.grupoVenda;\n\nexport async function apiFindDmGrupoVenda(data = {}) {\n return ApiService.fetchDataWithAxios<TGrupoVenda[]>({\n url: GRUPO_VENDA_ENDPOINT.find.endpoint,\n method: GRUPO_VENDA_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmGrupoVendaByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TGrupoVenda>({\n url: GRUPO_VENDA_ENDPOINT.findGrupoVendaByCodigo.endpoint + `${codigo}`,\n method: GRUPO_VENDA_ENDPOINT.findGrupoVendaByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorGrupoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: GRUPO_VENDA_ENDPOINT.findMonitor.endpoint,\n method: GRUPO_VENDA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["GRUPO_VENDA_ENDPOINT","endpointsConfig","apiFindDmGrupoVenda","data","ApiService","apiFindDmGrupoVendaByCodigo","codigo","apiFindMonitorGrupoVenda","body"],"mappings":";;;AAKA,MAAMA,IAAuBC,EAAgB,GAAG;AAEhD,eAAsBC,EAAoBC,IAAO,IAAI;AACjD,SAAOC,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAqB,KAAK;AAAA,IAC/B,QAAQA,EAAqB,KAAK;AAAA,IAClC,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAA4BC,GAAgB;AAC9D,SAAOF,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAqB,uBAAuB,WAAW,GAAGM,CAAM;AAAA,IACrE,QAAQN,EAAqB,uBAAuB;AAAA,EAAA,CACvD;AACL;AAEA,eAAsBO,EAAyBC,GAAsB;AACjE,SAAOJ,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMQ;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImobilizadoService.js","sources":["../../../../../../lib/base/services/modules/dm/imobilizado/ImobilizadoService.
|
|
1
|
+
{"version":3,"file":"ImobilizadoService.js","sources":["../../../../../../lib/base/services/modules/dm/imobilizado/ImobilizadoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst IMOBILIZADO_ENDPOINT = endpointsConfig.dm.imobilizado;\n\nexport async function apiFindMonitorImobilizado(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: IMOBILIZADO_ENDPOINT.findMonitor.endpoint,\n method: IMOBILIZADO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["IMOBILIZADO_ENDPOINT","endpointsConfig","apiFindMonitorImobilizado","body","ApiService"],"mappings":";;;AAIA,MAAMA,IAAuBC,EAAgB,GAAG;AAEhD,eAAsBC,EAA0BC,GAAsB;AAClE,SAAOC,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMG;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncotermsService.js","sources":["../../../../../../lib/base/services/modules/dm/incoterms/IncotermsService.
|
|
1
|
+
{"version":3,"file":"IncotermsService.js","sources":["../../../../../../lib/base/services/modules/dm/incoterms/IncotermsService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TIncoterms } from \"@base/@types/models/dm/incoterms\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst INCOTERMS_ENDPOINT = endpointsConfig.dm.incoterms;\n\ntype IncotermsResponse = {\n content: TIncoterms[];\n};\n\nexport async function apiFindDmIncoterms(data = {}) {\n return ApiService.fetchDataWithAxios<IncotermsResponse>({\n url: INCOTERMS_ENDPOINT.find.endpoint,\n method: INCOTERMS_ENDPOINT.find.method,\n data,\n });\n}\n"],"names":["INCOTERMS_ENDPOINT","endpointsConfig","apiFindDmIncoterms","data","ApiService"],"mappings":";;;AAIA,MAAMA,IAAqBC,EAAgB,GAAG;AAM9C,eAAsBC,EAAmBC,IAAO,IAAI;AAChD,SAAOC,EAAW,mBAAsC;AAAA,IACpD,KAAKJ,EAAmB,KAAK;AAAA,IAC7B,QAAQA,EAAmB,KAAK;AAAA,IAChC,MAAAG;AAAA,EAAA,CACH;AACL;"}
|
|
@@ -1,46 +1,56 @@
|
|
|
1
|
-
import { apiFindDmBusinessPartner as
|
|
1
|
+
import { apiFindDmBusinessPartner as n, apiFindDmBusinessPartnerCliente as r, apiFindDmBusinessPartnerFornecedor as a, apiFindMonitorFornecedor as d, apiFindMonitorTransportadora as p } from "./businessPartner/BusinessPartnerService.js";
|
|
2
2
|
import { apiFindDmCanalDistribuicao as e, apiFindDmCanalDistribuicaoByCodigo as m } from "./canalDistribuicao/CanalDistribuicaoService.js";
|
|
3
3
|
import { apiFindDmCentro as D, apiFindDmCentroByCodigo as s, apiFindMonitorCentro as C } from "./centro/CentroService.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
4
|
+
import { apiFindMonitorCentroCusto as f } from "./centroCusto/CentroCustoService.js";
|
|
5
|
+
import { apiFindDmCondicaoPagamento as c, apiFindMonitorCondicaoPagamento as P } from "./condicaoPagamento/CondicaoPagamentoService.js";
|
|
6
|
+
import { apiFindMonitorContaContabil as B } from "./contaContabil/ContaContabilService.js";
|
|
7
|
+
import { apiFindDmDeposito as y, apiFindDmDepositoByCodigo as V, apiFindDmDepositosByCodigoCentro as l, apiFindMonitorDeposito as b } from "./deposito/DepositoService.js";
|
|
8
|
+
import { apiFindDmEscritorioVenda as T, apiFindDmEscritorioVendaByCodigo as I } from "./escritorioVenda/EscritorioVendaService.js";
|
|
9
|
+
import { apiFindDmFormaPagamento as v, apiFindDmFormaPagamentoByCodigo as z } from "./formaPagamento/FormaPagamentoService.js";
|
|
10
|
+
import { apiFindDmGrupoVenda as R, apiFindDmGrupoVendaByCodigo as S, apiFindMonitorGrupoVenda as U } from "./grupoVenda/GrupoVendaService.js";
|
|
11
|
+
import { apiFindMonitorImobilizado as j } from "./imobilizado/ImobilizadoService.js";
|
|
12
|
+
import { apiFindDmIncoterms as q } from "./incoterms/IncotermsService.js";
|
|
13
|
+
import { apiFindDmProduto as H, apiFindDmProdutoByCodigo as J, apiFindDmProdutoByGrupoProduto as K, apiFindDmProdutoIsPrecificadoRacao as L, apiFindMonitorProduto as N } from "./produto/ProdutoService.js";
|
|
14
|
+
import { apiFindDmSetorAtividade as Q } from "./setorAtividade/SetorAtividadeService.js";
|
|
15
|
+
import { apiFindDmTipoDocumentoVenda as X, apiFindDmTipoDocumentoVendaByCodigo as Y, apiFindMonitorTipoDocumentoVenda as Z } from "./tipoDocumentoVenda/TipoDocumentoVendaService.js";
|
|
16
|
+
import { apiFindUser as $ } from "./user/UserService.js";
|
|
14
17
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
n as apiFindDmBusinessPartner,
|
|
19
|
+
r as apiFindDmBusinessPartnerCliente,
|
|
17
20
|
a as apiFindDmBusinessPartnerFornecedor,
|
|
18
21
|
e as apiFindDmCanalDistribuicao,
|
|
19
22
|
m as apiFindDmCanalDistribuicaoByCodigo,
|
|
20
23
|
D as apiFindDmCentro,
|
|
21
24
|
s as apiFindDmCentroByCodigo,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
c as apiFindDmCondicaoPagamento,
|
|
26
|
+
y as apiFindDmDeposito,
|
|
27
|
+
V as apiFindDmDepositoByCodigo,
|
|
28
|
+
l as apiFindDmDepositosByCodigoCentro,
|
|
29
|
+
T as apiFindDmEscritorioVenda,
|
|
30
|
+
I as apiFindDmEscritorioVendaByCodigo,
|
|
31
|
+
v as apiFindDmFormaPagamento,
|
|
32
|
+
z as apiFindDmFormaPagamentoByCodigo,
|
|
33
|
+
R as apiFindDmGrupoVenda,
|
|
34
|
+
S as apiFindDmGrupoVendaByCodigo,
|
|
35
|
+
q as apiFindDmIncoterms,
|
|
36
|
+
H as apiFindDmProduto,
|
|
37
|
+
J as apiFindDmProdutoByCodigo,
|
|
38
|
+
K as apiFindDmProdutoByGrupoProduto,
|
|
39
|
+
L as apiFindDmProdutoIsPrecificadoRacao,
|
|
40
|
+
Q as apiFindDmSetorAtividade,
|
|
41
|
+
X as apiFindDmTipoDocumentoVenda,
|
|
42
|
+
Y as apiFindDmTipoDocumentoVendaByCodigo,
|
|
35
43
|
C as apiFindMonitorCentro,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
f as apiFindMonitorCentroCusto,
|
|
45
|
+
P as apiFindMonitorCondicaoPagamento,
|
|
46
|
+
B as apiFindMonitorContaContabil,
|
|
47
|
+
b as apiFindMonitorDeposito,
|
|
48
|
+
d as apiFindMonitorFornecedor,
|
|
49
|
+
U as apiFindMonitorGrupoVenda,
|
|
50
|
+
j as apiFindMonitorImobilizado,
|
|
51
|
+
N as apiFindMonitorProduto,
|
|
52
|
+
Z as apiFindMonitorTipoDocumentoVenda,
|
|
53
|
+
p as apiFindMonitorTransportadora,
|
|
54
|
+
$ as apiFindUser
|
|
45
55
|
};
|
|
46
56
|
//# 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":";;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProdutoService.js","sources":["../../../../../../lib/base/services/modules/dm/produto/ProdutoService.
|
|
1
|
+
{"version":3,"file":"ProdutoService.js","sources":["../../../../../../lib/base/services/modules/dm/produto/ProdutoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TProduto } from \"@base/@types/models/dm/produto\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst PRODUTO_ENDPOINT = endpointsConfig.dm.produto;\n\nexport async function apiFindDmProduto(data = {}) {\n return ApiService.fetchDataWithAxios<TProduto[]>({\n url: PRODUTO_ENDPOINT.find.endpoint,\n method: PRODUTO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmProdutoByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TProduto>({\n url: PRODUTO_ENDPOINT.findProdutoByCodigo.endpoint + `${codigo}`,\n method: PRODUTO_ENDPOINT.findProdutoByCodigo.method,\n })\n}\n\nexport async function apiFindDmProdutoIsPrecificadoRacao() {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProduto[]>>({\n url: PRODUTO_ENDPOINT.findProdutosIsPrecificadoRacao.endpoint,\n method: PRODUTO_ENDPOINT.findProdutosIsPrecificadoRacao.method,\n data: {},\n })\n}\n\nexport async function apiFindDmProdutoByGrupoProduto(grupoProduto: string) {\n return ApiService.fetchDataWithAxios<TProduto[]>({\n url: PRODUTO_ENDPOINT.findProdutosByGrupoProduto.endpoint + `${grupoProduto}`,\n method: PRODUTO_ENDPOINT.findProdutosByGrupoProduto.method,\n })\n}\n\nexport async function apiFindMonitorProduto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: PRODUTO_ENDPOINT.findMonitor.endpoint,\n method: PRODUTO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["PRODUTO_ENDPOINT","endpointsConfig","apiFindDmProduto","data","ApiService","apiFindDmProdutoByCodigo","codigo","apiFindDmProdutoIsPrecificadoRacao","apiFindDmProdutoByGrupoProduto","grupoProduto","apiFindMonitorProduto","body"],"mappings":";;;AAKA,MAAMA,IAAmBC,EAAgB,GAAG;AAE5C,eAAsBC,EAAiBC,IAAO,IAAI;AAC9C,SAAOC,EAAW,mBAA+B;AAAA,IAC7C,KAAKJ,EAAiB,KAAK;AAAA,IAC3B,QAAQA,EAAiB,KAAK;AAAA,IAC9B,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAyBC,GAAgB;AAC3D,SAAOF,EAAW,mBAA6B;AAAA,IAC3C,KAAKJ,EAAiB,oBAAoB,WAAW,GAAGM,CAAM;AAAA,IAC9D,QAAQN,EAAiB,oBAAoB;AAAA,EAAA,CAChD;AACL;AAEA,eAAsBO,IAAqC;AACvD,SAAOH,EAAW,mBAA+C;AAAA,IAC7D,KAAKJ,EAAiB,+BAA+B;AAAA,IACrD,QAAQA,EAAiB,+BAA+B;AAAA,IACxD,MAAM,CAAA;AAAA,EAAC,CACV;AACL;AAEA,eAAsBQ,EAA+BC,GAAsB;AACvE,SAAOL,EAAW,mBAA+B;AAAA,IAC7C,KAAKJ,EAAiB,2BAA2B,WAAW,GAAGS,CAAY;AAAA,IAC3E,QAAQT,EAAiB,2BAA2B;AAAA,EAAA,CACvD;AACL;AAEA,eAAsBU,EAAsBC,GAAsB;AAC9D,SAAOP,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAAiB,YAAY;AAAA,IAClC,QAAQA,EAAiB,YAAY;AAAA,IACrC,MAAMW;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import i from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import "../../../../configs/index.js";
|
|
3
|
+
import t from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
4
|
+
const o = t.dm.tipoDocumentoVenda;
|
|
5
|
+
async function m(n = {}) {
|
|
6
|
+
return i.fetchDataWithAxios({
|
|
7
|
+
url: o.find.endpoint,
|
|
8
|
+
method: o.find.method,
|
|
9
|
+
data: n
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
async function p(n) {
|
|
13
|
+
return i.fetchDataWithAxios({
|
|
14
|
+
url: o.findTipoDocumentoVendaByCodigo.endpoint + `${n}`,
|
|
15
|
+
method: o.findTipoDocumentoVendaByCodigo.method
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async function r(n) {
|
|
19
|
+
return i.fetchDataWithAxios({
|
|
20
|
+
url: o.findMonitor.endpoint,
|
|
21
|
+
method: o.findMonitor.httpMethod,
|
|
22
|
+
data: n
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
m as apiFindDmTipoDocumentoVenda,
|
|
27
|
+
p as apiFindDmTipoDocumentoVendaByCodigo,
|
|
28
|
+
r as apiFindMonitorTipoDocumentoVenda
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=TipoDocumentoVendaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TipoDocumentoVendaService.js","sources":["../../../../../../lib/base/services/modules/dm/tipoDocumentoVenda/TipoDocumentoVendaService.tsx"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoDocumentoVenda } from \"@base/@types/models/dm/tipoDocumentoVenda\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst TIPO_DOCUMENTO_VENDA_ENDPOINT = endpointsConfig.dm.tipoDocumentoVenda;\n\nexport async function apiFindDmTipoDocumentoVenda(data = {}) {\n return ApiService.fetchDataWithAxios<TTipoDocumentoVenda[]>({\n url: TIPO_DOCUMENTO_VENDA_ENDPOINT.find.endpoint,\n method: TIPO_DOCUMENTO_VENDA_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmTipoDocumentoVendaByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TTipoDocumentoVenda>({\n url: TIPO_DOCUMENTO_VENDA_ENDPOINT.findTipoDocumentoVendaByCodigo.endpoint + `${codigo}`,\n method: TIPO_DOCUMENTO_VENDA_ENDPOINT.findTipoDocumentoVendaByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorTipoDocumentoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: TIPO_DOCUMENTO_VENDA_ENDPOINT.findMonitor.endpoint,\n method: TIPO_DOCUMENTO_VENDA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["TIPO_DOCUMENTO_VENDA_ENDPOINT","endpointsConfig","apiFindDmTipoDocumentoVenda","data","ApiService","apiFindDmTipoDocumentoVendaByCodigo","codigo","apiFindMonitorTipoDocumentoVenda","body"],"mappings":";;;AAKA,MAAMA,IAAgCC,EAAgB,GAAG;AAEzD,eAAsBC,EAA4BC,IAAO,IAAI;AACzD,SAAOC,EAAW,mBAA0C;AAAA,IACxD,KAAKJ,EAA8B,KAAK;AAAA,IACxC,QAAQA,EAA8B,KAAK;AAAA,IAC3C,MAAAG;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAoCC,GAAgB;AACtE,SAAOF,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA8B,+BAA+B,WAAW,GAAGM,CAAM;AAAA,IACtF,QAAQN,EAA8B,+BAA+B;AAAA,EAAA,CACxE;AACL;AAEA,eAAsBO,EAAiCC,GAAsB;AACzE,SAAOJ,EAAW,mBAAwC;AAAA,IACtD,KAAKJ,EAA8B,YAAY;AAAA,IAC/C,QAAQA,EAA8B,YAAY;AAAA,IAClD,MAAMQ;AAAA,EAAA,CACT;AACL;"}
|