ch-admin-api-client-typescript 3.5.8 → 4.0.2
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 +191 -544
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +353 -838
- package/package.json +1 -1
- package/src/api.ts +381 -960
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}
|
|
@@ -6677,43 +6683,6 @@ export interface FaqCategoriesModel {
|
|
|
6677
6683
|
*/
|
|
6678
6684
|
'metaData'?: PagedListMetaData;
|
|
6679
6685
|
}
|
|
6680
|
-
/**
|
|
6681
|
-
*
|
|
6682
|
-
* @export
|
|
6683
|
-
* @interface FaqCategoryBreadCrumbModel
|
|
6684
|
-
*/
|
|
6685
|
-
export interface FaqCategoryBreadCrumbModel {
|
|
6686
|
-
/**
|
|
6687
|
-
*
|
|
6688
|
-
* @type {string}
|
|
6689
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
6690
|
-
*/
|
|
6691
|
-
'id'?: string;
|
|
6692
|
-
/**
|
|
6693
|
-
*
|
|
6694
|
-
* @type {string}
|
|
6695
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
6696
|
-
*/
|
|
6697
|
-
'name'?: string | null;
|
|
6698
|
-
/**
|
|
6699
|
-
*
|
|
6700
|
-
* @type {string}
|
|
6701
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
6702
|
-
*/
|
|
6703
|
-
'slug'?: string | null;
|
|
6704
|
-
/**
|
|
6705
|
-
*
|
|
6706
|
-
* @type {string}
|
|
6707
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
6708
|
-
*/
|
|
6709
|
-
'parentId'?: string | null;
|
|
6710
|
-
/**
|
|
6711
|
-
*
|
|
6712
|
-
* @type {boolean}
|
|
6713
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
6714
|
-
*/
|
|
6715
|
-
'confirmed'?: boolean;
|
|
6716
|
-
}
|
|
6717
6686
|
/**
|
|
6718
6687
|
*
|
|
6719
6688
|
* @export
|
|
@@ -10190,6 +10159,27 @@ export enum ReviewType {
|
|
|
10190
10159
|
RealStory = 'RealStory'
|
|
10191
10160
|
}
|
|
10192
10161
|
|
|
10162
|
+
/**
|
|
10163
|
+
*
|
|
10164
|
+
* @export
|
|
10165
|
+
* @enum {string}
|
|
10166
|
+
*/
|
|
10167
|
+
|
|
10168
|
+
export enum SearchIndexType {
|
|
10169
|
+
Hospitals = 'hospitals',
|
|
10170
|
+
Specialtytypes = 'specialtytypes',
|
|
10171
|
+
Specialties = 'specialties',
|
|
10172
|
+
Hospitalspecialies = 'hospitalspecialies',
|
|
10173
|
+
Doctors = 'doctors',
|
|
10174
|
+
Deals = 'deals',
|
|
10175
|
+
Articles = 'articles',
|
|
10176
|
+
Contributors = 'contributors',
|
|
10177
|
+
Countries = 'countries',
|
|
10178
|
+
Faqcategories = 'faqcategories',
|
|
10179
|
+
Faqs = 'faqs',
|
|
10180
|
+
Services = 'services'
|
|
10181
|
+
}
|
|
10182
|
+
|
|
10193
10183
|
/**
|
|
10194
10184
|
*
|
|
10195
10185
|
* @export
|
|
@@ -12022,25 +12012,6 @@ export interface UpdateDealServiceCommand {
|
|
|
12022
12012
|
*/
|
|
12023
12013
|
'order'?: number;
|
|
12024
12014
|
}
|
|
12025
|
-
/**
|
|
12026
|
-
*
|
|
12027
|
-
* @export
|
|
12028
|
-
* @interface UpdateDealsSearchIndexCommand
|
|
12029
|
-
*/
|
|
12030
|
-
export interface UpdateDealsSearchIndexCommand {
|
|
12031
|
-
/**
|
|
12032
|
-
*
|
|
12033
|
-
* @type {number}
|
|
12034
|
-
* @memberof UpdateDealsSearchIndexCommand
|
|
12035
|
-
*/
|
|
12036
|
-
'batchSize'?: number | null;
|
|
12037
|
-
/**
|
|
12038
|
-
*
|
|
12039
|
-
* @type {boolean}
|
|
12040
|
-
* @memberof UpdateDealsSearchIndexCommand
|
|
12041
|
-
*/
|
|
12042
|
-
'reCreate'?: boolean | null;
|
|
12043
|
-
}
|
|
12044
12015
|
/**
|
|
12045
12016
|
*
|
|
12046
12017
|
* @export
|
|
@@ -12193,12 +12164,6 @@ export interface UpdateDoctorCommand {
|
|
|
12193
12164
|
* @memberof UpdateDoctorCommand
|
|
12194
12165
|
*/
|
|
12195
12166
|
'lastName'?: string | null;
|
|
12196
|
-
/**
|
|
12197
|
-
*
|
|
12198
|
-
* @type {string}
|
|
12199
|
-
* @memberof UpdateDoctorCommand
|
|
12200
|
-
*/
|
|
12201
|
-
'slug'?: string | null;
|
|
12202
12167
|
/**
|
|
12203
12168
|
*
|
|
12204
12169
|
* @type {string}
|
|
@@ -12235,48 +12200,12 @@ export interface UpdateDoctorCommand {
|
|
|
12235
12200
|
* @memberof UpdateDoctorCommand
|
|
12236
12201
|
*/
|
|
12237
12202
|
'startPracticeDate'?: Date | null;
|
|
12238
|
-
/**
|
|
12239
|
-
*
|
|
12240
|
-
* @type {string}
|
|
12241
|
-
* @memberof UpdateDoctorCommand
|
|
12242
|
-
*/
|
|
12243
|
-
'overview'?: string | null;
|
|
12244
|
-
/**
|
|
12245
|
-
*
|
|
12246
|
-
* @type {boolean}
|
|
12247
|
-
* @memberof UpdateDoctorCommand
|
|
12248
|
-
*/
|
|
12249
|
-
'consultationEnabled'?: boolean | null;
|
|
12250
|
-
/**
|
|
12251
|
-
*
|
|
12252
|
-
* @type {number}
|
|
12253
|
-
* @memberof UpdateDoctorCommand
|
|
12254
|
-
*/
|
|
12255
|
-
'consultationFee'?: number | null;
|
|
12256
12203
|
/**
|
|
12257
12204
|
*
|
|
12258
12205
|
* @type {string}
|
|
12259
12206
|
* @memberof UpdateDoctorCommand
|
|
12260
12207
|
*/
|
|
12261
12208
|
'timeZone'?: string | null;
|
|
12262
|
-
/**
|
|
12263
|
-
*
|
|
12264
|
-
* @type {string}
|
|
12265
|
-
* @memberof UpdateDoctorCommand
|
|
12266
|
-
*/
|
|
12267
|
-
'hospitalId'?: string | null;
|
|
12268
|
-
/**
|
|
12269
|
-
*
|
|
12270
|
-
* @type {string}
|
|
12271
|
-
* @memberof UpdateDoctorCommand
|
|
12272
|
-
*/
|
|
12273
|
-
'languageCode'?: string | null;
|
|
12274
|
-
/**
|
|
12275
|
-
*
|
|
12276
|
-
* @type {boolean}
|
|
12277
|
-
* @memberof UpdateDoctorCommand
|
|
12278
|
-
*/
|
|
12279
|
-
'confirmed'?: boolean;
|
|
12280
12209
|
}
|
|
12281
12210
|
/**
|
|
12282
12211
|
*
|
|
@@ -12372,25 +12301,6 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
12372
12301
|
*/
|
|
12373
12302
|
'order'?: number;
|
|
12374
12303
|
}
|
|
12375
|
-
/**
|
|
12376
|
-
*
|
|
12377
|
-
* @export
|
|
12378
|
-
* @interface UpdateDoctorsSearchIndexCommand
|
|
12379
|
-
*/
|
|
12380
|
-
export interface UpdateDoctorsSearchIndexCommand {
|
|
12381
|
-
/**
|
|
12382
|
-
*
|
|
12383
|
-
* @type {number}
|
|
12384
|
-
* @memberof UpdateDoctorsSearchIndexCommand
|
|
12385
|
-
*/
|
|
12386
|
-
'batchSize'?: number | null;
|
|
12387
|
-
/**
|
|
12388
|
-
*
|
|
12389
|
-
* @type {boolean}
|
|
12390
|
-
* @memberof UpdateDoctorsSearchIndexCommand
|
|
12391
|
-
*/
|
|
12392
|
-
'reCreate'?: boolean | null;
|
|
12393
|
-
}
|
|
12394
12304
|
/**
|
|
12395
12305
|
*
|
|
12396
12306
|
* @export
|
|
@@ -12811,25 +12721,6 @@ export interface UpdateHospitalSnsHandleCommand {
|
|
|
12811
12721
|
*/
|
|
12812
12722
|
'handle'?: string | null;
|
|
12813
12723
|
}
|
|
12814
|
-
/**
|
|
12815
|
-
*
|
|
12816
|
-
* @export
|
|
12817
|
-
* @interface UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12818
|
-
*/
|
|
12819
|
-
export interface UpdateHospitalSpecialtiesSearchIndexCommand {
|
|
12820
|
-
/**
|
|
12821
|
-
*
|
|
12822
|
-
* @type {number}
|
|
12823
|
-
* @memberof UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12824
|
-
*/
|
|
12825
|
-
'batchSize'?: number | null;
|
|
12826
|
-
/**
|
|
12827
|
-
*
|
|
12828
|
-
* @type {boolean}
|
|
12829
|
-
* @memberof UpdateHospitalSpecialtiesSearchIndexCommand
|
|
12830
|
-
*/
|
|
12831
|
-
'reCreate'?: boolean | null;
|
|
12832
|
-
}
|
|
12833
12724
|
/**
|
|
12834
12725
|
*
|
|
12835
12726
|
* @export
|
|
@@ -12946,25 +12837,6 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
12946
12837
|
*/
|
|
12947
12838
|
'checkHoliday'?: boolean;
|
|
12948
12839
|
}
|
|
12949
|
-
/**
|
|
12950
|
-
*
|
|
12951
|
-
* @export
|
|
12952
|
-
* @interface UpdateHospitalsSearchIndexCommand
|
|
12953
|
-
*/
|
|
12954
|
-
export interface UpdateHospitalsSearchIndexCommand {
|
|
12955
|
-
/**
|
|
12956
|
-
*
|
|
12957
|
-
* @type {number}
|
|
12958
|
-
* @memberof UpdateHospitalsSearchIndexCommand
|
|
12959
|
-
*/
|
|
12960
|
-
'batchSize'?: number | null;
|
|
12961
|
-
/**
|
|
12962
|
-
*
|
|
12963
|
-
* @type {boolean}
|
|
12964
|
-
* @memberof UpdateHospitalsSearchIndexCommand
|
|
12965
|
-
*/
|
|
12966
|
-
'reCreate'?: boolean | null;
|
|
12967
|
-
}
|
|
12968
12840
|
/**
|
|
12969
12841
|
*
|
|
12970
12842
|
* @export
|
|
@@ -13296,6 +13168,19 @@ export interface UpdateProfileCommand {
|
|
|
13296
13168
|
*/
|
|
13297
13169
|
'locations'?: Array<UserLocationModel> | null;
|
|
13298
13170
|
}
|
|
13171
|
+
/**
|
|
13172
|
+
*
|
|
13173
|
+
* @export
|
|
13174
|
+
* @interface UpdateSearchIndexCommand
|
|
13175
|
+
*/
|
|
13176
|
+
export interface UpdateSearchIndexCommand {
|
|
13177
|
+
/**
|
|
13178
|
+
*
|
|
13179
|
+
* @type {boolean}
|
|
13180
|
+
* @memberof UpdateSearchIndexCommand
|
|
13181
|
+
*/
|
|
13182
|
+
'reCreate'?: boolean | null;
|
|
13183
|
+
}
|
|
13299
13184
|
/**
|
|
13300
13185
|
*
|
|
13301
13186
|
* @export
|
|
@@ -13376,25 +13261,6 @@ export interface UpdateServiceReviewCommand {
|
|
|
13376
13261
|
*/
|
|
13377
13262
|
'confirmed'?: boolean;
|
|
13378
13263
|
}
|
|
13379
|
-
/**
|
|
13380
|
-
*
|
|
13381
|
-
* @export
|
|
13382
|
-
* @interface UpdateSpecialtiesSearchIndexCommand
|
|
13383
|
-
*/
|
|
13384
|
-
export interface UpdateSpecialtiesSearchIndexCommand {
|
|
13385
|
-
/**
|
|
13386
|
-
*
|
|
13387
|
-
* @type {number}
|
|
13388
|
-
* @memberof UpdateSpecialtiesSearchIndexCommand
|
|
13389
|
-
*/
|
|
13390
|
-
'batchSize'?: number | null;
|
|
13391
|
-
/**
|
|
13392
|
-
*
|
|
13393
|
-
* @type {boolean}
|
|
13394
|
-
* @memberof UpdateSpecialtiesSearchIndexCommand
|
|
13395
|
-
*/
|
|
13396
|
-
'reCreate'?: boolean | null;
|
|
13397
|
-
}
|
|
13398
13264
|
/**
|
|
13399
13265
|
*
|
|
13400
13266
|
* @export
|
|
@@ -13523,25 +13389,6 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13523
13389
|
*/
|
|
13524
13390
|
'content'?: string | null;
|
|
13525
13391
|
}
|
|
13526
|
-
/**
|
|
13527
|
-
*
|
|
13528
|
-
* @export
|
|
13529
|
-
* @interface UpdateSpecialtyTypesSearchIndexCommand
|
|
13530
|
-
*/
|
|
13531
|
-
export interface UpdateSpecialtyTypesSearchIndexCommand {
|
|
13532
|
-
/**
|
|
13533
|
-
*
|
|
13534
|
-
* @type {number}
|
|
13535
|
-
* @memberof UpdateSpecialtyTypesSearchIndexCommand
|
|
13536
|
-
*/
|
|
13537
|
-
'batchSize'?: number | null;
|
|
13538
|
-
/**
|
|
13539
|
-
*
|
|
13540
|
-
* @type {boolean}
|
|
13541
|
-
* @memberof UpdateSpecialtyTypesSearchIndexCommand
|
|
13542
|
-
*/
|
|
13543
|
-
'reCreate'?: boolean | null;
|
|
13544
|
-
}
|
|
13545
13392
|
/**
|
|
13546
13393
|
*
|
|
13547
13394
|
* @export
|
|
@@ -28706,49 +28553,6 @@ export class EmailMarketingsApi extends BaseAPI {
|
|
|
28706
28553
|
*/
|
|
28707
28554
|
export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28708
28555
|
return {
|
|
28709
|
-
/**
|
|
28710
|
-
*
|
|
28711
|
-
* @summary Get BreadCrumbs.
|
|
28712
|
-
* @param {string} faqId
|
|
28713
|
-
* @param {string} [languageCode]
|
|
28714
|
-
* @param {*} [options] Override http request option.
|
|
28715
|
-
* @throws {RequiredError}
|
|
28716
|
-
*/
|
|
28717
|
-
apiV1FaqcategoriesBreadcrumbsFaqIdGet: async (faqId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28718
|
-
// verify required parameter 'faqId' is not null or undefined
|
|
28719
|
-
assertParamExists('apiV1FaqcategoriesBreadcrumbsFaqIdGet', 'faqId', faqId)
|
|
28720
|
-
const localVarPath = `/api/v1/faqcategories/breadcrumbs/{faqId}`
|
|
28721
|
-
.replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
|
|
28722
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28723
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28724
|
-
let baseOptions;
|
|
28725
|
-
if (configuration) {
|
|
28726
|
-
baseOptions = configuration.baseOptions;
|
|
28727
|
-
}
|
|
28728
|
-
|
|
28729
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28730
|
-
const localVarHeaderParameter = {} as any;
|
|
28731
|
-
const localVarQueryParameter = {} as any;
|
|
28732
|
-
|
|
28733
|
-
// authentication oauth2 required
|
|
28734
|
-
// oauth required
|
|
28735
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28736
|
-
|
|
28737
|
-
if (languageCode !== undefined) {
|
|
28738
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
28739
|
-
}
|
|
28740
|
-
|
|
28741
|
-
|
|
28742
|
-
|
|
28743
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28744
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28745
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28746
|
-
|
|
28747
|
-
return {
|
|
28748
|
-
url: toPathString(localVarUrlObj),
|
|
28749
|
-
options: localVarRequestOptions,
|
|
28750
|
-
};
|
|
28751
|
-
},
|
|
28752
28556
|
/**
|
|
28753
28557
|
*
|
|
28754
28558
|
* @summary Delete FaqCategory.
|
|
@@ -29064,18 +28868,6 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
29064
28868
|
export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
29065
28869
|
const localVarAxiosParamCreator = FaqCategoriesApiAxiosParamCreator(configuration)
|
|
29066
28870
|
return {
|
|
29067
|
-
/**
|
|
29068
|
-
*
|
|
29069
|
-
* @summary Get BreadCrumbs.
|
|
29070
|
-
* @param {string} faqId
|
|
29071
|
-
* @param {string} [languageCode]
|
|
29072
|
-
* @param {*} [options] Override http request option.
|
|
29073
|
-
* @throws {RequiredError}
|
|
29074
|
-
*/
|
|
29075
|
-
async apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>> {
|
|
29076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options);
|
|
29077
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29078
|
-
},
|
|
29079
28871
|
/**
|
|
29080
28872
|
*
|
|
29081
28873
|
* @summary Delete FaqCategory.
|
|
@@ -29167,17 +28959,6 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
29167
28959
|
export const FaqCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29168
28960
|
const localVarFp = FaqCategoriesApiFp(configuration)
|
|
29169
28961
|
return {
|
|
29170
|
-
/**
|
|
29171
|
-
*
|
|
29172
|
-
* @summary Get BreadCrumbs.
|
|
29173
|
-
* @param {string} faqId
|
|
29174
|
-
* @param {string} [languageCode]
|
|
29175
|
-
* @param {*} [options] Override http request option.
|
|
29176
|
-
* @throws {RequiredError}
|
|
29177
|
-
*/
|
|
29178
|
-
apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>> {
|
|
29179
|
-
return localVarFp.apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(axios, basePath));
|
|
29180
|
-
},
|
|
29181
28962
|
/**
|
|
29182
28963
|
*
|
|
29183
28964
|
* @summary Delete FaqCategory.
|
|
@@ -29263,19 +29044,6 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
29263
29044
|
* @extends {BaseAPI}
|
|
29264
29045
|
*/
|
|
29265
29046
|
export class FaqCategoriesApi extends BaseAPI {
|
|
29266
|
-
/**
|
|
29267
|
-
*
|
|
29268
|
-
* @summary Get BreadCrumbs.
|
|
29269
|
-
* @param {string} faqId
|
|
29270
|
-
* @param {string} [languageCode]
|
|
29271
|
-
* @param {*} [options] Override http request option.
|
|
29272
|
-
* @throws {RequiredError}
|
|
29273
|
-
* @memberof FaqCategoriesApi
|
|
29274
|
-
*/
|
|
29275
|
-
public apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
29276
|
-
return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesBreadcrumbsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
29277
|
-
}
|
|
29278
|
-
|
|
29279
29047
|
/**
|
|
29280
29048
|
*
|
|
29281
29049
|
* @summary Delete FaqCategory.
|
|
@@ -32707,75 +32475,164 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32707
32475
|
},
|
|
32708
32476
|
/**
|
|
32709
32477
|
*
|
|
32710
|
-
* @summary
|
|
32711
|
-
* @param {string} hospitalId
|
|
32712
|
-
* @param {string} hospitalSpecialtyId
|
|
32713
|
-
* @param {
|
|
32714
|
-
* @
|
|
32715
|
-
|
|
32716
|
-
|
|
32717
|
-
|
|
32718
|
-
|
|
32719
|
-
|
|
32720
|
-
|
|
32721
|
-
|
|
32722
|
-
|
|
32723
|
-
|
|
32724
|
-
//
|
|
32725
|
-
|
|
32726
|
-
|
|
32727
|
-
|
|
32728
|
-
.
|
|
32729
|
-
|
|
32730
|
-
|
|
32731
|
-
|
|
32732
|
-
|
|
32733
|
-
|
|
32734
|
-
|
|
32735
|
-
|
|
32736
|
-
|
|
32737
|
-
|
|
32738
|
-
|
|
32739
|
-
|
|
32740
|
-
|
|
32741
|
-
|
|
32742
|
-
|
|
32743
|
-
|
|
32744
|
-
|
|
32745
|
-
|
|
32746
|
-
|
|
32747
|
-
|
|
32748
|
-
|
|
32749
|
-
|
|
32750
|
-
|
|
32751
|
-
|
|
32752
|
-
|
|
32753
|
-
|
|
32754
|
-
|
|
32755
|
-
|
|
32756
|
-
|
|
32757
|
-
|
|
32758
|
-
|
|
32759
|
-
|
|
32760
|
-
|
|
32761
|
-
|
|
32762
|
-
|
|
32763
|
-
|
|
32764
|
-
}
|
|
32765
|
-
|
|
32766
|
-
|
|
32767
|
-
|
|
32768
|
-
|
|
32769
|
-
let
|
|
32770
|
-
|
|
32771
|
-
|
|
32772
|
-
|
|
32773
|
-
|
|
32774
|
-
|
|
32775
|
-
};
|
|
32776
|
-
|
|
32777
|
-
|
|
32778
|
-
|
|
32478
|
+
* @summary Delete HospitalSpecialty.
|
|
32479
|
+
* @param {string} hospitalId
|
|
32480
|
+
* @param {string} hospitalSpecialtyId
|
|
32481
|
+
* @param {*} [options] Override http request option.
|
|
32482
|
+
* @throws {RequiredError}
|
|
32483
|
+
*/
|
|
32484
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32485
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32486
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
|
|
32487
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32488
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32489
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32490
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32491
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32492
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32493
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32494
|
+
let baseOptions;
|
|
32495
|
+
if (configuration) {
|
|
32496
|
+
baseOptions = configuration.baseOptions;
|
|
32497
|
+
}
|
|
32498
|
+
|
|
32499
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
32500
|
+
const localVarHeaderParameter = {} as any;
|
|
32501
|
+
const localVarQueryParameter = {} as any;
|
|
32502
|
+
|
|
32503
|
+
// authentication oauth2 required
|
|
32504
|
+
// oauth required
|
|
32505
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32506
|
+
|
|
32507
|
+
|
|
32508
|
+
|
|
32509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32511
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32512
|
+
|
|
32513
|
+
return {
|
|
32514
|
+
url: toPathString(localVarUrlObj),
|
|
32515
|
+
options: localVarRequestOptions,
|
|
32516
|
+
};
|
|
32517
|
+
},
|
|
32518
|
+
/**
|
|
32519
|
+
*
|
|
32520
|
+
* @summary Get HospitalSpecialty.
|
|
32521
|
+
* @param {string} hospitalId
|
|
32522
|
+
* @param {string} hospitalSpecialtyId
|
|
32523
|
+
* @param {string} [languageCode]
|
|
32524
|
+
* @param {*} [options] Override http request option.
|
|
32525
|
+
* @throws {RequiredError}
|
|
32526
|
+
*/
|
|
32527
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet: async (hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32528
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32529
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
32530
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32531
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32532
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32533
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32534
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32537
|
+
let baseOptions;
|
|
32538
|
+
if (configuration) {
|
|
32539
|
+
baseOptions = configuration.baseOptions;
|
|
32540
|
+
}
|
|
32541
|
+
|
|
32542
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32543
|
+
const localVarHeaderParameter = {} as any;
|
|
32544
|
+
const localVarQueryParameter = {} as any;
|
|
32545
|
+
|
|
32546
|
+
// authentication oauth2 required
|
|
32547
|
+
// oauth required
|
|
32548
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32549
|
+
|
|
32550
|
+
if (languageCode !== undefined) {
|
|
32551
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
32552
|
+
}
|
|
32553
|
+
|
|
32554
|
+
|
|
32555
|
+
|
|
32556
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32558
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32559
|
+
|
|
32560
|
+
return {
|
|
32561
|
+
url: toPathString(localVarUrlObj),
|
|
32562
|
+
options: localVarRequestOptions,
|
|
32563
|
+
};
|
|
32564
|
+
},
|
|
32565
|
+
/**
|
|
32566
|
+
*
|
|
32567
|
+
* @summary Get all HospitalServiceMedias.
|
|
32568
|
+
* @param {string} hospitalId
|
|
32569
|
+
* @param {string} hospitalSpecialtyId
|
|
32570
|
+
* @param {string} [id]
|
|
32571
|
+
* @param {MediaType} [mediaType]
|
|
32572
|
+
* @param {number} [page]
|
|
32573
|
+
* @param {number} [limit]
|
|
32574
|
+
* @param {Date} [lastRetrieved]
|
|
32575
|
+
* @param {*} [options] Override http request option.
|
|
32576
|
+
* @throws {RequiredError}
|
|
32577
|
+
*/
|
|
32578
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: async (hospitalId: string, hospitalSpecialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32579
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32580
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId)
|
|
32581
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32582
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32583
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias`
|
|
32584
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32585
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32586
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32587
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32588
|
+
let baseOptions;
|
|
32589
|
+
if (configuration) {
|
|
32590
|
+
baseOptions = configuration.baseOptions;
|
|
32591
|
+
}
|
|
32592
|
+
|
|
32593
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32594
|
+
const localVarHeaderParameter = {} as any;
|
|
32595
|
+
const localVarQueryParameter = {} as any;
|
|
32596
|
+
|
|
32597
|
+
// authentication oauth2 required
|
|
32598
|
+
// oauth required
|
|
32599
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32600
|
+
|
|
32601
|
+
if (id !== undefined) {
|
|
32602
|
+
localVarQueryParameter['Id'] = id;
|
|
32603
|
+
}
|
|
32604
|
+
|
|
32605
|
+
if (mediaType !== undefined) {
|
|
32606
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
32607
|
+
}
|
|
32608
|
+
|
|
32609
|
+
if (page !== undefined) {
|
|
32610
|
+
localVarQueryParameter['page'] = page;
|
|
32611
|
+
}
|
|
32612
|
+
|
|
32613
|
+
if (limit !== undefined) {
|
|
32614
|
+
localVarQueryParameter['limit'] = limit;
|
|
32615
|
+
}
|
|
32616
|
+
|
|
32617
|
+
if (lastRetrieved !== undefined) {
|
|
32618
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
32619
|
+
(lastRetrieved as any).toISOString() :
|
|
32620
|
+
lastRetrieved;
|
|
32621
|
+
}
|
|
32622
|
+
|
|
32623
|
+
|
|
32624
|
+
|
|
32625
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32627
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32628
|
+
|
|
32629
|
+
return {
|
|
32630
|
+
url: toPathString(localVarUrlObj),
|
|
32631
|
+
options: localVarRequestOptions,
|
|
32632
|
+
};
|
|
32633
|
+
},
|
|
32634
|
+
/**
|
|
32635
|
+
*
|
|
32779
32636
|
* @summary Delete HospitalServiceMedia
|
|
32780
32637
|
* @param {string} hospitalId
|
|
32781
32638
|
* @param {string} hospitalSpecialtyId
|
|
@@ -32962,6 +32819,52 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32962
32819
|
options: localVarRequestOptions,
|
|
32963
32820
|
};
|
|
32964
32821
|
},
|
|
32822
|
+
/**
|
|
32823
|
+
*
|
|
32824
|
+
* @summary Update HospitalSpecialty.
|
|
32825
|
+
* @param {string} hospitalId
|
|
32826
|
+
* @param {string} hospitalSpecialtyId
|
|
32827
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
32828
|
+
* @param {*} [options] Override http request option.
|
|
32829
|
+
* @throws {RequiredError}
|
|
32830
|
+
*/
|
|
32831
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut: async (hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32832
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32833
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalId', hospitalId)
|
|
32834
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
32835
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
32836
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}`
|
|
32837
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
32838
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
32839
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32840
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32841
|
+
let baseOptions;
|
|
32842
|
+
if (configuration) {
|
|
32843
|
+
baseOptions = configuration.baseOptions;
|
|
32844
|
+
}
|
|
32845
|
+
|
|
32846
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
32847
|
+
const localVarHeaderParameter = {} as any;
|
|
32848
|
+
const localVarQueryParameter = {} as any;
|
|
32849
|
+
|
|
32850
|
+
// authentication oauth2 required
|
|
32851
|
+
// oauth required
|
|
32852
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32853
|
+
|
|
32854
|
+
|
|
32855
|
+
|
|
32856
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32857
|
+
|
|
32858
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32859
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32860
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32861
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
32862
|
+
|
|
32863
|
+
return {
|
|
32864
|
+
url: toPathString(localVarUrlObj),
|
|
32865
|
+
options: localVarRequestOptions,
|
|
32866
|
+
};
|
|
32867
|
+
},
|
|
32965
32868
|
/**
|
|
32966
32869
|
*
|
|
32967
32870
|
* @summary Create HospitalSpecialty.
|
|
@@ -33166,141 +33069,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33166
33069
|
options: localVarRequestOptions,
|
|
33167
33070
|
};
|
|
33168
33071
|
},
|
|
33169
|
-
/**
|
|
33170
|
-
*
|
|
33171
|
-
* @summary Delete HospitalSpecialty.
|
|
33172
|
-
* @param {string} hospitalId
|
|
33173
|
-
* @param {string} specialtyId
|
|
33174
|
-
* @param {*} [options] Override http request option.
|
|
33175
|
-
* @throws {RequiredError}
|
|
33176
|
-
*/
|
|
33177
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33178
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
33179
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
|
|
33180
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
33181
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
|
|
33182
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
33183
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33184
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
33185
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33186
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33187
|
-
let baseOptions;
|
|
33188
|
-
if (configuration) {
|
|
33189
|
-
baseOptions = configuration.baseOptions;
|
|
33190
|
-
}
|
|
33191
|
-
|
|
33192
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33193
|
-
const localVarHeaderParameter = {} as any;
|
|
33194
|
-
const localVarQueryParameter = {} as any;
|
|
33195
|
-
|
|
33196
|
-
// authentication oauth2 required
|
|
33197
|
-
// oauth required
|
|
33198
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33199
|
-
|
|
33200
|
-
|
|
33201
|
-
|
|
33202
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33203
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33204
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33205
|
-
|
|
33206
|
-
return {
|
|
33207
|
-
url: toPathString(localVarUrlObj),
|
|
33208
|
-
options: localVarRequestOptions,
|
|
33209
|
-
};
|
|
33210
|
-
},
|
|
33211
|
-
/**
|
|
33212
|
-
*
|
|
33213
|
-
* @summary Get HospitalSpecialty.
|
|
33214
|
-
* @param {string} hospitalId
|
|
33215
|
-
* @param {string} specialtyId
|
|
33216
|
-
* @param {string} [languageCode]
|
|
33217
|
-
* @param {*} [options] Override http request option.
|
|
33218
|
-
* @throws {RequiredError}
|
|
33219
|
-
*/
|
|
33220
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33221
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
33222
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
33223
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
33224
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
33225
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
33226
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33227
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
33228
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33230
|
-
let baseOptions;
|
|
33231
|
-
if (configuration) {
|
|
33232
|
-
baseOptions = configuration.baseOptions;
|
|
33233
|
-
}
|
|
33234
|
-
|
|
33235
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33236
|
-
const localVarHeaderParameter = {} as any;
|
|
33237
|
-
const localVarQueryParameter = {} as any;
|
|
33238
|
-
|
|
33239
|
-
// authentication oauth2 required
|
|
33240
|
-
// oauth required
|
|
33241
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33242
|
-
|
|
33243
|
-
if (languageCode !== undefined) {
|
|
33244
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
33245
|
-
}
|
|
33246
|
-
|
|
33247
|
-
|
|
33248
|
-
|
|
33249
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33250
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33251
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33252
|
-
|
|
33253
|
-
return {
|
|
33254
|
-
url: toPathString(localVarUrlObj),
|
|
33255
|
-
options: localVarRequestOptions,
|
|
33256
|
-
};
|
|
33257
|
-
},
|
|
33258
|
-
/**
|
|
33259
|
-
*
|
|
33260
|
-
* @summary Update HospitalSpecialty.
|
|
33261
|
-
* @param {string} hospitalId
|
|
33262
|
-
* @param {string} specialtyId
|
|
33263
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
33264
|
-
* @param {*} [options] Override http request option.
|
|
33265
|
-
* @throws {RequiredError}
|
|
33266
|
-
*/
|
|
33267
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33268
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
33269
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
|
|
33270
|
-
// verify required parameter 'specialtyId' is not null or undefined
|
|
33271
|
-
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
|
|
33272
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
33273
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33274
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
33275
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33276
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33277
|
-
let baseOptions;
|
|
33278
|
-
if (configuration) {
|
|
33279
|
-
baseOptions = configuration.baseOptions;
|
|
33280
|
-
}
|
|
33281
|
-
|
|
33282
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
33283
|
-
const localVarHeaderParameter = {} as any;
|
|
33284
|
-
const localVarQueryParameter = {} as any;
|
|
33285
|
-
|
|
33286
|
-
// authentication oauth2 required
|
|
33287
|
-
// oauth required
|
|
33288
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33289
|
-
|
|
33290
|
-
|
|
33291
|
-
|
|
33292
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33293
|
-
|
|
33294
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33295
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33296
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33297
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
33298
|
-
|
|
33299
|
-
return {
|
|
33300
|
-
url: toPathString(localVarUrlObj),
|
|
33301
|
-
options: localVarRequestOptions,
|
|
33302
|
-
};
|
|
33303
|
-
},
|
|
33304
33072
|
/**
|
|
33305
33073
|
*
|
|
33306
33074
|
* @summary Get all HospitalServices.
|
|
@@ -34906,6 +34674,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34906
34674
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
34907
34675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34908
34676
|
},
|
|
34677
|
+
/**
|
|
34678
|
+
*
|
|
34679
|
+
* @summary Delete HospitalSpecialty.
|
|
34680
|
+
* @param {string} hospitalId
|
|
34681
|
+
* @param {string} hospitalSpecialtyId
|
|
34682
|
+
* @param {*} [options] Override http request option.
|
|
34683
|
+
* @throws {RequiredError}
|
|
34684
|
+
*/
|
|
34685
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34686
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options);
|
|
34687
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34688
|
+
},
|
|
34689
|
+
/**
|
|
34690
|
+
*
|
|
34691
|
+
* @summary Get HospitalSpecialty.
|
|
34692
|
+
* @param {string} hospitalId
|
|
34693
|
+
* @param {string} hospitalSpecialtyId
|
|
34694
|
+
* @param {string} [languageCode]
|
|
34695
|
+
* @param {*} [options] Override http request option.
|
|
34696
|
+
* @throws {RequiredError}
|
|
34697
|
+
*/
|
|
34698
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options);
|
|
34700
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34701
|
+
},
|
|
34909
34702
|
/**
|
|
34910
34703
|
*
|
|
34911
34704
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -34976,6 +34769,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34976
34769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options);
|
|
34977
34770
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34978
34771
|
},
|
|
34772
|
+
/**
|
|
34773
|
+
*
|
|
34774
|
+
* @summary Update HospitalSpecialty.
|
|
34775
|
+
* @param {string} hospitalId
|
|
34776
|
+
* @param {string} hospitalSpecialtyId
|
|
34777
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
34778
|
+
* @param {*} [options] Override http request option.
|
|
34779
|
+
* @throws {RequiredError}
|
|
34780
|
+
*/
|
|
34781
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
34782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options);
|
|
34783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34784
|
+
},
|
|
34979
34785
|
/**
|
|
34980
34786
|
*
|
|
34981
34787
|
* @summary Create HospitalSpecialty.
|
|
@@ -35027,44 +34833,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
35027
34833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options);
|
|
35028
34834
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35029
34835
|
},
|
|
35030
|
-
/**
|
|
35031
|
-
*
|
|
35032
|
-
* @summary Delete HospitalSpecialty.
|
|
35033
|
-
* @param {string} hospitalId
|
|
35034
|
-
* @param {string} specialtyId
|
|
35035
|
-
* @param {*} [options] Override http request option.
|
|
35036
|
-
* @throws {RequiredError}
|
|
35037
|
-
*/
|
|
35038
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35039
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
|
|
35040
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35041
|
-
},
|
|
35042
|
-
/**
|
|
35043
|
-
*
|
|
35044
|
-
* @summary Get HospitalSpecialty.
|
|
35045
|
-
* @param {string} hospitalId
|
|
35046
|
-
* @param {string} specialtyId
|
|
35047
|
-
* @param {string} [languageCode]
|
|
35048
|
-
* @param {*} [options] Override http request option.
|
|
35049
|
-
* @throws {RequiredError}
|
|
35050
|
-
*/
|
|
35051
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
35052
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options);
|
|
35053
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35054
|
-
},
|
|
35055
|
-
/**
|
|
35056
|
-
*
|
|
35057
|
-
* @summary Update HospitalSpecialty.
|
|
35058
|
-
* @param {string} hospitalId
|
|
35059
|
-
* @param {string} specialtyId
|
|
35060
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
35061
|
-
* @param {*} [options] Override http request option.
|
|
35062
|
-
* @throws {RequiredError}
|
|
35063
|
-
*/
|
|
35064
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
35065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
|
|
35066
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35067
|
-
},
|
|
35068
34836
|
/**
|
|
35069
34837
|
*
|
|
35070
34838
|
* @summary Get all HospitalServices.
|
|
@@ -35840,6 +35608,29 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35840
35608
|
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> {
|
|
35841
35609
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35842
35610
|
},
|
|
35611
|
+
/**
|
|
35612
|
+
*
|
|
35613
|
+
* @summary Delete HospitalSpecialty.
|
|
35614
|
+
* @param {string} hospitalId
|
|
35615
|
+
* @param {string} hospitalSpecialtyId
|
|
35616
|
+
* @param {*} [options] Override http request option.
|
|
35617
|
+
* @throws {RequiredError}
|
|
35618
|
+
*/
|
|
35619
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
35620
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(axios, basePath));
|
|
35621
|
+
},
|
|
35622
|
+
/**
|
|
35623
|
+
*
|
|
35624
|
+
* @summary Get HospitalSpecialty.
|
|
35625
|
+
* @param {string} hospitalId
|
|
35626
|
+
* @param {string} hospitalSpecialtyId
|
|
35627
|
+
* @param {string} [languageCode]
|
|
35628
|
+
* @param {*} [options] Override http request option.
|
|
35629
|
+
* @throws {RequiredError}
|
|
35630
|
+
*/
|
|
35631
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35632
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35633
|
+
},
|
|
35843
35634
|
/**
|
|
35844
35635
|
*
|
|
35845
35636
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -35905,6 +35696,18 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35905
35696
|
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId: string, hospitalSpecialtyId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
35906
35697
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
35907
35698
|
},
|
|
35699
|
+
/**
|
|
35700
|
+
*
|
|
35701
|
+
* @summary Update HospitalSpecialty.
|
|
35702
|
+
* @param {string} hospitalId
|
|
35703
|
+
* @param {string} hospitalSpecialtyId
|
|
35704
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
35705
|
+
* @param {*} [options] Override http request option.
|
|
35706
|
+
* @throws {RequiredError}
|
|
35707
|
+
*/
|
|
35708
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35709
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
35710
|
+
},
|
|
35908
35711
|
/**
|
|
35909
35712
|
*
|
|
35910
35713
|
* @summary Create HospitalSpecialty.
|
|
@@ -35953,41 +35756,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35953
35756
|
apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35954
35757
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
|
|
35955
35758
|
},
|
|
35956
|
-
/**
|
|
35957
|
-
*
|
|
35958
|
-
* @summary Delete HospitalSpecialty.
|
|
35959
|
-
* @param {string} hospitalId
|
|
35960
|
-
* @param {string} specialtyId
|
|
35961
|
-
* @param {*} [options] Override http request option.
|
|
35962
|
-
* @throws {RequiredError}
|
|
35963
|
-
*/
|
|
35964
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
35965
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
35966
|
-
},
|
|
35967
|
-
/**
|
|
35968
|
-
*
|
|
35969
|
-
* @summary Get HospitalSpecialty.
|
|
35970
|
-
* @param {string} hospitalId
|
|
35971
|
-
* @param {string} specialtyId
|
|
35972
|
-
* @param {string} [languageCode]
|
|
35973
|
-
* @param {*} [options] Override http request option.
|
|
35974
|
-
* @throws {RequiredError}
|
|
35975
|
-
*/
|
|
35976
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35977
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(axios, basePath));
|
|
35978
|
-
},
|
|
35979
|
-
/**
|
|
35980
|
-
*
|
|
35981
|
-
* @summary Update HospitalSpecialty.
|
|
35982
|
-
* @param {string} hospitalId
|
|
35983
|
-
* @param {string} specialtyId
|
|
35984
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
35985
|
-
* @param {*} [options] Override http request option.
|
|
35986
|
-
* @throws {RequiredError}
|
|
35987
|
-
*/
|
|
35988
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
35989
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
35990
|
-
},
|
|
35991
35759
|
/**
|
|
35992
35760
|
*
|
|
35993
35761
|
* @summary Get all HospitalServices.
|
|
@@ -36820,6 +36588,33 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36820
36588
|
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));
|
|
36821
36589
|
}
|
|
36822
36590
|
|
|
36591
|
+
/**
|
|
36592
|
+
*
|
|
36593
|
+
* @summary Delete HospitalSpecialty.
|
|
36594
|
+
* @param {string} hospitalId
|
|
36595
|
+
* @param {string} hospitalSpecialtyId
|
|
36596
|
+
* @param {*} [options] Override http request option.
|
|
36597
|
+
* @throws {RequiredError}
|
|
36598
|
+
* @memberof HospitalsApi
|
|
36599
|
+
*/
|
|
36600
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
|
|
36601
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
36602
|
+
}
|
|
36603
|
+
|
|
36604
|
+
/**
|
|
36605
|
+
*
|
|
36606
|
+
* @summary Get HospitalSpecialty.
|
|
36607
|
+
* @param {string} hospitalId
|
|
36608
|
+
* @param {string} hospitalSpecialtyId
|
|
36609
|
+
* @param {string} [languageCode]
|
|
36610
|
+
* @param {*} [options] Override http request option.
|
|
36611
|
+
* @throws {RequiredError}
|
|
36612
|
+
* @memberof HospitalsApi
|
|
36613
|
+
*/
|
|
36614
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId: string, hospitalSpecialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36615
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdGet(hospitalId, hospitalSpecialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36616
|
+
}
|
|
36617
|
+
|
|
36823
36618
|
/**
|
|
36824
36619
|
*
|
|
36825
36620
|
* @summary Get all HospitalServiceMedias.
|
|
@@ -36895,6 +36690,20 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36895
36690
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36896
36691
|
}
|
|
36897
36692
|
|
|
36693
|
+
/**
|
|
36694
|
+
*
|
|
36695
|
+
* @summary Update HospitalSpecialty.
|
|
36696
|
+
* @param {string} hospitalId
|
|
36697
|
+
* @param {string} hospitalSpecialtyId
|
|
36698
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
36699
|
+
* @param {*} [options] Override http request option.
|
|
36700
|
+
* @throws {RequiredError}
|
|
36701
|
+
* @memberof HospitalsApi
|
|
36702
|
+
*/
|
|
36703
|
+
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId: string, hospitalSpecialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
36704
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdPut(hospitalId, hospitalSpecialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36705
|
+
}
|
|
36706
|
+
|
|
36898
36707
|
/**
|
|
36899
36708
|
*
|
|
36900
36709
|
* @summary Create HospitalSpecialty.
|
|
@@ -36949,47 +36758,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36949
36758
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
|
|
36950
36759
|
}
|
|
36951
36760
|
|
|
36952
|
-
/**
|
|
36953
|
-
*
|
|
36954
|
-
* @summary Delete HospitalSpecialty.
|
|
36955
|
-
* @param {string} hospitalId
|
|
36956
|
-
* @param {string} specialtyId
|
|
36957
|
-
* @param {*} [options] Override http request option.
|
|
36958
|
-
* @throws {RequiredError}
|
|
36959
|
-
* @memberof HospitalsApi
|
|
36960
|
-
*/
|
|
36961
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
36962
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
36963
|
-
}
|
|
36964
|
-
|
|
36965
|
-
/**
|
|
36966
|
-
*
|
|
36967
|
-
* @summary Get HospitalSpecialty.
|
|
36968
|
-
* @param {string} hospitalId
|
|
36969
|
-
* @param {string} specialtyId
|
|
36970
|
-
* @param {string} [languageCode]
|
|
36971
|
-
* @param {*} [options] Override http request option.
|
|
36972
|
-
* @throws {RequiredError}
|
|
36973
|
-
* @memberof HospitalsApi
|
|
36974
|
-
*/
|
|
36975
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
36976
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
36977
|
-
}
|
|
36978
|
-
|
|
36979
|
-
/**
|
|
36980
|
-
*
|
|
36981
|
-
* @summary Update HospitalSpecialty.
|
|
36982
|
-
* @param {string} hospitalId
|
|
36983
|
-
* @param {string} specialtyId
|
|
36984
|
-
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
36985
|
-
* @param {*} [options] Override http request option.
|
|
36986
|
-
* @throws {RequiredError}
|
|
36987
|
-
* @memberof HospitalsApi
|
|
36988
|
-
*/
|
|
36989
|
-
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
36990
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36991
|
-
}
|
|
36992
|
-
|
|
36993
36761
|
/**
|
|
36994
36762
|
*
|
|
36995
36763
|
* @summary Get all HospitalServices.
|
|
@@ -41050,13 +40818,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
41050
40818
|
return {
|
|
41051
40819
|
/**
|
|
41052
40820
|
*
|
|
41053
|
-
* @summary
|
|
41054
|
-
* @param {
|
|
40821
|
+
* @summary RecreateIndex
|
|
40822
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40823
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41055
40824
|
* @param {*} [options] Override http request option.
|
|
41056
40825
|
* @throws {RequiredError}
|
|
41057
40826
|
*/
|
|
41058
|
-
|
|
41059
|
-
const localVarPath = `/api/v1/search/
|
|
40827
|
+
apiV1SearchRecreatePost: async (searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40828
|
+
const localVarPath = `/api/v1/search/recreate`;
|
|
41060
40829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41061
40830
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41062
40831
|
let baseOptions;
|
|
@@ -41072,196 +40841,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
41072
40841
|
// oauth required
|
|
41073
40842
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41074
40843
|
|
|
41075
|
-
|
|
41076
|
-
|
|
41077
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41078
|
-
|
|
41079
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41080
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41081
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41082
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41083
|
-
|
|
41084
|
-
return {
|
|
41085
|
-
url: toPathString(localVarUrlObj),
|
|
41086
|
-
options: localVarRequestOptions,
|
|
41087
|
-
};
|
|
41088
|
-
},
|
|
41089
|
-
/**
|
|
41090
|
-
*
|
|
41091
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41092
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41093
|
-
* @param {*} [options] Override http request option.
|
|
41094
|
-
* @throws {RequiredError}
|
|
41095
|
-
*/
|
|
41096
|
-
apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41097
|
-
const localVarPath = `/api/v1/search/doctors`;
|
|
41098
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41099
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41100
|
-
let baseOptions;
|
|
41101
|
-
if (configuration) {
|
|
41102
|
-
baseOptions = configuration.baseOptions;
|
|
41103
|
-
}
|
|
41104
|
-
|
|
41105
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41106
|
-
const localVarHeaderParameter = {} as any;
|
|
41107
|
-
const localVarQueryParameter = {} as any;
|
|
41108
|
-
|
|
41109
|
-
// authentication oauth2 required
|
|
41110
|
-
// oauth required
|
|
41111
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41112
|
-
|
|
41113
|
-
|
|
41114
|
-
|
|
41115
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41116
|
-
|
|
41117
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41118
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41119
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41120
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41121
|
-
|
|
41122
|
-
return {
|
|
41123
|
-
url: toPathString(localVarUrlObj),
|
|
41124
|
-
options: localVarRequestOptions,
|
|
41125
|
-
};
|
|
41126
|
-
},
|
|
41127
|
-
/**
|
|
41128
|
-
*
|
|
41129
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41130
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41131
|
-
* @param {*} [options] Override http request option.
|
|
41132
|
-
* @throws {RequiredError}
|
|
41133
|
-
*/
|
|
41134
|
-
apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41135
|
-
const localVarPath = `/api/v1/search/hospitals`;
|
|
41136
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41137
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41138
|
-
let baseOptions;
|
|
41139
|
-
if (configuration) {
|
|
41140
|
-
baseOptions = configuration.baseOptions;
|
|
41141
|
-
}
|
|
41142
|
-
|
|
41143
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41144
|
-
const localVarHeaderParameter = {} as any;
|
|
41145
|
-
const localVarQueryParameter = {} as any;
|
|
41146
|
-
|
|
41147
|
-
// authentication oauth2 required
|
|
41148
|
-
// oauth required
|
|
41149
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41150
|
-
|
|
41151
|
-
|
|
41152
|
-
|
|
41153
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41154
|
-
|
|
41155
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41156
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41157
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41158
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41159
|
-
|
|
41160
|
-
return {
|
|
41161
|
-
url: toPathString(localVarUrlObj),
|
|
41162
|
-
options: localVarRequestOptions,
|
|
41163
|
-
};
|
|
41164
|
-
},
|
|
41165
|
-
/**
|
|
41166
|
-
*
|
|
41167
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41168
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41169
|
-
* @param {*} [options] Override http request option.
|
|
41170
|
-
* @throws {RequiredError}
|
|
41171
|
-
*/
|
|
41172
|
-
apiV1SearchHospitalspecialtiesPost: async (updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41173
|
-
const localVarPath = `/api/v1/search/hospitalspecialties`;
|
|
41174
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41175
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41176
|
-
let baseOptions;
|
|
41177
|
-
if (configuration) {
|
|
41178
|
-
baseOptions = configuration.baseOptions;
|
|
41179
|
-
}
|
|
41180
|
-
|
|
41181
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41182
|
-
const localVarHeaderParameter = {} as any;
|
|
41183
|
-
const localVarQueryParameter = {} as any;
|
|
41184
|
-
|
|
41185
|
-
// authentication oauth2 required
|
|
41186
|
-
// oauth required
|
|
41187
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41188
|
-
|
|
41189
|
-
|
|
41190
|
-
|
|
41191
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41192
|
-
|
|
41193
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41194
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41195
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41196
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41197
|
-
|
|
41198
|
-
return {
|
|
41199
|
-
url: toPathString(localVarUrlObj),
|
|
41200
|
-
options: localVarRequestOptions,
|
|
41201
|
-
};
|
|
41202
|
-
},
|
|
41203
|
-
/**
|
|
41204
|
-
*
|
|
41205
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41206
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41207
|
-
* @param {*} [options] Override http request option.
|
|
41208
|
-
* @throws {RequiredError}
|
|
41209
|
-
*/
|
|
41210
|
-
apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41211
|
-
const localVarPath = `/api/v1/search/specialties`;
|
|
41212
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41213
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41214
|
-
let baseOptions;
|
|
41215
|
-
if (configuration) {
|
|
41216
|
-
baseOptions = configuration.baseOptions;
|
|
41217
|
-
}
|
|
41218
|
-
|
|
41219
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41220
|
-
const localVarHeaderParameter = {} as any;
|
|
41221
|
-
const localVarQueryParameter = {} as any;
|
|
41222
|
-
|
|
41223
|
-
// authentication oauth2 required
|
|
41224
|
-
// oauth required
|
|
41225
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41226
|
-
|
|
41227
|
-
|
|
41228
|
-
|
|
41229
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41230
|
-
|
|
41231
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41232
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41233
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41234
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41235
|
-
|
|
41236
|
-
return {
|
|
41237
|
-
url: toPathString(localVarUrlObj),
|
|
41238
|
-
options: localVarRequestOptions,
|
|
41239
|
-
};
|
|
41240
|
-
},
|
|
41241
|
-
/**
|
|
41242
|
-
*
|
|
41243
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41244
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41245
|
-
* @param {*} [options] Override http request option.
|
|
41246
|
-
* @throws {RequiredError}
|
|
41247
|
-
*/
|
|
41248
|
-
apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41249
|
-
const localVarPath = `/api/v1/search/specialtytypes`;
|
|
41250
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41251
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41252
|
-
let baseOptions;
|
|
41253
|
-
if (configuration) {
|
|
41254
|
-
baseOptions = configuration.baseOptions;
|
|
40844
|
+
if (searchIndexType !== undefined) {
|
|
40845
|
+
localVarQueryParameter['searchIndexType'] = searchIndexType;
|
|
41255
40846
|
}
|
|
41256
40847
|
|
|
41257
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
41258
|
-
const localVarHeaderParameter = {} as any;
|
|
41259
|
-
const localVarQueryParameter = {} as any;
|
|
41260
|
-
|
|
41261
|
-
// authentication oauth2 required
|
|
41262
|
-
// oauth required
|
|
41263
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41264
|
-
|
|
41265
40848
|
|
|
41266
40849
|
|
|
41267
40850
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -41269,7 +40852,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
41269
40852
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41270
40853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41271
40854
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41272
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40855
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSearchIndexCommand, localVarRequestOptions, configuration)
|
|
41273
40856
|
|
|
41274
40857
|
return {
|
|
41275
40858
|
url: toPathString(localVarUrlObj),
|
|
@@ -41288,68 +40871,14 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
41288
40871
|
return {
|
|
41289
40872
|
/**
|
|
41290
40873
|
*
|
|
41291
|
-
* @summary
|
|
41292
|
-
* @param {
|
|
40874
|
+
* @summary RecreateIndex
|
|
40875
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40876
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41293
40877
|
* @param {*} [options] Override http request option.
|
|
41294
40878
|
* @throws {RequiredError}
|
|
41295
40879
|
*/
|
|
41296
|
-
async
|
|
41297
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41298
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41299
|
-
},
|
|
41300
|
-
/**
|
|
41301
|
-
*
|
|
41302
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41303
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41304
|
-
* @param {*} [options] Override http request option.
|
|
41305
|
-
* @throws {RequiredError}
|
|
41306
|
-
*/
|
|
41307
|
-
async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
|
|
41309
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41310
|
-
},
|
|
41311
|
-
/**
|
|
41312
|
-
*
|
|
41313
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41314
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41315
|
-
* @param {*} [options] Override http request option.
|
|
41316
|
-
* @throws {RequiredError}
|
|
41317
|
-
*/
|
|
41318
|
-
async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
|
|
41320
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41321
|
-
},
|
|
41322
|
-
/**
|
|
41323
|
-
*
|
|
41324
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41325
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41326
|
-
* @param {*} [options] Override http request option.
|
|
41327
|
-
* @throws {RequiredError}
|
|
41328
|
-
*/
|
|
41329
|
-
async apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options);
|
|
41331
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41332
|
-
},
|
|
41333
|
-
/**
|
|
41334
|
-
*
|
|
41335
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41336
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41337
|
-
* @param {*} [options] Override http request option.
|
|
41338
|
-
* @throws {RequiredError}
|
|
41339
|
-
*/
|
|
41340
|
-
async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41341
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
|
|
41342
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41343
|
-
},
|
|
41344
|
-
/**
|
|
41345
|
-
*
|
|
41346
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41347
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41348
|
-
* @param {*} [options] Override http request option.
|
|
41349
|
-
* @throws {RequiredError}
|
|
41350
|
-
*/
|
|
41351
|
-
async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
41352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
|
|
40880
|
+
async apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
40881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options);
|
|
41353
40882
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41354
40883
|
},
|
|
41355
40884
|
}
|
|
@@ -41364,63 +40893,14 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
41364
40893
|
return {
|
|
41365
40894
|
/**
|
|
41366
40895
|
*
|
|
41367
|
-
* @summary
|
|
41368
|
-
* @param {
|
|
41369
|
-
* @param {
|
|
41370
|
-
* @throws {RequiredError}
|
|
41371
|
-
*/
|
|
41372
|
-
apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41373
|
-
return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41374
|
-
},
|
|
41375
|
-
/**
|
|
41376
|
-
*
|
|
41377
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41378
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41379
|
-
* @param {*} [options] Override http request option.
|
|
41380
|
-
* @throws {RequiredError}
|
|
41381
|
-
*/
|
|
41382
|
-
apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41383
|
-
return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41384
|
-
},
|
|
41385
|
-
/**
|
|
41386
|
-
*
|
|
41387
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41388
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41389
|
-
* @param {*} [options] Override http request option.
|
|
41390
|
-
* @throws {RequiredError}
|
|
41391
|
-
*/
|
|
41392
|
-
apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41393
|
-
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41394
|
-
},
|
|
41395
|
-
/**
|
|
41396
|
-
*
|
|
41397
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41398
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41399
|
-
* @param {*} [options] Override http request option.
|
|
41400
|
-
* @throws {RequiredError}
|
|
41401
|
-
*/
|
|
41402
|
-
apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41403
|
-
return localVarFp.apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41404
|
-
},
|
|
41405
|
-
/**
|
|
41406
|
-
*
|
|
41407
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41408
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
40896
|
+
* @summary RecreateIndex
|
|
40897
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40898
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41409
40899
|
* @param {*} [options] Override http request option.
|
|
41410
40900
|
* @throws {RequiredError}
|
|
41411
40901
|
*/
|
|
41412
|
-
|
|
41413
|
-
return localVarFp.
|
|
41414
|
-
},
|
|
41415
|
-
/**
|
|
41416
|
-
*
|
|
41417
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41418
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
41419
|
-
* @param {*} [options] Override http request option.
|
|
41420
|
-
* @throws {RequiredError}
|
|
41421
|
-
*/
|
|
41422
|
-
apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
41423
|
-
return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
40902
|
+
apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
40903
|
+
return localVarFp.apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
41424
40904
|
},
|
|
41425
40905
|
};
|
|
41426
40906
|
};
|
|
@@ -41434,74 +40914,15 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
41434
40914
|
export class SearchApi extends BaseAPI {
|
|
41435
40915
|
/**
|
|
41436
40916
|
*
|
|
41437
|
-
* @summary
|
|
41438
|
-
* @param {
|
|
41439
|
-
* @param {
|
|
41440
|
-
* @throws {RequiredError}
|
|
41441
|
-
* @memberof SearchApi
|
|
41442
|
-
*/
|
|
41443
|
-
public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41444
|
-
return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41445
|
-
}
|
|
41446
|
-
|
|
41447
|
-
/**
|
|
41448
|
-
*
|
|
41449
|
-
* @summary Update or Re-create doctors Azure Search Services Index
|
|
41450
|
-
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
41451
|
-
* @param {*} [options] Override http request option.
|
|
41452
|
-
* @throws {RequiredError}
|
|
41453
|
-
* @memberof SearchApi
|
|
41454
|
-
*/
|
|
41455
|
-
public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41456
|
-
return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41457
|
-
}
|
|
41458
|
-
|
|
41459
|
-
/**
|
|
41460
|
-
*
|
|
41461
|
-
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
41462
|
-
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
41463
|
-
* @param {*} [options] Override http request option.
|
|
41464
|
-
* @throws {RequiredError}
|
|
41465
|
-
* @memberof SearchApi
|
|
41466
|
-
*/
|
|
41467
|
-
public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41468
|
-
return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41469
|
-
}
|
|
41470
|
-
|
|
41471
|
-
/**
|
|
41472
|
-
*
|
|
41473
|
-
* @summary Update or Re-create hospitalSpecialties Azure Search Services Index
|
|
41474
|
-
* @param {UpdateHospitalSpecialtiesSearchIndexCommand} [updateHospitalSpecialtiesSearchIndexCommand]
|
|
41475
|
-
* @param {*} [options] Override http request option.
|
|
41476
|
-
* @throws {RequiredError}
|
|
41477
|
-
* @memberof SearchApi
|
|
41478
|
-
*/
|
|
41479
|
-
public apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand?: UpdateHospitalSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41480
|
-
return SearchApiFp(this.configuration).apiV1SearchHospitalspecialtiesPost(updateHospitalSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41481
|
-
}
|
|
41482
|
-
|
|
41483
|
-
/**
|
|
41484
|
-
*
|
|
41485
|
-
* @summary Update or Re-create specialties Azure Search Services Index
|
|
41486
|
-
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
41487
|
-
* @param {*} [options] Override http request option.
|
|
41488
|
-
* @throws {RequiredError}
|
|
41489
|
-
* @memberof SearchApi
|
|
41490
|
-
*/
|
|
41491
|
-
public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
41492
|
-
return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41493
|
-
}
|
|
41494
|
-
|
|
41495
|
-
/**
|
|
41496
|
-
*
|
|
41497
|
-
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
41498
|
-
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
40917
|
+
* @summary RecreateIndex
|
|
40918
|
+
* @param {SearchIndexType} [searchIndexType]
|
|
40919
|
+
* @param {UpdateSearchIndexCommand} [updateSearchIndexCommand]
|
|
41499
40920
|
* @param {*} [options] Override http request option.
|
|
41500
40921
|
* @throws {RequiredError}
|
|
41501
40922
|
* @memberof SearchApi
|
|
41502
40923
|
*/
|
|
41503
|
-
public
|
|
41504
|
-
return SearchApiFp(this.configuration).
|
|
40924
|
+
public apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, updateSearchIndexCommand?: UpdateSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
40925
|
+
return SearchApiFp(this.configuration).apiV1SearchRecreatePost(searchIndexType, updateSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
41505
40926
|
}
|
|
41506
40927
|
}
|
|
41507
40928
|
|