UNPKG

fineract_sdk

Version:

Wrapper around fineract api.

106 lines (105 loc) 7.28 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 { CommandProcessingResult } from '../models'; import { GetPermissionsResponse } from '../models'; import { PutPermissionsRequest } from '../models'; /** * PermissionsApi - axios parameter creator * @export */ export declare const PermissionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code * @summary List Application Permissions * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllPermissions: (options?: any) => Promise<RequestArgs>; /** * * @summary Enable/Disable Permissions for Maker Checker * @param {PutPermissionsRequest} putPermissionsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePermissionsDetails: (putPermissionsRequest: PutPermissionsRequest, options?: any) => Promise<RequestArgs>; }; /** * PermissionsApi - functional programming interface * @export */ export declare const PermissionsApiFp: (configuration?: Configuration) => { /** * ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code * @summary List Application Permissions * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllPermissions(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetPermissionsResponse>>>; /** * * @summary Enable/Disable Permissions for Maker Checker * @param {PutPermissionsRequest} putPermissionsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePermissionsDetails(putPermissionsRequest: PutPermissionsRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommandProcessingResult>>; }; /** * PermissionsApi - factory interface * @export */ export declare const PermissionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code * @summary List Application Permissions * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieveAllPermissions(options?: any): AxiosPromise<Array<GetPermissionsResponse>>; /** * * @summary Enable/Disable Permissions for Maker Checker * @param {PutPermissionsRequest} putPermissionsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePermissionsDetails(putPermissionsRequest: PutPermissionsRequest, options?: any): AxiosPromise<CommandProcessingResult>; }; /** * PermissionsApi - object-oriented interface * @export * @class PermissionsApi * @extends {BaseAPI} */ export declare class PermissionsApi extends BaseAPI { /** * ARGUMENTS makerCheckerableoptional, Values are true, false. Default is false. If makerCheckerable=false or not supplied then a list of application permissions is returned. The \"selected\" attribute is always true in this case. If makerCheckerable=true then the \"selected\" attribute shows whether the permission is enabled for Maker Check functionality. Note: Each Apache Fineract transaction is associated with a permission. Example Requests: permissions permissions?makerCheckerable=true permissions?fields=grouping,code * @summary List Application Permissions * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PermissionsApi */ retrieveAllPermissions(options?: any): Promise<import("axios").AxiosResponse<GetPermissionsResponse[]>>; /** * * @summary Enable/Disable Permissions for Maker Checker * @param {PutPermissionsRequest} putPermissionsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PermissionsApi */ updatePermissionsDetails(putPermissionsRequest: PutPermissionsRequest, options?: any): Promise<import("axios").AxiosResponse<CommandProcessingResult>>; }