UNPKG

ch-api-client-typescript2

Version:
115 lines 4.08 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 { SurveyFormModel } from '../models'; /** * SurveyFormsApi - axios parameter creator * @export */ export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Get survey form by id * @param {string} surveyFormId * @param {string} [languageCode] * @param {string} [previewSecret] * @param {string} [hospitalId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2SurveyformsSurveyFormIdGet: (surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * SurveyFormsApi - functional programming interface * @export */ export declare const SurveyFormsApiFp: (configuration?: Configuration) => { /** * * @summary Get survey form by id * @param {string} surveyFormId * @param {string} [languageCode] * @param {string} [previewSecret] * @param {string} [hospitalId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>>; }; /** * SurveyFormsApi - factory interface * @export */ export declare const SurveyFormsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Get survey form by id * @param {string} surveyFormId * @param {string} [languageCode] * @param {string} [previewSecret] * @param {string} [hospitalId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<SurveyFormModel>; }; /** * Request parameters for apiV2SurveyformsSurveyFormIdGet operation in SurveyFormsApi. * @export * @interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest */ export interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest { /** * * @type {string} * @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet */ readonly surveyFormId: string; /** * * @type {string} * @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet */ readonly languageCode?: string; /** * * @type {string} * @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet */ readonly previewSecret?: string; /** * * @type {string} * @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet */ readonly hospitalId?: string; } /** * SurveyFormsApi - object-oriented interface * @export * @class SurveyFormsApi * @extends {BaseAPI} */ export declare class SurveyFormsApi extends BaseAPI { /** * * @summary Get survey form by id * @param {SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SurveyFormsApi */ apiV2SurveyformsSurveyFormIdGet(requestParameters: SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SurveyFormModel, any>>; } //# sourceMappingURL=survey-forms-api.d.ts.map