@orbe-agro/client-core 5.6.62 → 5.6.64

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 (50) hide show
  1. package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts +2 -0
  2. package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts.map +1 -1
  3. package/dist/@types/base/@types/api/response/bayer/types.d.ts +14 -0
  4. package/dist/@types/base/@types/api/response/bayer/types.d.ts.map +1 -1
  5. package/dist/@types/base/@types/enums/bayer/StatusOrbe.d.ts +6 -0
  6. package/dist/@types/base/@types/enums/bayer/StatusOrbe.d.ts.map +1 -0
  7. package/dist/@types/base/@types/enums/bayer/StatusRetencao.d.ts +6 -0
  8. package/dist/@types/base/@types/enums/bayer/StatusRetencao.d.ts.map +1 -0
  9. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts +1 -0
  10. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts.map +1 -1
  11. package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts +1 -0
  12. package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts.map +1 -1
  13. package/dist/@types/base/configs/endpoints.config/dm/config/user.d.ts +4 -0
  14. package/dist/@types/base/configs/endpoints.config/dm/config/user.d.ts.map +1 -1
  15. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +4 -0
  16. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
  17. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +5 -0
  18. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  19. package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts +2 -1
  20. package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts.map +1 -1
  21. package/dist/@types/base/services/modules/dm/user/UserService.d.ts +1 -0
  22. package/dist/@types/base/services/modules/dm/user/UserService.d.ts.map +1 -1
  23. package/dist/base/@types/api/response/bayer/types.js +8 -1
  24. package/dist/base/@types/api/response/bayer/types.js.map +1 -1
  25. package/dist/base/@types/enums/bayer/StatusOrbe.js +10 -0
  26. package/dist/base/@types/enums/bayer/StatusOrbe.js.map +1 -0
  27. package/dist/base/@types/enums/bayer/StatusRetencao.js +10 -0
  28. package/dist/base/@types/enums/bayer/StatusRetencao.js.map +1 -0
  29. package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js +1 -0
  30. package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js.map +1 -1
  31. package/dist/base/configs/endpoints.config/dm/config/user.js +4 -0
  32. package/dist/base/configs/endpoints.config/dm/config/user.js.map +1 -1
  33. package/dist/base/index.js +4 -2
  34. package/dist/base/services/index.js +4 -2
  35. package/dist/base/services/modules/bayer/entregaBayerService.js +7 -0
  36. package/dist/base/services/modules/bayer/entregaBayerService.js.map +1 -1
  37. package/dist/base/services/modules/bayer/index.js +2 -1
  38. package/dist/base/services/modules/dm/index.js +2 -1
  39. package/dist/base/services/modules/dm/user/UserService.js +8 -0
  40. package/dist/base/services/modules/dm/user/UserService.js.map +1 -1
  41. package/dist/base/services/modules/index.js +2 -1
  42. package/lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts +2 -0
  43. package/lib/base/@types/api/response/bayer/types.ts +16 -0
  44. package/lib/base/@types/enums/bayer/StatusOrbe.ts +5 -0
  45. package/lib/base/@types/enums/bayer/StatusRetencao.ts +5 -0
  46. package/lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts +1 -0
  47. package/lib/base/configs/endpoints.config/dm/config/user.ts +4 -0
  48. package/lib/base/services/modules/bayer/entregaBayerService.ts +9 -1
  49. package/lib/base/services/modules/dm/user/UserService.tsx +9 -0
  50. package/package.json +1 -1
@@ -1,11 +1,13 @@
1
1
  export interface TFindAllRetencaoResponse {
2
2
  id: number;
3
3
  entregaId: number;
4
+ liquidacaoId: number;
4
5
  fixacaoId: string;
5
6
  cnpjFilial: string;
6
7
  documentoProdutor: string;
7
8
  quantidadeRetida: number;
8
9
  status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
10
+ statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
9
11
  dataCriacao: string;
10
12
  }
11
13
  //# sourceMappingURL=TFindAllRetencaoResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TFindAllRetencaoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"TFindAllRetencaoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;IAC7C,UAAU,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -73,4 +73,18 @@ export interface AtualizarQuantidadesEntregaRequest {
73
73
  quantidadeRetida: number;
74
74
  quantidadeBaixadaConsumida: number;
75
75
  }
76
+ export declare enum StatusTransacaoEntrega {
77
+ CONSUMO = "CONSUMO",
78
+ ESTORNO = "ESTORNO"
79
+ }
80
+ export interface TTransacaoEntregaResponse {
81
+ id: number;
82
+ entregaId: number;
83
+ saldoEntradaGraosId: number;
84
+ liquidacaoId: number;
85
+ quantidadeBaixadaConsumida: number;
86
+ quantidadeRetida: number;
87
+ statusTransacaoEntrega: StatusTransacaoEntrega;
88
+ dataTransacao: string;
89
+ }
76
90
  //# 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;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC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AAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
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,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,SAAS,GAAG,aAAa,GAAG,uBAAuB,GAAG,sBAAsB,GAAG,8BAA8B,GAAG,gBAAgB,CAAC;IAC7I,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IA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,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,0BAA0B,EAAE,MAAM,CAAC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,6 @@
1
+ export declare enum StatusOrbe {
2
+ CONCLUIDO = "CONCLUIDO",
3
+ CANCELADO = "CANCELADO",
4
+ ERRO = "ERRO"
5
+ }
6
+ //# sourceMappingURL=StatusOrbe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusOrbe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/bayer/StatusOrbe.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,IAAI,SAAS;CAChB"}
@@ -0,0 +1,6 @@
1
+ export declare enum StatusRetencao {
2
+ SUCCEEDED = "SUCCEEDED",
3
+ REGISTERED = "REGISTERED",
4
+ ERROR = "ERROR"
5
+ }
6
+ //# sourceMappingURL=StatusRetencao.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusRetencao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/bayer/StatusRetencao.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACtB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,KAAK,UAAU;CAClB"}
@@ -11,6 +11,7 @@ declare const bayer: {
11
11
  aplicarRetencao: () => string;
12
12
  cancelarEntrega: (id: number) => string;
13
13
  atualizarQuantidades: (id: number) => string;
14
+ transacoes: (id: number) => string;
14
15
  metrics: (params?: string) => string;
15
16
  };
16
17
  registroEntradaBayer: {
@@ -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"}
@@ -10,6 +10,7 @@ declare const entregaBayer: {
10
10
  aplicarRetencao: () => string;
11
11
  cancelarEntrega: (id: number) => string;
12
12
  atualizarQuantidades: (id: number) => string;
13
+ transacoes: (id: number) => string;
13
14
  metrics: (params?: string) => string;
14
15
  };
15
16
  export default entregaBayer;
@@ -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;+BACD,MAAM;uBACd,MAAM;CAC5B,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;qBAChB,MAAM;uBACJ,MAAM;CAC5B,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -15,6 +15,10 @@ declare const user: {
15
15
  endpoint: string;
16
16
  httpMethod: "get";
17
17
  };
18
+ findVendedorIdByUserId: (userId: string | number) => {
19
+ endpoint: string;
20
+ httpMethod: "get";
21
+ };
18
22
  verificaUserPossuiFuncionalidade: {
19
23
  endpoint: string;
20
24
  httpMethod: string;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;0BAIgB,MAAM,GAAG,MAAM;;;;;;;;;;;;CAYxC,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;0BAIgB,MAAM,GAAG,MAAM;;;;qCAIJ,MAAM,GAAG,MAAM;;;;;;;;;;;;CAYnD,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -268,6 +268,10 @@ declare const dm: {
268
268
  endpoint: string;
269
269
  httpMethod: "get";
270
270
  };
271
+ findVendedorIdByUserId: (userId: string | number) => {
272
+ endpoint: string;
273
+ httpMethod: "get";
274
+ };
271
275
  verificaUserPossuiFuncionalidade: {
272
276
  endpoint: string;
273
277
  httpMethod: string;
@@ -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"}
@@ -762,6 +762,10 @@ declare const endpointNavigationConfig: {
762
762
  endpoint: string;
763
763
  httpMethod: "get";
764
764
  };
765
+ findVendedorIdByUserId: (userId: string | number) => {
766
+ endpoint: string;
767
+ httpMethod: "get";
768
+ };
765
769
  verificaUserPossuiFuncionalidade: {
766
770
  endpoint: string;
767
771
  httpMethod: string;
@@ -2648,6 +2652,7 @@ declare const endpointNavigationConfig: {
2648
2652
  aplicarRetencao: () => string;
2649
2653
  cancelarEntrega: (id: number) => string;
2650
2654
  atualizarQuantidades: (id: number) => string;
2655
+ transacoes: (id: number) => string;
2651
2656
  metrics: (params?: string) => string;
2652
2657
  };
2653
2658
  registroEntradaBayer: {
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpo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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD7B,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, AtualizarQuantidadesEntregaRequest } from "@base/@types/api/response/bayer/types";
3
+ import { EntregaResponse, FindEntregaFilterRequest, SomatorioEntregaResponse, FindEntregaResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest, QuantidadeASerRetidaPorSaldoResponse, AplicarRetencaoResponse, AtualizarQuantidadesEntregaRequest, TTransacaoEntregaResponse } from "@base/@types/api/response/bayer/types";
4
4
  import { TFindAllMetricsEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse";
5
5
  export declare function apiFindAllEntregaBayer(params?: string): Promise<TQueryResponse<TFindAllEntregaBayerResponse>>;
6
6
  export declare function apiCreateEntrega(saldoId: number): Promise<EntregaResponse>;
@@ -14,4 +14,5 @@ export declare function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntr
14
14
  export declare function apiCancelarEntregaBayer(id: number): Promise<void>;
15
15
  export declare function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest): Promise<FindEntregaResponse>;
16
16
  export declare function apiFindEntregaBayerMetrics(params?: string): Promise<TFindAllMetricsEntregaBayerResponse>;
17
+ export declare function apiGetTransacoesEntrega(id: number): Promise<TTransacaoEntregaResponse[]>;
17
18
  //# 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,EACvB,kCAAkC,EACrC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAI1H,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;AAED,wBAAsB,0BAA0B,CAAC,MAAM,CAAC,EAAE,MAAM,gDAK/D"}
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,EAClC,yBAAyB,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAI1H,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;AAED,wBAAsB,0BAA0B,CAAC,MAAM,CAAC,EAAE,MAAM,gDAK/D;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,wCAKvD"}
@@ -8,5 +8,6 @@ export declare function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]
8
8
  idUsuario: number;
9
9
  idsCentrosCusto: number[];
10
10
  }[]>;
11
+ export declare function apiFindVendedorIdByUserId(userId: string | number): Promise<any>;
11
12
  export declare function apiVerificaUserPossuiFuncionalidade(userId: string, nomeFuncionalidade: string): Promise<unknown>;
12
13
  //# sourceMappingURL=UserService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAK9D,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,6BAKxD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gCAOnE;AAED,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,MAAM,EAAE;eACxB,MAAM;qBAAmB,MAAM,EAAE;KAKtF;AAED,wBAAsB,mCAAmC,CACrD,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,oBAQ7B"}
1
+ {"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAK9D,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,6BAKxD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gCAOnE;AAED,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,MAAM,EAAE;eACxB,MAAM;qBAAmB,MAAM,EAAE;KAKtF;AAED,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gBAOtE;AAED,wBAAsB,mCAAmC,CACrD,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,oBAQ7B"}
@@ -1,2 +1,9 @@
1
-
1
+ var StatusTransacaoEntrega = /* @__PURE__ */ ((StatusTransacaoEntrega2) => {
2
+ StatusTransacaoEntrega2["CONSUMO"] = "CONSUMO";
3
+ StatusTransacaoEntrega2["ESTORNO"] = "ESTORNO";
4
+ return StatusTransacaoEntrega2;
5
+ })(StatusTransacaoEntrega || {});
6
+ export {
7
+ StatusTransacaoEntrega
8
+ };
2
9
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sources":["../../../../../../lib/base/@types/api/response/bayer/types.ts"],"sourcesContent":["import { TRetornoEntregaResponse } from \"./TRetornoEntregaResponse\";\n\nexport interface RoyaltiesBusinessPartnerResponse {\n codigoBusinessPartner: string;\n}\n\nexport interface CreateRoyaltiesBusinessPartnerRequest {\n codigoBusinessPartner: string;\n}\n\nexport interface EntregaResponse {\n id: number;\n}\n\nexport interface FindEntregaFilterRequest {\n saldoEntradaGraosIdList: number[];\n}\n\nexport interface SomatorioEntregaPorGrupoResponse {\n grupo: string;\n totalQuantidadeEntregue: number;\n totalQuantidadeBaixada: number;\n totalQuantidadePendente: number;\n totalQuantidadeRetida: number;\n totalQuantidadeBaixadaConsumida: number;\n}\n\nexport interface SomatorioEntregaResponse {\n somatorios: SomatorioEntregaPorGrupoResponse[];\n}\n\nexport interface FindEntregaResponse {\n id: number;\n saldoEntradaGraosId: number;\n ticketId: number;\n codigoCentro: string;\n codigoDeposito: string;\n produtoId: number;\n safraId: number;\n produtorId: number;\n transgenia: 'INTACTA' | 'NAO_INTACTA' | 'INTACTA_NAO_DECLARADA' | 'ORIUNDO_PARTICIPANTE' | 'INTACTA_ORIUNDO_PARTICIPANTE' | 'SEM_TRANSGENIA';\n quantidadeEntregue: number;\n quantidadeBaixada: number;\n quantidadePendente: number;\n quantidadeRetida: number;\n quantidadeBaixadaConsumida: number;\n dataEntrega: string;\n status: 'POSITIVE' | 'NEGATIVE' | 'DECLARED' | 'ORIUNDO';\n retornoEntrega: TRetornoEntregaResponse;\n}\n\nexport interface ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest {\n saldoEntradaGraosId: number;\n quantidadeConsumida: number;\n}\n\nexport interface QuantidadeConsumidaPorSaldoEntradaGraosRequest {\n itens: ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest[];\n}\n\nexport interface ItemQuantidadeASerRetidaPorSaldoResponse {\n entregaId: number;\n saldoEntradaGraosId: number;\n quantidadeASerRetida: number;\n}\n\nexport interface QuantidadeASerRetidaPorSaldoResponse {\n businessPartnerRoyalties: string;\n itens: ItemQuantidadeASerRetidaPorSaldoResponse[];\n}\n\nexport interface ItemAplicarRetencaoResponse {\n entregaId: number;\n saldoEntradaGraosId: number;\n quantidadeRetida: number;\n fixacaoId: string;\n}\n\nexport interface AplicarRetencaoResponse {\n itens: ItemAplicarRetencaoResponse[];\n}\n\nexport interface AtualizarQuantidadesEntregaRequest {\n quantidadeEntregue: number;\n quantidadeBaixada: number;\n quantidadePendente: number;\n quantidadeRetida: number;\n quantidadeBaixadaConsumida: number;\n}\n\nexport enum StatusTransacaoEntrega {\n CONSUMO = 'CONSUMO',\n ESTORNO = 'ESTORNO',\n}\n\nexport interface TTransacaoEntregaResponse {\n id: number;\n entregaId: number;\n saldoEntradaGraosId: number;\n liquidacaoId: number;\n quantidadeBaixadaConsumida: number;\n quantidadeRetida: number;\n statusTransacaoEntrega: StatusTransacaoEntrega;\n dataTransacao: string;\n}\n"],"names":["StatusTransacaoEntrega"],"mappings":"AA0FO,IAAK,2CAAAA,4BAAL;AACLA,0BAAA,SAAA,IAAU;AACVA,0BAAA,SAAA,IAAU;AAFA,SAAAA;AAAA,GAAA,0BAAA,CAAA,CAAA;"}
@@ -0,0 +1,10 @@
1
+ var StatusOrbe = /* @__PURE__ */ ((StatusOrbe2) => {
2
+ StatusOrbe2["CONCLUIDO"] = "CONCLUIDO";
3
+ StatusOrbe2["CANCELADO"] = "CANCELADO";
4
+ StatusOrbe2["ERRO"] = "ERRO";
5
+ return StatusOrbe2;
6
+ })(StatusOrbe || {});
7
+ export {
8
+ StatusOrbe
9
+ };
10
+ //# sourceMappingURL=StatusOrbe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusOrbe.js","sources":["../../../../../lib/base/@types/enums/bayer/StatusOrbe.ts"],"sourcesContent":["export enum StatusOrbe {\n CONCLUIDO = \"CONCLUIDO\",\n CANCELADO = \"CANCELADO\",\n ERRO = \"ERRO\",\n}\n"],"names":["StatusOrbe"],"mappings":"AAAO,IAAK,+BAAAA,gBAAL;AACHA,cAAA,WAAA,IAAY;AACZA,cAAA,WAAA,IAAY;AACZA,cAAA,MAAA,IAAO;AAHC,SAAAA;AAAA,GAAA,cAAA,CAAA,CAAA;"}
@@ -0,0 +1,10 @@
1
+ var StatusRetencao = /* @__PURE__ */ ((StatusRetencao2) => {
2
+ StatusRetencao2["SUCCEEDED"] = "SUCCEEDED";
3
+ StatusRetencao2["REGISTERED"] = "REGISTERED";
4
+ StatusRetencao2["ERROR"] = "ERROR";
5
+ return StatusRetencao2;
6
+ })(StatusRetencao || {});
7
+ export {
8
+ StatusRetencao
9
+ };
10
+ //# sourceMappingURL=StatusRetencao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusRetencao.js","sources":["../../../../../lib/base/@types/enums/bayer/StatusRetencao.ts"],"sourcesContent":["export enum StatusRetencao {\n SUCCEEDED = \"SUCCEEDED\",\n REGISTERED = \"REGISTERED\",\n ERROR = \"ERROR\",\n}\n"],"names":["StatusRetencao"],"mappings":"AAAO,IAAK,mCAAAA,oBAAL;AACHA,kBAAA,WAAA,IAAY;AACZA,kBAAA,YAAA,IAAa;AACbA,kBAAA,OAAA,IAAQ;AAHA,SAAAA;AAAA,GAAA,kBAAA,CAAA,CAAA;"}
@@ -10,6 +10,7 @@ const entregaBayer = {
10
10
  aplicarRetencao: () => "/bayer/api/entregas/aplicar-retencao",
11
11
  cancelarEntrega: (id) => `/bayer/api/entregas/${id}/cancelar`,
12
12
  atualizarQuantidades: (id) => `/bayer/api/entregas/${id}/quantidades`,
13
+ transacoes: (id) => `/bayer/api/entregas/${id}/transacoes`,
13
14
  metrics: (params) => `/bayer/api/entregas/metrics?${params ?? ""}`
14
15
  };
15
16
  export {
@@ -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 atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,\n metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,\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;AAAA,EAC/D,SAAS,CAAC,WAAoB,+BAA+B,UAAU,EAAE;AAC7E;"}
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 transacoes: (id: number) => `/bayer/api/entregas/${id}/transacoes`,\n metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,\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;AAAA,EAC/D,YAAY,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACrD,SAAS,CAAC,WAAoB,+BAA+B,UAAU,EAAE;AAC7E;"}
@@ -7,6 +7,10 @@ const user = {
7
7
  endpoint: `${USER_BASE_URL}/${userId}/centros`,
8
8
  httpMethod: "get"
9
9
  }),
10
+ findVendedorIdByUserId: (userId) => ({
11
+ endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,
12
+ httpMethod: "get"
13
+ }),
10
14
  verificaUserPossuiFuncionalidade: {
11
15
  endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,
12
16
  httpMethod: "get"
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findById: { endpoint: `${USER_BASE_URL}`, httpMethod: 'get' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' },\n findCentros: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/${userId}/centros`,\n httpMethod: 'get' as const,\n }),\n verificaUserPossuiFuncionalidade: {\n endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,\n httpMethod: 'get',\n },\n idsCentrosCustoByIdsUsuarios: {\n endpoint: `${USER_BASE_URL}/ids-centros-custo-by-ids-usuarios`,\n httpMethod: 'post' as const,\n },\n}\n\nexport default user\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAG,aAAa,SAAS,YAAY,OAAA;AAAA,EACvD,UAAU,EAAE,UAAU,GAAG,aAAa,IAAI,YAAY,MAAA;AAAA,EACtD,WAAW,EAAE,UAAU,GAAG,aAAa,gBAAgB,YAAY,OAAA;AAAA,EACnE,aAAa,CAAC,YAA6B;AAAA,IACvC,UAAU,GAAG,aAAa,IAAI,MAAM;AAAA,IACpC,YAAY;AAAA,EAAA;AAAA,EAEhB,kCAAkC;AAAA,IAC9B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAAA,EAEhB,8BAA8B;AAAA,IAC1B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAEpB;"}
1
+ {"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findById: { endpoint: `${USER_BASE_URL}`, httpMethod: 'get' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' },\n findCentros: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/${userId}/centros`,\n httpMethod: 'get' as const,\n }),\n findVendedorIdByUserId: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,\n httpMethod: 'get' as const,\n }),\n verificaUserPossuiFuncionalidade: {\n endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,\n httpMethod: 'get',\n },\n idsCentrosCustoByIdsUsuarios: {\n endpoint: `${USER_BASE_URL}/ids-centros-custo-by-ids-usuarios`,\n httpMethod: 'post' as const,\n },\n}\n\nexport default user\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAG,aAAa,SAAS,YAAY,OAAA;AAAA,EACvD,UAAU,EAAE,UAAU,GAAG,aAAa,IAAI,YAAY,MAAA;AAAA,EACtD,WAAW,EAAE,UAAU,GAAG,aAAa,gBAAgB,YAAY,OAAA;AAAA,EACnE,aAAa,CAAC,YAA6B;AAAA,IACvC,UAAU,GAAG,aAAa,IAAI,MAAM;AAAA,IACpC,YAAY;AAAA,EAAA;AAAA,EAEhB,wBAAwB,CAAC,YAA6B;AAAA,IAClD,UAAU,GAAG,aAAa,gCAAgC,MAAM;AAAA,IAChE,YAAY;AAAA,EAAA;AAAA,EAEhB,kCAAkC;AAAA,IAC9B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAAA,EAEhB,8BAA8B;AAAA,IAC1B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAEpB;"}
@@ -71,7 +71,7 @@ import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural,
71
71
  import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./services/modules/transportadora/TiposCarga/TipoCargaService.js";
72
72
  import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./services/modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
73
73
  import { apiAdicionarItensCotacaoEmProcessamento, apiFinalizaRequisicaoAgrupada, apiFindMonitorRequisicaoAgrupadaItem, apiFindMonitorRequisicaoAgrupadaRequisicao } from "./services/modules/compras/requisicaoAgrupada/RequisicaoAgrupadaService.js";
74
- import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
74
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
75
75
  import { apiBuscarEntradaGraos } from "./services/modules/bayer/registroEntradaBayerService.js";
76
76
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./services/modules/bayer/pendenciaBayerService.js";
77
77
  import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./services/modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
@@ -103,7 +103,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
103
103
  import { apiFindAllveiculo } from "./services/modules/transportadora/Veiculo/VeiculoService.js";
104
104
  import { apiFindBoleto } from "./services/modules/sap/boleto/BoletoService.js";
105
105
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./services/modules/dm/produto/ProdutoService.js";
106
- import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./services/modules/dm/user/UserService.js";
106
+ import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./services/modules/dm/user/UserService.js";
107
107
  import { apiFindByNomeOrCodigo } from "./services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js";
108
108
  import { apiFindByNotaFiscal } from "./services/modules/transportadora/NotaFiscal/NotaFiscalService.js";
109
109
  import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./services/modules/dm/businessPartner/BusinessPartnerService.js";
@@ -630,6 +630,7 @@ export {
630
630
  apiFindSeguradorasComCobertura,
631
631
  apiFindUser,
632
632
  apiFindUserById,
633
+ apiFindVendedorIdByUserId,
633
634
  apiFindVerificaCadastroCompletoByCondicaoPagamento,
634
635
  apiFindvalorBrutoContrato,
635
636
  apiGeTIss,
@@ -719,6 +720,7 @@ export {
719
720
  apiGetTermoFundeinfra,
720
721
  apiGetTermoFunrural,
721
722
  apiGetTipoCarga,
723
+ apiGetTransacoesEntrega,
722
724
  apiGetUsers,
723
725
  apiGetVolumeProducaoSeloSocial,
724
726
  apiGetVolumeProducaoSeloSocialBySafraId,
@@ -74,7 +74,7 @@ import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural,
74
74
  import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./modules/transportadora/TiposCarga/TipoCargaService.js";
75
75
  import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
76
76
  import { apiAdicionarItensCotacaoEmProcessamento, apiFinalizaRequisicaoAgrupada, apiFindMonitorRequisicaoAgrupadaItem, apiFindMonitorRequisicaoAgrupadaRequisicao } from "./modules/compras/requisicaoAgrupada/RequisicaoAgrupadaService.js";
77
- import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
77
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
78
78
  import { apiBuscarEntradaGraos } from "./modules/bayer/registroEntradaBayerService.js";
79
79
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./modules/bayer/pendenciaBayerService.js";
80
80
  import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
@@ -104,7 +104,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
104
104
  import { apiFindAllveiculo } from "./modules/transportadora/Veiculo/VeiculoService.js";
105
105
  import { apiFindBoleto } from "./modules/sap/boleto/BoletoService.js";
106
106
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./modules/dm/produto/ProdutoService.js";
107
- import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./modules/dm/user/UserService.js";
107
+ import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./modules/dm/user/UserService.js";
108
108
  import { apiFindByNomeOrCodigo } from "./modules/transportadora/NaturezaCarga/NaturezaCargaService.js";
109
109
  import { apiFindByNotaFiscal } from "./modules/transportadora/NotaFiscal/NotaFiscalService.js";
110
110
  import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./modules/dm/businessPartner/BusinessPartnerService.js";
@@ -517,6 +517,7 @@ export {
517
517
  apiFindSeguradorasComCobertura,
518
518
  apiFindUser,
519
519
  apiFindUserById,
520
+ apiFindVendedorIdByUserId,
520
521
  apiFindVerificaCadastroCompletoByCondicaoPagamento,
521
522
  apiFindvalorBrutoContrato,
522
523
  apiGeTIss,
@@ -606,6 +607,7 @@ export {
606
607
  apiGetTermoFundeinfra,
607
608
  apiGetTermoFunrural,
608
609
  apiGetTipoCarga,
610
+ apiGetTransacoesEntrega,
609
611
  apiGetUsers,
610
612
  apiGetVolumeProducaoSeloSocial,
611
613
  apiGetVolumeProducaoSeloSocialBySafraId,
@@ -78,6 +78,12 @@ async function apiFindEntregaBayerMetrics(params) {
78
78
  method: "get"
79
79
  });
80
80
  }
81
+ async function apiGetTransacoesEntrega(id) {
82
+ return ApiService.fetchDataWithAxios({
83
+ url: ENTREGA_BAYER_ENDPOINT.transacoes(id),
84
+ method: "get"
85
+ });
86
+ }
81
87
  export {
82
88
  apiAplicarRetencao,
83
89
  apiAtualizarQuantidadesEntrega,
@@ -90,6 +96,7 @@ export {
90
96
  apiFindAllEntregaBayer,
91
97
  apiFindEntrega,
92
98
  apiFindEntregaBayerMetrics,
99
+ apiGetTransacoesEntrega,
93
100
  apiSomatorioEntrega
94
101
  };
95
102
  //# sourceMappingURL=entregaBayerService.js.map
@@ -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 AtualizarQuantidadesEntregaRequest\n} from \"@base/@types/api/response/bayer/types\";\nimport { TFindAllMetricsEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse\";\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\nexport async function apiFindEntregaBayerMetrics(params?: string) {\n return ApiService.fetchDataWithAxios<TFindAllMetricsEntregaBayerResponse>({\n url: ENTREGA_BAYER_ENDPOINT.metrics(params),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;AAgBA,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;AAEA,eAAsB,2BAA2B,QAAiB;AAC9D,SAAO,WAAW,mBAAwD;AAAA,IACtE,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,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 TTransacaoEntregaResponse\n} from \"@base/@types/api/response/bayer/types\";\nimport { TFindAllMetricsEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse\";\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\nexport async function apiFindEntregaBayerMetrics(params?: string) {\n return ApiService.fetchDataWithAxios<TFindAllMetricsEntregaBayerResponse>({\n url: ENTREGA_BAYER_ENDPOINT.metrics(params),\n method: 'get',\n });\n}\n\nexport async function apiGetTransacoesEntrega(id: number) {\n return ApiService.fetchDataWithAxios<TTransacaoEntregaResponse[]>({\n url: ENTREGA_BAYER_ENDPOINT.transacoes(id),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;AAiBA,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,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,IAAY;AACtD,SAAO,WAAW,mBAAgD;AAAA,IAC9D,KAAK,uBAAuB,WAAW,EAAE;AAAA,IACzC,QAAQ;AAAA,EAAA,CACX;AACL;"}
@@ -1,5 +1,5 @@
1
1
  import { apiBuscarEntradaGraos } from "./registroEntradaBayerService.js";
2
- import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./entregaBayerService.js";
2
+ import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, 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";
@@ -25,6 +25,7 @@ export {
25
25
  apiFindEntrega,
26
26
  apiFindEntregaBayerMetrics,
27
27
  apiGetRoyaltiesBusinessPartner,
28
+ apiGetTransacoesEntrega,
28
29
  apiSomatorioEntrega
29
30
  };
30
31
  //# sourceMappingURL=index.js.map
@@ -20,7 +20,7 @@ import { apiFindDmSetorAtividade } from "./setorAtividade/SetorAtividadeService.
20
20
  import { apiFindDmTipoDocumentoVenda, apiFindDmTipoDocumentoVendaByCodigo, apiFindMonitorTipoDocumentoVenda } from "./tipoDocumentoVenda/TipoDocumentoVendaService.js";
21
21
  import { apiFindDmTipoOrdemVenda, apiFindDmTipoOrdemVendaByCodigo, apiFindMonitorTipoOrdemVenda } from "./tipoOrdemVenda/TipoOrdemVendaService.js";
22
22
  import { apiFindDmTipoVeiculo, apiFindDmTipoVeiculoByCodigo, apiFindMonitorTipoVeiculo } from "./tipoVeiculo/TipoVeiculoService.js";
23
- import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./user/UserService.js";
23
+ import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./user/UserService.js";
24
24
  export {
25
25
  apiFindAllUfs,
26
26
  apiFindByCodigosProduto,
@@ -99,6 +99,7 @@ export {
99
99
  apiFindProdutosCultura,
100
100
  apiFindUser,
101
101
  apiFindUserById,
102
+ apiFindVendedorIdByUserId,
102
103
  apiFindVerificaCadastroCompletoByCondicaoPagamento,
103
104
  apiGetDmBusinessPartner,
104
105
  apiGetIdsCentrosCustoByIdsUsuarios,
@@ -36,6 +36,13 @@ async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios) {
36
36
  data: { idsUsuarios }
37
37
  });
38
38
  }
39
+ async function apiFindVendedorIdByUserId(userId) {
40
+ const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId);
41
+ return ApiService.fetchDataWithAxios({
42
+ url: endpoint,
43
+ method: httpMethod
44
+ });
45
+ }
39
46
  async function apiVerificaUserPossuiFuncionalidade(userId, nomeFuncionalidade) {
40
47
  return ApiService.fetchDataWithAxios({
41
48
  url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint.replace("{id}", userId).replace("{funcionalidade}", nomeFuncionalidade),
@@ -47,6 +54,7 @@ export {
47
54
  apiFindCentrosByUserId,
48
55
  apiFindUser,
49
56
  apiFindUserById,
57
+ apiFindVendedorIdByUserId,
50
58
  apiGetIdsCentrosCustoByIdsUsuarios,
51
59
  apiVerificaUserPossuiFuncionalidade
52
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"UserService.js","sources":["../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TGetUserResponse } from '@base/@types/models/dm/user'\nimport { endpointsConfig } from '@base/configs'\n\nconst USER_ENDPOINT = endpointsConfig.dm.user\n\nexport async function apiFindUser(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.find.endpoint,\n method: USER_ENDPOINT.find.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindUserById(id: string | number) {\n return ApiService.fetchDataWithAxios<TGetUserResponse>({\n url: USER_ENDPOINT.findById.endpoint + `/${id}`,\n method: USER_ENDPOINT.findById.httpMethod,\n })\n}\n\nexport async function apiFindByIds(filters?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.findByIds.endpoint,\n method: USER_ENDPOINT.findByIds.httpMethod,\n data: filters,\n })\n}\n\nexport async function apiFindCentrosByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findCentros(userId)\n\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]) {\n return ApiService.fetchDataWithAxios<{ idUsuario: number; idsCentrosCusto: number[] }[]>({\n url: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.endpoint,\n method: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.httpMethod,\n data: { idsUsuarios },\n })\n}\n\nexport async function apiVerificaUserPossuiFuncionalidade(\n userId: string,\n nomeFuncionalidade: string,\n) {\n return ApiService.fetchDataWithAxios({\n url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint\n .replace('{id}', userId)\n .replace('{funcionalidade}', nomeFuncionalidade),\n method: USER_ENDPOINT.verificaUserPossuiFuncionalidade.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,gBAAgBA,yBAAgB,GAAG;AAEzC,eAAsB,YAAY,MAAsB;AACpD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,KAAK;AAAA,IACxB,QAAQ,cAAc,KAAK;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB,IAAqB;AACvD,SAAO,WAAW,mBAAqC;AAAA,IACnD,KAAK,cAAc,SAAS,WAAW,IAAI,EAAE;AAAA,IAC7C,QAAQ,cAAc,SAAS;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,aAAa,SAAyB;AACxD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,UAAU;AAAA,IAC7B,QAAQ,cAAc,UAAU;AAAA,IAChC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,uBAAuB,QAAyB;AAClE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,YAAY,MAAM;AAEjE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mCAAmC,aAAuB;AAC5E,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,cAAc,6BAA6B;AAAA,IAChD,QAAQ,cAAc,6BAA6B;AAAA,IACnD,MAAM,EAAE,YAAA;AAAA,EAAY,CACvB;AACL;AAEA,eAAsB,oCAClB,QACA,oBACF;AACE,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,cAAc,iCAAiC,SAC/C,QAAQ,QAAQ,MAAM,EACtB,QAAQ,oBAAoB,kBAAkB;AAAA,IACnD,QAAQ,cAAc,iCAAiC;AAAA,EAAA,CAC1D;AACL;"}
1
+ {"version":3,"file":"UserService.js","sources":["../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TGetUserResponse } from '@base/@types/models/dm/user'\nimport { endpointsConfig } from '@base/configs'\n\nconst USER_ENDPOINT = endpointsConfig.dm.user\n\nexport async function apiFindUser(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.find.endpoint,\n method: USER_ENDPOINT.find.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindUserById(id: string | number) {\n return ApiService.fetchDataWithAxios<TGetUserResponse>({\n url: USER_ENDPOINT.findById.endpoint + `/${id}`,\n method: USER_ENDPOINT.findById.httpMethod,\n })\n}\n\nexport async function apiFindByIds(filters?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.findByIds.endpoint,\n method: USER_ENDPOINT.findByIds.httpMethod,\n data: filters,\n })\n}\n\nexport async function apiFindCentrosByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findCentros(userId)\n\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]) {\n return ApiService.fetchDataWithAxios<{ idUsuario: number; idsCentrosCusto: number[] }[]>({\n url: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.endpoint,\n method: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.httpMethod,\n data: { idsUsuarios },\n })\n}\n\nexport async function apiFindVendedorIdByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId)\n\n return ApiService.fetchDataWithAxios<any>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiVerificaUserPossuiFuncionalidade(\n userId: string,\n nomeFuncionalidade: string,\n) {\n return ApiService.fetchDataWithAxios({\n url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint\n .replace('{id}', userId)\n .replace('{funcionalidade}', nomeFuncionalidade),\n method: USER_ENDPOINT.verificaUserPossuiFuncionalidade.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,gBAAgBA,yBAAgB,GAAG;AAEzC,eAAsB,YAAY,MAAsB;AACpD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,KAAK;AAAA,IACxB,QAAQ,cAAc,KAAK;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB,IAAqB;AACvD,SAAO,WAAW,mBAAqC;AAAA,IACnD,KAAK,cAAc,SAAS,WAAW,IAAI,EAAE;AAAA,IAC7C,QAAQ,cAAc,SAAS;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,aAAa,SAAyB;AACxD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,UAAU;AAAA,IAC7B,QAAQ,cAAc,UAAU;AAAA,IAChC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,uBAAuB,QAAyB;AAClE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,YAAY,MAAM;AAEjE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mCAAmC,aAAuB;AAC5E,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,cAAc,6BAA6B;AAAA,IAChD,QAAQ,cAAc,6BAA6B;AAAA,IACnD,MAAM,EAAE,YAAA;AAAA,EAAY,CACvB;AACL;AAEA,eAAsB,0BAA0B,QAAyB;AACrE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,uBAAuB,MAAM;AAE5E,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oCAClB,QACA,oBACF;AACE,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,cAAc,iCAAiC,SAC/C,QAAQ,QAAQ,MAAM,EACtB,QAAQ,oBAAoB,kBAAkB;AAAA,IACnD,QAAQ,cAAc,iCAAiC;AAAA,EAAA,CAC1D;AACL;"}
@@ -96,7 +96,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
96
96
  import { apiFindAllveiculo } from "./transportadora/Veiculo/VeiculoService.js";
97
97
  import { apiFindBoleto } from "./sap/boleto/BoletoService.js";
98
98
  import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./dm/produto/ProdutoService.js";
99
- import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./dm/user/UserService.js";
99
+ import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./dm/user/UserService.js";
100
100
  import { apiFindByNomeOrCodigo } from "./transportadora/NaturezaCarga/NaturezaCargaService.js";
101
101
  import { apiFindByNotaFiscal } from "./transportadora/NotaFiscal/NotaFiscalService.js";
102
102
  import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./dm/businessPartner/BusinessPartnerService.js";
@@ -490,6 +490,7 @@ export {
490
490
  apiFindSeguradorasComCobertura,
491
491
  apiFindUser,
492
492
  apiFindUserById,
493
+ apiFindVendedorIdByUserId,
493
494
  apiFindVerificaCadastroCompletoByCondicaoPagamento,
494
495
  apiFindvalorBrutoContrato,
495
496
  apiGeTIss,
@@ -1,10 +1,12 @@
1
1
  export interface TFindAllRetencaoResponse {
2
2
  id: number;
3
3
  entregaId: number;
4
+ liquidacaoId: number;
4
5
  fixacaoId: string;
5
6
  cnpjFilial: string;
6
7
  documentoProdutor: string;
7
8
  quantidadeRetida: number;
8
9
  status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
10
+ statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
9
11
  dataCriacao: string;
10
12
  }
@@ -87,3 +87,19 @@ export interface AtualizarQuantidadesEntregaRequest {
87
87
  quantidadeRetida: number;
88
88
  quantidadeBaixadaConsumida: number;
89
89
  }
90
+
91
+ export enum StatusTransacaoEntrega {
92
+ CONSUMO = 'CONSUMO',
93
+ ESTORNO = 'ESTORNO',
94
+ }
95
+
96
+ export interface TTransacaoEntregaResponse {
97
+ id: number;
98
+ entregaId: number;
99
+ saldoEntradaGraosId: number;
100
+ liquidacaoId: number;
101
+ quantidadeBaixadaConsumida: number;
102
+ quantidadeRetida: number;
103
+ statusTransacaoEntrega: StatusTransacaoEntrega;
104
+ dataTransacao: string;
105
+ }
@@ -0,0 +1,5 @@
1
+ export enum StatusOrbe {
2
+ CONCLUIDO = "CONCLUIDO",
3
+ CANCELADO = "CANCELADO",
4
+ ERRO = "ERRO",
5
+ }
@@ -0,0 +1,5 @@
1
+ export enum StatusRetencao {
2
+ SUCCEEDED = "SUCCEEDED",
3
+ REGISTERED = "REGISTERED",
4
+ ERROR = "ERROR",
5
+ }
@@ -10,6 +10,7 @@ const entregaBayer = {
10
10
  aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',
11
11
  cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,
12
12
  atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,
13
+ transacoes: (id: number) => `/bayer/api/entregas/${id}/transacoes`,
13
14
  metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,
14
15
  }
15
16
 
@@ -8,6 +8,10 @@ const user = {
8
8
  endpoint: `${USER_BASE_URL}/${userId}/centros`,
9
9
  httpMethod: 'get' as const,
10
10
  }),
11
+ findVendedorIdByUserId: (userId: string | number) => ({
12
+ endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,
13
+ httpMethod: 'get' as const,
14
+ }),
11
15
  verificaUserPossuiFuncionalidade: {
12
16
  endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,
13
17
  httpMethod: 'get',
@@ -10,7 +10,8 @@ import {
10
10
  QuantidadeConsumidaPorSaldoEntradaGraosRequest,
11
11
  QuantidadeASerRetidaPorSaldoResponse,
12
12
  AplicarRetencaoResponse,
13
- AtualizarQuantidadesEntregaRequest
13
+ AtualizarQuantidadesEntregaRequest,
14
+ TTransacaoEntregaResponse
14
15
  } from "@base/@types/api/response/bayer/types";
15
16
  import { TFindAllMetricsEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse";
16
17
 
@@ -104,3 +105,10 @@ export async function apiFindEntregaBayerMetrics(params?: string) {
104
105
  method: 'get',
105
106
  });
106
107
  }
108
+
109
+ export async function apiGetTransacoesEntrega(id: number) {
110
+ return ApiService.fetchDataWithAxios<TTransacaoEntregaResponse[]>({
111
+ url: ENTREGA_BAYER_ENDPOINT.transacoes(id),
112
+ method: 'get',
113
+ });
114
+ }
@@ -45,6 +45,15 @@ export async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[])
45
45
  })
46
46
  }
47
47
 
48
+ export async function apiFindVendedorIdByUserId(userId: string | number) {
49
+ const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId)
50
+
51
+ return ApiService.fetchDataWithAxios<any>({
52
+ url: endpoint,
53
+ method: httpMethod,
54
+ })
55
+ }
56
+
48
57
  export async function apiVerificaUserPossuiFuncionalidade(
49
58
  userId: string,
50
59
  nomeFuncionalidade: string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.6.62",
3
+ "version": "5.6.64",
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",