ch-admin-api-client-typescript 2.7.4 → 2.7.9

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
@@ -415,34 +415,34 @@ export interface ArticleItemModel {
415
415
  'articleContributors'?: Array<ArticleContributorItemModel> | null;
416
416
  /**
417
417
  *
418
- * @type {Array<MediaModel>}
418
+ * @type {Array<LocalizedUrlModel>}
419
419
  * @memberof ArticleItemModel
420
420
  */
421
- 'medias'?: Array<MediaModel> | null;
421
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
422
422
  /**
423
423
  *
424
- * @type {Array<SourceModel>}
424
+ * @type {boolean}
425
425
  * @memberof ArticleItemModel
426
426
  */
427
- 'sources'?: Array<SourceModel> | null;
427
+ 'confirmed'?: boolean;
428
428
  /**
429
429
  *
430
- * @type {AuditableEntity}
430
+ * @type {Array<MediaModel>}
431
431
  * @memberof ArticleItemModel
432
432
  */
433
- 'auditableEntity'?: AuditableEntity;
433
+ 'medias'?: Array<MediaModel> | null;
434
434
  /**
435
435
  *
436
- * @type {Array<LocalizedUrlModel>}
436
+ * @type {Array<SourceModel>}
437
437
  * @memberof ArticleItemModel
438
438
  */
439
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
439
+ 'sources'?: Array<SourceModel> | null;
440
440
  /**
441
441
  *
442
- * @type {boolean}
442
+ * @type {AuditableEntity}
443
443
  * @memberof ArticleItemModel
444
444
  */
445
- 'confirmed'?: boolean;
445
+ 'auditableEntity'?: AuditableEntity;
446
446
  }
447
447
  /**
448
448
  *
@@ -542,34 +542,34 @@ export interface ArticleModel {
542
542
  'articleContributors'?: Array<ArticleContributorItemModel> | null;
543
543
  /**
544
544
  *
545
- * @type {Array<MediaModel>}
545
+ * @type {Array<LocalizedUrlModel>}
546
546
  * @memberof ArticleModel
547
547
  */
548
- 'medias'?: Array<MediaModel> | null;
548
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
549
549
  /**
550
550
  *
551
- * @type {Array<SourceModel>}
551
+ * @type {boolean}
552
552
  * @memberof ArticleModel
553
553
  */
554
- 'sources'?: Array<SourceModel> | null;
554
+ 'confirmed'?: boolean;
555
555
  /**
556
556
  *
557
- * @type {AuditableEntity}
557
+ * @type {Array<MediaModel>}
558
558
  * @memberof ArticleModel
559
559
  */
560
- 'auditableEntity'?: AuditableEntity;
560
+ 'medias'?: Array<MediaModel> | null;
561
561
  /**
562
562
  *
563
- * @type {Array<LocalizedUrlModel>}
563
+ * @type {Array<SourceModel>}
564
564
  * @memberof ArticleModel
565
565
  */
566
- 'localizedUrls'?: Array<LocalizedUrlModel> | null;
566
+ 'sources'?: Array<SourceModel> | null;
567
567
  /**
568
568
  *
569
- * @type {boolean}
569
+ * @type {AuditableEntity}
570
570
  * @memberof ArticleModel
571
571
  */
572
- 'confirmed'?: boolean;
572
+ 'auditableEntity'?: AuditableEntity;
573
573
  /**
574
574
  *
575
575
  * @type {string}
@@ -782,6 +782,43 @@ export interface AwardModel {
782
782
  */
783
783
  'date'?: Date;
784
784
  }
785
+ /**
786
+ *
787
+ * @export
788
+ * @interface AzureSearchModel
789
+ */
790
+ export interface AzureSearchModel {
791
+ /**
792
+ *
793
+ * @type {number}
794
+ * @memberof AzureSearchModel
795
+ */
796
+ 'hospitals'?: number;
797
+ /**
798
+ *
799
+ * @type {number}
800
+ * @memberof AzureSearchModel
801
+ */
802
+ 'doctors'?: number;
803
+ /**
804
+ *
805
+ * @type {number}
806
+ * @memberof AzureSearchModel
807
+ */
808
+ 'deals'?: number;
809
+ /**
810
+ *
811
+ * @type {number}
812
+ * @memberof AzureSearchModel
813
+ */
814
+ 'specialties'?: number;
815
+ /**
816
+ *
817
+ * @type {number}
818
+ * @memberof AzureSearchModel
819
+ */
820
+ 'specialtyTypes'?: number;
821
+ }
785
822
  /**
786
823
  *
787
824
  * @export
@@ -3970,12 +4007,36 @@ export interface CreateHospitalSpecialtyCommand {
3970
4007
  * @memberof CreateHospitalSpecialtyCommand
3971
4008
  */
3972
4009
  'specialtyId'?: string;
4010
+ /**
4011
+ *
4012
+ * @type {string}
4013
+ * @memberof CreateHospitalSpecialtyCommand
4014
+ */
4015
+ 'title'?: string | null;
4016
+ /**
4017
+ *
4018
+ * @type {string}
4019
+ * @memberof CreateHospitalSpecialtyCommand
4020
+ */
4021
+ 'description'?: string | null;
4022
+ /**
4023
+ *
4024
+ * @type {string}
4025
+ * @memberof CreateHospitalSpecialtyCommand
4026
+ */
4027
+ 'content'?: string | null;
3973
4028
  /**
3974
4029
  *
3975
4030
  * @type {number}
3976
4031
  * @memberof CreateHospitalSpecialtyCommand
3977
4032
  */
3978
4033
  'order'?: number;
4034
+ /**
4035
+ *
4036
+ * @type {Array<MediaModel>}
4037
+ * @memberof CreateHospitalSpecialtyCommand
4038
+ */
4039
+ 'medias'?: Array<MediaModel> | null;
3979
4040
  }
3980
4041
  /**
3981
4042
  *
@@ -4494,6 +4555,30 @@ export interface DealItemModel {
4494
4555
  * @memberof DealItemModel
4495
4556
  */
4496
4557
  'hospitalSlug'?: string | null;
4558
+ /**
4559
+ *
4560
+ * @type {string}
4561
+ * @memberof DealItemModel
4562
+ */
4563
+ 'hospitalLocationCountry'?: string | null;
4564
+ /**
4565
+ *
4566
+ * @type {string}
4567
+ * @memberof DealItemModel
4568
+ */
4569
+ 'hospitalLocationState'?: string | null;
4570
+ /**
4571
+ *
4572
+ * @type {boolean}
4573
+ * @memberof DealItemModel
4574
+ */
4575
+ 'hospitalConsultationEnabled'?: boolean;
4576
+ /**
4577
+ *
4578
+ * @type {number}
4579
+ * @memberof DealItemModel
4580
+ */
4581
+ 'serviceDuration'?: number;
4497
4582
  /**
4498
4583
  *
4499
4584
  * @type {MarketingType}
@@ -4597,6 +4682,30 @@ export interface DealModel {
4597
4682
  * @memberof DealModel
4598
4683
  */
4599
4684
  'hospitalSlug'?: string | null;
4685
+ /**
4686
+ *
4687
+ * @type {string}
4688
+ * @memberof DealModel
4689
+ */
4690
+ 'hospitalLocationCountry'?: string | null;
4691
+ /**
4692
+ *
4693
+ * @type {string}
4694
+ * @memberof DealModel
4695
+ */
4696
+ 'hospitalLocationState'?: string | null;
4697
+ /**
4698
+ *
4699
+ * @type {boolean}
4700
+ * @memberof DealModel
4701
+ */
4702
+ 'hospitalConsultationEnabled'?: boolean;
4703
+ /**
4704
+ *
4705
+ * @type {number}
4706
+ * @memberof DealModel
4707
+ */
4708
+ 'serviceDuration'?: number;
4600
4709
  /**
4601
4710
  *
4602
4711
  * @type {MarketingType}
@@ -5420,6 +5529,67 @@ export interface DoctorItemModel {
5420
5529
  */
5421
5530
  'confirmed'?: boolean;
5422
5531
  }
5532
+ /**
5533
+ *
5534
+ * @export
5535
+ * @interface DoctorItemSimpleModel
5536
+ */
5537
+ export interface DoctorItemSimpleModel {
5538
+ /**
5539
+ *
5540
+ * @type {string}
5541
+ * @memberof DoctorItemSimpleModel
5542
+ */
5543
+ 'id'?: string;
5544
+ /**
5545
+ *
5546
+ * @type {string}
5547
+ * @memberof DoctorItemSimpleModel
5548
+ */
5549
+ 'firstName'?: string | null;
5550
+ /**
5551
+ *
5552
+ * @type {string}
5553
+ * @memberof DoctorItemSimpleModel
5554
+ */
5555
+ 'lastName'?: string | null;
5556
+ /**
5557
+ *
5558
+ * @type {string}
5559
+ * @memberof DoctorItemSimpleModel
5560
+ */
5561
+ 'fullname'?: string | null;
5562
+ /**
5563
+ *
5564
+ * @type {string}
5565
+ * @memberof DoctorItemSimpleModel
5566
+ */
5567
+ 'slug'?: string | null;
5568
+ /**
5569
+ *
5570
+ * @type {string}
5571
+ * @memberof DoctorItemSimpleModel
5572
+ */
5573
+ 'hospitalId'?: string | null;
5574
+ /**
5575
+ *
5576
+ * @type {string}
5577
+ * @memberof DoctorItemSimpleModel
5578
+ */
5579
+ 'hospitalName'?: string | null;
5580
+ /**
5581
+ *
5582
+ * @type {string}
5583
+ * @memberof DoctorItemSimpleModel
5584
+ */
5585
+ 'overview'?: string | null;
5586
+ /**
5587
+ *
5588
+ * @type {boolean}
5589
+ * @memberof DoctorItemSimpleModel
5590
+ */
5591
+ 'confirmed'?: boolean;
5592
+ }
5423
5593
  /**
5424
5594
  *
5425
5595
  * @export
@@ -5799,6 +5969,25 @@ export interface DoctorsModel {
5799
5969
  */
5800
5970
  'metaData'?: PagedListMetaData;
5801
5971
  }
5972
+ /**
5973
+ *
5974
+ * @export
5975
+ * @interface DoctorsSimpleModel
5976
+ */
5977
+ export interface DoctorsSimpleModel {
5978
+ /**
5979
+ *
5980
+ * @type {Array<DoctorItemSimpleModel>}
5981
+ * @memberof DoctorsSimpleModel
5982
+ */
5983
+ 'items'?: Array<DoctorItemSimpleModel> | null;
5984
+ /**
5985
+ *
5986
+ * @type {PagedListMetaData}
5987
+ * @memberof DoctorsSimpleModel
5988
+ */
5989
+ 'metaData'?: PagedListMetaData;
5990
+ }
5802
5991
  /**
5803
5992
  *
5804
5993
  * @export
@@ -7246,6 +7435,12 @@ export interface HospitalSpecialtiesModel {
7246
7435
  * @interface HospitalSpecialtyItemModel
7247
7436
  */
7248
7437
  export interface HospitalSpecialtyItemModel {
7438
+ /**
7439
+ *
7440
+ * @type {string}
7441
+ * @memberof HospitalSpecialtyItemModel
7442
+ */
7443
+ 'id'?: string;
7249
7444
  /**
7250
7445
  *
7251
7446
  * @type {string}
@@ -7294,12 +7489,54 @@ export interface HospitalSpecialtyItemModel {
7294
7489
  * @memberof HospitalSpecialtyItemModel
7295
7490
  */
7296
7491
  'marketingType'?: MarketingType;
7492
+ /**
7493
+ *
7494
+ * @type {string}
7495
+ * @memberof HospitalSpecialtyItemModel
7496
+ */
7497
+ 'title'?: string | null;
7498
+ /**
7499
+ *
7500
+ * @type {string}
7501
+ * @memberof HospitalSpecialtyItemModel
7502
+ */
7503
+ 'normalizedTitle'?: string | null;
7504
+ /**
7505
+ *
7506
+ * @type {string}
7507
+ * @memberof HospitalSpecialtyItemModel
7508
+ */
7509
+ 'description'?: string | null;
7510
+ /**
7511
+ *
7512
+ * @type {string}
7513
+ * @memberof HospitalSpecialtyItemModel
7514
+ */
7515
+ 'content'?: string | null;
7297
7516
  /**
7298
7517
  *
7299
7518
  * @type {number}
7300
7519
  * @memberof HospitalSpecialtyItemModel
7301
7520
  */
7302
7521
  'order'?: number;
7522
+ /**
7523
+ *
7524
+ * @type {boolean}
7525
+ * @memberof HospitalSpecialtyItemModel
7526
+ */
7527
+ 'confirmed'?: boolean;
7528
+ /**
7529
+ *
7530
+ * @type {Array<MediaModel>}
7531
+ * @memberof HospitalSpecialtyItemModel
7532
+ */
7533
+ 'medias'?: Array<MediaModel> | null;
7534
+ /**
7535
+ *
7536
+ * @type {AuditableEntity}
7537
+ * @memberof HospitalSpecialtyItemModel
7538
+ */
7539
+ 'auditableEntity'?: AuditableEntity;
7303
7540
  }
7304
7541
  /**
7305
7542
  *
@@ -7307,6 +7544,12 @@ export interface HospitalSpecialtyItemModel {
7307
7544
  * @interface HospitalSpecialtyModel
7308
7545
  */
7309
7546
  export interface HospitalSpecialtyModel {
7547
+ /**
7548
+ *
7549
+ * @type {string}
7550
+ * @memberof HospitalSpecialtyModel
7551
+ */
7552
+ 'id'?: string;
7310
7553
  /**
7311
7554
  *
7312
7555
  * @type {string}
@@ -7355,12 +7598,60 @@ export interface HospitalSpecialtyModel {
7355
7598
  * @memberof HospitalSpecialtyModel
7356
7599
  */
7357
7600
  'marketingType'?: MarketingType;
7601
+ /**
7602
+ *
7603
+ * @type {string}
7604
+ * @memberof HospitalSpecialtyModel
7605
+ */
7606
+ 'title'?: string | null;
7607
+ /**
7608
+ *
7609
+ * @type {string}
7610
+ * @memberof HospitalSpecialtyModel
7611
+ */
7612
+ 'normalizedTitle'?: string | null;
7613
+ /**
7614
+ *
7615
+ * @type {string}
7616
+ * @memberof HospitalSpecialtyModel
7617
+ */
7618
+ 'description'?: string | null;
7619
+ /**
7620
+ *
7621
+ * @type {string}
7622
+ * @memberof HospitalSpecialtyModel
7623
+ */
7624
+ 'content'?: string | null;
7358
7625
  /**
7359
7626
  *
7360
7627
  * @type {number}
7361
7628
  * @memberof HospitalSpecialtyModel
7362
7629
  */
7363
7630
  'order'?: number;
7631
+ /**
7632
+ *
7633
+ * @type {boolean}
7634
+ * @memberof HospitalSpecialtyModel
7635
+ */
7636
+ 'confirmed'?: boolean;
7637
+ /**
7638
+ *
7639
+ * @type {Array<MediaModel>}
7640
+ * @memberof HospitalSpecialtyModel
7641
+ */
7642
+ 'medias'?: Array<MediaModel> | null;
7643
+ /**
7644
+ *
7645
+ * @type {AuditableEntity}
7646
+ * @memberof HospitalSpecialtyModel
7647
+ */
7648
+ 'auditableEntity'?: AuditableEntity;
7649
+ /**
7650
+ *
7651
+ * @type {string}
7652
+ * @memberof HospitalSpecialtyModel
7653
+ */
7654
+ 'languageCode'?: string | null;
7364
7655
  }
7365
7656
  /**
7366
7657
  *
@@ -10554,6 +10845,25 @@ export interface UpdateDealServiceCommand {
10554
10845
  */
10555
10846
  'order'?: number;
10556
10847
  }
10848
+ /**
10849
+ *
10850
+ * @export
10851
+ * @interface UpdateDealsSearchIndexCommand
10852
+ */
10853
+ export interface UpdateDealsSearchIndexCommand {
10854
+ /**
10855
+ *
10856
+ * @type {number}
10857
+ * @memberof UpdateDealsSearchIndexCommand
10858
+ */
10859
+ 'batchSize'?: number | null;
10860
+ /**
10861
+ *
10862
+ * @type {boolean}
10863
+ * @memberof UpdateDealsSearchIndexCommand
10864
+ */
10865
+ 'reCreate'?: boolean | null;
10866
+ }
10557
10867
  /**
10558
10868
  *
10559
10869
  * @export
@@ -10769,6 +11079,25 @@ export interface UpdateDoctorSpecialtyCommand {
10769
11079
  */
10770
11080
  'order'?: number;
10771
11081
  }
11082
+ /**
11083
+ *
11084
+ * @export
11085
+ * @interface UpdateDoctorsSearchIndexCommand
11086
+ */
11087
+ export interface UpdateDoctorsSearchIndexCommand {
11088
+ /**
11089
+ *
11090
+ * @type {number}
11091
+ * @memberof UpdateDoctorsSearchIndexCommand
11092
+ */
11093
+ 'batchSize'?: number | null;
11094
+ /**
11095
+ *
11096
+ * @type {boolean}
11097
+ * @memberof UpdateDoctorsSearchIndexCommand
11098
+ */
11099
+ 'reCreate'?: boolean | null;
11100
+ }
10772
11101
  /**
10773
11102
  *
10774
11103
  * @export
@@ -11098,12 +11427,67 @@ export interface UpdateHospitalServiceCommand {
11098
11427
  * @interface UpdateHospitalSpecialtyCommand
11099
11428
  */
11100
11429
  export interface UpdateHospitalSpecialtyCommand {
11430
+ /**
11431
+ *
11432
+ * @type {string}
11433
+ * @memberof UpdateHospitalSpecialtyCommand
11434
+ */
11435
+ 'title'?: string | null;
11436
+ /**
11437
+ *
11438
+ * @type {string}
11439
+ * @memberof UpdateHospitalSpecialtyCommand
11440
+ */
11441
+ 'description'?: string | null;
11442
+ /**
11443
+ *
11444
+ * @type {string}
11445
+ * @memberof UpdateHospitalSpecialtyCommand
11446
+ */
11447
+ 'content'?: string | null;
11101
11448
  /**
11102
11449
  *
11103
11450
  * @type {number}
11104
11451
  * @memberof UpdateHospitalSpecialtyCommand
11105
11452
  */
11106
11453
  'order'?: number;
11454
+ /**
11455
+ *
11456
+ * @type {string}
11457
+ * @memberof UpdateHospitalSpecialtyCommand
11458
+ */
11459
+ 'languageCode'?: string | null;
11460
+ /**
11461
+ *
11462
+ * @type {boolean}
11463
+ * @memberof UpdateHospitalSpecialtyCommand
11464
+ */
11465
+ 'confirmed'?: boolean;
11466
+ /**
11467
+ *
11468
+ * @type {Array<MediaModel>}
11469
+ * @memberof UpdateHospitalSpecialtyCommand
11470
+ */
11471
+ 'medias'?: Array<MediaModel> | null;
11472
+ }
11473
+ /**
11474
+ *
11475
+ * @export
11476
+ * @interface UpdateHospitalsSearchIndexCommand
11477
+ */
11478
+ export interface UpdateHospitalsSearchIndexCommand {
11479
+ /**
11480
+ *
11481
+ * @type {number}
11482
+ * @memberof UpdateHospitalsSearchIndexCommand
11483
+ */
11484
+ 'batchSize'?: number | null;
11485
+ /**
11486
+ *
11487
+ * @type {boolean}
11488
+ * @memberof UpdateHospitalsSearchIndexCommand
11489
+ */
11490
+ 'reCreate'?: boolean | null;
11107
11491
  }
11108
11492
  /**
11109
11493
  *
@@ -11486,6 +11870,25 @@ export interface UpdateServiceReviewCommand {
11486
11870
  */
11487
11871
  'rate'?: number | null;
11488
11872
  }
11873
+ /**
11874
+ *
11875
+ * @export
11876
+ * @interface UpdateSpecialtiesSearchIndexCommand
11877
+ */
11878
+ export interface UpdateSpecialtiesSearchIndexCommand {
11879
+ /**
11880
+ *
11881
+ * @type {number}
11882
+ * @memberof UpdateSpecialtiesSearchIndexCommand
11883
+ */
11884
+ 'batchSize'?: number | null;
11885
+ /**
11886
+ *
11887
+ * @type {boolean}
11888
+ * @memberof UpdateSpecialtiesSearchIndexCommand
11889
+ */
11890
+ 'reCreate'?: boolean | null;
11891
+ }
11489
11892
  /**
11490
11893
  *
11491
11894
  * @export
@@ -11608,6 +12011,25 @@ export interface UpdateSpecialtyTypeCommand {
11608
12011
  */
11609
12012
  'languageCode'?: string | null;
11610
12013
  }
12014
+ /**
12015
+ *
12016
+ * @export
12017
+ * @interface UpdateSpecialtyTypesSearchIndexCommand
12018
+ */
12019
+ export interface UpdateSpecialtyTypesSearchIndexCommand {
12020
+ /**
12021
+ *
12022
+ * @type {number}
12023
+ * @memberof UpdateSpecialtyTypesSearchIndexCommand
12024
+ */
12025
+ 'batchSize'?: number | null;
12026
+ /**
12027
+ *
12028
+ * @type {boolean}
12029
+ * @memberof UpdateSpecialtyTypesSearchIndexCommand
12030
+ */
12031
+ 'reCreate'?: boolean | null;
12032
+ }
11611
12033
  /**
11612
12034
  *
11613
12035
  * @export
@@ -20113,6 +20535,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20113
20535
  * @param {string} [hospitalName]
20114
20536
  * @param {string} [specialtyId]
20115
20537
  * @param {string} [specialtyTypeId]
20538
+ * @param {string} [serviceId]
20116
20539
  * @param {string} [exceptHospitalId]
20117
20540
  * @param {string} [exceptDealId]
20118
20541
  * @param {Array<string>} [ids]
@@ -20125,7 +20548,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20125
20548
  * @param {*} [options] Override http request option.
20126
20549
  * @throws {RequiredError}
20127
20550
  */
20128
- apiV1DealsGet: 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> => {
20551
+ apiV1DealsGet: 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> => {
20129
20552
  const localVarPath = `/api/v1/deals`;
20130
20553
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20131
20554
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20174,6 +20597,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
20174
20597
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
20175
20598
  }
20176
20599
 
20600
+ if (serviceId !== undefined) {
20601
+ localVarQueryParameter['ServiceId'] = serviceId;
20602
+ }
20603
+
20177
20604
  if (exceptHospitalId !== undefined) {
20178
20605
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
20179
20606
  }
@@ -20498,6 +20925,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
20498
20925
  * @param {string} [hospitalName]
20499
20926
  * @param {string} [specialtyId]
20500
20927
  * @param {string} [specialtyTypeId]
20928
+ * @param {string} [serviceId]
20501
20929
  * @param {string} [exceptHospitalId]
20502
20930
  * @param {string} [exceptDealId]
20503
20931
  * @param {Array<string>} [ids]
@@ -20510,8 +20938,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
20510
20938
  * @param {*} [options] Override http request option.
20511
20939
  * @throws {RequiredError}
20512
20940
  */
20513
- async apiV1DealsGet(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>> {
20514
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
20941
+ async apiV1DealsGet(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>> {
20942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
20515
20943
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20516
20944
  },
20517
20945
  /**
@@ -20714,6 +21142,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
20714
21142
  * @param {string} [hospitalName]
20715
21143
  * @param {string} [specialtyId]
20716
21144
  * @param {string} [specialtyTypeId]
21145
+ * @param {string} [serviceId]
20717
21146
  * @param {string} [exceptHospitalId]
20718
21147
  * @param {string} [exceptDealId]
20719
21148
  * @param {Array<string>} [ids]
@@ -20726,8 +21155,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
20726
21155
  * @param {*} [options] Override http request option.
20727
21156
  * @throws {RequiredError}
20728
21157
  */
20729
- apiV1DealsGet(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> {
20730
- return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21158
+ apiV1DealsGet(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> {
21159
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20731
21160
  },
20732
21161
  /**
20733
21162
  *
@@ -20953,6 +21382,7 @@ export class DealsApi extends BaseAPI {
20953
21382
  * @param {string} [hospitalName]
20954
21383
  * @param {string} [specialtyId]
20955
21384
  * @param {string} [specialtyTypeId]
21385
+ * @param {string} [serviceId]
20956
21386
  * @param {string} [exceptHospitalId]
20957
21387
  * @param {string} [exceptDealId]
20958
21388
  * @param {Array<string>} [ids]
@@ -20966,8 +21396,8 @@ export class DealsApi extends BaseAPI {
20966
21396
  * @throws {RequiredError}
20967
21397
  * @memberof DealsApi
20968
21398
  */
20969
- public apiV1DealsGet(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) {
20970
- return DealsApiFp(this.configuration).apiV1DealsGet(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));
21399
+ public apiV1DealsGet(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) {
21400
+ return DealsApiFp(this.configuration).apiV1DealsGet(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));
20971
21401
  }
20972
21402
 
20973
21403
  /**
@@ -22553,6 +22983,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22553
22983
  * @param {string} [hospitalId]
22554
22984
  * @param {string} [languageCode]
22555
22985
  * @param {boolean} [returnDefaultValue]
22986
+ * @param {Array<string>} [ids]
22556
22987
  * @param {string} [id]
22557
22988
  * @param {string} [fullname]
22558
22989
  * @param {string} [email]
@@ -22566,7 +22997,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22566
22997
  * @param {*} [options] Override http request option.
22567
22998
  * @throws {RequiredError}
22568
22999
  */
22569
- apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23000
+ apiV1DoctorsGet: 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> => {
22570
23001
  const localVarPath = `/api/v1/doctors`;
22571
23002
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22572
23003
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -22595,6 +23026,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22595
23026
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
22596
23027
  }
22597
23028
 
23029
+ if (ids) {
23030
+ localVarQueryParameter['Ids'] = ids;
23031
+ }
23032
+
22598
23033
  if (id !== undefined) {
22599
23034
  localVarQueryParameter['Id'] = id;
22600
23035
  }
@@ -22690,6 +23125,116 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22690
23125
  options: localVarRequestOptions,
22691
23126
  };
22692
23127
  },
23128
+ /**
23129
+ *
23130
+ * @summary Get all Doctors.
23131
+ * @param {string} [hospitalId]
23132
+ * @param {string} [languageCode]
23133
+ * @param {boolean} [returnDefaultValue]
23134
+ * @param {Array<string>} [ids]
23135
+ * @param {string} [id]
23136
+ * @param {string} [fullname]
23137
+ * @param {string} [email]
23138
+ * @param {Gender} [gender]
23139
+ * @param {Date} [dateOfBirth]
23140
+ * @param {Date} [created]
23141
+ * @param {boolean} [showHidden]
23142
+ * @param {number} [page]
23143
+ * @param {number} [limit]
23144
+ * @param {Date} [lastRetrieved]
23145
+ * @param {*} [options] Override http request option.
23146
+ * @throws {RequiredError}
23147
+ */
23148
+ apiV1DoctorsSimpleGet: 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> => {
23149
+ const localVarPath = `/api/v1/doctors/simple`;
23150
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23152
+ let baseOptions;
23153
+ if (configuration) {
23154
+ baseOptions = configuration.baseOptions;
23155
+ }
23156
+
23157
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23158
+ const localVarHeaderParameter = {} as any;
23159
+ const localVarQueryParameter = {} as any;
23160
+
23161
+ // authentication oauth2 required
23162
+ // oauth required
23163
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23164
+
23165
+ if (hospitalId !== undefined) {
23166
+ localVarQueryParameter['HospitalId'] = hospitalId;
23167
+ }
23168
+
23169
+ if (languageCode !== undefined) {
23170
+ localVarQueryParameter['LanguageCode'] = languageCode;
23171
+ }
23172
+
23173
+ if (returnDefaultValue !== undefined) {
23174
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
23175
+ }
23176
+
23177
+ if (ids) {
23178
+ localVarQueryParameter['Ids'] = ids;
23179
+ }
23180
+
23181
+ if (id !== undefined) {
23182
+ localVarQueryParameter['Id'] = id;
23183
+ }
23184
+
23185
+ if (fullname !== undefined) {
23186
+ localVarQueryParameter['Fullname'] = fullname;
23187
+ }
23188
+
23189
+ if (email !== undefined) {
23190
+ localVarQueryParameter['Email'] = email;
23191
+ }
23192
+
23193
+ if (gender !== undefined) {
23194
+ localVarQueryParameter['Gender'] = gender;
23195
+ }
23196
+
23197
+ if (dateOfBirth !== undefined) {
23198
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
23199
+ (dateOfBirth as any).toISOString() :
23200
+ dateOfBirth;
23201
+ }
23202
+
23203
+ if (created !== undefined) {
23204
+ localVarQueryParameter['Created'] = (created as any instanceof Date) ?
23205
+ (created as any).toISOString() :
23206
+ created;
23207
+ }
23208
+
23209
+ if (showHidden !== undefined) {
23210
+ localVarQueryParameter['ShowHidden'] = showHidden;
23211
+ }
23212
+
23213
+ if (page !== undefined) {
23214
+ localVarQueryParameter['page'] = page;
23215
+ }
23216
+
23217
+ if (limit !== undefined) {
23218
+ localVarQueryParameter['limit'] = limit;
23219
+ }
23220
+
23221
+ if (lastRetrieved !== undefined) {
23222
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23223
+ (lastRetrieved as any).toISOString() :
23224
+ lastRetrieved;
23225
+ }
23226
+
23227
+
23228
+
23229
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23230
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23231
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23232
+
23233
+ return {
23234
+ url: toPathString(localVarUrlObj),
23235
+ options: localVarRequestOptions,
23236
+ };
23237
+ },
22693
23238
  /**
22694
23239
  *
22695
23240
  * @param {string} slug
@@ -23171,6 +23716,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23171
23716
  * @param {string} [hospitalId]
23172
23717
  * @param {string} [languageCode]
23173
23718
  * @param {boolean} [returnDefaultValue]
23719
+ * @param {Array<string>} [ids]
23174
23720
  * @param {string} [id]
23175
23721
  * @param {string} [fullname]
23176
23722
  * @param {string} [email]
@@ -23184,8 +23730,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23184
23730
  * @param {*} [options] Override http request option.
23185
23731
  * @throws {RequiredError}
23186
23732
  */
23187
- async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, 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<DoctorsModel>> {
23188
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
23733
+ async apiV1DoctorsGet(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<DoctorsModel>> {
23734
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
23189
23735
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23190
23736
  },
23191
23737
  /**
@@ -23199,6 +23745,30 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23199
23745
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
23200
23746
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23201
23747
  },
23748
+ /**
23749
+ *
23750
+ * @summary Get all Doctors.
23751
+ * @param {string} [hospitalId]
23752
+ * @param {string} [languageCode]
23753
+ * @param {boolean} [returnDefaultValue]
23754
+ * @param {Array<string>} [ids]
23755
+ * @param {string} [id]
23756
+ * @param {string} [fullname]
23757
+ * @param {string} [email]
23758
+ * @param {Gender} [gender]
23759
+ * @param {Date} [dateOfBirth]
23760
+ * @param {Date} [created]
23761
+ * @param {boolean} [showHidden]
23762
+ * @param {number} [page]
23763
+ * @param {number} [limit]
23764
+ * @param {Date} [lastRetrieved]
23765
+ * @param {*} [options] Override http request option.
23766
+ * @throws {RequiredError}
23767
+ */
23768
+ async apiV1DoctorsSimpleGet(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>> {
23769
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
23770
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23771
+ },
23202
23772
  /**
23203
23773
  *
23204
23774
  * @param {string} slug
@@ -23613,6 +24183,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23613
24183
  * @param {string} [hospitalId]
23614
24184
  * @param {string} [languageCode]
23615
24185
  * @param {boolean} [returnDefaultValue]
24186
+ * @param {Array<string>} [ids]
23616
24187
  * @param {string} [id]
23617
24188
  * @param {string} [fullname]
23618
24189
  * @param {string} [email]
@@ -23626,8 +24197,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23626
24197
  * @param {*} [options] Override http request option.
23627
24198
  * @throws {RequiredError}
23628
24199
  */
23629
- apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
23630
- return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24200
+ apiV1DoctorsGet(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> {
24201
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23631
24202
  },
23632
24203
  /**
23633
24204
  *
@@ -23639,6 +24210,29 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23639
24210
  apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
23640
24211
  return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
23641
24212
  },
24213
+ /**
24214
+ *
24215
+ * @summary Get all Doctors.
24216
+ * @param {string} [hospitalId]
24217
+ * @param {string} [languageCode]
24218
+ * @param {boolean} [returnDefaultValue]
24219
+ * @param {Array<string>} [ids]
24220
+ * @param {string} [id]
24221
+ * @param {string} [fullname]
24222
+ * @param {string} [email]
24223
+ * @param {Gender} [gender]
24224
+ * @param {Date} [dateOfBirth]
24225
+ * @param {Date} [created]
24226
+ * @param {boolean} [showHidden]
24227
+ * @param {number} [page]
24228
+ * @param {number} [limit]
24229
+ * @param {Date} [lastRetrieved]
24230
+ * @param {*} [options] Override http request option.
24231
+ * @throws {RequiredError}
24232
+ */
24233
+ apiV1DoctorsSimpleGet(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> {
24234
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24235
+ },
23642
24236
  /**
23643
24237
  *
23644
24238
  * @param {string} slug
@@ -24116,6 +24710,7 @@ export class DoctorsApi extends BaseAPI {
24116
24710
  * @param {string} [hospitalId]
24117
24711
  * @param {string} [languageCode]
24118
24712
  * @param {boolean} [returnDefaultValue]
24713
+ * @param {Array<string>} [ids]
24119
24714
  * @param {string} [id]
24120
24715
  * @param {string} [fullname]
24121
24716
  * @param {string} [email]
@@ -24130,8 +24725,8 @@ export class DoctorsApi extends BaseAPI {
24130
24725
  * @throws {RequiredError}
24131
24726
  * @memberof DoctorsApi
24132
24727
  */
24133
- public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24134
- return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24728
+ public apiV1DoctorsGet(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) {
24729
+ return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24135
24730
  }
24136
24731
 
24137
24732
  /**
@@ -24146,6 +24741,31 @@ export class DoctorsApi extends BaseAPI {
24146
24741
  return DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(this.axios, this.basePath));
24147
24742
  }
24148
24743
 
24744
+ /**
24745
+ *
24746
+ * @summary Get all Doctors.
24747
+ * @param {string} [hospitalId]
24748
+ * @param {string} [languageCode]
24749
+ * @param {boolean} [returnDefaultValue]
24750
+ * @param {Array<string>} [ids]
24751
+ * @param {string} [id]
24752
+ * @param {string} [fullname]
24753
+ * @param {string} [email]
24754
+ * @param {Gender} [gender]
24755
+ * @param {Date} [dateOfBirth]
24756
+ * @param {Date} [created]
24757
+ * @param {boolean} [showHidden]
24758
+ * @param {number} [page]
24759
+ * @param {number} [limit]
24760
+ * @param {Date} [lastRetrieved]
24761
+ * @param {*} [options] Override http request option.
24762
+ * @throws {RequiredError}
24763
+ * @memberof DoctorsApi
24764
+ */
24765
+ public apiV1DoctorsSimpleGet(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) {
24766
+ return DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24767
+ }
24768
+
24149
24769
  /**
24150
24770
  *
24151
24771
  * @param {string} slug
@@ -26304,7 +26924,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26304
26924
  * @summary Get all Hospitals.
26305
26925
  * @param {string} [hospitalId]
26306
26926
  * @param {string} [name]
26307
- * @param {string} [description]
26308
26927
  * @param {string} [countryId]
26309
26928
  * @param {Date} [created]
26310
26929
  * @param {MarketingType} [marketingType]
@@ -26322,7 +26941,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26322
26941
  * @param {*} [options] Override http request option.
26323
26942
  * @throws {RequiredError}
26324
26943
  */
26325
- apiV1HospitalsGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26944
+ apiV1HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26326
26945
  const localVarPath = `/api/v1/hospitals`;
26327
26946
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26328
26947
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26347,10 +26966,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26347
26966
  localVarQueryParameter['Name'] = name;
26348
26967
  }
26349
26968
 
26350
- if (description !== undefined) {
26351
- localVarQueryParameter['Description'] = description;
26352
- }
26353
-
26354
26969
  if (countryId !== undefined) {
26355
26970
  localVarQueryParameter['CountryId'] = countryId;
26356
26971
  }
@@ -27751,15 +28366,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27751
28366
  * @param {string} [specialtyId]
27752
28367
  * @param {string} [specialtyName]
27753
28368
  * @param {string} [specialtyTypeId]
28369
+ * @param {string} [title]
27754
28370
  * @param {MarketingType} [marketingType]
27755
- * @param {Date} [created]
28371
+ * @param {string} [languageCode]
28372
+ * @param {boolean} [showHidden]
28373
+ * @param {boolean} [returnDefaultValue]
27756
28374
  * @param {number} [page]
27757
28375
  * @param {number} [limit]
27758
28376
  * @param {Date} [lastRetrieved]
27759
28377
  * @param {*} [options] Override http request option.
27760
28378
  * @throws {RequiredError}
27761
28379
  */
27762
- apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28380
+ apiV1HospitalsHospitalIdSpecialtiesGet: 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> => {
27763
28381
  // verify required parameter 'hospitalId' is not null or undefined
27764
28382
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
27765
28383
  const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
@@ -27799,14 +28417,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27799
28417
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
27800
28418
  }
27801
28419
 
28420
+ if (title !== undefined) {
28421
+ localVarQueryParameter['Title'] = title;
28422
+ }
28423
+
27802
28424
  if (marketingType !== undefined) {
27803
28425
  localVarQueryParameter['MarketingType'] = marketingType;
27804
28426
  }
27805
28427
 
27806
- if (created !== undefined) {
27807
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
27808
- (created as any).toISOString() :
27809
- created;
28428
+ if (languageCode !== undefined) {
28429
+ localVarQueryParameter['LanguageCode'] = languageCode;
28430
+ }
28431
+
28432
+ if (showHidden !== undefined) {
28433
+ localVarQueryParameter['ShowHidden'] = showHidden;
28434
+ }
28435
+
28436
+ if (returnDefaultValue !== undefined) {
28437
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
27810
28438
  }
27811
28439
 
27812
28440
  if (page !== undefined) {
@@ -27923,10 +28551,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27923
28551
  * @summary Get HospitalSpecialty.
27924
28552
  * @param {string} hospitalId
27925
28553
  * @param {string} specialtyId
28554
+ * @param {string} [languageCode]
28555
+ * @param {boolean} [returnDefaultValue]
27926
28556
  * @param {*} [options] Override http request option.
27927
28557
  * @throws {RequiredError}
27928
28558
  */
27929
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28559
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27930
28560
  // verify required parameter 'hospitalId' is not null or undefined
27931
28561
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
27932
28562
  // verify required parameter 'specialtyId' is not null or undefined
@@ -27949,6 +28579,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27949
28579
  // oauth required
27950
28580
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27951
28581
 
28582
+ if (languageCode !== undefined) {
28583
+ localVarQueryParameter['languageCode'] = languageCode;
28584
+ }
28585
+
28586
+ if (returnDefaultValue !== undefined) {
28587
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
28588
+ }
28589
+
27952
28590
 
27953
28591
 
27954
28592
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28653,7 +29291,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28653
29291
  * @summary Get all Hospitals.
28654
29292
  * @param {string} [hospitalId]
28655
29293
  * @param {string} [name]
28656
- * @param {string} [description]
28657
29294
  * @param {string} [countryId]
28658
29295
  * @param {Date} [created]
28659
29296
  * @param {MarketingType} [marketingType]
@@ -28671,7 +29308,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28671
29308
  * @param {*} [options] Override http request option.
28672
29309
  * @throws {RequiredError}
28673
29310
  */
28674
- apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29311
+ apiV1HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28675
29312
  const localVarPath = `/api/v1/hospitals/simple`;
28676
29313
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28677
29314
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -28696,10 +29333,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28696
29333
  localVarQueryParameter['Name'] = name;
28697
29334
  }
28698
29335
 
28699
- if (description !== undefined) {
28700
- localVarQueryParameter['Description'] = description;
28701
- }
28702
-
28703
29336
  if (countryId !== undefined) {
28704
29337
  localVarQueryParameter['CountryId'] = countryId;
28705
29338
  }
@@ -28833,7 +29466,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28833
29466
  * @summary Get all Hospitals.
28834
29467
  * @param {string} [hospitalId]
28835
29468
  * @param {string} [name]
28836
- * @param {string} [description]
28837
29469
  * @param {string} [countryId]
28838
29470
  * @param {Date} [created]
28839
29471
  * @param {MarketingType} [marketingType]
@@ -28851,8 +29483,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28851
29483
  * @param {*} [options] Override http request option.
28852
29484
  * @throws {RequiredError}
28853
29485
  */
28854
- async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
28855
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
29486
+ async apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
29487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
28856
29488
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28857
29489
  },
28858
29490
  /**
@@ -29223,16 +29855,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29223
29855
  * @param {string} [specialtyId]
29224
29856
  * @param {string} [specialtyName]
29225
29857
  * @param {string} [specialtyTypeId]
29858
+ * @param {string} [title]
29226
29859
  * @param {MarketingType} [marketingType]
29227
- * @param {Date} [created]
29860
+ * @param {string} [languageCode]
29861
+ * @param {boolean} [showHidden]
29862
+ * @param {boolean} [returnDefaultValue]
29228
29863
  * @param {number} [page]
29229
29864
  * @param {number} [limit]
29230
29865
  * @param {Date} [lastRetrieved]
29231
29866
  * @param {*} [options] Override http request option.
29232
29867
  * @throws {RequiredError}
29233
29868
  */
29234
- async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
29235
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options);
29869
+ async apiV1HospitalsHospitalIdSpecialtiesGet(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>> {
29870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
29236
29871
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29237
29872
  },
29238
29873
  /**
@@ -29264,11 +29899,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29264
29899
  * @summary Get HospitalSpecialty.
29265
29900
  * @param {string} hospitalId
29266
29901
  * @param {string} specialtyId
29902
+ * @param {string} [languageCode]
29903
+ * @param {boolean} [returnDefaultValue]
29267
29904
  * @param {*} [options] Override http request option.
29268
29905
  * @throws {RequiredError}
29269
29906
  */
29270
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
29271
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
29907
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
29908
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
29272
29909
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29273
29910
  },
29274
29911
  /**
@@ -29457,7 +30094,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29457
30094
  * @summary Get all Hospitals.
29458
30095
  * @param {string} [hospitalId]
29459
30096
  * @param {string} [name]
29460
- * @param {string} [description]
29461
30097
  * @param {string} [countryId]
29462
30098
  * @param {Date} [created]
29463
30099
  * @param {MarketingType} [marketingType]
@@ -29475,8 +30111,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29475
30111
  * @param {*} [options] Override http request option.
29476
30112
  * @throws {RequiredError}
29477
30113
  */
29478
- async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
29479
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
30114
+ async apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
30115
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
29480
30116
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29481
30117
  },
29482
30118
  /**
@@ -29506,7 +30142,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29506
30142
  * @summary Get all Hospitals.
29507
30143
  * @param {string} [hospitalId]
29508
30144
  * @param {string} [name]
29509
- * @param {string} [description]
29510
30145
  * @param {string} [countryId]
29511
30146
  * @param {Date} [created]
29512
30147
  * @param {MarketingType} [marketingType]
@@ -29524,8 +30159,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29524
30159
  * @param {*} [options] Override http request option.
29525
30160
  * @throws {RequiredError}
29526
30161
  */
29527
- apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
29528
- return localVarFp.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30162
+ apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
30163
+ return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29529
30164
  },
29530
30165
  /**
29531
30166
  *
@@ -29868,16 +30503,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29868
30503
  * @param {string} [specialtyId]
29869
30504
  * @param {string} [specialtyName]
29870
30505
  * @param {string} [specialtyTypeId]
30506
+ * @param {string} [title]
29871
30507
  * @param {MarketingType} [marketingType]
29872
- * @param {Date} [created]
30508
+ * @param {string} [languageCode]
30509
+ * @param {boolean} [showHidden]
30510
+ * @param {boolean} [returnDefaultValue]
29873
30511
  * @param {number} [page]
29874
30512
  * @param {number} [limit]
29875
30513
  * @param {Date} [lastRetrieved]
29876
30514
  * @param {*} [options] Override http request option.
29877
30515
  * @throws {RequiredError}
29878
30516
  */
29879
- apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
29880
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30517
+ apiV1HospitalsHospitalIdSpecialtiesGet(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> {
30518
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29881
30519
  },
29882
30520
  /**
29883
30521
  *
@@ -29906,11 +30544,13 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29906
30544
  * @summary Get HospitalSpecialty.
29907
30545
  * @param {string} hospitalId
29908
30546
  * @param {string} specialtyId
30547
+ * @param {string} [languageCode]
30548
+ * @param {boolean} [returnDefaultValue]
29909
30549
  * @param {*} [options] Override http request option.
29910
30550
  * @throws {RequiredError}
29911
30551
  */
29912
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
29913
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
30552
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
30553
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29914
30554
  },
29915
30555
  /**
29916
30556
  *
@@ -30086,7 +30726,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30086
30726
  * @summary Get all Hospitals.
30087
30727
  * @param {string} [hospitalId]
30088
30728
  * @param {string} [name]
30089
- * @param {string} [description]
30090
30729
  * @param {string} [countryId]
30091
30730
  * @param {Date} [created]
30092
30731
  * @param {MarketingType} [marketingType]
@@ -30104,8 +30743,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30104
30743
  * @param {*} [options] Override http request option.
30105
30744
  * @throws {RequiredError}
30106
30745
  */
30107
- apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
30108
- return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30746
+ apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
30747
+ return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
30109
30748
  },
30110
30749
  /**
30111
30750
  *
@@ -30133,7 +30772,6 @@ export class HospitalsApi extends BaseAPI {
30133
30772
  * @summary Get all Hospitals.
30134
30773
  * @param {string} [hospitalId]
30135
30774
  * @param {string} [name]
30136
- * @param {string} [description]
30137
30775
  * @param {string} [countryId]
30138
30776
  * @param {Date} [created]
30139
30777
  * @param {MarketingType} [marketingType]
@@ -30152,8 +30790,8 @@ export class HospitalsApi extends BaseAPI {
30152
30790
  * @throws {RequiredError}
30153
30791
  * @memberof HospitalsApi
30154
30792
  */
30155
- public apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30156
- return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30793
+ public apiV1HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30794
+ return HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30157
30795
  }
30158
30796
 
30159
30797
  /**
@@ -30551,8 +31189,11 @@ export class HospitalsApi extends BaseAPI {
30551
31189
  * @param {string} [specialtyId]
30552
31190
  * @param {string} [specialtyName]
30553
31191
  * @param {string} [specialtyTypeId]
31192
+ * @param {string} [title]
30554
31193
  * @param {MarketingType} [marketingType]
30555
- * @param {Date} [created]
31194
+ * @param {string} [languageCode]
31195
+ * @param {boolean} [showHidden]
31196
+ * @param {boolean} [returnDefaultValue]
30556
31197
  * @param {number} [page]
30557
31198
  * @param {number} [limit]
30558
31199
  * @param {Date} [lastRetrieved]
@@ -30560,8 +31201,8 @@ export class HospitalsApi extends BaseAPI {
30560
31201
  * @throws {RequiredError}
30561
31202
  * @memberof HospitalsApi
30562
31203
  */
30563
- public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30564
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
31204
+ public apiV1HospitalsHospitalIdSpecialtiesGet(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) {
31205
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30565
31206
  }
30566
31207
 
30567
31208
  /**
@@ -30595,12 +31236,14 @@ export class HospitalsApi extends BaseAPI {
30595
31236
  * @summary Get HospitalSpecialty.
30596
31237
  * @param {string} hospitalId
30597
31238
  * @param {string} specialtyId
31239
+ * @param {string} [languageCode]
31240
+ * @param {boolean} [returnDefaultValue]
30598
31241
  * @param {*} [options] Override http request option.
30599
31242
  * @throws {RequiredError}
30600
31243
  * @memberof HospitalsApi
30601
31244
  */
30602
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
30603
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
31245
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
31246
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
30604
31247
  }
30605
31248
 
30606
31249
  /**
@@ -30801,7 +31444,6 @@ export class HospitalsApi extends BaseAPI {
30801
31444
  * @summary Get all Hospitals.
30802
31445
  * @param {string} [hospitalId]
30803
31446
  * @param {string} [name]
30804
- * @param {string} [description]
30805
31447
  * @param {string} [countryId]
30806
31448
  * @param {Date} [created]
30807
31449
  * @param {MarketingType} [marketingType]
@@ -30820,8 +31462,8 @@ export class HospitalsApi extends BaseAPI {
30820
31462
  * @throws {RequiredError}
30821
31463
  * @memberof HospitalsApi
30822
31464
  */
30823
- public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
30824
- return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
31465
+ public apiV1HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
31466
+ return HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
30825
31467
  }
30826
31468
 
30827
31469
  /**
@@ -34568,29 +35210,28 @@ export class ProfilesApi extends BaseAPI {
34568
35210
 
34569
35211
 
34570
35212
  /**
34571
- * ServiceReviewsApi - axios parameter creator
35213
+ * SearchApi - axios parameter creator
34572
35214
  * @export
34573
35215
  */
34574
- export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
35216
+ export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
34575
35217
  return {
34576
35218
  /**
34577
35219
  *
34578
- * @summary Get all ServiceReviews.
34579
- * @param {string} [serviceId]
34580
- * @param {string} [serviceName]
34581
- * @param {string} [patientId]
34582
- * @param {string} [patientName]
34583
- * @param {boolean} [recommended]
34584
- * @param {number} [rate]
34585
- * @param {ReviewType} [reviewType]
35220
+ * @summary Search deals using Azure Search Service
35221
+ * @param {string} [searchTerm]
35222
+ * @param {boolean} [countOnly]
35223
+ * @param {string} [countryId]
35224
+ * @param {string} [hospitalId]
35225
+ * @param {MarketingType} [marketingType]
35226
+ * @param {string} [languageCode]
34586
35227
  * @param {number} [page]
34587
35228
  * @param {number} [limit]
34588
35229
  * @param {Date} [lastRetrieved]
34589
35230
  * @param {*} [options] Override http request option.
34590
35231
  * @throws {RequiredError}
34591
35232
  */
34592
- apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34593
- const localVarPath = `/api/v1/servicereviews`;
35233
+ apiV1SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35234
+ const localVarPath = `/api/v1/search/deals`;
34594
35235
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34595
35236
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34596
35237
  let baseOptions;
@@ -34606,32 +35247,28 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34606
35247
  // oauth required
34607
35248
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34608
35249
 
34609
- if (serviceId !== undefined) {
34610
- localVarQueryParameter['ServiceId'] = serviceId;
35250
+ if (searchTerm !== undefined) {
35251
+ localVarQueryParameter['SearchTerm'] = searchTerm;
34611
35252
  }
34612
35253
 
34613
- if (serviceName !== undefined) {
34614
- localVarQueryParameter['ServiceName'] = serviceName;
35254
+ if (countOnly !== undefined) {
35255
+ localVarQueryParameter['CountOnly'] = countOnly;
34615
35256
  }
34616
35257
 
34617
- if (patientId !== undefined) {
34618
- localVarQueryParameter['PatientId'] = patientId;
34619
- }
34620
-
34621
- if (patientName !== undefined) {
34622
- localVarQueryParameter['PatientName'] = patientName;
35258
+ if (countryId !== undefined) {
35259
+ localVarQueryParameter['CountryId'] = countryId;
34623
35260
  }
34624
35261
 
34625
- if (recommended !== undefined) {
34626
- localVarQueryParameter['Recommended'] = recommended;
35262
+ if (hospitalId !== undefined) {
35263
+ localVarQueryParameter['HospitalId'] = hospitalId;
34627
35264
  }
34628
35265
 
34629
- if (rate !== undefined) {
34630
- localVarQueryParameter['Rate'] = rate;
35266
+ if (marketingType !== undefined) {
35267
+ localVarQueryParameter['MarketingType'] = marketingType;
34631
35268
  }
34632
35269
 
34633
- if (reviewType !== undefined) {
34634
- localVarQueryParameter['ReviewType'] = reviewType;
35270
+ if (languageCode !== undefined) {
35271
+ localVarQueryParameter['LanguageCode'] = languageCode;
34635
35272
  }
34636
35273
 
34637
35274
  if (page !== undefined) {
@@ -34661,13 +35298,13 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34661
35298
  },
34662
35299
  /**
34663
35300
  *
34664
- * @summary Create a ServiceReview.
34665
- * @param {CreateServiceReviewCommand} [createServiceReviewCommand]
35301
+ * @summary Update or Re-create deals Azure Search Services Index
35302
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
34666
35303
  * @param {*} [options] Override http request option.
34667
35304
  * @throws {RequiredError}
34668
35305
  */
34669
- apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34670
- const localVarPath = `/api/v1/servicereviews`;
35306
+ apiV1SearchDealsPost: async (updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35307
+ const localVarPath = `/api/v1/search/deals`;
34671
35308
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34672
35309
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34673
35310
  let baseOptions;
@@ -34690,7 +35327,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34690
35327
  setSearchParams(localVarUrlObj, localVarQueryParameter);
34691
35328
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34692
35329
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34693
- localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
35330
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
34694
35331
 
34695
35332
  return {
34696
35333
  url: toPathString(localVarUrlObj),
@@ -34699,16 +35336,21 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34699
35336
  },
34700
35337
  /**
34701
35338
  *
34702
- * @summary Delete ServiceReview.
34703
- * @param {string} serviceReviewId
35339
+ * @summary Search doctors using Azure Search Services
35340
+ * @param {string} [searchTerm]
35341
+ * @param {boolean} [countOnly]
35342
+ * @param {string} [countryId]
35343
+ * @param {string} [hospitalId]
35344
+ * @param {MarketingType} [marketingType]
35345
+ * @param {string} [languageCode]
35346
+ * @param {number} [page]
35347
+ * @param {number} [limit]
35348
+ * @param {Date} [lastRetrieved]
34704
35349
  * @param {*} [options] Override http request option.
34705
35350
  * @throws {RequiredError}
34706
35351
  */
34707
- apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34708
- // verify required parameter 'serviceReviewId' is not null or undefined
34709
- assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
34710
- const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
34711
- .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
35352
+ apiV1SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35353
+ const localVarPath = `/api/v1/search/doctors`;
34712
35354
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34713
35355
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34714
35356
  let baseOptions;
@@ -34716,7 +35358,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34716
35358
  baseOptions = configuration.baseOptions;
34717
35359
  }
34718
35360
 
34719
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
35361
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34720
35362
  const localVarHeaderParameter = {} as any;
34721
35363
  const localVarQueryParameter = {} as any;
34722
35364
 
@@ -34724,6 +35366,44 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34724
35366
  // oauth required
34725
35367
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34726
35368
 
35369
+ if (searchTerm !== undefined) {
35370
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35371
+ }
35372
+
35373
+ if (countOnly !== undefined) {
35374
+ localVarQueryParameter['CountOnly'] = countOnly;
35375
+ }
35376
+
35377
+ if (countryId !== undefined) {
35378
+ localVarQueryParameter['CountryId'] = countryId;
35379
+ }
35380
+
35381
+ if (hospitalId !== undefined) {
35382
+ localVarQueryParameter['HospitalId'] = hospitalId;
35383
+ }
35384
+
35385
+ if (marketingType !== undefined) {
35386
+ localVarQueryParameter['MarketingType'] = marketingType;
35387
+ }
35388
+
35389
+ if (languageCode !== undefined) {
35390
+ localVarQueryParameter['LanguageCode'] = languageCode;
35391
+ }
35392
+
35393
+ if (page !== undefined) {
35394
+ localVarQueryParameter['page'] = page;
35395
+ }
35396
+
35397
+ if (limit !== undefined) {
35398
+ localVarQueryParameter['limit'] = limit;
35399
+ }
35400
+
35401
+ if (lastRetrieved !== undefined) {
35402
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35403
+ (lastRetrieved as any).toISOString() :
35404
+ lastRetrieved;
35405
+ }
35406
+
34727
35407
 
34728
35408
 
34729
35409
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34737,15 +35417,59 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34737
35417
  },
34738
35418
  /**
34739
35419
  *
34740
- * @param {string} serviceReviewId
35420
+ * @summary Update or Re-create doctors Azure Search Services Index
35421
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
34741
35422
  * @param {*} [options] Override http request option.
34742
35423
  * @throws {RequiredError}
34743
35424
  */
34744
- apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34745
- // verify required parameter 'serviceReviewId' is not null or undefined
34746
- assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
34747
- const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
34748
- .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
35425
+ apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35426
+ const localVarPath = `/api/v1/search/doctors`;
35427
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35428
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35429
+ let baseOptions;
35430
+ if (configuration) {
35431
+ baseOptions = configuration.baseOptions;
35432
+ }
35433
+
35434
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35435
+ const localVarHeaderParameter = {} as any;
35436
+ const localVarQueryParameter = {} as any;
35437
+
35438
+ // authentication oauth2 required
35439
+ // oauth required
35440
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35441
+
35442
+
35443
+
35444
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35445
+
35446
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35447
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35448
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35449
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
35450
+
35451
+ return {
35452
+ url: toPathString(localVarUrlObj),
35453
+ options: localVarRequestOptions,
35454
+ };
35455
+ },
35456
+ /**
35457
+ *
35458
+ * @summary Get the number of items in each search index
35459
+ * @param {string} [searchTerm]
35460
+ * @param {boolean} [countOnly]
35461
+ * @param {string} [countryId]
35462
+ * @param {string} [hospitalId]
35463
+ * @param {MarketingType} [marketingType]
35464
+ * @param {string} [languageCode]
35465
+ * @param {number} [page]
35466
+ * @param {number} [limit]
35467
+ * @param {Date} [lastRetrieved]
35468
+ * @param {*} [options] Override http request option.
35469
+ * @throws {RequiredError}
35470
+ */
35471
+ apiV1SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35472
+ const localVarPath = `/api/v1/search/getcount`;
34749
35473
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34750
35474
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34751
35475
  let baseOptions;
@@ -34761,6 +35485,44 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34761
35485
  // oauth required
34762
35486
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34763
35487
 
35488
+ if (searchTerm !== undefined) {
35489
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35490
+ }
35491
+
35492
+ if (countOnly !== undefined) {
35493
+ localVarQueryParameter['CountOnly'] = countOnly;
35494
+ }
35495
+
35496
+ if (countryId !== undefined) {
35497
+ localVarQueryParameter['CountryId'] = countryId;
35498
+ }
35499
+
35500
+ if (hospitalId !== undefined) {
35501
+ localVarQueryParameter['HospitalId'] = hospitalId;
35502
+ }
35503
+
35504
+ if (marketingType !== undefined) {
35505
+ localVarQueryParameter['MarketingType'] = marketingType;
35506
+ }
35507
+
35508
+ if (languageCode !== undefined) {
35509
+ localVarQueryParameter['LanguageCode'] = languageCode;
35510
+ }
35511
+
35512
+ if (page !== undefined) {
35513
+ localVarQueryParameter['page'] = page;
35514
+ }
35515
+
35516
+ if (limit !== undefined) {
35517
+ localVarQueryParameter['limit'] = limit;
35518
+ }
35519
+
35520
+ if (lastRetrieved !== undefined) {
35521
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35522
+ (lastRetrieved as any).toISOString() :
35523
+ lastRetrieved;
35524
+ }
35525
+
34764
35526
 
34765
35527
 
34766
35528
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34774,21 +35536,21 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34774
35536
  },
34775
35537
  /**
34776
35538
  *
34777
- * @summary Get all ServiceReviewMedias.
34778
- * @param {string} serviceReviewId
34779
- * @param {string} [id]
34780
- * @param {MediaType} [mediaType]
35539
+ * @summary Search hospitals using Azure Search Services
35540
+ * @param {string} [searchTerm]
35541
+ * @param {boolean} [countOnly]
35542
+ * @param {string} [countryId]
35543
+ * @param {string} [hospitalId]
35544
+ * @param {MarketingType} [marketingType]
35545
+ * @param {string} [languageCode]
34781
35546
  * @param {number} [page]
34782
35547
  * @param {number} [limit]
34783
35548
  * @param {Date} [lastRetrieved]
34784
35549
  * @param {*} [options] Override http request option.
34785
35550
  * @throws {RequiredError}
34786
35551
  */
34787
- apiV1ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34788
- // verify required parameter 'serviceReviewId' is not null or undefined
34789
- assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
34790
- const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
34791
- .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
35552
+ apiV1SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35553
+ const localVarPath = `/api/v1/search/hospitals`;
34792
35554
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34793
35555
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34794
35556
  let baseOptions;
@@ -34804,12 +35566,1118 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34804
35566
  // oauth required
34805
35567
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34806
35568
 
34807
- if (id !== undefined) {
34808
- localVarQueryParameter['Id'] = id;
35569
+ if (searchTerm !== undefined) {
35570
+ localVarQueryParameter['SearchTerm'] = searchTerm;
34809
35571
  }
34810
35572
 
34811
- if (mediaType !== undefined) {
34812
- localVarQueryParameter['MediaType'] = mediaType;
35573
+ if (countOnly !== undefined) {
35574
+ localVarQueryParameter['CountOnly'] = countOnly;
35575
+ }
35576
+
35577
+ if (countryId !== undefined) {
35578
+ localVarQueryParameter['CountryId'] = countryId;
35579
+ }
35580
+
35581
+ if (hospitalId !== undefined) {
35582
+ localVarQueryParameter['HospitalId'] = hospitalId;
35583
+ }
35584
+
35585
+ if (marketingType !== undefined) {
35586
+ localVarQueryParameter['MarketingType'] = marketingType;
35587
+ }
35588
+
35589
+ if (languageCode !== undefined) {
35590
+ localVarQueryParameter['LanguageCode'] = languageCode;
35591
+ }
35592
+
35593
+ if (page !== undefined) {
35594
+ localVarQueryParameter['page'] = page;
35595
+ }
35596
+
35597
+ if (limit !== undefined) {
35598
+ localVarQueryParameter['limit'] = limit;
35599
+ }
35600
+
35601
+ if (lastRetrieved !== undefined) {
35602
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35603
+ (lastRetrieved as any).toISOString() :
35604
+ lastRetrieved;
35605
+ }
35606
+
35607
+
35608
+
35609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35611
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35612
+
35613
+ return {
35614
+ url: toPathString(localVarUrlObj),
35615
+ options: localVarRequestOptions,
35616
+ };
35617
+ },
35618
+ /**
35619
+ *
35620
+ * @summary Update or Re-create hospitals Azure Search Services Index
35621
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
35622
+ * @param {*} [options] Override http request option.
35623
+ * @throws {RequiredError}
35624
+ */
35625
+ apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35626
+ const localVarPath = `/api/v1/search/hospitals`;
35627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35629
+ let baseOptions;
35630
+ if (configuration) {
35631
+ baseOptions = configuration.baseOptions;
35632
+ }
35633
+
35634
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35635
+ const localVarHeaderParameter = {} as any;
35636
+ const localVarQueryParameter = {} as any;
35637
+
35638
+ // authentication oauth2 required
35639
+ // oauth required
35640
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35641
+
35642
+
35643
+
35644
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35645
+
35646
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35647
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35648
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35649
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
35650
+
35651
+ return {
35652
+ url: toPathString(localVarUrlObj),
35653
+ options: localVarRequestOptions,
35654
+ };
35655
+ },
35656
+ /**
35657
+ *
35658
+ * @summary Search specialties using Azure Search Service
35659
+ * @param {string} [searchTerm]
35660
+ * @param {boolean} [countOnly]
35661
+ * @param {string} [countryId]
35662
+ * @param {string} [hospitalId]
35663
+ * @param {MarketingType} [marketingType]
35664
+ * @param {string} [languageCode]
35665
+ * @param {number} [page]
35666
+ * @param {number} [limit]
35667
+ * @param {Date} [lastRetrieved]
35668
+ * @param {*} [options] Override http request option.
35669
+ * @throws {RequiredError}
35670
+ */
35671
+ apiV1SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35672
+ const localVarPath = `/api/v1/search/specialties`;
35673
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35674
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35675
+ let baseOptions;
35676
+ if (configuration) {
35677
+ baseOptions = configuration.baseOptions;
35678
+ }
35679
+
35680
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35681
+ const localVarHeaderParameter = {} as any;
35682
+ const localVarQueryParameter = {} as any;
35683
+
35684
+ // authentication oauth2 required
35685
+ // oauth required
35686
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35687
+
35688
+ if (searchTerm !== undefined) {
35689
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35690
+ }
35691
+
35692
+ if (countOnly !== undefined) {
35693
+ localVarQueryParameter['CountOnly'] = countOnly;
35694
+ }
35695
+
35696
+ if (countryId !== undefined) {
35697
+ localVarQueryParameter['CountryId'] = countryId;
35698
+ }
35699
+
35700
+ if (hospitalId !== undefined) {
35701
+ localVarQueryParameter['HospitalId'] = hospitalId;
35702
+ }
35703
+
35704
+ if (marketingType !== undefined) {
35705
+ localVarQueryParameter['MarketingType'] = marketingType;
35706
+ }
35707
+
35708
+ if (languageCode !== undefined) {
35709
+ localVarQueryParameter['LanguageCode'] = languageCode;
35710
+ }
35711
+
35712
+ if (page !== undefined) {
35713
+ localVarQueryParameter['page'] = page;
35714
+ }
35715
+
35716
+ if (limit !== undefined) {
35717
+ localVarQueryParameter['limit'] = limit;
35718
+ }
35719
+
35720
+ if (lastRetrieved !== undefined) {
35721
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35722
+ (lastRetrieved as any).toISOString() :
35723
+ lastRetrieved;
35724
+ }
35725
+
35726
+
35727
+
35728
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35729
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35730
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35731
+
35732
+ return {
35733
+ url: toPathString(localVarUrlObj),
35734
+ options: localVarRequestOptions,
35735
+ };
35736
+ },
35737
+ /**
35738
+ *
35739
+ * @summary Update or Re-create specialties Azure Search Services Index
35740
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
35741
+ * @param {*} [options] Override http request option.
35742
+ * @throws {RequiredError}
35743
+ */
35744
+ apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35745
+ const localVarPath = `/api/v1/search/specialties`;
35746
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35747
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35748
+ let baseOptions;
35749
+ if (configuration) {
35750
+ baseOptions = configuration.baseOptions;
35751
+ }
35752
+
35753
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35754
+ const localVarHeaderParameter = {} as any;
35755
+ const localVarQueryParameter = {} as any;
35756
+
35757
+ // authentication oauth2 required
35758
+ // oauth required
35759
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35760
+
35761
+
35762
+
35763
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35764
+
35765
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35766
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35767
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35768
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
35769
+
35770
+ return {
35771
+ url: toPathString(localVarUrlObj),
35772
+ options: localVarRequestOptions,
35773
+ };
35774
+ },
35775
+ /**
35776
+ *
35777
+ * @summary Search specialtyTypes using Azure Search Services
35778
+ * @param {string} [searchTerm]
35779
+ * @param {boolean} [countOnly]
35780
+ * @param {string} [countryId]
35781
+ * @param {string} [hospitalId]
35782
+ * @param {MarketingType} [marketingType]
35783
+ * @param {string} [languageCode]
35784
+ * @param {number} [page]
35785
+ * @param {number} [limit]
35786
+ * @param {Date} [lastRetrieved]
35787
+ * @param {*} [options] Override http request option.
35788
+ * @throws {RequiredError}
35789
+ */
35790
+ apiV1SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35791
+ const localVarPath = `/api/v1/search/specialtytypes`;
35792
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35793
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35794
+ let baseOptions;
35795
+ if (configuration) {
35796
+ baseOptions = configuration.baseOptions;
35797
+ }
35798
+
35799
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35800
+ const localVarHeaderParameter = {} as any;
35801
+ const localVarQueryParameter = {} as any;
35802
+
35803
+ // authentication oauth2 required
35804
+ // oauth required
35805
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35806
+
35807
+ if (searchTerm !== undefined) {
35808
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35809
+ }
35810
+
35811
+ if (countOnly !== undefined) {
35812
+ localVarQueryParameter['CountOnly'] = countOnly;
35813
+ }
35814
+
35815
+ if (countryId !== undefined) {
35816
+ localVarQueryParameter['CountryId'] = countryId;
35817
+ }
35818
+
35819
+ if (hospitalId !== undefined) {
35820
+ localVarQueryParameter['HospitalId'] = hospitalId;
35821
+ }
35822
+
35823
+ if (marketingType !== undefined) {
35824
+ localVarQueryParameter['MarketingType'] = marketingType;
35825
+ }
35826
+
35827
+ if (languageCode !== undefined) {
35828
+ localVarQueryParameter['LanguageCode'] = languageCode;
35829
+ }
35830
+
35831
+ if (page !== undefined) {
35832
+ localVarQueryParameter['page'] = page;
35833
+ }
35834
+
35835
+ if (limit !== undefined) {
35836
+ localVarQueryParameter['limit'] = limit;
35837
+ }
35838
+
35839
+ if (lastRetrieved !== undefined) {
35840
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35841
+ (lastRetrieved as any).toISOString() :
35842
+ lastRetrieved;
35843
+ }
35844
+
35845
+
35846
+
35847
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35848
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35849
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35850
+
35851
+ return {
35852
+ url: toPathString(localVarUrlObj),
35853
+ options: localVarRequestOptions,
35854
+ };
35855
+ },
35856
+ /**
35857
+ *
35858
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
35859
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
35860
+ * @param {*} [options] Override http request option.
35861
+ * @throws {RequiredError}
35862
+ */
35863
+ apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35864
+ const localVarPath = `/api/v1/search/specialtytypes`;
35865
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35866
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35867
+ let baseOptions;
35868
+ if (configuration) {
35869
+ baseOptions = configuration.baseOptions;
35870
+ }
35871
+
35872
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35873
+ const localVarHeaderParameter = {} as any;
35874
+ const localVarQueryParameter = {} as any;
35875
+
35876
+ // authentication oauth2 required
35877
+ // oauth required
35878
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35879
+
35880
+
35881
+
35882
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35883
+
35884
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35885
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35886
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35887
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration)
35888
+
35889
+ return {
35890
+ url: toPathString(localVarUrlObj),
35891
+ options: localVarRequestOptions,
35892
+ };
35893
+ },
35894
+ }
35895
+ };
35896
+
35897
+ /**
35898
+ * SearchApi - functional programming interface
35899
+ * @export
35900
+ */
35901
+ export const SearchApiFp = function(configuration?: Configuration) {
35902
+ const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
35903
+ return {
35904
+ /**
35905
+ *
35906
+ * @summary Search deals using Azure Search Service
35907
+ * @param {string} [searchTerm]
35908
+ * @param {boolean} [countOnly]
35909
+ * @param {string} [countryId]
35910
+ * @param {string} [hospitalId]
35911
+ * @param {MarketingType} [marketingType]
35912
+ * @param {string} [languageCode]
35913
+ * @param {number} [page]
35914
+ * @param {number} [limit]
35915
+ * @param {Date} [lastRetrieved]
35916
+ * @param {*} [options] Override http request option.
35917
+ * @throws {RequiredError}
35918
+ */
35919
+ async apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
35920
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35921
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35922
+ },
35923
+ /**
35924
+ *
35925
+ * @summary Update or Re-create deals Azure Search Services Index
35926
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
35927
+ * @param {*} [options] Override http request option.
35928
+ * @throws {RequiredError}
35929
+ */
35930
+ async apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
35932
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35933
+ },
35934
+ /**
35935
+ *
35936
+ * @summary Search doctors using Azure Search Services
35937
+ * @param {string} [searchTerm]
35938
+ * @param {boolean} [countOnly]
35939
+ * @param {string} [countryId]
35940
+ * @param {string} [hospitalId]
35941
+ * @param {MarketingType} [marketingType]
35942
+ * @param {string} [languageCode]
35943
+ * @param {number} [page]
35944
+ * @param {number} [limit]
35945
+ * @param {Date} [lastRetrieved]
35946
+ * @param {*} [options] Override http request option.
35947
+ * @throws {RequiredError}
35948
+ */
35949
+ async apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
35950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35951
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35952
+ },
35953
+ /**
35954
+ *
35955
+ * @summary Update or Re-create doctors Azure Search Services Index
35956
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
35957
+ * @param {*} [options] Override http request option.
35958
+ * @throws {RequiredError}
35959
+ */
35960
+ async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
35962
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35963
+ },
35964
+ /**
35965
+ *
35966
+ * @summary Get the number of items in each search index
35967
+ * @param {string} [searchTerm]
35968
+ * @param {boolean} [countOnly]
35969
+ * @param {string} [countryId]
35970
+ * @param {string} [hospitalId]
35971
+ * @param {MarketingType} [marketingType]
35972
+ * @param {string} [languageCode]
35973
+ * @param {number} [page]
35974
+ * @param {number} [limit]
35975
+ * @param {Date} [lastRetrieved]
35976
+ * @param {*} [options] Override http request option.
35977
+ * @throws {RequiredError}
35978
+ */
35979
+ async apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchModel>> {
35980
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35981
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35982
+ },
35983
+ /**
35984
+ *
35985
+ * @summary Search hospitals using Azure Search Services
35986
+ * @param {string} [searchTerm]
35987
+ * @param {boolean} [countOnly]
35988
+ * @param {string} [countryId]
35989
+ * @param {string} [hospitalId]
35990
+ * @param {MarketingType} [marketingType]
35991
+ * @param {string} [languageCode]
35992
+ * @param {number} [page]
35993
+ * @param {number} [limit]
35994
+ * @param {Date} [lastRetrieved]
35995
+ * @param {*} [options] Override http request option.
35996
+ * @throws {RequiredError}
35997
+ */
35998
+ async apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
35999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
36000
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36001
+ },
36002
+ /**
36003
+ *
36004
+ * @summary Update or Re-create hospitals Azure Search Services Index
36005
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
36006
+ * @param {*} [options] Override http request option.
36007
+ * @throws {RequiredError}
36008
+ */
36009
+ async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
36010
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
36011
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36012
+ },
36013
+ /**
36014
+ *
36015
+ * @summary Search specialties using Azure Search Service
36016
+ * @param {string} [searchTerm]
36017
+ * @param {boolean} [countOnly]
36018
+ * @param {string} [countryId]
36019
+ * @param {string} [hospitalId]
36020
+ * @param {MarketingType} [marketingType]
36021
+ * @param {string} [languageCode]
36022
+ * @param {number} [page]
36023
+ * @param {number} [limit]
36024
+ * @param {Date} [lastRetrieved]
36025
+ * @param {*} [options] Override http request option.
36026
+ * @throws {RequiredError}
36027
+ */
36028
+ async apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
36029
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
36030
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36031
+ },
36032
+ /**
36033
+ *
36034
+ * @summary Update or Re-create specialties Azure Search Services Index
36035
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
36036
+ * @param {*} [options] Override http request option.
36037
+ * @throws {RequiredError}
36038
+ */
36039
+ async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
36040
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
36041
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36042
+ },
36043
+ /**
36044
+ *
36045
+ * @summary Search specialtyTypes using Azure Search Services
36046
+ * @param {string} [searchTerm]
36047
+ * @param {boolean} [countOnly]
36048
+ * @param {string} [countryId]
36049
+ * @param {string} [hospitalId]
36050
+ * @param {MarketingType} [marketingType]
36051
+ * @param {string} [languageCode]
36052
+ * @param {number} [page]
36053
+ * @param {number} [limit]
36054
+ * @param {Date} [lastRetrieved]
36055
+ * @param {*} [options] Override http request option.
36056
+ * @throws {RequiredError}
36057
+ */
36058
+ async apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
36059
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
36060
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36061
+ },
36062
+ /**
36063
+ *
36064
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
36065
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
36066
+ * @param {*} [options] Override http request option.
36067
+ * @throws {RequiredError}
36068
+ */
36069
+ async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
36070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
36071
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36072
+ },
36073
+ }
36074
+ };
36075
+
36076
+ /**
36077
+ * SearchApi - factory interface
36078
+ * @export
36079
+ */
36080
+ export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36081
+ const localVarFp = SearchApiFp(configuration)
36082
+ return {
36083
+ /**
36084
+ *
36085
+ * @summary Search deals using Azure Search Service
36086
+ * @param {string} [searchTerm]
36087
+ * @param {boolean} [countOnly]
36088
+ * @param {string} [countryId]
36089
+ * @param {string} [hospitalId]
36090
+ * @param {MarketingType} [marketingType]
36091
+ * @param {string} [languageCode]
36092
+ * @param {number} [page]
36093
+ * @param {number} [limit]
36094
+ * @param {Date} [lastRetrieved]
36095
+ * @param {*} [options] Override http request option.
36096
+ * @throws {RequiredError}
36097
+ */
36098
+ apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
36099
+ return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36100
+ },
36101
+ /**
36102
+ *
36103
+ * @summary Update or Re-create deals Azure Search Services Index
36104
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
36105
+ * @param {*} [options] Override http request option.
36106
+ * @throws {RequiredError}
36107
+ */
36108
+ apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
36109
+ return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
36110
+ },
36111
+ /**
36112
+ *
36113
+ * @summary Search doctors using Azure Search Services
36114
+ * @param {string} [searchTerm]
36115
+ * @param {boolean} [countOnly]
36116
+ * @param {string} [countryId]
36117
+ * @param {string} [hospitalId]
36118
+ * @param {MarketingType} [marketingType]
36119
+ * @param {string} [languageCode]
36120
+ * @param {number} [page]
36121
+ * @param {number} [limit]
36122
+ * @param {Date} [lastRetrieved]
36123
+ * @param {*} [options] Override http request option.
36124
+ * @throws {RequiredError}
36125
+ */
36126
+ apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
36127
+ return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36128
+ },
36129
+ /**
36130
+ *
36131
+ * @summary Update or Re-create doctors Azure Search Services Index
36132
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
36133
+ * @param {*} [options] Override http request option.
36134
+ * @throws {RequiredError}
36135
+ */
36136
+ apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
36137
+ return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
36138
+ },
36139
+ /**
36140
+ *
36141
+ * @summary Get the number of items in each search index
36142
+ * @param {string} [searchTerm]
36143
+ * @param {boolean} [countOnly]
36144
+ * @param {string} [countryId]
36145
+ * @param {string} [hospitalId]
36146
+ * @param {MarketingType} [marketingType]
36147
+ * @param {string} [languageCode]
36148
+ * @param {number} [page]
36149
+ * @param {number} [limit]
36150
+ * @param {Date} [lastRetrieved]
36151
+ * @param {*} [options] Override http request option.
36152
+ * @throws {RequiredError}
36153
+ */
36154
+ apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
36155
+ return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36156
+ },
36157
+ /**
36158
+ *
36159
+ * @summary Search hospitals using Azure Search Services
36160
+ * @param {string} [searchTerm]
36161
+ * @param {boolean} [countOnly]
36162
+ * @param {string} [countryId]
36163
+ * @param {string} [hospitalId]
36164
+ * @param {MarketingType} [marketingType]
36165
+ * @param {string} [languageCode]
36166
+ * @param {number} [page]
36167
+ * @param {number} [limit]
36168
+ * @param {Date} [lastRetrieved]
36169
+ * @param {*} [options] Override http request option.
36170
+ * @throws {RequiredError}
36171
+ */
36172
+ apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
36173
+ return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36174
+ },
36175
+ /**
36176
+ *
36177
+ * @summary Update or Re-create hospitals Azure Search Services Index
36178
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
36179
+ * @param {*} [options] Override http request option.
36180
+ * @throws {RequiredError}
36181
+ */
36182
+ apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
36183
+ return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
36184
+ },
36185
+ /**
36186
+ *
36187
+ * @summary Search specialties using Azure Search Service
36188
+ * @param {string} [searchTerm]
36189
+ * @param {boolean} [countOnly]
36190
+ * @param {string} [countryId]
36191
+ * @param {string} [hospitalId]
36192
+ * @param {MarketingType} [marketingType]
36193
+ * @param {string} [languageCode]
36194
+ * @param {number} [page]
36195
+ * @param {number} [limit]
36196
+ * @param {Date} [lastRetrieved]
36197
+ * @param {*} [options] Override http request option.
36198
+ * @throws {RequiredError}
36199
+ */
36200
+ apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
36201
+ return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36202
+ },
36203
+ /**
36204
+ *
36205
+ * @summary Update or Re-create specialties Azure Search Services Index
36206
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
36207
+ * @param {*} [options] Override http request option.
36208
+ * @throws {RequiredError}
36209
+ */
36210
+ apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
36211
+ return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
36212
+ },
36213
+ /**
36214
+ *
36215
+ * @summary Search specialtyTypes using Azure Search Services
36216
+ * @param {string} [searchTerm]
36217
+ * @param {boolean} [countOnly]
36218
+ * @param {string} [countryId]
36219
+ * @param {string} [hospitalId]
36220
+ * @param {MarketingType} [marketingType]
36221
+ * @param {string} [languageCode]
36222
+ * @param {number} [page]
36223
+ * @param {number} [limit]
36224
+ * @param {Date} [lastRetrieved]
36225
+ * @param {*} [options] Override http request option.
36226
+ * @throws {RequiredError}
36227
+ */
36228
+ apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
36229
+ return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36230
+ },
36231
+ /**
36232
+ *
36233
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
36234
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
36235
+ * @param {*} [options] Override http request option.
36236
+ * @throws {RequiredError}
36237
+ */
36238
+ apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
36239
+ return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
36240
+ },
36241
+ };
36242
+ };
36243
+
36244
+ /**
36245
+ * SearchApi - object-oriented interface
36246
+ * @export
36247
+ * @class SearchApi
36248
+ * @extends {BaseAPI}
36249
+ */
36250
+ export class SearchApi extends BaseAPI {
36251
+ /**
36252
+ *
36253
+ * @summary Search deals using Azure Search Service
36254
+ * @param {string} [searchTerm]
36255
+ * @param {boolean} [countOnly]
36256
+ * @param {string} [countryId]
36257
+ * @param {string} [hospitalId]
36258
+ * @param {MarketingType} [marketingType]
36259
+ * @param {string} [languageCode]
36260
+ * @param {number} [page]
36261
+ * @param {number} [limit]
36262
+ * @param {Date} [lastRetrieved]
36263
+ * @param {*} [options] Override http request option.
36264
+ * @throws {RequiredError}
36265
+ * @memberof SearchApi
36266
+ */
36267
+ public apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36268
+ return SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36269
+ }
36270
+
36271
+ /**
36272
+ *
36273
+ * @summary Update or Re-create deals Azure Search Services Index
36274
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
36275
+ * @param {*} [options] Override http request option.
36276
+ * @throws {RequiredError}
36277
+ * @memberof SearchApi
36278
+ */
36279
+ public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
36280
+ return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36281
+ }
36282
+
36283
+ /**
36284
+ *
36285
+ * @summary Search doctors using Azure Search Services
36286
+ * @param {string} [searchTerm]
36287
+ * @param {boolean} [countOnly]
36288
+ * @param {string} [countryId]
36289
+ * @param {string} [hospitalId]
36290
+ * @param {MarketingType} [marketingType]
36291
+ * @param {string} [languageCode]
36292
+ * @param {number} [page]
36293
+ * @param {number} [limit]
36294
+ * @param {Date} [lastRetrieved]
36295
+ * @param {*} [options] Override http request option.
36296
+ * @throws {RequiredError}
36297
+ * @memberof SearchApi
36298
+ */
36299
+ public apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36300
+ return SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36301
+ }
36302
+
36303
+ /**
36304
+ *
36305
+ * @summary Update or Re-create doctors Azure Search Services Index
36306
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
36307
+ * @param {*} [options] Override http request option.
36308
+ * @throws {RequiredError}
36309
+ * @memberof SearchApi
36310
+ */
36311
+ public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
36312
+ return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36313
+ }
36314
+
36315
+ /**
36316
+ *
36317
+ * @summary Get the number of items in each search index
36318
+ * @param {string} [searchTerm]
36319
+ * @param {boolean} [countOnly]
36320
+ * @param {string} [countryId]
36321
+ * @param {string} [hospitalId]
36322
+ * @param {MarketingType} [marketingType]
36323
+ * @param {string} [languageCode]
36324
+ * @param {number} [page]
36325
+ * @param {number} [limit]
36326
+ * @param {Date} [lastRetrieved]
36327
+ * @param {*} [options] Override http request option.
36328
+ * @throws {RequiredError}
36329
+ * @memberof SearchApi
36330
+ */
36331
+ public apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36332
+ return SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36333
+ }
36334
+
36335
+ /**
36336
+ *
36337
+ * @summary Search hospitals using Azure Search Services
36338
+ * @param {string} [searchTerm]
36339
+ * @param {boolean} [countOnly]
36340
+ * @param {string} [countryId]
36341
+ * @param {string} [hospitalId]
36342
+ * @param {MarketingType} [marketingType]
36343
+ * @param {string} [languageCode]
36344
+ * @param {number} [page]
36345
+ * @param {number} [limit]
36346
+ * @param {Date} [lastRetrieved]
36347
+ * @param {*} [options] Override http request option.
36348
+ * @throws {RequiredError}
36349
+ * @memberof SearchApi
36350
+ */
36351
+ public apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36352
+ return SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36353
+ }
36354
+
36355
+ /**
36356
+ *
36357
+ * @summary Update or Re-create hospitals Azure Search Services Index
36358
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
36359
+ * @param {*} [options] Override http request option.
36360
+ * @throws {RequiredError}
36361
+ * @memberof SearchApi
36362
+ */
36363
+ public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
36364
+ return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36365
+ }
36366
+
36367
+ /**
36368
+ *
36369
+ * @summary Search specialties using Azure Search Service
36370
+ * @param {string} [searchTerm]
36371
+ * @param {boolean} [countOnly]
36372
+ * @param {string} [countryId]
36373
+ * @param {string} [hospitalId]
36374
+ * @param {MarketingType} [marketingType]
36375
+ * @param {string} [languageCode]
36376
+ * @param {number} [page]
36377
+ * @param {number} [limit]
36378
+ * @param {Date} [lastRetrieved]
36379
+ * @param {*} [options] Override http request option.
36380
+ * @throws {RequiredError}
36381
+ * @memberof SearchApi
36382
+ */
36383
+ public apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36384
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36385
+ }
36386
+
36387
+ /**
36388
+ *
36389
+ * @summary Update or Re-create specialties Azure Search Services Index
36390
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
36391
+ * @param {*} [options] Override http request option.
36392
+ * @throws {RequiredError}
36393
+ * @memberof SearchApi
36394
+ */
36395
+ public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
36396
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36397
+ }
36398
+
36399
+ /**
36400
+ *
36401
+ * @summary Search specialtyTypes using Azure Search Services
36402
+ * @param {string} [searchTerm]
36403
+ * @param {boolean} [countOnly]
36404
+ * @param {string} [countryId]
36405
+ * @param {string} [hospitalId]
36406
+ * @param {MarketingType} [marketingType]
36407
+ * @param {string} [languageCode]
36408
+ * @param {number} [page]
36409
+ * @param {number} [limit]
36410
+ * @param {Date} [lastRetrieved]
36411
+ * @param {*} [options] Override http request option.
36412
+ * @throws {RequiredError}
36413
+ * @memberof SearchApi
36414
+ */
36415
+ public apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36416
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36417
+ }
36418
+
36419
+ /**
36420
+ *
36421
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
36422
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
36423
+ * @param {*} [options] Override http request option.
36424
+ * @throws {RequiredError}
36425
+ * @memberof SearchApi
36426
+ */
36427
+ public apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig) {
36428
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36429
+ }
36430
+ }
36431
+
36432
+
36433
+ /**
36434
+ * ServiceReviewsApi - axios parameter creator
36435
+ * @export
36436
+ */
36437
+ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
36438
+ return {
36439
+ /**
36440
+ *
36441
+ * @summary Get all ServiceReviews.
36442
+ * @param {string} [serviceId]
36443
+ * @param {string} [serviceName]
36444
+ * @param {string} [patientId]
36445
+ * @param {string} [patientName]
36446
+ * @param {Gender} [gender]
36447
+ * @param {boolean} [recommended]
36448
+ * @param {number} [rate]
36449
+ * @param {ReviewType} [reviewType]
36450
+ * @param {number} [page]
36451
+ * @param {number} [limit]
36452
+ * @param {Date} [lastRetrieved]
36453
+ * @param {*} [options] Override http request option.
36454
+ * @throws {RequiredError}
36455
+ */
36456
+ apiV1ServicereviewsGet: async (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> => {
36457
+ const localVarPath = `/api/v1/servicereviews`;
36458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36459
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36460
+ let baseOptions;
36461
+ if (configuration) {
36462
+ baseOptions = configuration.baseOptions;
36463
+ }
36464
+
36465
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36466
+ const localVarHeaderParameter = {} as any;
36467
+ const localVarQueryParameter = {} as any;
36468
+
36469
+ // authentication oauth2 required
36470
+ // oauth required
36471
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36472
+
36473
+ if (serviceId !== undefined) {
36474
+ localVarQueryParameter['ServiceId'] = serviceId;
36475
+ }
36476
+
36477
+ if (serviceName !== undefined) {
36478
+ localVarQueryParameter['ServiceName'] = serviceName;
36479
+ }
36480
+
36481
+ if (patientId !== undefined) {
36482
+ localVarQueryParameter['PatientId'] = patientId;
36483
+ }
36484
+
36485
+ if (patientName !== undefined) {
36486
+ localVarQueryParameter['PatientName'] = patientName;
36487
+ }
36488
+
36489
+ if (gender !== undefined) {
36490
+ localVarQueryParameter['Gender'] = gender;
36491
+ }
36492
+
36493
+ if (recommended !== undefined) {
36494
+ localVarQueryParameter['Recommended'] = recommended;
36495
+ }
36496
+
36497
+ if (rate !== undefined) {
36498
+ localVarQueryParameter['Rate'] = rate;
36499
+ }
36500
+
36501
+ if (reviewType !== undefined) {
36502
+ localVarQueryParameter['ReviewType'] = reviewType;
36503
+ }
36504
+
36505
+ if (page !== undefined) {
36506
+ localVarQueryParameter['page'] = page;
36507
+ }
36508
+
36509
+ if (limit !== undefined) {
36510
+ localVarQueryParameter['limit'] = limit;
36511
+ }
36512
+
36513
+ if (lastRetrieved !== undefined) {
36514
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
36515
+ (lastRetrieved as any).toISOString() :
36516
+ lastRetrieved;
36517
+ }
36518
+
36519
+
36520
+
36521
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36523
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36524
+
36525
+ return {
36526
+ url: toPathString(localVarUrlObj),
36527
+ options: localVarRequestOptions,
36528
+ };
36529
+ },
36530
+ /**
36531
+ *
36532
+ * @summary Create a ServiceReview.
36533
+ * @param {CreateServiceReviewCommand} [createServiceReviewCommand]
36534
+ * @param {*} [options] Override http request option.
36535
+ * @throws {RequiredError}
36536
+ */
36537
+ apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36538
+ const localVarPath = `/api/v1/servicereviews`;
36539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36541
+ let baseOptions;
36542
+ if (configuration) {
36543
+ baseOptions = configuration.baseOptions;
36544
+ }
36545
+
36546
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36547
+ const localVarHeaderParameter = {} as any;
36548
+ const localVarQueryParameter = {} as any;
36549
+
36550
+ // authentication oauth2 required
36551
+ // oauth required
36552
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36553
+
36554
+
36555
+
36556
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36557
+
36558
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36559
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36560
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36561
+ localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
36562
+
36563
+ return {
36564
+ url: toPathString(localVarUrlObj),
36565
+ options: localVarRequestOptions,
36566
+ };
36567
+ },
36568
+ /**
36569
+ *
36570
+ * @summary Delete ServiceReview.
36571
+ * @param {string} serviceReviewId
36572
+ * @param {*} [options] Override http request option.
36573
+ * @throws {RequiredError}
36574
+ */
36575
+ apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36576
+ // verify required parameter 'serviceReviewId' is not null or undefined
36577
+ assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
36578
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
36579
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36580
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36581
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36582
+ let baseOptions;
36583
+ if (configuration) {
36584
+ baseOptions = configuration.baseOptions;
36585
+ }
36586
+
36587
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36588
+ const localVarHeaderParameter = {} as any;
36589
+ const localVarQueryParameter = {} as any;
36590
+
36591
+ // authentication oauth2 required
36592
+ // oauth required
36593
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36594
+
36595
+
36596
+
36597
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36598
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36599
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36600
+
36601
+ return {
36602
+ url: toPathString(localVarUrlObj),
36603
+ options: localVarRequestOptions,
36604
+ };
36605
+ },
36606
+ /**
36607
+ *
36608
+ * @param {string} serviceReviewId
36609
+ * @param {*} [options] Override http request option.
36610
+ * @throws {RequiredError}
36611
+ */
36612
+ apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36613
+ // verify required parameter 'serviceReviewId' is not null or undefined
36614
+ assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
36615
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
36616
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36617
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36618
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36619
+ let baseOptions;
36620
+ if (configuration) {
36621
+ baseOptions = configuration.baseOptions;
36622
+ }
36623
+
36624
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36625
+ const localVarHeaderParameter = {} as any;
36626
+ const localVarQueryParameter = {} as any;
36627
+
36628
+ // authentication oauth2 required
36629
+ // oauth required
36630
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36631
+
36632
+
36633
+
36634
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36635
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36636
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36637
+
36638
+ return {
36639
+ url: toPathString(localVarUrlObj),
36640
+ options: localVarRequestOptions,
36641
+ };
36642
+ },
36643
+ /**
36644
+ *
36645
+ * @summary Get all ServiceReviewMedias.
36646
+ * @param {string} serviceReviewId
36647
+ * @param {string} [id]
36648
+ * @param {MediaType} [mediaType]
36649
+ * @param {number} [page]
36650
+ * @param {number} [limit]
36651
+ * @param {Date} [lastRetrieved]
36652
+ * @param {*} [options] Override http request option.
36653
+ * @throws {RequiredError}
36654
+ */
36655
+ apiV1ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36656
+ // verify required parameter 'serviceReviewId' is not null or undefined
36657
+ assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
36658
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
36659
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36660
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36661
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36662
+ let baseOptions;
36663
+ if (configuration) {
36664
+ baseOptions = configuration.baseOptions;
36665
+ }
36666
+
36667
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36668
+ const localVarHeaderParameter = {} as any;
36669
+ const localVarQueryParameter = {} as any;
36670
+
36671
+ // authentication oauth2 required
36672
+ // oauth required
36673
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36674
+
36675
+ if (id !== undefined) {
36676
+ localVarQueryParameter['Id'] = id;
36677
+ }
36678
+
36679
+ if (mediaType !== undefined) {
36680
+ localVarQueryParameter['MediaType'] = mediaType;
34813
36681
  }
34814
36682
 
34815
36683
  if (page !== undefined) {
@@ -35068,6 +36936,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
35068
36936
  * @param {string} [serviceName]
35069
36937
  * @param {string} [patientId]
35070
36938
  * @param {string} [patientName]
36939
+ * @param {Gender} [gender]
35071
36940
  * @param {boolean} [recommended]
35072
36941
  * @param {number} [rate]
35073
36942
  * @param {ReviewType} [reviewType]
@@ -35077,8 +36946,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
35077
36946
  * @param {*} [options] Override http request option.
35078
36947
  * @throws {RequiredError}
35079
36948
  */
35080
- async apiV1ServicereviewsGet(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>> {
35081
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
36949
+ async apiV1ServicereviewsGet(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>> {
36950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
35082
36951
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35083
36952
  },
35084
36953
  /**
@@ -35207,6 +37076,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
35207
37076
  * @param {string} [serviceName]
35208
37077
  * @param {string} [patientId]
35209
37078
  * @param {string} [patientName]
37079
+ * @param {Gender} [gender]
35210
37080
  * @param {boolean} [recommended]
35211
37081
  * @param {number} [rate]
35212
37082
  * @param {ReviewType} [reviewType]
@@ -35216,8 +37086,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
35216
37086
  * @param {*} [options] Override http request option.
35217
37087
  * @throws {RequiredError}
35218
37088
  */
35219
- apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
35220
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
37089
+ apiV1ServicereviewsGet(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> {
37090
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35221
37091
  },
35222
37092
  /**
35223
37093
  *
@@ -35336,6 +37206,7 @@ export class ServiceReviewsApi extends BaseAPI {
35336
37206
  * @param {string} [serviceName]
35337
37207
  * @param {string} [patientId]
35338
37208
  * @param {string} [patientName]
37209
+ * @param {Gender} [gender]
35339
37210
  * @param {boolean} [recommended]
35340
37211
  * @param {number} [rate]
35341
37212
  * @param {ReviewType} [reviewType]
@@ -35346,8 +37217,8 @@ export class ServiceReviewsApi extends BaseAPI {
35346
37217
  * @throws {RequiredError}
35347
37218
  * @memberof ServiceReviewsApi
35348
37219
  */
35349
- public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35350
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
37220
+ public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37221
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35351
37222
  }
35352
37223
 
35353
37224
  /**
@@ -35905,14 +37776,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
35905
37776
  * @summary Get all ServiceCategories.
35906
37777
  * @param {string} [id]
35907
37778
  * @param {string} [name]
35908
- * @param {string} [description]
35909
37779
  * @param {number} [page]
35910
37780
  * @param {number} [limit]
35911
37781
  * @param {Date} [lastRetrieved]
35912
37782
  * @param {*} [options] Override http request option.
35913
37783
  * @throws {RequiredError}
35914
37784
  */
35915
- apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37785
+ apiV1ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35916
37786
  const localVarPath = `/api/v1/servicescategories`;
35917
37787
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35918
37788
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35937,10 +37807,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
35937
37807
  localVarQueryParameter['Name'] = name;
35938
37808
  }
35939
37809
 
35940
- if (description !== undefined) {
35941
- localVarQueryParameter['Description'] = description;
35942
- }
35943
-
35944
37810
  if (page !== undefined) {
35945
37811
  localVarQueryParameter['page'] = page;
35946
37812
  }
@@ -36136,15 +38002,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
36136
38002
  * @summary Get all ServiceCategories.
36137
38003
  * @param {string} [id]
36138
38004
  * @param {string} [name]
36139
- * @param {string} [description]
36140
38005
  * @param {number} [page]
36141
38006
  * @param {number} [limit]
36142
38007
  * @param {Date} [lastRetrieved]
36143
38008
  * @param {*} [options] Override http request option.
36144
38009
  * @throws {RequiredError}
36145
38010
  */
36146
- async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
36147
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
38011
+ async apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
38012
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
36148
38013
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36149
38014
  },
36150
38015
  /**
@@ -36206,15 +38071,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
36206
38071
  * @summary Get all ServiceCategories.
36207
38072
  * @param {string} [id]
36208
38073
  * @param {string} [name]
36209
- * @param {string} [description]
36210
38074
  * @param {number} [page]
36211
38075
  * @param {number} [limit]
36212
38076
  * @param {Date} [lastRetrieved]
36213
38077
  * @param {*} [options] Override http request option.
36214
38078
  * @throws {RequiredError}
36215
38079
  */
36216
- apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
36217
- return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
38080
+ apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
38081
+ return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36218
38082
  },
36219
38083
  /**
36220
38084
  *
@@ -36271,7 +38135,6 @@ export class ServicesCategoriesApi extends BaseAPI {
36271
38135
  * @summary Get all ServiceCategories.
36272
38136
  * @param {string} [id]
36273
38137
  * @param {string} [name]
36274
- * @param {string} [description]
36275
38138
  * @param {number} [page]
36276
38139
  * @param {number} [limit]
36277
38140
  * @param {Date} [lastRetrieved]
@@ -36279,8 +38142,8 @@ export class ServicesCategoriesApi extends BaseAPI {
36279
38142
  * @throws {RequiredError}
36280
38143
  * @memberof ServicesCategoriesApi
36281
38144
  */
36282
- public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36283
- return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
38145
+ public apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
38146
+ return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36284
38147
  }
36285
38148
 
36286
38149
  /**