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
|
@@ -35,10 +35,10 @@ import { SpecialtyTypesModel } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { SpecialtyTypesSimpleModel } from '../models';
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* SpecialtyTypesApi - axios parameter creator
|
|
39
39
|
* @export
|
|
40
40
|
*/
|
|
41
|
-
export const
|
|
41
|
+
export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
42
|
return {
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
@@ -60,8 +60,8 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
|
|
64
|
-
const localVarPath = `/
|
|
63
|
+
apiV2SpecialtytypesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64
|
+
const localVarPath = `/api/v2/specialtytypes`;
|
|
65
65
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66
66
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
67
67
|
let baseOptions;
|
|
@@ -164,8 +164,8 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
|
|
168
|
-
const localVarPath = `/
|
|
167
|
+
apiV2SpecialtytypesSimpleGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
168
|
+
const localVarPath = `/api/v2/specialtytypes/simple`;
|
|
169
169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
170
170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
171
171
|
let baseOptions;
|
|
@@ -257,10 +257,10 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
260
|
-
|
|
260
|
+
apiV2SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
261
|
// verify required parameter 'slug' is not null or undefined
|
|
262
|
-
assertParamExists('
|
|
263
|
-
const localVarPath = `/
|
|
262
|
+
assertParamExists('apiV2SpecialtytypesSlugGet', 'slug', slug)
|
|
263
|
+
const localVarPath = `/api/v2/specialtytypes/{slug}`
|
|
264
264
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
265
265
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
266
266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -301,10 +301,10 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
301
301
|
* @param {*} [options] Override http request option.
|
|
302
302
|
* @throws {RequiredError}
|
|
303
303
|
*/
|
|
304
|
-
|
|
304
|
+
apiV2SpecialtytypesSpecialtyTypeIdGet: async (specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
305
305
|
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
306
|
-
assertParamExists('
|
|
307
|
-
const localVarPath = `/
|
|
306
|
+
assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
307
|
+
const localVarPath = `/api/v2/specialtytypes/{specialtyTypeId}`
|
|
308
308
|
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
309
309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
310
310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -348,10 +348,10 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
apiV2SpecialtytypesSpecialtyTypeIdMediasGet: async (specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
352
352
|
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
353
|
-
assertParamExists('
|
|
354
|
-
const localVarPath = `/
|
|
353
|
+
assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasGet', 'specialtyTypeId', specialtyTypeId)
|
|
354
|
+
const localVarPath = `/api/v2/specialtytypes/{specialtyTypeId}/medias`
|
|
355
355
|
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)));
|
|
356
356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
357
357
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -405,12 +405,12 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
*/
|
|
408
|
-
|
|
408
|
+
apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet: async (specialtyTypeId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
409
409
|
// verify required parameter 'specialtyTypeId' is not null or undefined
|
|
410
|
-
assertParamExists('
|
|
410
|
+
assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'specialtyTypeId', specialtyTypeId)
|
|
411
411
|
// verify required parameter 'mediaId' is not null or undefined
|
|
412
|
-
assertParamExists('
|
|
413
|
-
const localVarPath = `/
|
|
412
|
+
assertParamExists('apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
413
|
+
const localVarPath = `/api/v2/specialtytypes/{specialtyTypeId}/medias/{mediaId}`
|
|
414
414
|
.replace(`{${"specialtyTypeId"}}`, encodeURIComponent(String(specialtyTypeId)))
|
|
415
415
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
416
416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -439,11 +439,11 @@ export const V2SpecialtyTypesApiAxiosParamCreator = function (configuration?: Co
|
|
|
439
439
|
};
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
|
-
*
|
|
442
|
+
* SpecialtyTypesApi - functional programming interface
|
|
443
443
|
* @export
|
|
444
444
|
*/
|
|
445
|
-
export const
|
|
446
|
-
const localVarAxiosParamCreator =
|
|
445
|
+
export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
446
|
+
const localVarAxiosParamCreator = SpecialtyTypesApiAxiosParamCreator(configuration)
|
|
447
447
|
return {
|
|
448
448
|
/**
|
|
449
449
|
*
|
|
@@ -465,8 +465,8 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
465
465
|
* @param {*} [options] Override http request option.
|
|
466
466
|
* @throws {RequiredError}
|
|
467
467
|
*/
|
|
468
|
-
async
|
|
469
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
468
|
+
async apiV2SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
470
470
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
471
471
|
},
|
|
472
472
|
/**
|
|
@@ -489,8 +489,8 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
492
|
-
async
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
492
|
+
async apiV2SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>> {
|
|
493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
494
494
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
495
|
},
|
|
496
496
|
/**
|
|
@@ -502,8 +502,8 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
503
503
|
* @throws {RequiredError}
|
|
504
504
|
*/
|
|
505
|
-
async
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
505
|
+
async apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
507
507
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
508
|
},
|
|
509
509
|
/**
|
|
@@ -515,8 +515,8 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
515
515
|
* @param {*} [options] Override http request option.
|
|
516
516
|
* @throws {RequiredError}
|
|
517
517
|
*/
|
|
518
|
-
async
|
|
519
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
518
|
+
async apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
519
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options);
|
|
520
520
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
521
521
|
},
|
|
522
522
|
/**
|
|
@@ -531,8 +531,8 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
532
532
|
* @throws {RequiredError}
|
|
533
533
|
*/
|
|
534
|
-
async
|
|
535
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
534
|
+
async apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
535
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options);
|
|
536
536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
537
537
|
},
|
|
538
538
|
/**
|
|
@@ -543,19 +543,19 @@ export const V2SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
543
543
|
* @param {*} [options] Override http request option.
|
|
544
544
|
* @throws {RequiredError}
|
|
545
545
|
*/
|
|
546
|
-
async
|
|
547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
546
|
+
async apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
547
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options);
|
|
548
548
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
549
549
|
},
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
|
-
*
|
|
554
|
+
* SpecialtyTypesApi - factory interface
|
|
555
555
|
* @export
|
|
556
556
|
*/
|
|
557
|
-
export const
|
|
558
|
-
const localVarFp =
|
|
557
|
+
export const SpecialtyTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
558
|
+
const localVarFp = SpecialtyTypesApiFp(configuration)
|
|
559
559
|
return {
|
|
560
560
|
/**
|
|
561
561
|
*
|
|
@@ -577,8 +577,8 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
577
577
|
* @param {*} [options] Override http request option.
|
|
578
578
|
* @throws {RequiredError}
|
|
579
579
|
*/
|
|
580
|
-
|
|
581
|
-
return localVarFp.
|
|
580
|
+
apiV2SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
581
|
+
return localVarFp.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
582
582
|
},
|
|
583
583
|
/**
|
|
584
584
|
*
|
|
@@ -600,8 +600,8 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
600
600
|
* @param {*} [options] Override http request option.
|
|
601
601
|
* @throws {RequiredError}
|
|
602
602
|
*/
|
|
603
|
-
|
|
604
|
-
return localVarFp.
|
|
603
|
+
apiV2SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel> {
|
|
604
|
+
return localVarFp.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
605
605
|
},
|
|
606
606
|
/**
|
|
607
607
|
*
|
|
@@ -612,8 +612,8 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
615
|
-
|
|
616
|
-
return localVarFp.
|
|
615
|
+
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
616
|
+
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
617
617
|
},
|
|
618
618
|
/**
|
|
619
619
|
*
|
|
@@ -624,8 +624,8 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
624
624
|
* @param {*} [options] Override http request option.
|
|
625
625
|
* @throws {RequiredError}
|
|
626
626
|
*/
|
|
627
|
-
|
|
628
|
-
return localVarFp.
|
|
627
|
+
apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
628
|
+
return localVarFp.apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
629
629
|
},
|
|
630
630
|
/**
|
|
631
631
|
*
|
|
@@ -639,8 +639,8 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
639
639
|
* @param {*} [options] Override http request option.
|
|
640
640
|
* @throws {RequiredError}
|
|
641
641
|
*/
|
|
642
|
-
|
|
643
|
-
return localVarFp.
|
|
642
|
+
apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
643
|
+
return localVarFp.apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
644
644
|
},
|
|
645
645
|
/**
|
|
646
646
|
*
|
|
@@ -650,19 +650,19 @@ export const V2SpecialtyTypesApiFactory = function (configuration?: Configuratio
|
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
651
651
|
* @throws {RequiredError}
|
|
652
652
|
*/
|
|
653
|
-
|
|
654
|
-
return localVarFp.
|
|
653
|
+
apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
654
|
+
return localVarFp.apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options).then((request) => request(axios, basePath));
|
|
655
655
|
},
|
|
656
656
|
};
|
|
657
657
|
};
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
|
-
*
|
|
660
|
+
* SpecialtyTypesApi - object-oriented interface
|
|
661
661
|
* @export
|
|
662
|
-
* @class
|
|
662
|
+
* @class SpecialtyTypesApi
|
|
663
663
|
* @extends {BaseAPI}
|
|
664
664
|
*/
|
|
665
|
-
export class
|
|
665
|
+
export class SpecialtyTypesApi extends BaseAPI {
|
|
666
666
|
/**
|
|
667
667
|
*
|
|
668
668
|
* @summary Get all Departments.
|
|
@@ -682,10 +682,10 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
682
682
|
* @param {Date} [lastRetrieved]
|
|
683
683
|
* @param {*} [options] Override http request option.
|
|
684
684
|
* @throws {RequiredError}
|
|
685
|
-
* @memberof
|
|
685
|
+
* @memberof SpecialtyTypesApi
|
|
686
686
|
*/
|
|
687
|
-
public
|
|
688
|
-
return
|
|
687
|
+
public apiV2SpecialtytypesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
688
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
/**
|
|
@@ -707,10 +707,10 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
707
707
|
* @param {Date} [lastRetrieved]
|
|
708
708
|
* @param {*} [options] Override http request option.
|
|
709
709
|
* @throws {RequiredError}
|
|
710
|
-
* @memberof
|
|
710
|
+
* @memberof SpecialtyTypesApi
|
|
711
711
|
*/
|
|
712
|
-
public
|
|
713
|
-
return
|
|
712
|
+
public apiV2SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
713
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
/**
|
|
@@ -721,10 +721,10 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
721
721
|
* @param {boolean} [returnDefaultValue]
|
|
722
722
|
* @param {*} [options] Override http request option.
|
|
723
723
|
* @throws {RequiredError}
|
|
724
|
-
* @memberof
|
|
724
|
+
* @memberof SpecialtyTypesApi
|
|
725
725
|
*/
|
|
726
|
-
public
|
|
727
|
-
return
|
|
726
|
+
public apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
727
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
/**
|
|
@@ -735,10 +735,10 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
735
735
|
* @param {boolean} [returnDefaultValue]
|
|
736
736
|
* @param {*} [options] Override http request option.
|
|
737
737
|
* @throws {RequiredError}
|
|
738
|
-
* @memberof
|
|
738
|
+
* @memberof SpecialtyTypesApi
|
|
739
739
|
*/
|
|
740
|
-
public
|
|
741
|
-
return
|
|
740
|
+
public apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
741
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSpecialtyTypeIdGet(specialtyTypeId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
/**
|
|
@@ -752,10 +752,10 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
752
752
|
* @param {Date} [lastRetrieved]
|
|
753
753
|
* @param {*} [options] Override http request option.
|
|
754
754
|
* @throws {RequiredError}
|
|
755
|
-
* @memberof
|
|
755
|
+
* @memberof SpecialtyTypesApi
|
|
756
756
|
*/
|
|
757
|
-
public
|
|
758
|
-
return
|
|
757
|
+
public apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
758
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSpecialtyTypeIdMediasGet(specialtyTypeId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
/**
|
|
@@ -765,9 +765,9 @@ export class V2SpecialtyTypesApi extends BaseAPI {
|
|
|
765
765
|
* @param {string} mediaId
|
|
766
766
|
* @param {*} [options] Override http request option.
|
|
767
767
|
* @throws {RequiredError}
|
|
768
|
-
* @memberof
|
|
768
|
+
* @memberof SpecialtyTypesApi
|
|
769
769
|
*/
|
|
770
|
-
public
|
|
771
|
-
return
|
|
770
|
+
public apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
771
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSpecialtyTypeIdMediasMediaIdGet(specialtyTypeId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
772
772
|
}
|
|
773
773
|
}
|
|
@@ -23,10 +23,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { SurveyFormModel } from '../models';
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* SurveyFormsApi - axios parameter creator
|
|
27
27
|
* @export
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -36,10 +36,10 @@ export const V2SurveyFormsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
apiV2SurveyformsSurveyFormIdGet: async (surveyFormId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
40
|
// verify required parameter 'surveyFormId' is not null or undefined
|
|
41
|
-
assertParamExists('
|
|
42
|
-
const localVarPath = `/
|
|
41
|
+
assertParamExists('apiV2SurveyformsSurveyFormIdGet', 'surveyFormId', surveyFormId)
|
|
42
|
+
const localVarPath = `/api/v2/surveyforms/{surveyFormId}`
|
|
43
43
|
.replace(`{${"surveyFormId"}}`, encodeURIComponent(String(surveyFormId)));
|
|
44
44
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
45
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -71,11 +71,11 @@ export const V2SurveyFormsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* SurveyFormsApi - functional programming interface
|
|
75
75
|
* @export
|
|
76
76
|
*/
|
|
77
|
-
export const
|
|
78
|
-
const localVarAxiosParamCreator =
|
|
77
|
+
export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
78
|
+
const localVarAxiosParamCreator = SurveyFormsApiAxiosParamCreator(configuration)
|
|
79
79
|
return {
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
@@ -85,19 +85,19 @@ export const V2SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
|
-
async
|
|
89
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
88
|
+
async apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>> {
|
|
89
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options);
|
|
90
90
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
91
91
|
},
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* SurveyFormsApi - factory interface
|
|
97
97
|
* @export
|
|
98
98
|
*/
|
|
99
|
-
export const
|
|
100
|
-
const localVarFp =
|
|
99
|
+
export const SurveyFormsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
100
|
+
const localVarFp = SurveyFormsApiFp(configuration)
|
|
101
101
|
return {
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
@@ -107,19 +107,19 @@ export const V2SurveyFormsApiFactory = function (configuration?: Configuration,
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
|
|
111
|
-
return localVarFp.
|
|
110
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: any): AxiosPromise<SurveyFormModel> {
|
|
111
|
+
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then((request) => request(axios, basePath));
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* SurveyFormsApi - object-oriented interface
|
|
118
118
|
* @export
|
|
119
|
-
* @class
|
|
119
|
+
* @class SurveyFormsApi
|
|
120
120
|
* @extends {BaseAPI}
|
|
121
121
|
*/
|
|
122
|
-
export class
|
|
122
|
+
export class SurveyFormsApi extends BaseAPI {
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
* @summary Get survey form by id
|
|
@@ -127,9 +127,9 @@ export class V2SurveyFormsApi extends BaseAPI {
|
|
|
127
127
|
* @param {string} [languageCode]
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
|
-
* @memberof
|
|
130
|
+
* @memberof SurveyFormsApi
|
|
131
131
|
*/
|
|
132
|
-
public
|
|
133
|
-
return
|
|
132
|
+
public apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
133
|
+
return SurveyFormsApiFp(this.configuration).apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -23,10 +23,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateSurveyResultCommand } from '../models';
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* SurveyResultsApi - axios parameter creator
|
|
27
27
|
* @export
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const SurveyResultsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -35,8 +35,8 @@ export const V2SurveyResultsApiAxiosParamCreator = function (configuration?: Con
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
|
|
39
|
-
const localVarPath = `/
|
|
38
|
+
apiV2SurveyresultsPost: async (createSurveyResultCommand?: CreateSurveyResultCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
+
const localVarPath = `/api/v2/surveyresults`;
|
|
40
40
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
41
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42
42
|
let baseOptions;
|
|
@@ -70,11 +70,11 @@ export const V2SurveyResultsApiAxiosParamCreator = function (configuration?: Con
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* SurveyResultsApi - functional programming interface
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export const
|
|
77
|
-
const localVarAxiosParamCreator =
|
|
76
|
+
export const SurveyResultsApiFp = function(configuration?: Configuration) {
|
|
77
|
+
const localVarAxiosParamCreator = SurveyResultsApiAxiosParamCreator(configuration)
|
|
78
78
|
return {
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
@@ -83,19 +83,19 @@ export const V2SurveyResultsApiFp = function(configuration?: Configuration) {
|
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
async
|
|
87
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
86
|
+
async apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
87
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SurveyresultsPost(createSurveyResultCommand, options);
|
|
88
88
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
89
89
|
},
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* SurveyResultsApi - factory interface
|
|
95
95
|
* @export
|
|
96
96
|
*/
|
|
97
|
-
export const
|
|
98
|
-
const localVarFp =
|
|
97
|
+
export const SurveyResultsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
98
|
+
const localVarFp = SurveyResultsApiFp(configuration)
|
|
99
99
|
return {
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
@@ -104,28 +104,28 @@ export const V2SurveyResultsApiFactory = function (configuration?: Configuration
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
108
|
-
return localVarFp.
|
|
107
|
+
apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: any): AxiosPromise<boolean> {
|
|
108
|
+
return localVarFp.apiV2SurveyresultsPost(createSurveyResultCommand, options).then((request) => request(axios, basePath));
|
|
109
109
|
},
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* SurveyResultsApi - object-oriented interface
|
|
115
115
|
* @export
|
|
116
|
-
* @class
|
|
116
|
+
* @class SurveyResultsApi
|
|
117
117
|
* @extends {BaseAPI}
|
|
118
118
|
*/
|
|
119
|
-
export class
|
|
119
|
+
export class SurveyResultsApi extends BaseAPI {
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
122
|
* @summary Create survey result
|
|
123
123
|
* @param {CreateSurveyResultCommand} [createSurveyResultCommand]
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
|
-
* @memberof
|
|
126
|
+
* @memberof SurveyResultsApi
|
|
127
127
|
*/
|
|
128
|
-
public
|
|
129
|
-
return
|
|
128
|
+
public apiV2SurveyresultsPost(createSurveyResultCommand?: CreateSurveyResultCommand, options?: AxiosRequestConfig) {
|
|
129
|
+
return SurveyResultsApiFp(this.configuration).apiV2SurveyresultsPost(createSurveyResultCommand, options).then((request) => request(this.axios, this.basePath));
|
|
130
130
|
}
|
|
131
131
|
}
|