ch-api-client-typescript2 2.7.8 → 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 +277 -20
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +200 -14
- package/package.json +1 -1
- package/src/api.ts +384 -26
package/src/api.ts
CHANGED
|
@@ -2992,6 +2992,30 @@ export interface DealItemModel {
|
|
|
2992
2992
|
* @memberof DealItemModel
|
|
2993
2993
|
*/
|
|
2994
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;
|
|
2995
3019
|
/**
|
|
2996
3020
|
*
|
|
2997
3021
|
* @type {MarketingType}
|
|
@@ -3095,6 +3119,30 @@ export interface DealModel {
|
|
|
3095
3119
|
* @memberof DealModel
|
|
3096
3120
|
*/
|
|
3097
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;
|
|
3098
3146
|
/**
|
|
3099
3147
|
*
|
|
3100
3148
|
* @type {MarketingType}
|
|
@@ -3929,6 +3977,67 @@ export interface DoctorItemModel {
|
|
|
3929
3977
|
*/
|
|
3930
3978
|
'confirmed'?: boolean;
|
|
3931
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
|
+
}
|
|
3932
4041
|
/**
|
|
3933
4042
|
*
|
|
3934
4043
|
* @export
|
|
@@ -4375,6 +4484,25 @@ export interface DoctorsModel {
|
|
|
4375
4484
|
*/
|
|
4376
4485
|
'metaData'?: PagedListMetaData;
|
|
4377
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
|
+
}
|
|
4378
4506
|
/**
|
|
4379
4507
|
*
|
|
4380
4508
|
* @export
|
|
@@ -5931,12 +6059,6 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5931
6059
|
* @memberof HospitalSpecialtyItemModel
|
|
5932
6060
|
*/
|
|
5933
6061
|
'title'?: string | null;
|
|
5934
|
-
/**
|
|
5935
|
-
*
|
|
5936
|
-
* @type {string}
|
|
5937
|
-
* @memberof HospitalSpecialtyItemModel
|
|
5938
|
-
*/
|
|
5939
|
-
'normalizedTitle'?: string | null;
|
|
5940
6062
|
/**
|
|
5941
6063
|
*
|
|
5942
6064
|
* @type {string}
|
|
@@ -6040,12 +6162,6 @@ export interface HospitalSpecialtyModel {
|
|
|
6040
6162
|
* @memberof HospitalSpecialtyModel
|
|
6041
6163
|
*/
|
|
6042
6164
|
'title'?: string | null;
|
|
6043
|
-
/**
|
|
6044
|
-
*
|
|
6045
|
-
* @type {string}
|
|
6046
|
-
* @memberof HospitalSpecialtyModel
|
|
6047
|
-
*/
|
|
6048
|
-
'normalizedTitle'?: string | null;
|
|
6049
6165
|
/**
|
|
6050
6166
|
*
|
|
6051
6167
|
* @type {string}
|
|
@@ -7402,6 +7518,30 @@ export interface ServiceReviewItemModel {
|
|
|
7402
7518
|
* @memberof ServiceReviewItemModel
|
|
7403
7519
|
*/
|
|
7404
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;
|
|
7405
7545
|
/**
|
|
7406
7546
|
*
|
|
7407
7547
|
* @type {string}
|
|
@@ -7469,6 +7609,30 @@ export interface ServiceReviewModel {
|
|
|
7469
7609
|
* @memberof ServiceReviewModel
|
|
7470
7610
|
*/
|
|
7471
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;
|
|
7472
7636
|
/**
|
|
7473
7637
|
*
|
|
7474
7638
|
* @type {string}
|
|
@@ -13719,6 +13883,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13719
13883
|
* @param {string} [hospitalName]
|
|
13720
13884
|
* @param {string} [specialtyId]
|
|
13721
13885
|
* @param {string} [specialtyTypeId]
|
|
13886
|
+
* @param {string} [serviceId]
|
|
13722
13887
|
* @param {string} [exceptHospitalId]
|
|
13723
13888
|
* @param {string} [exceptDealId]
|
|
13724
13889
|
* @param {Array<string>} [ids]
|
|
@@ -13731,7 +13896,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13731
13896
|
* @param {*} [options] Override http request option.
|
|
13732
13897
|
* @throws {RequiredError}
|
|
13733
13898
|
*/
|
|
13734
|
-
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> => {
|
|
13735
13900
|
const localVarPath = `/api/v2/deals`;
|
|
13736
13901
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13737
13902
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13776,6 +13941,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13776
13941
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
13777
13942
|
}
|
|
13778
13943
|
|
|
13944
|
+
if (serviceId !== undefined) {
|
|
13945
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13779
13948
|
if (exceptHospitalId !== undefined) {
|
|
13780
13949
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
13781
13950
|
}
|
|
@@ -13961,6 +14130,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
13961
14130
|
* @param {string} [hospitalName]
|
|
13962
14131
|
* @param {string} [specialtyId]
|
|
13963
14132
|
* @param {string} [specialtyTypeId]
|
|
14133
|
+
* @param {string} [serviceId]
|
|
13964
14134
|
* @param {string} [exceptHospitalId]
|
|
13965
14135
|
* @param {string} [exceptDealId]
|
|
13966
14136
|
* @param {Array<string>} [ids]
|
|
@@ -13973,8 +14143,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
13973
14143
|
* @param {*} [options] Override http request option.
|
|
13974
14144
|
* @throws {RequiredError}
|
|
13975
14145
|
*/
|
|
13976
|
-
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>> {
|
|
13977
|
-
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);
|
|
13978
14148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13979
14149
|
},
|
|
13980
14150
|
/**
|
|
@@ -14077,6 +14247,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
14077
14247
|
* @param {string} [hospitalName]
|
|
14078
14248
|
* @param {string} [specialtyId]
|
|
14079
14249
|
* @param {string} [specialtyTypeId]
|
|
14250
|
+
* @param {string} [serviceId]
|
|
14080
14251
|
* @param {string} [exceptHospitalId]
|
|
14081
14252
|
* @param {string} [exceptDealId]
|
|
14082
14253
|
* @param {Array<string>} [ids]
|
|
@@ -14089,8 +14260,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
14089
14260
|
* @param {*} [options] Override http request option.
|
|
14090
14261
|
* @throws {RequiredError}
|
|
14091
14262
|
*/
|
|
14092
|
-
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> {
|
|
14093
|
-
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));
|
|
14094
14265
|
},
|
|
14095
14266
|
/**
|
|
14096
14267
|
*
|
|
@@ -14201,6 +14372,7 @@ export class DealsApi extends BaseAPI {
|
|
|
14201
14372
|
* @param {string} [hospitalName]
|
|
14202
14373
|
* @param {string} [specialtyId]
|
|
14203
14374
|
* @param {string} [specialtyTypeId]
|
|
14375
|
+
* @param {string} [serviceId]
|
|
14204
14376
|
* @param {string} [exceptHospitalId]
|
|
14205
14377
|
* @param {string} [exceptDealId]
|
|
14206
14378
|
* @param {Array<string>} [ids]
|
|
@@ -14214,8 +14386,8 @@ export class DealsApi extends BaseAPI {
|
|
|
14214
14386
|
* @throws {RequiredError}
|
|
14215
14387
|
* @memberof DealsApi
|
|
14216
14388
|
*/
|
|
14217
|
-
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) {
|
|
14218
|
-
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));
|
|
14219
14391
|
}
|
|
14220
14392
|
|
|
14221
14393
|
/**
|
|
@@ -15015,6 +15187,112 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15015
15187
|
|
|
15016
15188
|
|
|
15017
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
|
+
|
|
15018
15296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15019
15297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15020
15298
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15288,6 +15566,30 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
15288
15566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
15289
15567
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15290
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
|
+
},
|
|
15291
15593
|
/**
|
|
15292
15594
|
*
|
|
15293
15595
|
* @param {string} slug
|
|
@@ -15507,6 +15809,29 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15507
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> {
|
|
15508
15810
|
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15509
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
|
+
},
|
|
15510
15835
|
/**
|
|
15511
15836
|
*
|
|
15512
15837
|
* @param {string} slug
|
|
@@ -15753,6 +16078,31 @@ export class DoctorsApi extends BaseAPI {
|
|
|
15753
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));
|
|
15754
16079
|
}
|
|
15755
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
|
+
|
|
15756
16106
|
/**
|
|
15757
16107
|
*
|
|
15758
16108
|
* @param {string} slug
|
|
@@ -22015,6 +22365,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22015
22365
|
* @param {string} [serviceName]
|
|
22016
22366
|
* @param {string} [patientId]
|
|
22017
22367
|
* @param {string} [patientName]
|
|
22368
|
+
* @param {Gender} [gender]
|
|
22018
22369
|
* @param {boolean} [recommended]
|
|
22019
22370
|
* @param {number} [rate]
|
|
22020
22371
|
* @param {ReviewType} [reviewType]
|
|
@@ -22024,7 +22375,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22024
22375
|
* @param {*} [options] Override http request option.
|
|
22025
22376
|
* @throws {RequiredError}
|
|
22026
22377
|
*/
|
|
22027
|
-
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> => {
|
|
22028
22379
|
const localVarPath = `/api/v2/servicereviews`;
|
|
22029
22380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22030
22381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22057,6 +22408,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22057
22408
|
localVarQueryParameter['PatientName'] = patientName;
|
|
22058
22409
|
}
|
|
22059
22410
|
|
|
22411
|
+
if (gender !== undefined) {
|
|
22412
|
+
localVarQueryParameter['Gender'] = gender;
|
|
22413
|
+
}
|
|
22414
|
+
|
|
22060
22415
|
if (recommended !== undefined) {
|
|
22061
22416
|
localVarQueryParameter['Recommended'] = recommended;
|
|
22062
22417
|
}
|
|
@@ -22492,6 +22847,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
22492
22847
|
* @param {string} [serviceName]
|
|
22493
22848
|
* @param {string} [patientId]
|
|
22494
22849
|
* @param {string} [patientName]
|
|
22850
|
+
* @param {Gender} [gender]
|
|
22495
22851
|
* @param {boolean} [recommended]
|
|
22496
22852
|
* @param {number} [rate]
|
|
22497
22853
|
* @param {ReviewType} [reviewType]
|
|
@@ -22501,8 +22857,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
|
|
|
22501
22857
|
* @param {*} [options] Override http request option.
|
|
22502
22858
|
* @throws {RequiredError}
|
|
22503
22859
|
*/
|
|
22504
|
-
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>> {
|
|
22505
|
-
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);
|
|
22506
22862
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22507
22863
|
},
|
|
22508
22864
|
/**
|
|
@@ -22632,6 +22988,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
22632
22988
|
* @param {string} [serviceName]
|
|
22633
22989
|
* @param {string} [patientId]
|
|
22634
22990
|
* @param {string} [patientName]
|
|
22991
|
+
* @param {Gender} [gender]
|
|
22635
22992
|
* @param {boolean} [recommended]
|
|
22636
22993
|
* @param {number} [rate]
|
|
22637
22994
|
* @param {ReviewType} [reviewType]
|
|
@@ -22641,8 +22998,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
|
|
|
22641
22998
|
* @param {*} [options] Override http request option.
|
|
22642
22999
|
* @throws {RequiredError}
|
|
22643
23000
|
*/
|
|
22644
|
-
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> {
|
|
22645
|
-
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));
|
|
22646
23003
|
},
|
|
22647
23004
|
/**
|
|
22648
23005
|
*
|
|
@@ -22762,6 +23119,7 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
22762
23119
|
* @param {string} [serviceName]
|
|
22763
23120
|
* @param {string} [patientId]
|
|
22764
23121
|
* @param {string} [patientName]
|
|
23122
|
+
* @param {Gender} [gender]
|
|
22765
23123
|
* @param {boolean} [recommended]
|
|
22766
23124
|
* @param {number} [rate]
|
|
22767
23125
|
* @param {ReviewType} [reviewType]
|
|
@@ -22772,8 +23130,8 @@ export class ServiceReviewsApi extends BaseAPI {
|
|
|
22772
23130
|
* @throws {RequiredError}
|
|
22773
23131
|
* @memberof ServiceReviewsApi
|
|
22774
23132
|
*/
|
|
22775
|
-
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) {
|
|
22776
|
-
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));
|
|
22777
23135
|
}
|
|
22778
23136
|
|
|
22779
23137
|
/**
|