ch-admin-api-client-typescript 2.8.11 → 2.8.14
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 +136 -16
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +48 -27
- package/package.json +1 -1
- package/src/api.ts +159 -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));
|