ch-api-client-typescript2 4.8.1 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +428 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +286 -4
- package/package.json +1 -1
- package/src/api.ts +536 -0
package/lib/api.d.ts
CHANGED
|
@@ -3427,6 +3427,37 @@ export interface CreateServiceReviewCommand {
|
|
|
3427
3427
|
*/
|
|
3428
3428
|
'reviewType'?: ReviewType;
|
|
3429
3429
|
}
|
|
3430
|
+
/**
|
|
3431
|
+
*
|
|
3432
|
+
* @export
|
|
3433
|
+
* @interface CreateSurveyResultCommand
|
|
3434
|
+
*/
|
|
3435
|
+
export interface CreateSurveyResultCommand {
|
|
3436
|
+
/**
|
|
3437
|
+
*
|
|
3438
|
+
* @type {string}
|
|
3439
|
+
* @memberof CreateSurveyResultCommand
|
|
3440
|
+
*/
|
|
3441
|
+
'surveyFormId'?: string;
|
|
3442
|
+
/**
|
|
3443
|
+
*
|
|
3444
|
+
* @type {string}
|
|
3445
|
+
* @memberof CreateSurveyResultCommand
|
|
3446
|
+
*/
|
|
3447
|
+
'hospitalId'?: string;
|
|
3448
|
+
/**
|
|
3449
|
+
*
|
|
3450
|
+
* @type {string}
|
|
3451
|
+
* @memberof CreateSurveyResultCommand
|
|
3452
|
+
*/
|
|
3453
|
+
'languageCode'?: string | null;
|
|
3454
|
+
/**
|
|
3455
|
+
*
|
|
3456
|
+
* @type {Array<SurveyResultElementInputModel>}
|
|
3457
|
+
* @memberof CreateSurveyResultCommand
|
|
3458
|
+
*/
|
|
3459
|
+
'elements'?: Array<SurveyResultElementInputModel> | null;
|
|
3460
|
+
}
|
|
3430
3461
|
/**
|
|
3431
3462
|
*
|
|
3432
3463
|
* @export
|
|
@@ -10055,6 +10086,281 @@ export interface SubscriptionModel {
|
|
|
10055
10086
|
*/
|
|
10056
10087
|
'status'?: string | null;
|
|
10057
10088
|
}
|
|
10089
|
+
/**
|
|
10090
|
+
*
|
|
10091
|
+
* @export
|
|
10092
|
+
* @interface SurveyFormElementModel
|
|
10093
|
+
*/
|
|
10094
|
+
export interface SurveyFormElementModel {
|
|
10095
|
+
/**
|
|
10096
|
+
*
|
|
10097
|
+
* @type {string}
|
|
10098
|
+
* @memberof SurveyFormElementModel
|
|
10099
|
+
*/
|
|
10100
|
+
'id'?: string;
|
|
10101
|
+
/**
|
|
10102
|
+
*
|
|
10103
|
+
* @type {SurveyFormElementTypes}
|
|
10104
|
+
* @memberof SurveyFormElementModel
|
|
10105
|
+
*/
|
|
10106
|
+
'elementType'?: SurveyFormElementTypes;
|
|
10107
|
+
/**
|
|
10108
|
+
*
|
|
10109
|
+
* @type {string}
|
|
10110
|
+
* @memberof SurveyFormElementModel
|
|
10111
|
+
*/
|
|
10112
|
+
'formInputName'?: string | null;
|
|
10113
|
+
/**
|
|
10114
|
+
*
|
|
10115
|
+
* @type {boolean}
|
|
10116
|
+
* @memberof SurveyFormElementModel
|
|
10117
|
+
*/
|
|
10118
|
+
'isRequired'?: boolean;
|
|
10119
|
+
/**
|
|
10120
|
+
*
|
|
10121
|
+
* @type {boolean}
|
|
10122
|
+
* @memberof SurveyFormElementModel
|
|
10123
|
+
*/
|
|
10124
|
+
'isHidden'?: boolean;
|
|
10125
|
+
/**
|
|
10126
|
+
*
|
|
10127
|
+
* @type {number}
|
|
10128
|
+
* @memberof SurveyFormElementModel
|
|
10129
|
+
*/
|
|
10130
|
+
'order'?: number;
|
|
10131
|
+
/**
|
|
10132
|
+
*
|
|
10133
|
+
* @type {string}
|
|
10134
|
+
* @memberof SurveyFormElementModel
|
|
10135
|
+
*/
|
|
10136
|
+
'languageCode'?: string | null;
|
|
10137
|
+
/**
|
|
10138
|
+
*
|
|
10139
|
+
* @type {string}
|
|
10140
|
+
* @memberof SurveyFormElementModel
|
|
10141
|
+
*/
|
|
10142
|
+
'name'?: string | null;
|
|
10143
|
+
/**
|
|
10144
|
+
*
|
|
10145
|
+
* @type {string}
|
|
10146
|
+
* @memberof SurveyFormElementModel
|
|
10147
|
+
*/
|
|
10148
|
+
'placeholder'?: string | null;
|
|
10149
|
+
/**
|
|
10150
|
+
*
|
|
10151
|
+
* @type {Array<SurveyFormElementOptionModel>}
|
|
10152
|
+
* @memberof SurveyFormElementModel
|
|
10153
|
+
*/
|
|
10154
|
+
'options'?: Array<SurveyFormElementOptionModel> | null;
|
|
10155
|
+
}
|
|
10156
|
+
/**
|
|
10157
|
+
*
|
|
10158
|
+
* @export
|
|
10159
|
+
* @interface SurveyFormElementOptionModel
|
|
10160
|
+
*/
|
|
10161
|
+
export interface SurveyFormElementOptionModel {
|
|
10162
|
+
/**
|
|
10163
|
+
*
|
|
10164
|
+
* @type {string}
|
|
10165
|
+
* @memberof SurveyFormElementOptionModel
|
|
10166
|
+
*/
|
|
10167
|
+
'id'?: string;
|
|
10168
|
+
/**
|
|
10169
|
+
*
|
|
10170
|
+
* @type {string}
|
|
10171
|
+
* @memberof SurveyFormElementOptionModel
|
|
10172
|
+
*/
|
|
10173
|
+
'surveyFormElementId'?: string;
|
|
10174
|
+
/**
|
|
10175
|
+
*
|
|
10176
|
+
* @type {string}
|
|
10177
|
+
* @memberof SurveyFormElementOptionModel
|
|
10178
|
+
*/
|
|
10179
|
+
'value'?: string | null;
|
|
10180
|
+
/**
|
|
10181
|
+
*
|
|
10182
|
+
* @type {boolean}
|
|
10183
|
+
* @memberof SurveyFormElementOptionModel
|
|
10184
|
+
*/
|
|
10185
|
+
'needAdditionalValue'?: boolean;
|
|
10186
|
+
/**
|
|
10187
|
+
*
|
|
10188
|
+
* @type {number}
|
|
10189
|
+
* @memberof SurveyFormElementOptionModel
|
|
10190
|
+
*/
|
|
10191
|
+
'order'?: number;
|
|
10192
|
+
/**
|
|
10193
|
+
*
|
|
10194
|
+
* @type {string}
|
|
10195
|
+
* @memberof SurveyFormElementOptionModel
|
|
10196
|
+
*/
|
|
10197
|
+
'languageCode'?: string | null;
|
|
10198
|
+
/**
|
|
10199
|
+
*
|
|
10200
|
+
* @type {string}
|
|
10201
|
+
* @memberof SurveyFormElementOptionModel
|
|
10202
|
+
*/
|
|
10203
|
+
'name'?: string | null;
|
|
10204
|
+
}
|
|
10205
|
+
/**
|
|
10206
|
+
*
|
|
10207
|
+
* @export
|
|
10208
|
+
* @enum {string}
|
|
10209
|
+
*/
|
|
10210
|
+
export declare const SurveyFormElementTypes: {
|
|
10211
|
+
readonly SingleLineText: "SingleLineText";
|
|
10212
|
+
readonly MultiLineText: "MultiLineText";
|
|
10213
|
+
readonly Email: "Email";
|
|
10214
|
+
readonly DateTime: "DateTime";
|
|
10215
|
+
readonly Date: "Date";
|
|
10216
|
+
readonly Time: "Time";
|
|
10217
|
+
readonly NumberInteger: "NumberInteger";
|
|
10218
|
+
readonly NumberFloat: "NumberFloat";
|
|
10219
|
+
readonly Select: "Select";
|
|
10220
|
+
readonly Checkbox: "Checkbox";
|
|
10221
|
+
readonly Radio: "Radio";
|
|
10222
|
+
readonly File: "File";
|
|
10223
|
+
};
|
|
10224
|
+
export type SurveyFormElementTypes = typeof SurveyFormElementTypes[keyof typeof SurveyFormElementTypes];
|
|
10225
|
+
/**
|
|
10226
|
+
*
|
|
10227
|
+
* @export
|
|
10228
|
+
* @interface SurveyFormModel
|
|
10229
|
+
*/
|
|
10230
|
+
export interface SurveyFormModel {
|
|
10231
|
+
/**
|
|
10232
|
+
*
|
|
10233
|
+
* @type {string}
|
|
10234
|
+
* @memberof SurveyFormModel
|
|
10235
|
+
*/
|
|
10236
|
+
'id'?: string;
|
|
10237
|
+
/**
|
|
10238
|
+
*
|
|
10239
|
+
* @type {string}
|
|
10240
|
+
* @memberof SurveyFormModel
|
|
10241
|
+
*/
|
|
10242
|
+
'hospitalId'?: string;
|
|
10243
|
+
/**
|
|
10244
|
+
*
|
|
10245
|
+
* @type {string}
|
|
10246
|
+
* @memberof SurveyFormModel
|
|
10247
|
+
*/
|
|
10248
|
+
'hospitalName'?: string | null;
|
|
10249
|
+
/**
|
|
10250
|
+
*
|
|
10251
|
+
* @type {string}
|
|
10252
|
+
* @memberof SurveyFormModel
|
|
10253
|
+
*/
|
|
10254
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
10255
|
+
/**
|
|
10256
|
+
*
|
|
10257
|
+
* @type {string}
|
|
10258
|
+
* @memberof SurveyFormModel
|
|
10259
|
+
*/
|
|
10260
|
+
'hospitalLogo'?: string | null;
|
|
10261
|
+
/**
|
|
10262
|
+
*
|
|
10263
|
+
* @type {SurveyFormStatus}
|
|
10264
|
+
* @memberof SurveyFormModel
|
|
10265
|
+
*/
|
|
10266
|
+
'status'?: SurveyFormStatus;
|
|
10267
|
+
/**
|
|
10268
|
+
*
|
|
10269
|
+
* @type {string}
|
|
10270
|
+
* @memberof SurveyFormModel
|
|
10271
|
+
*/
|
|
10272
|
+
'languageCode'?: string | null;
|
|
10273
|
+
/**
|
|
10274
|
+
*
|
|
10275
|
+
* @type {string}
|
|
10276
|
+
* @memberof SurveyFormModel
|
|
10277
|
+
*/
|
|
10278
|
+
'name'?: string | null;
|
|
10279
|
+
/**
|
|
10280
|
+
*
|
|
10281
|
+
* @type {string}
|
|
10282
|
+
* @memberof SurveyFormModel
|
|
10283
|
+
*/
|
|
10284
|
+
'description'?: string | null;
|
|
10285
|
+
/**
|
|
10286
|
+
*
|
|
10287
|
+
* @type {string}
|
|
10288
|
+
* @memberof SurveyFormModel
|
|
10289
|
+
*/
|
|
10290
|
+
'overview'?: string | null;
|
|
10291
|
+
/**
|
|
10292
|
+
*
|
|
10293
|
+
* @type {string}
|
|
10294
|
+
* @memberof SurveyFormModel
|
|
10295
|
+
*/
|
|
10296
|
+
'content'?: string | null;
|
|
10297
|
+
/**
|
|
10298
|
+
*
|
|
10299
|
+
* @type {Array<SurveyFormElementModel>}
|
|
10300
|
+
* @memberof SurveyFormModel
|
|
10301
|
+
*/
|
|
10302
|
+
'elements'?: Array<SurveyFormElementModel> | null;
|
|
10303
|
+
}
|
|
10304
|
+
/**
|
|
10305
|
+
*
|
|
10306
|
+
* @export
|
|
10307
|
+
* @enum {string}
|
|
10308
|
+
*/
|
|
10309
|
+
export declare const SurveyFormStatus: {
|
|
10310
|
+
readonly Draft: "Draft";
|
|
10311
|
+
readonly Active: "Active";
|
|
10312
|
+
};
|
|
10313
|
+
export type SurveyFormStatus = typeof SurveyFormStatus[keyof typeof SurveyFormStatus];
|
|
10314
|
+
/**
|
|
10315
|
+
*
|
|
10316
|
+
* @export
|
|
10317
|
+
* @interface SurveyResultElementInputModel
|
|
10318
|
+
*/
|
|
10319
|
+
export interface SurveyResultElementInputModel {
|
|
10320
|
+
/**
|
|
10321
|
+
*
|
|
10322
|
+
* @type {string}
|
|
10323
|
+
* @memberof SurveyResultElementInputModel
|
|
10324
|
+
*/
|
|
10325
|
+
'label'?: string | null;
|
|
10326
|
+
/**
|
|
10327
|
+
*
|
|
10328
|
+
* @type {number}
|
|
10329
|
+
* @memberof SurveyResultElementInputModel
|
|
10330
|
+
*/
|
|
10331
|
+
'order'?: number;
|
|
10332
|
+
/**
|
|
10333
|
+
*
|
|
10334
|
+
* @type {Array<SurveyResultElementValueInputModel>}
|
|
10335
|
+
* @memberof SurveyResultElementInputModel
|
|
10336
|
+
*/
|
|
10337
|
+
'values'?: Array<SurveyResultElementValueInputModel> | null;
|
|
10338
|
+
}
|
|
10339
|
+
/**
|
|
10340
|
+
*
|
|
10341
|
+
* @export
|
|
10342
|
+
* @interface SurveyResultElementValueInputModel
|
|
10343
|
+
*/
|
|
10344
|
+
export interface SurveyResultElementValueInputModel {
|
|
10345
|
+
/**
|
|
10346
|
+
*
|
|
10347
|
+
* @type {string}
|
|
10348
|
+
* @memberof SurveyResultElementValueInputModel
|
|
10349
|
+
*/
|
|
10350
|
+
'value'?: string | null;
|
|
10351
|
+
/**
|
|
10352
|
+
*
|
|
10353
|
+
* @type {string}
|
|
10354
|
+
* @memberof SurveyResultElementValueInputModel
|
|
10355
|
+
*/
|
|
10356
|
+
'additionalValue'?: string | null;
|
|
10357
|
+
/**
|
|
10358
|
+
*
|
|
10359
|
+
* @type {number}
|
|
10360
|
+
* @memberof SurveyResultElementValueInputModel
|
|
10361
|
+
*/
|
|
10362
|
+
'order'?: number;
|
|
10363
|
+
}
|
|
10058
10364
|
/**
|
|
10059
10365
|
*
|
|
10060
10366
|
* @export
|
|
@@ -20498,6 +20804,128 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
20498
20804
|
*/
|
|
20499
20805
|
apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaModel, any>>;
|
|
20500
20806
|
}
|
|
20807
|
+
/**
|
|
20808
|
+
* SurveyFormsApi - axios parameter creator
|
|
20809
|
+
* @export
|
|
20810
|
+
*/
|
|
20811
|
+
export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20812
|
+
/**
|
|
20813
|
+
*
|
|
20814
|
+
* @summary Get survey form by id
|
|
20815
|
+
* @param {string} surveyFormId
|
|
20816
|
+
* @param {string} [languageCode]
|
|
20817
|
+
* @param {*} [options] Override http request option.
|
|
20818
|
+
* @throws {RequiredError}
|
|
20819
|
+
*/
|
|
20820
|
+
apiV2SurveyformsSurveyFormIdGet: (surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20821
|
+
};
|
|
20822
|
+
/**
|
|
20823
|
+
* SurveyFormsApi - functional programming interface
|
|
20824
|
+
* @export
|
|
20825
|
+
*/
|
|
20826
|
+
export declare const SurveyFormsApiFp: (configuration?: Configuration) => {
|
|
20827
|
+
/**
|
|
20828
|
+
*
|
|
20829
|
+
* @summary Get survey form by id
|
|
20830
|
+
* @param {string} surveyFormId
|
|
20831
|
+
* @param {string} [languageCode]
|
|
20832
|
+
* @param {*} [options] Override http request option.
|
|
20833
|
+
* @throws {RequiredError}
|
|
20834
|
+
*/
|
|
20835
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>>;
|
|
20836
|
+
};
|
|
20837
|
+
/**
|
|
20838
|
+
* SurveyFormsApi - factory interface
|
|
20839
|
+
* @export
|
|
20840
|
+
*/
|
|
20841
|
+
export declare const SurveyFormsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
20842
|
+
/**
|
|
20843
|
+
*
|
|
20844
|
+
* @summary Get survey form by id
|
|
20845
|
+
* @param {string} surveyFormId
|
|
20846
|
+
* @param {string} [languageCode]
|
|
20847
|
+
* @param {*} [options] Override http request option.
|
|
20848
|
+
* @throws {RequiredError}
|
|
20849
|
+
*/
|
|
20850
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: any): AxiosPromise<SurveyFormModel>;
|
|
20851
|
+
};
|
|
20852
|
+
/**
|
|
20853
|
+
* SurveyFormsApi - object-oriented interface
|
|
20854
|
+
* @export
|
|
20855
|
+
* @class SurveyFormsApi
|
|
20856
|
+
* @extends {BaseAPI}
|
|
20857
|
+
*/
|
|
20858
|
+
export declare class SurveyFormsApi extends BaseAPI {
|
|
20859
|
+
/**
|
|
20860
|
+
*
|
|
20861
|
+
* @summary Get survey form by id
|
|
20862
|
+
* @param {string} surveyFormId
|
|
20863
|
+
* @param {string} [languageCode]
|
|
20864
|
+
* @param {*} [options] Override http request option.
|
|
20865
|
+
* @throws {RequiredError}
|
|
20866
|
+
* @memberof SurveyFormsApi
|
|
20867
|
+
*/
|
|
20868
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SurveyFormModel, any>>;
|
|
20869
|
+
}
|
|
20870
|
+
/**
|
|
20871
|
+
* SurveyResultsApi - axios parameter creator
|
|
20872
|
+
* @export
|
|
20873
|
+
*/
|
|
20874
|
+
export declare const SurveyResultsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20875
|
+
/**
|
|
20876
|
+
*
|
|
20877
|
+
* @summary Create survey result
|
|
20878
|
+
* @param {CreateSurveyResultCommand} [createSurveyResultCommand]
|
|
20879
|
+
* @param {*} [options] Override http request option.
|
|
20880
|
+
* @throws {RequiredError}
|
|
20881
|
+
*/
|
|
20882
|
+
apiV2SurveyresultsPost: (createSurveyResultCommand?: CreateSurveyResultCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20883
|
+
};
|
|
20884
|
+
/**
|
|
20885
|
+
* SurveyResultsApi - functional programming interface
|
|
20886
|
+
* @export
|
|
20887
|
+
*/
|
|
20888
|
+
export declare const SurveyResultsApiFp: (configuration?: Configuration) => {
|
|
20889
|
+
/**
|
|
20890
|
+
*
|
|
20891
|
+
* @summary Create survey result
|
|
20892
|
+
* @param {CreateSurveyResultCommand} [createSurveyResultCommand]
|
|
20893
|
+
* @param {*} [options] Override http request option.
|
|
20894
|
+
* @throws {RequiredError}
|
|
20895
|
+
*/
|
|
20896
|
+
apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
20897
|
+
};
|
|
20898
|
+
/**
|
|
20899
|
+
* SurveyResultsApi - factory interface
|
|
20900
|
+
* @export
|
|
20901
|
+
*/
|
|
20902
|
+
export declare const SurveyResultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
20903
|
+
/**
|
|
20904
|
+
*
|
|
20905
|
+
* @summary Create survey result
|
|
20906
|
+
* @param {CreateSurveyResultCommand} [createSurveyResultCommand]
|
|
20907
|
+
* @param {*} [options] Override http request option.
|
|
20908
|
+
* @throws {RequiredError}
|
|
20909
|
+
*/
|
|
20910
|
+
apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: any): AxiosPromise<boolean>;
|
|
20911
|
+
};
|
|
20912
|
+
/**
|
|
20913
|
+
* SurveyResultsApi - object-oriented interface
|
|
20914
|
+
* @export
|
|
20915
|
+
* @class SurveyResultsApi
|
|
20916
|
+
* @extends {BaseAPI}
|
|
20917
|
+
*/
|
|
20918
|
+
export declare class SurveyResultsApi extends BaseAPI {
|
|
20919
|
+
/**
|
|
20920
|
+
*
|
|
20921
|
+
* @summary Create survey result
|
|
20922
|
+
* @param {CreateSurveyResultCommand} [createSurveyResultCommand]
|
|
20923
|
+
* @param {*} [options] Override http request option.
|
|
20924
|
+
* @throws {RequiredError}
|
|
20925
|
+
* @memberof SurveyResultsApi
|
|
20926
|
+
*/
|
|
20927
|
+
apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
20928
|
+
}
|
|
20501
20929
|
/**
|
|
20502
20930
|
* TagsApi - axios parameter creator
|
|
20503
20931
|
* @export
|