ch-admin-api-client-typescript 3.1.1 → 3.1.4

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
@@ -12815,7 +12815,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12815
12815
  },
12816
12816
  /**
12817
12817
  *
12818
- * @summary Get all DoctorEducations.
12818
+ * @summary Get all DoctorLanguages.
12819
12819
  * @param {string} doctorId
12820
12820
  * @param {string} [language]
12821
12821
  * @param {number} [page]
@@ -12876,7 +12876,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12876
12876
  },
12877
12877
  /**
12878
12878
  *
12879
- * @summary Delete DoctorEducation
12879
+ * @summary Delete DoctorLanguage
12880
12880
  * @param {string} doctorId
12881
12881
  * @param {string} languageId
12882
12882
  * @param {*} [options] Override http request option.
@@ -12923,7 +12923,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12923
12923
  },
12924
12924
  /**
12925
12925
  *
12926
- * @summary Get DoctorEducation.
12926
+ * @summary Get DoctorLanguage.
12927
12927
  * @param {string} doctorId
12928
12928
  * @param {string} languageId
12929
12929
  * @param {*} [options] Override http request option.
@@ -12970,7 +12970,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12970
12970
  },
12971
12971
  /**
12972
12972
  *
12973
- * @summary Update DoctorEducation.
12973
+ * @summary Update DoctorLanguage.
12974
12974
  * @param {string} doctorId
12975
12975
  * @param {string} languageId
12976
12976
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -13020,7 +13020,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13020
13020
  },
13021
13021
  /**
13022
13022
  *
13023
- * @summary Create DoctorEducation.
13023
+ * @summary Create DoctorLanguage.
13024
13024
  * @param {string} doctorId
13025
13025
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
13026
13026
  * @param {*} [options] Override http request option.
@@ -14557,7 +14557,7 @@ exports.DoctorsApiFp = function (configuration) {
14557
14557
  },
14558
14558
  /**
14559
14559
  *
14560
- * @summary Get all DoctorEducations.
14560
+ * @summary Get all DoctorLanguages.
14561
14561
  * @param {string} doctorId
14562
14562
  * @param {string} [language]
14563
14563
  * @param {number} [page]
@@ -14581,7 +14581,7 @@ exports.DoctorsApiFp = function (configuration) {
14581
14581
  },
14582
14582
  /**
14583
14583
  *
14584
- * @summary Delete DoctorEducation
14584
+ * @summary Delete DoctorLanguage
14585
14585
  * @param {string} doctorId
14586
14586
  * @param {string} languageId
14587
14587
  * @param {*} [options] Override http request option.
@@ -14602,7 +14602,7 @@ exports.DoctorsApiFp = function (configuration) {
14602
14602
  },
14603
14603
  /**
14604
14604
  *
14605
- * @summary Get DoctorEducation.
14605
+ * @summary Get DoctorLanguage.
14606
14606
  * @param {string} doctorId
14607
14607
  * @param {string} languageId
14608
14608
  * @param {*} [options] Override http request option.
@@ -14623,7 +14623,7 @@ exports.DoctorsApiFp = function (configuration) {
14623
14623
  },
14624
14624
  /**
14625
14625
  *
14626
- * @summary Update DoctorEducation.
14626
+ * @summary Update DoctorLanguage.
14627
14627
  * @param {string} doctorId
14628
14628
  * @param {string} languageId
14629
14629
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -14645,7 +14645,7 @@ exports.DoctorsApiFp = function (configuration) {
14645
14645
  },
14646
14646
  /**
14647
14647
  *
14648
- * @summary Create DoctorEducation.
14648
+ * @summary Create DoctorLanguage.
14649
14649
  * @param {string} doctorId
14650
14650
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
14651
14651
  * @param {*} [options] Override http request option.
@@ -15332,7 +15332,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15332
15332
  },
15333
15333
  /**
15334
15334
  *
15335
- * @summary Get all DoctorEducations.
15335
+ * @summary Get all DoctorLanguages.
15336
15336
  * @param {string} doctorId
15337
15337
  * @param {string} [language]
15338
15338
  * @param {number} [page]
@@ -15346,7 +15346,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15346
15346
  },
15347
15347
  /**
15348
15348
  *
15349
- * @summary Delete DoctorEducation
15349
+ * @summary Delete DoctorLanguage
15350
15350
  * @param {string} doctorId
15351
15351
  * @param {string} languageId
15352
15352
  * @param {*} [options] Override http request option.
@@ -15357,7 +15357,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15357
15357
  },
15358
15358
  /**
15359
15359
  *
15360
- * @summary Get DoctorEducation.
15360
+ * @summary Get DoctorLanguage.
15361
15361
  * @param {string} doctorId
15362
15362
  * @param {string} languageId
15363
15363
  * @param {*} [options] Override http request option.
@@ -15368,7 +15368,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15368
15368
  },
15369
15369
  /**
15370
15370
  *
15371
- * @summary Update DoctorEducation.
15371
+ * @summary Update DoctorLanguage.
15372
15372
  * @param {string} doctorId
15373
15373
  * @param {string} languageId
15374
15374
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -15380,7 +15380,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15380
15380
  },
15381
15381
  /**
15382
15382
  *
15383
- * @summary Create DoctorEducation.
15383
+ * @summary Create DoctorLanguage.
15384
15384
  * @param {string} doctorId
15385
15385
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
15386
15386
  * @param {*} [options] Override http request option.
@@ -15893,7 +15893,7 @@ var DoctorsApi = /** @class */ (function (_super) {
15893
15893
  };
15894
15894
  /**
15895
15895
  *
15896
- * @summary Get all DoctorEducations.
15896
+ * @summary Get all DoctorLanguages.
15897
15897
  * @param {string} doctorId
15898
15898
  * @param {string} [language]
15899
15899
  * @param {number} [page]
@@ -15909,7 +15909,7 @@ var DoctorsApi = /** @class */ (function (_super) {
15909
15909
  };
15910
15910
  /**
15911
15911
  *
15912
- * @summary Delete DoctorEducation
15912
+ * @summary Delete DoctorLanguage
15913
15913
  * @param {string} doctorId
15914
15914
  * @param {string} languageId
15915
15915
  * @param {*} [options] Override http request option.
@@ -15922,7 +15922,7 @@ var DoctorsApi = /** @class */ (function (_super) {
15922
15922
  };
15923
15923
  /**
15924
15924
  *
15925
- * @summary Get DoctorEducation.
15925
+ * @summary Get DoctorLanguage.
15926
15926
  * @param {string} doctorId
15927
15927
  * @param {string} languageId
15928
15928
  * @param {*} [options] Override http request option.
@@ -15935,7 +15935,7 @@ var DoctorsApi = /** @class */ (function (_super) {
15935
15935
  };
15936
15936
  /**
15937
15937
  *
15938
- * @summary Update DoctorEducation.
15938
+ * @summary Update DoctorLanguage.
15939
15939
  * @param {string} doctorId
15940
15940
  * @param {string} languageId
15941
15941
  * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
@@ -15949,7 +15949,7 @@ var DoctorsApi = /** @class */ (function (_super) {
15949
15949
  };
15950
15950
  /**
15951
15951
  *
15952
- * @summary Create DoctorEducation.
15952
+ * @summary Create DoctorLanguage.
15953
15953
  * @param {string} doctorId
15954
15954
  * @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
15955
15955
  * @param {*} [options] Override http request option.
@@ -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
  *
@@ -19935,7 +19984,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19935
19984
  *
19936
19985
  * @summary Get all HospitalHandles.
19937
19986
  * @param {string} hospitalId
19938
- * @param {string} [hospitalId2]
19939
19987
  * @param {string} [id]
19940
19988
  * @param {SnsType} [snsType]
19941
19989
  * @param {string} [handle]
@@ -19945,7 +19993,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19945
19993
  * @param {*} [options] Override http request option.
19946
19994
  * @throws {RequiredError}
19947
19995
  */
19948
- apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
19996
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
19949
19997
  if (options === void 0) { options = {}; }
19950
19998
  return __awaiter(_this, void 0, void 0, function () {
19951
19999
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -19970,9 +20018,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19970
20018
  // authentication oauth2 required
19971
20019
  // oauth required
19972
20020
  _a.sent();
19973
- if (hospitalId2 !== undefined) {
19974
- localVarQueryParameter['HospitalId'] = hospitalId2;
19975
- }
19976
20021
  if (id !== undefined) {
19977
20022
  localVarQueryParameter['Id'] = id;
19978
20023
  }
@@ -20602,13 +20647,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20602
20647
  },
20603
20648
  /**
20604
20649
  *
20605
- * @summary Create HospitalSpecialty.
20650
+ * @summary Get all HospitalServiceMedias.
20606
20651
  * @param {string} hospitalId
20607
- * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
20652
+ * @param {string} hospitalSpecialtyId
20653
+ * @param {string} [id]
20654
+ * @param {MediaType} [mediaType]
20655
+ * @param {number} [page]
20656
+ * @param {number} [limit]
20657
+ * @param {Date} [lastRetrieved]
20608
20658
  * @param {*} [options] Override http request option.
20609
20659
  * @throws {RequiredError}
20610
20660
  */
20611
- apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
20661
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
20612
20662
  if (options === void 0) { options = {}; }
20613
20663
  return __awaiter(_this, void 0, void 0, function () {
20614
20664
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20616,14 +20666,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20616
20666
  switch (_a.label) {
20617
20667
  case 0:
20618
20668
  // verify required parameter 'hospitalId' is not null or undefined
20619
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId);
20620
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties"
20621
- .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
20669
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId);
20670
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20671
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
20672
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
20673
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20674
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)));
20622
20675
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20623
20676
  if (configuration) {
20624
20677
  baseOptions = configuration.baseOptions;
20625
20678
  }
20626
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20679
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20627
20680
  localVarHeaderParameter = {};
20628
20681
  localVarQueryParameter = {};
20629
20682
  // authentication oauth2 required
@@ -20633,11 +20686,26 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20633
20686
  // authentication oauth2 required
20634
20687
  // oauth required
20635
20688
  _a.sent();
20636
- localVarHeaderParameter['Content-Type'] = 'application/json';
20689
+ if (id !== undefined) {
20690
+ localVarQueryParameter['Id'] = id;
20691
+ }
20692
+ if (mediaType !== undefined) {
20693
+ localVarQueryParameter['MediaType'] = mediaType;
20694
+ }
20695
+ if (page !== undefined) {
20696
+ localVarQueryParameter['page'] = page;
20697
+ }
20698
+ if (limit !== undefined) {
20699
+ localVarQueryParameter['limit'] = limit;
20700
+ }
20701
+ if (lastRetrieved !== undefined) {
20702
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
20703
+ lastRetrieved.toISOString() :
20704
+ lastRetrieved;
20705
+ }
20637
20706
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20638
20707
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20639
20708
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20640
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration);
20641
20709
  return [2 /*return*/, {
20642
20710
  url: common_1.toPathString(localVarUrlObj),
20643
20711
  options: localVarRequestOptions,
@@ -20648,27 +20716,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20648
20716
  },
20649
20717
  /**
20650
20718
  *
20651
- * @summary Get all HospitalSpecialties.
20719
+ * @summary Delete HospitalServiceMedia
20652
20720
  * @param {string} hospitalId
20653
- * @param {string} [hospitalName]
20654
- * @param {string} [hospitalSlug]
20655
- * @param {string} [specialtyId]
20656
- * @param {string} [specialtyName]
20657
- * @param {string} [specialtyTypeId]
20658
- * @param {string} [hospitalSpecialtySlug]
20659
- * @param {string} [title]
20660
- * @param {MarketingType} [marketingType]
20661
- * @param {string} [languageCode]
20662
- * @param {boolean} [showHidden]
20663
- * @param {boolean} [returnDefaultValue]
20664
- * @param {boolean} [includeServices]
20665
- * @param {number} [page]
20666
- * @param {number} [limit]
20667
- * @param {Date} [lastRetrieved]
20721
+ * @param {string} hospitalSpecialtyId
20722
+ * @param {string} mediaId
20668
20723
  * @param {*} [options] Override http request option.
20669
20724
  * @throws {RequiredError}
20670
20725
  */
20671
- apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
20726
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
20672
20727
  if (options === void 0) { options = {}; }
20673
20728
  return __awaiter(_this, void 0, void 0, function () {
20674
20729
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20676,14 +20731,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20676
20731
  switch (_a.label) {
20677
20732
  case 0:
20678
20733
  // verify required parameter 'hospitalId' is not null or undefined
20679
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
20680
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/simple"
20681
- .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
20734
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalId', hospitalId);
20735
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20736
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'hospitalSpecialtyId', hospitalSpecialtyId);
20737
+ // verify required parameter 'mediaId' is not null or undefined
20738
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete', 'mediaId', mediaId);
20739
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20740
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20741
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20742
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20682
20743
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20683
20744
  if (configuration) {
20684
20745
  baseOptions = configuration.baseOptions;
20685
20746
  }
20686
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20747
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
20687
20748
  localVarHeaderParameter = {};
20688
20749
  localVarQueryParameter = {};
20689
20750
  // authentication oauth2 required
@@ -20693,53 +20754,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20693
20754
  // authentication oauth2 required
20694
20755
  // oauth required
20695
20756
  _a.sent();
20696
- if (hospitalName !== undefined) {
20697
- localVarQueryParameter['HospitalName'] = hospitalName;
20698
- }
20699
- if (hospitalSlug !== undefined) {
20700
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
20701
- }
20702
- if (specialtyId !== undefined) {
20703
- localVarQueryParameter['SpecialtyId'] = specialtyId;
20704
- }
20705
- if (specialtyName !== undefined) {
20706
- localVarQueryParameter['SpecialtyName'] = specialtyName;
20707
- }
20708
- if (specialtyTypeId !== undefined) {
20709
- localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
20710
- }
20711
- if (hospitalSpecialtySlug !== undefined) {
20712
- localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
20713
- }
20714
- if (title !== undefined) {
20715
- localVarQueryParameter['Title'] = title;
20716
- }
20717
- if (marketingType !== undefined) {
20718
- localVarQueryParameter['MarketingType'] = marketingType;
20719
- }
20720
- if (languageCode !== undefined) {
20721
- localVarQueryParameter['LanguageCode'] = languageCode;
20722
- }
20723
- if (showHidden !== undefined) {
20724
- localVarQueryParameter['ShowHidden'] = showHidden;
20725
- }
20726
- if (returnDefaultValue !== undefined) {
20727
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
20728
- }
20729
- if (includeServices !== undefined) {
20730
- localVarQueryParameter['IncludeServices'] = includeServices;
20731
- }
20732
- if (page !== undefined) {
20733
- localVarQueryParameter['page'] = page;
20734
- }
20735
- if (limit !== undefined) {
20736
- localVarQueryParameter['limit'] = limit;
20737
- }
20738
- if (lastRetrieved !== undefined) {
20739
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
20740
- lastRetrieved.toISOString() :
20741
- lastRetrieved;
20742
- }
20743
20757
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20744
20758
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20745
20759
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -20753,13 +20767,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20753
20767
  },
20754
20768
  /**
20755
20769
  *
20756
- * @summary Delete HospitalSpecialty.
20770
+ * @summary Get HospitalServiceMedia.
20757
20771
  * @param {string} hospitalId
20758
- * @param {string} specialtyId
20772
+ * @param {string} hospitalSpecialtyId
20773
+ * @param {string} mediaId
20759
20774
  * @param {*} [options] Override http request option.
20760
20775
  * @throws {RequiredError}
20761
20776
  */
20762
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: function (hospitalId, specialtyId, options) {
20777
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
20763
20778
  if (options === void 0) { options = {}; }
20764
20779
  return __awaiter(_this, void 0, void 0, function () {
20765
20780
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20767,17 +20782,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20767
20782
  switch (_a.label) {
20768
20783
  case 0:
20769
20784
  // verify required parameter 'hospitalId' is not null or undefined
20770
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId);
20771
- // verify required parameter 'specialtyId' is not null or undefined
20772
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId);
20773
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
20785
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId);
20786
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20787
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
20788
+ // verify required parameter 'mediaId' is not null or undefined
20789
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId);
20790
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20774
20791
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20775
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
20792
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20793
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20776
20794
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20777
20795
  if (configuration) {
20778
20796
  baseOptions = configuration.baseOptions;
20779
20797
  }
20780
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
20798
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20781
20799
  localVarHeaderParameter = {};
20782
20800
  localVarQueryParameter = {};
20783
20801
  // authentication oauth2 required
@@ -20800,16 +20818,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20800
20818
  },
20801
20819
  /**
20802
20820
  *
20803
- * @summary Get HospitalSpecialty.
20821
+ * @summary Update HospitalServiceMedia.
20804
20822
  * @param {string} hospitalId
20805
- * @param {string} specialtyId
20806
- * @param {string} [languageCode]
20807
- * @param {boolean} [returnDefaultValue]
20808
- * @param {boolean} [includeServices]
20823
+ * @param {string} hospitalSpecialtyId
20824
+ * @param {string} mediaId
20825
+ * @param {UpdateMediaCommand} [updateMediaCommand]
20809
20826
  * @param {*} [options] Override http request option.
20810
20827
  * @throws {RequiredError}
20811
20828
  */
20812
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
20829
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
20813
20830
  if (options === void 0) { options = {}; }
20814
20831
  return __awaiter(_this, void 0, void 0, function () {
20815
20832
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20817,17 +20834,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20817
20834
  switch (_a.label) {
20818
20835
  case 0:
20819
20836
  // verify required parameter 'hospitalId' is not null or undefined
20820
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId);
20821
- // verify required parameter 'specialtyId' is not null or undefined
20822
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId);
20823
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
20837
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalId', hospitalId);
20838
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20839
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'hospitalSpecialtyId', hospitalSpecialtyId);
20840
+ // verify required parameter 'mediaId' is not null or undefined
20841
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut', 'mediaId', mediaId);
20842
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
20824
20843
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20825
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
20844
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)))
20845
+ .replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
20826
20846
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20827
20847
  if (configuration) {
20828
20848
  baseOptions = configuration.baseOptions;
20829
20849
  }
20830
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20850
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
20831
20851
  localVarHeaderParameter = {};
20832
20852
  localVarQueryParameter = {};
20833
20853
  // authentication oauth2 required
@@ -20837,18 +20857,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20837
20857
  // authentication oauth2 required
20838
20858
  // oauth required
20839
20859
  _a.sent();
20840
- if (languageCode !== undefined) {
20841
- localVarQueryParameter['languageCode'] = languageCode;
20842
- }
20843
- if (returnDefaultValue !== undefined) {
20844
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
20845
- }
20846
- if (includeServices !== undefined) {
20847
- localVarQueryParameter['includeServices'] = includeServices;
20848
- }
20860
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20849
20861
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20850
20862
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20851
20863
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20864
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
20852
20865
  return [2 /*return*/, {
20853
20866
  url: common_1.toPathString(localVarUrlObj),
20854
20867
  options: localVarRequestOptions,
@@ -20859,14 +20872,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20859
20872
  },
20860
20873
  /**
20861
20874
  *
20862
- * @summary Update HospitalSpecialty.
20875
+ * @summary Create HospitalServiceMedia.
20863
20876
  * @param {string} hospitalId
20864
- * @param {string} specialtyId
20865
- * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
20877
+ * @param {string} hospitalSpecialtyId
20878
+ * @param {CreateMediaCommand} [createMediaCommand]
20866
20879
  * @param {*} [options] Override http request option.
20867
20880
  * @throws {RequiredError}
20868
20881
  */
20869
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
20882
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
20870
20883
  if (options === void 0) { options = {}; }
20871
20884
  return __awaiter(_this, void 0, void 0, function () {
20872
20885
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -20874,17 +20887,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20874
20887
  switch (_a.label) {
20875
20888
  case 0:
20876
20889
  // verify required parameter 'hospitalId' is not null or undefined
20877
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId);
20878
- // verify required parameter 'specialtyId' is not null or undefined
20879
- common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId);
20880
- localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
20890
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalId', hospitalId);
20891
+ // verify required parameter 'hospitalSpecialtyId' is not null or undefined
20892
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost', 'hospitalSpecialtyId', hospitalSpecialtyId);
20893
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
20881
20894
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
20882
- .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
20895
+ .replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)));
20883
20896
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20884
20897
  if (configuration) {
20885
20898
  baseOptions = configuration.baseOptions;
20886
20899
  }
20887
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
20900
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20888
20901
  localVarHeaderParameter = {};
20889
20902
  localVarQueryParameter = {};
20890
20903
  // authentication oauth2 required
@@ -20898,7 +20911,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20898
20911
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20899
20912
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20900
20913
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20901
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration);
20914
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
20902
20915
  return [2 /*return*/, {
20903
20916
  url: common_1.toPathString(localVarUrlObj),
20904
20917
  options: localVarRequestOptions,
@@ -20909,23 +20922,330 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
20909
20922
  },
20910
20923
  /**
20911
20924
  *
20912
- * @summary Get all HospitalServices.
20925
+ * @summary Create HospitalSpecialty.
20913
20926
  * @param {string} hospitalId
20914
- * @param {string} specialtyId
20915
- * @param {string} [hospitalName]
20916
- * @param {string} [hospitalSlug]
20917
- * @param {string} [id]
20918
- * @param {string} [name]
20919
- * @param {string} [description]
20920
- * @param {string} [specialtyName]
20921
- * @param {string} [specialtyTypeId]
20922
- * @param {string} [specialtyTypeName]
20923
- * @param {string} [serviceCategoryId]
20924
- * @param {MarketingType} [marketingType]
20925
- * @param {Procedure} [procedure]
20926
- * @param {Date} [created]
20927
- * @param {string} [languageCode]
20928
- * @param {boolean} [returnDefaultValue]
20927
+ * @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
20928
+ * @param {*} [options] Override http request option.
20929
+ * @throws {RequiredError}
20930
+ */
20931
+ apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
20932
+ if (options === void 0) { options = {}; }
20933
+ return __awaiter(_this, void 0, void 0, function () {
20934
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20935
+ return __generator(this, function (_a) {
20936
+ switch (_a.label) {
20937
+ case 0:
20938
+ // verify required parameter 'hospitalId' is not null or undefined
20939
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId);
20940
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties"
20941
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
20942
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20943
+ if (configuration) {
20944
+ baseOptions = configuration.baseOptions;
20945
+ }
20946
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20947
+ localVarHeaderParameter = {};
20948
+ localVarQueryParameter = {};
20949
+ // authentication oauth2 required
20950
+ // oauth required
20951
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
20952
+ case 1:
20953
+ // authentication oauth2 required
20954
+ // oauth required
20955
+ _a.sent();
20956
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20957
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
20958
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20959
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20960
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration);
20961
+ return [2 /*return*/, {
20962
+ url: common_1.toPathString(localVarUrlObj),
20963
+ options: localVarRequestOptions,
20964
+ }];
20965
+ }
20966
+ });
20967
+ });
20968
+ },
20969
+ /**
20970
+ *
20971
+ * @summary Get all HospitalSpecialties.
20972
+ * @param {string} hospitalId
20973
+ * @param {string} [hospitalName]
20974
+ * @param {string} [hospitalSlug]
20975
+ * @param {string} [specialtyId]
20976
+ * @param {string} [specialtyName]
20977
+ * @param {string} [specialtyTypeId]
20978
+ * @param {string} [hospitalSpecialtySlug]
20979
+ * @param {string} [title]
20980
+ * @param {MarketingType} [marketingType]
20981
+ * @param {string} [languageCode]
20982
+ * @param {boolean} [showHidden]
20983
+ * @param {boolean} [returnDefaultValue]
20984
+ * @param {boolean} [includeServices]
20985
+ * @param {number} [page]
20986
+ * @param {number} [limit]
20987
+ * @param {Date} [lastRetrieved]
20988
+ * @param {*} [options] Override http request option.
20989
+ * @throws {RequiredError}
20990
+ */
20991
+ apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
20992
+ if (options === void 0) { options = {}; }
20993
+ return __awaiter(_this, void 0, void 0, function () {
20994
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20995
+ return __generator(this, function (_a) {
20996
+ switch (_a.label) {
20997
+ case 0:
20998
+ // verify required parameter 'hospitalId' is not null or undefined
20999
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
21000
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/simple"
21001
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
21002
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21003
+ if (configuration) {
21004
+ baseOptions = configuration.baseOptions;
21005
+ }
21006
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
21007
+ localVarHeaderParameter = {};
21008
+ localVarQueryParameter = {};
21009
+ // authentication oauth2 required
21010
+ // oauth required
21011
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21012
+ case 1:
21013
+ // authentication oauth2 required
21014
+ // oauth required
21015
+ _a.sent();
21016
+ if (hospitalName !== undefined) {
21017
+ localVarQueryParameter['HospitalName'] = hospitalName;
21018
+ }
21019
+ if (hospitalSlug !== undefined) {
21020
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
21021
+ }
21022
+ if (specialtyId !== undefined) {
21023
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
21024
+ }
21025
+ if (specialtyName !== undefined) {
21026
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
21027
+ }
21028
+ if (specialtyTypeId !== undefined) {
21029
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
21030
+ }
21031
+ if (hospitalSpecialtySlug !== undefined) {
21032
+ localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
21033
+ }
21034
+ if (title !== undefined) {
21035
+ localVarQueryParameter['Title'] = title;
21036
+ }
21037
+ if (marketingType !== undefined) {
21038
+ localVarQueryParameter['MarketingType'] = marketingType;
21039
+ }
21040
+ if (languageCode !== undefined) {
21041
+ localVarQueryParameter['LanguageCode'] = languageCode;
21042
+ }
21043
+ if (showHidden !== undefined) {
21044
+ localVarQueryParameter['ShowHidden'] = showHidden;
21045
+ }
21046
+ if (returnDefaultValue !== undefined) {
21047
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
21048
+ }
21049
+ if (includeServices !== undefined) {
21050
+ localVarQueryParameter['IncludeServices'] = includeServices;
21051
+ }
21052
+ if (page !== undefined) {
21053
+ localVarQueryParameter['page'] = page;
21054
+ }
21055
+ if (limit !== undefined) {
21056
+ localVarQueryParameter['limit'] = limit;
21057
+ }
21058
+ if (lastRetrieved !== undefined) {
21059
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
21060
+ lastRetrieved.toISOString() :
21061
+ lastRetrieved;
21062
+ }
21063
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21064
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21065
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21066
+ return [2 /*return*/, {
21067
+ url: common_1.toPathString(localVarUrlObj),
21068
+ options: localVarRequestOptions,
21069
+ }];
21070
+ }
21071
+ });
21072
+ });
21073
+ },
21074
+ /**
21075
+ *
21076
+ * @summary Delete HospitalSpecialty.
21077
+ * @param {string} hospitalId
21078
+ * @param {string} specialtyId
21079
+ * @param {*} [options] Override http request option.
21080
+ * @throws {RequiredError}
21081
+ */
21082
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: function (hospitalId, specialtyId, options) {
21083
+ if (options === void 0) { options = {}; }
21084
+ return __awaiter(_this, void 0, void 0, function () {
21085
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21086
+ return __generator(this, function (_a) {
21087
+ switch (_a.label) {
21088
+ case 0:
21089
+ // verify required parameter 'hospitalId' is not null or undefined
21090
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId);
21091
+ // verify required parameter 'specialtyId' is not null or undefined
21092
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId);
21093
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
21094
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
21095
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
21096
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21097
+ if (configuration) {
21098
+ baseOptions = configuration.baseOptions;
21099
+ }
21100
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
21101
+ localVarHeaderParameter = {};
21102
+ localVarQueryParameter = {};
21103
+ // authentication oauth2 required
21104
+ // oauth required
21105
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21106
+ case 1:
21107
+ // authentication oauth2 required
21108
+ // oauth required
21109
+ _a.sent();
21110
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21111
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21112
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21113
+ return [2 /*return*/, {
21114
+ url: common_1.toPathString(localVarUrlObj),
21115
+ options: localVarRequestOptions,
21116
+ }];
21117
+ }
21118
+ });
21119
+ });
21120
+ },
21121
+ /**
21122
+ *
21123
+ * @summary Get HospitalSpecialty.
21124
+ * @param {string} hospitalId
21125
+ * @param {string} specialtyId
21126
+ * @param {string} [languageCode]
21127
+ * @param {boolean} [returnDefaultValue]
21128
+ * @param {boolean} [includeServices]
21129
+ * @param {*} [options] Override http request option.
21130
+ * @throws {RequiredError}
21131
+ */
21132
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, includeServices, options) {
21133
+ if (options === void 0) { options = {}; }
21134
+ return __awaiter(_this, void 0, void 0, function () {
21135
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21136
+ return __generator(this, function (_a) {
21137
+ switch (_a.label) {
21138
+ case 0:
21139
+ // verify required parameter 'hospitalId' is not null or undefined
21140
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId);
21141
+ // verify required parameter 'specialtyId' is not null or undefined
21142
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId);
21143
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
21144
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
21145
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
21146
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21147
+ if (configuration) {
21148
+ baseOptions = configuration.baseOptions;
21149
+ }
21150
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
21151
+ localVarHeaderParameter = {};
21152
+ localVarQueryParameter = {};
21153
+ // authentication oauth2 required
21154
+ // oauth required
21155
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21156
+ case 1:
21157
+ // authentication oauth2 required
21158
+ // oauth required
21159
+ _a.sent();
21160
+ if (languageCode !== undefined) {
21161
+ localVarQueryParameter['languageCode'] = languageCode;
21162
+ }
21163
+ if (returnDefaultValue !== undefined) {
21164
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
21165
+ }
21166
+ if (includeServices !== undefined) {
21167
+ localVarQueryParameter['includeServices'] = includeServices;
21168
+ }
21169
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21170
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21171
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21172
+ return [2 /*return*/, {
21173
+ url: common_1.toPathString(localVarUrlObj),
21174
+ options: localVarRequestOptions,
21175
+ }];
21176
+ }
21177
+ });
21178
+ });
21179
+ },
21180
+ /**
21181
+ *
21182
+ * @summary Update HospitalSpecialty.
21183
+ * @param {string} hospitalId
21184
+ * @param {string} specialtyId
21185
+ * @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
21186
+ * @param {*} [options] Override http request option.
21187
+ * @throws {RequiredError}
21188
+ */
21189
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: function (hospitalId, specialtyId, updateHospitalSpecialtyCommand, options) {
21190
+ if (options === void 0) { options = {}; }
21191
+ return __awaiter(_this, void 0, void 0, function () {
21192
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
21193
+ return __generator(this, function (_a) {
21194
+ switch (_a.label) {
21195
+ case 0:
21196
+ // verify required parameter 'hospitalId' is not null or undefined
21197
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId);
21198
+ // verify required parameter 'specialtyId' is not null or undefined
21199
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId);
21200
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}"
21201
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
21202
+ .replace("{" + "specialtyId" + "}", encodeURIComponent(String(specialtyId)));
21203
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21204
+ if (configuration) {
21205
+ baseOptions = configuration.baseOptions;
21206
+ }
21207
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
21208
+ localVarHeaderParameter = {};
21209
+ localVarQueryParameter = {};
21210
+ // authentication oauth2 required
21211
+ // oauth required
21212
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
21213
+ case 1:
21214
+ // authentication oauth2 required
21215
+ // oauth required
21216
+ _a.sent();
21217
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21218
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
21219
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21220
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21221
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration);
21222
+ return [2 /*return*/, {
21223
+ url: common_1.toPathString(localVarUrlObj),
21224
+ options: localVarRequestOptions,
21225
+ }];
21226
+ }
21227
+ });
21228
+ });
21229
+ },
21230
+ /**
21231
+ *
21232
+ * @summary Get all HospitalServices.
21233
+ * @param {string} hospitalId
21234
+ * @param {string} specialtyId
21235
+ * @param {string} [hospitalName]
21236
+ * @param {string} [hospitalSlug]
21237
+ * @param {string} [id]
21238
+ * @param {string} [name]
21239
+ * @param {string} [description]
21240
+ * @param {string} [specialtyName]
21241
+ * @param {string} [specialtyTypeId]
21242
+ * @param {string} [specialtyTypeName]
21243
+ * @param {string} [serviceCategoryId]
21244
+ * @param {MarketingType} [marketingType]
21245
+ * @param {Procedure} [procedure]
21246
+ * @param {Date} [created]
21247
+ * @param {string} [languageCode]
21248
+ * @param {boolean} [returnDefaultValue]
20929
21249
  * @param {number} [page]
20930
21250
  * @param {number} [limit]
20931
21251
  * @param {Date} [lastRetrieved]
@@ -21537,7 +21857,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
21537
21857
  *
21538
21858
  * @summary Get all HospitalWorkingDays.
21539
21859
  * @param {string} hospitalId
21540
- * @param {string} [hospitalId2]
21541
21860
  * @param {string} [id]
21542
21861
  * @param {string} [dayOfWeek]
21543
21862
  * @param {Date} [timeFrom]
@@ -21549,7 +21868,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
21549
21868
  * @param {*} [options] Override http request option.
21550
21869
  * @throws {RequiredError}
21551
21870
  */
21552
- apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
21871
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
21553
21872
  if (options === void 0) { options = {}; }
21554
21873
  return __awaiter(_this, void 0, void 0, function () {
21555
21874
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -21574,9 +21893,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
21574
21893
  // authentication oauth2 required
21575
21894
  // oauth required
21576
21895
  _a.sent();
21577
- if (hospitalId2 !== undefined) {
21578
- localVarQueryParameter['HospitalId'] = hospitalId2;
21579
- }
21580
21896
  if (id !== undefined) {
21581
21897
  localVarQueryParameter['Id'] = id;
21582
21898
  }
@@ -22531,7 +22847,6 @@ exports.HospitalsApiFp = function (configuration) {
22531
22847
  *
22532
22848
  * @summary Get all HospitalHandles.
22533
22849
  * @param {string} hospitalId
22534
- * @param {string} [hospitalId2]
22535
22850
  * @param {string} [id]
22536
22851
  * @param {SnsType} [snsType]
22537
22852
  * @param {string} [handle]
@@ -22541,12 +22856,12 @@ exports.HospitalsApiFp = function (configuration) {
22541
22856
  * @param {*} [options] Override http request option.
22542
22857
  * @throws {RequiredError}
22543
22858
  */
22544
- apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
22859
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
22545
22860
  return __awaiter(this, void 0, void 0, function () {
22546
22861
  var localVarAxiosArgs;
22547
22862
  return __generator(this, function (_a) {
22548
22863
  switch (_a.label) {
22549
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
22864
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options)];
22550
22865
  case 1:
22551
22866
  localVarAxiosArgs = _a.sent();
22552
22867
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -22805,6 +23120,121 @@ exports.HospitalsApiFp = function (configuration) {
22805
23120
  });
22806
23121
  });
22807
23122
  },
23123
+ /**
23124
+ *
23125
+ * @summary Get all HospitalServiceMedias.
23126
+ * @param {string} hospitalId
23127
+ * @param {string} hospitalSpecialtyId
23128
+ * @param {string} [id]
23129
+ * @param {MediaType} [mediaType]
23130
+ * @param {number} [page]
23131
+ * @param {number} [limit]
23132
+ * @param {Date} [lastRetrieved]
23133
+ * @param {*} [options] Override http request option.
23134
+ * @throws {RequiredError}
23135
+ */
23136
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
23137
+ return __awaiter(this, void 0, void 0, function () {
23138
+ var localVarAxiosArgs;
23139
+ return __generator(this, function (_a) {
23140
+ switch (_a.label) {
23141
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options)];
23142
+ case 1:
23143
+ localVarAxiosArgs = _a.sent();
23144
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23145
+ }
23146
+ });
23147
+ });
23148
+ },
23149
+ /**
23150
+ *
23151
+ * @summary Delete HospitalServiceMedia
23152
+ * @param {string} hospitalId
23153
+ * @param {string} hospitalSpecialtyId
23154
+ * @param {string} mediaId
23155
+ * @param {*} [options] Override http request option.
23156
+ * @throws {RequiredError}
23157
+ */
23158
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
23159
+ return __awaiter(this, void 0, void 0, function () {
23160
+ var localVarAxiosArgs;
23161
+ return __generator(this, function (_a) {
23162
+ switch (_a.label) {
23163
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options)];
23164
+ case 1:
23165
+ localVarAxiosArgs = _a.sent();
23166
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23167
+ }
23168
+ });
23169
+ });
23170
+ },
23171
+ /**
23172
+ *
23173
+ * @summary Get HospitalServiceMedia.
23174
+ * @param {string} hospitalId
23175
+ * @param {string} hospitalSpecialtyId
23176
+ * @param {string} mediaId
23177
+ * @param {*} [options] Override http request option.
23178
+ * @throws {RequiredError}
23179
+ */
23180
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
23181
+ return __awaiter(this, void 0, void 0, function () {
23182
+ var localVarAxiosArgs;
23183
+ return __generator(this, function (_a) {
23184
+ switch (_a.label) {
23185
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options)];
23186
+ case 1:
23187
+ localVarAxiosArgs = _a.sent();
23188
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23189
+ }
23190
+ });
23191
+ });
23192
+ },
23193
+ /**
23194
+ *
23195
+ * @summary Update HospitalServiceMedia.
23196
+ * @param {string} hospitalId
23197
+ * @param {string} hospitalSpecialtyId
23198
+ * @param {string} mediaId
23199
+ * @param {UpdateMediaCommand} [updateMediaCommand]
23200
+ * @param {*} [options] Override http request option.
23201
+ * @throws {RequiredError}
23202
+ */
23203
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
23204
+ return __awaiter(this, void 0, void 0, function () {
23205
+ var localVarAxiosArgs;
23206
+ return __generator(this, function (_a) {
23207
+ switch (_a.label) {
23208
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options)];
23209
+ case 1:
23210
+ localVarAxiosArgs = _a.sent();
23211
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23212
+ }
23213
+ });
23214
+ });
23215
+ },
23216
+ /**
23217
+ *
23218
+ * @summary Create HospitalServiceMedia.
23219
+ * @param {string} hospitalId
23220
+ * @param {string} hospitalSpecialtyId
23221
+ * @param {CreateMediaCommand} [createMediaCommand]
23222
+ * @param {*} [options] Override http request option.
23223
+ * @throws {RequiredError}
23224
+ */
23225
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
23226
+ return __awaiter(this, void 0, void 0, function () {
23227
+ var localVarAxiosArgs;
23228
+ return __generator(this, function (_a) {
23229
+ switch (_a.label) {
23230
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options)];
23231
+ case 1:
23232
+ localVarAxiosArgs = _a.sent();
23233
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
23234
+ }
23235
+ });
23236
+ });
23237
+ },
22808
23238
  /**
22809
23239
  *
22810
23240
  * @summary Create HospitalSpecialty.
@@ -23179,7 +23609,6 @@ exports.HospitalsApiFp = function (configuration) {
23179
23609
  *
23180
23610
  * @summary Get all HospitalWorkingDays.
23181
23611
  * @param {string} hospitalId
23182
- * @param {string} [hospitalId2]
23183
23612
  * @param {string} [id]
23184
23613
  * @param {string} [dayOfWeek]
23185
23614
  * @param {Date} [timeFrom]
@@ -23191,12 +23620,12 @@ exports.HospitalsApiFp = function (configuration) {
23191
23620
  * @param {*} [options] Override http request option.
23192
23621
  * @throws {RequiredError}
23193
23622
  */
23194
- apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
23623
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
23195
23624
  return __awaiter(this, void 0, void 0, function () {
23196
23625
  var localVarAxiosArgs;
23197
23626
  return __generator(this, function (_a) {
23198
23627
  switch (_a.label) {
23199
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
23628
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
23200
23629
  case 1:
23201
23630
  localVarAxiosArgs = _a.sent();
23202
23631
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -23666,7 +24095,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
23666
24095
  *
23667
24096
  * @summary Get all HospitalHandles.
23668
24097
  * @param {string} hospitalId
23669
- * @param {string} [hospitalId2]
23670
24098
  * @param {string} [id]
23671
24099
  * @param {SnsType} [snsType]
23672
24100
  * @param {string} [handle]
@@ -23676,8 +24104,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
23676
24104
  * @param {*} [options] Override http request option.
23677
24105
  * @throws {RequiredError}
23678
24106
  */
23679
- apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
23680
- return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24107
+ apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
24108
+ return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
23681
24109
  },
23682
24110
  /**
23683
24111
  *
@@ -23820,6 +24248,71 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
23820
24248
  apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
23821
24249
  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); });
23822
24250
  },
24251
+ /**
24252
+ *
24253
+ * @summary Get all HospitalServiceMedias.
24254
+ * @param {string} hospitalId
24255
+ * @param {string} hospitalSpecialtyId
24256
+ * @param {string} [id]
24257
+ * @param {MediaType} [mediaType]
24258
+ * @param {number} [page]
24259
+ * @param {number} [limit]
24260
+ * @param {Date} [lastRetrieved]
24261
+ * @param {*} [options] Override http request option.
24262
+ * @throws {RequiredError}
24263
+ */
24264
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
24265
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24266
+ },
24267
+ /**
24268
+ *
24269
+ * @summary Delete HospitalServiceMedia
24270
+ * @param {string} hospitalId
24271
+ * @param {string} hospitalSpecialtyId
24272
+ * @param {string} mediaId
24273
+ * @param {*} [options] Override http request option.
24274
+ * @throws {RequiredError}
24275
+ */
24276
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
24277
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
24278
+ },
24279
+ /**
24280
+ *
24281
+ * @summary Get HospitalServiceMedia.
24282
+ * @param {string} hospitalId
24283
+ * @param {string} hospitalSpecialtyId
24284
+ * @param {string} mediaId
24285
+ * @param {*} [options] Override http request option.
24286
+ * @throws {RequiredError}
24287
+ */
24288
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
24289
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
24290
+ },
24291
+ /**
24292
+ *
24293
+ * @summary Update HospitalServiceMedia.
24294
+ * @param {string} hospitalId
24295
+ * @param {string} hospitalSpecialtyId
24296
+ * @param {string} mediaId
24297
+ * @param {UpdateMediaCommand} [updateMediaCommand]
24298
+ * @param {*} [options] Override http request option.
24299
+ * @throws {RequiredError}
24300
+ */
24301
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut: function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
24302
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
24303
+ },
24304
+ /**
24305
+ *
24306
+ * @summary Create HospitalServiceMedia.
24307
+ * @param {string} hospitalId
24308
+ * @param {string} hospitalSpecialtyId
24309
+ * @param {CreateMediaCommand} [createMediaCommand]
24310
+ * @param {*} [options] Override http request option.
24311
+ * @throws {RequiredError}
24312
+ */
24313
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost: function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
24314
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
24315
+ },
23823
24316
  /**
23824
24317
  *
23825
24318
  * @summary Create HospitalSpecialty.
@@ -24044,7 +24537,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
24044
24537
  *
24045
24538
  * @summary Get all HospitalWorkingDays.
24046
24539
  * @param {string} hospitalId
24047
- * @param {string} [hospitalId2]
24048
24540
  * @param {string} [id]
24049
24541
  * @param {string} [dayOfWeek]
24050
24542
  * @param {Date} [timeFrom]
@@ -24056,8 +24548,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
24056
24548
  * @param {*} [options] Override http request option.
24057
24549
  * @throws {RequiredError}
24058
24550
  */
24059
- apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
24060
- return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24551
+ apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
24552
+ return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
24061
24553
  },
24062
24554
  /**
24063
24555
  *
@@ -24499,7 +24991,6 @@ var HospitalsApi = /** @class */ (function (_super) {
24499
24991
  *
24500
24992
  * @summary Get all HospitalHandles.
24501
24993
  * @param {string} hospitalId
24502
- * @param {string} [hospitalId2]
24503
24994
  * @param {string} [id]
24504
24995
  * @param {SnsType} [snsType]
24505
24996
  * @param {string} [handle]
@@ -24510,9 +25001,9 @@ var HospitalsApi = /** @class */ (function (_super) {
24510
25001
  * @throws {RequiredError}
24511
25002
  * @memberof HospitalsApi
24512
25003
  */
24513
- HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
25004
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
24514
25005
  var _this = this;
24515
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25006
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24516
25007
  };
24517
25008
  /**
24518
25009
  *
@@ -24677,6 +25168,81 @@ var HospitalsApi = /** @class */ (function (_super) {
24677
25168
  var _this = this;
24678
25169
  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); });
24679
25170
  };
25171
+ /**
25172
+ *
25173
+ * @summary Get all HospitalServiceMedias.
25174
+ * @param {string} hospitalId
25175
+ * @param {string} hospitalSpecialtyId
25176
+ * @param {string} [id]
25177
+ * @param {MediaType} [mediaType]
25178
+ * @param {number} [page]
25179
+ * @param {number} [limit]
25180
+ * @param {Date} [lastRetrieved]
25181
+ * @param {*} [options] Override http request option.
25182
+ * @throws {RequiredError}
25183
+ * @memberof HospitalsApi
25184
+ */
25185
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet = function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
25186
+ var _this = this;
25187
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25188
+ };
25189
+ /**
25190
+ *
25191
+ * @summary Delete HospitalServiceMedia
25192
+ * @param {string} hospitalId
25193
+ * @param {string} hospitalSpecialtyId
25194
+ * @param {string} mediaId
25195
+ * @param {*} [options] Override http request option.
25196
+ * @throws {RequiredError}
25197
+ * @memberof HospitalsApi
25198
+ */
25199
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
25200
+ var _this = this;
25201
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdDelete(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
25202
+ };
25203
+ /**
25204
+ *
25205
+ * @summary Get HospitalServiceMedia.
25206
+ * @param {string} hospitalId
25207
+ * @param {string} hospitalSpecialtyId
25208
+ * @param {string} mediaId
25209
+ * @param {*} [options] Override http request option.
25210
+ * @throws {RequiredError}
25211
+ * @memberof HospitalsApi
25212
+ */
25213
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
25214
+ var _this = this;
25215
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
25216
+ };
25217
+ /**
25218
+ *
25219
+ * @summary Update HospitalServiceMedia.
25220
+ * @param {string} hospitalId
25221
+ * @param {string} hospitalSpecialtyId
25222
+ * @param {string} mediaId
25223
+ * @param {UpdateMediaCommand} [updateMediaCommand]
25224
+ * @param {*} [options] Override http request option.
25225
+ * @throws {RequiredError}
25226
+ * @memberof HospitalsApi
25227
+ */
25228
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut = function (hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options) {
25229
+ var _this = this;
25230
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdPut(hospitalId, hospitalSpecialtyId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
25231
+ };
25232
+ /**
25233
+ *
25234
+ * @summary Create HospitalServiceMedia.
25235
+ * @param {string} hospitalId
25236
+ * @param {string} hospitalSpecialtyId
25237
+ * @param {CreateMediaCommand} [createMediaCommand]
25238
+ * @param {*} [options] Override http request option.
25239
+ * @throws {RequiredError}
25240
+ * @memberof HospitalsApi
25241
+ */
25242
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost = function (hospitalId, hospitalSpecialtyId, createMediaCommand, options) {
25243
+ var _this = this;
25244
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasPost(hospitalId, hospitalSpecialtyId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
25245
+ };
24680
25246
  /**
24681
25247
  *
24682
25248
  * @summary Create HospitalSpecialty.
@@ -24931,7 +25497,6 @@ var HospitalsApi = /** @class */ (function (_super) {
24931
25497
  *
24932
25498
  * @summary Get all HospitalWorkingDays.
24933
25499
  * @param {string} hospitalId
24934
- * @param {string} [hospitalId2]
24935
25500
  * @param {string} [id]
24936
25501
  * @param {string} [dayOfWeek]
24937
25502
  * @param {Date} [timeFrom]
@@ -24944,9 +25509,9 @@ var HospitalsApi = /** @class */ (function (_super) {
24944
25509
  * @throws {RequiredError}
24945
25510
  * @memberof HospitalsApi
24946
25511
  */
24947
- HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
25512
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
24948
25513
  var _this = this;
24949
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
25514
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
24950
25515
  };
24951
25516
  /**
24952
25517
  *