/** * 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] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format. * @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; }; /** * SurveyFormsApi - functional programming interface * @export */ export declare const SurveyFormsApiFp: (configuration?: Configuration) => { /** * * @summary Get survey form by id * @param {string} surveyFormId * @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format. * @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>; }; /** * 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] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format. * @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; }; /** * Request parameters for apiV2SurveyformsSurveyFormIdGet operation in SurveyFormsApi. * @export * @interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest */ export interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest { /** * * @type {string} * @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet */ readonly surveyFormId: string; /** * Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format. * @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>; } //# sourceMappingURL=survey-forms-api.d.ts.map