fineract_sdk
Version:
Wrapper around fineract api.
109 lines (108 loc) • 6.35 kB
TypeScript
/**
* 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 { GetAccountsLinkedToPocketResponse } from '../models';
import { PostLinkDelinkAccountsToFromPocketResponse } from '../models';
/**
* PocketApi - axios parameter creator
* @export
*/
export declare const PocketApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts
* @summary Link/delink accounts to/from pocket
* @param {string} [command] command
* @param {string} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
handleCommands7: (command?: string, body?: string, options?: any) => Promise<RequestArgs>;
/**
* All linked loan Example Requests: self/pockets
* @summary Retrieve accounts linked to pocket
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
retrieveAll37: (options?: any) => Promise<RequestArgs>;
};
/**
* PocketApi - functional programming interface
* @export
*/
export declare const PocketApiFp: (configuration?: Configuration) => {
/**
* Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts
* @summary Link/delink accounts to/from pocket
* @param {string} [command] command
* @param {string} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
handleCommands7(command?: string, body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostLinkDelinkAccountsToFromPocketResponse>>;
/**
* All linked loan Example Requests: self/pockets
* @summary Retrieve accounts linked to pocket
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
retrieveAll37(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountsLinkedToPocketResponse>>;
};
/**
* PocketApi - factory interface
* @export
*/
export declare const PocketApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts
* @summary Link/delink accounts to/from pocket
* @param {string} [command] command
* @param {string} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
handleCommands7(command?: string, body?: string, options?: any): AxiosPromise<PostLinkDelinkAccountsToFromPocketResponse>;
/**
* All linked loan Example Requests: self/pockets
* @summary Retrieve accounts linked to pocket
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
retrieveAll37(options?: any): AxiosPromise<GetAccountsLinkedToPocketResponse>;
};
/**
* PocketApi - object-oriented interface
* @export
* @class PocketApi
* @extends {BaseAPI}
*/
export declare class PocketApi extends BaseAPI {
/**
* Pockets behave as favourites. An user can link his/her Loan, Savings and Share accounts to pocket for faster access. In a similar way linked accounts can be delinked from the pocket. Example Requests: self/pockets?command=linkAccounts self/pockets?command=delinkAccounts
* @summary Link/delink accounts to/from pocket
* @param {string} [command] command
* @param {string} [body]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PocketApi
*/
handleCommands7(command?: string, body?: string, options?: any): Promise<import("axios").AxiosResponse<PostLinkDelinkAccountsToFromPocketResponse>>;
/**
* All linked loan Example Requests: self/pockets
* @summary Retrieve accounts linked to pocket
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PocketApi
*/
retrieveAll37(options?: any): Promise<import("axios").AxiosResponse<GetAccountsLinkedToPocketResponse>>;
}