ch-api-client-typescript2 2.8.11 → 2.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +88 -16
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +48 -27
- package/package.json +1 -1
- package/src/api.ts +111 -27
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,
|
|
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 (
|
|
4668
|
-
localVarQueryParameter['
|
|
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,
|
|
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,
|
|
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,
|
|
4927
|
-
return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
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,
|
|
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,
|
|
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));
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5503,6 +5503,18 @@ export interface HospitalItemModel {
|
|
|
5503
5503
|
* @memberof HospitalItemModel
|
|
5504
5504
|
*/
|
|
5505
5505
|
'overview'?: string | null;
|
|
5506
|
+
/**
|
|
5507
|
+
*
|
|
5508
|
+
* @type {string}
|
|
5509
|
+
* @memberof HospitalItemModel
|
|
5510
|
+
*/
|
|
5511
|
+
'content'?: string | null;
|
|
5512
|
+
/**
|
|
5513
|
+
*
|
|
5514
|
+
* @type {string}
|
|
5515
|
+
* @memberof HospitalItemModel
|
|
5516
|
+
*/
|
|
5517
|
+
'customStyle'?: string | null;
|
|
5506
5518
|
/**
|
|
5507
5519
|
*
|
|
5508
5520
|
* @type {number}
|
|
@@ -5726,6 +5738,18 @@ export interface HospitalModel {
|
|
|
5726
5738
|
* @memberof HospitalModel
|
|
5727
5739
|
*/
|
|
5728
5740
|
'overview'?: string | null;
|
|
5741
|
+
/**
|
|
5742
|
+
*
|
|
5743
|
+
* @type {string}
|
|
5744
|
+
* @memberof HospitalModel
|
|
5745
|
+
*/
|
|
5746
|
+
'content'?: string | null;
|
|
5747
|
+
/**
|
|
5748
|
+
*
|
|
5749
|
+
* @type {string}
|
|
5750
|
+
* @memberof HospitalModel
|
|
5751
|
+
*/
|
|
5752
|
+
'customStyle'?: string | null;
|
|
5729
5753
|
/**
|
|
5730
5754
|
*
|
|
5731
5755
|
* @type {number}
|
|
@@ -5949,6 +5973,12 @@ export interface HospitalServiceItemModel {
|
|
|
5949
5973
|
* @memberof HospitalServiceItemModel
|
|
5950
5974
|
*/
|
|
5951
5975
|
'content'?: string | null;
|
|
5976
|
+
/**
|
|
5977
|
+
*
|
|
5978
|
+
* @type {string}
|
|
5979
|
+
* @memberof HospitalServiceItemModel
|
|
5980
|
+
*/
|
|
5981
|
+
'customStyle'?: string | null;
|
|
5952
5982
|
/**
|
|
5953
5983
|
*
|
|
5954
5984
|
* @type {string}
|
|
@@ -5961,6 +5991,12 @@ export interface HospitalServiceItemModel {
|
|
|
5961
5991
|
* @memberof HospitalServiceItemModel
|
|
5962
5992
|
*/
|
|
5963
5993
|
'hospitalName'?: string | null;
|
|
5994
|
+
/**
|
|
5995
|
+
*
|
|
5996
|
+
* @type {string}
|
|
5997
|
+
* @memberof HospitalServiceItemModel
|
|
5998
|
+
*/
|
|
5999
|
+
'hospitalSlug'?: string | null;
|
|
5964
6000
|
/**
|
|
5965
6001
|
*
|
|
5966
6002
|
* @type {string}
|
|
@@ -6106,6 +6142,12 @@ export interface HospitalServiceModel {
|
|
|
6106
6142
|
* @memberof HospitalServiceModel
|
|
6107
6143
|
*/
|
|
6108
6144
|
'content'?: string | null;
|
|
6145
|
+
/**
|
|
6146
|
+
*
|
|
6147
|
+
* @type {string}
|
|
6148
|
+
* @memberof HospitalServiceModel
|
|
6149
|
+
*/
|
|
6150
|
+
'customStyle'?: string | null;
|
|
6109
6151
|
/**
|
|
6110
6152
|
*
|
|
6111
6153
|
* @type {string}
|
|
@@ -6118,6 +6160,12 @@ export interface HospitalServiceModel {
|
|
|
6118
6160
|
* @memberof HospitalServiceModel
|
|
6119
6161
|
*/
|
|
6120
6162
|
'hospitalName'?: string | null;
|
|
6163
|
+
/**
|
|
6164
|
+
*
|
|
6165
|
+
* @type {string}
|
|
6166
|
+
* @memberof HospitalServiceModel
|
|
6167
|
+
*/
|
|
6168
|
+
'hospitalSlug'?: string | null;
|
|
6121
6169
|
/**
|
|
6122
6170
|
*
|
|
6123
6171
|
* @type {string}
|
|
@@ -6399,6 +6447,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
6399
6447
|
* @memberof HospitalSpecialtyItemModel
|
|
6400
6448
|
*/
|
|
6401
6449
|
'content'?: string | null;
|
|
6450
|
+
/**
|
|
6451
|
+
*
|
|
6452
|
+
* @type {string}
|
|
6453
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6454
|
+
*/
|
|
6455
|
+
'customStyle'?: string | null;
|
|
6402
6456
|
/**
|
|
6403
6457
|
*
|
|
6404
6458
|
* @type {number}
|
|
@@ -6544,6 +6598,12 @@ export interface HospitalSpecialtyModel {
|
|
|
6544
6598
|
* @memberof HospitalSpecialtyModel
|
|
6545
6599
|
*/
|
|
6546
6600
|
'content'?: string | null;
|
|
6601
|
+
/**
|
|
6602
|
+
*
|
|
6603
|
+
* @type {string}
|
|
6604
|
+
* @memberof HospitalSpecialtyModel
|
|
6605
|
+
*/
|
|
6606
|
+
'customStyle'?: string | null;
|
|
6547
6607
|
/**
|
|
6548
6608
|
*
|
|
6549
6609
|
* @type {number}
|
|
@@ -13031,10 +13091,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13031
13091
|
* @summary Get Contributor.
|
|
13032
13092
|
* @param {string} contributorId
|
|
13033
13093
|
* @param {string} [languageCode]
|
|
13094
|
+
* @param {boolean} [returnDefaultValue]
|
|
13034
13095
|
* @param {*} [options] Override http request option.
|
|
13035
13096
|
* @throws {RequiredError}
|
|
13036
13097
|
*/
|
|
13037
|
-
apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13098
|
+
apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13038
13099
|
// verify required parameter 'contributorId' is not null or undefined
|
|
13039
13100
|
assertParamExists('apiV2ContributorsContributorIdGet', 'contributorId', contributorId)
|
|
13040
13101
|
const localVarPath = `/api/v2/contributors/{contributorId}`
|
|
@@ -13054,6 +13115,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13054
13115
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13055
13116
|
}
|
|
13056
13117
|
|
|
13118
|
+
if (returnDefaultValue !== undefined) {
|
|
13119
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13120
|
+
}
|
|
13121
|
+
|
|
13057
13122
|
|
|
13058
13123
|
|
|
13059
13124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13184,15 +13249,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13184
13249
|
* @param {string} [website]
|
|
13185
13250
|
* @param {string} [hospitalId]
|
|
13186
13251
|
* @param {boolean} [interviewerOnly]
|
|
13187
|
-
* @param {string} [languageCode]
|
|
13188
13252
|
* @param {boolean} [showHidden]
|
|
13253
|
+
* @param {string} [languageCode]
|
|
13254
|
+
* @param {boolean} [returnDefaultValue]
|
|
13189
13255
|
* @param {number} [page]
|
|
13190
13256
|
* @param {number} [limit]
|
|
13191
13257
|
* @param {Date} [lastRetrieved]
|
|
13192
13258
|
* @param {*} [options] Override http request option.
|
|
13193
13259
|
* @throws {RequiredError}
|
|
13194
13260
|
*/
|
|
13195
|
-
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13261
|
+
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13196
13262
|
const localVarPath = `/api/v2/contributors`;
|
|
13197
13263
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13198
13264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13233,12 +13299,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13233
13299
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
13234
13300
|
}
|
|
13235
13301
|
|
|
13302
|
+
if (showHidden !== undefined) {
|
|
13303
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
13304
|
+
}
|
|
13305
|
+
|
|
13236
13306
|
if (languageCode !== undefined) {
|
|
13237
13307
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13238
13308
|
}
|
|
13239
13309
|
|
|
13240
|
-
if (
|
|
13241
|
-
localVarQueryParameter['
|
|
13310
|
+
if (returnDefaultValue !== undefined) {
|
|
13311
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13242
13312
|
}
|
|
13243
13313
|
|
|
13244
13314
|
if (page !== undefined) {
|
|
@@ -13271,10 +13341,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13271
13341
|
* @summary Get Contributor by slug.
|
|
13272
13342
|
* @param {string} slug
|
|
13273
13343
|
* @param {string} [languageCode]
|
|
13344
|
+
* @param {boolean} [returnDefaultValue]
|
|
13274
13345
|
* @param {*} [options] Override http request option.
|
|
13275
13346
|
* @throws {RequiredError}
|
|
13276
13347
|
*/
|
|
13277
|
-
apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13348
|
+
apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13278
13349
|
// verify required parameter 'slug' is not null or undefined
|
|
13279
13350
|
assertParamExists('apiV2ContributorsSlugGet', 'slug', slug)
|
|
13280
13351
|
const localVarPath = `/api/v2/contributors/{slug}`
|
|
@@ -13294,6 +13365,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
13294
13365
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
13295
13366
|
}
|
|
13296
13367
|
|
|
13368
|
+
if (returnDefaultValue !== undefined) {
|
|
13369
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13370
|
+
}
|
|
13371
|
+
|
|
13297
13372
|
|
|
13298
13373
|
|
|
13299
13374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13320,11 +13395,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13320
13395
|
* @summary Get Contributor.
|
|
13321
13396
|
* @param {string} contributorId
|
|
13322
13397
|
* @param {string} [languageCode]
|
|
13398
|
+
* @param {boolean} [returnDefaultValue]
|
|
13323
13399
|
* @param {*} [options] Override http request option.
|
|
13324
13400
|
* @throws {RequiredError}
|
|
13325
13401
|
*/
|
|
13326
|
-
async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, options);
|
|
13402
|
+
async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options);
|
|
13328
13404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13329
13405
|
},
|
|
13330
13406
|
/**
|
|
@@ -13367,16 +13443,17 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13367
13443
|
* @param {string} [website]
|
|
13368
13444
|
* @param {string} [hospitalId]
|
|
13369
13445
|
* @param {boolean} [interviewerOnly]
|
|
13370
|
-
* @param {string} [languageCode]
|
|
13371
13446
|
* @param {boolean} [showHidden]
|
|
13447
|
+
* @param {string} [languageCode]
|
|
13448
|
+
* @param {boolean} [returnDefaultValue]
|
|
13372
13449
|
* @param {number} [page]
|
|
13373
13450
|
* @param {number} [limit]
|
|
13374
13451
|
* @param {Date} [lastRetrieved]
|
|
13375
13452
|
* @param {*} [options] Override http request option.
|
|
13376
13453
|
* @throws {RequiredError}
|
|
13377
13454
|
*/
|
|
13378
|
-
async apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13379
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13455
|
+
async apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
13456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13380
13457
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13381
13458
|
},
|
|
13382
13459
|
/**
|
|
@@ -13384,11 +13461,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
13384
13461
|
* @summary Get Contributor by slug.
|
|
13385
13462
|
* @param {string} slug
|
|
13386
13463
|
* @param {string} [languageCode]
|
|
13464
|
+
* @param {boolean} [returnDefaultValue]
|
|
13387
13465
|
* @param {*} [options] Override http request option.
|
|
13388
13466
|
* @throws {RequiredError}
|
|
13389
13467
|
*/
|
|
13390
|
-
async apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, options);
|
|
13468
|
+
async apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
13469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
13392
13470
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13393
13471
|
},
|
|
13394
13472
|
}
|
|
@@ -13406,11 +13484,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
13406
13484
|
* @summary Get Contributor.
|
|
13407
13485
|
* @param {string} contributorId
|
|
13408
13486
|
* @param {string} [languageCode]
|
|
13487
|
+
* @param {boolean} [returnDefaultValue]
|
|
13409
13488
|
* @param {*} [options] Override http request option.
|
|
13410
13489
|
* @throws {RequiredError}
|
|
13411
13490
|
*/
|
|
13412
|
-
apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
13413
|
-
return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(axios, basePath));
|
|
13491
|
+
apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
13492
|
+
return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13414
13493
|
},
|
|
13415
13494
|
/**
|
|
13416
13495
|
*
|
|
@@ -13450,27 +13529,29 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
13450
13529
|
* @param {string} [website]
|
|
13451
13530
|
* @param {string} [hospitalId]
|
|
13452
13531
|
* @param {boolean} [interviewerOnly]
|
|
13453
|
-
* @param {string} [languageCode]
|
|
13454
13532
|
* @param {boolean} [showHidden]
|
|
13533
|
+
* @param {string} [languageCode]
|
|
13534
|
+
* @param {boolean} [returnDefaultValue]
|
|
13455
13535
|
* @param {number} [page]
|
|
13456
13536
|
* @param {number} [limit]
|
|
13457
13537
|
* @param {Date} [lastRetrieved]
|
|
13458
13538
|
* @param {*} [options] Override http request option.
|
|
13459
13539
|
* @throws {RequiredError}
|
|
13460
13540
|
*/
|
|
13461
|
-
apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13462
|
-
return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13541
|
+
apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
13542
|
+
return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13463
13543
|
},
|
|
13464
13544
|
/**
|
|
13465
13545
|
*
|
|
13466
13546
|
* @summary Get Contributor by slug.
|
|
13467
13547
|
* @param {string} slug
|
|
13468
13548
|
* @param {string} [languageCode]
|
|
13549
|
+
* @param {boolean} [returnDefaultValue]
|
|
13469
13550
|
* @param {*} [options] Override http request option.
|
|
13470
13551
|
* @throws {RequiredError}
|
|
13471
13552
|
*/
|
|
13472
|
-
apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
13473
|
-
return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
13553
|
+
apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
13554
|
+
return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13474
13555
|
},
|
|
13475
13556
|
};
|
|
13476
13557
|
};
|
|
@@ -13487,12 +13568,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13487
13568
|
* @summary Get Contributor.
|
|
13488
13569
|
* @param {string} contributorId
|
|
13489
13570
|
* @param {string} [languageCode]
|
|
13571
|
+
* @param {boolean} [returnDefaultValue]
|
|
13490
13572
|
* @param {*} [options] Override http request option.
|
|
13491
13573
|
* @throws {RequiredError}
|
|
13492
13574
|
* @memberof ContributorsApi
|
|
13493
13575
|
*/
|
|
13494
|
-
public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13495
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
13576
|
+
public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
13577
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13496
13578
|
}
|
|
13497
13579
|
|
|
13498
13580
|
/**
|
|
@@ -13537,8 +13619,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13537
13619
|
* @param {string} [website]
|
|
13538
13620
|
* @param {string} [hospitalId]
|
|
13539
13621
|
* @param {boolean} [interviewerOnly]
|
|
13540
|
-
* @param {string} [languageCode]
|
|
13541
13622
|
* @param {boolean} [showHidden]
|
|
13623
|
+
* @param {string} [languageCode]
|
|
13624
|
+
* @param {boolean} [returnDefaultValue]
|
|
13542
13625
|
* @param {number} [page]
|
|
13543
13626
|
* @param {number} [limit]
|
|
13544
13627
|
* @param {Date} [lastRetrieved]
|
|
@@ -13546,8 +13629,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13546
13629
|
* @throws {RequiredError}
|
|
13547
13630
|
* @memberof ContributorsApi
|
|
13548
13631
|
*/
|
|
13549
|
-
public apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
13550
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
13632
|
+
public apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
13633
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
13551
13634
|
}
|
|
13552
13635
|
|
|
13553
13636
|
/**
|
|
@@ -13555,12 +13638,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
13555
13638
|
* @summary Get Contributor by slug.
|
|
13556
13639
|
* @param {string} slug
|
|
13557
13640
|
* @param {string} [languageCode]
|
|
13641
|
+
* @param {boolean} [returnDefaultValue]
|
|
13558
13642
|
* @param {*} [options] Override http request option.
|
|
13559
13643
|
* @throws {RequiredError}
|
|
13560
13644
|
* @memberof ContributorsApi
|
|
13561
13645
|
*/
|
|
13562
|
-
public apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
13563
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
13646
|
+
public apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
13647
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13564
13648
|
}
|
|
13565
13649
|
}
|
|
13566
13650
|
|