ch-api-client-typescript2 2.8.10 → 2.8.13

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
@@ -4477,10 +4477,11 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4477
4477
  * @summary Get Contributor.
4478
4478
  * @param {string} contributorId
4479
4479
  * @param {string} [languageCode]
4480
+ * @param {boolean} [returnDefaultValue]
4480
4481
  * @param {*} [options] Override http request option.
4481
4482
  * @throws {RequiredError}
4482
4483
  */
4483
- apiV2ContributorsContributorIdGet: function (contributorId, languageCode, options) {
4484
+ apiV2ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
4484
4485
  if (options === void 0) { options = {}; }
4485
4486
  return __awaiter(_this, void 0, void 0, function () {
4486
4487
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4499,6 +4500,9 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4499
4500
  if (languageCode !== undefined) {
4500
4501
  localVarQueryParameter['languageCode'] = languageCode;
4501
4502
  }
4503
+ if (returnDefaultValue !== undefined) {
4504
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
4505
+ }
4502
4506
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4503
4507
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4504
4508
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4619,15 +4623,16 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4619
4623
  * @param {string} [website]
4620
4624
  * @param {string} [hospitalId]
4621
4625
  * @param {boolean} [interviewerOnly]
4622
- * @param {string} [languageCode]
4623
4626
  * @param {boolean} [showHidden]
4627
+ * @param {string} [languageCode]
4628
+ * @param {boolean} [returnDefaultValue]
4624
4629
  * @param {number} [page]
4625
4630
  * @param {number} [limit]
4626
4631
  * @param {Date} [lastRetrieved]
4627
4632
  * @param {*} [options] Override http request option.
4628
4633
  * @throws {RequiredError}
4629
4634
  */
4630
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
4635
+ apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4631
4636
  if (options === void 0) { options = {}; }
4632
4637
  return __awaiter(_this, void 0, void 0, function () {
4633
4638
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4661,11 +4666,14 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4661
4666
  if (interviewerOnly !== undefined) {
4662
4667
  localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
4663
4668
  }
4669
+ if (showHidden !== undefined) {
4670
+ localVarQueryParameter['ShowHidden'] = showHidden;
4671
+ }
4664
4672
  if (languageCode !== undefined) {
4665
4673
  localVarQueryParameter['LanguageCode'] = languageCode;
4666
4674
  }
4667
- if (showHidden !== undefined) {
4668
- localVarQueryParameter['ShowHidden'] = showHidden;
4675
+ if (returnDefaultValue !== undefined) {
4676
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
4669
4677
  }
4670
4678
  if (page !== undefined) {
4671
4679
  localVarQueryParameter['page'] = page;
@@ -4693,10 +4701,11 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4693
4701
  * @summary Get Contributor by slug.
4694
4702
  * @param {string} slug
4695
4703
  * @param {string} [languageCode]
4704
+ * @param {boolean} [returnDefaultValue]
4696
4705
  * @param {*} [options] Override http request option.
4697
4706
  * @throws {RequiredError}
4698
4707
  */
4699
- apiV2ContributorsSlugGet: function (slug, languageCode, options) {
4708
+ apiV2ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
4700
4709
  if (options === void 0) { options = {}; }
4701
4710
  return __awaiter(_this, void 0, void 0, function () {
4702
4711
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4715,6 +4724,9 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4715
4724
  if (languageCode !== undefined) {
4716
4725
  localVarQueryParameter['languageCode'] = languageCode;
4717
4726
  }
4727
+ if (returnDefaultValue !== undefined) {
4728
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
4729
+ }
4718
4730
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4719
4731
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4720
4732
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4740,15 +4752,16 @@ var ContributorsApiFp = function (configuration) {
4740
4752
  * @summary Get Contributor.
4741
4753
  * @param {string} contributorId
4742
4754
  * @param {string} [languageCode]
4755
+ * @param {boolean} [returnDefaultValue]
4743
4756
  * @param {*} [options] Override http request option.
4744
4757
  * @throws {RequiredError}
4745
4758
  */
4746
- apiV2ContributorsContributorIdGet: function (contributorId, languageCode, options) {
4759
+ apiV2ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
4747
4760
  return __awaiter(this, void 0, void 0, function () {
4748
4761
  var localVarAxiosArgs;
4749
4762
  return __generator(this, function (_a) {
4750
4763
  switch (_a.label) {
4751
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, options)];
4764
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options)];
4752
4765
  case 1:
4753
4766
  localVarAxiosArgs = _a.sent();
4754
4767
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4814,20 +4827,21 @@ var ContributorsApiFp = function (configuration) {
4814
4827
  * @param {string} [website]
4815
4828
  * @param {string} [hospitalId]
4816
4829
  * @param {boolean} [interviewerOnly]
4817
- * @param {string} [languageCode]
4818
4830
  * @param {boolean} [showHidden]
4831
+ * @param {string} [languageCode]
4832
+ * @param {boolean} [returnDefaultValue]
4819
4833
  * @param {number} [page]
4820
4834
  * @param {number} [limit]
4821
4835
  * @param {Date} [lastRetrieved]
4822
4836
  * @param {*} [options] Override http request option.
4823
4837
  * @throws {RequiredError}
4824
4838
  */
4825
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
4839
+ apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4826
4840
  return __awaiter(this, void 0, void 0, function () {
4827
4841
  var localVarAxiosArgs;
4828
4842
  return __generator(this, function (_a) {
4829
4843
  switch (_a.label) {
4830
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options)];
4844
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
4831
4845
  case 1:
4832
4846
  localVarAxiosArgs = _a.sent();
4833
4847
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4840,15 +4854,16 @@ var ContributorsApiFp = function (configuration) {
4840
4854
  * @summary Get Contributor by slug.
4841
4855
  * @param {string} slug
4842
4856
  * @param {string} [languageCode]
4857
+ * @param {boolean} [returnDefaultValue]
4843
4858
  * @param {*} [options] Override http request option.
4844
4859
  * @throws {RequiredError}
4845
4860
  */
4846
- apiV2ContributorsSlugGet: function (slug, languageCode, options) {
4861
+ apiV2ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
4847
4862
  return __awaiter(this, void 0, void 0, function () {
4848
4863
  var localVarAxiosArgs;
4849
4864
  return __generator(this, function (_a) {
4850
4865
  switch (_a.label) {
4851
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, options)];
4866
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options)];
4852
4867
  case 1:
4853
4868
  localVarAxiosArgs = _a.sent();
4854
4869
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4871,11 +4886,12 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
4871
4886
  * @summary Get Contributor.
4872
4887
  * @param {string} contributorId
4873
4888
  * @param {string} [languageCode]
4889
+ * @param {boolean} [returnDefaultValue]
4874
4890
  * @param {*} [options] Override http request option.
4875
4891
  * @throws {RequiredError}
4876
4892
  */
4877
- apiV2ContributorsContributorIdGet: function (contributorId, languageCode, options) {
4878
- return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then(function (request) { return request(axios, basePath); });
4893
+ apiV2ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
4894
+ return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
4879
4895
  },
4880
4896
  /**
4881
4897
  *
@@ -4915,27 +4931,29 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
4915
4931
  * @param {string} [website]
4916
4932
  * @param {string} [hospitalId]
4917
4933
  * @param {boolean} [interviewerOnly]
4918
- * @param {string} [languageCode]
4919
4934
  * @param {boolean} [showHidden]
4935
+ * @param {string} [languageCode]
4936
+ * @param {boolean} [returnDefaultValue]
4920
4937
  * @param {number} [page]
4921
4938
  * @param {number} [limit]
4922
4939
  * @param {Date} [lastRetrieved]
4923
4940
  * @param {*} [options] Override http request option.
4924
4941
  * @throws {RequiredError}
4925
4942
  */
4926
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
4927
- return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4943
+ apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4944
+ return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4928
4945
  },
4929
4946
  /**
4930
4947
  *
4931
4948
  * @summary Get Contributor by slug.
4932
4949
  * @param {string} slug
4933
4950
  * @param {string} [languageCode]
4951
+ * @param {boolean} [returnDefaultValue]
4934
4952
  * @param {*} [options] Override http request option.
4935
4953
  * @throws {RequiredError}
4936
4954
  */
4937
- apiV2ContributorsSlugGet: function (slug, languageCode, options) {
4938
- return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
4955
+ apiV2ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
4956
+ return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
4939
4957
  },
4940
4958
  };
4941
4959
  };
@@ -4956,13 +4974,14 @@ var ContributorsApi = /** @class */ (function (_super) {
4956
4974
  * @summary Get Contributor.
4957
4975
  * @param {string} contributorId
4958
4976
  * @param {string} [languageCode]
4977
+ * @param {boolean} [returnDefaultValue]
4959
4978
  * @param {*} [options] Override http request option.
4960
4979
  * @throws {RequiredError}
4961
4980
  * @memberof ContributorsApi
4962
4981
  */
4963
- ContributorsApi.prototype.apiV2ContributorsContributorIdGet = function (contributorId, languageCode, options) {
4982
+ ContributorsApi.prototype.apiV2ContributorsContributorIdGet = function (contributorId, languageCode, returnDefaultValue, options) {
4964
4983
  var _this = this;
4965
- return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
4984
+ return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
4966
4985
  };
4967
4986
  /**
4968
4987
  *
@@ -5006,8 +5025,9 @@ var ContributorsApi = /** @class */ (function (_super) {
5006
5025
  * @param {string} [website]
5007
5026
  * @param {string} [hospitalId]
5008
5027
  * @param {boolean} [interviewerOnly]
5009
- * @param {string} [languageCode]
5010
5028
  * @param {boolean} [showHidden]
5029
+ * @param {string} [languageCode]
5030
+ * @param {boolean} [returnDefaultValue]
5011
5031
  * @param {number} [page]
5012
5032
  * @param {number} [limit]
5013
5033
  * @param {Date} [lastRetrieved]
@@ -5015,22 +5035,23 @@ var ContributorsApi = /** @class */ (function (_super) {
5015
5035
  * @throws {RequiredError}
5016
5036
  * @memberof ContributorsApi
5017
5037
  */
5018
- ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options) {
5038
+ ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
5019
5039
  var _this = this;
5020
- return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
5040
+ return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
5021
5041
  };
5022
5042
  /**
5023
5043
  *
5024
5044
  * @summary Get Contributor by slug.
5025
5045
  * @param {string} slug
5026
5046
  * @param {string} [languageCode]
5047
+ * @param {boolean} [returnDefaultValue]
5027
5048
  * @param {*} [options] Override http request option.
5028
5049
  * @throws {RequiredError}
5029
5050
  * @memberof ContributorsApi
5030
5051
  */
5031
- ContributorsApi.prototype.apiV2ContributorsSlugGet = function (slug, languageCode, options) {
5052
+ ContributorsApi.prototype.apiV2ContributorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
5032
5053
  var _this = this;
5033
- return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
5054
+ return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
5034
5055
  };
5035
5056
  return ContributorsApi;
5036
5057
  }(base_1.BaseAPI));
@@ -10018,6 +10039,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10018
10039
  * @param {string} [specialtyId]
10019
10040
  * @param {string} [specialtyName]
10020
10041
  * @param {string} [specialtyTypeId]
10042
+ * @param {string} [hospitalSpecialtySlug]
10021
10043
  * @param {string} [title]
10022
10044
  * @param {MarketingType} [marketingType]
10023
10045
  * @param {string} [languageCode]
@@ -10030,7 +10052,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10030
10052
  * @param {*} [options] Override http request option.
10031
10053
  * @throws {RequiredError}
10032
10054
  */
10033
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10055
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10034
10056
  if (options === void 0) { options = {}; }
10035
10057
  return __awaiter(_this, void 0, void 0, function () {
10036
10058
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10061,6 +10083,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10061
10083
  if (specialtyTypeId !== undefined) {
10062
10084
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
10063
10085
  }
10086
+ if (hospitalSpecialtySlug !== undefined) {
10087
+ localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
10088
+ }
10064
10089
  if (title !== undefined) {
10065
10090
  localVarQueryParameter['Title'] = title;
10066
10091
  }
@@ -10109,6 +10134,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10109
10134
  * @param {string} [specialtyId]
10110
10135
  * @param {string} [specialtyName]
10111
10136
  * @param {string} [specialtyTypeId]
10137
+ * @param {string} [hospitalSpecialtySlug]
10112
10138
  * @param {string} [title]
10113
10139
  * @param {MarketingType} [marketingType]
10114
10140
  * @param {string} [languageCode]
@@ -10121,7 +10147,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10121
10147
  * @param {*} [options] Override http request option.
10122
10148
  * @throws {RequiredError}
10123
10149
  */
10124
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10150
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10125
10151
  if (options === void 0) { options = {}; }
10126
10152
  return __awaiter(_this, void 0, void 0, function () {
10127
10153
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10152,6 +10178,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10152
10178
  if (specialtyTypeId !== undefined) {
10153
10179
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
10154
10180
  }
10181
+ if (hospitalSpecialtySlug !== undefined) {
10182
+ localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
10183
+ }
10155
10184
  if (title !== undefined) {
10156
10185
  localVarQueryParameter['Title'] = title;
10157
10186
  }
@@ -10506,55 +10535,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10506
10535
  });
10507
10536
  });
10508
10537
  },
10509
- /**
10510
- *
10511
- * @summary Get HospitalSpecialty by Specialty slug
10512
- * @param {string} hospitalId
10513
- * @param {string} specialtySlug
10514
- * @param {string} [languageCode]
10515
- * @param {boolean} [returnDefaultValue]
10516
- * @param {boolean} [includeServices]
10517
- * @param {*} [options] Override http request option.
10518
- * @throws {RequiredError}
10519
- */
10520
- apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
10521
- if (options === void 0) { options = {}; }
10522
- return __awaiter(_this, void 0, void 0, function () {
10523
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10524
- return __generator(this, function (_a) {
10525
- // verify required parameter 'hospitalId' is not null or undefined
10526
- (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'hospitalId', hospitalId);
10527
- // verify required parameter 'specialtySlug' is not null or undefined
10528
- (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet', 'specialtySlug', specialtySlug);
10529
- localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{specialtySlug}"
10530
- .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
10531
- .replace("{".concat("specialtySlug", "}"), encodeURIComponent(String(specialtySlug)));
10532
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10533
- if (configuration) {
10534
- baseOptions = configuration.baseOptions;
10535
- }
10536
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10537
- localVarHeaderParameter = {};
10538
- localVarQueryParameter = {};
10539
- if (languageCode !== undefined) {
10540
- localVarQueryParameter['languageCode'] = languageCode;
10541
- }
10542
- if (returnDefaultValue !== undefined) {
10543
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10544
- }
10545
- if (includeServices !== undefined) {
10546
- localVarQueryParameter['includeServices'] = includeServices;
10547
- }
10548
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10549
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10550
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10551
- return [2 /*return*/, {
10552
- url: (0, common_1.toPathString)(localVarUrlObj),
10553
- options: localVarRequestOptions,
10554
- }];
10555
- });
10556
- });
10557
- },
10558
10538
  /**
10559
10539
  *
10560
10540
  * @summary Get all Hospitals.
@@ -11005,6 +10985,7 @@ var HospitalsApiFp = function (configuration) {
11005
10985
  * @param {string} [specialtyId]
11006
10986
  * @param {string} [specialtyName]
11007
10987
  * @param {string} [specialtyTypeId]
10988
+ * @param {string} [hospitalSpecialtySlug]
11008
10989
  * @param {string} [title]
11009
10990
  * @param {MarketingType} [marketingType]
11010
10991
  * @param {string} [languageCode]
@@ -11017,12 +10998,12 @@ var HospitalsApiFp = function (configuration) {
11017
10998
  * @param {*} [options] Override http request option.
11018
10999
  * @throws {RequiredError}
11019
11000
  */
11020
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11001
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11021
11002
  return __awaiter(this, void 0, void 0, function () {
11022
11003
  var localVarAxiosArgs;
11023
11004
  return __generator(this, function (_a) {
11024
11005
  switch (_a.label) {
11025
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11006
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11026
11007
  case 1:
11027
11008
  localVarAxiosArgs = _a.sent();
11028
11009
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11039,6 +11020,7 @@ var HospitalsApiFp = function (configuration) {
11039
11020
  * @param {string} [specialtyId]
11040
11021
  * @param {string} [specialtyName]
11041
11022
  * @param {string} [specialtyTypeId]
11023
+ * @param {string} [hospitalSpecialtySlug]
11042
11024
  * @param {string} [title]
11043
11025
  * @param {MarketingType} [marketingType]
11044
11026
  * @param {string} [languageCode]
@@ -11051,12 +11033,12 @@ var HospitalsApiFp = function (configuration) {
11051
11033
  * @param {*} [options] Override http request option.
11052
11034
  * @throws {RequiredError}
11053
11035
  */
11054
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11036
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11055
11037
  return __awaiter(this, void 0, void 0, function () {
11056
11038
  var localVarAxiosArgs;
11057
11039
  return __generator(this, function (_a) {
11058
11040
  switch (_a.label) {
11059
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11041
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11060
11042
  case 1:
11061
11043
  localVarAxiosArgs = _a.sent();
11062
11044
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11200,30 +11182,6 @@ var HospitalsApiFp = function (configuration) {
11200
11182
  });
11201
11183
  });
11202
11184
  },
11203
- /**
11204
- *
11205
- * @summary Get HospitalSpecialty by Specialty slug
11206
- * @param {string} hospitalId
11207
- * @param {string} specialtySlug
11208
- * @param {string} [languageCode]
11209
- * @param {boolean} [returnDefaultValue]
11210
- * @param {boolean} [includeServices]
11211
- * @param {*} [options] Override http request option.
11212
- * @throws {RequiredError}
11213
- */
11214
- apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11215
- return __awaiter(this, void 0, void 0, function () {
11216
- var localVarAxiosArgs;
11217
- return __generator(this, function (_a) {
11218
- switch (_a.label) {
11219
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options)];
11220
- case 1:
11221
- localVarAxiosArgs = _a.sent();
11222
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
11223
- }
11224
- });
11225
- });
11226
- },
11227
11185
  /**
11228
11186
  *
11229
11187
  * @summary Get all Hospitals.
@@ -11473,6 +11431,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11473
11431
  * @param {string} [specialtyId]
11474
11432
  * @param {string} [specialtyName]
11475
11433
  * @param {string} [specialtyTypeId]
11434
+ * @param {string} [hospitalSpecialtySlug]
11476
11435
  * @param {string} [title]
11477
11436
  * @param {MarketingType} [marketingType]
11478
11437
  * @param {string} [languageCode]
@@ -11485,8 +11444,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11485
11444
  * @param {*} [options] Override http request option.
11486
11445
  * @throws {RequiredError}
11487
11446
  */
11488
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11489
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11447
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11448
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11490
11449
  },
11491
11450
  /**
11492
11451
  *
@@ -11497,6 +11456,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11497
11456
  * @param {string} [specialtyId]
11498
11457
  * @param {string} [specialtyName]
11499
11458
  * @param {string} [specialtyTypeId]
11459
+ * @param {string} [hospitalSpecialtySlug]
11500
11460
  * @param {string} [title]
11501
11461
  * @param {MarketingType} [marketingType]
11502
11462
  * @param {string} [languageCode]
@@ -11509,8 +11469,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11509
11469
  * @param {*} [options] Override http request option.
11510
11470
  * @throws {RequiredError}
11511
11471
  */
11512
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11513
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11472
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11473
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11514
11474
  },
11515
11475
  /**
11516
11476
  *
@@ -11598,20 +11558,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11598
11558
  apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
11599
11559
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
11600
11560
  },
11601
- /**
11602
- *
11603
- * @summary Get HospitalSpecialty by Specialty slug
11604
- * @param {string} hospitalId
11605
- * @param {string} specialtySlug
11606
- * @param {string} [languageCode]
11607
- * @param {boolean} [returnDefaultValue]
11608
- * @param {boolean} [includeServices]
11609
- * @param {*} [options] Override http request option.
11610
- * @throws {RequiredError}
11611
- */
11612
- apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet: function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
11613
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
11614
- },
11615
11561
  /**
11616
11562
  *
11617
11563
  * @summary Get all Hospitals.
@@ -11869,6 +11815,7 @@ var HospitalsApi = /** @class */ (function (_super) {
11869
11815
  * @param {string} [specialtyId]
11870
11816
  * @param {string} [specialtyName]
11871
11817
  * @param {string} [specialtyTypeId]
11818
+ * @param {string} [hospitalSpecialtySlug]
11872
11819
  * @param {string} [title]
11873
11820
  * @param {MarketingType} [marketingType]
11874
11821
  * @param {string} [languageCode]
@@ -11882,9 +11829,9 @@ var HospitalsApi = /** @class */ (function (_super) {
11882
11829
  * @throws {RequiredError}
11883
11830
  * @memberof HospitalsApi
11884
11831
  */
11885
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11832
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11886
11833
  var _this = this;
11887
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11834
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11888
11835
  };
11889
11836
  /**
11890
11837
  *
@@ -11895,6 +11842,7 @@ var HospitalsApi = /** @class */ (function (_super) {
11895
11842
  * @param {string} [specialtyId]
11896
11843
  * @param {string} [specialtyName]
11897
11844
  * @param {string} [specialtyTypeId]
11845
+ * @param {string} [hospitalSpecialtySlug]
11898
11846
  * @param {string} [title]
11899
11847
  * @param {MarketingType} [marketingType]
11900
11848
  * @param {string} [languageCode]
@@ -11908,9 +11856,9 @@ var HospitalsApi = /** @class */ (function (_super) {
11908
11856
  * @throws {RequiredError}
11909
11857
  * @memberof HospitalsApi
11910
11858
  */
11911
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11859
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11912
11860
  var _this = this;
11913
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11861
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11914
11862
  };
11915
11863
  /**
11916
11864
  *
@@ -12008,22 +11956,6 @@ var HospitalsApi = /** @class */ (function (_super) {
12008
11956
  var _this = this;
12009
11957
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12010
11958
  };
12011
- /**
12012
- *
12013
- * @summary Get HospitalSpecialty by Specialty slug
12014
- * @param {string} hospitalId
12015
- * @param {string} specialtySlug
12016
- * @param {string} [languageCode]
12017
- * @param {boolean} [returnDefaultValue]
12018
- * @param {boolean} [includeServices]
12019
- * @param {*} [options] Override http request option.
12020
- * @throws {RequiredError}
12021
- * @memberof HospitalsApi
12022
- */
12023
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet = function (hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options) {
12024
- var _this = this;
12025
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtySlugGet(hospitalId, specialtySlug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
12026
- };
12027
11959
  /**
12028
11960
  *
12029
11961
  * @summary Get all Hospitals.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.8.10",
3
+ "version": "2.8.13",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {