ch-api-client-typescript2 3.4.9 → 3.5.2

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
@@ -6732,7 +6732,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6732
6732
  },
6733
6733
  /**
6734
6734
  *
6735
- * @summary Delete DoctorCertificate.
6735
+ * @summary Get All DoctorCertificate.
6736
6736
  * @param {string} doctorId
6737
6737
  * @param {string} [doctorName]
6738
6738
  * @param {string} [certificateId]
@@ -7550,7 +7550,7 @@ var DoctorsApiFp = function (configuration) {
7550
7550
  },
7551
7551
  /**
7552
7552
  *
7553
- * @summary Delete DoctorCertificate.
7553
+ * @summary Get All DoctorCertificate.
7554
7554
  * @param {string} doctorId
7555
7555
  * @param {string} [doctorName]
7556
7556
  * @param {string} [certificateId]
@@ -7924,7 +7924,7 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7924
7924
  },
7925
7925
  /**
7926
7926
  *
7927
- * @summary Delete DoctorCertificate.
7927
+ * @summary Get All DoctorCertificate.
7928
7928
  * @param {string} doctorId
7929
7929
  * @param {string} [doctorName]
7930
7930
  * @param {string} [certificateId]
@@ -8164,7 +8164,7 @@ var DoctorsApi = /** @class */ (function (_super) {
8164
8164
  };
8165
8165
  /**
8166
8166
  *
8167
- * @summary Delete DoctorCertificate.
8167
+ * @summary Get All DoctorCertificate.
8168
8168
  * @param {string} doctorId
8169
8169
  * @param {string} [doctorName]
8170
8170
  * @param {string} [certificateId]
@@ -15438,7 +15438,7 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15438
15438
  /**
15439
15439
  *
15440
15440
  * @summary Get all ServiceReviews.
15441
- * @param {string} [hospitalId]
15441
+ * @param {string} [id]
15442
15442
  * @param {string} [serviceId]
15443
15443
  * @param {string} [serviceName]
15444
15444
  * @param {string} [patientId]
@@ -15448,14 +15448,14 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15448
15448
  * @param {number} [rate]
15449
15449
  * @param {ReviewType} [reviewType]
15450
15450
  * @param {string} [languageCode]
15451
- * @param {boolean} [returnDefaultValue]
15451
+ * @param {boolean} [showHidden]
15452
15452
  * @param {number} [page]
15453
15453
  * @param {number} [limit]
15454
15454
  * @param {Date} [lastRetrieved]
15455
15455
  * @param {*} [options] Override http request option.
15456
15456
  * @throws {RequiredError}
15457
15457
  */
15458
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
15458
+ apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
15459
15459
  if (options === void 0) { options = {}; }
15460
15460
  return __awaiter(_this, void 0, void 0, function () {
15461
15461
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -15468,8 +15468,8 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15468
15468
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15469
15469
  localVarHeaderParameter = {};
15470
15470
  localVarQueryParameter = {};
15471
- if (hospitalId !== undefined) {
15472
- localVarQueryParameter['HospitalId'] = hospitalId;
15471
+ if (id !== undefined) {
15472
+ localVarQueryParameter['Id'] = id;
15473
15473
  }
15474
15474
  if (serviceId !== undefined) {
15475
15475
  localVarQueryParameter['ServiceId'] = serviceId;
@@ -15498,8 +15498,8 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15498
15498
  if (languageCode !== undefined) {
15499
15499
  localVarQueryParameter['LanguageCode'] = languageCode;
15500
15500
  }
15501
- if (returnDefaultValue !== undefined) {
15502
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
15501
+ if (showHidden !== undefined) {
15502
+ localVarQueryParameter['ShowHidden'] = showHidden;
15503
15503
  }
15504
15504
  if (page !== undefined) {
15505
15505
  localVarQueryParameter['page'] = page;
@@ -15610,10 +15610,11 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15610
15610
  /**
15611
15611
  *
15612
15612
  * @param {string} serviceReviewId
15613
+ * @param {string} [languageCode]
15613
15614
  * @param {*} [options] Override http request option.
15614
15615
  * @throws {RequiredError}
15615
15616
  */
15616
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
15617
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
15617
15618
  if (options === void 0) { options = {}; }
15618
15619
  return __awaiter(_this, void 0, void 0, function () {
15619
15620
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -15629,6 +15630,9 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
15629
15630
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15630
15631
  localVarHeaderParameter = {};
15631
15632
  localVarQueryParameter = {};
15633
+ if (languageCode !== undefined) {
15634
+ localVarQueryParameter['languageCode'] = languageCode;
15635
+ }
15632
15636
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15633
15637
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15634
15638
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -15933,7 +15937,7 @@ var ServiceReviewsApiFp = function (configuration) {
15933
15937
  /**
15934
15938
  *
15935
15939
  * @summary Get all ServiceReviews.
15936
- * @param {string} [hospitalId]
15940
+ * @param {string} [id]
15937
15941
  * @param {string} [serviceId]
15938
15942
  * @param {string} [serviceName]
15939
15943
  * @param {string} [patientId]
@@ -15943,19 +15947,19 @@ var ServiceReviewsApiFp = function (configuration) {
15943
15947
  * @param {number} [rate]
15944
15948
  * @param {ReviewType} [reviewType]
15945
15949
  * @param {string} [languageCode]
15946
- * @param {boolean} [returnDefaultValue]
15950
+ * @param {boolean} [showHidden]
15947
15951
  * @param {number} [page]
15948
15952
  * @param {number} [limit]
15949
15953
  * @param {Date} [lastRetrieved]
15950
15954
  * @param {*} [options] Override http request option.
15951
15955
  * @throws {RequiredError}
15952
15956
  */
15953
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
15957
+ apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
15954
15958
  return __awaiter(this, void 0, void 0, function () {
15955
15959
  var localVarAxiosArgs;
15956
15960
  return __generator(this, function (_a) {
15957
15961
  switch (_a.label) {
15958
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
15962
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
15959
15963
  case 1:
15960
15964
  localVarAxiosArgs = _a.sent();
15961
15965
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16006,15 +16010,16 @@ var ServiceReviewsApiFp = function (configuration) {
16006
16010
  /**
16007
16011
  *
16008
16012
  * @param {string} serviceReviewId
16013
+ * @param {string} [languageCode]
16009
16014
  * @param {*} [options] Override http request option.
16010
16015
  * @throws {RequiredError}
16011
16016
  */
16012
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
16017
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
16013
16018
  return __awaiter(this, void 0, void 0, function () {
16014
16019
  var localVarAxiosArgs;
16015
16020
  return __generator(this, function (_a) {
16016
16021
  switch (_a.label) {
16017
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
16022
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
16018
16023
  case 1:
16019
16024
  localVarAxiosArgs = _a.sent();
16020
16025
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16166,7 +16171,7 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
16166
16171
  /**
16167
16172
  *
16168
16173
  * @summary Get all ServiceReviews.
16169
- * @param {string} [hospitalId]
16174
+ * @param {string} [id]
16170
16175
  * @param {string} [serviceId]
16171
16176
  * @param {string} [serviceName]
16172
16177
  * @param {string} [patientId]
@@ -16176,15 +16181,15 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
16176
16181
  * @param {number} [rate]
16177
16182
  * @param {ReviewType} [reviewType]
16178
16183
  * @param {string} [languageCode]
16179
- * @param {boolean} [returnDefaultValue]
16184
+ * @param {boolean} [showHidden]
16180
16185
  * @param {number} [page]
16181
16186
  * @param {number} [limit]
16182
16187
  * @param {Date} [lastRetrieved]
16183
16188
  * @param {*} [options] Override http request option.
16184
16189
  * @throws {RequiredError}
16185
16190
  */
16186
- apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16187
- return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16191
+ apiV2ServicereviewsGet: function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
16192
+ return localVarFp.apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16188
16193
  },
16189
16194
  /**
16190
16195
  *
@@ -16209,11 +16214,12 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
16209
16214
  /**
16210
16215
  *
16211
16216
  * @param {string} serviceReviewId
16217
+ * @param {string} [languageCode]
16212
16218
  * @param {*} [options] Override http request option.
16213
16219
  * @throws {RequiredError}
16214
16220
  */
16215
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
16216
- return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
16221
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
16222
+ return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
16217
16223
  },
16218
16224
  /**
16219
16225
  *
@@ -16303,7 +16309,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
16303
16309
  /**
16304
16310
  *
16305
16311
  * @summary Get all ServiceReviews.
16306
- * @param {string} [hospitalId]
16312
+ * @param {string} [id]
16307
16313
  * @param {string} [serviceId]
16308
16314
  * @param {string} [serviceName]
16309
16315
  * @param {string} [patientId]
@@ -16313,7 +16319,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
16313
16319
  * @param {number} [rate]
16314
16320
  * @param {ReviewType} [reviewType]
16315
16321
  * @param {string} [languageCode]
16316
- * @param {boolean} [returnDefaultValue]
16322
+ * @param {boolean} [showHidden]
16317
16323
  * @param {number} [page]
16318
16324
  * @param {number} [limit]
16319
16325
  * @param {Date} [lastRetrieved]
@@ -16321,9 +16327,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
16321
16327
  * @throws {RequiredError}
16322
16328
  * @memberof ServiceReviewsApi
16323
16329
  */
16324
- ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16330
+ ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
16325
16331
  var _this = this;
16326
- return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16332
+ return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16327
16333
  };
16328
16334
  /**
16329
16335
  *
@@ -16352,13 +16358,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
16352
16358
  /**
16353
16359
  *
16354
16360
  * @param {string} serviceReviewId
16361
+ * @param {string} [languageCode]
16355
16362
  * @param {*} [options] Override http request option.
16356
16363
  * @throws {RequiredError}
16357
16364
  * @memberof ServiceReviewsApi
16358
16365
  */
16359
- ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
16366
+ ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
16360
16367
  var _this = this;
16361
- return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
16368
+ return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
16362
16369
  };
16363
16370
  /**
16364
16371
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "3.4.9",
3
+ "version": "3.5.2",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {