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
|
@@ -19,10 +19,10 @@ import { MediaModel } from '../models';
|
|
|
19
19
|
import { MediaType } from '../models';
|
|
20
20
|
import { MediasModel } from '../models';
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const DoctorAffiliationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -35,7 +35,7 @@ export declare const V2DoctorAffiliationsApiAxiosParamCreator: (configuration?:
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Get DoctorAffiliationMedia.
|
|
@@ -44,7 +44,7 @@ export declare const V2DoctorAffiliationsApiAxiosParamCreator: (configuration?:
|
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: (doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @summary Get all doctor affiliations.
|
|
@@ -65,7 +65,7 @@ export declare const V2DoctorAffiliationsApiAxiosParamCreator: (configuration?:
|
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
apiV2DoctoraffiliationsGet: (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @summary Get doctor affiliation.
|
|
@@ -74,7 +74,7 @@ export declare const V2DoctorAffiliationsApiAxiosParamCreator: (configuration?:
|
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
apiV2DoctoraffiliationsIdGet: (id: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @summary
|
|
@@ -83,13 +83,13 @@ export declare const V2DoctorAffiliationsApiAxiosParamCreator: (configuration?:
|
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
apiV2DoctoraffiliationsSlugGet: (slug: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
export declare const
|
|
92
|
+
export declare const DoctorAffiliationsApiFp: (configuration?: Configuration) => {
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -102,7 +102,7 @@ export declare const V2DoctorAffiliationsApiFp: (configuration?: Configuration)
|
|
|
102
102
|
* @param {*} [options] Override http request option.
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @summary Get DoctorAffiliationMedia.
|
|
@@ -111,7 +111,7 @@ export declare const V2DoctorAffiliationsApiFp: (configuration?: Configuration)
|
|
|
111
111
|
* @param {*} [options] Override http request option.
|
|
112
112
|
* @throws {RequiredError}
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>>;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @summary Get all doctor affiliations.
|
|
@@ -132,7 +132,7 @@ export declare const V2DoctorAffiliationsApiFp: (configuration?: Configuration)
|
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>>;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
138
|
* @summary Get doctor affiliation.
|
|
@@ -141,7 +141,7 @@ export declare const V2DoctorAffiliationsApiFp: (configuration?: Configuration)
|
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>>;
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @summary
|
|
@@ -150,13 +150,13 @@ export declare const V2DoctorAffiliationsApiFp: (configuration?: Configuration)
|
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
|
|
153
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>>;
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* DoctorAffiliationsApi - factory interface
|
|
157
157
|
* @export
|
|
158
158
|
*/
|
|
159
|
-
export declare const
|
|
159
|
+
export declare const DoctorAffiliationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -169,7 +169,7 @@ export declare const V2DoctorAffiliationsApiFactory: (configuration?: Configurat
|
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel>;
|
|
173
173
|
/**
|
|
174
174
|
*
|
|
175
175
|
* @summary Get DoctorAffiliationMedia.
|
|
@@ -178,7 +178,7 @@ export declare const V2DoctorAffiliationsApiFactory: (configuration?: Configurat
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel>;
|
|
182
182
|
/**
|
|
183
183
|
*
|
|
184
184
|
* @summary Get all doctor affiliations.
|
|
@@ -199,7 +199,7 @@ export declare const V2DoctorAffiliationsApiFactory: (configuration?: Configurat
|
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel>;
|
|
203
203
|
/**
|
|
204
204
|
*
|
|
205
205
|
* @summary Get doctor affiliation.
|
|
@@ -208,7 +208,7 @@ export declare const V2DoctorAffiliationsApiFactory: (configuration?: Configurat
|
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel>;
|
|
212
212
|
/**
|
|
213
213
|
*
|
|
214
214
|
* @summary
|
|
@@ -217,15 +217,15 @@ export declare const V2DoctorAffiliationsApiFactory: (configuration?: Configurat
|
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel>;
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
224
224
|
* @export
|
|
225
|
-
* @class
|
|
225
|
+
* @class DoctorAffiliationsApi
|
|
226
226
|
* @extends {BaseAPI}
|
|
227
227
|
*/
|
|
228
|
-
export declare class
|
|
228
|
+
export declare class DoctorAffiliationsApi extends BaseAPI {
|
|
229
229
|
/**
|
|
230
230
|
*
|
|
231
231
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -237,9 +237,9 @@ export declare class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
237
237
|
* @param {Date} [lastRetrieved]
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
|
-
* @memberof
|
|
240
|
+
* @memberof DoctorAffiliationsApi
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediasModel, any>>;
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
245
|
* @summary Get DoctorAffiliationMedia.
|
|
@@ -247,9 +247,9 @@ export declare class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
247
247
|
* @param {string} mediaId
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
|
-
* @memberof
|
|
250
|
+
* @memberof DoctorAffiliationsApi
|
|
251
251
|
*/
|
|
252
|
-
|
|
252
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaModel, any>>;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
255
|
* @summary Get all doctor affiliations.
|
|
@@ -269,9 +269,9 @@ export declare class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
269
269
|
* @param {Date} [lastRetrieved]
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
271
271
|
* @throws {RequiredError}
|
|
272
|
-
* @memberof
|
|
272
|
+
* @memberof DoctorAffiliationsApi
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorAffiliationsModel, any>>;
|
|
275
275
|
/**
|
|
276
276
|
*
|
|
277
277
|
* @summary Get doctor affiliation.
|
|
@@ -279,9 +279,9 @@ export declare class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
279
279
|
* @param {string} [languageCode]
|
|
280
280
|
* @param {*} [options] Override http request option.
|
|
281
281
|
* @throws {RequiredError}
|
|
282
|
-
* @memberof
|
|
282
|
+
* @memberof DoctorAffiliationsApi
|
|
283
283
|
*/
|
|
284
|
-
|
|
284
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorAffiliationModel, any>>;
|
|
285
285
|
/**
|
|
286
286
|
*
|
|
287
287
|
* @summary
|
|
@@ -289,8 +289,8 @@ export declare class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
289
289
|
* @param {string} [languageCode]
|
|
290
290
|
* @param {*} [options] Override http request option.
|
|
291
291
|
* @throws {RequiredError}
|
|
292
|
-
* @memberof
|
|
292
|
+
* @memberof DoctorAffiliationsApi
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorAffiliationModel, any>>;
|
|
295
295
|
}
|
|
296
|
-
//# sourceMappingURL=
|
|
296
|
+
//# sourceMappingURL=doctor-affiliations-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-affiliations-api.d.ts","sourceRoot":"","sources":["../../src/api/doctor-affiliations-api.ts"],"names":[],"mappings":"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"}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -104,14 +104,14 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
113
|
-
(0, common_1.assertParamExists)('
|
|
114
|
-
localVarPath = "/
|
|
113
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
114
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias"
|
|
115
115
|
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
116
116
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
117
|
if (configuration) {
|
|
@@ -155,16 +155,16 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
155
155
|
* @param {*} [options] Override http request option.
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
|
|
158
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
159
159
|
if (options === void 0) { options = {}; }
|
|
160
160
|
return __awaiter(_this, void 0, void 0, function () {
|
|
161
161
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
162
|
return __generator(this, function (_a) {
|
|
163
163
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
164
|
-
(0, common_1.assertParamExists)('
|
|
164
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
165
165
|
// verify required parameter 'mediaId' is not null or undefined
|
|
166
|
-
(0, common_1.assertParamExists)('
|
|
167
|
-
localVarPath = "/
|
|
166
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
167
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}"
|
|
168
168
|
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)))
|
|
169
169
|
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
170
170
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -204,12 +204,12 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
208
208
|
if (options === void 0) { options = {}; }
|
|
209
209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
210
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
211
|
return __generator(this, function (_a) {
|
|
212
|
-
localVarPath = "/
|
|
212
|
+
localVarPath = "/api/v2/doctoraffiliations";
|
|
213
213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
214
|
if (configuration) {
|
|
215
215
|
baseOptions = configuration.baseOptions;
|
|
@@ -279,14 +279,14 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
|
|
282
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
283
283
|
if (options === void 0) { options = {}; }
|
|
284
284
|
return __awaiter(_this, void 0, void 0, function () {
|
|
285
285
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
286
|
return __generator(this, function (_a) {
|
|
287
287
|
// verify required parameter 'id' is not null or undefined
|
|
288
|
-
(0, common_1.assertParamExists)('
|
|
289
|
-
localVarPath = "/
|
|
288
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsIdGet', 'id', id);
|
|
289
|
+
localVarPath = "/api/v2/doctoraffiliations/{id}"
|
|
290
290
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
291
291
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
292
292
|
if (configuration) {
|
|
@@ -316,14 +316,14 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
316
316
|
* @param {*} [options] Override http request option.
|
|
317
317
|
* @throws {RequiredError}
|
|
318
318
|
*/
|
|
319
|
-
|
|
319
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
320
320
|
if (options === void 0) { options = {}; }
|
|
321
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
322
322
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
323
323
|
return __generator(this, function (_a) {
|
|
324
324
|
// verify required parameter 'slug' is not null or undefined
|
|
325
|
-
(0, common_1.assertParamExists)('
|
|
326
|
-
localVarPath = "/
|
|
325
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsSlugGet', 'slug', slug);
|
|
326
|
+
localVarPath = "/api/v2/doctoraffiliations/{slug}"
|
|
327
327
|
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
328
328
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
329
329
|
if (configuration) {
|
|
@@ -347,13 +347,13 @@ var V2DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
347
347
|
},
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
|
-
exports.
|
|
350
|
+
exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator;
|
|
351
351
|
/**
|
|
352
|
-
*
|
|
352
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
353
353
|
* @export
|
|
354
354
|
*/
|
|
355
|
-
var
|
|
356
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
355
|
+
var DoctorAffiliationsApiFp = function (configuration) {
|
|
356
|
+
var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
|
|
357
357
|
return {
|
|
358
358
|
/**
|
|
359
359
|
*
|
|
@@ -367,12 +367,12 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
367
367
|
* @param {*} [options] Override http request option.
|
|
368
368
|
* @throws {RequiredError}
|
|
369
369
|
*/
|
|
370
|
-
|
|
370
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
371
371
|
return __awaiter(this, void 0, void 0, function () {
|
|
372
372
|
var localVarAxiosArgs;
|
|
373
373
|
return __generator(this, function (_a) {
|
|
374
374
|
switch (_a.label) {
|
|
375
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
375
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
376
376
|
case 1:
|
|
377
377
|
localVarAxiosArgs = _a.sent();
|
|
378
378
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -388,12 +388,12 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
*/
|
|
391
|
-
|
|
391
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
392
392
|
return __awaiter(this, void 0, void 0, function () {
|
|
393
393
|
var localVarAxiosArgs;
|
|
394
394
|
return __generator(this, function (_a) {
|
|
395
395
|
switch (_a.label) {
|
|
396
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
396
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options)];
|
|
397
397
|
case 1:
|
|
398
398
|
localVarAxiosArgs = _a.sent();
|
|
399
399
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -421,12 +421,12 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
421
421
|
* @param {*} [options] Override http request option.
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
*/
|
|
424
|
-
|
|
424
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
425
425
|
return __awaiter(this, void 0, void 0, function () {
|
|
426
426
|
var localVarAxiosArgs;
|
|
427
427
|
return __generator(this, function (_a) {
|
|
428
428
|
switch (_a.label) {
|
|
429
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
429
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options)];
|
|
430
430
|
case 1:
|
|
431
431
|
localVarAxiosArgs = _a.sent();
|
|
432
432
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -442,12 +442,12 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
442
442
|
* @param {*} [options] Override http request option.
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
*/
|
|
445
|
-
|
|
445
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
446
446
|
return __awaiter(this, void 0, void 0, function () {
|
|
447
447
|
var localVarAxiosArgs;
|
|
448
448
|
return __generator(this, function (_a) {
|
|
449
449
|
switch (_a.label) {
|
|
450
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
450
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options)];
|
|
451
451
|
case 1:
|
|
452
452
|
localVarAxiosArgs = _a.sent();
|
|
453
453
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -463,12 +463,12 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
463
463
|
* @param {*} [options] Override http request option.
|
|
464
464
|
* @throws {RequiredError}
|
|
465
465
|
*/
|
|
466
|
-
|
|
466
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
467
467
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
468
|
var localVarAxiosArgs;
|
|
469
469
|
return __generator(this, function (_a) {
|
|
470
470
|
switch (_a.label) {
|
|
471
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
471
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options)];
|
|
472
472
|
case 1:
|
|
473
473
|
localVarAxiosArgs = _a.sent();
|
|
474
474
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -478,13 +478,13 @@ var V2DoctorAffiliationsApiFp = function (configuration) {
|
|
|
478
478
|
},
|
|
479
479
|
};
|
|
480
480
|
};
|
|
481
|
-
exports.
|
|
481
|
+
exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* DoctorAffiliationsApi - factory interface
|
|
484
484
|
* @export
|
|
485
485
|
*/
|
|
486
|
-
var
|
|
487
|
-
var localVarFp = (0, exports.
|
|
486
|
+
var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
487
|
+
var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
|
|
488
488
|
return {
|
|
489
489
|
/**
|
|
490
490
|
*
|
|
@@ -498,8 +498,8 @@ var V2DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
*/
|
|
501
|
-
|
|
502
|
-
return localVarFp.
|
|
501
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
502
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
503
503
|
},
|
|
504
504
|
/**
|
|
505
505
|
*
|
|
@@ -509,8 +509,8 @@ var V2DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
510
510
|
* @throws {RequiredError}
|
|
511
511
|
*/
|
|
512
|
-
|
|
513
|
-
return localVarFp.
|
|
512
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
513
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
514
514
|
},
|
|
515
515
|
/**
|
|
516
516
|
*
|
|
@@ -532,8 +532,8 @@ var V2DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
533
533
|
* @throws {RequiredError}
|
|
534
534
|
*/
|
|
535
|
-
|
|
536
|
-
return localVarFp.
|
|
535
|
+
apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
536
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
537
537
|
},
|
|
538
538
|
/**
|
|
539
539
|
*
|
|
@@ -543,8 +543,8 @@ var V2DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
543
543
|
* @param {*} [options] Override http request option.
|
|
544
544
|
* @throws {RequiredError}
|
|
545
545
|
*/
|
|
546
|
-
|
|
547
|
-
return localVarFp.
|
|
546
|
+
apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
547
|
+
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
548
548
|
},
|
|
549
549
|
/**
|
|
550
550
|
*
|
|
@@ -554,21 +554,21 @@ var V2DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @throws {RequiredError}
|
|
556
556
|
*/
|
|
557
|
-
|
|
558
|
-
return localVarFp.
|
|
557
|
+
apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
|
|
558
|
+
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
559
559
|
},
|
|
560
560
|
};
|
|
561
561
|
};
|
|
562
|
-
exports.
|
|
562
|
+
exports.DoctorAffiliationsApiFactory = DoctorAffiliationsApiFactory;
|
|
563
563
|
/**
|
|
564
|
-
*
|
|
564
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
565
565
|
* @export
|
|
566
|
-
* @class
|
|
566
|
+
* @class DoctorAffiliationsApi
|
|
567
567
|
* @extends {BaseAPI}
|
|
568
568
|
*/
|
|
569
|
-
var
|
|
570
|
-
__extends(
|
|
571
|
-
function
|
|
569
|
+
var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
570
|
+
__extends(DoctorAffiliationsApi, _super);
|
|
571
|
+
function DoctorAffiliationsApi() {
|
|
572
572
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
573
573
|
}
|
|
574
574
|
/**
|
|
@@ -582,11 +582,11 @@ var V2DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
582
582
|
* @param {Date} [lastRetrieved]
|
|
583
583
|
* @param {*} [options] Override http request option.
|
|
584
584
|
* @throws {RequiredError}
|
|
585
|
-
* @memberof
|
|
585
|
+
* @memberof DoctorAffiliationsApi
|
|
586
586
|
*/
|
|
587
|
-
|
|
587
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet = function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
588
588
|
var _this = this;
|
|
589
|
-
return (0, exports.
|
|
589
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
590
590
|
};
|
|
591
591
|
/**
|
|
592
592
|
*
|
|
@@ -595,11 +595,11 @@ var V2DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
595
595
|
* @param {string} mediaId
|
|
596
596
|
* @param {*} [options] Override http request option.
|
|
597
597
|
* @throws {RequiredError}
|
|
598
|
-
* @memberof
|
|
598
|
+
* @memberof DoctorAffiliationsApi
|
|
599
599
|
*/
|
|
600
|
-
|
|
600
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet = function (doctorAffiliationId, mediaId, options) {
|
|
601
601
|
var _this = this;
|
|
602
|
-
return (0, exports.
|
|
602
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
603
603
|
};
|
|
604
604
|
/**
|
|
605
605
|
*
|
|
@@ -620,11 +620,11 @@ var V2DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
620
620
|
* @param {Date} [lastRetrieved]
|
|
621
621
|
* @param {*} [options] Override http request option.
|
|
622
622
|
* @throws {RequiredError}
|
|
623
|
-
* @memberof
|
|
623
|
+
* @memberof DoctorAffiliationsApi
|
|
624
624
|
*/
|
|
625
|
-
|
|
625
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options) {
|
|
626
626
|
var _this = this;
|
|
627
|
-
return (0, exports.
|
|
627
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
628
628
|
};
|
|
629
629
|
/**
|
|
630
630
|
*
|
|
@@ -633,11 +633,11 @@ var V2DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
633
633
|
* @param {string} [languageCode]
|
|
634
634
|
* @param {*} [options] Override http request option.
|
|
635
635
|
* @throws {RequiredError}
|
|
636
|
-
* @memberof
|
|
636
|
+
* @memberof DoctorAffiliationsApi
|
|
637
637
|
*/
|
|
638
|
-
|
|
638
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsIdGet = function (id, languageCode, options) {
|
|
639
639
|
var _this = this;
|
|
640
|
-
return (0, exports.
|
|
640
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
641
641
|
};
|
|
642
642
|
/**
|
|
643
643
|
*
|
|
@@ -646,12 +646,12 @@ var V2DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
646
646
|
* @param {string} [languageCode]
|
|
647
647
|
* @param {*} [options] Override http request option.
|
|
648
648
|
* @throws {RequiredError}
|
|
649
|
-
* @memberof
|
|
649
|
+
* @memberof DoctorAffiliationsApi
|
|
650
650
|
*/
|
|
651
|
-
|
|
651
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsSlugGet = function (slug, languageCode, options) {
|
|
652
652
|
var _this = this;
|
|
653
|
-
return (0, exports.
|
|
653
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
654
654
|
};
|
|
655
|
-
return
|
|
655
|
+
return DoctorAffiliationsApi;
|
|
656
656
|
}(base_1.BaseAPI));
|
|
657
|
-
exports.
|
|
657
|
+
exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
|