UNPKG

fineract_sdk

Version:

Wrapper around fineract api.

149 lines (148 loc) 7.53 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 { LookupTableData } from '../models'; /** * SPMAPILookUpTableApi - axios parameter creator * @export */ export declare const SPMAPILookUpTableApiAxiosParamCreator: (configuration?: Configuration) => { /** * Add a new entry to a survey. Mandatory Fields key, score, validFrom, validTo * @summary Create a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {LookupTableData} [lookupTableData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createLookupTable: (surveyId: number, lookupTableData?: LookupTableData, options?: any) => Promise<RequestArgs>; /** * List all Lookup Table entries for a survey. * @summary List all Lookup Table entries * @param {number} surveyId Enter surveyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchLookupTables: (surveyId: number, options?: any) => Promise<RequestArgs>; /** * Retrieve a Lookup Table entry for a survey. * @summary Retrieve a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {string} key Enter key * @param {*} [options] Override http request option. * @throws {RequiredError} */ findLookupTable: (surveyId: number, key: string, options?: any) => Promise<RequestArgs>; }; /** * SPMAPILookUpTableApi - functional programming interface * @export */ export declare const SPMAPILookUpTableApiFp: (configuration?: Configuration) => { /** * Add a new entry to a survey. Mandatory Fields key, score, validFrom, validTo * @summary Create a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {LookupTableData} [lookupTableData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createLookupTable(surveyId: number, lookupTableData?: LookupTableData, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; /** * List all Lookup Table entries for a survey. * @summary List all Lookup Table entries * @param {number} surveyId Enter surveyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchLookupTables(surveyId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LookupTableData>>>; /** * Retrieve a Lookup Table entry for a survey. * @summary Retrieve a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {string} key Enter key * @param {*} [options] Override http request option. * @throws {RequiredError} */ findLookupTable(surveyId: number, key: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LookupTableData>>; }; /** * SPMAPILookUpTableApi - factory interface * @export */ export declare const SPMAPILookUpTableApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Add a new entry to a survey. Mandatory Fields key, score, validFrom, validTo * @summary Create a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {LookupTableData} [lookupTableData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createLookupTable(surveyId: number, lookupTableData?: LookupTableData, options?: any): AxiosPromise<void>; /** * List all Lookup Table entries for a survey. * @summary List all Lookup Table entries * @param {number} surveyId Enter surveyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchLookupTables(surveyId: number, options?: any): AxiosPromise<Array<LookupTableData>>; /** * Retrieve a Lookup Table entry for a survey. * @summary Retrieve a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {string} key Enter key * @param {*} [options] Override http request option. * @throws {RequiredError} */ findLookupTable(surveyId: number, key: string, options?: any): AxiosPromise<LookupTableData>; }; /** * SPMAPILookUpTableApi - object-oriented interface * @export * @class SPMAPILookUpTableApi * @extends {BaseAPI} */ export declare class SPMAPILookUpTableApi extends BaseAPI { /** * Add a new entry to a survey. Mandatory Fields key, score, validFrom, validTo * @summary Create a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {LookupTableData} [lookupTableData] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SPMAPILookUpTableApi */ createLookupTable(surveyId: number, lookupTableData?: LookupTableData, options?: any): Promise<import("axios").AxiosResponse<void>>; /** * List all Lookup Table entries for a survey. * @summary List all Lookup Table entries * @param {number} surveyId Enter surveyId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SPMAPILookUpTableApi */ fetchLookupTables(surveyId: number, options?: any): Promise<import("axios").AxiosResponse<LookupTableData[]>>; /** * Retrieve a Lookup Table entry for a survey. * @summary Retrieve a Lookup Table entry * @param {number} surveyId Enter surveyId * @param {string} key Enter key * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SPMAPILookUpTableApi */ findLookupTable(surveyId: number, key: string, options?: any): Promise<import("axios").AxiosResponse<LookupTableData>>; }