ch-admin-api-client-typescript 2.8.12 → 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.d.ts +28 -16
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +48 -27
- package/package.json +1 -1
- package/src/api.ts +51 -27
package/lib/api.js
CHANGED
|
@@ -6635,10 +6635,11 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6635
6635
|
* @summary Get Contributor.
|
|
6636
6636
|
* @param {string} contributorId
|
|
6637
6637
|
* @param {string} [languageCode]
|
|
6638
|
+
* @param {boolean} [returnDefaultValue]
|
|
6638
6639
|
* @param {*} [options] Override http request option.
|
|
6639
6640
|
* @throws {RequiredError}
|
|
6640
6641
|
*/
|
|
6641
|
-
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, options) {
|
|
6642
|
+
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
|
|
6642
6643
|
if (options === void 0) { options = {}; }
|
|
6643
6644
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6644
6645
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6666,6 +6667,9 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6666
6667
|
if (languageCode !== undefined) {
|
|
6667
6668
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
6668
6669
|
}
|
|
6670
|
+
if (returnDefaultValue !== undefined) {
|
|
6671
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
6672
|
+
}
|
|
6669
6673
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6670
6674
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6671
6675
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6996,15 +7000,16 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
6996
7000
|
* @param {string} [website]
|
|
6997
7001
|
* @param {string} [hospitalId]
|
|
6998
7002
|
* @param {boolean} [interviewerOnly]
|
|
6999
|
-
* @param {string} [languageCode]
|
|
7000
7003
|
* @param {boolean} [showHidden]
|
|
7004
|
+
* @param {string} [languageCode]
|
|
7005
|
+
* @param {boolean} [returnDefaultValue]
|
|
7001
7006
|
* @param {number} [page]
|
|
7002
7007
|
* @param {number} [limit]
|
|
7003
7008
|
* @param {Date} [lastRetrieved]
|
|
7004
7009
|
* @param {*} [options] Override http request option.
|
|
7005
7010
|
* @throws {RequiredError}
|
|
7006
7011
|
*/
|
|
7007
|
-
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7012
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
7008
7013
|
if (options === void 0) { options = {}; }
|
|
7009
7014
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7010
7015
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7047,11 +7052,14 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
7047
7052
|
if (interviewerOnly !== undefined) {
|
|
7048
7053
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
7049
7054
|
}
|
|
7055
|
+
if (showHidden !== undefined) {
|
|
7056
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7057
|
+
}
|
|
7050
7058
|
if (languageCode !== undefined) {
|
|
7051
7059
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7052
7060
|
}
|
|
7053
|
-
if (
|
|
7054
|
-
localVarQueryParameter['
|
|
7061
|
+
if (returnDefaultValue !== undefined) {
|
|
7062
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7055
7063
|
}
|
|
7056
7064
|
if (page !== undefined) {
|
|
7057
7065
|
localVarQueryParameter['page'] = page;
|
|
@@ -7122,10 +7130,11 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
7122
7130
|
* @summary Get Contributor by slug.
|
|
7123
7131
|
* @param {string} slug
|
|
7124
7132
|
* @param {string} [languageCode]
|
|
7133
|
+
* @param {boolean} [returnDefaultValue]
|
|
7125
7134
|
* @param {*} [options] Override http request option.
|
|
7126
7135
|
* @throws {RequiredError}
|
|
7127
7136
|
*/
|
|
7128
|
-
apiV1ContributorsSlugGet: function (slug, languageCode, options) {
|
|
7137
|
+
apiV1ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
7129
7138
|
if (options === void 0) { options = {}; }
|
|
7130
7139
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7131
7140
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7153,6 +7162,9 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
7153
7162
|
if (languageCode !== undefined) {
|
|
7154
7163
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
7155
7164
|
}
|
|
7165
|
+
if (returnDefaultValue !== undefined) {
|
|
7166
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
7167
|
+
}
|
|
7156
7168
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7157
7169
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7158
7170
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7198,15 +7210,16 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
7198
7210
|
* @summary Get Contributor.
|
|
7199
7211
|
* @param {string} contributorId
|
|
7200
7212
|
* @param {string} [languageCode]
|
|
7213
|
+
* @param {boolean} [returnDefaultValue]
|
|
7201
7214
|
* @param {*} [options] Override http request option.
|
|
7202
7215
|
* @throws {RequiredError}
|
|
7203
7216
|
*/
|
|
7204
|
-
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, options) {
|
|
7217
|
+
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
|
|
7205
7218
|
return __awaiter(this, void 0, void 0, function () {
|
|
7206
7219
|
var localVarAxiosArgs;
|
|
7207
7220
|
return __generator(this, function (_a) {
|
|
7208
7221
|
switch (_a.label) {
|
|
7209
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, options)];
|
|
7222
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options)];
|
|
7210
7223
|
case 1:
|
|
7211
7224
|
localVarAxiosArgs = _a.sent();
|
|
7212
7225
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7357,20 +7370,21 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
7357
7370
|
* @param {string} [website]
|
|
7358
7371
|
* @param {string} [hospitalId]
|
|
7359
7372
|
* @param {boolean} [interviewerOnly]
|
|
7360
|
-
* @param {string} [languageCode]
|
|
7361
7373
|
* @param {boolean} [showHidden]
|
|
7374
|
+
* @param {string} [languageCode]
|
|
7375
|
+
* @param {boolean} [returnDefaultValue]
|
|
7362
7376
|
* @param {number} [page]
|
|
7363
7377
|
* @param {number} [limit]
|
|
7364
7378
|
* @param {Date} [lastRetrieved]
|
|
7365
7379
|
* @param {*} [options] Override http request option.
|
|
7366
7380
|
* @throws {RequiredError}
|
|
7367
7381
|
*/
|
|
7368
|
-
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7382
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
7369
7383
|
return __awaiter(this, void 0, void 0, function () {
|
|
7370
7384
|
var localVarAxiosArgs;
|
|
7371
7385
|
return __generator(this, function (_a) {
|
|
7372
7386
|
switch (_a.label) {
|
|
7373
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7387
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
7374
7388
|
case 1:
|
|
7375
7389
|
localVarAxiosArgs = _a.sent();
|
|
7376
7390
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7403,15 +7417,16 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
7403
7417
|
* @summary Get Contributor by slug.
|
|
7404
7418
|
* @param {string} slug
|
|
7405
7419
|
* @param {string} [languageCode]
|
|
7420
|
+
* @param {boolean} [returnDefaultValue]
|
|
7406
7421
|
* @param {*} [options] Override http request option.
|
|
7407
7422
|
* @throws {RequiredError}
|
|
7408
7423
|
*/
|
|
7409
|
-
apiV1ContributorsSlugGet: function (slug, languageCode, options) {
|
|
7424
|
+
apiV1ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
7410
7425
|
return __awaiter(this, void 0, void 0, function () {
|
|
7411
7426
|
var localVarAxiosArgs;
|
|
7412
7427
|
return __generator(this, function (_a) {
|
|
7413
7428
|
switch (_a.label) {
|
|
7414
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, options)];
|
|
7429
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
7415
7430
|
case 1:
|
|
7416
7431
|
localVarAxiosArgs = _a.sent();
|
|
7417
7432
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7443,11 +7458,12 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7443
7458
|
* @summary Get Contributor.
|
|
7444
7459
|
* @param {string} contributorId
|
|
7445
7460
|
* @param {string} [languageCode]
|
|
7461
|
+
* @param {boolean} [returnDefaultValue]
|
|
7446
7462
|
* @param {*} [options] Override http request option.
|
|
7447
7463
|
* @throws {RequiredError}
|
|
7448
7464
|
*/
|
|
7449
|
-
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, options) {
|
|
7450
|
-
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
7465
|
+
apiV1ContributorsContributorIdGet: function (contributorId, languageCode, returnDefaultValue, options) {
|
|
7466
|
+
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
7451
7467
|
},
|
|
7452
7468
|
/**
|
|
7453
7469
|
*
|
|
@@ -7532,16 +7548,17 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7532
7548
|
* @param {string} [website]
|
|
7533
7549
|
* @param {string} [hospitalId]
|
|
7534
7550
|
* @param {boolean} [interviewerOnly]
|
|
7535
|
-
* @param {string} [languageCode]
|
|
7536
7551
|
* @param {boolean} [showHidden]
|
|
7552
|
+
* @param {string} [languageCode]
|
|
7553
|
+
* @param {boolean} [returnDefaultValue]
|
|
7537
7554
|
* @param {number} [page]
|
|
7538
7555
|
* @param {number} [limit]
|
|
7539
7556
|
* @param {Date} [lastRetrieved]
|
|
7540
7557
|
* @param {*} [options] Override http request option.
|
|
7541
7558
|
* @throws {RequiredError}
|
|
7542
7559
|
*/
|
|
7543
|
-
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7544
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7560
|
+
apiV1ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
7561
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7545
7562
|
},
|
|
7546
7563
|
/**
|
|
7547
7564
|
*
|
|
@@ -7558,11 +7575,12 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7558
7575
|
* @summary Get Contributor by slug.
|
|
7559
7576
|
* @param {string} slug
|
|
7560
7577
|
* @param {string} [languageCode]
|
|
7578
|
+
* @param {boolean} [returnDefaultValue]
|
|
7561
7579
|
* @param {*} [options] Override http request option.
|
|
7562
7580
|
* @throws {RequiredError}
|
|
7563
7581
|
*/
|
|
7564
|
-
apiV1ContributorsSlugGet: function (slug, languageCode, options) {
|
|
7565
|
-
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
7582
|
+
apiV1ContributorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
7583
|
+
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
7566
7584
|
},
|
|
7567
7585
|
};
|
|
7568
7586
|
};
|
|
@@ -7594,13 +7612,14 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7594
7612
|
* @summary Get Contributor.
|
|
7595
7613
|
* @param {string} contributorId
|
|
7596
7614
|
* @param {string} [languageCode]
|
|
7615
|
+
* @param {boolean} [returnDefaultValue]
|
|
7597
7616
|
* @param {*} [options] Override http request option.
|
|
7598
7617
|
* @throws {RequiredError}
|
|
7599
7618
|
* @memberof ContributorsApi
|
|
7600
7619
|
*/
|
|
7601
|
-
ContributorsApi.prototype.apiV1ContributorsContributorIdGet = function (contributorId, languageCode, options) {
|
|
7620
|
+
ContributorsApi.prototype.apiV1ContributorsContributorIdGet = function (contributorId, languageCode, returnDefaultValue, options) {
|
|
7602
7621
|
var _this = this;
|
|
7603
|
-
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7622
|
+
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7604
7623
|
};
|
|
7605
7624
|
/**
|
|
7606
7625
|
*
|
|
@@ -7697,8 +7716,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7697
7716
|
* @param {string} [website]
|
|
7698
7717
|
* @param {string} [hospitalId]
|
|
7699
7718
|
* @param {boolean} [interviewerOnly]
|
|
7700
|
-
* @param {string} [languageCode]
|
|
7701
7719
|
* @param {boolean} [showHidden]
|
|
7720
|
+
* @param {string} [languageCode]
|
|
7721
|
+
* @param {boolean} [returnDefaultValue]
|
|
7702
7722
|
* @param {number} [page]
|
|
7703
7723
|
* @param {number} [limit]
|
|
7704
7724
|
* @param {Date} [lastRetrieved]
|
|
@@ -7706,9 +7726,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7706
7726
|
* @throws {RequiredError}
|
|
7707
7727
|
* @memberof ContributorsApi
|
|
7708
7728
|
*/
|
|
7709
|
-
ContributorsApi.prototype.apiV1ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7729
|
+
ContributorsApi.prototype.apiV1ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
7710
7730
|
var _this = this;
|
|
7711
|
-
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
7731
|
+
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7712
7732
|
};
|
|
7713
7733
|
/**
|
|
7714
7734
|
*
|
|
@@ -7727,13 +7747,14 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
7727
7747
|
* @summary Get Contributor by slug.
|
|
7728
7748
|
* @param {string} slug
|
|
7729
7749
|
* @param {string} [languageCode]
|
|
7750
|
+
* @param {boolean} [returnDefaultValue]
|
|
7730
7751
|
* @param {*} [options] Override http request option.
|
|
7731
7752
|
* @throws {RequiredError}
|
|
7732
7753
|
* @memberof ContributorsApi
|
|
7733
7754
|
*/
|
|
7734
|
-
ContributorsApi.prototype.apiV1ContributorsSlugGet = function (slug, languageCode, options) {
|
|
7755
|
+
ContributorsApi.prototype.apiV1ContributorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
7735
7756
|
var _this = this;
|
|
7736
|
-
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7757
|
+
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7737
7758
|
};
|
|
7738
7759
|
return ContributorsApi;
|
|
7739
7760
|
}(base_1.BaseAPI));
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -18373,10 +18373,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18373
18373
|
* @summary Get Contributor.
|
|
18374
18374
|
* @param {string} contributorId
|
|
18375
18375
|
* @param {string} [languageCode]
|
|
18376
|
+
* @param {boolean} [returnDefaultValue]
|
|
18376
18377
|
* @param {*} [options] Override http request option.
|
|
18377
18378
|
* @throws {RequiredError}
|
|
18378
18379
|
*/
|
|
18379
|
-
apiV1ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18380
|
+
apiV1ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18380
18381
|
// verify required parameter 'contributorId' is not null or undefined
|
|
18381
18382
|
assertParamExists('apiV1ContributorsContributorIdGet', 'contributorId', contributorId)
|
|
18382
18383
|
const localVarPath = `/api/v1/contributors/{contributorId}`
|
|
@@ -18400,6 +18401,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18400
18401
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18401
18402
|
}
|
|
18402
18403
|
|
|
18404
|
+
if (returnDefaultValue !== undefined) {
|
|
18405
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18406
|
+
}
|
|
18407
|
+
|
|
18403
18408
|
|
|
18404
18409
|
|
|
18405
18410
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18710,15 +18715,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18710
18715
|
* @param {string} [website]
|
|
18711
18716
|
* @param {string} [hospitalId]
|
|
18712
18717
|
* @param {boolean} [interviewerOnly]
|
|
18713
|
-
* @param {string} [languageCode]
|
|
18714
18718
|
* @param {boolean} [showHidden]
|
|
18719
|
+
* @param {string} [languageCode]
|
|
18720
|
+
* @param {boolean} [returnDefaultValue]
|
|
18715
18721
|
* @param {number} [page]
|
|
18716
18722
|
* @param {number} [limit]
|
|
18717
18723
|
* @param {Date} [lastRetrieved]
|
|
18718
18724
|
* @param {*} [options] Override http request option.
|
|
18719
18725
|
* @throws {RequiredError}
|
|
18720
18726
|
*/
|
|
18721
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
18727
|
+
apiV1ContributorsGet: 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> => {
|
|
18722
18728
|
const localVarPath = `/api/v1/contributors`;
|
|
18723
18729
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18724
18730
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18763,12 +18769,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18763
18769
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
18764
18770
|
}
|
|
18765
18771
|
|
|
18772
|
+
if (showHidden !== undefined) {
|
|
18773
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18774
|
+
}
|
|
18775
|
+
|
|
18766
18776
|
if (languageCode !== undefined) {
|
|
18767
18777
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18768
18778
|
}
|
|
18769
18779
|
|
|
18770
|
-
if (
|
|
18771
|
-
localVarQueryParameter['
|
|
18780
|
+
if (returnDefaultValue !== undefined) {
|
|
18781
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18772
18782
|
}
|
|
18773
18783
|
|
|
18774
18784
|
if (page !== undefined) {
|
|
@@ -18839,10 +18849,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18839
18849
|
* @summary Get Contributor by slug.
|
|
18840
18850
|
* @param {string} slug
|
|
18841
18851
|
* @param {string} [languageCode]
|
|
18852
|
+
* @param {boolean} [returnDefaultValue]
|
|
18842
18853
|
* @param {*} [options] Override http request option.
|
|
18843
18854
|
* @throws {RequiredError}
|
|
18844
18855
|
*/
|
|
18845
|
-
apiV1ContributorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18856
|
+
apiV1ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18846
18857
|
// verify required parameter 'slug' is not null or undefined
|
|
18847
18858
|
assertParamExists('apiV1ContributorsSlugGet', 'slug', slug)
|
|
18848
18859
|
const localVarPath = `/api/v1/contributors/{slug}`
|
|
@@ -18866,6 +18877,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18866
18877
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18867
18878
|
}
|
|
18868
18879
|
|
|
18880
|
+
if (returnDefaultValue !== undefined) {
|
|
18881
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18882
|
+
}
|
|
18883
|
+
|
|
18869
18884
|
|
|
18870
18885
|
|
|
18871
18886
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18903,11 +18918,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
18903
18918
|
* @summary Get Contributor.
|
|
18904
18919
|
* @param {string} contributorId
|
|
18905
18920
|
* @param {string} [languageCode]
|
|
18921
|
+
* @param {boolean} [returnDefaultValue]
|
|
18906
18922
|
* @param {*} [options] Override http request option.
|
|
18907
18923
|
* @throws {RequiredError}
|
|
18908
18924
|
*/
|
|
18909
|
-
async apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
18910
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, options);
|
|
18925
|
+
async apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
18926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options);
|
|
18911
18927
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18912
18928
|
},
|
|
18913
18929
|
/**
|
|
@@ -18999,16 +19015,17 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
18999
19015
|
* @param {string} [website]
|
|
19000
19016
|
* @param {string} [hospitalId]
|
|
19001
19017
|
* @param {boolean} [interviewerOnly]
|
|
19002
|
-
* @param {string} [languageCode]
|
|
19003
19018
|
* @param {boolean} [showHidden]
|
|
19019
|
+
* @param {string} [languageCode]
|
|
19020
|
+
* @param {boolean} [returnDefaultValue]
|
|
19004
19021
|
* @param {number} [page]
|
|
19005
19022
|
* @param {number} [limit]
|
|
19006
19023
|
* @param {Date} [lastRetrieved]
|
|
19007
19024
|
* @param {*} [options] Override http request option.
|
|
19008
19025
|
* @throws {RequiredError}
|
|
19009
19026
|
*/
|
|
19010
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
19011
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19027
|
+
async apiV1ContributorsGet(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>> {
|
|
19028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
19012
19029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19013
19030
|
},
|
|
19014
19031
|
/**
|
|
@@ -19027,11 +19044,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
19027
19044
|
* @summary Get Contributor by slug.
|
|
19028
19045
|
* @param {string} slug
|
|
19029
19046
|
* @param {string} [languageCode]
|
|
19047
|
+
* @param {boolean} [returnDefaultValue]
|
|
19030
19048
|
* @param {*} [options] Override http request option.
|
|
19031
19049
|
* @throws {RequiredError}
|
|
19032
19050
|
*/
|
|
19033
|
-
async apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
19034
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, options);
|
|
19051
|
+
async apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
19052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
19035
19053
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19036
19054
|
},
|
|
19037
19055
|
}
|
|
@@ -19059,11 +19077,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19059
19077
|
* @summary Get Contributor.
|
|
19060
19078
|
* @param {string} contributorId
|
|
19061
19079
|
* @param {string} [languageCode]
|
|
19080
|
+
* @param {boolean} [returnDefaultValue]
|
|
19062
19081
|
* @param {*} [options] Override http request option.
|
|
19063
19082
|
* @throws {RequiredError}
|
|
19064
19083
|
*/
|
|
19065
|
-
apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
19066
|
-
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(axios, basePath));
|
|
19084
|
+
apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
19085
|
+
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19067
19086
|
},
|
|
19068
19087
|
/**
|
|
19069
19088
|
*
|
|
@@ -19148,16 +19167,17 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19148
19167
|
* @param {string} [website]
|
|
19149
19168
|
* @param {string} [hospitalId]
|
|
19150
19169
|
* @param {boolean} [interviewerOnly]
|
|
19151
|
-
* @param {string} [languageCode]
|
|
19152
19170
|
* @param {boolean} [showHidden]
|
|
19171
|
+
* @param {string} [languageCode]
|
|
19172
|
+
* @param {boolean} [returnDefaultValue]
|
|
19153
19173
|
* @param {number} [page]
|
|
19154
19174
|
* @param {number} [limit]
|
|
19155
19175
|
* @param {Date} [lastRetrieved]
|
|
19156
19176
|
* @param {*} [options] Override http request option.
|
|
19157
19177
|
* @throws {RequiredError}
|
|
19158
19178
|
*/
|
|
19159
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
19160
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19179
|
+
apiV1ContributorsGet(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> {
|
|
19180
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19161
19181
|
},
|
|
19162
19182
|
/**
|
|
19163
19183
|
*
|
|
@@ -19174,11 +19194,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19174
19194
|
* @summary Get Contributor by slug.
|
|
19175
19195
|
* @param {string} slug
|
|
19176
19196
|
* @param {string} [languageCode]
|
|
19197
|
+
* @param {boolean} [returnDefaultValue]
|
|
19177
19198
|
* @param {*} [options] Override http request option.
|
|
19178
19199
|
* @throws {RequiredError}
|
|
19179
19200
|
*/
|
|
19180
|
-
apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
19181
|
-
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
19201
|
+
apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
19202
|
+
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19182
19203
|
},
|
|
19183
19204
|
};
|
|
19184
19205
|
};
|
|
@@ -19207,12 +19228,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19207
19228
|
* @summary Get Contributor.
|
|
19208
19229
|
* @param {string} contributorId
|
|
19209
19230
|
* @param {string} [languageCode]
|
|
19231
|
+
* @param {boolean} [returnDefaultValue]
|
|
19210
19232
|
* @param {*} [options] Override http request option.
|
|
19211
19233
|
* @throws {RequiredError}
|
|
19212
19234
|
* @memberof ContributorsApi
|
|
19213
19235
|
*/
|
|
19214
|
-
public apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
19215
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19236
|
+
public apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19237
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
19216
19238
|
}
|
|
19217
19239
|
|
|
19218
19240
|
/**
|
|
@@ -19310,8 +19332,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19310
19332
|
* @param {string} [website]
|
|
19311
19333
|
* @param {string} [hospitalId]
|
|
19312
19334
|
* @param {boolean} [interviewerOnly]
|
|
19313
|
-
* @param {string} [languageCode]
|
|
19314
19335
|
* @param {boolean} [showHidden]
|
|
19336
|
+
* @param {string} [languageCode]
|
|
19337
|
+
* @param {boolean} [returnDefaultValue]
|
|
19315
19338
|
* @param {number} [page]
|
|
19316
19339
|
* @param {number} [limit]
|
|
19317
19340
|
* @param {Date} [lastRetrieved]
|
|
@@ -19319,8 +19342,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19319
19342
|
* @throws {RequiredError}
|
|
19320
19343
|
* @memberof ContributorsApi
|
|
19321
19344
|
*/
|
|
19322
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
19323
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19345
|
+
public apiV1ContributorsGet(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) {
|
|
19346
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19324
19347
|
}
|
|
19325
19348
|
|
|
19326
19349
|
/**
|
|
@@ -19340,12 +19363,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19340
19363
|
* @summary Get Contributor by slug.
|
|
19341
19364
|
* @param {string} slug
|
|
19342
19365
|
* @param {string} [languageCode]
|
|
19366
|
+
* @param {boolean} [returnDefaultValue]
|
|
19343
19367
|
* @param {*} [options] Override http request option.
|
|
19344
19368
|
* @throws {RequiredError}
|
|
19345
19369
|
* @memberof ContributorsApi
|
|
19346
19370
|
*/
|
|
19347
|
-
public apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
19348
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19371
|
+
public apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19372
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
19349
19373
|
}
|
|
19350
19374
|
}
|
|
19351
19375
|
|