ch-api-client-typescript2 3.3.0 → 3.3.1
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 +8 -571
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +17 -1062
- package/package.json +1 -1
- package/src/api.ts +14 -1119
package/src/api.ts
CHANGED
|
@@ -1017,18 +1017,6 @@ export interface AuditableEntity {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
'isDeleted'?: boolean;
|
|
1019
1019
|
}
|
|
1020
|
-
/**
|
|
1021
|
-
*
|
|
1022
|
-
* @export
|
|
1023
|
-
* @enum {string}
|
|
1024
|
-
*/
|
|
1025
|
-
|
|
1026
|
-
export enum AutocompleteMode {
|
|
1027
|
-
OneTerm = 'OneTerm',
|
|
1028
|
-
TwoTerms = 'TwoTerms',
|
|
1029
|
-
OneTermWithContext = 'OneTermWithContext'
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
1020
|
/**
|
|
1033
1021
|
*
|
|
1034
1022
|
* @export
|
|
@@ -1060,69 +1048,6 @@ export interface AwardModel {
|
|
|
1060
1048
|
*/
|
|
1061
1049
|
'date'?: Date;
|
|
1062
1050
|
}
|
|
1063
|
-
/**
|
|
1064
|
-
*
|
|
1065
|
-
* @export
|
|
1066
|
-
* @interface AzureSearchModel
|
|
1067
|
-
*/
|
|
1068
|
-
export interface AzureSearchModel {
|
|
1069
|
-
/**
|
|
1070
|
-
*
|
|
1071
|
-
* @type {number}
|
|
1072
|
-
* @memberof AzureSearchModel
|
|
1073
|
-
*/
|
|
1074
|
-
'hospitals'?: number;
|
|
1075
|
-
/**
|
|
1076
|
-
*
|
|
1077
|
-
* @type {number}
|
|
1078
|
-
* @memberof AzureSearchModel
|
|
1079
|
-
*/
|
|
1080
|
-
'doctors'?: number;
|
|
1081
|
-
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @type {number}
|
|
1084
|
-
* @memberof AzureSearchModel
|
|
1085
|
-
*/
|
|
1086
|
-
'deals'?: number;
|
|
1087
|
-
/**
|
|
1088
|
-
*
|
|
1089
|
-
* @type {number}
|
|
1090
|
-
* @memberof AzureSearchModel
|
|
1091
|
-
*/
|
|
1092
|
-
'specialties'?: number;
|
|
1093
|
-
/**
|
|
1094
|
-
*
|
|
1095
|
-
* @type {number}
|
|
1096
|
-
* @memberof AzureSearchModel
|
|
1097
|
-
*/
|
|
1098
|
-
'specialtyTypes'?: number;
|
|
1099
|
-
}
|
|
1100
|
-
/**
|
|
1101
|
-
*
|
|
1102
|
-
* @export
|
|
1103
|
-
* @interface AzureSearchServiceAutocompleteModel
|
|
1104
|
-
*/
|
|
1105
|
-
export interface AzureSearchServiceAutocompleteModel {
|
|
1106
|
-
/**
|
|
1107
|
-
*
|
|
1108
|
-
* @type {Array<string>}
|
|
1109
|
-
* @memberof AzureSearchServiceAutocompleteModel
|
|
1110
|
-
*/
|
|
1111
|
-
'values'?: Array<string> | null;
|
|
1112
|
-
}
|
|
1113
|
-
/**
|
|
1114
|
-
*
|
|
1115
|
-
* @export
|
|
1116
|
-
* @interface AzureSearchServiceSuggestModel
|
|
1117
|
-
*/
|
|
1118
|
-
export interface AzureSearchServiceSuggestModel {
|
|
1119
|
-
/**
|
|
1120
|
-
*
|
|
1121
|
-
* @type {Array<string>}
|
|
1122
|
-
* @memberof AzureSearchServiceSuggestModel
|
|
1123
|
-
*/
|
|
1124
|
-
'values'?: Array<string> | null;
|
|
1125
|
-
}
|
|
1126
1051
|
/**
|
|
1127
1052
|
*
|
|
1128
1053
|
* @export
|
|
@@ -19122,7 +19047,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19122
19047
|
* @param {MarketingType} [marketingType]
|
|
19123
19048
|
* @param {string} [specialtyTypeId]
|
|
19124
19049
|
* @param {string} [specialtyId]
|
|
19125
|
-
* @param {string} [serviceId]
|
|
19126
19050
|
* @param {string} [exceptHospitalId]
|
|
19127
19051
|
* @param {boolean} [showHidden]
|
|
19128
19052
|
* @param {string} [languageCode]
|
|
@@ -19135,7 +19059,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19135
19059
|
* @param {*} [options] Override http request option.
|
|
19136
19060
|
* @throws {RequiredError}
|
|
19137
19061
|
*/
|
|
19138
|
-
apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
19062
|
+
apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19139
19063
|
const localVarPath = `/api/v2/hospitals`;
|
|
19140
19064
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19141
19065
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19178,10 +19102,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19178
19102
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
19179
19103
|
}
|
|
19180
19104
|
|
|
19181
|
-
if (serviceId !== undefined) {
|
|
19182
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
19183
|
-
}
|
|
19184
|
-
|
|
19185
19105
|
if (exceptHospitalId !== undefined) {
|
|
19186
19106
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
19187
19107
|
}
|
|
@@ -20745,7 +20665,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20745
20665
|
* @param {MarketingType} [marketingType]
|
|
20746
20666
|
* @param {string} [specialtyTypeId]
|
|
20747
20667
|
* @param {string} [specialtyId]
|
|
20748
|
-
* @param {string} [serviceId]
|
|
20749
20668
|
* @param {string} [exceptHospitalId]
|
|
20750
20669
|
* @param {boolean} [showHidden]
|
|
20751
20670
|
* @param {string} [languageCode]
|
|
@@ -20758,7 +20677,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20758
20677
|
* @param {*} [options] Override http request option.
|
|
20759
20678
|
* @throws {RequiredError}
|
|
20760
20679
|
*/
|
|
20761
|
-
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
20680
|
+
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20762
20681
|
const localVarPath = `/api/v2/hospitals/simple`;
|
|
20763
20682
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20764
20683
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20801,10 +20720,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20801
20720
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
20802
20721
|
}
|
|
20803
20722
|
|
|
20804
|
-
if (serviceId !== undefined) {
|
|
20805
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
20806
|
-
}
|
|
20807
|
-
|
|
20808
20723
|
if (exceptHospitalId !== undefined) {
|
|
20809
20724
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
20810
20725
|
}
|
|
@@ -20917,7 +20832,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20917
20832
|
* @param {MarketingType} [marketingType]
|
|
20918
20833
|
* @param {string} [specialtyTypeId]
|
|
20919
20834
|
* @param {string} [specialtyId]
|
|
20920
|
-
* @param {string} [serviceId]
|
|
20921
20835
|
* @param {string} [exceptHospitalId]
|
|
20922
20836
|
* @param {boolean} [showHidden]
|
|
20923
20837
|
* @param {string} [languageCode]
|
|
@@ -20930,8 +20844,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20930
20844
|
* @param {*} [options] Override http request option.
|
|
20931
20845
|
* @throws {RequiredError}
|
|
20932
20846
|
*/
|
|
20933
|
-
async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
20934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
20847
|
+
async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
20848
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
20935
20849
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20936
20850
|
},
|
|
20937
20851
|
/**
|
|
@@ -21347,7 +21261,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
21347
21261
|
* @param {MarketingType} [marketingType]
|
|
21348
21262
|
* @param {string} [specialtyTypeId]
|
|
21349
21263
|
* @param {string} [specialtyId]
|
|
21350
|
-
* @param {string} [serviceId]
|
|
21351
21264
|
* @param {string} [exceptHospitalId]
|
|
21352
21265
|
* @param {boolean} [showHidden]
|
|
21353
21266
|
* @param {string} [languageCode]
|
|
@@ -21360,8 +21273,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
21360
21273
|
* @param {*} [options] Override http request option.
|
|
21361
21274
|
* @throws {RequiredError}
|
|
21362
21275
|
*/
|
|
21363
|
-
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
21364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
21276
|
+
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
21277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
21365
21278
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21366
21279
|
},
|
|
21367
21280
|
/**
|
|
@@ -21396,7 +21309,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21396
21309
|
* @param {MarketingType} [marketingType]
|
|
21397
21310
|
* @param {string} [specialtyTypeId]
|
|
21398
21311
|
* @param {string} [specialtyId]
|
|
21399
|
-
* @param {string} [serviceId]
|
|
21400
21312
|
* @param {string} [exceptHospitalId]
|
|
21401
21313
|
* @param {boolean} [showHidden]
|
|
21402
21314
|
* @param {string} [languageCode]
|
|
@@ -21409,8 +21321,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21409
21321
|
* @param {*} [options] Override http request option.
|
|
21410
21322
|
* @throws {RequiredError}
|
|
21411
21323
|
*/
|
|
21412
|
-
apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
21413
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
21324
|
+
apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
21325
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21414
21326
|
},
|
|
21415
21327
|
/**
|
|
21416
21328
|
*
|
|
@@ -21800,7 +21712,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21800
21712
|
* @param {MarketingType} [marketingType]
|
|
21801
21713
|
* @param {string} [specialtyTypeId]
|
|
21802
21714
|
* @param {string} [specialtyId]
|
|
21803
|
-
* @param {string} [serviceId]
|
|
21804
21715
|
* @param {string} [exceptHospitalId]
|
|
21805
21716
|
* @param {boolean} [showHidden]
|
|
21806
21717
|
* @param {string} [languageCode]
|
|
@@ -21813,8 +21724,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21813
21724
|
* @param {*} [options] Override http request option.
|
|
21814
21725
|
* @throws {RequiredError}
|
|
21815
21726
|
*/
|
|
21816
|
-
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
21817
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
21727
|
+
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
21728
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21818
21729
|
},
|
|
21819
21730
|
/**
|
|
21820
21731
|
*
|
|
@@ -21847,7 +21758,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21847
21758
|
* @param {MarketingType} [marketingType]
|
|
21848
21759
|
* @param {string} [specialtyTypeId]
|
|
21849
21760
|
* @param {string} [specialtyId]
|
|
21850
|
-
* @param {string} [serviceId]
|
|
21851
21761
|
* @param {string} [exceptHospitalId]
|
|
21852
21762
|
* @param {boolean} [showHidden]
|
|
21853
21763
|
* @param {string} [languageCode]
|
|
@@ -21861,8 +21771,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21861
21771
|
* @throws {RequiredError}
|
|
21862
21772
|
* @memberof HospitalsApi
|
|
21863
21773
|
*/
|
|
21864
|
-
public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
21865
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
21774
|
+
public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21775
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21866
21776
|
}
|
|
21867
21777
|
|
|
21868
21778
|
/**
|
|
@@ -22303,7 +22213,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
22303
22213
|
* @param {MarketingType} [marketingType]
|
|
22304
22214
|
* @param {string} [specialtyTypeId]
|
|
22305
22215
|
* @param {string} [specialtyId]
|
|
22306
|
-
* @param {string} [serviceId]
|
|
22307
22216
|
* @param {string} [exceptHospitalId]
|
|
22308
22217
|
* @param {boolean} [showHidden]
|
|
22309
22218
|
* @param {string} [languageCode]
|
|
@@ -22317,8 +22226,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
22317
22226
|
* @throws {RequiredError}
|
|
22318
22227
|
* @memberof HospitalsApi
|
|
22319
22228
|
*/
|
|
22320
|
-
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string,
|
|
22321
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
22229
|
+
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22230
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22322
22231
|
}
|
|
22323
22232
|
|
|
22324
22233
|
/**
|
|
@@ -24301,1020 +24210,6 @@ export class ProfilesApi extends BaseAPI {
|
|
|
24301
24210
|
}
|
|
24302
24211
|
|
|
24303
24212
|
|
|
24304
|
-
/**
|
|
24305
|
-
* SearchApi - axios parameter creator
|
|
24306
|
-
* @export
|
|
24307
|
-
*/
|
|
24308
|
-
export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24309
|
-
return {
|
|
24310
|
-
/**
|
|
24311
|
-
*
|
|
24312
|
-
* @param {string} keyword
|
|
24313
|
-
* @param {AutocompleteMode} [mode]
|
|
24314
|
-
* @param {boolean} [fuzzy]
|
|
24315
|
-
* @param {boolean} [highlights]
|
|
24316
|
-
* @param {number} [size]
|
|
24317
|
-
* @param {number} [minimumCoverage]
|
|
24318
|
-
* @param {*} [options] Override http request option.
|
|
24319
|
-
* @throws {RequiredError}
|
|
24320
|
-
*/
|
|
24321
|
-
apiV2SearchAutocompleteGet: async (keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24322
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
24323
|
-
assertParamExists('apiV2SearchAutocompleteGet', 'keyword', keyword)
|
|
24324
|
-
const localVarPath = `/api/v2/search/autocomplete`;
|
|
24325
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24326
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24327
|
-
let baseOptions;
|
|
24328
|
-
if (configuration) {
|
|
24329
|
-
baseOptions = configuration.baseOptions;
|
|
24330
|
-
}
|
|
24331
|
-
|
|
24332
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24333
|
-
const localVarHeaderParameter = {} as any;
|
|
24334
|
-
const localVarQueryParameter = {} as any;
|
|
24335
|
-
|
|
24336
|
-
if (mode !== undefined) {
|
|
24337
|
-
localVarQueryParameter['Mode'] = mode;
|
|
24338
|
-
}
|
|
24339
|
-
|
|
24340
|
-
if (keyword !== undefined) {
|
|
24341
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
24342
|
-
}
|
|
24343
|
-
|
|
24344
|
-
if (fuzzy !== undefined) {
|
|
24345
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
24346
|
-
}
|
|
24347
|
-
|
|
24348
|
-
if (highlights !== undefined) {
|
|
24349
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
24350
|
-
}
|
|
24351
|
-
|
|
24352
|
-
if (size !== undefined) {
|
|
24353
|
-
localVarQueryParameter['Size'] = size;
|
|
24354
|
-
}
|
|
24355
|
-
|
|
24356
|
-
if (minimumCoverage !== undefined) {
|
|
24357
|
-
localVarQueryParameter['MinimumCoverage'] = minimumCoverage;
|
|
24358
|
-
}
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24363
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24364
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24365
|
-
|
|
24366
|
-
return {
|
|
24367
|
-
url: toPathString(localVarUrlObj),
|
|
24368
|
-
options: localVarRequestOptions,
|
|
24369
|
-
};
|
|
24370
|
-
},
|
|
24371
|
-
/**
|
|
24372
|
-
*
|
|
24373
|
-
* @param {string} [searchTerm]
|
|
24374
|
-
* @param {boolean} [countOnly]
|
|
24375
|
-
* @param {string} [countryId]
|
|
24376
|
-
* @param {string} [hospitalId]
|
|
24377
|
-
* @param {MarketingType} [marketingType]
|
|
24378
|
-
* @param {string} [languageCode]
|
|
24379
|
-
* @param {number} [page]
|
|
24380
|
-
* @param {number} [limit]
|
|
24381
|
-
* @param {Date} [lastRetrieved]
|
|
24382
|
-
* @param {*} [options] Override http request option.
|
|
24383
|
-
* @throws {RequiredError}
|
|
24384
|
-
*/
|
|
24385
|
-
apiV2SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24386
|
-
const localVarPath = `/api/v2/search/deals`;
|
|
24387
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24388
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24389
|
-
let baseOptions;
|
|
24390
|
-
if (configuration) {
|
|
24391
|
-
baseOptions = configuration.baseOptions;
|
|
24392
|
-
}
|
|
24393
|
-
|
|
24394
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24395
|
-
const localVarHeaderParameter = {} as any;
|
|
24396
|
-
const localVarQueryParameter = {} as any;
|
|
24397
|
-
|
|
24398
|
-
if (searchTerm !== undefined) {
|
|
24399
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24400
|
-
}
|
|
24401
|
-
|
|
24402
|
-
if (countOnly !== undefined) {
|
|
24403
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24404
|
-
}
|
|
24405
|
-
|
|
24406
|
-
if (countryId !== undefined) {
|
|
24407
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24408
|
-
}
|
|
24409
|
-
|
|
24410
|
-
if (hospitalId !== undefined) {
|
|
24411
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24412
|
-
}
|
|
24413
|
-
|
|
24414
|
-
if (marketingType !== undefined) {
|
|
24415
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24416
|
-
}
|
|
24417
|
-
|
|
24418
|
-
if (languageCode !== undefined) {
|
|
24419
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24420
|
-
}
|
|
24421
|
-
|
|
24422
|
-
if (page !== undefined) {
|
|
24423
|
-
localVarQueryParameter['page'] = page;
|
|
24424
|
-
}
|
|
24425
|
-
|
|
24426
|
-
if (limit !== undefined) {
|
|
24427
|
-
localVarQueryParameter['limit'] = limit;
|
|
24428
|
-
}
|
|
24429
|
-
|
|
24430
|
-
if (lastRetrieved !== undefined) {
|
|
24431
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24432
|
-
(lastRetrieved as any).toISOString() :
|
|
24433
|
-
lastRetrieved;
|
|
24434
|
-
}
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24439
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24440
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24441
|
-
|
|
24442
|
-
return {
|
|
24443
|
-
url: toPathString(localVarUrlObj),
|
|
24444
|
-
options: localVarRequestOptions,
|
|
24445
|
-
};
|
|
24446
|
-
},
|
|
24447
|
-
/**
|
|
24448
|
-
*
|
|
24449
|
-
* @param {string} [searchTerm]
|
|
24450
|
-
* @param {boolean} [countOnly]
|
|
24451
|
-
* @param {string} [countryId]
|
|
24452
|
-
* @param {string} [hospitalId]
|
|
24453
|
-
* @param {MarketingType} [marketingType]
|
|
24454
|
-
* @param {string} [languageCode]
|
|
24455
|
-
* @param {number} [page]
|
|
24456
|
-
* @param {number} [limit]
|
|
24457
|
-
* @param {Date} [lastRetrieved]
|
|
24458
|
-
* @param {*} [options] Override http request option.
|
|
24459
|
-
* @throws {RequiredError}
|
|
24460
|
-
*/
|
|
24461
|
-
apiV2SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24462
|
-
const localVarPath = `/api/v2/search/doctors`;
|
|
24463
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24464
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24465
|
-
let baseOptions;
|
|
24466
|
-
if (configuration) {
|
|
24467
|
-
baseOptions = configuration.baseOptions;
|
|
24468
|
-
}
|
|
24469
|
-
|
|
24470
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24471
|
-
const localVarHeaderParameter = {} as any;
|
|
24472
|
-
const localVarQueryParameter = {} as any;
|
|
24473
|
-
|
|
24474
|
-
if (searchTerm !== undefined) {
|
|
24475
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24476
|
-
}
|
|
24477
|
-
|
|
24478
|
-
if (countOnly !== undefined) {
|
|
24479
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24480
|
-
}
|
|
24481
|
-
|
|
24482
|
-
if (countryId !== undefined) {
|
|
24483
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24484
|
-
}
|
|
24485
|
-
|
|
24486
|
-
if (hospitalId !== undefined) {
|
|
24487
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24488
|
-
}
|
|
24489
|
-
|
|
24490
|
-
if (marketingType !== undefined) {
|
|
24491
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24492
|
-
}
|
|
24493
|
-
|
|
24494
|
-
if (languageCode !== undefined) {
|
|
24495
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24496
|
-
}
|
|
24497
|
-
|
|
24498
|
-
if (page !== undefined) {
|
|
24499
|
-
localVarQueryParameter['page'] = page;
|
|
24500
|
-
}
|
|
24501
|
-
|
|
24502
|
-
if (limit !== undefined) {
|
|
24503
|
-
localVarQueryParameter['limit'] = limit;
|
|
24504
|
-
}
|
|
24505
|
-
|
|
24506
|
-
if (lastRetrieved !== undefined) {
|
|
24507
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24508
|
-
(lastRetrieved as any).toISOString() :
|
|
24509
|
-
lastRetrieved;
|
|
24510
|
-
}
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24514
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24515
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24516
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24517
|
-
|
|
24518
|
-
return {
|
|
24519
|
-
url: toPathString(localVarUrlObj),
|
|
24520
|
-
options: localVarRequestOptions,
|
|
24521
|
-
};
|
|
24522
|
-
},
|
|
24523
|
-
/**
|
|
24524
|
-
*
|
|
24525
|
-
* @param {string} [searchTerm]
|
|
24526
|
-
* @param {boolean} [countOnly]
|
|
24527
|
-
* @param {string} [countryId]
|
|
24528
|
-
* @param {string} [hospitalId]
|
|
24529
|
-
* @param {MarketingType} [marketingType]
|
|
24530
|
-
* @param {string} [languageCode]
|
|
24531
|
-
* @param {number} [page]
|
|
24532
|
-
* @param {number} [limit]
|
|
24533
|
-
* @param {Date} [lastRetrieved]
|
|
24534
|
-
* @param {*} [options] Override http request option.
|
|
24535
|
-
* @throws {RequiredError}
|
|
24536
|
-
*/
|
|
24537
|
-
apiV2SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24538
|
-
const localVarPath = `/api/v2/search/getcount`;
|
|
24539
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24540
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24541
|
-
let baseOptions;
|
|
24542
|
-
if (configuration) {
|
|
24543
|
-
baseOptions = configuration.baseOptions;
|
|
24544
|
-
}
|
|
24545
|
-
|
|
24546
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24547
|
-
const localVarHeaderParameter = {} as any;
|
|
24548
|
-
const localVarQueryParameter = {} as any;
|
|
24549
|
-
|
|
24550
|
-
if (searchTerm !== undefined) {
|
|
24551
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24552
|
-
}
|
|
24553
|
-
|
|
24554
|
-
if (countOnly !== undefined) {
|
|
24555
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24556
|
-
}
|
|
24557
|
-
|
|
24558
|
-
if (countryId !== undefined) {
|
|
24559
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24560
|
-
}
|
|
24561
|
-
|
|
24562
|
-
if (hospitalId !== undefined) {
|
|
24563
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24564
|
-
}
|
|
24565
|
-
|
|
24566
|
-
if (marketingType !== undefined) {
|
|
24567
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24568
|
-
}
|
|
24569
|
-
|
|
24570
|
-
if (languageCode !== undefined) {
|
|
24571
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24572
|
-
}
|
|
24573
|
-
|
|
24574
|
-
if (page !== undefined) {
|
|
24575
|
-
localVarQueryParameter['page'] = page;
|
|
24576
|
-
}
|
|
24577
|
-
|
|
24578
|
-
if (limit !== undefined) {
|
|
24579
|
-
localVarQueryParameter['limit'] = limit;
|
|
24580
|
-
}
|
|
24581
|
-
|
|
24582
|
-
if (lastRetrieved !== undefined) {
|
|
24583
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24584
|
-
(lastRetrieved as any).toISOString() :
|
|
24585
|
-
lastRetrieved;
|
|
24586
|
-
}
|
|
24587
|
-
|
|
24588
|
-
|
|
24589
|
-
|
|
24590
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24591
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24592
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24593
|
-
|
|
24594
|
-
return {
|
|
24595
|
-
url: toPathString(localVarUrlObj),
|
|
24596
|
-
options: localVarRequestOptions,
|
|
24597
|
-
};
|
|
24598
|
-
},
|
|
24599
|
-
/**
|
|
24600
|
-
*
|
|
24601
|
-
* @param {string} [searchTerm]
|
|
24602
|
-
* @param {boolean} [countOnly]
|
|
24603
|
-
* @param {string} [countryId]
|
|
24604
|
-
* @param {string} [hospitalId]
|
|
24605
|
-
* @param {MarketingType} [marketingType]
|
|
24606
|
-
* @param {string} [languageCode]
|
|
24607
|
-
* @param {number} [page]
|
|
24608
|
-
* @param {number} [limit]
|
|
24609
|
-
* @param {Date} [lastRetrieved]
|
|
24610
|
-
* @param {*} [options] Override http request option.
|
|
24611
|
-
* @throws {RequiredError}
|
|
24612
|
-
*/
|
|
24613
|
-
apiV2SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24614
|
-
const localVarPath = `/api/v2/search/hospitals`;
|
|
24615
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24616
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24617
|
-
let baseOptions;
|
|
24618
|
-
if (configuration) {
|
|
24619
|
-
baseOptions = configuration.baseOptions;
|
|
24620
|
-
}
|
|
24621
|
-
|
|
24622
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24623
|
-
const localVarHeaderParameter = {} as any;
|
|
24624
|
-
const localVarQueryParameter = {} as any;
|
|
24625
|
-
|
|
24626
|
-
if (searchTerm !== undefined) {
|
|
24627
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24628
|
-
}
|
|
24629
|
-
|
|
24630
|
-
if (countOnly !== undefined) {
|
|
24631
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24632
|
-
}
|
|
24633
|
-
|
|
24634
|
-
if (countryId !== undefined) {
|
|
24635
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24636
|
-
}
|
|
24637
|
-
|
|
24638
|
-
if (hospitalId !== undefined) {
|
|
24639
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24640
|
-
}
|
|
24641
|
-
|
|
24642
|
-
if (marketingType !== undefined) {
|
|
24643
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24644
|
-
}
|
|
24645
|
-
|
|
24646
|
-
if (languageCode !== undefined) {
|
|
24647
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24648
|
-
}
|
|
24649
|
-
|
|
24650
|
-
if (page !== undefined) {
|
|
24651
|
-
localVarQueryParameter['page'] = page;
|
|
24652
|
-
}
|
|
24653
|
-
|
|
24654
|
-
if (limit !== undefined) {
|
|
24655
|
-
localVarQueryParameter['limit'] = limit;
|
|
24656
|
-
}
|
|
24657
|
-
|
|
24658
|
-
if (lastRetrieved !== undefined) {
|
|
24659
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24660
|
-
(lastRetrieved as any).toISOString() :
|
|
24661
|
-
lastRetrieved;
|
|
24662
|
-
}
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24666
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24667
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24668
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24669
|
-
|
|
24670
|
-
return {
|
|
24671
|
-
url: toPathString(localVarUrlObj),
|
|
24672
|
-
options: localVarRequestOptions,
|
|
24673
|
-
};
|
|
24674
|
-
},
|
|
24675
|
-
/**
|
|
24676
|
-
*
|
|
24677
|
-
* @param {string} [searchTerm]
|
|
24678
|
-
* @param {boolean} [countOnly]
|
|
24679
|
-
* @param {string} [countryId]
|
|
24680
|
-
* @param {string} [hospitalId]
|
|
24681
|
-
* @param {MarketingType} [marketingType]
|
|
24682
|
-
* @param {string} [languageCode]
|
|
24683
|
-
* @param {number} [page]
|
|
24684
|
-
* @param {number} [limit]
|
|
24685
|
-
* @param {Date} [lastRetrieved]
|
|
24686
|
-
* @param {*} [options] Override http request option.
|
|
24687
|
-
* @throws {RequiredError}
|
|
24688
|
-
*/
|
|
24689
|
-
apiV2SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24690
|
-
const localVarPath = `/api/v2/search/specialties`;
|
|
24691
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24692
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24693
|
-
let baseOptions;
|
|
24694
|
-
if (configuration) {
|
|
24695
|
-
baseOptions = configuration.baseOptions;
|
|
24696
|
-
}
|
|
24697
|
-
|
|
24698
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24699
|
-
const localVarHeaderParameter = {} as any;
|
|
24700
|
-
const localVarQueryParameter = {} as any;
|
|
24701
|
-
|
|
24702
|
-
if (searchTerm !== undefined) {
|
|
24703
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24704
|
-
}
|
|
24705
|
-
|
|
24706
|
-
if (countOnly !== undefined) {
|
|
24707
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24708
|
-
}
|
|
24709
|
-
|
|
24710
|
-
if (countryId !== undefined) {
|
|
24711
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24712
|
-
}
|
|
24713
|
-
|
|
24714
|
-
if (hospitalId !== undefined) {
|
|
24715
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24716
|
-
}
|
|
24717
|
-
|
|
24718
|
-
if (marketingType !== undefined) {
|
|
24719
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24720
|
-
}
|
|
24721
|
-
|
|
24722
|
-
if (languageCode !== undefined) {
|
|
24723
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24724
|
-
}
|
|
24725
|
-
|
|
24726
|
-
if (page !== undefined) {
|
|
24727
|
-
localVarQueryParameter['page'] = page;
|
|
24728
|
-
}
|
|
24729
|
-
|
|
24730
|
-
if (limit !== undefined) {
|
|
24731
|
-
localVarQueryParameter['limit'] = limit;
|
|
24732
|
-
}
|
|
24733
|
-
|
|
24734
|
-
if (lastRetrieved !== undefined) {
|
|
24735
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24736
|
-
(lastRetrieved as any).toISOString() :
|
|
24737
|
-
lastRetrieved;
|
|
24738
|
-
}
|
|
24739
|
-
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24743
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24744
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24745
|
-
|
|
24746
|
-
return {
|
|
24747
|
-
url: toPathString(localVarUrlObj),
|
|
24748
|
-
options: localVarRequestOptions,
|
|
24749
|
-
};
|
|
24750
|
-
},
|
|
24751
|
-
/**
|
|
24752
|
-
*
|
|
24753
|
-
* @param {string} [searchTerm]
|
|
24754
|
-
* @param {boolean} [countOnly]
|
|
24755
|
-
* @param {string} [countryId]
|
|
24756
|
-
* @param {string} [hospitalId]
|
|
24757
|
-
* @param {MarketingType} [marketingType]
|
|
24758
|
-
* @param {string} [languageCode]
|
|
24759
|
-
* @param {number} [page]
|
|
24760
|
-
* @param {number} [limit]
|
|
24761
|
-
* @param {Date} [lastRetrieved]
|
|
24762
|
-
* @param {*} [options] Override http request option.
|
|
24763
|
-
* @throws {RequiredError}
|
|
24764
|
-
*/
|
|
24765
|
-
apiV2SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24766
|
-
const localVarPath = `/api/v2/search/specialtytypes`;
|
|
24767
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24768
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24769
|
-
let baseOptions;
|
|
24770
|
-
if (configuration) {
|
|
24771
|
-
baseOptions = configuration.baseOptions;
|
|
24772
|
-
}
|
|
24773
|
-
|
|
24774
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24775
|
-
const localVarHeaderParameter = {} as any;
|
|
24776
|
-
const localVarQueryParameter = {} as any;
|
|
24777
|
-
|
|
24778
|
-
if (searchTerm !== undefined) {
|
|
24779
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
24780
|
-
}
|
|
24781
|
-
|
|
24782
|
-
if (countOnly !== undefined) {
|
|
24783
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
24784
|
-
}
|
|
24785
|
-
|
|
24786
|
-
if (countryId !== undefined) {
|
|
24787
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
24788
|
-
}
|
|
24789
|
-
|
|
24790
|
-
if (hospitalId !== undefined) {
|
|
24791
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
24792
|
-
}
|
|
24793
|
-
|
|
24794
|
-
if (marketingType !== undefined) {
|
|
24795
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24796
|
-
}
|
|
24797
|
-
|
|
24798
|
-
if (languageCode !== undefined) {
|
|
24799
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24800
|
-
}
|
|
24801
|
-
|
|
24802
|
-
if (page !== undefined) {
|
|
24803
|
-
localVarQueryParameter['page'] = page;
|
|
24804
|
-
}
|
|
24805
|
-
|
|
24806
|
-
if (limit !== undefined) {
|
|
24807
|
-
localVarQueryParameter['limit'] = limit;
|
|
24808
|
-
}
|
|
24809
|
-
|
|
24810
|
-
if (lastRetrieved !== undefined) {
|
|
24811
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24812
|
-
(lastRetrieved as any).toISOString() :
|
|
24813
|
-
lastRetrieved;
|
|
24814
|
-
}
|
|
24815
|
-
|
|
24816
|
-
|
|
24817
|
-
|
|
24818
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24819
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24820
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24821
|
-
|
|
24822
|
-
return {
|
|
24823
|
-
url: toPathString(localVarUrlObj),
|
|
24824
|
-
options: localVarRequestOptions,
|
|
24825
|
-
};
|
|
24826
|
-
},
|
|
24827
|
-
/**
|
|
24828
|
-
*
|
|
24829
|
-
* @param {string} keyword
|
|
24830
|
-
* @param {boolean} [fuzzy]
|
|
24831
|
-
* @param {boolean} [highlights]
|
|
24832
|
-
* @param {number} [size]
|
|
24833
|
-
* @param {*} [options] Override http request option.
|
|
24834
|
-
* @throws {RequiredError}
|
|
24835
|
-
*/
|
|
24836
|
-
apiV2SearchSuggestGet: async (keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24837
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
24838
|
-
assertParamExists('apiV2SearchSuggestGet', 'keyword', keyword)
|
|
24839
|
-
const localVarPath = `/api/v2/search/suggest`;
|
|
24840
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24841
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24842
|
-
let baseOptions;
|
|
24843
|
-
if (configuration) {
|
|
24844
|
-
baseOptions = configuration.baseOptions;
|
|
24845
|
-
}
|
|
24846
|
-
|
|
24847
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24848
|
-
const localVarHeaderParameter = {} as any;
|
|
24849
|
-
const localVarQueryParameter = {} as any;
|
|
24850
|
-
|
|
24851
|
-
if (keyword !== undefined) {
|
|
24852
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
24853
|
-
}
|
|
24854
|
-
|
|
24855
|
-
if (fuzzy !== undefined) {
|
|
24856
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
24857
|
-
}
|
|
24858
|
-
|
|
24859
|
-
if (highlights !== undefined) {
|
|
24860
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
24861
|
-
}
|
|
24862
|
-
|
|
24863
|
-
if (size !== undefined) {
|
|
24864
|
-
localVarQueryParameter['Size'] = size;
|
|
24865
|
-
}
|
|
24866
|
-
|
|
24867
|
-
|
|
24868
|
-
|
|
24869
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24870
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24871
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24872
|
-
|
|
24873
|
-
return {
|
|
24874
|
-
url: toPathString(localVarUrlObj),
|
|
24875
|
-
options: localVarRequestOptions,
|
|
24876
|
-
};
|
|
24877
|
-
},
|
|
24878
|
-
}
|
|
24879
|
-
};
|
|
24880
|
-
|
|
24881
|
-
/**
|
|
24882
|
-
* SearchApi - functional programming interface
|
|
24883
|
-
* @export
|
|
24884
|
-
*/
|
|
24885
|
-
export const SearchApiFp = function(configuration?: Configuration) {
|
|
24886
|
-
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
|
|
24887
|
-
return {
|
|
24888
|
-
/**
|
|
24889
|
-
*
|
|
24890
|
-
* @param {string} keyword
|
|
24891
|
-
* @param {AutocompleteMode} [mode]
|
|
24892
|
-
* @param {boolean} [fuzzy]
|
|
24893
|
-
* @param {boolean} [highlights]
|
|
24894
|
-
* @param {number} [size]
|
|
24895
|
-
* @param {number} [minimumCoverage]
|
|
24896
|
-
* @param {*} [options] Override http request option.
|
|
24897
|
-
* @throws {RequiredError}
|
|
24898
|
-
*/
|
|
24899
|
-
async apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchServiceAutocompleteModel>> {
|
|
24900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options);
|
|
24901
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24902
|
-
},
|
|
24903
|
-
/**
|
|
24904
|
-
*
|
|
24905
|
-
* @param {string} [searchTerm]
|
|
24906
|
-
* @param {boolean} [countOnly]
|
|
24907
|
-
* @param {string} [countryId]
|
|
24908
|
-
* @param {string} [hospitalId]
|
|
24909
|
-
* @param {MarketingType} [marketingType]
|
|
24910
|
-
* @param {string} [languageCode]
|
|
24911
|
-
* @param {number} [page]
|
|
24912
|
-
* @param {number} [limit]
|
|
24913
|
-
* @param {Date} [lastRetrieved]
|
|
24914
|
-
* @param {*} [options] Override http request option.
|
|
24915
|
-
* @throws {RequiredError}
|
|
24916
|
-
*/
|
|
24917
|
-
async apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
24918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
24919
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24920
|
-
},
|
|
24921
|
-
/**
|
|
24922
|
-
*
|
|
24923
|
-
* @param {string} [searchTerm]
|
|
24924
|
-
* @param {boolean} [countOnly]
|
|
24925
|
-
* @param {string} [countryId]
|
|
24926
|
-
* @param {string} [hospitalId]
|
|
24927
|
-
* @param {MarketingType} [marketingType]
|
|
24928
|
-
* @param {string} [languageCode]
|
|
24929
|
-
* @param {number} [page]
|
|
24930
|
-
* @param {number} [limit]
|
|
24931
|
-
* @param {Date} [lastRetrieved]
|
|
24932
|
-
* @param {*} [options] Override http request option.
|
|
24933
|
-
* @throws {RequiredError}
|
|
24934
|
-
*/
|
|
24935
|
-
async apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
|
|
24936
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
24937
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24938
|
-
},
|
|
24939
|
-
/**
|
|
24940
|
-
*
|
|
24941
|
-
* @param {string} [searchTerm]
|
|
24942
|
-
* @param {boolean} [countOnly]
|
|
24943
|
-
* @param {string} [countryId]
|
|
24944
|
-
* @param {string} [hospitalId]
|
|
24945
|
-
* @param {MarketingType} [marketingType]
|
|
24946
|
-
* @param {string} [languageCode]
|
|
24947
|
-
* @param {number} [page]
|
|
24948
|
-
* @param {number} [limit]
|
|
24949
|
-
* @param {Date} [lastRetrieved]
|
|
24950
|
-
* @param {*} [options] Override http request option.
|
|
24951
|
-
* @throws {RequiredError}
|
|
24952
|
-
*/
|
|
24953
|
-
async apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchModel>> {
|
|
24954
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
24955
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24956
|
-
},
|
|
24957
|
-
/**
|
|
24958
|
-
*
|
|
24959
|
-
* @param {string} [searchTerm]
|
|
24960
|
-
* @param {boolean} [countOnly]
|
|
24961
|
-
* @param {string} [countryId]
|
|
24962
|
-
* @param {string} [hospitalId]
|
|
24963
|
-
* @param {MarketingType} [marketingType]
|
|
24964
|
-
* @param {string} [languageCode]
|
|
24965
|
-
* @param {number} [page]
|
|
24966
|
-
* @param {number} [limit]
|
|
24967
|
-
* @param {Date} [lastRetrieved]
|
|
24968
|
-
* @param {*} [options] Override http request option.
|
|
24969
|
-
* @throws {RequiredError}
|
|
24970
|
-
*/
|
|
24971
|
-
async apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
24972
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
24973
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24974
|
-
},
|
|
24975
|
-
/**
|
|
24976
|
-
*
|
|
24977
|
-
* @param {string} [searchTerm]
|
|
24978
|
-
* @param {boolean} [countOnly]
|
|
24979
|
-
* @param {string} [countryId]
|
|
24980
|
-
* @param {string} [hospitalId]
|
|
24981
|
-
* @param {MarketingType} [marketingType]
|
|
24982
|
-
* @param {string} [languageCode]
|
|
24983
|
-
* @param {number} [page]
|
|
24984
|
-
* @param {number} [limit]
|
|
24985
|
-
* @param {Date} [lastRetrieved]
|
|
24986
|
-
* @param {*} [options] Override http request option.
|
|
24987
|
-
* @throws {RequiredError}
|
|
24988
|
-
*/
|
|
24989
|
-
async apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
24990
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
24991
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24992
|
-
},
|
|
24993
|
-
/**
|
|
24994
|
-
*
|
|
24995
|
-
* @param {string} [searchTerm]
|
|
24996
|
-
* @param {boolean} [countOnly]
|
|
24997
|
-
* @param {string} [countryId]
|
|
24998
|
-
* @param {string} [hospitalId]
|
|
24999
|
-
* @param {MarketingType} [marketingType]
|
|
25000
|
-
* @param {string} [languageCode]
|
|
25001
|
-
* @param {number} [page]
|
|
25002
|
-
* @param {number} [limit]
|
|
25003
|
-
* @param {Date} [lastRetrieved]
|
|
25004
|
-
* @param {*} [options] Override http request option.
|
|
25005
|
-
* @throws {RequiredError}
|
|
25006
|
-
*/
|
|
25007
|
-
async apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesModel>> {
|
|
25008
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
25009
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25010
|
-
},
|
|
25011
|
-
/**
|
|
25012
|
-
*
|
|
25013
|
-
* @param {string} keyword
|
|
25014
|
-
* @param {boolean} [fuzzy]
|
|
25015
|
-
* @param {boolean} [highlights]
|
|
25016
|
-
* @param {number} [size]
|
|
25017
|
-
* @param {*} [options] Override http request option.
|
|
25018
|
-
* @throws {RequiredError}
|
|
25019
|
-
*/
|
|
25020
|
-
async apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AzureSearchServiceSuggestModel>> {
|
|
25021
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options);
|
|
25022
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25023
|
-
},
|
|
25024
|
-
}
|
|
25025
|
-
};
|
|
25026
|
-
|
|
25027
|
-
/**
|
|
25028
|
-
* SearchApi - factory interface
|
|
25029
|
-
* @export
|
|
25030
|
-
*/
|
|
25031
|
-
export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
25032
|
-
const localVarFp = SearchApiFp(configuration)
|
|
25033
|
-
return {
|
|
25034
|
-
/**
|
|
25035
|
-
*
|
|
25036
|
-
* @param {string} keyword
|
|
25037
|
-
* @param {AutocompleteMode} [mode]
|
|
25038
|
-
* @param {boolean} [fuzzy]
|
|
25039
|
-
* @param {boolean} [highlights]
|
|
25040
|
-
* @param {number} [size]
|
|
25041
|
-
* @param {number} [minimumCoverage]
|
|
25042
|
-
* @param {*} [options] Override http request option.
|
|
25043
|
-
* @throws {RequiredError}
|
|
25044
|
-
*/
|
|
25045
|
-
apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: any): AxiosPromise<AzureSearchServiceAutocompleteModel> {
|
|
25046
|
-
return localVarFp.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then((request) => request(axios, basePath));
|
|
25047
|
-
},
|
|
25048
|
-
/**
|
|
25049
|
-
*
|
|
25050
|
-
* @param {string} [searchTerm]
|
|
25051
|
-
* @param {boolean} [countOnly]
|
|
25052
|
-
* @param {string} [countryId]
|
|
25053
|
-
* @param {string} [hospitalId]
|
|
25054
|
-
* @param {MarketingType} [marketingType]
|
|
25055
|
-
* @param {string} [languageCode]
|
|
25056
|
-
* @param {number} [page]
|
|
25057
|
-
* @param {number} [limit]
|
|
25058
|
-
* @param {Date} [lastRetrieved]
|
|
25059
|
-
* @param {*} [options] Override http request option.
|
|
25060
|
-
* @throws {RequiredError}
|
|
25061
|
-
*/
|
|
25062
|
-
apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
25063
|
-
return localVarFp.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25064
|
-
},
|
|
25065
|
-
/**
|
|
25066
|
-
*
|
|
25067
|
-
* @param {string} [searchTerm]
|
|
25068
|
-
* @param {boolean} [countOnly]
|
|
25069
|
-
* @param {string} [countryId]
|
|
25070
|
-
* @param {string} [hospitalId]
|
|
25071
|
-
* @param {MarketingType} [marketingType]
|
|
25072
|
-
* @param {string} [languageCode]
|
|
25073
|
-
* @param {number} [page]
|
|
25074
|
-
* @param {number} [limit]
|
|
25075
|
-
* @param {Date} [lastRetrieved]
|
|
25076
|
-
* @param {*} [options] Override http request option.
|
|
25077
|
-
* @throws {RequiredError}
|
|
25078
|
-
*/
|
|
25079
|
-
apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
25080
|
-
return localVarFp.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25081
|
-
},
|
|
25082
|
-
/**
|
|
25083
|
-
*
|
|
25084
|
-
* @param {string} [searchTerm]
|
|
25085
|
-
* @param {boolean} [countOnly]
|
|
25086
|
-
* @param {string} [countryId]
|
|
25087
|
-
* @param {string} [hospitalId]
|
|
25088
|
-
* @param {MarketingType} [marketingType]
|
|
25089
|
-
* @param {string} [languageCode]
|
|
25090
|
-
* @param {number} [page]
|
|
25091
|
-
* @param {number} [limit]
|
|
25092
|
-
* @param {Date} [lastRetrieved]
|
|
25093
|
-
* @param {*} [options] Override http request option.
|
|
25094
|
-
* @throws {RequiredError}
|
|
25095
|
-
*/
|
|
25096
|
-
apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
|
|
25097
|
-
return localVarFp.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25098
|
-
},
|
|
25099
|
-
/**
|
|
25100
|
-
*
|
|
25101
|
-
* @param {string} [searchTerm]
|
|
25102
|
-
* @param {boolean} [countOnly]
|
|
25103
|
-
* @param {string} [countryId]
|
|
25104
|
-
* @param {string} [hospitalId]
|
|
25105
|
-
* @param {MarketingType} [marketingType]
|
|
25106
|
-
* @param {string} [languageCode]
|
|
25107
|
-
* @param {number} [page]
|
|
25108
|
-
* @param {number} [limit]
|
|
25109
|
-
* @param {Date} [lastRetrieved]
|
|
25110
|
-
* @param {*} [options] Override http request option.
|
|
25111
|
-
* @throws {RequiredError}
|
|
25112
|
-
*/
|
|
25113
|
-
apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
25114
|
-
return localVarFp.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25115
|
-
},
|
|
25116
|
-
/**
|
|
25117
|
-
*
|
|
25118
|
-
* @param {string} [searchTerm]
|
|
25119
|
-
* @param {boolean} [countOnly]
|
|
25120
|
-
* @param {string} [countryId]
|
|
25121
|
-
* @param {string} [hospitalId]
|
|
25122
|
-
* @param {MarketingType} [marketingType]
|
|
25123
|
-
* @param {string} [languageCode]
|
|
25124
|
-
* @param {number} [page]
|
|
25125
|
-
* @param {number} [limit]
|
|
25126
|
-
* @param {Date} [lastRetrieved]
|
|
25127
|
-
* @param {*} [options] Override http request option.
|
|
25128
|
-
* @throws {RequiredError}
|
|
25129
|
-
*/
|
|
25130
|
-
apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
25131
|
-
return localVarFp.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25132
|
-
},
|
|
25133
|
-
/**
|
|
25134
|
-
*
|
|
25135
|
-
* @param {string} [searchTerm]
|
|
25136
|
-
* @param {boolean} [countOnly]
|
|
25137
|
-
* @param {string} [countryId]
|
|
25138
|
-
* @param {string} [hospitalId]
|
|
25139
|
-
* @param {MarketingType} [marketingType]
|
|
25140
|
-
* @param {string} [languageCode]
|
|
25141
|
-
* @param {number} [page]
|
|
25142
|
-
* @param {number} [limit]
|
|
25143
|
-
* @param {Date} [lastRetrieved]
|
|
25144
|
-
* @param {*} [options] Override http request option.
|
|
25145
|
-
* @throws {RequiredError}
|
|
25146
|
-
*/
|
|
25147
|
-
apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
25148
|
-
return localVarFp.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25149
|
-
},
|
|
25150
|
-
/**
|
|
25151
|
-
*
|
|
25152
|
-
* @param {string} keyword
|
|
25153
|
-
* @param {boolean} [fuzzy]
|
|
25154
|
-
* @param {boolean} [highlights]
|
|
25155
|
-
* @param {number} [size]
|
|
25156
|
-
* @param {*} [options] Override http request option.
|
|
25157
|
-
* @throws {RequiredError}
|
|
25158
|
-
*/
|
|
25159
|
-
apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: any): AxiosPromise<AzureSearchServiceSuggestModel> {
|
|
25160
|
-
return localVarFp.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then((request) => request(axios, basePath));
|
|
25161
|
-
},
|
|
25162
|
-
};
|
|
25163
|
-
};
|
|
25164
|
-
|
|
25165
|
-
/**
|
|
25166
|
-
* SearchApi - object-oriented interface
|
|
25167
|
-
* @export
|
|
25168
|
-
* @class SearchApi
|
|
25169
|
-
* @extends {BaseAPI}
|
|
25170
|
-
*/
|
|
25171
|
-
export class SearchApi extends BaseAPI {
|
|
25172
|
-
/**
|
|
25173
|
-
*
|
|
25174
|
-
* @param {string} keyword
|
|
25175
|
-
* @param {AutocompleteMode} [mode]
|
|
25176
|
-
* @param {boolean} [fuzzy]
|
|
25177
|
-
* @param {boolean} [highlights]
|
|
25178
|
-
* @param {number} [size]
|
|
25179
|
-
* @param {number} [minimumCoverage]
|
|
25180
|
-
* @param {*} [options] Override http request option.
|
|
25181
|
-
* @throws {RequiredError}
|
|
25182
|
-
* @memberof SearchApi
|
|
25183
|
-
*/
|
|
25184
|
-
public apiV2SearchAutocompleteGet(keyword: string, mode?: AutocompleteMode, fuzzy?: boolean, highlights?: boolean, size?: number, minimumCoverage?: number, options?: AxiosRequestConfig) {
|
|
25185
|
-
return SearchApiFp(this.configuration).apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then((request) => request(this.axios, this.basePath));
|
|
25186
|
-
}
|
|
25187
|
-
|
|
25188
|
-
/**
|
|
25189
|
-
*
|
|
25190
|
-
* @param {string} [searchTerm]
|
|
25191
|
-
* @param {boolean} [countOnly]
|
|
25192
|
-
* @param {string} [countryId]
|
|
25193
|
-
* @param {string} [hospitalId]
|
|
25194
|
-
* @param {MarketingType} [marketingType]
|
|
25195
|
-
* @param {string} [languageCode]
|
|
25196
|
-
* @param {number} [page]
|
|
25197
|
-
* @param {number} [limit]
|
|
25198
|
-
* @param {Date} [lastRetrieved]
|
|
25199
|
-
* @param {*} [options] Override http request option.
|
|
25200
|
-
* @throws {RequiredError}
|
|
25201
|
-
* @memberof SearchApi
|
|
25202
|
-
*/
|
|
25203
|
-
public apiV2SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25204
|
-
return SearchApiFp(this.configuration).apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25205
|
-
}
|
|
25206
|
-
|
|
25207
|
-
/**
|
|
25208
|
-
*
|
|
25209
|
-
* @param {string} [searchTerm]
|
|
25210
|
-
* @param {boolean} [countOnly]
|
|
25211
|
-
* @param {string} [countryId]
|
|
25212
|
-
* @param {string} [hospitalId]
|
|
25213
|
-
* @param {MarketingType} [marketingType]
|
|
25214
|
-
* @param {string} [languageCode]
|
|
25215
|
-
* @param {number} [page]
|
|
25216
|
-
* @param {number} [limit]
|
|
25217
|
-
* @param {Date} [lastRetrieved]
|
|
25218
|
-
* @param {*} [options] Override http request option.
|
|
25219
|
-
* @throws {RequiredError}
|
|
25220
|
-
* @memberof SearchApi
|
|
25221
|
-
*/
|
|
25222
|
-
public apiV2SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25223
|
-
return SearchApiFp(this.configuration).apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25224
|
-
}
|
|
25225
|
-
|
|
25226
|
-
/**
|
|
25227
|
-
*
|
|
25228
|
-
* @param {string} [searchTerm]
|
|
25229
|
-
* @param {boolean} [countOnly]
|
|
25230
|
-
* @param {string} [countryId]
|
|
25231
|
-
* @param {string} [hospitalId]
|
|
25232
|
-
* @param {MarketingType} [marketingType]
|
|
25233
|
-
* @param {string} [languageCode]
|
|
25234
|
-
* @param {number} [page]
|
|
25235
|
-
* @param {number} [limit]
|
|
25236
|
-
* @param {Date} [lastRetrieved]
|
|
25237
|
-
* @param {*} [options] Override http request option.
|
|
25238
|
-
* @throws {RequiredError}
|
|
25239
|
-
* @memberof SearchApi
|
|
25240
|
-
*/
|
|
25241
|
-
public apiV2SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25242
|
-
return SearchApiFp(this.configuration).apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25243
|
-
}
|
|
25244
|
-
|
|
25245
|
-
/**
|
|
25246
|
-
*
|
|
25247
|
-
* @param {string} [searchTerm]
|
|
25248
|
-
* @param {boolean} [countOnly]
|
|
25249
|
-
* @param {string} [countryId]
|
|
25250
|
-
* @param {string} [hospitalId]
|
|
25251
|
-
* @param {MarketingType} [marketingType]
|
|
25252
|
-
* @param {string} [languageCode]
|
|
25253
|
-
* @param {number} [page]
|
|
25254
|
-
* @param {number} [limit]
|
|
25255
|
-
* @param {Date} [lastRetrieved]
|
|
25256
|
-
* @param {*} [options] Override http request option.
|
|
25257
|
-
* @throws {RequiredError}
|
|
25258
|
-
* @memberof SearchApi
|
|
25259
|
-
*/
|
|
25260
|
-
public apiV2SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25261
|
-
return SearchApiFp(this.configuration).apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25262
|
-
}
|
|
25263
|
-
|
|
25264
|
-
/**
|
|
25265
|
-
*
|
|
25266
|
-
* @param {string} [searchTerm]
|
|
25267
|
-
* @param {boolean} [countOnly]
|
|
25268
|
-
* @param {string} [countryId]
|
|
25269
|
-
* @param {string} [hospitalId]
|
|
25270
|
-
* @param {MarketingType} [marketingType]
|
|
25271
|
-
* @param {string} [languageCode]
|
|
25272
|
-
* @param {number} [page]
|
|
25273
|
-
* @param {number} [limit]
|
|
25274
|
-
* @param {Date} [lastRetrieved]
|
|
25275
|
-
* @param {*} [options] Override http request option.
|
|
25276
|
-
* @throws {RequiredError}
|
|
25277
|
-
* @memberof SearchApi
|
|
25278
|
-
*/
|
|
25279
|
-
public apiV2SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25280
|
-
return SearchApiFp(this.configuration).apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25281
|
-
}
|
|
25282
|
-
|
|
25283
|
-
/**
|
|
25284
|
-
*
|
|
25285
|
-
* @param {string} [searchTerm]
|
|
25286
|
-
* @param {boolean} [countOnly]
|
|
25287
|
-
* @param {string} [countryId]
|
|
25288
|
-
* @param {string} [hospitalId]
|
|
25289
|
-
* @param {MarketingType} [marketingType]
|
|
25290
|
-
* @param {string} [languageCode]
|
|
25291
|
-
* @param {number} [page]
|
|
25292
|
-
* @param {number} [limit]
|
|
25293
|
-
* @param {Date} [lastRetrieved]
|
|
25294
|
-
* @param {*} [options] Override http request option.
|
|
25295
|
-
* @throws {RequiredError}
|
|
25296
|
-
* @memberof SearchApi
|
|
25297
|
-
*/
|
|
25298
|
-
public apiV2SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25299
|
-
return SearchApiFp(this.configuration).apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25300
|
-
}
|
|
25301
|
-
|
|
25302
|
-
/**
|
|
25303
|
-
*
|
|
25304
|
-
* @param {string} keyword
|
|
25305
|
-
* @param {boolean} [fuzzy]
|
|
25306
|
-
* @param {boolean} [highlights]
|
|
25307
|
-
* @param {number} [size]
|
|
25308
|
-
* @param {*} [options] Override http request option.
|
|
25309
|
-
* @throws {RequiredError}
|
|
25310
|
-
* @memberof SearchApi
|
|
25311
|
-
*/
|
|
25312
|
-
public apiV2SearchSuggestGet(keyword: string, fuzzy?: boolean, highlights?: boolean, size?: number, options?: AxiosRequestConfig) {
|
|
25313
|
-
return SearchApiFp(this.configuration).apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then((request) => request(this.axios, this.basePath));
|
|
25314
|
-
}
|
|
25315
|
-
}
|
|
25316
|
-
|
|
25317
|
-
|
|
25318
24213
|
/**
|
|
25319
24214
|
* ServiceReviewsApi - axios parameter creator
|
|
25320
24215
|
* @export
|