@orbe-agro/client-core 5.5.73 → 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.
Files changed (34) hide show
  1. package/dist/@types/base/@types/api/response/bayer/types.d.ts +7 -0
  2. package/dist/@types/base/@types/api/response/bayer/types.d.ts.map +1 -1
  3. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts +1 -0
  4. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts.map +1 -1
  5. package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts +1 -0
  6. package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts.map +1 -1
  7. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +4 -0
  8. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
  9. package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts +4 -0
  10. package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts.map +1 -1
  11. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +5 -0
  12. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  13. package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts +2 -1
  14. package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts.map +1 -1
  15. package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts +1 -0
  16. package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts.map +1 -1
  17. package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js +2 -1
  18. package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js.map +1 -1
  19. package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js +1 -0
  20. package/dist/base/configs/endpoints.config/centralNfe/config/nfe.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/bayer/entregaBayerService.js +8 -0
  24. package/dist/base/services/modules/bayer/entregaBayerService.js.map +1 -1
  25. package/dist/base/services/modules/bayer/index.js +2 -1
  26. package/dist/base/services/modules/centralNfe/index.js +2 -1
  27. package/dist/base/services/modules/centralNfe/nfe/NfeService.js +8 -0
  28. package/dist/base/services/modules/centralNfe/nfe/NfeService.js.map +1 -1
  29. package/lib/base/@types/api/response/bayer/types.ts +8 -0
  30. package/lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts +1 -0
  31. package/lib/base/configs/endpoints.config/centralNfe/config/nfe.ts +1 -0
  32. package/lib/base/services/modules/bayer/entregaBayerService.ts +10 -1
  33. package/lib/base/services/modules/centralNfe/nfe/NfeService.ts +8 -0
  34. package/package.json +1 -1
@@ -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,EAA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,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"}
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;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CA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BAA0B,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"}
@@ -84,6 +84,10 @@ declare const centralNfe: {
84
84
  endpoint: string;
85
85
  httpMethod: string;
86
86
  };
87
+ count: {
88
+ endpoint: string;
89
+ httpMethod: string;
90
+ };
87
91
  downloadPdfByChaveAcesso: {
88
92
  endpoint: string;
89
93
  httpMethod: string;
@@ -1 +1 @@
1
- {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUf,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -11,6 +11,10 @@ declare const nfe: {
11
11
  endpoint: string;
12
12
  httpMethod: string;
13
13
  };
14
+ count: {
15
+ endpoint: string;
16
+ httpMethod: string;
17
+ };
14
18
  downloadPdfByChaveAcesso: {
15
19
  endpoint: string;
16
20
  httpMethod: string;
@@ -1 +1 @@
1
- {"version":3,"file":"nfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"nfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWR,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -1831,6 +1831,10 @@ declare const endpointNavigationConfig: {
1831
1831
  endpoint: string;
1832
1832
  httpMethod: string;
1833
1833
  };
1834
+ count: {
1835
+ endpoint: string;
1836
+ httpMethod: string;
1837
+ };
1834
1838
  downloadPdfByChaveAcesso: {
1835
1839
  endpoint: string;
1836
1840
  httpMethod: string;
@@ -2487,6 +2491,7 @@ declare const endpointNavigationConfig: {
2487
2491
  buscarRetorno: () => string;
2488
2492
  aplicarRetencao: () => string;
2489
2493
  cancelarEntrega: (id: number) => string;
2494
+ atualizarQuantidades: (id: number) => string;
2490
2495
  };
2491
2496
  registroEntradaBayer: {
2492
2497
  buscar: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
@@ -1,4 +1,5 @@
1
1
  export declare function apiFindMonitorNfe(body: any): Promise<any>;
2
+ export declare function apiCountNfe(body: any): Promise<any>;
2
3
  export declare function apiFindOneNfe(id: number): Promise<any>;
3
4
  export declare function apiUpdateNfe(body: any): Promise<any>;
4
5
  export declare function downloadPdfByChaveAcesso(chaveAcesso: string): Promise<any>;
@@ -1 +1 @@
1
- {"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"names":[],"mappings":"AAKA,wBAAsB,iBAAiB,CAAC,IAAI,KAAA,gBAM3C;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,MAAM,gBAK7C;AAED,wBAAsB,YAAY,CAAC,IAAI,KAAA,gBAMtC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,gBAKjE;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAO3E;AAED,wBAAsB,mBAAmB,CAAC,IAAI,KAAA,gBAM7C;AAED,wBAAsB,yBAAyB,CAAC,IAAI,KAAA,gBAMnD;AAED,wBAAsB,uBAAuB,CAAC,YAAY,EAAE,MAAM,gBAMjE;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,gBAMnD"}
1
+ {"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"names":[],"mappings":"AAKA,wBAAsB,iBAAiB,CAAC,IAAI,KAAA,gBAM3C;AAED,wBAAsB,WAAW,CAAC,IAAI,KAAA,gBAMrC;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,MAAM,gBAK7C;AAED,wBAAsB,YAAY,CAAC,IAAI,KAAA,gBAMtC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,gBAKjE;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAO3E;AAED,wBAAsB,mBAAmB,CAAC,IAAI,KAAA,gBAM7C;AAED,wBAAsB,yBAAyB,CAAC,IAAI,KAAA,gBAMnD;AAED,wBAAsB,uBAAuB,CAAC,YAAY,EAAE,MAAM,gBAMjE;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,gBAMnD"}
@@ -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;"}
@@ -3,6 +3,7 @@ const nfe = {
3
3
  findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: "post" },
4
4
  findOne: { endpoint: NFE_BASE_URL, httpMethod: "get" },
5
5
  update: { endpoint: NFE_BASE_URL, httpMethod: "patch" },
6
+ count: { endpoint: `${NFE_BASE_URL}/count`, httpMethod: "post" },
6
7
  downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: "get" },
7
8
  validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: "post" },
8
9
  addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: "patch" },
@@ -1 +1 @@
1
- {"version":3,"file":"nfe.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"sourcesContent":["const NFE_BASE_URL = '/central-nfe/api/nfe'\n\nconst nfe = {\n findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },\n update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },\n downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },\n validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },\n addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },\n desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },\n estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: 'post' },\n estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: 'post' },\n}\n\nexport default nfe"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,MAAM;AAAA,EACR,aAAa,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,OAAA;AAAA,EACrE,SAAS,EAAE,UAAU,cAAc,YAAY,MAAA;AAAA,EAC/C,QAAQ,EAAE,UAAU,cAAc,YAAY,QAAA;AAAA,EAC9C,0BAA0B,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,MAAA;AAAA,EAClF,kBAAkB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACnG,qBAAqB,EAAE,UAAU,GAAG,YAAY,0BAA0B,YAAY,QAAA;AAAA,EACtF,wBAAwB,EAAE,UAAU,GAAG,YAAY,6BAA6B,YAAY,OAAA;AAAA,EAC5F,sBAAsB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACvG,kBAAkB,EAAE,UAAU,GAAG,YAAY,8BAA8B,YAAY,OAAA;AAC3F;"}
1
+ {"version":3,"file":"nfe.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"sourcesContent":["const NFE_BASE_URL = '/central-nfe/api/nfe'\n\nconst nfe = {\n findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },\n update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },\n count: { endpoint: `${NFE_BASE_URL}/count`, httpMethod: 'post' },\n downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },\n validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },\n addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },\n desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },\n estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: 'post' },\n estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: 'post' },\n}\n\nexport default nfe"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,MAAM;AAAA,EACR,aAAa,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,OAAA;AAAA,EACrE,SAAS,EAAE,UAAU,cAAc,YAAY,MAAA;AAAA,EAC/C,QAAQ,EAAE,UAAU,cAAc,YAAY,QAAA;AAAA,EAC9C,OAAO,EAAE,UAAU,GAAG,YAAY,UAAU,YAAY,OAAA;AAAA,EACxD,0BAA0B,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,MAAA;AAAA,EAClF,kBAAkB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACnG,qBAAqB,EAAE,UAAU,GAAG,YAAY,0BAA0B,YAAY,QAAA;AAAA,EACtF,wBAAwB,EAAE,UAAU,GAAG,YAAY,6BAA6B,YAAY,OAAA;AAAA,EAC5F,sBAAsB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACvG,kBAAkB,EAAE,UAAU,GAAG,YAAY,8BAA8B,YAAY,OAAA;AAC3F;"}
@@ -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,MAA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,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,eA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+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,
@@ -2,9 +2,10 @@ import { apiCreateNotificacaoCentralNfe, apiFindMonitorNotificacaoCentralNfe, ap
2
2
  import { apiCreateIntervaloPrecoXml, apiFindMonitorIntervaloPrecoXml, apiFindOneIntervaloPrecoXml, apiUpdateIntervaloPrecoXml } from "./intervaloPrecoXml/IntervaloPrecoXmlService.js";
3
3
  import { apiCreateVinculoUnidadeMedida, apiFindMonitorVinculoUnidadeMedida, apiFindOneVinculoUnidadeMedida, apiUpdateVinculoUnidadeMedida } from "./vinculoUnidadeMedida/VinculoUnidadeMedidaService.js";
4
4
  import { apiCreateCnpjLiberadoNota, apiFindMonitorCnpjLiberadoNota, apiFindOneCnpjLiberadoNota, apiUpdateCnpjLiberadoNota } from "./cnpjLiberadoNota/CnpjLiberadoNotaService.js";
5
- import { addLancamentoManual, apiDesvincularOrdemCompra, apiEstornarOperacao, apiEstornarPedidoCompra, apiFindMonitorNfe, apiFindOneNfe, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
5
+ import { addLancamentoManual, apiCountNfe, apiDesvincularOrdemCompra, apiEstornarOperacao, apiEstornarPedidoCompra, apiFindMonitorNfe, apiFindOneNfe, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
6
6
  export {
7
7
  addLancamentoManual,
8
+ apiCountNfe,
8
9
  apiCreateCnpjLiberadoNota,
9
10
  apiCreateIntervaloPrecoXml,
10
11
  apiCreateNotificacaoCentralNfe,
@@ -8,6 +8,13 @@ async function apiFindMonitorNfe(body) {
8
8
  data: body
9
9
  });
10
10
  }
11
+ async function apiCountNfe(body) {
12
+ return ApiService.fetchDataWithAxios({
13
+ url: NFE_ENDPOINT.count.endpoint,
14
+ method: NFE_ENDPOINT.count.httpMethod,
15
+ data: body
16
+ });
17
+ }
11
18
  async function apiFindOneNfe(id) {
12
19
  return ApiService.fetchDataWithAxios({
13
20
  url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,
@@ -61,6 +68,7 @@ async function apiEstornarOperacao(id) {
61
68
  }
62
69
  export {
63
70
  addLancamentoManual,
71
+ apiCountNfe,
64
72
  apiDesvincularOrdemCompra,
65
73
  apiEstornarOperacao,
66
74
  apiEstornarPedidoCompra,
@@ -1 +1 @@
1
- {"version":3,"file":"NfeService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst NFE_ENDPOINT = endpointConfig.centralNfe.nfe;\n\nexport async function apiFindMonitorNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.findMonitor.endpoint,\n method: NFE_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneNfe(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,\n method: NFE_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.update.endpoint,\n method: NFE_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function downloadPdfByChaveAcesso(chaveAcesso: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.downloadPdfByChaveAcesso.endpoint}/${chaveAcesso}`,\n method: NFE_ENDPOINT.downloadPdfByChaveAcesso.httpMethod\n })\n}\n\nexport async function buscaValidacaoImposto(id: number, numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.validacaoImposto.endpoint\n .replace('{id}', id.toString())\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.validacaoImposto.httpMethod\n })\n}\n\nexport async function addLancamentoManual(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.addLancamentoManual.endpoint,\n method: NFE_ENDPOINT.addLancamentoManual.httpMethod,\n data: body\n })\n}\n\nexport async function apiDesvincularOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,\n method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,\n data: body\n })\n}\n\nexport async function apiEstornarPedidoCompra(numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarPedidoCompra.endpoint\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}\n\nexport async function apiEstornarOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarOperacao.endpoint\n .replace('{id}', id.toString()),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,IAAY;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,QAAQ,QAAQ,IAAI,EAAE;AAAA,IAC3C,QAAQ,aAAa,QAAQ;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,aAAa,MAAM;AACrC,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,OAAO;AAAA,IACzB,QAAQ,aAAa,OAAO;AAAA,IAC5B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,aAAqB;AAChE,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,yBAAyB,QAAQ,IAAI,WAAW;AAAA,IACrE,QAAQ,aAAa,yBAAyB;AAAA,EAAA,CACjD;AACL;AAEA,eAAsB,sBAAsB,IAAY,cAAsB;AAC1E,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,iBAAiB,SAC9B,QAAQ,QAAQ,GAAG,SAAA,CAAU,EAC7B,QAAQ,kBAAkB,YAAY;AAAA,IAC3C,QAAQ,aAAa,iBAAiB;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,oBAAoB,MAAM;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,oBAAoB;AAAA,IACtC,QAAQ,aAAa,oBAAoB;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAM;AAClD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,uBAAuB;AAAA,IACzC,QAAQ,aAAa,uBAAuB;AAAA,IAC5C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,wBAAwB,cAAsB;AAChE,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,qBAAqB,SAClC,QAAQ,kBAAkB,YAAY;AAAA,IAC3C,QAAQ,aAAa,qBAAqB;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,iBAAiB,SAC9B,QAAQ,QAAQ,GAAG,UAAU;AAAA,IAClC,QAAQ,aAAa,qBAAqB;AAAA,EAAA,CAC7C;AACL;"}
1
+ {"version":3,"file":"NfeService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst NFE_ENDPOINT = endpointConfig.centralNfe.nfe;\n\nexport async function apiFindMonitorNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.findMonitor.endpoint,\n method: NFE_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCountNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.count.endpoint,\n method: NFE_ENDPOINT.count.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneNfe(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,\n method: NFE_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.update.endpoint,\n method: NFE_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function downloadPdfByChaveAcesso(chaveAcesso: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.downloadPdfByChaveAcesso.endpoint}/${chaveAcesso}`,\n method: NFE_ENDPOINT.downloadPdfByChaveAcesso.httpMethod\n })\n}\n\nexport async function buscaValidacaoImposto(id: number, numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.validacaoImposto.endpoint\n .replace('{id}', id.toString())\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.validacaoImposto.httpMethod\n })\n}\n\nexport async function addLancamentoManual(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.addLancamentoManual.endpoint,\n method: NFE_ENDPOINT.addLancamentoManual.httpMethod,\n data: body\n })\n}\n\nexport async function apiDesvincularOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,\n method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,\n data: body\n })\n}\n\nexport async function apiEstornarPedidoCompra(numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarPedidoCompra.endpoint\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}\n\nexport async function apiEstornarOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarOperacao.endpoint\n .replace('{id}', id.toString()),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY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A,eAAsB,wBAAwB,cAAsB;AAChE,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,qBAAqB,SAClC,QAAQ,kBAAkB,YAAY;AAAA,IAC3C,QAAQ,aAAa,qBAAqB;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,iBAAiB,SAC9B,QAAQ,QAAQ,GAAG,UAAU;AAAA,IAClC,QAAQ,aAAa,qBAAqB;AAAA,EAAA,CAC7C;AACL;"}
@@ -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
@@ -4,6 +4,7 @@ const nfe = {
4
4
  findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: 'post' },
5
5
  findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },
6
6
  update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },
7
+ count: { endpoint: `${NFE_BASE_URL}/count`, httpMethod: 'post' },
7
8
  downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },
8
9
  validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },
9
10
  addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },
@@ -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
+ }
@@ -11,6 +11,14 @@ export async function apiFindMonitorNfe(body) {
11
11
  })
12
12
  }
13
13
 
14
+ export async function apiCountNfe(body) {
15
+ return ApiService.fetchDataWithAxios<any>({
16
+ url: NFE_ENDPOINT.count.endpoint,
17
+ method: NFE_ENDPOINT.count.httpMethod,
18
+ data: body,
19
+ })
20
+ }
21
+
14
22
  export async function apiFindOneNfe(id: number) {
15
23
  return ApiService.fetchDataWithAxios<any>({
16
24
  url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.5.73",
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",