UNPKG

fineract_sdk

Version:

Wrapper around fineract api.

507 lines (506 loc) 39.1 kB
/** * Apache Fineract * Apache Fineract is a secure, multi-tenanted microfinance platform The goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform<br>The [reference app](https://cui.fineract.dev) (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation - The API is organized around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) - Find out more about Apache Fineract [here](/fineract-provider/api-docs/apiLive.htm#top) - You can [Try The API From Your Browser](/fineract-provider/api-docs/apiLive.htm#interact) - The Generic Options are available [here](/fineract-provider/api-docs/apiLive.htm#genopts) - Find out more about [Updating Dates and Numbers](/fineract-provider/api-docs/apiLive.htm#dates_and_numbers) - For the Authentication and the Basic of HTTP and HTTPS refer [here](/fineract-provider/api-docs/apiLive.htm#authentication_overview) - Check about ERROR codes [here](/fineract-provider/api-docs/apiLive.htm#errors) Please refer to the [old documentation](/fineract-provider/api-docs/apiLive.htm) for any documentation queries * * The version of the OpenAPI document: 1.5.0-66-gffae7d4-dirty * Contact: dev@fineract.apache.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { DeleteFixedDepositAccountsAccountIdResponse } from '../models'; import { FormDataContentDisposition } from '../models'; import { GetFixedDepositAccountsAccountIdResponse } from '../models'; import { GetFixedDepositAccountsResponse } from '../models'; import { GetFixedDepositAccountsTemplateResponse } from '../models'; import { PostFixedDepositAccountsAccountIdResponse } from '../models'; import { PostFixedDepositAccountsRequest } from '../models'; import { PostFixedDepositAccountsResponse } from '../models'; import { PutFixedDepositAccountsAccountIdRequest } from '../models'; import { PutFixedDepositAccountsAccountIdResponse } from '../models'; /** * FixedDepositAccountApi - axios parameter creator * @export */ export declare const FixedDepositAccountApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {number} accountId accountId * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountClosureTemplate: (accountId: number, command?: string, options?: any) => Promise<RequestArgs>; /** * At present we support hard delete of fixed deposit application so long as its in \'Submitted and pending approval\' state. One the application is moves past this state, it is not possible to do a \'hard\' delete of the application or the account. An API endpoint will be added to close/de-activate the fixed deposit account. * @summary Delete a fixed deposit application * @param {number} accountId accountId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete14: (accountId: number, options?: any) => Promise<RequestArgs>; /** * * @param {number} [officeId] * @param {number} [staffId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTemplate: (officeId?: number, staffId?: number, dateFormat?: string, options?: any) => Promise<RequestArgs>; /** * * @param {number} [officeId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTransactionTemplate: (officeId?: number, dateFormat?: string, options?: any) => Promise<RequestArgs>; /** * Approve fixed deposit application: Approves fixed deposit application so long as its in \'Submitted and pending approval\' state. Undo approval fixed deposit application: Will move \'approved\' fixed deposit application back to \'Submitted and pending approval\' state. Reject fixed deposit application: Rejects fixed deposit application so long as its in \'Submitted and pending approval\' state. Withdraw fixed deposit application: Used when an applicant withdraws from the fixed deposit application. It must be in \'Submitted and pending approval\' state. Close a fixed deposit account: Results in a Matured fixed deposit account being converted into a \'closed\' fixed deposit account. Premature Close a fixed deposit account: Results in an Active fixed deposit account being converted into a \'Premature Closed\' fixed deposit account with options to withdraw prematured amount. (premature amount is calculated using interest rate chart applicable along with penal interest if any.) Calculate Premature amount on Fixed deposit account: Calculate premature amount on fixed deposit account till premature close date. Premature amount is calculated based on interest chart and penal interest applicable. Calculate Interest on Fixed Deposit Account: Calculates interest earned on a fixed deposit account based on todays date. It does not attempt to post or credit the interest on the account. That is responsibility of the Post Interest API that will likely be called by overnight process. Post Interest on Fixed Deposit Account: Calculates and Posts interest earned on a fixed deposit account based on today\'s date and whether an interest posting or crediting event is due. Showing request/response for Calculate Interest on Fixed Deposit Account * @summary Approve fixed deposit application | Undo approval fixed deposit application | Reject fixed deposit application | Withdraw fixed deposit application | Activate a fixed deposit account | Close a fixed deposit account | Premature Close a fixed deposit account | Calculate Premature amount on Fixed deposit account | Calculate Interest on Fixed Deposit Account | Post Interest on Fixed Deposit Account * @param {number} accountId accountId * @param {object} body * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ handleCommands4: (accountId: number, body: object, command?: string, options?: any) => Promise<RequestArgs>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTemplate: (file?: any, locale?: string, dateFormat?: string, options?: any) => Promise<RequestArgs>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTransactionTemplate: (file?: any, locale?: string, dateFormat?: string, options?: any) => Promise<RequestArgs>; /** * Lists Fixed Deposit Accounts Example Requests: fixeddepositaccounts fixeddepositaccounts?fields=name * @summary List Fixed deposit applications/accounts * @param {boolean} [paged] paged * @param {number} [offset] offset * @param {number} [limit] limit * @param {string} [orderBy] orderBy * @param {string} [sortOrder] sortOrder * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll29: (paged?: boolean, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any) => Promise<RequestArgs>; /** * Retrieves a fixed deposit application/account Example Requests : fixeddepositaccounts/1 fixeddepositaccounts/1?associations=all * @summary Retrieve a fixed deposit application/account * @param {number} accountId accountId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {string} [chargeStatus] chargeStatus * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne18: (accountId: number, staffInSelectedOfficeOnly?: boolean, chargeStatus?: string, options?: any) => Promise<RequestArgs>; /** * Submits a new fixed deposit applicationMandatory Fields: clientId or groupId, productId, submittedOnDate, depositAmount, depositPeriod, depositPeriodFrequencyId Optional Fields: accountNo, externalId, fieldOfficerId,linkAccountId(if provided initial deposit amount will be collected from this account),transferInterestToSavings(By enabling this flag all interest postings will be transferred to linked saving account ) * @summary Submit new fixed deposit application * @param {PostFixedDepositAccountsRequest} postFixedDepositAccountsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitApplication: (postFixedDepositAccountsRequest: PostFixedDepositAccountsRequest, options?: any) => Promise<RequestArgs>; /** * This is a convenience resource. It can be useful when building maintenance user interface screens for fixed deposit applications. The template data returned consists of any or all of: Field Defaults Allowed Value ListsExample Requests: fixeddepositaccounts/template?clientId=1 * @summary Retrieve Fixed Deposit Account Template * @param {number} [clientId] clientId * @param {number} [groupId] groupId * @param {number} [productId] productId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {*} [options] Override http request option. * @throws {RequiredError} */ template12: (clientId?: number, groupId?: number, productId?: number, staffInSelectedOfficeOnly?: boolean, options?: any) => Promise<RequestArgs>; /** * Fixed deposit application can only be modified when in \'Submitted and pending approval\' state. Once the application is approved, the details cannot be changed using this method. Specific api endpoints will be created to allow change of interest detail such as rate, compounding period, posting period etc * @summary Modify a fixed deposit application * @param {number} accountId accountId * @param {PutFixedDepositAccountsAccountIdRequest} putFixedDepositAccountsAccountIdRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ update15: (accountId: number, putFixedDepositAccountsAccountIdRequest: PutFixedDepositAccountsAccountIdRequest, options?: any) => Promise<RequestArgs>; }; /** * FixedDepositAccountApi - functional programming interface * @export */ export declare const FixedDepositAccountApiFp: (configuration?: Configuration) => { /** * * @param {number} accountId accountId * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountClosureTemplate(accountId: number, command?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * At present we support hard delete of fixed deposit application so long as its in \'Submitted and pending approval\' state. One the application is moves past this state, it is not possible to do a \'hard\' delete of the application or the account. An API endpoint will be added to close/de-activate the fixed deposit account. * @summary Delete a fixed deposit application * @param {number} accountId accountId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete14(accountId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteFixedDepositAccountsAccountIdResponse>>; /** * * @param {number} [officeId] * @param {number} [staffId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTemplate(officeId?: number, staffId?: number, dateFormat?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; /** * * @param {number} [officeId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTransactionTemplate(officeId?: number, dateFormat?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; /** * Approve fixed deposit application: Approves fixed deposit application so long as its in \'Submitted and pending approval\' state. Undo approval fixed deposit application: Will move \'approved\' fixed deposit application back to \'Submitted and pending approval\' state. Reject fixed deposit application: Rejects fixed deposit application so long as its in \'Submitted and pending approval\' state. Withdraw fixed deposit application: Used when an applicant withdraws from the fixed deposit application. It must be in \'Submitted and pending approval\' state. Close a fixed deposit account: Results in a Matured fixed deposit account being converted into a \'closed\' fixed deposit account. Premature Close a fixed deposit account: Results in an Active fixed deposit account being converted into a \'Premature Closed\' fixed deposit account with options to withdraw prematured amount. (premature amount is calculated using interest rate chart applicable along with penal interest if any.) Calculate Premature amount on Fixed deposit account: Calculate premature amount on fixed deposit account till premature close date. Premature amount is calculated based on interest chart and penal interest applicable. Calculate Interest on Fixed Deposit Account: Calculates interest earned on a fixed deposit account based on todays date. It does not attempt to post or credit the interest on the account. That is responsibility of the Post Interest API that will likely be called by overnight process. Post Interest on Fixed Deposit Account: Calculates and Posts interest earned on a fixed deposit account based on today\'s date and whether an interest posting or crediting event is due. Showing request/response for Calculate Interest on Fixed Deposit Account * @summary Approve fixed deposit application | Undo approval fixed deposit application | Reject fixed deposit application | Withdraw fixed deposit application | Activate a fixed deposit account | Close a fixed deposit account | Premature Close a fixed deposit account | Calculate Premature amount on Fixed deposit account | Calculate Interest on Fixed Deposit Account | Post Interest on Fixed Deposit Account * @param {number} accountId accountId * @param {object} body * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ handleCommands4(accountId: number, body: object, command?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostFixedDepositAccountsAccountIdResponse>>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTemplate(file?: any, locale?: string, dateFormat?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTransactionTemplate(file?: any, locale?: string, dateFormat?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * Lists Fixed Deposit Accounts Example Requests: fixeddepositaccounts fixeddepositaccounts?fields=name * @summary List Fixed deposit applications/accounts * @param {boolean} [paged] paged * @param {number} [offset] offset * @param {number} [limit] limit * @param {string} [orderBy] orderBy * @param {string} [sortOrder] sortOrder * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll29(paged?: boolean, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetFixedDepositAccountsResponse>>>; /** * Retrieves a fixed deposit application/account Example Requests : fixeddepositaccounts/1 fixeddepositaccounts/1?associations=all * @summary Retrieve a fixed deposit application/account * @param {number} accountId accountId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {string} [chargeStatus] chargeStatus * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne18(accountId: number, staffInSelectedOfficeOnly?: boolean, chargeStatus?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFixedDepositAccountsAccountIdResponse>>; /** * Submits a new fixed deposit applicationMandatory Fields: clientId or groupId, productId, submittedOnDate, depositAmount, depositPeriod, depositPeriodFrequencyId Optional Fields: accountNo, externalId, fieldOfficerId,linkAccountId(if provided initial deposit amount will be collected from this account),transferInterestToSavings(By enabling this flag all interest postings will be transferred to linked saving account ) * @summary Submit new fixed deposit application * @param {PostFixedDepositAccountsRequest} postFixedDepositAccountsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitApplication(postFixedDepositAccountsRequest: PostFixedDepositAccountsRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostFixedDepositAccountsResponse>>; /** * This is a convenience resource. It can be useful when building maintenance user interface screens for fixed deposit applications. The template data returned consists of any or all of: Field Defaults Allowed Value ListsExample Requests: fixeddepositaccounts/template?clientId=1 * @summary Retrieve Fixed Deposit Account Template * @param {number} [clientId] clientId * @param {number} [groupId] groupId * @param {number} [productId] productId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {*} [options] Override http request option. * @throws {RequiredError} */ template12(clientId?: number, groupId?: number, productId?: number, staffInSelectedOfficeOnly?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFixedDepositAccountsTemplateResponse>>; /** * Fixed deposit application can only be modified when in \'Submitted and pending approval\' state. Once the application is approved, the details cannot be changed using this method. Specific api endpoints will be created to allow change of interest detail such as rate, compounding period, posting period etc * @summary Modify a fixed deposit application * @param {number} accountId accountId * @param {PutFixedDepositAccountsAccountIdRequest} putFixedDepositAccountsAccountIdRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ update15(accountId: number, putFixedDepositAccountsAccountIdRequest: PutFixedDepositAccountsAccountIdRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutFixedDepositAccountsAccountIdResponse>>; }; /** * FixedDepositAccountApi - factory interface * @export */ export declare const FixedDepositAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {number} accountId accountId * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ accountClosureTemplate(accountId: number, command?: string, options?: any): AxiosPromise<string>; /** * At present we support hard delete of fixed deposit application so long as its in \'Submitted and pending approval\' state. One the application is moves past this state, it is not possible to do a \'hard\' delete of the application or the account. An API endpoint will be added to close/de-activate the fixed deposit account. * @summary Delete a fixed deposit application * @param {number} accountId accountId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete14(accountId: number, options?: any): AxiosPromise<DeleteFixedDepositAccountsAccountIdResponse>; /** * * @param {number} [officeId] * @param {number} [staffId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTemplate(officeId?: number, staffId?: number, dateFormat?: string, options?: any): AxiosPromise<void>; /** * * @param {number} [officeId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFixedDepositTransactionTemplate(officeId?: number, dateFormat?: string, options?: any): AxiosPromise<void>; /** * Approve fixed deposit application: Approves fixed deposit application so long as its in \'Submitted and pending approval\' state. Undo approval fixed deposit application: Will move \'approved\' fixed deposit application back to \'Submitted and pending approval\' state. Reject fixed deposit application: Rejects fixed deposit application so long as its in \'Submitted and pending approval\' state. Withdraw fixed deposit application: Used when an applicant withdraws from the fixed deposit application. It must be in \'Submitted and pending approval\' state. Close a fixed deposit account: Results in a Matured fixed deposit account being converted into a \'closed\' fixed deposit account. Premature Close a fixed deposit account: Results in an Active fixed deposit account being converted into a \'Premature Closed\' fixed deposit account with options to withdraw prematured amount. (premature amount is calculated using interest rate chart applicable along with penal interest if any.) Calculate Premature amount on Fixed deposit account: Calculate premature amount on fixed deposit account till premature close date. Premature amount is calculated based on interest chart and penal interest applicable. Calculate Interest on Fixed Deposit Account: Calculates interest earned on a fixed deposit account based on todays date. It does not attempt to post or credit the interest on the account. That is responsibility of the Post Interest API that will likely be called by overnight process. Post Interest on Fixed Deposit Account: Calculates and Posts interest earned on a fixed deposit account based on today\'s date and whether an interest posting or crediting event is due. Showing request/response for Calculate Interest on Fixed Deposit Account * @summary Approve fixed deposit application | Undo approval fixed deposit application | Reject fixed deposit application | Withdraw fixed deposit application | Activate a fixed deposit account | Close a fixed deposit account | Premature Close a fixed deposit account | Calculate Premature amount on Fixed deposit account | Calculate Interest on Fixed Deposit Account | Post Interest on Fixed Deposit Account * @param {number} accountId accountId * @param {object} body * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} */ handleCommands4(accountId: number, body: object, command?: string, options?: any): AxiosPromise<PostFixedDepositAccountsAccountIdResponse>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTemplate(file?: any, locale?: string, dateFormat?: string, options?: any): AxiosPromise<string>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} */ postFixedDepositTransactionTemplate(file?: any, locale?: string, dateFormat?: string, options?: any): AxiosPromise<string>; /** * Lists Fixed Deposit Accounts Example Requests: fixeddepositaccounts fixeddepositaccounts?fields=name * @summary List Fixed deposit applications/accounts * @param {boolean} [paged] paged * @param {number} [offset] offset * @param {number} [limit] limit * @param {string} [orderBy] orderBy * @param {string} [sortOrder] sortOrder * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll29(paged?: boolean, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): AxiosPromise<Array<GetFixedDepositAccountsResponse>>; /** * Retrieves a fixed deposit application/account Example Requests : fixeddepositaccounts/1 fixeddepositaccounts/1?associations=all * @summary Retrieve a fixed deposit application/account * @param {number} accountId accountId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {string} [chargeStatus] chargeStatus * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne18(accountId: number, staffInSelectedOfficeOnly?: boolean, chargeStatus?: string, options?: any): AxiosPromise<GetFixedDepositAccountsAccountIdResponse>; /** * Submits a new fixed deposit applicationMandatory Fields: clientId or groupId, productId, submittedOnDate, depositAmount, depositPeriod, depositPeriodFrequencyId Optional Fields: accountNo, externalId, fieldOfficerId,linkAccountId(if provided initial deposit amount will be collected from this account),transferInterestToSavings(By enabling this flag all interest postings will be transferred to linked saving account ) * @summary Submit new fixed deposit application * @param {PostFixedDepositAccountsRequest} postFixedDepositAccountsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitApplication(postFixedDepositAccountsRequest: PostFixedDepositAccountsRequest, options?: any): AxiosPromise<PostFixedDepositAccountsResponse>; /** * This is a convenience resource. It can be useful when building maintenance user interface screens for fixed deposit applications. The template data returned consists of any or all of: Field Defaults Allowed Value ListsExample Requests: fixeddepositaccounts/template?clientId=1 * @summary Retrieve Fixed Deposit Account Template * @param {number} [clientId] clientId * @param {number} [groupId] groupId * @param {number} [productId] productId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {*} [options] Override http request option. * @throws {RequiredError} */ template12(clientId?: number, groupId?: number, productId?: number, staffInSelectedOfficeOnly?: boolean, options?: any): AxiosPromise<GetFixedDepositAccountsTemplateResponse>; /** * Fixed deposit application can only be modified when in \'Submitted and pending approval\' state. Once the application is approved, the details cannot be changed using this method. Specific api endpoints will be created to allow change of interest detail such as rate, compounding period, posting period etc * @summary Modify a fixed deposit application * @param {number} accountId accountId * @param {PutFixedDepositAccountsAccountIdRequest} putFixedDepositAccountsAccountIdRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ update15(accountId: number, putFixedDepositAccountsAccountIdRequest: PutFixedDepositAccountsAccountIdRequest, options?: any): AxiosPromise<PutFixedDepositAccountsAccountIdResponse>; }; /** * FixedDepositAccountApi - object-oriented interface * @export * @class FixedDepositAccountApi * @extends {BaseAPI} */ export declare class FixedDepositAccountApi extends BaseAPI { /** * * @param {number} accountId accountId * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ accountClosureTemplate(accountId: number, command?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * At present we support hard delete of fixed deposit application so long as its in \'Submitted and pending approval\' state. One the application is moves past this state, it is not possible to do a \'hard\' delete of the application or the account. An API endpoint will be added to close/de-activate the fixed deposit account. * @summary Delete a fixed deposit application * @param {number} accountId accountId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ delete14(accountId: number, options?: any): Promise<import("axios").AxiosResponse<DeleteFixedDepositAccountsAccountIdResponse>>; /** * * @param {number} [officeId] * @param {number} [staffId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ getFixedDepositTemplate(officeId?: number, staffId?: number, dateFormat?: string, options?: any): Promise<import("axios").AxiosResponse<void>>; /** * * @param {number} [officeId] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ getFixedDepositTransactionTemplate(officeId?: number, dateFormat?: string, options?: any): Promise<import("axios").AxiosResponse<void>>; /** * Approve fixed deposit application: Approves fixed deposit application so long as its in \'Submitted and pending approval\' state. Undo approval fixed deposit application: Will move \'approved\' fixed deposit application back to \'Submitted and pending approval\' state. Reject fixed deposit application: Rejects fixed deposit application so long as its in \'Submitted and pending approval\' state. Withdraw fixed deposit application: Used when an applicant withdraws from the fixed deposit application. It must be in \'Submitted and pending approval\' state. Close a fixed deposit account: Results in a Matured fixed deposit account being converted into a \'closed\' fixed deposit account. Premature Close a fixed deposit account: Results in an Active fixed deposit account being converted into a \'Premature Closed\' fixed deposit account with options to withdraw prematured amount. (premature amount is calculated using interest rate chart applicable along with penal interest if any.) Calculate Premature amount on Fixed deposit account: Calculate premature amount on fixed deposit account till premature close date. Premature amount is calculated based on interest chart and penal interest applicable. Calculate Interest on Fixed Deposit Account: Calculates interest earned on a fixed deposit account based on todays date. It does not attempt to post or credit the interest on the account. That is responsibility of the Post Interest API that will likely be called by overnight process. Post Interest on Fixed Deposit Account: Calculates and Posts interest earned on a fixed deposit account based on today\'s date and whether an interest posting or crediting event is due. Showing request/response for Calculate Interest on Fixed Deposit Account * @summary Approve fixed deposit application | Undo approval fixed deposit application | Reject fixed deposit application | Withdraw fixed deposit application | Activate a fixed deposit account | Close a fixed deposit account | Premature Close a fixed deposit account | Calculate Premature amount on Fixed deposit account | Calculate Interest on Fixed Deposit Account | Post Interest on Fixed Deposit Account * @param {number} accountId accountId * @param {object} body * @param {string} [command] command * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ handleCommands4(accountId: number, body: object, command?: string, options?: any): Promise<import("axios").AxiosResponse<PostFixedDepositAccountsAccountIdResponse>>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ postFixedDepositTemplate(file?: FormDataContentDisposition, locale?: string, dateFormat?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {FormDataContentDisposition} [file] * @param {string} [locale] * @param {string} [dateFormat] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ postFixedDepositTransactionTemplate(file?: FormDataContentDisposition, locale?: string, dateFormat?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * Lists Fixed Deposit Accounts Example Requests: fixeddepositaccounts fixeddepositaccounts?fields=name * @summary List Fixed deposit applications/accounts * @param {boolean} [paged] paged * @param {number} [offset] offset * @param {number} [limit] limit * @param {string} [orderBy] orderBy * @param {string} [sortOrder] sortOrder * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ retrieveAll29(paged?: boolean, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): Promise<import("axios").AxiosResponse<GetFixedDepositAccountsResponse[]>>; /** * Retrieves a fixed deposit application/account Example Requests : fixeddepositaccounts/1 fixeddepositaccounts/1?associations=all * @summary Retrieve a fixed deposit application/account * @param {number} accountId accountId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {string} [chargeStatus] chargeStatus * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ retrieveOne18(accountId: number, staffInSelectedOfficeOnly?: boolean, chargeStatus?: string, options?: any): Promise<import("axios").AxiosResponse<GetFixedDepositAccountsAccountIdResponse>>; /** * Submits a new fixed deposit applicationMandatory Fields: clientId or groupId, productId, submittedOnDate, depositAmount, depositPeriod, depositPeriodFrequencyId Optional Fields: accountNo, externalId, fieldOfficerId,linkAccountId(if provided initial deposit amount will be collected from this account),transferInterestToSavings(By enabling this flag all interest postings will be transferred to linked saving account ) * @summary Submit new fixed deposit application * @param {PostFixedDepositAccountsRequest} postFixedDepositAccountsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ submitApplication(postFixedDepositAccountsRequest: PostFixedDepositAccountsRequest, options?: any): Promise<import("axios").AxiosResponse<PostFixedDepositAccountsResponse>>; /** * This is a convenience resource. It can be useful when building maintenance user interface screens for fixed deposit applications. The template data returned consists of any or all of: Field Defaults Allowed Value ListsExample Requests: fixeddepositaccounts/template?clientId=1 * @summary Retrieve Fixed Deposit Account Template * @param {number} [clientId] clientId * @param {number} [groupId] groupId * @param {number} [productId] productId * @param {boolean} [staffInSelectedOfficeOnly] staffInSelectedOfficeOnly * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ template12(clientId?: number, groupId?: number, productId?: number, staffInSelectedOfficeOnly?: boolean, options?: any): Promise<import("axios").AxiosResponse<GetFixedDepositAccountsTemplateResponse>>; /** * Fixed deposit application can only be modified when in \'Submitted and pending approval\' state. Once the application is approved, the details cannot be changed using this method. Specific api endpoints will be created to allow change of interest detail such as rate, compounding period, posting period etc * @summary Modify a fixed deposit application * @param {number} accountId accountId * @param {PutFixedDepositAccountsAccountIdRequest} putFixedDepositAccountsAccountIdRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FixedDepositAccountApi */ update15(accountId: number, putFixedDepositAccountsAccountIdRequest: PutFixedDepositAccountsAccountIdRequest, options?: any): Promise<import("axios").AxiosResponse<PutFixedDepositAccountsAccountIdResponse>>; }