ch-admin-api-client-typescript 2.7.4 → 2.7.5
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 +721 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1334 -8
- package/package.json +1 -1
- package/src/api.ts +1368 -7
package/src/api.ts
CHANGED
|
@@ -782,6 +782,43 @@ export interface AwardModel {
|
|
|
782
782
|
*/
|
|
783
783
|
'date'?: Date;
|
|
784
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @interface AzureSearchModel
|
|
789
|
+
*/
|
|
790
|
+
export interface AzureSearchModel {
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @type {number}
|
|
794
|
+
* @memberof AzureSearchModel
|
|
795
|
+
*/
|
|
796
|
+
'hospitals'?: number;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {number}
|
|
800
|
+
* @memberof AzureSearchModel
|
|
801
|
+
*/
|
|
802
|
+
'doctors'?: number;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {number}
|
|
806
|
+
* @memberof AzureSearchModel
|
|
807
|
+
*/
|
|
808
|
+
'deals'?: number;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {number}
|
|
812
|
+
* @memberof AzureSearchModel
|
|
813
|
+
*/
|
|
814
|
+
'specialties'?: number;
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @type {number}
|
|
818
|
+
* @memberof AzureSearchModel
|
|
819
|
+
*/
|
|
820
|
+
'specialtyTypes'?: number;
|
|
821
|
+
}
|
|
785
822
|
/**
|
|
786
823
|
*
|
|
787
824
|
* @export
|
|
@@ -10554,6 +10591,25 @@ export interface UpdateDealServiceCommand {
|
|
|
10554
10591
|
*/
|
|
10555
10592
|
'order'?: number;
|
|
10556
10593
|
}
|
|
10594
|
+
/**
|
|
10595
|
+
*
|
|
10596
|
+
* @export
|
|
10597
|
+
* @interface UpdateDealsSearchIndexCommand
|
|
10598
|
+
*/
|
|
10599
|
+
export interface UpdateDealsSearchIndexCommand {
|
|
10600
|
+
/**
|
|
10601
|
+
*
|
|
10602
|
+
* @type {number}
|
|
10603
|
+
* @memberof UpdateDealsSearchIndexCommand
|
|
10604
|
+
*/
|
|
10605
|
+
'batchSize'?: number | null;
|
|
10606
|
+
/**
|
|
10607
|
+
*
|
|
10608
|
+
* @type {boolean}
|
|
10609
|
+
* @memberof UpdateDealsSearchIndexCommand
|
|
10610
|
+
*/
|
|
10611
|
+
'reCreate'?: boolean | null;
|
|
10612
|
+
}
|
|
10557
10613
|
/**
|
|
10558
10614
|
*
|
|
10559
10615
|
* @export
|
|
@@ -10769,6 +10825,25 @@ export interface UpdateDoctorSpecialtyCommand {
|
|
|
10769
10825
|
*/
|
|
10770
10826
|
'order'?: number;
|
|
10771
10827
|
}
|
|
10828
|
+
/**
|
|
10829
|
+
*
|
|
10830
|
+
* @export
|
|
10831
|
+
* @interface UpdateDoctorsSearchIndexCommand
|
|
10832
|
+
*/
|
|
10833
|
+
export interface UpdateDoctorsSearchIndexCommand {
|
|
10834
|
+
/**
|
|
10835
|
+
*
|
|
10836
|
+
* @type {number}
|
|
10837
|
+
* @memberof UpdateDoctorsSearchIndexCommand
|
|
10838
|
+
*/
|
|
10839
|
+
'batchSize'?: number | null;
|
|
10840
|
+
/**
|
|
10841
|
+
*
|
|
10842
|
+
* @type {boolean}
|
|
10843
|
+
* @memberof UpdateDoctorsSearchIndexCommand
|
|
10844
|
+
*/
|
|
10845
|
+
'reCreate'?: boolean | null;
|
|
10846
|
+
}
|
|
10772
10847
|
/**
|
|
10773
10848
|
*
|
|
10774
10849
|
* @export
|
|
@@ -11105,6 +11180,25 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11105
11180
|
*/
|
|
11106
11181
|
'order'?: number;
|
|
11107
11182
|
}
|
|
11183
|
+
/**
|
|
11184
|
+
*
|
|
11185
|
+
* @export
|
|
11186
|
+
* @interface UpdateHospitalsSearchIndexCommand
|
|
11187
|
+
*/
|
|
11188
|
+
export interface UpdateHospitalsSearchIndexCommand {
|
|
11189
|
+
/**
|
|
11190
|
+
*
|
|
11191
|
+
* @type {number}
|
|
11192
|
+
* @memberof UpdateHospitalsSearchIndexCommand
|
|
11193
|
+
*/
|
|
11194
|
+
'batchSize'?: number | null;
|
|
11195
|
+
/**
|
|
11196
|
+
*
|
|
11197
|
+
* @type {boolean}
|
|
11198
|
+
* @memberof UpdateHospitalsSearchIndexCommand
|
|
11199
|
+
*/
|
|
11200
|
+
'reCreate'?: boolean | null;
|
|
11201
|
+
}
|
|
11108
11202
|
/**
|
|
11109
11203
|
*
|
|
11110
11204
|
* @export
|
|
@@ -11486,6 +11580,25 @@ export interface UpdateServiceReviewCommand {
|
|
|
11486
11580
|
*/
|
|
11487
11581
|
'rate'?: number | null;
|
|
11488
11582
|
}
|
|
11583
|
+
/**
|
|
11584
|
+
*
|
|
11585
|
+
* @export
|
|
11586
|
+
* @interface UpdateSpecialtiesSearchIndexCommand
|
|
11587
|
+
*/
|
|
11588
|
+
export interface UpdateSpecialtiesSearchIndexCommand {
|
|
11589
|
+
/**
|
|
11590
|
+
*
|
|
11591
|
+
* @type {number}
|
|
11592
|
+
* @memberof UpdateSpecialtiesSearchIndexCommand
|
|
11593
|
+
*/
|
|
11594
|
+
'batchSize'?: number | null;
|
|
11595
|
+
/**
|
|
11596
|
+
*
|
|
11597
|
+
* @type {boolean}
|
|
11598
|
+
* @memberof UpdateSpecialtiesSearchIndexCommand
|
|
11599
|
+
*/
|
|
11600
|
+
'reCreate'?: boolean | null;
|
|
11601
|
+
}
|
|
11489
11602
|
/**
|
|
11490
11603
|
*
|
|
11491
11604
|
* @export
|
|
@@ -11608,6 +11721,25 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
11608
11721
|
*/
|
|
11609
11722
|
'languageCode'?: string | null;
|
|
11610
11723
|
}
|
|
11724
|
+
/**
|
|
11725
|
+
*
|
|
11726
|
+
* @export
|
|
11727
|
+
* @interface UpdateSpecialtyTypesSearchIndexCommand
|
|
11728
|
+
*/
|
|
11729
|
+
export interface UpdateSpecialtyTypesSearchIndexCommand {
|
|
11730
|
+
/**
|
|
11731
|
+
*
|
|
11732
|
+
* @type {number}
|
|
11733
|
+
* @memberof UpdateSpecialtyTypesSearchIndexCommand
|
|
11734
|
+
*/
|
|
11735
|
+
'batchSize'?: number | null;
|
|
11736
|
+
/**
|
|
11737
|
+
*
|
|
11738
|
+
* @type {boolean}
|
|
11739
|
+
* @memberof UpdateSpecialtyTypesSearchIndexCommand
|
|
11740
|
+
*/
|
|
11741
|
+
'reCreate'?: boolean | null;
|
|
11742
|
+
}
|
|
11611
11743
|
/**
|
|
11612
11744
|
*
|
|
11613
11745
|
* @export
|
|
@@ -22553,6 +22685,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22553
22685
|
* @param {string} [hospitalId]
|
|
22554
22686
|
* @param {string} [languageCode]
|
|
22555
22687
|
* @param {boolean} [returnDefaultValue]
|
|
22688
|
+
* @param {Array<string>} [ids]
|
|
22556
22689
|
* @param {string} [id]
|
|
22557
22690
|
* @param {string} [fullname]
|
|
22558
22691
|
* @param {string} [email]
|
|
@@ -22566,7 +22699,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22566
22699
|
* @param {*} [options] Override http request option.
|
|
22567
22700
|
* @throws {RequiredError}
|
|
22568
22701
|
*/
|
|
22569
|
-
apiV1DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22702
|
+
apiV1DoctorsGet: 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> => {
|
|
22570
22703
|
const localVarPath = `/api/v1/doctors`;
|
|
22571
22704
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22572
22705
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22595,6 +22728,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22595
22728
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
22596
22729
|
}
|
|
22597
22730
|
|
|
22731
|
+
if (ids) {
|
|
22732
|
+
localVarQueryParameter['Ids'] = ids;
|
|
22733
|
+
}
|
|
22734
|
+
|
|
22598
22735
|
if (id !== undefined) {
|
|
22599
22736
|
localVarQueryParameter['Id'] = id;
|
|
22600
22737
|
}
|
|
@@ -23171,6 +23308,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
23171
23308
|
* @param {string} [hospitalId]
|
|
23172
23309
|
* @param {string} [languageCode]
|
|
23173
23310
|
* @param {boolean} [returnDefaultValue]
|
|
23311
|
+
* @param {Array<string>} [ids]
|
|
23174
23312
|
* @param {string} [id]
|
|
23175
23313
|
* @param {string} [fullname]
|
|
23176
23314
|
* @param {string} [email]
|
|
@@ -23184,8 +23322,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
23184
23322
|
* @param {*} [options] Override http request option.
|
|
23185
23323
|
* @throws {RequiredError}
|
|
23186
23324
|
*/
|
|
23187
|
-
async apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, 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<DoctorsModel>> {
|
|
23188
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
23325
|
+
async apiV1DoctorsGet(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<DoctorsModel>> {
|
|
23326
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
23189
23327
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23190
23328
|
},
|
|
23191
23329
|
/**
|
|
@@ -23613,6 +23751,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23613
23751
|
* @param {string} [hospitalId]
|
|
23614
23752
|
* @param {string} [languageCode]
|
|
23615
23753
|
* @param {boolean} [returnDefaultValue]
|
|
23754
|
+
* @param {Array<string>} [ids]
|
|
23616
23755
|
* @param {string} [id]
|
|
23617
23756
|
* @param {string} [fullname]
|
|
23618
23757
|
* @param {string} [email]
|
|
@@ -23626,8 +23765,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23626
23765
|
* @param {*} [options] Override http request option.
|
|
23627
23766
|
* @throws {RequiredError}
|
|
23628
23767
|
*/
|
|
23629
|
-
apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
23630
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23768
|
+
apiV1DoctorsGet(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> {
|
|
23769
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23631
23770
|
},
|
|
23632
23771
|
/**
|
|
23633
23772
|
*
|
|
@@ -24116,6 +24255,7 @@ export class DoctorsApi extends BaseAPI {
|
|
|
24116
24255
|
* @param {string} [hospitalId]
|
|
24117
24256
|
* @param {string} [languageCode]
|
|
24118
24257
|
* @param {boolean} [returnDefaultValue]
|
|
24258
|
+
* @param {Array<string>} [ids]
|
|
24119
24259
|
* @param {string} [id]
|
|
24120
24260
|
* @param {string} [fullname]
|
|
24121
24261
|
* @param {string} [email]
|
|
@@ -24130,8 +24270,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
24130
24270
|
* @throws {RequiredError}
|
|
24131
24271
|
* @memberof DoctorsApi
|
|
24132
24272
|
*/
|
|
24133
|
-
public apiV1DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24134
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24273
|
+
public apiV1DoctorsGet(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) {
|
|
24274
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24135
24275
|
}
|
|
24136
24276
|
|
|
24137
24277
|
/**
|
|
@@ -34567,6 +34707,1227 @@ export class ProfilesApi extends BaseAPI {
|
|
|
34567
34707
|
}
|
|
34568
34708
|
|
|
34569
34709
|
|
|
34710
|
+
/**
|
|
34711
|
+
* SearchApi - axios parameter creator
|
|
34712
|
+
* @export
|
|
34713
|
+
*/
|
|
34714
|
+
export const SearchApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34715
|
+
return {
|
|
34716
|
+
/**
|
|
34717
|
+
*
|
|
34718
|
+
* @summary Search deals using Azure Search Service
|
|
34719
|
+
* @param {string} [searchTerm]
|
|
34720
|
+
* @param {boolean} [countOnly]
|
|
34721
|
+
* @param {string} [countryId]
|
|
34722
|
+
* @param {string} [hospitalId]
|
|
34723
|
+
* @param {MarketingType} [marketingType]
|
|
34724
|
+
* @param {string} [languageCode]
|
|
34725
|
+
* @param {number} [page]
|
|
34726
|
+
* @param {number} [limit]
|
|
34727
|
+
* @param {Date} [lastRetrieved]
|
|
34728
|
+
* @param {*} [options] Override http request option.
|
|
34729
|
+
* @throws {RequiredError}
|
|
34730
|
+
*/
|
|
34731
|
+
apiV1SearchDealsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34732
|
+
const localVarPath = `/api/v1/search/deals`;
|
|
34733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34735
|
+
let baseOptions;
|
|
34736
|
+
if (configuration) {
|
|
34737
|
+
baseOptions = configuration.baseOptions;
|
|
34738
|
+
}
|
|
34739
|
+
|
|
34740
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34741
|
+
const localVarHeaderParameter = {} as any;
|
|
34742
|
+
const localVarQueryParameter = {} as any;
|
|
34743
|
+
|
|
34744
|
+
// authentication oauth2 required
|
|
34745
|
+
// oauth required
|
|
34746
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34747
|
+
|
|
34748
|
+
if (searchTerm !== undefined) {
|
|
34749
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
34750
|
+
}
|
|
34751
|
+
|
|
34752
|
+
if (countOnly !== undefined) {
|
|
34753
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
34754
|
+
}
|
|
34755
|
+
|
|
34756
|
+
if (countryId !== undefined) {
|
|
34757
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
34758
|
+
}
|
|
34759
|
+
|
|
34760
|
+
if (hospitalId !== undefined) {
|
|
34761
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
34762
|
+
}
|
|
34763
|
+
|
|
34764
|
+
if (marketingType !== undefined) {
|
|
34765
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
34766
|
+
}
|
|
34767
|
+
|
|
34768
|
+
if (languageCode !== undefined) {
|
|
34769
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34770
|
+
}
|
|
34771
|
+
|
|
34772
|
+
if (page !== undefined) {
|
|
34773
|
+
localVarQueryParameter['page'] = page;
|
|
34774
|
+
}
|
|
34775
|
+
|
|
34776
|
+
if (limit !== undefined) {
|
|
34777
|
+
localVarQueryParameter['limit'] = limit;
|
|
34778
|
+
}
|
|
34779
|
+
|
|
34780
|
+
if (lastRetrieved !== undefined) {
|
|
34781
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34782
|
+
(lastRetrieved as any).toISOString() :
|
|
34783
|
+
lastRetrieved;
|
|
34784
|
+
}
|
|
34785
|
+
|
|
34786
|
+
|
|
34787
|
+
|
|
34788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34790
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34791
|
+
|
|
34792
|
+
return {
|
|
34793
|
+
url: toPathString(localVarUrlObj),
|
|
34794
|
+
options: localVarRequestOptions,
|
|
34795
|
+
};
|
|
34796
|
+
},
|
|
34797
|
+
/**
|
|
34798
|
+
*
|
|
34799
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
34800
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
34801
|
+
* @param {*} [options] Override http request option.
|
|
34802
|
+
* @throws {RequiredError}
|
|
34803
|
+
*/
|
|
34804
|
+
apiV1SearchDealsPost: async (updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34805
|
+
const localVarPath = `/api/v1/search/deals`;
|
|
34806
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34808
|
+
let baseOptions;
|
|
34809
|
+
if (configuration) {
|
|
34810
|
+
baseOptions = configuration.baseOptions;
|
|
34811
|
+
}
|
|
34812
|
+
|
|
34813
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34814
|
+
const localVarHeaderParameter = {} as any;
|
|
34815
|
+
const localVarQueryParameter = {} as any;
|
|
34816
|
+
|
|
34817
|
+
// authentication oauth2 required
|
|
34818
|
+
// oauth required
|
|
34819
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34820
|
+
|
|
34821
|
+
|
|
34822
|
+
|
|
34823
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34824
|
+
|
|
34825
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34827
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34828
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
34829
|
+
|
|
34830
|
+
return {
|
|
34831
|
+
url: toPathString(localVarUrlObj),
|
|
34832
|
+
options: localVarRequestOptions,
|
|
34833
|
+
};
|
|
34834
|
+
},
|
|
34835
|
+
/**
|
|
34836
|
+
*
|
|
34837
|
+
* @summary Search doctors using Azure Search Services
|
|
34838
|
+
* @param {string} [searchTerm]
|
|
34839
|
+
* @param {boolean} [countOnly]
|
|
34840
|
+
* @param {string} [countryId]
|
|
34841
|
+
* @param {string} [hospitalId]
|
|
34842
|
+
* @param {MarketingType} [marketingType]
|
|
34843
|
+
* @param {string} [languageCode]
|
|
34844
|
+
* @param {number} [page]
|
|
34845
|
+
* @param {number} [limit]
|
|
34846
|
+
* @param {Date} [lastRetrieved]
|
|
34847
|
+
* @param {*} [options] Override http request option.
|
|
34848
|
+
* @throws {RequiredError}
|
|
34849
|
+
*/
|
|
34850
|
+
apiV1SearchDoctorsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34851
|
+
const localVarPath = `/api/v1/search/doctors`;
|
|
34852
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34853
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34854
|
+
let baseOptions;
|
|
34855
|
+
if (configuration) {
|
|
34856
|
+
baseOptions = configuration.baseOptions;
|
|
34857
|
+
}
|
|
34858
|
+
|
|
34859
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34860
|
+
const localVarHeaderParameter = {} as any;
|
|
34861
|
+
const localVarQueryParameter = {} as any;
|
|
34862
|
+
|
|
34863
|
+
// authentication oauth2 required
|
|
34864
|
+
// oauth required
|
|
34865
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34866
|
+
|
|
34867
|
+
if (searchTerm !== undefined) {
|
|
34868
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
34869
|
+
}
|
|
34870
|
+
|
|
34871
|
+
if (countOnly !== undefined) {
|
|
34872
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
34873
|
+
}
|
|
34874
|
+
|
|
34875
|
+
if (countryId !== undefined) {
|
|
34876
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
34877
|
+
}
|
|
34878
|
+
|
|
34879
|
+
if (hospitalId !== undefined) {
|
|
34880
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
34881
|
+
}
|
|
34882
|
+
|
|
34883
|
+
if (marketingType !== undefined) {
|
|
34884
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
34885
|
+
}
|
|
34886
|
+
|
|
34887
|
+
if (languageCode !== undefined) {
|
|
34888
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34889
|
+
}
|
|
34890
|
+
|
|
34891
|
+
if (page !== undefined) {
|
|
34892
|
+
localVarQueryParameter['page'] = page;
|
|
34893
|
+
}
|
|
34894
|
+
|
|
34895
|
+
if (limit !== undefined) {
|
|
34896
|
+
localVarQueryParameter['limit'] = limit;
|
|
34897
|
+
}
|
|
34898
|
+
|
|
34899
|
+
if (lastRetrieved !== undefined) {
|
|
34900
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34901
|
+
(lastRetrieved as any).toISOString() :
|
|
34902
|
+
lastRetrieved;
|
|
34903
|
+
}
|
|
34904
|
+
|
|
34905
|
+
|
|
34906
|
+
|
|
34907
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34908
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34909
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34910
|
+
|
|
34911
|
+
return {
|
|
34912
|
+
url: toPathString(localVarUrlObj),
|
|
34913
|
+
options: localVarRequestOptions,
|
|
34914
|
+
};
|
|
34915
|
+
},
|
|
34916
|
+
/**
|
|
34917
|
+
*
|
|
34918
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
34919
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
34920
|
+
* @param {*} [options] Override http request option.
|
|
34921
|
+
* @throws {RequiredError}
|
|
34922
|
+
*/
|
|
34923
|
+
apiV1SearchDoctorsPost: async (updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34924
|
+
const localVarPath = `/api/v1/search/doctors`;
|
|
34925
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34926
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34927
|
+
let baseOptions;
|
|
34928
|
+
if (configuration) {
|
|
34929
|
+
baseOptions = configuration.baseOptions;
|
|
34930
|
+
}
|
|
34931
|
+
|
|
34932
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34933
|
+
const localVarHeaderParameter = {} as any;
|
|
34934
|
+
const localVarQueryParameter = {} as any;
|
|
34935
|
+
|
|
34936
|
+
// authentication oauth2 required
|
|
34937
|
+
// oauth required
|
|
34938
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34939
|
+
|
|
34940
|
+
|
|
34941
|
+
|
|
34942
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34943
|
+
|
|
34944
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34945
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34946
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34947
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
34948
|
+
|
|
34949
|
+
return {
|
|
34950
|
+
url: toPathString(localVarUrlObj),
|
|
34951
|
+
options: localVarRequestOptions,
|
|
34952
|
+
};
|
|
34953
|
+
},
|
|
34954
|
+
/**
|
|
34955
|
+
*
|
|
34956
|
+
* @summary Get the number of items in each search index
|
|
34957
|
+
* @param {string} [searchTerm]
|
|
34958
|
+
* @param {boolean} [countOnly]
|
|
34959
|
+
* @param {string} [countryId]
|
|
34960
|
+
* @param {string} [hospitalId]
|
|
34961
|
+
* @param {MarketingType} [marketingType]
|
|
34962
|
+
* @param {string} [languageCode]
|
|
34963
|
+
* @param {number} [page]
|
|
34964
|
+
* @param {number} [limit]
|
|
34965
|
+
* @param {Date} [lastRetrieved]
|
|
34966
|
+
* @param {*} [options] Override http request option.
|
|
34967
|
+
* @throws {RequiredError}
|
|
34968
|
+
*/
|
|
34969
|
+
apiV1SearchGetcountGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34970
|
+
const localVarPath = `/api/v1/search/getcount`;
|
|
34971
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34972
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34973
|
+
let baseOptions;
|
|
34974
|
+
if (configuration) {
|
|
34975
|
+
baseOptions = configuration.baseOptions;
|
|
34976
|
+
}
|
|
34977
|
+
|
|
34978
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34979
|
+
const localVarHeaderParameter = {} as any;
|
|
34980
|
+
const localVarQueryParameter = {} as any;
|
|
34981
|
+
|
|
34982
|
+
// authentication oauth2 required
|
|
34983
|
+
// oauth required
|
|
34984
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34985
|
+
|
|
34986
|
+
if (searchTerm !== undefined) {
|
|
34987
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
34988
|
+
}
|
|
34989
|
+
|
|
34990
|
+
if (countOnly !== undefined) {
|
|
34991
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
34992
|
+
}
|
|
34993
|
+
|
|
34994
|
+
if (countryId !== undefined) {
|
|
34995
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
34996
|
+
}
|
|
34997
|
+
|
|
34998
|
+
if (hospitalId !== undefined) {
|
|
34999
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
35000
|
+
}
|
|
35001
|
+
|
|
35002
|
+
if (marketingType !== undefined) {
|
|
35003
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
35004
|
+
}
|
|
35005
|
+
|
|
35006
|
+
if (languageCode !== undefined) {
|
|
35007
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
35008
|
+
}
|
|
35009
|
+
|
|
35010
|
+
if (page !== undefined) {
|
|
35011
|
+
localVarQueryParameter['page'] = page;
|
|
35012
|
+
}
|
|
35013
|
+
|
|
35014
|
+
if (limit !== undefined) {
|
|
35015
|
+
localVarQueryParameter['limit'] = limit;
|
|
35016
|
+
}
|
|
35017
|
+
|
|
35018
|
+
if (lastRetrieved !== undefined) {
|
|
35019
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
35020
|
+
(lastRetrieved as any).toISOString() :
|
|
35021
|
+
lastRetrieved;
|
|
35022
|
+
}
|
|
35023
|
+
|
|
35024
|
+
|
|
35025
|
+
|
|
35026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35028
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35029
|
+
|
|
35030
|
+
return {
|
|
35031
|
+
url: toPathString(localVarUrlObj),
|
|
35032
|
+
options: localVarRequestOptions,
|
|
35033
|
+
};
|
|
35034
|
+
},
|
|
35035
|
+
/**
|
|
35036
|
+
*
|
|
35037
|
+
* @summary Search hospitals using Azure Search Services
|
|
35038
|
+
* @param {string} [searchTerm]
|
|
35039
|
+
* @param {boolean} [countOnly]
|
|
35040
|
+
* @param {string} [countryId]
|
|
35041
|
+
* @param {string} [hospitalId]
|
|
35042
|
+
* @param {MarketingType} [marketingType]
|
|
35043
|
+
* @param {string} [languageCode]
|
|
35044
|
+
* @param {number} [page]
|
|
35045
|
+
* @param {number} [limit]
|
|
35046
|
+
* @param {Date} [lastRetrieved]
|
|
35047
|
+
* @param {*} [options] Override http request option.
|
|
35048
|
+
* @throws {RequiredError}
|
|
35049
|
+
*/
|
|
35050
|
+
apiV1SearchHospitalsGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35051
|
+
const localVarPath = `/api/v1/search/hospitals`;
|
|
35052
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35054
|
+
let baseOptions;
|
|
35055
|
+
if (configuration) {
|
|
35056
|
+
baseOptions = configuration.baseOptions;
|
|
35057
|
+
}
|
|
35058
|
+
|
|
35059
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35060
|
+
const localVarHeaderParameter = {} as any;
|
|
35061
|
+
const localVarQueryParameter = {} as any;
|
|
35062
|
+
|
|
35063
|
+
// authentication oauth2 required
|
|
35064
|
+
// oauth required
|
|
35065
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35066
|
+
|
|
35067
|
+
if (searchTerm !== undefined) {
|
|
35068
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
35069
|
+
}
|
|
35070
|
+
|
|
35071
|
+
if (countOnly !== undefined) {
|
|
35072
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
35073
|
+
}
|
|
35074
|
+
|
|
35075
|
+
if (countryId !== undefined) {
|
|
35076
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
35077
|
+
}
|
|
35078
|
+
|
|
35079
|
+
if (hospitalId !== undefined) {
|
|
35080
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
35081
|
+
}
|
|
35082
|
+
|
|
35083
|
+
if (marketingType !== undefined) {
|
|
35084
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
35085
|
+
}
|
|
35086
|
+
|
|
35087
|
+
if (languageCode !== undefined) {
|
|
35088
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
35089
|
+
}
|
|
35090
|
+
|
|
35091
|
+
if (page !== undefined) {
|
|
35092
|
+
localVarQueryParameter['page'] = page;
|
|
35093
|
+
}
|
|
35094
|
+
|
|
35095
|
+
if (limit !== undefined) {
|
|
35096
|
+
localVarQueryParameter['limit'] = limit;
|
|
35097
|
+
}
|
|
35098
|
+
|
|
35099
|
+
if (lastRetrieved !== undefined) {
|
|
35100
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
35101
|
+
(lastRetrieved as any).toISOString() :
|
|
35102
|
+
lastRetrieved;
|
|
35103
|
+
}
|
|
35104
|
+
|
|
35105
|
+
|
|
35106
|
+
|
|
35107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35110
|
+
|
|
35111
|
+
return {
|
|
35112
|
+
url: toPathString(localVarUrlObj),
|
|
35113
|
+
options: localVarRequestOptions,
|
|
35114
|
+
};
|
|
35115
|
+
},
|
|
35116
|
+
/**
|
|
35117
|
+
*
|
|
35118
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
35119
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
35120
|
+
* @param {*} [options] Override http request option.
|
|
35121
|
+
* @throws {RequiredError}
|
|
35122
|
+
*/
|
|
35123
|
+
apiV1SearchHospitalsPost: async (updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35124
|
+
const localVarPath = `/api/v1/search/hospitals`;
|
|
35125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35127
|
+
let baseOptions;
|
|
35128
|
+
if (configuration) {
|
|
35129
|
+
baseOptions = configuration.baseOptions;
|
|
35130
|
+
}
|
|
35131
|
+
|
|
35132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35133
|
+
const localVarHeaderParameter = {} as any;
|
|
35134
|
+
const localVarQueryParameter = {} as any;
|
|
35135
|
+
|
|
35136
|
+
// authentication oauth2 required
|
|
35137
|
+
// oauth required
|
|
35138
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35139
|
+
|
|
35140
|
+
|
|
35141
|
+
|
|
35142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35143
|
+
|
|
35144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35146
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35147
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration)
|
|
35148
|
+
|
|
35149
|
+
return {
|
|
35150
|
+
url: toPathString(localVarUrlObj),
|
|
35151
|
+
options: localVarRequestOptions,
|
|
35152
|
+
};
|
|
35153
|
+
},
|
|
35154
|
+
/**
|
|
35155
|
+
*
|
|
35156
|
+
* @summary Search specialties using Azure Search Service
|
|
35157
|
+
* @param {string} [searchTerm]
|
|
35158
|
+
* @param {boolean} [countOnly]
|
|
35159
|
+
* @param {string} [countryId]
|
|
35160
|
+
* @param {string} [hospitalId]
|
|
35161
|
+
* @param {MarketingType} [marketingType]
|
|
35162
|
+
* @param {string} [languageCode]
|
|
35163
|
+
* @param {number} [page]
|
|
35164
|
+
* @param {number} [limit]
|
|
35165
|
+
* @param {Date} [lastRetrieved]
|
|
35166
|
+
* @param {*} [options] Override http request option.
|
|
35167
|
+
* @throws {RequiredError}
|
|
35168
|
+
*/
|
|
35169
|
+
apiV1SearchSpecialtiesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35170
|
+
const localVarPath = `/api/v1/search/specialties`;
|
|
35171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35173
|
+
let baseOptions;
|
|
35174
|
+
if (configuration) {
|
|
35175
|
+
baseOptions = configuration.baseOptions;
|
|
35176
|
+
}
|
|
35177
|
+
|
|
35178
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35179
|
+
const localVarHeaderParameter = {} as any;
|
|
35180
|
+
const localVarQueryParameter = {} as any;
|
|
35181
|
+
|
|
35182
|
+
// authentication oauth2 required
|
|
35183
|
+
// oauth required
|
|
35184
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35185
|
+
|
|
35186
|
+
if (searchTerm !== undefined) {
|
|
35187
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
35188
|
+
}
|
|
35189
|
+
|
|
35190
|
+
if (countOnly !== undefined) {
|
|
35191
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
35192
|
+
}
|
|
35193
|
+
|
|
35194
|
+
if (countryId !== undefined) {
|
|
35195
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
35196
|
+
}
|
|
35197
|
+
|
|
35198
|
+
if (hospitalId !== undefined) {
|
|
35199
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
35200
|
+
}
|
|
35201
|
+
|
|
35202
|
+
if (marketingType !== undefined) {
|
|
35203
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
35204
|
+
}
|
|
35205
|
+
|
|
35206
|
+
if (languageCode !== undefined) {
|
|
35207
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
35208
|
+
}
|
|
35209
|
+
|
|
35210
|
+
if (page !== undefined) {
|
|
35211
|
+
localVarQueryParameter['page'] = page;
|
|
35212
|
+
}
|
|
35213
|
+
|
|
35214
|
+
if (limit !== undefined) {
|
|
35215
|
+
localVarQueryParameter['limit'] = limit;
|
|
35216
|
+
}
|
|
35217
|
+
|
|
35218
|
+
if (lastRetrieved !== undefined) {
|
|
35219
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
35220
|
+
(lastRetrieved as any).toISOString() :
|
|
35221
|
+
lastRetrieved;
|
|
35222
|
+
}
|
|
35223
|
+
|
|
35224
|
+
|
|
35225
|
+
|
|
35226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35228
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35229
|
+
|
|
35230
|
+
return {
|
|
35231
|
+
url: toPathString(localVarUrlObj),
|
|
35232
|
+
options: localVarRequestOptions,
|
|
35233
|
+
};
|
|
35234
|
+
},
|
|
35235
|
+
/**
|
|
35236
|
+
*
|
|
35237
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
35238
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
35239
|
+
* @param {*} [options] Override http request option.
|
|
35240
|
+
* @throws {RequiredError}
|
|
35241
|
+
*/
|
|
35242
|
+
apiV1SearchSpecialtiesPost: async (updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35243
|
+
const localVarPath = `/api/v1/search/specialties`;
|
|
35244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35246
|
+
let baseOptions;
|
|
35247
|
+
if (configuration) {
|
|
35248
|
+
baseOptions = configuration.baseOptions;
|
|
35249
|
+
}
|
|
35250
|
+
|
|
35251
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35252
|
+
const localVarHeaderParameter = {} as any;
|
|
35253
|
+
const localVarQueryParameter = {} as any;
|
|
35254
|
+
|
|
35255
|
+
// authentication oauth2 required
|
|
35256
|
+
// oauth required
|
|
35257
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35258
|
+
|
|
35259
|
+
|
|
35260
|
+
|
|
35261
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35262
|
+
|
|
35263
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35265
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35266
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
35267
|
+
|
|
35268
|
+
return {
|
|
35269
|
+
url: toPathString(localVarUrlObj),
|
|
35270
|
+
options: localVarRequestOptions,
|
|
35271
|
+
};
|
|
35272
|
+
},
|
|
35273
|
+
/**
|
|
35274
|
+
*
|
|
35275
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
35276
|
+
* @param {string} [searchTerm]
|
|
35277
|
+
* @param {boolean} [countOnly]
|
|
35278
|
+
* @param {string} [countryId]
|
|
35279
|
+
* @param {string} [hospitalId]
|
|
35280
|
+
* @param {MarketingType} [marketingType]
|
|
35281
|
+
* @param {string} [languageCode]
|
|
35282
|
+
* @param {number} [page]
|
|
35283
|
+
* @param {number} [limit]
|
|
35284
|
+
* @param {Date} [lastRetrieved]
|
|
35285
|
+
* @param {*} [options] Override http request option.
|
|
35286
|
+
* @throws {RequiredError}
|
|
35287
|
+
*/
|
|
35288
|
+
apiV1SearchSpecialtytypesGet: async (searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35289
|
+
const localVarPath = `/api/v1/search/specialtytypes`;
|
|
35290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35291
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35292
|
+
let baseOptions;
|
|
35293
|
+
if (configuration) {
|
|
35294
|
+
baseOptions = configuration.baseOptions;
|
|
35295
|
+
}
|
|
35296
|
+
|
|
35297
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35298
|
+
const localVarHeaderParameter = {} as any;
|
|
35299
|
+
const localVarQueryParameter = {} as any;
|
|
35300
|
+
|
|
35301
|
+
// authentication oauth2 required
|
|
35302
|
+
// oauth required
|
|
35303
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35304
|
+
|
|
35305
|
+
if (searchTerm !== undefined) {
|
|
35306
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
35307
|
+
}
|
|
35308
|
+
|
|
35309
|
+
if (countOnly !== undefined) {
|
|
35310
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
35311
|
+
}
|
|
35312
|
+
|
|
35313
|
+
if (countryId !== undefined) {
|
|
35314
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
35315
|
+
}
|
|
35316
|
+
|
|
35317
|
+
if (hospitalId !== undefined) {
|
|
35318
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
35319
|
+
}
|
|
35320
|
+
|
|
35321
|
+
if (marketingType !== undefined) {
|
|
35322
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
35323
|
+
}
|
|
35324
|
+
|
|
35325
|
+
if (languageCode !== undefined) {
|
|
35326
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
35327
|
+
}
|
|
35328
|
+
|
|
35329
|
+
if (page !== undefined) {
|
|
35330
|
+
localVarQueryParameter['page'] = page;
|
|
35331
|
+
}
|
|
35332
|
+
|
|
35333
|
+
if (limit !== undefined) {
|
|
35334
|
+
localVarQueryParameter['limit'] = limit;
|
|
35335
|
+
}
|
|
35336
|
+
|
|
35337
|
+
if (lastRetrieved !== undefined) {
|
|
35338
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
35339
|
+
(lastRetrieved as any).toISOString() :
|
|
35340
|
+
lastRetrieved;
|
|
35341
|
+
}
|
|
35342
|
+
|
|
35343
|
+
|
|
35344
|
+
|
|
35345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35347
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35348
|
+
|
|
35349
|
+
return {
|
|
35350
|
+
url: toPathString(localVarUrlObj),
|
|
35351
|
+
options: localVarRequestOptions,
|
|
35352
|
+
};
|
|
35353
|
+
},
|
|
35354
|
+
/**
|
|
35355
|
+
*
|
|
35356
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
35357
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
35358
|
+
* @param {*} [options] Override http request option.
|
|
35359
|
+
* @throws {RequiredError}
|
|
35360
|
+
*/
|
|
35361
|
+
apiV1SearchSpecialtytypesPost: async (updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35362
|
+
const localVarPath = `/api/v1/search/specialtytypes`;
|
|
35363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35365
|
+
let baseOptions;
|
|
35366
|
+
if (configuration) {
|
|
35367
|
+
baseOptions = configuration.baseOptions;
|
|
35368
|
+
}
|
|
35369
|
+
|
|
35370
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35371
|
+
const localVarHeaderParameter = {} as any;
|
|
35372
|
+
const localVarQueryParameter = {} as any;
|
|
35373
|
+
|
|
35374
|
+
// authentication oauth2 required
|
|
35375
|
+
// oauth required
|
|
35376
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
35377
|
+
|
|
35378
|
+
|
|
35379
|
+
|
|
35380
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35381
|
+
|
|
35382
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35383
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35384
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35385
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration)
|
|
35386
|
+
|
|
35387
|
+
return {
|
|
35388
|
+
url: toPathString(localVarUrlObj),
|
|
35389
|
+
options: localVarRequestOptions,
|
|
35390
|
+
};
|
|
35391
|
+
},
|
|
35392
|
+
}
|
|
35393
|
+
};
|
|
35394
|
+
|
|
35395
|
+
/**
|
|
35396
|
+
* SearchApi - functional programming interface
|
|
35397
|
+
* @export
|
|
35398
|
+
*/
|
|
35399
|
+
export const SearchApiFp = function(configuration?: Configuration) {
|
|
35400
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration)
|
|
35401
|
+
return {
|
|
35402
|
+
/**
|
|
35403
|
+
*
|
|
35404
|
+
* @summary Search deals using Azure Search Service
|
|
35405
|
+
* @param {string} [searchTerm]
|
|
35406
|
+
* @param {boolean} [countOnly]
|
|
35407
|
+
* @param {string} [countryId]
|
|
35408
|
+
* @param {string} [hospitalId]
|
|
35409
|
+
* @param {MarketingType} [marketingType]
|
|
35410
|
+
* @param {string} [languageCode]
|
|
35411
|
+
* @param {number} [page]
|
|
35412
|
+
* @param {number} [limit]
|
|
35413
|
+
* @param {Date} [lastRetrieved]
|
|
35414
|
+
* @param {*} [options] Override http request option.
|
|
35415
|
+
* @throws {RequiredError}
|
|
35416
|
+
*/
|
|
35417
|
+
async apiV1SearchDealsGet(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>> {
|
|
35418
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35419
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35420
|
+
},
|
|
35421
|
+
/**
|
|
35422
|
+
*
|
|
35423
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
35424
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
35425
|
+
* @param {*} [options] Override http request option.
|
|
35426
|
+
* @throws {RequiredError}
|
|
35427
|
+
*/
|
|
35428
|
+
async apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
35429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options);
|
|
35430
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35431
|
+
},
|
|
35432
|
+
/**
|
|
35433
|
+
*
|
|
35434
|
+
* @summary Search doctors using Azure Search Services
|
|
35435
|
+
* @param {string} [searchTerm]
|
|
35436
|
+
* @param {boolean} [countOnly]
|
|
35437
|
+
* @param {string} [countryId]
|
|
35438
|
+
* @param {string} [hospitalId]
|
|
35439
|
+
* @param {MarketingType} [marketingType]
|
|
35440
|
+
* @param {string} [languageCode]
|
|
35441
|
+
* @param {number} [page]
|
|
35442
|
+
* @param {number} [limit]
|
|
35443
|
+
* @param {Date} [lastRetrieved]
|
|
35444
|
+
* @param {*} [options] Override http request option.
|
|
35445
|
+
* @throws {RequiredError}
|
|
35446
|
+
*/
|
|
35447
|
+
async apiV1SearchDoctorsGet(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>> {
|
|
35448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35449
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35450
|
+
},
|
|
35451
|
+
/**
|
|
35452
|
+
*
|
|
35453
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
35454
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
35455
|
+
* @param {*} [options] Override http request option.
|
|
35456
|
+
* @throws {RequiredError}
|
|
35457
|
+
*/
|
|
35458
|
+
async apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
35459
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options);
|
|
35460
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35461
|
+
},
|
|
35462
|
+
/**
|
|
35463
|
+
*
|
|
35464
|
+
* @summary Get the number of items in each search index
|
|
35465
|
+
* @param {string} [searchTerm]
|
|
35466
|
+
* @param {boolean} [countOnly]
|
|
35467
|
+
* @param {string} [countryId]
|
|
35468
|
+
* @param {string} [hospitalId]
|
|
35469
|
+
* @param {MarketingType} [marketingType]
|
|
35470
|
+
* @param {string} [languageCode]
|
|
35471
|
+
* @param {number} [page]
|
|
35472
|
+
* @param {number} [limit]
|
|
35473
|
+
* @param {Date} [lastRetrieved]
|
|
35474
|
+
* @param {*} [options] Override http request option.
|
|
35475
|
+
* @throws {RequiredError}
|
|
35476
|
+
*/
|
|
35477
|
+
async apiV1SearchGetcountGet(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>> {
|
|
35478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35480
|
+
},
|
|
35481
|
+
/**
|
|
35482
|
+
*
|
|
35483
|
+
* @summary Search hospitals using Azure Search Services
|
|
35484
|
+
* @param {string} [searchTerm]
|
|
35485
|
+
* @param {boolean} [countOnly]
|
|
35486
|
+
* @param {string} [countryId]
|
|
35487
|
+
* @param {string} [hospitalId]
|
|
35488
|
+
* @param {MarketingType} [marketingType]
|
|
35489
|
+
* @param {string} [languageCode]
|
|
35490
|
+
* @param {number} [page]
|
|
35491
|
+
* @param {number} [limit]
|
|
35492
|
+
* @param {Date} [lastRetrieved]
|
|
35493
|
+
* @param {*} [options] Override http request option.
|
|
35494
|
+
* @throws {RequiredError}
|
|
35495
|
+
*/
|
|
35496
|
+
async apiV1SearchHospitalsGet(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>> {
|
|
35497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35498
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35499
|
+
},
|
|
35500
|
+
/**
|
|
35501
|
+
*
|
|
35502
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
35503
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
35504
|
+
* @param {*} [options] Override http request option.
|
|
35505
|
+
* @throws {RequiredError}
|
|
35506
|
+
*/
|
|
35507
|
+
async apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
35508
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options);
|
|
35509
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35510
|
+
},
|
|
35511
|
+
/**
|
|
35512
|
+
*
|
|
35513
|
+
* @summary Search specialties using Azure Search Service
|
|
35514
|
+
* @param {string} [searchTerm]
|
|
35515
|
+
* @param {boolean} [countOnly]
|
|
35516
|
+
* @param {string} [countryId]
|
|
35517
|
+
* @param {string} [hospitalId]
|
|
35518
|
+
* @param {MarketingType} [marketingType]
|
|
35519
|
+
* @param {string} [languageCode]
|
|
35520
|
+
* @param {number} [page]
|
|
35521
|
+
* @param {number} [limit]
|
|
35522
|
+
* @param {Date} [lastRetrieved]
|
|
35523
|
+
* @param {*} [options] Override http request option.
|
|
35524
|
+
* @throws {RequiredError}
|
|
35525
|
+
*/
|
|
35526
|
+
async apiV1SearchSpecialtiesGet(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>> {
|
|
35527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35528
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35529
|
+
},
|
|
35530
|
+
/**
|
|
35531
|
+
*
|
|
35532
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
35533
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
35534
|
+
* @param {*} [options] Override http request option.
|
|
35535
|
+
* @throws {RequiredError}
|
|
35536
|
+
*/
|
|
35537
|
+
async apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
35538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options);
|
|
35539
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35540
|
+
},
|
|
35541
|
+
/**
|
|
35542
|
+
*
|
|
35543
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
35544
|
+
* @param {string} [searchTerm]
|
|
35545
|
+
* @param {boolean} [countOnly]
|
|
35546
|
+
* @param {string} [countryId]
|
|
35547
|
+
* @param {string} [hospitalId]
|
|
35548
|
+
* @param {MarketingType} [marketingType]
|
|
35549
|
+
* @param {string} [languageCode]
|
|
35550
|
+
* @param {number} [page]
|
|
35551
|
+
* @param {number} [limit]
|
|
35552
|
+
* @param {Date} [lastRetrieved]
|
|
35553
|
+
* @param {*} [options] Override http request option.
|
|
35554
|
+
* @throws {RequiredError}
|
|
35555
|
+
*/
|
|
35556
|
+
async apiV1SearchSpecialtytypesGet(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>> {
|
|
35557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options);
|
|
35558
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35559
|
+
},
|
|
35560
|
+
/**
|
|
35561
|
+
*
|
|
35562
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
35563
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
35564
|
+
* @param {*} [options] Override http request option.
|
|
35565
|
+
* @throws {RequiredError}
|
|
35566
|
+
*/
|
|
35567
|
+
async apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
35568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options);
|
|
35569
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35570
|
+
},
|
|
35571
|
+
}
|
|
35572
|
+
};
|
|
35573
|
+
|
|
35574
|
+
/**
|
|
35575
|
+
* SearchApi - factory interface
|
|
35576
|
+
* @export
|
|
35577
|
+
*/
|
|
35578
|
+
export const SearchApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35579
|
+
const localVarFp = SearchApiFp(configuration)
|
|
35580
|
+
return {
|
|
35581
|
+
/**
|
|
35582
|
+
*
|
|
35583
|
+
* @summary Search deals using Azure Search Service
|
|
35584
|
+
* @param {string} [searchTerm]
|
|
35585
|
+
* @param {boolean} [countOnly]
|
|
35586
|
+
* @param {string} [countryId]
|
|
35587
|
+
* @param {string} [hospitalId]
|
|
35588
|
+
* @param {MarketingType} [marketingType]
|
|
35589
|
+
* @param {string} [languageCode]
|
|
35590
|
+
* @param {number} [page]
|
|
35591
|
+
* @param {number} [limit]
|
|
35592
|
+
* @param {Date} [lastRetrieved]
|
|
35593
|
+
* @param {*} [options] Override http request option.
|
|
35594
|
+
* @throws {RequiredError}
|
|
35595
|
+
*/
|
|
35596
|
+
apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
35597
|
+
return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35598
|
+
},
|
|
35599
|
+
/**
|
|
35600
|
+
*
|
|
35601
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
35602
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
35603
|
+
* @param {*} [options] Override http request option.
|
|
35604
|
+
* @throws {RequiredError}
|
|
35605
|
+
*/
|
|
35606
|
+
apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
35607
|
+
return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
35608
|
+
},
|
|
35609
|
+
/**
|
|
35610
|
+
*
|
|
35611
|
+
* @summary Search doctors using Azure Search Services
|
|
35612
|
+
* @param {string} [searchTerm]
|
|
35613
|
+
* @param {boolean} [countOnly]
|
|
35614
|
+
* @param {string} [countryId]
|
|
35615
|
+
* @param {string} [hospitalId]
|
|
35616
|
+
* @param {MarketingType} [marketingType]
|
|
35617
|
+
* @param {string} [languageCode]
|
|
35618
|
+
* @param {number} [page]
|
|
35619
|
+
* @param {number} [limit]
|
|
35620
|
+
* @param {Date} [lastRetrieved]
|
|
35621
|
+
* @param {*} [options] Override http request option.
|
|
35622
|
+
* @throws {RequiredError}
|
|
35623
|
+
*/
|
|
35624
|
+
apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
|
|
35625
|
+
return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35626
|
+
},
|
|
35627
|
+
/**
|
|
35628
|
+
*
|
|
35629
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
35630
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
35631
|
+
* @param {*} [options] Override http request option.
|
|
35632
|
+
* @throws {RequiredError}
|
|
35633
|
+
*/
|
|
35634
|
+
apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
35635
|
+
return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
35636
|
+
},
|
|
35637
|
+
/**
|
|
35638
|
+
*
|
|
35639
|
+
* @summary Get the number of items in each search index
|
|
35640
|
+
* @param {string} [searchTerm]
|
|
35641
|
+
* @param {boolean} [countOnly]
|
|
35642
|
+
* @param {string} [countryId]
|
|
35643
|
+
* @param {string} [hospitalId]
|
|
35644
|
+
* @param {MarketingType} [marketingType]
|
|
35645
|
+
* @param {string} [languageCode]
|
|
35646
|
+
* @param {number} [page]
|
|
35647
|
+
* @param {number} [limit]
|
|
35648
|
+
* @param {Date} [lastRetrieved]
|
|
35649
|
+
* @param {*} [options] Override http request option.
|
|
35650
|
+
* @throws {RequiredError}
|
|
35651
|
+
*/
|
|
35652
|
+
apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AzureSearchModel> {
|
|
35653
|
+
return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35654
|
+
},
|
|
35655
|
+
/**
|
|
35656
|
+
*
|
|
35657
|
+
* @summary Search hospitals using Azure Search Services
|
|
35658
|
+
* @param {string} [searchTerm]
|
|
35659
|
+
* @param {boolean} [countOnly]
|
|
35660
|
+
* @param {string} [countryId]
|
|
35661
|
+
* @param {string} [hospitalId]
|
|
35662
|
+
* @param {MarketingType} [marketingType]
|
|
35663
|
+
* @param {string} [languageCode]
|
|
35664
|
+
* @param {number} [page]
|
|
35665
|
+
* @param {number} [limit]
|
|
35666
|
+
* @param {Date} [lastRetrieved]
|
|
35667
|
+
* @param {*} [options] Override http request option.
|
|
35668
|
+
* @throws {RequiredError}
|
|
35669
|
+
*/
|
|
35670
|
+
apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
35671
|
+
return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35672
|
+
},
|
|
35673
|
+
/**
|
|
35674
|
+
*
|
|
35675
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
35676
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
35677
|
+
* @param {*} [options] Override http request option.
|
|
35678
|
+
* @throws {RequiredError}
|
|
35679
|
+
*/
|
|
35680
|
+
apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
35681
|
+
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
35682
|
+
},
|
|
35683
|
+
/**
|
|
35684
|
+
*
|
|
35685
|
+
* @summary Search specialties using Azure Search Service
|
|
35686
|
+
* @param {string} [searchTerm]
|
|
35687
|
+
* @param {boolean} [countOnly]
|
|
35688
|
+
* @param {string} [countryId]
|
|
35689
|
+
* @param {string} [hospitalId]
|
|
35690
|
+
* @param {MarketingType} [marketingType]
|
|
35691
|
+
* @param {string} [languageCode]
|
|
35692
|
+
* @param {number} [page]
|
|
35693
|
+
* @param {number} [limit]
|
|
35694
|
+
* @param {Date} [lastRetrieved]
|
|
35695
|
+
* @param {*} [options] Override http request option.
|
|
35696
|
+
* @throws {RequiredError}
|
|
35697
|
+
*/
|
|
35698
|
+
apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
35699
|
+
return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35700
|
+
},
|
|
35701
|
+
/**
|
|
35702
|
+
*
|
|
35703
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
35704
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
35705
|
+
* @param {*} [options] Override http request option.
|
|
35706
|
+
* @throws {RequiredError}
|
|
35707
|
+
*/
|
|
35708
|
+
apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
35709
|
+
return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
35710
|
+
},
|
|
35711
|
+
/**
|
|
35712
|
+
*
|
|
35713
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
35714
|
+
* @param {string} [searchTerm]
|
|
35715
|
+
* @param {boolean} [countOnly]
|
|
35716
|
+
* @param {string} [countryId]
|
|
35717
|
+
* @param {string} [hospitalId]
|
|
35718
|
+
* @param {MarketingType} [marketingType]
|
|
35719
|
+
* @param {string} [languageCode]
|
|
35720
|
+
* @param {number} [page]
|
|
35721
|
+
* @param {number} [limit]
|
|
35722
|
+
* @param {Date} [lastRetrieved]
|
|
35723
|
+
* @param {*} [options] Override http request option.
|
|
35724
|
+
* @throws {RequiredError}
|
|
35725
|
+
*/
|
|
35726
|
+
apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesModel> {
|
|
35727
|
+
return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35728
|
+
},
|
|
35729
|
+
/**
|
|
35730
|
+
*
|
|
35731
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
35732
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
35733
|
+
* @param {*} [options] Override http request option.
|
|
35734
|
+
* @throws {RequiredError}
|
|
35735
|
+
*/
|
|
35736
|
+
apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: any): AxiosPromise<string> {
|
|
35737
|
+
return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(axios, basePath));
|
|
35738
|
+
},
|
|
35739
|
+
};
|
|
35740
|
+
};
|
|
35741
|
+
|
|
35742
|
+
/**
|
|
35743
|
+
* SearchApi - object-oriented interface
|
|
35744
|
+
* @export
|
|
35745
|
+
* @class SearchApi
|
|
35746
|
+
* @extends {BaseAPI}
|
|
35747
|
+
*/
|
|
35748
|
+
export class SearchApi extends BaseAPI {
|
|
35749
|
+
/**
|
|
35750
|
+
*
|
|
35751
|
+
* @summary Search deals using Azure Search Service
|
|
35752
|
+
* @param {string} [searchTerm]
|
|
35753
|
+
* @param {boolean} [countOnly]
|
|
35754
|
+
* @param {string} [countryId]
|
|
35755
|
+
* @param {string} [hospitalId]
|
|
35756
|
+
* @param {MarketingType} [marketingType]
|
|
35757
|
+
* @param {string} [languageCode]
|
|
35758
|
+
* @param {number} [page]
|
|
35759
|
+
* @param {number} [limit]
|
|
35760
|
+
* @param {Date} [lastRetrieved]
|
|
35761
|
+
* @param {*} [options] Override http request option.
|
|
35762
|
+
* @throws {RequiredError}
|
|
35763
|
+
* @memberof SearchApi
|
|
35764
|
+
*/
|
|
35765
|
+
public apiV1SearchDealsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35766
|
+
return SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35767
|
+
}
|
|
35768
|
+
|
|
35769
|
+
/**
|
|
35770
|
+
*
|
|
35771
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
35772
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
35773
|
+
* @param {*} [options] Override http request option.
|
|
35774
|
+
* @throws {RequiredError}
|
|
35775
|
+
* @memberof SearchApi
|
|
35776
|
+
*/
|
|
35777
|
+
public apiV1SearchDealsPost(updateDealsSearchIndexCommand?: UpdateDealsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
35778
|
+
return SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35779
|
+
}
|
|
35780
|
+
|
|
35781
|
+
/**
|
|
35782
|
+
*
|
|
35783
|
+
* @summary Search doctors using Azure Search Services
|
|
35784
|
+
* @param {string} [searchTerm]
|
|
35785
|
+
* @param {boolean} [countOnly]
|
|
35786
|
+
* @param {string} [countryId]
|
|
35787
|
+
* @param {string} [hospitalId]
|
|
35788
|
+
* @param {MarketingType} [marketingType]
|
|
35789
|
+
* @param {string} [languageCode]
|
|
35790
|
+
* @param {number} [page]
|
|
35791
|
+
* @param {number} [limit]
|
|
35792
|
+
* @param {Date} [lastRetrieved]
|
|
35793
|
+
* @param {*} [options] Override http request option.
|
|
35794
|
+
* @throws {RequiredError}
|
|
35795
|
+
* @memberof SearchApi
|
|
35796
|
+
*/
|
|
35797
|
+
public apiV1SearchDoctorsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35798
|
+
return SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35799
|
+
}
|
|
35800
|
+
|
|
35801
|
+
/**
|
|
35802
|
+
*
|
|
35803
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
35804
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
35805
|
+
* @param {*} [options] Override http request option.
|
|
35806
|
+
* @throws {RequiredError}
|
|
35807
|
+
* @memberof SearchApi
|
|
35808
|
+
*/
|
|
35809
|
+
public apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand?: UpdateDoctorsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
35810
|
+
return SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35811
|
+
}
|
|
35812
|
+
|
|
35813
|
+
/**
|
|
35814
|
+
*
|
|
35815
|
+
* @summary Get the number of items in each search index
|
|
35816
|
+
* @param {string} [searchTerm]
|
|
35817
|
+
* @param {boolean} [countOnly]
|
|
35818
|
+
* @param {string} [countryId]
|
|
35819
|
+
* @param {string} [hospitalId]
|
|
35820
|
+
* @param {MarketingType} [marketingType]
|
|
35821
|
+
* @param {string} [languageCode]
|
|
35822
|
+
* @param {number} [page]
|
|
35823
|
+
* @param {number} [limit]
|
|
35824
|
+
* @param {Date} [lastRetrieved]
|
|
35825
|
+
* @param {*} [options] Override http request option.
|
|
35826
|
+
* @throws {RequiredError}
|
|
35827
|
+
* @memberof SearchApi
|
|
35828
|
+
*/
|
|
35829
|
+
public apiV1SearchGetcountGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35830
|
+
return SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35831
|
+
}
|
|
35832
|
+
|
|
35833
|
+
/**
|
|
35834
|
+
*
|
|
35835
|
+
* @summary Search hospitals using Azure Search Services
|
|
35836
|
+
* @param {string} [searchTerm]
|
|
35837
|
+
* @param {boolean} [countOnly]
|
|
35838
|
+
* @param {string} [countryId]
|
|
35839
|
+
* @param {string} [hospitalId]
|
|
35840
|
+
* @param {MarketingType} [marketingType]
|
|
35841
|
+
* @param {string} [languageCode]
|
|
35842
|
+
* @param {number} [page]
|
|
35843
|
+
* @param {number} [limit]
|
|
35844
|
+
* @param {Date} [lastRetrieved]
|
|
35845
|
+
* @param {*} [options] Override http request option.
|
|
35846
|
+
* @throws {RequiredError}
|
|
35847
|
+
* @memberof SearchApi
|
|
35848
|
+
*/
|
|
35849
|
+
public apiV1SearchHospitalsGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35850
|
+
return SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35851
|
+
}
|
|
35852
|
+
|
|
35853
|
+
/**
|
|
35854
|
+
*
|
|
35855
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
35856
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
35857
|
+
* @param {*} [options] Override http request option.
|
|
35858
|
+
* @throws {RequiredError}
|
|
35859
|
+
* @memberof SearchApi
|
|
35860
|
+
*/
|
|
35861
|
+
public apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand?: UpdateHospitalsSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
35862
|
+
return SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35863
|
+
}
|
|
35864
|
+
|
|
35865
|
+
/**
|
|
35866
|
+
*
|
|
35867
|
+
* @summary Search specialties using Azure Search Service
|
|
35868
|
+
* @param {string} [searchTerm]
|
|
35869
|
+
* @param {boolean} [countOnly]
|
|
35870
|
+
* @param {string} [countryId]
|
|
35871
|
+
* @param {string} [hospitalId]
|
|
35872
|
+
* @param {MarketingType} [marketingType]
|
|
35873
|
+
* @param {string} [languageCode]
|
|
35874
|
+
* @param {number} [page]
|
|
35875
|
+
* @param {number} [limit]
|
|
35876
|
+
* @param {Date} [lastRetrieved]
|
|
35877
|
+
* @param {*} [options] Override http request option.
|
|
35878
|
+
* @throws {RequiredError}
|
|
35879
|
+
* @memberof SearchApi
|
|
35880
|
+
*/
|
|
35881
|
+
public apiV1SearchSpecialtiesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35882
|
+
return SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35883
|
+
}
|
|
35884
|
+
|
|
35885
|
+
/**
|
|
35886
|
+
*
|
|
35887
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
35888
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
35889
|
+
* @param {*} [options] Override http request option.
|
|
35890
|
+
* @throws {RequiredError}
|
|
35891
|
+
* @memberof SearchApi
|
|
35892
|
+
*/
|
|
35893
|
+
public apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand?: UpdateSpecialtiesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
35894
|
+
return SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35895
|
+
}
|
|
35896
|
+
|
|
35897
|
+
/**
|
|
35898
|
+
*
|
|
35899
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
35900
|
+
* @param {string} [searchTerm]
|
|
35901
|
+
* @param {boolean} [countOnly]
|
|
35902
|
+
* @param {string} [countryId]
|
|
35903
|
+
* @param {string} [hospitalId]
|
|
35904
|
+
* @param {MarketingType} [marketingType]
|
|
35905
|
+
* @param {string} [languageCode]
|
|
35906
|
+
* @param {number} [page]
|
|
35907
|
+
* @param {number} [limit]
|
|
35908
|
+
* @param {Date} [lastRetrieved]
|
|
35909
|
+
* @param {*} [options] Override http request option.
|
|
35910
|
+
* @throws {RequiredError}
|
|
35911
|
+
* @memberof SearchApi
|
|
35912
|
+
*/
|
|
35913
|
+
public apiV1SearchSpecialtytypesGet(searchTerm?: string, countOnly?: boolean, countryId?: string, hospitalId?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35914
|
+
return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35915
|
+
}
|
|
35916
|
+
|
|
35917
|
+
/**
|
|
35918
|
+
*
|
|
35919
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
35920
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
35921
|
+
* @param {*} [options] Override http request option.
|
|
35922
|
+
* @throws {RequiredError}
|
|
35923
|
+
* @memberof SearchApi
|
|
35924
|
+
*/
|
|
35925
|
+
public apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand?: UpdateSpecialtyTypesSearchIndexCommand, options?: AxiosRequestConfig) {
|
|
35926
|
+
return SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then((request) => request(this.axios, this.basePath));
|
|
35927
|
+
}
|
|
35928
|
+
}
|
|
35929
|
+
|
|
35930
|
+
|
|
34570
35931
|
/**
|
|
34571
35932
|
* ServiceReviewsApi - axios parameter creator
|
|
34572
35933
|
* @export
|