ch-api-client-typescript2 2.7.5 → 2.7.9
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.d.ts +435 -44
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +276 -78
- package/package.json +1 -1
- package/src/api.ts +579 -81
package/src/api.ts
CHANGED
|
@@ -936,6 +936,12 @@ export interface BookingItemModel {
|
|
|
936
936
|
* @memberof BookingItemModel
|
|
937
937
|
*/
|
|
938
938
|
'hospitalSlug'?: string | null;
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
* @type {string}
|
|
942
|
+
* @memberof BookingItemModel
|
|
943
|
+
*/
|
|
944
|
+
'hospitalTimeZone'?: string | null;
|
|
939
945
|
/**
|
|
940
946
|
*
|
|
941
947
|
* @type {string}
|
|
@@ -1135,6 +1141,12 @@ export interface BookingModel {
|
|
|
1135
1141
|
* @memberof BookingModel
|
|
1136
1142
|
*/
|
|
1137
1143
|
'hospitalSlug'?: string | null;
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @type {string}
|
|
1147
|
+
* @memberof BookingModel
|
|
1148
|
+
*/
|
|
1149
|
+
'hospitalTimeZone'?: string | null;
|
|
1138
1150
|
/**
|
|
1139
1151
|
*
|
|
1140
1152
|
* @type {string}
|
|
@@ -1574,6 +1586,12 @@ export interface ConsultationItemModel {
|
|
|
1574
1586
|
* @memberof ConsultationItemModel
|
|
1575
1587
|
*/
|
|
1576
1588
|
'hospitalSlug'?: string | null;
|
|
1589
|
+
/**
|
|
1590
|
+
*
|
|
1591
|
+
* @type {string}
|
|
1592
|
+
* @memberof ConsultationItemModel
|
|
1593
|
+
*/
|
|
1594
|
+
'hospitalTimeZone'?: string | null;
|
|
1577
1595
|
/**
|
|
1578
1596
|
*
|
|
1579
1597
|
* @type {string}
|
|
@@ -1833,6 +1851,12 @@ export interface ConsultationModel {
|
|
|
1833
1851
|
* @memberof ConsultationModel
|
|
1834
1852
|
*/
|
|
1835
1853
|
'hospitalSlug'?: string | null;
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {string}
|
|
1857
|
+
* @memberof ConsultationModel
|
|
1858
|
+
*/
|
|
1859
|
+
'hospitalTimeZone'?: string | null;
|
|
1836
1860
|
/**
|
|
1837
1861
|
*
|
|
1838
1862
|
* @type {string}
|
|
@@ -2968,6 +2992,30 @@ export interface DealItemModel {
|
|
|
2968
2992
|
* @memberof DealItemModel
|
|
2969
2993
|
*/
|
|
2970
2994
|
'hospitalSlug'?: string | null;
|
|
2995
|
+
/**
|
|
2996
|
+
*
|
|
2997
|
+
* @type {string}
|
|
2998
|
+
* @memberof DealItemModel
|
|
2999
|
+
*/
|
|
3000
|
+
'hospitalLocationCountry'?: string | null;
|
|
3001
|
+
/**
|
|
3002
|
+
*
|
|
3003
|
+
* @type {string}
|
|
3004
|
+
* @memberof DealItemModel
|
|
3005
|
+
*/
|
|
3006
|
+
'hospitalLocationState'?: string | null;
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @type {boolean}
|
|
3010
|
+
* @memberof DealItemModel
|
|
3011
|
+
*/
|
|
3012
|
+
'hospitalConsultationEnabled'?: boolean;
|
|
3013
|
+
/**
|
|
3014
|
+
*
|
|
3015
|
+
* @type {number}
|
|
3016
|
+
* @memberof DealItemModel
|
|
3017
|
+
*/
|
|
3018
|
+
'serviceDuration'?: number;
|
|
2971
3019
|
/**
|
|
2972
3020
|
*
|
|
2973
3021
|
* @type {MarketingType}
|
|
@@ -3071,6 +3119,30 @@ export interface DealModel {
|
|
|
3071
3119
|
* @memberof DealModel
|
|
3072
3120
|
*/
|
|
3073
3121
|
'hospitalSlug'?: string | null;
|
|
3122
|
+
/**
|
|
3123
|
+
*
|
|
3124
|
+
* @type {string}
|
|
3125
|
+
* @memberof DealModel
|
|
3126
|
+
*/
|
|
3127
|
+
'hospitalLocationCountry'?: string | null;
|
|
3128
|
+
/**
|
|
3129
|
+
*
|
|
3130
|
+
* @type {string}
|
|
3131
|
+
* @memberof DealModel
|
|
3132
|
+
*/
|
|
3133
|
+
'hospitalLocationState'?: string | null;
|
|
3134
|
+
/**
|
|
3135
|
+
*
|
|
3136
|
+
* @type {boolean}
|
|
3137
|
+
* @memberof DealModel
|
|
3138
|
+
*/
|
|
3139
|
+
'hospitalConsultationEnabled'?: boolean;
|
|
3140
|
+
/**
|
|
3141
|
+
*
|
|
3142
|
+
* @type {number}
|
|
3143
|
+
* @memberof DealModel
|
|
3144
|
+
*/
|
|
3145
|
+
'serviceDuration'?: number;
|
|
3074
3146
|
/**
|
|
3075
3147
|
*
|
|
3076
3148
|
* @type {MarketingType}
|
|
@@ -3905,6 +3977,67 @@ export interface DoctorItemModel {
|
|
|
3905
3977
|
*/
|
|
3906
3978
|
'confirmed'?: boolean;
|
|
3907
3979
|
}
|
|
3980
|
+
/**
|
|
3981
|
+
*
|
|
3982
|
+
* @export
|
|
3983
|
+
* @interface DoctorItemSimpleModel
|
|
3984
|
+
*/
|
|
3985
|
+
export interface DoctorItemSimpleModel {
|
|
3986
|
+
/**
|
|
3987
|
+
*
|
|
3988
|
+
* @type {string}
|
|
3989
|
+
* @memberof DoctorItemSimpleModel
|
|
3990
|
+
*/
|
|
3991
|
+
'id'?: string;
|
|
3992
|
+
/**
|
|
3993
|
+
*
|
|
3994
|
+
* @type {string}
|
|
3995
|
+
* @memberof DoctorItemSimpleModel
|
|
3996
|
+
*/
|
|
3997
|
+
'firstName'?: string | null;
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @type {string}
|
|
4001
|
+
* @memberof DoctorItemSimpleModel
|
|
4002
|
+
*/
|
|
4003
|
+
'lastName'?: string | null;
|
|
4004
|
+
/**
|
|
4005
|
+
*
|
|
4006
|
+
* @type {string}
|
|
4007
|
+
* @memberof DoctorItemSimpleModel
|
|
4008
|
+
*/
|
|
4009
|
+
'fullname'?: string | null;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof DoctorItemSimpleModel
|
|
4014
|
+
*/
|
|
4015
|
+
'slug'?: string | null;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @type {string}
|
|
4019
|
+
* @memberof DoctorItemSimpleModel
|
|
4020
|
+
*/
|
|
4021
|
+
'hospitalId'?: string | null;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {string}
|
|
4025
|
+
* @memberof DoctorItemSimpleModel
|
|
4026
|
+
*/
|
|
4027
|
+
'hospitalName'?: string | null;
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @type {string}
|
|
4031
|
+
* @memberof DoctorItemSimpleModel
|
|
4032
|
+
*/
|
|
4033
|
+
'overview'?: string | null;
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @type {boolean}
|
|
4037
|
+
* @memberof DoctorItemSimpleModel
|
|
4038
|
+
*/
|
|
4039
|
+
'confirmed'?: boolean;
|
|
4040
|
+
}
|
|
3908
4041
|
/**
|
|
3909
4042
|
*
|
|
3910
4043
|
* @export
|
|
@@ -4351,6 +4484,25 @@ export interface DoctorsModel {
|
|
|
4351
4484
|
*/
|
|
4352
4485
|
'metaData'?: PagedListMetaData;
|
|
4353
4486
|
}
|
|
4487
|
+
/**
|
|
4488
|
+
*
|
|
4489
|
+
* @export
|
|
4490
|
+
* @interface DoctorsSimpleModel
|
|
4491
|
+
*/
|
|
4492
|
+
export interface DoctorsSimpleModel {
|
|
4493
|
+
/**
|
|
4494
|
+
*
|
|
4495
|
+
* @type {Array<DoctorItemSimpleModel>}
|
|
4496
|
+
* @memberof DoctorsSimpleModel
|
|
4497
|
+
*/
|
|
4498
|
+
'items'?: Array<DoctorItemSimpleModel> | null;
|
|
4499
|
+
/**
|
|
4500
|
+
*
|
|
4501
|
+
* @type {PagedListMetaData}
|
|
4502
|
+
* @memberof DoctorsSimpleModel
|
|
4503
|
+
*/
|
|
4504
|
+
'metaData'?: PagedListMetaData;
|
|
4505
|
+
}
|
|
4354
4506
|
/**
|
|
4355
4507
|
*
|
|
4356
4508
|
* @export
|
|
@@ -5847,6 +5999,12 @@ export interface HospitalSpecialtiesModel {
|
|
|
5847
5999
|
* @interface HospitalSpecialtyItemModel
|
|
5848
6000
|
*/
|
|
5849
6001
|
export interface HospitalSpecialtyItemModel {
|
|
6002
|
+
/**
|
|
6003
|
+
*
|
|
6004
|
+
* @type {string}
|
|
6005
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6006
|
+
*/
|
|
6007
|
+
'id'?: string;
|
|
5850
6008
|
/**
|
|
5851
6009
|
*
|
|
5852
6010
|
* @type {string}
|
|
@@ -5895,12 +6053,48 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5895
6053
|
* @memberof HospitalSpecialtyItemModel
|
|
5896
6054
|
*/
|
|
5897
6055
|
'marketingType'?: MarketingType;
|
|
6056
|
+
/**
|
|
6057
|
+
*
|
|
6058
|
+
* @type {string}
|
|
6059
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6060
|
+
*/
|
|
6061
|
+
'title'?: string | null;
|
|
6062
|
+
/**
|
|
6063
|
+
*
|
|
6064
|
+
* @type {string}
|
|
6065
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6066
|
+
*/
|
|
6067
|
+
'description'?: string | null;
|
|
6068
|
+
/**
|
|
6069
|
+
*
|
|
6070
|
+
* @type {string}
|
|
6071
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6072
|
+
*/
|
|
6073
|
+
'content'?: string | null;
|
|
5898
6074
|
/**
|
|
5899
6075
|
*
|
|
5900
6076
|
* @type {number}
|
|
5901
6077
|
* @memberof HospitalSpecialtyItemModel
|
|
5902
6078
|
*/
|
|
5903
6079
|
'order'?: number;
|
|
6080
|
+
/**
|
|
6081
|
+
*
|
|
6082
|
+
* @type {boolean}
|
|
6083
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6084
|
+
*/
|
|
6085
|
+
'confirmed'?: boolean;
|
|
6086
|
+
/**
|
|
6087
|
+
*
|
|
6088
|
+
* @type {Array<MediaModel>}
|
|
6089
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6090
|
+
*/
|
|
6091
|
+
'medias'?: Array<MediaModel> | null;
|
|
6092
|
+
/**
|
|
6093
|
+
*
|
|
6094
|
+
* @type {AuditableEntity}
|
|
6095
|
+
* @memberof HospitalSpecialtyItemModel
|
|
6096
|
+
*/
|
|
6097
|
+
'auditableEntity'?: AuditableEntity;
|
|
5904
6098
|
}
|
|
5905
6099
|
/**
|
|
5906
6100
|
*
|
|
@@ -5908,6 +6102,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5908
6102
|
* @interface HospitalSpecialtyModel
|
|
5909
6103
|
*/
|
|
5910
6104
|
export interface HospitalSpecialtyModel {
|
|
6105
|
+
/**
|
|
6106
|
+
*
|
|
6107
|
+
* @type {string}
|
|
6108
|
+
* @memberof HospitalSpecialtyModel
|
|
6109
|
+
*/
|
|
6110
|
+
'id'?: string;
|
|
5911
6111
|
/**
|
|
5912
6112
|
*
|
|
5913
6113
|
* @type {string}
|
|
@@ -5956,12 +6156,54 @@ export interface HospitalSpecialtyModel {
|
|
|
5956
6156
|
* @memberof HospitalSpecialtyModel
|
|
5957
6157
|
*/
|
|
5958
6158
|
'marketingType'?: MarketingType;
|
|
6159
|
+
/**
|
|
6160
|
+
*
|
|
6161
|
+
* @type {string}
|
|
6162
|
+
* @memberof HospitalSpecialtyModel
|
|
6163
|
+
*/
|
|
6164
|
+
'title'?: string | null;
|
|
6165
|
+
/**
|
|
6166
|
+
*
|
|
6167
|
+
* @type {string}
|
|
6168
|
+
* @memberof HospitalSpecialtyModel
|
|
6169
|
+
*/
|
|
6170
|
+
'description'?: string | null;
|
|
6171
|
+
/**
|
|
6172
|
+
*
|
|
6173
|
+
* @type {string}
|
|
6174
|
+
* @memberof HospitalSpecialtyModel
|
|
6175
|
+
*/
|
|
6176
|
+
'content'?: string | null;
|
|
5959
6177
|
/**
|
|
5960
6178
|
*
|
|
5961
6179
|
* @type {number}
|
|
5962
6180
|
* @memberof HospitalSpecialtyModel
|
|
5963
6181
|
*/
|
|
5964
6182
|
'order'?: number;
|
|
6183
|
+
/**
|
|
6184
|
+
*
|
|
6185
|
+
* @type {boolean}
|
|
6186
|
+
* @memberof HospitalSpecialtyModel
|
|
6187
|
+
*/
|
|
6188
|
+
'confirmed'?: boolean;
|
|
6189
|
+
/**
|
|
6190
|
+
*
|
|
6191
|
+
* @type {Array<MediaModel>}
|
|
6192
|
+
* @memberof HospitalSpecialtyModel
|
|
6193
|
+
*/
|
|
6194
|
+
'medias'?: Array<MediaModel> | null;
|
|
6195
|
+
/**
|
|
6196
|
+
*
|
|
6197
|
+
* @type {AuditableEntity}
|
|
6198
|
+
* @memberof HospitalSpecialtyModel
|
|
6199
|
+
*/
|
|
6200
|
+
'auditableEntity'?: AuditableEntity;
|
|
6201
|
+
/**
|
|
6202
|
+
*
|
|
6203
|
+
* @type {string}
|
|
6204
|
+
* @memberof HospitalSpecialtyModel
|
|
6205
|
+
*/
|
|
6206
|
+
'languageCode'?: string | null;
|
|
5965
6207
|
}
|
|
5966
6208
|
/**
|
|
5967
6209
|
*
|
|
@@ -7276,6 +7518,30 @@ export interface ServiceReviewItemModel {
|
|
|
7276
7518
|
* @memberof ServiceReviewItemModel
|
|
7277
7519
|
*/
|
|
7278
7520
|
'patientName'?: string | null;
|
|
7521
|
+
/**
|
|
7522
|
+
*
|
|
7523
|
+
* @type {Gender}
|
|
7524
|
+
* @memberof ServiceReviewItemModel
|
|
7525
|
+
*/
|
|
7526
|
+
'patientGender'?: Gender;
|
|
7527
|
+
/**
|
|
7528
|
+
*
|
|
7529
|
+
* @type {string}
|
|
7530
|
+
* @memberof ServiceReviewItemModel
|
|
7531
|
+
*/
|
|
7532
|
+
'patientPhoto'?: string | null;
|
|
7533
|
+
/**
|
|
7534
|
+
*
|
|
7535
|
+
* @type {string}
|
|
7536
|
+
* @memberof ServiceReviewItemModel
|
|
7537
|
+
*/
|
|
7538
|
+
'patientPhotoThumbnail'?: string | null;
|
|
7539
|
+
/**
|
|
7540
|
+
*
|
|
7541
|
+
* @type {Date}
|
|
7542
|
+
* @memberof ServiceReviewItemModel
|
|
7543
|
+
*/
|
|
7544
|
+
'patientCreatedDate'?: Date | null;
|
|
7279
7545
|
/**
|
|
7280
7546
|
*
|
|
7281
7547
|
* @type {string}
|
|
@@ -7343,6 +7609,30 @@ export interface ServiceReviewModel {
|
|
|
7343
7609
|
* @memberof ServiceReviewModel
|
|
7344
7610
|
*/
|
|
7345
7611
|
'patientName'?: string | null;
|
|
7612
|
+
/**
|
|
7613
|
+
*
|
|
7614
|
+
* @type {Gender}
|
|
7615
|
+
* @memberof ServiceReviewModel
|
|
7616
|
+
*/
|
|
7617
|
+
'patientGender'?: Gender;
|
|
7618
|
+
/**
|
|
7619
|
+
*
|
|
7620
|
+
* @type {string}
|
|
7621
|
+
* @memberof ServiceReviewModel
|
|
7622
|
+
*/
|
|
7623
|
+
'patientPhoto'?: string | null;
|
|
7624
|
+
/**
|
|
7625
|
+
*
|
|
7626
|
+
* @type {string}
|
|
7627
|
+
* @memberof ServiceReviewModel
|
|
7628
|
+
*/
|
|
7629
|
+
'patientPhotoThumbnail'?: string | null;
|
|
7630
|
+
/**
|
|
7631
|
+
*
|
|
7632
|
+
* @type {Date}
|
|
7633
|
+
* @memberof ServiceReviewModel
|
|
7634
|
+
*/
|
|
7635
|
+
'patientCreatedDate'?: Date | null;
|
|
7346
7636
|
/**
|
|
7347
7637
|
*
|
|
7348
7638
|
* @type {string}
|
|
@@ -13593,6 +13883,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13593
13883
|
* @param {string} [hospitalName]
|
|
13594
13884
|
* @param {string} [specialtyId]
|
|
13595
13885
|
* @param {string} [specialtyTypeId]
|
|
13886
|
+
* @param {string} [serviceId]
|
|
13596
13887
|
* @param {string} [exceptHospitalId]
|
|
13597
13888
|
* @param {string} [exceptDealId]
|
|
13598
13889
|
* @param {Array<string>} [ids]
|
|
@@ -13605,7 +13896,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13605
13896
|
* @param {*} [options] Override http request option.
|
|
13606
13897
|
* @throws {RequiredError}
|
|
13607
13898
|
*/
|
|
13608
|
-
apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13899
|
+
apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13609
13900
|
const localVarPath = `/api/v2/deals`;
|
|
13610
13901
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13611
13902
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13650,6 +13941,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13650
13941
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
13651
13942
|
}
|
|
13652
13943
|
|
|
13944
|
+
if (serviceId !== undefined) {
|
|
13945
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13653
13948
|
if (exceptHospitalId !== undefined) {
|
|
13654
13949
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
13655
13950
|
}
|
|
@@ -13835,6 +14130,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
13835
14130
|
* @param {string} [hospitalName]
|
|
13836
14131
|
* @param {string} [specialtyId]
|
|
13837
14132
|
* @param {string} [specialtyTypeId]
|
|
14133
|
+
* @param {string} [serviceId]
|
|
13838
14134
|
* @param {string} [exceptHospitalId]
|
|
13839
14135
|
* @param {string} [exceptDealId]
|
|
13840
14136
|
* @param {Array<string>} [ids]
|
|
@@ -13847,8 +14143,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
13847
14143
|
* @param {*} [options] Override http request option.
|
|
13848
14144
|
* @throws {RequiredError}
|
|
13849
14145
|
*/
|
|
13850
|
-
async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
13851
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
14146
|
+
async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
14147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
13852
14148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13853
14149
|
},
|
|
13854
14150
|
/**
|
|
@@ -13951,6 +14247,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
13951
14247
|
* @param {string} [hospitalName]
|
|
13952
14248
|
* @param {string} [specialtyId]
|
|
13953
14249
|
* @param {string} [specialtyTypeId]
|
|
14250
|
+
* @param {string} [serviceId]
|
|
13954
14251
|
* @param {string} [exceptHospitalId]
|
|
13955
14252
|
* @param {string} [exceptDealId]
|
|
13956
14253
|
* @param {Array<string>} [ids]
|
|
@@ -13963,8 +14260,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
13963
14260
|
* @param {*} [options] Override http request option.
|
|
13964
14261
|
* @throws {RequiredError}
|
|
13965
14262
|
*/
|
|
13966
|
-
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
13967
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14263
|
+
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
14264
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13968
14265
|
},
|
|
13969
14266
|
/**
|
|
13970
14267
|
*
|
|
@@ -14075,6 +14372,7 @@ export class DealsApi extends BaseAPI {
|
|
|
14075
14372
|
* @param {string} [hospitalName]
|
|
14076
14373
|
* @param {string} [specialtyId]
|
|
14077
14374
|
* @param {string} [specialtyTypeId]
|
|
14375
|
+
* @param {string} [serviceId]
|
|
14078
14376
|
* @param {string} [exceptHospitalId]
|
|
14079
14377
|
* @param {string} [exceptDealId]
|
|
14080
14378
|
* @param {Array<string>} [ids]
|
|
@@ -14088,8 +14386,8 @@ export class DealsApi extends BaseAPI {
|
|
|
14088
14386
|
* @throws {RequiredError}
|
|
14089
14387
|
* @memberof DealsApi
|
|
14090
14388
|
*/
|
|
14091
|
-
public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14092
|
-
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14389
|
+
public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14390
|
+
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14093
14391
|
}
|
|
14094
14392
|
|
|
14095
14393
|
/**
|
|
@@ -14889,6 +15187,112 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14889
15187
|
|
|
14890
15188
|
|
|
14891
15189
|
|
|
15190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15193
|
+
|
|
15194
|
+
return {
|
|
15195
|
+
url: toPathString(localVarUrlObj),
|
|
15196
|
+
options: localVarRequestOptions,
|
|
15197
|
+
};
|
|
15198
|
+
},
|
|
15199
|
+
/**
|
|
15200
|
+
*
|
|
15201
|
+
* @summary Get all Doctors.
|
|
15202
|
+
* @param {string} [hospitalId]
|
|
15203
|
+
* @param {string} [languageCode]
|
|
15204
|
+
* @param {boolean} [returnDefaultValue]
|
|
15205
|
+
* @param {Array<string>} [ids]
|
|
15206
|
+
* @param {string} [id]
|
|
15207
|
+
* @param {string} [fullname]
|
|
15208
|
+
* @param {string} [email]
|
|
15209
|
+
* @param {Gender} [gender]
|
|
15210
|
+
* @param {Date} [dateOfBirth]
|
|
15211
|
+
* @param {Date} [created]
|
|
15212
|
+
* @param {boolean} [showHidden]
|
|
15213
|
+
* @param {number} [page]
|
|
15214
|
+
* @param {number} [limit]
|
|
15215
|
+
* @param {Date} [lastRetrieved]
|
|
15216
|
+
* @param {*} [options] Override http request option.
|
|
15217
|
+
* @throws {RequiredError}
|
|
15218
|
+
*/
|
|
15219
|
+
apiV2DoctorsSimpleGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15220
|
+
const localVarPath = `/api/v2/doctors/simple`;
|
|
15221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15223
|
+
let baseOptions;
|
|
15224
|
+
if (configuration) {
|
|
15225
|
+
baseOptions = configuration.baseOptions;
|
|
15226
|
+
}
|
|
15227
|
+
|
|
15228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15229
|
+
const localVarHeaderParameter = {} as any;
|
|
15230
|
+
const localVarQueryParameter = {} as any;
|
|
15231
|
+
|
|
15232
|
+
if (hospitalId !== undefined) {
|
|
15233
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15234
|
+
}
|
|
15235
|
+
|
|
15236
|
+
if (languageCode !== undefined) {
|
|
15237
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15238
|
+
}
|
|
15239
|
+
|
|
15240
|
+
if (returnDefaultValue !== undefined) {
|
|
15241
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
15242
|
+
}
|
|
15243
|
+
|
|
15244
|
+
if (ids) {
|
|
15245
|
+
localVarQueryParameter['Ids'] = ids;
|
|
15246
|
+
}
|
|
15247
|
+
|
|
15248
|
+
if (id !== undefined) {
|
|
15249
|
+
localVarQueryParameter['Id'] = id;
|
|
15250
|
+
}
|
|
15251
|
+
|
|
15252
|
+
if (fullname !== undefined) {
|
|
15253
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15256
|
+
if (email !== undefined) {
|
|
15257
|
+
localVarQueryParameter['Email'] = email;
|
|
15258
|
+
}
|
|
15259
|
+
|
|
15260
|
+
if (gender !== undefined) {
|
|
15261
|
+
localVarQueryParameter['Gender'] = gender;
|
|
15262
|
+
}
|
|
15263
|
+
|
|
15264
|
+
if (dateOfBirth !== undefined) {
|
|
15265
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
|
|
15266
|
+
(dateOfBirth as any).toISOString() :
|
|
15267
|
+
dateOfBirth;
|
|
15268
|
+
}
|
|
15269
|
+
|
|
15270
|
+
if (created !== undefined) {
|
|
15271
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
15272
|
+
(created as any).toISOString() :
|
|
15273
|
+
created;
|
|
15274
|
+
}
|
|
15275
|
+
|
|
15276
|
+
if (showHidden !== undefined) {
|
|
15277
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
15278
|
+
}
|
|
15279
|
+
|
|
15280
|
+
if (page !== undefined) {
|
|
15281
|
+
localVarQueryParameter['page'] = page;
|
|
15282
|
+
}
|
|
15283
|
+
|
|
15284
|
+
if (limit !== undefined) {
|
|
15285
|
+
localVarQueryParameter['limit'] = limit;
|
|
15286
|
+
}
|
|
15287
|
+
|
|
15288
|
+
if (lastRetrieved !== undefined) {
|
|
15289
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
15290
|
+
(lastRetrieved as any).toISOString() :
|
|
15291
|
+
lastRetrieved;
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15294
|
+
|
|
15295
|
+
|
|
14892
15296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14893
15297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14894
15298
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15162,6 +15566,30 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
15162
15566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
15163
15567
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15164
15568
|
},
|
|
15569
|
+
/**
|
|
15570
|
+
*
|
|
15571
|
+
* @summary Get all Doctors.
|
|
15572
|
+
* @param {string} [hospitalId]
|
|
15573
|
+
* @param {string} [languageCode]
|
|
15574
|
+
* @param {boolean} [returnDefaultValue]
|
|
15575
|
+
* @param {Array<string>} [ids]
|
|
15576
|
+
* @param {string} [id]
|
|
15577
|
+
* @param {string} [fullname]
|
|
15578
|
+
* @param {string} [email]
|
|
15579
|
+
* @param {Gender} [gender]
|
|
15580
|
+
* @param {Date} [dateOfBirth]
|
|
15581
|
+
* @param {Date} [created]
|
|
15582
|
+
* @param {boolean} [showHidden]
|
|
15583
|
+
* @param {number} [page]
|
|
15584
|
+
* @param {number} [limit]
|
|
15585
|
+
* @param {Date} [lastRetrieved]
|
|
15586
|
+
* @param {*} [options] Override http request option.
|
|
15587
|
+
* @throws {RequiredError}
|
|
15588
|
+
*/
|
|
15589
|
+
async apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
|
|
15590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
15591
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15592
|
+
},
|
|
15165
15593
|
/**
|
|
15166
15594
|
*
|
|
15167
15595
|
* @param {string} slug
|
|
@@ -15381,6 +15809,29 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15381
15809
|
apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
15382
15810
|
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15383
15811
|
},
|
|
15812
|
+
/**
|
|
15813
|
+
*
|
|
15814
|
+
* @summary Get all Doctors.
|
|
15815
|
+
* @param {string} [hospitalId]
|
|
15816
|
+
* @param {string} [languageCode]
|
|
15817
|
+
* @param {boolean} [returnDefaultValue]
|
|
15818
|
+
* @param {Array<string>} [ids]
|
|
15819
|
+
* @param {string} [id]
|
|
15820
|
+
* @param {string} [fullname]
|
|
15821
|
+
* @param {string} [email]
|
|
15822
|
+
* @param {Gender} [gender]
|
|
15823
|
+
* @param {Date} [dateOfBirth]
|
|
15824
|
+
* @param {Date} [created]
|
|
15825
|
+
* @param {boolean} [showHidden]
|
|
15826
|
+
* @param {number} [page]
|
|
15827
|
+
* @param {number} [limit]
|
|
15828
|
+
* @param {Date} [lastRetrieved]
|
|
15829
|
+
* @param {*} [options] Override http request option.
|
|
15830
|
+
* @throws {RequiredError}
|
|
15831
|
+
*/
|
|
15832
|
+
apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
|
|
15833
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15834
|
+
},
|
|
15384
15835
|
/**
|
|
15385
15836
|
*
|
|
15386
15837
|
* @param {string} slug
|
|
@@ -15627,6 +16078,31 @@ export class DoctorsApi extends BaseAPI {
|
|
|
15627
16078
|
return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15628
16079
|
}
|
|
15629
16080
|
|
|
16081
|
+
/**
|
|
16082
|
+
*
|
|
16083
|
+
* @summary Get all Doctors.
|
|
16084
|
+
* @param {string} [hospitalId]
|
|
16085
|
+
* @param {string} [languageCode]
|
|
16086
|
+
* @param {boolean} [returnDefaultValue]
|
|
16087
|
+
* @param {Array<string>} [ids]
|
|
16088
|
+
* @param {string} [id]
|
|
16089
|
+
* @param {string} [fullname]
|
|
16090
|
+
* @param {string} [email]
|
|
16091
|
+
* @param {Gender} [gender]
|
|
16092
|
+
* @param {Date} [dateOfBirth]
|
|
16093
|
+
* @param {Date} [created]
|
|
16094
|
+
* @param {boolean} [showHidden]
|
|
16095
|
+
* @param {number} [page]
|
|
16096
|
+
* @param {number} [limit]
|
|
16097
|
+
* @param {Date} [lastRetrieved]
|
|
16098
|
+
* @param {*} [options] Override http request option.
|
|
16099
|
+
* @throws {RequiredError}
|
|
16100
|
+
* @memberof DoctorsApi
|
|
16101
|
+
*/
|
|
16102
|
+
public apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16103
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16104
|
+
}
|
|
16105
|
+
|
|
15630
16106
|
/**
|
|
15631
16107
|
*
|
|
15632
16108
|
* @param {string} slug
|
|
@@ -16563,7 +17039,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
16563
17039
|
* @summary Get all Hospitals.
|
|
16564
17040
|
* @param {string} [hospitalId]
|
|
16565
17041
|
* @param {string} [name]
|
|
16566
|
-
* @param {string} [description]
|
|
16567
17042
|
* @param {string} [countryId]
|
|
16568
17043
|
* @param {Date} [created]
|
|
16569
17044
|
* @param {MarketingType} [marketingType]
|
|
@@ -16581,7 +17056,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
16581
17056
|
* @param {*} [options] Override http request option.
|
|
16582
17057
|
* @throws {RequiredError}
|
|
16583
17058
|
*/
|
|
16584
|
-
apiV2HospitalsGet: async (hospitalId?: string, name?: string,
|
|
17059
|
+
apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16585
17060
|
const localVarPath = `/api/v2/hospitals`;
|
|
16586
17061
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16587
17062
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16602,10 +17077,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
16602
17077
|
localVarQueryParameter['Name'] = name;
|
|
16603
17078
|
}
|
|
16604
17079
|
|
|
16605
|
-
if (description !== undefined) {
|
|
16606
|
-
localVarQueryParameter['Description'] = description;
|
|
16607
|
-
}
|
|
16608
|
-
|
|
16609
17080
|
if (countryId !== undefined) {
|
|
16610
17081
|
localVarQueryParameter['CountryId'] = countryId;
|
|
16611
17082
|
}
|
|
@@ -17264,15 +17735,18 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17264
17735
|
* @param {string} [specialtyId]
|
|
17265
17736
|
* @param {string} [specialtyName]
|
|
17266
17737
|
* @param {string} [specialtyTypeId]
|
|
17738
|
+
* @param {string} [title]
|
|
17267
17739
|
* @param {MarketingType} [marketingType]
|
|
17268
|
-
* @param {
|
|
17740
|
+
* @param {string} [languageCode]
|
|
17741
|
+
* @param {boolean} [showHidden]
|
|
17742
|
+
* @param {boolean} [returnDefaultValue]
|
|
17269
17743
|
* @param {number} [page]
|
|
17270
17744
|
* @param {number} [limit]
|
|
17271
17745
|
* @param {Date} [lastRetrieved]
|
|
17272
17746
|
* @param {*} [options] Override http request option.
|
|
17273
17747
|
* @throws {RequiredError}
|
|
17274
17748
|
*/
|
|
17275
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
17749
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17276
17750
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
17277
17751
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
17278
17752
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
|
|
@@ -17308,14 +17782,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17308
17782
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
17309
17783
|
}
|
|
17310
17784
|
|
|
17785
|
+
if (title !== undefined) {
|
|
17786
|
+
localVarQueryParameter['Title'] = title;
|
|
17787
|
+
}
|
|
17788
|
+
|
|
17311
17789
|
if (marketingType !== undefined) {
|
|
17312
17790
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
17313
17791
|
}
|
|
17314
17792
|
|
|
17315
|
-
if (
|
|
17316
|
-
localVarQueryParameter['
|
|
17317
|
-
|
|
17318
|
-
|
|
17793
|
+
if (languageCode !== undefined) {
|
|
17794
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17795
|
+
}
|
|
17796
|
+
|
|
17797
|
+
if (showHidden !== undefined) {
|
|
17798
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17799
|
+
}
|
|
17800
|
+
|
|
17801
|
+
if (returnDefaultValue !== undefined) {
|
|
17802
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17319
17803
|
}
|
|
17320
17804
|
|
|
17321
17805
|
if (page !== undefined) {
|
|
@@ -17348,10 +17832,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17348
17832
|
* @summary Get HospitalSpecialty.
|
|
17349
17833
|
* @param {string} hospitalId
|
|
17350
17834
|
* @param {string} specialtyId
|
|
17835
|
+
* @param {string} [languageCode]
|
|
17836
|
+
* @param {boolean} [returnDefaultValue]
|
|
17351
17837
|
* @param {*} [options] Override http request option.
|
|
17352
17838
|
* @throws {RequiredError}
|
|
17353
17839
|
*/
|
|
17354
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17840
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17355
17841
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
17356
17842
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
17357
17843
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -17370,6 +17856,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17370
17856
|
const localVarHeaderParameter = {} as any;
|
|
17371
17857
|
const localVarQueryParameter = {} as any;
|
|
17372
17858
|
|
|
17859
|
+
if (languageCode !== undefined) {
|
|
17860
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
17861
|
+
}
|
|
17862
|
+
|
|
17863
|
+
if (returnDefaultValue !== undefined) {
|
|
17864
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17865
|
+
}
|
|
17866
|
+
|
|
17373
17867
|
|
|
17374
17868
|
|
|
17375
17869
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17680,7 +18174,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17680
18174
|
* @summary Get all Hospitals.
|
|
17681
18175
|
* @param {string} [hospitalId]
|
|
17682
18176
|
* @param {string} [name]
|
|
17683
|
-
* @param {string} [description]
|
|
17684
18177
|
* @param {string} [countryId]
|
|
17685
18178
|
* @param {Date} [created]
|
|
17686
18179
|
* @param {MarketingType} [marketingType]
|
|
@@ -17698,7 +18191,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17698
18191
|
* @param {*} [options] Override http request option.
|
|
17699
18192
|
* @throws {RequiredError}
|
|
17700
18193
|
*/
|
|
17701
|
-
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string,
|
|
18194
|
+
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17702
18195
|
const localVarPath = `/api/v2/hospitals/simple`;
|
|
17703
18196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17704
18197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17719,10 +18212,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17719
18212
|
localVarQueryParameter['Name'] = name;
|
|
17720
18213
|
}
|
|
17721
18214
|
|
|
17722
|
-
if (description !== undefined) {
|
|
17723
|
-
localVarQueryParameter['Description'] = description;
|
|
17724
|
-
}
|
|
17725
|
-
|
|
17726
18215
|
if (countryId !== undefined) {
|
|
17727
18216
|
localVarQueryParameter['CountryId'] = countryId;
|
|
17728
18217
|
}
|
|
@@ -17852,7 +18341,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
17852
18341
|
* @summary Get all Hospitals.
|
|
17853
18342
|
* @param {string} [hospitalId]
|
|
17854
18343
|
* @param {string} [name]
|
|
17855
|
-
* @param {string} [description]
|
|
17856
18344
|
* @param {string} [countryId]
|
|
17857
18345
|
* @param {Date} [created]
|
|
17858
18346
|
* @param {MarketingType} [marketingType]
|
|
@@ -17870,8 +18358,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
17870
18358
|
* @param {*} [options] Override http request option.
|
|
17871
18359
|
* @throws {RequiredError}
|
|
17872
18360
|
*/
|
|
17873
|
-
async apiV2HospitalsGet(hospitalId?: string, name?: string,
|
|
17874
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name,
|
|
18361
|
+
async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
18362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
17875
18363
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17876
18364
|
},
|
|
17877
18365
|
/**
|
|
@@ -18043,16 +18531,19 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18043
18531
|
* @param {string} [specialtyId]
|
|
18044
18532
|
* @param {string} [specialtyName]
|
|
18045
18533
|
* @param {string} [specialtyTypeId]
|
|
18534
|
+
* @param {string} [title]
|
|
18046
18535
|
* @param {MarketingType} [marketingType]
|
|
18047
|
-
* @param {
|
|
18536
|
+
* @param {string} [languageCode]
|
|
18537
|
+
* @param {boolean} [showHidden]
|
|
18538
|
+
* @param {boolean} [returnDefaultValue]
|
|
18048
18539
|
* @param {number} [page]
|
|
18049
18540
|
* @param {number} [limit]
|
|
18050
18541
|
* @param {Date} [lastRetrieved]
|
|
18051
18542
|
* @param {*} [options] Override http request option.
|
|
18052
18543
|
* @throws {RequiredError}
|
|
18053
18544
|
*/
|
|
18054
|
-
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
18055
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
18545
|
+
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
18546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
18056
18547
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18057
18548
|
},
|
|
18058
18549
|
/**
|
|
@@ -18060,11 +18551,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18060
18551
|
* @summary Get HospitalSpecialty.
|
|
18061
18552
|
* @param {string} hospitalId
|
|
18062
18553
|
* @param {string} specialtyId
|
|
18554
|
+
* @param {string} [languageCode]
|
|
18555
|
+
* @param {boolean} [returnDefaultValue]
|
|
18063
18556
|
* @param {*} [options] Override http request option.
|
|
18064
18557
|
* @throws {RequiredError}
|
|
18065
18558
|
*/
|
|
18066
|
-
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
18067
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
|
|
18559
|
+
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
18560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
|
|
18068
18561
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18069
18562
|
},
|
|
18070
18563
|
/**
|
|
@@ -18148,7 +18641,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18148
18641
|
* @summary Get all Hospitals.
|
|
18149
18642
|
* @param {string} [hospitalId]
|
|
18150
18643
|
* @param {string} [name]
|
|
18151
|
-
* @param {string} [description]
|
|
18152
18644
|
* @param {string} [countryId]
|
|
18153
18645
|
* @param {Date} [created]
|
|
18154
18646
|
* @param {MarketingType} [marketingType]
|
|
@@ -18166,8 +18658,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18166
18658
|
* @param {*} [options] Override http request option.
|
|
18167
18659
|
* @throws {RequiredError}
|
|
18168
18660
|
*/
|
|
18169
|
-
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
18170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name,
|
|
18661
|
+
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
18662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
18171
18663
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18172
18664
|
},
|
|
18173
18665
|
/**
|
|
@@ -18197,7 +18689,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18197
18689
|
* @summary Get all Hospitals.
|
|
18198
18690
|
* @param {string} [hospitalId]
|
|
18199
18691
|
* @param {string} [name]
|
|
18200
|
-
* @param {string} [description]
|
|
18201
18692
|
* @param {string} [countryId]
|
|
18202
18693
|
* @param {Date} [created]
|
|
18203
18694
|
* @param {MarketingType} [marketingType]
|
|
@@ -18215,8 +18706,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18215
18706
|
* @param {*} [options] Override http request option.
|
|
18216
18707
|
* @throws {RequiredError}
|
|
18217
18708
|
*/
|
|
18218
|
-
apiV2HospitalsGet(hospitalId?: string, name?: string,
|
|
18219
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name,
|
|
18709
|
+
apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
18710
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18220
18711
|
},
|
|
18221
18712
|
/**
|
|
18222
18713
|
*
|
|
@@ -18376,27 +18867,32 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18376
18867
|
* @param {string} [specialtyId]
|
|
18377
18868
|
* @param {string} [specialtyName]
|
|
18378
18869
|
* @param {string} [specialtyTypeId]
|
|
18870
|
+
* @param {string} [title]
|
|
18379
18871
|
* @param {MarketingType} [marketingType]
|
|
18380
|
-
* @param {
|
|
18872
|
+
* @param {string} [languageCode]
|
|
18873
|
+
* @param {boolean} [showHidden]
|
|
18874
|
+
* @param {boolean} [returnDefaultValue]
|
|
18381
18875
|
* @param {number} [page]
|
|
18382
18876
|
* @param {number} [limit]
|
|
18383
18877
|
* @param {Date} [lastRetrieved]
|
|
18384
18878
|
* @param {*} [options] Override http request option.
|
|
18385
18879
|
* @throws {RequiredError}
|
|
18386
18880
|
*/
|
|
18387
|
-
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
18388
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
18881
|
+
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
18882
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18389
18883
|
},
|
|
18390
18884
|
/**
|
|
18391
18885
|
*
|
|
18392
18886
|
* @summary Get HospitalSpecialty.
|
|
18393
18887
|
* @param {string} hospitalId
|
|
18394
18888
|
* @param {string} specialtyId
|
|
18889
|
+
* @param {string} [languageCode]
|
|
18890
|
+
* @param {boolean} [returnDefaultValue]
|
|
18395
18891
|
* @param {*} [options] Override http request option.
|
|
18396
18892
|
* @throws {RequiredError}
|
|
18397
18893
|
*/
|
|
18398
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
18399
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
18894
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
18895
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18400
18896
|
},
|
|
18401
18897
|
/**
|
|
18402
18898
|
*
|
|
@@ -18475,7 +18971,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18475
18971
|
* @summary Get all Hospitals.
|
|
18476
18972
|
* @param {string} [hospitalId]
|
|
18477
18973
|
* @param {string} [name]
|
|
18478
|
-
* @param {string} [description]
|
|
18479
18974
|
* @param {string} [countryId]
|
|
18480
18975
|
* @param {Date} [created]
|
|
18481
18976
|
* @param {MarketingType} [marketingType]
|
|
@@ -18493,8 +18988,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18493
18988
|
* @param {*} [options] Override http request option.
|
|
18494
18989
|
* @throws {RequiredError}
|
|
18495
18990
|
*/
|
|
18496
|
-
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
18497
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name,
|
|
18991
|
+
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
18992
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18498
18993
|
},
|
|
18499
18994
|
/**
|
|
18500
18995
|
*
|
|
@@ -18522,7 +19017,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18522
19017
|
* @summary Get all Hospitals.
|
|
18523
19018
|
* @param {string} [hospitalId]
|
|
18524
19019
|
* @param {string} [name]
|
|
18525
|
-
* @param {string} [description]
|
|
18526
19020
|
* @param {string} [countryId]
|
|
18527
19021
|
* @param {Date} [created]
|
|
18528
19022
|
* @param {MarketingType} [marketingType]
|
|
@@ -18541,8 +19035,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18541
19035
|
* @throws {RequiredError}
|
|
18542
19036
|
* @memberof HospitalsApi
|
|
18543
19037
|
*/
|
|
18544
|
-
public apiV2HospitalsGet(hospitalId?: string, name?: string,
|
|
18545
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name,
|
|
19038
|
+
public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19039
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18546
19040
|
}
|
|
18547
19041
|
|
|
18548
19042
|
/**
|
|
@@ -18725,8 +19219,11 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18725
19219
|
* @param {string} [specialtyId]
|
|
18726
19220
|
* @param {string} [specialtyName]
|
|
18727
19221
|
* @param {string} [specialtyTypeId]
|
|
19222
|
+
* @param {string} [title]
|
|
18728
19223
|
* @param {MarketingType} [marketingType]
|
|
18729
|
-
* @param {
|
|
19224
|
+
* @param {string} [languageCode]
|
|
19225
|
+
* @param {boolean} [showHidden]
|
|
19226
|
+
* @param {boolean} [returnDefaultValue]
|
|
18730
19227
|
* @param {number} [page]
|
|
18731
19228
|
* @param {number} [limit]
|
|
18732
19229
|
* @param {Date} [lastRetrieved]
|
|
@@ -18734,8 +19231,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18734
19231
|
* @throws {RequiredError}
|
|
18735
19232
|
* @memberof HospitalsApi
|
|
18736
19233
|
*/
|
|
18737
|
-
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType,
|
|
18738
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
19234
|
+
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19235
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18739
19236
|
}
|
|
18740
19237
|
|
|
18741
19238
|
/**
|
|
@@ -18743,12 +19240,14 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18743
19240
|
* @summary Get HospitalSpecialty.
|
|
18744
19241
|
* @param {string} hospitalId
|
|
18745
19242
|
* @param {string} specialtyId
|
|
19243
|
+
* @param {string} [languageCode]
|
|
19244
|
+
* @param {boolean} [returnDefaultValue]
|
|
18746
19245
|
* @param {*} [options] Override http request option.
|
|
18747
19246
|
* @throws {RequiredError}
|
|
18748
19247
|
* @memberof HospitalsApi
|
|
18749
19248
|
*/
|
|
18750
|
-
public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
18751
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
19249
|
+
public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19250
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18752
19251
|
}
|
|
18753
19252
|
|
|
18754
19253
|
/**
|
|
@@ -18836,7 +19335,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18836
19335
|
* @summary Get all Hospitals.
|
|
18837
19336
|
* @param {string} [hospitalId]
|
|
18838
19337
|
* @param {string} [name]
|
|
18839
|
-
* @param {string} [description]
|
|
18840
19338
|
* @param {string} [countryId]
|
|
18841
19339
|
* @param {Date} [created]
|
|
18842
19340
|
* @param {MarketingType} [marketingType]
|
|
@@ -18855,8 +19353,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18855
19353
|
* @throws {RequiredError}
|
|
18856
19354
|
* @memberof HospitalsApi
|
|
18857
19355
|
*/
|
|
18858
|
-
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string,
|
|
18859
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name,
|
|
19356
|
+
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19357
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18860
19358
|
}
|
|
18861
19359
|
|
|
18862
19360
|
/**
|
|
@@ -21867,6 +22365,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
21867
22365
|
* @param {string} [serviceName]
|
|
21868
22366
|
* @param {string} [patientId]
|
|
21869
22367
|
* @param {string} [patientName]
|
|
22368
|
+
* @param {Gender} [gender]
|
|
21870
22369
|
* @param {boolean} [recommended]
|
|
21871
22370
|
* @param {number} [rate]
|
|
21872
22371
|
* @param {ReviewType} [reviewType]
|
|
@@ -21876,7 +22375,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
21876
22375
|
* @param {*} [options] Override http request option.
|
|
21877
22376
|
* @throws {RequiredError}
|
|
21878
22377
|
*/
|
|
21879
|
-
apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22378
|
+
apiV2ServicereviewsGet: async (hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21880
22379
|
const localVarPath = `/api/v2/servicereviews`;
|
|
21881
22380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21882
22381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21909,6 +22408,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
21909
22408
|
localVarQueryParameter['PatientName'] = patientName;
|
|
21910
22409
|
}
|
|
21911
22410
|
|
|
22411
|
+
if (gender !== undefined) {
|
|
22412
|
+
localVarQueryParameter['Gender'] = gender;
|
|
22413
|
+
}
|
|
22414
|
+
|
|
21912
22415
|
if (recommended !== undefined) {
|
|
21913
22416
|
localVarQueryParameter['Recommended'] = recommended;
|
|
21914
22417
|
}
|
|
@@ -22344,6 +22847,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
22344
22847
|
* @param {string} [serviceName]
|
|
22345
22848
|
* @param {string} [patientId]
|
|
22346
22849
|
* @param {string} [patientName]
|
|
22850
|
+
* @param {Gender} [gender]
|
|
22347
22851
|
* @param {boolean} [recommended]
|
|
22348
22852
|
* @param {number} [rate]
|
|
22349
22853
|
* @param {ReviewType} [reviewType]
|
|
@@ -22353,8 +22857,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
22353
22857
|
* @param {*} [options] Override http request option.
|
|
22354
22858
|
* @throws {RequiredError}
|
|
22355
22859
|
*/
|
|
22356
|
-
async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
22357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
22860
|
+
async apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
22861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
22358
22862
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22359
22863
|
},
|
|
22360
22864
|
/**
|
|
@@ -22484,6 +22988,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
22484
22988
|
* @param {string} [serviceName]
|
|
22485
22989
|
* @param {string} [patientId]
|
|
22486
22990
|
* @param {string} [patientName]
|
|
22991
|
+
* @param {Gender} [gender]
|
|
22487
22992
|
* @param {boolean} [recommended]
|
|
22488
22993
|
* @param {number} [rate]
|
|
22489
22994
|
* @param {ReviewType} [reviewType]
|
|
@@ -22493,8 +22998,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
22493
22998
|
* @param {*} [options] Override http request option.
|
|
22494
22999
|
* @throws {RequiredError}
|
|
22495
23000
|
*/
|
|
22496
|
-
apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
22497
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23001
|
+
apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
23002
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22498
23003
|
},
|
|
22499
23004
|
/**
|
|
22500
23005
|
*
|
|
@@ -22614,6 +23119,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
22614
23119
|
* @param {string} [serviceName]
|
|
22615
23120
|
* @param {string} [patientId]
|
|
22616
23121
|
* @param {string} [patientName]
|
|
23122
|
+
* @param {Gender} [gender]
|
|
22617
23123
|
* @param {boolean} [recommended]
|
|
22618
23124
|
* @param {number} [rate]
|
|
22619
23125
|
* @param {ReviewType} [reviewType]
|
|
@@ -22624,8 +23130,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
22624
23130
|
* @throws {RequiredError}
|
|
22625
23131
|
* @memberof ServiceReviewsApi
|
|
22626
23132
|
*/
|
|
22627
|
-
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22628
|
-
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23133
|
+
public apiV2ServicereviewsGet(hospitalId?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23134
|
+
return ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22629
23135
|
}
|
|
22630
23136
|
|
|
22631
23137
|
/**
|
|
@@ -23171,14 +23677,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
23171
23677
|
* @summary Get all ServiceCategories.
|
|
23172
23678
|
* @param {string} [id]
|
|
23173
23679
|
* @param {string} [name]
|
|
23174
|
-
* @param {string} [description]
|
|
23175
23680
|
* @param {number} [page]
|
|
23176
23681
|
* @param {number} [limit]
|
|
23177
23682
|
* @param {Date} [lastRetrieved]
|
|
23178
23683
|
* @param {*} [options] Override http request option.
|
|
23179
23684
|
* @throws {RequiredError}
|
|
23180
23685
|
*/
|
|
23181
|
-
apiV2ServicescategoriesGet: async (id?: string, name?: string,
|
|
23686
|
+
apiV2ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23182
23687
|
const localVarPath = `/api/v2/servicescategories`;
|
|
23183
23688
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23184
23689
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23199,10 +23704,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
23199
23704
|
localVarQueryParameter['Name'] = name;
|
|
23200
23705
|
}
|
|
23201
23706
|
|
|
23202
|
-
if (description !== undefined) {
|
|
23203
|
-
localVarQueryParameter['Description'] = description;
|
|
23204
|
-
}
|
|
23205
|
-
|
|
23206
23707
|
if (page !== undefined) {
|
|
23207
23708
|
localVarQueryParameter['page'] = page;
|
|
23208
23709
|
}
|
|
@@ -23277,15 +23778,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23277
23778
|
* @summary Get all ServiceCategories.
|
|
23278
23779
|
* @param {string} [id]
|
|
23279
23780
|
* @param {string} [name]
|
|
23280
|
-
* @param {string} [description]
|
|
23281
23781
|
* @param {number} [page]
|
|
23282
23782
|
* @param {number} [limit]
|
|
23283
23783
|
* @param {Date} [lastRetrieved]
|
|
23284
23784
|
* @param {*} [options] Override http request option.
|
|
23285
23785
|
* @throws {RequiredError}
|
|
23286
23786
|
*/
|
|
23287
|
-
async apiV2ServicescategoriesGet(id?: string, name?: string,
|
|
23288
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name,
|
|
23787
|
+
async apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
23788
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
|
|
23289
23789
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23290
23790
|
},
|
|
23291
23791
|
/**
|
|
@@ -23314,15 +23814,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
23314
23814
|
* @summary Get all ServiceCategories.
|
|
23315
23815
|
* @param {string} [id]
|
|
23316
23816
|
* @param {string} [name]
|
|
23317
|
-
* @param {string} [description]
|
|
23318
23817
|
* @param {number} [page]
|
|
23319
23818
|
* @param {number} [limit]
|
|
23320
23819
|
* @param {Date} [lastRetrieved]
|
|
23321
23820
|
* @param {*} [options] Override http request option.
|
|
23322
23821
|
* @throws {RequiredError}
|
|
23323
23822
|
*/
|
|
23324
|
-
apiV2ServicescategoriesGet(id?: string, name?: string,
|
|
23325
|
-
return localVarFp.apiV2ServicescategoriesGet(id, name,
|
|
23823
|
+
apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
23824
|
+
return localVarFp.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23326
23825
|
},
|
|
23327
23826
|
/**
|
|
23328
23827
|
*
|
|
@@ -23349,7 +23848,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
23349
23848
|
* @summary Get all ServiceCategories.
|
|
23350
23849
|
* @param {string} [id]
|
|
23351
23850
|
* @param {string} [name]
|
|
23352
|
-
* @param {string} [description]
|
|
23353
23851
|
* @param {number} [page]
|
|
23354
23852
|
* @param {number} [limit]
|
|
23355
23853
|
* @param {Date} [lastRetrieved]
|
|
@@ -23357,8 +23855,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
23357
23855
|
* @throws {RequiredError}
|
|
23358
23856
|
* @memberof ServicesCategoriesApi
|
|
23359
23857
|
*/
|
|
23360
|
-
public apiV2ServicescategoriesGet(id?: string, name?: string,
|
|
23361
|
-
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name,
|
|
23858
|
+
public apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23859
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23362
23860
|
}
|
|
23363
23861
|
|
|
23364
23862
|
/**
|