@orbe-agro/client-core-prod 5.5.48 → 5.5.50
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/models/dm/condicaoPagamento.d.ts +19 -1
- package/dist/@types/base/@types/models/dm/condicaoPagamento.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/termoFudeinfra.js +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/termoFudeinfra.js.map +1 -1
- package/dist/base/services/modules/originacao/termoFundeinfra/termoFundeinfraService.js +1 -1
- package/dist/base/services/modules/originacao/termoFundeinfra/termoFundeinfraService.js.map +1 -1
- package/lib/base/@types/models/dm/condicaoPagamento.ts +20 -1
- package/lib/base/configs/endpoints.config/originacao/config/termoFudeinfra.ts +1 -1
- package/lib/base/services/modules/originacao/termoFundeinfra/termoFundeinfraService.ts +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,28 @@ export type TCondicaoPagamento = {
|
|
|
2
2
|
id: number;
|
|
3
3
|
codigo: string;
|
|
4
4
|
nome: string;
|
|
5
|
-
|
|
5
|
+
compras: boolean;
|
|
6
|
+
racao: boolean;
|
|
7
|
+
commodities: boolean;
|
|
6
8
|
diaLimite: string;
|
|
9
|
+
chaveCondicaoPagamento: string;
|
|
10
|
+
tipoDataBase: string;
|
|
11
|
+
bloqueio: string;
|
|
7
12
|
diasVencimento: string;
|
|
8
13
|
indicadorParcelamento: boolean;
|
|
14
|
+
parcelas: TCondicaoPagamentoParcelas[];
|
|
15
|
+
};
|
|
16
|
+
export type TCondicaoPagamentoParcelas = {
|
|
17
|
+
id: number;
|
|
18
|
+
codigo: string;
|
|
19
|
+
nome: string;
|
|
20
|
+
numeroPrestacao: number;
|
|
21
|
+
percentualParcela: number;
|
|
22
|
+
condicaoParcela: string;
|
|
23
|
+
diasVencimento: string;
|
|
24
|
+
diaLimite: string;
|
|
25
|
+
bloqueioParcela: string;
|
|
26
|
+
bloqueio: boolean;
|
|
9
27
|
};
|
|
10
28
|
export type TCondicaoPagamentoFormSchema = TCondicaoPagamento;
|
|
11
29
|
//# sourceMappingURL=condicaoPagamento.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"condicaoPagamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/dm/condicaoPagamento.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"condicaoPagamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/dm/condicaoPagamento.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,OAAO,CAAA;IACd,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,0BAA0B,EAAE,CAAA;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,kBAAkB,CAAA"}
|
|
@@ -6,7 +6,7 @@ const termoFundeinfra = {
|
|
|
6
6
|
cancelar: { endpoint: `${TERMO_FUNDEINFRA_URL}/cancelar/`, method: "post" },
|
|
7
7
|
reprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/reprovar/`, method: "post" },
|
|
8
8
|
aprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/aprovar`, method: "post" },
|
|
9
|
-
reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: "
|
|
9
|
+
reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: "get" },
|
|
10
10
|
uploadArquivo: { endpoint: `${TERMO_FUNDEINFRA_URL}/upload-arquivo/{id}`, method: "post" }
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"termoFudeinfra.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/termoFudeinfra.ts"],"sourcesContent":["const TERMO_FUNDEINFRA_URL = '/originacao/api/termo-fundeinfra'\n\nconst termoFundeinfra = {\n add: { endpoint: `${TERMO_FUNDEINFRA_URL}`, method: 'post' },\n findOne: { endpoint: `${TERMO_FUNDEINFRA_URL}`, method: 'get' },\n findMonitor: { endpoint: `${TERMO_FUNDEINFRA_URL}/find-monitor`, method: 'get' },\n cancelar: { endpoint: `${TERMO_FUNDEINFRA_URL}/cancelar/`, method: 'post' },\n reprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/reprovar/`, method: 'post' },\n aprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/aprovar`, method: 'post' },\n reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: '
|
|
1
|
+
{"version":3,"file":"termoFudeinfra.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/termoFudeinfra.ts"],"sourcesContent":["const TERMO_FUNDEINFRA_URL = '/originacao/api/termo-fundeinfra'\n\nconst termoFundeinfra = {\n add: { endpoint: `${TERMO_FUNDEINFRA_URL}`, method: 'post' },\n findOne: { endpoint: `${TERMO_FUNDEINFRA_URL}`, method: 'get' },\n findMonitor: { endpoint: `${TERMO_FUNDEINFRA_URL}/find-monitor`, method: 'get' },\n cancelar: { endpoint: `${TERMO_FUNDEINFRA_URL}/cancelar/`, method: 'post' },\n reprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/reprovar/`, method: 'post' },\n aprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/aprovar`, method: 'post' },\n reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: 'get' },\n uploadArquivo: { endpoint: `${TERMO_FUNDEINFRA_URL}/upload-arquivo/{id}`, method: 'post' },\n}\n\nexport default termoFundeinfra"],"names":[],"mappings":"AAAA,MAAM,uBAAuB;AAE7B,MAAM,kBAAkB;AAAA,EACpB,KAAK,EAAE,UAAU,GAAG,oBAAoB,IAAI,QAAQ,OAAA;AAAA,EACpD,SAAS,EAAE,UAAU,GAAG,oBAAoB,IAAI,QAAQ,MAAA;AAAA,EACxD,aAAa,EAAE,UAAU,GAAG,oBAAoB,iBAAiB,QAAQ,MAAA;AAAA,EACzE,UAAU,EAAE,UAAU,GAAG,oBAAoB,cAAc,QAAQ,OAAA;AAAA,EACnE,UAAU,EAAE,UAAU,GAAG,oBAAoB,cAAc,QAAQ,OAAA;AAAA,EACnE,SAAS,EAAE,UAAU,GAAG,oBAAoB,YAAY,QAAQ,OAAA;AAAA,EAChE,SAAS,EAAE,UAAU,GAAG,oBAAoB,YAAY,QAAQ,MAAA;AAAA,EAChE,eAAe,EAAE,UAAU,GAAG,oBAAoB,wBAAwB,QAAQ,OAAA;AACtF;"}
|
|
@@ -36,7 +36,7 @@ async function apiReprovarTermoFundeinfra(id, motivo) {
|
|
|
36
36
|
}
|
|
37
37
|
async function apiAprovarTermoFundeinfra(id) {
|
|
38
38
|
return ApiService.fetchDataWithAxios({
|
|
39
|
-
url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
39
|
+
url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,
|
|
40
40
|
method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.method,
|
|
41
41
|
data: { id }
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"termoFundeinfraService.js","sources":["../../../../../../lib/base/services/modules/originacao/termoFundeinfra/termoFundeinfraService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TTermoFundeinfra } from '@base/@types/models/originacao/termoFundeinfra';\n\nconst TERMO_FUNDEINFRA_PROJECT_ENDPOINT = endpointConfig.originacao.termoFundeinfra;\n\nexport async function apiAddTermoFundeinfra(body: TTermoFundeinfra) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFundeinfra>>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.add.endpoint,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiGetTermoFundeinfra(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFundeinfra>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findOne.method,\n });\n}\n\nexport async function apiFindMonitorTermoFundeinfra(params: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFundeinfra>>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findMonitor.endpoint + `?${params}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findMonitor.method,\n });\n}\n\nexport async function apiCancelarTermoFundeinfra(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.cancelar.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.cancelar.method,\n data: { motivo },\n });\n}\n\nexport async function apiReprovarTermoFundeinfra(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reprovar.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reprovar.method,\n data: { motivo },\n });\n}\n\nexport async function apiAprovarTermoFundeinfra(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFundeinfra>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
1
|
+
{"version":3,"file":"termoFundeinfraService.js","sources":["../../../../../../lib/base/services/modules/originacao/termoFundeinfra/termoFundeinfraService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TTermoFundeinfra } from '@base/@types/models/originacao/termoFundeinfra';\n\nconst TERMO_FUNDEINFRA_PROJECT_ENDPOINT = endpointConfig.originacao.termoFundeinfra;\n\nexport async function apiAddTermoFundeinfra(body: TTermoFundeinfra) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFundeinfra>>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.add.endpoint,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiGetTermoFundeinfra(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFundeinfra>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findOne.method,\n });\n}\n\nexport async function apiFindMonitorTermoFundeinfra(params: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFundeinfra>>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findMonitor.endpoint + `?${params}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.findMonitor.method,\n });\n}\n\nexport async function apiCancelarTermoFundeinfra(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.cancelar.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.cancelar.method,\n data: { motivo },\n });\n}\n\nexport async function apiReprovarTermoFundeinfra(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reprovar.endpoint + `${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reprovar.method,\n data: { motivo },\n });\n}\n\nexport async function apiAprovarTermoFundeinfra(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFundeinfra>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.method,\n data: { id },\n });\n}\n\nexport async function apiReabrirTermoFundeinfra(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFundeinfra>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reabrir.endpoint + `/${id}`,\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.reabrir.method,\n data: { id },\n });\n}\n\nexport async function apiUploadArquivoFundeinfra(id: number, formData: FormData) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.uploadArquivo.endpoint.replace('{id}', id.toString()),\n method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.uploadArquivo.method,\n data: formData as any,\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n });\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,oCAAo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QAAQ;AAAA,IAClD,MAAM,EAAE,GAAA;AAAA,EAAG,CACd;AACL;AAEA,eAAsB,2BAA2B,IAAY,UAAoB;AAC7E,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,kCAAkC,cAAc,SAAS,QAAQ,QAAQ,GAAG,UAAU;AAAA,IAC3F,QAAQ,kCAAkC,cAAc;AAAA,IACxD,MAAM;AAAA,IACN,SAAS;AAAA,MACL,gBAAgB;AAAA,IAAA;AAAA,EACpB,CACH;AACL;"}
|
|
@@ -2,10 +2,29 @@ export type TCondicaoPagamento = {
|
|
|
2
2
|
id: number;
|
|
3
3
|
codigo: string;
|
|
4
4
|
nome: string;
|
|
5
|
-
|
|
5
|
+
compras: boolean
|
|
6
|
+
racao: boolean
|
|
7
|
+
commodities: boolean
|
|
6
8
|
diaLimite: string;
|
|
9
|
+
chaveCondicaoPagamento: string
|
|
10
|
+
tipoDataBase: string;
|
|
11
|
+
bloqueio: string;
|
|
7
12
|
diasVencimento: string;
|
|
8
13
|
indicadorParcelamento: boolean
|
|
14
|
+
parcelas: TCondicaoPagamentoParcelas[]
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export type TCondicaoPagamentoParcelas = {
|
|
18
|
+
id: number;
|
|
19
|
+
codigo: string;
|
|
20
|
+
nome: string;
|
|
21
|
+
numeroPrestacao: number;
|
|
22
|
+
percentualParcela: number;
|
|
23
|
+
condicaoParcela: string;
|
|
24
|
+
diasVencimento: string;
|
|
25
|
+
diaLimite: string;
|
|
26
|
+
bloqueioParcela: string;
|
|
27
|
+
bloqueio: boolean;
|
|
9
28
|
};
|
|
10
29
|
|
|
11
30
|
export type TCondicaoPagamentoFormSchema = TCondicaoPagamento
|
|
@@ -7,7 +7,7 @@ const termoFundeinfra = {
|
|
|
7
7
|
cancelar: { endpoint: `${TERMO_FUNDEINFRA_URL}/cancelar/`, method: 'post' },
|
|
8
8
|
reprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/reprovar/`, method: 'post' },
|
|
9
9
|
aprovar: { endpoint: `${TERMO_FUNDEINFRA_URL}/aprovar`, method: 'post' },
|
|
10
|
-
reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: '
|
|
10
|
+
reabrir: { endpoint: `${TERMO_FUNDEINFRA_URL}/reabrir`, method: 'get' },
|
|
11
11
|
uploadArquivo: { endpoint: `${TERMO_FUNDEINFRA_URL}/upload-arquivo/{id}`, method: 'post' },
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -45,7 +45,7 @@ export async function apiReprovarTermoFundeinfra(id: number, motivo: string) {
|
|
|
45
45
|
|
|
46
46
|
export async function apiAprovarTermoFundeinfra(id: number) {
|
|
47
47
|
return ApiService.fetchDataWithAxios<TTermoFundeinfra>({
|
|
48
|
-
url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
48
|
+
url: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,
|
|
49
49
|
method: TERMO_FUNDEINFRA_PROJECT_ENDPOINT.aprovar.method,
|
|
50
50
|
data: { id },
|
|
51
51
|
});
|
package/package.json
CHANGED