UNPKG

ch-api-client-typescript2

Version:
320 lines 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 { InviteSendBirdGroupChannelCommand } from '../models'; import { SendBirdGroupChannelModel } from '../models'; /** * GroupChannelsApi - axios parameter creator * @export */ export declare const GroupChannelsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Invite hospital manager into GroupChannel * @param {string} channelUrl * @param {string} hospitalId * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost: (channelUrl: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} channelUrl * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInvitePost: (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} dealId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDealDealIdGet: (dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} doctorId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDoctorDoctorIdGet: (doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * * @param {string} hospitalId * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsHospitalHospitalIdGet: (hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * GroupChannelsApi - functional programming interface * @export */ export declare const GroupChannelsApiFp: (configuration?: Configuration) => { /** * * @summary Invite hospital manager into GroupChannel * @param {string} channelUrl * @param {string} hospitalId * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost(channelUrl: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>; /** * * @param {string} channelUrl * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>>; /** * * @param {string} dealId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {string} doctorId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; /** * * @param {string} hospitalId * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; }; /** * GroupChannelsApi - factory interface * @export */ export declare const GroupChannelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Invite hospital manager into GroupChannel * @param {string} channelUrl * @param {string} hospitalId * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost(channelUrl: string, hospitalId: string, options?: any): AxiosPromise<boolean>; /** * * @param {string} channelUrl * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel>; /** * * @param {string} dealId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string>; /** * * @param {string} doctorId * @param {string} [hospitalId] * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string>; /** * * @param {string} hospitalId * @param {boolean} [isExternal] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: any): AxiosPromise<string>; }; /** * Request parameters for apiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost operation in GroupChannelsApi. * @export * @interface GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPostRequest */ export interface GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPostRequest { /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost */ readonly channelUrl: string; /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost */ readonly hospitalId: string; } /** * Request parameters for apiV2GroupchannelsChannelUrlInvitePost operation in GroupChannelsApi. * @export * @interface GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePostRequest */ export interface GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePostRequest { /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePost */ readonly channelUrl: string; /** * * @type {InviteSendBirdGroupChannelCommand} * @memberof GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePost */ readonly inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand; } /** * Request parameters for apiV2GroupchannelsDealDealIdGet operation in GroupChannelsApi. * @export * @interface GroupChannelsApiApiV2GroupchannelsDealDealIdGetRequest */ export interface GroupChannelsApiApiV2GroupchannelsDealDealIdGetRequest { /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsDealDealIdGet */ readonly dealId: string; /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsDealDealIdGet */ readonly hospitalId?: string; /** * * @type {boolean} * @memberof GroupChannelsApiApiV2GroupchannelsDealDealIdGet */ readonly isExternal?: boolean; } /** * Request parameters for apiV2GroupchannelsDoctorDoctorIdGet operation in GroupChannelsApi. * @export * @interface GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGetRequest */ export interface GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGetRequest { /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGet */ readonly doctorId: string; /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGet */ readonly hospitalId?: string; /** * * @type {boolean} * @memberof GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGet */ readonly isExternal?: boolean; } /** * Request parameters for apiV2GroupchannelsHospitalHospitalIdGet operation in GroupChannelsApi. * @export * @interface GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGetRequest */ export interface GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGetRequest { /** * * @type {string} * @memberof GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGet */ readonly hospitalId: string; /** * * @type {boolean} * @memberof GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGet */ readonly isExternal?: boolean; } /** * GroupChannelsApi - object-oriented interface * @export * @class GroupChannelsApi * @extends {BaseAPI} */ export declare class GroupChannelsApi extends BaseAPI { /** * * @summary Invite hospital manager into GroupChannel * @param {GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupChannelsApi */ apiV2GroupchannelsChannelUrlInviteHospitalIdManagerPost(requestParameters: GroupChannelsApiApiV2GroupchannelsChannelUrlInviteHospitalIdManagerPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>; /** * * @param {GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupChannelsApi */ apiV2GroupchannelsChannelUrlInvitePost(requestParameters: GroupChannelsApiApiV2GroupchannelsChannelUrlInvitePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendBirdGroupChannelModel, any>>; /** * * @param {GroupChannelsApiApiV2GroupchannelsDealDealIdGetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupChannelsApi */ apiV2GroupchannelsDealDealIdGet(requestParameters: GroupChannelsApiApiV2GroupchannelsDealDealIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>; /** * * @param {GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupChannelsApi */ apiV2GroupchannelsDoctorDoctorIdGet(requestParameters: GroupChannelsApiApiV2GroupchannelsDoctorDoctorIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>; /** * * @param {GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupChannelsApi */ apiV2GroupchannelsHospitalHospitalIdGet(requestParameters: GroupChannelsApiApiV2GroupchannelsHospitalHospitalIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>; } //# sourceMappingURL=group-channels-api.d.ts.map