ch-api-client-typescript2 5.19.4 → 5.19.10
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/appointments-api.d.ts +13 -3
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +11 -6
- package/lib/api/deals-api.d.ts +12 -3
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +12 -6
- package/lib/api/doctor-affiliations-api.d.ts +16 -7
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +16 -10
- package/lib/api/hospitals-api.d.ts +178 -3
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +212 -6
- package/lib/models/hospital-branch-item-mapping-model.d.ts +75 -0
- package/lib/models/hospital-branch-item-mapping-model.d.ts.map +1 -0
- package/lib/models/hospital-branch-item-mapping-model.js +15 -0
- package/lib/models/hospital-branch-item-model.d.ts +3 -40
- package/lib/models/hospital-branch-item-model.d.ts.map +1 -1
- package/lib/models/hospital-branches-model.d.ts +8 -1
- package/lib/models/hospital-branches-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +2 -0
- package/lib/models/pay-appointment-command.d.ts +32 -0
- package/lib/models/pay-appointment-command.d.ts.map +1 -0
- package/lib/models/pay-appointment-command.js +15 -0
- package/lib/models/survey-result-element-input-model.d.ts +7 -0
- package/lib/models/survey-result-element-input-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +2 -0
- package/src/api/appointments-api.ts +21 -6
- package/src/api/deals-api.ts +20 -6
- package/src/api/doctor-affiliations-api.ts +24 -10
- package/src/api/hospitals-api.ts +298 -6
- package/src/models/hospital-branch-item-mapping-model.ts +84 -0
- package/src/models/hospital-branch-item-model.ts +3 -42
- package/src/models/hospital-branches-model.ts +10 -1
- package/src/models/index.ts +2 -0
- package/src/models/pay-appointment-command.ts +39 -0
- package/src/models/survey-result-element-input-model.ts +9 -0
|
@@ -200,6 +200,7 @@ models/hospital-accreditation-item-model.ts
|
|
|
200
200
|
models/hospital-accreditation-model.ts
|
|
201
201
|
models/hospital-accreditations-model.ts
|
|
202
202
|
models/hospital-bank-account-info-document-model.ts
|
|
203
|
+
models/hospital-branch-item-mapping-model.ts
|
|
203
204
|
models/hospital-branch-item-model.ts
|
|
204
205
|
models/hospital-branches-model.ts
|
|
205
206
|
models/hospital-consultation-option-model.ts
|
|
@@ -268,6 +269,7 @@ models/notifications-model.ts
|
|
|
268
269
|
models/package-sub-document-model.ts
|
|
269
270
|
models/paged-list-meta-data.ts
|
|
270
271
|
models/patient-model.ts
|
|
272
|
+
models/pay-appointment-command.ts
|
|
271
273
|
models/payment-method.ts
|
|
272
274
|
models/plan-hospital-item-model.ts
|
|
273
275
|
models/plan-hospital-model.ts
|
|
@@ -31,6 +31,8 @@ import { AppointmentsModel } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { CreateAppointmentCommand } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
+
import { PayAppointmentCommand } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
34
36
|
import { UpdateAppointmentCommand } from '../models';
|
|
35
37
|
/**
|
|
36
38
|
* AppointmentsApi - axios parameter creator
|
|
@@ -85,10 +87,11 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
85
87
|
*
|
|
86
88
|
* @summary Pay appointment
|
|
87
89
|
* @param {string} appointmentId
|
|
90
|
+
* @param {PayAppointmentCommand} [payAppointmentCommand]
|
|
88
91
|
* @param {*} [options] Override http request option.
|
|
89
92
|
* @throws {RequiredError}
|
|
90
93
|
*/
|
|
91
|
-
apiV2AppointmentsAppointmentIdPayPost: async (appointmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
apiV2AppointmentsAppointmentIdPayPost: async (appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
92
95
|
// verify required parameter 'appointmentId' is not null or undefined
|
|
93
96
|
assertParamExists('apiV2AppointmentsAppointmentIdPayPost', 'appointmentId', appointmentId)
|
|
94
97
|
const localVarPath = `/api/v2/appointments/{appointmentId}/pay`
|
|
@@ -110,9 +113,12 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
110
113
|
|
|
111
114
|
|
|
112
115
|
|
|
116
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
117
|
+
|
|
113
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
120
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
121
|
+
localVarRequestOptions.data = serializeDataIfNeeded(payAppointmentCommand, localVarRequestOptions, configuration)
|
|
116
122
|
|
|
117
123
|
return {
|
|
118
124
|
url: toPathString(localVarUrlObj),
|
|
@@ -360,11 +366,12 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
360
366
|
*
|
|
361
367
|
* @summary Pay appointment
|
|
362
368
|
* @param {string} appointmentId
|
|
369
|
+
* @param {PayAppointmentCommand} [payAppointmentCommand]
|
|
363
370
|
* @param {*} [options] Override http request option.
|
|
364
371
|
* @throws {RequiredError}
|
|
365
372
|
*/
|
|
366
|
-
async apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
367
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdPayPost(appointmentId, options);
|
|
373
|
+
async apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdPayPost(appointmentId, payAppointmentCommand, options);
|
|
368
375
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
369
376
|
},
|
|
370
377
|
/**
|
|
@@ -445,11 +452,12 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
445
452
|
*
|
|
446
453
|
* @summary Pay appointment
|
|
447
454
|
* @param {string} appointmentId
|
|
455
|
+
* @param {PayAppointmentCommand} [payAppointmentCommand]
|
|
448
456
|
* @param {*} [options] Override http request option.
|
|
449
457
|
* @throws {RequiredError}
|
|
450
458
|
*/
|
|
451
|
-
apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, options?: any): AxiosPromise<string> {
|
|
452
|
-
return localVarFp.apiV2AppointmentsAppointmentIdPayPost(appointmentId, options).then((request) => request(axios, basePath));
|
|
459
|
+
apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options?: any): AxiosPromise<string> {
|
|
460
|
+
return localVarFp.apiV2AppointmentsAppointmentIdPayPost(appointmentId, payAppointmentCommand, options).then((request) => request(axios, basePath));
|
|
453
461
|
},
|
|
454
462
|
/**
|
|
455
463
|
*
|
|
@@ -537,6 +545,13 @@ export interface AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest {
|
|
|
537
545
|
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPayPost
|
|
538
546
|
*/
|
|
539
547
|
readonly appointmentId: string
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {PayAppointmentCommand}
|
|
552
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPayPost
|
|
553
|
+
*/
|
|
554
|
+
readonly payAppointmentCommand?: PayAppointmentCommand
|
|
540
555
|
}
|
|
541
556
|
|
|
542
557
|
/**
|
|
@@ -749,7 +764,7 @@ export class AppointmentsApi extends BaseAPI {
|
|
|
749
764
|
* @memberof AppointmentsApi
|
|
750
765
|
*/
|
|
751
766
|
public apiV2AppointmentsAppointmentIdPayPost(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest, options?: AxiosRequestConfig) {
|
|
752
|
-
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdPayPost(requestParameters.appointmentId, options).then((request) => request(this.axios, this.basePath));
|
|
767
|
+
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdPayPost(requestParameters.appointmentId, requestParameters.payAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
753
768
|
}
|
|
754
769
|
|
|
755
770
|
/**
|
package/src/api/deals-api.ts
CHANGED
|
@@ -694,10 +694,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
694
694
|
* @param {string} [languageCode]
|
|
695
695
|
* @param {boolean} [returnDefaultValue]
|
|
696
696
|
* @param {string} [previewSecret]
|
|
697
|
+
* @param {string} [hospitalId]
|
|
697
698
|
* @param {*} [options] Override http request option.
|
|
698
699
|
* @throws {RequiredError}
|
|
699
700
|
*/
|
|
700
|
-
apiV2DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
701
|
+
apiV2DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
701
702
|
// verify required parameter 'slug' is not null or undefined
|
|
702
703
|
assertParamExists('apiV2DealsSlugGet', 'slug', slug)
|
|
703
704
|
const localVarPath = `/api/v2/deals/{slug}`
|
|
@@ -725,6 +726,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
725
726
|
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
726
727
|
}
|
|
727
728
|
|
|
729
|
+
if (hospitalId !== undefined) {
|
|
730
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
731
|
+
}
|
|
732
|
+
|
|
728
733
|
|
|
729
734
|
|
|
730
735
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -913,11 +918,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
913
918
|
* @param {string} [languageCode]
|
|
914
919
|
* @param {boolean} [returnDefaultValue]
|
|
915
920
|
* @param {string} [previewSecret]
|
|
921
|
+
* @param {string} [hospitalId]
|
|
916
922
|
* @param {*} [options] Override http request option.
|
|
917
923
|
* @throws {RequiredError}
|
|
918
924
|
*/
|
|
919
|
-
async apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
920
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
925
|
+
async apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, hospitalId, options);
|
|
921
927
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
922
928
|
},
|
|
923
929
|
}
|
|
@@ -1089,11 +1095,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1089
1095
|
* @param {string} [languageCode]
|
|
1090
1096
|
* @param {boolean} [returnDefaultValue]
|
|
1091
1097
|
* @param {string} [previewSecret]
|
|
1098
|
+
* @param {string} [hospitalId]
|
|
1092
1099
|
* @param {*} [options] Override http request option.
|
|
1093
1100
|
* @throws {RequiredError}
|
|
1094
1101
|
*/
|
|
1095
|
-
apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<DealModel> {
|
|
1096
|
-
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
1102
|
+
apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<DealModel> {
|
|
1103
|
+
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, previewSecret, hospitalId, options).then((request) => request(axios, basePath));
|
|
1097
1104
|
},
|
|
1098
1105
|
};
|
|
1099
1106
|
};
|
|
@@ -1747,6 +1754,13 @@ export interface DealsApiApiV2DealsSlugGetRequest {
|
|
|
1747
1754
|
* @memberof DealsApiApiV2DealsSlugGet
|
|
1748
1755
|
*/
|
|
1749
1756
|
readonly previewSecret?: string
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
*
|
|
1760
|
+
* @type {string}
|
|
1761
|
+
* @memberof DealsApiApiV2DealsSlugGet
|
|
1762
|
+
*/
|
|
1763
|
+
readonly hospitalId?: string
|
|
1750
1764
|
}
|
|
1751
1765
|
|
|
1752
1766
|
/**
|
|
@@ -1861,6 +1875,6 @@ export class DealsApi extends BaseAPI {
|
|
|
1861
1875
|
* @memberof DealsApi
|
|
1862
1876
|
*/
|
|
1863
1877
|
public apiV2DealsSlugGet(requestParameters: DealsApiApiV2DealsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1864
|
-
return DealsApiFp(this.configuration).apiV2DealsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
1878
|
+
return DealsApiFp(this.configuration).apiV2DealsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
1865
1879
|
}
|
|
1866
1880
|
}
|
|
@@ -350,13 +350,14 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
350
350
|
},
|
|
351
351
|
/**
|
|
352
352
|
*
|
|
353
|
-
* @summary
|
|
353
|
+
* @summary Get doctorAffiliation by slug
|
|
354
354
|
* @param {string} slug
|
|
355
355
|
* @param {string} [languageCode]
|
|
356
|
+
* @param {string} [hospitalId]
|
|
356
357
|
* @param {*} [options] Override http request option.
|
|
357
358
|
* @throws {RequiredError}
|
|
358
359
|
*/
|
|
359
|
-
apiV2DoctoraffiliationsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
360
|
+
apiV2DoctoraffiliationsSlugGet: async (slug: string, languageCode?: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
360
361
|
// verify required parameter 'slug' is not null or undefined
|
|
361
362
|
assertParamExists('apiV2DoctoraffiliationsSlugGet', 'slug', slug)
|
|
362
363
|
const localVarPath = `/api/v2/doctoraffiliations/{slug}`
|
|
@@ -376,6 +377,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
376
377
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
377
378
|
}
|
|
378
379
|
|
|
380
|
+
if (hospitalId !== undefined) {
|
|
381
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
382
|
+
}
|
|
383
|
+
|
|
379
384
|
|
|
380
385
|
|
|
381
386
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -480,14 +485,15 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
480
485
|
},
|
|
481
486
|
/**
|
|
482
487
|
*
|
|
483
|
-
* @summary
|
|
488
|
+
* @summary Get doctorAffiliation by slug
|
|
484
489
|
* @param {string} slug
|
|
485
490
|
* @param {string} [languageCode]
|
|
491
|
+
* @param {string} [hospitalId]
|
|
486
492
|
* @param {*} [options] Override http request option.
|
|
487
493
|
* @throws {RequiredError}
|
|
488
494
|
*/
|
|
489
|
-
async apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options);
|
|
495
|
+
async apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, hospitalId, options);
|
|
491
497
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
492
498
|
},
|
|
493
499
|
}
|
|
@@ -578,14 +584,15 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
578
584
|
},
|
|
579
585
|
/**
|
|
580
586
|
*
|
|
581
|
-
* @summary
|
|
587
|
+
* @summary Get doctorAffiliation by slug
|
|
582
588
|
* @param {string} slug
|
|
583
589
|
* @param {string} [languageCode]
|
|
590
|
+
* @param {string} [hospitalId]
|
|
584
591
|
* @param {*} [options] Override http request option.
|
|
585
592
|
* @throws {RequiredError}
|
|
586
593
|
*/
|
|
587
|
-
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
588
|
-
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
594
|
+
apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, hospitalId?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
595
|
+
return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, hospitalId, options).then((request) => request(axios, basePath));
|
|
589
596
|
},
|
|
590
597
|
};
|
|
591
598
|
};
|
|
@@ -861,6 +868,13 @@ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest {
|
|
|
861
868
|
* @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGet
|
|
862
869
|
*/
|
|
863
870
|
readonly languageCode?: string
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
*
|
|
874
|
+
* @type {string}
|
|
875
|
+
* @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGet
|
|
876
|
+
*/
|
|
877
|
+
readonly hospitalId?: string
|
|
864
878
|
}
|
|
865
879
|
|
|
866
880
|
/**
|
|
@@ -932,13 +946,13 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
932
946
|
|
|
933
947
|
/**
|
|
934
948
|
*
|
|
935
|
-
* @summary
|
|
949
|
+
* @summary Get doctorAffiliation by slug
|
|
936
950
|
* @param {DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest} requestParameters Request parameters.
|
|
937
951
|
* @param {*} [options] Override http request option.
|
|
938
952
|
* @throws {RequiredError}
|
|
939
953
|
* @memberof DoctorAffiliationsApi
|
|
940
954
|
*/
|
|
941
955
|
public apiV2DoctoraffiliationsSlugGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
942
|
-
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
956
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
943
957
|
}
|
|
944
958
|
}
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -33,6 +33,10 @@ import { ContactType } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { CreateLandingFormCommand } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { DealModel } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { DoctorAffiliationModel } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
36
40
|
import { FooterNavigationItemModel } from '../models';
|
|
37
41
|
// @ts-ignore
|
|
38
42
|
import { HospitalAccreditationModel } from '../models';
|
|
@@ -604,10 +608,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
604
608
|
* @param {string} hospitalId
|
|
605
609
|
* @param {string} [languageCode]
|
|
606
610
|
* @param {boolean} [excludesCurrentHospital]
|
|
611
|
+
* @param {number} [page]
|
|
612
|
+
* @param {number} [limit]
|
|
613
|
+
* @param {Date} [lastRetrieved]
|
|
607
614
|
* @param {*} [options] Override http request option.
|
|
608
615
|
* @throws {RequiredError}
|
|
609
616
|
*/
|
|
610
|
-
apiV2HospitalsHospitalIdBranchesGet: async (hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
617
|
+
apiV2HospitalsHospitalIdBranchesGet: async (hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
611
618
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
612
619
|
assertParamExists('apiV2HospitalsHospitalIdBranchesGet', 'hospitalId', hospitalId)
|
|
613
620
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/branches`
|
|
@@ -631,6 +638,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
631
638
|
localVarQueryParameter['ExcludesCurrentHospital'] = excludesCurrentHospital;
|
|
632
639
|
}
|
|
633
640
|
|
|
641
|
+
if (page !== undefined) {
|
|
642
|
+
localVarQueryParameter['page'] = page;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
if (limit !== undefined) {
|
|
646
|
+
localVarQueryParameter['limit'] = limit;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
if (lastRetrieved !== undefined) {
|
|
650
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
651
|
+
(lastRetrieved as any).toISOString() :
|
|
652
|
+
lastRetrieved;
|
|
653
|
+
}
|
|
654
|
+
|
|
634
655
|
|
|
635
656
|
|
|
636
657
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -704,6 +725,102 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
704
725
|
|
|
705
726
|
|
|
706
727
|
|
|
728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
730
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
731
|
+
|
|
732
|
+
return {
|
|
733
|
+
url: toPathString(localVarUrlObj),
|
|
734
|
+
options: localVarRequestOptions,
|
|
735
|
+
};
|
|
736
|
+
},
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* @summary Get hospital\'s Deal by slug
|
|
740
|
+
* @param {string} hospitalId
|
|
741
|
+
* @param {string} slug
|
|
742
|
+
* @param {string} [languageCode]
|
|
743
|
+
* @param {boolean} [returnDefaultValue]
|
|
744
|
+
* @param {string} [previewSecret]
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
*/
|
|
748
|
+
apiV2HospitalsHospitalIdDealsSlugGet: async (hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
749
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
750
|
+
assertParamExists('apiV2HospitalsHospitalIdDealsSlugGet', 'hospitalId', hospitalId)
|
|
751
|
+
// verify required parameter 'slug' is not null or undefined
|
|
752
|
+
assertParamExists('apiV2HospitalsHospitalIdDealsSlugGet', 'slug', slug)
|
|
753
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/deals/{slug}`
|
|
754
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
755
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
758
|
+
let baseOptions;
|
|
759
|
+
if (configuration) {
|
|
760
|
+
baseOptions = configuration.baseOptions;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
764
|
+
const localVarHeaderParameter = {} as any;
|
|
765
|
+
const localVarQueryParameter = {} as any;
|
|
766
|
+
|
|
767
|
+
if (languageCode !== undefined) {
|
|
768
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
if (returnDefaultValue !== undefined) {
|
|
772
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
if (previewSecret !== undefined) {
|
|
776
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
784
|
+
|
|
785
|
+
return {
|
|
786
|
+
url: toPathString(localVarUrlObj),
|
|
787
|
+
options: localVarRequestOptions,
|
|
788
|
+
};
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @summary Get hospital\'s doctorAffiliations by slug
|
|
793
|
+
* @param {string} hospitalId
|
|
794
|
+
* @param {string} slug
|
|
795
|
+
* @param {string} [languageCode]
|
|
796
|
+
* @param {*} [options] Override http request option.
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
*/
|
|
799
|
+
apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet: async (hospitalId: string, slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
800
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
801
|
+
assertParamExists('apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet', 'hospitalId', hospitalId)
|
|
802
|
+
// verify required parameter 'slug' is not null or undefined
|
|
803
|
+
assertParamExists('apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet', 'slug', slug)
|
|
804
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/doctoraffiliations/{slug}`
|
|
805
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
806
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
809
|
+
let baseOptions;
|
|
810
|
+
if (configuration) {
|
|
811
|
+
baseOptions = configuration.baseOptions;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
815
|
+
const localVarHeaderParameter = {} as any;
|
|
816
|
+
const localVarQueryParameter = {} as any;
|
|
817
|
+
|
|
818
|
+
if (languageCode !== undefined) {
|
|
819
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
707
824
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
708
825
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
709
826
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3223,11 +3340,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3223
3340
|
* @param {string} hospitalId
|
|
3224
3341
|
* @param {string} [languageCode]
|
|
3225
3342
|
* @param {boolean} [excludesCurrentHospital]
|
|
3343
|
+
* @param {number} [page]
|
|
3344
|
+
* @param {number} [limit]
|
|
3345
|
+
* @param {Date} [lastRetrieved]
|
|
3226
3346
|
* @param {*} [options] Override http request option.
|
|
3227
3347
|
* @throws {RequiredError}
|
|
3228
3348
|
*/
|
|
3229
|
-
async apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
3230
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, options);
|
|
3349
|
+
async apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
3350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, page, limit, lastRetrieved, options);
|
|
3231
3351
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3232
3352
|
},
|
|
3233
3353
|
/**
|
|
@@ -3248,6 +3368,34 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3248
3368
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options);
|
|
3249
3369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3250
3370
|
},
|
|
3371
|
+
/**
|
|
3372
|
+
*
|
|
3373
|
+
* @summary Get hospital\'s Deal by slug
|
|
3374
|
+
* @param {string} hospitalId
|
|
3375
|
+
* @param {string} slug
|
|
3376
|
+
* @param {string} [languageCode]
|
|
3377
|
+
* @param {boolean} [returnDefaultValue]
|
|
3378
|
+
* @param {string} [previewSecret]
|
|
3379
|
+
* @param {*} [options] Override http request option.
|
|
3380
|
+
* @throws {RequiredError}
|
|
3381
|
+
*/
|
|
3382
|
+
async apiV2HospitalsHospitalIdDealsSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
3383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdDealsSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
3384
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3385
|
+
},
|
|
3386
|
+
/**
|
|
3387
|
+
*
|
|
3388
|
+
* @summary Get hospital\'s doctorAffiliations by slug
|
|
3389
|
+
* @param {string} hospitalId
|
|
3390
|
+
* @param {string} slug
|
|
3391
|
+
* @param {string} [languageCode]
|
|
3392
|
+
* @param {*} [options] Override http request option.
|
|
3393
|
+
* @throws {RequiredError}
|
|
3394
|
+
*/
|
|
3395
|
+
async apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
3396
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId, slug, languageCode, options);
|
|
3397
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3398
|
+
},
|
|
3251
3399
|
/**
|
|
3252
3400
|
*
|
|
3253
3401
|
* @summary Get HospitalEquipment.
|
|
@@ -4019,11 +4167,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4019
4167
|
* @param {string} hospitalId
|
|
4020
4168
|
* @param {string} [languageCode]
|
|
4021
4169
|
* @param {boolean} [excludesCurrentHospital]
|
|
4170
|
+
* @param {number} [page]
|
|
4171
|
+
* @param {number} [limit]
|
|
4172
|
+
* @param {Date} [lastRetrieved]
|
|
4022
4173
|
* @param {*} [options] Override http request option.
|
|
4023
4174
|
* @throws {RequiredError}
|
|
4024
4175
|
*/
|
|
4025
|
-
apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
4026
|
-
return localVarFp.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, options).then((request) => request(axios, basePath));
|
|
4176
|
+
apiV2HospitalsHospitalIdBranchesGet(hospitalId: string, languageCode?: string, excludesCurrentHospital?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
4177
|
+
return localVarFp.apiV2HospitalsHospitalIdBranchesGet(hospitalId, languageCode, excludesCurrentHospital, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4027
4178
|
},
|
|
4028
4179
|
/**
|
|
4029
4180
|
*
|
|
@@ -4042,6 +4193,32 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4042
4193
|
apiV2HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalContactsModel> {
|
|
4043
4194
|
return localVarFp.apiV2HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4044
4195
|
},
|
|
4196
|
+
/**
|
|
4197
|
+
*
|
|
4198
|
+
* @summary Get hospital\'s Deal by slug
|
|
4199
|
+
* @param {string} hospitalId
|
|
4200
|
+
* @param {string} slug
|
|
4201
|
+
* @param {string} [languageCode]
|
|
4202
|
+
* @param {boolean} [returnDefaultValue]
|
|
4203
|
+
* @param {string} [previewSecret]
|
|
4204
|
+
* @param {*} [options] Override http request option.
|
|
4205
|
+
* @throws {RequiredError}
|
|
4206
|
+
*/
|
|
4207
|
+
apiV2HospitalsHospitalIdDealsSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<DealModel> {
|
|
4208
|
+
return localVarFp.apiV2HospitalsHospitalIdDealsSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
4209
|
+
},
|
|
4210
|
+
/**
|
|
4211
|
+
*
|
|
4212
|
+
* @summary Get hospital\'s doctorAffiliations by slug
|
|
4213
|
+
* @param {string} hospitalId
|
|
4214
|
+
* @param {string} slug
|
|
4215
|
+
* @param {string} [languageCode]
|
|
4216
|
+
* @param {*} [options] Override http request option.
|
|
4217
|
+
* @throws {RequiredError}
|
|
4218
|
+
*/
|
|
4219
|
+
apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
4220
|
+
return localVarFp.apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId, slug, languageCode, options).then((request) => request(axios, basePath));
|
|
4221
|
+
},
|
|
4045
4222
|
/**
|
|
4046
4223
|
*
|
|
4047
4224
|
* @summary Get HospitalEquipment.
|
|
@@ -5065,6 +5242,27 @@ export interface HospitalsApiApiV2HospitalsHospitalIdBranchesGetRequest {
|
|
|
5065
5242
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5066
5243
|
*/
|
|
5067
5244
|
readonly excludesCurrentHospital?: boolean
|
|
5245
|
+
|
|
5246
|
+
/**
|
|
5247
|
+
*
|
|
5248
|
+
* @type {number}
|
|
5249
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5250
|
+
*/
|
|
5251
|
+
readonly page?: number
|
|
5252
|
+
|
|
5253
|
+
/**
|
|
5254
|
+
*
|
|
5255
|
+
* @type {number}
|
|
5256
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5257
|
+
*/
|
|
5258
|
+
readonly limit?: number
|
|
5259
|
+
|
|
5260
|
+
/**
|
|
5261
|
+
*
|
|
5262
|
+
* @type {Date}
|
|
5263
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdBranchesGet
|
|
5264
|
+
*/
|
|
5265
|
+
readonly lastRetrieved?: Date
|
|
5068
5266
|
}
|
|
5069
5267
|
|
|
5070
5268
|
/**
|
|
@@ -5130,6 +5328,76 @@ export interface HospitalsApiApiV2HospitalsHospitalIdContactsGetRequest {
|
|
|
5130
5328
|
readonly lastRetrieved?: Date
|
|
5131
5329
|
}
|
|
5132
5330
|
|
|
5331
|
+
/**
|
|
5332
|
+
* Request parameters for apiV2HospitalsHospitalIdDealsSlugGet operation in HospitalsApi.
|
|
5333
|
+
* @export
|
|
5334
|
+
* @interface HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest
|
|
5335
|
+
*/
|
|
5336
|
+
export interface HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest {
|
|
5337
|
+
/**
|
|
5338
|
+
*
|
|
5339
|
+
* @type {string}
|
|
5340
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
|
|
5341
|
+
*/
|
|
5342
|
+
readonly hospitalId: string
|
|
5343
|
+
|
|
5344
|
+
/**
|
|
5345
|
+
*
|
|
5346
|
+
* @type {string}
|
|
5347
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
|
|
5348
|
+
*/
|
|
5349
|
+
readonly slug: string
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
*
|
|
5353
|
+
* @type {string}
|
|
5354
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
|
|
5355
|
+
*/
|
|
5356
|
+
readonly languageCode?: string
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
*
|
|
5360
|
+
* @type {boolean}
|
|
5361
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
|
|
5362
|
+
*/
|
|
5363
|
+
readonly returnDefaultValue?: boolean
|
|
5364
|
+
|
|
5365
|
+
/**
|
|
5366
|
+
*
|
|
5367
|
+
* @type {string}
|
|
5368
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
|
|
5369
|
+
*/
|
|
5370
|
+
readonly previewSecret?: string
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
/**
|
|
5374
|
+
* Request parameters for apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet operation in HospitalsApi.
|
|
5375
|
+
* @export
|
|
5376
|
+
* @interface HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest
|
|
5377
|
+
*/
|
|
5378
|
+
export interface HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest {
|
|
5379
|
+
/**
|
|
5380
|
+
*
|
|
5381
|
+
* @type {string}
|
|
5382
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
|
|
5383
|
+
*/
|
|
5384
|
+
readonly hospitalId: string
|
|
5385
|
+
|
|
5386
|
+
/**
|
|
5387
|
+
*
|
|
5388
|
+
* @type {string}
|
|
5389
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
|
|
5390
|
+
*/
|
|
5391
|
+
readonly slug: string
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
*
|
|
5395
|
+
* @type {string}
|
|
5396
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
|
|
5397
|
+
*/
|
|
5398
|
+
readonly languageCode?: string
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5133
5401
|
/**
|
|
5134
5402
|
* Request parameters for apiV2HospitalsHospitalIdEquipmentsEquipmentIdGet operation in HospitalsApi.
|
|
5135
5403
|
* @export
|
|
@@ -7166,7 +7434,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
7166
7434
|
* @memberof HospitalsApi
|
|
7167
7435
|
*/
|
|
7168
7436
|
public apiV2HospitalsHospitalIdBranchesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdBranchesGetRequest, options?: AxiosRequestConfig) {
|
|
7169
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdBranchesGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.excludesCurrentHospital, options).then((request) => request(this.axios, this.basePath));
|
|
7437
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdBranchesGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.excludesCurrentHospital, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
7170
7438
|
}
|
|
7171
7439
|
|
|
7172
7440
|
/**
|
|
@@ -7181,6 +7449,30 @@ export class HospitalsApi extends BaseAPI {
|
|
|
7181
7449
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
7182
7450
|
}
|
|
7183
7451
|
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @summary Get hospital\'s Deal by slug
|
|
7455
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest} requestParameters Request parameters.
|
|
7456
|
+
* @param {*} [options] Override http request option.
|
|
7457
|
+
* @throws {RequiredError}
|
|
7458
|
+
* @memberof HospitalsApi
|
|
7459
|
+
*/
|
|
7460
|
+
public apiV2HospitalsHospitalIdDealsSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
7461
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdDealsSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
7462
|
+
}
|
|
7463
|
+
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @summary Get hospital\'s doctorAffiliations by slug
|
|
7467
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest} requestParameters Request parameters.
|
|
7468
|
+
* @param {*} [options] Override http request option.
|
|
7469
|
+
* @throws {RequiredError}
|
|
7470
|
+
* @memberof HospitalsApi
|
|
7471
|
+
*/
|
|
7472
|
+
public apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
7473
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
7474
|
+
}
|
|
7475
|
+
|
|
7184
7476
|
/**
|
|
7185
7477
|
*
|
|
7186
7478
|
* @summary Get HospitalEquipment.
|