@orbe-agro/client-core 5.6.244 → 5.6.245

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.
Files changed (34) hide show
  1. package/dist/@ecme/components/template/Footer.js +1 -1
  2. package/dist/@types/base/@types/models/racao/carga.d.ts +1 -0
  3. package/dist/@types/base/@types/models/racao/carga.d.ts.map +1 -1
  4. package/dist/@types/base/configs/endpoints.config/agendamento/agendamento.d.ts +0 -1
  5. package/dist/@types/base/configs/endpoints.config/agendamento/agendamento.d.ts.map +1 -1
  6. package/dist/@types/base/configs/endpoints.config/agendamento/config/contratoVenda.d.ts +0 -1
  7. package/dist/@types/base/configs/endpoints.config/agendamento/config/contratoVenda.d.ts.map +1 -1
  8. package/dist/@types/base/configs/endpoints.config/dm/config/municipio.d.ts +4 -0
  9. package/dist/@types/base/configs/endpoints.config/dm/config/municipio.d.ts.map +1 -1
  10. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +4 -0
  11. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
  12. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -1
  13. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  14. package/dist/@types/base/services/modules/dm/municipio/MunicipioService.d.ts +1 -0
  15. package/dist/@types/base/services/modules/dm/municipio/MunicipioService.d.ts.map +1 -1
  16. package/dist/base/@types/models/racao/carga.js.map +1 -1
  17. package/dist/base/configs/endpoints.config/agendamento/config/contratoVenda.js +0 -1
  18. package/dist/base/configs/endpoints.config/agendamento/config/contratoVenda.js.map +1 -1
  19. package/dist/base/configs/endpoints.config/dm/config/municipio.js +2 -1
  20. package/dist/base/configs/endpoints.config/dm/config/municipio.js.map +1 -1
  21. package/dist/base/index.js +2 -1
  22. package/dist/base/services/index.js +2 -1
  23. package/dist/base/services/modules/agendamento/ContratoVendaService.js +2 -2
  24. package/dist/base/services/modules/agendamento/ContratoVendaService.js.map +1 -1
  25. package/dist/base/services/modules/dm/index.js +2 -1
  26. package/dist/base/services/modules/dm/municipio/MunicipioService.js +7 -0
  27. package/dist/base/services/modules/dm/municipio/MunicipioService.js.map +1 -1
  28. package/dist/base/services/modules/index.js +2 -1
  29. package/lib/base/@types/models/racao/carga.ts +1 -0
  30. package/lib/base/configs/endpoints.config/agendamento/config/contratoVenda.ts +0 -1
  31. package/lib/base/configs/endpoints.config/dm/config/municipio.ts +2 -1
  32. package/lib/base/services/modules/agendamento/ContratoVendaService.ts +2 -2
  33. package/lib/base/services/modules/dm/municipio/MunicipioService.tsx +7 -0
  34. 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.244" : "0.0.0";
6
+ const version = true ? "5.6.245" : "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: [
@@ -59,6 +59,7 @@ export type TOrdensCarga = {
59
59
  produtos?: TProdutosOrdemCarga[];
60
60
  };
61
61
  export type TProdutosOrdemCarga = {
62
+ id?: number;
62
63
  produtoId: number;
63
64
  codigo: string;
64
65
  descricao: string;
@@ -1 +1 @@
1
- {"version":3,"file":"carga.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/racao/carga.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CA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AAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,gBAAgB,GAAG,SAAS,CAAA;IACpE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,gCAAgC,EAAE,CAAA;CACvD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,gBAAgB,GAAG,SAAS,CAAA;IACpE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAA"}
1
+ {"version":3,"file":"carga.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/racao/carga.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,oBAAoB,EAAE,MAAM,CAAA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qB,GAAG,gBAAgB,GAAG,SAAS,CAAA;IACpE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,gCAAgC,EAAE,CAAA;CACvD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,gBAAgB,GAAG,SAAS,CAAA;IACpE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAA"}
@@ -44,7 +44,6 @@ declare const agendamento: {
44
44
  contratoVenda: {
45
45
  findAll: string;
46
46
  findOne: string;
47
- findContratos: string;
48
47
  comSaldoByCliente: string;
49
48
  relatorioCotas: string;
50
49
  periodo: string;
@@ -1 +1 @@
1
- {"version":3,"file":"agendamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/agendamento/agendamento.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"agendamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/agendamento/agendamento.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,7 +1,6 @@
1
1
  declare const contratoVenda: {
2
2
  findAll: string;
3
3
  findOne: string;
4
- findContratos: string;
5
4
  comSaldoByCliente: string;
6
5
  relatorioCotas: string;
7
6
  periodo: string;
@@ -1 +1 @@
1
- {"version":3,"file":"contratoVenda.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/agendamento/config/contratoVenda.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;CAQlB,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"contratoVenda.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/agendamento/config/contratoVenda.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -19,6 +19,10 @@ declare const municipio: {
19
19
  endpoint: string;
20
20
  httpMethod: string;
21
21
  };
22
+ findById: {
23
+ endpoint: string;
24
+ httpMethod: string;
25
+ };
22
26
  };
23
27
  export default municipio;
24
28
  //# sourceMappingURL=municipio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"municipio.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/municipio.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;CAMd,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"municipio.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/municipio.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CAOd,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -388,6 +388,10 @@ declare const dm: {
388
388
  endpoint: string;
389
389
  httpMethod: string;
390
390
  };
391
+ findById: {
392
+ endpoint: string;
393
+ httpMethod: string;
394
+ };
391
395
  };
392
396
  frete: {
393
397
  find: {
@@ -1 +1 @@
1
- {"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
@@ -916,6 +916,10 @@ declare const endpointNavigationConfig: {
916
916
  endpoint: string;
917
917
  httpMethod: string;
918
918
  };
919
+ findById: {
920
+ endpoint: string;
921
+ httpMethod: string;
922
+ };
919
923
  };
920
924
  frete: {
921
925
  find: {
@@ -3328,7 +3332,6 @@ declare const endpointNavigationConfig: {
3328
3332
  contratoVenda: {
3329
3333
  findAll: string;
3330
3334
  findOne: string;
3331
- findContratos: string;
3332
3335
  comSaldoByCliente: string;
3333
3336
  relatorioCotas: string;
3334
3337
  periodo: string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -5,4 +5,5 @@ export declare function apiFindDmMunicipioByCodigo(codigo: string): Promise<TMun
5
5
  export declare function apiFindMonitorMunicipio(body?: IFilterParams): Promise<TQueryResponse<any>>;
6
6
  export declare function apiFindAllUfs(): Promise<TQueryResponse<any>>;
7
7
  export declare function apiFindMunicipioByUf(uf: string): Promise<TQueryResponse<any>>;
8
+ export declare function apiFindMunicipioById(id: string): Promise<TMunicipio>;
8
9
  //# sourceMappingURL=MunicipioService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MunicipioService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/municipio/MunicipioService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAK7D,wBAAsB,kBAAkB,CAAC,IAAI,KAAK,uCAMjD;AAED,wBAAsB,0BAA0B,CAAC,MAAM,EAAE,MAAM,uBAK9D;AAED,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMjE;AAED,wBAAsB,aAAa,iCAKlC;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,gCAKpD"}
1
+ {"version":3,"file":"MunicipioService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/municipio/MunicipioService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAK7D,wBAAsB,kBAAkB,CAAC,IAAI,KAAK,uCAMjD;AAED,wBAAsB,0BAA0B,CAAC,MAAM,EAAE,MAAM,uBAK9D;AAED,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMjE;AAED,wBAAsB,aAAa,iCAKlC;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,gCAKpD;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,uBAKpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"carga.js","sources":["../../../../../lib/base/@types/models/racao/carga.ts"],"sourcesContent":["export enum TipoCarga {\n ORDEM_VENDA = 'ORDEM_VENDA',\n TRANSFERENCIA_CD = 'TRANSFERENCIA_CD',\n}\n\nexport type TCargaColumnDef = {\n id: number\n dataCriacao: string\n usuarioCriacaoId: number\n usuarioCriacaoNome: string\n status?: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n centroId: number\n centroCodigo: string\n centroNome: string\n municipioId: number\n municipio: string\n municipioUf: string\n pesoTotal: number\n valorFreteTotal: number\n tipoCarga: string\n}\n\nexport type TCarga = {\n id?: number\n status?: string\n justificativaReprovacao?: string\n usuarioReprovacaoId?: number\n dataReprovacao?: string\n usuarioAprovacaoId?: number\n dataAprovacao?: string\n tipoVeiculoId: number\n vendedorId: number\n centroId: number\n tipoCarga: string\n incotermsId?: number\n chapa?: boolean\n municipioId: number\n capacidadeVeiculo: number\n pesoTotal: number\n valorFreteTotal?: number\n ordens?: TOrdensCarga[]\n produtos?: TProdutosCarga[]\n agendamento?: TAgendamentoCarga\n}\n\nexport type TOrdensCarga = {\n id?: number\n pedidoVendaId: number\n documentoVenda: string\n emissorId: number\n emissorBusinessPartner: string\n emissorNomeCompleto: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n pesoTotal: number\n valorFrete: number\n roteiro: string\n produtos?: TProdutosOrdemCarga[]\n}\n\nexport type TProdutosOrdemCarga = {\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n unidadeMedida: string\n}\n\nexport type TProdutosCarga = {\n id?: number\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n pesoTotal: number\n peso: number\n unidadeMedidaBase: string\n}\n\nexport type TTransportadorasAgendamentoCarga = {\n id: number\n businessPartner?: string\n nomeCompleto?: string\n cnpj?: string\n cpf?: string\n}\n\nexport type TAgendamentoCarga = {\n id: number\n cargaId: number\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n tipoContrato: string\n dataCriacao: string\n transportadoras?: TTransportadorasAgendamentoCarga[]\n}\n\nexport type TContadoresCarga = {\n total: number\n emAndamento: number\n aprovadas: number\n reprovadas: number\n}\n\nexport type TAprovarRacaoCargaPayload = {\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n transportadoraIds?: number[]\n}\n\nexport type TAprovarRacaoCarga = TAprovarRacaoCargaPayload\n"],"names":["TipoCarga"],"mappings":"AAAO,IAAK,8BAAAA,eAAL;AACHA,aAAA,aAAA,IAAc;AACdA,aAAA,kBAAA,IAAmB;AAFX,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"carga.js","sources":["../../../../../lib/base/@types/models/racao/carga.ts"],"sourcesContent":["export enum TipoCarga {\n ORDEM_VENDA = 'ORDEM_VENDA',\n TRANSFERENCIA_CD = 'TRANSFERENCIA_CD',\n}\n\nexport type TCargaColumnDef = {\n id: number\n dataCriacao: string\n usuarioCriacaoId: number\n usuarioCriacaoNome: string\n status?: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n centroId: number\n centroCodigo: string\n centroNome: string\n municipioId: number\n municipio: string\n municipioUf: string\n pesoTotal: number\n valorFreteTotal: number\n tipoCarga: string\n}\n\nexport type TCarga = {\n id?: number\n status?: string\n justificativaReprovacao?: string\n usuarioReprovacaoId?: number\n dataReprovacao?: string\n usuarioAprovacaoId?: number\n dataAprovacao?: string\n tipoVeiculoId: number\n vendedorId: number\n centroId: number\n tipoCarga: string\n incotermsId?: number\n chapa?: boolean\n municipioId: number\n capacidadeVeiculo: number\n pesoTotal: number\n valorFreteTotal?: number\n ordens?: TOrdensCarga[]\n produtos?: TProdutosCarga[]\n agendamento?: TAgendamentoCarga\n}\n\nexport type TOrdensCarga = {\n id?: number\n pedidoVendaId: number\n documentoVenda: string\n emissorId: number\n emissorBusinessPartner: string\n emissorNomeCompleto: string\n vendedorId: number\n vendedorBusinessPartner: string\n vendedorNomeCompleto: string\n pesoTotal: number\n valorFrete: number\n roteiro: string\n produtos?: TProdutosOrdemCarga[]\n}\n\nexport type TProdutosOrdemCarga = {\n id?: number\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n unidadeMedida: string\n}\n\nexport type TProdutosCarga = {\n id?: number\n produtoId: number\n codigo: string\n descricao: string\n quantidade: number\n pesoTotal: number\n peso: number\n unidadeMedidaBase: string\n}\n\nexport type TTransportadorasAgendamentoCarga = {\n id: number\n businessPartner?: string\n nomeCompleto?: string\n cnpj?: string\n cpf?: string\n}\n\nexport type TAgendamentoCarga = {\n id: number\n cargaId: number\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n tipoContrato: string\n dataCriacao: string\n transportadoras?: TTransportadorasAgendamentoCarga[]\n}\n\nexport type TContadoresCarga = {\n total: number\n emAndamento: number\n aprovadas: number\n reprovadas: number\n}\n\nexport type TAprovarRacaoCargaPayload = {\n periodoInicial: string\n periodoFinal: string\n localId: number\n cotaDiaria: number\n tipoTransporte: 'CLIENTE_AGENDAMENTO' | 'TRANSPORTADORA' | 'CLIENTE'\n tipoFrete?: 'FOB' | 'CIF'\n transportadoraIds?: number[]\n}\n\nexport type TAprovarRacaoCarga = TAprovarRacaoCargaPayload\n"],"names":["TipoCarga"],"mappings":"AAAO,IAAK,8BAAAA,eAAL;AACHA,aAAA,aAAA,IAAc;AACdA,aAAA,kBAAA,IAAmB;AAFX,SAAAA;AAAA,GAAA,aAAA,CAAA,CAAA;"}
@@ -1,7 +1,6 @@
1
1
  const contratoVenda = {
2
2
  findAll: "/agendamento/api/contrato-venda",
3
3
  findOne: "/agendamento/api/contrato-venda",
4
- findContratos: "/agendamento/api/vendas/contrato/find",
5
4
  comSaldoByCliente: "/agendamento/api/contrato-venda/com-saldo/cliente",
6
5
  relatorioCotas: "/agendamento/api/contrato-venda/find-relatorio-cotas",
7
6
  periodo: "/agendamento/api/contrato-venda/periodo",
@@ -1 +1 @@
1
- {"version":3,"file":"contratoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/agendamento/config/contratoVenda.ts"],"sourcesContent":["const contratoVenda = {\n findAll: '/agendamento/api/contrato-venda',\n findOne: '/agendamento/api/contrato-venda',\n findContratos: '/agendamento/api/vendas/contrato/find',\n comSaldoByCliente: '/agendamento/api/contrato-venda/com-saldo/cliente',\n relatorioCotas: '/agendamento/api/contrato-venda/find-relatorio-cotas',\n periodo: '/agendamento/api/contrato-venda/periodo',\n periodoCapacidade: '/agendamento/api/contrato-venda/periodo-capacidade',\n}\n\nexport default contratoVenda\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAAA,EACpB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,mBAAmB;AACrB;"}
1
+ {"version":3,"file":"contratoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/agendamento/config/contratoVenda.ts"],"sourcesContent":["const contratoVenda = {\n findAll: '/agendamento/api/contrato-venda',\n findOne: '/agendamento/api/contrato-venda',\n comSaldoByCliente: '/agendamento/api/contrato-venda/com-saldo/cliente',\n relatorioCotas: '/agendamento/api/contrato-venda/find-relatorio-cotas',\n periodo: '/agendamento/api/contrato-venda/periodo',\n periodoCapacidade: '/agendamento/api/contrato-venda/periodo-capacidade',\n}\n\nexport default contratoVenda\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAAA,EACpB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,mBAAmB;AACrB;"}
@@ -4,7 +4,8 @@ const municipio = {
4
4
  findMunicipioByCodigo: { endpoint: `${MUNICIPIO_BASE_URL}/find/`, method: "post" },
5
5
  findMonitor: { endpoint: `${MUNICIPIO_BASE_URL}/find-monitor`, httpMethod: "post" },
6
6
  findAllUfs: { endpoint: `${MUNICIPIO_BASE_URL}/find-all-ufs`, httpMethod: "get" },
7
- findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: "get" }
7
+ findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: "get" },
8
+ findById: { endpoint: `${MUNICIPIO_BASE_URL}`, httpMethod: "get" }
8
9
  };
9
10
  export {
10
11
  municipio as default
@@ -1 +1 @@
1
- {"version":3,"file":"municipio.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/municipio.ts"],"sourcesContent":["const MUNICIPIO_BASE_URL = '/dados-mestres/api/municipio'\n\nconst municipio = {\n find: { endpoint: `${MUNICIPIO_BASE_URL}/find`, method: 'post' },\n findMunicipioByCodigo: { endpoint: `${MUNICIPIO_BASE_URL}/find/`, method: 'post' },\n findMonitor: { endpoint: `${MUNICIPIO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findAllUfs: { endpoint: `${MUNICIPIO_BASE_URL}/find-all-ufs`, httpMethod: 'get' },\n findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: 'get' }\n}\n\nexport default municipio"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAE3B,MAAM,YAAY;AAAA,EACd,MAAM,EAAE,UAAU,GAAG,kBAAkB,SAAS,QAAQ,OAAA;AAAA,EACxD,uBAAuB,EAAE,UAAU,GAAG,kBAAkB,UAAU,QAAQ,OAAA;AAAA,EAC1E,aAAa,EAAE,UAAU,GAAG,kBAAkB,iBAAiB,YAAY,OAAA;AAAA,EAC3E,YAAY,EAAE,UAAU,GAAG,kBAAkB,iBAAiB,YAAY,MAAA;AAAA,EAC1E,mBAAmB,EAAE,UAAU,GAAG,kBAAkB,0BAA0B,YAAY,MAAA;AAC9F;"}
1
+ {"version":3,"file":"municipio.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/municipio.ts"],"sourcesContent":["const MUNICIPIO_BASE_URL = '/dados-mestres/api/municipio'\n\nconst municipio = {\n find: { endpoint: `${MUNICIPIO_BASE_URL}/find`, method: 'post' },\n findMunicipioByCodigo: { endpoint: `${MUNICIPIO_BASE_URL}/find/`, method: 'post' },\n findMonitor: { endpoint: `${MUNICIPIO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findAllUfs: { endpoint: `${MUNICIPIO_BASE_URL}/find-all-ufs`, httpMethod: 'get' },\n findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: 'get' },\n findById : { endpoint: `${MUNICIPIO_BASE_URL}`, httpMethod: 'get' }\n}\n\nexport default municipio"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAE3B,MAAM,YAAY;AAAA,EACd,MAAM,EAAE,UAAU,GAAG,kBAAkB,SAAS,QAAQ,OAAA;AAAA,EACxD,uBAAuB,EAAE,UAAU,GAAG,kBAAkB,UAAU,QAAQ,OAAA;AAAA,EAC1E,aAAa,EAAE,UAAU,GAAG,kBAAkB,iBAAiB,YAAY,OAAA;AAAA,EAC3E,YAAY,EAAE,UAAU,GAAG,kBAAkB,iBAAiB,YAAY,MAAA;AAAA,EAC1E,mBAAmB,EAAE,UAAU,GAAG,kBAAkB,0BAA0B,YAAY,MAAA;AAAA,EAC1F,UAAW,EAAE,UAAU,GAAG,kBAAkB,IAAI,YAAY,MAAA;AAChE;"}
@@ -135,7 +135,7 @@ import { apiFinalizarCancelamentoRetencao, apiFindAllRetencao } from "./services
135
135
  import { apiFindAllCampos } from "./services/modules/originacao/formulario/formularioService.js";
136
136
  import { apiFindAllConsumoPendencia } from "./services/modules/bayer/consumoPendenciaBayerService.js";
137
137
  import { apiFindAllDocketEstados, apiFindDocketCidadesByEstadoId } from "./services/modules/originacao/docket/docketService.js";
138
- import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./services/modules/dm/municipio/MunicipioService.js";
138
+ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioById, apiFindMunicipioByUf } from "./services/modules/dm/municipio/MunicipioService.js";
139
139
  import { apiFindAllveiculo } from "./services/modules/transportadora/Veiculo/VeiculoService.js";
140
140
  import { apiFindBoleto } from "./services/modules/sap/boleto/BoletoService.js";
141
141
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./services/modules/dm/produto/ProdutoService.js";
@@ -765,6 +765,7 @@ export {
765
765
  apiFindMonitorTipoVeiculo,
766
766
  apiFindMonitorTransportadora,
767
767
  apiFindMonitorVolumeProducaoSeloSocial,
768
+ apiFindMunicipioById,
768
769
  apiFindMunicipioByUf,
769
770
  apiFindNcmsByProdutoId,
770
771
  apiFindOneAreaAtuacao,
@@ -125,7 +125,7 @@ import { apiFinalizarCancelamentoRetencao, apiFindAllRetencao } from "./modules/
125
125
  import { apiFindAllCampos } from "./modules/originacao/formulario/formularioService.js";
126
126
  import { apiFindAllConsumoPendencia } from "./modules/bayer/consumoPendenciaBayerService.js";
127
127
  import { apiFindAllDocketEstados, apiFindDocketCidadesByEstadoId } from "./modules/originacao/docket/docketService.js";
128
- import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./modules/dm/municipio/MunicipioService.js";
128
+ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioById, apiFindMunicipioByUf } from "./modules/dm/municipio/MunicipioService.js";
129
129
  import { apiFindAllveiculo } from "./modules/transportadora/Veiculo/VeiculoService.js";
130
130
  import { apiFindBoleto } from "./modules/sap/boleto/BoletoService.js";
131
131
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./modules/dm/produto/ProdutoService.js";
@@ -613,6 +613,7 @@ export {
613
613
  apiFindMonitorTipoVeiculo,
614
614
  apiFindMonitorTransportadora,
615
615
  apiFindMonitorVolumeProducaoSeloSocial,
616
+ apiFindMunicipioById,
616
617
  apiFindMunicipioByUf,
617
618
  apiFindNcmsByProdutoId,
618
619
  apiFindOneAreaAtuacao,
@@ -29,14 +29,14 @@ async function apiFindContratosComSaldoPorCliente(clienteId) {
29
29
  }
30
30
  async function apiFindAllContratos(params) {
31
31
  return ApiService.fetchDataWithAxios({
32
- url: endpointNavigationConfig.agendamento.contratoVenda.findContratos,
32
+ url: endpointNavigationConfig.agendamento.contratoVenda.findAll,
33
33
  method: "post",
34
34
  data: params
35
35
  });
36
36
  }
37
37
  async function apiFindACDVendasContrato(contratoNumero) {
38
38
  return ApiService.fetchDataWithAxios({
39
- url: endpointNavigationConfig.agendamento.contratoVenda.findContratos,
39
+ url: endpointNavigationConfig.agendamento.contratoVenda.findAll,
40
40
  method: "post",
41
41
  data: {
42
42
  pageNumber: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"ContratoVendaService.js","sources":["../../../../../lib/base/services/modules/agendamento/ContratoVendaService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TContratoVenda, TRelatorioCota } from '@base/@types/models/agendamento/contratoVenda'\nimport { endpointsConfig } from '@base/configs'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiFindContratoSaldo(params: Record<string, unknown>) {\n const queryParams = new URLSearchParams()\n\n Object.entries(params).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach((item) => queryParams.append(key, String(item)))\n } else if (value !== undefined && value !== null) {\n queryParams.append(key, String(value))\n }\n })\n\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: `${endpointsConfig.agendamento.contratoVenda.findAll}?${queryParams.toString()}`,\n method: 'get',\n })\n}\n\nexport async function apiGetContratoVendaById(id: string | number) {\n return ApiService.fetchDataWithAxios<TContratoVenda>({\n url: `${endpointsConfig.agendamento.contratoVenda.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiFindContratosComSaldoPorCliente(clienteId: string | number) {\n return ApiService.fetchDataWithAxios<TContratoVenda[]>({\n url: `${endpointsConfig.agendamento.contratoVenda.comSaldoByCliente}/${clienteId}`,\n method: 'get',\n })\n}\n\nexport async function apiFindAllContratos(params: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: endpointsConfig.agendamento.contratoVenda.findContratos,\n method: 'post',\n data: params,\n })\n}\n\nexport async function apiFindACDVendasContrato(contratoNumero: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: endpointsConfig.agendamento.contratoVenda.findContratos,\n method: 'post',\n data: {\n pageNumber: 1,\n pageSize: 1,\n filter: { contratoNumero },\n },\n })\n}\n\nexport async function apiGetRelatorioCotas(body: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRelatorioCota>>({\n url: endpointsConfig.agendamento.contratoVenda.relatorioCotas,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetContratosPeriodo(filter: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<Record<string, unknown>[]>({\n url: endpointsConfig.agendamento.contratoVenda.periodo,\n method: 'post',\n data: filter,\n })\n}\n\nexport async function apiGetContratosPeriodoCapacidade(filter: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<Record<string, unknown>[]>({\n url: endpointsConfig.agendamento.contratoVenda.periodoCapacidade,\n method: 'post',\n data: filter,\n })\n}\n\nexport async function apiGetAgendamentosContrato(params: {\n pageNumber: number\n pageSize: number\n filter: Record<string, unknown>\n}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: '/agendamento/api-carga-descarga/agendamentos',\n method: 'post',\n data: params,\n })\n}\n\nexport async function apiGetCalendarioContrato(localId: number) {\n const response = await ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: '/agendamento/api-carga-descarga/calendarios',\n method: 'post',\n data: {\n filter: { 'local.id': localId },\n pageNumber: 1,\n pageSize: 1,\n },\n })\n return response.content?.[0] || null\n}\n\nexport async function apiGetLocaisContrato() {\n const response = await ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: endpointsConfig.agendamento.local.findAll,\n method: 'GET',\n })\n return response.content || []\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,eAAsB,qBAAqB,QAAiC;AAC1E,QAAM,cAAc,IAAI,gBAAA;AAExB,SAAO,QAAQ,MAAM,EAAE,QAAQ,CAAC,CAAC,KAAK,KAAK,MAAM;AAC/C,QAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,YAAM,QAAQ,CAAC,SAAS,YAAY,OAAO,KAAK,OAAO,IAAI,CAAC,CAAC;AAAA,IAC/D,WAAW,UAAU,UAAa,UAAU,MAAM;AAChD,kBAAY,OAAO,KAAK,OAAO,KAAK,CAAC;AAAA,IACvC;AAAA,EACF,CAAC;AAED,SAAO,WAAW,mBAAmD;AAAA,IACnE,KAAK,GAAGA,yBAAgB,YAAY,cAAc,OAAO,IAAI,YAAY,SAAA,CAAU;AAAA,IACnF,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,wBAAwB,IAAqB;AACjE,SAAO,WAAW,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R,MAAM;AAAA,EAAA,CACP;AACH;AAEA,eAAsB,yBAAyB,SAAiB;AAC9D,QAAM,WAAW,MAAM,WAAW,mBAA4D;AAAA,IAC5F,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,MAAM;AAAA,MACJ,QAAQ,EAAE,YAAY,QAAA;AAAA,MACtB,YAAY;AAAA,MACZ,UAAU;AAAA,IAAA;AAAA,EACZ,CACD;AACD,SAAO,SAAS,UAAU,CAAC,KAAK;AAClC;AAEA,eAAsB,uBAAuB;AAC3C,QAAM,WAAW,MAAM,WAAW,mBAA4D;AAAA,IAC5F,KAAKA,yBAAgB,YAAY,MAAM;AAAA,IACvC,QAAQ;AAAA,EAAA,CACT;AACD,SAAO,SAAS,WAAW,CAAA;AAC7B;"}
1
+ {"version":3,"file":"ContratoVendaService.js","sources":["../../../../../lib/base/services/modules/agendamento/ContratoVendaService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TContratoVenda, TRelatorioCota } from '@base/@types/models/agendamento/contratoVenda'\nimport { endpointsConfig } from '@base/configs'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiFindContratoSaldo(params: Record<string, unknown>) {\n const queryParams = new URLSearchParams()\n\n Object.entries(params).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach((item) => queryParams.append(key, String(item)))\n } else if (value !== undefined && value !== null) {\n queryParams.append(key, String(value))\n }\n })\n\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: `${endpointsConfig.agendamento.contratoVenda.findAll}?${queryParams.toString()}`,\n method: 'get',\n })\n}\n\nexport async function apiGetContratoVendaById(id: string | number) {\n return ApiService.fetchDataWithAxios<TContratoVenda>({\n url: `${endpointsConfig.agendamento.contratoVenda.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiFindContratosComSaldoPorCliente(clienteId: string | number) {\n return ApiService.fetchDataWithAxios<TContratoVenda[]>({\n url: `${endpointsConfig.agendamento.contratoVenda.comSaldoByCliente}/${clienteId}`,\n method: 'get',\n })\n}\n\nexport async function apiFindAllContratos(params: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: endpointsConfig.agendamento.contratoVenda.findAll,\n method: 'post',\n data: params,\n })\n}\n\nexport async function apiFindACDVendasContrato(contratoNumero: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({\n url: endpointsConfig.agendamento.contratoVenda.findAll,\n method: 'post',\n data: {\n pageNumber: 1,\n pageSize: 1,\n filter: { contratoNumero },\n },\n })\n}\n\nexport async function apiGetRelatorioCotas(body: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TRelatorioCota>>({\n url: endpointsConfig.agendamento.contratoVenda.relatorioCotas,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetContratosPeriodo(filter: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<Record<string, unknown>[]>({\n url: endpointsConfig.agendamento.contratoVenda.periodo,\n method: 'post',\n data: filter,\n })\n}\n\nexport async function apiGetContratosPeriodoCapacidade(filter: Record<string, unknown>) {\n return ApiService.fetchDataWithAxios<Record<string, unknown>[]>({\n url: endpointsConfig.agendamento.contratoVenda.periodoCapacidade,\n method: 'post',\n data: filter,\n })\n}\n\nexport async function apiGetAgendamentosContrato(params: {\n pageNumber: number\n pageSize: number\n filter: Record<string, unknown>\n}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: '/agendamento/api-carga-descarga/agendamentos',\n method: 'post',\n data: params,\n })\n}\n\nexport async function apiGetCalendarioContrato(localId: number) {\n const response = await ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: '/agendamento/api-carga-descarga/calendarios',\n method: 'post',\n data: {\n filter: { 'local.id': localId },\n pageNumber: 1,\n pageSize: 1,\n },\n })\n return response.content?.[0] || null\n}\n\nexport async function apiGetLocaisContrato() {\n const response = await ApiService.fetchDataWithAxios<TQueryResponse<Record<string, unknown>>>({\n url: endpointsConfig.agendamento.local.findAll,\n method: 'GET',\n })\n return response.content || []\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,eAAsB,qBAAqB,QAAiC;AAC1E,QAAM,cAAc,IAAI,gBAAA;AAExB,SAAO,QAAQ,MAAM,EAAE,QAAQ,CAAC,CAAC,KAAK,KAAK,MAAM;AAC/C,QAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,YAAM,QAAQ,CAAC,SAAS,YAAY,OAAO,KAAK,OAAO,IAAI,CAAC,CAAC;AAAA,IAC/D,WAAW,UAAU,UAAa,UAAU,MAAM;AAChD,kBAAY,OAAO,KAAK,OAAO,KAAK,CAAC;AAAA,IACvC;AAAA,EACF,CAAC;AAED,SAAO,WAAW,mBAAmD;AAAA,IACnE,KAAK,GAAGA,yBAAgB,YAAY,cAAc,OAAO,IAAI,YAAY,SAAA,CAAU;AAAA,IACnF,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,wBAAwB,IAAqB;AACjE,SAAO,WAAW,mBAAmC;AAAA,IACnD,KAAK,GAAGA,yBAAgB,YAAY,cAAc,OAAO,IAAI,EAAE;AAAA,IAC/D,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,mCAAmC,WAA4B;AACnF,SAAO,WAAW,mBAAqC;AAAA,IACrD,KAAK,GAAGA,yBAAgB,YAAY,cAAc,iBAAiB,IAAI,SAAS;AAAA,IAChF,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,oBAAoB,QAAiC;AACzE,SAAO,WAAW,mBAAmD;AAAA,IACnE,KAAKA,yBAAgB,YAAY,cAAc;AAAA,IAC/C,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACP;AACH;AAEA,eAAsB,yBAAyB,gBAAwB;AACrE,SAAO,WAAW,mBAAmD;AAAA,IACnE,KAAKA,yBAAgB,YAAY,cAAc;AAAA,IAC/C,QAAQ;AAAA,IACR,MAAM;AAAA,MACJ,YAAY;AA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ilizado/ImobilizadoService.js";
15
15
  import { apiFindDmIncoterms } from "./incoterms/IncotermsService.js";
16
16
  import { apiFindMonitorIva } from "./iva/IvaService.js";
17
- import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./municipio/MunicipioService.js";
17
+ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioById, apiFindMunicipioByUf } from "./municipio/MunicipioService.js";
18
18
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./produto/ProdutoService.js";
19
19
  import { apiFindDmSetorAtividade } from "./setorAtividade/SetorAtividadeService.js";
20
20
  import { apiFindDmTipoDocumentoVenda, apiFindDmTipoDocumentoVendaByCodigo, apiFindMonitorTipoDocumentoVenda } from "./tipoDocumentoVenda/TipoDocumentoVendaService.js";
@@ -93,6 +93,7 @@ export {
93
93
  apiFindMonitorTipoOrdemVenda,
94
94
  apiFindMonitorTipoVeiculo,
95
95
  apiFindMonitorTransportadora,
96
+ apiFindMunicipioById,
96
97
  apiFindMunicipioByUf,
97
98
  apiFindNcmsByProdutoId,
98
99
  apiFindProdutoComItinerario,
@@ -34,11 +34,18 @@ async function apiFindMunicipioByUf(uf) {
34
34
  method: MUNICIPIO_ENDPOINT.findMunicipioByUf.httpMethod
35
35
  });
36
36
  }
37
+ async function apiFindMunicipioById(id) {
38
+ return ApiService.fetchDataWithAxios({
39
+ url: MUNICIPIO_ENDPOINT.findById.endpoint + `/${id}`,
40
+ method: MUNICIPIO_ENDPOINT.findById.httpMethod
41
+ });
42
+ }
37
43
  export {
38
44
  apiFindAllUfs,
39
45
  apiFindDmMunicipio,
40
46
  apiFindDmMunicipioByCodigo,
41
47
  apiFindMonitorMunicipio,
48
+ apiFindMunicipioById,
42
49
  apiFindMunicipioByUf
43
50
  };
44
51
  //# sourceMappingURL=MunicipioService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MunicipioService.js","sources":["../../../../../../lib/base/services/modules/dm/municipio/MunicipioService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TMunicipio } from '@base/@types/models/dm/municipio'\nimport { endpointsConfig } from '@base/configs'\n\nconst MUNICIPIO_ENDPOINT = endpointsConfig.dm.municipio\n\nexport async function apiFindDmMunicipio(data = {}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMunicipio>>({\n url: MUNICIPIO_ENDPOINT.find.endpoint,\n method: MUNICIPIO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmMunicipioByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TMunicipio>({\n url: MUNICIPIO_ENDPOINT.findMunicipioByCodigo.endpoint + `${codigo}`,\n method: MUNICIPIO_ENDPOINT.findMunicipioByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorMunicipio(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findMonitor.endpoint,\n method: MUNICIPIO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindAllUfs() {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findAllUfs.endpoint,\n method: MUNICIPIO_ENDPOINT.findAllUfs.httpMethod,\n })\n}\n\nexport async function apiFindMunicipioByUf(uf: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findMunicipioByUf.endpoint + `${uf}`,\n method: MUNICIPIO_ENDPOINT.findMunicipioByUf.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,qBAAqBA,yBAAgB,GAAG;AAE9C,eAAsB,mBAAmB,OAAO,IAAI;AAChD,SAAO,WAAW,mBAA+C;AAAA,IAC7D,KAAK,mBAAmB,KAAK;AAAA,IAC7B,QAAQ,mBAAmB,KAAK;AAAA,IAChC;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B,QAAgB;AAC7D,SAAO,WAAW,mBAA+B;AAAA,IAC7C,KAAK,mBAAmB,sBAAsB,WAAW,GAAG,MAAM;AAAA,IAClE,QAAQ,mBAAmB,sBAAsB;AAAA,EAAA,CACpD;AACL;AAEA,eAAsB,wBAAwB,MAAsB;AAChE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,YAAY;AAAA,IACpC,QAAQ,mBAAmB,YAAY;AAAA,IACvC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB;AAClC,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,WAAW;AAAA,IACnC,QAAQ,mBAAmB,WAAW;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,qBAAqB,IAAY;AACnD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,kBAAkB,WAAW,GAAG,EAAE;AAAA,IAC1D,QAAQ,mBAAmB,kBAAkB;AAAA,EAAA,CAChD;AACL;"}
1
+ {"version":3,"file":"MunicipioService.js","sources":["../../../../../../lib/base/services/modules/dm/municipio/MunicipioService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TMunicipio } from '@base/@types/models/dm/municipio'\nimport { endpointsConfig } from '@base/configs'\n\nconst MUNICIPIO_ENDPOINT = endpointsConfig.dm.municipio\n\nexport async function apiFindDmMunicipio(data = {}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMunicipio>>({\n url: MUNICIPIO_ENDPOINT.find.endpoint,\n method: MUNICIPIO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmMunicipioByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TMunicipio>({\n url: MUNICIPIO_ENDPOINT.findMunicipioByCodigo.endpoint + `${codigo}`,\n method: MUNICIPIO_ENDPOINT.findMunicipioByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorMunicipio(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findMonitor.endpoint,\n method: MUNICIPIO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindAllUfs() {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findAllUfs.endpoint,\n method: MUNICIPIO_ENDPOINT.findAllUfs.httpMethod,\n })\n}\n\nexport async function apiFindMunicipioByUf(uf: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: MUNICIPIO_ENDPOINT.findMunicipioByUf.endpoint + `${uf}`,\n method: MUNICIPIO_ENDPOINT.findMunicipioByUf.httpMethod,\n })\n}\n\nexport async function apiFindMunicipioById(id: string) {\n return ApiService.fetchDataWithAxios<TMunicipio>({\n url: MUNICIPIO_ENDPOINT.findById.endpoint + `/${id}`,\n method: MUNICIPIO_ENDPOINT.findById.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,qBAAqBA,yBAAgB,GAAG;AAE9C,eAAsB,mBAAmB,OAAO,IAAI;AAChD,SAAO,WAAW,mBAA+C;AAAA,IAC7D,KAAK,mBAAmB,KAAK;AAAA,IAC7B,QAAQ,mBAAmB,KAAK;AAAA,IAChC;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B,QAAgB;AAC7D,SAAO,WAAW,mBAA+B;AAAA,IAC7C,KAAK,mBAAmB,sBAAsB,WAAW,GAAG,MAAM;AAAA,IAClE,QAAQ,mBAAmB,sBAAsB;AAAA,EAAA,CACpD;AACL;AAEA,eAAsB,wBAAwB,MAAsB;AAChE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,YAAY;AAAA,IACpC,QAAQ,mBAAmB,YAAY;AAAA,IACvC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB;AAClC,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,WAAW;AAAA,IACnC,QAAQ,mBAAmB,WAAW;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,qBAAqB,IAAY;AACnD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,mBAAmB,kBAAkB,WAAW,GAAG,EAAE;AAAA,IAC1D,QAAQ,mBAAmB,kBAAkB;AAAA,EAAA,CAChD;AACL;AAEA,eAAsB,qBAAqB,IAAY;AACnD,SAAO,WAAW,mBAA+B;AAAA,IAC7C,KAAK,mBAAmB,SAAS,WAAW,IAAI,EAAE;AAAA,IAClD,QAAQ,mBAAmB,SAAS;AAAA,EAAA,CACvC;AACL;"}
@@ -116,7 +116,7 @@ import { apiExecuteAcaoCotacao, apiFindCotacoesEmProcessamento, apiFindMonitorCo
116
116
  import { apiExecuteAcaoItemRequisicaoCompra, apiFindDetalhesRecebimentoMercadoria } from "./compras/itemRequisicaoCompra/ItemRequisicaoCompraService.js";
117
117
  import { apiFindAllCampos } from "./originacao/formulario/formularioService.js";
118
118
  import { apiFindAllDocketEstados, apiFindDocketCidadesByEstadoId } from "./originacao/docket/docketService.js";
119
- import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./dm/municipio/MunicipioService.js";
119
+ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioById, apiFindMunicipioByUf } from "./dm/municipio/MunicipioService.js";
120
120
  import { apiFindAllveiculo } from "./transportadora/Veiculo/VeiculoService.js";
121
121
  import { apiFindBoleto } from "./sap/boleto/BoletoService.js";
122
122
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./dm/produto/ProdutoService.js";
@@ -582,6 +582,7 @@ export {
582
582
  apiFindMonitorTipoVeiculo,
583
583
  apiFindMonitorTransportadora,
584
584
  apiFindMonitorVolumeProducaoSeloSocial,
585
+ apiFindMunicipioById,
585
586
  apiFindMunicipioByUf,
586
587
  apiFindNcmsByProdutoId,
587
588
  apiFindOneAreaAtuacao,
@@ -63,6 +63,7 @@ export type TOrdensCarga = {
63
63
  }
64
64
 
65
65
  export type TProdutosOrdemCarga = {
66
+ id?: number
66
67
  produtoId: number
67
68
  codigo: string
68
69
  descricao: string
@@ -1,7 +1,6 @@
1
1
  const contratoVenda = {
2
2
  findAll: '/agendamento/api/contrato-venda',
3
3
  findOne: '/agendamento/api/contrato-venda',
4
- findContratos: '/agendamento/api/vendas/contrato/find',
5
4
  comSaldoByCliente: '/agendamento/api/contrato-venda/com-saldo/cliente',
6
5
  relatorioCotas: '/agendamento/api/contrato-venda/find-relatorio-cotas',
7
6
  periodo: '/agendamento/api/contrato-venda/periodo',
@@ -5,7 +5,8 @@ const municipio = {
5
5
  findMunicipioByCodigo: { endpoint: `${MUNICIPIO_BASE_URL}/find/`, method: 'post' },
6
6
  findMonitor: { endpoint: `${MUNICIPIO_BASE_URL}/find-monitor`, httpMethod: 'post' },
7
7
  findAllUfs: { endpoint: `${MUNICIPIO_BASE_URL}/find-all-ufs`, httpMethod: 'get' },
8
- findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: 'get' }
8
+ findMunicipioByUf: { endpoint: `${MUNICIPIO_BASE_URL}/find-municipio-by-uf/`, httpMethod: 'get' },
9
+ findById : { endpoint: `${MUNICIPIO_BASE_URL}`, httpMethod: 'get' }
9
10
  }
10
11
 
11
12
  export default municipio
@@ -36,7 +36,7 @@ export async function apiFindContratosComSaldoPorCliente(clienteId: string | num
36
36
 
37
37
  export async function apiFindAllContratos(params: Record<string, unknown>) {
38
38
  return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({
39
- url: endpointsConfig.agendamento.contratoVenda.findContratos,
39
+ url: endpointsConfig.agendamento.contratoVenda.findAll,
40
40
  method: 'post',
41
41
  data: params,
42
42
  })
@@ -44,7 +44,7 @@ export async function apiFindAllContratos(params: Record<string, unknown>) {
44
44
 
45
45
  export async function apiFindACDVendasContrato(contratoNumero: string) {
46
46
  return ApiService.fetchDataWithAxios<TQueryResponse<TContratoVenda>>({
47
- url: endpointsConfig.agendamento.contratoVenda.findContratos,
47
+ url: endpointsConfig.agendamento.contratoVenda.findAll,
48
48
  method: 'post',
49
49
  data: {
50
50
  pageNumber: 1,
@@ -41,3 +41,10 @@ export async function apiFindMunicipioByUf(uf: string) {
41
41
  method: MUNICIPIO_ENDPOINT.findMunicipioByUf.httpMethod,
42
42
  })
43
43
  }
44
+
45
+ export async function apiFindMunicipioById(id: string) {
46
+ return ApiService.fetchDataWithAxios<TMunicipio>({
47
+ url: MUNICIPIO_ENDPOINT.findById.endpoint + `/${id}`,
48
+ method: MUNICIPIO_ENDPOINT.findById.httpMethod,
49
+ })
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.6.244",
3
+ "version": "5.6.245",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",