feat: collateral module

This commit is contained in:
Ramveer
2022-07-22 13:37:21 +05:30
parent ed1395bb20
commit 22428de9b1
58 changed files with 1892 additions and 61 deletions
+14
View File
@@ -363,4 +363,18 @@ export class ClientsService {
return this.http.post(`/users`, userData);
}
/**
* @param clientId Client ID.
* @param collateralData Collateral Data
*/
createClientCollateral(clientId: any, collateralData: any) {
return this.http.post(`/clients/${clientId}/collaterals`, collateralData);
}
/**
* @param clientId Client ID.
*/
getCollateralTemplate(clientId: any) {
return this.http.get(`/clients/${clientId}/collaterals/template`);
}
}