ch-admin-api-client-typescript 3.3.6 → 3.4.0

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.js CHANGED
@@ -13888,7 +13888,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13888
13888
  *
13889
13889
  * @summary Get all Doctors.
13890
13890
  * @param {string} [hospitalId]
13891
- * @param {string} [hospitalName]
13892
13891
  * @param {string} [languageCode]
13893
13892
  * @param {boolean} [returnDefaultValue]
13894
13893
  * @param {Array<string>} [ids]
@@ -13907,7 +13906,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13907
13906
  * @param {*} [options] Override http request option.
13908
13907
  * @throws {RequiredError}
13909
13908
  */
13910
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13909
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13911
13910
  if (options === void 0) { options = {}; }
13912
13911
  return __awaiter(_this, void 0, void 0, function () {
13913
13912
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -13932,9 +13931,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13932
13931
  if (hospitalId !== undefined) {
13933
13932
  localVarQueryParameter['HospitalId'] = hospitalId;
13934
13933
  }
13935
- if (hospitalName !== undefined) {
13936
- localVarQueryParameter['HospitalName'] = hospitalName;
13937
- }
13938
13934
  if (languageCode !== undefined) {
13939
13935
  localVarQueryParameter['LanguageCode'] = languageCode;
13940
13936
  }
@@ -14043,7 +14039,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14043
14039
  *
14044
14040
  * @summary Get all Doctors.
14045
14041
  * @param {string} [hospitalId]
14046
- * @param {string} [hospitalName]
14047
14042
  * @param {string} [languageCode]
14048
14043
  * @param {boolean} [returnDefaultValue]
14049
14044
  * @param {Array<string>} [ids]
@@ -14062,7 +14057,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14062
14057
  * @param {*} [options] Override http request option.
14063
14058
  * @throws {RequiredError}
14064
14059
  */
14065
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14060
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14066
14061
  if (options === void 0) { options = {}; }
14067
14062
  return __awaiter(_this, void 0, void 0, function () {
14068
14063
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14087,9 +14082,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14087
14082
  if (hospitalId !== undefined) {
14088
14083
  localVarQueryParameter['HospitalId'] = hospitalId;
14089
14084
  }
14090
- if (hospitalName !== undefined) {
14091
- localVarQueryParameter['HospitalName'] = hospitalName;
14092
- }
14093
14085
  if (languageCode !== undefined) {
14094
14086
  localVarQueryParameter['LanguageCode'] = languageCode;
14095
14087
  }
@@ -15030,7 +15022,6 @@ exports.DoctorsApiFp = function (configuration) {
15030
15022
  *
15031
15023
  * @summary Get all Doctors.
15032
15024
  * @param {string} [hospitalId]
15033
- * @param {string} [hospitalName]
15034
15025
  * @param {string} [languageCode]
15035
15026
  * @param {boolean} [returnDefaultValue]
15036
15027
  * @param {Array<string>} [ids]
@@ -15049,12 +15040,12 @@ exports.DoctorsApiFp = function (configuration) {
15049
15040
  * @param {*} [options] Override http request option.
15050
15041
  * @throws {RequiredError}
15051
15042
  */
15052
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15043
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15053
15044
  return __awaiter(this, void 0, void 0, function () {
15054
15045
  var localVarAxiosArgs;
15055
15046
  return __generator(this, function (_a) {
15056
15047
  switch (_a.label) {
15057
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15048
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15058
15049
  case 1:
15059
15050
  localVarAxiosArgs = _a.sent();
15060
15051
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15086,7 +15077,6 @@ exports.DoctorsApiFp = function (configuration) {
15086
15077
  *
15087
15078
  * @summary Get all Doctors.
15088
15079
  * @param {string} [hospitalId]
15089
- * @param {string} [hospitalName]
15090
15080
  * @param {string} [languageCode]
15091
15081
  * @param {boolean} [returnDefaultValue]
15092
15082
  * @param {Array<string>} [ids]
@@ -15105,12 +15095,12 @@ exports.DoctorsApiFp = function (configuration) {
15105
15095
  * @param {*} [options] Override http request option.
15106
15096
  * @throws {RequiredError}
15107
15097
  */
15108
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15098
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15109
15099
  return __awaiter(this, void 0, void 0, function () {
15110
15100
  var localVarAxiosArgs;
15111
15101
  return __generator(this, function (_a) {
15112
15102
  switch (_a.label) {
15113
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15103
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15114
15104
  case 1:
15115
15105
  localVarAxiosArgs = _a.sent();
15116
15106
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15597,7 +15587,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15597
15587
  *
15598
15588
  * @summary Get all Doctors.
15599
15589
  * @param {string} [hospitalId]
15600
- * @param {string} [hospitalName]
15601
15590
  * @param {string} [languageCode]
15602
15591
  * @param {boolean} [returnDefaultValue]
15603
15592
  * @param {Array<string>} [ids]
@@ -15616,8 +15605,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15616
15605
  * @param {*} [options] Override http request option.
15617
15606
  * @throws {RequiredError}
15618
15607
  */
15619
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15620
- return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15608
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15609
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15621
15610
  },
15622
15611
  /**
15623
15612
  *
@@ -15633,7 +15622,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15633
15622
  *
15634
15623
  * @summary Get all Doctors.
15635
15624
  * @param {string} [hospitalId]
15636
- * @param {string} [hospitalName]
15637
15625
  * @param {string} [languageCode]
15638
15626
  * @param {boolean} [returnDefaultValue]
15639
15627
  * @param {Array<string>} [ids]
@@ -15652,8 +15640,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15652
15640
  * @param {*} [options] Override http request option.
15653
15641
  * @throws {RequiredError}
15654
15642
  */
15655
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15656
- return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15643
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15644
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15657
15645
  },
15658
15646
  /**
15659
15647
  *
@@ -16202,7 +16190,6 @@ var DoctorsApi = /** @class */ (function (_super) {
16202
16190
  *
16203
16191
  * @summary Get all Doctors.
16204
16192
  * @param {string} [hospitalId]
16205
- * @param {string} [hospitalName]
16206
16193
  * @param {string} [languageCode]
16207
16194
  * @param {boolean} [returnDefaultValue]
16208
16195
  * @param {Array<string>} [ids]
@@ -16222,9 +16209,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16222
16209
  * @throws {RequiredError}
16223
16210
  * @memberof DoctorsApi
16224
16211
  */
16225
- DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16212
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16226
16213
  var _this = this;
16227
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16214
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16228
16215
  };
16229
16216
  /**
16230
16217
  *
@@ -16242,7 +16229,6 @@ var DoctorsApi = /** @class */ (function (_super) {
16242
16229
  *
16243
16230
  * @summary Get all Doctors.
16244
16231
  * @param {string} [hospitalId]
16245
- * @param {string} [hospitalName]
16246
16232
  * @param {string} [languageCode]
16247
16233
  * @param {boolean} [returnDefaultValue]
16248
16234
  * @param {Array<string>} [ids]
@@ -16262,9 +16248,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16262
16248
  * @throws {RequiredError}
16263
16249
  * @memberof DoctorsApi
16264
16250
  */
16265
- DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16251
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16266
16252
  var _this = this;
16267
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16253
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16268
16254
  };
16269
16255
  /**
16270
16256
  *
@@ -31004,13 +30990,14 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31004
30990
  * @param {boolean} [recommended]
31005
30991
  * @param {number} [rate]
31006
30992
  * @param {ReviewType} [reviewType]
30993
+ * @param {string} [languageCode]
31007
30994
  * @param {number} [page]
31008
30995
  * @param {number} [limit]
31009
30996
  * @param {Date} [lastRetrieved]
31010
30997
  * @param {*} [options] Override http request option.
31011
30998
  * @throws {RequiredError}
31012
30999
  */
31013
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31000
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31014
31001
  if (options === void 0) { options = {}; }
31015
31002
  return __awaiter(_this, void 0, void 0, function () {
31016
31003
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -31056,6 +31043,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31056
31043
  if (reviewType !== undefined) {
31057
31044
  localVarQueryParameter['ReviewType'] = reviewType;
31058
31045
  }
31046
+ if (languageCode !== undefined) {
31047
+ localVarQueryParameter['LanguageCode'] = languageCode;
31048
+ }
31059
31049
  if (page !== undefined) {
31060
31050
  localVarQueryParameter['page'] = page;
31061
31051
  }
@@ -31526,18 +31516,19 @@ exports.ServiceReviewsApiFp = function (configuration) {
31526
31516
  * @param {boolean} [recommended]
31527
31517
  * @param {number} [rate]
31528
31518
  * @param {ReviewType} [reviewType]
31519
+ * @param {string} [languageCode]
31529
31520
  * @param {number} [page]
31530
31521
  * @param {number} [limit]
31531
31522
  * @param {Date} [lastRetrieved]
31532
31523
  * @param {*} [options] Override http request option.
31533
31524
  * @throws {RequiredError}
31534
31525
  */
31535
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31526
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31536
31527
  return __awaiter(this, void 0, void 0, function () {
31537
31528
  var localVarAxiosArgs;
31538
31529
  return __generator(this, function (_a) {
31539
31530
  switch (_a.label) {
31540
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
31531
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options)];
31541
31532
  case 1:
31542
31533
  localVarAxiosArgs = _a.sent();
31543
31534
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -31755,14 +31746,15 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
31755
31746
  * @param {boolean} [recommended]
31756
31747
  * @param {number} [rate]
31757
31748
  * @param {ReviewType} [reviewType]
31749
+ * @param {string} [languageCode]
31758
31750
  * @param {number} [page]
31759
31751
  * @param {number} [limit]
31760
31752
  * @param {Date} [lastRetrieved]
31761
31753
  * @param {*} [options] Override http request option.
31762
31754
  * @throws {RequiredError}
31763
31755
  */
31764
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31765
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31756
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31757
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31766
31758
  },
31767
31759
  /**
31768
31760
  *
@@ -31888,6 +31880,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
31888
31880
  * @param {boolean} [recommended]
31889
31881
  * @param {number} [rate]
31890
31882
  * @param {ReviewType} [reviewType]
31883
+ * @param {string} [languageCode]
31891
31884
  * @param {number} [page]
31892
31885
  * @param {number} [limit]
31893
31886
  * @param {Date} [lastRetrieved]
@@ -31895,9 +31888,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
31895
31888
  * @throws {RequiredError}
31896
31889
  * @memberof ServiceReviewsApi
31897
31890
  */
31898
- ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31891
+ ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31899
31892
  var _this = this;
31900
- return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31893
+ return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31901
31894
  };
31902
31895
  /**
31903
31896
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "3.3.6",
3
+ "version": "3.4.0",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {