ch-api-client-typescript2 2.8.5 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +398 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +371 -0
- package/package.json +1 -1
- package/src/api.ts +647 -52
package/src/api.ts
CHANGED
|
@@ -3065,6 +3065,67 @@ export interface DealItemModel {
|
|
|
3065
3065
|
*/
|
|
3066
3066
|
'auditableEntity'?: AuditableEntity;
|
|
3067
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
*
|
|
3070
|
+
* @export
|
|
3071
|
+
* @interface DealItemSimpleModel
|
|
3072
|
+
*/
|
|
3073
|
+
export interface DealItemSimpleModel {
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @type {string}
|
|
3077
|
+
* @memberof DealItemSimpleModel
|
|
3078
|
+
*/
|
|
3079
|
+
'id'?: string;
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @type {string}
|
|
3083
|
+
* @memberof DealItemSimpleModel
|
|
3084
|
+
*/
|
|
3085
|
+
'name'?: string | null;
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @type {string}
|
|
3089
|
+
* @memberof DealItemSimpleModel
|
|
3090
|
+
*/
|
|
3091
|
+
'normalizedName'?: string | null;
|
|
3092
|
+
/**
|
|
3093
|
+
*
|
|
3094
|
+
* @type {string}
|
|
3095
|
+
* @memberof DealItemSimpleModel
|
|
3096
|
+
*/
|
|
3097
|
+
'slug'?: string | null;
|
|
3098
|
+
/**
|
|
3099
|
+
*
|
|
3100
|
+
* @type {string}
|
|
3101
|
+
* @memberof DealItemSimpleModel
|
|
3102
|
+
*/
|
|
3103
|
+
'hospitalId'?: string;
|
|
3104
|
+
/**
|
|
3105
|
+
*
|
|
3106
|
+
* @type {string}
|
|
3107
|
+
* @memberof DealItemSimpleModel
|
|
3108
|
+
*/
|
|
3109
|
+
'hospitalName'?: string | null;
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3113
|
+
* @memberof DealItemSimpleModel
|
|
3114
|
+
*/
|
|
3115
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3116
|
+
/**
|
|
3117
|
+
*
|
|
3118
|
+
* @type {boolean}
|
|
3119
|
+
* @memberof DealItemSimpleModel
|
|
3120
|
+
*/
|
|
3121
|
+
'confirmed'?: boolean;
|
|
3122
|
+
/**
|
|
3123
|
+
*
|
|
3124
|
+
* @type {AuditableEntity}
|
|
3125
|
+
* @memberof DealItemSimpleModel
|
|
3126
|
+
*/
|
|
3127
|
+
'auditableEntity'?: AuditableEntity;
|
|
3128
|
+
}
|
|
3068
3129
|
/**
|
|
3069
3130
|
*
|
|
3070
3131
|
* @export
|
|
@@ -3487,6 +3548,25 @@ export interface DealsModel {
|
|
|
3487
3548
|
*/
|
|
3488
3549
|
'metaData'?: PagedListMetaData;
|
|
3489
3550
|
}
|
|
3551
|
+
/**
|
|
3552
|
+
*
|
|
3553
|
+
* @export
|
|
3554
|
+
* @interface DealsSimpleModel
|
|
3555
|
+
*/
|
|
3556
|
+
export interface DealsSimpleModel {
|
|
3557
|
+
/**
|
|
3558
|
+
*
|
|
3559
|
+
* @type {Array<DealItemSimpleModel>}
|
|
3560
|
+
* @memberof DealsSimpleModel
|
|
3561
|
+
*/
|
|
3562
|
+
'items'?: Array<DealItemSimpleModel> | null;
|
|
3563
|
+
/**
|
|
3564
|
+
*
|
|
3565
|
+
* @type {PagedListMetaData}
|
|
3566
|
+
* @memberof DealsSimpleModel
|
|
3567
|
+
*/
|
|
3568
|
+
'metaData'?: PagedListMetaData;
|
|
3569
|
+
}
|
|
3490
3570
|
/**
|
|
3491
3571
|
*
|
|
3492
3572
|
* @export
|
|
@@ -5953,6 +6033,18 @@ export interface HospitalServiceItemModel {
|
|
|
5953
6033
|
* @memberof HospitalServiceItemModel
|
|
5954
6034
|
*/
|
|
5955
6035
|
'confirmed'?: boolean;
|
|
6036
|
+
/**
|
|
6037
|
+
*
|
|
6038
|
+
* @type {string}
|
|
6039
|
+
* @memberof HospitalServiceItemModel
|
|
6040
|
+
*/
|
|
6041
|
+
'photo'?: string | null;
|
|
6042
|
+
/**
|
|
6043
|
+
*
|
|
6044
|
+
* @type {string}
|
|
6045
|
+
* @memberof HospitalServiceItemModel
|
|
6046
|
+
*/
|
|
6047
|
+
'photoThumbnail'?: string | null;
|
|
5956
6048
|
/**
|
|
5957
6049
|
*
|
|
5958
6050
|
* @type {AuditableEntity}
|
|
@@ -6092,6 +6184,18 @@ export interface HospitalServiceModel {
|
|
|
6092
6184
|
* @memberof HospitalServiceModel
|
|
6093
6185
|
*/
|
|
6094
6186
|
'confirmed'?: boolean;
|
|
6187
|
+
/**
|
|
6188
|
+
*
|
|
6189
|
+
* @type {string}
|
|
6190
|
+
* @memberof HospitalServiceModel
|
|
6191
|
+
*/
|
|
6192
|
+
'photo'?: string | null;
|
|
6193
|
+
/**
|
|
6194
|
+
*
|
|
6195
|
+
* @type {string}
|
|
6196
|
+
* @memberof HospitalServiceModel
|
|
6197
|
+
*/
|
|
6198
|
+
'photoThumbnail'?: string | null;
|
|
6095
6199
|
/**
|
|
6096
6200
|
*
|
|
6097
6201
|
* @type {AuditableEntity}
|
|
@@ -6168,6 +6272,25 @@ export interface HospitalSpecialtiesModel {
|
|
|
6168
6272
|
*/
|
|
6169
6273
|
'metaData'?: PagedListMetaData;
|
|
6170
6274
|
}
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @export
|
|
6278
|
+
* @interface HospitalSpecialtiesSimpleModel
|
|
6279
|
+
*/
|
|
6280
|
+
export interface HospitalSpecialtiesSimpleModel {
|
|
6281
|
+
/**
|
|
6282
|
+
*
|
|
6283
|
+
* @type {Array<HospitalSpecialtySimpleItemModel>}
|
|
6284
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
6285
|
+
*/
|
|
6286
|
+
'items'?: Array<HospitalSpecialtySimpleItemModel> | null;
|
|
6287
|
+
/**
|
|
6288
|
+
*
|
|
6289
|
+
* @type {PagedListMetaData}
|
|
6290
|
+
* @memberof HospitalSpecialtiesSimpleModel
|
|
6291
|
+
*/
|
|
6292
|
+
'metaData'?: PagedListMetaData;
|
|
6293
|
+
}
|
|
6171
6294
|
/**
|
|
6172
6295
|
*
|
|
6173
6296
|
* @export
|
|
@@ -6276,6 +6399,30 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6276
6399
|
* @memberof HospitalSpecialtyItemModel
|
|
6277
6400
|
*/
|
|
6278
6401
|
'confirmed'?: boolean;
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
* @type {string}
|
|
6405
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6406
|
+
*/
|
|
6407
|
+
'photo'?: string | null;
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @type {string}
|
|
6411
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6412
|
+
*/
|
|
6413
|
+
'photoThumbnail'?: string | null;
|
|
6414
|
+
/**
|
|
6415
|
+
*
|
|
6416
|
+
* @type {string}
|
|
6417
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6418
|
+
*/
|
|
6419
|
+
'background'?: string | null;
|
|
6420
|
+
/**
|
|
6421
|
+
*
|
|
6422
|
+
* @type {string}
|
|
6423
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6424
|
+
*/
|
|
6425
|
+
'backgroundThumbnail'?: string | null;
|
|
6279
6426
|
/**
|
|
6280
6427
|
*
|
|
6281
6428
|
* @type {Array<MediaModel>}
|
|
@@ -6397,6 +6544,30 @@ export interface HospitalSpecialtyModel {
|
|
|
6397
6544
|
* @memberof HospitalSpecialtyModel
|
|
6398
6545
|
*/
|
|
6399
6546
|
'confirmed'?: boolean;
|
|
6547
|
+
/**
|
|
6548
|
+
*
|
|
6549
|
+
* @type {string}
|
|
6550
|
+
* @memberof HospitalSpecialtyModel
|
|
6551
|
+
*/
|
|
6552
|
+
'photo'?: string | null;
|
|
6553
|
+
/**
|
|
6554
|
+
*
|
|
6555
|
+
* @type {string}
|
|
6556
|
+
* @memberof HospitalSpecialtyModel
|
|
6557
|
+
*/
|
|
6558
|
+
'photoThumbnail'?: string | null;
|
|
6559
|
+
/**
|
|
6560
|
+
*
|
|
6561
|
+
* @type {string}
|
|
6562
|
+
* @memberof HospitalSpecialtyModel
|
|
6563
|
+
*/
|
|
6564
|
+
'background'?: string | null;
|
|
6565
|
+
/**
|
|
6566
|
+
*
|
|
6567
|
+
* @type {string}
|
|
6568
|
+
* @memberof HospitalSpecialtyModel
|
|
6569
|
+
*/
|
|
6570
|
+
'backgroundThumbnail'?: string | null;
|
|
6400
6571
|
/**
|
|
6401
6572
|
*
|
|
6402
6573
|
* @type {Array<MediaModel>}
|
|
@@ -6416,6 +6587,43 @@ export interface HospitalSpecialtyModel {
|
|
|
6416
6587
|
*/
|
|
6417
6588
|
'languageCode'?: string | null;
|
|
6418
6589
|
}
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @export
|
|
6593
|
+
* @interface HospitalSpecialtySimpleItemModel
|
|
6594
|
+
*/
|
|
6595
|
+
export interface HospitalSpecialtySimpleItemModel {
|
|
6596
|
+
/**
|
|
6597
|
+
*
|
|
6598
|
+
* @type {string}
|
|
6599
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6600
|
+
*/
|
|
6601
|
+
'id'?: string;
|
|
6602
|
+
/**
|
|
6603
|
+
*
|
|
6604
|
+
* @type {string}
|
|
6605
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6606
|
+
*/
|
|
6607
|
+
'specialtyName'?: string | null;
|
|
6608
|
+
/**
|
|
6609
|
+
*
|
|
6610
|
+
* @type {string}
|
|
6611
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6612
|
+
*/
|
|
6613
|
+
'hospitalSpecialtySlug'?: string | null;
|
|
6614
|
+
/**
|
|
6615
|
+
*
|
|
6616
|
+
* @type {string}
|
|
6617
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6618
|
+
*/
|
|
6619
|
+
'description'?: string | null;
|
|
6620
|
+
/**
|
|
6621
|
+
*
|
|
6622
|
+
* @type {boolean}
|
|
6623
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
6624
|
+
*/
|
|
6625
|
+
'confirmed'?: boolean;
|
|
6626
|
+
}
|
|
6419
6627
|
/**
|
|
6420
6628
|
*
|
|
6421
6629
|
* @export
|
|
@@ -14220,18 +14428,30 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14220
14428
|
},
|
|
14221
14429
|
/**
|
|
14222
14430
|
*
|
|
14223
|
-
* @summary Get
|
|
14224
|
-
* @param {string}
|
|
14431
|
+
* @summary Get all deals.
|
|
14432
|
+
* @param {string} [id]
|
|
14433
|
+
* @param {string} [name]
|
|
14434
|
+
* @param {MarketingType} [marketingType]
|
|
14435
|
+
* @param {string} [countryId]
|
|
14436
|
+
* @param {string} [hospitalId]
|
|
14437
|
+
* @param {string} [hospitalName]
|
|
14438
|
+
* @param {string} [specialtyId]
|
|
14439
|
+
* @param {string} [specialtyTypeId]
|
|
14440
|
+
* @param {string} [serviceId]
|
|
14441
|
+
* @param {string} [exceptHospitalId]
|
|
14442
|
+
* @param {string} [exceptDealId]
|
|
14443
|
+
* @param {Array<string>} [ids]
|
|
14225
14444
|
* @param {string} [languageCode]
|
|
14445
|
+
* @param {boolean} [showHidden]
|
|
14226
14446
|
* @param {boolean} [returnDefaultValue]
|
|
14447
|
+
* @param {number} [page]
|
|
14448
|
+
* @param {number} [limit]
|
|
14449
|
+
* @param {Date} [lastRetrieved]
|
|
14227
14450
|
* @param {*} [options] Override http request option.
|
|
14228
14451
|
* @throws {RequiredError}
|
|
14229
14452
|
*/
|
|
14230
|
-
|
|
14231
|
-
|
|
14232
|
-
assertParamExists('apiV2DealsSlugGet', 'slug', slug)
|
|
14233
|
-
const localVarPath = `/api/v2/deals/{slug}`
|
|
14234
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
14453
|
+
apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14454
|
+
const localVarPath = `/api/v2/deals/simple`;
|
|
14235
14455
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14236
14456
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14237
14457
|
let baseOptions;
|
|
@@ -14243,58 +14463,168 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14243
14463
|
const localVarHeaderParameter = {} as any;
|
|
14244
14464
|
const localVarQueryParameter = {} as any;
|
|
14245
14465
|
|
|
14246
|
-
if (
|
|
14247
|
-
localVarQueryParameter['
|
|
14466
|
+
if (id !== undefined) {
|
|
14467
|
+
localVarQueryParameter['Id'] = id;
|
|
14248
14468
|
}
|
|
14249
14469
|
|
|
14250
|
-
if (
|
|
14251
|
-
localVarQueryParameter['
|
|
14470
|
+
if (name !== undefined) {
|
|
14471
|
+
localVarQueryParameter['Name'] = name;
|
|
14252
14472
|
}
|
|
14253
14473
|
|
|
14474
|
+
if (marketingType !== undefined) {
|
|
14475
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
14476
|
+
}
|
|
14254
14477
|
|
|
14255
|
-
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14478
|
+
if (countryId !== undefined) {
|
|
14479
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
14480
|
+
}
|
|
14259
14481
|
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
};
|
|
14264
|
-
},
|
|
14265
|
-
}
|
|
14266
|
-
};
|
|
14482
|
+
if (hospitalId !== undefined) {
|
|
14483
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
14484
|
+
}
|
|
14267
14485
|
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14486
|
+
if (hospitalName !== undefined) {
|
|
14487
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14488
|
+
}
|
|
14489
|
+
|
|
14490
|
+
if (specialtyId !== undefined) {
|
|
14491
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
14492
|
+
}
|
|
14493
|
+
|
|
14494
|
+
if (specialtyTypeId !== undefined) {
|
|
14495
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
14496
|
+
}
|
|
14497
|
+
|
|
14498
|
+
if (serviceId !== undefined) {
|
|
14499
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
14500
|
+
}
|
|
14501
|
+
|
|
14502
|
+
if (exceptHospitalId !== undefined) {
|
|
14503
|
+
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
14504
|
+
}
|
|
14505
|
+
|
|
14506
|
+
if (exceptDealId !== undefined) {
|
|
14507
|
+
localVarQueryParameter['ExceptDealId'] = exceptDealId;
|
|
14508
|
+
}
|
|
14509
|
+
|
|
14510
|
+
if (ids) {
|
|
14511
|
+
localVarQueryParameter['Ids'] = ids;
|
|
14512
|
+
}
|
|
14513
|
+
|
|
14514
|
+
if (languageCode !== undefined) {
|
|
14515
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14516
|
+
}
|
|
14517
|
+
|
|
14518
|
+
if (showHidden !== undefined) {
|
|
14519
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
14520
|
+
}
|
|
14521
|
+
|
|
14522
|
+
if (returnDefaultValue !== undefined) {
|
|
14523
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
14524
|
+
}
|
|
14525
|
+
|
|
14526
|
+
if (page !== undefined) {
|
|
14527
|
+
localVarQueryParameter['page'] = page;
|
|
14528
|
+
}
|
|
14529
|
+
|
|
14530
|
+
if (limit !== undefined) {
|
|
14531
|
+
localVarQueryParameter['limit'] = limit;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14534
|
+
if (lastRetrieved !== undefined) {
|
|
14535
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
14536
|
+
(lastRetrieved as any).toISOString() :
|
|
14537
|
+
lastRetrieved;
|
|
14538
|
+
}
|
|
14539
|
+
|
|
14540
|
+
|
|
14541
|
+
|
|
14542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14544
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14545
|
+
|
|
14546
|
+
return {
|
|
14547
|
+
url: toPathString(localVarUrlObj),
|
|
14548
|
+
options: localVarRequestOptions,
|
|
14549
|
+
};
|
|
14550
|
+
},
|
|
14551
|
+
/**
|
|
14552
|
+
*
|
|
14553
|
+
* @summary Get deal by slug.
|
|
14554
|
+
* @param {string} slug
|
|
14555
|
+
* @param {string} [languageCode]
|
|
14556
|
+
* @param {boolean} [returnDefaultValue]
|
|
14557
|
+
* @param {*} [options] Override http request option.
|
|
14558
|
+
* @throws {RequiredError}
|
|
14559
|
+
*/
|
|
14560
|
+
apiV2DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14561
|
+
// verify required parameter 'slug' is not null or undefined
|
|
14562
|
+
assertParamExists('apiV2DealsSlugGet', 'slug', slug)
|
|
14563
|
+
const localVarPath = `/api/v2/deals/{slug}`
|
|
14564
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
14565
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14566
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14567
|
+
let baseOptions;
|
|
14568
|
+
if (configuration) {
|
|
14569
|
+
baseOptions = configuration.baseOptions;
|
|
14570
|
+
}
|
|
14571
|
+
|
|
14572
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14573
|
+
const localVarHeaderParameter = {} as any;
|
|
14574
|
+
const localVarQueryParameter = {} as any;
|
|
14575
|
+
|
|
14576
|
+
if (languageCode !== undefined) {
|
|
14577
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14578
|
+
}
|
|
14579
|
+
|
|
14580
|
+
if (returnDefaultValue !== undefined) {
|
|
14581
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
14582
|
+
}
|
|
14583
|
+
|
|
14584
|
+
|
|
14585
|
+
|
|
14586
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14588
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14589
|
+
|
|
14590
|
+
return {
|
|
14591
|
+
url: toPathString(localVarUrlObj),
|
|
14592
|
+
options: localVarRequestOptions,
|
|
14593
|
+
};
|
|
14594
|
+
},
|
|
14595
|
+
}
|
|
14596
|
+
};
|
|
14597
|
+
|
|
14598
|
+
/**
|
|
14599
|
+
* DealsApi - functional programming interface
|
|
14600
|
+
* @export
|
|
14601
|
+
*/
|
|
14602
|
+
export const DealsApiFp = function(configuration?: Configuration) {
|
|
14603
|
+
const localVarAxiosParamCreator = DealsApiAxiosParamCreator(configuration)
|
|
14604
|
+
return {
|
|
14605
|
+
/**
|
|
14606
|
+
*
|
|
14607
|
+
* @summary Get deal.
|
|
14608
|
+
* @param {string} dealId
|
|
14609
|
+
* @param {string} [languageCode]
|
|
14610
|
+
* @param {boolean} [returnDefaultValue]
|
|
14611
|
+
* @param {*} [options] Override http request option.
|
|
14612
|
+
* @throws {RequiredError}
|
|
14613
|
+
*/
|
|
14614
|
+
async apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
14615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
14616
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14617
|
+
},
|
|
14618
|
+
/**
|
|
14619
|
+
*
|
|
14620
|
+
* @summary Get all DealPackage.
|
|
14621
|
+
* @param {string} dealId
|
|
14622
|
+
* @param {string} [relatedDealPackageId]
|
|
14623
|
+
* @param {string} [dealName]
|
|
14624
|
+
* @param {string} [name]
|
|
14625
|
+
* @param {string} [countryId]
|
|
14626
|
+
* @param {string} [hospitalId]
|
|
14627
|
+
* @param {string} [hospitalName]
|
|
14298
14628
|
* @param {number} [page]
|
|
14299
14629
|
* @param {number} [limit]
|
|
14300
14630
|
* @param {Date} [lastRetrieved]
|
|
@@ -14371,6 +14701,34 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14371
14701
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
14372
14702
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14373
14703
|
},
|
|
14704
|
+
/**
|
|
14705
|
+
*
|
|
14706
|
+
* @summary Get all deals.
|
|
14707
|
+
* @param {string} [id]
|
|
14708
|
+
* @param {string} [name]
|
|
14709
|
+
* @param {MarketingType} [marketingType]
|
|
14710
|
+
* @param {string} [countryId]
|
|
14711
|
+
* @param {string} [hospitalId]
|
|
14712
|
+
* @param {string} [hospitalName]
|
|
14713
|
+
* @param {string} [specialtyId]
|
|
14714
|
+
* @param {string} [specialtyTypeId]
|
|
14715
|
+
* @param {string} [serviceId]
|
|
14716
|
+
* @param {string} [exceptHospitalId]
|
|
14717
|
+
* @param {string} [exceptDealId]
|
|
14718
|
+
* @param {Array<string>} [ids]
|
|
14719
|
+
* @param {string} [languageCode]
|
|
14720
|
+
* @param {boolean} [showHidden]
|
|
14721
|
+
* @param {boolean} [returnDefaultValue]
|
|
14722
|
+
* @param {number} [page]
|
|
14723
|
+
* @param {number} [limit]
|
|
14724
|
+
* @param {Date} [lastRetrieved]
|
|
14725
|
+
* @param {*} [options] Override http request option.
|
|
14726
|
+
* @throws {RequiredError}
|
|
14727
|
+
*/
|
|
14728
|
+
async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
14729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
14730
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14731
|
+
},
|
|
14374
14732
|
/**
|
|
14375
14733
|
*
|
|
14376
14734
|
* @summary Get deal by slug.
|
|
@@ -14487,6 +14845,33 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
14487
14845
|
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
14488
14846
|
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14489
14847
|
},
|
|
14848
|
+
/**
|
|
14849
|
+
*
|
|
14850
|
+
* @summary Get all deals.
|
|
14851
|
+
* @param {string} [id]
|
|
14852
|
+
* @param {string} [name]
|
|
14853
|
+
* @param {MarketingType} [marketingType]
|
|
14854
|
+
* @param {string} [countryId]
|
|
14855
|
+
* @param {string} [hospitalId]
|
|
14856
|
+
* @param {string} [hospitalName]
|
|
14857
|
+
* @param {string} [specialtyId]
|
|
14858
|
+
* @param {string} [specialtyTypeId]
|
|
14859
|
+
* @param {string} [serviceId]
|
|
14860
|
+
* @param {string} [exceptHospitalId]
|
|
14861
|
+
* @param {string} [exceptDealId]
|
|
14862
|
+
* @param {Array<string>} [ids]
|
|
14863
|
+
* @param {string} [languageCode]
|
|
14864
|
+
* @param {boolean} [showHidden]
|
|
14865
|
+
* @param {boolean} [returnDefaultValue]
|
|
14866
|
+
* @param {number} [page]
|
|
14867
|
+
* @param {number} [limit]
|
|
14868
|
+
* @param {Date} [lastRetrieved]
|
|
14869
|
+
* @param {*} [options] Override http request option.
|
|
14870
|
+
* @throws {RequiredError}
|
|
14871
|
+
*/
|
|
14872
|
+
apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
14873
|
+
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14874
|
+
},
|
|
14490
14875
|
/**
|
|
14491
14876
|
*
|
|
14492
14877
|
* @summary Get deal by slug.
|
|
@@ -14614,6 +14999,35 @@ export class DealsApi extends BaseAPI {
|
|
|
14614
14999
|
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14615
15000
|
}
|
|
14616
15001
|
|
|
15002
|
+
/**
|
|
15003
|
+
*
|
|
15004
|
+
* @summary Get all deals.
|
|
15005
|
+
* @param {string} [id]
|
|
15006
|
+
* @param {string} [name]
|
|
15007
|
+
* @param {MarketingType} [marketingType]
|
|
15008
|
+
* @param {string} [countryId]
|
|
15009
|
+
* @param {string} [hospitalId]
|
|
15010
|
+
* @param {string} [hospitalName]
|
|
15011
|
+
* @param {string} [specialtyId]
|
|
15012
|
+
* @param {string} [specialtyTypeId]
|
|
15013
|
+
* @param {string} [serviceId]
|
|
15014
|
+
* @param {string} [exceptHospitalId]
|
|
15015
|
+
* @param {string} [exceptDealId]
|
|
15016
|
+
* @param {Array<string>} [ids]
|
|
15017
|
+
* @param {string} [languageCode]
|
|
15018
|
+
* @param {boolean} [showHidden]
|
|
15019
|
+
* @param {boolean} [returnDefaultValue]
|
|
15020
|
+
* @param {number} [page]
|
|
15021
|
+
* @param {number} [limit]
|
|
15022
|
+
* @param {Date} [lastRetrieved]
|
|
15023
|
+
* @param {*} [options] Override http request option.
|
|
15024
|
+
* @throws {RequiredError}
|
|
15025
|
+
* @memberof DealsApi
|
|
15026
|
+
*/
|
|
15027
|
+
public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15028
|
+
return DealsApiFp(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15029
|
+
}
|
|
15030
|
+
|
|
14617
15031
|
/**
|
|
14618
15032
|
*
|
|
14619
15033
|
* @summary Get deal by slug.
|
|
@@ -18079,6 +18493,112 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18079
18493
|
|
|
18080
18494
|
|
|
18081
18495
|
|
|
18496
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18497
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18498
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18499
|
+
|
|
18500
|
+
return {
|
|
18501
|
+
url: toPathString(localVarUrlObj),
|
|
18502
|
+
options: localVarRequestOptions,
|
|
18503
|
+
};
|
|
18504
|
+
},
|
|
18505
|
+
/**
|
|
18506
|
+
*
|
|
18507
|
+
* @summary Get all HospitalSpecialties.
|
|
18508
|
+
* @param {string} hospitalId
|
|
18509
|
+
* @param {string} [hospitalName]
|
|
18510
|
+
* @param {string} [hospitalSlug]
|
|
18511
|
+
* @param {string} [specialtyId]
|
|
18512
|
+
* @param {string} [specialtyName]
|
|
18513
|
+
* @param {string} [specialtyTypeId]
|
|
18514
|
+
* @param {string} [title]
|
|
18515
|
+
* @param {MarketingType} [marketingType]
|
|
18516
|
+
* @param {string} [languageCode]
|
|
18517
|
+
* @param {boolean} [showHidden]
|
|
18518
|
+
* @param {boolean} [returnDefaultValue]
|
|
18519
|
+
* @param {boolean} [includeServices]
|
|
18520
|
+
* @param {number} [page]
|
|
18521
|
+
* @param {number} [limit]
|
|
18522
|
+
* @param {Date} [lastRetrieved]
|
|
18523
|
+
* @param {*} [options] Override http request option.
|
|
18524
|
+
* @throws {RequiredError}
|
|
18525
|
+
*/
|
|
18526
|
+
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> => {
|
|
18527
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
18528
|
+
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
18529
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
|
|
18530
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
18531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18533
|
+
let baseOptions;
|
|
18534
|
+
if (configuration) {
|
|
18535
|
+
baseOptions = configuration.baseOptions;
|
|
18536
|
+
}
|
|
18537
|
+
|
|
18538
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18539
|
+
const localVarHeaderParameter = {} as any;
|
|
18540
|
+
const localVarQueryParameter = {} as any;
|
|
18541
|
+
|
|
18542
|
+
if (hospitalName !== undefined) {
|
|
18543
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
18544
|
+
}
|
|
18545
|
+
|
|
18546
|
+
if (hospitalSlug !== undefined) {
|
|
18547
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
18548
|
+
}
|
|
18549
|
+
|
|
18550
|
+
if (specialtyId !== undefined) {
|
|
18551
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
18552
|
+
}
|
|
18553
|
+
|
|
18554
|
+
if (specialtyName !== undefined) {
|
|
18555
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
18556
|
+
}
|
|
18557
|
+
|
|
18558
|
+
if (specialtyTypeId !== undefined) {
|
|
18559
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18560
|
+
}
|
|
18561
|
+
|
|
18562
|
+
if (title !== undefined) {
|
|
18563
|
+
localVarQueryParameter['Title'] = title;
|
|
18564
|
+
}
|
|
18565
|
+
|
|
18566
|
+
if (marketingType !== undefined) {
|
|
18567
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18568
|
+
}
|
|
18569
|
+
|
|
18570
|
+
if (languageCode !== undefined) {
|
|
18571
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18572
|
+
}
|
|
18573
|
+
|
|
18574
|
+
if (showHidden !== undefined) {
|
|
18575
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18576
|
+
}
|
|
18577
|
+
|
|
18578
|
+
if (returnDefaultValue !== undefined) {
|
|
18579
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18580
|
+
}
|
|
18581
|
+
|
|
18582
|
+
if (includeServices !== undefined) {
|
|
18583
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
18584
|
+
}
|
|
18585
|
+
|
|
18586
|
+
if (page !== undefined) {
|
|
18587
|
+
localVarQueryParameter['page'] = page;
|
|
18588
|
+
}
|
|
18589
|
+
|
|
18590
|
+
if (limit !== undefined) {
|
|
18591
|
+
localVarQueryParameter['limit'] = limit;
|
|
18592
|
+
}
|
|
18593
|
+
|
|
18594
|
+
if (lastRetrieved !== undefined) {
|
|
18595
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
18596
|
+
(lastRetrieved as any).toISOString() :
|
|
18597
|
+
lastRetrieved;
|
|
18598
|
+
}
|
|
18599
|
+
|
|
18600
|
+
|
|
18601
|
+
|
|
18082
18602
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18083
18603
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18084
18604
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18866,6 +19386,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18866
19386
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
18867
19387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18868
19388
|
},
|
|
19389
|
+
/**
|
|
19390
|
+
*
|
|
19391
|
+
* @summary Get all HospitalSpecialties.
|
|
19392
|
+
* @param {string} hospitalId
|
|
19393
|
+
* @param {string} [hospitalName]
|
|
19394
|
+
* @param {string} [hospitalSlug]
|
|
19395
|
+
* @param {string} [specialtyId]
|
|
19396
|
+
* @param {string} [specialtyName]
|
|
19397
|
+
* @param {string} [specialtyTypeId]
|
|
19398
|
+
* @param {string} [title]
|
|
19399
|
+
* @param {MarketingType} [marketingType]
|
|
19400
|
+
* @param {string} [languageCode]
|
|
19401
|
+
* @param {boolean} [showHidden]
|
|
19402
|
+
* @param {boolean} [returnDefaultValue]
|
|
19403
|
+
* @param {boolean} [includeServices]
|
|
19404
|
+
* @param {number} [page]
|
|
19405
|
+
* @param {number} [limit]
|
|
19406
|
+
* @param {Date} [lastRetrieved]
|
|
19407
|
+
* @param {*} [options] Override http request option.
|
|
19408
|
+
* @throws {RequiredError}
|
|
19409
|
+
*/
|
|
19410
|
+
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>> {
|
|
19411
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
19412
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19413
|
+
},
|
|
18869
19414
|
/**
|
|
18870
19415
|
*
|
|
18871
19416
|
* @summary Get HospitalSpecialty.
|
|
@@ -19218,6 +19763,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
19218
19763
|
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> {
|
|
19219
19764
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19220
19765
|
},
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @summary Get all HospitalSpecialties.
|
|
19769
|
+
* @param {string} hospitalId
|
|
19770
|
+
* @param {string} [hospitalName]
|
|
19771
|
+
* @param {string} [hospitalSlug]
|
|
19772
|
+
* @param {string} [specialtyId]
|
|
19773
|
+
* @param {string} [specialtyName]
|
|
19774
|
+
* @param {string} [specialtyTypeId]
|
|
19775
|
+
* @param {string} [title]
|
|
19776
|
+
* @param {MarketingType} [marketingType]
|
|
19777
|
+
* @param {string} [languageCode]
|
|
19778
|
+
* @param {boolean} [showHidden]
|
|
19779
|
+
* @param {boolean} [returnDefaultValue]
|
|
19780
|
+
* @param {boolean} [includeServices]
|
|
19781
|
+
* @param {number} [page]
|
|
19782
|
+
* @param {number} [limit]
|
|
19783
|
+
* @param {Date} [lastRetrieved]
|
|
19784
|
+
* @param {*} [options] Override http request option.
|
|
19785
|
+
* @throws {RequiredError}
|
|
19786
|
+
*/
|
|
19787
|
+
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> {
|
|
19788
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19789
|
+
},
|
|
19221
19790
|
/**
|
|
19222
19791
|
*
|
|
19223
19792
|
* @summary Get HospitalSpecialty.
|
|
@@ -19588,6 +20157,32 @@ export class HospitalsApi extends BaseAPI {
|
|
|
19588
20157
|
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));
|
|
19589
20158
|
}
|
|
19590
20159
|
|
|
20160
|
+
/**
|
|
20161
|
+
*
|
|
20162
|
+
* @summary Get all HospitalSpecialties.
|
|
20163
|
+
* @param {string} hospitalId
|
|
20164
|
+
* @param {string} [hospitalName]
|
|
20165
|
+
* @param {string} [hospitalSlug]
|
|
20166
|
+
* @param {string} [specialtyId]
|
|
20167
|
+
* @param {string} [specialtyName]
|
|
20168
|
+
* @param {string} [specialtyTypeId]
|
|
20169
|
+
* @param {string} [title]
|
|
20170
|
+
* @param {MarketingType} [marketingType]
|
|
20171
|
+
* @param {string} [languageCode]
|
|
20172
|
+
* @param {boolean} [showHidden]
|
|
20173
|
+
* @param {boolean} [returnDefaultValue]
|
|
20174
|
+
* @param {boolean} [includeServices]
|
|
20175
|
+
* @param {number} [page]
|
|
20176
|
+
* @param {number} [limit]
|
|
20177
|
+
* @param {Date} [lastRetrieved]
|
|
20178
|
+
* @param {*} [options] Override http request option.
|
|
20179
|
+
* @throws {RequiredError}
|
|
20180
|
+
* @memberof HospitalsApi
|
|
20181
|
+
*/
|
|
20182
|
+
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) {
|
|
20183
|
+
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));
|
|
20184
|
+
}
|
|
20185
|
+
|
|
19591
20186
|
/**
|
|
19592
20187
|
*
|
|
19593
20188
|
* @summary Get HospitalSpecialty.
|