ch-api-client-typescript2 2.7.6 → 2.8.0

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
@@ -2992,6 +2992,30 @@ export interface DealItemModel {
2992
2992
  * @memberof DealItemModel
2993
2993
  */
2994
2994
  'hospitalSlug'?: string | null;
2995
+ /**
2996
+ *
2997
+ * @type {string}
2998
+ * @memberof DealItemModel
2999
+ */
3000
+ 'hospitalLocationCountry'?: string | null;
3001
+ /**
3002
+ *
3003
+ * @type {string}
3004
+ * @memberof DealItemModel
3005
+ */
3006
+ 'hospitalLocationState'?: string | null;
3007
+ /**
3008
+ *
3009
+ * @type {boolean}
3010
+ * @memberof DealItemModel
3011
+ */
3012
+ 'hospitalConsultationEnabled'?: boolean;
3013
+ /**
3014
+ *
3015
+ * @type {number}
3016
+ * @memberof DealItemModel
3017
+ */
3018
+ 'serviceDuration'?: number;
2995
3019
  /**
2996
3020
  *
2997
3021
  * @type {MarketingType}
@@ -3095,6 +3119,30 @@ export interface DealModel {
3095
3119
  * @memberof DealModel
3096
3120
  */
3097
3121
  'hospitalSlug'?: string | null;
3122
+ /**
3123
+ *
3124
+ * @type {string}
3125
+ * @memberof DealModel
3126
+ */
3127
+ 'hospitalLocationCountry'?: string | null;
3128
+ /**
3129
+ *
3130
+ * @type {string}
3131
+ * @memberof DealModel
3132
+ */
3133
+ 'hospitalLocationState'?: string | null;
3134
+ /**
3135
+ *
3136
+ * @type {boolean}
3137
+ * @memberof DealModel
3138
+ */
3139
+ 'hospitalConsultationEnabled'?: boolean;
3140
+ /**
3141
+ *
3142
+ * @type {number}
3143
+ * @memberof DealModel
3144
+ */
3145
+ 'serviceDuration'?: number;
3098
3146
  /**
3099
3147
  *
3100
3148
  * @type {MarketingType}
@@ -3892,6 +3940,24 @@ export interface DoctorItemModel {
3892
3940
  * @memberof DoctorItemModel
3893
3941
  */
3894
3942
  'consultationFee'?: number | null;
3943
+ /**
3944
+ *
3945
+ * @type {number}
3946
+ * @memberof DoctorItemModel
3947
+ */
3948
+ 'doctorReviewsCount'?: number;
3949
+ /**
3950
+ *
3951
+ * @type {number}
3952
+ * @memberof DoctorItemModel
3953
+ */
3954
+ 'doctorEducationsCount'?: number;
3955
+ /**
3956
+ *
3957
+ * @type {number}
3958
+ * @memberof DoctorItemModel
3959
+ */
3960
+ 'doctorPortfoliosCount'?: number;
3895
3961
  /**
3896
3962
  *
3897
3963
  * @type {number}
@@ -3900,16 +3966,46 @@ export interface DoctorItemModel {
3900
3966
  'doctorSpecialtiesCount'?: number;
3901
3967
  /**
3902
3968
  *
3903
- * @type {Array<DoctorSpecialtyItemModel>}
3969
+ * @type {number}
3904
3970
  * @memberof DoctorItemModel
3905
3971
  */
3906
- 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
3972
+ 'doctorCertificatesCount'?: number;
3907
3973
  /**
3908
3974
  *
3909
3975
  * @type {number}
3910
3976
  * @memberof DoctorItemModel
3911
3977
  */
3912
3978
  'doctorAffiliationsCount'?: number;
3979
+ /**
3980
+ *
3981
+ * @type {Array<DoctorReviewItemModel>}
3982
+ * @memberof DoctorItemModel
3983
+ */
3984
+ 'doctorReviews'?: Array<DoctorReviewItemModel> | null;
3985
+ /**
3986
+ *
3987
+ * @type {Array<DoctorEducationItemModel>}
3988
+ * @memberof DoctorItemModel
3989
+ */
3990
+ 'doctorEducations'?: Array<DoctorEducationItemModel> | null;
3991
+ /**
3992
+ *
3993
+ * @type {Array<DoctorPortfolioItemModel>}
3994
+ * @memberof DoctorItemModel
3995
+ */
3996
+ 'doctorPortfolios'?: Array<DoctorPortfolioItemModel> | null;
3997
+ /**
3998
+ *
3999
+ * @type {Array<DoctorSpecialtyItemModel>}
4000
+ * @memberof DoctorItemModel
4001
+ */
4002
+ 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4003
+ /**
4004
+ *
4005
+ * @type {Array<DoctorCertificateItemModel>}
4006
+ * @memberof DoctorItemModel
4007
+ */
4008
+ 'doctorCertificates'?: Array<DoctorCertificateItemModel> | null;
3913
4009
  /**
3914
4010
  *
3915
4011
  * @type {Array<HospitalAffiliationModel>}
@@ -3928,6 +4024,73 @@ export interface DoctorItemModel {
3928
4024
  * @memberof DoctorItemModel
3929
4025
  */
3930
4026
  'confirmed'?: boolean;
4027
+ /**
4028
+ *
4029
+ * @type {Array<MediaModel>}
4030
+ * @memberof DoctorItemModel
4031
+ */
4032
+ 'medias'?: Array<MediaModel> | null;
4033
+ }
4034
+ /**
4035
+ *
4036
+ * @export
4037
+ * @interface DoctorItemSimpleModel
4038
+ */
4039
+ export interface DoctorItemSimpleModel {
4040
+ /**
4041
+ *
4042
+ * @type {string}
4043
+ * @memberof DoctorItemSimpleModel
4044
+ */
4045
+ 'id'?: string;
4046
+ /**
4047
+ *
4048
+ * @type {string}
4049
+ * @memberof DoctorItemSimpleModel
4050
+ */
4051
+ 'firstName'?: string | null;
4052
+ /**
4053
+ *
4054
+ * @type {string}
4055
+ * @memberof DoctorItemSimpleModel
4056
+ */
4057
+ 'lastName'?: string | null;
4058
+ /**
4059
+ *
4060
+ * @type {string}
4061
+ * @memberof DoctorItemSimpleModel
4062
+ */
4063
+ 'fullname'?: string | null;
4064
+ /**
4065
+ *
4066
+ * @type {string}
4067
+ * @memberof DoctorItemSimpleModel
4068
+ */
4069
+ 'slug'?: string | null;
4070
+ /**
4071
+ *
4072
+ * @type {string}
4073
+ * @memberof DoctorItemSimpleModel
4074
+ */
4075
+ 'hospitalId'?: string | null;
4076
+ /**
4077
+ *
4078
+ * @type {string}
4079
+ * @memberof DoctorItemSimpleModel
4080
+ */
4081
+ 'hospitalName'?: string | null;
4082
+ /**
4083
+ *
4084
+ * @type {string}
4085
+ * @memberof DoctorItemSimpleModel
4086
+ */
4087
+ 'overview'?: string | null;
4088
+ /**
4089
+ *
4090
+ * @type {boolean}
4091
+ * @memberof DoctorItemSimpleModel
4092
+ */
4093
+ 'confirmed'?: boolean;
3931
4094
  }
3932
4095
  /**
3933
4096
  *
@@ -4079,6 +4242,24 @@ export interface DoctorModel {
4079
4242
  * @memberof DoctorModel
4080
4243
  */
4081
4244
  'consultationFee'?: number | null;
4245
+ /**
4246
+ *
4247
+ * @type {number}
4248
+ * @memberof DoctorModel
4249
+ */
4250
+ 'doctorReviewsCount'?: number;
4251
+ /**
4252
+ *
4253
+ * @type {number}
4254
+ * @memberof DoctorModel
4255
+ */
4256
+ 'doctorEducationsCount'?: number;
4257
+ /**
4258
+ *
4259
+ * @type {number}
4260
+ * @memberof DoctorModel
4261
+ */
4262
+ 'doctorPortfoliosCount'?: number;
4082
4263
  /**
4083
4264
  *
4084
4265
  * @type {number}
@@ -4087,16 +4268,46 @@ export interface DoctorModel {
4087
4268
  'doctorSpecialtiesCount'?: number;
4088
4269
  /**
4089
4270
  *
4090
- * @type {Array<DoctorSpecialtyItemModel>}
4271
+ * @type {number}
4091
4272
  * @memberof DoctorModel
4092
4273
  */
4093
- 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4274
+ 'doctorCertificatesCount'?: number;
4094
4275
  /**
4095
4276
  *
4096
4277
  * @type {number}
4097
4278
  * @memberof DoctorModel
4098
4279
  */
4099
4280
  'doctorAffiliationsCount'?: number;
4281
+ /**
4282
+ *
4283
+ * @type {Array<DoctorReviewItemModel>}
4284
+ * @memberof DoctorModel
4285
+ */
4286
+ 'doctorReviews'?: Array<DoctorReviewItemModel> | null;
4287
+ /**
4288
+ *
4289
+ * @type {Array<DoctorEducationItemModel>}
4290
+ * @memberof DoctorModel
4291
+ */
4292
+ 'doctorEducations'?: Array<DoctorEducationItemModel> | null;
4293
+ /**
4294
+ *
4295
+ * @type {Array<DoctorPortfolioItemModel>}
4296
+ * @memberof DoctorModel
4297
+ */
4298
+ 'doctorPortfolios'?: Array<DoctorPortfolioItemModel> | null;
4299
+ /**
4300
+ *
4301
+ * @type {Array<DoctorSpecialtyItemModel>}
4302
+ * @memberof DoctorModel
4303
+ */
4304
+ 'doctorSpecialties'?: Array<DoctorSpecialtyItemModel> | null;
4305
+ /**
4306
+ *
4307
+ * @type {Array<DoctorCertificateItemModel>}
4308
+ * @memberof DoctorModel
4309
+ */
4310
+ 'doctorCertificates'?: Array<DoctorCertificateItemModel> | null;
4100
4311
  /**
4101
4312
  *
4102
4313
  * @type {Array<HospitalAffiliationModel>}
@@ -4115,6 +4326,12 @@ export interface DoctorModel {
4115
4326
  * @memberof DoctorModel
4116
4327
  */
4117
4328
  'confirmed'?: boolean;
4329
+ /**
4330
+ *
4331
+ * @type {Array<MediaModel>}
4332
+ * @memberof DoctorModel
4333
+ */
4334
+ 'medias'?: Array<MediaModel> | null;
4118
4335
  /**
4119
4336
  *
4120
4337
  * @type {string}
@@ -4239,6 +4456,61 @@ export interface DoctorPortfoliosModel {
4239
4456
  */
4240
4457
  'metaData'?: PagedListMetaData;
4241
4458
  }
4459
+ /**
4460
+ *
4461
+ * @export
4462
+ * @interface DoctorReviewItemModel
4463
+ */
4464
+ export interface DoctorReviewItemModel {
4465
+ /**
4466
+ *
4467
+ * @type {string}
4468
+ * @memberof DoctorReviewItemModel
4469
+ */
4470
+ 'patientId'?: string;
4471
+ /**
4472
+ *
4473
+ * @type {string}
4474
+ * @memberof DoctorReviewItemModel
4475
+ */
4476
+ 'patientName'?: string | null;
4477
+ /**
4478
+ *
4479
+ * @type {string}
4480
+ * @memberof DoctorReviewItemModel
4481
+ */
4482
+ 'doctorId'?: string;
4483
+ /**
4484
+ *
4485
+ * @type {string}
4486
+ * @memberof DoctorReviewItemModel
4487
+ */
4488
+ 'doctorName'?: string | null;
4489
+ /**
4490
+ *
4491
+ * @type {string}
4492
+ * @memberof DoctorReviewItemModel
4493
+ */
4494
+ 'body'?: string | null;
4495
+ /**
4496
+ *
4497
+ * @type {boolean}
4498
+ * @memberof DoctorReviewItemModel
4499
+ */
4500
+ 'recommended'?: boolean;
4501
+ /**
4502
+ *
4503
+ * @type {ReviewCategory}
4504
+ * @memberof DoctorReviewItemModel
4505
+ */
4506
+ 'reviewCategory'?: ReviewCategory;
4507
+ /**
4508
+ *
4509
+ * @type {number}
4510
+ * @memberof DoctorReviewItemModel
4511
+ */
4512
+ 'rate'?: number;
4513
+ }
4242
4514
  /**
4243
4515
  *
4244
4516
  * @export
@@ -4375,6 +4647,25 @@ export interface DoctorsModel {
4375
4647
  */
4376
4648
  'metaData'?: PagedListMetaData;
4377
4649
  }
4650
+ /**
4651
+ *
4652
+ * @export
4653
+ * @interface DoctorsSimpleModel
4654
+ */
4655
+ export interface DoctorsSimpleModel {
4656
+ /**
4657
+ *
4658
+ * @type {Array<DoctorItemSimpleModel>}
4659
+ * @memberof DoctorsSimpleModel
4660
+ */
4661
+ 'items'?: Array<DoctorItemSimpleModel> | null;
4662
+ /**
4663
+ *
4664
+ * @type {PagedListMetaData}
4665
+ * @memberof DoctorsSimpleModel
4666
+ */
4667
+ 'metaData'?: PagedListMetaData;
4668
+ }
4378
4669
  /**
4379
4670
  *
4380
4671
  * @export
@@ -5871,6 +6162,12 @@ export interface HospitalSpecialtiesModel {
5871
6162
  * @interface HospitalSpecialtyItemModel
5872
6163
  */
5873
6164
  export interface HospitalSpecialtyItemModel {
6165
+ /**
6166
+ *
6167
+ * @type {string}
6168
+ * @memberof HospitalSpecialtyItemModel
6169
+ */
6170
+ 'id'?: string;
5874
6171
  /**
5875
6172
  *
5876
6173
  * @type {string}
@@ -5915,16 +6212,16 @@ export interface HospitalSpecialtyItemModel {
5915
6212
  'specialtyTypeName'?: string | null;
5916
6213
  /**
5917
6214
  *
5918
- * @type {MarketingType}
6215
+ * @type {string}
5919
6216
  * @memberof HospitalSpecialtyItemModel
5920
6217
  */
5921
- 'marketingType'?: MarketingType;
6218
+ 'hospitalSpecialtySlug'?: string | null;
5922
6219
  /**
5923
6220
  *
5924
- * @type {number}
6221
+ * @type {MarketingType}
5925
6222
  * @memberof HospitalSpecialtyItemModel
5926
6223
  */
5927
- 'order'?: number;
6224
+ 'marketingType'?: MarketingType;
5928
6225
  /**
5929
6226
  *
5930
6227
  * @type {string}
@@ -5942,19 +6239,37 @@ export interface HospitalSpecialtyItemModel {
5942
6239
  * @type {string}
5943
6240
  * @memberof HospitalSpecialtyItemModel
5944
6241
  */
5945
- 'body'?: string | null;
6242
+ 'content'?: string | null;
5946
6243
  /**
5947
6244
  *
5948
- * @type {string}
6245
+ * @type {number}
5949
6246
  * @memberof HospitalSpecialtyItemModel
5950
6247
  */
5951
- 'photo'?: string | null;
6248
+ 'serviceCount'?: number;
5952
6249
  /**
5953
6250
  *
5954
- * @type {string}
6251
+ * @type {number}
5955
6252
  * @memberof HospitalSpecialtyItemModel
5956
6253
  */
5957
- 'photoThumbnail'?: string | null;
6254
+ 'order'?: number;
6255
+ /**
6256
+ *
6257
+ * @type {boolean}
6258
+ * @memberof HospitalSpecialtyItemModel
6259
+ */
6260
+ 'confirmed'?: boolean;
6261
+ /**
6262
+ *
6263
+ * @type {Array<MediaModel>}
6264
+ * @memberof HospitalSpecialtyItemModel
6265
+ */
6266
+ 'medias'?: Array<MediaModel> | null;
6267
+ /**
6268
+ *
6269
+ * @type {AuditableEntity}
6270
+ * @memberof HospitalSpecialtyItemModel
6271
+ */
6272
+ 'auditableEntity'?: AuditableEntity;
5958
6273
  }
5959
6274
  /**
5960
6275
  *
@@ -5962,6 +6277,12 @@ export interface HospitalSpecialtyItemModel {
5962
6277
  * @interface HospitalSpecialtyModel
5963
6278
  */
5964
6279
  export interface HospitalSpecialtyModel {
6280
+ /**
6281
+ *
6282
+ * @type {string}
6283
+ * @memberof HospitalSpecialtyModel
6284
+ */
6285
+ 'id'?: string;
5965
6286
  /**
5966
6287
  *
5967
6288
  * @type {string}
@@ -6006,16 +6327,16 @@ export interface HospitalSpecialtyModel {
6006
6327
  'specialtyTypeName'?: string | null;
6007
6328
  /**
6008
6329
  *
6009
- * @type {MarketingType}
6330
+ * @type {string}
6010
6331
  * @memberof HospitalSpecialtyModel
6011
6332
  */
6012
- 'marketingType'?: MarketingType;
6333
+ 'hospitalSpecialtySlug'?: string | null;
6013
6334
  /**
6014
6335
  *
6015
- * @type {number}
6336
+ * @type {MarketingType}
6016
6337
  * @memberof HospitalSpecialtyModel
6017
6338
  */
6018
- 'order'?: number;
6339
+ 'marketingType'?: MarketingType;
6019
6340
  /**
6020
6341
  *
6021
6342
  * @type {string}
@@ -6033,19 +6354,43 @@ export interface HospitalSpecialtyModel {
6033
6354
  * @type {string}
6034
6355
  * @memberof HospitalSpecialtyModel
6035
6356
  */
6036
- 'body'?: string | null;
6357
+ 'content'?: string | null;
6037
6358
  /**
6038
6359
  *
6039
- * @type {string}
6360
+ * @type {number}
6040
6361
  * @memberof HospitalSpecialtyModel
6041
6362
  */
6042
- 'photo'?: string | null;
6363
+ 'serviceCount'?: number;
6364
+ /**
6365
+ *
6366
+ * @type {number}
6367
+ * @memberof HospitalSpecialtyModel
6368
+ */
6369
+ 'order'?: number;
6370
+ /**
6371
+ *
6372
+ * @type {boolean}
6373
+ * @memberof HospitalSpecialtyModel
6374
+ */
6375
+ 'confirmed'?: boolean;
6376
+ /**
6377
+ *
6378
+ * @type {Array<MediaModel>}
6379
+ * @memberof HospitalSpecialtyModel
6380
+ */
6381
+ 'medias'?: Array<MediaModel> | null;
6382
+ /**
6383
+ *
6384
+ * @type {AuditableEntity}
6385
+ * @memberof HospitalSpecialtyModel
6386
+ */
6387
+ 'auditableEntity'?: AuditableEntity;
6043
6388
  /**
6044
6389
  *
6045
6390
  * @type {string}
6046
6391
  * @memberof HospitalSpecialtyModel
6047
6392
  */
6048
- 'photoThumbnail'?: string | null;
6393
+ 'languageCode'?: string | null;
6049
6394
  }
6050
6395
  /**
6051
6396
  *
@@ -7207,6 +7552,19 @@ export enum RejectReason {
7207
7552
  OtherReason = 'OtherReason'
7208
7553
  }
7209
7554
 
7555
+ /**
7556
+ *
7557
+ * @export
7558
+ * @enum {string}
7559
+ */
7560
+
7561
+ export enum ReviewCategory {
7562
+ Services = 'Services',
7563
+ Hospitality = 'Hospitality',
7564
+ Transfer = 'Transfer',
7565
+ Etc = 'Etc'
7566
+ }
7567
+
7210
7568
  /**
7211
7569
  *
7212
7570
  * @export
@@ -7356,10 +7714,34 @@ export interface ServiceReviewItemModel {
7356
7714
  'patientId'?: string | null;
7357
7715
  /**
7358
7716
  *
7359
- * @type {string}
7717
+ * @type {string}
7718
+ * @memberof ServiceReviewItemModel
7719
+ */
7720
+ 'patientName'?: string | null;
7721
+ /**
7722
+ *
7723
+ * @type {Gender}
7724
+ * @memberof ServiceReviewItemModel
7725
+ */
7726
+ 'patientGender'?: Gender;
7727
+ /**
7728
+ *
7729
+ * @type {string}
7730
+ * @memberof ServiceReviewItemModel
7731
+ */
7732
+ 'patientPhoto'?: string | null;
7733
+ /**
7734
+ *
7735
+ * @type {string}
7736
+ * @memberof ServiceReviewItemModel
7737
+ */
7738
+ 'patientPhotoThumbnail'?: string | null;
7739
+ /**
7740
+ *
7741
+ * @type {Date}
7360
7742
  * @memberof ServiceReviewItemModel
7361
7743
  */
7362
- 'patientName'?: string | null;
7744
+ 'patientCreatedDate'?: Date | null;
7363
7745
  /**
7364
7746
  *
7365
7747
  * @type {string}
@@ -7427,6 +7809,30 @@ export interface ServiceReviewModel {
7427
7809
  * @memberof ServiceReviewModel
7428
7810
  */
7429
7811
  'patientName'?: string | null;
7812
+ /**
7813
+ *
7814
+ * @type {Gender}
7815
+ * @memberof ServiceReviewModel
7816
+ */
7817
+ 'patientGender'?: Gender;
7818
+ /**
7819
+ *
7820
+ * @type {string}
7821
+ * @memberof ServiceReviewModel
7822
+ */
7823
+ 'patientPhoto'?: string | null;
7824
+ /**
7825
+ *
7826
+ * @type {string}
7827
+ * @memberof ServiceReviewModel
7828
+ */
7829
+ 'patientPhotoThumbnail'?: string | null;
7830
+ /**
7831
+ *
7832
+ * @type {Date}
7833
+ * @memberof ServiceReviewModel
7834
+ */
7835
+ 'patientCreatedDate'?: Date | null;
7430
7836
  /**
7431
7837
  *
7432
7838
  * @type {string}
@@ -13677,6 +14083,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
13677
14083
  * @param {string} [hospitalName]
13678
14084
  * @param {string} [specialtyId]
13679
14085
  * @param {string} [specialtyTypeId]
14086
+ * @param {string} [serviceId]
13680
14087
  * @param {string} [exceptHospitalId]
13681
14088
  * @param {string} [exceptDealId]
13682
14089
  * @param {Array<string>} [ids]
@@ -13689,7 +14096,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
13689
14096
  * @param {*} [options] Override http request option.
13690
14097
  * @throws {RequiredError}
13691
14098
  */
13692
- apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14099
+ apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13693
14100
  const localVarPath = `/api/v2/deals`;
13694
14101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13695
14102
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13734,6 +14141,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
13734
14141
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
13735
14142
  }
13736
14143
 
14144
+ if (serviceId !== undefined) {
14145
+ localVarQueryParameter['ServiceId'] = serviceId;
14146
+ }
14147
+
13737
14148
  if (exceptHospitalId !== undefined) {
13738
14149
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
13739
14150
  }
@@ -13919,6 +14330,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
13919
14330
  * @param {string} [hospitalName]
13920
14331
  * @param {string} [specialtyId]
13921
14332
  * @param {string} [specialtyTypeId]
14333
+ * @param {string} [serviceId]
13922
14334
  * @param {string} [exceptHospitalId]
13923
14335
  * @param {string} [exceptDealId]
13924
14336
  * @param {Array<string>} [ids]
@@ -13931,8 +14343,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
13931
14343
  * @param {*} [options] Override http request option.
13932
14344
  * @throws {RequiredError}
13933
14345
  */
13934
- async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
13935
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
14346
+ async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
14347
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
13936
14348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13937
14349
  },
13938
14350
  /**
@@ -14035,6 +14447,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
14035
14447
  * @param {string} [hospitalName]
14036
14448
  * @param {string} [specialtyId]
14037
14449
  * @param {string} [specialtyTypeId]
14450
+ * @param {string} [serviceId]
14038
14451
  * @param {string} [exceptHospitalId]
14039
14452
  * @param {string} [exceptDealId]
14040
14453
  * @param {Array<string>} [ids]
@@ -14047,8 +14460,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
14047
14460
  * @param {*} [options] Override http request option.
14048
14461
  * @throws {RequiredError}
14049
14462
  */
14050
- apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
14051
- return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
14463
+ apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
14464
+ return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
14052
14465
  },
14053
14466
  /**
14054
14467
  *
@@ -14159,6 +14572,7 @@ export class DealsApi extends BaseAPI {
14159
14572
  * @param {string} [hospitalName]
14160
14573
  * @param {string} [specialtyId]
14161
14574
  * @param {string} [specialtyTypeId]
14575
+ * @param {string} [serviceId]
14162
14576
  * @param {string} [exceptHospitalId]
14163
14577
  * @param {string} [exceptDealId]
14164
14578
  * @param {Array<string>} [ids]
@@ -14172,8 +14586,8 @@ export class DealsApi extends BaseAPI {
14172
14586
  * @throws {RequiredError}
14173
14587
  * @memberof DealsApi
14174
14588
  */
14175
- public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
14176
- return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14589
+ public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
14590
+ return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14177
14591
  }
14178
14592
 
14179
14593
  /**
@@ -14973,6 +15387,112 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
14973
15387
 
14974
15388
 
14975
15389
 
15390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15392
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15393
+
15394
+ return {
15395
+ url: toPathString(localVarUrlObj),
15396
+ options: localVarRequestOptions,
15397
+ };
15398
+ },
15399
+ /**
15400
+ *
15401
+ * @summary Get all Doctors.
15402
+ * @param {string} [hospitalId]
15403
+ * @param {string} [languageCode]
15404
+ * @param {boolean} [returnDefaultValue]
15405
+ * @param {Array<string>} [ids]
15406
+ * @param {string} [id]
15407
+ * @param {string} [fullname]
15408
+ * @param {string} [email]
15409
+ * @param {Gender} [gender]
15410
+ * @param {Date} [dateOfBirth]
15411
+ * @param {Date} [created]
15412
+ * @param {boolean} [showHidden]
15413
+ * @param {number} [page]
15414
+ * @param {number} [limit]
15415
+ * @param {Date} [lastRetrieved]
15416
+ * @param {*} [options] Override http request option.
15417
+ * @throws {RequiredError}
15418
+ */
15419
+ apiV2DoctorsSimpleGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15420
+ const localVarPath = `/api/v2/doctors/simple`;
15421
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15422
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15423
+ let baseOptions;
15424
+ if (configuration) {
15425
+ baseOptions = configuration.baseOptions;
15426
+ }
15427
+
15428
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15429
+ const localVarHeaderParameter = {} as any;
15430
+ const localVarQueryParameter = {} as any;
15431
+
15432
+ if (hospitalId !== undefined) {
15433
+ localVarQueryParameter['HospitalId'] = hospitalId;
15434
+ }
15435
+
15436
+ if (languageCode !== undefined) {
15437
+ localVarQueryParameter['LanguageCode'] = languageCode;
15438
+ }
15439
+
15440
+ if (returnDefaultValue !== undefined) {
15441
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
15442
+ }
15443
+
15444
+ if (ids) {
15445
+ localVarQueryParameter['Ids'] = ids;
15446
+ }
15447
+
15448
+ if (id !== undefined) {
15449
+ localVarQueryParameter['Id'] = id;
15450
+ }
15451
+
15452
+ if (fullname !== undefined) {
15453
+ localVarQueryParameter['Fullname'] = fullname;
15454
+ }
15455
+
15456
+ if (email !== undefined) {
15457
+ localVarQueryParameter['Email'] = email;
15458
+ }
15459
+
15460
+ if (gender !== undefined) {
15461
+ localVarQueryParameter['Gender'] = gender;
15462
+ }
15463
+
15464
+ if (dateOfBirth !== undefined) {
15465
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
15466
+ (dateOfBirth as any).toISOString() :
15467
+ dateOfBirth;
15468
+ }
15469
+
15470
+ if (created !== undefined) {
15471
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
15472
+ (created as any).toISOString() :
15473
+ created;
15474
+ }
15475
+
15476
+ if (showHidden !== undefined) {
15477
+ localVarQueryParameter['ShowHidden'] = showHidden;
15478
+ }
15479
+
15480
+ if (page !== undefined) {
15481
+ localVarQueryParameter['page'] = page;
15482
+ }
15483
+
15484
+ if (limit !== undefined) {
15485
+ localVarQueryParameter['limit'] = limit;
15486
+ }
15487
+
15488
+ if (lastRetrieved !== undefined) {
15489
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
15490
+ (lastRetrieved as any).toISOString() :
15491
+ lastRetrieved;
15492
+ }
15493
+
15494
+
15495
+
14976
15496
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14977
15497
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14978
15498
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15246,6 +15766,30 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
15246
15766
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
15247
15767
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15248
15768
  },
15769
+ /**
15770
+ *
15771
+ * @summary Get all Doctors.
15772
+ * @param {string} [hospitalId]
15773
+ * @param {string} [languageCode]
15774
+ * @param {boolean} [returnDefaultValue]
15775
+ * @param {Array<string>} [ids]
15776
+ * @param {string} [id]
15777
+ * @param {string} [fullname]
15778
+ * @param {string} [email]
15779
+ * @param {Gender} [gender]
15780
+ * @param {Date} [dateOfBirth]
15781
+ * @param {Date} [created]
15782
+ * @param {boolean} [showHidden]
15783
+ * @param {number} [page]
15784
+ * @param {number} [limit]
15785
+ * @param {Date} [lastRetrieved]
15786
+ * @param {*} [options] Override http request option.
15787
+ * @throws {RequiredError}
15788
+ */
15789
+ async apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
15790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
15791
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15792
+ },
15249
15793
  /**
15250
15794
  *
15251
15795
  * @param {string} slug
@@ -15465,6 +16009,29 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
15465
16009
  apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
15466
16010
  return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15467
16011
  },
16012
+ /**
16013
+ *
16014
+ * @summary Get all Doctors.
16015
+ * @param {string} [hospitalId]
16016
+ * @param {string} [languageCode]
16017
+ * @param {boolean} [returnDefaultValue]
16018
+ * @param {Array<string>} [ids]
16019
+ * @param {string} [id]
16020
+ * @param {string} [fullname]
16021
+ * @param {string} [email]
16022
+ * @param {Gender} [gender]
16023
+ * @param {Date} [dateOfBirth]
16024
+ * @param {Date} [created]
16025
+ * @param {boolean} [showHidden]
16026
+ * @param {number} [page]
16027
+ * @param {number} [limit]
16028
+ * @param {Date} [lastRetrieved]
16029
+ * @param {*} [options] Override http request option.
16030
+ * @throws {RequiredError}
16031
+ */
16032
+ apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
16033
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16034
+ },
15468
16035
  /**
15469
16036
  *
15470
16037
  * @param {string} slug
@@ -15711,6 +16278,31 @@ export class DoctorsApi extends BaseAPI {
15711
16278
  return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15712
16279
  }
15713
16280
 
16281
+ /**
16282
+ *
16283
+ * @summary Get all Doctors.
16284
+ * @param {string} [hospitalId]
16285
+ * @param {string} [languageCode]
16286
+ * @param {boolean} [returnDefaultValue]
16287
+ * @param {Array<string>} [ids]
16288
+ * @param {string} [id]
16289
+ * @param {string} [fullname]
16290
+ * @param {string} [email]
16291
+ * @param {Gender} [gender]
16292
+ * @param {Date} [dateOfBirth]
16293
+ * @param {Date} [created]
16294
+ * @param {boolean} [showHidden]
16295
+ * @param {number} [page]
16296
+ * @param {number} [limit]
16297
+ * @param {Date} [lastRetrieved]
16298
+ * @param {*} [options] Override http request option.
16299
+ * @throws {RequiredError}
16300
+ * @memberof DoctorsApi
16301
+ */
16302
+ public apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
16303
+ return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16304
+ }
16305
+
15714
16306
  /**
15715
16307
  *
15716
16308
  * @param {string} slug
@@ -17345,14 +17937,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17345
17937
  * @param {string} [specialtyTypeId]
17346
17938
  * @param {string} [title]
17347
17939
  * @param {MarketingType} [marketingType]
17348
- * @param {Date} [created]
17940
+ * @param {string} [languageCode]
17941
+ * @param {boolean} [showHidden]
17942
+ * @param {boolean} [returnDefaultValue]
17349
17943
  * @param {number} [page]
17350
17944
  * @param {number} [limit]
17351
17945
  * @param {Date} [lastRetrieved]
17352
17946
  * @param {*} [options] Override http request option.
17353
17947
  * @throws {RequiredError}
17354
17948
  */
17355
- apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17949
+ apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17356
17950
  // verify required parameter 'hospitalId' is not null or undefined
17357
17951
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
17358
17952
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -17396,10 +17990,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17396
17990
  localVarQueryParameter['MarketingType'] = marketingType;
17397
17991
  }
17398
17992
 
17399
- if (created !== undefined) {
17400
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
17401
- (created as any).toISOString() :
17402
- created;
17993
+ if (languageCode !== undefined) {
17994
+ localVarQueryParameter['LanguageCode'] = languageCode;
17995
+ }
17996
+
17997
+ if (showHidden !== undefined) {
17998
+ localVarQueryParameter['ShowHidden'] = showHidden;
17999
+ }
18000
+
18001
+ if (returnDefaultValue !== undefined) {
18002
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
17403
18003
  }
17404
18004
 
17405
18005
  if (page !== undefined) {
@@ -17432,10 +18032,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17432
18032
  * @summary Get HospitalSpecialty.
17433
18033
  * @param {string} hospitalId
17434
18034
  * @param {string} specialtyId
18035
+ * @param {string} [languageCode]
18036
+ * @param {boolean} [returnDefaultValue]
17435
18037
  * @param {*} [options] Override http request option.
17436
18038
  * @throws {RequiredError}
17437
18039
  */
17438
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18040
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17439
18041
  // verify required parameter 'hospitalId' is not null or undefined
17440
18042
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
17441
18043
  // verify required parameter 'specialtyId' is not null or undefined
@@ -17454,6 +18056,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
17454
18056
  const localVarHeaderParameter = {} as any;
17455
18057
  const localVarQueryParameter = {} as any;
17456
18058
 
18059
+ if (languageCode !== undefined) {
18060
+ localVarQueryParameter['languageCode'] = languageCode;
18061
+ }
18062
+
18063
+ if (returnDefaultValue !== undefined) {
18064
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
18065
+ }
18066
+
17457
18067
 
17458
18068
 
17459
18069
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18123,15 +18733,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18123
18733
  * @param {string} [specialtyTypeId]
18124
18734
  * @param {string} [title]
18125
18735
  * @param {MarketingType} [marketingType]
18126
- * @param {Date} [created]
18736
+ * @param {string} [languageCode]
18737
+ * @param {boolean} [showHidden]
18738
+ * @param {boolean} [returnDefaultValue]
18127
18739
  * @param {number} [page]
18128
18740
  * @param {number} [limit]
18129
18741
  * @param {Date} [lastRetrieved]
18130
18742
  * @param {*} [options] Override http request option.
18131
18743
  * @throws {RequiredError}
18132
18744
  */
18133
- async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
18134
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, created, page, limit, lastRetrieved, options);
18745
+ async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
18746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
18135
18747
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18136
18748
  },
18137
18749
  /**
@@ -18139,11 +18751,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18139
18751
  * @summary Get HospitalSpecialty.
18140
18752
  * @param {string} hospitalId
18141
18753
  * @param {string} specialtyId
18754
+ * @param {string} [languageCode]
18755
+ * @param {boolean} [returnDefaultValue]
18142
18756
  * @param {*} [options] Override http request option.
18143
18757
  * @throws {RequiredError}
18144
18758
  */
18145
- async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
18146
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
18759
+ async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
18760
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
18147
18761
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18148
18762
  },
18149
18763
  /**
@@ -18455,26 +19069,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
18455
19069
  * @param {string} [specialtyTypeId]
18456
19070
  * @param {string} [title]
18457
19071
  * @param {MarketingType} [marketingType]
18458
- * @param {Date} [created]
19072
+ * @param {string} [languageCode]
19073
+ * @param {boolean} [showHidden]
19074
+ * @param {boolean} [returnDefaultValue]
18459
19075
  * @param {number} [page]
18460
19076
  * @param {number} [limit]
18461
19077
  * @param {Date} [lastRetrieved]
18462
19078
  * @param {*} [options] Override http request option.
18463
19079
  * @throws {RequiredError}
18464
19080
  */
18465
- apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
18466
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19081
+ apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
19082
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
18467
19083
  },
18468
19084
  /**
18469
19085
  *
18470
19086
  * @summary Get HospitalSpecialty.
18471
19087
  * @param {string} hospitalId
18472
19088
  * @param {string} specialtyId
19089
+ * @param {string} [languageCode]
19090
+ * @param {boolean} [returnDefaultValue]
18473
19091
  * @param {*} [options] Override http request option.
18474
19092
  * @throws {RequiredError}
18475
19093
  */
18476
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
18477
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
19094
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
19095
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
18478
19096
  },
18479
19097
  /**
18480
19098
  *
@@ -18803,7 +19421,9 @@ export class HospitalsApi extends BaseAPI {
18803
19421
  * @param {string} [specialtyTypeId]
18804
19422
  * @param {string} [title]
18805
19423
  * @param {MarketingType} [marketingType]
18806
- * @param {Date} [created]
19424
+ * @param {string} [languageCode]
19425
+ * @param {boolean} [showHidden]
19426
+ * @param {boolean} [returnDefaultValue]
18807
19427
  * @param {number} [page]
18808
19428
  * @param {number} [limit]
18809
19429
  * @param {Date} [lastRetrieved]
@@ -18811,8 +19431,8 @@ export class HospitalsApi extends BaseAPI {
18811
19431
  * @throws {RequiredError}
18812
19432
  * @memberof HospitalsApi
18813
19433
  */
18814
- public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
18815
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19434
+ public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
19435
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
18816
19436
  }
18817
19437
 
18818
19438
  /**
@@ -18820,12 +19440,14 @@ export class HospitalsApi extends BaseAPI {
18820
19440
  * @summary Get HospitalSpecialty.
18821
19441
  * @param {string} hospitalId
18822
19442
  * @param {string} specialtyId
19443
+ * @param {string} [languageCode]
19444
+ * @param {boolean} [returnDefaultValue]
18823
19445
  * @param {*} [options] Override http request option.
18824
19446
  * @throws {RequiredError}
18825
19447
  * @memberof HospitalsApi
18826
19448
  */
18827
- public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
18828
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
19449
+ public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
19450
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
18829
19451
  }
18830
19452
 
18831
19453
  /**
@@ -21943,6 +22565,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
21943
22565
  * @param {string} [serviceName]
21944
22566
  * @param {string} [patientId]
21945
22567
  * @param {string} [patientName]
22568
+ * @param {Gender} [gender]
21946
22569
  * @param {boolean} [recommended]
21947
22570
  * @param {number} [rate]
21948
22571
  * @param {ReviewType} [reviewType]
@@ -21952,7 +22575,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
21952
22575
  * @param {*} [options] Override http request option.
21953
22576
  * @throws {RequiredError}
21954
22577
  */
21955
- apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22578
+ apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21956
22579
  const localVarPath = `/api/v2/servicereviews`;
21957
22580
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21958
22581
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -21985,6 +22608,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
21985
22608
  localVarQueryParameter['PatientName'] = patientName;
21986
22609
  }
21987
22610
 
22611
+ if (gender !== undefined) {
22612
+ localVarQueryParameter['Gender'] = gender;
22613
+ }
22614
+
21988
22615
  if (recommended !== undefined) {
21989
22616
  localVarQueryParameter['Recommended'] = recommended;
21990
22617
  }
@@ -22420,6 +23047,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
22420
23047
  * @param {string} [serviceName]
22421
23048
  * @param {string} [patientId]
22422
23049
  * @param {string} [patientName]
23050
+ * @param {Gender} [gender]
22423
23051
  * @param {boolean} [recommended]
22424
23052
  * @param {number} [rate]
22425
23053
  * @param {ReviewType} [reviewType]
@@ -22429,8 +23057,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
22429
23057
  * @param {*} [options] Override http request option.
22430
23058
  * @throws {RequiredError}
22431
23059
  */
22432
- async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
22433
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
23060
+ async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
23061
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
22434
23062
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22435
23063
  },
22436
23064
  /**
@@ -22560,6 +23188,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
22560
23188
  * @param {string} [serviceName]
22561
23189
  * @param {string} [patientId]
22562
23190
  * @param {string} [patientName]
23191
+ * @param {Gender} [gender]
22563
23192
  * @param {boolean} [recommended]
22564
23193
  * @param {number} [rate]
22565
23194
  * @param {ReviewType} [reviewType]
@@ -22569,8 +23198,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
22569
23198
  * @param {*} [options] Override http request option.
22570
23199
  * @throws {RequiredError}
22571
23200
  */
22572
- apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
22573
- return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23201
+ apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
23202
+ return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
22574
23203
  },
22575
23204
  /**
22576
23205
  *
@@ -22690,6 +23319,7 @@ export class ServiceReviewsApi extends BaseAPI {
22690
23319
  * @param {string} [serviceName]
22691
23320
  * @param {string} [patientId]
22692
23321
  * @param {string} [patientName]
23322
+ * @param {Gender} [gender]
22693
23323
  * @param {boolean} [recommended]
22694
23324
  * @param {number} [rate]
22695
23325
  * @param {ReviewType} [reviewType]
@@ -22700,8 +23330,8 @@ export class ServiceReviewsApi extends BaseAPI {
22700
23330
  * @throws {RequiredError}
22701
23331
  * @memberof ServiceReviewsApi
22702
23332
  */
22703
- public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
22704
- return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23333
+ public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23334
+ return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
22705
23335
  }
22706
23336
 
22707
23337
  /**