ch-api-client-typescript2 2.8.12 → 2.8.17

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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.8.12",
3
+ "version": "2.8.17",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
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}
@@ -6112,6 +6142,12 @@ export interface HospitalServiceModel {
6112
6142
  * @memberof HospitalServiceModel
6113
6143
  */
6114
6144
  'content'?: string | null;
6145
+ /**
6146
+ *
6147
+ * @type {string}
6148
+ * @memberof HospitalServiceModel
6149
+ */
6150
+ 'customStyle'?: string | null;
6115
6151
  /**
6116
6152
  *
6117
6153
  * @type {string}
@@ -6411,6 +6447,12 @@ export interface HospitalSpecialtyItemModel {
6411
6447
  * @memberof HospitalSpecialtyItemModel
6412
6448
  */
6413
6449
  'content'?: string | null;
6450
+ /**
6451
+ *
6452
+ * @type {string}
6453
+ * @memberof HospitalSpecialtyItemModel
6454
+ */
6455
+ 'customStyle'?: string | null;
6414
6456
  /**
6415
6457
  *
6416
6458
  * @type {number}
@@ -6556,6 +6598,12 @@ export interface HospitalSpecialtyModel {
6556
6598
  * @memberof HospitalSpecialtyModel
6557
6599
  */
6558
6600
  'content'?: string | null;
6601
+ /**
6602
+ *
6603
+ * @type {string}
6604
+ * @memberof HospitalSpecialtyModel
6605
+ */
6606
+ 'customStyle'?: string | null;
6559
6607
  /**
6560
6608
  *
6561
6609
  * @type {number}
@@ -13043,10 +13091,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13043
13091
  * @summary Get Contributor.
13044
13092
  * @param {string} contributorId
13045
13093
  * @param {string} [languageCode]
13094
+ * @param {boolean} [returnDefaultValue]
13046
13095
  * @param {*} [options] Override http request option.
13047
13096
  * @throws {RequiredError}
13048
13097
  */
13049
- apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13098
+ apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13050
13099
  // verify required parameter 'contributorId' is not null or undefined
13051
13100
  assertParamExists('apiV2ContributorsContributorIdGet', 'contributorId', contributorId)
13052
13101
  const localVarPath = `/api/v2/contributors/{contributorId}`
@@ -13066,6 +13115,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13066
13115
  localVarQueryParameter['languageCode'] = languageCode;
13067
13116
  }
13068
13117
 
13118
+ if (returnDefaultValue !== undefined) {
13119
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13120
+ }
13121
+
13069
13122
 
13070
13123
 
13071
13124
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13196,15 +13249,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13196
13249
  * @param {string} [website]
13197
13250
  * @param {string} [hospitalId]
13198
13251
  * @param {boolean} [interviewerOnly]
13199
- * @param {string} [languageCode]
13200
13252
  * @param {boolean} [showHidden]
13253
+ * @param {string} [languageCode]
13254
+ * @param {boolean} [returnDefaultValue]
13201
13255
  * @param {number} [page]
13202
13256
  * @param {number} [limit]
13203
13257
  * @param {Date} [lastRetrieved]
13204
13258
  * @param {*} [options] Override http request option.
13205
13259
  * @throws {RequiredError}
13206
13260
  */
13207
- apiV2ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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> => {
13208
13262
  const localVarPath = `/api/v2/contributors`;
13209
13263
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13210
13264
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13245,12 +13299,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13245
13299
  localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
13246
13300
  }
13247
13301
 
13302
+ if (showHidden !== undefined) {
13303
+ localVarQueryParameter['ShowHidden'] = showHidden;
13304
+ }
13305
+
13248
13306
  if (languageCode !== undefined) {
13249
13307
  localVarQueryParameter['LanguageCode'] = languageCode;
13250
13308
  }
13251
13309
 
13252
- if (showHidden !== undefined) {
13253
- localVarQueryParameter['ShowHidden'] = showHidden;
13310
+ if (returnDefaultValue !== undefined) {
13311
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13254
13312
  }
13255
13313
 
13256
13314
  if (page !== undefined) {
@@ -13283,10 +13341,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13283
13341
  * @summary Get Contributor by slug.
13284
13342
  * @param {string} slug
13285
13343
  * @param {string} [languageCode]
13344
+ * @param {boolean} [returnDefaultValue]
13286
13345
  * @param {*} [options] Override http request option.
13287
13346
  * @throws {RequiredError}
13288
13347
  */
13289
- apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13348
+ apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13290
13349
  // verify required parameter 'slug' is not null or undefined
13291
13350
  assertParamExists('apiV2ContributorsSlugGet', 'slug', slug)
13292
13351
  const localVarPath = `/api/v2/contributors/{slug}`
@@ -13306,6 +13365,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
13306
13365
  localVarQueryParameter['languageCode'] = languageCode;
13307
13366
  }
13308
13367
 
13368
+ if (returnDefaultValue !== undefined) {
13369
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13370
+ }
13371
+
13309
13372
 
13310
13373
 
13311
13374
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13332,11 +13395,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
13332
13395
  * @summary Get Contributor.
13333
13396
  * @param {string} contributorId
13334
13397
  * @param {string} [languageCode]
13398
+ * @param {boolean} [returnDefaultValue]
13335
13399
  * @param {*} [options] Override http request option.
13336
13400
  * @throws {RequiredError}
13337
13401
  */
13338
- async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
13339
- 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);
13340
13404
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13341
13405
  },
13342
13406
  /**
@@ -13379,16 +13443,17 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
13379
13443
  * @param {string} [website]
13380
13444
  * @param {string} [hospitalId]
13381
13445
  * @param {boolean} [interviewerOnly]
13382
- * @param {string} [languageCode]
13383
13446
  * @param {boolean} [showHidden]
13447
+ * @param {string} [languageCode]
13448
+ * @param {boolean} [returnDefaultValue]
13384
13449
  * @param {number} [page]
13385
13450
  * @param {number} [limit]
13386
13451
  * @param {Date} [lastRetrieved]
13387
13452
  * @param {*} [options] Override http request option.
13388
13453
  * @throws {RequiredError}
13389
13454
  */
13390
- async apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
13391
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options);
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);
13392
13457
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13393
13458
  },
13394
13459
  /**
@@ -13396,11 +13461,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
13396
13461
  * @summary Get Contributor by slug.
13397
13462
  * @param {string} slug
13398
13463
  * @param {string} [languageCode]
13464
+ * @param {boolean} [returnDefaultValue]
13399
13465
  * @param {*} [options] Override http request option.
13400
13466
  * @throws {RequiredError}
13401
13467
  */
13402
- async apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
13403
- 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);
13404
13470
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13405
13471
  },
13406
13472
  }
@@ -13418,11 +13484,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
13418
13484
  * @summary Get Contributor.
13419
13485
  * @param {string} contributorId
13420
13486
  * @param {string} [languageCode]
13487
+ * @param {boolean} [returnDefaultValue]
13421
13488
  * @param {*} [options] Override http request option.
13422
13489
  * @throws {RequiredError}
13423
13490
  */
13424
- apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
13425
- 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));
13426
13493
  },
13427
13494
  /**
13428
13495
  *
@@ -13462,27 +13529,29 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
13462
13529
  * @param {string} [website]
13463
13530
  * @param {string} [hospitalId]
13464
13531
  * @param {boolean} [interviewerOnly]
13465
- * @param {string} [languageCode]
13466
13532
  * @param {boolean} [showHidden]
13533
+ * @param {string} [languageCode]
13534
+ * @param {boolean} [returnDefaultValue]
13467
13535
  * @param {number} [page]
13468
13536
  * @param {number} [limit]
13469
13537
  * @param {Date} [lastRetrieved]
13470
13538
  * @param {*} [options] Override http request option.
13471
13539
  * @throws {RequiredError}
13472
13540
  */
13473
- apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
13474
- return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
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));
13475
13543
  },
13476
13544
  /**
13477
13545
  *
13478
13546
  * @summary Get Contributor by slug.
13479
13547
  * @param {string} slug
13480
13548
  * @param {string} [languageCode]
13549
+ * @param {boolean} [returnDefaultValue]
13481
13550
  * @param {*} [options] Override http request option.
13482
13551
  * @throws {RequiredError}
13483
13552
  */
13484
- apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
13485
- 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));
13486
13555
  },
13487
13556
  };
13488
13557
  };
@@ -13499,12 +13568,13 @@ export class ContributorsApi extends BaseAPI {
13499
13568
  * @summary Get Contributor.
13500
13569
  * @param {string} contributorId
13501
13570
  * @param {string} [languageCode]
13571
+ * @param {boolean} [returnDefaultValue]
13502
13572
  * @param {*} [options] Override http request option.
13503
13573
  * @throws {RequiredError}
13504
13574
  * @memberof ContributorsApi
13505
13575
  */
13506
- public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig) {
13507
- 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));
13508
13578
  }
13509
13579
 
13510
13580
  /**
@@ -13549,8 +13619,9 @@ export class ContributorsApi extends BaseAPI {
13549
13619
  * @param {string} [website]
13550
13620
  * @param {string} [hospitalId]
13551
13621
  * @param {boolean} [interviewerOnly]
13552
- * @param {string} [languageCode]
13553
13622
  * @param {boolean} [showHidden]
13623
+ * @param {string} [languageCode]
13624
+ * @param {boolean} [returnDefaultValue]
13554
13625
  * @param {number} [page]
13555
13626
  * @param {number} [limit]
13556
13627
  * @param {Date} [lastRetrieved]
@@ -13558,8 +13629,8 @@ export class ContributorsApi extends BaseAPI {
13558
13629
  * @throws {RequiredError}
13559
13630
  * @memberof ContributorsApi
13560
13631
  */
13561
- public apiV2ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13562
- return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
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));
13563
13634
  }
13564
13635
 
13565
13636
  /**
@@ -13567,12 +13638,13 @@ export class ContributorsApi extends BaseAPI {
13567
13638
  * @summary Get Contributor by slug.
13568
13639
  * @param {string} slug
13569
13640
  * @param {string} [languageCode]
13641
+ * @param {boolean} [returnDefaultValue]
13570
13642
  * @param {*} [options] Override http request option.
13571
13643
  * @throws {RequiredError}
13572
13644
  * @memberof ContributorsApi
13573
13645
  */
13574
- public apiV2ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
13575
- 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));
13576
13648
  }
13577
13649
  }
13578
13650