ch-api-client-typescript2 2.7.4 → 2.7.8

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
@@ -8928,7 +8928,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
8928
8928
  * @summary Get all Hospitals.
8929
8929
  * @param {string} [hospitalId]
8930
8930
  * @param {string} [name]
8931
- * @param {string} [description]
8932
8931
  * @param {string} [countryId]
8933
8932
  * @param {Date} [created]
8934
8933
  * @param {MarketingType} [marketingType]
@@ -8946,7 +8945,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
8946
8945
  * @param {*} [options] Override http request option.
8947
8946
  * @throws {RequiredError}
8948
8947
  */
8949
- apiV2HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
8948
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
8950
8949
  if (options === void 0) { options = {}; }
8951
8950
  return __awaiter(_this, void 0, void 0, function () {
8952
8951
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -8965,9 +8964,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
8965
8964
  if (name !== undefined) {
8966
8965
  localVarQueryParameter['Name'] = name;
8967
8966
  }
8968
- if (description !== undefined) {
8969
- localVarQueryParameter['Description'] = description;
8970
- }
8971
8967
  if (countryId !== undefined) {
8972
8968
  localVarQueryParameter['CountryId'] = countryId;
8973
8969
  }
@@ -9567,15 +9563,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9567
9563
  * @param {string} [specialtyId]
9568
9564
  * @param {string} [specialtyName]
9569
9565
  * @param {string} [specialtyTypeId]
9566
+ * @param {string} [title]
9570
9567
  * @param {MarketingType} [marketingType]
9571
- * @param {Date} [created]
9568
+ * @param {string} [languageCode]
9569
+ * @param {boolean} [showHidden]
9570
+ * @param {boolean} [returnDefaultValue]
9572
9571
  * @param {number} [page]
9573
9572
  * @param {number} [limit]
9574
9573
  * @param {Date} [lastRetrieved]
9575
9574
  * @param {*} [options] Override http request option.
9576
9575
  * @throws {RequiredError}
9577
9576
  */
9578
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
9577
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9579
9578
  if (options === void 0) { options = {}; }
9580
9579
  return __awaiter(_this, void 0, void 0, function () {
9581
9580
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9606,13 +9605,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9606
9605
  if (specialtyTypeId !== undefined) {
9607
9606
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
9608
9607
  }
9608
+ if (title !== undefined) {
9609
+ localVarQueryParameter['Title'] = title;
9610
+ }
9609
9611
  if (marketingType !== undefined) {
9610
9612
  localVarQueryParameter['MarketingType'] = marketingType;
9611
9613
  }
9612
- if (created !== undefined) {
9613
- localVarQueryParameter['Created'] = (created instanceof Date) ?
9614
- created.toISOString() :
9615
- created;
9614
+ if (languageCode !== undefined) {
9615
+ localVarQueryParameter['LanguageCode'] = languageCode;
9616
+ }
9617
+ if (showHidden !== undefined) {
9618
+ localVarQueryParameter['ShowHidden'] = showHidden;
9619
+ }
9620
+ if (returnDefaultValue !== undefined) {
9621
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
9616
9622
  }
9617
9623
  if (page !== undefined) {
9618
9624
  localVarQueryParameter['page'] = page;
@@ -9640,10 +9646,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9640
9646
  * @summary Get HospitalSpecialty.
9641
9647
  * @param {string} hospitalId
9642
9648
  * @param {string} specialtyId
9649
+ * @param {string} [languageCode]
9650
+ * @param {boolean} [returnDefaultValue]
9643
9651
  * @param {*} [options] Override http request option.
9644
9652
  * @throws {RequiredError}
9645
9653
  */
9646
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
9654
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
9647
9655
  if (options === void 0) { options = {}; }
9648
9656
  return __awaiter(_this, void 0, void 0, function () {
9649
9657
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9662,6 +9670,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9662
9670
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9663
9671
  localVarHeaderParameter = {};
9664
9672
  localVarQueryParameter = {};
9673
+ if (languageCode !== undefined) {
9674
+ localVarQueryParameter['languageCode'] = languageCode;
9675
+ }
9676
+ if (returnDefaultValue !== undefined) {
9677
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
9678
+ }
9665
9679
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
9666
9680
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9667
9681
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9943,7 +9957,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9943
9957
  * @summary Get all Hospitals.
9944
9958
  * @param {string} [hospitalId]
9945
9959
  * @param {string} [name]
9946
- * @param {string} [description]
9947
9960
  * @param {string} [countryId]
9948
9961
  * @param {Date} [created]
9949
9962
  * @param {MarketingType} [marketingType]
@@ -9961,7 +9974,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9961
9974
  * @param {*} [options] Override http request option.
9962
9975
  * @throws {RequiredError}
9963
9976
  */
9964
- apiV2HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
9977
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
9965
9978
  if (options === void 0) { options = {}; }
9966
9979
  return __awaiter(_this, void 0, void 0, function () {
9967
9980
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9980,9 +9993,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
9980
9993
  if (name !== undefined) {
9981
9994
  localVarQueryParameter['Name'] = name;
9982
9995
  }
9983
- if (description !== undefined) {
9984
- localVarQueryParameter['Description'] = description;
9985
- }
9986
9996
  if (countryId !== undefined) {
9987
9997
  localVarQueryParameter['CountryId'] = countryId;
9988
9998
  }
@@ -10093,7 +10103,6 @@ exports.HospitalsApiFp = function (configuration) {
10093
10103
  * @summary Get all Hospitals.
10094
10104
  * @param {string} [hospitalId]
10095
10105
  * @param {string} [name]
10096
- * @param {string} [description]
10097
10106
  * @param {string} [countryId]
10098
10107
  * @param {Date} [created]
10099
10108
  * @param {MarketingType} [marketingType]
@@ -10111,12 +10120,12 @@ exports.HospitalsApiFp = function (configuration) {
10111
10120
  * @param {*} [options] Override http request option.
10112
10121
  * @throws {RequiredError}
10113
10122
  */
10114
- apiV2HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10123
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10115
10124
  return __awaiter(this, void 0, void 0, function () {
10116
10125
  var localVarAxiosArgs;
10117
10126
  return __generator(this, function (_a) {
10118
10127
  switch (_a.label) {
10119
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
10128
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
10120
10129
  case 1:
10121
10130
  localVarAxiosArgs = _a.sent();
10122
10131
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10392,20 +10401,23 @@ exports.HospitalsApiFp = function (configuration) {
10392
10401
  * @param {string} [specialtyId]
10393
10402
  * @param {string} [specialtyName]
10394
10403
  * @param {string} [specialtyTypeId]
10404
+ * @param {string} [title]
10395
10405
  * @param {MarketingType} [marketingType]
10396
- * @param {Date} [created]
10406
+ * @param {string} [languageCode]
10407
+ * @param {boolean} [showHidden]
10408
+ * @param {boolean} [returnDefaultValue]
10397
10409
  * @param {number} [page]
10398
10410
  * @param {number} [limit]
10399
10411
  * @param {Date} [lastRetrieved]
10400
10412
  * @param {*} [options] Override http request option.
10401
10413
  * @throws {RequiredError}
10402
10414
  */
10403
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
10415
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10404
10416
  return __awaiter(this, void 0, void 0, function () {
10405
10417
  var localVarAxiosArgs;
10406
10418
  return __generator(this, function (_a) {
10407
10419
  switch (_a.label) {
10408
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options)];
10420
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
10409
10421
  case 1:
10410
10422
  localVarAxiosArgs = _a.sent();
10411
10423
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10418,15 +10430,17 @@ exports.HospitalsApiFp = function (configuration) {
10418
10430
  * @summary Get HospitalSpecialty.
10419
10431
  * @param {string} hospitalId
10420
10432
  * @param {string} specialtyId
10433
+ * @param {string} [languageCode]
10434
+ * @param {boolean} [returnDefaultValue]
10421
10435
  * @param {*} [options] Override http request option.
10422
10436
  * @throws {RequiredError}
10423
10437
  */
10424
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
10438
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
10425
10439
  return __awaiter(this, void 0, void 0, function () {
10426
10440
  var localVarAxiosArgs;
10427
10441
  return __generator(this, function (_a) {
10428
10442
  switch (_a.label) {
10429
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
10443
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
10430
10444
  case 1:
10431
10445
  localVarAxiosArgs = _a.sent();
10432
10446
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10551,7 +10565,6 @@ exports.HospitalsApiFp = function (configuration) {
10551
10565
  * @summary Get all Hospitals.
10552
10566
  * @param {string} [hospitalId]
10553
10567
  * @param {string} [name]
10554
- * @param {string} [description]
10555
10568
  * @param {string} [countryId]
10556
10569
  * @param {Date} [created]
10557
10570
  * @param {MarketingType} [marketingType]
@@ -10569,12 +10582,12 @@ exports.HospitalsApiFp = function (configuration) {
10569
10582
  * @param {*} [options] Override http request option.
10570
10583
  * @throws {RequiredError}
10571
10584
  */
10572
- apiV2HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10585
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10573
10586
  return __awaiter(this, void 0, void 0, function () {
10574
10587
  var localVarAxiosArgs;
10575
10588
  return __generator(this, function (_a) {
10576
10589
  switch (_a.label) {
10577
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
10590
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
10578
10591
  case 1:
10579
10592
  localVarAxiosArgs = _a.sent();
10580
10593
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10617,7 +10630,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10617
10630
  * @summary Get all Hospitals.
10618
10631
  * @param {string} [hospitalId]
10619
10632
  * @param {string} [name]
10620
- * @param {string} [description]
10621
10633
  * @param {string} [countryId]
10622
10634
  * @param {Date} [created]
10623
10635
  * @param {MarketingType} [marketingType]
@@ -10635,8 +10647,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10635
10647
  * @param {*} [options] Override http request option.
10636
10648
  * @throws {RequiredError}
10637
10649
  */
10638
- apiV2HospitalsGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10639
- return localVarFp.apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10650
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10651
+ return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10640
10652
  },
10641
10653
  /**
10642
10654
  *
@@ -10796,27 +10808,32 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10796
10808
  * @param {string} [specialtyId]
10797
10809
  * @param {string} [specialtyName]
10798
10810
  * @param {string} [specialtyTypeId]
10811
+ * @param {string} [title]
10799
10812
  * @param {MarketingType} [marketingType]
10800
- * @param {Date} [created]
10813
+ * @param {string} [languageCode]
10814
+ * @param {boolean} [showHidden]
10815
+ * @param {boolean} [returnDefaultValue]
10801
10816
  * @param {number} [page]
10802
10817
  * @param {number} [limit]
10803
10818
  * @param {Date} [lastRetrieved]
10804
10819
  * @param {*} [options] Override http request option.
10805
10820
  * @throws {RequiredError}
10806
10821
  */
10807
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
10808
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10822
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
10823
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10809
10824
  },
10810
10825
  /**
10811
10826
  *
10812
10827
  * @summary Get HospitalSpecialty.
10813
10828
  * @param {string} hospitalId
10814
10829
  * @param {string} specialtyId
10830
+ * @param {string} [languageCode]
10831
+ * @param {boolean} [returnDefaultValue]
10815
10832
  * @param {*} [options] Override http request option.
10816
10833
  * @throws {RequiredError}
10817
10834
  */
10818
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
10819
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
10835
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
10836
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
10820
10837
  },
10821
10838
  /**
10822
10839
  *
@@ -10895,7 +10912,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10895
10912
  * @summary Get all Hospitals.
10896
10913
  * @param {string} [hospitalId]
10897
10914
  * @param {string} [name]
10898
- * @param {string} [description]
10899
10915
  * @param {string} [countryId]
10900
10916
  * @param {Date} [created]
10901
10917
  * @param {MarketingType} [marketingType]
@@ -10913,8 +10929,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
10913
10929
  * @param {*} [options] Override http request option.
10914
10930
  * @throws {RequiredError}
10915
10931
  */
10916
- apiV2HospitalsSimpleGet: function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10917
- return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10932
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10933
+ return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10918
10934
  },
10919
10935
  /**
10920
10936
  *
@@ -10945,7 +10961,6 @@ var HospitalsApi = /** @class */ (function (_super) {
10945
10961
  * @summary Get all Hospitals.
10946
10962
  * @param {string} [hospitalId]
10947
10963
  * @param {string} [name]
10948
- * @param {string} [description]
10949
10964
  * @param {string} [countryId]
10950
10965
  * @param {Date} [created]
10951
10966
  * @param {MarketingType} [marketingType]
@@ -10964,9 +10979,9 @@ var HospitalsApi = /** @class */ (function (_super) {
10964
10979
  * @throws {RequiredError}
10965
10980
  * @memberof HospitalsApi
10966
10981
  */
10967
- HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10982
+ HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
10968
10983
  var _this = this;
10969
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
10984
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
10970
10985
  };
10971
10986
  /**
10972
10987
  *
@@ -11148,8 +11163,11 @@ var HospitalsApi = /** @class */ (function (_super) {
11148
11163
  * @param {string} [specialtyId]
11149
11164
  * @param {string} [specialtyName]
11150
11165
  * @param {string} [specialtyTypeId]
11166
+ * @param {string} [title]
11151
11167
  * @param {MarketingType} [marketingType]
11152
- * @param {Date} [created]
11168
+ * @param {string} [languageCode]
11169
+ * @param {boolean} [showHidden]
11170
+ * @param {boolean} [returnDefaultValue]
11153
11171
  * @param {number} [page]
11154
11172
  * @param {number} [limit]
11155
11173
  * @param {Date} [lastRetrieved]
@@ -11157,22 +11175,24 @@ var HospitalsApi = /** @class */ (function (_super) {
11157
11175
  * @throws {RequiredError}
11158
11176
  * @memberof HospitalsApi
11159
11177
  */
11160
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options) {
11178
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
11161
11179
  var _this = this;
11162
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11180
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11163
11181
  };
11164
11182
  /**
11165
11183
  *
11166
11184
  * @summary Get HospitalSpecialty.
11167
11185
  * @param {string} hospitalId
11168
11186
  * @param {string} specialtyId
11187
+ * @param {string} [languageCode]
11188
+ * @param {boolean} [returnDefaultValue]
11169
11189
  * @param {*} [options] Override http request option.
11170
11190
  * @throws {RequiredError}
11171
11191
  * @memberof HospitalsApi
11172
11192
  */
11173
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
11193
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
11174
11194
  var _this = this;
11175
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11195
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
11176
11196
  };
11177
11197
  /**
11178
11198
  *
@@ -11259,7 +11279,6 @@ var HospitalsApi = /** @class */ (function (_super) {
11259
11279
  * @summary Get all Hospitals.
11260
11280
  * @param {string} [hospitalId]
11261
11281
  * @param {string} [name]
11262
- * @param {string} [description]
11263
11282
  * @param {string} [countryId]
11264
11283
  * @param {Date} [created]
11265
11284
  * @param {MarketingType} [marketingType]
@@ -11278,9 +11297,9 @@ var HospitalsApi = /** @class */ (function (_super) {
11278
11297
  * @throws {RequiredError}
11279
11298
  * @memberof HospitalsApi
11280
11299
  */
11281
- HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
11300
+ HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
11282
11301
  var _this = this;
11283
- return exports.HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11302
+ return exports.HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11284
11303
  };
11285
11304
  /**
11286
11305
  *
@@ -15937,14 +15956,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
15937
15956
  * @summary Get all ServiceCategories.
15938
15957
  * @param {string} [id]
15939
15958
  * @param {string} [name]
15940
- * @param {string} [description]
15941
15959
  * @param {number} [page]
15942
15960
  * @param {number} [limit]
15943
15961
  * @param {Date} [lastRetrieved]
15944
15962
  * @param {*} [options] Override http request option.
15945
15963
  * @throws {RequiredError}
15946
15964
  */
15947
- apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
15965
+ apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
15948
15966
  if (options === void 0) { options = {}; }
15949
15967
  return __awaiter(_this, void 0, void 0, function () {
15950
15968
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -15963,9 +15981,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
15963
15981
  if (name !== undefined) {
15964
15982
  localVarQueryParameter['Name'] = name;
15965
15983
  }
15966
- if (description !== undefined) {
15967
- localVarQueryParameter['Description'] = description;
15968
- }
15969
15984
  if (page !== undefined) {
15970
15985
  localVarQueryParameter['page'] = page;
15971
15986
  }
@@ -16034,19 +16049,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
16034
16049
  * @summary Get all ServiceCategories.
16035
16050
  * @param {string} [id]
16036
16051
  * @param {string} [name]
16037
- * @param {string} [description]
16038
16052
  * @param {number} [page]
16039
16053
  * @param {number} [limit]
16040
16054
  * @param {Date} [lastRetrieved]
16041
16055
  * @param {*} [options] Override http request option.
16042
16056
  * @throws {RequiredError}
16043
16057
  */
16044
- apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
16058
+ apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
16045
16059
  return __awaiter(this, void 0, void 0, function () {
16046
16060
  var localVarAxiosArgs;
16047
16061
  return __generator(this, function (_a) {
16048
16062
  switch (_a.label) {
16049
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options)];
16063
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options)];
16050
16064
  case 1:
16051
16065
  localVarAxiosArgs = _a.sent();
16052
16066
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16088,15 +16102,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
16088
16102
  * @summary Get all ServiceCategories.
16089
16103
  * @param {string} [id]
16090
16104
  * @param {string} [name]
16091
- * @param {string} [description]
16092
16105
  * @param {number} [page]
16093
16106
  * @param {number} [limit]
16094
16107
  * @param {Date} [lastRetrieved]
16095
16108
  * @param {*} [options] Override http request option.
16096
16109
  * @throws {RequiredError}
16097
16110
  */
16098
- apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
16099
- return localVarFp.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16111
+ apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
16112
+ return localVarFp.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16100
16113
  },
16101
16114
  /**
16102
16115
  *
@@ -16126,7 +16139,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
16126
16139
  * @summary Get all ServiceCategories.
16127
16140
  * @param {string} [id]
16128
16141
  * @param {string} [name]
16129
- * @param {string} [description]
16130
16142
  * @param {number} [page]
16131
16143
  * @param {number} [limit]
16132
16144
  * @param {Date} [lastRetrieved]
@@ -16134,9 +16146,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
16134
16146
  * @throws {RequiredError}
16135
16147
  * @memberof ServicesCategoriesApi
16136
16148
  */
16137
- ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
16149
+ ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name, page, limit, lastRetrieved, options) {
16138
16150
  var _this = this;
16139
- return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16151
+ return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16140
16152
  };
16141
16153
  /**
16142
16154
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.7.4",
3
+ "version": "2.7.8",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {