UNPKG

fineract-typescript-client

Version:
61 lines (60 loc) 1.9 kB
/* tslint:disable */ /* eslint-disable */ /** * Apache Fineract REST API * 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. The [reference app](https://cui.fineract.dev) (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation. Until we complete the new REST API documentation you still have the legacy documentation available [here](https://fineract.apache.org/docs/legacy/). Please check [the current Fineract documentation](https://fineract.apache.org/docs/current/) for more information. * * The version of the OpenAPI document: 1.13.0-SNAPSHOT * 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 globalAxios from 'axios'; export const BASE_PATH = "http://localhost/fineract-provider/api".replace(/\/+$/, ""); /** * * @export */ export const COLLECTION_FORMATS = { csv: ",", ssv: " ", tsv: "\t", pipes: "|", }; /** * * @export * @class BaseAPI */ export class BaseAPI { constructor(configuration, basePath = BASE_PATH, axios = globalAxios) { var _a; this.basePath = basePath; this.axios = axios; if (configuration) { this.configuration = configuration; this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath; } } } ; /** * * @export * @class RequiredError * @extends {Error} */ export class RequiredError extends Error { constructor(field, msg) { super(msg); this.field = field; this.name = "RequiredError"; } } /** * * @export */ export const operationServerMap = {};