@orbe-agro/client-core 5.5.74 → 5.5.75

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.
@@ -66,4 +66,11 @@ export interface ItemAplicarRetencaoResponse {
66
66
  export interface AplicarRetencaoResponse {
67
67
  itens: ItemAplicarRetencaoResponse[];
68
68
  }
69
+ export interface AtualizarQuantidadesEntregaRequest {
70
+ quantidadeEntregue: number;
71
+ quantidadeBaixada: number;
72
+ quantidadePendente: number;
73
+ quantidadeRetida: number;
74
+ quantidadeBaixadaConsumida: number;
75
+ }
69
76
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,WAAW,gCAAgC;IAC/C,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,qCAAqC;IACpD,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,+BAA+B,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,gCAAgC,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;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,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;IACzD,cAAc,EAAE,uBAAuB,CAAC;CACzC;AAED,MAAM,WAAW,kDAAkD;IACjE,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,8CAA8C;IAC7D,KAAK,EAAE,kDAAkD,EAAE,CAAC;CAC7D;AAED,MAAM,WAAW,wCAAwC;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,oCAAoC;IACnD,wBAAwB,EAAE,MAAM,CAAC;IACjC,KAAK,EAAE,wCAAwC,EAAE,CAAC;CACnD;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,2BAA2B,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,kCAAkC;IACjD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
@@ -10,6 +10,7 @@ declare const bayer: {
10
10
  buscarRetorno: () => string;
11
11
  aplicarRetencao: () => string;
12
12
  cancelarEntrega: (id: number) => string;
13
+ atualizarQuantidades: (id: number) => string;
13
14
  };
14
15
  registroEntradaBayer: {
15
16
  buscar: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"bayer.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/bayer.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOV,CAAA;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bayer.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/bayer.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOV,CAAA;AAED,eAAe,KAAK,CAAC"}
@@ -9,6 +9,7 @@ declare const entregaBayer: {
9
9
  buscarRetorno: () => string;
10
10
  aplicarRetencao: () => string;
11
11
  cancelarEntrega: (id: number) => string;
12
+ atualizarQuantidades: (id: number) => string;
12
13
  };
13
14
  export default entregaBayer;
14
15
  //# sourceMappingURL=entregaBayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entregaBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;uBACK,MAAM;6BACA,MAAM;sBACb,MAAM;;;;;;;0BAOF,MAAM;CAC/B,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"entregaBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;uBACK,MAAM;6BACA,MAAM;sBACb,MAAM;;;;;;;0BAOF,MAAM;+BACD,MAAM;CACpC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -2491,6 +2491,7 @@ declare const endpointNavigationConfig: {
2491
2491
  buscarRetorno: () => string;
2492
2492
  aplicarRetencao: () => string;
2493
2493
  cancelarEntrega: (id: number) => string;
2494
+ atualizarQuantidades: (id: number) => string;
2494
2495
  };
2495
2496
  registroEntradaBayer: {
2496
2497
  buscar: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config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;;CAoD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { TQueryResponse } from "@base/@types/api";
2
2
  import { TFindAllEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllEntregaBayerResponse";
3
- import { EntregaResponse, FindEntregaFilterRequest, SomatorioEntregaResponse, FindEntregaResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest, QuantidadeASerRetidaPorSaldoResponse, AplicarRetencaoResponse } from "@base/@types/api/response/bayer/types";
3
+ import { EntregaResponse, FindEntregaFilterRequest, SomatorioEntregaResponse, FindEntregaResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest, QuantidadeASerRetidaPorSaldoResponse, AplicarRetencaoResponse, AtualizarQuantidadesEntregaRequest } from "@base/@types/api/response/bayer/types";
4
4
  export declare function apiFindAllEntregaBayer(params?: string): Promise<TQueryResponse<TFindAllEntregaBayerResponse>>;
5
5
  export declare function apiCreateEntrega(saldoId: number): Promise<EntregaResponse>;
6
6
  export declare function apiEnviarEntregaBayer(id: number): Promise<void>;
@@ -11,4 +11,5 @@ export declare function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEnt
11
11
  export declare function apiBuscarRetornoEntregas(): Promise<void>;
12
12
  export declare function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest): Promise<AplicarRetencaoResponse>;
13
13
  export declare function apiCancelarEntregaBayer(id: number): Promise<void>;
14
+ export declare function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest): Promise<FindEntregaResponse>;
14
15
  //# sourceMappingURL=entregaBayerService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entregaBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,8DAA8D,CAAC;AAE5G,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,8CAA8C,EAC9C,oCAAoC,EACpC,uBAAuB,EAC1B,MAAM,uCAAuC,CAAC;AAI/C,wBAAsB,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,yDAK3D;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,4BAKrD;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,iBAKrD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,wBAAwB,qCAMvE;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,wBAAwB,kCAMlE;AAED,wBAAsB,yBAAyB,kBAK9C;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,8CAA8C,iDAM7F;AAED,wBAAsB,wBAAwB,kBAK7C;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,8CAA8C,oCAM5F;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,iBAKvD"}
1
+ {"version":3,"file":"entregaBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,8DAA8D,CAAC;AAE5G,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,8CAA8C,EAC9C,oCAAoC,EACpC,uBAAuB,EACvB,kCAAkC,EACrC,MAAM,uCAAuC,CAAC;AAI/C,wBAAsB,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,yDAK3D;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,4BAKrD;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,iBAKrD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,wBAAwB,qCAMvE;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,wBAAwB,kCAMlE;AAED,wBAAsB,yBAAyB,kBAK9C;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,8CAA8C,iDAM7F;AAED,wBAAsB,wBAAwB,kBAK7C;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,8CAA8C,oCAM5F;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,iBAKvD;AAED,wBAAsB,8BAA8B,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,gCAMxG"}
@@ -8,7 +8,8 @@ const entregaBayer = {
8
8
  calcularRetencao: () => "/bayer/api/entregas/calcular-retencao",
9
9
  buscarRetorno: () => "/bayer/api/entregas/buscar-retorno",
10
10
  aplicarRetencao: () => "/bayer/api/entregas/aplicar-retencao",
11
- cancelarEntrega: (id) => `/bayer/api/entregas/${id}/cancelar`
11
+ cancelarEntrega: (id) => `/bayer/api/entregas/${id}/cancelar`,
12
+ atualizarQuantidades: (id) => `/bayer/api/entregas/${id}/quantidades`
12
13
  };
13
14
  export {
14
15
  entregaBayer as default
@@ -1 +1 @@
1
- {"version":3,"file":"entregaBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"sourcesContent":["const entregaBayer = {\n findAll: (params?: string) => `/bayer/api/entregas?${params ?? ''}`,\n createEntrega: (saldoId: number) => `/bayer/api/entregas/${saldoId}`,\n enviarBayer: (id: number) => `/bayer/api/entregas/${id}/enviar-bayer`,\n somatorio: () => '/bayer/api/entregas/somatorio',\n find: () => '/bayer/api/entregas/find',\n enviarBayerLote: () => '/bayer/api/entregas/enviar-bayer-lote',\n calcularRetencao: () => '/bayer/api/entregas/calcular-retencao',\n buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',\n aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',\n cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,\n}\n\nexport default entregaBayer\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAAA,EACjB,SAAS,CAAC,WAAoB,uBAAuB,UAAU,EAAE;AAAA,EACjE,eAAe,CAAC,YAAoB,uBAAuB,OAAO;AAAA,EAClE,aAAa,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACtD,WAAW,MAAM;AAAA,EACjB,MAAM,MAAM;AAAA,EACZ,iBAAiB,MAAM;AAAA,EACvB,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,iBAAiB,MAAM;AAAA,EACvB,iBAAiB,CAAC,OAAe,uBAAuB,EAAE;AAC9D;"}
1
+ {"version":3,"file":"entregaBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"sourcesContent":["const entregaBayer = {\n findAll: (params?: string) => `/bayer/api/entregas?${params ?? ''}`,\n createEntrega: (saldoId: number) => `/bayer/api/entregas/${saldoId}`,\n enviarBayer: (id: number) => `/bayer/api/entregas/${id}/enviar-bayer`,\n somatorio: () => '/bayer/api/entregas/somatorio',\n find: () => '/bayer/api/entregas/find',\n enviarBayerLote: () => '/bayer/api/entregas/enviar-bayer-lote',\n calcularRetencao: () => '/bayer/api/entregas/calcular-retencao',\n buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',\n aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',\n cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,\n atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,\n}\n\nexport default entregaBayer\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAAA,EACjB,SAAS,CAAC,WAAoB,uBAAuB,UAAU,EAAE;AAAA,EACjE,eAAe,CAAC,YAAoB,uBAAuB,OAAO;AAAA,EAClE,aAAa,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACtD,WAAW,MAAM;AAAA,EACjB,MAAM,MAAM;AAAA,EACZ,iBAAiB,MAAM;AAAA,EACvB,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,iBAAiB,MAAM;AAAA,EACvB,iBAAiB,CAAC,OAAe,uBAAuB,EAAE;AAAA,EAC1D,sBAAsB,CAAC,OAAe,uBAAuB,EAAE;AACnE;"}
@@ -63,7 +63,7 @@ import { apiAddTermoFundeinfra, apiAprovarTermoFundeinfra, apiCancelarTermoFunde
63
63
  import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural, apiFindMonitorTermoFunrural, apiGetTermoFunrural, apiReabrirTermoFunrural, apiReprovarTermoFunrural, apiUploadArquivoAssinado } from "./services/modules/originacao/termoFunrural/termoFunruralService.js";
64
64
  import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./services/modules/transportadora/TiposCarga/TipoCargaService.js";
65
65
  import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./services/modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
66
- import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
66
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
67
67
  import { apiBuscarEntradaGraos } from "./services/modules/bayer/registroEntradaBayerService.js";
68
68
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./services/modules/bayer/pendenciaBayerService.js";
69
69
  import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./services/modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
@@ -284,6 +284,7 @@ export {
284
284
  apiAprovarRacaoPedidoVenda,
285
285
  apiAprovarTermoFundeinfra,
286
286
  apiAprovarTermoFunrural,
287
+ apiAtualizarQuantidadesEntrega,
287
288
  apiBuscarEntradaGraos,
288
289
  apiBuscarPendencias,
289
290
  apiBuscarPendenciasBayer,
@@ -63,7 +63,7 @@ import { apiAddTermoFundeinfra, apiAprovarTermoFundeinfra, apiCancelarTermoFunde
63
63
  import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural, apiFindMonitorTermoFunrural, apiGetTermoFunrural, apiReabrirTermoFunrural, apiReprovarTermoFunrural, apiUploadArquivoAssinado } from "./modules/originacao/termoFunrural/termoFunruralService.js";
64
64
  import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./modules/transportadora/TiposCarga/TipoCargaService.js";
65
65
  import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
66
- import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
66
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
67
67
  import { apiBuscarEntradaGraos } from "./modules/bayer/registroEntradaBayerService.js";
68
68
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./modules/bayer/pendenciaBayerService.js";
69
69
  import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
@@ -176,6 +176,7 @@ export {
176
176
  apiAprovarRacaoPedidoVenda,
177
177
  apiAprovarTermoFundeinfra,
178
178
  apiAprovarTermoFunrural,
179
+ apiAtualizarQuantidadesEntrega,
179
180
  apiBuscarEntradaGraos,
180
181
  apiBuscarPendencias,
181
182
  apiBuscarPendenciasBayer,
@@ -65,8 +65,16 @@ async function apiCancelarEntregaBayer(id) {
65
65
  method: "post"
66
66
  });
67
67
  }
68
+ async function apiAtualizarQuantidadesEntrega(id, data) {
69
+ return ApiService.fetchDataWithAxios({
70
+ url: ENTREGA_BAYER_ENDPOINT.atualizarQuantidades(id),
71
+ method: "put",
72
+ data
73
+ });
74
+ }
68
75
  export {
69
76
  apiAplicarRetencao,
77
+ apiAtualizarQuantidadesEntrega,
70
78
  apiBuscarRetornoEntregas,
71
79
  apiCalcularRetencao,
72
80
  apiCancelarEntregaBayer,
@@ -1 +1 @@
1
- {"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport {\n EntregaResponse,\n FindEntregaFilterRequest,\n SomatorioEntregaResponse,\n FindEntregaResponse,\n QuantidadeConsumidaPorSaldoEntradaGraosRequest,\n QuantidadeASerRetidaPorSaldoResponse,\n AplicarRetencaoResponse\n} from \"@base/@types/api/response/bayer/types\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiCreateEntrega(saldoId: number) {\n return ApiService.fetchDataWithAxios<EntregaResponse>({\n url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),\n method: 'post',\n });\n}\n\nexport async function apiEnviarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),\n method: 'post',\n });\n}\n\nexport async function apiSomatorioEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<SomatorioEntregaResponse, FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.somatorio(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiFindEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse[], FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.find(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiEnviarEntregaBayerLote() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),\n method: 'post',\n });\n}\n\nexport async function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<QuantidadeASerRetidaPorSaldoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiBuscarRetornoEntregas() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),\n method: 'post',\n });\n}\n\nexport async function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<AplicarRetencaoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiCancelarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.cancelarEntrega(id),\n method: 'post',\n });\n}\n"],"names":[],"mappings":";;AAcA,MAAM,yBAAyB,yBAAyB,MAAM;AAE9D,eAAsB,uBAAuB,QAAiB;AAC5D,SAAO,WAAW,mBAAiE;AAAA,IACjF,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,iBAAiB,SAAiB;AACpD,SAAO,WAAW,mBAAoC;AAAA,IAClD,KAAK,uBAAuB,cAAc,OAAO;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,sBAAsB,IAAY;AACpD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,YAAY,EAAE;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAgC;AACtE,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,uBAAuB,UAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,eAAe,MAAgC;AACjE,SAAO,WAAW,mBAAoE;AAAA,IAClF,KAAK,uBAAuB,KAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,4BAA4B;AAC9C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAsD;AAC5F,SAAO,WAAW,mBAAyG;AAAA,IACvH,KAAK,uBAAuB,iBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B;AAC7C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,cAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mBAAmB,MAAsD;AAC3F,SAAO,WAAW,mBAA4F;AAAA,IAC1G,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAgB,EAAE;AAAA,IAC9C,QAAQ;AAAA,EAAA,CACX;AACL;"}
1
+ {"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport {\n EntregaResponse,\n FindEntregaFilterRequest,\n SomatorioEntregaResponse,\n FindEntregaResponse,\n QuantidadeConsumidaPorSaldoEntradaGraosRequest,\n QuantidadeASerRetidaPorSaldoResponse,\n AplicarRetencaoResponse,\n AtualizarQuantidadesEntregaRequest\n} from \"@base/@types/api/response/bayer/types\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiCreateEntrega(saldoId: number) {\n return ApiService.fetchDataWithAxios<EntregaResponse>({\n url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),\n method: 'post',\n });\n}\n\nexport async function apiEnviarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),\n method: 'post',\n });\n}\n\nexport async function apiSomatorioEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<SomatorioEntregaResponse, FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.somatorio(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiFindEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse[], FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.find(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiEnviarEntregaBayerLote() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),\n method: 'post',\n });\n}\n\nexport async function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<QuantidadeASerRetidaPorSaldoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiBuscarRetornoEntregas() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),\n method: 'post',\n });\n}\n\nexport async function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<AplicarRetencaoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiCancelarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.cancelarEntrega(id),\n method: 'post',\n });\n}\n\nexport async function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse, AtualizarQuantidadesEntregaRequest>({\n url: ENTREGA_BAYER_ENDPOINT.atualizarQuantidades(id),\n method: 'put',\n data,\n });\n}\n"],"names":[],"mappings":";;AAeA,MAAM,yBAAyB,yBAAyB,MAAM;AAE9D,eAAsB,uBAAuB,QAAiB;AAC5D,SAAO,WAAW,mBAAiE;AAAA,IACjF,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,iBAAiB,SAAiB;AACpD,SAAO,WAAW,mBAAoC;AAAA,IAClD,KAAK,uBAAuB,cAAc,OAAO;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,sBAAsB,IAAY;AACpD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,YAAY,EAAE;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAgC;AACtE,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,uBAAuB,UAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,eAAe,MAAgC;AACjE,SAAO,WAAW,mBAAoE;AAAA,IAClF,KAAK,uBAAuB,KAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,4BAA4B;AAC9C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAsD;AAC5F,SAAO,WAAW,mBAAyG;AAAA,IACvH,KAAK,uBAAuB,iBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B;AAC7C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,cAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mBAAmB,MAAsD;AAC3F,SAAO,WAAW,mBAA4F;AAAA,IAC1G,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAgB,EAAE;AAAA,IAC9C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,+BAA+B,IAAY,MAA0C;AACvG,SAAO,WAAW,mBAA4E;AAAA,IAC1F,KAAK,uBAAuB,qBAAqB,EAAE;AAAA,IACnD,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;"}
@@ -1,11 +1,12 @@
1
1
  import { apiBuscarEntradaGraos } from "./registroEntradaBayerService.js";
2
- import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./entregaBayerService.js";
2
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./entregaBayerService.js";
3
3
  import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } from "./royaltiesBayerService.js";
4
4
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./pendenciaBayerService.js";
5
5
  import { apiFindAllRetencao } from "./retencaoBayerService.js";
6
6
  import { apiFindAllConsumoPendencia } from "./consumoPendenciaBayerService.js";
7
7
  export {
8
8
  apiAplicarRetencao,
9
+ apiAtualizarQuantidadesEntrega,
9
10
  apiBuscarEntradaGraos,
10
11
  apiBuscarPendencias,
11
12
  apiBuscarPendenciasBayer,
@@ -79,3 +79,11 @@ export interface ItemAplicarRetencaoResponse {
79
79
  export interface AplicarRetencaoResponse {
80
80
  itens: ItemAplicarRetencaoResponse[];
81
81
  }
82
+
83
+ export interface AtualizarQuantidadesEntregaRequest {
84
+ quantidadeEntregue: number;
85
+ quantidadeBaixada: number;
86
+ quantidadePendente: number;
87
+ quantidadeRetida: number;
88
+ quantidadeBaixadaConsumida: number;
89
+ }
@@ -9,6 +9,7 @@ const entregaBayer = {
9
9
  buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',
10
10
  aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',
11
11
  cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,
12
+ atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,
12
13
  }
13
14
 
14
15
  export default entregaBayer
@@ -9,7 +9,8 @@ import {
9
9
  FindEntregaResponse,
10
10
  QuantidadeConsumidaPorSaldoEntradaGraosRequest,
11
11
  QuantidadeASerRetidaPorSaldoResponse,
12
- AplicarRetencaoResponse
12
+ AplicarRetencaoResponse,
13
+ AtualizarQuantidadesEntregaRequest
13
14
  } from "@base/@types/api/response/bayer/types";
14
15
 
15
16
  const ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;
@@ -87,3 +88,11 @@ export async function apiCancelarEntregaBayer(id: number) {
87
88
  method: 'post',
88
89
  });
89
90
  }
91
+
92
+ export async function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest) {
93
+ return ApiService.fetchDataWithAxios<FindEntregaResponse, AtualizarQuantidadesEntregaRequest>({
94
+ url: ENTREGA_BAYER_ENDPOINT.atualizarQuantidades(id),
95
+ method: 'put',
96
+ data,
97
+ });
98
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.5.74",
3
+ "version": "5.5.75",
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",