ch-admin-api-client-typescript 3.1.2 → 3.1.3
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 +66 -26
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +77 -28
- package/package.json +1 -1
- package/src/api.ts +106 -38
package/lib/api.js
CHANGED
|
@@ -16951,10 +16951,11 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16951
16951
|
* @summary Get FaqCategory.
|
|
16952
16952
|
* @param {string} faqCategoryId
|
|
16953
16953
|
* @param {string} [languageCode]
|
|
16954
|
+
* @param {boolean} [returnDefaultValue]
|
|
16954
16955
|
* @param {*} [options] Override http request option.
|
|
16955
16956
|
* @throws {RequiredError}
|
|
16956
16957
|
*/
|
|
16957
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
16958
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
16958
16959
|
if (options === void 0) { options = {}; }
|
|
16959
16960
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16960
16961
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16982,6 +16983,9 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16982
16983
|
if (languageCode !== undefined) {
|
|
16983
16984
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
16984
16985
|
}
|
|
16986
|
+
if (returnDefaultValue !== undefined) {
|
|
16987
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16988
|
+
}
|
|
16985
16989
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16986
16990
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16987
16991
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17046,14 +17050,18 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
17046
17050
|
* @param {string} [parentId]
|
|
17047
17051
|
* @param {string} [name]
|
|
17048
17052
|
* @param {string} [description]
|
|
17053
|
+
* @param {string} [hospitalId]
|
|
17054
|
+
* @param {string} [hospitalName]
|
|
17049
17055
|
* @param {string} [languageCode]
|
|
17056
|
+
* @param {boolean} [showHidden]
|
|
17057
|
+
* @param {boolean} [returnDefaultValue]
|
|
17050
17058
|
* @param {number} [page]
|
|
17051
17059
|
* @param {number} [limit]
|
|
17052
17060
|
* @param {Date} [lastRetrieved]
|
|
17053
17061
|
* @param {*} [options] Override http request option.
|
|
17054
17062
|
* @throws {RequiredError}
|
|
17055
17063
|
*/
|
|
17056
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17064
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17057
17065
|
if (options === void 0) { options = {}; }
|
|
17058
17066
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17059
17067
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17087,9 +17095,21 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
17087
17095
|
if (description !== undefined) {
|
|
17088
17096
|
localVarQueryParameter['Description'] = description;
|
|
17089
17097
|
}
|
|
17098
|
+
if (hospitalId !== undefined) {
|
|
17099
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17100
|
+
}
|
|
17101
|
+
if (hospitalName !== undefined) {
|
|
17102
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
17103
|
+
}
|
|
17090
17104
|
if (languageCode !== undefined) {
|
|
17091
17105
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17092
17106
|
}
|
|
17107
|
+
if (showHidden !== undefined) {
|
|
17108
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17109
|
+
}
|
|
17110
|
+
if (returnDefaultValue !== undefined) {
|
|
17111
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17112
|
+
}
|
|
17093
17113
|
if (page !== undefined) {
|
|
17094
17114
|
localVarQueryParameter['page'] = page;
|
|
17095
17115
|
}
|
|
@@ -17257,15 +17277,16 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
17257
17277
|
* @summary Get FaqCategory.
|
|
17258
17278
|
* @param {string} faqCategoryId
|
|
17259
17279
|
* @param {string} [languageCode]
|
|
17280
|
+
* @param {boolean} [returnDefaultValue]
|
|
17260
17281
|
* @param {*} [options] Override http request option.
|
|
17261
17282
|
* @throws {RequiredError}
|
|
17262
17283
|
*/
|
|
17263
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
17284
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
17264
17285
|
return __awaiter(this, void 0, void 0, function () {
|
|
17265
17286
|
var localVarAxiosArgs;
|
|
17266
17287
|
return __generator(this, function (_a) {
|
|
17267
17288
|
switch (_a.label) {
|
|
17268
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options)];
|
|
17289
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options)];
|
|
17269
17290
|
case 1:
|
|
17270
17291
|
localVarAxiosArgs = _a.sent();
|
|
17271
17292
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17301,19 +17322,23 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
17301
17322
|
* @param {string} [parentId]
|
|
17302
17323
|
* @param {string} [name]
|
|
17303
17324
|
* @param {string} [description]
|
|
17325
|
+
* @param {string} [hospitalId]
|
|
17326
|
+
* @param {string} [hospitalName]
|
|
17304
17327
|
* @param {string} [languageCode]
|
|
17328
|
+
* @param {boolean} [showHidden]
|
|
17329
|
+
* @param {boolean} [returnDefaultValue]
|
|
17305
17330
|
* @param {number} [page]
|
|
17306
17331
|
* @param {number} [limit]
|
|
17307
17332
|
* @param {Date} [lastRetrieved]
|
|
17308
17333
|
* @param {*} [options] Override http request option.
|
|
17309
17334
|
* @throws {RequiredError}
|
|
17310
17335
|
*/
|
|
17311
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17336
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17312
17337
|
return __awaiter(this, void 0, void 0, function () {
|
|
17313
17338
|
var localVarAxiosArgs;
|
|
17314
17339
|
return __generator(this, function (_a) {
|
|
17315
17340
|
switch (_a.label) {
|
|
17316
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options)];
|
|
17341
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
17317
17342
|
case 1:
|
|
17318
17343
|
localVarAxiosArgs = _a.sent();
|
|
17319
17344
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17398,11 +17423,12 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
17398
17423
|
* @summary Get FaqCategory.
|
|
17399
17424
|
* @param {string} faqCategoryId
|
|
17400
17425
|
* @param {string} [languageCode]
|
|
17426
|
+
* @param {boolean} [returnDefaultValue]
|
|
17401
17427
|
* @param {*} [options] Override http request option.
|
|
17402
17428
|
* @throws {RequiredError}
|
|
17403
17429
|
*/
|
|
17404
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
17405
|
-
return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
17430
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
17431
|
+
return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
17406
17432
|
},
|
|
17407
17433
|
/**
|
|
17408
17434
|
*
|
|
@@ -17422,15 +17448,19 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
17422
17448
|
* @param {string} [parentId]
|
|
17423
17449
|
* @param {string} [name]
|
|
17424
17450
|
* @param {string} [description]
|
|
17451
|
+
* @param {string} [hospitalId]
|
|
17452
|
+
* @param {string} [hospitalName]
|
|
17425
17453
|
* @param {string} [languageCode]
|
|
17454
|
+
* @param {boolean} [showHidden]
|
|
17455
|
+
* @param {boolean} [returnDefaultValue]
|
|
17426
17456
|
* @param {number} [page]
|
|
17427
17457
|
* @param {number} [limit]
|
|
17428
17458
|
* @param {Date} [lastRetrieved]
|
|
17429
17459
|
* @param {*} [options] Override http request option.
|
|
17430
17460
|
* @throws {RequiredError}
|
|
17431
17461
|
*/
|
|
17432
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17433
|
-
return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17462
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17463
|
+
return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17434
17464
|
},
|
|
17435
17465
|
/**
|
|
17436
17466
|
*
|
|
@@ -17497,13 +17527,14 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
17497
17527
|
* @summary Get FaqCategory.
|
|
17498
17528
|
* @param {string} faqCategoryId
|
|
17499
17529
|
* @param {string} [languageCode]
|
|
17530
|
+
* @param {boolean} [returnDefaultValue]
|
|
17500
17531
|
* @param {*} [options] Override http request option.
|
|
17501
17532
|
* @throws {RequiredError}
|
|
17502
17533
|
* @memberof FaqCategoriesApi
|
|
17503
17534
|
*/
|
|
17504
|
-
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdGet = function (faqCategoryId, languageCode, options) {
|
|
17535
|
+
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdGet = function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
17505
17536
|
var _this = this;
|
|
17506
|
-
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17537
|
+
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17507
17538
|
};
|
|
17508
17539
|
/**
|
|
17509
17540
|
*
|
|
@@ -17525,7 +17556,11 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
17525
17556
|
* @param {string} [parentId]
|
|
17526
17557
|
* @param {string} [name]
|
|
17527
17558
|
* @param {string} [description]
|
|
17559
|
+
* @param {string} [hospitalId]
|
|
17560
|
+
* @param {string} [hospitalName]
|
|
17528
17561
|
* @param {string} [languageCode]
|
|
17562
|
+
* @param {boolean} [showHidden]
|
|
17563
|
+
* @param {boolean} [returnDefaultValue]
|
|
17529
17564
|
* @param {number} [page]
|
|
17530
17565
|
* @param {number} [limit]
|
|
17531
17566
|
* @param {Date} [lastRetrieved]
|
|
@@ -17533,9 +17568,9 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
17533
17568
|
* @throws {RequiredError}
|
|
17534
17569
|
* @memberof FaqCategoriesApi
|
|
17535
17570
|
*/
|
|
17536
|
-
FaqCategoriesApi.prototype.apiV1FaqcategoriesGet = function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17571
|
+
FaqCategoriesApi.prototype.apiV1FaqcategoriesGet = function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17537
17572
|
var _this = this;
|
|
17538
|
-
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17573
|
+
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17539
17574
|
};
|
|
17540
17575
|
/**
|
|
17541
17576
|
*
|
|
@@ -17620,10 +17655,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17620
17655
|
* @summary Get faq.
|
|
17621
17656
|
* @param {string} faqId
|
|
17622
17657
|
* @param {string} [languageCode]
|
|
17658
|
+
* @param {boolean} [returnDefaultValue]
|
|
17623
17659
|
* @param {*} [options] Override http request option.
|
|
17624
17660
|
* @throws {RequiredError}
|
|
17625
17661
|
*/
|
|
17626
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
17662
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
17627
17663
|
if (options === void 0) { options = {}; }
|
|
17628
17664
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17629
17665
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17651,6 +17687,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17651
17687
|
if (languageCode !== undefined) {
|
|
17652
17688
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17653
17689
|
}
|
|
17690
|
+
if (returnDefaultValue !== undefined) {
|
|
17691
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17692
|
+
}
|
|
17654
17693
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17655
17694
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17656
17695
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17974,13 +18013,14 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17974
18013
|
* @param {string} [hospitalName]
|
|
17975
18014
|
* @param {string} [languageCode]
|
|
17976
18015
|
* @param {boolean} [showHidden]
|
|
18016
|
+
* @param {boolean} [returnDefaultValue]
|
|
17977
18017
|
* @param {number} [page]
|
|
17978
18018
|
* @param {number} [limit]
|
|
17979
18019
|
* @param {Date} [lastRetrieved]
|
|
17980
18020
|
* @param {*} [options] Override http request option.
|
|
17981
18021
|
* @throws {RequiredError}
|
|
17982
18022
|
*/
|
|
17983
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18023
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17984
18024
|
if (options === void 0) { options = {}; }
|
|
17985
18025
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17986
18026
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18026,6 +18066,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
18026
18066
|
if (showHidden !== undefined) {
|
|
18027
18067
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18028
18068
|
}
|
|
18069
|
+
if (returnDefaultValue !== undefined) {
|
|
18070
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18071
|
+
}
|
|
18029
18072
|
if (page !== undefined) {
|
|
18030
18073
|
localVarQueryParameter['page'] = page;
|
|
18031
18074
|
}
|
|
@@ -18171,15 +18214,16 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
18171
18214
|
* @summary Get faq.
|
|
18172
18215
|
* @param {string} faqId
|
|
18173
18216
|
* @param {string} [languageCode]
|
|
18217
|
+
* @param {boolean} [returnDefaultValue]
|
|
18174
18218
|
* @param {*} [options] Override http request option.
|
|
18175
18219
|
* @throws {RequiredError}
|
|
18176
18220
|
*/
|
|
18177
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
18221
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
18178
18222
|
return __awaiter(this, void 0, void 0, function () {
|
|
18179
18223
|
var localVarAxiosArgs;
|
|
18180
18224
|
return __generator(this, function (_a) {
|
|
18181
18225
|
switch (_a.label) {
|
|
18182
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options)];
|
|
18226
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options)];
|
|
18183
18227
|
case 1:
|
|
18184
18228
|
localVarAxiosArgs = _a.sent();
|
|
18185
18229
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -18329,18 +18373,19 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
18329
18373
|
* @param {string} [hospitalName]
|
|
18330
18374
|
* @param {string} [languageCode]
|
|
18331
18375
|
* @param {boolean} [showHidden]
|
|
18376
|
+
* @param {boolean} [returnDefaultValue]
|
|
18332
18377
|
* @param {number} [page]
|
|
18333
18378
|
* @param {number} [limit]
|
|
18334
18379
|
* @param {Date} [lastRetrieved]
|
|
18335
18380
|
* @param {*} [options] Override http request option.
|
|
18336
18381
|
* @throws {RequiredError}
|
|
18337
18382
|
*/
|
|
18338
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18383
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18339
18384
|
return __awaiter(this, void 0, void 0, function () {
|
|
18340
18385
|
var localVarAxiosArgs;
|
|
18341
18386
|
return __generator(this, function (_a) {
|
|
18342
18387
|
switch (_a.label) {
|
|
18343
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
18388
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18344
18389
|
case 1:
|
|
18345
18390
|
localVarAxiosArgs = _a.sent();
|
|
18346
18391
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -18413,11 +18458,12 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
18413
18458
|
* @summary Get faq.
|
|
18414
18459
|
* @param {string} faqId
|
|
18415
18460
|
* @param {string} [languageCode]
|
|
18461
|
+
* @param {boolean} [returnDefaultValue]
|
|
18416
18462
|
* @param {*} [options] Override http request option.
|
|
18417
18463
|
* @throws {RequiredError}
|
|
18418
18464
|
*/
|
|
18419
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
18420
|
-
return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
18465
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
18466
|
+
return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
18421
18467
|
},
|
|
18422
18468
|
/**
|
|
18423
18469
|
*
|
|
@@ -18501,14 +18547,15 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
18501
18547
|
* @param {string} [hospitalName]
|
|
18502
18548
|
* @param {string} [languageCode]
|
|
18503
18549
|
* @param {boolean} [showHidden]
|
|
18550
|
+
* @param {boolean} [returnDefaultValue]
|
|
18504
18551
|
* @param {number} [page]
|
|
18505
18552
|
* @param {number} [limit]
|
|
18506
18553
|
* @param {Date} [lastRetrieved]
|
|
18507
18554
|
* @param {*} [options] Override http request option.
|
|
18508
18555
|
* @throws {RequiredError}
|
|
18509
18556
|
*/
|
|
18510
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18511
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18557
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18558
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18512
18559
|
},
|
|
18513
18560
|
/**
|
|
18514
18561
|
*
|
|
@@ -18561,13 +18608,14 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18561
18608
|
* @summary Get faq.
|
|
18562
18609
|
* @param {string} faqId
|
|
18563
18610
|
* @param {string} [languageCode]
|
|
18611
|
+
* @param {boolean} [returnDefaultValue]
|
|
18564
18612
|
* @param {*} [options] Override http request option.
|
|
18565
18613
|
* @throws {RequiredError}
|
|
18566
18614
|
* @memberof FaqsApi
|
|
18567
18615
|
*/
|
|
18568
|
-
FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, options) {
|
|
18616
|
+
FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, returnDefaultValue, options) {
|
|
18569
18617
|
var _this = this;
|
|
18570
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18618
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18571
18619
|
};
|
|
18572
18620
|
/**
|
|
18573
18621
|
*
|
|
@@ -18663,6 +18711,7 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18663
18711
|
* @param {string} [hospitalName]
|
|
18664
18712
|
* @param {string} [languageCode]
|
|
18665
18713
|
* @param {boolean} [showHidden]
|
|
18714
|
+
* @param {boolean} [returnDefaultValue]
|
|
18666
18715
|
* @param {number} [page]
|
|
18667
18716
|
* @param {number} [limit]
|
|
18668
18717
|
* @param {Date} [lastRetrieved]
|
|
@@ -18670,9 +18719,9 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18670
18719
|
* @throws {RequiredError}
|
|
18671
18720
|
* @memberof FaqsApi
|
|
18672
18721
|
*/
|
|
18673
|
-
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18722
|
+
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18674
18723
|
var _this = this;
|
|
18675
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18724
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18676
18725
|
};
|
|
18677
18726
|
/**
|
|
18678
18727
|
*
|