ch-api-client-typescript2 3.3.2 → 3.3.5
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 +271 -528
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +35 -14
- package/package.json +1 -1
- package/src/api.ts +327 -572
package/lib/api.js
CHANGED
|
@@ -6880,13 +6880,15 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6880
6880
|
* @param {string} [doctorName]
|
|
6881
6881
|
* @param {string} [specialtyId]
|
|
6882
6882
|
* @param {string} [specialtyName]
|
|
6883
|
+
* @param {string} [languageCode]
|
|
6884
|
+
* @param {boolean} [showHidden]
|
|
6883
6885
|
* @param {number} [page]
|
|
6884
6886
|
* @param {number} [limit]
|
|
6885
6887
|
* @param {Date} [lastRetrieved]
|
|
6886
6888
|
* @param {*} [options] Override http request option.
|
|
6887
6889
|
* @throws {RequiredError}
|
|
6888
6890
|
*/
|
|
6889
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
6891
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
6890
6892
|
if (options === void 0) { options = {}; }
|
|
6891
6893
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6892
6894
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6911,6 +6913,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6911
6913
|
if (specialtyName !== undefined) {
|
|
6912
6914
|
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
6913
6915
|
}
|
|
6916
|
+
if (languageCode !== undefined) {
|
|
6917
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6918
|
+
}
|
|
6919
|
+
if (showHidden !== undefined) {
|
|
6920
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
6921
|
+
}
|
|
6914
6922
|
if (page !== undefined) {
|
|
6915
6923
|
localVarQueryParameter['page'] = page;
|
|
6916
6924
|
}
|
|
@@ -6937,10 +6945,11 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6937
6945
|
* @summary Get DoctorSpecialty
|
|
6938
6946
|
* @param {string} doctorId
|
|
6939
6947
|
* @param {string} specialtyId
|
|
6948
|
+
* @param {string} [languageCode]
|
|
6940
6949
|
* @param {*} [options] Override http request option.
|
|
6941
6950
|
* @throws {RequiredError}
|
|
6942
6951
|
*/
|
|
6943
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
6952
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
6944
6953
|
if (options === void 0) { options = {}; }
|
|
6945
6954
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6946
6955
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6959,6 +6968,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6959
6968
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6960
6969
|
localVarHeaderParameter = {};
|
|
6961
6970
|
localVarQueryParameter = {};
|
|
6971
|
+
if (languageCode !== undefined) {
|
|
6972
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
6973
|
+
}
|
|
6962
6974
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6963
6975
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6964
6976
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7534,18 +7546,20 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7534
7546
|
* @param {string} [doctorName]
|
|
7535
7547
|
* @param {string} [specialtyId]
|
|
7536
7548
|
* @param {string} [specialtyName]
|
|
7549
|
+
* @param {string} [languageCode]
|
|
7550
|
+
* @param {boolean} [showHidden]
|
|
7537
7551
|
* @param {number} [page]
|
|
7538
7552
|
* @param {number} [limit]
|
|
7539
7553
|
* @param {Date} [lastRetrieved]
|
|
7540
7554
|
* @param {*} [options] Override http request option.
|
|
7541
7555
|
* @throws {RequiredError}
|
|
7542
7556
|
*/
|
|
7543
|
-
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
7557
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7544
7558
|
return __awaiter(this, void 0, void 0, function () {
|
|
7545
7559
|
var localVarAxiosArgs;
|
|
7546
7560
|
return __generator(this, function (_a) {
|
|
7547
7561
|
switch (_a.label) {
|
|
7548
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options)];
|
|
7562
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
7549
7563
|
case 1:
|
|
7550
7564
|
localVarAxiosArgs = _a.sent();
|
|
7551
7565
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7558,15 +7572,16 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7558
7572
|
* @summary Get DoctorSpecialty
|
|
7559
7573
|
* @param {string} doctorId
|
|
7560
7574
|
* @param {string} specialtyId
|
|
7575
|
+
* @param {string} [languageCode]
|
|
7561
7576
|
* @param {*} [options] Override http request option.
|
|
7562
7577
|
* @throws {RequiredError}
|
|
7563
7578
|
*/
|
|
7564
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
7579
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
7565
7580
|
return __awaiter(this, void 0, void 0, function () {
|
|
7566
7581
|
var localVarAxiosArgs;
|
|
7567
7582
|
return __generator(this, function (_a) {
|
|
7568
7583
|
switch (_a.label) {
|
|
7569
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options)];
|
|
7584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options)];
|
|
7570
7585
|
case 1:
|
|
7571
7586
|
localVarAxiosArgs = _a.sent();
|
|
7572
7587
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7856,25 +7871,28 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7856
7871
|
* @param {string} [doctorName]
|
|
7857
7872
|
* @param {string} [specialtyId]
|
|
7858
7873
|
* @param {string} [specialtyName]
|
|
7874
|
+
* @param {string} [languageCode]
|
|
7875
|
+
* @param {boolean} [showHidden]
|
|
7859
7876
|
* @param {number} [page]
|
|
7860
7877
|
* @param {number} [limit]
|
|
7861
7878
|
* @param {Date} [lastRetrieved]
|
|
7862
7879
|
* @param {*} [options] Override http request option.
|
|
7863
7880
|
* @throws {RequiredError}
|
|
7864
7881
|
*/
|
|
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); });
|
|
7882
|
+
apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7883
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7867
7884
|
},
|
|
7868
7885
|
/**
|
|
7869
7886
|
*
|
|
7870
7887
|
* @summary Get DoctorSpecialty
|
|
7871
7888
|
* @param {string} doctorId
|
|
7872
7889
|
* @param {string} specialtyId
|
|
7890
|
+
* @param {string} [languageCode]
|
|
7873
7891
|
* @param {*} [options] Override http request option.
|
|
7874
7892
|
* @throws {RequiredError}
|
|
7875
7893
|
*/
|
|
7876
|
-
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, options) {
|
|
7877
|
-
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
7894
|
+
apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: function (doctorId, specialtyId, languageCode, options) {
|
|
7895
|
+
return localVarFp.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
7878
7896
|
},
|
|
7879
7897
|
/**
|
|
7880
7898
|
*
|
|
@@ -8158,6 +8176,8 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8158
8176
|
* @param {string} [doctorName]
|
|
8159
8177
|
* @param {string} [specialtyId]
|
|
8160
8178
|
* @param {string} [specialtyName]
|
|
8179
|
+
* @param {string} [languageCode]
|
|
8180
|
+
* @param {boolean} [showHidden]
|
|
8161
8181
|
* @param {number} [page]
|
|
8162
8182
|
* @param {number} [limit]
|
|
8163
8183
|
* @param {Date} [lastRetrieved]
|
|
@@ -8165,22 +8185,23 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8165
8185
|
* @throws {RequiredError}
|
|
8166
8186
|
* @memberof DoctorsApi
|
|
8167
8187
|
*/
|
|
8168
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
8188
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8169
8189
|
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); });
|
|
8190
|
+
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
8191
|
};
|
|
8172
8192
|
/**
|
|
8173
8193
|
*
|
|
8174
8194
|
* @summary Get DoctorSpecialty
|
|
8175
8195
|
* @param {string} doctorId
|
|
8176
8196
|
* @param {string} specialtyId
|
|
8197
|
+
* @param {string} [languageCode]
|
|
8177
8198
|
* @param {*} [options] Override http request option.
|
|
8178
8199
|
* @throws {RequiredError}
|
|
8179
8200
|
* @memberof DoctorsApi
|
|
8180
8201
|
*/
|
|
8181
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet = function (doctorId, specialtyId, options) {
|
|
8202
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet = function (doctorId, specialtyId, languageCode, options) {
|
|
8182
8203
|
var _this = this;
|
|
8183
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8204
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8184
8205
|
};
|
|
8185
8206
|
/**
|
|
8186
8207
|
*
|