@orbe-agro/client-core-prod 5.6.28 → 5.6.30
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.
- package/dist/@types/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.d.ts +6 -0
- package/dist/@types/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.d.ts.map +1 -1
- package/dist/@types/base/@types/api/response/originacao/TPagamento.d.ts +27 -0
- package/dist/@types/base/@types/api/response/originacao/TPagamento.d.ts.map +1 -0
- package/dist/@types/base/@types/enums/originacao/StatusRetornoLiquidacao.d.ts +2 -1
- package/dist/@types/base/@types/enums/originacao/StatusRetornoLiquidacao.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +2 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/originacao/config/liquidacao.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/originacao/config/liquidacao.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/originacao/config/pagamento.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts +2 -0
- package/dist/@types/base/configs/endpoints.config/originacao/originacao.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.d.ts.map +1 -1
- package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts +1 -0
- package/dist/@types/base/services/modules/originacao/liquidacao/liquidacaoService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts +2 -0
- package/dist/@types/base/services/modules/originacao/pagamento/pagamentoService.d.ts.map +1 -1
- package/dist/base/@types/api/response/originacao/TPagamento.js +2 -0
- package/dist/base/@types/api/response/originacao/TPagamento.js.map +1 -0
- package/dist/base/@types/enums/originacao/StatusRetornoLiquidacao.js +1 -0
- package/dist/base/@types/enums/originacao/StatusRetornoLiquidacao.js.map +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/liquidacao.js +2 -1
- package/dist/base/configs/endpoints.config/originacao/config/liquidacao.js.map +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/pagamento.js +2 -1
- package/dist/base/configs/endpoints.config/originacao/config/pagamento.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.js +17 -0
- package/dist/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.js +2 -1
- package/dist/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.js.map +1 -1
- package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js +8 -1
- package/dist/base/services/modules/originacao/liquidacao/liquidacaoService.js.map +1 -1
- package/dist/base/services/modules/originacao/pagamento/pagamentoService.js +7 -0
- package/dist/base/services/modules/originacao/pagamento/pagamentoService.js.map +1 -1
- package/lib/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.ts +7 -0
- package/lib/base/@types/api/response/originacao/TPagamento.ts +27 -0
- package/lib/base/@types/enums/originacao/StatusRetornoLiquidacao.ts +2 -1
- package/lib/base/configs/endpoints.config/originacao/config/liquidacao.ts +1 -0
- package/lib/base/configs/endpoints.config/originacao/config/pagamento.ts +1 -0
- package/lib/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.ts +17 -0
- package/lib/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.ts +2 -1
- package/lib/base/services/modules/originacao/liquidacao/liquidacaoService.ts +7 -0
- package/lib/base/services/modules/originacao/pagamento/pagamentoService.ts +8 -0
- package/package.json +1 -1
package/dist/@types/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.d.ts
CHANGED
|
@@ -6,4 +6,10 @@ export type TDadosBancariosPagamentoResponse = {
|
|
|
6
6
|
titular: string;
|
|
7
7
|
bancoBusinessPartner: TFindByIdBancoBusinessPartnerResponse;
|
|
8
8
|
};
|
|
9
|
+
export type TDadosBancariosPagamento = {
|
|
10
|
+
id: number;
|
|
11
|
+
destinoPagamento: DestinoPagamento;
|
|
12
|
+
businessPartnerId: number;
|
|
13
|
+
bancoBusinessPartnerId: number;
|
|
14
|
+
};
|
|
9
15
|
//# sourceMappingURL=TDadosBancariosPagamentoResponse.d.ts.map
|
package/dist/@types/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TDadosBancariosPagamentoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,MAAM,MAAM,gCAAgC,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,qCAAqC,CAAC;CAC/D,CAAA"}
|
|
1
|
+
{"version":3,"file":"TDadosBancariosPagamentoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TDadosBancariosPagamentoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,MAAM,MAAM,gCAAgC,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,qCAAqC,CAAC;CAC/D,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;CAClC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StatusPagamentoLiquidacao } from "@base/@types/enums/originacao/StatusPagamentoLiquidacao";
|
|
2
|
+
import { TRetencaoResponse } from "./TRetencaoResponse";
|
|
3
|
+
import { StatusPagamento } from "@base/@types/enums/originacao/StatusPagamento";
|
|
4
|
+
import { StatusPenhor } from "@base/@types/enums/originacao/StatusPenhor";
|
|
5
|
+
import { TDadosBancariosPagamento } from "./TDadosBancariosPagamentoResponse";
|
|
6
|
+
export type TPagamento = {
|
|
7
|
+
id: number;
|
|
8
|
+
ativo: boolean;
|
|
9
|
+
contratoCompraGraosId: number;
|
|
10
|
+
produtorId: number;
|
|
11
|
+
liquidacaoId: number;
|
|
12
|
+
produtoId: number;
|
|
13
|
+
saldoContratoALiquidar: number;
|
|
14
|
+
volumeLiquidado: number;
|
|
15
|
+
precoContrato: number;
|
|
16
|
+
dataPagamento: string;
|
|
17
|
+
valorBruto: number;
|
|
18
|
+
valorLiquido: number;
|
|
19
|
+
valorRetencoes: number;
|
|
20
|
+
retencoes: TRetencaoResponse[];
|
|
21
|
+
statusPagamentoLiquidacao: StatusPagamentoLiquidacao;
|
|
22
|
+
docAgrupamentoSap: string;
|
|
23
|
+
statusPagamento: StatusPagamento;
|
|
24
|
+
dadosBancariosPagamento: TDadosBancariosPagamento;
|
|
25
|
+
statusPenhor: StatusPenhor;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=TPagamento.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TPagamento.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/originacao/TPagamento.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,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,wBAAwB,CAAC;IAClD,YAAY,EAAE,YAAY,CAAC;CAC9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRetornoLiquidacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/originacao/StatusRetornoLiquidacao.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IAC/B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,IAAI,SAAS;
|
|
1
|
+
{"version":3,"file":"StatusRetornoLiquidacao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/originacao/StatusRetornoLiquidacao.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IAC/B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;CACpB"}
|
|
@@ -1760,6 +1760,7 @@ declare const endpointNavigationConfig: {
|
|
|
1760
1760
|
liquidacao: {
|
|
1761
1761
|
findAll: string;
|
|
1762
1762
|
finalizar: string;
|
|
1763
|
+
retornoSap: string;
|
|
1763
1764
|
};
|
|
1764
1765
|
pagamento: {
|
|
1765
1766
|
findAll: (params?: string) => string;
|
|
@@ -1768,6 +1769,7 @@ declare const endpointNavigationConfig: {
|
|
|
1768
1769
|
bloquearPagamento: (id: string) => string;
|
|
1769
1770
|
deveAlterarDataPagamento: (contratoId: string) => string;
|
|
1770
1771
|
alterarBancoPagamento: () => string;
|
|
1772
|
+
findPagamentosEmAberto: (contratoCompraGraosId: string) => string;
|
|
1771
1773
|
};
|
|
1772
1774
|
termoFunrural: {
|
|
1773
1775
|
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
|
|
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"}
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"liquidacao.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/originacao/config/liquidacao.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU;;;;CAIf,CAAA;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -5,6 +5,7 @@ declare const pagamento: {
|
|
|
5
5
|
bloquearPagamento: (id: string) => string;
|
|
6
6
|
deveAlterarDataPagamento: (contratoId: string) => string;
|
|
7
7
|
alterarBancoPagamento: () => string;
|
|
8
|
+
findPagamentosEmAberto: (contratoCompraGraosId: string) => string;
|
|
8
9
|
};
|
|
9
10
|
export default pagamento;
|
|
10
11
|
//# 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;;
|
|
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;;oDAEG,MAAM;CACzD,CAAA;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -296,6 +296,7 @@ declare const originacao: {
|
|
|
296
296
|
liquidacao: {
|
|
297
297
|
findAll: string;
|
|
298
298
|
finalizar: string;
|
|
299
|
+
retornoSap: string;
|
|
299
300
|
};
|
|
300
301
|
pagamento: {
|
|
301
302
|
findAll: (params?: string) => string;
|
|
@@ -304,6 +305,7 @@ declare const originacao: {
|
|
|
304
305
|
bloquearPagamento: (id: string) => string;
|
|
305
306
|
deveAlterarDataPagamento: (contratoId: string) => string;
|
|
306
307
|
alterarBancoPagamento: () => string;
|
|
308
|
+
findPagamentosEmAberto: (contratoCompraGraosId: string) => string;
|
|
307
309
|
};
|
|
308
310
|
termoFunrural: {
|
|
309
311
|
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
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditoriaRealizado.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,QAAA,MAAM,yBAAyB,EAAE,cAUhC,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
package/dist/@types/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orcamento.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"orcamento.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQ1D,QAAA,MAAM,gBAAgB,EAAE,cAAc,EAA+I,CAAC;AAEtL,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,4 +4,5 @@ export declare function apiFindAllLiquidacao(data?: {}): Promise<TQueryResponse<
|
|
|
4
4
|
export declare function apiFinalizarLiquidacao(id: any, data: {
|
|
5
5
|
statusPenhor: 'POSITIVO' | 'NEGATIVO';
|
|
6
6
|
}): Promise<unknown>;
|
|
7
|
+
export declare function apiRetornoSapLiquidacao(id: number | string): Promise<void>;
|
|
7
8
|
//# 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,EAAE,IAAI,EAAE;IAAE,YAAY,EAAE,UAAU,GAAG,UAAU,CAAA;CAAE,oBAM/F"}
|
|
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;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,iBAKhE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TDeveAlterarDataPagamentoResponse } from "@base/@types/api/response/originacao/TDeveAlterarDataPagamentoResponse";
|
|
3
3
|
import { TFindAllPagamentoResponse } from "@base/@types/api/response/originacao/TFindAllPagamentoResponse";
|
|
4
|
+
import { TPagamento } from "@base/@types/api/response/originacao/TPagamento";
|
|
4
5
|
export declare function apiFindAllPagamento(params?: string): Promise<TQueryResponse<TFindAllPagamentoResponse>>;
|
|
5
6
|
export declare function apiProrrogarDataPagamento(id: number | string, novaDataPagamento: string): Promise<void>;
|
|
6
7
|
export declare function apiLiberarPagamento(id: number | string): Promise<void>;
|
|
@@ -10,4 +11,5 @@ export declare function apiAlterarBancoPagamento(data: {
|
|
|
10
11
|
contratoCompraGraosId: number | string;
|
|
11
12
|
bancoBusinessPartnerId: number;
|
|
12
13
|
}): Promise<void>;
|
|
14
|
+
export declare function apiFindPagamentosEmAberto(contratoCompraGraosId: number | string): Promise<TPagamento>;
|
|
13
15
|
//# 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;
|
|
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;AAC3G,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAK7E,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;AAED,wBAAsB,yBAAyB,CAAC,qBAAqB,EAAE,MAAM,GAAG,MAAM,uBAKrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TPagamento.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -6,6 +6,7 @@ var StatusRetornoLiquidacao = /* @__PURE__ */ ((StatusRetornoLiquidacao2) => {
|
|
|
6
6
|
StatusRetornoLiquidacao2["CANCELADO"] = "CANCELADO";
|
|
7
7
|
StatusRetornoLiquidacao2["RECUSADO"] = "RECUSADO";
|
|
8
8
|
StatusRetornoLiquidacao2["ERRO"] = "ERRO";
|
|
9
|
+
StatusRetornoLiquidacao2["PENHOR"] = "PENHOR";
|
|
9
10
|
return StatusRetornoLiquidacao2;
|
|
10
11
|
})(StatusRetornoLiquidacao || {});
|
|
11
12
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRetornoLiquidacao.js","sources":["../../../../../lib/base/@types/enums/originacao/StatusRetornoLiquidacao.ts"],"sourcesContent":["export enum StatusRetornoLiquidacao {\n INICIAL = 'INICIAL',\n AGUARDANDO = 'AGUARDANDO',\n AUTORIZADO = 'AUTORIZADO',\n FINALIZADO = 'FINALIZADO',\n CANCELADO = 'CANCELADO',\n RECUSADO = 'RECUSADO',\n ERRO = 'ERRO'\n}"],"names":["StatusRetornoLiquidacao"],"mappings":"AAAO,IAAK,4CAAAA,6BAAL;AACHA,2BAAA,SAAA,IAAU;AACVA,2BAAA,YAAA,IAAa;AACbA,2BAAA,YAAA,IAAa;AACbA,2BAAA,YAAA,IAAa;AACbA,2BAAA,WAAA,IAAY;AACZA,2BAAA,UAAA,IAAW;AACXA,2BAAA,MAAA,IAAO;
|
|
1
|
+
{"version":3,"file":"StatusRetornoLiquidacao.js","sources":["../../../../../lib/base/@types/enums/originacao/StatusRetornoLiquidacao.ts"],"sourcesContent":["export enum StatusRetornoLiquidacao {\n INICIAL = 'INICIAL',\n AGUARDANDO = 'AGUARDANDO',\n AUTORIZADO = 'AUTORIZADO',\n FINALIZADO = 'FINALIZADO',\n CANCELADO = 'CANCELADO',\n RECUSADO = 'RECUSADO',\n ERRO = 'ERRO',\n PENHOR = 'PENHOR'\n}"],"names":["StatusRetornoLiquidacao"],"mappings":"AAAO,IAAK,4CAAAA,6BAAL;AACHA,2BAAA,SAAA,IAAU;AACVA,2BAAA,YAAA,IAAa;AACbA,2BAAA,YAAA,IAAa;AACbA,2BAAA,YAAA,IAAa;AACbA,2BAAA,WAAA,IAAY;AACZA,2BAAA,UAAA,IAAW;AACXA,2BAAA,MAAA,IAAO;AACPA,2BAAA,QAAA,IAAS;AARD,SAAAA;AAAA,GAAA,2BAAA,CAAA,CAAA;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const liquidacao = {
|
|
2
2
|
findAll: `/originacao/api/liquidacao/filter`,
|
|
3
|
-
finalizar: `/originacao/api/liquidacao/finalizar
|
|
3
|
+
finalizar: `/originacao/api/liquidacao/finalizar/`,
|
|
4
|
+
retornoSap: `/originacao/api/liquidacao/retorno-sap/`
|
|
4
5
|
};
|
|
5
6
|
export {
|
|
6
7
|
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 finalizar: `/originacao/api/liquidacao/finalizar/`,\n}\n\nexport default liquidacao;"],"names":[],"mappings":"AAAA,MAAM,aAAa;AAAA,EACf,SAAS;AAAA,EACT,WAAW;
|
|
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 retornoSap: `/originacao/api/liquidacao/retorno-sap/`,\n}\n\nexport default liquidacao;"],"names":[],"mappings":"AAAA,MAAM,aAAa;AAAA,EACf,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AAChB;"}
|
|
@@ -4,7 +4,8 @@ const pagamento = {
|
|
|
4
4
|
liberarPagamento: (id) => `/originacao/api/pagamentos/${id}/liberar-pagamento`,
|
|
5
5
|
bloquearPagamento: (id) => `/originacao/api/pagamentos/${id}/bloquear-pagamento`,
|
|
6
6
|
deveAlterarDataPagamento: (contratoId) => `/originacao/api/pagamentos/deve-alterar-data-pagamento${contratoId ? `?contratoId=${contratoId}` : ""}`,
|
|
7
|
-
alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco
|
|
7
|
+
alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco`,
|
|
8
|
+
findPagamentosEmAberto: (contratoCompraGraosId) => `/originacao/api/pagamentos/em-aberto${contratoCompraGraosId ? `?contratoCompraGraosId=${contratoCompraGraosId}` : ""}`
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
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 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;
|
|
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 findPagamentosEmAberto: (contratoCompraGraosId: string) => `/originacao/api/pagamentos/em-aberto${contratoCompraGraosId ? `?contratoCompraGraosId=${contratoCompraGraosId}` : ''}`,\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;AAAA,EAC7B,wBAAwB,CAAC,0BAAkC,uCAAuC,wBAAwB,0BAA0B,qBAAqB,KAAK,EAAE;AACpL;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM } from "../../../../../@ecme/constants/navigation.constant.js";
|
|
2
|
+
import { ADMIN } from "../../../../../@ecme/constants/roles.constant.js";
|
|
3
|
+
const auditoriaRealizadoSubmenu = {
|
|
4
|
+
key: "modules.orcamento.auditoriaRealizado",
|
|
5
|
+
path: "/orcamento/auditoria-realizado",
|
|
6
|
+
title: "Auditoria do Realizado",
|
|
7
|
+
translateKey: "nav.modules.orcamento.auditoriaRealizado.title",
|
|
8
|
+
icon: "chart",
|
|
9
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
10
|
+
forceShowTitle: true,
|
|
11
|
+
authority: [ADMIN],
|
|
12
|
+
subMenu: []
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
auditoriaRealizadoSubmenu as default
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=auditoriaRealizado.submenu.js.map
|
package/dist/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auditoriaRealizado.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/orcamento/auditoriaRealizado.submenu.ts"],"sourcesContent":["import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\nimport { NavigationTree } from '@/@types/navigation'\n\nconst auditoriaRealizadoSubmenu: NavigationTree = {\n key: 'modules.orcamento.auditoriaRealizado',\n path: '/orcamento/auditoria-realizado',\n title: 'Auditoria do Realizado',\n translateKey: 'nav.modules.orcamento.auditoriaRealizado.title',\n icon: 'chart',\n type: NAV_ITEM_TYPE_ITEM,\n forceShowTitle: true,\n authority: [ADMIN],\n subMenu: [],\n}\n\nexport default auditoriaRealizadoSubmenu\n"],"names":[],"mappings":";;AAIA,MAAM,4BAA4C;AAAA,EAC9C,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,WAAW,CAAC,KAAK;AAAA,EACjB,SAAS,CAAA;AACb;"}
|
|
@@ -2,8 +2,9 @@ import subMenuCadastros from "../../modules.submenu/orcamento/cadastros/submenu.
|
|
|
2
2
|
import metricasDeOrcamentoSubmenu from "./metricasDeOrcamento.submenu.js";
|
|
3
3
|
import orcamentoRaizSubmenu from "./orcamentoRaiz.submenu.js";
|
|
4
4
|
import mestreOrcamentoSubmenu from "./mestreOrcamento.submenu.js";
|
|
5
|
+
import auditoriaRealizadoSubmenu from "./auditoriaRealizado.submenu.js";
|
|
5
6
|
import subMenuRelatorios from "../../modules.submenu/orcamento/relatorios/submenu.relatorios.js";
|
|
6
|
-
const orcamentoSubmenu = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, subMenuRelatorios];
|
|
7
|
+
const orcamentoSubmenu = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, auditoriaRealizadoSubmenu, subMenuRelatorios];
|
|
7
8
|
export {
|
|
8
9
|
orcamentoSubmenu as default
|
|
9
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orcamento.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.ts"],"sourcesContent":["import type { NavigationTree } from \"@/@types/navigation\";\nimport subMenuCadastros from \"../../modules.submenu/orcamento/cadastros/submenu.cadastro\";\nimport metricasDeOrcamentoSubmenu from \"./metricasDeOrcamento.submenu\";\nimport orcamentoRaizSubmenu from \"./orcamentoRaiz.submenu\";\nimport mestreOrcamentoSubmenu from \"./mestreOrcamento.submenu\";\nimport subMenuRelatorios from \"../../modules.submenu/orcamento/relatorios/submenu.relatorios\";\n\nconst orcamentoSubmenu: NavigationTree[] = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, subMenuRelatorios];\n\nexport default orcamentoSubmenu;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orcamento.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/orcamento/orcamento.submenu.ts"],"sourcesContent":["import type { NavigationTree } from \"@/@types/navigation\";\nimport subMenuCadastros from \"../../modules.submenu/orcamento/cadastros/submenu.cadastro\";\nimport metricasDeOrcamentoSubmenu from \"./metricasDeOrcamento.submenu\";\nimport orcamentoRaizSubmenu from \"./orcamentoRaiz.submenu\";\nimport mestreOrcamentoSubmenu from \"./mestreOrcamento.submenu\";\nimport auditoriaRealizadoSubmenu from \"./auditoriaRealizado.submenu\";\nimport subMenuRelatorios from \"../../modules.submenu/orcamento/relatorios/submenu.relatorios\";\n\nconst orcamentoSubmenu: NavigationTree[] = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, auditoriaRealizadoSubmenu, subMenuRelatorios];\n\nexport default orcamentoSubmenu;\n"],"names":[],"mappings":";;;;;;AAQA,MAAM,mBAAqC,CAAC,kBAAkB,4BAA4B,sBAAsB,wBAAwB,2BAA2B,iBAAiB;"}
|
|
@@ -15,8 +15,15 @@ async function apiFinalizarLiquidacao(id, data) {
|
|
|
15
15
|
data
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
async function apiRetornoSapLiquidacao(id) {
|
|
19
|
+
return ApiService.fetchDataWithAxios({
|
|
20
|
+
url: LIQUIDACAO_ORIGINACAO_ENDPOINT.retornoSap + id,
|
|
21
|
+
method: "post"
|
|
22
|
+
});
|
|
23
|
+
}
|
|
18
24
|
export {
|
|
19
25
|
apiFinalizarLiquidacao,
|
|
20
|
-
apiFindAllLiquidacao
|
|
26
|
+
apiFindAllLiquidacao,
|
|
27
|
+
apiRetornoSapLiquidacao
|
|
21
28
|
};
|
|
22
29
|
//# 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\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;"}
|
|
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\nexport async function apiRetornoSapLiquidacao(id: number | string) {\n return ApiService.fetchDataWithAxios<void>({\n url: LIQUIDACAO_ORIGINACAO_ENDPOINT.retornoSap + 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,MAAiD;AAC9F,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,+BAA+B,YAAY;AAAA,IAChD,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,IAAqB;AAC/D,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,+BAA+B,aAAa;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -39,11 +39,18 @@ async function apiAlterarBancoPagamento(data) {
|
|
|
39
39
|
data
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
+
async function apiFindPagamentosEmAberto(contratoCompraGraosId) {
|
|
43
|
+
return ApiService.fetchDataWithAxios({
|
|
44
|
+
url: PAGAMENTO_ORIGINACAO_ENDPOINT.findPagamentosEmAberto(String(contratoCompraGraosId)),
|
|
45
|
+
method: "get"
|
|
46
|
+
});
|
|
47
|
+
}
|
|
42
48
|
export {
|
|
43
49
|
apiAlterarBancoPagamento,
|
|
44
50
|
apiBloquearPagamento,
|
|
45
51
|
apiDeveAlterarDataPagamento,
|
|
46
52
|
apiFindAllPagamento,
|
|
53
|
+
apiFindPagamentosEmAberto,
|
|
47
54
|
apiLiberarPagamento,
|
|
48
55
|
apiProrrogarDataPagamento
|
|
49
56
|
};
|
|
@@ -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}\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":";;
|
|
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 { TPagamento } from \"@base/@types/api/response/originacao/TPagamento\";\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}\n\nexport async function apiFindPagamentosEmAberto(contratoCompraGraosId: number | string) {\n return ApiService.fetchDataWithAxios<TPagamento>({\n url: PAGAMENTO_ORIGINACAO_ENDPOINT.findPagamentosEmAberto(String(contratoCompraGraosId)),\n method: \"get\",\n });\n}"],"names":[],"mappings":";;AAOA,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;AAEA,eAAsB,0BAA0B,uBAAwC;AACtF,SAAO,WAAW,mBAA+B;AAAA,IAC/C,KAAK,8BAA8B,uBAAuB,OAAO,qBAAqB,CAAC;AAAA,IACvF,QAAQ;AAAA,EAAA,CACT;AACH;"}
|
|
@@ -6,4 +6,11 @@ export type TDadosBancariosPagamentoResponse = {
|
|
|
6
6
|
destinoPagamento: DestinoPagamento;
|
|
7
7
|
titular: string;
|
|
8
8
|
bancoBusinessPartner: TFindByIdBancoBusinessPartnerResponse;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type TDadosBancariosPagamento = {
|
|
12
|
+
id: number;
|
|
13
|
+
destinoPagamento: DestinoPagamento;
|
|
14
|
+
businessPartnerId: number;
|
|
15
|
+
bancoBusinessPartnerId: number;
|
|
9
16
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StatusPagamentoLiquidacao } from "@base/@types/enums/originacao/StatusPagamentoLiquidacao";
|
|
2
|
+
import { TRetencaoResponse } from "./TRetencaoResponse";
|
|
3
|
+
import { StatusPagamento } from "@base/@types/enums/originacao/StatusPagamento";
|
|
4
|
+
import { StatusPenhor } from "@base/@types/enums/originacao/StatusPenhor";
|
|
5
|
+
import { TDadosBancariosPagamento } from "./TDadosBancariosPagamentoResponse";
|
|
6
|
+
|
|
7
|
+
export type TPagamento = {
|
|
8
|
+
id: number;
|
|
9
|
+
ativo: boolean;
|
|
10
|
+
contratoCompraGraosId: number;
|
|
11
|
+
produtorId: number;
|
|
12
|
+
liquidacaoId: number;
|
|
13
|
+
produtoId: number;
|
|
14
|
+
saldoContratoALiquidar: number;
|
|
15
|
+
volumeLiquidado: number;
|
|
16
|
+
precoContrato: number;
|
|
17
|
+
dataPagamento: string;
|
|
18
|
+
valorBruto: number;
|
|
19
|
+
valorLiquido: number;
|
|
20
|
+
valorRetencoes: number;
|
|
21
|
+
retencoes: TRetencaoResponse[];
|
|
22
|
+
statusPagamentoLiquidacao: StatusPagamentoLiquidacao;
|
|
23
|
+
docAgrupamentoSap: string;
|
|
24
|
+
statusPagamento: StatusPagamento;
|
|
25
|
+
dadosBancariosPagamento: TDadosBancariosPagamento;
|
|
26
|
+
statusPenhor: StatusPenhor;
|
|
27
|
+
}
|
|
@@ -5,6 +5,7 @@ const 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
7
|
alterarBancoPagamento: () => `/originacao/api/pagamentos/alterar-banco`,
|
|
8
|
+
findPagamentosEmAberto: (contratoCompraGraosId: string) => `/originacao/api/pagamentos/em-aberto${contratoCompraGraosId ? `?contratoCompraGraosId=${contratoCompraGraosId}` : ''}`,
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export default pagamento;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
2
|
+
import { ADMIN } from '@/constants/roles.constant'
|
|
3
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
4
|
+
|
|
5
|
+
const auditoriaRealizadoSubmenu: NavigationTree = {
|
|
6
|
+
key: 'modules.orcamento.auditoriaRealizado',
|
|
7
|
+
path: '/orcamento/auditoria-realizado',
|
|
8
|
+
title: 'Auditoria do Realizado',
|
|
9
|
+
translateKey: 'nav.modules.orcamento.auditoriaRealizado.title',
|
|
10
|
+
icon: 'chart',
|
|
11
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
12
|
+
forceShowTitle: true,
|
|
13
|
+
authority: [ADMIN],
|
|
14
|
+
subMenu: [],
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default auditoriaRealizadoSubmenu
|
|
@@ -3,8 +3,9 @@ import subMenuCadastros from "../../modules.submenu/orcamento/cadastros/submenu.
|
|
|
3
3
|
import metricasDeOrcamentoSubmenu from "./metricasDeOrcamento.submenu";
|
|
4
4
|
import orcamentoRaizSubmenu from "./orcamentoRaiz.submenu";
|
|
5
5
|
import mestreOrcamentoSubmenu from "./mestreOrcamento.submenu";
|
|
6
|
+
import auditoriaRealizadoSubmenu from "./auditoriaRealizado.submenu";
|
|
6
7
|
import subMenuRelatorios from "../../modules.submenu/orcamento/relatorios/submenu.relatorios";
|
|
7
8
|
|
|
8
|
-
const orcamentoSubmenu: NavigationTree[] = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, subMenuRelatorios];
|
|
9
|
+
const orcamentoSubmenu: NavigationTree[] = [subMenuCadastros, metricasDeOrcamentoSubmenu, orcamentoRaizSubmenu, mestreOrcamentoSubmenu, auditoriaRealizadoSubmenu, subMenuRelatorios];
|
|
9
10
|
|
|
10
11
|
export default orcamentoSubmenu;
|
|
@@ -20,3 +20,10 @@ export async function apiFinalizarLiquidacao(id, data: { statusPenhor: 'POSITIVO
|
|
|
20
20
|
data,
|
|
21
21
|
})
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
export async function apiRetornoSapLiquidacao(id: number | string) {
|
|
25
|
+
return ApiService.fetchDataWithAxios<void>({
|
|
26
|
+
url: LIQUIDACAO_ORIGINACAO_ENDPOINT.retornoSap + id,
|
|
27
|
+
method: 'post',
|
|
28
|
+
})
|
|
29
|
+
}
|
|
@@ -2,6 +2,7 @@ import ApiService from "@/services/ApiService";
|
|
|
2
2
|
import { TQueryResponse } from "@base/@types/api";
|
|
3
3
|
import { TDeveAlterarDataPagamentoResponse } from "@base/@types/api/response/originacao/TDeveAlterarDataPagamentoResponse";
|
|
4
4
|
import { TFindAllPagamentoResponse } from "@base/@types/api/response/originacao/TFindAllPagamentoResponse";
|
|
5
|
+
import { TPagamento } from "@base/@types/api/response/originacao/TPagamento";
|
|
5
6
|
import endpointNavigationConfig from "@base/configs/endpoints.config/endpoints.navigation";
|
|
6
7
|
|
|
7
8
|
const PAGAMENTO_ORIGINACAO_ENDPOINT = endpointNavigationConfig.originacao.pagamento;
|
|
@@ -48,4 +49,11 @@ export async function apiAlterarBancoPagamento(data: { contratoCompraGraosId: nu
|
|
|
48
49
|
method: "patch",
|
|
49
50
|
data,
|
|
50
51
|
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export async function apiFindPagamentosEmAberto(contratoCompraGraosId: number | string) {
|
|
55
|
+
return ApiService.fetchDataWithAxios<TPagamento>({
|
|
56
|
+
url: PAGAMENTO_ORIGINACAO_ENDPOINT.findPagamentosEmAberto(String(contratoCompraGraosId)),
|
|
57
|
+
method: "get",
|
|
58
|
+
});
|
|
51
59
|
}
|
package/package.json
CHANGED