@orbe-agro/client-core 5.6.21 → 5.6.22

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 (28) 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/configs/endpoints.config/endpoints.navigation.d.ts +1 -0
  6. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  7. package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts +1 -0
  8. package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts.map +1 -1
  9. package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts +1 -0
  10. package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts.map +1 -1
  11. package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts +3 -1
  12. package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts.map +1 -1
  13. package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts +4 -0
  14. package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts.map +1 -1
  15. package/dist/base/@types/enums/originacao/StatusPenhor.js +9 -0
  16. package/dist/base/@types/enums/originacao/StatusPenhor.js.map +1 -0
  17. package/dist/base/configs/endpoints.config/originacao/config/pagamento.js +2 -1
  18. package/dist/base/configs/endpoints.config/originacao/config/pagamento.js.map +1 -1
  19. package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js +3 -2
  20. package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js.map +1 -1
  21. package/dist/base/services/modules/originacao/pagamento/pagamentoService.js +8 -0
  22. package/dist/base/services/modules/originacao/pagamento/pagamentoService.js.map +1 -1
  23. package/lib/base/@types/api/response/originacao/TFindAllPagamentoResponse.ts +2 -0
  24. package/lib/base/@types/enums/originacao/StatusPenhor.ts +4 -0
  25. package/lib/base/configs/endpoints.config/originacao/config/pagamento.ts +1 -0
  26. package/lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts +2 -1
  27. package/lib/base/services/modules/originacao/pagamento/pagamentoService.ts +8 -0
  28. 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"}
@@ -1766,6 +1766,7 @@ declare const endpointNavigationConfig: {
1766
1766
  liberarPagamento: (id: string) => string;
1767
1767
  bloquearPagamento: (id: string) => string;
1768
1768
  deveAlterarDataPagamento: (contratoId: string) => string;
1769
+ alterarBancoPagamento: () => string;
1769
1770
  };
1770
1771
  termoFunrural: {
1771
1772
  add: {
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAsDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -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"}
@@ -302,6 +302,7 @@ declare const originacao: {
302
302
  liberarPagamento: (id: string) => string;
303
303
  bloquearPagamento: (id: string) => string;
304
304
  deveAlterarDataPagamento: (contratoId: string) => string;
305
+ alterarBancoPagamento: () => string;
305
306
  };
306
307
  termoFunrural: {
307
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,5 +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): Promise<unknown>;
4
+ export declare function apiFinalizarLiquidacao(id: any, data: {
5
+ statusPenhor: 'POSITIVO' | 'NEGATIVO';
6
+ }): Promise<unknown>;
5
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;AAED,wBAAsB,sBAAsB,CAAC,EAAE,KAAA,oBAK9C"}
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;"}
@@ -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,10 +8,11 @@ async function apiFindAllLiquidacao(data = {}) {
8
8
  data
9
9
  });
10
10
  }
11
- async function apiFinalizarLiquidacao(id) {
11
+ async function apiFinalizarLiquidacao(id, data) {
12
12
  return ApiService.fetchDataWithAxios({
13
13
  url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,
14
- method: "post"
14
+ method: "post",
15
+ data
15
16
  });
16
17
  }
17
18
  export {
@@ -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\nexport async function apiFinalizarLiquidacao(id) {\n return ApiService.fetchDataWithAxios({\n url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,\n method: 'post',\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;AAC7C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,+BAA+B,YAAY;AAAA,IAChD,QAAQ;AAAA,EAAA,CACX;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
+ }
@@ -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;
@@ -13,9 +13,10 @@ export async function apiFindAllLiquidacao(data = {}) {
13
13
  })
14
14
  }
15
15
 
16
- export async function apiFinalizarLiquidacao(id) {
16
+ export async function apiFinalizarLiquidacao(id, data: { statusPenhor: 'POSITIVO' | 'NEGATIVO' }) {
17
17
  return ApiService.fetchDataWithAxios({
18
18
  url: LIQUIDACAO_ORIGINACAO_ENDPOINT.finalizar + id,
19
19
  method: 'post',
20
+ data,
20
21
  })
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",
3
- "version": "5.6.21",
3
+ "version": "5.6.22",
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",