UNPKG

fineract_sdk

Version:

Wrapper around fineract api.

255 lines (254 loc) 10.4 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'; /** * SMSApi - axios parameter creator * @export */ export declare const SMSApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ create2: (body?: string, options?: any) => Promise<RequestArgs>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete6: (resourceId: number, options?: any) => Promise<RequestArgs>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll10: (options?: any) => Promise<RequestArgs>; /** * * @param {number} campaignId * @param {number} [status] * @param {object} [fromDate] * @param {object} [toDate] * @param {string} [locale] * @param {string} [dateFormat] * @param {string} [sqlSearch] * @param {number} [offset] * @param {number} [limit] * @param {string} [orderBy] * @param {string} [sortOrder] * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllSmsByStatus: (campaignId: number, status?: number, fromDate?: object, toDate?: object, locale?: string, dateFormat?: string, sqlSearch?: string, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any) => Promise<RequestArgs>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne6: (resourceId: number, options?: any) => Promise<RequestArgs>; /** * * @param {number} resourceId * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ update3: (resourceId: number, body?: string, options?: any) => Promise<RequestArgs>; }; /** * SMSApi - functional programming interface * @export */ export declare const SMSApiFp: (configuration?: Configuration) => { /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ create2(body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete6(resourceId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll10(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {number} campaignId * @param {number} [status] * @param {object} [fromDate] * @param {object} [toDate] * @param {string} [locale] * @param {string} [dateFormat] * @param {string} [sqlSearch] * @param {number} [offset] * @param {number} [limit] * @param {string} [orderBy] * @param {string} [sortOrder] * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllSmsByStatus(campaignId: number, status?: number, fromDate?: object, toDate?: object, locale?: string, dateFormat?: string, sqlSearch?: string, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne6(resourceId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {number} resourceId * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ update3(resourceId: number, body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; }; /** * SMSApi - factory interface * @export */ export declare const SMSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ create2(body?: string, options?: any): AxiosPromise<string>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ delete6(resourceId: number, options?: any): AxiosPromise<string>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAll10(options?: any): AxiosPromise<string>; /** * * @param {number} campaignId * @param {number} [status] * @param {object} [fromDate] * @param {object} [toDate] * @param {string} [locale] * @param {string} [dateFormat] * @param {string} [sqlSearch] * @param {number} [offset] * @param {number} [limit] * @param {string} [orderBy] * @param {string} [sortOrder] * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllSmsByStatus(campaignId: number, status?: number, fromDate?: object, toDate?: object, locale?: string, dateFormat?: string, sqlSearch?: string, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): AxiosPromise<string>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveOne6(resourceId: number, options?: any): AxiosPromise<string>; /** * * @param {number} resourceId * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ update3(resourceId: number, body?: string, options?: any): AxiosPromise<string>; }; /** * SMSApi - object-oriented interface * @export * @class SMSApi * @extends {BaseAPI} */ export declare class SMSApi extends BaseAPI { /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ create2(body?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ delete6(resourceId: number, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ retrieveAll10(options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {number} campaignId * @param {number} [status] * @param {object} [fromDate] * @param {object} [toDate] * @param {string} [locale] * @param {string} [dateFormat] * @param {string} [sqlSearch] * @param {number} [offset] * @param {number} [limit] * @param {string} [orderBy] * @param {string} [sortOrder] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ retrieveAllSmsByStatus(campaignId: number, status?: number, fromDate?: object, toDate?: object, locale?: string, dateFormat?: string, sqlSearch?: string, offset?: number, limit?: number, orderBy?: string, sortOrder?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {number} resourceId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ retrieveOne6(resourceId: number, options?: any): Promise<import("axios").AxiosResponse<string>>; /** * * @param {number} resourceId * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SMSApi */ update3(resourceId: number, body?: string, options?: any): Promise<import("axios").AxiosResponse<string>>; }