ch-api-client-typescript2
Version:
Openapi generated typescript-axios client for CloudHospital
182 lines • 7.65 kB
TypeScript
/**
* 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 { RequestAssignedChatEmailCommand } from '../models';
import { RequestHandoffCommand } from '../models';
import { RequestUnassignedChatEmailCommand } from '../models';
/**
* MessagesApi - axios parameter creator
* @export
*/
export declare const MessagesApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @summary Send assigned chat email notification
* @param {RequestAssignedChatEmailCommand} [requestAssignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesAssignedchatPost: (requestAssignedChatEmailCommand?: RequestAssignedChatEmailCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary Send requestHandoff notifications
* @param {RequestHandoffCommand} [requestHandoffCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesPost: (requestHandoffCommand?: RequestHandoffCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @summary Send unassigned chat email notification
* @param {RequestUnassignedChatEmailCommand} [requestUnassignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesUnassignedchatPost: (requestUnassignedChatEmailCommand?: RequestUnassignedChatEmailCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* MessagesApi - functional programming interface
* @export
*/
export declare const MessagesApiFp: (configuration?: Configuration) => {
/**
*
* @summary Send assigned chat email notification
* @param {RequestAssignedChatEmailCommand} [requestAssignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesAssignedchatPost(requestAssignedChatEmailCommand?: RequestAssignedChatEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
/**
*
* @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>>;
/**
*
* @summary Send unassigned chat email notification
* @param {RequestUnassignedChatEmailCommand} [requestUnassignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesUnassignedchatPost(requestUnassignedChatEmailCommand?: RequestUnassignedChatEmailCommand, 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 assigned chat email notification
* @param {RequestAssignedChatEmailCommand} [requestAssignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesAssignedchatPost(requestAssignedChatEmailCommand?: RequestAssignedChatEmailCommand, options?: any): AxiosPromise<void>;
/**
*
* @summary Send requestHandoff notifications
* @param {RequestHandoffCommand} [requestHandoffCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesPost(requestHandoffCommand?: RequestHandoffCommand, options?: any): AxiosPromise<void>;
/**
*
* @summary Send unassigned chat email notification
* @param {RequestUnassignedChatEmailCommand} [requestUnassignedChatEmailCommand]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2MessagesUnassignedchatPost(requestUnassignedChatEmailCommand?: RequestUnassignedChatEmailCommand, options?: any): AxiosPromise<void>;
};
/**
* Request parameters for apiV2MessagesAssignedchatPost operation in MessagesApi.
* @export
* @interface MessagesApiApiV2MessagesAssignedchatPostRequest
*/
export interface MessagesApiApiV2MessagesAssignedchatPostRequest {
/**
*
* @type {RequestAssignedChatEmailCommand}
* @memberof MessagesApiApiV2MessagesAssignedchatPost
*/
readonly requestAssignedChatEmailCommand?: RequestAssignedChatEmailCommand;
}
/**
* Request parameters for apiV2MessagesPost operation in MessagesApi.
* @export
* @interface MessagesApiApiV2MessagesPostRequest
*/
export interface MessagesApiApiV2MessagesPostRequest {
/**
*
* @type {RequestHandoffCommand}
* @memberof MessagesApiApiV2MessagesPost
*/
readonly requestHandoffCommand?: RequestHandoffCommand;
}
/**
* Request parameters for apiV2MessagesUnassignedchatPost operation in MessagesApi.
* @export
* @interface MessagesApiApiV2MessagesUnassignedchatPostRequest
*/
export interface MessagesApiApiV2MessagesUnassignedchatPostRequest {
/**
*
* @type {RequestUnassignedChatEmailCommand}
* @memberof MessagesApiApiV2MessagesUnassignedchatPost
*/
readonly requestUnassignedChatEmailCommand?: RequestUnassignedChatEmailCommand;
}
/**
* MessagesApi - object-oriented interface
* @export
* @class MessagesApi
* @extends {BaseAPI}
*/
export declare class MessagesApi extends BaseAPI {
/**
*
* @summary Send assigned chat email notification
* @param {MessagesApiApiV2MessagesAssignedchatPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MessagesApi
*/
apiV2MessagesAssignedchatPost(requestParameters?: MessagesApiApiV2MessagesAssignedchatPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
/**
*
* @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>>;
/**
*
* @summary Send unassigned chat email notification
* @param {MessagesApiApiV2MessagesUnassignedchatPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MessagesApi
*/
apiV2MessagesUnassignedchatPost(requestParameters?: MessagesApiApiV2MessagesUnassignedchatPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
}
//# sourceMappingURL=messages-api.d.ts.map