ch-api-client-typescript2 2.8.10 → 2.8.13
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 +56 -73
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +76 -144
- package/package.json +1 -1
- package/src/api.ts +93 -139
package/src/api.ts
CHANGED
|
@@ -5961,6 +5961,12 @@ export interface HospitalServiceItemModel {
|
|
|
5961
5961
|
* @memberof HospitalServiceItemModel
|
|
5962
5962
|
*/
|
|
5963
5963
|
'hospitalName'?: string | null;
|
|
5964
|
+
/**
|
|
5965
|
+
*
|
|
5966
|
+
* @type {string}
|
|
5967
|
+
* @memberof HospitalServiceItemModel
|
|
5968
|
+
*/
|
|
5969
|
+
'hospitalSlug'?: string | null;
|
|
5964
5970
|
/**
|
|
5965
5971
|
*
|
|
5966
5972
|
* @type {string}
|
|
@@ -6118,6 +6124,12 @@ export interface HospitalServiceModel {
|
|
|
6118
6124
|
* @memberof HospitalServiceModel
|
|
6119
6125
|
*/
|
|
6120
6126
|
'hospitalName'?: string | null;
|
|
6127
|
+
/**
|
|
6128
|
+
*
|
|
6129
|
+
* @type {string}
|
|
6130
|
+
* @memberof HospitalServiceModel
|
|
6131
|
+
*/
|
|
6132
|
+
'hospitalSlug'?: string | null;
|
|
6121
6133
|
/**
|
|
6122
6134
|
*
|
|
6123
6135
|
* @type {string}
|
|
@@ -13031,10 +13043,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13031
13043
|
* @summary Get Contributor.
|
|
13032
13044
|
* @param {string} contributorId
|
|
13033
13045
|
* @param {string} [languageCode]
|
|
13046
|
+
* @param {boolean} [returnDefaultValue]
|
|
13034
13047
|
* @param {*} [options] Override http request option.
|
|
13035
13048
|
* @throws {RequiredError}
|
|
13036
13049
|
*/
|
|
13037
|
-
apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13050
|
+
apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13038
13051
|
// verify required parameter 'contributorId' is not null or undefined
|
|
13039
13052
|
assertParamExists('apiV2ContributorsContributorIdGet', 'contributorId', contributorId)
|
|
13040
13053
|
const localVarPath = `/api/v2/contributors/{contributorId}`
|
|
@@ -13054,6 +13067,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13054
13067
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13055
13068
|
}
|
|
13056
13069
|
|
|
13070
|
+
if (returnDefaultValue !== undefined) {
|
|
13071
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13072
|
+
}
|
|
13073
|
+
|
|
13057
13074
|
|
|
13058
13075
|
|
|
13059
13076
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13184,15 +13201,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13184
13201
|
* @param {string} [website]
|
|
13185
13202
|
* @param {string} [hospitalId]
|
|
13186
13203
|
* @param {boolean} [interviewerOnly]
|
|
13187
|
-
* @param {string} [languageCode]
|
|
13188
13204
|
* @param {boolean} [showHidden]
|
|
13205
|
+
* @param {string} [languageCode]
|
|
13206
|
+
* @param {boolean} [returnDefaultValue]
|
|
13189
13207
|
* @param {number} [page]
|
|
13190
13208
|
* @param {number} [limit]
|
|
13191
13209
|
* @param {Date} [lastRetrieved]
|
|
13192
13210
|
* @param {*} [options] Override http request option.
|
|
13193
13211
|
* @throws {RequiredError}
|
|
13194
13212
|
*/
|
|
13195
|
-
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13213
|
+
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13196
13214
|
const localVarPath = `/api/v2/contributors`;
|
|
13197
13215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13198
13216
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13233,12 +13251,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13233
13251
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
13234
13252
|
}
|
|
13235
13253
|
|
|
13254
|
+
if (showHidden !== undefined) {
|
|
13255
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
13256
|
+
}
|
|
13257
|
+
|
|
13236
13258
|
if (languageCode !== undefined) {
|
|
13237
13259
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13238
13260
|
}
|
|
13239
13261
|
|
|
13240
|
-
if (
|
|
13241
|
-
localVarQueryParameter['
|
|
13262
|
+
if (returnDefaultValue !== undefined) {
|
|
13263
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13242
13264
|
}
|
|
13243
13265
|
|
|
13244
13266
|
if (page !== undefined) {
|
|
@@ -13271,10 +13293,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13271
13293
|
* @summary Get Contributor by slug.
|
|
13272
13294
|
* @param {string} slug
|
|
13273
13295
|
* @param {string} [languageCode]
|
|
13296
|
+
* @param {boolean} [returnDefaultValue]
|
|
13274
13297
|
* @param {*} [options] Override http request option.
|
|
13275
13298
|
* @throws {RequiredError}
|
|
13276
13299
|
*/
|
|
13277
|
-
apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13300
|
+
apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13278
13301
|
// verify required parameter 'slug' is not null or undefined
|
|
13279
13302
|
assertParamExists('apiV2ContributorsSlugGet', 'slug', slug)
|
|
13280
13303
|
const localVarPath = `/api/v2/contributors/{slug}`
|
|
@@ -13294,6 +13317,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13294
13317
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13295
13318
|
}
|
|
13296
13319
|
|
|
13320
|
+
if (returnDefaultValue !== undefined) {
|
|
13321
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13322
|
+
}
|
|
13323
|
+
|
|
13297
13324
|
|
|
13298
13325
|
|
|
13299
13326
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13320,11 +13347,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13320
13347
|
* @summary Get Contributor.
|
|
13321
13348
|
* @param {string} contributorId
|
|
13322
13349
|
* @param {string} [languageCode]
|
|
13350
|
+
* @param {boolean} [returnDefaultValue]
|
|
13323
13351
|
* @param {*} [options] Override http request option.
|
|
13324
13352
|
* @throws {RequiredError}
|
|
13325
13353
|
*/
|
|
13326
|
-
async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, options);
|
|
13354
|
+
async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options);
|
|
13328
13356
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13329
13357
|
},
|
|
13330
13358
|
/**
|
|
@@ -13367,16 +13395,17 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13367
13395
|
* @param {string} [website]
|
|
13368
13396
|
* @param {string} [hospitalId]
|
|
13369
13397
|
* @param {boolean} [interviewerOnly]
|
|
13370
|
-
* @param {string} [languageCode]
|
|
13371
13398
|
* @param {boolean} [showHidden]
|
|
13399
|
+
* @param {string} [languageCode]
|
|
13400
|
+
* @param {boolean} [returnDefaultValue]
|
|
13372
13401
|
* @param {number} [page]
|
|
13373
13402
|
* @param {number} [limit]
|
|
13374
13403
|
* @param {Date} [lastRetrieved]
|
|
13375
13404
|
* @param {*} [options] Override http request option.
|
|
13376
13405
|
* @throws {RequiredError}
|
|
13377
13406
|
*/
|
|
13378
|
-
async apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13379
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13407
|
+
async apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
13408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13380
13409
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13381
13410
|
},
|
|
13382
13411
|
/**
|
|
@@ -13384,11 +13413,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13384
13413
|
* @summary Get Contributor by slug.
|
|
13385
13414
|
* @param {string} slug
|
|
13386
13415
|
* @param {string} [languageCode]
|
|
13416
|
+
* @param {boolean} [returnDefaultValue]
|
|
13387
13417
|
* @param {*} [options] Override http request option.
|
|
13388
13418
|
* @throws {RequiredError}
|
|
13389
13419
|
*/
|
|
13390
|
-
async apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, options);
|
|
13420
|
+
async apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
13392
13422
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13393
13423
|
},
|
|
13394
13424
|
}
|
|
@@ -13406,11 +13436,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
13406
13436
|
* @summary Get Contributor.
|
|
13407
13437
|
* @param {string} contributorId
|
|
13408
13438
|
* @param {string} [languageCode]
|
|
13439
|
+
* @param {boolean} [returnDefaultValue]
|
|
13409
13440
|
* @param {*} [options] Override http request option.
|
|
13410
13441
|
* @throws {RequiredError}
|
|
13411
13442
|
*/
|
|
13412
|
-
apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
13413
|
-
return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(axios, basePath));
|
|
13443
|
+
apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
13444
|
+
return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13414
13445
|
},
|
|
13415
13446
|
/**
|
|
13416
13447
|
*
|
|
@@ -13450,27 +13481,29 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
13450
13481
|
* @param {string} [website]
|
|
13451
13482
|
* @param {string} [hospitalId]
|
|
13452
13483
|
* @param {boolean} [interviewerOnly]
|
|
13453
|
-
* @param {string} [languageCode]
|
|
13454
13484
|
* @param {boolean} [showHidden]
|
|
13485
|
+
* @param {string} [languageCode]
|
|
13486
|
+
* @param {boolean} [returnDefaultValue]
|
|
13455
13487
|
* @param {number} [page]
|
|
13456
13488
|
* @param {number} [limit]
|
|
13457
13489
|
* @param {Date} [lastRetrieved]
|
|
13458
13490
|
* @param {*} [options] Override http request option.
|
|
13459
13491
|
* @throws {RequiredError}
|
|
13460
13492
|
*/
|
|
13461
|
-
apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13462
|
-
return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13493
|
+
apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
13494
|
+
return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13463
13495
|
},
|
|
13464
13496
|
/**
|
|
13465
13497
|
*
|
|
13466
13498
|
* @summary Get Contributor by slug.
|
|
13467
13499
|
* @param {string} slug
|
|
13468
13500
|
* @param {string} [languageCode]
|
|
13501
|
+
* @param {boolean} [returnDefaultValue]
|
|
13469
13502
|
* @param {*} [options] Override http request option.
|
|
13470
13503
|
* @throws {RequiredError}
|
|
13471
13504
|
*/
|
|
13472
|
-
apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
13473
|
-
return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
13505
|
+
apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
13506
|
+
return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13474
13507
|
},
|
|
13475
13508
|
};
|
|
13476
13509
|
};
|
|
@@ -13487,12 +13520,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13487
13520
|
* @summary Get Contributor.
|
|
13488
13521
|
* @param {string} contributorId
|
|
13489
13522
|
* @param {string} [languageCode]
|
|
13523
|
+
* @param {boolean} [returnDefaultValue]
|
|
13490
13524
|
* @param {*} [options] Override http request option.
|
|
13491
13525
|
* @throws {RequiredError}
|
|
13492
13526
|
* @memberof ContributorsApi
|
|
13493
13527
|
*/
|
|
13494
|
-
public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13495
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
13528
|
+
public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
13529
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13496
13530
|
}
|
|
13497
13531
|
|
|
13498
13532
|
/**
|
|
@@ -13537,8 +13571,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13537
13571
|
* @param {string} [website]
|
|
13538
13572
|
* @param {string} [hospitalId]
|
|
13539
13573
|
* @param {boolean} [interviewerOnly]
|
|
13540
|
-
* @param {string} [languageCode]
|
|
13541
13574
|
* @param {boolean} [showHidden]
|
|
13575
|
+
* @param {string} [languageCode]
|
|
13576
|
+
* @param {boolean} [returnDefaultValue]
|
|
13542
13577
|
* @param {number} [page]
|
|
13543
13578
|
* @param {number} [limit]
|
|
13544
13579
|
* @param {Date} [lastRetrieved]
|
|
@@ -13546,8 +13581,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13546
13581
|
* @throws {RequiredError}
|
|
13547
13582
|
* @memberof ContributorsApi
|
|
13548
13583
|
*/
|
|
13549
|
-
public apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13550
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13584
|
+
public apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
13585
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
13551
13586
|
}
|
|
13552
13587
|
|
|
13553
13588
|
/**
|
|
@@ -13555,12 +13590,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13555
13590
|
* @summary Get Contributor by slug.
|
|
13556
13591
|
* @param {string} slug
|
|
13557
13592
|
* @param {string} [languageCode]
|
|
13593
|
+
* @param {boolean} [returnDefaultValue]
|
|
13558
13594
|
* @param {*} [options] Override http request option.
|
|
13559
13595
|
* @throws {RequiredError}
|
|
13560
13596
|
* @memberof ContributorsApi
|
|
13561
13597
|
*/
|
|
13562
|
-
public apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13563
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
13598
|
+
public apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
13599
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13564
13600
|
}
|
|
13565
13601
|
}
|
|
13566
13602
|
|
|
@@ -18447,6 +18483,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18447
18483
|
* @param {string} [specialtyId]
|
|
18448
18484
|
* @param {string} [specialtyName]
|
|
18449
18485
|
* @param {string} [specialtyTypeId]
|
|
18486
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
18450
18487
|
* @param {string} [title]
|
|
18451
18488
|
* @param {MarketingType} [marketingType]
|
|
18452
18489
|
* @param {string} [languageCode]
|
|
@@ -18459,7 +18496,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18459
18496
|
* @param {*} [options] Override http request option.
|
|
18460
18497
|
* @throws {RequiredError}
|
|
18461
18498
|
*/
|
|
18462
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18499
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18463
18500
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
18464
18501
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
18465
18502
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
|
|
@@ -18495,6 +18532,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18495
18532
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18496
18533
|
}
|
|
18497
18534
|
|
|
18535
|
+
if (hospitalSpecialtySlug !== undefined) {
|
|
18536
|
+
localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
|
|
18537
|
+
}
|
|
18538
|
+
|
|
18498
18539
|
if (title !== undefined) {
|
|
18499
18540
|
localVarQueryParameter['Title'] = title;
|
|
18500
18541
|
}
|
|
@@ -18553,6 +18594,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18553
18594
|
* @param {string} [specialtyId]
|
|
18554
18595
|
* @param {string} [specialtyName]
|
|
18555
18596
|
* @param {string} [specialtyTypeId]
|
|
18597
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
18556
18598
|
* @param {string} [title]
|
|
18557
18599
|
* @param {MarketingType} [marketingType]
|
|
18558
18600
|
* @param {string} [languageCode]
|
|
@@ -18565,7 +18607,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18565
18607
|
* @param {*} [options] Override http request option.
|
|
18566
18608
|
* @throws {RequiredError}
|
|
18567
18609
|
*/
|
|
18568
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18610
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18569
18611
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
18570
18612
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
18571
18613
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
|
|
@@ -18601,6 +18643,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18601
18643
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18602
18644
|
}
|
|
18603
18645
|
|
|
18646
|
+
if (hospitalSpecialtySlug !== undefined) {
|
|
18647
|
+
localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
|
|
18648
|
+
}
|
|
18649
|
+
|
|
18604
18650
|
if (title !== undefined) {
|
|
18605
18651
|
localVarQueryParameter['Title'] = title;
|
|
18606
18652
|
}
|
|
@@ -18988,59 +19034,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18988
19034
|
|
|
18989
19035
|
|
|
18990
19036
|
|
|
18991
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18992
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18993
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18994
|
-
|
|
18995
|
-
return {
|
|
18996
|
-
url: toPathString(localVarUrlObj),
|
|
18997
|
-
options: localVarRequestOptions,
|
|
18998
|
-
};
|
|
18999
|
-
},
|
|
19000
|
-
/**
|
|
19001
|
-
*
|
|
19002
|
-
* @summary Get HospitalSpecialty by Specialty slug
|
|
19003
|
-
* @param {string} hospitalId
|
|
19004
|
-
* @param {string} specialtySlug
|
|
19005
|
-
* @param {string} [languageCode]
|
|
19006
|
-
* @param {boolean} [returnDefaultValue]
|
|
19007
|
-
* @param {boolean} [includeServices]
|
|
19008
|
-
* @param {*} [options] Override http request option.
|
|
19009
|
-
* @throws {RequiredError}
|
|
19010
|
-
*/
|
|
19011
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: async (hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19012
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
19013
|
-
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'hospitalId', hospitalId)
|
|
19014
|
-
// verify required parameter 'specialtySlug' is not null or undefined
|
|
19015
|
-
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'specialtySlug', specialtySlug)
|
|
19016
|
-
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/{specialtySlug}`
|
|
19017
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
19018
|
-
.replace(`{${"specialtySlug"}}`, encodeURIComponent(String(specialtySlug)));
|
|
19019
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19020
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19021
|
-
let baseOptions;
|
|
19022
|
-
if (configuration) {
|
|
19023
|
-
baseOptions = configuration.baseOptions;
|
|
19024
|
-
}
|
|
19025
|
-
|
|
19026
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19027
|
-
const localVarHeaderParameter = {} as any;
|
|
19028
|
-
const localVarQueryParameter = {} as any;
|
|
19029
|
-
|
|
19030
|
-
if (languageCode !== undefined) {
|
|
19031
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
19032
|
-
}
|
|
19033
|
-
|
|
19034
|
-
if (returnDefaultValue !== undefined) {
|
|
19035
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19036
|
-
}
|
|
19037
|
-
|
|
19038
|
-
if (includeServices !== undefined) {
|
|
19039
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
19040
|
-
}
|
|
19041
|
-
|
|
19042
|
-
|
|
19043
|
-
|
|
19044
19037
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19045
19038
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19046
19039
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19412,6 +19405,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
19412
19405
|
* @param {string} [specialtyId]
|
|
19413
19406
|
* @param {string} [specialtyName]
|
|
19414
19407
|
* @param {string} [specialtyTypeId]
|
|
19408
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
19415
19409
|
* @param {string} [title]
|
|
19416
19410
|
* @param {MarketingType} [marketingType]
|
|
19417
19411
|
* @param {string} [languageCode]
|
|
@@ -19424,8 +19418,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
19424
19418
|
* @param {*} [options] Override http request option.
|
|
19425
19419
|
* @throws {RequiredError}
|
|
19426
19420
|
*/
|
|
19427
|
-
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
19428
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
19421
|
+
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
19422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
19429
19423
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19430
19424
|
},
|
|
19431
19425
|
/**
|
|
@@ -19437,6 +19431,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
19437
19431
|
* @param {string} [specialtyId]
|
|
19438
19432
|
* @param {string} [specialtyName]
|
|
19439
19433
|
* @param {string} [specialtyTypeId]
|
|
19434
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
19440
19435
|
* @param {string} [title]
|
|
19441
19436
|
* @param {MarketingType} [marketingType]
|
|
19442
19437
|
* @param {string} [languageCode]
|
|
@@ -19449,8 +19444,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
19449
19444
|
* @param {*} [options] Override http request option.
|
|
19450
19445
|
* @throws {RequiredError}
|
|
19451
19446
|
*/
|
|
19452
|
-
async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
19453
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
19447
|
+
async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
19448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
19454
19449
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19455
19450
|
},
|
|
19456
19451
|
/**
|
|
@@ -19544,21 +19539,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
19544
19539
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
|
|
19545
19540
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19546
19541
|
},
|
|
19547
|
-
/**
|
|
19548
|
-
*
|
|
19549
|
-
* @summary Get HospitalSpecialty by Specialty slug
|
|
19550
|
-
* @param {string} hospitalId
|
|
19551
|
-
* @param {string} specialtySlug
|
|
19552
|
-
* @param {string} [languageCode]
|
|
19553
|
-
* @param {boolean} [returnDefaultValue]
|
|
19554
|
-
* @param {boolean} [includeServices]
|
|
19555
|
-
* @param {*} [options] Override http request option.
|
|
19556
|
-
* @throws {RequiredError}
|
|
19557
|
-
*/
|
|
19558
|
-
async apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
19559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options);
|
|
19560
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19561
|
-
},
|
|
19562
19542
|
/**
|
|
19563
19543
|
*
|
|
19564
19544
|
* @summary Get all Hospitals.
|
|
@@ -19790,6 +19770,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19790
19770
|
* @param {string} [specialtyId]
|
|
19791
19771
|
* @param {string} [specialtyName]
|
|
19792
19772
|
* @param {string} [specialtyTypeId]
|
|
19773
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
19793
19774
|
* @param {string} [title]
|
|
19794
19775
|
* @param {MarketingType} [marketingType]
|
|
19795
19776
|
* @param {string} [languageCode]
|
|
@@ -19802,8 +19783,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19802
19783
|
* @param {*} [options] Override http request option.
|
|
19803
19784
|
* @throws {RequiredError}
|
|
19804
19785
|
*/
|
|
19805
|
-
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
19806
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19786
|
+
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
19787
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19807
19788
|
},
|
|
19808
19789
|
/**
|
|
19809
19790
|
*
|
|
@@ -19814,6 +19795,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19814
19795
|
* @param {string} [specialtyId]
|
|
19815
19796
|
* @param {string} [specialtyName]
|
|
19816
19797
|
* @param {string} [specialtyTypeId]
|
|
19798
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
19817
19799
|
* @param {string} [title]
|
|
19818
19800
|
* @param {MarketingType} [marketingType]
|
|
19819
19801
|
* @param {string} [languageCode]
|
|
@@ -19826,8 +19808,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19826
19808
|
* @param {*} [options] Override http request option.
|
|
19827
19809
|
* @throws {RequiredError}
|
|
19828
19810
|
*/
|
|
19829
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
19830
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19811
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
19812
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19831
19813
|
},
|
|
19832
19814
|
/**
|
|
19833
19815
|
*
|
|
@@ -19915,20 +19897,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19915
19897
|
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
19916
19898
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
|
|
19917
19899
|
},
|
|
19918
|
-
/**
|
|
19919
|
-
*
|
|
19920
|
-
* @summary Get HospitalSpecialty by Specialty slug
|
|
19921
|
-
* @param {string} hospitalId
|
|
19922
|
-
* @param {string} specialtySlug
|
|
19923
|
-
* @param {string} [languageCode]
|
|
19924
|
-
* @param {boolean} [returnDefaultValue]
|
|
19925
|
-
* @param {boolean} [includeServices]
|
|
19926
|
-
* @param {*} [options] Override http request option.
|
|
19927
|
-
* @throws {RequiredError}
|
|
19928
|
-
*/
|
|
19929
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
19930
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(axios, basePath));
|
|
19931
|
-
},
|
|
19932
19900
|
/**
|
|
19933
19901
|
*
|
|
19934
19902
|
* @summary Get all Hospitals.
|
|
@@ -20182,6 +20150,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
20182
20150
|
* @param {string} [specialtyId]
|
|
20183
20151
|
* @param {string} [specialtyName]
|
|
20184
20152
|
* @param {string} [specialtyTypeId]
|
|
20153
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
20185
20154
|
* @param {string} [title]
|
|
20186
20155
|
* @param {MarketingType} [marketingType]
|
|
20187
20156
|
* @param {string} [languageCode]
|
|
@@ -20195,8 +20164,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
20195
20164
|
* @throws {RequiredError}
|
|
20196
20165
|
* @memberof HospitalsApi
|
|
20197
20166
|
*/
|
|
20198
|
-
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20199
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20167
|
+
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20168
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20200
20169
|
}
|
|
20201
20170
|
|
|
20202
20171
|
/**
|
|
@@ -20208,6 +20177,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
20208
20177
|
* @param {string} [specialtyId]
|
|
20209
20178
|
* @param {string} [specialtyName]
|
|
20210
20179
|
* @param {string} [specialtyTypeId]
|
|
20180
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
20211
20181
|
* @param {string} [title]
|
|
20212
20182
|
* @param {MarketingType} [marketingType]
|
|
20213
20183
|
* @param {string} [languageCode]
|
|
@@ -20221,8 +20191,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
20221
20191
|
* @throws {RequiredError}
|
|
20222
20192
|
* @memberof HospitalsApi
|
|
20223
20193
|
*/
|
|
20224
|
-
public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20225
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20194
|
+
public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20195
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20226
20196
|
}
|
|
20227
20197
|
|
|
20228
20198
|
/**
|
|
@@ -20321,22 +20291,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
20321
20291
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
20322
20292
|
}
|
|
20323
20293
|
|
|
20324
|
-
/**
|
|
20325
|
-
*
|
|
20326
|
-
* @summary Get HospitalSpecialty by Specialty slug
|
|
20327
|
-
* @param {string} hospitalId
|
|
20328
|
-
* @param {string} specialtySlug
|
|
20329
|
-
* @param {string} [languageCode]
|
|
20330
|
-
* @param {boolean} [returnDefaultValue]
|
|
20331
|
-
* @param {boolean} [includeServices]
|
|
20332
|
-
* @param {*} [options] Override http request option.
|
|
20333
|
-
* @throws {RequiredError}
|
|
20334
|
-
* @memberof HospitalsApi
|
|
20335
|
-
*/
|
|
20336
|
-
public apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId: string, specialtySlug: string, languageCode?: string, returnDefaultValue?: boolean, includeServices?: boolean, options?: AxiosRequestConfig) {
|
|
20337
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then((request) => request(this.axios, this.basePath));
|
|
20338
|
-
}
|
|
20339
|
-
|
|
20340
20294
|
/**
|
|
20341
20295
|
*
|
|
20342
20296
|
* @summary Get all Hospitals.
|