@orbe-agro/client-core-prod 5.5.85 → 5.5.87

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 (37) hide show
  1. package/dist/@types/base/@types/api/response/originacao/TFindAllPagamentoResponse.d.ts +2 -0
  2. package/dist/@types/base/@types/api/response/originacao/TFindAllPagamentoResponse.d.ts.map +1 -1
  3. package/dist/@types/base/@types/enums/originacao/StatusPenhor.d.ts +5 -0
  4. package/dist/@types/base/@types/enums/originacao/StatusPenhor.d.ts.map +1 -0
  5. package/dist/@types/base/@types/models/agendamento/ordemConsumoContratoCliente.d.ts +2 -0
  6. package/dist/@types/base/@types/models/agendamento/ordemConsumoContratoCliente.d.ts.map +1 -1
  7. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +2 -0
  8. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  9. package/dist/@types/base/configs/endpoints.config/originacao/config/liquidacao.d.ts +1 -0
  10. package/dist/@types/base/configs/endpoints.config/originacao/config/liquidacao.d.ts.map +1 -1
  11. package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts +1 -0
  12. package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts.map +1 -1
  13. package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts +2 -0
  14. package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts.map +1 -1
  15. package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts +3 -0
  16. package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts.map +1 -1
  17. package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts +4 -0
  18. package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts.map +1 -1
  19. package/dist/base/@types/enums/originacao/StatusPenhor.js +9 -0
  20. package/dist/base/@types/enums/originacao/StatusPenhor.js.map +1 -0
  21. package/dist/base/@types/models/agendamento/ordemConsumoContratoCliente.js.map +1 -1
  22. package/dist/base/configs/endpoints.config/originacao/config/liquidacao.js +2 -1
  23. package/dist/base/configs/endpoints.config/originacao/config/liquidacao.js.map +1 -1
  24. package/dist/base/configs/endpoints.config/originacao/config/pagamento.js +2 -1
  25. package/dist/base/configs/endpoints.config/originacao/config/pagamento.js.map +1 -1
  26. package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js +8 -0
  27. package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js.map +1 -1
  28. package/dist/base/services/modules/originacao/pagamento/pagamentoService.js +8 -0
  29. package/dist/base/services/modules/originacao/pagamento/pagamentoService.js.map +1 -1
  30. package/lib/base/@types/api/response/originacao/TFindAllPagamentoResponse.ts +2 -0
  31. package/lib/base/@types/enums/originacao/StatusPenhor.ts +4 -0
  32. package/lib/base/@types/models/agendamento/ordemConsumoContratoCliente.ts +2 -0
  33. package/lib/base/configs/endpoints.config/originacao/config/liquidacao.ts +1 -0
  34. package/lib/base/configs/endpoints.config/originacao/config/pagamento.ts +1 -0
  35. package/lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts +8 -0
  36. package/lib/base/services/modules/originacao/pagamento/pagamentoService.ts +8 -0
  37. package/package.json +1 -1
@@ -4,6 +4,7 @@ import { TRetencaoResponse } from "./TRetencaoResponse";
4
4
  import { TDadosBancariosPagamentoResponse } from "./TDadosBancariosPagamentoResponse";
5
5
  import { StatusPagamentoLiquidacao } from "@base/@types/enums/originacao/StatusPagamentoLiquidacao";
6
6
  import { StatusPagamento } from "@base/@types/enums/originacao/StatusPagamento";
7
+ import { StatusPenhor } from "@base/@types/enums/originacao/StatusPenhor";
7
8
  export type TFindAllPagamentoResponse = {
8
9
  id: number;
9
10
  contratoCompraGraosId: number;
@@ -22,5 +23,6 @@ export type TFindAllPagamentoResponse = {
22
23
  docAgrupamentoSap: string;
23
24
  statusPagamento: StatusPagamento;
24
25
  dadosBancariosPagamento: TDadosBancariosPagamentoResponse;
26
+ statusPenhor: StatusPenhor;
25
27
  };
26
28
  //# sourceMappingURL=TFindAllPagamentoResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TFindAllPagamentoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TFindAllPagamentoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAEhF,MAAM,MAAM,yBAAyB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,EAAE,MAAM,CAAC;IAC9B,QAAQ,EAAE,+BAA+B,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,uBAAuB,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,eAAe,CAAC;IACjC,uBAAuB,EAAE,gCAAgC,CAAC;CAC7D,CAAA"}
1
+ {"version":3,"file":"TFindAllPagamentoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TFindAllPagamentoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE1E,MAAM,MAAM,yBAAyB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,EAAE,MAAM,CAAC;IAC9B,QAAQ,EAAE,+BAA+B,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,uBAAuB,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,eAAe,CAAC;IACjC,uBAAuB,EAAE,gCAAgC,CAAC;IAC1D,YAAY,EAAE,YAAY,CAAC;CAC9B,CAAA"}
@@ -0,0 +1,5 @@
1
+ export declare enum StatusPenhor {
2
+ POSITIVO = "POSITIVO",
3
+ NEGATIVO = "NEGATIVO"
4
+ }
5
+ //# sourceMappingURL=StatusPenhor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusPenhor.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/originacao/StatusPenhor.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACxB"}
@@ -15,6 +15,8 @@ export type TOrdemConsumo = {
15
15
  clienteId: number;
16
16
  nomeCliente: string;
17
17
  codigoCliente: string;
18
+ cidadeCliente?: string;
19
+ regiaoCliente?: string;
18
20
  contratos: TOrdemConsumoContrato[];
19
21
  };
20
22
  //# sourceMappingURL=ordemConsumoContratoCliente.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ordemConsumoContratoCliente.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/agendamento/ordemConsumoContratoCliente.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAChC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC9B;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,wBAAwB,CAAA;CAC1C,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,qBAAqB,EAAE,CAAA;CACrC,CAAA"}
1
+ {"version":3,"file":"ordemConsumoContratoCliente.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/agendamento/ordemConsumoContratoCliente.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAChC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC9B;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,wBAAwB,CAAA;CAC1C,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,qBAAqB,EAAE,CAAA;CACrC,CAAA"}
@@ -1656,6 +1656,7 @@ declare const endpointNavigationConfig: {
1656
1656
  };
1657
1657
  liquidacao: {
1658
1658
  findAll: string;
1659
+ finalizar: string;
1659
1660
  };
1660
1661
  pagamento: {
1661
1662
  findAll: (params?: string) => string;
@@ -1663,6 +1664,7 @@ declare const endpointNavigationConfig: {
1663
1664
  liberarPagamento: (id: string) => string;
1664
1665
  bloquearPagamento: (id: string) => string;
1665
1666
  deveAlterarDataPagamento: (contratoId: string) => string;
1667
+ alterarBancoPagamento: () => string;
1666
1668
  };
1667
1669
  termoFunrural: {
1668
1670
  add: {
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  declare const liquidacao: {
2
2
  findAll: string;
3
+ finalizar: string;
3
4
  };
4
5
  export default liquidacao;
5
6
  //# sourceMappingURL=liquidacao.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"liquidacao.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/liquidacao.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;CAEf,CAAA;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"liquidacao.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/liquidacao.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;CAGf,CAAA;AAED,eAAe,UAAU,CAAC"}
@@ -4,6 +4,7 @@ declare const pagamento: {
4
4
  liberarPagamento: (id: string) => string;
5
5
  bloquearPagamento: (id: string) => string;
6
6
  deveAlterarDataPagamento: (contratoId: string) => string;
7
+ alterarBancoPagamento: () => string;
7
8
  };
8
9
  export default pagamento;
9
10
  //# sourceMappingURL=pagamento.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagamento.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/pagamento.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;uBACQ,MAAM;wBACL,MAAM;2BACH,MAAM;4BACL,MAAM;2CACS,MAAM;CAChD,CAAA;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"pagamento.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/pagamento.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;uBACQ,MAAM;wBACL,MAAM;2BACH,MAAM;4BACL,MAAM;2CACS,MAAM;;CAEhD,CAAA;AAED,eAAe,SAAS,CAAC"}
@@ -294,6 +294,7 @@ declare const originacao: {
294
294
  };
295
295
  liquidacao: {
296
296
  findAll: string;
297
+ finalizar: string;
297
298
  };
298
299
  pagamento: {
299
300
  findAll: (params?: string) => string;
@@ -301,6 +302,7 @@ declare const originacao: {
301
302
  liberarPagamento: (id: string) => string;
302
303
  bloquearPagamento: (id: string) => string;
303
304
  deveAlterarDataPagamento: (contratoId: string) => string;
305
+ alterarBancoPagamento: () => string;
304
306
  };
305
307
  termoFunrural: {
306
308
  add: {
@@ -1 +1 @@
1
- {"version":3,"file":"originacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/originacao.ts"],"names":[],"mappings":"AAgCA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCf,CAAA;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"originacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/originacao.ts"],"names":[],"mappings":"AAgCA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCf,CAAA;AAED,eAAe,UAAU,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import { TQueryResponse } from '@base/@types/api';
2
2
  import { TFindAllLiquidacaoResponse } from '@base/@types/api/response/originacao/TFindAllLiquidacaoResponse';
3
3
  export declare function apiFindAllLiquidacao(data?: {}): Promise<TQueryResponse<TFindAllLiquidacaoResponse>>;
4
+ export declare function apiFinalizarLiquidacao(id: any, data: {
5
+ statusPenhor: 'POSITIVO' | 'NEGATIVO';
6
+ }): Promise<unknown>;
4
7
  //# sourceMappingURL=liquidacaoService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"liquidacaoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAA;AAK5G,wBAAsB,oBAAoB,CAAC,IAAI,KAAK,uDAMnD"}
1
+ {"version":3,"file":"liquidacaoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAA;AAK5G,wBAAsB,oBAAoB,CAAC,IAAI,KAAK,uDAMnD;AAED,wBAAsB,sBAAsB,CAAC,EAAE,KAAA,EAAE,IAAI,EAAE;IAAE,YAAY,EAAE,UAAU,GAAG,UAAU,CAAA;CAAE,oBAM/F"}
@@ -6,4 +6,8 @@ export declare function apiProrrogarDataPagamento(id: number | string, novaDataP
6
6
  export declare function apiLiberarPagamento(id: number | string): Promise<void>;
7
7
  export declare function apiBloquearPagamento(id: number | string): Promise<void>;
8
8
  export declare function apiDeveAlterarDataPagamento(contratoId: number | string): Promise<TDeveAlterarDataPagamentoResponse>;
9
+ export declare function apiAlterarBancoPagamento(data: {
10
+ contratoCompraGraosId: number | string;
11
+ bancoBusinessPartnerId: number;
12
+ }): Promise<void>;
9
13
  //# sourceMappingURL=pagamentoService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagamentoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/pagamento/pagamentoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wEAAwE,CAAC;AAC3H,OAAO,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAK3G,wBAAsB,mBAAmB,CAAC,MAAM,CAAC,EAAE,MAAM,sDAKxD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,iBAAiB,EAAE,MAAM,iBAM7F;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,iBAK5D;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,iBAK7D;AAED,wBAAsB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,8CAK5E"}
1
+ {"version":3,"file":"pagamentoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/pagamento/pagamentoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wEAAwE,CAAC;AAC3H,OAAO,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAK3G,wBAAsB,mBAAmB,CAAC,MAAM,CAAC,EAAE,MAAM,sDAKxD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,iBAAiB,EAAE,MAAM,iBAM7F;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,iBAK5D;AAED,wBAAsB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,iBAK7D;AAED,wBAAsB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,8CAK5E;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE;IAAE,qBAAqB,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,sBAAsB,EAAE,MAAM,CAAA;CAAE,iBAM9H"}
@@ -0,0 +1,9 @@
1
+ var StatusPenhor = /* @__PURE__ */ ((StatusPenhor2) => {
2
+ StatusPenhor2["POSITIVO"] = "POSITIVO";
3
+ StatusPenhor2["NEGATIVO"] = "NEGATIVO";
4
+ return StatusPenhor2;
5
+ })(StatusPenhor || {});
6
+ export {
7
+ StatusPenhor
8
+ };
9
+ //# sourceMappingURL=StatusPenhor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusPenhor.js","sources":["../../../../../lib/base/@types/enums/originacao/StatusPenhor.ts"],"sourcesContent":["export enum StatusPenhor {\n POSITIVO = 'POSITIVO',\n NEGATIVO = 'NEGATIVO'\n}"],"names":["StatusPenhor"],"mappings":"AAAO,IAAK,iCAAAA,kBAAL;AACHA,gBAAA,UAAA,IAAW;AACXA,gBAAA,UAAA,IAAW;AAFH,SAAAA;AAAA,GAAA,gBAAA,CAAA,CAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ordemConsumoContratoCliente.js","sources":["../../../../../lib/base/@types/models/agendamento/ordemConsumoContratoCliente.ts"],"sourcesContent":["export enum TipoContratoOrdemConsumo {\n ORDEM_VENDA = 'ORDEM_VENDA',\n COMMODITIES = 'COMMODITIES',\n}\n\nexport type TOrdemConsumoContrato = {\n id: number\n ordem: number\n contratoId: number\n numeroContrato?: string\n saldo?: number\n tipoContrato?: TipoContratoOrdemConsumo\n}\n\nexport type TOrdemConsumo = {\n id?: number\n clienteId: number\n nomeCliente: string\n codigoCliente: string\n contratos: TOrdemConsumoContrato[]\n}\n"],"names":["TipoContratoOrdemConsumo"],"mappings":"AAAO,IAAK,6CAAAA,8BAAL;AACHA,4BAAA,aAAA,IAAc;AACdA,4BAAA,aAAA,IAAc;AAFN,SAAAA;AAAA,GAAA,4BAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"ordemConsumoContratoCliente.js","sources":["../../../../../lib/base/@types/models/agendamento/ordemConsumoContratoCliente.ts"],"sourcesContent":["export enum TipoContratoOrdemConsumo {\n ORDEM_VENDA = 'ORDEM_VENDA',\n COMMODITIES = 'COMMODITIES',\n}\n\nexport type TOrdemConsumoContrato = {\n id: number\n ordem: number\n contratoId: number\n numeroContrato?: string\n saldo?: number\n tipoContrato?: TipoContratoOrdemConsumo\n}\n\nexport type TOrdemConsumo = {\n id?: number\n clienteId: number\n nomeCliente: string\n codigoCliente: string\n cidadeCliente?: string\n regiaoCliente?: string\n contratos: TOrdemConsumoContrato[]\n}\n"],"names":["TipoContratoOrdemConsumo"],"mappings":"AAAO,IAAK,6CAAAA,8BAAL;AACHA,4BAAA,aAAA,IAAc;AACdA,4BAAA,aAAA,IAAc;AAFN,SAAAA;AAAA,GAAA,4BAAA,CAAA,CAAA;"}
@@ -1,5 +1,6 @@
1
1
  const liquidacao = {
2
- findAll: `/originacao/api/liquidacao/filter`
2
+ findAll: `/originacao/api/liquidacao/filter`,
3
+ finalizar: `/originacao/api/liquidacao/finalizar/`
3
4
  };
4
5
  export {
5
6
  liquidacao as default
@@ -1 +1 @@
1
- {"version":3,"file":"liquidacao.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/liquidacao.ts"],"sourcesContent":["const liquidacao = {\n findAll: `/originacao/api/liquidacao/filter`,\n}\n\nexport default liquidacao;"],"names":[],"mappings":"AAAA,MAAM,aAAa;AAAA,EACf,SAAS;AACb;"}
1
+ {"version":3,"file":"liquidacao.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/liquidacao.ts"],"sourcesContent":["const liquidacao = {\n findAll: `/originacao/api/liquidacao/filter`,\n finalizar: `/originacao/api/liquidacao/finalizar/`,\n}\n\nexport default liquidacao;"],"names":[],"mappings":"AAAA,MAAM,aAAa;AAAA,EACf,SAAS;AAAA,EACT,WAAW;AACf;"}
@@ -3,7 +3,8 @@ const pagamento = {
3
3
  prorrogarData: (id) => `/originacao/api/pagamentos/${id}/prorrogar-data`,
4
4
  liberarPagamento: (id) => `/originacao/api/pagamentos/${id}/liberar-pagamento`,
5
5
  bloquearPagamento: (id) => `/originacao/api/pagamentos/${id}/bloquear-pagamento`,
6
- deveAlterarDataPagamento: (contratoId) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ""}`
6
+ deveAlterarDataPagamento: (contratoId) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ""}`,
7
+ alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco`
7
8
  };
8
9
  export {
9
10
  pagamento as default
@@ -1 +1 @@
1
- {"version":3,"file":"pagamento.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/pagamento.ts"],"sourcesContent":["const pagamento = {\n findAll: (params?: string) => `/originacao/api/pagamentos${params ? `?${params}` : ''}`,\n prorrogarData: (id: string) => `/originacao/api/pagamentos/${id}/prorrogar-data`,\n liberarPagamento: (id: string) => `/originacao/api/pagamentos/${id}/liberar-pagamento`,\n bloquearPagamento: (id: string) => `/originacao/api/pagamentos/${id}/bloquear-pagamento`,\n deveAlterarDataPagamento: (contratoId: string) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ''}`,\n}\n\nexport default pagamento;\n"],"names":[],"mappings":"AAAA,MAAM,YAAY;AAAA,EACd,SAAS,CAAC,WAAoB,6BAA6B,SAAS,IAAI,MAAM,KAAK,EAAE;AAAA,EACrF,eAAe,CAAC,OAAe,8BAA8B,EAAE;AAAA,EAC/D,kBAAkB,CAAC,OAAe,8BAA8B,EAAE;AAAA,EAClE,mBAAmB,CAAC,OAAe,8BAA8B,EAAE;AAAA,EACnE,0BAA0B,CAAC,eAAuB,yDAAyD,aAAa,eAAe,UAAU,KAAK,EAAE;AAC5J;"}
1
+ {"version":3,"file":"pagamento.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/pagamento.ts"],"sourcesContent":["const pagamento = {\n findAll: (params?: string) => `/originacao/api/pagamentos${params ? `?${params}` : ''}`,\n prorrogarData: (id: string) => `/originacao/api/pagamentos/${id}/prorrogar-data`,\n liberarPagamento: (id: string) => `/originacao/api/pagamentos/${id}/liberar-pagamento`,\n bloquearPagamento: (id: string) => `/originacao/api/pagamentos/${id}/bloquear-pagamento`,\n deveAlterarDataPagamento: (contratoId: string) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ''}`,\n alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco`,\n}\n\nexport default pagamento;\n"],"names":[],"mappings":"AAAA,MAAM,YAAY;AAAA,EACd,SAAS,CAAC,WAAoB,6BAA6B,SAAS,IAAI,MAAM,KAAK,EAAE;AAAA,EACrF,eAAe,CAAC,OAAe,8BAA8B,EAAE;AAAA,EAC/D,kBAAkB,CAAC,OAAe,8BAA8B,EAAE;AAAA,EAClE,mBAAmB,CAAC,OAAe,8BAA8B,EAAE;AAAA,EACnE,0BAA0B,CAAC,eAAuB,yDAAyD,aAAa,eAAe,UAAU,KAAK,EAAE;AAAA,EACxJ,uBAAuB,MAAM;AACjC;"}
@@ -8,7 +8,15 @@ async function apiFindAllLiquidacao(data = {}) {
8
8
  data
9
9
  });
10
10
  }
11
+ async function apiFinalizarLiquidacao(id, data) {
12
+ return ApiService.fetchDataWithAxios({
13
+ url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,
14
+ method: "post",
15
+ data
16
+ });
17
+ }
11
18
  export {
19
+ apiFinalizarLiquidacao,
12
20
  apiFindAllLiquidacao
13
21
  };
14
22
  //# sourceMappingURL=liquidacaoService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"liquidacaoService.js","sources":["../../../../../../lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { TQueryResponse } from '@base/@types/api'\nimport { TFindAllLiquidacaoResponse } from '@base/@types/api/response/originacao/TFindAllLiquidacaoResponse'\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation'\n\nconst LIQUIDACAO_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.liquidacao;\n\nexport async function apiFindAllLiquidacao(data = {}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllLiquidacaoResponse>>({\n url: LIQUIDACAO_ORIGINACAO_ENDPOINT.findAll,\n method: 'post',\n data,\n })\n}\n"],"names":[],"mappings":";;AAKA,MAAM,iCAAiC,yBAAyB,WAAW;AAE3E,eAAsB,qBAAqB,OAAO,IAAI;AAClD,SAAO,WAAW,mBAA+D;AAAA,IAC7E,KAAK,+BAA+B;AAAA,IACpC,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;"}
1
+ {"version":3,"file":"liquidacaoService.js","sources":["../../../../../../lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { TQueryResponse } from '@base/@types/api'\nimport { TFindAllLiquidacaoResponse } from '@base/@types/api/response/originacao/TFindAllLiquidacaoResponse'\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation'\n\nconst LIQUIDACAO_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.liquidacao;\n\nexport async function apiFindAllLiquidacao(data = {}) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllLiquidacaoResponse>>({\n url: LIQUIDACAO_ORIGINACAO_ENDPOINT.findAll,\n method: 'post',\n data,\n })\n}\n\nexport async function apiFinalizarLiquidacao(id, data: { statusPenhor: 'POSITIVO' | 'NEGATIVO' }) {\n return ApiService.fetchDataWithAxios({\n url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,\n method: 'post',\n data,\n })\n}\n"],"names":[],"mappings":";;AAKA,MAAM,iCAAiC,yBAAyB,WAAW;AAE3E,eAAsB,qBAAqB,OAAO,IAAI;AAClD,SAAO,WAAW,mBAA+D;AAAA,IAC7E,KAAK,+BAA+B;AAAA,IACpC,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,uBAAuB,IAAI,MAAiD;AAC9F,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,+BAA+B,YAAY;AAAA,IAChD,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;"}
@@ -32,7 +32,15 @@ async function apiDeveAlterarDataPagamento(contratoId) {
32
32
  method: "get"
33
33
  });
34
34
  }
35
+ async function apiAlterarBancoPagamento(data) {
36
+ return ApiService.fetchDataWithAxios({
37
+ url: PAGAMENTO_ORIGINACAO_ENDPOINT.alterarBancoPagamento(),
38
+ method: "patch",
39
+ data
40
+ });
41
+ }
35
42
  export {
43
+ apiAlterarBancoPagamento,
36
44
  apiBloquearPagamento,
37
45
  apiDeveAlterarDataPagamento,
38
46
  apiFindAllPagamento,
@@ -1 +1 @@
1
- {"version":3,"file":"pagamentoService.js","sources":["../../../../../../lib/base/services/modules/originacao/pagamento/pagamentoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TDeveAlterarDataPagamentoResponse } from \"@base/@types/api/response/originacao/TDeveAlterarDataPagamentoResponse\";\nimport { TFindAllPagamentoResponse } from \"@base/@types/api/response/originacao/TFindAllPagamentoResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PAGAMENTO_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.pagamento;\n\nexport async function apiFindAllPagamento(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllPagamentoResponse>>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiProrrogarDataPagamento(id: number | string, novaDataPagamento: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.prorrogarData(String(id)),\n method: \"patch\",\n data: { novaDataPagamento },\n });\n}\n\nexport async function apiLiberarPagamento(id: number | string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.liberarPagamento(String(id)),\n method: \"post\",\n });\n}\n\nexport async function apiBloquearPagamento(id: number | string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.bloquearPagamento(String(id)),\n method: \"post\",\n });\n}\n\nexport async function apiDeveAlterarDataPagamento(contratoId: number | string) {\n return ApiService.fetchDataWithAxios<TDeveAlterarDataPagamentoResponse>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.deveAlterarDataPagamento(String(contratoId)),\n method: \"get\",\n });\n}"],"names":[],"mappings":";;AAMA,MAAM,gCAAgC,yBAAyB,WAAW;AAE1E,eAAsB,oBAAoB,QAAiB;AACzD,SAAO,WAAW,mBAA8D;AAAA,IAC9E,KAAK,8BAA8B,QAAQ,MAAM;AAAA,IACjD,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,0BAA0B,IAAqB,mBAA2B;AAC9F,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,cAAc,OAAO,EAAE,CAAC;AAAA,IAC3D,QAAQ;AAAA,IACR,MAAM,EAAE,kBAAA;AAAA,EAAkB,CAC3B;AACH;AAEA,eAAsB,oBAAoB,IAAqB;AAC7D,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,iBAAiB,OAAO,EAAE,CAAC;AAAA,IAC9D,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,qBAAqB,IAAqB;AAC9D,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,kBAAkB,OAAO,EAAE,CAAC;AAAA,IAC/D,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,4BAA4B,YAA6B;AAC7E,SAAO,WAAW,mBAAsD;AAAA,IACtE,KAAK,8BAA8B,yBAAyB,OAAO,UAAU,CAAC;AAAA,IAC9E,QAAQ;AAAA,EAAA,CACT;AACH;"}
1
+ {"version":3,"file":"pagamentoService.js","sources":["../../../../../../lib/base/services/modules/originacao/pagamento/pagamentoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TDeveAlterarDataPagamentoResponse } from \"@base/@types/api/response/originacao/TDeveAlterarDataPagamentoResponse\";\nimport { TFindAllPagamentoResponse } from \"@base/@types/api/response/originacao/TFindAllPagamentoResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PAGAMENTO_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.pagamento;\n\nexport async function apiFindAllPagamento(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllPagamentoResponse>>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiProrrogarDataPagamento(id: number | string, novaDataPagamento: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.prorrogarData(String(id)),\n method: \"patch\",\n data: { novaDataPagamento },\n });\n}\n\nexport async function apiLiberarPagamento(id: number | string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.liberarPagamento(String(id)),\n method: \"post\",\n });\n}\n\nexport async function apiBloquearPagamento(id: number | string) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.bloquearPagamento(String(id)),\n method: \"post\",\n });\n}\n\nexport async function apiDeveAlterarDataPagamento(contratoId: number | string) {\n return ApiService.fetchDataWithAxios<TDeveAlterarDataPagamentoResponse>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.deveAlterarDataPagamento(String(contratoId)),\n method: \"get\",\n });\n}\n\nexport async function apiAlterarBancoPagamento(data: { contratoCompraGraosId: number | string, bancoBusinessPartnerId: number }) {\n return ApiService.fetchDataWithAxios<void>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.alterarBancoPagamento(),\n method: \"patch\",\n data,\n });\n}"],"names":[],"mappings":";;AAMA,MAAM,gCAAgC,yBAAyB,WAAW;AAE1E,eAAsB,oBAAoB,QAAiB;AACzD,SAAO,WAAW,mBAA8D;AAAA,IAC9E,KAAK,8BAA8B,QAAQ,MAAM;AAAA,IACjD,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,0BAA0B,IAAqB,mBAA2B;AAC9F,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,cAAc,OAAO,EAAE,CAAC;AAAA,IAC3D,QAAQ;AAAA,IACR,MAAM,EAAE,kBAAA;AAAA,EAAkB,CAC3B;AACH;AAEA,eAAsB,oBAAoB,IAAqB;AAC7D,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,iBAAiB,OAAO,EAAE,CAAC;AAAA,IAC9D,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,qBAAqB,IAAqB;AAC9D,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,kBAAkB,OAAO,EAAE,CAAC;AAAA,IAC/D,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,4BAA4B,YAA6B;AAC7E,SAAO,WAAW,mBAAsD;AAAA,IACtE,KAAK,8BAA8B,yBAAyB,OAAO,UAAU,CAAC;AAAA,IAC9E,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,yBAAyB,MAAkF;AAC/H,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,8BAA8B,sBAAA;AAAA,IACnC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;"}
@@ -4,6 +4,7 @@ import { TRetencaoResponse } from "./TRetencaoResponse";
4
4
  import { TDadosBancariosPagamentoResponse } from "./TDadosBancariosPagamentoResponse";
5
5
  import { StatusPagamentoLiquidacao } from "@base/@types/enums/originacao/StatusPagamentoLiquidacao";
6
6
  import { StatusPagamento } from "@base/@types/enums/originacao/StatusPagamento";
7
+ import { StatusPenhor } from "@base/@types/enums/originacao/StatusPenhor";
7
8
 
8
9
  export type TFindAllPagamentoResponse = {
9
10
  id: number;
@@ -23,4 +24,5 @@ export type TFindAllPagamentoResponse = {
23
24
  docAgrupamentoSap: string;
24
25
  statusPagamento: StatusPagamento;
25
26
  dadosBancariosPagamento: TDadosBancariosPagamentoResponse;
27
+ statusPenhor: StatusPenhor;
26
28
  }
@@ -0,0 +1,4 @@
1
+ export enum StatusPenhor {
2
+ POSITIVO = 'POSITIVO',
3
+ NEGATIVO = 'NEGATIVO'
4
+ }
@@ -17,5 +17,7 @@ export type TOrdemConsumo = {
17
17
  clienteId: number
18
18
  nomeCliente: string
19
19
  codigoCliente: string
20
+ cidadeCliente?: string
21
+ regiaoCliente?: string
20
22
  contratos: TOrdemConsumoContrato[]
21
23
  }
@@ -1,5 +1,6 @@
1
1
  const liquidacao = {
2
2
  findAll: `/originacao/api/liquidacao/filter`,
3
+ finalizar: `/originacao/api/liquidacao/finalizar/`,
3
4
  }
4
5
 
5
6
  export default liquidacao;
@@ -4,6 +4,7 @@ const pagamento = {
4
4
  liberarPagamento: (id: string) => `/originacao/api/pagamentos/${id}/liberar-pagamento`,
5
5
  bloquearPagamento: (id: string) => `/originacao/api/pagamentos/${id}/bloquear-pagamento`,
6
6
  deveAlterarDataPagamento: (contratoId: string) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ''}`,
7
+ alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco`,
7
8
  }
8
9
 
9
10
  export default pagamento;
@@ -12,3 +12,11 @@ export async function apiFindAllLiquidacao(data = {}) {
12
12
  data,
13
13
  })
14
14
  }
15
+
16
+ export async function apiFinalizarLiquidacao(id, data: { statusPenhor: 'POSITIVO' | 'NEGATIVO' }) {
17
+ return ApiService.fetchDataWithAxios({
18
+ url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,
19
+ method: 'post',
20
+ data,
21
+ })
22
+ }
@@ -40,4 +40,12 @@ export async function apiDeveAlterarDataPagamento(contratoId: number | string) {
40
40
  url: PAGAMENTO_ORIGINACAO_ENDPOINT.deveAlterarDataPagamento(String(contratoId)),
41
41
  method: "get",
42
42
  });
43
+ }
44
+
45
+ export async function apiAlterarBancoPagamento(data: { contratoCompraGraosId: number | string, bancoBusinessPartnerId: number }) {
46
+ return ApiService.fetchDataWithAxios<void>({
47
+ url: PAGAMENTO_ORIGINACAO_ENDPOINT.alterarBancoPagamento(),
48
+ method: "patch",
49
+ data,
50
+ });
43
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core-prod",
3
- "version": "5.5.85",
3
+ "version": "5.5.87",
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",