ch-api-client-typescript2 4.9.1 → 4.9.3
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/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* ServiceReviewsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -114,12 +114,12 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
118
118
|
if (options === void 0) { options = {}; }
|
|
119
119
|
return __awaiter(_this, void 0, void 0, function () {
|
|
120
120
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
121
121
|
return __generator(this, function (_a) {
|
|
122
|
-
localVarPath = "/
|
|
122
|
+
localVarPath = "/api/v2/servicereviews";
|
|
123
123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
124
124
|
if (configuration) {
|
|
125
125
|
baseOptions = configuration.baseOptions;
|
|
@@ -194,14 +194,14 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
197
|
-
|
|
197
|
+
apiV2ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
198
198
|
if (options === void 0) { options = {}; }
|
|
199
199
|
return __awaiter(_this, void 0, void 0, function () {
|
|
200
200
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
201
201
|
return __generator(this, function (_a) {
|
|
202
202
|
switch (_a.label) {
|
|
203
203
|
case 0:
|
|
204
|
-
localVarPath = "/
|
|
204
|
+
localVarPath = "/api/v2/servicereviews";
|
|
205
205
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
206
206
|
if (configuration) {
|
|
207
207
|
baseOptions = configuration.baseOptions;
|
|
@@ -236,7 +236,7 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
236
236
|
* @param {*} [options] Override http request option.
|
|
237
237
|
* @throws {RequiredError}
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
apiV2ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
240
240
|
if (options === void 0) { options = {}; }
|
|
241
241
|
return __awaiter(_this, void 0, void 0, function () {
|
|
242
242
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -244,8 +244,8 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
switch (_a.label) {
|
|
245
245
|
case 0:
|
|
246
246
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
247
|
-
(0, common_1.assertParamExists)('
|
|
248
|
-
localVarPath = "/
|
|
247
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
248
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}"
|
|
249
249
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)));
|
|
250
250
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
251
251
|
if (configuration) {
|
|
@@ -280,14 +280,14 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
280
280
|
* @param {*} [options] Override http request option.
|
|
281
281
|
* @throws {RequiredError}
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
284
284
|
if (options === void 0) { options = {}; }
|
|
285
285
|
return __awaiter(_this, void 0, void 0, function () {
|
|
286
286
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
287
287
|
return __generator(this, function (_a) {
|
|
288
288
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
289
|
-
(0, common_1.assertParamExists)('
|
|
290
|
-
localVarPath = "/
|
|
289
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
290
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}"
|
|
291
291
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)));
|
|
292
292
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
293
293
|
if (configuration) {
|
|
@@ -321,14 +321,14 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
* @param {*} [options] Override http request option.
|
|
322
322
|
* @throws {RequiredError}
|
|
323
323
|
*/
|
|
324
|
-
|
|
324
|
+
apiV2ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
325
325
|
if (options === void 0) { options = {}; }
|
|
326
326
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
327
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
328
|
return __generator(this, function (_a) {
|
|
329
329
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
330
|
-
(0, common_1.assertParamExists)('
|
|
331
|
-
localVarPath = "/
|
|
330
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
331
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}/medias"
|
|
332
332
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)));
|
|
333
333
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
334
334
|
if (configuration) {
|
|
@@ -372,7 +372,7 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
*/
|
|
375
|
-
|
|
375
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
376
376
|
if (options === void 0) { options = {}; }
|
|
377
377
|
return __awaiter(_this, void 0, void 0, function () {
|
|
378
378
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -380,10 +380,10 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
380
380
|
switch (_a.label) {
|
|
381
381
|
case 0:
|
|
382
382
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
383
|
-
(0, common_1.assertParamExists)('
|
|
383
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
384
384
|
// verify required parameter 'mediaId' is not null or undefined
|
|
385
|
-
(0, common_1.assertParamExists)('
|
|
386
|
-
localVarPath = "/
|
|
385
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
386
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
387
387
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)))
|
|
388
388
|
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
389
389
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -419,16 +419,16 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
419
419
|
* @param {*} [options] Override http request option.
|
|
420
420
|
* @throws {RequiredError}
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
423
423
|
if (options === void 0) { options = {}; }
|
|
424
424
|
return __awaiter(_this, void 0, void 0, function () {
|
|
425
425
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
426
426
|
return __generator(this, function (_a) {
|
|
427
427
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
428
|
-
(0, common_1.assertParamExists)('
|
|
428
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
429
429
|
// verify required parameter 'mediaId' is not null or undefined
|
|
430
|
-
(0, common_1.assertParamExists)('
|
|
431
|
-
localVarPath = "/
|
|
430
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
431
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
432
432
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)))
|
|
433
433
|
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
434
434
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -457,7 +457,7 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
457
457
|
* @param {*} [options] Override http request option.
|
|
458
458
|
* @throws {RequiredError}
|
|
459
459
|
*/
|
|
460
|
-
|
|
460
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
461
461
|
if (options === void 0) { options = {}; }
|
|
462
462
|
return __awaiter(_this, void 0, void 0, function () {
|
|
463
463
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -465,10 +465,10 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
465
465
|
switch (_a.label) {
|
|
466
466
|
case 0:
|
|
467
467
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
468
|
-
(0, common_1.assertParamExists)('
|
|
468
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId);
|
|
469
469
|
// verify required parameter 'mediaId' is not null or undefined
|
|
470
|
-
(0, common_1.assertParamExists)('
|
|
471
|
-
localVarPath = "/
|
|
470
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
471
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
472
472
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)))
|
|
473
473
|
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
474
474
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -506,7 +506,7 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
506
506
|
* @param {*} [options] Override http request option.
|
|
507
507
|
* @throws {RequiredError}
|
|
508
508
|
*/
|
|
509
|
-
|
|
509
|
+
apiV2ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
510
510
|
if (options === void 0) { options = {}; }
|
|
511
511
|
return __awaiter(_this, void 0, void 0, function () {
|
|
512
512
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -514,8 +514,8 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
514
514
|
switch (_a.label) {
|
|
515
515
|
case 0:
|
|
516
516
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
517
|
-
(0, common_1.assertParamExists)('
|
|
518
|
-
localVarPath = "/
|
|
517
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId);
|
|
518
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}/medias"
|
|
519
519
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)));
|
|
520
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
521
521
|
if (configuration) {
|
|
@@ -552,7 +552,7 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
552
552
|
* @param {*} [options] Override http request option.
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
*/
|
|
555
|
-
|
|
555
|
+
apiV2ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
556
556
|
if (options === void 0) { options = {}; }
|
|
557
557
|
return __awaiter(_this, void 0, void 0, function () {
|
|
558
558
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -560,8 +560,8 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
560
560
|
switch (_a.label) {
|
|
561
561
|
case 0:
|
|
562
562
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
563
|
-
(0, common_1.assertParamExists)('
|
|
564
|
-
localVarPath = "/
|
|
563
|
+
(0, common_1.assertParamExists)('apiV2ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId);
|
|
564
|
+
localVarPath = "/api/v2/servicereviews/{serviceReviewId}"
|
|
565
565
|
.replace("{".concat("serviceReviewId", "}"), encodeURIComponent(String(serviceReviewId)));
|
|
566
566
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
567
567
|
if (configuration) {
|
|
@@ -592,13 +592,13 @@ var V2ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
592
592
|
},
|
|
593
593
|
};
|
|
594
594
|
};
|
|
595
|
-
exports.
|
|
595
|
+
exports.ServiceReviewsApiAxiosParamCreator = ServiceReviewsApiAxiosParamCreator;
|
|
596
596
|
/**
|
|
597
|
-
*
|
|
597
|
+
* ServiceReviewsApi - functional programming interface
|
|
598
598
|
* @export
|
|
599
599
|
*/
|
|
600
|
-
var
|
|
601
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
600
|
+
var ServiceReviewsApiFp = function (configuration) {
|
|
601
|
+
var localVarAxiosParamCreator = (0, exports.ServiceReviewsApiAxiosParamCreator)(configuration);
|
|
602
602
|
return {
|
|
603
603
|
/**
|
|
604
604
|
*
|
|
@@ -622,12 +622,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
622
622
|
* @param {*} [options] Override http request option.
|
|
623
623
|
* @throws {RequiredError}
|
|
624
624
|
*/
|
|
625
|
-
|
|
625
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
626
626
|
return __awaiter(this, void 0, void 0, function () {
|
|
627
627
|
var localVarAxiosArgs;
|
|
628
628
|
return __generator(this, function (_a) {
|
|
629
629
|
switch (_a.label) {
|
|
630
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
630
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
631
631
|
case 1:
|
|
632
632
|
localVarAxiosArgs = _a.sent();
|
|
633
633
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -642,12 +642,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
642
642
|
* @param {*} [options] Override http request option.
|
|
643
643
|
* @throws {RequiredError}
|
|
644
644
|
*/
|
|
645
|
-
|
|
645
|
+
apiV2ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
646
646
|
return __awaiter(this, void 0, void 0, function () {
|
|
647
647
|
var localVarAxiosArgs;
|
|
648
648
|
return __generator(this, function (_a) {
|
|
649
649
|
switch (_a.label) {
|
|
650
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
650
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsPost(createServiceReviewCommand, options)];
|
|
651
651
|
case 1:
|
|
652
652
|
localVarAxiosArgs = _a.sent();
|
|
653
653
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -662,12 +662,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
662
662
|
* @param {*} [options] Override http request option.
|
|
663
663
|
* @throws {RequiredError}
|
|
664
664
|
*/
|
|
665
|
-
|
|
665
|
+
apiV2ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
666
666
|
return __awaiter(this, void 0, void 0, function () {
|
|
667
667
|
var localVarAxiosArgs;
|
|
668
668
|
return __generator(this, function (_a) {
|
|
669
669
|
switch (_a.label) {
|
|
670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
670
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options)];
|
|
671
671
|
case 1:
|
|
672
672
|
localVarAxiosArgs = _a.sent();
|
|
673
673
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -683,12 +683,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
683
683
|
* @param {*} [options] Override http request option.
|
|
684
684
|
* @throws {RequiredError}
|
|
685
685
|
*/
|
|
686
|
-
|
|
686
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
687
687
|
return __awaiter(this, void 0, void 0, function () {
|
|
688
688
|
var localVarAxiosArgs;
|
|
689
689
|
return __generator(this, function (_a) {
|
|
690
690
|
switch (_a.label) {
|
|
691
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options)];
|
|
692
692
|
case 1:
|
|
693
693
|
localVarAxiosArgs = _a.sent();
|
|
694
694
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -708,12 +708,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
708
708
|
* @param {*} [options] Override http request option.
|
|
709
709
|
* @throws {RequiredError}
|
|
710
710
|
*/
|
|
711
|
-
|
|
711
|
+
apiV2ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
712
712
|
return __awaiter(this, void 0, void 0, function () {
|
|
713
713
|
var localVarAxiosArgs;
|
|
714
714
|
return __generator(this, function (_a) {
|
|
715
715
|
switch (_a.label) {
|
|
716
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
716
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
717
717
|
case 1:
|
|
718
718
|
localVarAxiosArgs = _a.sent();
|
|
719
719
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -729,12 +729,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
729
729
|
* @param {*} [options] Override http request option.
|
|
730
730
|
* @throws {RequiredError}
|
|
731
731
|
*/
|
|
732
|
-
|
|
732
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
733
733
|
return __awaiter(this, void 0, void 0, function () {
|
|
734
734
|
var localVarAxiosArgs;
|
|
735
735
|
return __generator(this, function (_a) {
|
|
736
736
|
switch (_a.label) {
|
|
737
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
737
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options)];
|
|
738
738
|
case 1:
|
|
739
739
|
localVarAxiosArgs = _a.sent();
|
|
740
740
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -750,12 +750,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
750
750
|
* @param {*} [options] Override http request option.
|
|
751
751
|
* @throws {RequiredError}
|
|
752
752
|
*/
|
|
753
|
-
|
|
753
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
754
754
|
return __awaiter(this, void 0, void 0, function () {
|
|
755
755
|
var localVarAxiosArgs;
|
|
756
756
|
return __generator(this, function (_a) {
|
|
757
757
|
switch (_a.label) {
|
|
758
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
758
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options)];
|
|
759
759
|
case 1:
|
|
760
760
|
localVarAxiosArgs = _a.sent();
|
|
761
761
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -772,12 +772,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
772
772
|
* @param {*} [options] Override http request option.
|
|
773
773
|
* @throws {RequiredError}
|
|
774
774
|
*/
|
|
775
|
-
|
|
775
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
776
776
|
return __awaiter(this, void 0, void 0, function () {
|
|
777
777
|
var localVarAxiosArgs;
|
|
778
778
|
return __generator(this, function (_a) {
|
|
779
779
|
switch (_a.label) {
|
|
780
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
780
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options)];
|
|
781
781
|
case 1:
|
|
782
782
|
localVarAxiosArgs = _a.sent();
|
|
783
783
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -793,12 +793,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
793
793
|
* @param {*} [options] Override http request option.
|
|
794
794
|
* @throws {RequiredError}
|
|
795
795
|
*/
|
|
796
|
-
|
|
796
|
+
apiV2ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
797
797
|
return __awaiter(this, void 0, void 0, function () {
|
|
798
798
|
var localVarAxiosArgs;
|
|
799
799
|
return __generator(this, function (_a) {
|
|
800
800
|
switch (_a.label) {
|
|
801
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
801
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options)];
|
|
802
802
|
case 1:
|
|
803
803
|
localVarAxiosArgs = _a.sent();
|
|
804
804
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -814,12 +814,12 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
814
814
|
* @param {*} [options] Override http request option.
|
|
815
815
|
* @throws {RequiredError}
|
|
816
816
|
*/
|
|
817
|
-
|
|
817
|
+
apiV2ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
818
818
|
return __awaiter(this, void 0, void 0, function () {
|
|
819
819
|
var localVarAxiosArgs;
|
|
820
820
|
return __generator(this, function (_a) {
|
|
821
821
|
switch (_a.label) {
|
|
822
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
822
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options)];
|
|
823
823
|
case 1:
|
|
824
824
|
localVarAxiosArgs = _a.sent();
|
|
825
825
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -829,13 +829,13 @@ var V2ServiceReviewsApiFp = function (configuration) {
|
|
|
829
829
|
},
|
|
830
830
|
};
|
|
831
831
|
};
|
|
832
|
-
exports.
|
|
832
|
+
exports.ServiceReviewsApiFp = ServiceReviewsApiFp;
|
|
833
833
|
/**
|
|
834
|
-
*
|
|
834
|
+
* ServiceReviewsApi - factory interface
|
|
835
835
|
* @export
|
|
836
836
|
*/
|
|
837
|
-
var
|
|
838
|
-
var localVarFp = (0, exports.
|
|
837
|
+
var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
838
|
+
var localVarFp = (0, exports.ServiceReviewsApiFp)(configuration);
|
|
839
839
|
return {
|
|
840
840
|
/**
|
|
841
841
|
*
|
|
@@ -859,8 +859,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
859
859
|
* @param {*} [options] Override http request option.
|
|
860
860
|
* @throws {RequiredError}
|
|
861
861
|
*/
|
|
862
|
-
|
|
863
|
-
return localVarFp.
|
|
862
|
+
apiV2ServicereviewsGet: function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
863
|
+
return localVarFp.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
864
864
|
},
|
|
865
865
|
/**
|
|
866
866
|
*
|
|
@@ -869,8 +869,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
869
869
|
* @param {*} [options] Override http request option.
|
|
870
870
|
* @throws {RequiredError}
|
|
871
871
|
*/
|
|
872
|
-
|
|
873
|
-
return localVarFp.
|
|
872
|
+
apiV2ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
873
|
+
return localVarFp.apiV2ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
874
874
|
},
|
|
875
875
|
/**
|
|
876
876
|
*
|
|
@@ -879,8 +879,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
879
879
|
* @param {*} [options] Override http request option.
|
|
880
880
|
* @throws {RequiredError}
|
|
881
881
|
*/
|
|
882
|
-
|
|
883
|
-
return localVarFp.
|
|
882
|
+
apiV2ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
883
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
884
884
|
},
|
|
885
885
|
/**
|
|
886
886
|
*
|
|
@@ -890,8 +890,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
890
890
|
* @param {*} [options] Override http request option.
|
|
891
891
|
* @throws {RequiredError}
|
|
892
892
|
*/
|
|
893
|
-
|
|
894
|
-
return localVarFp.
|
|
893
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, options) {
|
|
894
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
895
895
|
},
|
|
896
896
|
/**
|
|
897
897
|
*
|
|
@@ -905,8 +905,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
905
905
|
* @param {*} [options] Override http request option.
|
|
906
906
|
* @throws {RequiredError}
|
|
907
907
|
*/
|
|
908
|
-
|
|
909
|
-
return localVarFp.
|
|
908
|
+
apiV2ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
909
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
910
910
|
},
|
|
911
911
|
/**
|
|
912
912
|
*
|
|
@@ -916,8 +916,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
916
916
|
* @param {*} [options] Override http request option.
|
|
917
917
|
* @throws {RequiredError}
|
|
918
918
|
*/
|
|
919
|
-
|
|
920
|
-
return localVarFp.
|
|
919
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
920
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
921
921
|
},
|
|
922
922
|
/**
|
|
923
923
|
*
|
|
@@ -927,8 +927,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
927
927
|
* @param {*} [options] Override http request option.
|
|
928
928
|
* @throws {RequiredError}
|
|
929
929
|
*/
|
|
930
|
-
|
|
931
|
-
return localVarFp.
|
|
930
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
931
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
932
932
|
},
|
|
933
933
|
/**
|
|
934
934
|
*
|
|
@@ -939,8 +939,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
939
939
|
* @param {*} [options] Override http request option.
|
|
940
940
|
* @throws {RequiredError}
|
|
941
941
|
*/
|
|
942
|
-
|
|
943
|
-
return localVarFp.
|
|
942
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
943
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
944
944
|
},
|
|
945
945
|
/**
|
|
946
946
|
*
|
|
@@ -950,8 +950,8 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
950
950
|
* @param {*} [options] Override http request option.
|
|
951
951
|
* @throws {RequiredError}
|
|
952
952
|
*/
|
|
953
|
-
|
|
954
|
-
return localVarFp.
|
|
953
|
+
apiV2ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
954
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
955
955
|
},
|
|
956
956
|
/**
|
|
957
957
|
*
|
|
@@ -961,21 +961,21 @@ var V2ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
961
961
|
* @param {*} [options] Override http request option.
|
|
962
962
|
* @throws {RequiredError}
|
|
963
963
|
*/
|
|
964
|
-
|
|
965
|
-
return localVarFp.
|
|
964
|
+
apiV2ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
965
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
966
966
|
},
|
|
967
967
|
};
|
|
968
968
|
};
|
|
969
|
-
exports.
|
|
969
|
+
exports.ServiceReviewsApiFactory = ServiceReviewsApiFactory;
|
|
970
970
|
/**
|
|
971
|
-
*
|
|
971
|
+
* ServiceReviewsApi - object-oriented interface
|
|
972
972
|
* @export
|
|
973
|
-
* @class
|
|
973
|
+
* @class ServiceReviewsApi
|
|
974
974
|
* @extends {BaseAPI}
|
|
975
975
|
*/
|
|
976
|
-
var
|
|
977
|
-
__extends(
|
|
978
|
-
function
|
|
976
|
+
var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
977
|
+
__extends(ServiceReviewsApi, _super);
|
|
978
|
+
function ServiceReviewsApi() {
|
|
979
979
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
980
980
|
}
|
|
981
981
|
/**
|
|
@@ -999,11 +999,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
999
999
|
* @param {Date} [lastRetrieved]
|
|
1000
1000
|
* @param {*} [options] Override http request option.
|
|
1001
1001
|
* @throws {RequiredError}
|
|
1002
|
-
* @memberof
|
|
1002
|
+
* @memberof ServiceReviewsApi
|
|
1003
1003
|
*/
|
|
1004
|
-
|
|
1004
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1005
1005
|
var _this = this;
|
|
1006
|
-
return (0, exports.
|
|
1006
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1007
1007
|
};
|
|
1008
1008
|
/**
|
|
1009
1009
|
*
|
|
@@ -1011,11 +1011,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1011
1011
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
1012
1012
|
* @param {*} [options] Override http request option.
|
|
1013
1013
|
* @throws {RequiredError}
|
|
1014
|
-
* @memberof
|
|
1014
|
+
* @memberof ServiceReviewsApi
|
|
1015
1015
|
*/
|
|
1016
|
-
|
|
1016
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsPost = function (createServiceReviewCommand, options) {
|
|
1017
1017
|
var _this = this;
|
|
1018
|
-
return (0, exports.
|
|
1018
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1019
1019
|
};
|
|
1020
1020
|
/**
|
|
1021
1021
|
*
|
|
@@ -1023,11 +1023,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1023
1023
|
* @param {string} serviceReviewId
|
|
1024
1024
|
* @param {*} [options] Override http request option.
|
|
1025
1025
|
* @throws {RequiredError}
|
|
1026
|
-
* @memberof
|
|
1026
|
+
* @memberof ServiceReviewsApi
|
|
1027
1027
|
*/
|
|
1028
|
-
|
|
1028
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
1029
1029
|
var _this = this;
|
|
1030
|
-
return (0, exports.
|
|
1030
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1031
1031
|
};
|
|
1032
1032
|
/**
|
|
1033
1033
|
*
|
|
@@ -1036,11 +1036,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1036
1036
|
* @param {string} [languageCode]
|
|
1037
1037
|
* @param {*} [options] Override http request option.
|
|
1038
1038
|
* @throws {RequiredError}
|
|
1039
|
-
* @memberof
|
|
1039
|
+
* @memberof ServiceReviewsApi
|
|
1040
1040
|
*/
|
|
1041
|
-
|
|
1041
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, options) {
|
|
1042
1042
|
var _this = this;
|
|
1043
|
-
return (0, exports.
|
|
1043
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1044
1044
|
};
|
|
1045
1045
|
/**
|
|
1046
1046
|
*
|
|
@@ -1053,11 +1053,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1053
1053
|
* @param {Date} [lastRetrieved]
|
|
1054
1054
|
* @param {*} [options] Override http request option.
|
|
1055
1055
|
* @throws {RequiredError}
|
|
1056
|
-
* @memberof
|
|
1056
|
+
* @memberof ServiceReviewsApi
|
|
1057
1057
|
*/
|
|
1058
|
-
|
|
1058
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdMediasGet = function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
1059
1059
|
var _this = this;
|
|
1060
|
-
return (0, exports.
|
|
1060
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1061
1061
|
};
|
|
1062
1062
|
/**
|
|
1063
1063
|
*
|
|
@@ -1066,11 +1066,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1066
1066
|
* @param {string} mediaId
|
|
1067
1067
|
* @param {*} [options] Override http request option.
|
|
1068
1068
|
* @throws {RequiredError}
|
|
1069
|
-
* @memberof
|
|
1069
|
+
* @memberof ServiceReviewsApi
|
|
1070
1070
|
*/
|
|
1071
|
-
|
|
1071
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete = function (serviceReviewId, mediaId, options) {
|
|
1072
1072
|
var _this = this;
|
|
1073
|
-
return (0, exports.
|
|
1073
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1074
1074
|
};
|
|
1075
1075
|
/**
|
|
1076
1076
|
*
|
|
@@ -1079,11 +1079,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1079
1079
|
* @param {string} mediaId
|
|
1080
1080
|
* @param {*} [options] Override http request option.
|
|
1081
1081
|
* @throws {RequiredError}
|
|
1082
|
-
* @memberof
|
|
1082
|
+
* @memberof ServiceReviewsApi
|
|
1083
1083
|
*/
|
|
1084
|
-
|
|
1084
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet = function (serviceReviewId, mediaId, options) {
|
|
1085
1085
|
var _this = this;
|
|
1086
|
-
return (0, exports.
|
|
1086
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1087
1087
|
};
|
|
1088
1088
|
/**
|
|
1089
1089
|
*
|
|
@@ -1093,11 +1093,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1093
1093
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
1094
1094
|
* @param {*} [options] Override http request option.
|
|
1095
1095
|
* @throws {RequiredError}
|
|
1096
|
-
* @memberof
|
|
1096
|
+
* @memberof ServiceReviewsApi
|
|
1097
1097
|
*/
|
|
1098
|
-
|
|
1098
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut = function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
1099
1099
|
var _this = this;
|
|
1100
|
-
return (0, exports.
|
|
1100
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1101
1101
|
};
|
|
1102
1102
|
/**
|
|
1103
1103
|
*
|
|
@@ -1106,11 +1106,11 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1106
1106
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
1107
1107
|
* @param {*} [options] Override http request option.
|
|
1108
1108
|
* @throws {RequiredError}
|
|
1109
|
-
* @memberof
|
|
1109
|
+
* @memberof ServiceReviewsApi
|
|
1110
1110
|
*/
|
|
1111
|
-
|
|
1111
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdMediasPost = function (serviceReviewId, createMediaCommand, options) {
|
|
1112
1112
|
var _this = this;
|
|
1113
|
-
return (0, exports.
|
|
1113
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1114
1114
|
};
|
|
1115
1115
|
/**
|
|
1116
1116
|
*
|
|
@@ -1119,12 +1119,12 @@ var V2ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
1119
1119
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
1120
1120
|
* @param {*} [options] Override http request option.
|
|
1121
1121
|
* @throws {RequiredError}
|
|
1122
|
-
* @memberof
|
|
1122
|
+
* @memberof ServiceReviewsApi
|
|
1123
1123
|
*/
|
|
1124
|
-
|
|
1124
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdPut = function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
1125
1125
|
var _this = this;
|
|
1126
|
-
return (0, exports.
|
|
1126
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1127
1127
|
};
|
|
1128
|
-
return
|
|
1128
|
+
return ServiceReviewsApi;
|
|
1129
1129
|
}(base_1.BaseAPI));
|
|
1130
|
-
exports.
|
|
1130
|
+
exports.ServiceReviewsApi = ServiceReviewsApi;
|