ch-admin-api-client-typescript 2.8.5 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +635 -5
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +545 -8
- package/package.json +1 -1
- package/src/api.ts +898 -7
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
|
|
@@ -9772,6 +9911,119 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9772
9911
|
});
|
|
9773
9912
|
});
|
|
9774
9913
|
},
|
|
9914
|
+
/**
|
|
9915
|
+
*
|
|
9916
|
+
* @summary Get all deals.
|
|
9917
|
+
* @param {string} [id]
|
|
9918
|
+
* @param {string} [name]
|
|
9919
|
+
* @param {MarketingType} [marketingType]
|
|
9920
|
+
* @param {string} [countryId]
|
|
9921
|
+
* @param {string} [hospitalId]
|
|
9922
|
+
* @param {string} [hospitalName]
|
|
9923
|
+
* @param {string} [specialtyId]
|
|
9924
|
+
* @param {string} [specialtyTypeId]
|
|
9925
|
+
* @param {string} [serviceId]
|
|
9926
|
+
* @param {string} [exceptHospitalId]
|
|
9927
|
+
* @param {string} [exceptDealId]
|
|
9928
|
+
* @param {Array<string>} [ids]
|
|
9929
|
+
* @param {string} [languageCode]
|
|
9930
|
+
* @param {boolean} [showHidden]
|
|
9931
|
+
* @param {boolean} [returnDefaultValue]
|
|
9932
|
+
* @param {number} [page]
|
|
9933
|
+
* @param {number} [limit]
|
|
9934
|
+
* @param {Date} [lastRetrieved]
|
|
9935
|
+
* @param {*} [options] Override http request option.
|
|
9936
|
+
* @throws {RequiredError}
|
|
9937
|
+
*/
|
|
9938
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9939
|
+
if (options === void 0) { options = {}; }
|
|
9940
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
9941
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9942
|
+
return __generator(this, function (_a) {
|
|
9943
|
+
switch (_a.label) {
|
|
9944
|
+
case 0:
|
|
9945
|
+
localVarPath = "/api/v1/deals/simple";
|
|
9946
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9947
|
+
if (configuration) {
|
|
9948
|
+
baseOptions = configuration.baseOptions;
|
|
9949
|
+
}
|
|
9950
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9951
|
+
localVarHeaderParameter = {};
|
|
9952
|
+
localVarQueryParameter = {};
|
|
9953
|
+
// authentication oauth2 required
|
|
9954
|
+
// oauth required
|
|
9955
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
9956
|
+
case 1:
|
|
9957
|
+
// authentication oauth2 required
|
|
9958
|
+
// oauth required
|
|
9959
|
+
_a.sent();
|
|
9960
|
+
if (id !== undefined) {
|
|
9961
|
+
localVarQueryParameter['Id'] = id;
|
|
9962
|
+
}
|
|
9963
|
+
if (name !== undefined) {
|
|
9964
|
+
localVarQueryParameter['Name'] = name;
|
|
9965
|
+
}
|
|
9966
|
+
if (marketingType !== undefined) {
|
|
9967
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
9968
|
+
}
|
|
9969
|
+
if (countryId !== undefined) {
|
|
9970
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
9971
|
+
}
|
|
9972
|
+
if (hospitalId !== undefined) {
|
|
9973
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
9974
|
+
}
|
|
9975
|
+
if (hospitalName !== undefined) {
|
|
9976
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
9977
|
+
}
|
|
9978
|
+
if (specialtyId !== undefined) {
|
|
9979
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
9980
|
+
}
|
|
9981
|
+
if (specialtyTypeId !== undefined) {
|
|
9982
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
9983
|
+
}
|
|
9984
|
+
if (serviceId !== undefined) {
|
|
9985
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
9986
|
+
}
|
|
9987
|
+
if (exceptHospitalId !== undefined) {
|
|
9988
|
+
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
9989
|
+
}
|
|
9990
|
+
if (exceptDealId !== undefined) {
|
|
9991
|
+
localVarQueryParameter['ExceptDealId'] = exceptDealId;
|
|
9992
|
+
}
|
|
9993
|
+
if (ids) {
|
|
9994
|
+
localVarQueryParameter['Ids'] = ids;
|
|
9995
|
+
}
|
|
9996
|
+
if (languageCode !== undefined) {
|
|
9997
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9998
|
+
}
|
|
9999
|
+
if (showHidden !== undefined) {
|
|
10000
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10001
|
+
}
|
|
10002
|
+
if (returnDefaultValue !== undefined) {
|
|
10003
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10004
|
+
}
|
|
10005
|
+
if (page !== undefined) {
|
|
10006
|
+
localVarQueryParameter['page'] = page;
|
|
10007
|
+
}
|
|
10008
|
+
if (limit !== undefined) {
|
|
10009
|
+
localVarQueryParameter['limit'] = limit;
|
|
10010
|
+
}
|
|
10011
|
+
if (lastRetrieved !== undefined) {
|
|
10012
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10013
|
+
lastRetrieved.toISOString() :
|
|
10014
|
+
lastRetrieved;
|
|
10015
|
+
}
|
|
10016
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10017
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10018
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10019
|
+
return [2 /*return*/, {
|
|
10020
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
10021
|
+
options: localVarRequestOptions,
|
|
10022
|
+
}];
|
|
10023
|
+
}
|
|
10024
|
+
});
|
|
10025
|
+
});
|
|
10026
|
+
},
|
|
9775
10027
|
/**
|
|
9776
10028
|
*
|
|
9777
10029
|
* @summary Get deal by slug.
|
|
@@ -10174,6 +10426,43 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10174
10426
|
});
|
|
10175
10427
|
});
|
|
10176
10428
|
},
|
|
10429
|
+
/**
|
|
10430
|
+
*
|
|
10431
|
+
* @summary Get all deals.
|
|
10432
|
+
* @param {string} [id]
|
|
10433
|
+
* @param {string} [name]
|
|
10434
|
+
* @param {MarketingType} [marketingType]
|
|
10435
|
+
* @param {string} [countryId]
|
|
10436
|
+
* @param {string} [hospitalId]
|
|
10437
|
+
* @param {string} [hospitalName]
|
|
10438
|
+
* @param {string} [specialtyId]
|
|
10439
|
+
* @param {string} [specialtyTypeId]
|
|
10440
|
+
* @param {string} [serviceId]
|
|
10441
|
+
* @param {string} [exceptHospitalId]
|
|
10442
|
+
* @param {string} [exceptDealId]
|
|
10443
|
+
* @param {Array<string>} [ids]
|
|
10444
|
+
* @param {string} [languageCode]
|
|
10445
|
+
* @param {boolean} [showHidden]
|
|
10446
|
+
* @param {boolean} [returnDefaultValue]
|
|
10447
|
+
* @param {number} [page]
|
|
10448
|
+
* @param {number} [limit]
|
|
10449
|
+
* @param {Date} [lastRetrieved]
|
|
10450
|
+
* @param {*} [options] Override http request option.
|
|
10451
|
+
* @throws {RequiredError}
|
|
10452
|
+
*/
|
|
10453
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10454
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10455
|
+
var localVarAxiosArgs;
|
|
10456
|
+
return __generator(this, function (_a) {
|
|
10457
|
+
switch (_a.label) {
|
|
10458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10459
|
+
case 1:
|
|
10460
|
+
localVarAxiosArgs = _a.sent();
|
|
10461
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10462
|
+
}
|
|
10463
|
+
});
|
|
10464
|
+
});
|
|
10465
|
+
},
|
|
10177
10466
|
/**
|
|
10178
10467
|
*
|
|
10179
10468
|
* @summary Get deal by slug.
|
|
@@ -10397,6 +10686,33 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10397
10686
|
apiV1DealsPost: function (createDealCommand, options) {
|
|
10398
10687
|
return localVarFp.apiV1DealsPost(createDealCommand, options).then(function (request) { return request(axios, basePath); });
|
|
10399
10688
|
},
|
|
10689
|
+
/**
|
|
10690
|
+
*
|
|
10691
|
+
* @summary Get all deals.
|
|
10692
|
+
* @param {string} [id]
|
|
10693
|
+
* @param {string} [name]
|
|
10694
|
+
* @param {MarketingType} [marketingType]
|
|
10695
|
+
* @param {string} [countryId]
|
|
10696
|
+
* @param {string} [hospitalId]
|
|
10697
|
+
* @param {string} [hospitalName]
|
|
10698
|
+
* @param {string} [specialtyId]
|
|
10699
|
+
* @param {string} [specialtyTypeId]
|
|
10700
|
+
* @param {string} [serviceId]
|
|
10701
|
+
* @param {string} [exceptHospitalId]
|
|
10702
|
+
* @param {string} [exceptDealId]
|
|
10703
|
+
* @param {Array<string>} [ids]
|
|
10704
|
+
* @param {string} [languageCode]
|
|
10705
|
+
* @param {boolean} [showHidden]
|
|
10706
|
+
* @param {boolean} [returnDefaultValue]
|
|
10707
|
+
* @param {number} [page]
|
|
10708
|
+
* @param {number} [limit]
|
|
10709
|
+
* @param {Date} [lastRetrieved]
|
|
10710
|
+
* @param {*} [options] Override http request option.
|
|
10711
|
+
* @throws {RequiredError}
|
|
10712
|
+
*/
|
|
10713
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10714
|
+
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10715
|
+
},
|
|
10400
10716
|
/**
|
|
10401
10717
|
*
|
|
10402
10718
|
* @summary Get deal by slug.
|
|
@@ -10644,6 +10960,35 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10644
10960
|
var _this = this;
|
|
10645
10961
|
return exports.DealsApiFp(this.configuration).apiV1DealsPost(createDealCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10646
10962
|
};
|
|
10963
|
+
/**
|
|
10964
|
+
*
|
|
10965
|
+
* @summary Get all deals.
|
|
10966
|
+
* @param {string} [id]
|
|
10967
|
+
* @param {string} [name]
|
|
10968
|
+
* @param {MarketingType} [marketingType]
|
|
10969
|
+
* @param {string} [countryId]
|
|
10970
|
+
* @param {string} [hospitalId]
|
|
10971
|
+
* @param {string} [hospitalName]
|
|
10972
|
+
* @param {string} [specialtyId]
|
|
10973
|
+
* @param {string} [specialtyTypeId]
|
|
10974
|
+
* @param {string} [serviceId]
|
|
10975
|
+
* @param {string} [exceptHospitalId]
|
|
10976
|
+
* @param {string} [exceptDealId]
|
|
10977
|
+
* @param {Array<string>} [ids]
|
|
10978
|
+
* @param {string} [languageCode]
|
|
10979
|
+
* @param {boolean} [showHidden]
|
|
10980
|
+
* @param {boolean} [returnDefaultValue]
|
|
10981
|
+
* @param {number} [page]
|
|
10982
|
+
* @param {number} [limit]
|
|
10983
|
+
* @param {Date} [lastRetrieved]
|
|
10984
|
+
* @param {*} [options] Override http request option.
|
|
10985
|
+
* @throws {RequiredError}
|
|
10986
|
+
* @memberof DealsApi
|
|
10987
|
+
*/
|
|
10988
|
+
DealsApi.prototype.apiV1DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10989
|
+
var _this = this;
|
|
10990
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10991
|
+
};
|
|
10647
10992
|
/**
|
|
10648
10993
|
*
|
|
10649
10994
|
* @summary Get deal by slug.
|
|
@@ -18575,6 +18920,107 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18575
18920
|
});
|
|
18576
18921
|
});
|
|
18577
18922
|
},
|
|
18923
|
+
/**
|
|
18924
|
+
*
|
|
18925
|
+
* @summary Get all HospitalSpecialties.
|
|
18926
|
+
* @param {string} hospitalId
|
|
18927
|
+
* @param {string} [hospitalName]
|
|
18928
|
+
* @param {string} [hospitalSlug]
|
|
18929
|
+
* @param {string} [specialtyId]
|
|
18930
|
+
* @param {string} [specialtyName]
|
|
18931
|
+
* @param {string} [specialtyTypeId]
|
|
18932
|
+
* @param {string} [title]
|
|
18933
|
+
* @param {MarketingType} [marketingType]
|
|
18934
|
+
* @param {string} [languageCode]
|
|
18935
|
+
* @param {boolean} [showHidden]
|
|
18936
|
+
* @param {boolean} [returnDefaultValue]
|
|
18937
|
+
* @param {boolean} [includeServices]
|
|
18938
|
+
* @param {number} [page]
|
|
18939
|
+
* @param {number} [limit]
|
|
18940
|
+
* @param {Date} [lastRetrieved]
|
|
18941
|
+
* @param {*} [options] Override http request option.
|
|
18942
|
+
* @throws {RequiredError}
|
|
18943
|
+
*/
|
|
18944
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
18945
|
+
if (options === void 0) { options = {}; }
|
|
18946
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
18947
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18948
|
+
return __generator(this, function (_a) {
|
|
18949
|
+
switch (_a.label) {
|
|
18950
|
+
case 0:
|
|
18951
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
18952
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
|
|
18953
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/specialties/simple"
|
|
18954
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
18955
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18956
|
+
if (configuration) {
|
|
18957
|
+
baseOptions = configuration.baseOptions;
|
|
18958
|
+
}
|
|
18959
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18960
|
+
localVarHeaderParameter = {};
|
|
18961
|
+
localVarQueryParameter = {};
|
|
18962
|
+
// authentication oauth2 required
|
|
18963
|
+
// oauth required
|
|
18964
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
18965
|
+
case 1:
|
|
18966
|
+
// authentication oauth2 required
|
|
18967
|
+
// oauth required
|
|
18968
|
+
_a.sent();
|
|
18969
|
+
if (hospitalName !== undefined) {
|
|
18970
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
18971
|
+
}
|
|
18972
|
+
if (hospitalSlug !== undefined) {
|
|
18973
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
18974
|
+
}
|
|
18975
|
+
if (specialtyId !== undefined) {
|
|
18976
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
18977
|
+
}
|
|
18978
|
+
if (specialtyName !== undefined) {
|
|
18979
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
18980
|
+
}
|
|
18981
|
+
if (specialtyTypeId !== undefined) {
|
|
18982
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18983
|
+
}
|
|
18984
|
+
if (title !== undefined) {
|
|
18985
|
+
localVarQueryParameter['Title'] = title;
|
|
18986
|
+
}
|
|
18987
|
+
if (marketingType !== undefined) {
|
|
18988
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18989
|
+
}
|
|
18990
|
+
if (languageCode !== undefined) {
|
|
18991
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18992
|
+
}
|
|
18993
|
+
if (showHidden !== undefined) {
|
|
18994
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18995
|
+
}
|
|
18996
|
+
if (returnDefaultValue !== undefined) {
|
|
18997
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18998
|
+
}
|
|
18999
|
+
if (includeServices !== undefined) {
|
|
19000
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
19001
|
+
}
|
|
19002
|
+
if (page !== undefined) {
|
|
19003
|
+
localVarQueryParameter['page'] = page;
|
|
19004
|
+
}
|
|
19005
|
+
if (limit !== undefined) {
|
|
19006
|
+
localVarQueryParameter['limit'] = limit;
|
|
19007
|
+
}
|
|
19008
|
+
if (lastRetrieved !== undefined) {
|
|
19009
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
19010
|
+
lastRetrieved.toISOString() :
|
|
19011
|
+
lastRetrieved;
|
|
19012
|
+
}
|
|
19013
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19014
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19015
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19016
|
+
return [2 /*return*/, {
|
|
19017
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
19018
|
+
options: localVarRequestOptions,
|
|
19019
|
+
}];
|
|
19020
|
+
}
|
|
19021
|
+
});
|
|
19022
|
+
});
|
|
19023
|
+
},
|
|
18578
19024
|
/**
|
|
18579
19025
|
*
|
|
18580
19026
|
* @summary Delete HospitalSpecialty.
|
|
@@ -20257,6 +20703,40 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20257
20703
|
});
|
|
20258
20704
|
});
|
|
20259
20705
|
},
|
|
20706
|
+
/**
|
|
20707
|
+
*
|
|
20708
|
+
* @summary Get all HospitalSpecialties.
|
|
20709
|
+
* @param {string} hospitalId
|
|
20710
|
+
* @param {string} [hospitalName]
|
|
20711
|
+
* @param {string} [hospitalSlug]
|
|
20712
|
+
* @param {string} [specialtyId]
|
|
20713
|
+
* @param {string} [specialtyName]
|
|
20714
|
+
* @param {string} [specialtyTypeId]
|
|
20715
|
+
* @param {string} [title]
|
|
20716
|
+
* @param {MarketingType} [marketingType]
|
|
20717
|
+
* @param {string} [languageCode]
|
|
20718
|
+
* @param {boolean} [showHidden]
|
|
20719
|
+
* @param {boolean} [returnDefaultValue]
|
|
20720
|
+
* @param {boolean} [includeServices]
|
|
20721
|
+
* @param {number} [page]
|
|
20722
|
+
* @param {number} [limit]
|
|
20723
|
+
* @param {Date} [lastRetrieved]
|
|
20724
|
+
* @param {*} [options] Override http request option.
|
|
20725
|
+
* @throws {RequiredError}
|
|
20726
|
+
*/
|
|
20727
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
20728
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20729
|
+
var localVarAxiosArgs;
|
|
20730
|
+
return __generator(this, function (_a) {
|
|
20731
|
+
switch (_a.label) {
|
|
20732
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
|
|
20733
|
+
case 1:
|
|
20734
|
+
localVarAxiosArgs = _a.sent();
|
|
20735
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
20736
|
+
}
|
|
20737
|
+
});
|
|
20738
|
+
});
|
|
20739
|
+
},
|
|
20260
20740
|
/**
|
|
20261
20741
|
*
|
|
20262
20742
|
* @summary Delete HospitalSpecialty.
|
|
@@ -21048,6 +21528,30 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21048
21528
|
apiV1HospitalsHospitalIdSpecialtiesPost: function (hospitalId, createHospitalSpecialtyCommand, options) {
|
|
21049
21529
|
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
|
|
21050
21530
|
},
|
|
21531
|
+
/**
|
|
21532
|
+
*
|
|
21533
|
+
* @summary Get all HospitalSpecialties.
|
|
21534
|
+
* @param {string} hospitalId
|
|
21535
|
+
* @param {string} [hospitalName]
|
|
21536
|
+
* @param {string} [hospitalSlug]
|
|
21537
|
+
* @param {string} [specialtyId]
|
|
21538
|
+
* @param {string} [specialtyName]
|
|
21539
|
+
* @param {string} [specialtyTypeId]
|
|
21540
|
+
* @param {string} [title]
|
|
21541
|
+
* @param {MarketingType} [marketingType]
|
|
21542
|
+
* @param {string} [languageCode]
|
|
21543
|
+
* @param {boolean} [showHidden]
|
|
21544
|
+
* @param {boolean} [returnDefaultValue]
|
|
21545
|
+
* @param {boolean} [includeServices]
|
|
21546
|
+
* @param {number} [page]
|
|
21547
|
+
* @param {number} [limit]
|
|
21548
|
+
* @param {Date} [lastRetrieved]
|
|
21549
|
+
* @param {*} [options] Override http request option.
|
|
21550
|
+
* @throws {RequiredError}
|
|
21551
|
+
*/
|
|
21552
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
21553
|
+
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); });
|
|
21554
|
+
},
|
|
21051
21555
|
/**
|
|
21052
21556
|
*
|
|
21053
21557
|
* @summary Delete HospitalSpecialty.
|
|
@@ -21743,6 +22247,32 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21743
22247
|
var _this = this;
|
|
21744
22248
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21745
22249
|
};
|
|
22250
|
+
/**
|
|
22251
|
+
*
|
|
22252
|
+
* @summary Get all HospitalSpecialties.
|
|
22253
|
+
* @param {string} hospitalId
|
|
22254
|
+
* @param {string} [hospitalName]
|
|
22255
|
+
* @param {string} [hospitalSlug]
|
|
22256
|
+
* @param {string} [specialtyId]
|
|
22257
|
+
* @param {string} [specialtyName]
|
|
22258
|
+
* @param {string} [specialtyTypeId]
|
|
22259
|
+
* @param {string} [title]
|
|
22260
|
+
* @param {MarketingType} [marketingType]
|
|
22261
|
+
* @param {string} [languageCode]
|
|
22262
|
+
* @param {boolean} [showHidden]
|
|
22263
|
+
* @param {boolean} [returnDefaultValue]
|
|
22264
|
+
* @param {boolean} [includeServices]
|
|
22265
|
+
* @param {number} [page]
|
|
22266
|
+
* @param {number} [limit]
|
|
22267
|
+
* @param {Date} [lastRetrieved]
|
|
22268
|
+
* @param {*} [options] Override http request option.
|
|
22269
|
+
* @throws {RequiredError}
|
|
22270
|
+
* @memberof HospitalsApi
|
|
22271
|
+
*/
|
|
22272
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
22273
|
+
var _this = this;
|
|
22274
|
+
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); });
|
|
22275
|
+
};
|
|
21746
22276
|
/**
|
|
21747
22277
|
*
|
|
21748
22278
|
* @summary Delete HospitalSpecialty.
|
|
@@ -22180,13 +22710,14 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
22180
22710
|
* @param {string} [name]
|
|
22181
22711
|
* @param {string} [code]
|
|
22182
22712
|
* @param {string} [description]
|
|
22713
|
+
* @param {boolean} [showPublished]
|
|
22183
22714
|
* @param {number} [page]
|
|
22184
22715
|
* @param {number} [limit]
|
|
22185
22716
|
* @param {Date} [lastRetrieved]
|
|
22186
22717
|
* @param {*} [options] Override http request option.
|
|
22187
22718
|
* @throws {RequiredError}
|
|
22188
22719
|
*/
|
|
22189
|
-
apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
|
|
22720
|
+
apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
22190
22721
|
if (options === void 0) { options = {}; }
|
|
22191
22722
|
return __awaiter(_this, void 0, void 0, function () {
|
|
22192
22723
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -22220,6 +22751,9 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
22220
22751
|
if (description !== undefined) {
|
|
22221
22752
|
localVarQueryParameter['Description'] = description;
|
|
22222
22753
|
}
|
|
22754
|
+
if (showPublished !== undefined) {
|
|
22755
|
+
localVarQueryParameter['ShowPublished'] = showPublished;
|
|
22756
|
+
}
|
|
22223
22757
|
if (page !== undefined) {
|
|
22224
22758
|
localVarQueryParameter['page'] = page;
|
|
22225
22759
|
}
|
|
@@ -22449,18 +22983,19 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
22449
22983
|
* @param {string} [name]
|
|
22450
22984
|
* @param {string} [code]
|
|
22451
22985
|
* @param {string} [description]
|
|
22986
|
+
* @param {boolean} [showPublished]
|
|
22452
22987
|
* @param {number} [page]
|
|
22453
22988
|
* @param {number} [limit]
|
|
22454
22989
|
* @param {Date} [lastRetrieved]
|
|
22455
22990
|
* @param {*} [options] Override http request option.
|
|
22456
22991
|
* @throws {RequiredError}
|
|
22457
22992
|
*/
|
|
22458
|
-
apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
|
|
22993
|
+
apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
22459
22994
|
return __awaiter(this, void 0, void 0, function () {
|
|
22460
22995
|
var localVarAxiosArgs;
|
|
22461
22996
|
return __generator(this, function (_a) {
|
|
22462
22997
|
switch (_a.label) {
|
|
22463
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options)];
|
|
22998
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options)];
|
|
22464
22999
|
case 1:
|
|
22465
23000
|
localVarAxiosArgs = _a.sent();
|
|
22466
23001
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -22572,14 +23107,15 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
|
|
|
22572
23107
|
* @param {string} [name]
|
|
22573
23108
|
* @param {string} [code]
|
|
22574
23109
|
* @param {string} [description]
|
|
23110
|
+
* @param {boolean} [showPublished]
|
|
22575
23111
|
* @param {number} [page]
|
|
22576
23112
|
* @param {number} [limit]
|
|
22577
23113
|
* @param {Date} [lastRetrieved]
|
|
22578
23114
|
* @param {*} [options] Override http request option.
|
|
22579
23115
|
* @throws {RequiredError}
|
|
22580
23116
|
*/
|
|
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); });
|
|
23117
|
+
apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
23118
|
+
return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
22583
23119
|
},
|
|
22584
23120
|
/**
|
|
22585
23121
|
*
|
|
@@ -22651,6 +23187,7 @@ var LanguagesApi = /** @class */ (function (_super) {
|
|
|
22651
23187
|
* @param {string} [name]
|
|
22652
23188
|
* @param {string} [code]
|
|
22653
23189
|
* @param {string} [description]
|
|
23190
|
+
* @param {boolean} [showPublished]
|
|
22654
23191
|
* @param {number} [page]
|
|
22655
23192
|
* @param {number} [limit]
|
|
22656
23193
|
* @param {Date} [lastRetrieved]
|
|
@@ -22658,9 +23195,9 @@ var LanguagesApi = /** @class */ (function (_super) {
|
|
|
22658
23195
|
* @throws {RequiredError}
|
|
22659
23196
|
* @memberof LanguagesApi
|
|
22660
23197
|
*/
|
|
22661
|
-
LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, page, limit, lastRetrieved, options) {
|
|
23198
|
+
LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
|
|
22662
23199
|
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); });
|
|
23200
|
+
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
23201
|
};
|
|
22665
23202
|
/**
|
|
22666
23203
|
*
|