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/lib/api.js
CHANGED
|
@@ -5928,6 +5928,109 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5928
5928
|
});
|
|
5929
5929
|
});
|
|
5930
5930
|
},
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @summary Get all deals.
|
|
5934
|
+
* @param {string} [id]
|
|
5935
|
+
* @param {string} [name]
|
|
5936
|
+
* @param {MarketingType} [marketingType]
|
|
5937
|
+
* @param {string} [countryId]
|
|
5938
|
+
* @param {string} [hospitalId]
|
|
5939
|
+
* @param {string} [hospitalName]
|
|
5940
|
+
* @param {string} [specialtyId]
|
|
5941
|
+
* @param {string} [specialtyTypeId]
|
|
5942
|
+
* @param {string} [serviceId]
|
|
5943
|
+
* @param {string} [exceptHospitalId]
|
|
5944
|
+
* @param {string} [exceptDealId]
|
|
5945
|
+
* @param {Array<string>} [ids]
|
|
5946
|
+
* @param {string} [languageCode]
|
|
5947
|
+
* @param {boolean} [showHidden]
|
|
5948
|
+
* @param {boolean} [returnDefaultValue]
|
|
5949
|
+
* @param {number} [page]
|
|
5950
|
+
* @param {number} [limit]
|
|
5951
|
+
* @param {Date} [lastRetrieved]
|
|
5952
|
+
* @param {*} [options] Override http request option.
|
|
5953
|
+
* @throws {RequiredError}
|
|
5954
|
+
*/
|
|
5955
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5956
|
+
if (options === void 0) { options = {}; }
|
|
5957
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5958
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5959
|
+
return __generator(this, function (_a) {
|
|
5960
|
+
localVarPath = "/api/v2/deals/simple";
|
|
5961
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5962
|
+
if (configuration) {
|
|
5963
|
+
baseOptions = configuration.baseOptions;
|
|
5964
|
+
}
|
|
5965
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5966
|
+
localVarHeaderParameter = {};
|
|
5967
|
+
localVarQueryParameter = {};
|
|
5968
|
+
if (id !== undefined) {
|
|
5969
|
+
localVarQueryParameter['Id'] = id;
|
|
5970
|
+
}
|
|
5971
|
+
if (name !== undefined) {
|
|
5972
|
+
localVarQueryParameter['Name'] = name;
|
|
5973
|
+
}
|
|
5974
|
+
if (marketingType !== undefined) {
|
|
5975
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
5976
|
+
}
|
|
5977
|
+
if (countryId !== undefined) {
|
|
5978
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
5979
|
+
}
|
|
5980
|
+
if (hospitalId !== undefined) {
|
|
5981
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
5982
|
+
}
|
|
5983
|
+
if (hospitalName !== undefined) {
|
|
5984
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
5985
|
+
}
|
|
5986
|
+
if (specialtyId !== undefined) {
|
|
5987
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
5988
|
+
}
|
|
5989
|
+
if (specialtyTypeId !== undefined) {
|
|
5990
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5991
|
+
}
|
|
5992
|
+
if (serviceId !== undefined) {
|
|
5993
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5994
|
+
}
|
|
5995
|
+
if (exceptHospitalId !== undefined) {
|
|
5996
|
+
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5997
|
+
}
|
|
5998
|
+
if (exceptDealId !== undefined) {
|
|
5999
|
+
localVarQueryParameter['ExceptDealId'] = exceptDealId;
|
|
6000
|
+
}
|
|
6001
|
+
if (ids) {
|
|
6002
|
+
localVarQueryParameter['Ids'] = ids;
|
|
6003
|
+
}
|
|
6004
|
+
if (languageCode !== undefined) {
|
|
6005
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6006
|
+
}
|
|
6007
|
+
if (showHidden !== undefined) {
|
|
6008
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
6009
|
+
}
|
|
6010
|
+
if (returnDefaultValue !== undefined) {
|
|
6011
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
6012
|
+
}
|
|
6013
|
+
if (page !== undefined) {
|
|
6014
|
+
localVarQueryParameter['page'] = page;
|
|
6015
|
+
}
|
|
6016
|
+
if (limit !== undefined) {
|
|
6017
|
+
localVarQueryParameter['limit'] = limit;
|
|
6018
|
+
}
|
|
6019
|
+
if (lastRetrieved !== undefined) {
|
|
6020
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
6021
|
+
lastRetrieved.toISOString() :
|
|
6022
|
+
lastRetrieved;
|
|
6023
|
+
}
|
|
6024
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6025
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6026
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6027
|
+
return [2 /*return*/, {
|
|
6028
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6029
|
+
options: localVarRequestOptions,
|
|
6030
|
+
}];
|
|
6031
|
+
});
|
|
6032
|
+
});
|
|
6033
|
+
},
|
|
5931
6034
|
/**
|
|
5932
6035
|
*
|
|
5933
6036
|
* @summary Get deal by slug.
|
|
@@ -6132,6 +6235,43 @@ var DealsApiFp = function (configuration) {
|
|
|
6132
6235
|
});
|
|
6133
6236
|
});
|
|
6134
6237
|
},
|
|
6238
|
+
/**
|
|
6239
|
+
*
|
|
6240
|
+
* @summary Get all deals.
|
|
6241
|
+
* @param {string} [id]
|
|
6242
|
+
* @param {string} [name]
|
|
6243
|
+
* @param {MarketingType} [marketingType]
|
|
6244
|
+
* @param {string} [countryId]
|
|
6245
|
+
* @param {string} [hospitalId]
|
|
6246
|
+
* @param {string} [hospitalName]
|
|
6247
|
+
* @param {string} [specialtyId]
|
|
6248
|
+
* @param {string} [specialtyTypeId]
|
|
6249
|
+
* @param {string} [serviceId]
|
|
6250
|
+
* @param {string} [exceptHospitalId]
|
|
6251
|
+
* @param {string} [exceptDealId]
|
|
6252
|
+
* @param {Array<string>} [ids]
|
|
6253
|
+
* @param {string} [languageCode]
|
|
6254
|
+
* @param {boolean} [showHidden]
|
|
6255
|
+
* @param {boolean} [returnDefaultValue]
|
|
6256
|
+
* @param {number} [page]
|
|
6257
|
+
* @param {number} [limit]
|
|
6258
|
+
* @param {Date} [lastRetrieved]
|
|
6259
|
+
* @param {*} [options] Override http request option.
|
|
6260
|
+
* @throws {RequiredError}
|
|
6261
|
+
*/
|
|
6262
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6263
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6264
|
+
var localVarAxiosArgs;
|
|
6265
|
+
return __generator(this, function (_a) {
|
|
6266
|
+
switch (_a.label) {
|
|
6267
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6268
|
+
case 1:
|
|
6269
|
+
localVarAxiosArgs = _a.sent();
|
|
6270
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6271
|
+
}
|
|
6272
|
+
});
|
|
6273
|
+
});
|
|
6274
|
+
},
|
|
6135
6275
|
/**
|
|
6136
6276
|
*
|
|
6137
6277
|
* @summary Get deal by slug.
|
|
@@ -6257,6 +6397,33 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6257
6397
|
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6258
6398
|
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6259
6399
|
},
|
|
6400
|
+
/**
|
|
6401
|
+
*
|
|
6402
|
+
* @summary Get all deals.
|
|
6403
|
+
* @param {string} [id]
|
|
6404
|
+
* @param {string} [name]
|
|
6405
|
+
* @param {MarketingType} [marketingType]
|
|
6406
|
+
* @param {string} [countryId]
|
|
6407
|
+
* @param {string} [hospitalId]
|
|
6408
|
+
* @param {string} [hospitalName]
|
|
6409
|
+
* @param {string} [specialtyId]
|
|
6410
|
+
* @param {string} [specialtyTypeId]
|
|
6411
|
+
* @param {string} [serviceId]
|
|
6412
|
+
* @param {string} [exceptHospitalId]
|
|
6413
|
+
* @param {string} [exceptDealId]
|
|
6414
|
+
* @param {Array<string>} [ids]
|
|
6415
|
+
* @param {string} [languageCode]
|
|
6416
|
+
* @param {boolean} [showHidden]
|
|
6417
|
+
* @param {boolean} [returnDefaultValue]
|
|
6418
|
+
* @param {number} [page]
|
|
6419
|
+
* @param {number} [limit]
|
|
6420
|
+
* @param {Date} [lastRetrieved]
|
|
6421
|
+
* @param {*} [options] Override http request option.
|
|
6422
|
+
* @throws {RequiredError}
|
|
6423
|
+
*/
|
|
6424
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6425
|
+
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6426
|
+
},
|
|
6260
6427
|
/**
|
|
6261
6428
|
*
|
|
6262
6429
|
* @summary Get deal by slug.
|
|
@@ -6388,6 +6555,35 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6388
6555
|
var _this = this;
|
|
6389
6556
|
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6390
6557
|
};
|
|
6558
|
+
/**
|
|
6559
|
+
*
|
|
6560
|
+
* @summary Get all deals.
|
|
6561
|
+
* @param {string} [id]
|
|
6562
|
+
* @param {string} [name]
|
|
6563
|
+
* @param {MarketingType} [marketingType]
|
|
6564
|
+
* @param {string} [countryId]
|
|
6565
|
+
* @param {string} [hospitalId]
|
|
6566
|
+
* @param {string} [hospitalName]
|
|
6567
|
+
* @param {string} [specialtyId]
|
|
6568
|
+
* @param {string} [specialtyTypeId]
|
|
6569
|
+
* @param {string} [serviceId]
|
|
6570
|
+
* @param {string} [exceptHospitalId]
|
|
6571
|
+
* @param {string} [exceptDealId]
|
|
6572
|
+
* @param {Array<string>} [ids]
|
|
6573
|
+
* @param {string} [languageCode]
|
|
6574
|
+
* @param {boolean} [showHidden]
|
|
6575
|
+
* @param {boolean} [returnDefaultValue]
|
|
6576
|
+
* @param {number} [page]
|
|
6577
|
+
* @param {number} [limit]
|
|
6578
|
+
* @param {Date} [lastRetrieved]
|
|
6579
|
+
* @param {*} [options] Override http request option.
|
|
6580
|
+
* @throws {RequiredError}
|
|
6581
|
+
* @memberof DealsApi
|
|
6582
|
+
*/
|
|
6583
|
+
DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6584
|
+
var _this = this;
|
|
6585
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6586
|
+
};
|
|
6391
6587
|
/**
|
|
6392
6588
|
*
|
|
6393
6589
|
* @summary Get deal by slug.
|
|
@@ -9904,6 +10100,97 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9904
10100
|
});
|
|
9905
10101
|
});
|
|
9906
10102
|
},
|
|
10103
|
+
/**
|
|
10104
|
+
*
|
|
10105
|
+
* @summary Get all HospitalSpecialties.
|
|
10106
|
+
* @param {string} hospitalId
|
|
10107
|
+
* @param {string} [hospitalName]
|
|
10108
|
+
* @param {string} [hospitalSlug]
|
|
10109
|
+
* @param {string} [specialtyId]
|
|
10110
|
+
* @param {string} [specialtyName]
|
|
10111
|
+
* @param {string} [specialtyTypeId]
|
|
10112
|
+
* @param {string} [title]
|
|
10113
|
+
* @param {MarketingType} [marketingType]
|
|
10114
|
+
* @param {string} [languageCode]
|
|
10115
|
+
* @param {boolean} [showHidden]
|
|
10116
|
+
* @param {boolean} [returnDefaultValue]
|
|
10117
|
+
* @param {boolean} [includeServices]
|
|
10118
|
+
* @param {number} [page]
|
|
10119
|
+
* @param {number} [limit]
|
|
10120
|
+
* @param {Date} [lastRetrieved]
|
|
10121
|
+
* @param {*} [options] Override http request option.
|
|
10122
|
+
* @throws {RequiredError}
|
|
10123
|
+
*/
|
|
10124
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
10125
|
+
if (options === void 0) { options = {}; }
|
|
10126
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10127
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10128
|
+
return __generator(this, function (_a) {
|
|
10129
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10130
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
|
|
10131
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/simple"
|
|
10132
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
10133
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10134
|
+
if (configuration) {
|
|
10135
|
+
baseOptions = configuration.baseOptions;
|
|
10136
|
+
}
|
|
10137
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10138
|
+
localVarHeaderParameter = {};
|
|
10139
|
+
localVarQueryParameter = {};
|
|
10140
|
+
if (hospitalName !== undefined) {
|
|
10141
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10142
|
+
}
|
|
10143
|
+
if (hospitalSlug !== undefined) {
|
|
10144
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10145
|
+
}
|
|
10146
|
+
if (specialtyId !== undefined) {
|
|
10147
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10148
|
+
}
|
|
10149
|
+
if (specialtyName !== undefined) {
|
|
10150
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
10151
|
+
}
|
|
10152
|
+
if (specialtyTypeId !== undefined) {
|
|
10153
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10154
|
+
}
|
|
10155
|
+
if (title !== undefined) {
|
|
10156
|
+
localVarQueryParameter['Title'] = title;
|
|
10157
|
+
}
|
|
10158
|
+
if (marketingType !== undefined) {
|
|
10159
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10160
|
+
}
|
|
10161
|
+
if (languageCode !== undefined) {
|
|
10162
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10163
|
+
}
|
|
10164
|
+
if (showHidden !== undefined) {
|
|
10165
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10166
|
+
}
|
|
10167
|
+
if (returnDefaultValue !== undefined) {
|
|
10168
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10169
|
+
}
|
|
10170
|
+
if (includeServices !== undefined) {
|
|
10171
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10172
|
+
}
|
|
10173
|
+
if (page !== undefined) {
|
|
10174
|
+
localVarQueryParameter['page'] = page;
|
|
10175
|
+
}
|
|
10176
|
+
if (limit !== undefined) {
|
|
10177
|
+
localVarQueryParameter['limit'] = limit;
|
|
10178
|
+
}
|
|
10179
|
+
if (lastRetrieved !== undefined) {
|
|
10180
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10181
|
+
lastRetrieved.toISOString() :
|
|
10182
|
+
lastRetrieved;
|
|
10183
|
+
}
|
|
10184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10185
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10186
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10187
|
+
return [2 /*return*/, {
|
|
10188
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10189
|
+
options: localVarRequestOptions,
|
|
10190
|
+
}];
|
|
10191
|
+
});
|
|
10192
|
+
});
|
|
10193
|
+
},
|
|
9907
10194
|
/**
|
|
9908
10195
|
*
|
|
9909
10196
|
* @summary Get HospitalSpecialty.
|
|
@@ -10743,6 +11030,40 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10743
11030
|
});
|
|
10744
11031
|
});
|
|
10745
11032
|
},
|
|
11033
|
+
/**
|
|
11034
|
+
*
|
|
11035
|
+
* @summary Get all HospitalSpecialties.
|
|
11036
|
+
* @param {string} hospitalId
|
|
11037
|
+
* @param {string} [hospitalName]
|
|
11038
|
+
* @param {string} [hospitalSlug]
|
|
11039
|
+
* @param {string} [specialtyId]
|
|
11040
|
+
* @param {string} [specialtyName]
|
|
11041
|
+
* @param {string} [specialtyTypeId]
|
|
11042
|
+
* @param {string} [title]
|
|
11043
|
+
* @param {MarketingType} [marketingType]
|
|
11044
|
+
* @param {string} [languageCode]
|
|
11045
|
+
* @param {boolean} [showHidden]
|
|
11046
|
+
* @param {boolean} [returnDefaultValue]
|
|
11047
|
+
* @param {boolean} [includeServices]
|
|
11048
|
+
* @param {number} [page]
|
|
11049
|
+
* @param {number} [limit]
|
|
11050
|
+
* @param {Date} [lastRetrieved]
|
|
11051
|
+
* @param {*} [options] Override http request option.
|
|
11052
|
+
* @throws {RequiredError}
|
|
11053
|
+
*/
|
|
11054
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11055
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11056
|
+
var localVarAxiosArgs;
|
|
11057
|
+
return __generator(this, function (_a) {
|
|
11058
|
+
switch (_a.label) {
|
|
11059
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
|
|
11060
|
+
case 1:
|
|
11061
|
+
localVarAxiosArgs = _a.sent();
|
|
11062
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11063
|
+
}
|
|
11064
|
+
});
|
|
11065
|
+
});
|
|
11066
|
+
},
|
|
10746
11067
|
/**
|
|
10747
11068
|
*
|
|
10748
11069
|
* @summary Get HospitalSpecialty.
|
|
@@ -11167,6 +11488,30 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11167
11488
|
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11168
11489
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11169
11490
|
},
|
|
11491
|
+
/**
|
|
11492
|
+
*
|
|
11493
|
+
* @summary Get all HospitalSpecialties.
|
|
11494
|
+
* @param {string} hospitalId
|
|
11495
|
+
* @param {string} [hospitalName]
|
|
11496
|
+
* @param {string} [hospitalSlug]
|
|
11497
|
+
* @param {string} [specialtyId]
|
|
11498
|
+
* @param {string} [specialtyName]
|
|
11499
|
+
* @param {string} [specialtyTypeId]
|
|
11500
|
+
* @param {string} [title]
|
|
11501
|
+
* @param {MarketingType} [marketingType]
|
|
11502
|
+
* @param {string} [languageCode]
|
|
11503
|
+
* @param {boolean} [showHidden]
|
|
11504
|
+
* @param {boolean} [returnDefaultValue]
|
|
11505
|
+
* @param {boolean} [includeServices]
|
|
11506
|
+
* @param {number} [page]
|
|
11507
|
+
* @param {number} [limit]
|
|
11508
|
+
* @param {Date} [lastRetrieved]
|
|
11509
|
+
* @param {*} [options] Override http request option.
|
|
11510
|
+
* @throws {RequiredError}
|
|
11511
|
+
*/
|
|
11512
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11513
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11514
|
+
},
|
|
11170
11515
|
/**
|
|
11171
11516
|
*
|
|
11172
11517
|
* @summary Get HospitalSpecialty.
|
|
@@ -11541,6 +11886,32 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11541
11886
|
var _this = this;
|
|
11542
11887
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11543
11888
|
};
|
|
11889
|
+
/**
|
|
11890
|
+
*
|
|
11891
|
+
* @summary Get all HospitalSpecialties.
|
|
11892
|
+
* @param {string} hospitalId
|
|
11893
|
+
* @param {string} [hospitalName]
|
|
11894
|
+
* @param {string} [hospitalSlug]
|
|
11895
|
+
* @param {string} [specialtyId]
|
|
11896
|
+
* @param {string} [specialtyName]
|
|
11897
|
+
* @param {string} [specialtyTypeId]
|
|
11898
|
+
* @param {string} [title]
|
|
11899
|
+
* @param {MarketingType} [marketingType]
|
|
11900
|
+
* @param {string} [languageCode]
|
|
11901
|
+
* @param {boolean} [showHidden]
|
|
11902
|
+
* @param {boolean} [returnDefaultValue]
|
|
11903
|
+
* @param {boolean} [includeServices]
|
|
11904
|
+
* @param {number} [page]
|
|
11905
|
+
* @param {number} [limit]
|
|
11906
|
+
* @param {Date} [lastRetrieved]
|
|
11907
|
+
* @param {*} [options] Override http request option.
|
|
11908
|
+
* @throws {RequiredError}
|
|
11909
|
+
* @memberof HospitalsApi
|
|
11910
|
+
*/
|
|
11911
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11912
|
+
var _this = this;
|
|
11913
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11914
|
+
};
|
|
11544
11915
|
/**
|
|
11545
11916
|
*
|
|
11546
11917
|
* @summary Get HospitalSpecialty.
|