UNPKG

ch-api-client-typescript2

Version:
88 lines 3.13 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 { RequestHandoffCommand } from '../models'; /** * MessagesApi - axios parameter creator * @export */ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Send requestHandoff notifications * @param {RequestHandoffCommand} [requestHandoffCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2MessagesPost: (requestHandoffCommand?: RequestHandoffCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * MessagesApi - functional programming interface * @export */ export declare const MessagesApiFp: (configuration?: Configuration) => { /** * * @summary Send requestHandoff notifications * @param {RequestHandoffCommand} [requestHandoffCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2MessagesPost(requestHandoffCommand?: RequestHandoffCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; }; /** * MessagesApi - factory interface * @export */ export declare const MessagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Send requestHandoff notifications * @param {RequestHandoffCommand} [requestHandoffCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2MessagesPost(requestHandoffCommand?: RequestHandoffCommand, options?: any): AxiosPromise<void>; }; /** * Request parameters for apiV2MessagesPost operation in MessagesApi. * @export * @interface MessagesApiApiV2MessagesPostRequest */ export interface MessagesApiApiV2MessagesPostRequest { /** * * @type {RequestHandoffCommand} * @memberof MessagesApiApiV2MessagesPost */ readonly requestHandoffCommand?: RequestHandoffCommand; } /** * MessagesApi - object-oriented interface * @export * @class MessagesApi * @extends {BaseAPI} */ export declare class MessagesApi extends BaseAPI { /** * * @summary Send requestHandoff notifications * @param {MessagesApiApiV2MessagesPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MessagesApi */ apiV2MessagesPost(requestParameters?: MessagesApiApiV2MessagesPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>; } //# sourceMappingURL=messages-api.d.ts.map