ch-api-client-typescript2 3.3.5 → 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 +137 -177
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +21 -28
- package/package.json +1 -1
- package/src/api.ts +147 -191
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
|
}
|
|
@@ -7242,18 +7246,19 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7242
7246
|
* @summary Get all doctor affiliations.
|
|
7243
7247
|
* @param {string} doctorId
|
|
7244
7248
|
* @param {string} [hospitalName]
|
|
7249
|
+
* @param {string} [languageCode]
|
|
7245
7250
|
* @param {number} [page]
|
|
7246
7251
|
* @param {number} [limit]
|
|
7247
7252
|
* @param {Date} [lastRetrieved]
|
|
7248
7253
|
* @param {*} [options] Override http request option.
|
|
7249
7254
|
* @throws {RequiredError}
|
|
7250
7255
|
*/
|
|
7251
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7256
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7252
7257
|
return __awaiter(this, void 0, void 0, function () {
|
|
7253
7258
|
var localVarAxiosArgs;
|
|
7254
7259
|
return __generator(this, function (_a) {
|
|
7255
7260
|
switch (_a.label) {
|
|
7256
|
-
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)];
|
|
7257
7262
|
case 1:
|
|
7258
7263
|
localVarAxiosArgs = _a.sent();
|
|
7259
7264
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7697,14 +7702,15 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7697
7702
|
* @summary Get all doctor affiliations.
|
|
7698
7703
|
* @param {string} doctorId
|
|
7699
7704
|
* @param {string} [hospitalName]
|
|
7705
|
+
* @param {string} [languageCode]
|
|
7700
7706
|
* @param {number} [page]
|
|
7701
7707
|
* @param {number} [limit]
|
|
7702
7708
|
* @param {Date} [lastRetrieved]
|
|
7703
7709
|
* @param {*} [options] Override http request option.
|
|
7704
7710
|
* @throws {RequiredError}
|
|
7705
7711
|
*/
|
|
7706
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7707
|
-
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); });
|
|
7708
7714
|
},
|
|
7709
7715
|
/**
|
|
7710
7716
|
*
|
|
@@ -7976,6 +7982,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7976
7982
|
* @summary Get all doctor affiliations.
|
|
7977
7983
|
* @param {string} doctorId
|
|
7978
7984
|
* @param {string} [hospitalName]
|
|
7985
|
+
* @param {string} [languageCode]
|
|
7979
7986
|
* @param {number} [page]
|
|
7980
7987
|
* @param {number} [limit]
|
|
7981
7988
|
* @param {Date} [lastRetrieved]
|
|
@@ -7983,9 +7990,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7983
7990
|
* @throws {RequiredError}
|
|
7984
7991
|
* @memberof DoctorsApi
|
|
7985
7992
|
*/
|
|
7986
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7993
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7987
7994
|
var _this = this;
|
|
7988
|
-
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); });
|
|
7989
7996
|
};
|
|
7990
7997
|
/**
|
|
7991
7998
|
*
|
|
@@ -10922,12 +10929,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10922
10929
|
* @param {string} hospitalId
|
|
10923
10930
|
* @param {string} specialtyId
|
|
10924
10931
|
* @param {string} [languageCode]
|
|
10925
|
-
* @param {boolean} [returnDefaultValue]
|
|
10926
|
-
* @param {boolean} [includeServices]
|
|
10927
10932
|
* @param {*} [options] Override http request option.
|
|
10928
10933
|
* @throws {RequiredError}
|
|
10929
10934
|
*/
|
|
10930
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
10935
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
10931
10936
|
if (options === void 0) { options = {}; }
|
|
10932
10937
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10933
10938
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10949,12 +10954,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10949
10954
|
if (languageCode !== undefined) {
|
|
10950
10955
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10951
10956
|
}
|
|
10952
|
-
if (returnDefaultValue !== undefined) {
|
|
10953
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10954
|
-
}
|
|
10955
|
-
if (includeServices !== undefined) {
|
|
10956
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
10957
|
-
}
|
|
10958
10957
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10959
10958
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10960
10959
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11955,17 +11954,15 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11955
11954
|
* @param {string} hospitalId
|
|
11956
11955
|
* @param {string} specialtyId
|
|
11957
11956
|
* @param {string} [languageCode]
|
|
11958
|
-
* @param {boolean} [returnDefaultValue]
|
|
11959
|
-
* @param {boolean} [includeServices]
|
|
11960
11957
|
* @param {*} [options] Override http request option.
|
|
11961
11958
|
* @throws {RequiredError}
|
|
11962
11959
|
*/
|
|
11963
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
11960
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
11964
11961
|
return __awaiter(this, void 0, void 0, function () {
|
|
11965
11962
|
var localVarAxiosArgs;
|
|
11966
11963
|
return __generator(this, function (_a) {
|
|
11967
11964
|
switch (_a.label) {
|
|
11968
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
11965
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options)];
|
|
11969
11966
|
case 1:
|
|
11970
11967
|
localVarAxiosArgs = _a.sent();
|
|
11971
11968
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12494,13 +12491,11 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12494
12491
|
* @param {string} hospitalId
|
|
12495
12492
|
* @param {string} specialtyId
|
|
12496
12493
|
* @param {string} [languageCode]
|
|
12497
|
-
* @param {boolean} [returnDefaultValue]
|
|
12498
|
-
* @param {boolean} [includeServices]
|
|
12499
12494
|
* @param {*} [options] Override http request option.
|
|
12500
12495
|
* @throws {RequiredError}
|
|
12501
12496
|
*/
|
|
12502
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
12503
|
-
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); });
|
|
12504
12499
|
},
|
|
12505
12500
|
/**
|
|
12506
12501
|
*
|
|
@@ -12985,15 +12980,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12985
12980
|
* @param {string} hospitalId
|
|
12986
12981
|
* @param {string} specialtyId
|
|
12987
12982
|
* @param {string} [languageCode]
|
|
12988
|
-
* @param {boolean} [returnDefaultValue]
|
|
12989
|
-
* @param {boolean} [includeServices]
|
|
12990
12983
|
* @param {*} [options] Override http request option.
|
|
12991
12984
|
* @throws {RequiredError}
|
|
12992
12985
|
* @memberof HospitalsApi
|
|
12993
12986
|
*/
|
|
12994
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode,
|
|
12987
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, options) {
|
|
12995
12988
|
var _this = this;
|
|
12996
|
-
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); });
|
|
12997
12990
|
};
|
|
12998
12991
|
/**
|
|
12999
12992
|
*
|