ch-admin-api-client-typescript 2.8.5 → 2.8.6

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
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
76
76
  return (mod && mod.__esModule) ? mod : { "default": mod };
77
77
  };
78
78
  Object.defineProperty(exports, "__esModule", { value: true });
79
- exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
79
+ exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
80
80
  var axios_1 = __importDefault(require("axios"));
81
81
  // Some imports not used depending on template conditions
82
82
  // @ts-ignore
@@ -146,6 +146,19 @@ var ContributionType;
146
146
  ContributionType["WrittenBy"] = "WrittenBy";
147
147
  ContributionType["InterviewWith"] = "InterviewWith";
148
148
  })(ContributionType = exports.ContributionType || (exports.ContributionType = {}));
149
+ /**
150
+ *
151
+ * @export
152
+ * @enum {string}
153
+ */
154
+ var Duration;
155
+ (function (Duration) {
156
+ Duration["CurrentMonth"] = "Current_Month";
157
+ Duration["Last3Month"] = "Last_3_Month";
158
+ Duration["Last6Month"] = "Last_6_Month";
159
+ Duration["Last9Month"] = "Last_9_Month";
160
+ Duration["Last12Month"] = "Last_12_Month";
161
+ })(Duration = exports.Duration || (exports.Duration = {}));
149
162
  /**
150
163
  *
151
164
  * @export
@@ -8952,6 +8965,132 @@ var CountriesApi = /** @class */ (function (_super) {
8952
8965
  return CountriesApi;
8953
8966
  }(base_1.BaseAPI));
8954
8967
  exports.CountriesApi = CountriesApi;
8968
+ /**
8969
+ * DashBoardApi - axios parameter creator
8970
+ * @export
8971
+ */
8972
+ exports.DashBoardApiAxiosParamCreator = function (configuration) {
8973
+ var _this = this;
8974
+ return {
8975
+ /**
8976
+ *
8977
+ * @summary Create a DashBoard.
8978
+ * @param {Duration} duration
8979
+ * @param {*} [options] Override http request option.
8980
+ * @throws {RequiredError}
8981
+ */
8982
+ apiV1DashboardDurationGet: function (duration, options) {
8983
+ if (options === void 0) { options = {}; }
8984
+ return __awaiter(_this, void 0, void 0, function () {
8985
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8986
+ return __generator(this, function (_a) {
8987
+ switch (_a.label) {
8988
+ case 0:
8989
+ // verify required parameter 'duration' is not null or undefined
8990
+ common_1.assertParamExists('apiV1DashboardDurationGet', 'duration', duration);
8991
+ localVarPath = "/api/v1/dashboard/{duration}"
8992
+ .replace("{" + "duration" + "}", encodeURIComponent(String(duration)));
8993
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8994
+ if (configuration) {
8995
+ baseOptions = configuration.baseOptions;
8996
+ }
8997
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8998
+ localVarHeaderParameter = {};
8999
+ localVarQueryParameter = {};
9000
+ // authentication oauth2 required
9001
+ // oauth required
9002
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
9003
+ case 1:
9004
+ // authentication oauth2 required
9005
+ // oauth required
9006
+ _a.sent();
9007
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
9008
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9009
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9010
+ return [2 /*return*/, {
9011
+ url: common_1.toPathString(localVarUrlObj),
9012
+ options: localVarRequestOptions,
9013
+ }];
9014
+ }
9015
+ });
9016
+ });
9017
+ },
9018
+ };
9019
+ };
9020
+ /**
9021
+ * DashBoardApi - functional programming interface
9022
+ * @export
9023
+ */
9024
+ exports.DashBoardApiFp = function (configuration) {
9025
+ var localVarAxiosParamCreator = exports.DashBoardApiAxiosParamCreator(configuration);
9026
+ return {
9027
+ /**
9028
+ *
9029
+ * @summary Create a DashBoard.
9030
+ * @param {Duration} duration
9031
+ * @param {*} [options] Override http request option.
9032
+ * @throws {RequiredError}
9033
+ */
9034
+ apiV1DashboardDurationGet: function (duration, options) {
9035
+ return __awaiter(this, void 0, void 0, function () {
9036
+ var localVarAxiosArgs;
9037
+ return __generator(this, function (_a) {
9038
+ switch (_a.label) {
9039
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DashboardDurationGet(duration, options)];
9040
+ case 1:
9041
+ localVarAxiosArgs = _a.sent();
9042
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9043
+ }
9044
+ });
9045
+ });
9046
+ },
9047
+ };
9048
+ };
9049
+ /**
9050
+ * DashBoardApi - factory interface
9051
+ * @export
9052
+ */
9053
+ exports.DashBoardApiFactory = function (configuration, basePath, axios) {
9054
+ var localVarFp = exports.DashBoardApiFp(configuration);
9055
+ return {
9056
+ /**
9057
+ *
9058
+ * @summary Create a DashBoard.
9059
+ * @param {Duration} duration
9060
+ * @param {*} [options] Override http request option.
9061
+ * @throws {RequiredError}
9062
+ */
9063
+ apiV1DashboardDurationGet: function (duration, options) {
9064
+ return localVarFp.apiV1DashboardDurationGet(duration, options).then(function (request) { return request(axios, basePath); });
9065
+ },
9066
+ };
9067
+ };
9068
+ /**
9069
+ * DashBoardApi - object-oriented interface
9070
+ * @export
9071
+ * @class DashBoardApi
9072
+ * @extends {BaseAPI}
9073
+ */
9074
+ var DashBoardApi = /** @class */ (function (_super) {
9075
+ __extends(DashBoardApi, _super);
9076
+ function DashBoardApi() {
9077
+ return _super !== null && _super.apply(this, arguments) || this;
9078
+ }
9079
+ /**
9080
+ *
9081
+ * @summary Create a DashBoard.
9082
+ * @param {Duration} duration
9083
+ * @param {*} [options] Override http request option.
9084
+ * @throws {RequiredError}
9085
+ * @memberof DashBoardApi
9086
+ */
9087
+ DashBoardApi.prototype.apiV1DashboardDurationGet = function (duration, options) {
9088
+ var _this = this;
9089
+ return exports.DashBoardApiFp(this.configuration).apiV1DashboardDurationGet(duration, options).then(function (request) { return request(_this.axios, _this.basePath); });
9090
+ };
9091
+ return DashBoardApi;
9092
+ }(base_1.BaseAPI));
9093
+ exports.DashBoardApi = DashBoardApi;
8955
9094
  /**
8956
9095
  * DealsApi - axios parameter creator
8957
9096
  * @export
@@ -18575,6 +18714,107 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18575
18714
  });
18576
18715
  });
18577
18716
  },
18717
+ /**
18718
+ *
18719
+ * @summary Get all HospitalSpecialties.
18720
+ * @param {string} hospitalId
18721
+ * @param {string} [hospitalName]
18722
+ * @param {string} [hospitalSlug]
18723
+ * @param {string} [specialtyId]
18724
+ * @param {string} [specialtyName]
18725
+ * @param {string} [specialtyTypeId]
18726
+ * @param {string} [title]
18727
+ * @param {MarketingType} [marketingType]
18728
+ * @param {string} [languageCode]
18729
+ * @param {boolean} [showHidden]
18730
+ * @param {boolean} [returnDefaultValue]
18731
+ * @param {boolean} [includeServices]
18732
+ * @param {number} [page]
18733
+ * @param {number} [limit]
18734
+ * @param {Date} [lastRetrieved]
18735
+ * @param {*} [options] Override http request option.
18736
+ * @throws {RequiredError}
18737
+ */
18738
+ apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
18739
+ if (options === void 0) { options = {}; }
18740
+ return __awaiter(_this, void 0, void 0, function () {
18741
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18742
+ return __generator(this, function (_a) {
18743
+ switch (_a.label) {
18744
+ case 0:
18745
+ // verify required parameter 'hospitalId' is not null or undefined
18746
+ common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
18747
+ localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/simple"
18748
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
18749
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18750
+ if (configuration) {
18751
+ baseOptions = configuration.baseOptions;
18752
+ }
18753
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18754
+ localVarHeaderParameter = {};
18755
+ localVarQueryParameter = {};
18756
+ // authentication oauth2 required
18757
+ // oauth required
18758
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18759
+ case 1:
18760
+ // authentication oauth2 required
18761
+ // oauth required
18762
+ _a.sent();
18763
+ if (hospitalName !== undefined) {
18764
+ localVarQueryParameter['HospitalName'] = hospitalName;
18765
+ }
18766
+ if (hospitalSlug !== undefined) {
18767
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
18768
+ }
18769
+ if (specialtyId !== undefined) {
18770
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
18771
+ }
18772
+ if (specialtyName !== undefined) {
18773
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
18774
+ }
18775
+ if (specialtyTypeId !== undefined) {
18776
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18777
+ }
18778
+ if (title !== undefined) {
18779
+ localVarQueryParameter['Title'] = title;
18780
+ }
18781
+ if (marketingType !== undefined) {
18782
+ localVarQueryParameter['MarketingType'] = marketingType;
18783
+ }
18784
+ if (languageCode !== undefined) {
18785
+ localVarQueryParameter['LanguageCode'] = languageCode;
18786
+ }
18787
+ if (showHidden !== undefined) {
18788
+ localVarQueryParameter['ShowHidden'] = showHidden;
18789
+ }
18790
+ if (returnDefaultValue !== undefined) {
18791
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18792
+ }
18793
+ if (includeServices !== undefined) {
18794
+ localVarQueryParameter['IncludeServices'] = includeServices;
18795
+ }
18796
+ if (page !== undefined) {
18797
+ localVarQueryParameter['page'] = page;
18798
+ }
18799
+ if (limit !== undefined) {
18800
+ localVarQueryParameter['limit'] = limit;
18801
+ }
18802
+ if (lastRetrieved !== undefined) {
18803
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
18804
+ lastRetrieved.toISOString() :
18805
+ lastRetrieved;
18806
+ }
18807
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18808
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18809
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18810
+ return [2 /*return*/, {
18811
+ url: common_1.toPathString(localVarUrlObj),
18812
+ options: localVarRequestOptions,
18813
+ }];
18814
+ }
18815
+ });
18816
+ });
18817
+ },
18578
18818
  /**
18579
18819
  *
18580
18820
  * @summary Delete HospitalSpecialty.
@@ -20257,6 +20497,40 @@ exports.HospitalsApiFp = function (configuration) {
20257
20497
  });
20258
20498
  });
20259
20499
  },
20500
+ /**
20501
+ *
20502
+ * @summary Get all HospitalSpecialties.
20503
+ * @param {string} hospitalId
20504
+ * @param {string} [hospitalName]
20505
+ * @param {string} [hospitalSlug]
20506
+ * @param {string} [specialtyId]
20507
+ * @param {string} [specialtyName]
20508
+ * @param {string} [specialtyTypeId]
20509
+ * @param {string} [title]
20510
+ * @param {MarketingType} [marketingType]
20511
+ * @param {string} [languageCode]
20512
+ * @param {boolean} [showHidden]
20513
+ * @param {boolean} [returnDefaultValue]
20514
+ * @param {boolean} [includeServices]
20515
+ * @param {number} [page]
20516
+ * @param {number} [limit]
20517
+ * @param {Date} [lastRetrieved]
20518
+ * @param {*} [options] Override http request option.
20519
+ * @throws {RequiredError}
20520
+ */
20521
+ apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
20522
+ return __awaiter(this, void 0, void 0, function () {
20523
+ var localVarAxiosArgs;
20524
+ return __generator(this, function (_a) {
20525
+ switch (_a.label) {
20526
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
20527
+ case 1:
20528
+ localVarAxiosArgs = _a.sent();
20529
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
20530
+ }
20531
+ });
20532
+ });
20533
+ },
20260
20534
  /**
20261
20535
  *
20262
20536
  * @summary Delete HospitalSpecialty.
@@ -21048,6 +21322,30 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
21048
21322
  apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
21049
21323
  return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
21050
21324
  },
21325
+ /**
21326
+ *
21327
+ * @summary Get all HospitalSpecialties.
21328
+ * @param {string} hospitalId
21329
+ * @param {string} [hospitalName]
21330
+ * @param {string} [hospitalSlug]
21331
+ * @param {string} [specialtyId]
21332
+ * @param {string} [specialtyName]
21333
+ * @param {string} [specialtyTypeId]
21334
+ * @param {string} [title]
21335
+ * @param {MarketingType} [marketingType]
21336
+ * @param {string} [languageCode]
21337
+ * @param {boolean} [showHidden]
21338
+ * @param {boolean} [returnDefaultValue]
21339
+ * @param {boolean} [includeServices]
21340
+ * @param {number} [page]
21341
+ * @param {number} [limit]
21342
+ * @param {Date} [lastRetrieved]
21343
+ * @param {*} [options] Override http request option.
21344
+ * @throws {RequiredError}
21345
+ */
21346
+ apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
21347
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
21348
+ },
21051
21349
  /**
21052
21350
  *
21053
21351
  * @summary Delete HospitalSpecialty.
@@ -21743,6 +22041,32 @@ var HospitalsApi = /** @class */ (function (_super) {
21743
22041
  var _this = this;
21744
22042
  return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
21745
22043
  };
22044
+ /**
22045
+ *
22046
+ * @summary Get all HospitalSpecialties.
22047
+ * @param {string} hospitalId
22048
+ * @param {string} [hospitalName]
22049
+ * @param {string} [hospitalSlug]
22050
+ * @param {string} [specialtyId]
22051
+ * @param {string} [specialtyName]
22052
+ * @param {string} [specialtyTypeId]
22053
+ * @param {string} [title]
22054
+ * @param {MarketingType} [marketingType]
22055
+ * @param {string} [languageCode]
22056
+ * @param {boolean} [showHidden]
22057
+ * @param {boolean} [returnDefaultValue]
22058
+ * @param {boolean} [includeServices]
22059
+ * @param {number} [page]
22060
+ * @param {number} [limit]
22061
+ * @param {Date} [lastRetrieved]
22062
+ * @param {*} [options] Override http request option.
22063
+ * @throws {RequiredError}
22064
+ * @memberof HospitalsApi
22065
+ */
22066
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
22067
+ var _this = this;
22068
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
22069
+ };
21746
22070
  /**
21747
22071
  *
21748
22072
  * @summary Delete HospitalSpecialty.
@@ -22180,13 +22504,14 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
22180
22504
  * @param {string} [name]
22181
22505
  * @param {string} [code]
22182
22506
  * @param {string} [description]
22507
+ * @param {boolean} [showPublished]
22183
22508
  * @param {number} [page]
22184
22509
  * @param {number} [limit]
22185
22510
  * @param {Date} [lastRetrieved]
22186
22511
  * @param {*} [options] Override http request option.
22187
22512
  * @throws {RequiredError}
22188
22513
  */
22189
- apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
22514
+ apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
22190
22515
  if (options === void 0) { options = {}; }
22191
22516
  return __awaiter(_this, void 0, void 0, function () {
22192
22517
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -22220,6 +22545,9 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
22220
22545
  if (description !== undefined) {
22221
22546
  localVarQueryParameter['Description'] = description;
22222
22547
  }
22548
+ if (showPublished !== undefined) {
22549
+ localVarQueryParameter['ShowPublished'] = showPublished;
22550
+ }
22223
22551
  if (page !== undefined) {
22224
22552
  localVarQueryParameter['page'] = page;
22225
22553
  }
@@ -22449,18 +22777,19 @@ exports.LanguagesApiFp = function (configuration) {
22449
22777
  * @param {string} [name]
22450
22778
  * @param {string} [code]
22451
22779
  * @param {string} [description]
22780
+ * @param {boolean} [showPublished]
22452
22781
  * @param {number} [page]
22453
22782
  * @param {number} [limit]
22454
22783
  * @param {Date} [lastRetrieved]
22455
22784
  * @param {*} [options] Override http request option.
22456
22785
  * @throws {RequiredError}
22457
22786
  */
22458
- apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
22787
+ apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
22459
22788
  return __awaiter(this, void 0, void 0, function () {
22460
22789
  var localVarAxiosArgs;
22461
22790
  return __generator(this, function (_a) {
22462
22791
  switch (_a.label) {
22463
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options)];
22792
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options)];
22464
22793
  case 1:
22465
22794
  localVarAxiosArgs = _a.sent();
22466
22795
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -22572,14 +22901,15 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
22572
22901
  * @param {string} [name]
22573
22902
  * @param {string} [code]
22574
22903
  * @param {string} [description]
22904
+ * @param {boolean} [showPublished]
22575
22905
  * @param {number} [page]
22576
22906
  * @param {number} [limit]
22577
22907
  * @param {Date} [lastRetrieved]
22578
22908
  * @param {*} [options] Override http request option.
22579
22909
  * @throws {RequiredError}
22580
22910
  */
22581
- apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
22582
- return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
22911
+ apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
22912
+ return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
22583
22913
  },
22584
22914
  /**
22585
22915
  *
@@ -22651,6 +22981,7 @@ var LanguagesApi = /** @class */ (function (_super) {
22651
22981
  * @param {string} [name]
22652
22982
  * @param {string} [code]
22653
22983
  * @param {string} [description]
22984
+ * @param {boolean} [showPublished]
22654
22985
  * @param {number} [page]
22655
22986
  * @param {number} [limit]
22656
22987
  * @param {Date} [lastRetrieved]
@@ -22658,9 +22989,9 @@ var LanguagesApi = /** @class */ (function (_super) {
22658
22989
  * @throws {RequiredError}
22659
22990
  * @memberof LanguagesApi
22660
22991
  */
22661
- LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, page, limit, lastRetrieved, options) {
22992
+ LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
22662
22993
  var _this = this;
22663
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
22994
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
22664
22995
  };
22665
22996
  /**
22666
22997
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "2.8.5",
3
+ "version": "2.8.6",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {