ch-api-client-typescript2 3.5.0 → 3.5.3

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/src/api.ts CHANGED
@@ -571,6 +571,12 @@ export interface ArticleItemModel {
571
571
  * @memberof ArticleItemModel
572
572
  */
573
573
  'slug'?: string | null;
574
+ /**
575
+ *
576
+ * @type {string}
577
+ * @memberof ArticleItemModel
578
+ */
579
+ 'description'?: string | null;
574
580
  /**
575
581
  *
576
582
  * @type {boolean}
@@ -668,6 +674,12 @@ export interface ArticleModel {
668
674
  * @memberof ArticleModel
669
675
  */
670
676
  'slug'?: string | null;
677
+ /**
678
+ *
679
+ * @type {string}
680
+ * @memberof ArticleModel
681
+ */
682
+ 'description'?: string | null;
671
683
  /**
672
684
  *
673
685
  * @type {boolean}
@@ -734,12 +746,6 @@ export interface ArticleModel {
734
746
  * @memberof ArticleModel
735
747
  */
736
748
  'auditableEntity'?: AuditableEntity;
737
- /**
738
- *
739
- * @type {string}
740
- * @memberof ArticleModel
741
- */
742
- 'description'?: string | null;
743
749
  /**
744
750
  *
745
751
  * @type {string}
@@ -3001,7 +3007,19 @@ export interface CreateServiceReviewCommand {
3001
3007
  * @type {string}
3002
3008
  * @memberof CreateServiceReviewCommand
3003
3009
  */
3004
- 'body'?: string | null;
3010
+ 'name'?: string | null;
3011
+ /**
3012
+ *
3013
+ * @type {string}
3014
+ * @memberof CreateServiceReviewCommand
3015
+ */
3016
+ 'description'?: string | null;
3017
+ /**
3018
+ *
3019
+ * @type {string}
3020
+ * @memberof CreateServiceReviewCommand
3021
+ */
3022
+ 'content'?: string | null;
3005
3023
  /**
3006
3024
  *
3007
3025
  * @type {boolean}
@@ -3051,6 +3069,12 @@ export interface DealItemModel {
3051
3069
  * @memberof DealItemModel
3052
3070
  */
3053
3071
  'slug'?: string | null;
3072
+ /**
3073
+ *
3074
+ * @type {string}
3075
+ * @memberof DealItemModel
3076
+ */
3077
+ 'description'?: string | null;
3054
3078
  /**
3055
3079
  *
3056
3080
  * @type {boolean}
@@ -3093,6 +3117,18 @@ export interface DealItemModel {
3093
3117
  * @memberof DealItemModel
3094
3118
  */
3095
3119
  'photoThumbnail'?: string | null;
3120
+ /**
3121
+ *
3122
+ * @type {number}
3123
+ * @memberof DealItemModel
3124
+ */
3125
+ 'lowestPrice'?: number;
3126
+ /**
3127
+ *
3128
+ * @type {number}
3129
+ * @memberof DealItemModel
3130
+ */
3131
+ 'dealServicesCount'?: number;
3096
3132
  /**
3097
3133
  *
3098
3134
  * @type {number}
@@ -3173,6 +3209,12 @@ export interface DealModel {
3173
3209
  * @memberof DealModel
3174
3210
  */
3175
3211
  'slug'?: string | null;
3212
+ /**
3213
+ *
3214
+ * @type {string}
3215
+ * @memberof DealModel
3216
+ */
3217
+ 'description'?: string | null;
3176
3218
  /**
3177
3219
  *
3178
3220
  * @type {boolean}
@@ -3220,19 +3262,25 @@ export interface DealModel {
3220
3262
  * @type {number}
3221
3263
  * @memberof DealModel
3222
3264
  */
3223
- 'order'?: number;
3265
+ 'lowestPrice'?: number;
3224
3266
  /**
3225
3267
  *
3226
- * @type {AuditableEntity}
3268
+ * @type {number}
3227
3269
  * @memberof DealModel
3228
3270
  */
3229
- 'auditableEntity'?: AuditableEntity;
3271
+ 'dealServicesCount'?: number;
3230
3272
  /**
3231
3273
  *
3232
- * @type {string}
3274
+ * @type {number}
3233
3275
  * @memberof DealModel
3234
3276
  */
3235
- 'description'?: string | null;
3277
+ 'order'?: number;
3278
+ /**
3279
+ *
3280
+ * @type {AuditableEntity}
3281
+ * @memberof DealModel
3282
+ */
3283
+ 'auditableEntity'?: AuditableEntity;
3236
3284
  /**
3237
3285
  *
3238
3286
  * @type {string}
@@ -3656,6 +3704,12 @@ export interface DoctorAffiliationItemModel {
3656
3704
  * @memberof DoctorAffiliationItemModel
3657
3705
  */
3658
3706
  'hospitalSlug'?: string | null;
3707
+ /**
3708
+ *
3709
+ * @type {string}
3710
+ * @memberof DoctorAffiliationItemModel
3711
+ */
3712
+ 'doctorId'?: string | null;
3659
3713
  /**
3660
3714
  *
3661
3715
  * @type {string}
@@ -3698,6 +3752,12 @@ export interface DoctorAffiliationItemModel {
3698
3752
  * @memberof DoctorAffiliationItemModel
3699
3753
  */
3700
3754
  'consultationFee'?: number | null;
3755
+ /**
3756
+ *
3757
+ * @type {string}
3758
+ * @memberof DoctorAffiliationItemModel
3759
+ */
3760
+ 'specialtiesSummerized'?: string | null;
3701
3761
  /**
3702
3762
  *
3703
3763
  * @type {number}
@@ -3741,6 +3801,12 @@ export interface DoctorAffiliationModel {
3741
3801
  * @memberof DoctorAffiliationModel
3742
3802
  */
3743
3803
  'hospitalSlug'?: string | null;
3804
+ /**
3805
+ *
3806
+ * @type {string}
3807
+ * @memberof DoctorAffiliationModel
3808
+ */
3809
+ 'doctorId'?: string | null;
3744
3810
  /**
3745
3811
  *
3746
3812
  * @type {string}
@@ -3783,6 +3849,12 @@ export interface DoctorAffiliationModel {
3783
3849
  * @memberof DoctorAffiliationModel
3784
3850
  */
3785
3851
  'consultationFee'?: number | null;
3852
+ /**
3853
+ *
3854
+ * @type {string}
3855
+ * @memberof DoctorAffiliationModel
3856
+ */
3857
+ 'specialtiesSummerized'?: string | null;
3786
3858
  /**
3787
3859
  *
3788
3860
  * @type {number}
@@ -5845,6 +5917,18 @@ export interface HospitalServiceItemModel {
5845
5917
  * @memberof HospitalServiceItemModel
5846
5918
  */
5847
5919
  'confirmed'?: boolean;
5920
+ /**
5921
+ *
5922
+ * @type {string}
5923
+ * @memberof HospitalServiceItemModel
5924
+ */
5925
+ 'hospitalSpecialtyName'?: string | null;
5926
+ /**
5927
+ *
5928
+ * @type {string}
5929
+ * @memberof HospitalServiceItemModel
5930
+ */
5931
+ 'hospitalSpecialtySlug'?: string | null;
5848
5932
  /**
5849
5933
  *
5850
5934
  * @type {number}
@@ -7938,55 +8022,55 @@ export interface ServiceReviewItemModel {
7938
8022
  * @type {string}
7939
8023
  * @memberof ServiceReviewItemModel
7940
8024
  */
7941
- 'serviceId'?: string;
8025
+ 'languageCode'?: string | null;
7942
8026
  /**
7943
8027
  *
7944
8028
  * @type {string}
7945
8029
  * @memberof ServiceReviewItemModel
7946
8030
  */
7947
- 'serviceName'?: string | null;
8031
+ 'name'?: string | null;
7948
8032
  /**
7949
8033
  *
7950
8034
  * @type {string}
7951
8035
  * @memberof ServiceReviewItemModel
7952
8036
  */
7953
- 'patientId'?: string | null;
8037
+ 'slug'?: string | null;
7954
8038
  /**
7955
8039
  *
7956
- * @type {string}
8040
+ * @type {boolean}
7957
8041
  * @memberof ServiceReviewItemModel
7958
8042
  */
7959
- 'patientName'?: string | null;
8043
+ 'confirmed'?: boolean;
7960
8044
  /**
7961
8045
  *
7962
- * @type {Gender}
8046
+ * @type {string}
7963
8047
  * @memberof ServiceReviewItemModel
7964
8048
  */
7965
- 'patientGender'?: Gender;
8049
+ 'serviceId'?: string;
7966
8050
  /**
7967
8051
  *
7968
8052
  * @type {string}
7969
8053
  * @memberof ServiceReviewItemModel
7970
8054
  */
7971
- 'patientPhoto'?: string | null;
8055
+ 'serviceName'?: string | null;
7972
8056
  /**
7973
8057
  *
7974
8058
  * @type {string}
7975
8059
  * @memberof ServiceReviewItemModel
7976
8060
  */
7977
- 'patientPhotoThumbnail'?: string | null;
8061
+ 'serviceSlug'?: string | null;
7978
8062
  /**
7979
8063
  *
7980
- * @type {Date}
8064
+ * @type {string}
7981
8065
  * @memberof ServiceReviewItemModel
7982
8066
  */
7983
- 'patientCreatedDate'?: Date | null;
8067
+ 'patientId'?: string | null;
7984
8068
  /**
7985
8069
  *
7986
8070
  * @type {string}
7987
8071
  * @memberof ServiceReviewItemModel
7988
8072
  */
7989
- 'body'?: string | null;
8073
+ 'patientName'?: string | null;
7990
8074
  /**
7991
8075
  *
7992
8076
  * @type {boolean}
@@ -8005,12 +8089,6 @@ export interface ServiceReviewItemModel {
8005
8089
  * @memberof ServiceReviewItemModel
8006
8090
  */
8007
8091
  'reviewType'?: ReviewType;
8008
- /**
8009
- *
8010
- * @type {boolean}
8011
- * @memberof ServiceReviewItemModel
8012
- */
8013
- 'confirmed'?: boolean;
8014
8092
  /**
8015
8093
  *
8016
8094
  * @type {Array<MediaModel>}
@@ -8041,55 +8119,55 @@ export interface ServiceReviewModel {
8041
8119
  * @type {string}
8042
8120
  * @memberof ServiceReviewModel
8043
8121
  */
8044
- 'serviceId'?: string;
8122
+ 'languageCode'?: string | null;
8045
8123
  /**
8046
8124
  *
8047
8125
  * @type {string}
8048
8126
  * @memberof ServiceReviewModel
8049
8127
  */
8050
- 'serviceName'?: string | null;
8128
+ 'name'?: string | null;
8051
8129
  /**
8052
8130
  *
8053
8131
  * @type {string}
8054
8132
  * @memberof ServiceReviewModel
8055
8133
  */
8056
- 'patientId'?: string | null;
8134
+ 'slug'?: string | null;
8057
8135
  /**
8058
8136
  *
8059
- * @type {string}
8137
+ * @type {boolean}
8060
8138
  * @memberof ServiceReviewModel
8061
8139
  */
8062
- 'patientName'?: string | null;
8140
+ 'confirmed'?: boolean;
8063
8141
  /**
8064
8142
  *
8065
- * @type {Gender}
8143
+ * @type {string}
8066
8144
  * @memberof ServiceReviewModel
8067
8145
  */
8068
- 'patientGender'?: Gender;
8146
+ 'serviceId'?: string;
8069
8147
  /**
8070
8148
  *
8071
8149
  * @type {string}
8072
8150
  * @memberof ServiceReviewModel
8073
8151
  */
8074
- 'patientPhoto'?: string | null;
8152
+ 'serviceName'?: string | null;
8075
8153
  /**
8076
8154
  *
8077
8155
  * @type {string}
8078
8156
  * @memberof ServiceReviewModel
8079
8157
  */
8080
- 'patientPhotoThumbnail'?: string | null;
8158
+ 'serviceSlug'?: string | null;
8081
8159
  /**
8082
8160
  *
8083
- * @type {Date}
8161
+ * @type {string}
8084
8162
  * @memberof ServiceReviewModel
8085
8163
  */
8086
- 'patientCreatedDate'?: Date | null;
8164
+ 'patientId'?: string | null;
8087
8165
  /**
8088
8166
  *
8089
8167
  * @type {string}
8090
8168
  * @memberof ServiceReviewModel
8091
8169
  */
8092
- 'body'?: string | null;
8170
+ 'patientName'?: string | null;
8093
8171
  /**
8094
8172
  *
8095
8173
  * @type {boolean}
@@ -8108,12 +8186,6 @@ export interface ServiceReviewModel {
8108
8186
  * @memberof ServiceReviewModel
8109
8187
  */
8110
8188
  'reviewType'?: ReviewType;
8111
- /**
8112
- *
8113
- * @type {boolean}
8114
- * @memberof ServiceReviewModel
8115
- */
8116
- 'confirmed'?: boolean;
8117
8189
  /**
8118
8190
  *
8119
8191
  * @type {Array<MediaModel>}
@@ -8126,6 +8198,24 @@ export interface ServiceReviewModel {
8126
8198
  * @memberof ServiceReviewModel
8127
8199
  */
8128
8200
  'auditableEntity'?: AuditableEntity;
8201
+ /**
8202
+ *
8203
+ * @type {string}
8204
+ * @memberof ServiceReviewModel
8205
+ */
8206
+ 'description'?: string | null;
8207
+ /**
8208
+ *
8209
+ * @type {string}
8210
+ * @memberof ServiceReviewModel
8211
+ */
8212
+ 'overview'?: string | null;
8213
+ /**
8214
+ *
8215
+ * @type {string}
8216
+ * @memberof ServiceReviewModel
8217
+ */
8218
+ 'content'?: string | null;
8129
8219
  }
8130
8220
  /**
8131
8221
  *
@@ -9184,25 +9274,43 @@ export interface UpdateServiceReviewCommand {
9184
9274
  * @type {string}
9185
9275
  * @memberof UpdateServiceReviewCommand
9186
9276
  */
9187
- 'body'?: string | null;
9277
+ 'name'?: string | null;
9188
9278
  /**
9189
9279
  *
9190
- * @type {boolean}
9280
+ * @type {string}
9191
9281
  * @memberof UpdateServiceReviewCommand
9192
9282
  */
9193
- 'recommended'?: boolean | null;
9283
+ 'slug'?: string | null;
9194
9284
  /**
9195
9285
  *
9196
- * @type {number}
9286
+ * @type {string}
9197
9287
  * @memberof UpdateServiceReviewCommand
9198
9288
  */
9199
- 'rate'?: number | null;
9289
+ 'description'?: string | null;
9290
+ /**
9291
+ *
9292
+ * @type {string}
9293
+ * @memberof UpdateServiceReviewCommand
9294
+ */
9295
+ 'content'?: string | null;
9200
9296
  /**
9201
9297
  *
9202
9298
  * @type {string}
9203
9299
  * @memberof UpdateServiceReviewCommand
9204
9300
  */
9205
9301
  'languageCode'?: string | null;
9302
+ /**
9303
+ *
9304
+ * @type {boolean}
9305
+ * @memberof UpdateServiceReviewCommand
9306
+ */
9307
+ 'recommended'?: boolean | null;
9308
+ /**
9309
+ *
9310
+ * @type {number}
9311
+ * @memberof UpdateServiceReviewCommand
9312
+ */
9313
+ 'rate'?: number | null;
9206
9314
  /**
9207
9315
  *
9208
9316
  * @type {boolean}
@@ -15208,9 +15316,12 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15208
15316
  * @summary Get all doctor affiliations.
15209
15317
  * @param {string} [hospitalId]
15210
15318
  * @param {string} [hospitalName]
15319
+ * @param {string} [specialtyId]
15211
15320
  * @param {string} [doctorId]
15212
15321
  * @param {string} [doctorName]
15213
15322
  * @param {string} [doctorSlug]
15323
+ * @param {string} [exceptDoctorId]
15324
+ * @param {boolean} [consultationEnabled]
15214
15325
  * @param {string} [languageCode]
15215
15326
  * @param {number} [page]
15216
15327
  * @param {number} [limit]
@@ -15218,7 +15329,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15218
15329
  * @param {*} [options] Override http request option.
15219
15330
  * @throws {RequiredError}
15220
15331
  */
15221
- apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15332
+ apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, specialtyId?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15222
15333
  const localVarPath = `/api/v2/doctoraffiliations`;
15223
15334
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
15224
15335
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -15239,6 +15350,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15239
15350
  localVarQueryParameter['HospitalName'] = hospitalName;
15240
15351
  }
15241
15352
 
15353
+ if (specialtyId !== undefined) {
15354
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
15355
+ }
15356
+
15242
15357
  if (doctorId !== undefined) {
15243
15358
  localVarQueryParameter['DoctorId'] = doctorId;
15244
15359
  }
@@ -15251,6 +15366,14 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15251
15366
  localVarQueryParameter['DoctorSlug'] = doctorSlug;
15252
15367
  }
15253
15368
 
15369
+ if (exceptDoctorId !== undefined) {
15370
+ localVarQueryParameter['ExceptDoctorId'] = exceptDoctorId;
15371
+ }
15372
+
15373
+ if (consultationEnabled !== undefined) {
15374
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
15375
+ }
15376
+
15254
15377
  if (languageCode !== undefined) {
15255
15378
  localVarQueryParameter['LanguageCode'] = languageCode;
15256
15379
  }
@@ -15372,9 +15495,12 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15372
15495
  * @summary Get all doctor affiliations.
15373
15496
  * @param {string} [hospitalId]
15374
15497
  * @param {string} [hospitalName]
15498
+ * @param {string} [specialtyId]
15375
15499
  * @param {string} [doctorId]
15376
15500
  * @param {string} [doctorName]
15377
15501
  * @param {string} [doctorSlug]
15502
+ * @param {string} [exceptDoctorId]
15503
+ * @param {boolean} [consultationEnabled]
15378
15504
  * @param {string} [languageCode]
15379
15505
  * @param {number} [page]
15380
15506
  * @param {number} [limit]
@@ -15382,8 +15508,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15382
15508
  * @param {*} [options] Override http request option.
15383
15509
  * @throws {RequiredError}
15384
15510
  */
15385
- async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
15386
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options);
15511
+ async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, specialtyId?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
15512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, specialtyId, doctorId, doctorName, doctorSlug, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options);
15387
15513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15388
15514
  },
15389
15515
  /**
@@ -15424,9 +15550,12 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15424
15550
  * @summary Get all doctor affiliations.
15425
15551
  * @param {string} [hospitalId]
15426
15552
  * @param {string} [hospitalName]
15553
+ * @param {string} [specialtyId]
15427
15554
  * @param {string} [doctorId]
15428
15555
  * @param {string} [doctorName]
15429
15556
  * @param {string} [doctorSlug]
15557
+ * @param {string} [exceptDoctorId]
15558
+ * @param {boolean} [consultationEnabled]
15430
15559
  * @param {string} [languageCode]
15431
15560
  * @param {number} [page]
15432
15561
  * @param {number} [limit]
@@ -15434,8 +15563,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15434
15563
  * @param {*} [options] Override http request option.
15435
15564
  * @throws {RequiredError}
15436
15565
  */
15437
- apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
15438
- return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15566
+ apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, specialtyId?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
15567
+ return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, specialtyId, doctorId, doctorName, doctorSlug, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15439
15568
  },
15440
15569
  /**
15441
15570
  *
@@ -15473,9 +15602,12 @@ export class DoctorAffiliationsApi extends BaseAPI {
15473
15602
  * @summary Get all doctor affiliations.
15474
15603
  * @param {string} [hospitalId]
15475
15604
  * @param {string} [hospitalName]
15605
+ * @param {string} [specialtyId]
15476
15606
  * @param {string} [doctorId]
15477
15607
  * @param {string} [doctorName]
15478
15608
  * @param {string} [doctorSlug]
15609
+ * @param {string} [exceptDoctorId]
15610
+ * @param {boolean} [consultationEnabled]
15479
15611
  * @param {string} [languageCode]
15480
15612
  * @param {number} [page]
15481
15613
  * @param {number} [limit]
@@ -15484,8 +15616,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
15484
15616
  * @throws {RequiredError}
15485
15617
  * @memberof DoctorAffiliationsApi
15486
15618
  */
15487
- public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15488
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15619
+ public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, specialtyId?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15620
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, specialtyId, doctorId, doctorName, doctorSlug, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15489
15621
  }
15490
15622
 
15491
15623
  /**
@@ -23734,6 +23866,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23734
23866
  /**
23735
23867
  *
23736
23868
  * @summary Get all ServiceReviews.
23869
+ * @param {string} [id]
23737
23870
  * @param {string} [hospitalId]
23738
23871
  * @param {string} [serviceId]
23739
23872
  * @param {string} [serviceName]
@@ -23744,14 +23877,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23744
23877
  * @param {number} [rate]
23745
23878
  * @param {ReviewType} [reviewType]
23746
23879
  * @param {string} [languageCode]
23747
- * @param {boolean} [returnDefaultValue]
23880
+ * @param {boolean} [showHidden]
23748
23881
  * @param {number} [page]
23749
23882
  * @param {number} [limit]
23750
23883
  * @param {Date} [lastRetrieved]
23751
23884
  * @param {*} [options] Override http request option.
23752
23885
  * @throws {RequiredError}
23753
23886
  */
23754
- apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23887
+ apiV2ServicereviewsGet: async (id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23755
23888
  const localVarPath = `/api/v2/servicereviews`;
23756
23889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23757
23890
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23764,6 +23897,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23764
23897
  const localVarHeaderParameter = {} as any;
23765
23898
  const localVarQueryParameter = {} as any;
23766
23899
 
23900
+ if (id !== undefined) {
23901
+ localVarQueryParameter['Id'] = id;
23902
+ }
23903
+
23767
23904
  if (hospitalId !== undefined) {
23768
23905
  localVarQueryParameter['HospitalId'] = hospitalId;
23769
23906
  }
@@ -23804,8 +23941,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23804
23941
  localVarQueryParameter['LanguageCode'] = languageCode;
23805
23942
  }
23806
23943
 
23807
- if (returnDefaultValue !== undefined) {
23808
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
23944
+ if (showHidden !== undefined) {
23945
+ localVarQueryParameter['ShowHidden'] = showHidden;
23809
23946
  }
23810
23947
 
23811
23948
  if (page !== undefined) {
@@ -23912,10 +24049,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23912
24049
  /**
23913
24050
  *
23914
24051
  * @param {string} serviceReviewId
24052
+ * @param {string} [languageCode]
23915
24053
  * @param {*} [options] Override http request option.
23916
24054
  * @throws {RequiredError}
23917
24055
  */
23918
- apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24056
+ apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23919
24057
  // verify required parameter 'serviceReviewId' is not null or undefined
23920
24058
  assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
23921
24059
  const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
@@ -23931,6 +24069,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23931
24069
  const localVarHeaderParameter = {} as any;
23932
24070
  const localVarQueryParameter = {} as any;
23933
24071
 
24072
+ if (languageCode !== undefined) {
24073
+ localVarQueryParameter['languageCode'] = languageCode;
24074
+ }
24075
+
23934
24076
 
23935
24077
 
23936
24078
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -24226,6 +24368,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24226
24368
  /**
24227
24369
  *
24228
24370
  * @summary Get all ServiceReviews.
24371
+ * @param {string} [id]
24229
24372
  * @param {string} [hospitalId]
24230
24373
  * @param {string} [serviceId]
24231
24374
  * @param {string} [serviceName]
@@ -24236,15 +24379,15 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24236
24379
  * @param {number} [rate]
24237
24380
  * @param {ReviewType} [reviewType]
24238
24381
  * @param {string} [languageCode]
24239
- * @param {boolean} [returnDefaultValue]
24382
+ * @param {boolean} [showHidden]
24240
24383
  * @param {number} [page]
24241
24384
  * @param {number} [limit]
24242
24385
  * @param {Date} [lastRetrieved]
24243
24386
  * @param {*} [options] Override http request option.
24244
24387
  * @throws {RequiredError}
24245
24388
  */
24246
- async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
24247
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
24389
+ async apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
24390
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
24248
24391
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24249
24392
  },
24250
24393
  /**
@@ -24272,11 +24415,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24272
24415
  /**
24273
24416
  *
24274
24417
  * @param {string} serviceReviewId
24418
+ * @param {string} [languageCode]
24275
24419
  * @param {*} [options] Override http request option.
24276
24420
  * @throws {RequiredError}
24277
24421
  */
24278
- async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
24279
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options);
24422
+ async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
24423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
24280
24424
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24281
24425
  },
24282
24426
  /**
@@ -24369,6 +24513,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24369
24513
  /**
24370
24514
  *
24371
24515
  * @summary Get all ServiceReviews.
24516
+ * @param {string} [id]
24372
24517
  * @param {string} [hospitalId]
24373
24518
  * @param {string} [serviceId]
24374
24519
  * @param {string} [serviceName]
@@ -24379,15 +24524,15 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24379
24524
  * @param {number} [rate]
24380
24525
  * @param {ReviewType} [reviewType]
24381
24526
  * @param {string} [languageCode]
24382
- * @param {boolean} [returnDefaultValue]
24527
+ * @param {boolean} [showHidden]
24383
24528
  * @param {number} [page]
24384
24529
  * @param {number} [limit]
24385
24530
  * @param {Date} [lastRetrieved]
24386
24531
  * @param {*} [options] Override http request option.
24387
24532
  * @throws {RequiredError}
24388
24533
  */
24389
- apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
24390
- return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24534
+ apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
24535
+ return localVarFp.apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24391
24536
  },
24392
24537
  /**
24393
24538
  *
@@ -24412,11 +24557,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24412
24557
  /**
24413
24558
  *
24414
24559
  * @param {string} serviceReviewId
24560
+ * @param {string} [languageCode]
24415
24561
  * @param {*} [options] Override http request option.
24416
24562
  * @throws {RequiredError}
24417
24563
  */
24418
- apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
24419
- return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
24564
+ apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
24565
+ return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
24420
24566
  },
24421
24567
  /**
24422
24568
  *
@@ -24502,6 +24648,7 @@ export class ServiceReviewsApi extends BaseAPI {
24502
24648
  /**
24503
24649
  *
24504
24650
  * @summary Get all ServiceReviews.
24651
+ * @param {string} [id]
24505
24652
  * @param {string} [hospitalId]
24506
24653
  * @param {string} [serviceId]
24507
24654
  * @param {string} [serviceName]
@@ -24512,7 +24659,7 @@ export class ServiceReviewsApi extends BaseAPI {
24512
24659
  * @param {number} [rate]
24513
24660
  * @param {ReviewType} [reviewType]
24514
24661
  * @param {string} [languageCode]
24515
- * @param {boolean} [returnDefaultValue]
24662
+ * @param {boolean} [showHidden]
24516
24663
  * @param {number} [page]
24517
24664
  * @param {number} [limit]
24518
24665
  * @param {Date} [lastRetrieved]
@@ -24520,8 +24667,8 @@ export class ServiceReviewsApi extends BaseAPI {
24520
24667
  * @throws {RequiredError}
24521
24668
  * @memberof ServiceReviewsApi
24522
24669
  */
24523
- public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24524
- return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24670
+ public apiV2ServicereviewsGet(id?: string, hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24671
+ return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(id, hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24525
24672
  }
24526
24673
 
24527
24674
  /**
@@ -24551,12 +24698,13 @@ export class ServiceReviewsApi extends BaseAPI {
24551
24698
  /**
24552
24699
  *
24553
24700
  * @param {string} serviceReviewId
24701
+ * @param {string} [languageCode]
24554
24702
  * @param {*} [options] Override http request option.
24555
24703
  * @throws {RequiredError}
24556
24704
  * @memberof ServiceReviewsApi
24557
24705
  */
24558
- public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
24559
- return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
24706
+ public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
24707
+ return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
24560
24708
  }
24561
24709
 
24562
24710
  /**