UNPKG

ch-api-client-typescript2

Version:
89 lines 3.38 kB
/** * CloudHospital Api * CloudHospital application with Swagger, Swashbuckle, and API versioning. * * The version of the OpenAPI document: 2 * Contact: developer@icloudhospital.com * * 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, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { RegisterPatientCommand } from '../models'; import { RegisteredAccountModel } from '../models'; /** * AccountsApi - axios parameter creator * @export */ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Register a patient <br>Create a user account on Identity Server * @param {RegisterPatientCommand} [registerPatientCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2AccountsPost: (registerPatientCommand?: RegisterPatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * AccountsApi - functional programming interface * @export */ export declare const AccountsApiFp: (configuration?: Configuration) => { /** * * @summary Register a patient <br>Create a user account on Identity Server * @param {RegisterPatientCommand} [registerPatientCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2AccountsPost(registerPatientCommand?: RegisterPatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredAccountModel>>; }; /** * AccountsApi - factory interface * @export */ export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Register a patient <br>Create a user account on Identity Server * @param {RegisterPatientCommand} [registerPatientCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2AccountsPost(registerPatientCommand?: RegisterPatientCommand, options?: any): AxiosPromise<RegisteredAccountModel>; }; /** * Request parameters for apiV2AccountsPost operation in AccountsApi. * @export * @interface AccountsApiApiV2AccountsPostRequest */ export interface AccountsApiApiV2AccountsPostRequest { /** * * @type {RegisterPatientCommand} * @memberof AccountsApiApiV2AccountsPost */ readonly registerPatientCommand?: RegisterPatientCommand; } /** * AccountsApi - object-oriented interface * @export * @class AccountsApi * @extends {BaseAPI} */ export declare class AccountsApi extends BaseAPI { /** * * @summary Register a patient <br>Create a user account on Identity Server * @param {AccountsApiApiV2AccountsPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ apiV2AccountsPost(requestParameters?: AccountsApiApiV2AccountsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredAccountModel, any>>; } //# sourceMappingURL=accounts-api.d.ts.map