ch-admin-api-client-typescript 4.0.0 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -3800,6 +3800,12 @@ export interface CreateDoctorCommand {
3800
3800
  * @memberof CreateDoctorCommand
3801
3801
  */
3802
3802
  'lastName'?: string | null;
3803
+ /**
3804
+ *
3805
+ * @type {string}
3806
+ * @memberof CreateDoctorCommand
3807
+ */
3808
+ 'phone'?: string | null;
3803
3809
  /**
3804
3810
  *
3805
3811
  * @type {Gender}
@@ -3955,6 +3961,12 @@ export interface CreateFaqCategoryCommand {
3955
3961
  * @memberof CreateFaqCategoryCommand
3956
3962
  */
3957
3963
  'description'?: string | null;
3964
+ /**
3965
+ *
3966
+ * @type {string}
3967
+ * @memberof CreateFaqCategoryCommand
3968
+ */
3969
+ 'overview'?: string | null;
3958
3970
  /**
3959
3971
  *
3960
3972
  * @type {number}
@@ -5722,6 +5734,12 @@ export interface DoctorAffiliationItemModel {
5722
5734
  * @memberof DoctorAffiliationItemModel
5723
5735
  */
5724
5736
  'order'?: number;
5737
+ /**
5738
+ *
5739
+ * @type {AuditableEntity}
5740
+ * @memberof DoctorAffiliationItemModel
5741
+ */
5742
+ 'auditableEntity'?: AuditableEntity;
5725
5743
  }
5726
5744
  /**
5727
5745
  *
@@ -5813,6 +5831,12 @@ export interface DoctorAffiliationModel {
5813
5831
  * @memberof DoctorAffiliationModel
5814
5832
  */
5815
5833
  'order'?: number;
5834
+ /**
5835
+ *
5836
+ * @type {AuditableEntity}
5837
+ * @memberof DoctorAffiliationModel
5838
+ */
5839
+ 'auditableEntity'?: AuditableEntity;
5816
5840
  /**
5817
5841
  *
5818
5842
  * @type {string}
@@ -8297,6 +8321,12 @@ export interface HospitalSpecialtyItemModel {
8297
8321
  * @memberof HospitalSpecialtyItemModel
8298
8322
  */
8299
8323
  'marketingType'?: MarketingType;
8324
+ /**
8325
+ *
8326
+ * @type {AuditableEntity}
8327
+ * @memberof HospitalSpecialtyItemModel
8328
+ */
8329
+ 'auditableEntity'?: AuditableEntity;
8300
8330
  }
8301
8331
  /**
8302
8332
  *
@@ -8400,6 +8430,12 @@ export interface HospitalSpecialtyModel {
8400
8430
  * @memberof HospitalSpecialtyModel
8401
8431
  */
8402
8432
  'marketingType'?: MarketingType;
8433
+ /**
8434
+ *
8435
+ * @type {AuditableEntity}
8436
+ * @memberof HospitalSpecialtyModel
8437
+ */
8438
+ 'auditableEntity'?: AuditableEntity;
8403
8439
  /**
8404
8440
  *
8405
8441
  * @type {string}
@@ -10153,6 +10189,27 @@ export enum ReviewType {
10153
10189
  RealStory = 'RealStory'
10154
10190
  }
10155
10191
 
10192
+ /**
10193
+ *
10194
+ * @export
10195
+ * @enum {string}
10196
+ */
10197
+
10198
+ export enum SearchIndexType {
10199
+ Hospitals = 'hospitals',
10200
+ Departments = 'departments',
10201
+ Specialties = 'specialties',
10202
+ Hospitalspecialies = 'hospitalspecialies',
10203
+ Doctors = 'doctors',
10204
+ Deals = 'deals',
10205
+ Articles = 'articles',
10206
+ Contributors = 'contributors',
10207
+ Countries = 'countries',
10208
+ Faqcategories = 'faqcategories',
10209
+ Faqs = 'faqs',
10210
+ Services = 'services'
10211
+ }
10212
+
10156
10213
  /**
10157
10214
  *
10158
10215
  * @export
@@ -11985,19 +12042,6 @@ export interface UpdateDealServiceCommand {
11985
12042
  */
11986
12043
  'order'?: number;
11987
12044
  }
11988
- /**
11989
- *
11990
- * @export
11991
- * @interface UpdateDealsSearchIndexCommand
11992
- */
11993
- export interface UpdateDealsSearchIndexCommand {
11994
- /**
11995
- *
11996
- * @type {boolean}
11997
- * @memberof UpdateDealsSearchIndexCommand
11998
- */
11999
- 'reCreate'?: boolean | null;
12000
- }
12001
12045
  /**
12002
12046
  *
12003
12047
  * @export
@@ -12287,19 +12331,6 @@ export interface UpdateDoctorSpecialtyCommand {
12287
12331
  */
12288
12332
  'order'?: number;
12289
12333
  }
12290
- /**
12291
- *
12292
- * @export
12293
- * @interface UpdateDoctorsSearchIndexCommand
12294
- */
12295
- export interface UpdateDoctorsSearchIndexCommand {
12296
- /**
12297
- *
12298
- * @type {boolean}
12299
- * @memberof UpdateDoctorsSearchIndexCommand
12300
- */
12301
- 'reCreate'?: boolean | null;
12302
- }
12303
12334
  /**
12304
12335
  *
12305
12336
  * @export
@@ -12324,6 +12355,12 @@ export interface UpdateFaqCategoryCommand {
12324
12355
  * @memberof UpdateFaqCategoryCommand
12325
12356
  */
12326
12357
  'description'?: string | null;
12358
+ /**
12359
+ *
12360
+ * @type {string}
12361
+ * @memberof UpdateFaqCategoryCommand
12362
+ */
12363
+ 'overview'?: string | null;
12327
12364
  /**
12328
12365
  *
12329
12366
  * @type {number}
@@ -12720,19 +12757,6 @@ export interface UpdateHospitalSnsHandleCommand {
12720
12757
  */
12721
12758
  'handle'?: string | null;
12722
12759
  }
12723
- /**
12724
- *
12725
- * @export
12726
- * @interface UpdateHospitalSpecialtiesSearchIndexCommand
12727
- */
12728
- export interface UpdateHospitalSpecialtiesSearchIndexCommand {
12729
- /**
12730
- *
12731
- * @type {boolean}
12732
- * @memberof UpdateHospitalSpecialtiesSearchIndexCommand
12733
- */
12734
- 'reCreate'?: boolean | null;
12735
- }
12736
12760
  /**
12737
12761
  *
12738
12762
  * @export
@@ -12849,19 +12873,6 @@ export interface UpdateHospitalWorkingDayCommand {
12849
12873
  */
12850
12874
  'checkHoliday'?: boolean;
12851
12875
  }
12852
- /**
12853
- *
12854
- * @export
12855
- * @interface UpdateHospitalsSearchIndexCommand
12856
- */
12857
- export interface UpdateHospitalsSearchIndexCommand {
12858
- /**
12859
- *
12860
- * @type {boolean}
12861
- * @memberof UpdateHospitalsSearchIndexCommand
12862
- */
12863
- 'reCreate'?: boolean | null;
12864
- }
12865
12876
  /**
12866
12877
  *
12867
12878
  * @export
@@ -13193,6 +13204,19 @@ export interface UpdateProfileCommand {
13193
13204
  */
13194
13205
  'locations'?: Array<UserLocationModel> | null;
13195
13206
  }
13207
+ /**
13208
+ *
13209
+ * @export
13210
+ * @interface UpdateSearchIndexCommand
13211
+ */
13212
+ export interface UpdateSearchIndexCommand {
13213
+ /**
13214
+ *
13215
+ * @type {boolean}
13216
+ * @memberof UpdateSearchIndexCommand
13217
+ */
13218
+ 'reCreate'?: boolean | null;
13219
+ }
13196
13220
  /**
13197
13221
  *
13198
13222
  * @export
@@ -13273,19 +13297,6 @@ export interface UpdateServiceReviewCommand {
13273
13297
  */
13274
13298
  'confirmed'?: boolean;
13275
13299
  }
13276
- /**
13277
- *
13278
- * @export
13279
- * @interface UpdateSpecialtiesSearchIndexCommand
13280
- */
13281
- export interface UpdateSpecialtiesSearchIndexCommand {
13282
- /**
13283
- *
13284
- * @type {boolean}
13285
- * @memberof UpdateSpecialtiesSearchIndexCommand
13286
- */
13287
- 'reCreate'?: boolean | null;
13288
- }
13289
13300
  /**
13290
13301
  *
13291
13302
  * @export
@@ -13414,19 +13425,6 @@ export interface UpdateSpecialtyTypeCommand {
13414
13425
  */
13415
13426
  'content'?: string | null;
13416
13427
  }
13417
- /**
13418
- *
13419
- * @export
13420
- * @interface UpdateSpecialtyTypesSearchIndexCommand
13421
- */
13422
- export interface UpdateSpecialtyTypesSearchIndexCommand {
13423
- /**
13424
- *
13425
- * @type {boolean}
13426
- * @memberof UpdateSpecialtyTypesSearchIndexCommand
13427
- */
13428
- 'reCreate'?: boolean | null;
13429
- }
13430
13428
  /**
13431
13429
  *
13432
13430
  * @export
@@ -32502,6 +32500,95 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32502
32500
 
32503
32501
 
32504
32502
 
32503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32505
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32506
+
32507
+ return {
32508
+ url: toPathString(localVarUrlObj),
32509
+ options: localVarRequestOptions,
32510
+ };
32511
+ },
32512
+ /**
32513
+ *
32514
+ * @summary Delete HospitalSpecialty.
32515
+ * @param {string} hospitalId
32516
+ * @param {string} hospitalSpecialtyId
32517
+ * @param {*} [options] Override http request option.
32518
+ * @throws {RequiredError}
32519
+ */
32520
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32521
+ // verify required parameter 'hospitalId' is not null or undefined
32522
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
32523
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32524
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
32525
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
32526
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32527
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
32528
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32529
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32530
+ let baseOptions;
32531
+ if (configuration) {
32532
+ baseOptions = configuration.baseOptions;
32533
+ }
32534
+
32535
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32536
+ const localVarHeaderParameter = {} as any;
32537
+ const localVarQueryParameter = {} as any;
32538
+
32539
+ // authentication oauth2 required
32540
+ // oauth required
32541
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32542
+
32543
+
32544
+
32545
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32546
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32547
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32548
+
32549
+ return {
32550
+ url: toPathString(localVarUrlObj),
32551
+ options: localVarRequestOptions,
32552
+ };
32553
+ },
32554
+ /**
32555
+ *
32556
+ * @summary Get HospitalSpecialty.
32557
+ * @param {string} hospitalId
32558
+ * @param {string} hospitalSpecialtyId
32559
+ * @param {string} [languageCode]
32560
+ * @param {*} [options] Override http request option.
32561
+ * @throws {RequiredError}
32562
+ */
32563
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: async (hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32564
+ // verify required parameter 'hospitalId' is not null or undefined
32565
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId)
32566
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32567
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
32568
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
32569
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32570
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
32571
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32572
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32573
+ let baseOptions;
32574
+ if (configuration) {
32575
+ baseOptions = configuration.baseOptions;
32576
+ }
32577
+
32578
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32579
+ const localVarHeaderParameter = {} as any;
32580
+ const localVarQueryParameter = {} as any;
32581
+
32582
+ // authentication oauth2 required
32583
+ // oauth required
32584
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32585
+
32586
+ if (languageCode !== undefined) {
32587
+ localVarQueryParameter['languageCode'] = languageCode;
32588
+ }
32589
+
32590
+
32591
+
32505
32592
  setSearchParams(localVarUrlObj, localVarQueryParameter);
32506
32593
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32507
32594
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -32768,6 +32855,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32768
32855
  options: localVarRequestOptions,
32769
32856
  };
32770
32857
  },
32858
+ /**
32859
+ *
32860
+ * @summary Update HospitalSpecialty.
32861
+ * @param {string} hospitalId
32862
+ * @param {string} hospitalSpecialtyId
32863
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
32864
+ * @param {*} [options] Override http request option.
32865
+ * @throws {RequiredError}
32866
+ */
32867
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut: async (hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32868
+ // verify required parameter 'hospitalId' is not null or undefined
32869
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalId', hospitalId)
32870
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
32871
+ assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId)
32872
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
32873
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32874
+ .replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
32875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32877
+ let baseOptions;
32878
+ if (configuration) {
32879
+ baseOptions = configuration.baseOptions;
32880
+ }
32881
+
32882
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32883
+ const localVarHeaderParameter = {} as any;
32884
+ const localVarQueryParameter = {} as any;
32885
+
32886
+ // authentication oauth2 required
32887
+ // oauth required
32888
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32889
+
32890
+
32891
+
32892
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32893
+
32894
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32895
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32896
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32897
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
32898
+
32899
+ return {
32900
+ url: toPathString(localVarUrlObj),
32901
+ options: localVarRequestOptions,
32902
+ };
32903
+ },
32771
32904
  /**
32772
32905
  *
32773
32906
  * @summary Create HospitalSpecialty.
@@ -32972,141 +33105,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
32972
33105
  options: localVarRequestOptions,
32973
33106
  };
32974
33107
  },
32975
- /**
32976
- *
32977
- * @summary Delete HospitalSpecialty.
32978
- * @param {string} hospitalId
32979
- * @param {string} specialtyId
32980
- * @param {*} [options] Override http request option.
32981
- * @throws {RequiredError}
32982
- */
32983
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32984
- // verify required parameter 'hospitalId' is not null or undefined
32985
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
32986
- // verify required parameter 'specialtyId' is not null or undefined
32987
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
32988
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
32989
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32990
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
32991
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
32992
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32993
- let baseOptions;
32994
- if (configuration) {
32995
- baseOptions = configuration.baseOptions;
32996
- }
32997
-
32998
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32999
- const localVarHeaderParameter = {} as any;
33000
- const localVarQueryParameter = {} as any;
33001
-
33002
- // authentication oauth2 required
33003
- // oauth required
33004
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33005
-
33006
-
33007
-
33008
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33009
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33010
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33011
-
33012
- return {
33013
- url: toPathString(localVarUrlObj),
33014
- options: localVarRequestOptions,
33015
- };
33016
- },
33017
- /**
33018
- *
33019
- * @summary Get HospitalSpecialty.
33020
- * @param {string} hospitalId
33021
- * @param {string} specialtyId
33022
- * @param {string} [languageCode]
33023
- * @param {*} [options] Override http request option.
33024
- * @throws {RequiredError}
33025
- */
33026
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33027
- // verify required parameter 'hospitalId' is not null or undefined
33028
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
33029
- // verify required parameter 'specialtyId' is not null or undefined
33030
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
33031
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
33032
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
33033
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
33034
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33035
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33036
- let baseOptions;
33037
- if (configuration) {
33038
- baseOptions = configuration.baseOptions;
33039
- }
33040
-
33041
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33042
- const localVarHeaderParameter = {} as any;
33043
- const localVarQueryParameter = {} as any;
33044
-
33045
- // authentication oauth2 required
33046
- // oauth required
33047
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33048
-
33049
- if (languageCode !== undefined) {
33050
- localVarQueryParameter['languageCode'] = languageCode;
33051
- }
33052
-
33053
-
33054
-
33055
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33056
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33057
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33058
-
33059
- return {
33060
- url: toPathString(localVarUrlObj),
33061
- options: localVarRequestOptions,
33062
- };
33063
- },
33064
- /**
33065
- *
33066
- * @summary Update HospitalSpecialty.
33067
- * @param {string} hospitalId
33068
- * @param {string} specialtyId
33069
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
33070
- * @param {*} [options] Override http request option.
33071
- * @throws {RequiredError}
33072
- */
33073
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33074
- // verify required parameter 'hospitalId' is not null or undefined
33075
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
33076
- // verify required parameter 'specialtyId' is not null or undefined
33077
- assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
33078
- const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
33079
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
33080
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
33081
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33082
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33083
- let baseOptions;
33084
- if (configuration) {
33085
- baseOptions = configuration.baseOptions;
33086
- }
33087
-
33088
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
33089
- const localVarHeaderParameter = {} as any;
33090
- const localVarQueryParameter = {} as any;
33091
-
33092
- // authentication oauth2 required
33093
- // oauth required
33094
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33095
-
33096
-
33097
-
33098
- localVarHeaderParameter['Content-Type'] = 'application/json';
33099
-
33100
- setSearchParams(localVarUrlObj, localVarQueryParameter);
33101
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33102
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33103
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
33104
-
33105
- return {
33106
- url: toPathString(localVarUrlObj),
33107
- options: localVarRequestOptions,
33108
- };
33109
- },
33110
33108
  /**
33111
33109
  *
33112
33110
  * @summary Get all HospitalServices.
@@ -34712,6 +34710,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34712
34710
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
34713
34711
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34714
34712
  },
34713
+ /**
34714
+ *
34715
+ * @summary Delete HospitalSpecialty.
34716
+ * @param {string} hospitalId
34717
+ * @param {string} hospitalSpecialtyId
34718
+ * @param {*} [options] Override http request option.
34719
+ * @throws {RequiredError}
34720
+ */
34721
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options);
34723
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34724
+ },
34725
+ /**
34726
+ *
34727
+ * @summary Get HospitalSpecialty.
34728
+ * @param {string} hospitalId
34729
+ * @param {string} hospitalSpecialtyId
34730
+ * @param {string} [languageCode]
34731
+ * @param {*} [options] Override http request option.
34732
+ * @throws {RequiredError}
34733
+ */
34734
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
34735
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options);
34736
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34737
+ },
34715
34738
  /**
34716
34739
  *
34717
34740
  * @summary Get all HospitalServiceMedias.
@@ -34782,6 +34805,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34782
34805
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options);
34783
34806
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34784
34807
  },
34808
+ /**
34809
+ *
34810
+ * @summary Update HospitalSpecialty.
34811
+ * @param {string} hospitalId
34812
+ * @param {string} hospitalSpecialtyId
34813
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
34814
+ * @param {*} [options] Override http request option.
34815
+ * @throws {RequiredError}
34816
+ */
34817
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
34818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options);
34819
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34820
+ },
34785
34821
  /**
34786
34822
  *
34787
34823
  * @summary Create HospitalSpecialty.
@@ -34833,44 +34869,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34833
34869
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options);
34834
34870
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34835
34871
  },
34836
- /**
34837
- *
34838
- * @summary Delete HospitalSpecialty.
34839
- * @param {string} hospitalId
34840
- * @param {string} specialtyId
34841
- * @param {*} [options] Override http request option.
34842
- * @throws {RequiredError}
34843
- */
34844
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34845
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
34846
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34847
- },
34848
- /**
34849
- *
34850
- * @summary Get HospitalSpecialty.
34851
- * @param {string} hospitalId
34852
- * @param {string} specialtyId
34853
- * @param {string} [languageCode]
34854
- * @param {*} [options] Override http request option.
34855
- * @throws {RequiredError}
34856
- */
34857
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
34858
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options);
34859
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34860
- },
34861
- /**
34862
- *
34863
- * @summary Update HospitalSpecialty.
34864
- * @param {string} hospitalId
34865
- * @param {string} specialtyId
34866
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
34867
- * @param {*} [options] Override http request option.
34868
- * @throws {RequiredError}
34869
- */
34870
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
34871
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
34872
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34873
- },
34874
34872
  /**
34875
34873
  *
34876
34874
  * @summary Get all HospitalServices.
@@ -35646,6 +35644,29 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35646
35644
  apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
35647
35645
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35648
35646
  },
35647
+ /**
35648
+ *
35649
+ * @summary Delete HospitalSpecialty.
35650
+ * @param {string} hospitalId
35651
+ * @param {string} hospitalSpecialtyId
35652
+ * @param {*} [options] Override http request option.
35653
+ * @throws {RequiredError}
35654
+ */
35655
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
35656
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(axios, basePath));
35657
+ },
35658
+ /**
35659
+ *
35660
+ * @summary Get HospitalSpecialty.
35661
+ * @param {string} hospitalId
35662
+ * @param {string} hospitalSpecialtyId
35663
+ * @param {string} [languageCode]
35664
+ * @param {*} [options] Override http request option.
35665
+ * @throws {RequiredError}
35666
+ */
35667
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
35668
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(axios, basePath));
35669
+ },
35649
35670
  /**
35650
35671
  *
35651
35672
  * @summary Get all HospitalServiceMedias.
@@ -35711,6 +35732,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35711
35732
  apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
35712
35733
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
35713
35734
  },
35735
+ /**
35736
+ *
35737
+ * @summary Update HospitalSpecialty.
35738
+ * @param {string} hospitalId
35739
+ * @param {string} hospitalSpecialtyId
35740
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
35741
+ * @param {*} [options] Override http request option.
35742
+ * @throws {RequiredError}
35743
+ */
35744
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
35745
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
35746
+ },
35714
35747
  /**
35715
35748
  *
35716
35749
  * @summary Create HospitalSpecialty.
@@ -35759,41 +35792,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35759
35792
  apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
35760
35793
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
35761
35794
  },
35762
- /**
35763
- *
35764
- * @summary Delete HospitalSpecialty.
35765
- * @param {string} hospitalId
35766
- * @param {string} specialtyId
35767
- * @param {*} [options] Override http request option.
35768
- * @throws {RequiredError}
35769
- */
35770
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
35771
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
35772
- },
35773
- /**
35774
- *
35775
- * @summary Get HospitalSpecialty.
35776
- * @param {string} hospitalId
35777
- * @param {string} specialtyId
35778
- * @param {string} [languageCode]
35779
- * @param {*} [options] Override http request option.
35780
- * @throws {RequiredError}
35781
- */
35782
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
35783
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(axios, basePath));
35784
- },
35785
- /**
35786
- *
35787
- * @summary Update HospitalSpecialty.
35788
- * @param {string} hospitalId
35789
- * @param {string} specialtyId
35790
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
35791
- * @param {*} [options] Override http request option.
35792
- * @throws {RequiredError}
35793
- */
35794
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
35795
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
35796
- },
35797
35795
  /**
35798
35796
  *
35799
35797
  * @summary Get all HospitalServices.
@@ -36626,6 +36624,33 @@ export class HospitalsApi extends BaseAPI {
36626
36624
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36627
36625
  }
36628
36626
 
36627
+ /**
36628
+ *
36629
+ * @summary Delete HospitalSpecialty.
36630
+ * @param {string} hospitalId
36631
+ * @param {string} hospitalSpecialtyId
36632
+ * @param {*} [options] Override http request option.
36633
+ * @throws {RequiredError}
36634
+ * @memberof HospitalsApi
36635
+ */
36636
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
36637
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
36638
+ }
36639
+
36640
+ /**
36641
+ *
36642
+ * @summary Get HospitalSpecialty.
36643
+ * @param {string} hospitalId
36644
+ * @param {string} hospitalSpecialtyId
36645
+ * @param {string} [languageCode]
36646
+ * @param {*} [options] Override http request option.
36647
+ * @throws {RequiredError}
36648
+ * @memberof HospitalsApi
36649
+ */
36650
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
36651
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
36652
+ }
36653
+
36629
36654
  /**
36630
36655
  *
36631
36656
  * @summary Get all HospitalServiceMedias.
@@ -36701,6 +36726,20 @@ export class HospitalsApi extends BaseAPI {
36701
36726
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
36702
36727
  }
36703
36728
 
36729
+ /**
36730
+ *
36731
+ * @summary Update HospitalSpecialty.
36732
+ * @param {string} hospitalId
36733
+ * @param {string} hospitalSpecialtyId
36734
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
36735
+ * @param {*} [options] Override http request option.
36736
+ * @throws {RequiredError}
36737
+ * @memberof HospitalsApi
36738
+ */
36739
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
36740
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
36741
+ }
36742
+
36704
36743
  /**
36705
36744
  *
36706
36745
  * @summary Create HospitalSpecialty.
@@ -36755,47 +36794,6 @@ export class HospitalsApi extends BaseAPI {
36755
36794
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
36756
36795
  }
36757
36796
 
36758
- /**
36759
- *
36760
- * @summary Delete HospitalSpecialty.
36761
- * @param {string} hospitalId
36762
- * @param {string} specialtyId
36763
- * @param {*} [options] Override http request option.
36764
- * @throws {RequiredError}
36765
- * @memberof HospitalsApi
36766
- */
36767
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
36768
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
36769
- }
36770
-
36771
- /**
36772
- *
36773
- * @summary Get HospitalSpecialty.
36774
- * @param {string} hospitalId
36775
- * @param {string} specialtyId
36776
- * @param {string} [languageCode]
36777
- * @param {*} [options] Override http request option.
36778
- * @throws {RequiredError}
36779
- * @memberof HospitalsApi
36780
- */
36781
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
36782
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
36783
- }
36784
-
36785
- /**
36786
- *
36787
- * @summary Update HospitalSpecialty.
36788
- * @param {string} hospitalId
36789
- * @param {string} specialtyId
36790
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
36791
- * @param {*} [options] Override http request option.
36792
- * @throws {RequiredError}
36793
- * @memberof HospitalsApi
36794
- */
36795
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
36796
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
36797
- }
36798
-
36799
36797
  /**
36800
36798
  *
36801
36799
  * @summary Get all HospitalServices.
@@ -40856,13 +40854,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
40856
40854
  return {
40857
40855
  /**
40858
40856
  *
40859
- * @summary Update or Re-create deals Azure Search Services Index
40860
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
40857
+ * @summary RecreateIndex
40858
+ * @param {SearchIndexType} [searchIndexType]
40859
+ * @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
40861
40860
  * @param {*} [options] Override http request option.
40862
40861
  * @throws {RequiredError}
40863
40862
  */
40864
- apiV1SearchDealsPost: async (updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40865
- const localVarPath = `/api/v1/search/deals`;
40863
+ apiV1SearchRecreatePost: async (searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40864
+ const localVarPath = `/api/v1/search/recreate`;
40866
40865
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40867
40866
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40868
40867
  let baseOptions;
@@ -40878,196 +40877,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
40878
40877
  // oauth required
40879
40878
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
40880
40879
 
40881
-
40882
-
40883
- localVarHeaderParameter['Content-Type'] = 'application/json';
40884
-
40885
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40886
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40887
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40888
- localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
40889
-
40890
- return {
40891
- url: toPathString(localVarUrlObj),
40892
- options: localVarRequestOptions,
40893
- };
40894
- },
40895
- /**
40896
- *
40897
- * @summary Update or Re-create doctors Azure Search Services Index
40898
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
40899
- * @param {*} [options] Override http request option.
40900
- * @throws {RequiredError}
40901
- */
40902
- apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40903
- const localVarPath = `/api/v1/search/doctors`;
40904
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40905
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40906
- let baseOptions;
40907
- if (configuration) {
40908
- baseOptions = configuration.baseOptions;
40909
- }
40910
-
40911
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40912
- const localVarHeaderParameter = {} as any;
40913
- const localVarQueryParameter = {} as any;
40914
-
40915
- // authentication oauth2 required
40916
- // oauth required
40917
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
40918
-
40919
-
40920
-
40921
- localVarHeaderParameter['Content-Type'] = 'application/json';
40922
-
40923
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40924
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40925
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40926
- localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
40927
-
40928
- return {
40929
- url: toPathString(localVarUrlObj),
40930
- options: localVarRequestOptions,
40931
- };
40932
- },
40933
- /**
40934
- *
40935
- * @summary Update or Re-create hospitals Azure Search Services Index
40936
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
40937
- * @param {*} [options] Override http request option.
40938
- * @throws {RequiredError}
40939
- */
40940
- apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40941
- const localVarPath = `/api/v1/search/hospitals`;
40942
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40943
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40944
- let baseOptions;
40945
- if (configuration) {
40946
- baseOptions = configuration.baseOptions;
40947
- }
40948
-
40949
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40950
- const localVarHeaderParameter = {} as any;
40951
- const localVarQueryParameter = {} as any;
40952
-
40953
- // authentication oauth2 required
40954
- // oauth required
40955
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
40956
-
40957
-
40958
-
40959
- localVarHeaderParameter['Content-Type'] = 'application/json';
40960
-
40961
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40962
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40963
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40964
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
40965
-
40966
- return {
40967
- url: toPathString(localVarUrlObj),
40968
- options: localVarRequestOptions,
40969
- };
40970
- },
40971
- /**
40972
- *
40973
- * @summary Update or Re-create hospitalSpecialties Azure Search Services Index
40974
- * @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
40975
- * @param {*} [options] Override http request option.
40976
- * @throws {RequiredError}
40977
- */
40978
- apiV1SearchHospitalspecialtiesPost: async (updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40979
- const localVarPath = `/api/v1/search/hospitalspecialties`;
40980
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40981
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40982
- let baseOptions;
40983
- if (configuration) {
40984
- baseOptions = configuration.baseOptions;
40985
- }
40986
-
40987
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40988
- const localVarHeaderParameter = {} as any;
40989
- const localVarQueryParameter = {} as any;
40990
-
40991
- // authentication oauth2 required
40992
- // oauth required
40993
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
40994
-
40995
-
40996
-
40997
- localVarHeaderParameter['Content-Type'] = 'application/json';
40998
-
40999
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41000
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41001
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41002
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41003
-
41004
- return {
41005
- url: toPathString(localVarUrlObj),
41006
- options: localVarRequestOptions,
41007
- };
41008
- },
41009
- /**
41010
- *
41011
- * @summary Update or Re-create specialties Azure Search Services Index
41012
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41013
- * @param {*} [options] Override http request option.
41014
- * @throws {RequiredError}
41015
- */
41016
- apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41017
- const localVarPath = `/api/v1/search/specialties`;
41018
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41019
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41020
- let baseOptions;
41021
- if (configuration) {
41022
- baseOptions = configuration.baseOptions;
41023
- }
41024
-
41025
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41026
- const localVarHeaderParameter = {} as any;
41027
- const localVarQueryParameter = {} as any;
41028
-
41029
- // authentication oauth2 required
41030
- // oauth required
41031
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41032
-
41033
-
41034
-
41035
- localVarHeaderParameter['Content-Type'] = 'application/json';
41036
-
41037
- setSearchParams(localVarUrlObj, localVarQueryParameter);
41038
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41039
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41040
- localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
41041
-
41042
- return {
41043
- url: toPathString(localVarUrlObj),
41044
- options: localVarRequestOptions,
41045
- };
41046
- },
41047
- /**
41048
- *
41049
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41050
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41051
- * @param {*} [options] Override http request option.
41052
- * @throws {RequiredError}
41053
- */
41054
- apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41055
- const localVarPath = `/api/v1/search/specialtytypes`;
41056
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41057
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41058
- let baseOptions;
41059
- if (configuration) {
41060
- baseOptions = configuration.baseOptions;
40880
+ if (searchIndexType !== undefined) {
40881
+ localVarQueryParameter['searchIndexType'] = searchIndexType;
41061
40882
  }
41062
40883
 
41063
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
41064
- const localVarHeaderParameter = {} as any;
41065
- const localVarQueryParameter = {} as any;
41066
-
41067
- // authentication oauth2 required
41068
- // oauth required
41069
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41070
-
41071
40884
 
41072
40885
 
41073
40886
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -41075,7 +40888,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
41075
40888
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41076
40889
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41077
40890
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41078
- localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration)
40891
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSearchIndexCommand, localVarRequestOptions, configuration)
41079
40892
 
41080
40893
  return {
41081
40894
  url: toPathString(localVarUrlObj),
@@ -41094,68 +40907,14 @@ export const SearchApiFp = function(configuration?: Configuration) {
41094
40907
  return {
41095
40908
  /**
41096
40909
  *
41097
- * @summary Update or Re-create deals Azure Search Services Index
41098
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
40910
+ * @summary RecreateIndex
40911
+ * @param {SearchIndexType} [searchIndexType]
40912
+ * @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
41099
40913
  * @param {*} [options] Override http request option.
41100
40914
  * @throws {RequiredError}
41101
40915
  */
41102
- async apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41103
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
41104
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41105
- },
41106
- /**
41107
- *
41108
- * @summary Update or Re-create doctors Azure Search Services Index
41109
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
41110
- * @param {*} [options] Override http request option.
41111
- * @throws {RequiredError}
41112
- */
41113
- async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41114
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
41115
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41116
- },
41117
- /**
41118
- *
41119
- * @summary Update or Re-create hospitals Azure Search Services Index
41120
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41121
- * @param {*} [options] Override http request option.
41122
- * @throws {RequiredError}
41123
- */
41124
- async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41125
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
41126
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41127
- },
41128
- /**
41129
- *
41130
- * @summary Update or Re-create hospitalSpecialties Azure Search Services Index
41131
- * @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
41132
- * @param {*} [options] Override http request option.
41133
- * @throws {RequiredError}
41134
- */
41135
- async apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41136
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options);
41137
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41138
- },
41139
- /**
41140
- *
41141
- * @summary Update or Re-create specialties Azure Search Services Index
41142
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41143
- * @param {*} [options] Override http request option.
41144
- * @throws {RequiredError}
41145
- */
41146
- async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41147
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
41148
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41149
- },
41150
- /**
41151
- *
41152
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41153
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41154
- * @param {*} [options] Override http request option.
41155
- * @throws {RequiredError}
41156
- */
41157
- async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
41158
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
40916
+ async apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
40917
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options);
41159
40918
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41160
40919
  },
41161
40920
  }
@@ -41170,63 +40929,14 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41170
40929
  return {
41171
40930
  /**
41172
40931
  *
41173
- * @summary Update or Re-create deals Azure Search Services Index
41174
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
41175
- * @param {*} [options] Override http request option.
41176
- * @throws {RequiredError}
41177
- */
41178
- apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
41179
- return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
41180
- },
41181
- /**
41182
- *
41183
- * @summary Update or Re-create doctors Azure Search Services Index
41184
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
41185
- * @param {*} [options] Override http request option.
41186
- * @throws {RequiredError}
41187
- */
41188
- apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
41189
- return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
41190
- },
41191
- /**
41192
- *
41193
- * @summary Update or Re-create hospitals Azure Search Services Index
41194
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41195
- * @param {*} [options] Override http request option.
41196
- * @throws {RequiredError}
41197
- */
41198
- apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
41199
- return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
41200
- },
41201
- /**
41202
- *
41203
- * @summary Update or Re-create hospitalSpecialties Azure Search Services Index
41204
- * @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
41205
- * @param {*} [options] Override http request option.
41206
- * @throws {RequiredError}
41207
- */
41208
- apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
41209
- return localVarFp.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
41210
- },
41211
- /**
41212
- *
41213
- * @summary Update or Re-create specialties Azure Search Services Index
41214
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
40932
+ * @summary RecreateIndex
40933
+ * @param {SearchIndexType} [searchIndexType]
40934
+ * @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
41215
40935
  * @param {*} [options] Override http request option.
41216
40936
  * @throws {RequiredError}
41217
40937
  */
41218
- apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
41219
- return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
41220
- },
41221
- /**
41222
- *
41223
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41224
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
41225
- * @param {*} [options] Override http request option.
41226
- * @throws {RequiredError}
41227
- */
41228
- apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
41229
- return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
40938
+ apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: any): AxiosPromise<string> {
40939
+ return localVarFp.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(axios, basePath));
41230
40940
  },
41231
40941
  };
41232
40942
  };
@@ -41240,74 +40950,15 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
41240
40950
  export class SearchApi extends BaseAPI {
41241
40951
  /**
41242
40952
  *
41243
- * @summary Update or Re-create deals Azure Search Services Index
41244
- * @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
41245
- * @param {*} [options] Override http request option.
41246
- * @throws {RequiredError}
41247
- * @memberof SearchApi
41248
- */
41249
- public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
41250
- return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41251
- }
41252
-
41253
- /**
41254
- *
41255
- * @summary Update or Re-create doctors Azure Search Services Index
41256
- * @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
41257
- * @param {*} [options] Override http request option.
41258
- * @throws {RequiredError}
41259
- * @memberof SearchApi
41260
- */
41261
- public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
41262
- return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41263
- }
41264
-
41265
- /**
41266
- *
41267
- * @summary Update or Re-create hospitals Azure Search Services Index
41268
- * @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
41269
- * @param {*} [options] Override http request option.
41270
- * @throws {RequiredError}
41271
- * @memberof SearchApi
41272
- */
41273
- public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
41274
- return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41275
- }
41276
-
41277
- /**
41278
- *
41279
- * @summary Update or Re-create hospitalSpecialties Azure Search Services Index
41280
- * @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
41281
- * @param {*} [options] Override http request option.
41282
- * @throws {RequiredError}
41283
- * @memberof SearchApi
41284
- */
41285
- public apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
41286
- return SearchApiFp(this.configuration).apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41287
- }
41288
-
41289
- /**
41290
- *
41291
- * @summary Update or Re-create specialties Azure Search Services Index
41292
- * @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
41293
- * @param {*} [options] Override http request option.
41294
- * @throws {RequiredError}
41295
- * @memberof SearchApi
41296
- */
41297
- public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
41298
- return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41299
- }
41300
-
41301
- /**
41302
- *
41303
- * @summary Update or Re-create specialtyTypes Azure Search Services Index
41304
- * @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
40953
+ * @summary RecreateIndex
40954
+ * @param {SearchIndexType} [searchIndexType]
40955
+ * @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
41305
40956
  * @param {*} [options] Override http request option.
41306
40957
  * @throws {RequiredError}
41307
40958
  * @memberof SearchApi
41308
40959
  */
41309
- public apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig) {
41310
- return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
40960
+ public apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig) {
40961
+ return SearchApiFp(this.configuration).apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
41311
40962
  }
41312
40963
  }
41313
40964