ch-admin-api-client-typescript 2.6.5 → 2.6.9
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 +847 -52
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1362 -94
- package/package.json +1 -1
- package/src/api.ts +1542 -169
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.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.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.ServiceReviewApi = exports.ServiceReviewApiFactory = exports.ServiceReviewApiFp = exports.ServiceReviewApiAxiosParamCreator = 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;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -181,6 +181,9 @@ var MediaType;
|
|
|
181
181
|
MediaType["Video"] = "Video";
|
|
182
182
|
MediaType["Youtube"] = "Youtube";
|
|
183
183
|
MediaType["Document"] = "Document";
|
|
184
|
+
MediaType["Frontal"] = "Frontal";
|
|
185
|
+
MediaType["Diagonal"] = "Diagonal";
|
|
186
|
+
MediaType["Side"] = "Side";
|
|
184
187
|
})(MediaType = exports.MediaType || (exports.MediaType = {}));
|
|
185
188
|
/**
|
|
186
189
|
*
|
|
@@ -254,6 +257,17 @@ var RejectReason;
|
|
|
254
257
|
RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
|
|
255
258
|
RejectReason["OtherReason"] = "OtherReason";
|
|
256
259
|
})(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @export
|
|
263
|
+
* @enum {string}
|
|
264
|
+
*/
|
|
265
|
+
var ReviewType;
|
|
266
|
+
(function (ReviewType) {
|
|
267
|
+
ReviewType["Photo"] = "Photo";
|
|
268
|
+
ReviewType["SurgeryReview"] = "SurgeryReview";
|
|
269
|
+
ReviewType["RealStory"] = "RealStory";
|
|
270
|
+
})(ReviewType = exports.ReviewType || (exports.ReviewType = {}));
|
|
257
271
|
/**
|
|
258
272
|
*
|
|
259
273
|
* @export
|
|
@@ -21964,24 +21978,66 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
21964
21978
|
});
|
|
21965
21979
|
});
|
|
21966
21980
|
},
|
|
21981
|
+
/**
|
|
21982
|
+
*
|
|
21983
|
+
* @param {string} languageId
|
|
21984
|
+
* @param {*} [options] Override http request option.
|
|
21985
|
+
* @throws {RequiredError}
|
|
21986
|
+
*/
|
|
21987
|
+
apiV1LanguagesLanguageIdDelete: function (languageId, options) {
|
|
21988
|
+
if (options === void 0) { options = {}; }
|
|
21989
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21990
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21991
|
+
return __generator(this, function (_a) {
|
|
21992
|
+
switch (_a.label) {
|
|
21993
|
+
case 0:
|
|
21994
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
21995
|
+
common_1.assertParamExists('apiV1LanguagesLanguageIdDelete', 'languageId', languageId);
|
|
21996
|
+
localVarPath = "/api/v1/languages/{languageId}"
|
|
21997
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
21998
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21999
|
+
if (configuration) {
|
|
22000
|
+
baseOptions = configuration.baseOptions;
|
|
22001
|
+
}
|
|
22002
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
22003
|
+
localVarHeaderParameter = {};
|
|
22004
|
+
localVarQueryParameter = {};
|
|
22005
|
+
// authentication oauth2 required
|
|
22006
|
+
// oauth required
|
|
22007
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22008
|
+
case 1:
|
|
22009
|
+
// authentication oauth2 required
|
|
22010
|
+
// oauth required
|
|
22011
|
+
_a.sent();
|
|
22012
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22013
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22014
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22015
|
+
return [2 /*return*/, {
|
|
22016
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22017
|
+
options: localVarRequestOptions,
|
|
22018
|
+
}];
|
|
22019
|
+
}
|
|
22020
|
+
});
|
|
22021
|
+
});
|
|
22022
|
+
},
|
|
21967
22023
|
/**
|
|
21968
22024
|
*
|
|
21969
22025
|
* @summary Get Language.
|
|
21970
|
-
* @param {string}
|
|
22026
|
+
* @param {string} languageId
|
|
21971
22027
|
* @param {*} [options] Override http request option.
|
|
21972
22028
|
* @throws {RequiredError}
|
|
21973
22029
|
*/
|
|
21974
|
-
|
|
22030
|
+
apiV1LanguagesLanguageIdGet: function (languageId, options) {
|
|
21975
22031
|
if (options === void 0) { options = {}; }
|
|
21976
22032
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21977
22033
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21978
22034
|
return __generator(this, function (_a) {
|
|
21979
22035
|
switch (_a.label) {
|
|
21980
22036
|
case 0:
|
|
21981
|
-
// verify required parameter '
|
|
21982
|
-
common_1.assertParamExists('
|
|
21983
|
-
localVarPath = "/api/v1/languages/{
|
|
21984
|
-
.replace("{" + "
|
|
22037
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
22038
|
+
common_1.assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId);
|
|
22039
|
+
localVarPath = "/api/v1/languages/{languageId}"
|
|
22040
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
21985
22041
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21986
22042
|
if (configuration) {
|
|
21987
22043
|
baseOptions = configuration.baseOptions;
|
|
@@ -22007,6 +22063,92 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
|
|
|
22007
22063
|
});
|
|
22008
22064
|
});
|
|
22009
22065
|
},
|
|
22066
|
+
/**
|
|
22067
|
+
*
|
|
22068
|
+
* @param {string} languageId
|
|
22069
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
22070
|
+
* @param {*} [options] Override http request option.
|
|
22071
|
+
* @throws {RequiredError}
|
|
22072
|
+
*/
|
|
22073
|
+
apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
|
|
22074
|
+
if (options === void 0) { options = {}; }
|
|
22075
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22076
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22077
|
+
return __generator(this, function (_a) {
|
|
22078
|
+
switch (_a.label) {
|
|
22079
|
+
case 0:
|
|
22080
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
22081
|
+
common_1.assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId);
|
|
22082
|
+
localVarPath = "/api/v1/languages/{languageId}"
|
|
22083
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
22084
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22085
|
+
if (configuration) {
|
|
22086
|
+
baseOptions = configuration.baseOptions;
|
|
22087
|
+
}
|
|
22088
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
22089
|
+
localVarHeaderParameter = {};
|
|
22090
|
+
localVarQueryParameter = {};
|
|
22091
|
+
// authentication oauth2 required
|
|
22092
|
+
// oauth required
|
|
22093
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22094
|
+
case 1:
|
|
22095
|
+
// authentication oauth2 required
|
|
22096
|
+
// oauth required
|
|
22097
|
+
_a.sent();
|
|
22098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22099
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22100
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22101
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22102
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration);
|
|
22103
|
+
return [2 /*return*/, {
|
|
22104
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22105
|
+
options: localVarRequestOptions,
|
|
22106
|
+
}];
|
|
22107
|
+
}
|
|
22108
|
+
});
|
|
22109
|
+
});
|
|
22110
|
+
},
|
|
22111
|
+
/**
|
|
22112
|
+
*
|
|
22113
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
22114
|
+
* @param {*} [options] Override http request option.
|
|
22115
|
+
* @throws {RequiredError}
|
|
22116
|
+
*/
|
|
22117
|
+
apiV1LanguagesPost: function (createLanguageCommand, options) {
|
|
22118
|
+
if (options === void 0) { options = {}; }
|
|
22119
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22120
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22121
|
+
return __generator(this, function (_a) {
|
|
22122
|
+
switch (_a.label) {
|
|
22123
|
+
case 0:
|
|
22124
|
+
localVarPath = "/api/v1/languages";
|
|
22125
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22126
|
+
if (configuration) {
|
|
22127
|
+
baseOptions = configuration.baseOptions;
|
|
22128
|
+
}
|
|
22129
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
22130
|
+
localVarHeaderParameter = {};
|
|
22131
|
+
localVarQueryParameter = {};
|
|
22132
|
+
// authentication oauth2 required
|
|
22133
|
+
// oauth required
|
|
22134
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22135
|
+
case 1:
|
|
22136
|
+
// authentication oauth2 required
|
|
22137
|
+
// oauth required
|
|
22138
|
+
_a.sent();
|
|
22139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22140
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22141
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22142
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22143
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createLanguageCommand, localVarRequestOptions, configuration);
|
|
22144
|
+
return [2 /*return*/, {
|
|
22145
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22146
|
+
options: localVarRequestOptions,
|
|
22147
|
+
}];
|
|
22148
|
+
}
|
|
22149
|
+
});
|
|
22150
|
+
});
|
|
22151
|
+
},
|
|
22010
22152
|
};
|
|
22011
22153
|
};
|
|
22012
22154
|
/**
|
|
@@ -22062,19 +22204,77 @@ exports.LanguagesApiFp = function (configuration) {
|
|
|
22062
22204
|
});
|
|
22063
22205
|
});
|
|
22064
22206
|
},
|
|
22207
|
+
/**
|
|
22208
|
+
*
|
|
22209
|
+
* @param {string} languageId
|
|
22210
|
+
* @param {*} [options] Override http request option.
|
|
22211
|
+
* @throws {RequiredError}
|
|
22212
|
+
*/
|
|
22213
|
+
apiV1LanguagesLanguageIdDelete: function (languageId, options) {
|
|
22214
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22215
|
+
var localVarAxiosArgs;
|
|
22216
|
+
return __generator(this, function (_a) {
|
|
22217
|
+
switch (_a.label) {
|
|
22218
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdDelete(languageId, options)];
|
|
22219
|
+
case 1:
|
|
22220
|
+
localVarAxiosArgs = _a.sent();
|
|
22221
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22222
|
+
}
|
|
22223
|
+
});
|
|
22224
|
+
});
|
|
22225
|
+
},
|
|
22065
22226
|
/**
|
|
22066
22227
|
*
|
|
22067
22228
|
* @summary Get Language.
|
|
22068
|
-
* @param {string}
|
|
22229
|
+
* @param {string} languageId
|
|
22230
|
+
* @param {*} [options] Override http request option.
|
|
22231
|
+
* @throws {RequiredError}
|
|
22232
|
+
*/
|
|
22233
|
+
apiV1LanguagesLanguageIdGet: function (languageId, options) {
|
|
22234
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22235
|
+
var localVarAxiosArgs;
|
|
22236
|
+
return __generator(this, function (_a) {
|
|
22237
|
+
switch (_a.label) {
|
|
22238
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdGet(languageId, options)];
|
|
22239
|
+
case 1:
|
|
22240
|
+
localVarAxiosArgs = _a.sent();
|
|
22241
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22242
|
+
}
|
|
22243
|
+
});
|
|
22244
|
+
});
|
|
22245
|
+
},
|
|
22246
|
+
/**
|
|
22247
|
+
*
|
|
22248
|
+
* @param {string} languageId
|
|
22249
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
22250
|
+
* @param {*} [options] Override http request option.
|
|
22251
|
+
* @throws {RequiredError}
|
|
22252
|
+
*/
|
|
22253
|
+
apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
|
|
22254
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22255
|
+
var localVarAxiosArgs;
|
|
22256
|
+
return __generator(this, function (_a) {
|
|
22257
|
+
switch (_a.label) {
|
|
22258
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options)];
|
|
22259
|
+
case 1:
|
|
22260
|
+
localVarAxiosArgs = _a.sent();
|
|
22261
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
22262
|
+
}
|
|
22263
|
+
});
|
|
22264
|
+
});
|
|
22265
|
+
},
|
|
22266
|
+
/**
|
|
22267
|
+
*
|
|
22268
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
22069
22269
|
* @param {*} [options] Override http request option.
|
|
22070
22270
|
* @throws {RequiredError}
|
|
22071
22271
|
*/
|
|
22072
|
-
|
|
22272
|
+
apiV1LanguagesPost: function (createLanguageCommand, options) {
|
|
22073
22273
|
return __awaiter(this, void 0, void 0, function () {
|
|
22074
22274
|
var localVarAxiosArgs;
|
|
22075
22275
|
return __generator(this, function (_a) {
|
|
22076
22276
|
switch (_a.label) {
|
|
22077
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
22277
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesPost(createLanguageCommand, options)];
|
|
22078
22278
|
case 1:
|
|
22079
22279
|
localVarAxiosArgs = _a.sent();
|
|
22080
22280
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -22117,15 +22317,43 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
|
|
|
22117
22317
|
apiV1LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
|
|
22118
22318
|
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
22119
22319
|
},
|
|
22320
|
+
/**
|
|
22321
|
+
*
|
|
22322
|
+
* @param {string} languageId
|
|
22323
|
+
* @param {*} [options] Override http request option.
|
|
22324
|
+
* @throws {RequiredError}
|
|
22325
|
+
*/
|
|
22326
|
+
apiV1LanguagesLanguageIdDelete: function (languageId, options) {
|
|
22327
|
+
return localVarFp.apiV1LanguagesLanguageIdDelete(languageId, options).then(function (request) { return request(axios, basePath); });
|
|
22328
|
+
},
|
|
22120
22329
|
/**
|
|
22121
22330
|
*
|
|
22122
22331
|
* @summary Get Language.
|
|
22123
|
-
* @param {string}
|
|
22332
|
+
* @param {string} languageId
|
|
22333
|
+
* @param {*} [options] Override http request option.
|
|
22334
|
+
* @throws {RequiredError}
|
|
22335
|
+
*/
|
|
22336
|
+
apiV1LanguagesLanguageIdGet: function (languageId, options) {
|
|
22337
|
+
return localVarFp.apiV1LanguagesLanguageIdGet(languageId, options).then(function (request) { return request(axios, basePath); });
|
|
22338
|
+
},
|
|
22339
|
+
/**
|
|
22340
|
+
*
|
|
22341
|
+
* @param {string} languageId
|
|
22342
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
22124
22343
|
* @param {*} [options] Override http request option.
|
|
22125
22344
|
* @throws {RequiredError}
|
|
22126
22345
|
*/
|
|
22127
|
-
|
|
22128
|
-
return localVarFp.
|
|
22346
|
+
apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
|
|
22347
|
+
return localVarFp.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
22348
|
+
},
|
|
22349
|
+
/**
|
|
22350
|
+
*
|
|
22351
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
22352
|
+
* @param {*} [options] Override http request option.
|
|
22353
|
+
* @throws {RequiredError}
|
|
22354
|
+
*/
|
|
22355
|
+
apiV1LanguagesPost: function (createLanguageCommand, options) {
|
|
22356
|
+
return localVarFp.apiV1LanguagesPost(createLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
22129
22357
|
},
|
|
22130
22358
|
};
|
|
22131
22359
|
};
|
|
@@ -22170,17 +22398,51 @@ var LanguagesApi = /** @class */ (function (_super) {
|
|
|
22170
22398
|
var _this = this;
|
|
22171
22399
|
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22172
22400
|
};
|
|
22401
|
+
/**
|
|
22402
|
+
*
|
|
22403
|
+
* @param {string} languageId
|
|
22404
|
+
* @param {*} [options] Override http request option.
|
|
22405
|
+
* @throws {RequiredError}
|
|
22406
|
+
* @memberof LanguagesApi
|
|
22407
|
+
*/
|
|
22408
|
+
LanguagesApi.prototype.apiV1LanguagesLanguageIdDelete = function (languageId, options) {
|
|
22409
|
+
var _this = this;
|
|
22410
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdDelete(languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22411
|
+
};
|
|
22173
22412
|
/**
|
|
22174
22413
|
*
|
|
22175
22414
|
* @summary Get Language.
|
|
22176
|
-
* @param {string}
|
|
22415
|
+
* @param {string} languageId
|
|
22416
|
+
* @param {*} [options] Override http request option.
|
|
22417
|
+
* @throws {RequiredError}
|
|
22418
|
+
* @memberof LanguagesApi
|
|
22419
|
+
*/
|
|
22420
|
+
LanguagesApi.prototype.apiV1LanguagesLanguageIdGet = function (languageId, options) {
|
|
22421
|
+
var _this = this;
|
|
22422
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdGet(languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22423
|
+
};
|
|
22424
|
+
/**
|
|
22425
|
+
*
|
|
22426
|
+
* @param {string} languageId
|
|
22427
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
22428
|
+
* @param {*} [options] Override http request option.
|
|
22429
|
+
* @throws {RequiredError}
|
|
22430
|
+
* @memberof LanguagesApi
|
|
22431
|
+
*/
|
|
22432
|
+
LanguagesApi.prototype.apiV1LanguagesLanguageIdPut = function (languageId, updateLanguageCommand, options) {
|
|
22433
|
+
var _this = this;
|
|
22434
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22435
|
+
};
|
|
22436
|
+
/**
|
|
22437
|
+
*
|
|
22438
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
22177
22439
|
* @param {*} [options] Override http request option.
|
|
22178
22440
|
* @throws {RequiredError}
|
|
22179
22441
|
* @memberof LanguagesApi
|
|
22180
22442
|
*/
|
|
22181
|
-
LanguagesApi.prototype.
|
|
22443
|
+
LanguagesApi.prototype.apiV1LanguagesPost = function (createLanguageCommand, options) {
|
|
22182
22444
|
var _this = this;
|
|
22183
|
-
return exports.LanguagesApiFp(this.configuration).
|
|
22445
|
+
return exports.LanguagesApiFp(this.configuration).apiV1LanguagesPost(createLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22184
22446
|
};
|
|
22185
22447
|
return LanguagesApi;
|
|
22186
22448
|
}(base_1.BaseAPI));
|
|
@@ -25734,45 +25996,36 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
25734
25996
|
}(base_1.BaseAPI));
|
|
25735
25997
|
exports.ProfilesApi = ProfilesApi;
|
|
25736
25998
|
/**
|
|
25737
|
-
*
|
|
25999
|
+
* ServiceReviewApi - axios parameter creator
|
|
25738
26000
|
* @export
|
|
25739
26001
|
*/
|
|
25740
|
-
exports.
|
|
26002
|
+
exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
25741
26003
|
var _this = this;
|
|
25742
26004
|
return {
|
|
25743
26005
|
/**
|
|
25744
26006
|
*
|
|
25745
|
-
* @summary Get all
|
|
25746
|
-
* @param {string} [
|
|
25747
|
-
* @param {string} [
|
|
25748
|
-
* @param {string} [
|
|
25749
|
-
* @param {string} [
|
|
25750
|
-
* @param {
|
|
25751
|
-
* @param {
|
|
25752
|
-
* @param {
|
|
25753
|
-
* @param {string} [specialtyName]
|
|
25754
|
-
* @param {string} [specialtyTypeId]
|
|
25755
|
-
* @param {string} [specialtyTypeName]
|
|
25756
|
-
* @param {string} [serviceCategoryId]
|
|
25757
|
-
* @param {MarketingType} [marketingType]
|
|
25758
|
-
* @param {Procedure} [procedure]
|
|
25759
|
-
* @param {Date} [created]
|
|
25760
|
-
* @param {string} [languageCode]
|
|
25761
|
-
* @param {boolean} [returnDefaultValue]
|
|
26007
|
+
* @summary Get all ServiceReviews.
|
|
26008
|
+
* @param {string} [serviceId]
|
|
26009
|
+
* @param {string} [serviceName]
|
|
26010
|
+
* @param {string} [patientId]
|
|
26011
|
+
* @param {string} [patientName]
|
|
26012
|
+
* @param {boolean} [recommended]
|
|
26013
|
+
* @param {number} [rate]
|
|
26014
|
+
* @param {ReviewType} [reviewType]
|
|
25762
26015
|
* @param {number} [page]
|
|
25763
26016
|
* @param {number} [limit]
|
|
25764
26017
|
* @param {Date} [lastRetrieved]
|
|
25765
26018
|
* @param {*} [options] Override http request option.
|
|
25766
26019
|
* @throws {RequiredError}
|
|
25767
26020
|
*/
|
|
25768
|
-
|
|
26021
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
25769
26022
|
if (options === void 0) { options = {}; }
|
|
25770
26023
|
return __awaiter(_this, void 0, void 0, function () {
|
|
25771
26024
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25772
26025
|
return __generator(this, function (_a) {
|
|
25773
26026
|
switch (_a.label) {
|
|
25774
26027
|
case 0:
|
|
25775
|
-
localVarPath = "/api/v1/
|
|
26028
|
+
localVarPath = "/api/v1/servicereview";
|
|
25776
26029
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25777
26030
|
if (configuration) {
|
|
25778
26031
|
baseOptions = configuration.baseOptions;
|
|
@@ -25787,37 +26040,1073 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25787
26040
|
// authentication oauth2 required
|
|
25788
26041
|
// oauth required
|
|
25789
26042
|
_a.sent();
|
|
25790
|
-
if (
|
|
25791
|
-
localVarQueryParameter['
|
|
25792
|
-
}
|
|
25793
|
-
if (hospitalName !== undefined) {
|
|
25794
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
26043
|
+
if (serviceId !== undefined) {
|
|
26044
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
25795
26045
|
}
|
|
25796
|
-
if (
|
|
25797
|
-
localVarQueryParameter['
|
|
26046
|
+
if (serviceName !== undefined) {
|
|
26047
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
25798
26048
|
}
|
|
25799
|
-
if (
|
|
25800
|
-
localVarQueryParameter['
|
|
26049
|
+
if (patientId !== undefined) {
|
|
26050
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
25801
26051
|
}
|
|
25802
|
-
if (
|
|
25803
|
-
localVarQueryParameter['
|
|
26052
|
+
if (patientName !== undefined) {
|
|
26053
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
25804
26054
|
}
|
|
25805
|
-
if (
|
|
25806
|
-
localVarQueryParameter['
|
|
26055
|
+
if (recommended !== undefined) {
|
|
26056
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
25807
26057
|
}
|
|
25808
|
-
if (
|
|
25809
|
-
localVarQueryParameter['
|
|
26058
|
+
if (rate !== undefined) {
|
|
26059
|
+
localVarQueryParameter['Rate'] = rate;
|
|
25810
26060
|
}
|
|
25811
|
-
if (
|
|
25812
|
-
localVarQueryParameter['
|
|
26061
|
+
if (reviewType !== undefined) {
|
|
26062
|
+
localVarQueryParameter['ReviewType'] = reviewType;
|
|
25813
26063
|
}
|
|
25814
|
-
if (
|
|
25815
|
-
localVarQueryParameter['
|
|
26064
|
+
if (page !== undefined) {
|
|
26065
|
+
localVarQueryParameter['page'] = page;
|
|
25816
26066
|
}
|
|
25817
|
-
if (
|
|
25818
|
-
localVarQueryParameter['
|
|
26067
|
+
if (limit !== undefined) {
|
|
26068
|
+
localVarQueryParameter['limit'] = limit;
|
|
25819
26069
|
}
|
|
25820
|
-
if (
|
|
26070
|
+
if (lastRetrieved !== undefined) {
|
|
26071
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26072
|
+
lastRetrieved.toISOString() :
|
|
26073
|
+
lastRetrieved;
|
|
26074
|
+
}
|
|
26075
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26076
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26077
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26078
|
+
return [2 /*return*/, {
|
|
26079
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26080
|
+
options: localVarRequestOptions,
|
|
26081
|
+
}];
|
|
26082
|
+
}
|
|
26083
|
+
});
|
|
26084
|
+
});
|
|
26085
|
+
},
|
|
26086
|
+
/**
|
|
26087
|
+
*
|
|
26088
|
+
* @summary Create a ServiceReview.
|
|
26089
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26090
|
+
* @param {*} [options] Override http request option.
|
|
26091
|
+
* @throws {RequiredError}
|
|
26092
|
+
*/
|
|
26093
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
26094
|
+
if (options === void 0) { options = {}; }
|
|
26095
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26096
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26097
|
+
return __generator(this, function (_a) {
|
|
26098
|
+
switch (_a.label) {
|
|
26099
|
+
case 0:
|
|
26100
|
+
localVarPath = "/api/v1/servicereview";
|
|
26101
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26102
|
+
if (configuration) {
|
|
26103
|
+
baseOptions = configuration.baseOptions;
|
|
26104
|
+
}
|
|
26105
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26106
|
+
localVarHeaderParameter = {};
|
|
26107
|
+
localVarQueryParameter = {};
|
|
26108
|
+
// authentication oauth2 required
|
|
26109
|
+
// oauth required
|
|
26110
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26111
|
+
case 1:
|
|
26112
|
+
// authentication oauth2 required
|
|
26113
|
+
// oauth required
|
|
26114
|
+
_a.sent();
|
|
26115
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26116
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26117
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26118
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26119
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration);
|
|
26120
|
+
return [2 /*return*/, {
|
|
26121
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26122
|
+
options: localVarRequestOptions,
|
|
26123
|
+
}];
|
|
26124
|
+
}
|
|
26125
|
+
});
|
|
26126
|
+
});
|
|
26127
|
+
},
|
|
26128
|
+
/**
|
|
26129
|
+
*
|
|
26130
|
+
* @summary Delete ServiceReview.
|
|
26131
|
+
* @param {string} serviceReviewId
|
|
26132
|
+
* @param {*} [options] Override http request option.
|
|
26133
|
+
* @throws {RequiredError}
|
|
26134
|
+
*/
|
|
26135
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26136
|
+
if (options === void 0) { options = {}; }
|
|
26137
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26138
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26139
|
+
return __generator(this, function (_a) {
|
|
26140
|
+
switch (_a.label) {
|
|
26141
|
+
case 0:
|
|
26142
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26143
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26144
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
26145
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26146
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26147
|
+
if (configuration) {
|
|
26148
|
+
baseOptions = configuration.baseOptions;
|
|
26149
|
+
}
|
|
26150
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
26151
|
+
localVarHeaderParameter = {};
|
|
26152
|
+
localVarQueryParameter = {};
|
|
26153
|
+
// authentication oauth2 required
|
|
26154
|
+
// oauth required
|
|
26155
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26156
|
+
case 1:
|
|
26157
|
+
// authentication oauth2 required
|
|
26158
|
+
// oauth required
|
|
26159
|
+
_a.sent();
|
|
26160
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26161
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26162
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26163
|
+
return [2 /*return*/, {
|
|
26164
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26165
|
+
options: localVarRequestOptions,
|
|
26166
|
+
}];
|
|
26167
|
+
}
|
|
26168
|
+
});
|
|
26169
|
+
});
|
|
26170
|
+
},
|
|
26171
|
+
/**
|
|
26172
|
+
*
|
|
26173
|
+
* @param {string} serviceReviewId
|
|
26174
|
+
* @param {*} [options] Override http request option.
|
|
26175
|
+
* @throws {RequiredError}
|
|
26176
|
+
*/
|
|
26177
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26178
|
+
if (options === void 0) { options = {}; }
|
|
26179
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26180
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26181
|
+
return __generator(this, function (_a) {
|
|
26182
|
+
switch (_a.label) {
|
|
26183
|
+
case 0:
|
|
26184
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26185
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
26186
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
26187
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26188
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26189
|
+
if (configuration) {
|
|
26190
|
+
baseOptions = configuration.baseOptions;
|
|
26191
|
+
}
|
|
26192
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26193
|
+
localVarHeaderParameter = {};
|
|
26194
|
+
localVarQueryParameter = {};
|
|
26195
|
+
// authentication oauth2 required
|
|
26196
|
+
// oauth required
|
|
26197
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26198
|
+
case 1:
|
|
26199
|
+
// authentication oauth2 required
|
|
26200
|
+
// oauth required
|
|
26201
|
+
_a.sent();
|
|
26202
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26203
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26204
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26205
|
+
return [2 /*return*/, {
|
|
26206
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26207
|
+
options: localVarRequestOptions,
|
|
26208
|
+
}];
|
|
26209
|
+
}
|
|
26210
|
+
});
|
|
26211
|
+
});
|
|
26212
|
+
},
|
|
26213
|
+
/**
|
|
26214
|
+
*
|
|
26215
|
+
* @summary Get all ServiceReviewMedias.
|
|
26216
|
+
* @param {string} serviceReviewId
|
|
26217
|
+
* @param {string} [id]
|
|
26218
|
+
* @param {MediaType} [mediaType]
|
|
26219
|
+
* @param {number} [page]
|
|
26220
|
+
* @param {number} [limit]
|
|
26221
|
+
* @param {Date} [lastRetrieved]
|
|
26222
|
+
* @param {*} [options] Override http request option.
|
|
26223
|
+
* @throws {RequiredError}
|
|
26224
|
+
*/
|
|
26225
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26226
|
+
if (options === void 0) { options = {}; }
|
|
26227
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26228
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26229
|
+
return __generator(this, function (_a) {
|
|
26230
|
+
switch (_a.label) {
|
|
26231
|
+
case 0:
|
|
26232
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26233
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
26234
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias"
|
|
26235
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26236
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26237
|
+
if (configuration) {
|
|
26238
|
+
baseOptions = configuration.baseOptions;
|
|
26239
|
+
}
|
|
26240
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26241
|
+
localVarHeaderParameter = {};
|
|
26242
|
+
localVarQueryParameter = {};
|
|
26243
|
+
// authentication oauth2 required
|
|
26244
|
+
// oauth required
|
|
26245
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26246
|
+
case 1:
|
|
26247
|
+
// authentication oauth2 required
|
|
26248
|
+
// oauth required
|
|
26249
|
+
_a.sent();
|
|
26250
|
+
if (id !== undefined) {
|
|
26251
|
+
localVarQueryParameter['Id'] = id;
|
|
26252
|
+
}
|
|
26253
|
+
if (mediaType !== undefined) {
|
|
26254
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
26255
|
+
}
|
|
26256
|
+
if (page !== undefined) {
|
|
26257
|
+
localVarQueryParameter['page'] = page;
|
|
26258
|
+
}
|
|
26259
|
+
if (limit !== undefined) {
|
|
26260
|
+
localVarQueryParameter['limit'] = limit;
|
|
26261
|
+
}
|
|
26262
|
+
if (lastRetrieved !== undefined) {
|
|
26263
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26264
|
+
lastRetrieved.toISOString() :
|
|
26265
|
+
lastRetrieved;
|
|
26266
|
+
}
|
|
26267
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26268
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26269
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26270
|
+
return [2 /*return*/, {
|
|
26271
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26272
|
+
options: localVarRequestOptions,
|
|
26273
|
+
}];
|
|
26274
|
+
}
|
|
26275
|
+
});
|
|
26276
|
+
});
|
|
26277
|
+
},
|
|
26278
|
+
/**
|
|
26279
|
+
*
|
|
26280
|
+
* @summary Delete ServiceReviewMedia
|
|
26281
|
+
* @param {string} serviceReviewId
|
|
26282
|
+
* @param {string} mediaId
|
|
26283
|
+
* @param {*} [options] Override http request option.
|
|
26284
|
+
* @throws {RequiredError}
|
|
26285
|
+
*/
|
|
26286
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26287
|
+
if (options === void 0) { options = {}; }
|
|
26288
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26289
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26290
|
+
return __generator(this, function (_a) {
|
|
26291
|
+
switch (_a.label) {
|
|
26292
|
+
case 0:
|
|
26293
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26294
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26295
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26296
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
26297
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26298
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26299
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26300
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26301
|
+
if (configuration) {
|
|
26302
|
+
baseOptions = configuration.baseOptions;
|
|
26303
|
+
}
|
|
26304
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
26305
|
+
localVarHeaderParameter = {};
|
|
26306
|
+
localVarQueryParameter = {};
|
|
26307
|
+
// authentication oauth2 required
|
|
26308
|
+
// oauth required
|
|
26309
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26310
|
+
case 1:
|
|
26311
|
+
// authentication oauth2 required
|
|
26312
|
+
// oauth required
|
|
26313
|
+
_a.sent();
|
|
26314
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26315
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26316
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26317
|
+
return [2 /*return*/, {
|
|
26318
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26319
|
+
options: localVarRequestOptions,
|
|
26320
|
+
}];
|
|
26321
|
+
}
|
|
26322
|
+
});
|
|
26323
|
+
});
|
|
26324
|
+
},
|
|
26325
|
+
/**
|
|
26326
|
+
*
|
|
26327
|
+
* @summary Get ServiceReviewMedia.
|
|
26328
|
+
* @param {string} serviceReviewId
|
|
26329
|
+
* @param {string} mediaId
|
|
26330
|
+
* @param {*} [options] Override http request option.
|
|
26331
|
+
* @throws {RequiredError}
|
|
26332
|
+
*/
|
|
26333
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26334
|
+
if (options === void 0) { options = {}; }
|
|
26335
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26336
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26337
|
+
return __generator(this, function (_a) {
|
|
26338
|
+
switch (_a.label) {
|
|
26339
|
+
case 0:
|
|
26340
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26341
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
26342
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26343
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
26344
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26345
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26346
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26347
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26348
|
+
if (configuration) {
|
|
26349
|
+
baseOptions = configuration.baseOptions;
|
|
26350
|
+
}
|
|
26351
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26352
|
+
localVarHeaderParameter = {};
|
|
26353
|
+
localVarQueryParameter = {};
|
|
26354
|
+
// authentication oauth2 required
|
|
26355
|
+
// oauth required
|
|
26356
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26357
|
+
case 1:
|
|
26358
|
+
// authentication oauth2 required
|
|
26359
|
+
// oauth required
|
|
26360
|
+
_a.sent();
|
|
26361
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26362
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26363
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26364
|
+
return [2 /*return*/, {
|
|
26365
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26366
|
+
options: localVarRequestOptions,
|
|
26367
|
+
}];
|
|
26368
|
+
}
|
|
26369
|
+
});
|
|
26370
|
+
});
|
|
26371
|
+
},
|
|
26372
|
+
/**
|
|
26373
|
+
*
|
|
26374
|
+
* @summary Update ServiceReviewMedia.
|
|
26375
|
+
* @param {string} serviceReviewId
|
|
26376
|
+
* @param {string} mediaId
|
|
26377
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26378
|
+
* @param {*} [options] Override http request option.
|
|
26379
|
+
* @throws {RequiredError}
|
|
26380
|
+
*/
|
|
26381
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26382
|
+
if (options === void 0) { options = {}; }
|
|
26383
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26384
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26385
|
+
return __generator(this, function (_a) {
|
|
26386
|
+
switch (_a.label) {
|
|
26387
|
+
case 0:
|
|
26388
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26389
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId);
|
|
26390
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26391
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
26392
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26393
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26394
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26395
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26396
|
+
if (configuration) {
|
|
26397
|
+
baseOptions = configuration.baseOptions;
|
|
26398
|
+
}
|
|
26399
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
26400
|
+
localVarHeaderParameter = {};
|
|
26401
|
+
localVarQueryParameter = {};
|
|
26402
|
+
// authentication oauth2 required
|
|
26403
|
+
// oauth required
|
|
26404
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26405
|
+
case 1:
|
|
26406
|
+
// authentication oauth2 required
|
|
26407
|
+
// oauth required
|
|
26408
|
+
_a.sent();
|
|
26409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26410
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26411
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26412
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26413
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
26414
|
+
return [2 /*return*/, {
|
|
26415
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26416
|
+
options: localVarRequestOptions,
|
|
26417
|
+
}];
|
|
26418
|
+
}
|
|
26419
|
+
});
|
|
26420
|
+
});
|
|
26421
|
+
},
|
|
26422
|
+
/**
|
|
26423
|
+
*
|
|
26424
|
+
* @summary Create ServiceReviewMedia.
|
|
26425
|
+
* @param {string} serviceReviewId
|
|
26426
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26427
|
+
* @param {*} [options] Override http request option.
|
|
26428
|
+
* @throws {RequiredError}
|
|
26429
|
+
*/
|
|
26430
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26431
|
+
if (options === void 0) { options = {}; }
|
|
26432
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26433
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26434
|
+
return __generator(this, function (_a) {
|
|
26435
|
+
switch (_a.label) {
|
|
26436
|
+
case 0:
|
|
26437
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26438
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId);
|
|
26439
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias"
|
|
26440
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26441
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26442
|
+
if (configuration) {
|
|
26443
|
+
baseOptions = configuration.baseOptions;
|
|
26444
|
+
}
|
|
26445
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26446
|
+
localVarHeaderParameter = {};
|
|
26447
|
+
localVarQueryParameter = {};
|
|
26448
|
+
// authentication oauth2 required
|
|
26449
|
+
// oauth required
|
|
26450
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26451
|
+
case 1:
|
|
26452
|
+
// authentication oauth2 required
|
|
26453
|
+
// oauth required
|
|
26454
|
+
_a.sent();
|
|
26455
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26456
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26457
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26458
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26459
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
26460
|
+
return [2 /*return*/, {
|
|
26461
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26462
|
+
options: localVarRequestOptions,
|
|
26463
|
+
}];
|
|
26464
|
+
}
|
|
26465
|
+
});
|
|
26466
|
+
});
|
|
26467
|
+
},
|
|
26468
|
+
/**
|
|
26469
|
+
*
|
|
26470
|
+
* @summary Update ServiceReview.
|
|
26471
|
+
* @param {string} serviceReviewId
|
|
26472
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26473
|
+
* @param {*} [options] Override http request option.
|
|
26474
|
+
* @throws {RequiredError}
|
|
26475
|
+
*/
|
|
26476
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26477
|
+
if (options === void 0) { options = {}; }
|
|
26478
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26479
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26480
|
+
return __generator(this, function (_a) {
|
|
26481
|
+
switch (_a.label) {
|
|
26482
|
+
case 0:
|
|
26483
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26484
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdPut', 'serviceReviewId', serviceReviewId);
|
|
26485
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
26486
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26487
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26488
|
+
if (configuration) {
|
|
26489
|
+
baseOptions = configuration.baseOptions;
|
|
26490
|
+
}
|
|
26491
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
26492
|
+
localVarHeaderParameter = {};
|
|
26493
|
+
localVarQueryParameter = {};
|
|
26494
|
+
// authentication oauth2 required
|
|
26495
|
+
// oauth required
|
|
26496
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26497
|
+
case 1:
|
|
26498
|
+
// authentication oauth2 required
|
|
26499
|
+
// oauth required
|
|
26500
|
+
_a.sent();
|
|
26501
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26502
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26503
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26504
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26505
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateServiceReviewCommand, localVarRequestOptions, configuration);
|
|
26506
|
+
return [2 /*return*/, {
|
|
26507
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26508
|
+
options: localVarRequestOptions,
|
|
26509
|
+
}];
|
|
26510
|
+
}
|
|
26511
|
+
});
|
|
26512
|
+
});
|
|
26513
|
+
},
|
|
26514
|
+
};
|
|
26515
|
+
};
|
|
26516
|
+
/**
|
|
26517
|
+
* ServiceReviewApi - functional programming interface
|
|
26518
|
+
* @export
|
|
26519
|
+
*/
|
|
26520
|
+
exports.ServiceReviewApiFp = function (configuration) {
|
|
26521
|
+
var localVarAxiosParamCreator = exports.ServiceReviewApiAxiosParamCreator(configuration);
|
|
26522
|
+
return {
|
|
26523
|
+
/**
|
|
26524
|
+
*
|
|
26525
|
+
* @summary Get all ServiceReviews.
|
|
26526
|
+
* @param {string} [serviceId]
|
|
26527
|
+
* @param {string} [serviceName]
|
|
26528
|
+
* @param {string} [patientId]
|
|
26529
|
+
* @param {string} [patientName]
|
|
26530
|
+
* @param {boolean} [recommended]
|
|
26531
|
+
* @param {number} [rate]
|
|
26532
|
+
* @param {ReviewType} [reviewType]
|
|
26533
|
+
* @param {number} [page]
|
|
26534
|
+
* @param {number} [limit]
|
|
26535
|
+
* @param {Date} [lastRetrieved]
|
|
26536
|
+
* @param {*} [options] Override http request option.
|
|
26537
|
+
* @throws {RequiredError}
|
|
26538
|
+
*/
|
|
26539
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26540
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26541
|
+
var localVarAxiosArgs;
|
|
26542
|
+
return __generator(this, function (_a) {
|
|
26543
|
+
switch (_a.label) {
|
|
26544
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
26545
|
+
case 1:
|
|
26546
|
+
localVarAxiosArgs = _a.sent();
|
|
26547
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26548
|
+
}
|
|
26549
|
+
});
|
|
26550
|
+
});
|
|
26551
|
+
},
|
|
26552
|
+
/**
|
|
26553
|
+
*
|
|
26554
|
+
* @summary Create a ServiceReview.
|
|
26555
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26556
|
+
* @param {*} [options] Override http request option.
|
|
26557
|
+
* @throws {RequiredError}
|
|
26558
|
+
*/
|
|
26559
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
26560
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26561
|
+
var localVarAxiosArgs;
|
|
26562
|
+
return __generator(this, function (_a) {
|
|
26563
|
+
switch (_a.label) {
|
|
26564
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewPost(createServiceReviewCommand, options)];
|
|
26565
|
+
case 1:
|
|
26566
|
+
localVarAxiosArgs = _a.sent();
|
|
26567
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26568
|
+
}
|
|
26569
|
+
});
|
|
26570
|
+
});
|
|
26571
|
+
},
|
|
26572
|
+
/**
|
|
26573
|
+
*
|
|
26574
|
+
* @summary Delete ServiceReview.
|
|
26575
|
+
* @param {string} serviceReviewId
|
|
26576
|
+
* @param {*} [options] Override http request option.
|
|
26577
|
+
* @throws {RequiredError}
|
|
26578
|
+
*/
|
|
26579
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26580
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26581
|
+
var localVarAxiosArgs;
|
|
26582
|
+
return __generator(this, function (_a) {
|
|
26583
|
+
switch (_a.label) {
|
|
26584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options)];
|
|
26585
|
+
case 1:
|
|
26586
|
+
localVarAxiosArgs = _a.sent();
|
|
26587
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26588
|
+
}
|
|
26589
|
+
});
|
|
26590
|
+
});
|
|
26591
|
+
},
|
|
26592
|
+
/**
|
|
26593
|
+
*
|
|
26594
|
+
* @param {string} serviceReviewId
|
|
26595
|
+
* @param {*} [options] Override http request option.
|
|
26596
|
+
* @throws {RequiredError}
|
|
26597
|
+
*/
|
|
26598
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26599
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26600
|
+
var localVarAxiosArgs;
|
|
26601
|
+
return __generator(this, function (_a) {
|
|
26602
|
+
switch (_a.label) {
|
|
26603
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options)];
|
|
26604
|
+
case 1:
|
|
26605
|
+
localVarAxiosArgs = _a.sent();
|
|
26606
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26607
|
+
}
|
|
26608
|
+
});
|
|
26609
|
+
});
|
|
26610
|
+
},
|
|
26611
|
+
/**
|
|
26612
|
+
*
|
|
26613
|
+
* @summary Get all ServiceReviewMedias.
|
|
26614
|
+
* @param {string} serviceReviewId
|
|
26615
|
+
* @param {string} [id]
|
|
26616
|
+
* @param {MediaType} [mediaType]
|
|
26617
|
+
* @param {number} [page]
|
|
26618
|
+
* @param {number} [limit]
|
|
26619
|
+
* @param {Date} [lastRetrieved]
|
|
26620
|
+
* @param {*} [options] Override http request option.
|
|
26621
|
+
* @throws {RequiredError}
|
|
26622
|
+
*/
|
|
26623
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26624
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26625
|
+
var localVarAxiosArgs;
|
|
26626
|
+
return __generator(this, function (_a) {
|
|
26627
|
+
switch (_a.label) {
|
|
26628
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
26629
|
+
case 1:
|
|
26630
|
+
localVarAxiosArgs = _a.sent();
|
|
26631
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26632
|
+
}
|
|
26633
|
+
});
|
|
26634
|
+
});
|
|
26635
|
+
},
|
|
26636
|
+
/**
|
|
26637
|
+
*
|
|
26638
|
+
* @summary Delete ServiceReviewMedia
|
|
26639
|
+
* @param {string} serviceReviewId
|
|
26640
|
+
* @param {string} mediaId
|
|
26641
|
+
* @param {*} [options] Override http request option.
|
|
26642
|
+
* @throws {RequiredError}
|
|
26643
|
+
*/
|
|
26644
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26645
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26646
|
+
var localVarAxiosArgs;
|
|
26647
|
+
return __generator(this, function (_a) {
|
|
26648
|
+
switch (_a.label) {
|
|
26649
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options)];
|
|
26650
|
+
case 1:
|
|
26651
|
+
localVarAxiosArgs = _a.sent();
|
|
26652
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26653
|
+
}
|
|
26654
|
+
});
|
|
26655
|
+
});
|
|
26656
|
+
},
|
|
26657
|
+
/**
|
|
26658
|
+
*
|
|
26659
|
+
* @summary Get ServiceReviewMedia.
|
|
26660
|
+
* @param {string} serviceReviewId
|
|
26661
|
+
* @param {string} mediaId
|
|
26662
|
+
* @param {*} [options] Override http request option.
|
|
26663
|
+
* @throws {RequiredError}
|
|
26664
|
+
*/
|
|
26665
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26666
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26667
|
+
var localVarAxiosArgs;
|
|
26668
|
+
return __generator(this, function (_a) {
|
|
26669
|
+
switch (_a.label) {
|
|
26670
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options)];
|
|
26671
|
+
case 1:
|
|
26672
|
+
localVarAxiosArgs = _a.sent();
|
|
26673
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26674
|
+
}
|
|
26675
|
+
});
|
|
26676
|
+
});
|
|
26677
|
+
},
|
|
26678
|
+
/**
|
|
26679
|
+
*
|
|
26680
|
+
* @summary Update ServiceReviewMedia.
|
|
26681
|
+
* @param {string} serviceReviewId
|
|
26682
|
+
* @param {string} mediaId
|
|
26683
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26684
|
+
* @param {*} [options] Override http request option.
|
|
26685
|
+
* @throws {RequiredError}
|
|
26686
|
+
*/
|
|
26687
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26688
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26689
|
+
var localVarAxiosArgs;
|
|
26690
|
+
return __generator(this, function (_a) {
|
|
26691
|
+
switch (_a.label) {
|
|
26692
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options)];
|
|
26693
|
+
case 1:
|
|
26694
|
+
localVarAxiosArgs = _a.sent();
|
|
26695
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26696
|
+
}
|
|
26697
|
+
});
|
|
26698
|
+
});
|
|
26699
|
+
},
|
|
26700
|
+
/**
|
|
26701
|
+
*
|
|
26702
|
+
* @summary Create ServiceReviewMedia.
|
|
26703
|
+
* @param {string} serviceReviewId
|
|
26704
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26705
|
+
* @param {*} [options] Override http request option.
|
|
26706
|
+
* @throws {RequiredError}
|
|
26707
|
+
*/
|
|
26708
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26709
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26710
|
+
var localVarAxiosArgs;
|
|
26711
|
+
return __generator(this, function (_a) {
|
|
26712
|
+
switch (_a.label) {
|
|
26713
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options)];
|
|
26714
|
+
case 1:
|
|
26715
|
+
localVarAxiosArgs = _a.sent();
|
|
26716
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26717
|
+
}
|
|
26718
|
+
});
|
|
26719
|
+
});
|
|
26720
|
+
},
|
|
26721
|
+
/**
|
|
26722
|
+
*
|
|
26723
|
+
* @summary Update ServiceReview.
|
|
26724
|
+
* @param {string} serviceReviewId
|
|
26725
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26726
|
+
* @param {*} [options] Override http request option.
|
|
26727
|
+
* @throws {RequiredError}
|
|
26728
|
+
*/
|
|
26729
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26730
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26731
|
+
var localVarAxiosArgs;
|
|
26732
|
+
return __generator(this, function (_a) {
|
|
26733
|
+
switch (_a.label) {
|
|
26734
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options)];
|
|
26735
|
+
case 1:
|
|
26736
|
+
localVarAxiosArgs = _a.sent();
|
|
26737
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26738
|
+
}
|
|
26739
|
+
});
|
|
26740
|
+
});
|
|
26741
|
+
},
|
|
26742
|
+
};
|
|
26743
|
+
};
|
|
26744
|
+
/**
|
|
26745
|
+
* ServiceReviewApi - factory interface
|
|
26746
|
+
* @export
|
|
26747
|
+
*/
|
|
26748
|
+
exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
26749
|
+
var localVarFp = exports.ServiceReviewApiFp(configuration);
|
|
26750
|
+
return {
|
|
26751
|
+
/**
|
|
26752
|
+
*
|
|
26753
|
+
* @summary Get all ServiceReviews.
|
|
26754
|
+
* @param {string} [serviceId]
|
|
26755
|
+
* @param {string} [serviceName]
|
|
26756
|
+
* @param {string} [patientId]
|
|
26757
|
+
* @param {string} [patientName]
|
|
26758
|
+
* @param {boolean} [recommended]
|
|
26759
|
+
* @param {number} [rate]
|
|
26760
|
+
* @param {ReviewType} [reviewType]
|
|
26761
|
+
* @param {number} [page]
|
|
26762
|
+
* @param {number} [limit]
|
|
26763
|
+
* @param {Date} [lastRetrieved]
|
|
26764
|
+
* @param {*} [options] Override http request option.
|
|
26765
|
+
* @throws {RequiredError}
|
|
26766
|
+
*/
|
|
26767
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26768
|
+
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26769
|
+
},
|
|
26770
|
+
/**
|
|
26771
|
+
*
|
|
26772
|
+
* @summary Create a ServiceReview.
|
|
26773
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26774
|
+
* @param {*} [options] Override http request option.
|
|
26775
|
+
* @throws {RequiredError}
|
|
26776
|
+
*/
|
|
26777
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
26778
|
+
return localVarFp.apiV1ServicereviewPost(createServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26779
|
+
},
|
|
26780
|
+
/**
|
|
26781
|
+
*
|
|
26782
|
+
* @summary Delete ServiceReview.
|
|
26783
|
+
* @param {string} serviceReviewId
|
|
26784
|
+
* @param {*} [options] Override http request option.
|
|
26785
|
+
* @throws {RequiredError}
|
|
26786
|
+
*/
|
|
26787
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26788
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26789
|
+
},
|
|
26790
|
+
/**
|
|
26791
|
+
*
|
|
26792
|
+
* @param {string} serviceReviewId
|
|
26793
|
+
* @param {*} [options] Override http request option.
|
|
26794
|
+
* @throws {RequiredError}
|
|
26795
|
+
*/
|
|
26796
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26797
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26798
|
+
},
|
|
26799
|
+
/**
|
|
26800
|
+
*
|
|
26801
|
+
* @summary Get all ServiceReviewMedias.
|
|
26802
|
+
* @param {string} serviceReviewId
|
|
26803
|
+
* @param {string} [id]
|
|
26804
|
+
* @param {MediaType} [mediaType]
|
|
26805
|
+
* @param {number} [page]
|
|
26806
|
+
* @param {number} [limit]
|
|
26807
|
+
* @param {Date} [lastRetrieved]
|
|
26808
|
+
* @param {*} [options] Override http request option.
|
|
26809
|
+
* @throws {RequiredError}
|
|
26810
|
+
*/
|
|
26811
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26812
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26813
|
+
},
|
|
26814
|
+
/**
|
|
26815
|
+
*
|
|
26816
|
+
* @summary Delete ServiceReviewMedia
|
|
26817
|
+
* @param {string} serviceReviewId
|
|
26818
|
+
* @param {string} mediaId
|
|
26819
|
+
* @param {*} [options] Override http request option.
|
|
26820
|
+
* @throws {RequiredError}
|
|
26821
|
+
*/
|
|
26822
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26823
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26824
|
+
},
|
|
26825
|
+
/**
|
|
26826
|
+
*
|
|
26827
|
+
* @summary Get ServiceReviewMedia.
|
|
26828
|
+
* @param {string} serviceReviewId
|
|
26829
|
+
* @param {string} mediaId
|
|
26830
|
+
* @param {*} [options] Override http request option.
|
|
26831
|
+
* @throws {RequiredError}
|
|
26832
|
+
*/
|
|
26833
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26834
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26835
|
+
},
|
|
26836
|
+
/**
|
|
26837
|
+
*
|
|
26838
|
+
* @summary Update ServiceReviewMedia.
|
|
26839
|
+
* @param {string} serviceReviewId
|
|
26840
|
+
* @param {string} mediaId
|
|
26841
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26842
|
+
* @param {*} [options] Override http request option.
|
|
26843
|
+
* @throws {RequiredError}
|
|
26844
|
+
*/
|
|
26845
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26846
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26847
|
+
},
|
|
26848
|
+
/**
|
|
26849
|
+
*
|
|
26850
|
+
* @summary Create ServiceReviewMedia.
|
|
26851
|
+
* @param {string} serviceReviewId
|
|
26852
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26853
|
+
* @param {*} [options] Override http request option.
|
|
26854
|
+
* @throws {RequiredError}
|
|
26855
|
+
*/
|
|
26856
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26857
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26858
|
+
},
|
|
26859
|
+
/**
|
|
26860
|
+
*
|
|
26861
|
+
* @summary Update ServiceReview.
|
|
26862
|
+
* @param {string} serviceReviewId
|
|
26863
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26864
|
+
* @param {*} [options] Override http request option.
|
|
26865
|
+
* @throws {RequiredError}
|
|
26866
|
+
*/
|
|
26867
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26868
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26869
|
+
},
|
|
26870
|
+
};
|
|
26871
|
+
};
|
|
26872
|
+
/**
|
|
26873
|
+
* ServiceReviewApi - object-oriented interface
|
|
26874
|
+
* @export
|
|
26875
|
+
* @class ServiceReviewApi
|
|
26876
|
+
* @extends {BaseAPI}
|
|
26877
|
+
*/
|
|
26878
|
+
var ServiceReviewApi = /** @class */ (function (_super) {
|
|
26879
|
+
__extends(ServiceReviewApi, _super);
|
|
26880
|
+
function ServiceReviewApi() {
|
|
26881
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26882
|
+
}
|
|
26883
|
+
/**
|
|
26884
|
+
*
|
|
26885
|
+
* @summary Get all ServiceReviews.
|
|
26886
|
+
* @param {string} [serviceId]
|
|
26887
|
+
* @param {string} [serviceName]
|
|
26888
|
+
* @param {string} [patientId]
|
|
26889
|
+
* @param {string} [patientName]
|
|
26890
|
+
* @param {boolean} [recommended]
|
|
26891
|
+
* @param {number} [rate]
|
|
26892
|
+
* @param {ReviewType} [reviewType]
|
|
26893
|
+
* @param {number} [page]
|
|
26894
|
+
* @param {number} [limit]
|
|
26895
|
+
* @param {Date} [lastRetrieved]
|
|
26896
|
+
* @param {*} [options] Override http request option.
|
|
26897
|
+
* @throws {RequiredError}
|
|
26898
|
+
* @memberof ServiceReviewApi
|
|
26899
|
+
*/
|
|
26900
|
+
ServiceReviewApi.prototype.apiV1ServicereviewGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26901
|
+
var _this = this;
|
|
26902
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26903
|
+
};
|
|
26904
|
+
/**
|
|
26905
|
+
*
|
|
26906
|
+
* @summary Create a ServiceReview.
|
|
26907
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26908
|
+
* @param {*} [options] Override http request option.
|
|
26909
|
+
* @throws {RequiredError}
|
|
26910
|
+
* @memberof ServiceReviewApi
|
|
26911
|
+
*/
|
|
26912
|
+
ServiceReviewApi.prototype.apiV1ServicereviewPost = function (createServiceReviewCommand, options) {
|
|
26913
|
+
var _this = this;
|
|
26914
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewPost(createServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26915
|
+
};
|
|
26916
|
+
/**
|
|
26917
|
+
*
|
|
26918
|
+
* @summary Delete ServiceReview.
|
|
26919
|
+
* @param {string} serviceReviewId
|
|
26920
|
+
* @param {*} [options] Override http request option.
|
|
26921
|
+
* @throws {RequiredError}
|
|
26922
|
+
* @memberof ServiceReviewApi
|
|
26923
|
+
*/
|
|
26924
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
26925
|
+
var _this = this;
|
|
26926
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26927
|
+
};
|
|
26928
|
+
/**
|
|
26929
|
+
*
|
|
26930
|
+
* @param {string} serviceReviewId
|
|
26931
|
+
* @param {*} [options] Override http request option.
|
|
26932
|
+
* @throws {RequiredError}
|
|
26933
|
+
* @memberof ServiceReviewApi
|
|
26934
|
+
*/
|
|
26935
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdGet = function (serviceReviewId, options) {
|
|
26936
|
+
var _this = this;
|
|
26937
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26938
|
+
};
|
|
26939
|
+
/**
|
|
26940
|
+
*
|
|
26941
|
+
* @summary Get all ServiceReviewMedias.
|
|
26942
|
+
* @param {string} serviceReviewId
|
|
26943
|
+
* @param {string} [id]
|
|
26944
|
+
* @param {MediaType} [mediaType]
|
|
26945
|
+
* @param {number} [page]
|
|
26946
|
+
* @param {number} [limit]
|
|
26947
|
+
* @param {Date} [lastRetrieved]
|
|
26948
|
+
* @param {*} [options] Override http request option.
|
|
26949
|
+
* @throws {RequiredError}
|
|
26950
|
+
* @memberof ServiceReviewApi
|
|
26951
|
+
*/
|
|
26952
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasGet = function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26953
|
+
var _this = this;
|
|
26954
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26955
|
+
};
|
|
26956
|
+
/**
|
|
26957
|
+
*
|
|
26958
|
+
* @summary Delete ServiceReviewMedia
|
|
26959
|
+
* @param {string} serviceReviewId
|
|
26960
|
+
* @param {string} mediaId
|
|
26961
|
+
* @param {*} [options] Override http request option.
|
|
26962
|
+
* @throws {RequiredError}
|
|
26963
|
+
* @memberof ServiceReviewApi
|
|
26964
|
+
*/
|
|
26965
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete = function (serviceReviewId, mediaId, options) {
|
|
26966
|
+
var _this = this;
|
|
26967
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26968
|
+
};
|
|
26969
|
+
/**
|
|
26970
|
+
*
|
|
26971
|
+
* @summary Get ServiceReviewMedia.
|
|
26972
|
+
* @param {string} serviceReviewId
|
|
26973
|
+
* @param {string} mediaId
|
|
26974
|
+
* @param {*} [options] Override http request option.
|
|
26975
|
+
* @throws {RequiredError}
|
|
26976
|
+
* @memberof ServiceReviewApi
|
|
26977
|
+
*/
|
|
26978
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdGet = function (serviceReviewId, mediaId, options) {
|
|
26979
|
+
var _this = this;
|
|
26980
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26981
|
+
};
|
|
26982
|
+
/**
|
|
26983
|
+
*
|
|
26984
|
+
* @summary Update ServiceReviewMedia.
|
|
26985
|
+
* @param {string} serviceReviewId
|
|
26986
|
+
* @param {string} mediaId
|
|
26987
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26988
|
+
* @param {*} [options] Override http request option.
|
|
26989
|
+
* @throws {RequiredError}
|
|
26990
|
+
* @memberof ServiceReviewApi
|
|
26991
|
+
*/
|
|
26992
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdPut = function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26993
|
+
var _this = this;
|
|
26994
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26995
|
+
};
|
|
26996
|
+
/**
|
|
26997
|
+
*
|
|
26998
|
+
* @summary Create ServiceReviewMedia.
|
|
26999
|
+
* @param {string} serviceReviewId
|
|
27000
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
27001
|
+
* @param {*} [options] Override http request option.
|
|
27002
|
+
* @throws {RequiredError}
|
|
27003
|
+
* @memberof ServiceReviewApi
|
|
27004
|
+
*/
|
|
27005
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasPost = function (serviceReviewId, createMediaCommand, options) {
|
|
27006
|
+
var _this = this;
|
|
27007
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27008
|
+
};
|
|
27009
|
+
/**
|
|
27010
|
+
*
|
|
27011
|
+
* @summary Update ServiceReview.
|
|
27012
|
+
* @param {string} serviceReviewId
|
|
27013
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
27014
|
+
* @param {*} [options] Override http request option.
|
|
27015
|
+
* @throws {RequiredError}
|
|
27016
|
+
* @memberof ServiceReviewApi
|
|
27017
|
+
*/
|
|
27018
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdPut = function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
27019
|
+
var _this = this;
|
|
27020
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27021
|
+
};
|
|
27022
|
+
return ServiceReviewApi;
|
|
27023
|
+
}(base_1.BaseAPI));
|
|
27024
|
+
exports.ServiceReviewApi = ServiceReviewApi;
|
|
27025
|
+
/**
|
|
27026
|
+
* ServicesApi - axios parameter creator
|
|
27027
|
+
* @export
|
|
27028
|
+
*/
|
|
27029
|
+
exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
27030
|
+
var _this = this;
|
|
27031
|
+
return {
|
|
27032
|
+
/**
|
|
27033
|
+
*
|
|
27034
|
+
* @summary Get all HospitalServices.
|
|
27035
|
+
* @param {string} [hospitalId]
|
|
27036
|
+
* @param {string} [hospitalName]
|
|
27037
|
+
* @param {string} [hospitalSlug]
|
|
27038
|
+
* @param {string} [id]
|
|
27039
|
+
* @param {string} [name]
|
|
27040
|
+
* @param {string} [description]
|
|
27041
|
+
* @param {string} [specialtyId]
|
|
27042
|
+
* @param {string} [specialtyName]
|
|
27043
|
+
* @param {string} [specialtyTypeId]
|
|
27044
|
+
* @param {string} [specialtyTypeName]
|
|
27045
|
+
* @param {string} [serviceCategoryId]
|
|
27046
|
+
* @param {MarketingType} [marketingType]
|
|
27047
|
+
* @param {Procedure} [procedure]
|
|
27048
|
+
* @param {Date} [created]
|
|
27049
|
+
* @param {string} [languageCode]
|
|
27050
|
+
* @param {boolean} [returnDefaultValue]
|
|
27051
|
+
* @param {number} [page]
|
|
27052
|
+
* @param {number} [limit]
|
|
27053
|
+
* @param {Date} [lastRetrieved]
|
|
27054
|
+
* @param {*} [options] Override http request option.
|
|
27055
|
+
* @throws {RequiredError}
|
|
27056
|
+
*/
|
|
27057
|
+
apiV1ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
27058
|
+
if (options === void 0) { options = {}; }
|
|
27059
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27060
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27061
|
+
return __generator(this, function (_a) {
|
|
27062
|
+
switch (_a.label) {
|
|
27063
|
+
case 0:
|
|
27064
|
+
localVarPath = "/api/v1/services";
|
|
27065
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27066
|
+
if (configuration) {
|
|
27067
|
+
baseOptions = configuration.baseOptions;
|
|
27068
|
+
}
|
|
27069
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27070
|
+
localVarHeaderParameter = {};
|
|
27071
|
+
localVarQueryParameter = {};
|
|
27072
|
+
// authentication oauth2 required
|
|
27073
|
+
// oauth required
|
|
27074
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27075
|
+
case 1:
|
|
27076
|
+
// authentication oauth2 required
|
|
27077
|
+
// oauth required
|
|
27078
|
+
_a.sent();
|
|
27079
|
+
if (hospitalId !== undefined) {
|
|
27080
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27081
|
+
}
|
|
27082
|
+
if (hospitalName !== undefined) {
|
|
27083
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
27084
|
+
}
|
|
27085
|
+
if (hospitalSlug !== undefined) {
|
|
27086
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
27087
|
+
}
|
|
27088
|
+
if (id !== undefined) {
|
|
27089
|
+
localVarQueryParameter['Id'] = id;
|
|
27090
|
+
}
|
|
27091
|
+
if (name !== undefined) {
|
|
27092
|
+
localVarQueryParameter['Name'] = name;
|
|
27093
|
+
}
|
|
27094
|
+
if (description !== undefined) {
|
|
27095
|
+
localVarQueryParameter['Description'] = description;
|
|
27096
|
+
}
|
|
27097
|
+
if (specialtyId !== undefined) {
|
|
27098
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
27099
|
+
}
|
|
27100
|
+
if (specialtyName !== undefined) {
|
|
27101
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
27102
|
+
}
|
|
27103
|
+
if (specialtyTypeId !== undefined) {
|
|
27104
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
27105
|
+
}
|
|
27106
|
+
if (specialtyTypeName !== undefined) {
|
|
27107
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
27108
|
+
}
|
|
27109
|
+
if (serviceCategoryId !== undefined) {
|
|
25821
27110
|
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
25822
27111
|
}
|
|
25823
27112
|
if (marketingType !== undefined) {
|
|
@@ -26192,15 +27481,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26192
27481
|
* @param {string} [id]
|
|
26193
27482
|
* @param {string} [name]
|
|
26194
27483
|
* @param {string} [description]
|
|
26195
|
-
* @param {string} [languageCode]
|
|
26196
|
-
* @param {boolean} [returnDefaultValue]
|
|
26197
27484
|
* @param {number} [page]
|
|
26198
27485
|
* @param {number} [limit]
|
|
26199
27486
|
* @param {Date} [lastRetrieved]
|
|
26200
27487
|
* @param {*} [options] Override http request option.
|
|
26201
27488
|
* @throws {RequiredError}
|
|
26202
27489
|
*/
|
|
26203
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
27490
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26204
27491
|
if (options === void 0) { options = {}; }
|
|
26205
27492
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26206
27493
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26231,12 +27518,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26231
27518
|
if (description !== undefined) {
|
|
26232
27519
|
localVarQueryParameter['Description'] = description;
|
|
26233
27520
|
}
|
|
26234
|
-
if (languageCode !== undefined) {
|
|
26235
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26236
|
-
}
|
|
26237
|
-
if (returnDefaultValue !== undefined) {
|
|
26238
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26239
|
-
}
|
|
26240
27521
|
if (page !== undefined) {
|
|
26241
27522
|
localVarQueryParameter['page'] = page;
|
|
26242
27523
|
}
|
|
@@ -26347,11 +27628,10 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26347
27628
|
*
|
|
26348
27629
|
* @summary Get ServiceCategory.
|
|
26349
27630
|
* @param {string} serviceCategoryId
|
|
26350
|
-
* @param {string} [languageCode]
|
|
26351
27631
|
* @param {*} [options] Override http request option.
|
|
26352
27632
|
* @throws {RequiredError}
|
|
26353
27633
|
*/
|
|
26354
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
27634
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26355
27635
|
if (options === void 0) { options = {}; }
|
|
26356
27636
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26357
27637
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26376,9 +27656,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26376
27656
|
// authentication oauth2 required
|
|
26377
27657
|
// oauth required
|
|
26378
27658
|
_a.sent();
|
|
26379
|
-
if (languageCode !== undefined) {
|
|
26380
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
26381
|
-
}
|
|
26382
27659
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26383
27660
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26384
27661
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26451,20 +27728,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26451
27728
|
* @param {string} [id]
|
|
26452
27729
|
* @param {string} [name]
|
|
26453
27730
|
* @param {string} [description]
|
|
26454
|
-
* @param {string} [languageCode]
|
|
26455
|
-
* @param {boolean} [returnDefaultValue]
|
|
26456
27731
|
* @param {number} [page]
|
|
26457
27732
|
* @param {number} [limit]
|
|
26458
27733
|
* @param {Date} [lastRetrieved]
|
|
26459
27734
|
* @param {*} [options] Override http request option.
|
|
26460
27735
|
* @throws {RequiredError}
|
|
26461
27736
|
*/
|
|
26462
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
27737
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26463
27738
|
return __awaiter(this, void 0, void 0, function () {
|
|
26464
27739
|
var localVarAxiosArgs;
|
|
26465
27740
|
return __generator(this, function (_a) {
|
|
26466
27741
|
switch (_a.label) {
|
|
26467
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description,
|
|
27742
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options)];
|
|
26468
27743
|
case 1:
|
|
26469
27744
|
localVarAxiosArgs = _a.sent();
|
|
26470
27745
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26515,16 +27790,15 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26515
27790
|
*
|
|
26516
27791
|
* @summary Get ServiceCategory.
|
|
26517
27792
|
* @param {string} serviceCategoryId
|
|
26518
|
-
* @param {string} [languageCode]
|
|
26519
27793
|
* @param {*} [options] Override http request option.
|
|
26520
27794
|
* @throws {RequiredError}
|
|
26521
27795
|
*/
|
|
26522
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
27796
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26523
27797
|
return __awaiter(this, void 0, void 0, function () {
|
|
26524
27798
|
var localVarAxiosArgs;
|
|
26525
27799
|
return __generator(this, function (_a) {
|
|
26526
27800
|
switch (_a.label) {
|
|
26527
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
27801
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options)];
|
|
26528
27802
|
case 1:
|
|
26529
27803
|
localVarAxiosArgs = _a.sent();
|
|
26530
27804
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26568,16 +27842,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26568
27842
|
* @param {string} [id]
|
|
26569
27843
|
* @param {string} [name]
|
|
26570
27844
|
* @param {string} [description]
|
|
26571
|
-
* @param {string} [languageCode]
|
|
26572
|
-
* @param {boolean} [returnDefaultValue]
|
|
26573
27845
|
* @param {number} [page]
|
|
26574
27846
|
* @param {number} [limit]
|
|
26575
27847
|
* @param {Date} [lastRetrieved]
|
|
26576
27848
|
* @param {*} [options] Override http request option.
|
|
26577
27849
|
* @throws {RequiredError}
|
|
26578
27850
|
*/
|
|
26579
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26580
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description,
|
|
27851
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
27852
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26581
27853
|
},
|
|
26582
27854
|
/**
|
|
26583
27855
|
*
|
|
@@ -26602,12 +27874,11 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26602
27874
|
*
|
|
26603
27875
|
* @summary Get ServiceCategory.
|
|
26604
27876
|
* @param {string} serviceCategoryId
|
|
26605
|
-
* @param {string} [languageCode]
|
|
26606
27877
|
* @param {*} [options] Override http request option.
|
|
26607
27878
|
* @throws {RequiredError}
|
|
26608
27879
|
*/
|
|
26609
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26610
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
27880
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
27881
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
|
|
26611
27882
|
},
|
|
26612
27883
|
/**
|
|
26613
27884
|
*
|
|
@@ -26639,8 +27910,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26639
27910
|
* @param {string} [id]
|
|
26640
27911
|
* @param {string} [name]
|
|
26641
27912
|
* @param {string} [description]
|
|
26642
|
-
* @param {string} [languageCode]
|
|
26643
|
-
* @param {boolean} [returnDefaultValue]
|
|
26644
27913
|
* @param {number} [page]
|
|
26645
27914
|
* @param {number} [limit]
|
|
26646
27915
|
* @param {Date} [lastRetrieved]
|
|
@@ -26648,9 +27917,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26648
27917
|
* @throws {RequiredError}
|
|
26649
27918
|
* @memberof ServicesCategoriesApi
|
|
26650
27919
|
*/
|
|
26651
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description,
|
|
27920
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26652
27921
|
var _this = this;
|
|
26653
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description,
|
|
27922
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26654
27923
|
};
|
|
26655
27924
|
/**
|
|
26656
27925
|
*
|
|
@@ -26679,14 +27948,13 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26679
27948
|
*
|
|
26680
27949
|
* @summary Get ServiceCategory.
|
|
26681
27950
|
* @param {string} serviceCategoryId
|
|
26682
|
-
* @param {string} [languageCode]
|
|
26683
27951
|
* @param {*} [options] Override http request option.
|
|
26684
27952
|
* @throws {RequiredError}
|
|
26685
27953
|
* @memberof ServicesCategoriesApi
|
|
26686
27954
|
*/
|
|
26687
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId,
|
|
27955
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId, options) {
|
|
26688
27956
|
var _this = this;
|
|
26689
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
27957
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26690
27958
|
};
|
|
26691
27959
|
/**
|
|
26692
27960
|
*
|