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
|
@@ -33,10 +33,10 @@ import { MediaType } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { MediasModel } from '../models';
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
37
37
|
* @export
|
|
38
38
|
*/
|
|
39
|
-
export const
|
|
39
|
+
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -50,10 +50,10 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
55
|
-
assertParamExists('
|
|
56
|
-
const localVarPath = `/
|
|
55
|
+
assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
56
|
+
const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias`
|
|
57
57
|
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
58
58
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
59
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -107,12 +107,12 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
111
111
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
112
|
-
assertParamExists('
|
|
112
|
+
assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
113
113
|
// verify required parameter 'mediaId' is not null or undefined
|
|
114
|
-
assertParamExists('
|
|
115
|
-
const localVarPath = `/
|
|
114
|
+
assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
115
|
+
const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
|
|
116
116
|
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
|
|
117
117
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
118
118
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -157,8 +157,8 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
|
|
161
|
-
const localVarPath = `/
|
|
160
|
+
apiV2DoctoraffiliationsGet: async (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> => {
|
|
161
|
+
const localVarPath = `/api/v2/doctoraffiliations`;
|
|
162
162
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
163
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
164
164
|
let baseOptions;
|
|
@@ -247,10 +247,10 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
apiV2DoctoraffiliationsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
251
|
// verify required parameter 'id' is not null or undefined
|
|
252
|
-
assertParamExists('
|
|
253
|
-
const localVarPath = `/
|
|
252
|
+
assertParamExists('apiV2DoctoraffiliationsIdGet', 'id', id)
|
|
253
|
+
const localVarPath = `/api/v2/doctoraffiliations/{id}`
|
|
254
254
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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);
|
|
@@ -286,10 +286,10 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
|
|
289
|
+
apiV2DoctoraffiliationsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
290
|
// verify required parameter 'slug' is not null or undefined
|
|
291
|
-
assertParamExists('
|
|
292
|
-
const localVarPath = `/
|
|
291
|
+
assertParamExists('apiV2DoctoraffiliationsSlugGet', 'slug', slug)
|
|
292
|
+
const localVarPath = `/api/v2/doctoraffiliations/{slug}`
|
|
293
293
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
294
294
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
295
295
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -321,11 +321,11 @@ export const V2DoctorAffiliationsApiAxiosParamCreator = function (configuration?
|
|
|
321
321
|
};
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
|
-
*
|
|
324
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
325
325
|
* @export
|
|
326
326
|
*/
|
|
327
|
-
export const
|
|
328
|
-
const localVarAxiosParamCreator =
|
|
327
|
+
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
328
|
+
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
329
329
|
return {
|
|
330
330
|
/**
|
|
331
331
|
*
|
|
@@ -339,8 +339,8 @@ export const V2DoctorAffiliationsApiFp = function(configuration?: Configuration)
|
|
|
339
339
|
* @param {*} [options] Override http request option.
|
|
340
340
|
* @throws {RequiredError}
|
|
341
341
|
*/
|
|
342
|
-
async
|
|
343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
342
|
+
async apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
|
|
344
344
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
345
|
},
|
|
346
346
|
/**
|
|
@@ -351,8 +351,8 @@ export const V2DoctorAffiliationsApiFp = function(configuration?: Configuration)
|
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
*/
|
|
354
|
-
async
|
|
355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
354
|
+
async apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
355
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
|
|
356
356
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
@@ -375,8 +375,8 @@ export const V2DoctorAffiliationsApiFp = function(configuration?: Configuration)
|
|
|
375
375
|
* @param {*} [options] Override http request option.
|
|
376
376
|
* @throws {RequiredError}
|
|
377
377
|
*/
|
|
378
|
-
async
|
|
379
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
378
|
+
async 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>> {
|
|
379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options);
|
|
380
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
381
|
},
|
|
382
382
|
/**
|
|
@@ -387,8 +387,8 @@ export const V2DoctorAffiliationsApiFp = function(configuration?: Configuration)
|
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
388
388
|
* @throws {RequiredError}
|
|
389
389
|
*/
|
|
390
|
-
async
|
|
391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
390
|
+
async apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options);
|
|
392
392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
393
|
},
|
|
394
394
|
/**
|
|
@@ -399,19 +399,19 @@ export const V2DoctorAffiliationsApiFp = function(configuration?: Configuration)
|
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
400
400
|
* @throws {RequiredError}
|
|
401
401
|
*/
|
|
402
|
-
async
|
|
403
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
402
|
+
async apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options);
|
|
404
404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
405
|
},
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
* DoctorAffiliationsApi - factory interface
|
|
411
411
|
* @export
|
|
412
412
|
*/
|
|
413
|
-
export const
|
|
414
|
-
const localVarFp =
|
|
413
|
+
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
414
|
+
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
415
415
|
return {
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
@@ -425,8 +425,8 @@ export const V2DoctorAffiliationsApiFactory = function (configuration?: Configur
|
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
426
426
|
* @throws {RequiredError}
|
|
427
427
|
*/
|
|
428
|
-
|
|
429
|
-
return localVarFp.
|
|
428
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
429
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
430
430
|
},
|
|
431
431
|
/**
|
|
432
432
|
*
|
|
@@ -436,8 +436,8 @@ export const V2DoctorAffiliationsApiFactory = function (configuration?: Configur
|
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
|
-
|
|
440
|
-
return localVarFp.
|
|
439
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
440
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
443
443
|
*
|
|
@@ -459,8 +459,8 @@ export const V2DoctorAffiliationsApiFactory = function (configuration?: Configur
|
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
*/
|
|
462
|
-
|
|
463
|
-
return localVarFp.
|
|
462
|
+
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> {
|
|
463
|
+
return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
466
|
*
|
|
@@ -470,8 +470,8 @@ export const V2DoctorAffiliationsApiFactory = function (configuration?: Configur
|
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
472
|
*/
|
|
473
|
-
|
|
474
|
-
return localVarFp.
|
|
473
|
+
apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
474
|
+
return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
|
|
475
475
|
},
|
|
476
476
|
/**
|
|
477
477
|
*
|
|
@@ -481,19 +481,19 @@ export const V2DoctorAffiliationsApiFactory = function (configuration?: Configur
|
|
|
481
481
|
* @param {*} [options] Override http request option.
|
|
482
482
|
* @throws {RequiredError}
|
|
483
483
|
*/
|
|
484
|
-
|
|
485
|
-
return localVarFp.
|
|
484
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
485
|
+
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
486
486
|
},
|
|
487
487
|
};
|
|
488
488
|
};
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
|
-
*
|
|
491
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
492
492
|
* @export
|
|
493
|
-
* @class
|
|
493
|
+
* @class DoctorAffiliationsApi
|
|
494
494
|
* @extends {BaseAPI}
|
|
495
495
|
*/
|
|
496
|
-
export class
|
|
496
|
+
export class DoctorAffiliationsApi extends BaseAPI {
|
|
497
497
|
/**
|
|
498
498
|
*
|
|
499
499
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -505,10 +505,10 @@ export class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
505
505
|
* @param {Date} [lastRetrieved]
|
|
506
506
|
* @param {*} [options] Override http request option.
|
|
507
507
|
* @throws {RequiredError}
|
|
508
|
-
* @memberof
|
|
508
|
+
* @memberof DoctorAffiliationsApi
|
|
509
509
|
*/
|
|
510
|
-
public
|
|
511
|
-
return
|
|
510
|
+
public apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
511
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
/**
|
|
@@ -518,10 +518,10 @@ export class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
518
518
|
* @param {string} mediaId
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
|
-
* @memberof
|
|
521
|
+
* @memberof DoctorAffiliationsApi
|
|
522
522
|
*/
|
|
523
|
-
public
|
|
524
|
-
return
|
|
523
|
+
public apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
524
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
/**
|
|
@@ -543,10 +543,10 @@ export class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
543
543
|
* @param {Date} [lastRetrieved]
|
|
544
544
|
* @param {*} [options] Override http request option.
|
|
545
545
|
* @throws {RequiredError}
|
|
546
|
-
* @memberof
|
|
546
|
+
* @memberof DoctorAffiliationsApi
|
|
547
547
|
*/
|
|
548
|
-
public
|
|
549
|
-
return
|
|
548
|
+
public 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) {
|
|
549
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
/**
|
|
@@ -556,10 +556,10 @@ export class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
556
556
|
* @param {string} [languageCode]
|
|
557
557
|
* @param {*} [options] Override http request option.
|
|
558
558
|
* @throws {RequiredError}
|
|
559
|
-
* @memberof
|
|
559
|
+
* @memberof DoctorAffiliationsApi
|
|
560
560
|
*/
|
|
561
|
-
public
|
|
562
|
-
return
|
|
561
|
+
public apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
562
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
/**
|
|
@@ -569,9 +569,9 @@ export class V2DoctorAffiliationsApi extends BaseAPI {
|
|
|
569
569
|
* @param {string} [languageCode]
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
571
571
|
* @throws {RequiredError}
|
|
572
|
-
* @memberof
|
|
572
|
+
* @memberof DoctorAffiliationsApi
|
|
573
573
|
*/
|
|
574
|
-
public
|
|
575
|
-
return
|
|
574
|
+
public apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
575
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
576
576
|
}
|
|
577
577
|
}
|