ch-admin-api-client-typescript 2.7.3 → 2.7.8

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
  *
@@ -7246,6 +7307,12 @@ export interface HospitalSpecialtiesModel {
7246
7307
  * @interface HospitalSpecialtyItemModel
7247
7308
  */
7248
7309
  export interface HospitalSpecialtyItemModel {
7310
+ /**
7311
+ *
7312
+ * @type {string}
7313
+ * @memberof HospitalSpecialtyItemModel
7314
+ */
7315
+ 'id'?: string;
7249
7316
  /**
7250
7317
  *
7251
7318
  * @type {string}
@@ -7294,12 +7361,54 @@ export interface HospitalSpecialtyItemModel {
7294
7361
  * @memberof HospitalSpecialtyItemModel
7295
7362
  */
7296
7363
  'marketingType'?: MarketingType;
7364
+ /**
7365
+ *
7366
+ * @type {string}
7367
+ * @memberof HospitalSpecialtyItemModel
7368
+ */
7369
+ 'title'?: string | null;
7370
+ /**
7371
+ *
7372
+ * @type {string}
7373
+ * @memberof HospitalSpecialtyItemModel
7374
+ */
7375
+ 'normalizedTitle'?: string | null;
7376
+ /**
7377
+ *
7378
+ * @type {string}
7379
+ * @memberof HospitalSpecialtyItemModel
7380
+ */
7381
+ 'description'?: string | null;
7382
+ /**
7383
+ *
7384
+ * @type {string}
7385
+ * @memberof HospitalSpecialtyItemModel
7386
+ */
7387
+ 'content'?: string | null;
7297
7388
  /**
7298
7389
  *
7299
7390
  * @type {number}
7300
7391
  * @memberof HospitalSpecialtyItemModel
7301
7392
  */
7302
7393
  'order'?: number;
7394
+ /**
7395
+ *
7396
+ * @type {boolean}
7397
+ * @memberof HospitalSpecialtyItemModel
7398
+ */
7399
+ 'confirmed'?: boolean;
7400
+ /**
7401
+ *
7402
+ * @type {Array<MediaModel>}
7403
+ * @memberof HospitalSpecialtyItemModel
7404
+ */
7405
+ 'medias'?: Array<MediaModel> | null;
7406
+ /**
7407
+ *
7408
+ * @type {AuditableEntity}
7409
+ * @memberof HospitalSpecialtyItemModel
7410
+ */
7411
+ 'auditableEntity'?: AuditableEntity;
7303
7412
  }
7304
7413
  /**
7305
7414
  *
@@ -7307,6 +7416,12 @@ export interface HospitalSpecialtyItemModel {
7307
7416
  * @interface HospitalSpecialtyModel
7308
7417
  */
7309
7418
  export interface HospitalSpecialtyModel {
7419
+ /**
7420
+ *
7421
+ * @type {string}
7422
+ * @memberof HospitalSpecialtyModel
7423
+ */
7424
+ 'id'?: string;
7310
7425
  /**
7311
7426
  *
7312
7427
  * @type {string}
@@ -7355,12 +7470,60 @@ export interface HospitalSpecialtyModel {
7355
7470
  * @memberof HospitalSpecialtyModel
7356
7471
  */
7357
7472
  'marketingType'?: MarketingType;
7473
+ /**
7474
+ *
7475
+ * @type {string}
7476
+ * @memberof HospitalSpecialtyModel
7477
+ */
7478
+ 'title'?: string | null;
7479
+ /**
7480
+ *
7481
+ * @type {string}
7482
+ * @memberof HospitalSpecialtyModel
7483
+ */
7484
+ 'normalizedTitle'?: string | null;
7485
+ /**
7486
+ *
7487
+ * @type {string}
7488
+ * @memberof HospitalSpecialtyModel
7489
+ */
7490
+ 'description'?: string | null;
7491
+ /**
7492
+ *
7493
+ * @type {string}
7494
+ * @memberof HospitalSpecialtyModel
7495
+ */
7496
+ 'content'?: string | null;
7358
7497
  /**
7359
7498
  *
7360
7499
  * @type {number}
7361
7500
  * @memberof HospitalSpecialtyModel
7362
7501
  */
7363
7502
  'order'?: number;
7503
+ /**
7504
+ *
7505
+ * @type {boolean}
7506
+ * @memberof HospitalSpecialtyModel
7507
+ */
7508
+ 'confirmed'?: boolean;
7509
+ /**
7510
+ *
7511
+ * @type {Array<MediaModel>}
7512
+ * @memberof HospitalSpecialtyModel
7513
+ */
7514
+ 'medias'?: Array<MediaModel> | null;
7515
+ /**
7516
+ *
7517
+ * @type {AuditableEntity}
7518
+ * @memberof HospitalSpecialtyModel
7519
+ */
7520
+ 'auditableEntity'?: AuditableEntity;
7521
+ /**
7522
+ *
7523
+ * @type {string}
7524
+ * @memberof HospitalSpecialtyModel
7525
+ */
7526
+ 'languageCode'?: string | null;
7364
7527
  }
7365
7528
  /**
7366
7529
  *
@@ -10554,6 +10717,25 @@ export interface UpdateDealServiceCommand {
10554
10717
  */
10555
10718
  'order'?: number;
10556
10719
  }
10720
+ /**
10721
+ *
10722
+ * @export
10723
+ * @interface UpdateDealsSearchIndexCommand
10724
+ */
10725
+ export interface UpdateDealsSearchIndexCommand {
10726
+ /**
10727
+ *
10728
+ * @type {number}
10729
+ * @memberof UpdateDealsSearchIndexCommand
10730
+ */
10731
+ 'batchSize'?: number | null;
10732
+ /**
10733
+ *
10734
+ * @type {boolean}
10735
+ * @memberof UpdateDealsSearchIndexCommand
10736
+ */
10737
+ 'reCreate'?: boolean | null;
10738
+ }
10557
10739
  /**
10558
10740
  *
10559
10741
  * @export
@@ -10769,6 +10951,25 @@ export interface UpdateDoctorSpecialtyCommand {
10769
10951
  */
10770
10952
  'order'?: number;
10771
10953
  }
10954
+ /**
10955
+ *
10956
+ * @export
10957
+ * @interface UpdateDoctorsSearchIndexCommand
10958
+ */
10959
+ export interface UpdateDoctorsSearchIndexCommand {
10960
+ /**
10961
+ *
10962
+ * @type {number}
10963
+ * @memberof UpdateDoctorsSearchIndexCommand
10964
+ */
10965
+ 'batchSize'?: number | null;
10966
+ /**
10967
+ *
10968
+ * @type {boolean}
10969
+ * @memberof UpdateDoctorsSearchIndexCommand
10970
+ */
10971
+ 'reCreate'?: boolean | null;
10972
+ }
10772
10973
  /**
10773
10974
  *
10774
10975
  * @export
@@ -11098,12 +11299,67 @@ export interface UpdateHospitalServiceCommand {
11098
11299
  * @interface UpdateHospitalSpecialtyCommand
11099
11300
  */
11100
11301
  export interface UpdateHospitalSpecialtyCommand {
11302
+ /**
11303
+ *
11304
+ * @type {string}
11305
+ * @memberof UpdateHospitalSpecialtyCommand
11306
+ */
11307
+ 'title'?: string | null;
11308
+ /**
11309
+ *
11310
+ * @type {string}
11311
+ * @memberof UpdateHospitalSpecialtyCommand
11312
+ */
11313
+ 'description'?: string | null;
11314
+ /**
11315
+ *
11316
+ * @type {string}
11317
+ * @memberof UpdateHospitalSpecialtyCommand
11318
+ */
11319
+ 'content'?: string | null;
11101
11320
  /**
11102
11321
  *
11103
11322
  * @type {number}
11104
11323
  * @memberof UpdateHospitalSpecialtyCommand
11105
11324
  */
11106
11325
  'order'?: number;
11326
+ /**
11327
+ *
11328
+ * @type {string}
11329
+ * @memberof UpdateHospitalSpecialtyCommand
11330
+ */
11331
+ 'languageCode'?: string | null;
11332
+ /**
11333
+ *
11334
+ * @type {boolean}
11335
+ * @memberof UpdateHospitalSpecialtyCommand
11336
+ */
11337
+ 'confirmed'?: boolean;
11338
+ /**
11339
+ *
11340
+ * @type {Array<MediaModel>}
11341
+ * @memberof UpdateHospitalSpecialtyCommand
11342
+ */
11343
+ 'medias'?: Array<MediaModel> | null;
11344
+ }
11345
+ /**
11346
+ *
11347
+ * @export
11348
+ * @interface UpdateHospitalsSearchIndexCommand
11349
+ */
11350
+ export interface UpdateHospitalsSearchIndexCommand {
11351
+ /**
11352
+ *
11353
+ * @type {number}
11354
+ * @memberof UpdateHospitalsSearchIndexCommand
11355
+ */
11356
+ 'batchSize'?: number | null;
11357
+ /**
11358
+ *
11359
+ * @type {boolean}
11360
+ * @memberof UpdateHospitalsSearchIndexCommand
11361
+ */
11362
+ 'reCreate'?: boolean | null;
11107
11363
  }
11108
11364
  /**
11109
11365
  *
@@ -11486,6 +11742,25 @@ export interface UpdateServiceReviewCommand {
11486
11742
  */
11487
11743
  'rate'?: number | null;
11488
11744
  }
11745
+ /**
11746
+ *
11747
+ * @export
11748
+ * @interface UpdateSpecialtiesSearchIndexCommand
11749
+ */
11750
+ export interface UpdateSpecialtiesSearchIndexCommand {
11751
+ /**
11752
+ *
11753
+ * @type {number}
11754
+ * @memberof UpdateSpecialtiesSearchIndexCommand
11755
+ */
11756
+ 'batchSize'?: number | null;
11757
+ /**
11758
+ *
11759
+ * @type {boolean}
11760
+ * @memberof UpdateSpecialtiesSearchIndexCommand
11761
+ */
11762
+ 'reCreate'?: boolean | null;
11763
+ }
11489
11764
  /**
11490
11765
  *
11491
11766
  * @export
@@ -11608,6 +11883,25 @@ export interface UpdateSpecialtyTypeCommand {
11608
11883
  */
11609
11884
  'languageCode'?: string | null;
11610
11885
  }
11886
+ /**
11887
+ *
11888
+ * @export
11889
+ * @interface UpdateSpecialtyTypesSearchIndexCommand
11890
+ */
11891
+ export interface UpdateSpecialtyTypesSearchIndexCommand {
11892
+ /**
11893
+ *
11894
+ * @type {number}
11895
+ * @memberof UpdateSpecialtyTypesSearchIndexCommand
11896
+ */
11897
+ 'batchSize'?: number | null;
11898
+ /**
11899
+ *
11900
+ * @type {boolean}
11901
+ * @memberof UpdateSpecialtyTypesSearchIndexCommand
11902
+ */
11903
+ 'reCreate'?: boolean | null;
11904
+ }
11611
11905
  /**
11612
11906
  *
11613
11907
  * @export
@@ -22553,6 +22847,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22553
22847
  * @param {string} [hospitalId]
22554
22848
  * @param {string} [languageCode]
22555
22849
  * @param {boolean} [returnDefaultValue]
22850
+ * @param {Array<string>} [ids]
22556
22851
  * @param {string} [id]
22557
22852
  * @param {string} [fullname]
22558
22853
  * @param {string} [email]
@@ -22566,7 +22861,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22566
22861
  * @param {*} [options] Override http request option.
22567
22862
  * @throws {RequiredError}
22568
22863
  */
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> => {
22864
+ 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
22865
  const localVarPath = `/api/v1/doctors`;
22571
22866
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22572
22867
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -22595,6 +22890,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
22595
22890
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
22596
22891
  }
22597
22892
 
22893
+ if (ids) {
22894
+ localVarQueryParameter['Ids'] = ids;
22895
+ }
22896
+
22598
22897
  if (id !== undefined) {
22599
22898
  localVarQueryParameter['Id'] = id;
22600
22899
  }
@@ -23171,6 +23470,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23171
23470
  * @param {string} [hospitalId]
23172
23471
  * @param {string} [languageCode]
23173
23472
  * @param {boolean} [returnDefaultValue]
23473
+ * @param {Array<string>} [ids]
23174
23474
  * @param {string} [id]
23175
23475
  * @param {string} [fullname]
23176
23476
  * @param {string} [email]
@@ -23184,8 +23484,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
23184
23484
  * @param {*} [options] Override http request option.
23185
23485
  * @throws {RequiredError}
23186
23486
  */
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);
23487
+ 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>> {
23488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
23189
23489
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23190
23490
  },
23191
23491
  /**
@@ -23613,6 +23913,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23613
23913
  * @param {string} [hospitalId]
23614
23914
  * @param {string} [languageCode]
23615
23915
  * @param {boolean} [returnDefaultValue]
23916
+ * @param {Array<string>} [ids]
23616
23917
  * @param {string} [id]
23617
23918
  * @param {string} [fullname]
23618
23919
  * @param {string} [email]
@@ -23626,8 +23927,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
23626
23927
  * @param {*} [options] Override http request option.
23627
23928
  * @throws {RequiredError}
23628
23929
  */
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));
23930
+ 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> {
23931
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23631
23932
  },
23632
23933
  /**
23633
23934
  *
@@ -24116,6 +24417,7 @@ export class DoctorsApi extends BaseAPI {
24116
24417
  * @param {string} [hospitalId]
24117
24418
  * @param {string} [languageCode]
24118
24419
  * @param {boolean} [returnDefaultValue]
24420
+ * @param {Array<string>} [ids]
24119
24421
  * @param {string} [id]
24120
24422
  * @param {string} [fullname]
24121
24423
  * @param {string} [email]
@@ -24130,8 +24432,8 @@ export class DoctorsApi extends BaseAPI {
24130
24432
  * @throws {RequiredError}
24131
24433
  * @memberof DoctorsApi
24132
24434
  */
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));
24435
+ 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) {
24436
+ 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
24437
  }
24136
24438
 
24137
24439
  /**
@@ -26304,7 +26606,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26304
26606
  * @summary Get all Hospitals.
26305
26607
  * @param {string} [hospitalId]
26306
26608
  * @param {string} [name]
26307
- * @param {string} [description]
26308
26609
  * @param {string} [countryId]
26309
26610
  * @param {Date} [created]
26310
26611
  * @param {MarketingType} [marketingType]
@@ -26322,7 +26623,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26322
26623
  * @param {*} [options] Override http request option.
26323
26624
  * @throws {RequiredError}
26324
26625
  */
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> => {
26626
+ 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
26627
  const localVarPath = `/api/v1/hospitals`;
26327
26628
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26328
26629
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26347,10 +26648,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
26347
26648
  localVarQueryParameter['Name'] = name;
26348
26649
  }
26349
26650
 
26350
- if (description !== undefined) {
26351
- localVarQueryParameter['Description'] = description;
26352
- }
26353
-
26354
26651
  if (countryId !== undefined) {
26355
26652
  localVarQueryParameter['CountryId'] = countryId;
26356
26653
  }
@@ -27751,15 +28048,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27751
28048
  * @param {string} [specialtyId]
27752
28049
  * @param {string} [specialtyName]
27753
28050
  * @param {string} [specialtyTypeId]
28051
+ * @param {string} [title]
27754
28052
  * @param {MarketingType} [marketingType]
27755
- * @param {Date} [created]
28053
+ * @param {string} [languageCode]
28054
+ * @param {boolean} [showHidden]
28055
+ * @param {boolean} [returnDefaultValue]
27756
28056
  * @param {number} [page]
27757
28057
  * @param {number} [limit]
27758
28058
  * @param {Date} [lastRetrieved]
27759
28059
  * @param {*} [options] Override http request option.
27760
28060
  * @throws {RequiredError}
27761
28061
  */
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> => {
28062
+ 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
28063
  // verify required parameter 'hospitalId' is not null or undefined
27764
28064
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
27765
28065
  const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
@@ -27799,14 +28099,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27799
28099
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
27800
28100
  }
27801
28101
 
28102
+ if (title !== undefined) {
28103
+ localVarQueryParameter['Title'] = title;
28104
+ }
28105
+
27802
28106
  if (marketingType !== undefined) {
27803
28107
  localVarQueryParameter['MarketingType'] = marketingType;
27804
28108
  }
27805
28109
 
27806
- if (created !== undefined) {
27807
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
27808
- (created as any).toISOString() :
27809
- created;
28110
+ if (languageCode !== undefined) {
28111
+ localVarQueryParameter['LanguageCode'] = languageCode;
28112
+ }
28113
+
28114
+ if (showHidden !== undefined) {
28115
+ localVarQueryParameter['ShowHidden'] = showHidden;
28116
+ }
28117
+
28118
+ if (returnDefaultValue !== undefined) {
28119
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
27810
28120
  }
27811
28121
 
27812
28122
  if (page !== undefined) {
@@ -27923,10 +28233,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27923
28233
  * @summary Get HospitalSpecialty.
27924
28234
  * @param {string} hospitalId
27925
28235
  * @param {string} specialtyId
28236
+ * @param {string} [languageCode]
28237
+ * @param {boolean} [returnDefaultValue]
27926
28238
  * @param {*} [options] Override http request option.
27927
28239
  * @throws {RequiredError}
27928
28240
  */
27929
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28241
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27930
28242
  // verify required parameter 'hospitalId' is not null or undefined
27931
28243
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
27932
28244
  // verify required parameter 'specialtyId' is not null or undefined
@@ -27949,6 +28261,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
27949
28261
  // oauth required
27950
28262
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27951
28263
 
28264
+ if (languageCode !== undefined) {
28265
+ localVarQueryParameter['languageCode'] = languageCode;
28266
+ }
28267
+
28268
+ if (returnDefaultValue !== undefined) {
28269
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
28270
+ }
28271
+
27952
28272
 
27953
28273
 
27954
28274
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28653,7 +28973,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28653
28973
  * @summary Get all Hospitals.
28654
28974
  * @param {string} [hospitalId]
28655
28975
  * @param {string} [name]
28656
- * @param {string} [description]
28657
28976
  * @param {string} [countryId]
28658
28977
  * @param {Date} [created]
28659
28978
  * @param {MarketingType} [marketingType]
@@ -28671,7 +28990,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28671
28990
  * @param {*} [options] Override http request option.
28672
28991
  * @throws {RequiredError}
28673
28992
  */
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> => {
28993
+ 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
28994
  const localVarPath = `/api/v1/hospitals/simple`;
28676
28995
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28677
28996
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -28696,10 +29015,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
28696
29015
  localVarQueryParameter['Name'] = name;
28697
29016
  }
28698
29017
 
28699
- if (description !== undefined) {
28700
- localVarQueryParameter['Description'] = description;
28701
- }
28702
-
28703
29018
  if (countryId !== undefined) {
28704
29019
  localVarQueryParameter['CountryId'] = countryId;
28705
29020
  }
@@ -28833,7 +29148,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28833
29148
  * @summary Get all Hospitals.
28834
29149
  * @param {string} [hospitalId]
28835
29150
  * @param {string} [name]
28836
- * @param {string} [description]
28837
29151
  * @param {string} [countryId]
28838
29152
  * @param {Date} [created]
28839
29153
  * @param {MarketingType} [marketingType]
@@ -28851,8 +29165,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
28851
29165
  * @param {*} [options] Override http request option.
28852
29166
  * @throws {RequiredError}
28853
29167
  */
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);
29168
+ 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>> {
29169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
28856
29170
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28857
29171
  },
28858
29172
  /**
@@ -29223,16 +29537,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29223
29537
  * @param {string} [specialtyId]
29224
29538
  * @param {string} [specialtyName]
29225
29539
  * @param {string} [specialtyTypeId]
29540
+ * @param {string} [title]
29226
29541
  * @param {MarketingType} [marketingType]
29227
- * @param {Date} [created]
29542
+ * @param {string} [languageCode]
29543
+ * @param {boolean} [showHidden]
29544
+ * @param {boolean} [returnDefaultValue]
29228
29545
  * @param {number} [page]
29229
29546
  * @param {number} [limit]
29230
29547
  * @param {Date} [lastRetrieved]
29231
29548
  * @param {*} [options] Override http request option.
29232
29549
  * @throws {RequiredError}
29233
29550
  */
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);
29551
+ 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>> {
29552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
29236
29553
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29237
29554
  },
29238
29555
  /**
@@ -29264,11 +29581,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29264
29581
  * @summary Get HospitalSpecialty.
29265
29582
  * @param {string} hospitalId
29266
29583
  * @param {string} specialtyId
29584
+ * @param {string} [languageCode]
29585
+ * @param {boolean} [returnDefaultValue]
29267
29586
  * @param {*} [options] Override http request option.
29268
29587
  * @throws {RequiredError}
29269
29588
  */
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);
29589
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
29590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
29272
29591
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29273
29592
  },
29274
29593
  /**
@@ -29457,7 +29776,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29457
29776
  * @summary Get all Hospitals.
29458
29777
  * @param {string} [hospitalId]
29459
29778
  * @param {string} [name]
29460
- * @param {string} [description]
29461
29779
  * @param {string} [countryId]
29462
29780
  * @param {Date} [created]
29463
29781
  * @param {MarketingType} [marketingType]
@@ -29475,8 +29793,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
29475
29793
  * @param {*} [options] Override http request option.
29476
29794
  * @throws {RequiredError}
29477
29795
  */
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);
29796
+ 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>> {
29797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
29480
29798
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29481
29799
  },
29482
29800
  /**
@@ -29506,7 +29824,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29506
29824
  * @summary Get all Hospitals.
29507
29825
  * @param {string} [hospitalId]
29508
29826
  * @param {string} [name]
29509
- * @param {string} [description]
29510
29827
  * @param {string} [countryId]
29511
29828
  * @param {Date} [created]
29512
29829
  * @param {MarketingType} [marketingType]
@@ -29524,8 +29841,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29524
29841
  * @param {*} [options] Override http request option.
29525
29842
  * @throws {RequiredError}
29526
29843
  */
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));
29844
+ 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> {
29845
+ 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
29846
  },
29530
29847
  /**
29531
29848
  *
@@ -29868,16 +30185,19 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29868
30185
  * @param {string} [specialtyId]
29869
30186
  * @param {string} [specialtyName]
29870
30187
  * @param {string} [specialtyTypeId]
30188
+ * @param {string} [title]
29871
30189
  * @param {MarketingType} [marketingType]
29872
- * @param {Date} [created]
30190
+ * @param {string} [languageCode]
30191
+ * @param {boolean} [showHidden]
30192
+ * @param {boolean} [returnDefaultValue]
29873
30193
  * @param {number} [page]
29874
30194
  * @param {number} [limit]
29875
30195
  * @param {Date} [lastRetrieved]
29876
30196
  * @param {*} [options] Override http request option.
29877
30197
  * @throws {RequiredError}
29878
30198
  */
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));
30199
+ 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> {
30200
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
29881
30201
  },
29882
30202
  /**
29883
30203
  *
@@ -29906,11 +30226,13 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
29906
30226
  * @summary Get HospitalSpecialty.
29907
30227
  * @param {string} hospitalId
29908
30228
  * @param {string} specialtyId
30229
+ * @param {string} [languageCode]
30230
+ * @param {boolean} [returnDefaultValue]
29909
30231
  * @param {*} [options] Override http request option.
29910
30232
  * @throws {RequiredError}
29911
30233
  */
29912
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
29913
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
30234
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
30235
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
29914
30236
  },
29915
30237
  /**
29916
30238
  *
@@ -30086,7 +30408,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30086
30408
  * @summary Get all Hospitals.
30087
30409
  * @param {string} [hospitalId]
30088
30410
  * @param {string} [name]
30089
- * @param {string} [description]
30090
30411
  * @param {string} [countryId]
30091
30412
  * @param {Date} [created]
30092
30413
  * @param {MarketingType} [marketingType]
@@ -30104,8 +30425,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
30104
30425
  * @param {*} [options] Override http request option.
30105
30426
  * @throws {RequiredError}
30106
30427
  */
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));
30428
+ 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> {
30429
+ 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
30430
  },
30110
30431
  /**
30111
30432
  *
@@ -30133,7 +30454,6 @@ export class HospitalsApi extends BaseAPI {
30133
30454
  * @summary Get all Hospitals.
30134
30455
  * @param {string} [hospitalId]
30135
30456
  * @param {string} [name]
30136
- * @param {string} [description]
30137
30457
  * @param {string} [countryId]
30138
30458
  * @param {Date} [created]
30139
30459
  * @param {MarketingType} [marketingType]
@@ -30152,8 +30472,8 @@ export class HospitalsApi extends BaseAPI {
30152
30472
  * @throws {RequiredError}
30153
30473
  * @memberof HospitalsApi
30154
30474
  */
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));
30475
+ 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) {
30476
+ 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
30477
  }
30158
30478
 
30159
30479
  /**
@@ -30551,8 +30871,11 @@ export class HospitalsApi extends BaseAPI {
30551
30871
  * @param {string} [specialtyId]
30552
30872
  * @param {string} [specialtyName]
30553
30873
  * @param {string} [specialtyTypeId]
30874
+ * @param {string} [title]
30554
30875
  * @param {MarketingType} [marketingType]
30555
- * @param {Date} [created]
30876
+ * @param {string} [languageCode]
30877
+ * @param {boolean} [showHidden]
30878
+ * @param {boolean} [returnDefaultValue]
30556
30879
  * @param {number} [page]
30557
30880
  * @param {number} [limit]
30558
30881
  * @param {Date} [lastRetrieved]
@@ -30560,8 +30883,8 @@ export class HospitalsApi extends BaseAPI {
30560
30883
  * @throws {RequiredError}
30561
30884
  * @memberof HospitalsApi
30562
30885
  */
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));
30886
+ 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) {
30887
+ 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
30888
  }
30566
30889
 
30567
30890
  /**
@@ -30595,12 +30918,14 @@ export class HospitalsApi extends BaseAPI {
30595
30918
  * @summary Get HospitalSpecialty.
30596
30919
  * @param {string} hospitalId
30597
30920
  * @param {string} specialtyId
30921
+ * @param {string} [languageCode]
30922
+ * @param {boolean} [returnDefaultValue]
30598
30923
  * @param {*} [options] Override http request option.
30599
30924
  * @throws {RequiredError}
30600
30925
  * @memberof HospitalsApi
30601
30926
  */
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));
30927
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
30928
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
30604
30929
  }
30605
30930
 
30606
30931
  /**
@@ -30801,7 +31126,6 @@ export class HospitalsApi extends BaseAPI {
30801
31126
  * @summary Get all Hospitals.
30802
31127
  * @param {string} [hospitalId]
30803
31128
  * @param {string} [name]
30804
- * @param {string} [description]
30805
31129
  * @param {string} [countryId]
30806
31130
  * @param {Date} [created]
30807
31131
  * @param {MarketingType} [marketingType]
@@ -30820,8 +31144,8 @@ export class HospitalsApi extends BaseAPI {
30820
31144
  * @throws {RequiredError}
30821
31145
  * @memberof HospitalsApi
30822
31146
  */
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));
31147
+ 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) {
31148
+ 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
31149
  }
30826
31150
 
30827
31151
  /**
@@ -34568,29 +34892,28 @@ export class ProfilesApi extends BaseAPI {
34568
34892
 
34569
34893
 
34570
34894
  /**
34571
- * ServiceReviewsApi - axios parameter creator
34895
+ * SearchApi - axios parameter creator
34572
34896
  * @export
34573
34897
  */
34574
- export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
34898
+ export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
34575
34899
  return {
34576
34900
  /**
34577
34901
  *
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]
34902
+ * @summary Search deals using Azure Search Service
34903
+ * @param {string} [searchTerm]
34904
+ * @param {boolean} [countOnly]
34905
+ * @param {string} [countryId]
34906
+ * @param {string} [hospitalId]
34907
+ * @param {MarketingType} [marketingType]
34908
+ * @param {string} [languageCode]
34586
34909
  * @param {number} [page]
34587
34910
  * @param {number} [limit]
34588
34911
  * @param {Date} [lastRetrieved]
34589
34912
  * @param {*} [options] Override http request option.
34590
34913
  * @throws {RequiredError}
34591
34914
  */
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`;
34915
+ apiV1SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34916
+ const localVarPath = `/api/v1/search/deals`;
34594
34917
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34595
34918
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34596
34919
  let baseOptions;
@@ -34606,32 +34929,28 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34606
34929
  // oauth required
34607
34930
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34608
34931
 
34609
- if (serviceId !== undefined) {
34610
- localVarQueryParameter['ServiceId'] = serviceId;
34611
- }
34612
-
34613
- if (serviceName !== undefined) {
34614
- localVarQueryParameter['ServiceName'] = serviceName;
34932
+ if (searchTerm !== undefined) {
34933
+ localVarQueryParameter['SearchTerm'] = searchTerm;
34615
34934
  }
34616
34935
 
34617
- if (patientId !== undefined) {
34618
- localVarQueryParameter['PatientId'] = patientId;
34936
+ if (countOnly !== undefined) {
34937
+ localVarQueryParameter['CountOnly'] = countOnly;
34619
34938
  }
34620
34939
 
34621
- if (patientName !== undefined) {
34622
- localVarQueryParameter['PatientName'] = patientName;
34940
+ if (countryId !== undefined) {
34941
+ localVarQueryParameter['CountryId'] = countryId;
34623
34942
  }
34624
34943
 
34625
- if (recommended !== undefined) {
34626
- localVarQueryParameter['Recommended'] = recommended;
34944
+ if (hospitalId !== undefined) {
34945
+ localVarQueryParameter['HospitalId'] = hospitalId;
34627
34946
  }
34628
34947
 
34629
- if (rate !== undefined) {
34630
- localVarQueryParameter['Rate'] = rate;
34948
+ if (marketingType !== undefined) {
34949
+ localVarQueryParameter['MarketingType'] = marketingType;
34631
34950
  }
34632
34951
 
34633
- if (reviewType !== undefined) {
34634
- localVarQueryParameter['ReviewType'] = reviewType;
34952
+ if (languageCode !== undefined) {
34953
+ localVarQueryParameter['LanguageCode'] = languageCode;
34635
34954
  }
34636
34955
 
34637
34956
  if (page !== undefined) {
@@ -34661,13 +34980,13 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34661
34980
  },
34662
34981
  /**
34663
34982
  *
34664
- * @summary Create a ServiceReview.
34665
- * @param {CreateServiceReviewCommand} [createServiceReviewCommand]
34983
+ * @summary Update or Re-create deals Azure Search Services Index
34984
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
34666
34985
  * @param {*} [options] Override http request option.
34667
34986
  * @throws {RequiredError}
34668
34987
  */
34669
- apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34670
- const localVarPath = `/api/v1/servicereviews`;
34988
+ apiV1SearchDealsPost: async (updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34989
+ const localVarPath = `/api/v1/search/deals`;
34671
34990
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34672
34991
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34673
34992
  let baseOptions;
@@ -34690,7 +35009,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34690
35009
  setSearchParams(localVarUrlObj, localVarQueryParameter);
34691
35010
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34692
35011
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34693
- localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
35012
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
34694
35013
 
34695
35014
  return {
34696
35015
  url: toPathString(localVarUrlObj),
@@ -34699,16 +35018,21 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34699
35018
  },
34700
35019
  /**
34701
35020
  *
34702
- * @summary Delete ServiceReview.
34703
- * @param {string} serviceReviewId
35021
+ * @summary Search doctors using Azure Search Services
35022
+ * @param {string} [searchTerm]
35023
+ * @param {boolean} [countOnly]
35024
+ * @param {string} [countryId]
35025
+ * @param {string} [hospitalId]
35026
+ * @param {MarketingType} [marketingType]
35027
+ * @param {string} [languageCode]
35028
+ * @param {number} [page]
35029
+ * @param {number} [limit]
35030
+ * @param {Date} [lastRetrieved]
34704
35031
  * @param {*} [options] Override http request option.
34705
35032
  * @throws {RequiredError}
34706
35033
  */
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)));
35034
+ apiV1SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35035
+ const localVarPath = `/api/v1/search/doctors`;
34712
35036
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34713
35037
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34714
35038
  let baseOptions;
@@ -34716,7 +35040,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34716
35040
  baseOptions = configuration.baseOptions;
34717
35041
  }
34718
35042
 
34719
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
35043
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34720
35044
  const localVarHeaderParameter = {} as any;
34721
35045
  const localVarQueryParameter = {} as any;
34722
35046
 
@@ -34724,6 +35048,44 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34724
35048
  // oauth required
34725
35049
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34726
35050
 
35051
+ if (searchTerm !== undefined) {
35052
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35053
+ }
35054
+
35055
+ if (countOnly !== undefined) {
35056
+ localVarQueryParameter['CountOnly'] = countOnly;
35057
+ }
35058
+
35059
+ if (countryId !== undefined) {
35060
+ localVarQueryParameter['CountryId'] = countryId;
35061
+ }
35062
+
35063
+ if (hospitalId !== undefined) {
35064
+ localVarQueryParameter['HospitalId'] = hospitalId;
35065
+ }
35066
+
35067
+ if (marketingType !== undefined) {
35068
+ localVarQueryParameter['MarketingType'] = marketingType;
35069
+ }
35070
+
35071
+ if (languageCode !== undefined) {
35072
+ localVarQueryParameter['LanguageCode'] = languageCode;
35073
+ }
35074
+
35075
+ if (page !== undefined) {
35076
+ localVarQueryParameter['page'] = page;
35077
+ }
35078
+
35079
+ if (limit !== undefined) {
35080
+ localVarQueryParameter['limit'] = limit;
35081
+ }
35082
+
35083
+ if (lastRetrieved !== undefined) {
35084
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35085
+ (lastRetrieved as any).toISOString() :
35086
+ lastRetrieved;
35087
+ }
35088
+
34727
35089
 
34728
35090
 
34729
35091
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34737,15 +35099,59 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34737
35099
  },
34738
35100
  /**
34739
35101
  *
34740
- * @param {string} serviceReviewId
35102
+ * @summary Update or Re-create doctors Azure Search Services Index
35103
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
34741
35104
  * @param {*} [options] Override http request option.
34742
35105
  * @throws {RequiredError}
34743
35106
  */
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)));
35107
+ apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35108
+ const localVarPath = `/api/v1/search/doctors`;
35109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35111
+ let baseOptions;
35112
+ if (configuration) {
35113
+ baseOptions = configuration.baseOptions;
35114
+ }
35115
+
35116
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35117
+ const localVarHeaderParameter = {} as any;
35118
+ const localVarQueryParameter = {} as any;
35119
+
35120
+ // authentication oauth2 required
35121
+ // oauth required
35122
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35123
+
35124
+
35125
+
35126
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35127
+
35128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35131
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
35132
+
35133
+ return {
35134
+ url: toPathString(localVarUrlObj),
35135
+ options: localVarRequestOptions,
35136
+ };
35137
+ },
35138
+ /**
35139
+ *
35140
+ * @summary Get the number of items in each search index
35141
+ * @param {string} [searchTerm]
35142
+ * @param {boolean} [countOnly]
35143
+ * @param {string} [countryId]
35144
+ * @param {string} [hospitalId]
35145
+ * @param {MarketingType} [marketingType]
35146
+ * @param {string} [languageCode]
35147
+ * @param {number} [page]
35148
+ * @param {number} [limit]
35149
+ * @param {Date} [lastRetrieved]
35150
+ * @param {*} [options] Override http request option.
35151
+ * @throws {RequiredError}
35152
+ */
35153
+ apiV1SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35154
+ const localVarPath = `/api/v1/search/getcount`;
34749
35155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34750
35156
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34751
35157
  let baseOptions;
@@ -34761,6 +35167,44 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34761
35167
  // oauth required
34762
35168
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34763
35169
 
35170
+ if (searchTerm !== undefined) {
35171
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35172
+ }
35173
+
35174
+ if (countOnly !== undefined) {
35175
+ localVarQueryParameter['CountOnly'] = countOnly;
35176
+ }
35177
+
35178
+ if (countryId !== undefined) {
35179
+ localVarQueryParameter['CountryId'] = countryId;
35180
+ }
35181
+
35182
+ if (hospitalId !== undefined) {
35183
+ localVarQueryParameter['HospitalId'] = hospitalId;
35184
+ }
35185
+
35186
+ if (marketingType !== undefined) {
35187
+ localVarQueryParameter['MarketingType'] = marketingType;
35188
+ }
35189
+
35190
+ if (languageCode !== undefined) {
35191
+ localVarQueryParameter['LanguageCode'] = languageCode;
35192
+ }
35193
+
35194
+ if (page !== undefined) {
35195
+ localVarQueryParameter['page'] = page;
35196
+ }
35197
+
35198
+ if (limit !== undefined) {
35199
+ localVarQueryParameter['limit'] = limit;
35200
+ }
35201
+
35202
+ if (lastRetrieved !== undefined) {
35203
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35204
+ (lastRetrieved as any).toISOString() :
35205
+ lastRetrieved;
35206
+ }
35207
+
34764
35208
 
34765
35209
 
34766
35210
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34774,21 +35218,21 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34774
35218
  },
34775
35219
  /**
34776
35220
  *
34777
- * @summary Get all ServiceReviewMedias.
34778
- * @param {string} serviceReviewId
34779
- * @param {string} [id]
34780
- * @param {MediaType} [mediaType]
35221
+ * @summary Search hospitals using Azure Search Services
35222
+ * @param {string} [searchTerm]
35223
+ * @param {boolean} [countOnly]
35224
+ * @param {string} [countryId]
35225
+ * @param {string} [hospitalId]
35226
+ * @param {MarketingType} [marketingType]
35227
+ * @param {string} [languageCode]
34781
35228
  * @param {number} [page]
34782
35229
  * @param {number} [limit]
34783
35230
  * @param {Date} [lastRetrieved]
34784
35231
  * @param {*} [options] Override http request option.
34785
35232
  * @throws {RequiredError}
34786
35233
  */
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)));
35234
+ apiV1SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35235
+ const localVarPath = `/api/v1/search/hospitals`;
34792
35236
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34793
35237
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34794
35238
  let baseOptions;
@@ -34804,12 +35248,1113 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
34804
35248
  // oauth required
34805
35249
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34806
35250
 
34807
- if (id !== undefined) {
34808
- localVarQueryParameter['Id'] = id;
35251
+ if (searchTerm !== undefined) {
35252
+ localVarQueryParameter['SearchTerm'] = searchTerm;
34809
35253
  }
34810
35254
 
34811
- if (mediaType !== undefined) {
34812
- localVarQueryParameter['MediaType'] = mediaType;
35255
+ if (countOnly !== undefined) {
35256
+ localVarQueryParameter['CountOnly'] = countOnly;
35257
+ }
35258
+
35259
+ if (countryId !== undefined) {
35260
+ localVarQueryParameter['CountryId'] = countryId;
35261
+ }
35262
+
35263
+ if (hospitalId !== undefined) {
35264
+ localVarQueryParameter['HospitalId'] = hospitalId;
35265
+ }
35266
+
35267
+ if (marketingType !== undefined) {
35268
+ localVarQueryParameter['MarketingType'] = marketingType;
35269
+ }
35270
+
35271
+ if (languageCode !== undefined) {
35272
+ localVarQueryParameter['LanguageCode'] = languageCode;
35273
+ }
35274
+
35275
+ if (page !== undefined) {
35276
+ localVarQueryParameter['page'] = page;
35277
+ }
35278
+
35279
+ if (limit !== undefined) {
35280
+ localVarQueryParameter['limit'] = limit;
35281
+ }
35282
+
35283
+ if (lastRetrieved !== undefined) {
35284
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35285
+ (lastRetrieved as any).toISOString() :
35286
+ lastRetrieved;
35287
+ }
35288
+
35289
+
35290
+
35291
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35292
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35293
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35294
+
35295
+ return {
35296
+ url: toPathString(localVarUrlObj),
35297
+ options: localVarRequestOptions,
35298
+ };
35299
+ },
35300
+ /**
35301
+ *
35302
+ * @summary Update or Re-create hospitals Azure Search Services Index
35303
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
35304
+ * @param {*} [options] Override http request option.
35305
+ * @throws {RequiredError}
35306
+ */
35307
+ apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35308
+ const localVarPath = `/api/v1/search/hospitals`;
35309
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35310
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35311
+ let baseOptions;
35312
+ if (configuration) {
35313
+ baseOptions = configuration.baseOptions;
35314
+ }
35315
+
35316
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35317
+ const localVarHeaderParameter = {} as any;
35318
+ const localVarQueryParameter = {} as any;
35319
+
35320
+ // authentication oauth2 required
35321
+ // oauth required
35322
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35323
+
35324
+
35325
+
35326
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35327
+
35328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35330
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35331
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
35332
+
35333
+ return {
35334
+ url: toPathString(localVarUrlObj),
35335
+ options: localVarRequestOptions,
35336
+ };
35337
+ },
35338
+ /**
35339
+ *
35340
+ * @summary Search specialties using Azure Search Service
35341
+ * @param {string} [searchTerm]
35342
+ * @param {boolean} [countOnly]
35343
+ * @param {string} [countryId]
35344
+ * @param {string} [hospitalId]
35345
+ * @param {MarketingType} [marketingType]
35346
+ * @param {string} [languageCode]
35347
+ * @param {number} [page]
35348
+ * @param {number} [limit]
35349
+ * @param {Date} [lastRetrieved]
35350
+ * @param {*} [options] Override http request option.
35351
+ * @throws {RequiredError}
35352
+ */
35353
+ apiV1SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35354
+ const localVarPath = `/api/v1/search/specialties`;
35355
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35356
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35357
+ let baseOptions;
35358
+ if (configuration) {
35359
+ baseOptions = configuration.baseOptions;
35360
+ }
35361
+
35362
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35363
+ const localVarHeaderParameter = {} as any;
35364
+ const localVarQueryParameter = {} as any;
35365
+
35366
+ // authentication oauth2 required
35367
+ // oauth required
35368
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35369
+
35370
+ if (searchTerm !== undefined) {
35371
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35372
+ }
35373
+
35374
+ if (countOnly !== undefined) {
35375
+ localVarQueryParameter['CountOnly'] = countOnly;
35376
+ }
35377
+
35378
+ if (countryId !== undefined) {
35379
+ localVarQueryParameter['CountryId'] = countryId;
35380
+ }
35381
+
35382
+ if (hospitalId !== undefined) {
35383
+ localVarQueryParameter['HospitalId'] = hospitalId;
35384
+ }
35385
+
35386
+ if (marketingType !== undefined) {
35387
+ localVarQueryParameter['MarketingType'] = marketingType;
35388
+ }
35389
+
35390
+ if (languageCode !== undefined) {
35391
+ localVarQueryParameter['LanguageCode'] = languageCode;
35392
+ }
35393
+
35394
+ if (page !== undefined) {
35395
+ localVarQueryParameter['page'] = page;
35396
+ }
35397
+
35398
+ if (limit !== undefined) {
35399
+ localVarQueryParameter['limit'] = limit;
35400
+ }
35401
+
35402
+ if (lastRetrieved !== undefined) {
35403
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35404
+ (lastRetrieved as any).toISOString() :
35405
+ lastRetrieved;
35406
+ }
35407
+
35408
+
35409
+
35410
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35411
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35412
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35413
+
35414
+ return {
35415
+ url: toPathString(localVarUrlObj),
35416
+ options: localVarRequestOptions,
35417
+ };
35418
+ },
35419
+ /**
35420
+ *
35421
+ * @summary Update or Re-create specialties Azure Search Services Index
35422
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
35423
+ * @param {*} [options] Override http request option.
35424
+ * @throws {RequiredError}
35425
+ */
35426
+ apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35427
+ const localVarPath = `/api/v1/search/specialties`;
35428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35430
+ let baseOptions;
35431
+ if (configuration) {
35432
+ baseOptions = configuration.baseOptions;
35433
+ }
35434
+
35435
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35436
+ const localVarHeaderParameter = {} as any;
35437
+ const localVarQueryParameter = {} as any;
35438
+
35439
+ // authentication oauth2 required
35440
+ // oauth required
35441
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35442
+
35443
+
35444
+
35445
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35446
+
35447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35449
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35450
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
35451
+
35452
+ return {
35453
+ url: toPathString(localVarUrlObj),
35454
+ options: localVarRequestOptions,
35455
+ };
35456
+ },
35457
+ /**
35458
+ *
35459
+ * @summary Search specialtyTypes using Azure Search Services
35460
+ * @param {string} [searchTerm]
35461
+ * @param {boolean} [countOnly]
35462
+ * @param {string} [countryId]
35463
+ * @param {string} [hospitalId]
35464
+ * @param {MarketingType} [marketingType]
35465
+ * @param {string} [languageCode]
35466
+ * @param {number} [page]
35467
+ * @param {number} [limit]
35468
+ * @param {Date} [lastRetrieved]
35469
+ * @param {*} [options] Override http request option.
35470
+ * @throws {RequiredError}
35471
+ */
35472
+ apiV1SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35473
+ const localVarPath = `/api/v1/search/specialtytypes`;
35474
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35475
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35476
+ let baseOptions;
35477
+ if (configuration) {
35478
+ baseOptions = configuration.baseOptions;
35479
+ }
35480
+
35481
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35482
+ const localVarHeaderParameter = {} as any;
35483
+ const localVarQueryParameter = {} as any;
35484
+
35485
+ // authentication oauth2 required
35486
+ // oauth required
35487
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35488
+
35489
+ if (searchTerm !== undefined) {
35490
+ localVarQueryParameter['SearchTerm'] = searchTerm;
35491
+ }
35492
+
35493
+ if (countOnly !== undefined) {
35494
+ localVarQueryParameter['CountOnly'] = countOnly;
35495
+ }
35496
+
35497
+ if (countryId !== undefined) {
35498
+ localVarQueryParameter['CountryId'] = countryId;
35499
+ }
35500
+
35501
+ if (hospitalId !== undefined) {
35502
+ localVarQueryParameter['HospitalId'] = hospitalId;
35503
+ }
35504
+
35505
+ if (marketingType !== undefined) {
35506
+ localVarQueryParameter['MarketingType'] = marketingType;
35507
+ }
35508
+
35509
+ if (languageCode !== undefined) {
35510
+ localVarQueryParameter['LanguageCode'] = languageCode;
35511
+ }
35512
+
35513
+ if (page !== undefined) {
35514
+ localVarQueryParameter['page'] = page;
35515
+ }
35516
+
35517
+ if (limit !== undefined) {
35518
+ localVarQueryParameter['limit'] = limit;
35519
+ }
35520
+
35521
+ if (lastRetrieved !== undefined) {
35522
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
35523
+ (lastRetrieved as any).toISOString() :
35524
+ lastRetrieved;
35525
+ }
35526
+
35527
+
35528
+
35529
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35530
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35531
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35532
+
35533
+ return {
35534
+ url: toPathString(localVarUrlObj),
35535
+ options: localVarRequestOptions,
35536
+ };
35537
+ },
35538
+ /**
35539
+ *
35540
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
35541
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
35542
+ * @param {*} [options] Override http request option.
35543
+ * @throws {RequiredError}
35544
+ */
35545
+ apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35546
+ const localVarPath = `/api/v1/search/specialtytypes`;
35547
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35548
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35549
+ let baseOptions;
35550
+ if (configuration) {
35551
+ baseOptions = configuration.baseOptions;
35552
+ }
35553
+
35554
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35555
+ const localVarHeaderParameter = {} as any;
35556
+ const localVarQueryParameter = {} as any;
35557
+
35558
+ // authentication oauth2 required
35559
+ // oauth required
35560
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35561
+
35562
+
35563
+
35564
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35565
+
35566
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35567
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35568
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35569
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration)
35570
+
35571
+ return {
35572
+ url: toPathString(localVarUrlObj),
35573
+ options: localVarRequestOptions,
35574
+ };
35575
+ },
35576
+ }
35577
+ };
35578
+
35579
+ /**
35580
+ * SearchApi - functional programming interface
35581
+ * @export
35582
+ */
35583
+ export const SearchApiFp = function(configuration?: Configuration) {
35584
+ const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
35585
+ return {
35586
+ /**
35587
+ *
35588
+ * @summary Search deals using Azure Search Service
35589
+ * @param {string} [searchTerm]
35590
+ * @param {boolean} [countOnly]
35591
+ * @param {string} [countryId]
35592
+ * @param {string} [hospitalId]
35593
+ * @param {MarketingType} [marketingType]
35594
+ * @param {string} [languageCode]
35595
+ * @param {number} [page]
35596
+ * @param {number} [limit]
35597
+ * @param {Date} [lastRetrieved]
35598
+ * @param {*} [options] Override http request option.
35599
+ * @throws {RequiredError}
35600
+ */
35601
+ 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>> {
35602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35603
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35604
+ },
35605
+ /**
35606
+ *
35607
+ * @summary Update or Re-create deals Azure Search Services Index
35608
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
35609
+ * @param {*} [options] Override http request option.
35610
+ * @throws {RequiredError}
35611
+ */
35612
+ async apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
35614
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35615
+ },
35616
+ /**
35617
+ *
35618
+ * @summary Search doctors using Azure Search Services
35619
+ * @param {string} [searchTerm]
35620
+ * @param {boolean} [countOnly]
35621
+ * @param {string} [countryId]
35622
+ * @param {string} [hospitalId]
35623
+ * @param {MarketingType} [marketingType]
35624
+ * @param {string} [languageCode]
35625
+ * @param {number} [page]
35626
+ * @param {number} [limit]
35627
+ * @param {Date} [lastRetrieved]
35628
+ * @param {*} [options] Override http request option.
35629
+ * @throws {RequiredError}
35630
+ */
35631
+ 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>> {
35632
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35633
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35634
+ },
35635
+ /**
35636
+ *
35637
+ * @summary Update or Re-create doctors Azure Search Services Index
35638
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
35639
+ * @param {*} [options] Override http request option.
35640
+ * @throws {RequiredError}
35641
+ */
35642
+ async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35643
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
35644
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35645
+ },
35646
+ /**
35647
+ *
35648
+ * @summary Get the number of items in each search index
35649
+ * @param {string} [searchTerm]
35650
+ * @param {boolean} [countOnly]
35651
+ * @param {string} [countryId]
35652
+ * @param {string} [hospitalId]
35653
+ * @param {MarketingType} [marketingType]
35654
+ * @param {string} [languageCode]
35655
+ * @param {number} [page]
35656
+ * @param {number} [limit]
35657
+ * @param {Date} [lastRetrieved]
35658
+ * @param {*} [options] Override http request option.
35659
+ * @throws {RequiredError}
35660
+ */
35661
+ 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>> {
35662
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35663
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35664
+ },
35665
+ /**
35666
+ *
35667
+ * @summary Search hospitals using Azure Search Services
35668
+ * @param {string} [searchTerm]
35669
+ * @param {boolean} [countOnly]
35670
+ * @param {string} [countryId]
35671
+ * @param {string} [hospitalId]
35672
+ * @param {MarketingType} [marketingType]
35673
+ * @param {string} [languageCode]
35674
+ * @param {number} [page]
35675
+ * @param {number} [limit]
35676
+ * @param {Date} [lastRetrieved]
35677
+ * @param {*} [options] Override http request option.
35678
+ * @throws {RequiredError}
35679
+ */
35680
+ 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>> {
35681
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35682
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35683
+ },
35684
+ /**
35685
+ *
35686
+ * @summary Update or Re-create hospitals Azure Search Services Index
35687
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
35688
+ * @param {*} [options] Override http request option.
35689
+ * @throws {RequiredError}
35690
+ */
35691
+ async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35692
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
35693
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35694
+ },
35695
+ /**
35696
+ *
35697
+ * @summary Search specialties using Azure Search Service
35698
+ * @param {string} [searchTerm]
35699
+ * @param {boolean} [countOnly]
35700
+ * @param {string} [countryId]
35701
+ * @param {string} [hospitalId]
35702
+ * @param {MarketingType} [marketingType]
35703
+ * @param {string} [languageCode]
35704
+ * @param {number} [page]
35705
+ * @param {number} [limit]
35706
+ * @param {Date} [lastRetrieved]
35707
+ * @param {*} [options] Override http request option.
35708
+ * @throws {RequiredError}
35709
+ */
35710
+ 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>> {
35711
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35712
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35713
+ },
35714
+ /**
35715
+ *
35716
+ * @summary Update or Re-create specialties Azure Search Services Index
35717
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
35718
+ * @param {*} [options] Override http request option.
35719
+ * @throws {RequiredError}
35720
+ */
35721
+ async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
35723
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35724
+ },
35725
+ /**
35726
+ *
35727
+ * @summary Search specialtyTypes using Azure Search Services
35728
+ * @param {string} [searchTerm]
35729
+ * @param {boolean} [countOnly]
35730
+ * @param {string} [countryId]
35731
+ * @param {string} [hospitalId]
35732
+ * @param {MarketingType} [marketingType]
35733
+ * @param {string} [languageCode]
35734
+ * @param {number} [page]
35735
+ * @param {number} [limit]
35736
+ * @param {Date} [lastRetrieved]
35737
+ * @param {*} [options] Override http request option.
35738
+ * @throws {RequiredError}
35739
+ */
35740
+ 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>> {
35741
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
35742
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35743
+ },
35744
+ /**
35745
+ *
35746
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
35747
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
35748
+ * @param {*} [options] Override http request option.
35749
+ * @throws {RequiredError}
35750
+ */
35751
+ async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
35752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
35753
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35754
+ },
35755
+ }
35756
+ };
35757
+
35758
+ /**
35759
+ * SearchApi - factory interface
35760
+ * @export
35761
+ */
35762
+ export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35763
+ const localVarFp = SearchApiFp(configuration)
35764
+ return {
35765
+ /**
35766
+ *
35767
+ * @summary Search deals using Azure Search Service
35768
+ * @param {string} [searchTerm]
35769
+ * @param {boolean} [countOnly]
35770
+ * @param {string} [countryId]
35771
+ * @param {string} [hospitalId]
35772
+ * @param {MarketingType} [marketingType]
35773
+ * @param {string} [languageCode]
35774
+ * @param {number} [page]
35775
+ * @param {number} [limit]
35776
+ * @param {Date} [lastRetrieved]
35777
+ * @param {*} [options] Override http request option.
35778
+ * @throws {RequiredError}
35779
+ */
35780
+ apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
35781
+ return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35782
+ },
35783
+ /**
35784
+ *
35785
+ * @summary Update or Re-create deals Azure Search Services Index
35786
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
35787
+ * @param {*} [options] Override http request option.
35788
+ * @throws {RequiredError}
35789
+ */
35790
+ apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
35791
+ return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
35792
+ },
35793
+ /**
35794
+ *
35795
+ * @summary Search doctors using Azure Search Services
35796
+ * @param {string} [searchTerm]
35797
+ * @param {boolean} [countOnly]
35798
+ * @param {string} [countryId]
35799
+ * @param {string} [hospitalId]
35800
+ * @param {MarketingType} [marketingType]
35801
+ * @param {string} [languageCode]
35802
+ * @param {number} [page]
35803
+ * @param {number} [limit]
35804
+ * @param {Date} [lastRetrieved]
35805
+ * @param {*} [options] Override http request option.
35806
+ * @throws {RequiredError}
35807
+ */
35808
+ apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
35809
+ return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35810
+ },
35811
+ /**
35812
+ *
35813
+ * @summary Update or Re-create doctors Azure Search Services Index
35814
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
35815
+ * @param {*} [options] Override http request option.
35816
+ * @throws {RequiredError}
35817
+ */
35818
+ apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
35819
+ return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
35820
+ },
35821
+ /**
35822
+ *
35823
+ * @summary Get the number of items in each search index
35824
+ * @param {string} [searchTerm]
35825
+ * @param {boolean} [countOnly]
35826
+ * @param {string} [countryId]
35827
+ * @param {string} [hospitalId]
35828
+ * @param {MarketingType} [marketingType]
35829
+ * @param {string} [languageCode]
35830
+ * @param {number} [page]
35831
+ * @param {number} [limit]
35832
+ * @param {Date} [lastRetrieved]
35833
+ * @param {*} [options] Override http request option.
35834
+ * @throws {RequiredError}
35835
+ */
35836
+ apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
35837
+ return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35838
+ },
35839
+ /**
35840
+ *
35841
+ * @summary Search hospitals using Azure Search Services
35842
+ * @param {string} [searchTerm]
35843
+ * @param {boolean} [countOnly]
35844
+ * @param {string} [countryId]
35845
+ * @param {string} [hospitalId]
35846
+ * @param {MarketingType} [marketingType]
35847
+ * @param {string} [languageCode]
35848
+ * @param {number} [page]
35849
+ * @param {number} [limit]
35850
+ * @param {Date} [lastRetrieved]
35851
+ * @param {*} [options] Override http request option.
35852
+ * @throws {RequiredError}
35853
+ */
35854
+ apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
35855
+ return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35856
+ },
35857
+ /**
35858
+ *
35859
+ * @summary Update or Re-create hospitals Azure Search Services Index
35860
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
35861
+ * @param {*} [options] Override http request option.
35862
+ * @throws {RequiredError}
35863
+ */
35864
+ apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
35865
+ return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
35866
+ },
35867
+ /**
35868
+ *
35869
+ * @summary Search specialties using Azure Search Service
35870
+ * @param {string} [searchTerm]
35871
+ * @param {boolean} [countOnly]
35872
+ * @param {string} [countryId]
35873
+ * @param {string} [hospitalId]
35874
+ * @param {MarketingType} [marketingType]
35875
+ * @param {string} [languageCode]
35876
+ * @param {number} [page]
35877
+ * @param {number} [limit]
35878
+ * @param {Date} [lastRetrieved]
35879
+ * @param {*} [options] Override http request option.
35880
+ * @throws {RequiredError}
35881
+ */
35882
+ apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
35883
+ return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35884
+ },
35885
+ /**
35886
+ *
35887
+ * @summary Update or Re-create specialties Azure Search Services Index
35888
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
35889
+ * @param {*} [options] Override http request option.
35890
+ * @throws {RequiredError}
35891
+ */
35892
+ apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
35893
+ return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
35894
+ },
35895
+ /**
35896
+ *
35897
+ * @summary Search specialtyTypes using Azure Search Services
35898
+ * @param {string} [searchTerm]
35899
+ * @param {boolean} [countOnly]
35900
+ * @param {string} [countryId]
35901
+ * @param {string} [hospitalId]
35902
+ * @param {MarketingType} [marketingType]
35903
+ * @param {string} [languageCode]
35904
+ * @param {number} [page]
35905
+ * @param {number} [limit]
35906
+ * @param {Date} [lastRetrieved]
35907
+ * @param {*} [options] Override http request option.
35908
+ * @throws {RequiredError}
35909
+ */
35910
+ apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
35911
+ return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35912
+ },
35913
+ /**
35914
+ *
35915
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
35916
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
35917
+ * @param {*} [options] Override http request option.
35918
+ * @throws {RequiredError}
35919
+ */
35920
+ apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
35921
+ return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
35922
+ },
35923
+ };
35924
+ };
35925
+
35926
+ /**
35927
+ * SearchApi - object-oriented interface
35928
+ * @export
35929
+ * @class SearchApi
35930
+ * @extends {BaseAPI}
35931
+ */
35932
+ export class SearchApi extends BaseAPI {
35933
+ /**
35934
+ *
35935
+ * @summary Search deals using Azure Search Service
35936
+ * @param {string} [searchTerm]
35937
+ * @param {boolean} [countOnly]
35938
+ * @param {string} [countryId]
35939
+ * @param {string} [hospitalId]
35940
+ * @param {MarketingType} [marketingType]
35941
+ * @param {string} [languageCode]
35942
+ * @param {number} [page]
35943
+ * @param {number} [limit]
35944
+ * @param {Date} [lastRetrieved]
35945
+ * @param {*} [options] Override http request option.
35946
+ * @throws {RequiredError}
35947
+ * @memberof SearchApi
35948
+ */
35949
+ public apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35950
+ return SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35951
+ }
35952
+
35953
+ /**
35954
+ *
35955
+ * @summary Update or Re-create deals Azure Search Services Index
35956
+ * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
35957
+ * @param {*} [options] Override http request option.
35958
+ * @throws {RequiredError}
35959
+ * @memberof SearchApi
35960
+ */
35961
+ public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
35962
+ return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
35963
+ }
35964
+
35965
+ /**
35966
+ *
35967
+ * @summary Search doctors using Azure Search Services
35968
+ * @param {string} [searchTerm]
35969
+ * @param {boolean} [countOnly]
35970
+ * @param {string} [countryId]
35971
+ * @param {string} [hospitalId]
35972
+ * @param {MarketingType} [marketingType]
35973
+ * @param {string} [languageCode]
35974
+ * @param {number} [page]
35975
+ * @param {number} [limit]
35976
+ * @param {Date} [lastRetrieved]
35977
+ * @param {*} [options] Override http request option.
35978
+ * @throws {RequiredError}
35979
+ * @memberof SearchApi
35980
+ */
35981
+ public apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
35982
+ return SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
35983
+ }
35984
+
35985
+ /**
35986
+ *
35987
+ * @summary Update or Re-create doctors Azure Search Services Index
35988
+ * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
35989
+ * @param {*} [options] Override http request option.
35990
+ * @throws {RequiredError}
35991
+ * @memberof SearchApi
35992
+ */
35993
+ public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
35994
+ return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
35995
+ }
35996
+
35997
+ /**
35998
+ *
35999
+ * @summary Get the number of items in each search index
36000
+ * @param {string} [searchTerm]
36001
+ * @param {boolean} [countOnly]
36002
+ * @param {string} [countryId]
36003
+ * @param {string} [hospitalId]
36004
+ * @param {MarketingType} [marketingType]
36005
+ * @param {string} [languageCode]
36006
+ * @param {number} [page]
36007
+ * @param {number} [limit]
36008
+ * @param {Date} [lastRetrieved]
36009
+ * @param {*} [options] Override http request option.
36010
+ * @throws {RequiredError}
36011
+ * @memberof SearchApi
36012
+ */
36013
+ public apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36014
+ return SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36015
+ }
36016
+
36017
+ /**
36018
+ *
36019
+ * @summary Search hospitals using Azure Search Services
36020
+ * @param {string} [searchTerm]
36021
+ * @param {boolean} [countOnly]
36022
+ * @param {string} [countryId]
36023
+ * @param {string} [hospitalId]
36024
+ * @param {MarketingType} [marketingType]
36025
+ * @param {string} [languageCode]
36026
+ * @param {number} [page]
36027
+ * @param {number} [limit]
36028
+ * @param {Date} [lastRetrieved]
36029
+ * @param {*} [options] Override http request option.
36030
+ * @throws {RequiredError}
36031
+ * @memberof SearchApi
36032
+ */
36033
+ public apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36034
+ return SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36035
+ }
36036
+
36037
+ /**
36038
+ *
36039
+ * @summary Update or Re-create hospitals Azure Search Services Index
36040
+ * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
36041
+ * @param {*} [options] Override http request option.
36042
+ * @throws {RequiredError}
36043
+ * @memberof SearchApi
36044
+ */
36045
+ public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
36046
+ return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36047
+ }
36048
+
36049
+ /**
36050
+ *
36051
+ * @summary Search specialties using Azure Search Service
36052
+ * @param {string} [searchTerm]
36053
+ * @param {boolean} [countOnly]
36054
+ * @param {string} [countryId]
36055
+ * @param {string} [hospitalId]
36056
+ * @param {MarketingType} [marketingType]
36057
+ * @param {string} [languageCode]
36058
+ * @param {number} [page]
36059
+ * @param {number} [limit]
36060
+ * @param {Date} [lastRetrieved]
36061
+ * @param {*} [options] Override http request option.
36062
+ * @throws {RequiredError}
36063
+ * @memberof SearchApi
36064
+ */
36065
+ public apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36066
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36067
+ }
36068
+
36069
+ /**
36070
+ *
36071
+ * @summary Update or Re-create specialties Azure Search Services Index
36072
+ * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
36073
+ * @param {*} [options] Override http request option.
36074
+ * @throws {RequiredError}
36075
+ * @memberof SearchApi
36076
+ */
36077
+ public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
36078
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36079
+ }
36080
+
36081
+ /**
36082
+ *
36083
+ * @summary Search specialtyTypes using Azure Search Services
36084
+ * @param {string} [searchTerm]
36085
+ * @param {boolean} [countOnly]
36086
+ * @param {string} [countryId]
36087
+ * @param {string} [hospitalId]
36088
+ * @param {MarketingType} [marketingType]
36089
+ * @param {string} [languageCode]
36090
+ * @param {number} [page]
36091
+ * @param {number} [limit]
36092
+ * @param {Date} [lastRetrieved]
36093
+ * @param {*} [options] Override http request option.
36094
+ * @throws {RequiredError}
36095
+ * @memberof SearchApi
36096
+ */
36097
+ public apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36098
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36099
+ }
36100
+
36101
+ /**
36102
+ *
36103
+ * @summary Update or Re-create specialtyTypes Azure Search Services Index
36104
+ * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
36105
+ * @param {*} [options] Override http request option.
36106
+ * @throws {RequiredError}
36107
+ * @memberof SearchApi
36108
+ */
36109
+ public apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig) {
36110
+ return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
36111
+ }
36112
+ }
36113
+
36114
+
36115
+ /**
36116
+ * ServiceReviewsApi - axios parameter creator
36117
+ * @export
36118
+ */
36119
+ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
36120
+ return {
36121
+ /**
36122
+ *
36123
+ * @summary Get all ServiceReviews.
36124
+ * @param {string} [serviceId]
36125
+ * @param {string} [serviceName]
36126
+ * @param {string} [patientId]
36127
+ * @param {string} [patientName]
36128
+ * @param {boolean} [recommended]
36129
+ * @param {number} [rate]
36130
+ * @param {ReviewType} [reviewType]
36131
+ * @param {number} [page]
36132
+ * @param {number} [limit]
36133
+ * @param {Date} [lastRetrieved]
36134
+ * @param {*} [options] Override http request option.
36135
+ * @throws {RequiredError}
36136
+ */
36137
+ 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> => {
36138
+ const localVarPath = `/api/v1/servicereviews`;
36139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36141
+ let baseOptions;
36142
+ if (configuration) {
36143
+ baseOptions = configuration.baseOptions;
36144
+ }
36145
+
36146
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36147
+ const localVarHeaderParameter = {} as any;
36148
+ const localVarQueryParameter = {} as any;
36149
+
36150
+ // authentication oauth2 required
36151
+ // oauth required
36152
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36153
+
36154
+ if (serviceId !== undefined) {
36155
+ localVarQueryParameter['ServiceId'] = serviceId;
36156
+ }
36157
+
36158
+ if (serviceName !== undefined) {
36159
+ localVarQueryParameter['ServiceName'] = serviceName;
36160
+ }
36161
+
36162
+ if (patientId !== undefined) {
36163
+ localVarQueryParameter['PatientId'] = patientId;
36164
+ }
36165
+
36166
+ if (patientName !== undefined) {
36167
+ localVarQueryParameter['PatientName'] = patientName;
36168
+ }
36169
+
36170
+ if (recommended !== undefined) {
36171
+ localVarQueryParameter['Recommended'] = recommended;
36172
+ }
36173
+
36174
+ if (rate !== undefined) {
36175
+ localVarQueryParameter['Rate'] = rate;
36176
+ }
36177
+
36178
+ if (reviewType !== undefined) {
36179
+ localVarQueryParameter['ReviewType'] = reviewType;
36180
+ }
36181
+
36182
+ if (page !== undefined) {
36183
+ localVarQueryParameter['page'] = page;
36184
+ }
36185
+
36186
+ if (limit !== undefined) {
36187
+ localVarQueryParameter['limit'] = limit;
36188
+ }
36189
+
36190
+ if (lastRetrieved !== undefined) {
36191
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
36192
+ (lastRetrieved as any).toISOString() :
36193
+ lastRetrieved;
36194
+ }
36195
+
36196
+
36197
+
36198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36200
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36201
+
36202
+ return {
36203
+ url: toPathString(localVarUrlObj),
36204
+ options: localVarRequestOptions,
36205
+ };
36206
+ },
36207
+ /**
36208
+ *
36209
+ * @summary Create a ServiceReview.
36210
+ * @param {CreateServiceReviewCommand} [createServiceReviewCommand]
36211
+ * @param {*} [options] Override http request option.
36212
+ * @throws {RequiredError}
36213
+ */
36214
+ apiV1ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36215
+ const localVarPath = `/api/v1/servicereviews`;
36216
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36217
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36218
+ let baseOptions;
36219
+ if (configuration) {
36220
+ baseOptions = configuration.baseOptions;
36221
+ }
36222
+
36223
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36224
+ const localVarHeaderParameter = {} as any;
36225
+ const localVarQueryParameter = {} as any;
36226
+
36227
+ // authentication oauth2 required
36228
+ // oauth required
36229
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36230
+
36231
+
36232
+
36233
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36234
+
36235
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36237
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36238
+ localVarRequestOptions.data = serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration)
36239
+
36240
+ return {
36241
+ url: toPathString(localVarUrlObj),
36242
+ options: localVarRequestOptions,
36243
+ };
36244
+ },
36245
+ /**
36246
+ *
36247
+ * @summary Delete ServiceReview.
36248
+ * @param {string} serviceReviewId
36249
+ * @param {*} [options] Override http request option.
36250
+ * @throws {RequiredError}
36251
+ */
36252
+ apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36253
+ // verify required parameter 'serviceReviewId' is not null or undefined
36254
+ assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
36255
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
36256
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36259
+ let baseOptions;
36260
+ if (configuration) {
36261
+ baseOptions = configuration.baseOptions;
36262
+ }
36263
+
36264
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36265
+ const localVarHeaderParameter = {} as any;
36266
+ const localVarQueryParameter = {} as any;
36267
+
36268
+ // authentication oauth2 required
36269
+ // oauth required
36270
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36271
+
36272
+
36273
+
36274
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36275
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36276
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36277
+
36278
+ return {
36279
+ url: toPathString(localVarUrlObj),
36280
+ options: localVarRequestOptions,
36281
+ };
36282
+ },
36283
+ /**
36284
+ *
36285
+ * @param {string} serviceReviewId
36286
+ * @param {*} [options] Override http request option.
36287
+ * @throws {RequiredError}
36288
+ */
36289
+ apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36290
+ // verify required parameter 'serviceReviewId' is not null or undefined
36291
+ assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
36292
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
36293
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36294
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36295
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36296
+ let baseOptions;
36297
+ if (configuration) {
36298
+ baseOptions = configuration.baseOptions;
36299
+ }
36300
+
36301
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36302
+ const localVarHeaderParameter = {} as any;
36303
+ const localVarQueryParameter = {} as any;
36304
+
36305
+ // authentication oauth2 required
36306
+ // oauth required
36307
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36308
+
36309
+
36310
+
36311
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36312
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36313
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36314
+
36315
+ return {
36316
+ url: toPathString(localVarUrlObj),
36317
+ options: localVarRequestOptions,
36318
+ };
36319
+ },
36320
+ /**
36321
+ *
36322
+ * @summary Get all ServiceReviewMedias.
36323
+ * @param {string} serviceReviewId
36324
+ * @param {string} [id]
36325
+ * @param {MediaType} [mediaType]
36326
+ * @param {number} [page]
36327
+ * @param {number} [limit]
36328
+ * @param {Date} [lastRetrieved]
36329
+ * @param {*} [options] Override http request option.
36330
+ * @throws {RequiredError}
36331
+ */
36332
+ apiV1ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36333
+ // verify required parameter 'serviceReviewId' is not null or undefined
36334
+ assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
36335
+ const localVarPath = `/api/v1/servicereviews/{serviceReviewId}/medias`
36336
+ .replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
36337
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36338
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36339
+ let baseOptions;
36340
+ if (configuration) {
36341
+ baseOptions = configuration.baseOptions;
36342
+ }
36343
+
36344
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36345
+ const localVarHeaderParameter = {} as any;
36346
+ const localVarQueryParameter = {} as any;
36347
+
36348
+ // authentication oauth2 required
36349
+ // oauth required
36350
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36351
+
36352
+ if (id !== undefined) {
36353
+ localVarQueryParameter['Id'] = id;
36354
+ }
36355
+
36356
+ if (mediaType !== undefined) {
36357
+ localVarQueryParameter['MediaType'] = mediaType;
34813
36358
  }
34814
36359
 
34815
36360
  if (page !== undefined) {
@@ -35905,14 +37450,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
35905
37450
  * @summary Get all ServiceCategories.
35906
37451
  * @param {string} [id]
35907
37452
  * @param {string} [name]
35908
- * @param {string} [description]
35909
37453
  * @param {number} [page]
35910
37454
  * @param {number} [limit]
35911
37455
  * @param {Date} [lastRetrieved]
35912
37456
  * @param {*} [options] Override http request option.
35913
37457
  * @throws {RequiredError}
35914
37458
  */
35915
- apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37459
+ apiV1ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35916
37460
  const localVarPath = `/api/v1/servicescategories`;
35917
37461
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35918
37462
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35937,10 +37481,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
35937
37481
  localVarQueryParameter['Name'] = name;
35938
37482
  }
35939
37483
 
35940
- if (description !== undefined) {
35941
- localVarQueryParameter['Description'] = description;
35942
- }
35943
-
35944
37484
  if (page !== undefined) {
35945
37485
  localVarQueryParameter['page'] = page;
35946
37486
  }
@@ -36136,15 +37676,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
36136
37676
  * @summary Get all ServiceCategories.
36137
37677
  * @param {string} [id]
36138
37678
  * @param {string} [name]
36139
- * @param {string} [description]
36140
37679
  * @param {number} [page]
36141
37680
  * @param {number} [limit]
36142
37681
  * @param {Date} [lastRetrieved]
36143
37682
  * @param {*} [options] Override http request option.
36144
37683
  * @throws {RequiredError}
36145
37684
  */
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);
37685
+ async apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
37686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
36148
37687
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36149
37688
  },
36150
37689
  /**
@@ -36206,15 +37745,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
36206
37745
  * @summary Get all ServiceCategories.
36207
37746
  * @param {string} [id]
36208
37747
  * @param {string} [name]
36209
- * @param {string} [description]
36210
37748
  * @param {number} [page]
36211
37749
  * @param {number} [limit]
36212
37750
  * @param {Date} [lastRetrieved]
36213
37751
  * @param {*} [options] Override http request option.
36214
37752
  * @throws {RequiredError}
36215
37753
  */
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));
37754
+ apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
37755
+ return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
36218
37756
  },
36219
37757
  /**
36220
37758
  *
@@ -36271,7 +37809,6 @@ export class ServicesCategoriesApi extends BaseAPI {
36271
37809
  * @summary Get all ServiceCategories.
36272
37810
  * @param {string} [id]
36273
37811
  * @param {string} [name]
36274
- * @param {string} [description]
36275
37812
  * @param {number} [page]
36276
37813
  * @param {number} [limit]
36277
37814
  * @param {Date} [lastRetrieved]
@@ -36279,8 +37816,8 @@ export class ServicesCategoriesApi extends BaseAPI {
36279
37816
  * @throws {RequiredError}
36280
37817
  * @memberof ServicesCategoriesApi
36281
37818
  */
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));
37819
+ public apiV1ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
37820
+ return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36284
37821
  }
36285
37822
 
36286
37823
  /**