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
|
@@ -35,10 +35,10 @@ import { SpecialtiesSimpleModel } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { SpecialtyModel } from '../models';
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* SpecialtiesApi - axios parameter creator
|
|
39
39
|
* @export
|
|
40
40
|
*/
|
|
41
|
-
export const
|
|
41
|
+
export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
42
|
return {
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
@@ -59,8 +59,8 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
|
|
63
|
-
const localVarPath = `/
|
|
62
|
+
apiV2SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
|
+
const localVarPath = `/api/v2/specialties`;
|
|
64
64
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
65
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
66
|
let baseOptions;
|
|
@@ -158,8 +158,8 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
161
|
-
|
|
162
|
-
const localVarPath = `/
|
|
161
|
+
apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
162
|
+
const localVarPath = `/api/v2/specialties/simple`;
|
|
163
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
165
165
|
let baseOptions;
|
|
@@ -247,10 +247,10 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
apiV2SpecialtiesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
251
|
// verify required parameter 'slug' is not null or undefined
|
|
252
|
-
assertParamExists('
|
|
253
|
-
const localVarPath = `/
|
|
252
|
+
assertParamExists('apiV2SpecialtiesSlugGet', 'slug', slug)
|
|
253
|
+
const localVarPath = `/api/v2/specialties/{slug}`
|
|
254
254
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
255
255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
256
256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -291,10 +291,10 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
291
291
|
* @param {*} [options] Override http request option.
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
apiV2SpecialtiesSpecialtyIdGet: async (specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
295
295
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
296
|
-
assertParamExists('
|
|
297
|
-
const localVarPath = `/
|
|
296
|
+
assertParamExists('apiV2SpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
297
|
+
const localVarPath = `/api/v2/specialties/{specialtyId}`
|
|
298
298
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
299
299
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
300
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -338,10 +338,10 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
338
338
|
* @param {*} [options] Override http request option.
|
|
339
339
|
* @throws {RequiredError}
|
|
340
340
|
*/
|
|
341
|
-
|
|
341
|
+
apiV2SpecialtiesSpecialtyIdMediasGet: async (specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
342
342
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
343
|
-
assertParamExists('
|
|
344
|
-
const localVarPath = `/
|
|
343
|
+
assertParamExists('apiV2SpecialtiesSpecialtyIdMediasGet', 'specialtyId', specialtyId)
|
|
344
|
+
const localVarPath = `/api/v2/specialties/{specialtyId}/medias`
|
|
345
345
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
346
346
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
347
347
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -395,12 +395,12 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
395
395
|
* @param {*} [options] Override http request option.
|
|
396
396
|
* @throws {RequiredError}
|
|
397
397
|
*/
|
|
398
|
-
|
|
398
|
+
apiV2SpecialtiesSpecialtyIdMediasMediaIdGet: async (specialtyId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
399
399
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
400
|
-
assertParamExists('
|
|
400
|
+
assertParamExists('apiV2SpecialtiesSpecialtyIdMediasMediaIdGet', 'specialtyId', specialtyId)
|
|
401
401
|
// verify required parameter 'mediaId' is not null or undefined
|
|
402
|
-
assertParamExists('
|
|
403
|
-
const localVarPath = `/
|
|
402
|
+
assertParamExists('apiV2SpecialtiesSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
403
|
+
const localVarPath = `/api/v2/specialties/{specialtyId}/medias/{mediaId}`
|
|
404
404
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
405
405
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
406
406
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -429,11 +429,11 @@ export const V2SpecialtiesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
429
429
|
};
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
432
|
+
* SpecialtiesApi - functional programming interface
|
|
433
433
|
* @export
|
|
434
434
|
*/
|
|
435
|
-
export const
|
|
436
|
-
const localVarAxiosParamCreator =
|
|
435
|
+
export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
436
|
+
const localVarAxiosParamCreator = SpecialtiesApiAxiosParamCreator(configuration)
|
|
437
437
|
return {
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
@@ -454,8 +454,8 @@ export const V2SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
456
456
|
*/
|
|
457
|
-
async
|
|
458
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
457
|
+
async apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
459
459
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
@@ -477,8 +477,8 @@ export const V2SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
478
478
|
* @throws {RequiredError}
|
|
479
479
|
*/
|
|
480
|
-
async
|
|
481
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
480
|
+
async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
482
482
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
483
483
|
},
|
|
484
484
|
/**
|
|
@@ -490,8 +490,8 @@ export const V2SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
490
490
|
* @param {*} [options] Override http request option.
|
|
491
491
|
* @throws {RequiredError}
|
|
492
492
|
*/
|
|
493
|
-
async
|
|
494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
493
|
+
async apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
495
495
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
496
496
|
},
|
|
497
497
|
/**
|
|
@@ -503,8 +503,8 @@ export const V2SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
504
504
|
* @throws {RequiredError}
|
|
505
505
|
*/
|
|
506
|
-
async
|
|
507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
506
|
+
async apiV2SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>> {
|
|
507
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options);
|
|
508
508
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
509
509
|
},
|
|
510
510
|
/**
|
|
@@ -519,8 +519,8 @@ export const V2SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
521
|
*/
|
|
522
|
-
async
|
|
523
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
522
|
+
async apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
523
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options);
|
|
524
524
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
525
525
|
},
|
|
526
526
|
/**
|
|
@@ -531,19 +531,19 @@ export const V2SpecialtiesApiFp = 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 apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
535
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options);
|
|
536
536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
537
537
|
},
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
540
|
|
|
541
541
|
/**
|
|
542
|
-
*
|
|
542
|
+
* SpecialtiesApi - factory interface
|
|
543
543
|
* @export
|
|
544
544
|
*/
|
|
545
|
-
export const
|
|
546
|
-
const localVarFp =
|
|
545
|
+
export const SpecialtiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
546
|
+
const localVarFp = SpecialtiesApiFp(configuration)
|
|
547
547
|
return {
|
|
548
548
|
/**
|
|
549
549
|
*
|
|
@@ -564,8 +564,8 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
564
564
|
* @param {*} [options] Override http request option.
|
|
565
565
|
* @throws {RequiredError}
|
|
566
566
|
*/
|
|
567
|
-
|
|
568
|
-
return localVarFp.
|
|
567
|
+
apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
568
|
+
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
569
569
|
},
|
|
570
570
|
/**
|
|
571
571
|
*
|
|
@@ -586,8 +586,8 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
586
586
|
* @param {*} [options] Override http request option.
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
*/
|
|
589
|
-
|
|
590
|
-
return localVarFp.
|
|
589
|
+
apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
590
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
591
591
|
},
|
|
592
592
|
/**
|
|
593
593
|
*
|
|
@@ -598,8 +598,8 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
598
598
|
* @param {*} [options] Override http request option.
|
|
599
599
|
* @throws {RequiredError}
|
|
600
600
|
*/
|
|
601
|
-
|
|
602
|
-
return localVarFp.
|
|
601
|
+
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
602
|
+
return localVarFp.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
603
603
|
},
|
|
604
604
|
/**
|
|
605
605
|
*
|
|
@@ -610,8 +610,8 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
610
610
|
* @param {*} [options] Override http request option.
|
|
611
611
|
* @throws {RequiredError}
|
|
612
612
|
*/
|
|
613
|
-
|
|
614
|
-
return localVarFp.
|
|
613
|
+
apiV2SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel> {
|
|
614
|
+
return localVarFp.apiV2SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
615
615
|
},
|
|
616
616
|
/**
|
|
617
617
|
*
|
|
@@ -625,8 +625,8 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
625
625
|
* @param {*} [options] Override http request option.
|
|
626
626
|
* @throws {RequiredError}
|
|
627
627
|
*/
|
|
628
|
-
|
|
629
|
-
return localVarFp.
|
|
628
|
+
apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
629
|
+
return localVarFp.apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
630
630
|
},
|
|
631
631
|
/**
|
|
632
632
|
*
|
|
@@ -636,19 +636,19 @@ export const V2SpecialtiesApiFactory = function (configuration?: Configuration,
|
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
638
638
|
*/
|
|
639
|
-
|
|
640
|
-
return localVarFp.
|
|
639
|
+
apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
640
|
+
return localVarFp.apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options).then((request) => request(axios, basePath));
|
|
641
641
|
},
|
|
642
642
|
};
|
|
643
643
|
};
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
|
-
*
|
|
646
|
+
* SpecialtiesApi - object-oriented interface
|
|
647
647
|
* @export
|
|
648
|
-
* @class
|
|
648
|
+
* @class SpecialtiesApi
|
|
649
649
|
* @extends {BaseAPI}
|
|
650
650
|
*/
|
|
651
|
-
export class
|
|
651
|
+
export class SpecialtiesApi extends BaseAPI {
|
|
652
652
|
/**
|
|
653
653
|
*
|
|
654
654
|
* @summary Get all Specialties.
|
|
@@ -667,10 +667,10 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
667
667
|
* @param {Date} [lastRetrieved]
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
669
669
|
* @throws {RequiredError}
|
|
670
|
-
* @memberof
|
|
670
|
+
* @memberof SpecialtiesApi
|
|
671
671
|
*/
|
|
672
|
-
public
|
|
673
|
-
return
|
|
672
|
+
public apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
673
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
/**
|
|
@@ -691,10 +691,10 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
691
691
|
* @param {Date} [lastRetrieved]
|
|
692
692
|
* @param {*} [options] Override http request option.
|
|
693
693
|
* @throws {RequiredError}
|
|
694
|
-
* @memberof
|
|
694
|
+
* @memberof SpecialtiesApi
|
|
695
695
|
*/
|
|
696
|
-
public
|
|
697
|
-
return
|
|
696
|
+
public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
697
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
/**
|
|
@@ -705,10 +705,10 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
705
705
|
* @param {boolean} [returnDefaultValue]
|
|
706
706
|
* @param {*} [options] Override http request option.
|
|
707
707
|
* @throws {RequiredError}
|
|
708
|
-
* @memberof
|
|
708
|
+
* @memberof SpecialtiesApi
|
|
709
709
|
*/
|
|
710
|
-
public
|
|
711
|
-
return
|
|
710
|
+
public apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
711
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
/**
|
|
@@ -719,10 +719,10 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
719
719
|
* @param {boolean} [returnDefaultValue]
|
|
720
720
|
* @param {*} [options] Override http request option.
|
|
721
721
|
* @throws {RequiredError}
|
|
722
|
-
* @memberof
|
|
722
|
+
* @memberof SpecialtiesApi
|
|
723
723
|
*/
|
|
724
|
-
public
|
|
725
|
-
return
|
|
724
|
+
public apiV2SpecialtiesSpecialtyIdGet(specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
725
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSpecialtyIdGet(specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
726
726
|
}
|
|
727
727
|
|
|
728
728
|
/**
|
|
@@ -736,10 +736,10 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
736
736
|
* @param {Date} [lastRetrieved]
|
|
737
737
|
* @param {*} [options] Override http request option.
|
|
738
738
|
* @throws {RequiredError}
|
|
739
|
-
* @memberof
|
|
739
|
+
* @memberof SpecialtiesApi
|
|
740
740
|
*/
|
|
741
|
-
public
|
|
742
|
-
return
|
|
741
|
+
public apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
742
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSpecialtyIdMediasGet(specialtyId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
/**
|
|
@@ -749,9 +749,9 @@ export class V2SpecialtiesApi extends BaseAPI {
|
|
|
749
749
|
* @param {string} mediaId
|
|
750
750
|
* @param {*} [options] Override http request option.
|
|
751
751
|
* @throws {RequiredError}
|
|
752
|
-
* @memberof
|
|
752
|
+
* @memberof SpecialtiesApi
|
|
753
753
|
*/
|
|
754
|
-
public
|
|
755
|
-
return
|
|
754
|
+
public apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
755
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSpecialtyIdMediasMediaIdGet(specialtyId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
756
756
|
}
|
|
757
757
|
}
|