ch-api-client-typescript2 4.9.1 → 4.9.2
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
|
@@ -43,10 +43,10 @@ import { UpdateMediaCommand } from '../models';
|
|
|
43
43
|
// @ts-ignore
|
|
44
44
|
import { UpdateServiceReviewCommand } from '../models';
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* ServiceReviewsApi - axios parameter creator
|
|
47
47
|
* @export
|
|
48
48
|
*/
|
|
49
|
-
export const
|
|
49
|
+
export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
50
50
|
return {
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
@@ -70,8 +70,8 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
73
|
-
|
|
74
|
-
const localVarPath = `/
|
|
73
|
+
apiV2ServicereviewsGet: async (id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74
|
+
const localVarPath = `/api/v2/servicereviews`;
|
|
75
75
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
76
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
77
77
|
let baseOptions;
|
|
@@ -167,8 +167,8 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
|
|
171
|
-
const localVarPath = `/
|
|
170
|
+
apiV2ServicereviewsPost: async (createServiceReviewCommand?: CreateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
+
const localVarPath = `/api/v2/servicereviews`;
|
|
172
172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
174
|
let baseOptions;
|
|
@@ -205,10 +205,10 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
apiV2ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
209
209
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
210
|
-
assertParamExists('
|
|
211
|
-
const localVarPath = `/
|
|
210
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
|
|
211
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
212
212
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
213
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -244,10 +244,10 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
apiV2ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
248
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
249
|
-
assertParamExists('
|
|
250
|
-
const localVarPath = `/
|
|
249
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
|
|
250
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
251
251
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
252
252
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
253
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -287,10 +287,10 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
287
287
|
* @param {*} [options] Override http request option.
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
apiV2ServicereviewsServiceReviewIdMediasGet: async (serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
291
291
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
292
|
-
assertParamExists('
|
|
293
|
-
const localVarPath = `/
|
|
292
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId)
|
|
293
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias`
|
|
294
294
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
295
295
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
296
296
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -344,12 +344,12 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
346
346
|
*/
|
|
347
|
-
|
|
347
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
348
348
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
349
|
-
assertParamExists('
|
|
349
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId)
|
|
350
350
|
// verify required parameter 'mediaId' is not null or undefined
|
|
351
|
-
assertParamExists('
|
|
352
|
-
const localVarPath = `/
|
|
351
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
352
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
353
353
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
354
354
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
355
355
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -386,12 +386,12 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
386
386
|
* @param {*} [options] Override http request option.
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
389
|
-
|
|
389
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet: async (serviceReviewId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
390
390
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
391
|
-
assertParamExists('
|
|
391
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId)
|
|
392
392
|
// verify required parameter 'mediaId' is not null or undefined
|
|
393
|
-
assertParamExists('
|
|
394
|
-
const localVarPath = `/
|
|
393
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
394
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
395
395
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
396
396
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
397
397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -425,12 +425,12 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
426
426
|
* @throws {RequiredError}
|
|
427
427
|
*/
|
|
428
|
-
|
|
428
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut: async (serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
429
429
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
430
|
-
assertParamExists('
|
|
430
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId)
|
|
431
431
|
// verify required parameter 'mediaId' is not null or undefined
|
|
432
|
-
assertParamExists('
|
|
433
|
-
const localVarPath = `/
|
|
432
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
433
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias/{mediaId}`
|
|
434
434
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)))
|
|
435
435
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
436
436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -470,10 +470,10 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
472
|
*/
|
|
473
|
-
|
|
473
|
+
apiV2ServicereviewsServiceReviewIdMediasPost: async (serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
474
474
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
475
|
-
assertParamExists('
|
|
476
|
-
const localVarPath = `/
|
|
475
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId)
|
|
476
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}/medias`
|
|
477
477
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
478
478
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
479
479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -512,10 +512,10 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
512
512
|
* @param {*} [options] Override http request option.
|
|
513
513
|
* @throws {RequiredError}
|
|
514
514
|
*/
|
|
515
|
-
|
|
515
|
+
apiV2ServicereviewsServiceReviewIdPut: async (serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
516
516
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
517
|
-
assertParamExists('
|
|
518
|
-
const localVarPath = `/
|
|
517
|
+
assertParamExists('apiV2ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId)
|
|
518
|
+
const localVarPath = `/api/v2/servicereviews/{serviceReviewId}`
|
|
519
519
|
.replace(`{${"serviceReviewId"}}`, encodeURIComponent(String(serviceReviewId)));
|
|
520
520
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
521
521
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -550,11 +550,11 @@ export const V2ServiceReviewsApiAxiosParamCreator = function (configuration?: Co
|
|
|
550
550
|
};
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
|
-
*
|
|
553
|
+
* ServiceReviewsApi - functional programming interface
|
|
554
554
|
* @export
|
|
555
555
|
*/
|
|
556
|
-
export const
|
|
557
|
-
const localVarAxiosParamCreator =
|
|
556
|
+
export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
557
|
+
const localVarAxiosParamCreator = ServiceReviewsApiAxiosParamCreator(configuration)
|
|
558
558
|
return {
|
|
559
559
|
/**
|
|
560
560
|
*
|
|
@@ -578,8 +578,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
578
578
|
* @param {*} [options] Override http request option.
|
|
579
579
|
* @throws {RequiredError}
|
|
580
580
|
*/
|
|
581
|
-
async
|
|
582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
581
|
+
async apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
582
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
583
583
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
584
584
|
},
|
|
585
585
|
/**
|
|
@@ -589,8 +589,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
589
589
|
* @param {*} [options] Override http request option.
|
|
590
590
|
* @throws {RequiredError}
|
|
591
591
|
*/
|
|
592
|
-
async
|
|
593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
592
|
+
async apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsPost(createServiceReviewCommand, options);
|
|
594
594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
595
595
|
},
|
|
596
596
|
/**
|
|
@@ -600,8 +600,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
600
600
|
* @param {*} [options] Override http request option.
|
|
601
601
|
* @throws {RequiredError}
|
|
602
602
|
*/
|
|
603
|
-
async
|
|
604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
603
|
+
async apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options);
|
|
605
605
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
606
606
|
},
|
|
607
607
|
/**
|
|
@@ -612,8 +612,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
615
|
-
async
|
|
616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
615
|
+
async apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
616
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
|
|
617
617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
618
618
|
},
|
|
619
619
|
/**
|
|
@@ -628,8 +628,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
628
628
|
* @param {*} [options] Override http request option.
|
|
629
629
|
* @throws {RequiredError}
|
|
630
630
|
*/
|
|
631
|
-
async
|
|
632
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
631
|
+
async apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
632
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options);
|
|
633
633
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
634
634
|
},
|
|
635
635
|
/**
|
|
@@ -640,8 +640,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
640
640
|
* @param {*} [options] Override http request option.
|
|
641
641
|
* @throws {RequiredError}
|
|
642
642
|
*/
|
|
643
|
-
async
|
|
644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
643
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
644
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options);
|
|
645
645
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
646
646
|
},
|
|
647
647
|
/**
|
|
@@ -652,8 +652,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
652
652
|
* @param {*} [options] Override http request option.
|
|
653
653
|
* @throws {RequiredError}
|
|
654
654
|
*/
|
|
655
|
-
async
|
|
656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
655
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options);
|
|
657
657
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
658
|
},
|
|
659
659
|
/**
|
|
@@ -665,8 +665,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
665
665
|
* @param {*} [options] Override http request option.
|
|
666
666
|
* @throws {RequiredError}
|
|
667
667
|
*/
|
|
668
|
-
async
|
|
669
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
668
|
+
async apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options);
|
|
670
670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
671
671
|
},
|
|
672
672
|
/**
|
|
@@ -677,8 +677,8 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
677
677
|
* @param {*} [options] Override http request option.
|
|
678
678
|
* @throws {RequiredError}
|
|
679
679
|
*/
|
|
680
|
-
async
|
|
681
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
680
|
+
async apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options);
|
|
682
682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
683
683
|
},
|
|
684
684
|
/**
|
|
@@ -689,19 +689,19 @@ export const V2ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
689
689
|
* @param {*} [options] Override http request option.
|
|
690
690
|
* @throws {RequiredError}
|
|
691
691
|
*/
|
|
692
|
-
async
|
|
693
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
692
|
+
async apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
|
|
693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options);
|
|
694
694
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
695
695
|
},
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
698
|
|
|
699
699
|
/**
|
|
700
|
-
*
|
|
700
|
+
* ServiceReviewsApi - factory interface
|
|
701
701
|
* @export
|
|
702
702
|
*/
|
|
703
|
-
export const
|
|
704
|
-
const localVarFp =
|
|
703
|
+
export const ServiceReviewsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
704
|
+
const localVarFp = ServiceReviewsApiFp(configuration)
|
|
705
705
|
return {
|
|
706
706
|
/**
|
|
707
707
|
*
|
|
@@ -725,8 +725,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
725
725
|
* @param {*} [options] Override http request option.
|
|
726
726
|
* @throws {RequiredError}
|
|
727
727
|
*/
|
|
728
|
-
|
|
729
|
-
return localVarFp.
|
|
728
|
+
apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
729
|
+
return localVarFp.apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
730
730
|
},
|
|
731
731
|
/**
|
|
732
732
|
*
|
|
@@ -735,8 +735,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
735
735
|
* @param {*} [options] Override http request option.
|
|
736
736
|
* @throws {RequiredError}
|
|
737
737
|
*/
|
|
738
|
-
|
|
739
|
-
return localVarFp.
|
|
738
|
+
apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
739
|
+
return localVarFp.apiV2ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
740
740
|
},
|
|
741
741
|
/**
|
|
742
742
|
*
|
|
@@ -745,8 +745,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
745
745
|
* @param {*} [options] Override http request option.
|
|
746
746
|
* @throws {RequiredError}
|
|
747
747
|
*/
|
|
748
|
-
|
|
749
|
-
return localVarFp.
|
|
748
|
+
apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
|
|
749
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
|
|
750
750
|
},
|
|
751
751
|
/**
|
|
752
752
|
*
|
|
@@ -756,8 +756,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
756
756
|
* @param {*} [options] Override http request option.
|
|
757
757
|
* @throws {RequiredError}
|
|
758
758
|
*/
|
|
759
|
-
|
|
760
|
-
return localVarFp.
|
|
759
|
+
apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
760
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
|
|
761
761
|
},
|
|
762
762
|
/**
|
|
763
763
|
*
|
|
@@ -771,8 +771,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
771
771
|
* @param {*} [options] Override http request option.
|
|
772
772
|
* @throws {RequiredError}
|
|
773
773
|
*/
|
|
774
|
-
|
|
775
|
-
return localVarFp.
|
|
774
|
+
apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
775
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
776
776
|
},
|
|
777
777
|
/**
|
|
778
778
|
*
|
|
@@ -782,8 +782,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
782
782
|
* @param {*} [options] Override http request option.
|
|
783
783
|
* @throws {RequiredError}
|
|
784
784
|
*/
|
|
785
|
-
|
|
786
|
-
return localVarFp.
|
|
785
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
786
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
787
787
|
},
|
|
788
788
|
/**
|
|
789
789
|
*
|
|
@@ -793,8 +793,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
793
793
|
* @param {*} [options] Override http request option.
|
|
794
794
|
* @throws {RequiredError}
|
|
795
795
|
*/
|
|
796
|
-
|
|
797
|
-
return localVarFp.
|
|
796
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
797
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(axios, basePath));
|
|
798
798
|
},
|
|
799
799
|
/**
|
|
800
800
|
*
|
|
@@ -805,8 +805,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
805
805
|
* @param {*} [options] Override http request option.
|
|
806
806
|
* @throws {RequiredError}
|
|
807
807
|
*/
|
|
808
|
-
|
|
809
|
-
return localVarFp.
|
|
808
|
+
apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
809
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
810
810
|
},
|
|
811
811
|
/**
|
|
812
812
|
*
|
|
@@ -816,8 +816,8 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
816
816
|
* @param {*} [options] Override http request option.
|
|
817
817
|
* @throws {RequiredError}
|
|
818
818
|
*/
|
|
819
|
-
|
|
820
|
-
return localVarFp.
|
|
819
|
+
apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
820
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
821
821
|
},
|
|
822
822
|
/**
|
|
823
823
|
*
|
|
@@ -827,19 +827,19 @@ export const V2ServiceReviewsApiFactory = function (configuration?: Configuratio
|
|
|
827
827
|
* @param {*} [options] Override http request option.
|
|
828
828
|
* @throws {RequiredError}
|
|
829
829
|
*/
|
|
830
|
-
|
|
831
|
-
return localVarFp.
|
|
830
|
+
apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: any): AxiosPromise<ServiceReviewModel> {
|
|
831
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(axios, basePath));
|
|
832
832
|
},
|
|
833
833
|
};
|
|
834
834
|
};
|
|
835
835
|
|
|
836
836
|
/**
|
|
837
|
-
*
|
|
837
|
+
* ServiceReviewsApi - object-oriented interface
|
|
838
838
|
* @export
|
|
839
|
-
* @class
|
|
839
|
+
* @class ServiceReviewsApi
|
|
840
840
|
* @extends {BaseAPI}
|
|
841
841
|
*/
|
|
842
|
-
export class
|
|
842
|
+
export class ServiceReviewsApi extends BaseAPI {
|
|
843
843
|
/**
|
|
844
844
|
*
|
|
845
845
|
* @summary Get all ServiceReviews.
|
|
@@ -861,10 +861,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
861
861
|
* @param {Date} [lastRetrieved]
|
|
862
862
|
* @param {*} [options] Override http request option.
|
|
863
863
|
* @throws {RequiredError}
|
|
864
|
-
* @memberof
|
|
864
|
+
* @memberof ServiceReviewsApi
|
|
865
865
|
*/
|
|
866
|
-
public
|
|
867
|
-
return
|
|
866
|
+
public apiV2ServicereviewsGet(id?: string, hospitalId?: string, hospitalSpecialtyId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
867
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(id, hospitalId, hospitalSpecialtyId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
/**
|
|
@@ -873,10 +873,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
873
873
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
874
874
|
* @param {*} [options] Override http request option.
|
|
875
875
|
* @throws {RequiredError}
|
|
876
|
-
* @memberof
|
|
876
|
+
* @memberof ServiceReviewsApi
|
|
877
877
|
*/
|
|
878
|
-
public
|
|
879
|
-
return
|
|
878
|
+
public apiV2ServicereviewsPost(createServiceReviewCommand?: CreateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
879
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsPost(createServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
880
880
|
}
|
|
881
881
|
|
|
882
882
|
/**
|
|
@@ -885,10 +885,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
885
885
|
* @param {string} serviceReviewId
|
|
886
886
|
* @param {*} [options] Override http request option.
|
|
887
887
|
* @throws {RequiredError}
|
|
888
|
-
* @memberof
|
|
888
|
+
* @memberof ServiceReviewsApi
|
|
889
889
|
*/
|
|
890
|
-
public
|
|
891
|
-
return
|
|
890
|
+
public apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
|
|
891
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
|
|
892
892
|
}
|
|
893
893
|
|
|
894
894
|
/**
|
|
@@ -898,10 +898,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
898
898
|
* @param {string} [languageCode]
|
|
899
899
|
* @param {*} [options] Override http request option.
|
|
900
900
|
* @throws {RequiredError}
|
|
901
|
-
* @memberof
|
|
901
|
+
* @memberof ServiceReviewsApi
|
|
902
902
|
*/
|
|
903
|
-
public
|
|
904
|
-
return
|
|
903
|
+
public apiV2ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
904
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
/**
|
|
@@ -915,10 +915,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
915
915
|
* @param {Date} [lastRetrieved]
|
|
916
916
|
* @param {*} [options] Override http request option.
|
|
917
917
|
* @throws {RequiredError}
|
|
918
|
-
* @memberof
|
|
918
|
+
* @memberof ServiceReviewsApi
|
|
919
919
|
*/
|
|
920
|
-
public
|
|
921
|
-
return
|
|
920
|
+
public apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
921
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
/**
|
|
@@ -928,10 +928,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
928
928
|
* @param {string} mediaId
|
|
929
929
|
* @param {*} [options] Override http request option.
|
|
930
930
|
* @throws {RequiredError}
|
|
931
|
-
* @memberof
|
|
931
|
+
* @memberof ServiceReviewsApi
|
|
932
932
|
*/
|
|
933
|
-
public
|
|
934
|
-
return
|
|
933
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
934
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
/**
|
|
@@ -941,10 +941,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
941
941
|
* @param {string} mediaId
|
|
942
942
|
* @param {*} [options] Override http request option.
|
|
943
943
|
* @throws {RequiredError}
|
|
944
|
-
* @memberof
|
|
944
|
+
* @memberof ServiceReviewsApi
|
|
945
945
|
*/
|
|
946
|
-
public
|
|
947
|
-
return
|
|
946
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
947
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
/**
|
|
@@ -955,10 +955,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
955
955
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
956
956
|
* @param {*} [options] Override http request option.
|
|
957
957
|
* @throws {RequiredError}
|
|
958
|
-
* @memberof
|
|
958
|
+
* @memberof ServiceReviewsApi
|
|
959
959
|
*/
|
|
960
|
-
public
|
|
961
|
-
return
|
|
960
|
+
public apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
961
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
962
962
|
}
|
|
963
963
|
|
|
964
964
|
/**
|
|
@@ -968,10 +968,10 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
968
968
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
969
969
|
* @param {*} [options] Override http request option.
|
|
970
970
|
* @throws {RequiredError}
|
|
971
|
-
* @memberof
|
|
971
|
+
* @memberof ServiceReviewsApi
|
|
972
972
|
*/
|
|
973
|
-
public
|
|
974
|
-
return
|
|
973
|
+
public apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
974
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
975
975
|
}
|
|
976
976
|
|
|
977
977
|
/**
|
|
@@ -981,9 +981,9 @@ export class V2ServiceReviewsApi extends BaseAPI {
|
|
|
981
981
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
982
982
|
* @param {*} [options] Override http request option.
|
|
983
983
|
* @throws {RequiredError}
|
|
984
|
-
* @memberof
|
|
984
|
+
* @memberof ServiceReviewsApi
|
|
985
985
|
*/
|
|
986
|
-
public
|
|
987
|
-
return
|
|
986
|
+
public apiV2ServicereviewsServiceReviewIdPut(serviceReviewId: string, updateServiceReviewCommand?: UpdateServiceReviewCommand, options?: AxiosRequestConfig) {
|
|
987
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then((request) => request(this.axios, this.basePath));
|
|
988
988
|
}
|
|
989
989
|
}
|