ch-admin-api-client-typescript 3.1.2 → 3.1.5

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
@@ -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
  *
@@ -17576,10 +17611,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17576
17611
  *
17577
17612
  * @summary Delete faq.
17578
17613
  * @param {string} faqId
17614
+ * @param {boolean} [forceDelete]
17579
17615
  * @param {*} [options] Override http request option.
17580
17616
  * @throws {RequiredError}
17581
17617
  */
17582
- apiV1FaqsFaqIdDelete: function (faqId, options) {
17618
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
17583
17619
  if (options === void 0) { options = {}; }
17584
17620
  return __awaiter(_this, void 0, void 0, function () {
17585
17621
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -17604,6 +17640,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17604
17640
  // authentication oauth2 required
17605
17641
  // oauth required
17606
17642
  _a.sent();
17643
+ if (forceDelete !== undefined) {
17644
+ localVarQueryParameter['forceDelete'] = forceDelete;
17645
+ }
17607
17646
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
17608
17647
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17609
17648
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -17620,10 +17659,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17620
17659
  * @summary Get faq.
17621
17660
  * @param {string} faqId
17622
17661
  * @param {string} [languageCode]
17662
+ * @param {boolean} [returnDefaultValue]
17623
17663
  * @param {*} [options] Override http request option.
17624
17664
  * @throws {RequiredError}
17625
17665
  */
17626
- apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
17666
+ apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
17627
17667
  if (options === void 0) { options = {}; }
17628
17668
  return __awaiter(_this, void 0, void 0, function () {
17629
17669
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -17651,6 +17691,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17651
17691
  if (languageCode !== undefined) {
17652
17692
  localVarQueryParameter['languageCode'] = languageCode;
17653
17693
  }
17694
+ if (returnDefaultValue !== undefined) {
17695
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
17696
+ }
17654
17697
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
17655
17698
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17656
17699
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -17974,13 +18017,14 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17974
18017
  * @param {string} [hospitalName]
17975
18018
  * @param {string} [languageCode]
17976
18019
  * @param {boolean} [showHidden]
18020
+ * @param {boolean} [returnDefaultValue]
17977
18021
  * @param {number} [page]
17978
18022
  * @param {number} [limit]
17979
18023
  * @param {Date} [lastRetrieved]
17980
18024
  * @param {*} [options] Override http request option.
17981
18025
  * @throws {RequiredError}
17982
18026
  */
17983
- apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
18027
+ apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
17984
18028
  if (options === void 0) { options = {}; }
17985
18029
  return __awaiter(_this, void 0, void 0, function () {
17986
18030
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18026,6 +18070,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
18026
18070
  if (showHidden !== undefined) {
18027
18071
  localVarQueryParameter['ShowHidden'] = showHidden;
18028
18072
  }
18073
+ if (returnDefaultValue !== undefined) {
18074
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18075
+ }
18029
18076
  if (page !== undefined) {
18030
18077
  localVarQueryParameter['page'] = page;
18031
18078
  }
@@ -18150,15 +18197,16 @@ exports.FaqsApiFp = function (configuration) {
18150
18197
  *
18151
18198
  * @summary Delete faq.
18152
18199
  * @param {string} faqId
18200
+ * @param {boolean} [forceDelete]
18153
18201
  * @param {*} [options] Override http request option.
18154
18202
  * @throws {RequiredError}
18155
18203
  */
18156
- apiV1FaqsFaqIdDelete: function (faqId, options) {
18204
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
18157
18205
  return __awaiter(this, void 0, void 0, function () {
18158
18206
  var localVarAxiosArgs;
18159
18207
  return __generator(this, function (_a) {
18160
18208
  switch (_a.label) {
18161
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options)];
18209
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, options)];
18162
18210
  case 1:
18163
18211
  localVarAxiosArgs = _a.sent();
18164
18212
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18171,15 +18219,16 @@ exports.FaqsApiFp = function (configuration) {
18171
18219
  * @summary Get faq.
18172
18220
  * @param {string} faqId
18173
18221
  * @param {string} [languageCode]
18222
+ * @param {boolean} [returnDefaultValue]
18174
18223
  * @param {*} [options] Override http request option.
18175
18224
  * @throws {RequiredError}
18176
18225
  */
18177
- apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
18226
+ apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
18178
18227
  return __awaiter(this, void 0, void 0, function () {
18179
18228
  var localVarAxiosArgs;
18180
18229
  return __generator(this, function (_a) {
18181
18230
  switch (_a.label) {
18182
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options)];
18231
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options)];
18183
18232
  case 1:
18184
18233
  localVarAxiosArgs = _a.sent();
18185
18234
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18329,18 +18378,19 @@ exports.FaqsApiFp = function (configuration) {
18329
18378
  * @param {string} [hospitalName]
18330
18379
  * @param {string} [languageCode]
18331
18380
  * @param {boolean} [showHidden]
18381
+ * @param {boolean} [returnDefaultValue]
18332
18382
  * @param {number} [page]
18333
18383
  * @param {number} [limit]
18334
18384
  * @param {Date} [lastRetrieved]
18335
18385
  * @param {*} [options] Override http request option.
18336
18386
  * @throws {RequiredError}
18337
18387
  */
18338
- apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
18388
+ apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18339
18389
  return __awaiter(this, void 0, void 0, function () {
18340
18390
  var localVarAxiosArgs;
18341
18391
  return __generator(this, function (_a) {
18342
18392
  switch (_a.label) {
18343
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
18393
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
18344
18394
  case 1:
18345
18395
  localVarAxiosArgs = _a.sent();
18346
18396
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18402,22 +18452,24 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
18402
18452
  *
18403
18453
  * @summary Delete faq.
18404
18454
  * @param {string} faqId
18455
+ * @param {boolean} [forceDelete]
18405
18456
  * @param {*} [options] Override http request option.
18406
18457
  * @throws {RequiredError}
18407
18458
  */
18408
- apiV1FaqsFaqIdDelete: function (faqId, options) {
18409
- return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then(function (request) { return request(axios, basePath); });
18459
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
18460
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(axios, basePath); });
18410
18461
  },
18411
18462
  /**
18412
18463
  *
18413
18464
  * @summary Get faq.
18414
18465
  * @param {string} faqId
18415
18466
  * @param {string} [languageCode]
18467
+ * @param {boolean} [returnDefaultValue]
18416
18468
  * @param {*} [options] Override http request option.
18417
18469
  * @throws {RequiredError}
18418
18470
  */
18419
- apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
18420
- return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(axios, basePath); });
18471
+ apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
18472
+ return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
18421
18473
  },
18422
18474
  /**
18423
18475
  *
@@ -18501,14 +18553,15 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
18501
18553
  * @param {string} [hospitalName]
18502
18554
  * @param {string} [languageCode]
18503
18555
  * @param {boolean} [showHidden]
18556
+ * @param {boolean} [returnDefaultValue]
18504
18557
  * @param {number} [page]
18505
18558
  * @param {number} [limit]
18506
18559
  * @param {Date} [lastRetrieved]
18507
18560
  * @param {*} [options] Override http request option.
18508
18561
  * @throws {RequiredError}
18509
18562
  */
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); });
18563
+ apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18564
+ return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18512
18565
  },
18513
18566
  /**
18514
18567
  *
@@ -18548,26 +18601,28 @@ var FaqsApi = /** @class */ (function (_super) {
18548
18601
  *
18549
18602
  * @summary Delete faq.
18550
18603
  * @param {string} faqId
18604
+ * @param {boolean} [forceDelete]
18551
18605
  * @param {*} [options] Override http request option.
18552
18606
  * @throws {RequiredError}
18553
18607
  * @memberof FaqsApi
18554
18608
  */
18555
- FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, options) {
18609
+ FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, forceDelete, options) {
18556
18610
  var _this = this;
18557
- return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then(function (request) { return request(_this.axios, _this.basePath); });
18611
+ return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(_this.axios, _this.basePath); });
18558
18612
  };
18559
18613
  /**
18560
18614
  *
18561
18615
  * @summary Get faq.
18562
18616
  * @param {string} faqId
18563
18617
  * @param {string} [languageCode]
18618
+ * @param {boolean} [returnDefaultValue]
18564
18619
  * @param {*} [options] Override http request option.
18565
18620
  * @throws {RequiredError}
18566
18621
  * @memberof FaqsApi
18567
18622
  */
18568
- FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, options) {
18623
+ FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, returnDefaultValue, options) {
18569
18624
  var _this = this;
18570
- return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
18625
+ return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
18571
18626
  };
18572
18627
  /**
18573
18628
  *
@@ -18663,6 +18718,7 @@ var FaqsApi = /** @class */ (function (_super) {
18663
18718
  * @param {string} [hospitalName]
18664
18719
  * @param {string} [languageCode]
18665
18720
  * @param {boolean} [showHidden]
18721
+ * @param {boolean} [returnDefaultValue]
18666
18722
  * @param {number} [page]
18667
18723
  * @param {number} [limit]
18668
18724
  * @param {Date} [lastRetrieved]
@@ -18670,9 +18726,9 @@ var FaqsApi = /** @class */ (function (_super) {
18670
18726
  * @throws {RequiredError}
18671
18727
  * @memberof FaqsApi
18672
18728
  */
18673
- FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
18729
+ FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18674
18730
  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); });
18731
+ 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
18732
  };
18677
18733
  /**
18678
18734
  *
@@ -20596,6 +20652,281 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20596
20652
  });
20597
20653
  });
20598
20654
  },
20655
+ /**
20656
+ *
20657
+ * @summary Get all HospitalServiceMedias.
20658
+ * @param {string} hospitalId
20659
+ * @param {string} hospitalSpecialtyId
20660
+ * @param {string} [id]
20661
+ * @param {MediaType} [mediaType]
20662
+ * @param {number} [page]
20663
+ * @param {number} [limit]
20664
+ * @param {Date} [lastRetrieved]
20665
+ * @param {*} [options] Override http request option.
20666
+ * @throws {RequiredError}
20667
+ */
20668
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
20669
+ if (options === void 0) { options = {}; }
20670
+ return __awaiter(_this, void 0, void 0, function () {
20671
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20672
+ return __generator(this, function (_a) {
20673
+ switch (_a.label) {
20674
+ case 0:
20675
+ // verify required parameter 'hospitalId' is not null or undefined
20676
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId);
20677
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20678
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
20679
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
20680
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20681
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)));
20682
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20683
+ if (configuration) {
20684
+ baseOptions = configuration.baseOptions;
20685
+ }
20686
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20687
+ localVarHeaderParameter = {};
20688
+ localVarQueryParameter = {};
20689
+ // authentication oauth2 required
20690
+ // oauth required
20691
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20692
+ case 1:
20693
+ // authentication oauth2 required
20694
+ // oauth required
20695
+ _a.sent();
20696
+ if (id !== undefined) {
20697
+ localVarQueryParameter['Id'] = id;
20698
+ }
20699
+ if (mediaType !== undefined) {
20700
+ localVarQueryParameter['MediaType'] = mediaType;
20701
+ }
20702
+ if (page !== undefined) {
20703
+ localVarQueryParameter['page'] = page;
20704
+ }
20705
+ if (limit !== undefined) {
20706
+ localVarQueryParameter['limit'] = limit;
20707
+ }
20708
+ if (lastRetrieved !== undefined) {
20709
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
20710
+ lastRetrieved.toISOString() :
20711
+ lastRetrieved;
20712
+ }
20713
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20714
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20715
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20716
+ return [2 /*return*/, {
20717
+ url: common_1.toPathString(localVarUrlObj),
20718
+ options: localVarRequestOptions,
20719
+ }];
20720
+ }
20721
+ });
20722
+ });
20723
+ },
20724
+ /**
20725
+ *
20726
+ * @summary Delete HospitalServiceMedia
20727
+ * @param {string} hospitalId
20728
+ * @param {string} hospitalSpecialtyId
20729
+ * @param {string} mediaId
20730
+ * @param {*} [options] Override http request option.
20731
+ * @throws {RequiredError}
20732
+ */
20733
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
20734
+ if (options === void 0) { options = {}; }
20735
+ return __awaiter(_this, void 0, void 0, function () {
20736
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20737
+ return __generator(this, function (_a) {
20738
+ switch (_a.label) {
20739
+ case 0:
20740
+ // verify required parameter 'hospitalId' is not null or undefined
20741
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalId', hospitalId);
20742
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20743
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId);
20744
+ // verify required parameter 'mediaId' is not null or undefined
20745
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'mediaId', mediaId);
20746
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20747
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20748
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20749
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20750
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20751
+ if (configuration) {
20752
+ baseOptions = configuration.baseOptions;
20753
+ }
20754
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
20755
+ localVarHeaderParameter = {};
20756
+ localVarQueryParameter = {};
20757
+ // authentication oauth2 required
20758
+ // oauth required
20759
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20760
+ case 1:
20761
+ // authentication oauth2 required
20762
+ // oauth required
20763
+ _a.sent();
20764
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20765
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20766
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20767
+ return [2 /*return*/, {
20768
+ url: common_1.toPathString(localVarUrlObj),
20769
+ options: localVarRequestOptions,
20770
+ }];
20771
+ }
20772
+ });
20773
+ });
20774
+ },
20775
+ /**
20776
+ *
20777
+ * @summary Get HospitalServiceMedia.
20778
+ * @param {string} hospitalId
20779
+ * @param {string} hospitalSpecialtyId
20780
+ * @param {string} mediaId
20781
+ * @param {*} [options] Override http request option.
20782
+ * @throws {RequiredError}
20783
+ */
20784
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
20785
+ if (options === void 0) { options = {}; }
20786
+ return __awaiter(_this, void 0, void 0, function () {
20787
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20788
+ return __generator(this, function (_a) {
20789
+ switch (_a.label) {
20790
+ case 0:
20791
+ // verify required parameter 'hospitalId' is not null or undefined
20792
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId);
20793
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20794
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
20795
+ // verify required parameter 'mediaId' is not null or undefined
20796
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId);
20797
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20798
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20799
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20800
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20801
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20802
+ if (configuration) {
20803
+ baseOptions = configuration.baseOptions;
20804
+ }
20805
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20806
+ localVarHeaderParameter = {};
20807
+ localVarQueryParameter = {};
20808
+ // authentication oauth2 required
20809
+ // oauth required
20810
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20811
+ case 1:
20812
+ // authentication oauth2 required
20813
+ // oauth required
20814
+ _a.sent();
20815
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20816
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20817
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20818
+ return [2 /*return*/, {
20819
+ url: common_1.toPathString(localVarUrlObj),
20820
+ options: localVarRequestOptions,
20821
+ }];
20822
+ }
20823
+ });
20824
+ });
20825
+ },
20826
+ /**
20827
+ *
20828
+ * @summary Update HospitalServiceMedia.
20829
+ * @param {string} hospitalId
20830
+ * @param {string} hospitalSpecialtyId
20831
+ * @param {string} mediaId
20832
+ * @param {UpdateMediaCommand} [updateMediaCommand]
20833
+ * @param {*} [options] Override http request option.
20834
+ * @throws {RequiredError}
20835
+ */
20836
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
20837
+ if (options === void 0) { options = {}; }
20838
+ return __awaiter(_this, void 0, void 0, function () {
20839
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20840
+ return __generator(this, function (_a) {
20841
+ switch (_a.label) {
20842
+ case 0:
20843
+ // verify required parameter 'hospitalId' is not null or undefined
20844
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalId', hospitalId);
20845
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20846
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId);
20847
+ // verify required parameter 'mediaId' is not null or undefined
20848
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'mediaId', mediaId);
20849
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20850
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20851
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20852
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20853
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20854
+ if (configuration) {
20855
+ baseOptions = configuration.baseOptions;
20856
+ }
20857
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
20858
+ localVarHeaderParameter = {};
20859
+ localVarQueryParameter = {};
20860
+ // authentication oauth2 required
20861
+ // oauth required
20862
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20863
+ case 1:
20864
+ // authentication oauth2 required
20865
+ // oauth required
20866
+ _a.sent();
20867
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20868
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20869
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20870
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20871
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
20872
+ return [2 /*return*/, {
20873
+ url: common_1.toPathString(localVarUrlObj),
20874
+ options: localVarRequestOptions,
20875
+ }];
20876
+ }
20877
+ });
20878
+ });
20879
+ },
20880
+ /**
20881
+ *
20882
+ * @summary Create HospitalServiceMedia.
20883
+ * @param {string} hospitalId
20884
+ * @param {string} hospitalSpecialtyId
20885
+ * @param {CreateMediaCommand} [createMediaCommand]
20886
+ * @param {*} [options] Override http request option.
20887
+ * @throws {RequiredError}
20888
+ */
20889
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
20890
+ if (options === void 0) { options = {}; }
20891
+ return __awaiter(_this, void 0, void 0, function () {
20892
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20893
+ return __generator(this, function (_a) {
20894
+ switch (_a.label) {
20895
+ case 0:
20896
+ // verify required parameter 'hospitalId' is not null or undefined
20897
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalId', hospitalId);
20898
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20899
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalSpecialtyId', hospitalSpecialtyId);
20900
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
20901
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20902
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)));
20903
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20904
+ if (configuration) {
20905
+ baseOptions = configuration.baseOptions;
20906
+ }
20907
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20908
+ localVarHeaderParameter = {};
20909
+ localVarQueryParameter = {};
20910
+ // authentication oauth2 required
20911
+ // oauth required
20912
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20913
+ case 1:
20914
+ // authentication oauth2 required
20915
+ // oauth required
20916
+ _a.sent();
20917
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20918
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20919
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20920
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20921
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
20922
+ return [2 /*return*/, {
20923
+ url: common_1.toPathString(localVarUrlObj),
20924
+ options: localVarRequestOptions,
20925
+ }];
20926
+ }
20927
+ });
20928
+ });
20929
+ },
20599
20930
  /**
20600
20931
  *
20601
20932
  * @summary Create HospitalSpecialty.
@@ -22796,6 +23127,121 @@ exports.HospitalsApiFp = function (configuration) {
22796
23127
  });
22797
23128
  });
22798
23129
  },
23130
+ /**
23131
+ *
23132
+ * @summary Get all HospitalServiceMedias.
23133
+ * @param {string} hospitalId
23134
+ * @param {string} hospitalSpecialtyId
23135
+ * @param {string} [id]
23136
+ * @param {MediaType} [mediaType]
23137
+ * @param {number} [page]
23138
+ * @param {number} [limit]
23139
+ * @param {Date} [lastRetrieved]
23140
+ * @param {*} [options] Override http request option.
23141
+ * @throws {RequiredError}
23142
+ */
23143
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
23144
+ return __awaiter(this, void 0, void 0, function () {
23145
+ var localVarAxiosArgs;
23146
+ return __generator(this, function (_a) {
23147
+ switch (_a.label) {
23148
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options)];
23149
+ case 1:
23150
+ localVarAxiosArgs = _a.sent();
23151
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23152
+ }
23153
+ });
23154
+ });
23155
+ },
23156
+ /**
23157
+ *
23158
+ * @summary Delete HospitalServiceMedia
23159
+ * @param {string} hospitalId
23160
+ * @param {string} hospitalSpecialtyId
23161
+ * @param {string} mediaId
23162
+ * @param {*} [options] Override http request option.
23163
+ * @throws {RequiredError}
23164
+ */
23165
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
23166
+ return __awaiter(this, void 0, void 0, function () {
23167
+ var localVarAxiosArgs;
23168
+ return __generator(this, function (_a) {
23169
+ switch (_a.label) {
23170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options)];
23171
+ case 1:
23172
+ localVarAxiosArgs = _a.sent();
23173
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23174
+ }
23175
+ });
23176
+ });
23177
+ },
23178
+ /**
23179
+ *
23180
+ * @summary Get HospitalServiceMedia.
23181
+ * @param {string} hospitalId
23182
+ * @param {string} hospitalSpecialtyId
23183
+ * @param {string} mediaId
23184
+ * @param {*} [options] Override http request option.
23185
+ * @throws {RequiredError}
23186
+ */
23187
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
23188
+ return __awaiter(this, void 0, void 0, function () {
23189
+ var localVarAxiosArgs;
23190
+ return __generator(this, function (_a) {
23191
+ switch (_a.label) {
23192
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options)];
23193
+ case 1:
23194
+ localVarAxiosArgs = _a.sent();
23195
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23196
+ }
23197
+ });
23198
+ });
23199
+ },
23200
+ /**
23201
+ *
23202
+ * @summary Update HospitalServiceMedia.
23203
+ * @param {string} hospitalId
23204
+ * @param {string} hospitalSpecialtyId
23205
+ * @param {string} mediaId
23206
+ * @param {UpdateMediaCommand} [updateMediaCommand]
23207
+ * @param {*} [options] Override http request option.
23208
+ * @throws {RequiredError}
23209
+ */
23210
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
23211
+ return __awaiter(this, void 0, void 0, function () {
23212
+ var localVarAxiosArgs;
23213
+ return __generator(this, function (_a) {
23214
+ switch (_a.label) {
23215
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options)];
23216
+ case 1:
23217
+ localVarAxiosArgs = _a.sent();
23218
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23219
+ }
23220
+ });
23221
+ });
23222
+ },
23223
+ /**
23224
+ *
23225
+ * @summary Create HospitalServiceMedia.
23226
+ * @param {string} hospitalId
23227
+ * @param {string} hospitalSpecialtyId
23228
+ * @param {CreateMediaCommand} [createMediaCommand]
23229
+ * @param {*} [options] Override http request option.
23230
+ * @throws {RequiredError}
23231
+ */
23232
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
23233
+ return __awaiter(this, void 0, void 0, function () {
23234
+ var localVarAxiosArgs;
23235
+ return __generator(this, function (_a) {
23236
+ switch (_a.label) {
23237
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options)];
23238
+ case 1:
23239
+ localVarAxiosArgs = _a.sent();
23240
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23241
+ }
23242
+ });
23243
+ });
23244
+ },
22799
23245
  /**
22800
23246
  *
22801
23247
  * @summary Create HospitalSpecialty.
@@ -23747,67 +24193,132 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
23747
24193
  * @param {*} [options] Override http request option.
23748
24194
  * @throws {RequiredError}
23749
24195
  */
23750
- apiV1HospitalsHospitalIdMediasMediaIdGet: function (hospitalId, mediaId, options) {
23751
- return localVarFp.apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then(function (request) { return request(axios, basePath); });
24196
+ apiV1HospitalsHospitalIdMediasMediaIdGet: function (hospitalId, mediaId, options) {
24197
+ return localVarFp.apiV1HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then(function (request) { return request(axios, basePath); });
24198
+ },
24199
+ /**
24200
+ *
24201
+ * @summary Update HospitalMedia.
24202
+ * @param {string} hospitalId
24203
+ * @param {string} mediaId
24204
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24205
+ * @param {*} [options] Override http request option.
24206
+ * @throws {RequiredError}
24207
+ */
24208
+ apiV1HospitalsHospitalIdMediasMediaIdPut: function (hospitalId, mediaId, updateMediaCommand, options) {
24209
+ return localVarFp.apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
24210
+ },
24211
+ /**
24212
+ *
24213
+ * @summary Create HospitalMedia.
24214
+ * @param {string} hospitalId
24215
+ * @param {CreateMediaCommand} [createMediaCommand]
24216
+ * @param {*} [options] Override http request option.
24217
+ * @throws {RequiredError}
24218
+ */
24219
+ apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
24220
+ return localVarFp.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
24221
+ },
24222
+ /**
24223
+ *
24224
+ * @summary Update Hospital.
24225
+ * @param {string} hospitalId
24226
+ * @param {UpdateHospitalCommand} [updateHospitalCommand]
24227
+ * @param {*} [options] Override http request option.
24228
+ * @throws {RequiredError}
24229
+ */
24230
+ apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
24231
+ return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(axios, basePath); });
24232
+ },
24233
+ /**
24234
+ *
24235
+ * @summary Get all HospitalSpecialties.
24236
+ * @param {string} hospitalId
24237
+ * @param {string} [hospitalName]
24238
+ * @param {string} [hospitalSlug]
24239
+ * @param {string} [specialtyId]
24240
+ * @param {string} [specialtyName]
24241
+ * @param {string} [specialtyTypeId]
24242
+ * @param {string} [hospitalSpecialtySlug]
24243
+ * @param {string} [title]
24244
+ * @param {MarketingType} [marketingType]
24245
+ * @param {string} [languageCode]
24246
+ * @param {boolean} [showHidden]
24247
+ * @param {boolean} [returnDefaultValue]
24248
+ * @param {boolean} [includeServices]
24249
+ * @param {number} [page]
24250
+ * @param {number} [limit]
24251
+ * @param {Date} [lastRetrieved]
24252
+ * @param {*} [options] Override http request option.
24253
+ * @throws {RequiredError}
24254
+ */
24255
+ apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
24256
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24257
+ },
24258
+ /**
24259
+ *
24260
+ * @summary Get all HospitalServiceMedias.
24261
+ * @param {string} hospitalId
24262
+ * @param {string} hospitalSpecialtyId
24263
+ * @param {string} [id]
24264
+ * @param {MediaType} [mediaType]
24265
+ * @param {number} [page]
24266
+ * @param {number} [limit]
24267
+ * @param {Date} [lastRetrieved]
24268
+ * @param {*} [options] Override http request option.
24269
+ * @throws {RequiredError}
24270
+ */
24271
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
24272
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
23752
24273
  },
23753
24274
  /**
23754
24275
  *
23755
- * @summary Update HospitalMedia.
24276
+ * @summary Delete HospitalServiceMedia
23756
24277
  * @param {string} hospitalId
24278
+ * @param {string} hospitalSpecialtyId
23757
24279
  * @param {string} mediaId
23758
- * @param {UpdateMediaCommand} [updateMediaCommand]
23759
24280
  * @param {*} [options] Override http request option.
23760
24281
  * @throws {RequiredError}
23761
24282
  */
23762
- apiV1HospitalsHospitalIdMediasMediaIdPut: function (hospitalId, mediaId, updateMediaCommand, options) {
23763
- return localVarFp.apiV1HospitalsHospitalIdMediasMediaIdPut(hospitalId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
24283
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
24284
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
23764
24285
  },
23765
24286
  /**
23766
24287
  *
23767
- * @summary Create HospitalMedia.
24288
+ * @summary Get HospitalServiceMedia.
23768
24289
  * @param {string} hospitalId
23769
- * @param {CreateMediaCommand} [createMediaCommand]
24290
+ * @param {string} hospitalSpecialtyId
24291
+ * @param {string} mediaId
23770
24292
  * @param {*} [options] Override http request option.
23771
24293
  * @throws {RequiredError}
23772
24294
  */
23773
- apiV1HospitalsHospitalIdMediasPost: function (hospitalId, createMediaCommand, options) {
23774
- return localVarFp.apiV1HospitalsHospitalIdMediasPost(hospitalId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
24295
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
24296
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
23775
24297
  },
23776
24298
  /**
23777
24299
  *
23778
- * @summary Update Hospital.
24300
+ * @summary Update HospitalServiceMedia.
23779
24301
  * @param {string} hospitalId
23780
- * @param {UpdateHospitalCommand} [updateHospitalCommand]
24302
+ * @param {string} hospitalSpecialtyId
24303
+ * @param {string} mediaId
24304
+ * @param {UpdateMediaCommand} [updateMediaCommand]
23781
24305
  * @param {*} [options] Override http request option.
23782
24306
  * @throws {RequiredError}
23783
24307
  */
23784
- apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
23785
- return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(axios, basePath); });
24308
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
24309
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
23786
24310
  },
23787
24311
  /**
23788
24312
  *
23789
- * @summary Get all HospitalSpecialties.
24313
+ * @summary Create HospitalServiceMedia.
23790
24314
  * @param {string} hospitalId
23791
- * @param {string} [hospitalName]
23792
- * @param {string} [hospitalSlug]
23793
- * @param {string} [specialtyId]
23794
- * @param {string} [specialtyName]
23795
- * @param {string} [specialtyTypeId]
23796
- * @param {string} [hospitalSpecialtySlug]
23797
- * @param {string} [title]
23798
- * @param {MarketingType} [marketingType]
23799
- * @param {string} [languageCode]
23800
- * @param {boolean} [showHidden]
23801
- * @param {boolean} [returnDefaultValue]
23802
- * @param {boolean} [includeServices]
23803
- * @param {number} [page]
23804
- * @param {number} [limit]
23805
- * @param {Date} [lastRetrieved]
24315
+ * @param {string} hospitalSpecialtyId
24316
+ * @param {CreateMediaCommand} [createMediaCommand]
23806
24317
  * @param {*} [options] Override http request option.
23807
24318
  * @throws {RequiredError}
23808
24319
  */
23809
- apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
23810
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24320
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
24321
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
23811
24322
  },
23812
24323
  /**
23813
24324
  *
@@ -24664,6 +25175,81 @@ var HospitalsApi = /** @class */ (function (_super) {
24664
25175
  var _this = this;
24665
25176
  return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24666
25177
  };
25178
+ /**
25179
+ *
25180
+ * @summary Get all HospitalServiceMedias.
25181
+ * @param {string} hospitalId
25182
+ * @param {string} hospitalSpecialtyId
25183
+ * @param {string} [id]
25184
+ * @param {MediaType} [mediaType]
25185
+ * @param {number} [page]
25186
+ * @param {number} [limit]
25187
+ * @param {Date} [lastRetrieved]
25188
+ * @param {*} [options] Override http request option.
25189
+ * @throws {RequiredError}
25190
+ * @memberof HospitalsApi
25191
+ */
25192
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet = function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
25193
+ var _this = this;
25194
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25195
+ };
25196
+ /**
25197
+ *
25198
+ * @summary Delete HospitalServiceMedia
25199
+ * @param {string} hospitalId
25200
+ * @param {string} hospitalSpecialtyId
25201
+ * @param {string} mediaId
25202
+ * @param {*} [options] Override http request option.
25203
+ * @throws {RequiredError}
25204
+ * @memberof HospitalsApi
25205
+ */
25206
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
25207
+ var _this = this;
25208
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
25209
+ };
25210
+ /**
25211
+ *
25212
+ * @summary Get HospitalServiceMedia.
25213
+ * @param {string} hospitalId
25214
+ * @param {string} hospitalSpecialtyId
25215
+ * @param {string} mediaId
25216
+ * @param {*} [options] Override http request option.
25217
+ * @throws {RequiredError}
25218
+ * @memberof HospitalsApi
25219
+ */
25220
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
25221
+ var _this = this;
25222
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
25223
+ };
25224
+ /**
25225
+ *
25226
+ * @summary Update HospitalServiceMedia.
25227
+ * @param {string} hospitalId
25228
+ * @param {string} hospitalSpecialtyId
25229
+ * @param {string} mediaId
25230
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25231
+ * @param {*} [options] Override http request option.
25232
+ * @throws {RequiredError}
25233
+ * @memberof HospitalsApi
25234
+ */
25235
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut = function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
25236
+ var _this = this;
25237
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
25238
+ };
25239
+ /**
25240
+ *
25241
+ * @summary Create HospitalServiceMedia.
25242
+ * @param {string} hospitalId
25243
+ * @param {string} hospitalSpecialtyId
25244
+ * @param {CreateMediaCommand} [createMediaCommand]
25245
+ * @param {*} [options] Override http request option.
25246
+ * @throws {RequiredError}
25247
+ * @memberof HospitalsApi
25248
+ */
25249
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost = function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
25250
+ var _this = this;
25251
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
25252
+ };
24667
25253
  /**
24668
25254
  *
24669
25255
  * @summary Create HospitalSpecialty.
@@ -32737,6 +33323,97 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
32737
33323
  });
32738
33324
  });
32739
33325
  },
33326
+ /**
33327
+ *
33328
+ * @summary Get all Specialties Simple.
33329
+ * @param {string} [id]
33330
+ * @param {string} [name]
33331
+ * @param {string} [description]
33332
+ * @param {string} [specialtyTypeId]
33333
+ * @param {string} [hospitalId]
33334
+ * @param {Date} [created]
33335
+ * @param {string} [languageCode]
33336
+ * @param {Array<string>} [ids]
33337
+ * @param {boolean} [returnDefaultValue]
33338
+ * @param {number} [page]
33339
+ * @param {number} [limit]
33340
+ * @param {Date} [lastRetrieved]
33341
+ * @param {*} [options] Override http request option.
33342
+ * @throws {RequiredError}
33343
+ */
33344
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
33345
+ if (options === void 0) { options = {}; }
33346
+ return __awaiter(_this, void 0, void 0, function () {
33347
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
33348
+ return __generator(this, function (_a) {
33349
+ switch (_a.label) {
33350
+ case 0:
33351
+ localVarPath = "/api/v1/specialties/simple";
33352
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
33353
+ if (configuration) {
33354
+ baseOptions = configuration.baseOptions;
33355
+ }
33356
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
33357
+ localVarHeaderParameter = {};
33358
+ localVarQueryParameter = {};
33359
+ // authentication oauth2 required
33360
+ // oauth required
33361
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
33362
+ case 1:
33363
+ // authentication oauth2 required
33364
+ // oauth required
33365
+ _a.sent();
33366
+ if (id !== undefined) {
33367
+ localVarQueryParameter['Id'] = id;
33368
+ }
33369
+ if (name !== undefined) {
33370
+ localVarQueryParameter['Name'] = name;
33371
+ }
33372
+ if (description !== undefined) {
33373
+ localVarQueryParameter['Description'] = description;
33374
+ }
33375
+ if (specialtyTypeId !== undefined) {
33376
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
33377
+ }
33378
+ if (hospitalId !== undefined) {
33379
+ localVarQueryParameter['HospitalId'] = hospitalId;
33380
+ }
33381
+ if (created !== undefined) {
33382
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
33383
+ created.toISOString() :
33384
+ created;
33385
+ }
33386
+ if (languageCode !== undefined) {
33387
+ localVarQueryParameter['LanguageCode'] = languageCode;
33388
+ }
33389
+ if (ids) {
33390
+ localVarQueryParameter['Ids'] = ids;
33391
+ }
33392
+ if (returnDefaultValue !== undefined) {
33393
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
33394
+ }
33395
+ if (page !== undefined) {
33396
+ localVarQueryParameter['page'] = page;
33397
+ }
33398
+ if (limit !== undefined) {
33399
+ localVarQueryParameter['limit'] = limit;
33400
+ }
33401
+ if (lastRetrieved !== undefined) {
33402
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
33403
+ lastRetrieved.toISOString() :
33404
+ lastRetrieved;
33405
+ }
33406
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
33407
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33408
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
33409
+ return [2 /*return*/, {
33410
+ url: common_1.toPathString(localVarUrlObj),
33411
+ options: localVarRequestOptions,
33412
+ }];
33413
+ }
33414
+ });
33415
+ });
33416
+ },
32740
33417
  /**
32741
33418
  *
32742
33419
  * @param {string} slug
@@ -33242,6 +33919,37 @@ exports.SpecialtiesApiFp = function (configuration) {
33242
33919
  });
33243
33920
  });
33244
33921
  },
33922
+ /**
33923
+ *
33924
+ * @summary Get all Specialties Simple.
33925
+ * @param {string} [id]
33926
+ * @param {string} [name]
33927
+ * @param {string} [description]
33928
+ * @param {string} [specialtyTypeId]
33929
+ * @param {string} [hospitalId]
33930
+ * @param {Date} [created]
33931
+ * @param {string} [languageCode]
33932
+ * @param {Array<string>} [ids]
33933
+ * @param {boolean} [returnDefaultValue]
33934
+ * @param {number} [page]
33935
+ * @param {number} [limit]
33936
+ * @param {Date} [lastRetrieved]
33937
+ * @param {*} [options] Override http request option.
33938
+ * @throws {RequiredError}
33939
+ */
33940
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
33941
+ return __awaiter(this, void 0, void 0, function () {
33942
+ var localVarAxiosArgs;
33943
+ return __generator(this, function (_a) {
33944
+ switch (_a.label) {
33945
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
33946
+ case 1:
33947
+ localVarAxiosArgs = _a.sent();
33948
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33949
+ }
33950
+ });
33951
+ });
33952
+ },
33245
33953
  /**
33246
33954
  *
33247
33955
  * @param {string} slug
@@ -33476,6 +34184,27 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
33476
34184
  apiV1SpecialtiesPost: function (createSpecialtyCommand, options) {
33477
34185
  return localVarFp.apiV1SpecialtiesPost(createSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
33478
34186
  },
34187
+ /**
34188
+ *
34189
+ * @summary Get all Specialties Simple.
34190
+ * @param {string} [id]
34191
+ * @param {string} [name]
34192
+ * @param {string} [description]
34193
+ * @param {string} [specialtyTypeId]
34194
+ * @param {string} [hospitalId]
34195
+ * @param {Date} [created]
34196
+ * @param {string} [languageCode]
34197
+ * @param {Array<string>} [ids]
34198
+ * @param {boolean} [returnDefaultValue]
34199
+ * @param {number} [page]
34200
+ * @param {number} [limit]
34201
+ * @param {Date} [lastRetrieved]
34202
+ * @param {*} [options] Override http request option.
34203
+ * @throws {RequiredError}
34204
+ */
34205
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
34206
+ return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
34207
+ },
33479
34208
  /**
33480
34209
  *
33481
34210
  * @param {string} slug
@@ -33628,6 +34357,29 @@ var SpecialtiesApi = /** @class */ (function (_super) {
33628
34357
  var _this = this;
33629
34358
  return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesPost(createSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
33630
34359
  };
34360
+ /**
34361
+ *
34362
+ * @summary Get all Specialties Simple.
34363
+ * @param {string} [id]
34364
+ * @param {string} [name]
34365
+ * @param {string} [description]
34366
+ * @param {string} [specialtyTypeId]
34367
+ * @param {string} [hospitalId]
34368
+ * @param {Date} [created]
34369
+ * @param {string} [languageCode]
34370
+ * @param {Array<string>} [ids]
34371
+ * @param {boolean} [returnDefaultValue]
34372
+ * @param {number} [page]
34373
+ * @param {number} [limit]
34374
+ * @param {Date} [lastRetrieved]
34375
+ * @param {*} [options] Override http request option.
34376
+ * @throws {RequiredError}
34377
+ * @memberof SpecialtiesApi
34378
+ */
34379
+ SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
34380
+ var _this = this;
34381
+ return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
34382
+ };
33631
34383
  /**
33632
34384
  *
33633
34385
  * @param {string} slug