ch-admin-api-client-typescript 4.0.1 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +234 -409
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +463 -842
- package/package.json +1 -1
- package/src/api.ts +387 -738
package/src/api.ts
CHANGED
|
@@ -3961,6 +3961,12 @@ export interface CreateFaqCategoryCommand {
|
|
|
3961
3961
|
* @memberof CreateFaqCategoryCommand
|
|
3962
3962
|
*/
|
|
3963
3963
|
'description'?: string | null;
|
|
3964
|
+
/**
|
|
3965
|
+
*
|
|
3966
|
+
* @type {string}
|
|
3967
|
+
* @memberof CreateFaqCategoryCommand
|
|
3968
|
+
*/
|
|
3969
|
+
'overview'?: string | null;
|
|
3964
3970
|
/**
|
|
3965
3971
|
*
|
|
3966
3972
|
* @type {number}
|
|
@@ -5304,6 +5310,12 @@ export interface DealPackageItemModel {
|
|
|
5304
5310
|
* @memberof DealPackageItemModel
|
|
5305
5311
|
*/
|
|
5306
5312
|
'hospitalSlug'?: string | null;
|
|
5313
|
+
/**
|
|
5314
|
+
*
|
|
5315
|
+
* @type {string}
|
|
5316
|
+
* @memberof DealPackageItemModel
|
|
5317
|
+
*/
|
|
5318
|
+
'additionalServices'?: string | null;
|
|
5307
5319
|
/**
|
|
5308
5320
|
*
|
|
5309
5321
|
* @type {RefundPolicy}
|
|
@@ -5728,6 +5740,12 @@ export interface DoctorAffiliationItemModel {
|
|
|
5728
5740
|
* @memberof DoctorAffiliationItemModel
|
|
5729
5741
|
*/
|
|
5730
5742
|
'order'?: number;
|
|
5743
|
+
/**
|
|
5744
|
+
*
|
|
5745
|
+
* @type {AuditableEntity}
|
|
5746
|
+
* @memberof DoctorAffiliationItemModel
|
|
5747
|
+
*/
|
|
5748
|
+
'auditableEntity'?: AuditableEntity;
|
|
5731
5749
|
}
|
|
5732
5750
|
/**
|
|
5733
5751
|
*
|
|
@@ -5819,6 +5837,12 @@ export interface DoctorAffiliationModel {
|
|
|
5819
5837
|
* @memberof DoctorAffiliationModel
|
|
5820
5838
|
*/
|
|
5821
5839
|
'order'?: number;
|
|
5840
|
+
/**
|
|
5841
|
+
*
|
|
5842
|
+
* @type {AuditableEntity}
|
|
5843
|
+
* @memberof DoctorAffiliationModel
|
|
5844
|
+
*/
|
|
5845
|
+
'auditableEntity'?: AuditableEntity;
|
|
5822
5846
|
/**
|
|
5823
5847
|
*
|
|
5824
5848
|
* @type {string}
|
|
@@ -8303,6 +8327,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8303
8327
|
* @memberof HospitalSpecialtyItemModel
|
|
8304
8328
|
*/
|
|
8305
8329
|
'marketingType'?: MarketingType;
|
|
8330
|
+
/**
|
|
8331
|
+
*
|
|
8332
|
+
* @type {AuditableEntity}
|
|
8333
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8334
|
+
*/
|
|
8335
|
+
'auditableEntity'?: AuditableEntity;
|
|
8306
8336
|
}
|
|
8307
8337
|
/**
|
|
8308
8338
|
*
|
|
@@ -8406,6 +8436,12 @@ export interface HospitalSpecialtyModel {
|
|
|
8406
8436
|
* @memberof HospitalSpecialtyModel
|
|
8407
8437
|
*/
|
|
8408
8438
|
'marketingType'?: MarketingType;
|
|
8439
|
+
/**
|
|
8440
|
+
*
|
|
8441
|
+
* @type {AuditableEntity}
|
|
8442
|
+
* @memberof HospitalSpecialtyModel
|
|
8443
|
+
*/
|
|
8444
|
+
'auditableEntity'?: AuditableEntity;
|
|
8409
8445
|
/**
|
|
8410
8446
|
*
|
|
8411
8447
|
* @type {string}
|
|
@@ -10159,6 +10195,27 @@ export enum ReviewType {
|
|
|
10159
10195
|
RealStory = 'RealStory'
|
|
10160
10196
|
}
|
|
10161
10197
|
|
|
10198
|
+
/**
|
|
10199
|
+
*
|
|
10200
|
+
* @export
|
|
10201
|
+
* @enum {string}
|
|
10202
|
+
*/
|
|
10203
|
+
|
|
10204
|
+
export enum SearchIndexType {
|
|
10205
|
+
Hospitals = 'hospitals',
|
|
10206
|
+
Departments = 'departments',
|
|
10207
|
+
Specialties = 'specialties',
|
|
10208
|
+
Hospitalspecialies = 'hospitalspecialies',
|
|
10209
|
+
Doctors = 'doctors',
|
|
10210
|
+
Deals = 'deals',
|
|
10211
|
+
Articles = 'articles',
|
|
10212
|
+
Contributors = 'contributors',
|
|
10213
|
+
Countries = 'countries',
|
|
10214
|
+
Faqcategories = 'faqcategories',
|
|
10215
|
+
Faqs = 'faqs',
|
|
10216
|
+
Services = 'services'
|
|
10217
|
+
}
|
|
10218
|
+
|
|
10162
10219
|
/**
|
|
10163
10220
|
*
|
|
10164
10221
|
* @export
|
|
@@ -11991,19 +12048,6 @@ export interface UpdateDealServiceCommand {
|
|
|
11991
12048
|
*/
|
|
11992
12049
|
'order'?: number;
|
|
11993
12050
|
}
|
|
11994
|
-
/**
|
|
11995
|
-
*
|
|
11996
|
-
* @export
|
|
11997
|
-
* @interface UpdateDealsSearchIndexCommand
|
|
11998
|
-
*/
|
|
11999
|
-
export interface UpdateDealsSearchIndexCommand {
|
|
12000
|
-
/**
|
|
12001
|
-
*
|
|
12002
|
-
* @type {boolean}
|
|
12003
|
-
* @memberof UpdateDealsSearchIndexCommand
|
|
12004
|
-
*/
|
|
12005
|
-
'reCreate'?: boolean | null;
|
|
12006
|
-
}
|
|
12007
12051
|
/**
|
|
12008
12052
|
*
|
|
12009
12053
|
* @export
|
|
@@ -12293,19 +12337,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
12293
12337
|
*/
|
|
12294
12338
|
'order'?: number;
|
|
12295
12339
|
}
|
|
12296
|
-
/**
|
|
12297
|
-
*
|
|
12298
|
-
* @export
|
|
12299
|
-
* @interface UpdateDoctorsSearchIndexCommand
|
|
12300
|
-
*/
|
|
12301
|
-
export interface UpdateDoctorsSearchIndexCommand {
|
|
12302
|
-
/**
|
|
12303
|
-
*
|
|
12304
|
-
* @type {boolean}
|
|
12305
|
-
* @memberof UpdateDoctorsSearchIndexCommand
|
|
12306
|
-
*/
|
|
12307
|
-
'reCreate'?: boolean | null;
|
|
12308
|
-
}
|
|
12309
12340
|
/**
|
|
12310
12341
|
*
|
|
12311
12342
|
* @export
|
|
@@ -12330,6 +12361,12 @@ export interface UpdateFaqCategoryCommand {
|
|
|
12330
12361
|
* @memberof UpdateFaqCategoryCommand
|
|
12331
12362
|
*/
|
|
12332
12363
|
'description'?: string | null;
|
|
12364
|
+
/**
|
|
12365
|
+
*
|
|
12366
|
+
* @type {string}
|
|
12367
|
+
* @memberof UpdateFaqCategoryCommand
|
|
12368
|
+
*/
|
|
12369
|
+
'overview'?: string | null;
|
|
12333
12370
|
/**
|
|
12334
12371
|
*
|
|
12335
12372
|
* @type {number}
|
|
@@ -12726,19 +12763,6 @@ export interface UpdateHospitalSnsHandleCommand {
|
|
|
12726
12763
|
*/
|
|
12727
12764
|
'handle'?: string | null;
|
|
12728
12765
|
}
|
|
12729
|
-
/**
|
|
12730
|
-
*
|
|
12731
|
-
* @export
|
|
12732
|
-
* @interface UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12733
|
-
*/
|
|
12734
|
-
export interface UpdateHospitalSpecialtiesSearchIndexCommand {
|
|
12735
|
-
/**
|
|
12736
|
-
*
|
|
12737
|
-
* @type {boolean}
|
|
12738
|
-
* @memberof UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12739
|
-
*/
|
|
12740
|
-
'reCreate'?: boolean | null;
|
|
12741
|
-
}
|
|
12742
12766
|
/**
|
|
12743
12767
|
*
|
|
12744
12768
|
* @export
|
|
@@ -12855,19 +12879,6 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
12855
12879
|
*/
|
|
12856
12880
|
'checkHoliday'?: boolean;
|
|
12857
12881
|
}
|
|
12858
|
-
/**
|
|
12859
|
-
*
|
|
12860
|
-
* @export
|
|
12861
|
-
* @interface UpdateHospitalsSearchIndexCommand
|
|
12862
|
-
*/
|
|
12863
|
-
export interface UpdateHospitalsSearchIndexCommand {
|
|
12864
|
-
/**
|
|
12865
|
-
*
|
|
12866
|
-
* @type {boolean}
|
|
12867
|
-
* @memberof UpdateHospitalsSearchIndexCommand
|
|
12868
|
-
*/
|
|
12869
|
-
'reCreate'?: boolean | null;
|
|
12870
|
-
}
|
|
12871
12882
|
/**
|
|
12872
12883
|
*
|
|
12873
12884
|
* @export
|
|
@@ -13199,6 +13210,19 @@ export interface UpdateProfileCommand {
|
|
|
13199
13210
|
*/
|
|
13200
13211
|
'locations'?: Array<UserLocationModel> | null;
|
|
13201
13212
|
}
|
|
13213
|
+
/**
|
|
13214
|
+
*
|
|
13215
|
+
* @export
|
|
13216
|
+
* @interface UpdateSearchIndexCommand
|
|
13217
|
+
*/
|
|
13218
|
+
export interface UpdateSearchIndexCommand {
|
|
13219
|
+
/**
|
|
13220
|
+
*
|
|
13221
|
+
* @type {boolean}
|
|
13222
|
+
* @memberof UpdateSearchIndexCommand
|
|
13223
|
+
*/
|
|
13224
|
+
'reCreate'?: boolean | null;
|
|
13225
|
+
}
|
|
13202
13226
|
/**
|
|
13203
13227
|
*
|
|
13204
13228
|
* @export
|
|
@@ -13279,19 +13303,6 @@ export interface UpdateServiceReviewCommand {
|
|
|
13279
13303
|
*/
|
|
13280
13304
|
'confirmed'?: boolean;
|
|
13281
13305
|
}
|
|
13282
|
-
/**
|
|
13283
|
-
*
|
|
13284
|
-
* @export
|
|
13285
|
-
* @interface UpdateSpecialtiesSearchIndexCommand
|
|
13286
|
-
*/
|
|
13287
|
-
export interface UpdateSpecialtiesSearchIndexCommand {
|
|
13288
|
-
/**
|
|
13289
|
-
*
|
|
13290
|
-
* @type {boolean}
|
|
13291
|
-
* @memberof UpdateSpecialtiesSearchIndexCommand
|
|
13292
|
-
*/
|
|
13293
|
-
'reCreate'?: boolean | null;
|
|
13294
|
-
}
|
|
13295
13306
|
/**
|
|
13296
13307
|
*
|
|
13297
13308
|
* @export
|
|
@@ -13353,12 +13364,6 @@ export interface UpdateSpecialtyCommand {
|
|
|
13353
13364
|
* @interface UpdateSpecialtyTypeCommand
|
|
13354
13365
|
*/
|
|
13355
13366
|
export interface UpdateSpecialtyTypeCommand {
|
|
13356
|
-
/**
|
|
13357
|
-
*
|
|
13358
|
-
* @type {string}
|
|
13359
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13360
|
-
*/
|
|
13361
|
-
'languageCode'?: string | null;
|
|
13362
13367
|
/**
|
|
13363
13368
|
*
|
|
13364
13369
|
* @type {string}
|
|
@@ -13373,65 +13378,40 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13373
13378
|
'slug'?: string | null;
|
|
13374
13379
|
/**
|
|
13375
13380
|
*
|
|
13376
|
-
* @type {
|
|
13381
|
+
* @type {string}
|
|
13377
13382
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13378
13383
|
*/
|
|
13379
|
-
'
|
|
13384
|
+
'description'?: string | null;
|
|
13380
13385
|
/**
|
|
13381
13386
|
*
|
|
13382
13387
|
* @type {string}
|
|
13383
13388
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13384
13389
|
*/
|
|
13385
|
-
'
|
|
13390
|
+
'content'?: string | null;
|
|
13386
13391
|
/**
|
|
13387
13392
|
*
|
|
13388
13393
|
* @type {MarketingType}
|
|
13389
13394
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13390
13395
|
*/
|
|
13391
13396
|
'marketingType'?: MarketingType;
|
|
13392
|
-
/**
|
|
13393
|
-
*
|
|
13394
|
-
* @type {number}
|
|
13395
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13396
|
-
*/
|
|
13397
|
-
'specialtiesCount'?: number;
|
|
13398
|
-
/**
|
|
13399
|
-
*
|
|
13400
|
-
* @type {Array<MediaModel>}
|
|
13401
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13402
|
-
*/
|
|
13403
|
-
'medias'?: Array<MediaModel> | null;
|
|
13404
|
-
/**
|
|
13405
|
-
*
|
|
13406
|
-
* @type {AuditableEntity}
|
|
13407
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13408
|
-
*/
|
|
13409
|
-
'auditableEntity'?: AuditableEntity;
|
|
13410
13397
|
/**
|
|
13411
13398
|
*
|
|
13412
13399
|
* @type {string}
|
|
13413
13400
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13414
13401
|
*/
|
|
13415
|
-
'
|
|
13402
|
+
'languageCode'?: string | null;
|
|
13416
13403
|
/**
|
|
13417
13404
|
*
|
|
13418
|
-
* @type {
|
|
13405
|
+
* @type {boolean}
|
|
13419
13406
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13420
13407
|
*/
|
|
13421
|
-
'
|
|
13422
|
-
}
|
|
13423
|
-
/**
|
|
13424
|
-
*
|
|
13425
|
-
* @export
|
|
13426
|
-
* @interface UpdateSpecialtyTypesSearchIndexCommand
|
|
13427
|
-
*/
|
|
13428
|
-
export interface UpdateSpecialtyTypesSearchIndexCommand {
|
|
13408
|
+
'confirmed'?: boolean;
|
|
13429
13409
|
/**
|
|
13430
13410
|
*
|
|
13431
|
-
* @type {
|
|
13432
|
-
* @memberof
|
|
13411
|
+
* @type {Array<MediaModel>}
|
|
13412
|
+
* @memberof UpdateSpecialtyTypeCommand
|
|
13433
13413
|
*/
|
|
13434
|
-
'
|
|
13414
|
+
'medias'?: Array<MediaModel> | null;
|
|
13435
13415
|
}
|
|
13436
13416
|
/**
|
|
13437
13417
|
*
|
|
@@ -22833,13 +22813,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22833
22813
|
*
|
|
22834
22814
|
* @summary Get all DealService.
|
|
22835
22815
|
* @param {string} dealId
|
|
22816
|
+
* @param {string} [languageCode]
|
|
22836
22817
|
* @param {number} [page]
|
|
22837
22818
|
* @param {number} [limit]
|
|
22838
22819
|
* @param {Date} [lastRetrieved]
|
|
22839
22820
|
* @param {*} [options] Override http request option.
|
|
22840
22821
|
* @throws {RequiredError}
|
|
22841
22822
|
*/
|
|
22842
|
-
apiV1DealsDealIdServicesGet: async (dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22823
|
+
apiV1DealsDealIdServicesGet: async (dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22843
22824
|
// verify required parameter 'dealId' is not null or undefined
|
|
22844
22825
|
assertParamExists('apiV1DealsDealIdServicesGet', 'dealId', dealId)
|
|
22845
22826
|
const localVarPath = `/api/v1/deals/{dealId}/services`
|
|
@@ -22859,6 +22840,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22859
22840
|
// oauth required
|
|
22860
22841
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22861
22842
|
|
|
22843
|
+
if (languageCode !== undefined) {
|
|
22844
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
22845
|
+
}
|
|
22846
|
+
|
|
22862
22847
|
if (page !== undefined) {
|
|
22863
22848
|
localVarQueryParameter['page'] = page;
|
|
22864
22849
|
}
|
|
@@ -22973,10 +22958,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22973
22958
|
* @summary Get DealService.
|
|
22974
22959
|
* @param {string} dealId
|
|
22975
22960
|
* @param {string} serviceId
|
|
22961
|
+
* @param {string} [languageCode]
|
|
22976
22962
|
* @param {*} [options] Override http request option.
|
|
22977
22963
|
* @throws {RequiredError}
|
|
22978
22964
|
*/
|
|
22979
|
-
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22965
|
+
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22980
22966
|
// verify required parameter 'dealId' is not null or undefined
|
|
22981
22967
|
assertParamExists('apiV1DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
22982
22968
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -22999,6 +22985,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22999
22985
|
// oauth required
|
|
23000
22986
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23001
22987
|
|
|
22988
|
+
if (languageCode !== undefined) {
|
|
22989
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
22990
|
+
}
|
|
22991
|
+
|
|
23002
22992
|
|
|
23003
22993
|
|
|
23004
22994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23555,14 +23545,15 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23555
23545
|
*
|
|
23556
23546
|
* @summary Get all DealService.
|
|
23557
23547
|
* @param {string} dealId
|
|
23548
|
+
* @param {string} [languageCode]
|
|
23558
23549
|
* @param {number} [page]
|
|
23559
23550
|
* @param {number} [limit]
|
|
23560
23551
|
* @param {Date} [lastRetrieved]
|
|
23561
23552
|
* @param {*} [options] Override http request option.
|
|
23562
23553
|
* @throws {RequiredError}
|
|
23563
23554
|
*/
|
|
23564
|
-
async apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
23565
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options);
|
|
23555
|
+
async apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
23556
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options);
|
|
23566
23557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23567
23558
|
},
|
|
23568
23559
|
/**
|
|
@@ -23594,11 +23585,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23594
23585
|
* @summary Get DealService.
|
|
23595
23586
|
* @param {string} dealId
|
|
23596
23587
|
* @param {string} serviceId
|
|
23588
|
+
* @param {string} [languageCode]
|
|
23597
23589
|
* @param {*} [options] Override http request option.
|
|
23598
23590
|
* @throws {RequiredError}
|
|
23599
23591
|
*/
|
|
23600
|
-
async apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
23601
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options);
|
|
23592
|
+
async apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
23593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options);
|
|
23602
23594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23603
23595
|
},
|
|
23604
23596
|
/**
|
|
@@ -23815,14 +23807,15 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23815
23807
|
*
|
|
23816
23808
|
* @summary Get all DealService.
|
|
23817
23809
|
* @param {string} dealId
|
|
23810
|
+
* @param {string} [languageCode]
|
|
23818
23811
|
* @param {number} [page]
|
|
23819
23812
|
* @param {number} [limit]
|
|
23820
23813
|
* @param {Date} [lastRetrieved]
|
|
23821
23814
|
* @param {*} [options] Override http request option.
|
|
23822
23815
|
* @throws {RequiredError}
|
|
23823
23816
|
*/
|
|
23824
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
23825
|
-
return localVarFp.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23817
|
+
apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
23818
|
+
return localVarFp.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23826
23819
|
},
|
|
23827
23820
|
/**
|
|
23828
23821
|
*
|
|
@@ -23851,11 +23844,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23851
23844
|
* @summary Get DealService.
|
|
23852
23845
|
* @param {string} dealId
|
|
23853
23846
|
* @param {string} serviceId
|
|
23847
|
+
* @param {string} [languageCode]
|
|
23854
23848
|
* @param {*} [options] Override http request option.
|
|
23855
23849
|
* @throws {RequiredError}
|
|
23856
23850
|
*/
|
|
23857
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
23858
|
-
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(axios, basePath));
|
|
23851
|
+
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
23852
|
+
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
23859
23853
|
},
|
|
23860
23854
|
/**
|
|
23861
23855
|
*
|
|
@@ -24082,6 +24076,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24082
24076
|
*
|
|
24083
24077
|
* @summary Get all DealService.
|
|
24084
24078
|
* @param {string} dealId
|
|
24079
|
+
* @param {string} [languageCode]
|
|
24085
24080
|
* @param {number} [page]
|
|
24086
24081
|
* @param {number} [limit]
|
|
24087
24082
|
* @param {Date} [lastRetrieved]
|
|
@@ -24089,8 +24084,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24089
24084
|
* @throws {RequiredError}
|
|
24090
24085
|
* @memberof DealsApi
|
|
24091
24086
|
*/
|
|
24092
|
-
public apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24093
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24087
|
+
public apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24088
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24094
24089
|
}
|
|
24095
24090
|
|
|
24096
24091
|
/**
|
|
@@ -24124,12 +24119,13 @@ export class DealsApi extends BaseAPI {
|
|
|
24124
24119
|
* @summary Get DealService.
|
|
24125
24120
|
* @param {string} dealId
|
|
24126
24121
|
* @param {string} serviceId
|
|
24122
|
+
* @param {string} [languageCode]
|
|
24127
24123
|
* @param {*} [options] Override http request option.
|
|
24128
24124
|
* @throws {RequiredError}
|
|
24129
24125
|
* @memberof DealsApi
|
|
24130
24126
|
*/
|
|
24131
|
-
public apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig) {
|
|
24132
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
24127
|
+
public apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
24128
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
24133
24129
|
}
|
|
24134
24130
|
|
|
24135
24131
|
/**
|
|
@@ -32508,6 +32504,95 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32508
32504
|
|
|
32509
32505
|
|
|
32510
32506
|
|
|
32507
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32508
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32509
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32510
|
+
|
|
32511
|
+
return {
|
|
32512
|
+
url: toPathString(localVarUrlObj),
|
|
32513
|
+
options: localVarRequestOptions,
|
|
32514
|
+
};
|
|
32515
|
+
},
|
|
32516
|
+
/**
|
|
32517
|
+
*
|
|
32518
|
+
* @summary Delete HospitalSpecialty.
|
|
32519
|
+
* @param {string} hospitalId
|
|
32520
|
+
* @param {string} hospitalSpecialtyId
|
|
32521
|
+
* @param {*} [options] Override http request option.
|
|
32522
|
+
* @throws {RequiredError}
|
|
32523
|
+
*/
|
|
32524
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32525
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32526
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
|
|
32527
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32528
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32529
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32530
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32531
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32532
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32533
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32534
|
+
let baseOptions;
|
|
32535
|
+
if (configuration) {
|
|
32536
|
+
baseOptions = configuration.baseOptions;
|
|
32537
|
+
}
|
|
32538
|
+
|
|
32539
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
32540
|
+
const localVarHeaderParameter = {} as any;
|
|
32541
|
+
const localVarQueryParameter = {} as any;
|
|
32542
|
+
|
|
32543
|
+
// authentication oauth2 required
|
|
32544
|
+
// oauth required
|
|
32545
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32546
|
+
|
|
32547
|
+
|
|
32548
|
+
|
|
32549
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32550
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32551
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32552
|
+
|
|
32553
|
+
return {
|
|
32554
|
+
url: toPathString(localVarUrlObj),
|
|
32555
|
+
options: localVarRequestOptions,
|
|
32556
|
+
};
|
|
32557
|
+
},
|
|
32558
|
+
/**
|
|
32559
|
+
*
|
|
32560
|
+
* @summary Get HospitalSpecialty.
|
|
32561
|
+
* @param {string} hospitalId
|
|
32562
|
+
* @param {string} hospitalSpecialtyId
|
|
32563
|
+
* @param {string} [languageCode]
|
|
32564
|
+
* @param {*} [options] Override http request option.
|
|
32565
|
+
* @throws {RequiredError}
|
|
32566
|
+
*/
|
|
32567
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: async (hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32568
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32569
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
32570
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32571
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32572
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32573
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32574
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32575
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32576
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32577
|
+
let baseOptions;
|
|
32578
|
+
if (configuration) {
|
|
32579
|
+
baseOptions = configuration.baseOptions;
|
|
32580
|
+
}
|
|
32581
|
+
|
|
32582
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32583
|
+
const localVarHeaderParameter = {} as any;
|
|
32584
|
+
const localVarQueryParameter = {} as any;
|
|
32585
|
+
|
|
32586
|
+
// authentication oauth2 required
|
|
32587
|
+
// oauth required
|
|
32588
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32589
|
+
|
|
32590
|
+
if (languageCode !== undefined) {
|
|
32591
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
32592
|
+
}
|
|
32593
|
+
|
|
32594
|
+
|
|
32595
|
+
|
|
32511
32596
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32512
32597
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32513
32598
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -32774,6 +32859,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32774
32859
|
options: localVarRequestOptions,
|
|
32775
32860
|
};
|
|
32776
32861
|
},
|
|
32862
|
+
/**
|
|
32863
|
+
*
|
|
32864
|
+
* @summary Update HospitalSpecialty.
|
|
32865
|
+
* @param {string} hospitalId
|
|
32866
|
+
* @param {string} hospitalSpecialtyId
|
|
32867
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
32868
|
+
* @param {*} [options] Override http request option.
|
|
32869
|
+
* @throws {RequiredError}
|
|
32870
|
+
*/
|
|
32871
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut: async (hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32872
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32873
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalId', hospitalId)
|
|
32874
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32875
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32876
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32877
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32878
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32879
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32880
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32881
|
+
let baseOptions;
|
|
32882
|
+
if (configuration) {
|
|
32883
|
+
baseOptions = configuration.baseOptions;
|
|
32884
|
+
}
|
|
32885
|
+
|
|
32886
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
32887
|
+
const localVarHeaderParameter = {} as any;
|
|
32888
|
+
const localVarQueryParameter = {} as any;
|
|
32889
|
+
|
|
32890
|
+
// authentication oauth2 required
|
|
32891
|
+
// oauth required
|
|
32892
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32893
|
+
|
|
32894
|
+
|
|
32895
|
+
|
|
32896
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32897
|
+
|
|
32898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32900
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
32902
|
+
|
|
32903
|
+
return {
|
|
32904
|
+
url: toPathString(localVarUrlObj),
|
|
32905
|
+
options: localVarRequestOptions,
|
|
32906
|
+
};
|
|
32907
|
+
},
|
|
32777
32908
|
/**
|
|
32778
32909
|
*
|
|
32779
32910
|
* @summary Create HospitalSpecialty.
|
|
@@ -32978,141 +33109,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32978
33109
|
options: localVarRequestOptions,
|
|
32979
33110
|
};
|
|
32980
33111
|
},
|
|
32981
|
-
/**
|
|
32982
|
-
*
|
|
32983
|
-
* @summary Delete HospitalSpecialty.
|
|
32984
|
-
* @param {string} hospitalId
|
|
32985
|
-
* @param {string} specialtyId
|
|
32986
|
-
* @param {*} [options] Override http request option.
|
|
32987
|
-
* @throws {RequiredError}
|
|
32988
|
-
*/
|
|
32989
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32990
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
32991
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
|
|
32992
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
32993
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
|
|
32994
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
32995
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32996
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
32997
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32998
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32999
|
-
let baseOptions;
|
|
33000
|
-
if (configuration) {
|
|
33001
|
-
baseOptions = configuration.baseOptions;
|
|
33002
|
-
}
|
|
33003
|
-
|
|
33004
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33005
|
-
const localVarHeaderParameter = {} as any;
|
|
33006
|
-
const localVarQueryParameter = {} as any;
|
|
33007
|
-
|
|
33008
|
-
// authentication oauth2 required
|
|
33009
|
-
// oauth required
|
|
33010
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33011
|
-
|
|
33012
|
-
|
|
33013
|
-
|
|
33014
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33015
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33016
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33017
|
-
|
|
33018
|
-
return {
|
|
33019
|
-
url: toPathString(localVarUrlObj),
|
|
33020
|
-
options: localVarRequestOptions,
|
|
33021
|
-
};
|
|
33022
|
-
},
|
|
33023
|
-
/**
|
|
33024
|
-
*
|
|
33025
|
-
* @summary Get HospitalSpecialty.
|
|
33026
|
-
* @param {string} hospitalId
|
|
33027
|
-
* @param {string} specialtyId
|
|
33028
|
-
* @param {string} [languageCode]
|
|
33029
|
-
* @param {*} [options] Override http request option.
|
|
33030
|
-
* @throws {RequiredError}
|
|
33031
|
-
*/
|
|
33032
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33033
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
33034
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
33035
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
33036
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
33037
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
33038
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33039
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
33040
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33041
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33042
|
-
let baseOptions;
|
|
33043
|
-
if (configuration) {
|
|
33044
|
-
baseOptions = configuration.baseOptions;
|
|
33045
|
-
}
|
|
33046
|
-
|
|
33047
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33048
|
-
const localVarHeaderParameter = {} as any;
|
|
33049
|
-
const localVarQueryParameter = {} as any;
|
|
33050
|
-
|
|
33051
|
-
// authentication oauth2 required
|
|
33052
|
-
// oauth required
|
|
33053
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33054
|
-
|
|
33055
|
-
if (languageCode !== undefined) {
|
|
33056
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
33057
|
-
}
|
|
33058
|
-
|
|
33059
|
-
|
|
33060
|
-
|
|
33061
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33062
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33063
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33064
|
-
|
|
33065
|
-
return {
|
|
33066
|
-
url: toPathString(localVarUrlObj),
|
|
33067
|
-
options: localVarRequestOptions,
|
|
33068
|
-
};
|
|
33069
|
-
},
|
|
33070
|
-
/**
|
|
33071
|
-
*
|
|
33072
|
-
* @summary Update HospitalSpecialty.
|
|
33073
|
-
* @param {string} hospitalId
|
|
33074
|
-
* @param {string} specialtyId
|
|
33075
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
33076
|
-
* @param {*} [options] Override http request option.
|
|
33077
|
-
* @throws {RequiredError}
|
|
33078
|
-
*/
|
|
33079
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33080
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
33081
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
|
|
33082
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
33083
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
|
|
33084
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
33085
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33086
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
33087
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33088
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33089
|
-
let baseOptions;
|
|
33090
|
-
if (configuration) {
|
|
33091
|
-
baseOptions = configuration.baseOptions;
|
|
33092
|
-
}
|
|
33093
|
-
|
|
33094
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
33095
|
-
const localVarHeaderParameter = {} as any;
|
|
33096
|
-
const localVarQueryParameter = {} as any;
|
|
33097
|
-
|
|
33098
|
-
// authentication oauth2 required
|
|
33099
|
-
// oauth required
|
|
33100
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33101
|
-
|
|
33102
|
-
|
|
33103
|
-
|
|
33104
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33105
|
-
|
|
33106
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33107
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33108
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33109
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
33110
|
-
|
|
33111
|
-
return {
|
|
33112
|
-
url: toPathString(localVarUrlObj),
|
|
33113
|
-
options: localVarRequestOptions,
|
|
33114
|
-
};
|
|
33115
|
-
},
|
|
33116
33112
|
/**
|
|
33117
33113
|
*
|
|
33118
33114
|
* @summary Get all HospitalServices.
|
|
@@ -34718,6 +34714,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34718
34714
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
34719
34715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34720
34716
|
},
|
|
34717
|
+
/**
|
|
34718
|
+
*
|
|
34719
|
+
* @summary Delete HospitalSpecialty.
|
|
34720
|
+
* @param {string} hospitalId
|
|
34721
|
+
* @param {string} hospitalSpecialtyId
|
|
34722
|
+
* @param {*} [options] Override http request option.
|
|
34723
|
+
* @throws {RequiredError}
|
|
34724
|
+
*/
|
|
34725
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34726
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options);
|
|
34727
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34728
|
+
},
|
|
34729
|
+
/**
|
|
34730
|
+
*
|
|
34731
|
+
* @summary Get HospitalSpecialty.
|
|
34732
|
+
* @param {string} hospitalId
|
|
34733
|
+
* @param {string} hospitalSpecialtyId
|
|
34734
|
+
* @param {string} [languageCode]
|
|
34735
|
+
* @param {*} [options] Override http request option.
|
|
34736
|
+
* @throws {RequiredError}
|
|
34737
|
+
*/
|
|
34738
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options);
|
|
34740
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34741
|
+
},
|
|
34721
34742
|
/**
|
|
34722
34743
|
*
|
|
34723
34744
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -34788,6 +34809,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34788
34809
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options);
|
|
34789
34810
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34790
34811
|
},
|
|
34812
|
+
/**
|
|
34813
|
+
*
|
|
34814
|
+
* @summary Update HospitalSpecialty.
|
|
34815
|
+
* @param {string} hospitalId
|
|
34816
|
+
* @param {string} hospitalSpecialtyId
|
|
34817
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
34818
|
+
* @param {*} [options] Override http request option.
|
|
34819
|
+
* @throws {RequiredError}
|
|
34820
|
+
*/
|
|
34821
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options);
|
|
34823
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34824
|
+
},
|
|
34791
34825
|
/**
|
|
34792
34826
|
*
|
|
34793
34827
|
* @summary Create HospitalSpecialty.
|
|
@@ -34839,44 +34873,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34839
34873
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options);
|
|
34840
34874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34841
34875
|
},
|
|
34842
|
-
/**
|
|
34843
|
-
*
|
|
34844
|
-
* @summary Delete HospitalSpecialty.
|
|
34845
|
-
* @param {string} hospitalId
|
|
34846
|
-
* @param {string} specialtyId
|
|
34847
|
-
* @param {*} [options] Override http request option.
|
|
34848
|
-
* @throws {RequiredError}
|
|
34849
|
-
*/
|
|
34850
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34851
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
|
|
34852
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34853
|
-
},
|
|
34854
|
-
/**
|
|
34855
|
-
*
|
|
34856
|
-
* @summary Get HospitalSpecialty.
|
|
34857
|
-
* @param {string} hospitalId
|
|
34858
|
-
* @param {string} specialtyId
|
|
34859
|
-
* @param {string} [languageCode]
|
|
34860
|
-
* @param {*} [options] Override http request option.
|
|
34861
|
-
* @throws {RequiredError}
|
|
34862
|
-
*/
|
|
34863
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options);
|
|
34865
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34866
|
-
},
|
|
34867
|
-
/**
|
|
34868
|
-
*
|
|
34869
|
-
* @summary Update HospitalSpecialty.
|
|
34870
|
-
* @param {string} hospitalId
|
|
34871
|
-
* @param {string} specialtyId
|
|
34872
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
34873
|
-
* @param {*} [options] Override http request option.
|
|
34874
|
-
* @throws {RequiredError}
|
|
34875
|
-
*/
|
|
34876
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
|
|
34878
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34879
|
-
},
|
|
34880
34876
|
/**
|
|
34881
34877
|
*
|
|
34882
34878
|
* @summary Get all HospitalServices.
|
|
@@ -35652,6 +35648,29 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35652
35648
|
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> {
|
|
35653
35649
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35654
35650
|
},
|
|
35651
|
+
/**
|
|
35652
|
+
*
|
|
35653
|
+
* @summary Delete HospitalSpecialty.
|
|
35654
|
+
* @param {string} hospitalId
|
|
35655
|
+
* @param {string} hospitalSpecialtyId
|
|
35656
|
+
* @param {*} [options] Override http request option.
|
|
35657
|
+
* @throws {RequiredError}
|
|
35658
|
+
*/
|
|
35659
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
35660
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(axios, basePath));
|
|
35661
|
+
},
|
|
35662
|
+
/**
|
|
35663
|
+
*
|
|
35664
|
+
* @summary Get HospitalSpecialty.
|
|
35665
|
+
* @param {string} hospitalId
|
|
35666
|
+
* @param {string} hospitalSpecialtyId
|
|
35667
|
+
* @param {string} [languageCode]
|
|
35668
|
+
* @param {*} [options] Override http request option.
|
|
35669
|
+
* @throws {RequiredError}
|
|
35670
|
+
*/
|
|
35671
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35672
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35673
|
+
},
|
|
35655
35674
|
/**
|
|
35656
35675
|
*
|
|
35657
35676
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -35717,6 +35736,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35717
35736
|
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
35718
35737
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
35719
35738
|
},
|
|
35739
|
+
/**
|
|
35740
|
+
*
|
|
35741
|
+
* @summary Update HospitalSpecialty.
|
|
35742
|
+
* @param {string} hospitalId
|
|
35743
|
+
* @param {string} hospitalSpecialtyId
|
|
35744
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
35745
|
+
* @param {*} [options] Override http request option.
|
|
35746
|
+
* @throws {RequiredError}
|
|
35747
|
+
*/
|
|
35748
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35749
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
35750
|
+
},
|
|
35720
35751
|
/**
|
|
35721
35752
|
*
|
|
35722
35753
|
* @summary Create HospitalSpecialty.
|
|
@@ -35765,41 +35796,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35765
35796
|
apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35766
35797
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
|
|
35767
35798
|
},
|
|
35768
|
-
/**
|
|
35769
|
-
*
|
|
35770
|
-
* @summary Delete HospitalSpecialty.
|
|
35771
|
-
* @param {string} hospitalId
|
|
35772
|
-
* @param {string} specialtyId
|
|
35773
|
-
* @param {*} [options] Override http request option.
|
|
35774
|
-
* @throws {RequiredError}
|
|
35775
|
-
*/
|
|
35776
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
35777
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
35778
|
-
},
|
|
35779
|
-
/**
|
|
35780
|
-
*
|
|
35781
|
-
* @summary Get HospitalSpecialty.
|
|
35782
|
-
* @param {string} hospitalId
|
|
35783
|
-
* @param {string} specialtyId
|
|
35784
|
-
* @param {string} [languageCode]
|
|
35785
|
-
* @param {*} [options] Override http request option.
|
|
35786
|
-
* @throws {RequiredError}
|
|
35787
|
-
*/
|
|
35788
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35789
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35790
|
-
},
|
|
35791
|
-
/**
|
|
35792
|
-
*
|
|
35793
|
-
* @summary Update HospitalSpecialty.
|
|
35794
|
-
* @param {string} hospitalId
|
|
35795
|
-
* @param {string} specialtyId
|
|
35796
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
35797
|
-
* @param {*} [options] Override http request option.
|
|
35798
|
-
* @throws {RequiredError}
|
|
35799
|
-
*/
|
|
35800
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35801
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
35802
|
-
},
|
|
35803
35799
|
/**
|
|
35804
35800
|
*
|
|
35805
35801
|
* @summary Get all HospitalServices.
|
|
@@ -36632,6 +36628,33 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36632
36628
|
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));
|
|
36633
36629
|
}
|
|
36634
36630
|
|
|
36631
|
+
/**
|
|
36632
|
+
*
|
|
36633
|
+
* @summary Delete HospitalSpecialty.
|
|
36634
|
+
* @param {string} hospitalId
|
|
36635
|
+
* @param {string} hospitalSpecialtyId
|
|
36636
|
+
* @param {*} [options] Override http request option.
|
|
36637
|
+
* @throws {RequiredError}
|
|
36638
|
+
* @memberof HospitalsApi
|
|
36639
|
+
*/
|
|
36640
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
|
|
36641
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
36642
|
+
}
|
|
36643
|
+
|
|
36644
|
+
/**
|
|
36645
|
+
*
|
|
36646
|
+
* @summary Get HospitalSpecialty.
|
|
36647
|
+
* @param {string} hospitalId
|
|
36648
|
+
* @param {string} hospitalSpecialtyId
|
|
36649
|
+
* @param {string} [languageCode]
|
|
36650
|
+
* @param {*} [options] Override http request option.
|
|
36651
|
+
* @throws {RequiredError}
|
|
36652
|
+
* @memberof HospitalsApi
|
|
36653
|
+
*/
|
|
36654
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36655
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36656
|
+
}
|
|
36657
|
+
|
|
36635
36658
|
/**
|
|
36636
36659
|
*
|
|
36637
36660
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -36707,6 +36730,20 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36707
36730
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36708
36731
|
}
|
|
36709
36732
|
|
|
36733
|
+
/**
|
|
36734
|
+
*
|
|
36735
|
+
* @summary Update HospitalSpecialty.
|
|
36736
|
+
* @param {string} hospitalId
|
|
36737
|
+
* @param {string} hospitalSpecialtyId
|
|
36738
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
36739
|
+
* @param {*} [options] Override http request option.
|
|
36740
|
+
* @throws {RequiredError}
|
|
36741
|
+
* @memberof HospitalsApi
|
|
36742
|
+
*/
|
|
36743
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
36744
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36745
|
+
}
|
|
36746
|
+
|
|
36710
36747
|
/**
|
|
36711
36748
|
*
|
|
36712
36749
|
* @summary Create HospitalSpecialty.
|
|
@@ -36761,47 +36798,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36761
36798
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
|
|
36762
36799
|
}
|
|
36763
36800
|
|
|
36764
|
-
/**
|
|
36765
|
-
*
|
|
36766
|
-
* @summary Delete HospitalSpecialty.
|
|
36767
|
-
* @param {string} hospitalId
|
|
36768
|
-
* @param {string} specialtyId
|
|
36769
|
-
* @param {*} [options] Override http request option.
|
|
36770
|
-
* @throws {RequiredError}
|
|
36771
|
-
* @memberof HospitalsApi
|
|
36772
|
-
*/
|
|
36773
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
36774
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
36775
|
-
}
|
|
36776
|
-
|
|
36777
|
-
/**
|
|
36778
|
-
*
|
|
36779
|
-
* @summary Get HospitalSpecialty.
|
|
36780
|
-
* @param {string} hospitalId
|
|
36781
|
-
* @param {string} specialtyId
|
|
36782
|
-
* @param {string} [languageCode]
|
|
36783
|
-
* @param {*} [options] Override http request option.
|
|
36784
|
-
* @throws {RequiredError}
|
|
36785
|
-
* @memberof HospitalsApi
|
|
36786
|
-
*/
|
|
36787
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36788
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36789
|
-
}
|
|
36790
|
-
|
|
36791
|
-
/**
|
|
36792
|
-
*
|
|
36793
|
-
* @summary Update HospitalSpecialty.
|
|
36794
|
-
* @param {string} hospitalId
|
|
36795
|
-
* @param {string} specialtyId
|
|
36796
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
36797
|
-
* @param {*} [options] Override http request option.
|
|
36798
|
-
* @throws {RequiredError}
|
|
36799
|
-
* @memberof HospitalsApi
|
|
36800
|
-
*/
|
|
36801
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
36802
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36803
|
-
}
|
|
36804
|
-
|
|
36805
36801
|
/**
|
|
36806
36802
|
*
|
|
36807
36803
|
* @summary Get all HospitalServices.
|
|
@@ -40862,13 +40858,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
40862
40858
|
return {
|
|
40863
40859
|
/**
|
|
40864
40860
|
*
|
|
40865
|
-
* @summary
|
|
40866
|
-
* @param {
|
|
40861
|
+
* @summary RecreateIndex
|
|
40862
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40863
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
40867
40864
|
* @param {*} [options] Override http request option.
|
|
40868
40865
|
* @throws {RequiredError}
|
|
40869
40866
|
*/
|
|
40870
|
-
|
|
40871
|
-
const localVarPath = `/api/v1/search/
|
|
40867
|
+
apiV1SearchRecreatePost: async (searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40868
|
+
const localVarPath = `/api/v1/search/recreate`;
|
|
40872
40869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40873
40870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40874
40871
|
let baseOptions;
|
|
@@ -40884,196 +40881,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
40884
40881
|
// oauth required
|
|
40885
40882
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
40886
40883
|
|
|
40887
|
-
|
|
40888
|
-
|
|
40889
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40890
|
-
|
|
40891
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40892
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40893
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40894
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
40895
|
-
|
|
40896
|
-
return {
|
|
40897
|
-
url: toPathString(localVarUrlObj),
|
|
40898
|
-
options: localVarRequestOptions,
|
|
40899
|
-
};
|
|
40900
|
-
},
|
|
40901
|
-
/**
|
|
40902
|
-
*
|
|
40903
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
40904
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
40905
|
-
* @param {*} [options] Override http request option.
|
|
40906
|
-
* @throws {RequiredError}
|
|
40907
|
-
*/
|
|
40908
|
-
apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40909
|
-
const localVarPath = `/api/v1/search/doctors`;
|
|
40910
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40911
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40912
|
-
let baseOptions;
|
|
40913
|
-
if (configuration) {
|
|
40914
|
-
baseOptions = configuration.baseOptions;
|
|
40915
|
-
}
|
|
40916
|
-
|
|
40917
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
40918
|
-
const localVarHeaderParameter = {} as any;
|
|
40919
|
-
const localVarQueryParameter = {} as any;
|
|
40920
|
-
|
|
40921
|
-
// authentication oauth2 required
|
|
40922
|
-
// oauth required
|
|
40923
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
40924
|
-
|
|
40925
|
-
|
|
40926
|
-
|
|
40927
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40928
|
-
|
|
40929
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40930
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40931
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40932
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
40933
|
-
|
|
40934
|
-
return {
|
|
40935
|
-
url: toPathString(localVarUrlObj),
|
|
40936
|
-
options: localVarRequestOptions,
|
|
40937
|
-
};
|
|
40938
|
-
},
|
|
40939
|
-
/**
|
|
40940
|
-
*
|
|
40941
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
40942
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
40943
|
-
* @param {*} [options] Override http request option.
|
|
40944
|
-
* @throws {RequiredError}
|
|
40945
|
-
*/
|
|
40946
|
-
apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40947
|
-
const localVarPath = `/api/v1/search/hospitals`;
|
|
40948
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40949
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40950
|
-
let baseOptions;
|
|
40951
|
-
if (configuration) {
|
|
40952
|
-
baseOptions = configuration.baseOptions;
|
|
40953
|
-
}
|
|
40954
|
-
|
|
40955
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
40956
|
-
const localVarHeaderParameter = {} as any;
|
|
40957
|
-
const localVarQueryParameter = {} as any;
|
|
40958
|
-
|
|
40959
|
-
// authentication oauth2 required
|
|
40960
|
-
// oauth required
|
|
40961
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
40962
|
-
|
|
40963
|
-
|
|
40964
|
-
|
|
40965
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40966
|
-
|
|
40967
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40968
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40969
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40970
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
40971
|
-
|
|
40972
|
-
return {
|
|
40973
|
-
url: toPathString(localVarUrlObj),
|
|
40974
|
-
options: localVarRequestOptions,
|
|
40975
|
-
};
|
|
40976
|
-
},
|
|
40977
|
-
/**
|
|
40978
|
-
*
|
|
40979
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
40980
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
40981
|
-
* @param {*} [options] Override http request option.
|
|
40982
|
-
* @throws {RequiredError}
|
|
40983
|
-
*/
|
|
40984
|
-
apiV1SearchHospitalspecialtiesPost: async (updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40985
|
-
const localVarPath = `/api/v1/search/hospitalspecialties`;
|
|
40986
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40987
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40988
|
-
let baseOptions;
|
|
40989
|
-
if (configuration) {
|
|
40990
|
-
baseOptions = configuration.baseOptions;
|
|
40991
|
-
}
|
|
40992
|
-
|
|
40993
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
40994
|
-
const localVarHeaderParameter = {} as any;
|
|
40995
|
-
const localVarQueryParameter = {} as any;
|
|
40996
|
-
|
|
40997
|
-
// authentication oauth2 required
|
|
40998
|
-
// oauth required
|
|
40999
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41000
|
-
|
|
41001
|
-
|
|
41002
|
-
|
|
41003
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41004
|
-
|
|
41005
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41006
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41007
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41008
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41009
|
-
|
|
41010
|
-
return {
|
|
41011
|
-
url: toPathString(localVarUrlObj),
|
|
41012
|
-
options: localVarRequestOptions,
|
|
41013
|
-
};
|
|
41014
|
-
},
|
|
41015
|
-
/**
|
|
41016
|
-
*
|
|
41017
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41018
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41019
|
-
* @param {*} [options] Override http request option.
|
|
41020
|
-
* @throws {RequiredError}
|
|
41021
|
-
*/
|
|
41022
|
-
apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41023
|
-
const localVarPath = `/api/v1/search/specialties`;
|
|
41024
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41025
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41026
|
-
let baseOptions;
|
|
41027
|
-
if (configuration) {
|
|
41028
|
-
baseOptions = configuration.baseOptions;
|
|
41029
|
-
}
|
|
41030
|
-
|
|
41031
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41032
|
-
const localVarHeaderParameter = {} as any;
|
|
41033
|
-
const localVarQueryParameter = {} as any;
|
|
41034
|
-
|
|
41035
|
-
// authentication oauth2 required
|
|
41036
|
-
// oauth required
|
|
41037
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41038
|
-
|
|
41039
|
-
|
|
41040
|
-
|
|
41041
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41042
|
-
|
|
41043
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41044
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41045
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41046
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41047
|
-
|
|
41048
|
-
return {
|
|
41049
|
-
url: toPathString(localVarUrlObj),
|
|
41050
|
-
options: localVarRequestOptions,
|
|
41051
|
-
};
|
|
41052
|
-
},
|
|
41053
|
-
/**
|
|
41054
|
-
*
|
|
41055
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41056
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41057
|
-
* @param {*} [options] Override http request option.
|
|
41058
|
-
* @throws {RequiredError}
|
|
41059
|
-
*/
|
|
41060
|
-
apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41061
|
-
const localVarPath = `/api/v1/search/specialtytypes`;
|
|
41062
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41063
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41064
|
-
let baseOptions;
|
|
41065
|
-
if (configuration) {
|
|
41066
|
-
baseOptions = configuration.baseOptions;
|
|
40884
|
+
if (searchIndexType !== undefined) {
|
|
40885
|
+
localVarQueryParameter['searchIndexType'] = searchIndexType;
|
|
41067
40886
|
}
|
|
41068
40887
|
|
|
41069
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41070
|
-
const localVarHeaderParameter = {} as any;
|
|
41071
|
-
const localVarQueryParameter = {} as any;
|
|
41072
|
-
|
|
41073
|
-
// authentication oauth2 required
|
|
41074
|
-
// oauth required
|
|
41075
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41076
|
-
|
|
41077
40888
|
|
|
41078
40889
|
|
|
41079
40890
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -41081,7 +40892,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
41081
40892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41082
40893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41083
40894
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41084
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40895
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41085
40896
|
|
|
41086
40897
|
return {
|
|
41087
40898
|
url: toPathString(localVarUrlObj),
|
|
@@ -41100,68 +40911,14 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
41100
40911
|
return {
|
|
41101
40912
|
/**
|
|
41102
40913
|
*
|
|
41103
|
-
* @summary
|
|
41104
|
-
* @param {
|
|
40914
|
+
* @summary RecreateIndex
|
|
40915
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40916
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41105
40917
|
* @param {*} [options] Override http request option.
|
|
41106
40918
|
* @throws {RequiredError}
|
|
41107
40919
|
*/
|
|
41108
|
-
async
|
|
41109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41110
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41111
|
-
},
|
|
41112
|
-
/**
|
|
41113
|
-
*
|
|
41114
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41115
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41116
|
-
* @param {*} [options] Override http request option.
|
|
41117
|
-
* @throws {RequiredError}
|
|
41118
|
-
*/
|
|
41119
|
-
async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41120
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
|
|
41121
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41122
|
-
},
|
|
41123
|
-
/**
|
|
41124
|
-
*
|
|
41125
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41126
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41127
|
-
* @param {*} [options] Override http request option.
|
|
41128
|
-
* @throws {RequiredError}
|
|
41129
|
-
*/
|
|
41130
|
-
async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41131
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
|
|
41132
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41133
|
-
},
|
|
41134
|
-
/**
|
|
41135
|
-
*
|
|
41136
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41137
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41138
|
-
* @param {*} [options] Override http request option.
|
|
41139
|
-
* @throws {RequiredError}
|
|
41140
|
-
*/
|
|
41141
|
-
async apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options);
|
|
41143
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41144
|
-
},
|
|
41145
|
-
/**
|
|
41146
|
-
*
|
|
41147
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41148
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41149
|
-
* @param {*} [options] Override http request option.
|
|
41150
|
-
* @throws {RequiredError}
|
|
41151
|
-
*/
|
|
41152
|
-
async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41153
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
|
|
41154
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41155
|
-
},
|
|
41156
|
-
/**
|
|
41157
|
-
*
|
|
41158
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41159
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41160
|
-
* @param {*} [options] Override http request option.
|
|
41161
|
-
* @throws {RequiredError}
|
|
41162
|
-
*/
|
|
41163
|
-
async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
|
|
40920
|
+
async apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
40921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options);
|
|
41165
40922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41166
40923
|
},
|
|
41167
40924
|
}
|
|
@@ -41176,63 +40933,14 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
41176
40933
|
return {
|
|
41177
40934
|
/**
|
|
41178
40935
|
*
|
|
41179
|
-
* @summary
|
|
41180
|
-
* @param {
|
|
41181
|
-
* @param {
|
|
41182
|
-
* @throws {RequiredError}
|
|
41183
|
-
*/
|
|
41184
|
-
apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41185
|
-
return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41186
|
-
},
|
|
41187
|
-
/**
|
|
41188
|
-
*
|
|
41189
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41190
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41191
|
-
* @param {*} [options] Override http request option.
|
|
41192
|
-
* @throws {RequiredError}
|
|
41193
|
-
*/
|
|
41194
|
-
apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41195
|
-
return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41196
|
-
},
|
|
41197
|
-
/**
|
|
41198
|
-
*
|
|
41199
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41200
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41201
|
-
* @param {*} [options] Override http request option.
|
|
41202
|
-
* @throws {RequiredError}
|
|
41203
|
-
*/
|
|
41204
|
-
apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41205
|
-
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41206
|
-
},
|
|
41207
|
-
/**
|
|
41208
|
-
*
|
|
41209
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41210
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41211
|
-
* @param {*} [options] Override http request option.
|
|
41212
|
-
* @throws {RequiredError}
|
|
41213
|
-
*/
|
|
41214
|
-
apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41215
|
-
return localVarFp.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41216
|
-
},
|
|
41217
|
-
/**
|
|
41218
|
-
*
|
|
41219
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41220
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
40936
|
+
* @summary RecreateIndex
|
|
40937
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40938
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41221
40939
|
* @param {*} [options] Override http request option.
|
|
41222
40940
|
* @throws {RequiredError}
|
|
41223
40941
|
*/
|
|
41224
|
-
|
|
41225
|
-
return localVarFp.
|
|
41226
|
-
},
|
|
41227
|
-
/**
|
|
41228
|
-
*
|
|
41229
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41230
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41231
|
-
* @param {*} [options] Override http request option.
|
|
41232
|
-
* @throws {RequiredError}
|
|
41233
|
-
*/
|
|
41234
|
-
apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41235
|
-
return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
40942
|
+
apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
40943
|
+
return localVarFp.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41236
40944
|
},
|
|
41237
40945
|
};
|
|
41238
40946
|
};
|
|
@@ -41246,74 +40954,15 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
41246
40954
|
export class SearchApi extends BaseAPI {
|
|
41247
40955
|
/**
|
|
41248
40956
|
*
|
|
41249
|
-
* @summary
|
|
41250
|
-
* @param {
|
|
41251
|
-
* @param {
|
|
41252
|
-
* @throws {RequiredError}
|
|
41253
|
-
* @memberof SearchApi
|
|
41254
|
-
*/
|
|
41255
|
-
public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41256
|
-
return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41257
|
-
}
|
|
41258
|
-
|
|
41259
|
-
/**
|
|
41260
|
-
*
|
|
41261
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41262
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41263
|
-
* @param {*} [options] Override http request option.
|
|
41264
|
-
* @throws {RequiredError}
|
|
41265
|
-
* @memberof SearchApi
|
|
41266
|
-
*/
|
|
41267
|
-
public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41268
|
-
return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41269
|
-
}
|
|
41270
|
-
|
|
41271
|
-
/**
|
|
41272
|
-
*
|
|
41273
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41274
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41275
|
-
* @param {*} [options] Override http request option.
|
|
41276
|
-
* @throws {RequiredError}
|
|
41277
|
-
* @memberof SearchApi
|
|
41278
|
-
*/
|
|
41279
|
-
public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41280
|
-
return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41281
|
-
}
|
|
41282
|
-
|
|
41283
|
-
/**
|
|
41284
|
-
*
|
|
41285
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41286
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41287
|
-
* @param {*} [options] Override http request option.
|
|
41288
|
-
* @throws {RequiredError}
|
|
41289
|
-
* @memberof SearchApi
|
|
41290
|
-
*/
|
|
41291
|
-
public apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41292
|
-
return SearchApiFp(this.configuration).apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41293
|
-
}
|
|
41294
|
-
|
|
41295
|
-
/**
|
|
41296
|
-
*
|
|
41297
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41298
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41299
|
-
* @param {*} [options] Override http request option.
|
|
41300
|
-
* @throws {RequiredError}
|
|
41301
|
-
* @memberof SearchApi
|
|
41302
|
-
*/
|
|
41303
|
-
public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41304
|
-
return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41305
|
-
}
|
|
41306
|
-
|
|
41307
|
-
/**
|
|
41308
|
-
*
|
|
41309
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41310
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
40957
|
+
* @summary RecreateIndex
|
|
40958
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40959
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41311
40960
|
* @param {*} [options] Override http request option.
|
|
41312
40961
|
* @throws {RequiredError}
|
|
41313
40962
|
* @memberof SearchApi
|
|
41314
40963
|
*/
|
|
41315
|
-
public
|
|
41316
|
-
return SearchApiFp(this.configuration).
|
|
40964
|
+
public apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
40965
|
+
return SearchApiFp(this.configuration).apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41317
40966
|
}
|
|
41318
40967
|
}
|
|
41319
40968
|
|