@orbe-agro/client-core 5.3.276 → 5.3.278

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 (39) hide show
  1. package/dist/@types/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.d.ts +8 -0
  2. package/dist/@types/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.d.ts.map +1 -0
  3. package/dist/@types/base/@types/models/racao/tabelaPreco.d.ts +0 -15
  4. package/dist/@types/base/@types/models/racao/tabelaPreco.d.ts.map +1 -1
  5. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +5 -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/saldoTicket.d.ts +1 -0
  8. package/dist/@types/base/configs/endpoints.config/originacao/config/saldoTicket.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/configs/endpoints.config/racao/config/tabelaPreco.d.ts +4 -0
  12. package/dist/@types/base/configs/endpoints.config/racao/config/tabelaPreco.d.ts.map +1 -1
  13. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +4 -0
  14. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
  15. package/dist/@types/base/services/modules/originacao/saldoTicket/saldoTicketService.d.ts +2 -0
  16. package/dist/@types/base/services/modules/originacao/saldoTicket/saldoTicketService.d.ts.map +1 -1
  17. package/dist/@types/base/services/modules/racao/tabelaPreco/TabelaPrecoService.d.ts +2 -2
  18. package/dist/@types/base/services/modules/racao/tabelaPreco/TabelaPrecoService.d.ts.map +1 -1
  19. package/dist/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.js +2 -0
  20. package/dist/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.js.map +1 -0
  21. package/dist/base/configs/endpoints.config/originacao/config/saldoTicket.js +2 -1
  22. package/dist/base/configs/endpoints.config/originacao/config/saldoTicket.js.map +1 -1
  23. package/dist/base/configs/endpoints.config/racao/config/tabelaPreco.js +2 -1
  24. package/dist/base/configs/endpoints.config/racao/config/tabelaPreco.js.map +1 -1
  25. package/dist/base/index.js +2 -2
  26. package/dist/base/services/index.js +2 -2
  27. package/dist/base/services/modules/index.js +2 -2
  28. package/dist/base/services/modules/originacao/saldoTicket/saldoTicketService.js +8 -1
  29. package/dist/base/services/modules/originacao/saldoTicket/saldoTicketService.js.map +1 -1
  30. package/dist/base/services/modules/racao/index.js +2 -2
  31. package/dist/base/services/modules/racao/tabelaPreco/TabelaPrecoService.js +5 -8
  32. package/dist/base/services/modules/racao/tabelaPreco/TabelaPrecoService.js.map +1 -1
  33. package/lib/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.ts +7 -0
  34. package/lib/base/@types/models/racao/tabelaPreco.ts +4 -4
  35. package/lib/base/configs/endpoints.config/originacao/config/saldoTicket.ts +2 -1
  36. package/lib/base/configs/endpoints.config/racao/config/tabelaPreco.ts +1 -0
  37. package/lib/base/services/modules/originacao/saldoTicket/saldoTicketService.ts +9 -0
  38. package/lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts +10 -2
  39. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ export type TFindAllMetricsSaldoResponse = {
2
+ totalRegistros: number;
3
+ quantidadeInicial: number;
4
+ quantidadeUtilizada: number;
5
+ quantidadeBloqueada: number;
6
+ quantidadeDisponivel: number;
7
+ };
8
+ //# sourceMappingURL=TFindAllMetricsSaldoResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TFindAllMetricsSaldoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TFindAllMetricsSaldoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAA"}
@@ -10,8 +10,6 @@ export type TTabelaPreco = {
10
10
  parametrosPreco: TParametrosPreco;
11
11
  produtosListaTecnica: TTabelaPrecoProduto[];
12
12
  listaTecnica: TListaTecnica[];
13
- jurosCompostosDentroEstado: TJurosCompostos[];
14
- jurosCompostosForaEstado: TJurosCompostos[];
15
13
  };
16
14
  export type TParametrosPreco = {
17
15
  id?: number;
@@ -37,17 +35,4 @@ export type TTabelaPrecoProduto = {
37
35
  custoProducao: number;
38
36
  precoCalculado: number;
39
37
  };
40
- export type TJurosCompostos = {
41
- id?: number;
42
- produtoId?: number;
43
- codigo?: string;
44
- descricao?: string;
45
- diaInicial: number;
46
- diaFinal: number;
47
- prazo: string;
48
- percentual: number;
49
- percentualForaEstado: number;
50
- valorJurosCompostos: number;
51
- tipoJurosCompostos: string;
52
- };
53
38
  //# sourceMappingURL=tabelaPreco.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabelaPreco.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/racao/tabelaPreco.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,eAAe,EAAE,gBAAgB,CAAA;IACjC,oBAAoB,EAAE,mBAAmB,EAAE,CAAA;IAC3C,YAAY,EAAE,aAAa,EAAE,CAAA;IAC7B,0BAA0B,EAAE,eAAe,EAAE,CAA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racao/tabelaPreco.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,eAAe,EAAE,gBAAgB,CAAA;IACjC,oBAAoB,EAAE,mBAAmB,EAAE,CAAA;IAC3C,YAAY,EAAE,aAAa,EAAE,CAAA;CAGhC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA"}
@@ -167,6 +167,10 @@ declare const endpointNavigationConfig: {
167
167
  endpoint: string;
168
168
  method: string;
169
169
  };
170
+ findLatestTabelaPreco: {
171
+ endpoint: string;
172
+ method: string;
173
+ };
170
174
  };
171
175
  pedidoVenda: {
172
176
  findOne: {
@@ -1566,6 +1570,7 @@ declare const endpointNavigationConfig: {
1566
1570
  findAll: (params?: string) => string;
1567
1571
  historicoById: (id: string, params?: string) => string;
1568
1572
  buscarSaldoDisponivel: string;
1573
+ findAllMetrics: (params?: string) => string;
1569
1574
  };
1570
1575
  liquidacao: {
1571
1576
  findAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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declare const saldoTicket: {
3
3
  findAll: (params?: string) => string;
4
4
  historicoById: (id: string, params?: string) => string;
5
5
  buscarSaldoDisponivel: string;
6
+ findAllMetrics: (params?: string) => string;
6
7
  };
7
8
  export default saldoTicket;
8
9
  //# sourceMappingURL=saldoTicket.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saldoTicket.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/saldoTicket.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;8BACW,MAAM;uBACb,MAAM;wBACL,MAAM,WAAW,MAAM;;CAE5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"saldoTicket.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/saldoTicket.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;8BACW,MAAM;uBACb,MAAM;wBACL,MAAM,WAAW,MAAM;;8BAEjB,MAAM;CACjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -286,6 +286,7 @@ declare const originacao: {
286
286
  findAll: (params?: string) => string;
287
287
  historicoById: (id: string, params?: string) => string;
288
288
  buscarSaldoDisponivel: string;
289
+ findAllMetrics: (params?: string) => string;
289
290
  };
290
291
  liquidacao: {
291
292
  findAll: string;
@@ -1 +1 @@
1
- {"version":3,"file":"originacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/originacao.ts"],"names":[],"mappings":"AA+BA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bf,CAAA;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"originacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/originacao.ts"],"names":[],"mappings":"AA+BA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bf,CAAA;AAED,eAAe,UAAU,CAAC"}
@@ -27,6 +27,10 @@ declare const tabelaPreco: {
27
27
  endpoint: string;
28
28
  method: string;
29
29
  };
30
+ findLatestTabelaPreco: {
31
+ endpoint: string;
32
+ method: string;
33
+ };
30
34
  };
31
35
  export default tabelaPreco;
32
36
  //# sourceMappingURL=tabelaPreco.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabelaPreco.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/tabelaPreco.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"tabelaPreco.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/tabelaPreco.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAShB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -142,6 +142,10 @@ declare const racao: {
142
142
  endpoint: string;
143
143
  method: string;
144
144
  };
145
+ findLatestTabelaPreco: {
146
+ endpoint: string;
147
+ method: string;
148
+ };
145
149
  };
146
150
  pedidoVenda: {
147
151
  findOne: {
@@ -1 +1 @@
1
- {"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaV,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaV,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,9 +1,11 @@
1
1
  import { TSaldoContratoResponse } from "@base/@types/api/response/originacao/TSaldoContratoResponse";
2
2
  import { TQueryResponse } from "@base/@types/api";
3
3
  import { TFindAllSaldoResponse } from "@base/@types/api/response/originacao/TFindAllSaldoResponse";
4
+ import { TFindAllMetricsSaldoResponse } from "@base/@types/api/response/originacao/TFindAllMetricsSaldoResponse";
4
5
  import { TEntityHistoricoResponse } from "@base/@types/api/response/originacao/TEntityHistoricoResponse";
5
6
  export declare function apiBuscarSaldoContrato(id: number | string): Promise<TSaldoContratoResponse>;
6
7
  export declare function apiFindAllSaldo(params?: string): Promise<TQueryResponse<TFindAllSaldoResponse>>;
7
8
  export declare function apiFindHistoricoByIdSaldo(id: number | string, params?: string): Promise<TQueryResponse<TEntityHistoricoResponse>>;
8
9
  export declare function apiBuscarSaldoDisponivel(data: any): Promise<unknown>;
10
+ export declare function apiFindSaldoMetrics(params?: string): Promise<TFindAllMetricsSaldoResponse>;
9
11
  //# sourceMappingURL=saldoTicketService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saldoTicketService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/saldoTicket/saldoTicketService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AAErG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAIzG,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,mCAK/D;AAED,wBAAsB,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,kDAKpD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,qDAKnF;AAED,wBAAsB,wBAAwB,CAAC,IAAI,KAAA,oBAMlD"}
1
+ {"version":3,"file":"saldoTicketService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/originacao/saldoTicket/saldoTicketService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AAErG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAIzG,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,mCAK/D;AAED,wBAAsB,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,kDAKpD;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,qDAKnF;AAGD,wBAAsB,wBAAwB,CAAC,IAAI,KAAA,oBAMlD;AAED,wBAAsB,mBAAmB,CAAC,MAAM,CAAC,EAAE,MAAM,yCAKxD"}
@@ -1,10 +1,10 @@
1
1
  import { IFilterParams, TQueryResponse } from "@base/@types/api";
2
- import { TJurosCompostos, TTabelaPreco, TTabelaPrecoProduto } from "@base/@types/models/racao/tabelaPreco";
2
+ import { TTabelaPreco, TTabelaPrecoProduto } from "@base/@types/models/racao/tabelaPreco";
3
3
  export declare function apiGetRacaoTabelaPreco(id: number): Promise<TTabelaPreco>;
4
4
  export declare function apiAddRacaoTabelaPreco(body: TTabelaPreco): Promise<TQueryResponse<TTabelaPreco>>;
5
5
  export declare function apiUpdateRacaoTabelaPreco(body: TTabelaPreco): Promise<TQueryResponse<TTabelaPreco>>;
6
6
  export declare function apiDeleteRacaoTabelaPreco(id: number): Promise<TQueryResponse<TTabelaPreco>>;
7
7
  export declare function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams): Promise<TQueryResponse<TTabelaPreco>>;
8
8
  export declare function apiFindRacaoProdutosListaTecnica(data?: {}): Promise<TTabelaPrecoProduto[]>;
9
- export declare function apiFindRacaoValorJurosCompostos(body?: IFilterParams): Promise<TJurosCompostos | undefined>;
9
+ export declare function apiFindRacaoTabelaPrecoLatest(data?: {}): Promise<TTabelaPreco[]>;
10
10
  //# sourceMappingURL=TabelaPrecoService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabelaPrecoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAK3G,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,yBAKtD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,YAAY,yCAM9D;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,YAAY,yCAMjE;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,yCAKzD;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE,aAAa,yCAMxE;AAED,wBAAsB,gCAAgC,CAAC,IAAI,KAAK,kCAM/D;AAED,wBAAsB,+BAA+B,CAAC,IAAI,CAAC,EAAE,aAAa,wCASzE"}
1
+ {"version":3,"file":"TabelaPrecoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAK1F,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,yBAKtD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,YAAY,yCAM9D;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,YAAY,yCAMjE;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,yCAKzD;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE,aAAa,yCAMxE;AAED,wBAAsB,gCAAgC,CAAC,IAAI,KAAK,kCAM/D;AAaD,wBAAsB,6BAA6B,CAAC,IAAI,KAAK,2BAM5D"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=TFindAllMetricsSaldoResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TFindAllMetricsSaldoResponse.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -2,7 +2,8 @@ const saldoTicket = {
2
2
  buscarSaldoContrato: (id) => `/originacao/api/saldo-ticket/contrato/${id}`,
3
3
  findAll: (params) => `/originacao/api/saldo-ticket?${params ?? ""}`,
4
4
  historicoById: (id, params) => `/originacao/api/saldo-ticket/${id}/historicos?${params ?? ""}`,
5
- buscarSaldoDisponivel: "/originacao/api/saldo-ticket/saldo-disponivel"
5
+ buscarSaldoDisponivel: "/originacao/api/saldo-ticket/saldo-disponivel",
6
+ findAllMetrics: (params) => `/originacao/api/saldo-ticket/metrics?${params ?? ""}`
6
7
  };
7
8
  export {
8
9
  saldoTicket as default
@@ -1 +1 @@
1
- {"version":3,"file":"saldoTicket.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/saldoTicket.ts"],"sourcesContent":["const saldoTicket = {\n buscarSaldoContrato: (id: string) => `/originacao/api/saldo-ticket/contrato/${id}`,\n findAll: (params?: string) => `/originacao/api/saldo-ticket?${params ?? \"\"}`,\n historicoById: (id: string, params?: string) => `/originacao/api/saldo-ticket/${id}/historicos?${params ?? \"\"}`,\n buscarSaldoDisponivel: '/originacao/api/saldo-ticket/saldo-disponivel'\n};\n\nexport default saldoTicket;"],"names":[],"mappings":"AAAA,MAAM,cAAc;AAAA,EAClB,qBAAqB,CAAC,OAAe,yCAAyC,EAAE;AAAA,EAChF,SAAS,CAAC,WAAoB,gCAAgC,UAAU,EAAE;AAAA,EAC1E,eAAe,CAAC,IAAY,WAAoB,gCAAgC,EAAE,eAAe,UAAU,EAAE;AAAA,EAC7G,uBAAuB;AACzB;"}
1
+ {"version":3,"file":"saldoTicket.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/saldoTicket.ts"],"sourcesContent":["const saldoTicket = {\n buscarSaldoContrato: (id: string) => `/originacao/api/saldo-ticket/contrato/${id}`,\n findAll: (params?: string) => `/originacao/api/saldo-ticket?${params ?? \"\"}`,\n historicoById: (id: string, params?: string) => `/originacao/api/saldo-ticket/${id}/historicos?${params ?? \"\"}`,\n buscarSaldoDisponivel: '/originacao/api/saldo-ticket/saldo-disponivel',\n findAllMetrics: (params?: string) => `/originacao/api/saldo-ticket/metrics?${params ?? \"\"}`\n};\n\nexport default saldoTicket;"],"names":[],"mappings":"AAAA,MAAM,cAAc;AAAA,EAClB,qBAAqB,CAAC,OAAe,yCAAyC,EAAE;AAAA,EAChF,SAAS,CAAC,WAAoB,gCAAgC,UAAU,EAAE;AAAA,EAC1E,eAAe,CAAC,IAAY,WAAoB,gCAAgC,EAAE,eAAe,UAAU,EAAE;AAAA,EAC7G,uBAAuB;AAAA,EACvB,gBAAgB,CAAC,WAAoB,wCAAwC,UAAU,EAAE;AAC3F;"}
@@ -6,7 +6,8 @@ const tabelaPreco = {
6
6
  delete: { endpoint: `${TABELA_PRECO_BASE_URL}/`, method: "delete" },
7
7
  findMonitor: { endpoint: `${TABELA_PRECO_BASE_URL}/find-monitor`, method: "post" },
8
8
  findProdutosListaTecnica: { endpoint: `${TABELA_PRECO_BASE_URL}/find-produtos-lista-tecnica`, method: "post" },
9
- findValorJurosCompostos: { endpoint: `${TABELA_PRECO_BASE_URL}/find-valor-juros-compostos`, method: "post" }
9
+ findValorJurosCompostos: { endpoint: `${TABELA_PRECO_BASE_URL}/find-valor-juros-compostos`, method: "post" },
10
+ findLatestTabelaPreco: { endpoint: `${TABELA_PRECO_BASE_URL}/find-latest-tabela-preco`, method: "post" }
10
11
  };
11
12
  export {
12
13
  tabelaPreco as default
@@ -1 +1 @@
1
- {"version":3,"file":"tabelaPreco.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/tabelaPreco.ts"],"sourcesContent":["const TABELA_PRECO_BASE_URL = '/racao/api/racao/tabela-preco'\n\nconst tabelaPreco = {\n findOne: {endpoint: `${TABELA_PRECO_BASE_URL}/`, method: 'get'},\n add: {endpoint: `${TABELA_PRECO_BASE_URL}`, method: 'post'},\n update: {endpoint: `${TABELA_PRECO_BASE_URL}`, method: 'put'},\n delete: {endpoint: `${TABELA_PRECO_BASE_URL}/`, method: 'delete'},\n findMonitor: {endpoint: `${TABELA_PRECO_BASE_URL}/find-monitor`, method: 'post'},\n findProdutosListaTecnica: {endpoint: `${TABELA_PRECO_BASE_URL}/find-produtos-lista-tecnica`, method: 'post'},\n findValorJurosCompostos: {endpoint: `${TABELA_PRECO_BASE_URL}/find-valor-juros-compostos`, method: 'post'},\n}\n\nexport default tabelaPreco"],"names":[],"mappings":"AAAA,MAAM,wBAAwB;AAE9B,MAAM,cAAc;AAAA,EAChB,SAAS,EAAC,UAAU,GAAG,qBAAqB,KAAK,QAAQ,MAAK;AAAA,EAC9D,KAAK,EAAC,UAAU,GAAG,qBAAqB,IAAI,QAAQ,OAAM;AAAA,EAC1D,QAAQ,EAAC,UAAU,GAAG,qBAAqB,IAAI,QAAQ,MAAK;AAAA,EAC5D,QAAQ,EAAC,UAAU,GAAG,qBAAqB,KAAK,QAAQ,SAAQ;AAAA,EAChE,aAAa,EAAC,UAAU,GAAG,qBAAqB,iBAAiB,QAAQ,OAAM;AAAA,EAC/E,0BAA0B,EAAC,UAAU,GAAG,qBAAqB,gCAAgC,QAAQ,OAAM;AAAA,EAC3G,yBAAyB,EAAC,UAAU,GAAG,qBAAqB,+BAA+B,QAAQ,OAAM;AAC7G;"}
1
+ {"version":3,"file":"tabelaPreco.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/tabelaPreco.ts"],"sourcesContent":["const TABELA_PRECO_BASE_URL = '/racao/api/racao/tabela-preco'\n\nconst tabelaPreco = {\n findOne: {endpoint: `${TABELA_PRECO_BASE_URL}/`, method: 'get'},\n add: {endpoint: `${TABELA_PRECO_BASE_URL}`, method: 'post'},\n update: {endpoint: `${TABELA_PRECO_BASE_URL}`, method: 'put'},\n delete: {endpoint: `${TABELA_PRECO_BASE_URL}/`, method: 'delete'},\n findMonitor: {endpoint: `${TABELA_PRECO_BASE_URL}/find-monitor`, method: 'post'},\n findProdutosListaTecnica: {endpoint: `${TABELA_PRECO_BASE_URL}/find-produtos-lista-tecnica`, method: 'post'},\n findValorJurosCompostos: {endpoint: `${TABELA_PRECO_BASE_URL}/find-valor-juros-compostos`, method: 'post'},\n findLatestTabelaPreco: {endpoint: `${TABELA_PRECO_BASE_URL}/find-latest-tabela-preco`, method: 'post'},\n}\n\nexport default tabelaPreco"],"names":[],"mappings":"AAAA,MAAM,wBAAwB;AAE9B,MAAM,cAAc;AAAA,EAChB,SAAS,EAAC,UAAU,GAAG,qBAAqB,KAAK,QAAQ,MAAK;AAAA,EAC9D,KAAK,EAAC,UAAU,GAAG,qBAAqB,IAAI,QAAQ,OAAM;AAAA,EAC1D,QAAQ,EAAC,UAAU,GAAG,qBAAqB,IAAI,QAAQ,MAAK;AAAA,EAC5D,QAAQ,EAAC,UAAU,GAAG,qBAAqB,KAAK,QAAQ,SAAQ;AAAA,EAChE,aAAa,EAAC,UAAU,GAAG,qBAAqB,iBAAiB,QAAQ,OAAM;AAAA,EAC/E,0BAA0B,EAAC,UAAU,GAAG,qBAAqB,gCAAgC,QAAQ,OAAM;AAAA,EAC3G,yBAAyB,EAAC,UAAU,GAAG,qBAAqB,+BAA+B,QAAQ,OAAM;AAAA,EACzG,uBAAuB,EAAC,UAAU,GAAG,qBAAqB,6BAA6B,QAAQ,OAAM;AACzG;"}
@@ -145,7 +145,7 @@ import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMet
145
145
  import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./services/modules/racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
146
146
  import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./services/modules/racao/pedidoVenda/PedidoVendaService.js";
147
147
  import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./services/modules/racao/segmentoProduto/SegmentoProdutoService.js";
148
- import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoValorJurosCompostos, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./services/modules/racao/tabelaPreco/TabelaPrecoService.js";
148
+ import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./services/modules/racao/tabelaPreco/TabelaPrecoService.js";
149
149
  import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
150
150
  import { apiFindLimiteCredito } from "./services/modules/sap/limiteCredito/LimiteCreditoService.js";
151
151
  import { apiFindListaTecnica } from "./services/modules/sap/listaTecnica/ListaTecnicaService.js";
@@ -532,7 +532,7 @@ export {
532
532
  apiFindProdutoComItinerario,
533
533
  apiFindProdutosByDeposito,
534
534
  apiFindRacaoProdutosListaTecnica,
535
- apiFindRacaoValorJurosCompostos,
535
+ apiFindRacaoTabelaPrecoLatest,
536
536
  apiFindRotas,
537
537
  apiFindSaldoByIdContratoCompraGraos,
538
538
  apiFindSaldoCommoditiesContratoBiodiesel,
@@ -55,7 +55,7 @@ import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMet
55
55
  import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./modules/racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
56
56
  import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./modules/racao/pedidoVenda/PedidoVendaService.js";
57
57
  import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./modules/racao/segmentoProduto/SegmentoProdutoService.js";
58
- import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoValorJurosCompostos, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./modules/racao/tabelaPreco/TabelaPrecoService.js";
58
+ import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./modules/racao/tabelaPreco/TabelaPrecoService.js";
59
59
  import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
60
60
  import { apiFindLimiteCredito } from "./modules/sap/limiteCredito/LimiteCreditoService.js";
61
61
  import { apiFindListaTecnica } from "./modules/sap/listaTecnica/ListaTecnicaService.js";
@@ -433,7 +433,7 @@ export {
433
433
  apiFindProdutoComItinerario,
434
434
  apiFindProdutosByDeposito,
435
435
  apiFindRacaoProdutosListaTecnica,
436
- apiFindRacaoValorJurosCompostos,
436
+ apiFindRacaoTabelaPrecoLatest,
437
437
  apiFindRotas,
438
438
  apiFindSaldoByIdContratoCompraGraos,
439
439
  apiFindSaldoCommoditiesContratoBiodiesel,
@@ -53,7 +53,7 @@ import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMet
53
53
  import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
54
54
  import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./racao/pedidoVenda/PedidoVendaService.js";
55
55
  import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./racao/segmentoProduto/SegmentoProdutoService.js";
56
- import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoValorJurosCompostos, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./racao/tabelaPreco/TabelaPrecoService.js";
56
+ import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./racao/tabelaPreco/TabelaPrecoService.js";
57
57
  import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
58
58
  import { apiFindLimiteCredito } from "./sap/limiteCredito/LimiteCreditoService.js";
59
59
  import { apiFindListaTecnica } from "./sap/listaTecnica/ListaTecnicaService.js";
@@ -408,7 +408,7 @@ export {
408
408
  apiFindProdutoComItinerario,
409
409
  apiFindProdutosByDeposito,
410
410
  apiFindRacaoProdutosListaTecnica,
411
- apiFindRacaoValorJurosCompostos,
411
+ apiFindRacaoTabelaPrecoLatest,
412
412
  apiFindRotas,
413
413
  apiFindSaldoByIdContratoCompraGraos,
414
414
  apiFindSaldoCommoditiesContratoBiodiesel,
@@ -26,10 +26,17 @@ async function apiBuscarSaldoDisponivel(data) {
26
26
  data
27
27
  });
28
28
  }
29
+ async function apiFindSaldoMetrics(params) {
30
+ return ApiService.fetchDataWithAxios({
31
+ url: SALDO_TICKET_ORIGINACAO_ENDPOINT.findAllMetrics(params),
32
+ method: "get"
33
+ });
34
+ }
29
35
  export {
30
36
  apiBuscarSaldoContrato,
31
37
  apiBuscarSaldoDisponivel,
32
38
  apiFindAllSaldo,
33
- apiFindHistoricoByIdSaldo
39
+ apiFindHistoricoByIdSaldo,
40
+ apiFindSaldoMetrics
34
41
  };
35
42
  //# sourceMappingURL=saldoTicketService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"saldoTicketService.js","sources":["../../../../../../lib/base/services/modules/originacao/saldoTicket/saldoTicketService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TSaldoContratoResponse } from \"@base/@types/api/response/originacao/TSaldoContratoResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllSaldoResponse } from \"@base/@types/api/response/originacao/TFindAllSaldoResponse\";\nimport { TEntityHistoricoResponse } from \"@base/@types/api/response/originacao/TEntityHistoricoResponse\";\n\nconst SALDO_TICKET_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.saldoTicket;\n\nexport async function apiBuscarSaldoContrato(id: number | string) {\n return ApiService.fetchDataWithAxios<TSaldoContratoResponse>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.buscarSaldoContrato(String(id)),\n method: \"get\",\n });\n}\n\nexport async function apiFindAllSaldo(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllSaldoResponse>>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiFindHistoricoByIdSaldo(id: number | string, params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TEntityHistoricoResponse>>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.historicoById(String(id), params),\n method: \"get\",\n });\n}\n\nexport async function apiBuscarSaldoDisponivel(data) {\n return ApiService.fetchDataWithAxios({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.buscarSaldoDisponivel,\n method: \"post\",\n data\n });\n}"],"names":[],"mappings":";;AAOA,MAAM,mCAAmC,yBAAyB,WAAW;AAE7E,eAAsB,uBAAuB,IAAqB;AAChE,SAAO,WAAW,mBAA2C;AAAA,IAC3D,KAAK,iCAAiC,oBAAoB,OAAO,EAAE,CAAC;AAAA,IACpE,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,gBAAgB,QAAiB;AACrD,SAAO,WAAW,mBAA0D;AAAA,IAC1E,KAAK,iCAAiC,QAAQ,MAAM;AAAA,IACpD,QAAQ;AAAA,EAAA,CACT;AACH;AAEsB,eAAA,0BAA0B,IAAqB,QAAiB;AACpF,SAAO,WAAW,mBAA6D;AAAA,IAC7E,KAAK,iCAAiC,cAAc,OAAO,EAAE,GAAG,MAAM;AAAA,IACtE,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,yBAAyB,MAAM;AACnD,SAAO,WAAW,mBAAmB;AAAA,IACnC,KAAK,iCAAiC;AAAA,IACtC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;"}
1
+ {"version":3,"file":"saldoTicketService.js","sources":["../../../../../../lib/base/services/modules/originacao/saldoTicket/saldoTicketService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TSaldoContratoResponse } from \"@base/@types/api/response/originacao/TSaldoContratoResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllSaldoResponse } from \"@base/@types/api/response/originacao/TFindAllSaldoResponse\";\nimport { TFindAllMetricsSaldoResponse } from \"@base/@types/api/response/originacao/TFindAllMetricsSaldoResponse\";\nimport { TEntityHistoricoResponse } from \"@base/@types/api/response/originacao/TEntityHistoricoResponse\";\n\nconst SALDO_TICKET_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.saldoTicket;\n\nexport async function apiBuscarSaldoContrato(id: number | string) {\n return ApiService.fetchDataWithAxios<TSaldoContratoResponse>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.buscarSaldoContrato(String(id)),\n method: \"get\",\n });\n}\n\nexport async function apiFindAllSaldo(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllSaldoResponse>>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiFindHistoricoByIdSaldo(id: number | string, params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TEntityHistoricoResponse>>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.historicoById(String(id), params),\n method: \"get\",\n });\n}\n\n\nexport async function apiBuscarSaldoDisponivel(data) {\n return ApiService.fetchDataWithAxios({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.buscarSaldoDisponivel,\n method: \"post\",\n data\n });\n}\n\nexport async function apiFindSaldoMetrics(params?: string) {\n return ApiService.fetchDataWithAxios<TFindAllMetricsSaldoResponse>({\n url: SALDO_TICKET_ORIGINACAO_ENDPOINT.findAllMetrics(params),\n method: \"get\",\n });\n}"],"names":[],"mappings":";;AAQA,MAAM,mCAAmC,yBAAyB,WAAW;AAE7E,eAAsB,uBAAuB,IAAqB;AAChE,SAAO,WAAW,mBAA2C;AAAA,IAC3D,KAAK,iCAAiC,oBAAoB,OAAO,EAAE,CAAC;AAAA,IACpE,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,gBAAgB,QAAiB;AACrD,SAAO,WAAW,mBAA0D;AAAA,IAC1E,KAAK,iCAAiC,QAAQ,MAAM;AAAA,IACpD,QAAQ;AAAA,EAAA,CACT;AACH;AAEsB,eAAA,0BAA0B,IAAqB,QAAiB;AACpF,SAAO,WAAW,mBAA6D;AAAA,IAC7E,KAAK,iCAAiC,cAAc,OAAO,EAAE,GAAG,MAAM;AAAA,IACtE,QAAQ;AAAA,EAAA,CACT;AACH;AAGA,eAAsB,yBAAyB,MAAM;AACnD,SAAO,WAAW,mBAAmB;AAAA,IACnC,KAAK,iCAAiC;AAAA,IACtC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,oBAAoB,QAAiB;AACzD,SAAO,WAAW,mBAAiD;AAAA,IACjE,KAAK,iCAAiC,eAAe,MAAM;AAAA,IAC3D,QAAQ;AAAA,EAAA,CACT;AACH;"}
@@ -8,7 +8,7 @@ import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMet
8
8
  import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./metaVendaRepresentante/MetaVendaRepresentanteService.js";
9
9
  import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./pedidoVenda/PedidoVendaService.js";
10
10
  import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./segmentoProduto/SegmentoProdutoService.js";
11
- import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoValorJurosCompostos, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./tabelaPreco/TabelaPrecoService.js";
11
+ import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./tabelaPreco/TabelaPrecoService.js";
12
12
  import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./vinculoMaterialCentro/VinculoMaterialCentroService.js";
13
13
  export {
14
14
  apiAddRacaoAutorizacaoAtendimentoCliente,
@@ -52,7 +52,7 @@ export {
52
52
  apiFindMonitorRacaoVinculoMaterialCentro,
53
53
  apiFindOrdensDisponiveisRacaoCarga,
54
54
  apiFindRacaoProdutosListaTecnica,
55
- apiFindRacaoValorJurosCompostos,
55
+ apiFindRacaoTabelaPrecoLatest,
56
56
  apiGetCalulatePriceRacaoPedidoVenda,
57
57
  apiGetRacaoAutorizacaoAtendimentoCliente,
58
58
  apiGetRacaoCarga,
@@ -41,14 +41,11 @@ async function apiFindRacaoProdutosListaTecnica(data = {}) {
41
41
  data
42
42
  });
43
43
  }
44
- async function apiFindRacaoValorJurosCompostos(body) {
45
- if (!body || Object.keys(body).length === 0) {
46
- return void 0;
47
- }
44
+ async function apiFindRacaoTabelaPrecoLatest(data = {}) {
48
45
  return ApiService.fetchDataWithAxios({
49
- url: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.endpoint,
50
- method: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.method,
51
- data: body
46
+ url: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.endpoint,
47
+ method: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.method,
48
+ data
52
49
  });
53
50
  }
54
51
  export {
@@ -56,7 +53,7 @@ export {
56
53
  apiDeleteRacaoTabelaPreco,
57
54
  apiFindMonitorRacaoTabelaPreco,
58
55
  apiFindRacaoProdutosListaTecnica,
59
- apiFindRacaoValorJurosCompostos,
56
+ apiFindRacaoTabelaPrecoLatest,
60
57
  apiGetRacaoTabelaPreco,
61
58
  apiUpdateRacaoTabelaPreco
62
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TJurosCompostos, TTabelaPreco, TTabelaPrecoProduto } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TTabelaPreco>({\n url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.add.endpoint,\n method: TABELA_PRECO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.update.endpoint,\n method: TABELA_PRECO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.findMonitor.endpoint,\n method: TABELA_PRECO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindRacaoProdutosListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TTabelaPrecoProduto[]>({\n url: TABELA_PRECO_ENDPOINT.findProdutosListaTecnica.endpoint,\n method: TABELA_PRECO_ENDPOINT.findProdutosListaTecnica.method,\n data,\n })\n}\n\nexport async function apiFindRacaoValorJurosCompostos(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TJurosCompostos>({\n url: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.endpoint,\n method: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.method,\n data: body,\n })\n}"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,wBAAwBA,yBAAe,MAAM;AAEnD,eAAsB,uBAAuB,IAAY;AACrD,SAAO,WAAW,mBAAiC;AAAA,IAC/C,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,uBAAuB,MAAoB;AAC7D,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,IAAI;AAAA,IAC/B,QAAQ,sBAAsB,IAAI;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAoB;AAChE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO;AAAA,IAClC,QAAQ,sBAAsB,OAAO;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO,WAAW,GAAG,EAAE;AAAA,IAClD,QAAQ,sBAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsB,+BAA+B,MAAsB;AACvE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,YAAY;AAAA,IACvC,QAAQ,sBAAsB,YAAY;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEsB,eAAA,iCAAiC,OAAO,IAAI;AAC9D,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,sBAAsB,yBAAyB;AAAA,IACpD,QAAQ,sBAAsB,yBAAyB;AAAA,IACvD;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,gCAAgC,MAAsB;AACxE,MAAI,CAAC,QAAQ,OAAO,KAAK,IAAI,EAAE,WAAW,GAAG;AAClC,WAAA;AAAA,EAAA;AAEX,SAAO,WAAW,mBAAoC;AAAA,IAClD,KAAK,sBAAsB,wBAAwB;AAAA,IACnD,QAAQ,sBAAsB,wBAAwB;AAAA,IACtD,MAAM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTabelaPreco, TTabelaPrecoProduto } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TTabelaPreco>({\n url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.add.endpoint,\n method: TABELA_PRECO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.update.endpoint,\n method: TABELA_PRECO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.findMonitor.endpoint,\n method: TABELA_PRECO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindRacaoProdutosListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TTabelaPrecoProduto[]>({\n url: TABELA_PRECO_ENDPOINT.findProdutosListaTecnica.endpoint,\n method: TABELA_PRECO_ENDPOINT.findProdutosListaTecnica.method,\n data,\n })\n}\n\n/* export async function apiFindRacaoValorJurosCompostos(body?: IFilterParams) {\n if (!body || Object.keys(body).length === 0) {\n return undefined\n }\n return ApiService.fetchDataWithAxios<TJurosCompostos>({\n url: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.endpoint,\n method: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.method,\n data: body,\n })\n} */\n\nexport async function apiFindRacaoTabelaPrecoLatest(data = {}) {\n return ApiService.fetchDataWithAxios<TTabelaPreco[]>({\n url: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.endpoint,\n method: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.method,\n data,\n })\n}"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,wBAAwBA,yBAAe,MAAM;AAEnD,eAAsB,uBAAuB,IAAY;AACrD,SAAO,WAAW,mBAAiC;AAAA,IAC/C,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,uBAAuB,MAAoB;AAC7D,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,IAAI;AAAA,IAC/B,QAAQ,sBAAsB,IAAI;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAoB;AAChE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO;AAAA,IAClC,QAAQ,sBAAsB,OAAO;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO,WAAW,GAAG,EAAE;AAAA,IAClD,QAAQ,sBAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsB,+BAA+B,MAAsB;AACvE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,YAAY;AAAA,IACvC,QAAQ,sBAAsB,YAAY;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEsB,eAAA,iCAAiC,OAAO,IAAI;AAC9D,SAAO,WAAW,mBAA0C;AAAA,IACxD,KAAK,sBAAsB,yBAAyB;AAAA,IACpD,QAAQ,sBAAsB,yBAAyB;AAAA,IACvD;AAAA,EAAA,CACH;AACL;AAasB,eAAA,8BAA8B,OAAO,IAAI;AAC3D,SAAO,WAAW,mBAAmC;AAAA,IACjD,KAAK,sBAAsB,sBAAsB;AAAA,IACjD,QAAQ,sBAAsB,sBAAsB;AAAA,IACpD;AAAA,EAAA,CACH;AACL;"}
@@ -0,0 +1,7 @@
1
+ export type TFindAllMetricsSaldoResponse = {
2
+ totalRegistros: number;
3
+ quantidadeInicial: number;
4
+ quantidadeUtilizada: number;
5
+ quantidadeBloqueada: number;
6
+ quantidadeDisponivel: number;
7
+ }
@@ -12,8 +12,8 @@ export type TTabelaPreco = {
12
12
  parametrosPreco: TParametrosPreco
13
13
  produtosListaTecnica: TTabelaPrecoProduto[]
14
14
  listaTecnica: TListaTecnica[]
15
- jurosCompostosDentroEstado: TJurosCompostos[]
16
- jurosCompostosForaEstado: TJurosCompostos[]
15
+ /* jurosCompostosDentroEstado: TJurosCompostos[]
16
+ jurosCompostosForaEstado: TJurosCompostos[] */
17
17
  }
18
18
 
19
19
  export type TParametrosPreco = {
@@ -42,7 +42,7 @@ export type TTabelaPrecoProduto = {
42
42
  precoCalculado: number
43
43
  }
44
44
 
45
- export type TJurosCompostos = {
45
+ /* export type TJurosCompostos = {
46
46
  id?: number
47
47
  produtoId?: number
48
48
  codigo?: string
@@ -54,4 +54,4 @@ export type TJurosCompostos = {
54
54
  percentualForaEstado: number
55
55
  valorJurosCompostos: number
56
56
  tipoJurosCompostos: string
57
- }
57
+ } */
@@ -2,7 +2,8 @@ const saldoTicket = {
2
2
  buscarSaldoContrato: (id: string) => `/originacao/api/saldo-ticket/contrato/${id}`,
3
3
  findAll: (params?: string) => `/originacao/api/saldo-ticket?${params ?? ""}`,
4
4
  historicoById: (id: string, params?: string) => `/originacao/api/saldo-ticket/${id}/historicos?${params ?? ""}`,
5
- buscarSaldoDisponivel: '/originacao/api/saldo-ticket/saldo-disponivel'
5
+ buscarSaldoDisponivel: '/originacao/api/saldo-ticket/saldo-disponivel',
6
+ findAllMetrics: (params?: string) => `/originacao/api/saldo-ticket/metrics?${params ?? ""}`
6
7
  };
7
8
 
8
9
  export default saldoTicket;
@@ -8,6 +8,7 @@ const tabelaPreco = {
8
8
  findMonitor: {endpoint: `${TABELA_PRECO_BASE_URL}/find-monitor`, method: 'post'},
9
9
  findProdutosListaTecnica: {endpoint: `${TABELA_PRECO_BASE_URL}/find-produtos-lista-tecnica`, method: 'post'},
10
10
  findValorJurosCompostos: {endpoint: `${TABELA_PRECO_BASE_URL}/find-valor-juros-compostos`, method: 'post'},
11
+ findLatestTabelaPreco: {endpoint: `${TABELA_PRECO_BASE_URL}/find-latest-tabela-preco`, method: 'post'},
11
12
  }
12
13
 
13
14
  export default tabelaPreco
@@ -3,6 +3,7 @@ import { TSaldoContratoResponse } from "@base/@types/api/response/originacao/TSa
3
3
  import endpointNavigationConfig from "@base/configs/endpoints.config/endpoints.navigation";
4
4
  import { TQueryResponse } from "@base/@types/api";
5
5
  import { TFindAllSaldoResponse } from "@base/@types/api/response/originacao/TFindAllSaldoResponse";
6
+ import { TFindAllMetricsSaldoResponse } from "@base/@types/api/response/originacao/TFindAllMetricsSaldoResponse";
6
7
  import { TEntityHistoricoResponse } from "@base/@types/api/response/originacao/TEntityHistoricoResponse";
7
8
 
8
9
  const SALDO_TICKET_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.saldoTicket;
@@ -28,10 +29,18 @@ export async function apiFindHistoricoByIdSaldo(id: number | string, params?: st
28
29
  });
29
30
  }
30
31
 
32
+
31
33
  export async function apiBuscarSaldoDisponivel(data) {
32
34
  return ApiService.fetchDataWithAxios({
33
35
  url: SALDO_TICKET_ORIGINACAO_ENDPOINT.buscarSaldoDisponivel,
34
36
  method: "post",
35
37
  data
36
38
  });
39
+ }
40
+
41
+ export async function apiFindSaldoMetrics(params?: string) {
42
+ return ApiService.fetchDataWithAxios<TFindAllMetricsSaldoResponse>({
43
+ url: SALDO_TICKET_ORIGINACAO_ENDPOINT.findAllMetrics(params),
44
+ method: "get",
45
+ });
37
46
  }
@@ -1,6 +1,6 @@
1
1
  import ApiService from "@/services/ApiService";
2
2
  import { IFilterParams, TQueryResponse } from "@base/@types/api";
3
- import { TJurosCompostos, TTabelaPreco, TTabelaPrecoProduto } from "@base/@types/models/racao/tabelaPreco";
3
+ import { TTabelaPreco, TTabelaPrecoProduto } from "@base/@types/models/racao/tabelaPreco";
4
4
  import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation";
5
5
 
6
6
  const TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;
@@ -51,7 +51,7 @@ export async function apiFindRacaoProdutosListaTecnica(data = {}) {
51
51
  })
52
52
  }
53
53
 
54
- export async function apiFindRacaoValorJurosCompostos(body?: IFilterParams) {
54
+ /* export async function apiFindRacaoValorJurosCompostos(body?: IFilterParams) {
55
55
  if (!body || Object.keys(body).length === 0) {
56
56
  return undefined
57
57
  }
@@ -60,4 +60,12 @@ export async function apiFindRacaoValorJurosCompostos(body?: IFilterParams) {
60
60
  method: TABELA_PRECO_ENDPOINT.findValorJurosCompostos.method,
61
61
  data: body,
62
62
  })
63
+ } */
64
+
65
+ export async function apiFindRacaoTabelaPrecoLatest(data = {}) {
66
+ return ApiService.fetchDataWithAxios<TTabelaPreco[]>({
67
+ url: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.endpoint,
68
+ method: TABELA_PRECO_ENDPOINT.findLatestTabelaPreco.method,
69
+ data,
70
+ })
63
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.3.276",
3
+ "version": "5.3.278",
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",