ch-admin-api-client-typescript 2.7.2 → 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 +729 -8
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1348 -15
- package/package.json +1 -1
- package/src/api.ts +1577 -208
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -12319,6 +12319,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12319
12319
|
* @param {string} [hospitalId]
|
|
12320
12320
|
* @param {string} [languageCode]
|
|
12321
12321
|
* @param {boolean} [returnDefaultValue]
|
|
12322
|
+
* @param {Array<string>} [ids]
|
|
12322
12323
|
* @param {string} [id]
|
|
12323
12324
|
* @param {string} [fullname]
|
|
12324
12325
|
* @param {string} [email]
|
|
@@ -12332,7 +12333,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12332
12333
|
* @param {*} [options] Override http request option.
|
|
12333
12334
|
* @throws {RequiredError}
|
|
12334
12335
|
*/
|
|
12335
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12336
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12336
12337
|
if (options === void 0) { options = {}; }
|
|
12337
12338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12338
12339
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12363,6 +12364,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12363
12364
|
if (returnDefaultValue !== undefined) {
|
|
12364
12365
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12365
12366
|
}
|
|
12367
|
+
if (ids) {
|
|
12368
|
+
localVarQueryParameter['Ids'] = ids;
|
|
12369
|
+
}
|
|
12366
12370
|
if (id !== undefined) {
|
|
12367
12371
|
localVarQueryParameter['Id'] = id;
|
|
12368
12372
|
}
|
|
@@ -13223,6 +13227,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13223
13227
|
* @param {string} [hospitalId]
|
|
13224
13228
|
* @param {string} [languageCode]
|
|
13225
13229
|
* @param {boolean} [returnDefaultValue]
|
|
13230
|
+
* @param {Array<string>} [ids]
|
|
13226
13231
|
* @param {string} [id]
|
|
13227
13232
|
* @param {string} [fullname]
|
|
13228
13233
|
* @param {string} [email]
|
|
@@ -13236,12 +13241,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13236
13241
|
* @param {*} [options] Override http request option.
|
|
13237
13242
|
* @throws {RequiredError}
|
|
13238
13243
|
*/
|
|
13239
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13244
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13240
13245
|
return __awaiter(this, void 0, void 0, function () {
|
|
13241
13246
|
var localVarAxiosArgs;
|
|
13242
13247
|
return __generator(this, function (_a) {
|
|
13243
13248
|
switch (_a.label) {
|
|
13244
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13245
13250
|
case 1:
|
|
13246
13251
|
localVarAxiosArgs = _a.sent();
|
|
13247
13252
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13691,6 +13696,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13691
13696
|
* @param {string} [hospitalId]
|
|
13692
13697
|
* @param {string} [languageCode]
|
|
13693
13698
|
* @param {boolean} [returnDefaultValue]
|
|
13699
|
+
* @param {Array<string>} [ids]
|
|
13694
13700
|
* @param {string} [id]
|
|
13695
13701
|
* @param {string} [fullname]
|
|
13696
13702
|
* @param {string} [email]
|
|
@@ -13704,8 +13710,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13704
13710
|
* @param {*} [options] Override http request option.
|
|
13705
13711
|
* @throws {RequiredError}
|
|
13706
13712
|
*/
|
|
13707
|
-
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13708
|
-
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13713
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13714
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13709
13715
|
},
|
|
13710
13716
|
/**
|
|
13711
13717
|
*
|
|
@@ -14197,6 +14203,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14197
14203
|
* @param {string} [hospitalId]
|
|
14198
14204
|
* @param {string} [languageCode]
|
|
14199
14205
|
* @param {boolean} [returnDefaultValue]
|
|
14206
|
+
* @param {Array<string>} [ids]
|
|
14200
14207
|
* @param {string} [id]
|
|
14201
14208
|
* @param {string} [fullname]
|
|
14202
14209
|
* @param {string} [email]
|
|
@@ -14211,9 +14218,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14211
14218
|
* @throws {RequiredError}
|
|
14212
14219
|
* @memberof DoctorsApi
|
|
14213
14220
|
*/
|
|
14214
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14221
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14215
14222
|
var _this = this;
|
|
14216
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14223
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14217
14224
|
};
|
|
14218
14225
|
/**
|
|
14219
14226
|
*
|
|
@@ -17524,13 +17531,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17524
17531
|
* @param {string} [hospitalName]
|
|
17525
17532
|
* @param {string} [description]
|
|
17526
17533
|
* @param {Date} [created]
|
|
17534
|
+
* @param {boolean} [showHidden]
|
|
17527
17535
|
* @param {number} [page]
|
|
17528
17536
|
* @param {number} [limit]
|
|
17529
17537
|
* @param {Date} [lastRetrieved]
|
|
17530
17538
|
* @param {*} [options] Override http request option.
|
|
17531
17539
|
* @throws {RequiredError}
|
|
17532
17540
|
*/
|
|
17533
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
17541
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
17534
17542
|
if (options === void 0) { options = {}; }
|
|
17535
17543
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17536
17544
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17575,6 +17583,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17575
17583
|
created.toISOString() :
|
|
17576
17584
|
created;
|
|
17577
17585
|
}
|
|
17586
|
+
if (showHidden !== undefined) {
|
|
17587
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17588
|
+
}
|
|
17578
17589
|
if (page !== undefined) {
|
|
17579
17590
|
localVarQueryParameter['page'] = page;
|
|
17580
17591
|
}
|
|
@@ -19674,18 +19685,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19674
19685
|
* @param {string} [hospitalName]
|
|
19675
19686
|
* @param {string} [description]
|
|
19676
19687
|
* @param {Date} [created]
|
|
19688
|
+
* @param {boolean} [showHidden]
|
|
19677
19689
|
* @param {number} [page]
|
|
19678
19690
|
* @param {number} [limit]
|
|
19679
19691
|
* @param {Date} [lastRetrieved]
|
|
19680
19692
|
* @param {*} [options] Override http request option.
|
|
19681
19693
|
* @throws {RequiredError}
|
|
19682
19694
|
*/
|
|
19683
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
19695
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
19684
19696
|
return __awaiter(this, void 0, void 0, function () {
|
|
19685
19697
|
var localVarAxiosArgs;
|
|
19686
19698
|
return __generator(this, function (_a) {
|
|
19687
19699
|
switch (_a.label) {
|
|
19688
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options)];
|
|
19700
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options)];
|
|
19689
19701
|
case 1:
|
|
19690
19702
|
localVarAxiosArgs = _a.sent();
|
|
19691
19703
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20609,14 +20621,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20609
20621
|
* @param {string} [hospitalName]
|
|
20610
20622
|
* @param {string} [description]
|
|
20611
20623
|
* @param {Date} [created]
|
|
20624
|
+
* @param {boolean} [showHidden]
|
|
20612
20625
|
* @param {number} [page]
|
|
20613
20626
|
* @param {number} [limit]
|
|
20614
20627
|
* @param {Date} [lastRetrieved]
|
|
20615
20628
|
* @param {*} [options] Override http request option.
|
|
20616
20629
|
* @throws {RequiredError}
|
|
20617
20630
|
*/
|
|
20618
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
20619
|
-
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20631
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
20632
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20620
20633
|
},
|
|
20621
20634
|
/**
|
|
20622
20635
|
*
|
|
@@ -21268,6 +21281,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21268
21281
|
* @param {string} [hospitalName]
|
|
21269
21282
|
* @param {string} [description]
|
|
21270
21283
|
* @param {Date} [created]
|
|
21284
|
+
* @param {boolean} [showHidden]
|
|
21271
21285
|
* @param {number} [page]
|
|
21272
21286
|
* @param {number} [limit]
|
|
21273
21287
|
* @param {Date} [lastRetrieved]
|
|
@@ -21275,9 +21289,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21275
21289
|
* @throws {RequiredError}
|
|
21276
21290
|
* @memberof HospitalsApi
|
|
21277
21291
|
*/
|
|
21278
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsGet = function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
21292
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsGet = function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
21279
21293
|
var _this = this;
|
|
21280
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21294
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21281
21295
|
};
|
|
21282
21296
|
/**
|
|
21283
21297
|
*
|
|
@@ -25995,6 +26009,1325 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
25995
26009
|
return ProfilesApi;
|
|
25996
26010
|
}(base_1.BaseAPI));
|
|
25997
26011
|
exports.ProfilesApi = ProfilesApi;
|
|
26012
|
+
/**
|
|
26013
|
+
* SearchApi - axios parameter creator
|
|
26014
|
+
* @export
|
|
26015
|
+
*/
|
|
26016
|
+
exports.SearchApiAxiosParamCreator = function (configuration) {
|
|
26017
|
+
var _this = this;
|
|
26018
|
+
return {
|
|
26019
|
+
/**
|
|
26020
|
+
*
|
|
26021
|
+
* @summary Search deals using Azure Search Service
|
|
26022
|
+
* @param {string} [searchTerm]
|
|
26023
|
+
* @param {boolean} [countOnly]
|
|
26024
|
+
* @param {string} [countryId]
|
|
26025
|
+
* @param {string} [hospitalId]
|
|
26026
|
+
* @param {MarketingType} [marketingType]
|
|
26027
|
+
* @param {string} [languageCode]
|
|
26028
|
+
* @param {number} [page]
|
|
26029
|
+
* @param {number} [limit]
|
|
26030
|
+
* @param {Date} [lastRetrieved]
|
|
26031
|
+
* @param {*} [options] Override http request option.
|
|
26032
|
+
* @throws {RequiredError}
|
|
26033
|
+
*/
|
|
26034
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26035
|
+
if (options === void 0) { options = {}; }
|
|
26036
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26037
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26038
|
+
return __generator(this, function (_a) {
|
|
26039
|
+
switch (_a.label) {
|
|
26040
|
+
case 0:
|
|
26041
|
+
localVarPath = "/api/v1/search/deals";
|
|
26042
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26043
|
+
if (configuration) {
|
|
26044
|
+
baseOptions = configuration.baseOptions;
|
|
26045
|
+
}
|
|
26046
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26047
|
+
localVarHeaderParameter = {};
|
|
26048
|
+
localVarQueryParameter = {};
|
|
26049
|
+
// authentication oauth2 required
|
|
26050
|
+
// oauth required
|
|
26051
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26052
|
+
case 1:
|
|
26053
|
+
// authentication oauth2 required
|
|
26054
|
+
// oauth required
|
|
26055
|
+
_a.sent();
|
|
26056
|
+
if (searchTerm !== undefined) {
|
|
26057
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26058
|
+
}
|
|
26059
|
+
if (countOnly !== undefined) {
|
|
26060
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26061
|
+
}
|
|
26062
|
+
if (countryId !== undefined) {
|
|
26063
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26064
|
+
}
|
|
26065
|
+
if (hospitalId !== undefined) {
|
|
26066
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26067
|
+
}
|
|
26068
|
+
if (marketingType !== undefined) {
|
|
26069
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26070
|
+
}
|
|
26071
|
+
if (languageCode !== undefined) {
|
|
26072
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26073
|
+
}
|
|
26074
|
+
if (page !== undefined) {
|
|
26075
|
+
localVarQueryParameter['page'] = page;
|
|
26076
|
+
}
|
|
26077
|
+
if (limit !== undefined) {
|
|
26078
|
+
localVarQueryParameter['limit'] = limit;
|
|
26079
|
+
}
|
|
26080
|
+
if (lastRetrieved !== undefined) {
|
|
26081
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26082
|
+
lastRetrieved.toISOString() :
|
|
26083
|
+
lastRetrieved;
|
|
26084
|
+
}
|
|
26085
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26086
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26087
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26088
|
+
return [2 /*return*/, {
|
|
26089
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26090
|
+
options: localVarRequestOptions,
|
|
26091
|
+
}];
|
|
26092
|
+
}
|
|
26093
|
+
});
|
|
26094
|
+
});
|
|
26095
|
+
},
|
|
26096
|
+
/**
|
|
26097
|
+
*
|
|
26098
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
26099
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
26100
|
+
* @param {*} [options] Override http request option.
|
|
26101
|
+
* @throws {RequiredError}
|
|
26102
|
+
*/
|
|
26103
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
26104
|
+
if (options === void 0) { options = {}; }
|
|
26105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26106
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26107
|
+
return __generator(this, function (_a) {
|
|
26108
|
+
switch (_a.label) {
|
|
26109
|
+
case 0:
|
|
26110
|
+
localVarPath = "/api/v1/search/deals";
|
|
26111
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26112
|
+
if (configuration) {
|
|
26113
|
+
baseOptions = configuration.baseOptions;
|
|
26114
|
+
}
|
|
26115
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26116
|
+
localVarHeaderParameter = {};
|
|
26117
|
+
localVarQueryParameter = {};
|
|
26118
|
+
// authentication oauth2 required
|
|
26119
|
+
// oauth required
|
|
26120
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26121
|
+
case 1:
|
|
26122
|
+
// authentication oauth2 required
|
|
26123
|
+
// oauth required
|
|
26124
|
+
_a.sent();
|
|
26125
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26126
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26127
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26128
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26129
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26130
|
+
return [2 /*return*/, {
|
|
26131
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26132
|
+
options: localVarRequestOptions,
|
|
26133
|
+
}];
|
|
26134
|
+
}
|
|
26135
|
+
});
|
|
26136
|
+
});
|
|
26137
|
+
},
|
|
26138
|
+
/**
|
|
26139
|
+
*
|
|
26140
|
+
* @summary Search doctors using Azure Search Services
|
|
26141
|
+
* @param {string} [searchTerm]
|
|
26142
|
+
* @param {boolean} [countOnly]
|
|
26143
|
+
* @param {string} [countryId]
|
|
26144
|
+
* @param {string} [hospitalId]
|
|
26145
|
+
* @param {MarketingType} [marketingType]
|
|
26146
|
+
* @param {string} [languageCode]
|
|
26147
|
+
* @param {number} [page]
|
|
26148
|
+
* @param {number} [limit]
|
|
26149
|
+
* @param {Date} [lastRetrieved]
|
|
26150
|
+
* @param {*} [options] Override http request option.
|
|
26151
|
+
* @throws {RequiredError}
|
|
26152
|
+
*/
|
|
26153
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26154
|
+
if (options === void 0) { options = {}; }
|
|
26155
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26156
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26157
|
+
return __generator(this, function (_a) {
|
|
26158
|
+
switch (_a.label) {
|
|
26159
|
+
case 0:
|
|
26160
|
+
localVarPath = "/api/v1/search/doctors";
|
|
26161
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26162
|
+
if (configuration) {
|
|
26163
|
+
baseOptions = configuration.baseOptions;
|
|
26164
|
+
}
|
|
26165
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26166
|
+
localVarHeaderParameter = {};
|
|
26167
|
+
localVarQueryParameter = {};
|
|
26168
|
+
// authentication oauth2 required
|
|
26169
|
+
// oauth required
|
|
26170
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26171
|
+
case 1:
|
|
26172
|
+
// authentication oauth2 required
|
|
26173
|
+
// oauth required
|
|
26174
|
+
_a.sent();
|
|
26175
|
+
if (searchTerm !== undefined) {
|
|
26176
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26177
|
+
}
|
|
26178
|
+
if (countOnly !== undefined) {
|
|
26179
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26180
|
+
}
|
|
26181
|
+
if (countryId !== undefined) {
|
|
26182
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26183
|
+
}
|
|
26184
|
+
if (hospitalId !== undefined) {
|
|
26185
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26186
|
+
}
|
|
26187
|
+
if (marketingType !== undefined) {
|
|
26188
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26189
|
+
}
|
|
26190
|
+
if (languageCode !== undefined) {
|
|
26191
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26192
|
+
}
|
|
26193
|
+
if (page !== undefined) {
|
|
26194
|
+
localVarQueryParameter['page'] = page;
|
|
26195
|
+
}
|
|
26196
|
+
if (limit !== undefined) {
|
|
26197
|
+
localVarQueryParameter['limit'] = limit;
|
|
26198
|
+
}
|
|
26199
|
+
if (lastRetrieved !== undefined) {
|
|
26200
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26201
|
+
lastRetrieved.toISOString() :
|
|
26202
|
+
lastRetrieved;
|
|
26203
|
+
}
|
|
26204
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26205
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26206
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26207
|
+
return [2 /*return*/, {
|
|
26208
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26209
|
+
options: localVarRequestOptions,
|
|
26210
|
+
}];
|
|
26211
|
+
}
|
|
26212
|
+
});
|
|
26213
|
+
});
|
|
26214
|
+
},
|
|
26215
|
+
/**
|
|
26216
|
+
*
|
|
26217
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
26218
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
26219
|
+
* @param {*} [options] Override http request option.
|
|
26220
|
+
* @throws {RequiredError}
|
|
26221
|
+
*/
|
|
26222
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
26223
|
+
if (options === void 0) { options = {}; }
|
|
26224
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26225
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26226
|
+
return __generator(this, function (_a) {
|
|
26227
|
+
switch (_a.label) {
|
|
26228
|
+
case 0:
|
|
26229
|
+
localVarPath = "/api/v1/search/doctors";
|
|
26230
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26231
|
+
if (configuration) {
|
|
26232
|
+
baseOptions = configuration.baseOptions;
|
|
26233
|
+
}
|
|
26234
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26235
|
+
localVarHeaderParameter = {};
|
|
26236
|
+
localVarQueryParameter = {};
|
|
26237
|
+
// authentication oauth2 required
|
|
26238
|
+
// oauth required
|
|
26239
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26240
|
+
case 1:
|
|
26241
|
+
// authentication oauth2 required
|
|
26242
|
+
// oauth required
|
|
26243
|
+
_a.sent();
|
|
26244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26245
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26246
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26247
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26248
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26249
|
+
return [2 /*return*/, {
|
|
26250
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26251
|
+
options: localVarRequestOptions,
|
|
26252
|
+
}];
|
|
26253
|
+
}
|
|
26254
|
+
});
|
|
26255
|
+
});
|
|
26256
|
+
},
|
|
26257
|
+
/**
|
|
26258
|
+
*
|
|
26259
|
+
* @summary Get the number of items in each search index
|
|
26260
|
+
* @param {string} [searchTerm]
|
|
26261
|
+
* @param {boolean} [countOnly]
|
|
26262
|
+
* @param {string} [countryId]
|
|
26263
|
+
* @param {string} [hospitalId]
|
|
26264
|
+
* @param {MarketingType} [marketingType]
|
|
26265
|
+
* @param {string} [languageCode]
|
|
26266
|
+
* @param {number} [page]
|
|
26267
|
+
* @param {number} [limit]
|
|
26268
|
+
* @param {Date} [lastRetrieved]
|
|
26269
|
+
* @param {*} [options] Override http request option.
|
|
26270
|
+
* @throws {RequiredError}
|
|
26271
|
+
*/
|
|
26272
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26273
|
+
if (options === void 0) { options = {}; }
|
|
26274
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26275
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26276
|
+
return __generator(this, function (_a) {
|
|
26277
|
+
switch (_a.label) {
|
|
26278
|
+
case 0:
|
|
26279
|
+
localVarPath = "/api/v1/search/getcount";
|
|
26280
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26281
|
+
if (configuration) {
|
|
26282
|
+
baseOptions = configuration.baseOptions;
|
|
26283
|
+
}
|
|
26284
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26285
|
+
localVarHeaderParameter = {};
|
|
26286
|
+
localVarQueryParameter = {};
|
|
26287
|
+
// authentication oauth2 required
|
|
26288
|
+
// oauth required
|
|
26289
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26290
|
+
case 1:
|
|
26291
|
+
// authentication oauth2 required
|
|
26292
|
+
// oauth required
|
|
26293
|
+
_a.sent();
|
|
26294
|
+
if (searchTerm !== undefined) {
|
|
26295
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26296
|
+
}
|
|
26297
|
+
if (countOnly !== undefined) {
|
|
26298
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26299
|
+
}
|
|
26300
|
+
if (countryId !== undefined) {
|
|
26301
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26302
|
+
}
|
|
26303
|
+
if (hospitalId !== undefined) {
|
|
26304
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26305
|
+
}
|
|
26306
|
+
if (marketingType !== undefined) {
|
|
26307
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26308
|
+
}
|
|
26309
|
+
if (languageCode !== undefined) {
|
|
26310
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26311
|
+
}
|
|
26312
|
+
if (page !== undefined) {
|
|
26313
|
+
localVarQueryParameter['page'] = page;
|
|
26314
|
+
}
|
|
26315
|
+
if (limit !== undefined) {
|
|
26316
|
+
localVarQueryParameter['limit'] = limit;
|
|
26317
|
+
}
|
|
26318
|
+
if (lastRetrieved !== undefined) {
|
|
26319
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26320
|
+
lastRetrieved.toISOString() :
|
|
26321
|
+
lastRetrieved;
|
|
26322
|
+
}
|
|
26323
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26324
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26325
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26326
|
+
return [2 /*return*/, {
|
|
26327
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26328
|
+
options: localVarRequestOptions,
|
|
26329
|
+
}];
|
|
26330
|
+
}
|
|
26331
|
+
});
|
|
26332
|
+
});
|
|
26333
|
+
},
|
|
26334
|
+
/**
|
|
26335
|
+
*
|
|
26336
|
+
* @summary Search hospitals using Azure Search Services
|
|
26337
|
+
* @param {string} [searchTerm]
|
|
26338
|
+
* @param {boolean} [countOnly]
|
|
26339
|
+
* @param {string} [countryId]
|
|
26340
|
+
* @param {string} [hospitalId]
|
|
26341
|
+
* @param {MarketingType} [marketingType]
|
|
26342
|
+
* @param {string} [languageCode]
|
|
26343
|
+
* @param {number} [page]
|
|
26344
|
+
* @param {number} [limit]
|
|
26345
|
+
* @param {Date} [lastRetrieved]
|
|
26346
|
+
* @param {*} [options] Override http request option.
|
|
26347
|
+
* @throws {RequiredError}
|
|
26348
|
+
*/
|
|
26349
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26350
|
+
if (options === void 0) { options = {}; }
|
|
26351
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26352
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26353
|
+
return __generator(this, function (_a) {
|
|
26354
|
+
switch (_a.label) {
|
|
26355
|
+
case 0:
|
|
26356
|
+
localVarPath = "/api/v1/search/hospitals";
|
|
26357
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26358
|
+
if (configuration) {
|
|
26359
|
+
baseOptions = configuration.baseOptions;
|
|
26360
|
+
}
|
|
26361
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26362
|
+
localVarHeaderParameter = {};
|
|
26363
|
+
localVarQueryParameter = {};
|
|
26364
|
+
// authentication oauth2 required
|
|
26365
|
+
// oauth required
|
|
26366
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26367
|
+
case 1:
|
|
26368
|
+
// authentication oauth2 required
|
|
26369
|
+
// oauth required
|
|
26370
|
+
_a.sent();
|
|
26371
|
+
if (searchTerm !== undefined) {
|
|
26372
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26373
|
+
}
|
|
26374
|
+
if (countOnly !== undefined) {
|
|
26375
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26376
|
+
}
|
|
26377
|
+
if (countryId !== undefined) {
|
|
26378
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26379
|
+
}
|
|
26380
|
+
if (hospitalId !== undefined) {
|
|
26381
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26382
|
+
}
|
|
26383
|
+
if (marketingType !== undefined) {
|
|
26384
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26385
|
+
}
|
|
26386
|
+
if (languageCode !== undefined) {
|
|
26387
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26388
|
+
}
|
|
26389
|
+
if (page !== undefined) {
|
|
26390
|
+
localVarQueryParameter['page'] = page;
|
|
26391
|
+
}
|
|
26392
|
+
if (limit !== undefined) {
|
|
26393
|
+
localVarQueryParameter['limit'] = limit;
|
|
26394
|
+
}
|
|
26395
|
+
if (lastRetrieved !== undefined) {
|
|
26396
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26397
|
+
lastRetrieved.toISOString() :
|
|
26398
|
+
lastRetrieved;
|
|
26399
|
+
}
|
|
26400
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26401
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26402
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26403
|
+
return [2 /*return*/, {
|
|
26404
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26405
|
+
options: localVarRequestOptions,
|
|
26406
|
+
}];
|
|
26407
|
+
}
|
|
26408
|
+
});
|
|
26409
|
+
});
|
|
26410
|
+
},
|
|
26411
|
+
/**
|
|
26412
|
+
*
|
|
26413
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
26414
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
26415
|
+
* @param {*} [options] Override http request option.
|
|
26416
|
+
* @throws {RequiredError}
|
|
26417
|
+
*/
|
|
26418
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
26419
|
+
if (options === void 0) { options = {}; }
|
|
26420
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26422
|
+
return __generator(this, function (_a) {
|
|
26423
|
+
switch (_a.label) {
|
|
26424
|
+
case 0:
|
|
26425
|
+
localVarPath = "/api/v1/search/hospitals";
|
|
26426
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26427
|
+
if (configuration) {
|
|
26428
|
+
baseOptions = configuration.baseOptions;
|
|
26429
|
+
}
|
|
26430
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26431
|
+
localVarHeaderParameter = {};
|
|
26432
|
+
localVarQueryParameter = {};
|
|
26433
|
+
// authentication oauth2 required
|
|
26434
|
+
// oauth required
|
|
26435
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26436
|
+
case 1:
|
|
26437
|
+
// authentication oauth2 required
|
|
26438
|
+
// oauth required
|
|
26439
|
+
_a.sent();
|
|
26440
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26441
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26442
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26443
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26444
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26445
|
+
return [2 /*return*/, {
|
|
26446
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26447
|
+
options: localVarRequestOptions,
|
|
26448
|
+
}];
|
|
26449
|
+
}
|
|
26450
|
+
});
|
|
26451
|
+
});
|
|
26452
|
+
},
|
|
26453
|
+
/**
|
|
26454
|
+
*
|
|
26455
|
+
* @summary Search specialties using Azure Search Service
|
|
26456
|
+
* @param {string} [searchTerm]
|
|
26457
|
+
* @param {boolean} [countOnly]
|
|
26458
|
+
* @param {string} [countryId]
|
|
26459
|
+
* @param {string} [hospitalId]
|
|
26460
|
+
* @param {MarketingType} [marketingType]
|
|
26461
|
+
* @param {string} [languageCode]
|
|
26462
|
+
* @param {number} [page]
|
|
26463
|
+
* @param {number} [limit]
|
|
26464
|
+
* @param {Date} [lastRetrieved]
|
|
26465
|
+
* @param {*} [options] Override http request option.
|
|
26466
|
+
* @throws {RequiredError}
|
|
26467
|
+
*/
|
|
26468
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26469
|
+
if (options === void 0) { options = {}; }
|
|
26470
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26471
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26472
|
+
return __generator(this, function (_a) {
|
|
26473
|
+
switch (_a.label) {
|
|
26474
|
+
case 0:
|
|
26475
|
+
localVarPath = "/api/v1/search/specialties";
|
|
26476
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26477
|
+
if (configuration) {
|
|
26478
|
+
baseOptions = configuration.baseOptions;
|
|
26479
|
+
}
|
|
26480
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26481
|
+
localVarHeaderParameter = {};
|
|
26482
|
+
localVarQueryParameter = {};
|
|
26483
|
+
// authentication oauth2 required
|
|
26484
|
+
// oauth required
|
|
26485
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26486
|
+
case 1:
|
|
26487
|
+
// authentication oauth2 required
|
|
26488
|
+
// oauth required
|
|
26489
|
+
_a.sent();
|
|
26490
|
+
if (searchTerm !== undefined) {
|
|
26491
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26492
|
+
}
|
|
26493
|
+
if (countOnly !== undefined) {
|
|
26494
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26495
|
+
}
|
|
26496
|
+
if (countryId !== undefined) {
|
|
26497
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26498
|
+
}
|
|
26499
|
+
if (hospitalId !== undefined) {
|
|
26500
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26501
|
+
}
|
|
26502
|
+
if (marketingType !== undefined) {
|
|
26503
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26504
|
+
}
|
|
26505
|
+
if (languageCode !== undefined) {
|
|
26506
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26507
|
+
}
|
|
26508
|
+
if (page !== undefined) {
|
|
26509
|
+
localVarQueryParameter['page'] = page;
|
|
26510
|
+
}
|
|
26511
|
+
if (limit !== undefined) {
|
|
26512
|
+
localVarQueryParameter['limit'] = limit;
|
|
26513
|
+
}
|
|
26514
|
+
if (lastRetrieved !== undefined) {
|
|
26515
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26516
|
+
lastRetrieved.toISOString() :
|
|
26517
|
+
lastRetrieved;
|
|
26518
|
+
}
|
|
26519
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26520
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26521
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26522
|
+
return [2 /*return*/, {
|
|
26523
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26524
|
+
options: localVarRequestOptions,
|
|
26525
|
+
}];
|
|
26526
|
+
}
|
|
26527
|
+
});
|
|
26528
|
+
});
|
|
26529
|
+
},
|
|
26530
|
+
/**
|
|
26531
|
+
*
|
|
26532
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
26533
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
26534
|
+
* @param {*} [options] Override http request option.
|
|
26535
|
+
* @throws {RequiredError}
|
|
26536
|
+
*/
|
|
26537
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
26538
|
+
if (options === void 0) { options = {}; }
|
|
26539
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26540
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26541
|
+
return __generator(this, function (_a) {
|
|
26542
|
+
switch (_a.label) {
|
|
26543
|
+
case 0:
|
|
26544
|
+
localVarPath = "/api/v1/search/specialties";
|
|
26545
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26546
|
+
if (configuration) {
|
|
26547
|
+
baseOptions = configuration.baseOptions;
|
|
26548
|
+
}
|
|
26549
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26550
|
+
localVarHeaderParameter = {};
|
|
26551
|
+
localVarQueryParameter = {};
|
|
26552
|
+
// authentication oauth2 required
|
|
26553
|
+
// oauth required
|
|
26554
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26555
|
+
case 1:
|
|
26556
|
+
// authentication oauth2 required
|
|
26557
|
+
// oauth required
|
|
26558
|
+
_a.sent();
|
|
26559
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26560
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26561
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26562
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26563
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26564
|
+
return [2 /*return*/, {
|
|
26565
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26566
|
+
options: localVarRequestOptions,
|
|
26567
|
+
}];
|
|
26568
|
+
}
|
|
26569
|
+
});
|
|
26570
|
+
});
|
|
26571
|
+
},
|
|
26572
|
+
/**
|
|
26573
|
+
*
|
|
26574
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
26575
|
+
* @param {string} [searchTerm]
|
|
26576
|
+
* @param {boolean} [countOnly]
|
|
26577
|
+
* @param {string} [countryId]
|
|
26578
|
+
* @param {string} [hospitalId]
|
|
26579
|
+
* @param {MarketingType} [marketingType]
|
|
26580
|
+
* @param {string} [languageCode]
|
|
26581
|
+
* @param {number} [page]
|
|
26582
|
+
* @param {number} [limit]
|
|
26583
|
+
* @param {Date} [lastRetrieved]
|
|
26584
|
+
* @param {*} [options] Override http request option.
|
|
26585
|
+
* @throws {RequiredError}
|
|
26586
|
+
*/
|
|
26587
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26588
|
+
if (options === void 0) { options = {}; }
|
|
26589
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26590
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26591
|
+
return __generator(this, function (_a) {
|
|
26592
|
+
switch (_a.label) {
|
|
26593
|
+
case 0:
|
|
26594
|
+
localVarPath = "/api/v1/search/specialtytypes";
|
|
26595
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26596
|
+
if (configuration) {
|
|
26597
|
+
baseOptions = configuration.baseOptions;
|
|
26598
|
+
}
|
|
26599
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26600
|
+
localVarHeaderParameter = {};
|
|
26601
|
+
localVarQueryParameter = {};
|
|
26602
|
+
// authentication oauth2 required
|
|
26603
|
+
// oauth required
|
|
26604
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26605
|
+
case 1:
|
|
26606
|
+
// authentication oauth2 required
|
|
26607
|
+
// oauth required
|
|
26608
|
+
_a.sent();
|
|
26609
|
+
if (searchTerm !== undefined) {
|
|
26610
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26611
|
+
}
|
|
26612
|
+
if (countOnly !== undefined) {
|
|
26613
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26614
|
+
}
|
|
26615
|
+
if (countryId !== undefined) {
|
|
26616
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26617
|
+
}
|
|
26618
|
+
if (hospitalId !== undefined) {
|
|
26619
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26620
|
+
}
|
|
26621
|
+
if (marketingType !== undefined) {
|
|
26622
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26623
|
+
}
|
|
26624
|
+
if (languageCode !== undefined) {
|
|
26625
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26626
|
+
}
|
|
26627
|
+
if (page !== undefined) {
|
|
26628
|
+
localVarQueryParameter['page'] = page;
|
|
26629
|
+
}
|
|
26630
|
+
if (limit !== undefined) {
|
|
26631
|
+
localVarQueryParameter['limit'] = limit;
|
|
26632
|
+
}
|
|
26633
|
+
if (lastRetrieved !== undefined) {
|
|
26634
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26635
|
+
lastRetrieved.toISOString() :
|
|
26636
|
+
lastRetrieved;
|
|
26637
|
+
}
|
|
26638
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26639
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26640
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26641
|
+
return [2 /*return*/, {
|
|
26642
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26643
|
+
options: localVarRequestOptions,
|
|
26644
|
+
}];
|
|
26645
|
+
}
|
|
26646
|
+
});
|
|
26647
|
+
});
|
|
26648
|
+
},
|
|
26649
|
+
/**
|
|
26650
|
+
*
|
|
26651
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
26652
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
26653
|
+
* @param {*} [options] Override http request option.
|
|
26654
|
+
* @throws {RequiredError}
|
|
26655
|
+
*/
|
|
26656
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
26657
|
+
if (options === void 0) { options = {}; }
|
|
26658
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26659
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26660
|
+
return __generator(this, function (_a) {
|
|
26661
|
+
switch (_a.label) {
|
|
26662
|
+
case 0:
|
|
26663
|
+
localVarPath = "/api/v1/search/specialtytypes";
|
|
26664
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26665
|
+
if (configuration) {
|
|
26666
|
+
baseOptions = configuration.baseOptions;
|
|
26667
|
+
}
|
|
26668
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26669
|
+
localVarHeaderParameter = {};
|
|
26670
|
+
localVarQueryParameter = {};
|
|
26671
|
+
// authentication oauth2 required
|
|
26672
|
+
// oauth required
|
|
26673
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26674
|
+
case 1:
|
|
26675
|
+
// authentication oauth2 required
|
|
26676
|
+
// oauth required
|
|
26677
|
+
_a.sent();
|
|
26678
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26679
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26680
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26681
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26682
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26683
|
+
return [2 /*return*/, {
|
|
26684
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26685
|
+
options: localVarRequestOptions,
|
|
26686
|
+
}];
|
|
26687
|
+
}
|
|
26688
|
+
});
|
|
26689
|
+
});
|
|
26690
|
+
},
|
|
26691
|
+
};
|
|
26692
|
+
};
|
|
26693
|
+
/**
|
|
26694
|
+
* SearchApi - functional programming interface
|
|
26695
|
+
* @export
|
|
26696
|
+
*/
|
|
26697
|
+
exports.SearchApiFp = function (configuration) {
|
|
26698
|
+
var localVarAxiosParamCreator = exports.SearchApiAxiosParamCreator(configuration);
|
|
26699
|
+
return {
|
|
26700
|
+
/**
|
|
26701
|
+
*
|
|
26702
|
+
* @summary Search deals using Azure Search Service
|
|
26703
|
+
* @param {string} [searchTerm]
|
|
26704
|
+
* @param {boolean} [countOnly]
|
|
26705
|
+
* @param {string} [countryId]
|
|
26706
|
+
* @param {string} [hospitalId]
|
|
26707
|
+
* @param {MarketingType} [marketingType]
|
|
26708
|
+
* @param {string} [languageCode]
|
|
26709
|
+
* @param {number} [page]
|
|
26710
|
+
* @param {number} [limit]
|
|
26711
|
+
* @param {Date} [lastRetrieved]
|
|
26712
|
+
* @param {*} [options] Override http request option.
|
|
26713
|
+
* @throws {RequiredError}
|
|
26714
|
+
*/
|
|
26715
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26716
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26717
|
+
var localVarAxiosArgs;
|
|
26718
|
+
return __generator(this, function (_a) {
|
|
26719
|
+
switch (_a.label) {
|
|
26720
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26721
|
+
case 1:
|
|
26722
|
+
localVarAxiosArgs = _a.sent();
|
|
26723
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26724
|
+
}
|
|
26725
|
+
});
|
|
26726
|
+
});
|
|
26727
|
+
},
|
|
26728
|
+
/**
|
|
26729
|
+
*
|
|
26730
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
26731
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
26732
|
+
* @param {*} [options] Override http request option.
|
|
26733
|
+
* @throws {RequiredError}
|
|
26734
|
+
*/
|
|
26735
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
26736
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26737
|
+
var localVarAxiosArgs;
|
|
26738
|
+
return __generator(this, function (_a) {
|
|
26739
|
+
switch (_a.label) {
|
|
26740
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options)];
|
|
26741
|
+
case 1:
|
|
26742
|
+
localVarAxiosArgs = _a.sent();
|
|
26743
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26744
|
+
}
|
|
26745
|
+
});
|
|
26746
|
+
});
|
|
26747
|
+
},
|
|
26748
|
+
/**
|
|
26749
|
+
*
|
|
26750
|
+
* @summary Search doctors using Azure Search Services
|
|
26751
|
+
* @param {string} [searchTerm]
|
|
26752
|
+
* @param {boolean} [countOnly]
|
|
26753
|
+
* @param {string} [countryId]
|
|
26754
|
+
* @param {string} [hospitalId]
|
|
26755
|
+
* @param {MarketingType} [marketingType]
|
|
26756
|
+
* @param {string} [languageCode]
|
|
26757
|
+
* @param {number} [page]
|
|
26758
|
+
* @param {number} [limit]
|
|
26759
|
+
* @param {Date} [lastRetrieved]
|
|
26760
|
+
* @param {*} [options] Override http request option.
|
|
26761
|
+
* @throws {RequiredError}
|
|
26762
|
+
*/
|
|
26763
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26764
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26765
|
+
var localVarAxiosArgs;
|
|
26766
|
+
return __generator(this, function (_a) {
|
|
26767
|
+
switch (_a.label) {
|
|
26768
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26769
|
+
case 1:
|
|
26770
|
+
localVarAxiosArgs = _a.sent();
|
|
26771
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26772
|
+
}
|
|
26773
|
+
});
|
|
26774
|
+
});
|
|
26775
|
+
},
|
|
26776
|
+
/**
|
|
26777
|
+
*
|
|
26778
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
26779
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
26780
|
+
* @param {*} [options] Override http request option.
|
|
26781
|
+
* @throws {RequiredError}
|
|
26782
|
+
*/
|
|
26783
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
26784
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26785
|
+
var localVarAxiosArgs;
|
|
26786
|
+
return __generator(this, function (_a) {
|
|
26787
|
+
switch (_a.label) {
|
|
26788
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options)];
|
|
26789
|
+
case 1:
|
|
26790
|
+
localVarAxiosArgs = _a.sent();
|
|
26791
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26792
|
+
}
|
|
26793
|
+
});
|
|
26794
|
+
});
|
|
26795
|
+
},
|
|
26796
|
+
/**
|
|
26797
|
+
*
|
|
26798
|
+
* @summary Get the number of items in each search index
|
|
26799
|
+
* @param {string} [searchTerm]
|
|
26800
|
+
* @param {boolean} [countOnly]
|
|
26801
|
+
* @param {string} [countryId]
|
|
26802
|
+
* @param {string} [hospitalId]
|
|
26803
|
+
* @param {MarketingType} [marketingType]
|
|
26804
|
+
* @param {string} [languageCode]
|
|
26805
|
+
* @param {number} [page]
|
|
26806
|
+
* @param {number} [limit]
|
|
26807
|
+
* @param {Date} [lastRetrieved]
|
|
26808
|
+
* @param {*} [options] Override http request option.
|
|
26809
|
+
* @throws {RequiredError}
|
|
26810
|
+
*/
|
|
26811
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26812
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26813
|
+
var localVarAxiosArgs;
|
|
26814
|
+
return __generator(this, function (_a) {
|
|
26815
|
+
switch (_a.label) {
|
|
26816
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26817
|
+
case 1:
|
|
26818
|
+
localVarAxiosArgs = _a.sent();
|
|
26819
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26820
|
+
}
|
|
26821
|
+
});
|
|
26822
|
+
});
|
|
26823
|
+
},
|
|
26824
|
+
/**
|
|
26825
|
+
*
|
|
26826
|
+
* @summary Search hospitals using Azure Search Services
|
|
26827
|
+
* @param {string} [searchTerm]
|
|
26828
|
+
* @param {boolean} [countOnly]
|
|
26829
|
+
* @param {string} [countryId]
|
|
26830
|
+
* @param {string} [hospitalId]
|
|
26831
|
+
* @param {MarketingType} [marketingType]
|
|
26832
|
+
* @param {string} [languageCode]
|
|
26833
|
+
* @param {number} [page]
|
|
26834
|
+
* @param {number} [limit]
|
|
26835
|
+
* @param {Date} [lastRetrieved]
|
|
26836
|
+
* @param {*} [options] Override http request option.
|
|
26837
|
+
* @throws {RequiredError}
|
|
26838
|
+
*/
|
|
26839
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26840
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26841
|
+
var localVarAxiosArgs;
|
|
26842
|
+
return __generator(this, function (_a) {
|
|
26843
|
+
switch (_a.label) {
|
|
26844
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26845
|
+
case 1:
|
|
26846
|
+
localVarAxiosArgs = _a.sent();
|
|
26847
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26848
|
+
}
|
|
26849
|
+
});
|
|
26850
|
+
});
|
|
26851
|
+
},
|
|
26852
|
+
/**
|
|
26853
|
+
*
|
|
26854
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
26855
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
26856
|
+
* @param {*} [options] Override http request option.
|
|
26857
|
+
* @throws {RequiredError}
|
|
26858
|
+
*/
|
|
26859
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
26860
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26861
|
+
var localVarAxiosArgs;
|
|
26862
|
+
return __generator(this, function (_a) {
|
|
26863
|
+
switch (_a.label) {
|
|
26864
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options)];
|
|
26865
|
+
case 1:
|
|
26866
|
+
localVarAxiosArgs = _a.sent();
|
|
26867
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26868
|
+
}
|
|
26869
|
+
});
|
|
26870
|
+
});
|
|
26871
|
+
},
|
|
26872
|
+
/**
|
|
26873
|
+
*
|
|
26874
|
+
* @summary Search specialties using Azure Search Service
|
|
26875
|
+
* @param {string} [searchTerm]
|
|
26876
|
+
* @param {boolean} [countOnly]
|
|
26877
|
+
* @param {string} [countryId]
|
|
26878
|
+
* @param {string} [hospitalId]
|
|
26879
|
+
* @param {MarketingType} [marketingType]
|
|
26880
|
+
* @param {string} [languageCode]
|
|
26881
|
+
* @param {number} [page]
|
|
26882
|
+
* @param {number} [limit]
|
|
26883
|
+
* @param {Date} [lastRetrieved]
|
|
26884
|
+
* @param {*} [options] Override http request option.
|
|
26885
|
+
* @throws {RequiredError}
|
|
26886
|
+
*/
|
|
26887
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26888
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26889
|
+
var localVarAxiosArgs;
|
|
26890
|
+
return __generator(this, function (_a) {
|
|
26891
|
+
switch (_a.label) {
|
|
26892
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26893
|
+
case 1:
|
|
26894
|
+
localVarAxiosArgs = _a.sent();
|
|
26895
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26896
|
+
}
|
|
26897
|
+
});
|
|
26898
|
+
});
|
|
26899
|
+
},
|
|
26900
|
+
/**
|
|
26901
|
+
*
|
|
26902
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
26903
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
26904
|
+
* @param {*} [options] Override http request option.
|
|
26905
|
+
* @throws {RequiredError}
|
|
26906
|
+
*/
|
|
26907
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
26908
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26909
|
+
var localVarAxiosArgs;
|
|
26910
|
+
return __generator(this, function (_a) {
|
|
26911
|
+
switch (_a.label) {
|
|
26912
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options)];
|
|
26913
|
+
case 1:
|
|
26914
|
+
localVarAxiosArgs = _a.sent();
|
|
26915
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26916
|
+
}
|
|
26917
|
+
});
|
|
26918
|
+
});
|
|
26919
|
+
},
|
|
26920
|
+
/**
|
|
26921
|
+
*
|
|
26922
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
26923
|
+
* @param {string} [searchTerm]
|
|
26924
|
+
* @param {boolean} [countOnly]
|
|
26925
|
+
* @param {string} [countryId]
|
|
26926
|
+
* @param {string} [hospitalId]
|
|
26927
|
+
* @param {MarketingType} [marketingType]
|
|
26928
|
+
* @param {string} [languageCode]
|
|
26929
|
+
* @param {number} [page]
|
|
26930
|
+
* @param {number} [limit]
|
|
26931
|
+
* @param {Date} [lastRetrieved]
|
|
26932
|
+
* @param {*} [options] Override http request option.
|
|
26933
|
+
* @throws {RequiredError}
|
|
26934
|
+
*/
|
|
26935
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26936
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26937
|
+
var localVarAxiosArgs;
|
|
26938
|
+
return __generator(this, function (_a) {
|
|
26939
|
+
switch (_a.label) {
|
|
26940
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26941
|
+
case 1:
|
|
26942
|
+
localVarAxiosArgs = _a.sent();
|
|
26943
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26944
|
+
}
|
|
26945
|
+
});
|
|
26946
|
+
});
|
|
26947
|
+
},
|
|
26948
|
+
/**
|
|
26949
|
+
*
|
|
26950
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
26951
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
26952
|
+
* @param {*} [options] Override http request option.
|
|
26953
|
+
* @throws {RequiredError}
|
|
26954
|
+
*/
|
|
26955
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
26956
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26957
|
+
var localVarAxiosArgs;
|
|
26958
|
+
return __generator(this, function (_a) {
|
|
26959
|
+
switch (_a.label) {
|
|
26960
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options)];
|
|
26961
|
+
case 1:
|
|
26962
|
+
localVarAxiosArgs = _a.sent();
|
|
26963
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26964
|
+
}
|
|
26965
|
+
});
|
|
26966
|
+
});
|
|
26967
|
+
},
|
|
26968
|
+
};
|
|
26969
|
+
};
|
|
26970
|
+
/**
|
|
26971
|
+
* SearchApi - factory interface
|
|
26972
|
+
* @export
|
|
26973
|
+
*/
|
|
26974
|
+
exports.SearchApiFactory = function (configuration, basePath, axios) {
|
|
26975
|
+
var localVarFp = exports.SearchApiFp(configuration);
|
|
26976
|
+
return {
|
|
26977
|
+
/**
|
|
26978
|
+
*
|
|
26979
|
+
* @summary Search deals using Azure Search Service
|
|
26980
|
+
* @param {string} [searchTerm]
|
|
26981
|
+
* @param {boolean} [countOnly]
|
|
26982
|
+
* @param {string} [countryId]
|
|
26983
|
+
* @param {string} [hospitalId]
|
|
26984
|
+
* @param {MarketingType} [marketingType]
|
|
26985
|
+
* @param {string} [languageCode]
|
|
26986
|
+
* @param {number} [page]
|
|
26987
|
+
* @param {number} [limit]
|
|
26988
|
+
* @param {Date} [lastRetrieved]
|
|
26989
|
+
* @param {*} [options] Override http request option.
|
|
26990
|
+
* @throws {RequiredError}
|
|
26991
|
+
*/
|
|
26992
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26993
|
+
return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26994
|
+
},
|
|
26995
|
+
/**
|
|
26996
|
+
*
|
|
26997
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
26998
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
26999
|
+
* @param {*} [options] Override http request option.
|
|
27000
|
+
* @throws {RequiredError}
|
|
27001
|
+
*/
|
|
27002
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
27003
|
+
return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27004
|
+
},
|
|
27005
|
+
/**
|
|
27006
|
+
*
|
|
27007
|
+
* @summary Search doctors using Azure Search Services
|
|
27008
|
+
* @param {string} [searchTerm]
|
|
27009
|
+
* @param {boolean} [countOnly]
|
|
27010
|
+
* @param {string} [countryId]
|
|
27011
|
+
* @param {string} [hospitalId]
|
|
27012
|
+
* @param {MarketingType} [marketingType]
|
|
27013
|
+
* @param {string} [languageCode]
|
|
27014
|
+
* @param {number} [page]
|
|
27015
|
+
* @param {number} [limit]
|
|
27016
|
+
* @param {Date} [lastRetrieved]
|
|
27017
|
+
* @param {*} [options] Override http request option.
|
|
27018
|
+
* @throws {RequiredError}
|
|
27019
|
+
*/
|
|
27020
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27021
|
+
return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27022
|
+
},
|
|
27023
|
+
/**
|
|
27024
|
+
*
|
|
27025
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
27026
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
27027
|
+
* @param {*} [options] Override http request option.
|
|
27028
|
+
* @throws {RequiredError}
|
|
27029
|
+
*/
|
|
27030
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
27031
|
+
return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27032
|
+
},
|
|
27033
|
+
/**
|
|
27034
|
+
*
|
|
27035
|
+
* @summary Get the number of items in each search index
|
|
27036
|
+
* @param {string} [searchTerm]
|
|
27037
|
+
* @param {boolean} [countOnly]
|
|
27038
|
+
* @param {string} [countryId]
|
|
27039
|
+
* @param {string} [hospitalId]
|
|
27040
|
+
* @param {MarketingType} [marketingType]
|
|
27041
|
+
* @param {string} [languageCode]
|
|
27042
|
+
* @param {number} [page]
|
|
27043
|
+
* @param {number} [limit]
|
|
27044
|
+
* @param {Date} [lastRetrieved]
|
|
27045
|
+
* @param {*} [options] Override http request option.
|
|
27046
|
+
* @throws {RequiredError}
|
|
27047
|
+
*/
|
|
27048
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27049
|
+
return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27050
|
+
},
|
|
27051
|
+
/**
|
|
27052
|
+
*
|
|
27053
|
+
* @summary Search hospitals using Azure Search Services
|
|
27054
|
+
* @param {string} [searchTerm]
|
|
27055
|
+
* @param {boolean} [countOnly]
|
|
27056
|
+
* @param {string} [countryId]
|
|
27057
|
+
* @param {string} [hospitalId]
|
|
27058
|
+
* @param {MarketingType} [marketingType]
|
|
27059
|
+
* @param {string} [languageCode]
|
|
27060
|
+
* @param {number} [page]
|
|
27061
|
+
* @param {number} [limit]
|
|
27062
|
+
* @param {Date} [lastRetrieved]
|
|
27063
|
+
* @param {*} [options] Override http request option.
|
|
27064
|
+
* @throws {RequiredError}
|
|
27065
|
+
*/
|
|
27066
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27067
|
+
return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27068
|
+
},
|
|
27069
|
+
/**
|
|
27070
|
+
*
|
|
27071
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
27072
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
27073
|
+
* @param {*} [options] Override http request option.
|
|
27074
|
+
* @throws {RequiredError}
|
|
27075
|
+
*/
|
|
27076
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
27077
|
+
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27078
|
+
},
|
|
27079
|
+
/**
|
|
27080
|
+
*
|
|
27081
|
+
* @summary Search specialties using Azure Search Service
|
|
27082
|
+
* @param {string} [searchTerm]
|
|
27083
|
+
* @param {boolean} [countOnly]
|
|
27084
|
+
* @param {string} [countryId]
|
|
27085
|
+
* @param {string} [hospitalId]
|
|
27086
|
+
* @param {MarketingType} [marketingType]
|
|
27087
|
+
* @param {string} [languageCode]
|
|
27088
|
+
* @param {number} [page]
|
|
27089
|
+
* @param {number} [limit]
|
|
27090
|
+
* @param {Date} [lastRetrieved]
|
|
27091
|
+
* @param {*} [options] Override http request option.
|
|
27092
|
+
* @throws {RequiredError}
|
|
27093
|
+
*/
|
|
27094
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27095
|
+
return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27096
|
+
},
|
|
27097
|
+
/**
|
|
27098
|
+
*
|
|
27099
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
27100
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
27101
|
+
* @param {*} [options] Override http request option.
|
|
27102
|
+
* @throws {RequiredError}
|
|
27103
|
+
*/
|
|
27104
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
27105
|
+
return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27106
|
+
},
|
|
27107
|
+
/**
|
|
27108
|
+
*
|
|
27109
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
27110
|
+
* @param {string} [searchTerm]
|
|
27111
|
+
* @param {boolean} [countOnly]
|
|
27112
|
+
* @param {string} [countryId]
|
|
27113
|
+
* @param {string} [hospitalId]
|
|
27114
|
+
* @param {MarketingType} [marketingType]
|
|
27115
|
+
* @param {string} [languageCode]
|
|
27116
|
+
* @param {number} [page]
|
|
27117
|
+
* @param {number} [limit]
|
|
27118
|
+
* @param {Date} [lastRetrieved]
|
|
27119
|
+
* @param {*} [options] Override http request option.
|
|
27120
|
+
* @throws {RequiredError}
|
|
27121
|
+
*/
|
|
27122
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27123
|
+
return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27124
|
+
},
|
|
27125
|
+
/**
|
|
27126
|
+
*
|
|
27127
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
27128
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
27129
|
+
* @param {*} [options] Override http request option.
|
|
27130
|
+
* @throws {RequiredError}
|
|
27131
|
+
*/
|
|
27132
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
27133
|
+
return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27134
|
+
},
|
|
27135
|
+
};
|
|
27136
|
+
};
|
|
27137
|
+
/**
|
|
27138
|
+
* SearchApi - object-oriented interface
|
|
27139
|
+
* @export
|
|
27140
|
+
* @class SearchApi
|
|
27141
|
+
* @extends {BaseAPI}
|
|
27142
|
+
*/
|
|
27143
|
+
var SearchApi = /** @class */ (function (_super) {
|
|
27144
|
+
__extends(SearchApi, _super);
|
|
27145
|
+
function SearchApi() {
|
|
27146
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
27147
|
+
}
|
|
27148
|
+
/**
|
|
27149
|
+
*
|
|
27150
|
+
* @summary Search deals using Azure Search Service
|
|
27151
|
+
* @param {string} [searchTerm]
|
|
27152
|
+
* @param {boolean} [countOnly]
|
|
27153
|
+
* @param {string} [countryId]
|
|
27154
|
+
* @param {string} [hospitalId]
|
|
27155
|
+
* @param {MarketingType} [marketingType]
|
|
27156
|
+
* @param {string} [languageCode]
|
|
27157
|
+
* @param {number} [page]
|
|
27158
|
+
* @param {number} [limit]
|
|
27159
|
+
* @param {Date} [lastRetrieved]
|
|
27160
|
+
* @param {*} [options] Override http request option.
|
|
27161
|
+
* @throws {RequiredError}
|
|
27162
|
+
* @memberof SearchApi
|
|
27163
|
+
*/
|
|
27164
|
+
SearchApi.prototype.apiV1SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27165
|
+
var _this = this;
|
|
27166
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27167
|
+
};
|
|
27168
|
+
/**
|
|
27169
|
+
*
|
|
27170
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
27171
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
27172
|
+
* @param {*} [options] Override http request option.
|
|
27173
|
+
* @throws {RequiredError}
|
|
27174
|
+
* @memberof SearchApi
|
|
27175
|
+
*/
|
|
27176
|
+
SearchApi.prototype.apiV1SearchDealsPost = function (updateDealsSearchIndexCommand, options) {
|
|
27177
|
+
var _this = this;
|
|
27178
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27179
|
+
};
|
|
27180
|
+
/**
|
|
27181
|
+
*
|
|
27182
|
+
* @summary Search doctors using Azure Search Services
|
|
27183
|
+
* @param {string} [searchTerm]
|
|
27184
|
+
* @param {boolean} [countOnly]
|
|
27185
|
+
* @param {string} [countryId]
|
|
27186
|
+
* @param {string} [hospitalId]
|
|
27187
|
+
* @param {MarketingType} [marketingType]
|
|
27188
|
+
* @param {string} [languageCode]
|
|
27189
|
+
* @param {number} [page]
|
|
27190
|
+
* @param {number} [limit]
|
|
27191
|
+
* @param {Date} [lastRetrieved]
|
|
27192
|
+
* @param {*} [options] Override http request option.
|
|
27193
|
+
* @throws {RequiredError}
|
|
27194
|
+
* @memberof SearchApi
|
|
27195
|
+
*/
|
|
27196
|
+
SearchApi.prototype.apiV1SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27197
|
+
var _this = this;
|
|
27198
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27199
|
+
};
|
|
27200
|
+
/**
|
|
27201
|
+
*
|
|
27202
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
27203
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
27204
|
+
* @param {*} [options] Override http request option.
|
|
27205
|
+
* @throws {RequiredError}
|
|
27206
|
+
* @memberof SearchApi
|
|
27207
|
+
*/
|
|
27208
|
+
SearchApi.prototype.apiV1SearchDoctorsPost = function (updateDoctorsSearchIndexCommand, options) {
|
|
27209
|
+
var _this = this;
|
|
27210
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27211
|
+
};
|
|
27212
|
+
/**
|
|
27213
|
+
*
|
|
27214
|
+
* @summary Get the number of items in each search index
|
|
27215
|
+
* @param {string} [searchTerm]
|
|
27216
|
+
* @param {boolean} [countOnly]
|
|
27217
|
+
* @param {string} [countryId]
|
|
27218
|
+
* @param {string} [hospitalId]
|
|
27219
|
+
* @param {MarketingType} [marketingType]
|
|
27220
|
+
* @param {string} [languageCode]
|
|
27221
|
+
* @param {number} [page]
|
|
27222
|
+
* @param {number} [limit]
|
|
27223
|
+
* @param {Date} [lastRetrieved]
|
|
27224
|
+
* @param {*} [options] Override http request option.
|
|
27225
|
+
* @throws {RequiredError}
|
|
27226
|
+
* @memberof SearchApi
|
|
27227
|
+
*/
|
|
27228
|
+
SearchApi.prototype.apiV1SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27229
|
+
var _this = this;
|
|
27230
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27231
|
+
};
|
|
27232
|
+
/**
|
|
27233
|
+
*
|
|
27234
|
+
* @summary Search hospitals using Azure Search Services
|
|
27235
|
+
* @param {string} [searchTerm]
|
|
27236
|
+
* @param {boolean} [countOnly]
|
|
27237
|
+
* @param {string} [countryId]
|
|
27238
|
+
* @param {string} [hospitalId]
|
|
27239
|
+
* @param {MarketingType} [marketingType]
|
|
27240
|
+
* @param {string} [languageCode]
|
|
27241
|
+
* @param {number} [page]
|
|
27242
|
+
* @param {number} [limit]
|
|
27243
|
+
* @param {Date} [lastRetrieved]
|
|
27244
|
+
* @param {*} [options] Override http request option.
|
|
27245
|
+
* @throws {RequiredError}
|
|
27246
|
+
* @memberof SearchApi
|
|
27247
|
+
*/
|
|
27248
|
+
SearchApi.prototype.apiV1SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27249
|
+
var _this = this;
|
|
27250
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27251
|
+
};
|
|
27252
|
+
/**
|
|
27253
|
+
*
|
|
27254
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
27255
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
27256
|
+
* @param {*} [options] Override http request option.
|
|
27257
|
+
* @throws {RequiredError}
|
|
27258
|
+
* @memberof SearchApi
|
|
27259
|
+
*/
|
|
27260
|
+
SearchApi.prototype.apiV1SearchHospitalsPost = function (updateHospitalsSearchIndexCommand, options) {
|
|
27261
|
+
var _this = this;
|
|
27262
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27263
|
+
};
|
|
27264
|
+
/**
|
|
27265
|
+
*
|
|
27266
|
+
* @summary Search specialties using Azure Search Service
|
|
27267
|
+
* @param {string} [searchTerm]
|
|
27268
|
+
* @param {boolean} [countOnly]
|
|
27269
|
+
* @param {string} [countryId]
|
|
27270
|
+
* @param {string} [hospitalId]
|
|
27271
|
+
* @param {MarketingType} [marketingType]
|
|
27272
|
+
* @param {string} [languageCode]
|
|
27273
|
+
* @param {number} [page]
|
|
27274
|
+
* @param {number} [limit]
|
|
27275
|
+
* @param {Date} [lastRetrieved]
|
|
27276
|
+
* @param {*} [options] Override http request option.
|
|
27277
|
+
* @throws {RequiredError}
|
|
27278
|
+
* @memberof SearchApi
|
|
27279
|
+
*/
|
|
27280
|
+
SearchApi.prototype.apiV1SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27281
|
+
var _this = this;
|
|
27282
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27283
|
+
};
|
|
27284
|
+
/**
|
|
27285
|
+
*
|
|
27286
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
27287
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
27288
|
+
* @param {*} [options] Override http request option.
|
|
27289
|
+
* @throws {RequiredError}
|
|
27290
|
+
* @memberof SearchApi
|
|
27291
|
+
*/
|
|
27292
|
+
SearchApi.prototype.apiV1SearchSpecialtiesPost = function (updateSpecialtiesSearchIndexCommand, options) {
|
|
27293
|
+
var _this = this;
|
|
27294
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27295
|
+
};
|
|
27296
|
+
/**
|
|
27297
|
+
*
|
|
27298
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
27299
|
+
* @param {string} [searchTerm]
|
|
27300
|
+
* @param {boolean} [countOnly]
|
|
27301
|
+
* @param {string} [countryId]
|
|
27302
|
+
* @param {string} [hospitalId]
|
|
27303
|
+
* @param {MarketingType} [marketingType]
|
|
27304
|
+
* @param {string} [languageCode]
|
|
27305
|
+
* @param {number} [page]
|
|
27306
|
+
* @param {number} [limit]
|
|
27307
|
+
* @param {Date} [lastRetrieved]
|
|
27308
|
+
* @param {*} [options] Override http request option.
|
|
27309
|
+
* @throws {RequiredError}
|
|
27310
|
+
* @memberof SearchApi
|
|
27311
|
+
*/
|
|
27312
|
+
SearchApi.prototype.apiV1SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27313
|
+
var _this = this;
|
|
27314
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27315
|
+
};
|
|
27316
|
+
/**
|
|
27317
|
+
*
|
|
27318
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
27319
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
27320
|
+
* @param {*} [options] Override http request option.
|
|
27321
|
+
* @throws {RequiredError}
|
|
27322
|
+
* @memberof SearchApi
|
|
27323
|
+
*/
|
|
27324
|
+
SearchApi.prototype.apiV1SearchSpecialtytypesPost = function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
27325
|
+
var _this = this;
|
|
27326
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27327
|
+
};
|
|
27328
|
+
return SearchApi;
|
|
27329
|
+
}(base_1.BaseAPI));
|
|
27330
|
+
exports.SearchApi = SearchApi;
|
|
25998
27331
|
/**
|
|
25999
27332
|
* ServiceReviewsApi - axios parameter creator
|
|
26000
27333
|
* @export
|