ch-api-client-typescript2 3.5.1 → 3.5.4

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}
@@ -7987,36 +8071,6 @@ export interface ServiceReviewItemModel {
7987
8071
  * @memberof ServiceReviewItemModel
7988
8072
  */
7989
8073
  'patientName'?: string | null;
7990
- /**
7991
- *
7992
- * @type {Gender}
7993
- * @memberof ServiceReviewItemModel
7994
- */
7995
- 'patientGender'?: Gender;
7996
- /**
7997
- *
7998
- * @type {string}
7999
- * @memberof ServiceReviewItemModel
8000
- */
8001
- 'patientPhoto'?: string | null;
8002
- /**
8003
- *
8004
- * @type {string}
8005
- * @memberof ServiceReviewItemModel
8006
- */
8007
- 'patientPhotoThumbnail'?: string | null;
8008
- /**
8009
- *
8010
- * @type {Date}
8011
- * @memberof ServiceReviewItemModel
8012
- */
8013
- 'patientCreatedDate'?: Date | null;
8014
- /**
8015
- *
8016
- * @type {string}
8017
- * @memberof ServiceReviewItemModel
8018
- */
8019
- 'body'?: string | null;
8020
8074
  /**
8021
8075
  *
8022
8076
  * @type {boolean}
@@ -8114,36 +8168,6 @@ export interface ServiceReviewModel {
8114
8168
  * @memberof ServiceReviewModel
8115
8169
  */
8116
8170
  'patientName'?: string | null;
8117
- /**
8118
- *
8119
- * @type {Gender}
8120
- * @memberof ServiceReviewModel
8121
- */
8122
- 'patientGender'?: Gender;
8123
- /**
8124
- *
8125
- * @type {string}
8126
- * @memberof ServiceReviewModel
8127
- */
8128
- 'patientPhoto'?: string | null;
8129
- /**
8130
- *
8131
- * @type {string}
8132
- * @memberof ServiceReviewModel
8133
- */
8134
- 'patientPhotoThumbnail'?: string | null;
8135
- /**
8136
- *
8137
- * @type {Date}
8138
- * @memberof ServiceReviewModel
8139
- */
8140
- 'patientCreatedDate'?: Date | null;
8141
- /**
8142
- *
8143
- * @type {string}
8144
- * @memberof ServiceReviewModel
8145
- */
8146
- 'body'?: string | null;
8147
8171
  /**
8148
8172
  *
8149
8173
  * @type {boolean}
@@ -9250,25 +9274,43 @@ export interface UpdateServiceReviewCommand {
9250
9274
  * @type {string}
9251
9275
  * @memberof UpdateServiceReviewCommand
9252
9276
  */
9253
- 'body'?: string | null;
9277
+ 'name'?: string | null;
9254
9278
  /**
9255
9279
  *
9256
- * @type {boolean}
9280
+ * @type {string}
9257
9281
  * @memberof UpdateServiceReviewCommand
9258
9282
  */
9259
- 'recommended'?: boolean | null;
9283
+ 'slug'?: string | null;
9260
9284
  /**
9261
9285
  *
9262
- * @type {number}
9286
+ * @type {string}
9263
9287
  * @memberof UpdateServiceReviewCommand
9264
9288
  */
9265
- 'rate'?: number | null;
9289
+ 'description'?: string | null;
9290
+ /**
9291
+ *
9292
+ * @type {string}
9293
+ * @memberof UpdateServiceReviewCommand
9294
+ */
9295
+ 'content'?: string | null;
9266
9296
  /**
9267
9297
  *
9268
9298
  * @type {string}
9269
9299
  * @memberof UpdateServiceReviewCommand
9270
9300
  */
9271
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;
9272
9314
  /**
9273
9315
  *
9274
9316
  * @type {boolean}
@@ -15277,6 +15319,9 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15277
15319
  * @param {string} [doctorId]
15278
15320
  * @param {string} [doctorName]
15279
15321
  * @param {string} [doctorSlug]
15322
+ * @param {string} [specialtyId]
15323
+ * @param {string} [exceptDoctorId]
15324
+ * @param {boolean} [consultationEnabled]
15280
15325
  * @param {string} [languageCode]
15281
15326
  * @param {number} [page]
15282
15327
  * @param {number} [limit]
@@ -15284,7 +15329,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15284
15329
  * @param {*} [options] Override http request option.
15285
15330
  * @throws {RequiredError}
15286
15331
  */
15287
- 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, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15288
15333
  const localVarPath = `/api/v2/doctoraffiliations`;
15289
15334
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
15290
15335
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -15317,6 +15362,18 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15317
15362
  localVarQueryParameter['DoctorSlug'] = doctorSlug;
15318
15363
  }
15319
15364
 
15365
+ if (specialtyId !== undefined) {
15366
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
15367
+ }
15368
+
15369
+ if (exceptDoctorId !== undefined) {
15370
+ localVarQueryParameter['ExceptDoctorId'] = exceptDoctorId;
15371
+ }
15372
+
15373
+ if (consultationEnabled !== undefined) {
15374
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
15375
+ }
15376
+
15320
15377
  if (languageCode !== undefined) {
15321
15378
  localVarQueryParameter['LanguageCode'] = languageCode;
15322
15379
  }
@@ -15441,6 +15498,9 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15441
15498
  * @param {string} [doctorId]
15442
15499
  * @param {string} [doctorName]
15443
15500
  * @param {string} [doctorSlug]
15501
+ * @param {string} [specialtyId]
15502
+ * @param {string} [exceptDoctorId]
15503
+ * @param {boolean} [consultationEnabled]
15444
15504
  * @param {string} [languageCode]
15445
15505
  * @param {number} [page]
15446
15506
  * @param {number} [limit]
@@ -15448,8 +15508,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15448
15508
  * @param {*} [options] Override http request option.
15449
15509
  * @throws {RequiredError}
15450
15510
  */
15451
- 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>> {
15452
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options);
15511
+ async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: 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, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options);
15453
15513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15454
15514
  },
15455
15515
  /**
@@ -15493,6 +15553,9 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15493
15553
  * @param {string} [doctorId]
15494
15554
  * @param {string} [doctorName]
15495
15555
  * @param {string} [doctorSlug]
15556
+ * @param {string} [specialtyId]
15557
+ * @param {string} [exceptDoctorId]
15558
+ * @param {boolean} [consultationEnabled]
15496
15559
  * @param {string} [languageCode]
15497
15560
  * @param {number} [page]
15498
15561
  * @param {number} [limit]
@@ -15500,8 +15563,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15500
15563
  * @param {*} [options] Override http request option.
15501
15564
  * @throws {RequiredError}
15502
15565
  */
15503
- apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
15504
- return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15566
+ apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
15567
+ return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15505
15568
  },
15506
15569
  /**
15507
15570
  *
@@ -15542,6 +15605,9 @@ export class DoctorAffiliationsApi extends BaseAPI {
15542
15605
  * @param {string} [doctorId]
15543
15606
  * @param {string} [doctorName]
15544
15607
  * @param {string} [doctorSlug]
15608
+ * @param {string} [specialtyId]
15609
+ * @param {string} [exceptDoctorId]
15610
+ * @param {boolean} [consultationEnabled]
15545
15611
  * @param {string} [languageCode]
15546
15612
  * @param {number} [page]
15547
15613
  * @param {number} [limit]
@@ -15550,8 +15616,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
15550
15616
  * @throws {RequiredError}
15551
15617
  * @memberof DoctorAffiliationsApi
15552
15618
  */
15553
- public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15554
- 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, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15620
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15555
15621
  }
15556
15622
 
15557
15623
  /**
@@ -23800,6 +23866,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23800
23866
  /**
23801
23867
  *
23802
23868
  * @summary Get all ServiceReviews.
23869
+ * @param {string} [id]
23803
23870
  * @param {string} [hospitalId]
23804
23871
  * @param {string} [serviceId]
23805
23872
  * @param {string} [serviceName]
@@ -23810,14 +23877,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23810
23877
  * @param {number} [rate]
23811
23878
  * @param {ReviewType} [reviewType]
23812
23879
  * @param {string} [languageCode]
23813
- * @param {boolean} [returnDefaultValue]
23880
+ * @param {boolean} [showHidden]
23814
23881
  * @param {number} [page]
23815
23882
  * @param {number} [limit]
23816
23883
  * @param {Date} [lastRetrieved]
23817
23884
  * @param {*} [options] Override http request option.
23818
23885
  * @throws {RequiredError}
23819
23886
  */
23820
- 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> => {
23821
23888
  const localVarPath = `/api/v2/servicereviews`;
23822
23889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23823
23890
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23830,6 +23897,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23830
23897
  const localVarHeaderParameter = {} as any;
23831
23898
  const localVarQueryParameter = {} as any;
23832
23899
 
23900
+ if (id !== undefined) {
23901
+ localVarQueryParameter['Id'] = id;
23902
+ }
23903
+
23833
23904
  if (hospitalId !== undefined) {
23834
23905
  localVarQueryParameter['HospitalId'] = hospitalId;
23835
23906
  }
@@ -23870,8 +23941,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23870
23941
  localVarQueryParameter['LanguageCode'] = languageCode;
23871
23942
  }
23872
23943
 
23873
- if (returnDefaultValue !== undefined) {
23874
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
23944
+ if (showHidden !== undefined) {
23945
+ localVarQueryParameter['ShowHidden'] = showHidden;
23875
23946
  }
23876
23947
 
23877
23948
  if (page !== undefined) {
@@ -23978,10 +24049,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23978
24049
  /**
23979
24050
  *
23980
24051
  * @param {string} serviceReviewId
24052
+ * @param {string} [languageCode]
23981
24053
  * @param {*} [options] Override http request option.
23982
24054
  * @throws {RequiredError}
23983
24055
  */
23984
- apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24056
+ apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23985
24057
  // verify required parameter 'serviceReviewId' is not null or undefined
23986
24058
  assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
23987
24059
  const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
@@ -23997,6 +24069,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
23997
24069
  const localVarHeaderParameter = {} as any;
23998
24070
  const localVarQueryParameter = {} as any;
23999
24071
 
24072
+ if (languageCode !== undefined) {
24073
+ localVarQueryParameter['languageCode'] = languageCode;
24074
+ }
24075
+
24000
24076
 
24001
24077
 
24002
24078
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -24292,6 +24368,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24292
24368
  /**
24293
24369
  *
24294
24370
  * @summary Get all ServiceReviews.
24371
+ * @param {string} [id]
24295
24372
  * @param {string} [hospitalId]
24296
24373
  * @param {string} [serviceId]
24297
24374
  * @param {string} [serviceName]
@@ -24302,15 +24379,15 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24302
24379
  * @param {number} [rate]
24303
24380
  * @param {ReviewType} [reviewType]
24304
24381
  * @param {string} [languageCode]
24305
- * @param {boolean} [returnDefaultValue]
24382
+ * @param {boolean} [showHidden]
24306
24383
  * @param {number} [page]
24307
24384
  * @param {number} [limit]
24308
24385
  * @param {Date} [lastRetrieved]
24309
24386
  * @param {*} [options] Override http request option.
24310
24387
  * @throws {RequiredError}
24311
24388
  */
24312
- 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>> {
24313
- 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);
24314
24391
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24315
24392
  },
24316
24393
  /**
@@ -24338,11 +24415,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
24338
24415
  /**
24339
24416
  *
24340
24417
  * @param {string} serviceReviewId
24418
+ * @param {string} [languageCode]
24341
24419
  * @param {*} [options] Override http request option.
24342
24420
  * @throws {RequiredError}
24343
24421
  */
24344
- async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
24345
- 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);
24346
24424
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24347
24425
  },
24348
24426
  /**
@@ -24435,6 +24513,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24435
24513
  /**
24436
24514
  *
24437
24515
  * @summary Get all ServiceReviews.
24516
+ * @param {string} [id]
24438
24517
  * @param {string} [hospitalId]
24439
24518
  * @param {string} [serviceId]
24440
24519
  * @param {string} [serviceName]
@@ -24445,15 +24524,15 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24445
24524
  * @param {number} [rate]
24446
24525
  * @param {ReviewType} [reviewType]
24447
24526
  * @param {string} [languageCode]
24448
- * @param {boolean} [returnDefaultValue]
24527
+ * @param {boolean} [showHidden]
24449
24528
  * @param {number} [page]
24450
24529
  * @param {number} [limit]
24451
24530
  * @param {Date} [lastRetrieved]
24452
24531
  * @param {*} [options] Override http request option.
24453
24532
  * @throws {RequiredError}
24454
24533
  */
24455
- 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> {
24456
- 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));
24457
24536
  },
24458
24537
  /**
24459
24538
  *
@@ -24478,11 +24557,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
24478
24557
  /**
24479
24558
  *
24480
24559
  * @param {string} serviceReviewId
24560
+ * @param {string} [languageCode]
24481
24561
  * @param {*} [options] Override http request option.
24482
24562
  * @throws {RequiredError}
24483
24563
  */
24484
- apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
24485
- 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));
24486
24566
  },
24487
24567
  /**
24488
24568
  *
@@ -24568,6 +24648,7 @@ export class ServiceReviewsApi extends BaseAPI {
24568
24648
  /**
24569
24649
  *
24570
24650
  * @summary Get all ServiceReviews.
24651
+ * @param {string} [id]
24571
24652
  * @param {string} [hospitalId]
24572
24653
  * @param {string} [serviceId]
24573
24654
  * @param {string} [serviceName]
@@ -24578,7 +24659,7 @@ export class ServiceReviewsApi extends BaseAPI {
24578
24659
  * @param {number} [rate]
24579
24660
  * @param {ReviewType} [reviewType]
24580
24661
  * @param {string} [languageCode]
24581
- * @param {boolean} [returnDefaultValue]
24662
+ * @param {boolean} [showHidden]
24582
24663
  * @param {number} [page]
24583
24664
  * @param {number} [limit]
24584
24665
  * @param {Date} [lastRetrieved]
@@ -24586,8 +24667,8 @@ export class ServiceReviewsApi extends BaseAPI {
24586
24667
  * @throws {RequiredError}
24587
24668
  * @memberof ServiceReviewsApi
24588
24669
  */
24589
- 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) {
24590
- 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));
24591
24672
  }
24592
24673
 
24593
24674
  /**
@@ -24617,12 +24698,13 @@ export class ServiceReviewsApi extends BaseAPI {
24617
24698
  /**
24618
24699
  *
24619
24700
  * @param {string} serviceReviewId
24701
+ * @param {string} [languageCode]
24620
24702
  * @param {*} [options] Override http request option.
24621
24703
  * @throws {RequiredError}
24622
24704
  * @memberof ServiceReviewsApi
24623
24705
  */
24624
- public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
24625
- 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));
24626
24708
  }
24627
24709
 
24628
24710
  /**