ch-api-client-typescript2 3.3.3 → 3.3.6
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 +348 -371
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +56 -42
- package/package.json +1 -1
- package/src/api.ts +372 -387
package/lib/api.js
CHANGED
|
@@ -6260,13 +6260,14 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6260
6260
|
* @summary Get all doctor affiliations.
|
|
6261
6261
|
* @param {string} doctorId
|
|
6262
6262
|
* @param {string} [hospitalName]
|
|
6263
|
+
* @param {string} [languageCode]
|
|
6263
6264
|
* @param {number} [page]
|
|
6264
6265
|
* @param {number} [limit]
|
|
6265
6266
|
* @param {Date} [lastRetrieved]
|
|
6266
6267
|
* @param {*} [options] Override http request option.
|
|
6267
6268
|
* @throws {RequiredError}
|
|
6268
6269
|
*/
|
|
6269
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
6270
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
6270
6271
|
if (options === void 0) { options = {}; }
|
|
6271
6272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6272
6273
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6285,6 +6286,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6285
6286
|
if (hospitalName !== undefined) {
|
|
6286
6287
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
6287
6288
|
}
|
|
6289
|
+
if (languageCode !== undefined) {
|
|
6290
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6291
|
+
}
|
|
6288
6292
|
if (page !== undefined) {
|
|
6289
6293
|
localVarQueryParameter['page'] = page;
|
|
6290
6294
|
}
|
|
@@ -6880,13 +6884,15 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6880
6884
|
* @param {string} [doctorName]
|
|
6881
6885
|
* @param {string} [specialtyId]
|
|
6882
6886
|
* @param {string} [specialtyName]
|
|
6887
|
+
* @param {string} [languageCode]
|
|
6888
|
+
* @param {boolean} [showHidden]
|
|
6883
6889
|
* @param {number} [page]
|
|
6884
6890
|
* @param {number} [limit]
|
|
6885
6891
|
* @param {Date} [lastRetrieved]
|
|
6886
6892
|
* @param {*} [options] Override http request option.
|
|
6887
6893
|
* @throws {RequiredError}
|
|
6888
6894
|
*/
|
|
6889
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
6895
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
6890
6896
|
if (options === void 0) { options = {}; }
|
|
6891
6897
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6892
6898
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6911,6 +6917,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6911
6917
|
if (specialtyName !== undefined) {
|
|
6912
6918
|
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
6913
6919
|
}
|
|
6920
|
+
if (languageCode !== undefined) {
|
|
6921
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6922
|
+
}
|
|
6923
|
+
if (showHidden !== undefined) {
|
|
6924
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
6925
|
+
}
|
|
6914
6926
|
if (page !== undefined) {
|
|
6915
6927
|
localVarQueryParameter['page'] = page;
|
|
6916
6928
|
}
|
|
@@ -6937,10 +6949,11 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6937
6949
|
* @summary Get DoctorSpecialty
|
|
6938
6950
|
* @param {string} doctorId
|
|
6939
6951
|
* @param {string} specialtyId
|
|
6952
|
+
* @param {string} [languageCode]
|
|
6940
6953
|
* @param {*} [options] Override http request option.
|
|
6941
6954
|
* @throws {RequiredError}
|
|
6942
6955
|
*/
|
|
6943
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
6956
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
6944
6957
|
if (options === void 0) { options = {}; }
|
|
6945
6958
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6946
6959
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6959,6 +6972,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6959
6972
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6960
6973
|
localVarHeaderParameter = {};
|
|
6961
6974
|
localVarQueryParameter = {};
|
|
6975
|
+
if (languageCode !== undefined) {
|
|
6976
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
6977
|
+
}
|
|
6962
6978
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6963
6979
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6964
6980
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7230,18 +7246,19 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7230
7246
|
* @summary Get all doctor affiliations.
|
|
7231
7247
|
* @param {string} doctorId
|
|
7232
7248
|
* @param {string} [hospitalName]
|
|
7249
|
+
* @param {string} [languageCode]
|
|
7233
7250
|
* @param {number} [page]
|
|
7234
7251
|
* @param {number} [limit]
|
|
7235
7252
|
* @param {Date} [lastRetrieved]
|
|
7236
7253
|
* @param {*} [options] Override http request option.
|
|
7237
7254
|
* @throws {RequiredError}
|
|
7238
7255
|
*/
|
|
7239
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7256
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7240
7257
|
return __awaiter(this, void 0, void 0, function () {
|
|
7241
7258
|
var localVarAxiosArgs;
|
|
7242
7259
|
return __generator(this, function (_a) {
|
|
7243
7260
|
switch (_a.label) {
|
|
7244
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
|
|
7261
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
|
|
7245
7262
|
case 1:
|
|
7246
7263
|
localVarAxiosArgs = _a.sent();
|
|
7247
7264
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7534,18 +7551,20 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7534
7551
|
* @param {string} [doctorName]
|
|
7535
7552
|
* @param {string} [specialtyId]
|
|
7536
7553
|
* @param {string} [specialtyName]
|
|
7554
|
+
* @param {string} [languageCode]
|
|
7555
|
+
* @param {boolean} [showHidden]
|
|
7537
7556
|
* @param {number} [page]
|
|
7538
7557
|
* @param {number} [limit]
|
|
7539
7558
|
* @param {Date} [lastRetrieved]
|
|
7540
7559
|
* @param {*} [options] Override http request option.
|
|
7541
7560
|
* @throws {RequiredError}
|
|
7542
7561
|
*/
|
|
7543
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
7562
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7544
7563
|
return __awaiter(this, void 0, void 0, function () {
|
|
7545
7564
|
var localVarAxiosArgs;
|
|
7546
7565
|
return __generator(this, function (_a) {
|
|
7547
7566
|
switch (_a.label) {
|
|
7548
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options)];
|
|
7567
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
7549
7568
|
case 1:
|
|
7550
7569
|
localVarAxiosArgs = _a.sent();
|
|
7551
7570
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7558,15 +7577,16 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7558
7577
|
* @summary Get DoctorSpecialty
|
|
7559
7578
|
* @param {string} doctorId
|
|
7560
7579
|
* @param {string} specialtyId
|
|
7580
|
+
* @param {string} [languageCode]
|
|
7561
7581
|
* @param {*} [options] Override http request option.
|
|
7562
7582
|
* @throws {RequiredError}
|
|
7563
7583
|
*/
|
|
7564
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
7584
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
7565
7585
|
return __awaiter(this, void 0, void 0, function () {
|
|
7566
7586
|
var localVarAxiosArgs;
|
|
7567
7587
|
return __generator(this, function (_a) {
|
|
7568
7588
|
switch (_a.label) {
|
|
7569
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options)];
|
|
7589
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options)];
|
|
7570
7590
|
case 1:
|
|
7571
7591
|
localVarAxiosArgs = _a.sent();
|
|
7572
7592
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7682,14 +7702,15 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7682
7702
|
* @summary Get all doctor affiliations.
|
|
7683
7703
|
* @param {string} doctorId
|
|
7684
7704
|
* @param {string} [hospitalName]
|
|
7705
|
+
* @param {string} [languageCode]
|
|
7685
7706
|
* @param {number} [page]
|
|
7686
7707
|
* @param {number} [limit]
|
|
7687
7708
|
* @param {Date} [lastRetrieved]
|
|
7688
7709
|
* @param {*} [options] Override http request option.
|
|
7689
7710
|
* @throws {RequiredError}
|
|
7690
7711
|
*/
|
|
7691
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7692
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7712
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7713
|
+
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7693
7714
|
},
|
|
7694
7715
|
/**
|
|
7695
7716
|
*
|
|
@@ -7856,25 +7877,28 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7856
7877
|
* @param {string} [doctorName]
|
|
7857
7878
|
* @param {string} [specialtyId]
|
|
7858
7879
|
* @param {string} [specialtyName]
|
|
7880
|
+
* @param {string} [languageCode]
|
|
7881
|
+
* @param {boolean} [showHidden]
|
|
7859
7882
|
* @param {number} [page]
|
|
7860
7883
|
* @param {number} [limit]
|
|
7861
7884
|
* @param {Date} [lastRetrieved]
|
|
7862
7885
|
* @param {*} [options] Override http request option.
|
|
7863
7886
|
* @throws {RequiredError}
|
|
7864
7887
|
*/
|
|
7865
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
7866
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7888
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7889
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7867
7890
|
},
|
|
7868
7891
|
/**
|
|
7869
7892
|
*
|
|
7870
7893
|
* @summary Get DoctorSpecialty
|
|
7871
7894
|
* @param {string} doctorId
|
|
7872
7895
|
* @param {string} specialtyId
|
|
7896
|
+
* @param {string} [languageCode]
|
|
7873
7897
|
* @param {*} [options] Override http request option.
|
|
7874
7898
|
* @throws {RequiredError}
|
|
7875
7899
|
*/
|
|
7876
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
7877
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
7900
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
7901
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
7878
7902
|
},
|
|
7879
7903
|
/**
|
|
7880
7904
|
*
|
|
@@ -7958,6 +7982,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7958
7982
|
* @summary Get all doctor affiliations.
|
|
7959
7983
|
* @param {string} doctorId
|
|
7960
7984
|
* @param {string} [hospitalName]
|
|
7985
|
+
* @param {string} [languageCode]
|
|
7961
7986
|
* @param {number} [page]
|
|
7962
7987
|
* @param {number} [limit]
|
|
7963
7988
|
* @param {Date} [lastRetrieved]
|
|
@@ -7965,9 +7990,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7965
7990
|
* @throws {RequiredError}
|
|
7966
7991
|
* @memberof DoctorsApi
|
|
7967
7992
|
*/
|
|
7968
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7993
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7969
7994
|
var _this = this;
|
|
7970
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7995
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7971
7996
|
};
|
|
7972
7997
|
/**
|
|
7973
7998
|
*
|
|
@@ -8158,6 +8183,8 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8158
8183
|
* @param {string} [doctorName]
|
|
8159
8184
|
* @param {string} [specialtyId]
|
|
8160
8185
|
* @param {string} [specialtyName]
|
|
8186
|
+
* @param {string} [languageCode]
|
|
8187
|
+
* @param {boolean} [showHidden]
|
|
8161
8188
|
* @param {number} [page]
|
|
8162
8189
|
* @param {number} [limit]
|
|
8163
8190
|
* @param {Date} [lastRetrieved]
|
|
@@ -8165,22 +8192,23 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8165
8192
|
* @throws {RequiredError}
|
|
8166
8193
|
* @memberof DoctorsApi
|
|
8167
8194
|
*/
|
|
8168
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
8195
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8169
8196
|
var _this = this;
|
|
8170
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8197
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8171
8198
|
};
|
|
8172
8199
|
/**
|
|
8173
8200
|
*
|
|
8174
8201
|
* @summary Get DoctorSpecialty
|
|
8175
8202
|
* @param {string} doctorId
|
|
8176
8203
|
* @param {string} specialtyId
|
|
8204
|
+
* @param {string} [languageCode]
|
|
8177
8205
|
* @param {*} [options] Override http request option.
|
|
8178
8206
|
* @throws {RequiredError}
|
|
8179
8207
|
* @memberof DoctorsApi
|
|
8180
8208
|
*/
|
|
8181
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet = function (doctorId, specialtyId, options) {
|
|
8209
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet = function (doctorId, specialtyId, languageCode, options) {
|
|
8182
8210
|
var _this = this;
|
|
8183
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8211
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8184
8212
|
};
|
|
8185
8213
|
/**
|
|
8186
8214
|
*
|
|
@@ -10901,12 +10929,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10901
10929
|
* @param {string} hospitalId
|
|
10902
10930
|
* @param {string} specialtyId
|
|
10903
10931
|
* @param {string} [languageCode]
|
|
10904
|
-
* @param {boolean} [returnDefaultValue]
|
|
10905
|
-
* @param {boolean} [includeServices]
|
|
10906
10932
|
* @param {*} [options] Override http request option.
|
|
10907
10933
|
* @throws {RequiredError}
|
|
10908
10934
|
*/
|
|
10909
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
10935
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
10910
10936
|
if (options === void 0) { options = {}; }
|
|
10911
10937
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10912
10938
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10928,12 +10954,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10928
10954
|
if (languageCode !== undefined) {
|
|
10929
10955
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10930
10956
|
}
|
|
10931
|
-
if (returnDefaultValue !== undefined) {
|
|
10932
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10933
|
-
}
|
|
10934
|
-
if (includeServices !== undefined) {
|
|
10935
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
10936
|
-
}
|
|
10937
10957
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10938
10958
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10939
10959
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11934,17 +11954,15 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11934
11954
|
* @param {string} hospitalId
|
|
11935
11955
|
* @param {string} specialtyId
|
|
11936
11956
|
* @param {string} [languageCode]
|
|
11937
|
-
* @param {boolean} [returnDefaultValue]
|
|
11938
|
-
* @param {boolean} [includeServices]
|
|
11939
11957
|
* @param {*} [options] Override http request option.
|
|
11940
11958
|
* @throws {RequiredError}
|
|
11941
11959
|
*/
|
|
11942
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
11960
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
11943
11961
|
return __awaiter(this, void 0, void 0, function () {
|
|
11944
11962
|
var localVarAxiosArgs;
|
|
11945
11963
|
return __generator(this, function (_a) {
|
|
11946
11964
|
switch (_a.label) {
|
|
11947
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
11965
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options)];
|
|
11948
11966
|
case 1:
|
|
11949
11967
|
localVarAxiosArgs = _a.sent();
|
|
11950
11968
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12473,13 +12491,11 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12473
12491
|
* @param {string} hospitalId
|
|
12474
12492
|
* @param {string} specialtyId
|
|
12475
12493
|
* @param {string} [languageCode]
|
|
12476
|
-
* @param {boolean} [returnDefaultValue]
|
|
12477
|
-
* @param {boolean} [includeServices]
|
|
12478
12494
|
* @param {*} [options] Override http request option.
|
|
12479
12495
|
* @throws {RequiredError}
|
|
12480
12496
|
*/
|
|
12481
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
12482
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
12497
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
12498
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12483
12499
|
},
|
|
12484
12500
|
/**
|
|
12485
12501
|
*
|
|
@@ -12964,15 +12980,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12964
12980
|
* @param {string} hospitalId
|
|
12965
12981
|
* @param {string} specialtyId
|
|
12966
12982
|
* @param {string} [languageCode]
|
|
12967
|
-
* @param {boolean} [returnDefaultValue]
|
|
12968
|
-
* @param {boolean} [includeServices]
|
|
12969
12983
|
* @param {*} [options] Override http request option.
|
|
12970
12984
|
* @throws {RequiredError}
|
|
12971
12985
|
* @memberof HospitalsApi
|
|
12972
12986
|
*/
|
|
12973
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode,
|
|
12987
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, options) {
|
|
12974
12988
|
var _this = this;
|
|
12975
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
12989
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12976
12990
|
};
|
|
12977
12991
|
/**
|
|
12978
12992
|
*
|