ch-api-client-typescript2 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +8 -571
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +17 -1062
- package/package.json +1 -1
- package/src/api.ts +14 -1119
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = 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.
|
|
82
|
-
exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = 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.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory =
|
|
83
|
-
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.
|
|
81
|
+
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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = 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;
|
|
82
|
+
exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = 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.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
|
|
83
|
+
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 = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -98,17 +98,6 @@ var ArticleStatus;
|
|
|
98
98
|
ArticleStatus["Active"] = "Active";
|
|
99
99
|
ArticleStatus["Archived"] = "Archived";
|
|
100
100
|
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @export
|
|
104
|
-
* @enum {string}
|
|
105
|
-
*/
|
|
106
|
-
var AutocompleteMode;
|
|
107
|
-
(function (AutocompleteMode) {
|
|
108
|
-
AutocompleteMode["OneTerm"] = "OneTerm";
|
|
109
|
-
AutocompleteMode["TwoTerms"] = "TwoTerms";
|
|
110
|
-
AutocompleteMode["OneTermWithContext"] = "OneTermWithContext";
|
|
111
|
-
})(AutocompleteMode = exports.AutocompleteMode || (exports.AutocompleteMode = {}));
|
|
112
101
|
/**
|
|
113
102
|
*
|
|
114
103
|
* @export
|
|
@@ -9850,7 +9839,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9850
9839
|
* @param {MarketingType} [marketingType]
|
|
9851
9840
|
* @param {string} [specialtyTypeId]
|
|
9852
9841
|
* @param {string} [specialtyId]
|
|
9853
|
-
* @param {string} [serviceId]
|
|
9854
9842
|
* @param {string} [exceptHospitalId]
|
|
9855
9843
|
* @param {boolean} [showHidden]
|
|
9856
9844
|
* @param {string} [languageCode]
|
|
@@ -9863,7 +9851,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9863
9851
|
* @param {*} [options] Override http request option.
|
|
9864
9852
|
* @throws {RequiredError}
|
|
9865
9853
|
*/
|
|
9866
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
9854
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
9867
9855
|
if (options === void 0) { options = {}; }
|
|
9868
9856
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9869
9857
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9899,9 +9887,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9899
9887
|
if (specialtyId !== undefined) {
|
|
9900
9888
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
9901
9889
|
}
|
|
9902
|
-
if (serviceId !== undefined) {
|
|
9903
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
9904
|
-
}
|
|
9905
9890
|
if (exceptHospitalId !== undefined) {
|
|
9906
9891
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
9907
9892
|
}
|
|
@@ -11323,7 +11308,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11323
11308
|
* @param {MarketingType} [marketingType]
|
|
11324
11309
|
* @param {string} [specialtyTypeId]
|
|
11325
11310
|
* @param {string} [specialtyId]
|
|
11326
|
-
* @param {string} [serviceId]
|
|
11327
11311
|
* @param {string} [exceptHospitalId]
|
|
11328
11312
|
* @param {boolean} [showHidden]
|
|
11329
11313
|
* @param {string} [languageCode]
|
|
@@ -11336,7 +11320,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11336
11320
|
* @param {*} [options] Override http request option.
|
|
11337
11321
|
* @throws {RequiredError}
|
|
11338
11322
|
*/
|
|
11339
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11323
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11340
11324
|
if (options === void 0) { options = {}; }
|
|
11341
11325
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11342
11326
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11372,9 +11356,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11372
11356
|
if (specialtyId !== undefined) {
|
|
11373
11357
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
11374
11358
|
}
|
|
11375
|
-
if (serviceId !== undefined) {
|
|
11376
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
11377
|
-
}
|
|
11378
11359
|
if (exceptHospitalId !== undefined) {
|
|
11379
11360
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
11380
11361
|
}
|
|
@@ -11474,7 +11455,6 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11474
11455
|
* @param {MarketingType} [marketingType]
|
|
11475
11456
|
* @param {string} [specialtyTypeId]
|
|
11476
11457
|
* @param {string} [specialtyId]
|
|
11477
|
-
* @param {string} [serviceId]
|
|
11478
11458
|
* @param {string} [exceptHospitalId]
|
|
11479
11459
|
* @param {boolean} [showHidden]
|
|
11480
11460
|
* @param {string} [languageCode]
|
|
@@ -11487,12 +11467,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11487
11467
|
* @param {*} [options] Override http request option.
|
|
11488
11468
|
* @throws {RequiredError}
|
|
11489
11469
|
*/
|
|
11490
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11470
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11491
11471
|
return __awaiter(this, void 0, void 0, function () {
|
|
11492
11472
|
var localVarAxiosArgs;
|
|
11493
11473
|
return __generator(this, function (_a) {
|
|
11494
11474
|
switch (_a.label) {
|
|
11495
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11475
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
11496
11476
|
case 1:
|
|
11497
11477
|
localVarAxiosArgs = _a.sent();
|
|
11498
11478
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12138,7 +12118,6 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12138
12118
|
* @param {MarketingType} [marketingType]
|
|
12139
12119
|
* @param {string} [specialtyTypeId]
|
|
12140
12120
|
* @param {string} [specialtyId]
|
|
12141
|
-
* @param {string} [serviceId]
|
|
12142
12121
|
* @param {string} [exceptHospitalId]
|
|
12143
12122
|
* @param {boolean} [showHidden]
|
|
12144
12123
|
* @param {string} [languageCode]
|
|
@@ -12151,12 +12130,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12151
12130
|
* @param {*} [options] Override http request option.
|
|
12152
12131
|
* @throws {RequiredError}
|
|
12153
12132
|
*/
|
|
12154
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12133
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12155
12134
|
return __awaiter(this, void 0, void 0, function () {
|
|
12156
12135
|
var localVarAxiosArgs;
|
|
12157
12136
|
return __generator(this, function (_a) {
|
|
12158
12137
|
switch (_a.label) {
|
|
12159
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12138
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
12160
12139
|
case 1:
|
|
12161
12140
|
localVarAxiosArgs = _a.sent();
|
|
12162
12141
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12205,7 +12184,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12205
12184
|
* @param {MarketingType} [marketingType]
|
|
12206
12185
|
* @param {string} [specialtyTypeId]
|
|
12207
12186
|
* @param {string} [specialtyId]
|
|
12208
|
-
* @param {string} [serviceId]
|
|
12209
12187
|
* @param {string} [exceptHospitalId]
|
|
12210
12188
|
* @param {boolean} [showHidden]
|
|
12211
12189
|
* @param {string} [languageCode]
|
|
@@ -12218,8 +12196,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12218
12196
|
* @param {*} [options] Override http request option.
|
|
12219
12197
|
* @throws {RequiredError}
|
|
12220
12198
|
*/
|
|
12221
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12222
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12199
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12200
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12223
12201
|
},
|
|
12224
12202
|
/**
|
|
12225
12203
|
*
|
|
@@ -12609,7 +12587,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12609
12587
|
* @param {MarketingType} [marketingType]
|
|
12610
12588
|
* @param {string} [specialtyTypeId]
|
|
12611
12589
|
* @param {string} [specialtyId]
|
|
12612
|
-
* @param {string} [serviceId]
|
|
12613
12590
|
* @param {string} [exceptHospitalId]
|
|
12614
12591
|
* @param {boolean} [showHidden]
|
|
12615
12592
|
* @param {string} [languageCode]
|
|
@@ -12622,8 +12599,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12622
12599
|
* @param {*} [options] Override http request option.
|
|
12623
12600
|
* @throws {RequiredError}
|
|
12624
12601
|
*/
|
|
12625
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12626
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12602
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12603
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12627
12604
|
},
|
|
12628
12605
|
/**
|
|
12629
12606
|
*
|
|
@@ -12660,7 +12637,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12660
12637
|
* @param {MarketingType} [marketingType]
|
|
12661
12638
|
* @param {string} [specialtyTypeId]
|
|
12662
12639
|
* @param {string} [specialtyId]
|
|
12663
|
-
* @param {string} [serviceId]
|
|
12664
12640
|
* @param {string} [exceptHospitalId]
|
|
12665
12641
|
* @param {boolean} [showHidden]
|
|
12666
12642
|
* @param {string} [languageCode]
|
|
@@ -12674,9 +12650,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12674
12650
|
* @throws {RequiredError}
|
|
12675
12651
|
* @memberof HospitalsApi
|
|
12676
12652
|
*/
|
|
12677
|
-
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12653
|
+
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12678
12654
|
var _this = this;
|
|
12679
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12655
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12680
12656
|
};
|
|
12681
12657
|
/**
|
|
12682
12658
|
*
|
|
@@ -13116,7 +13092,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13116
13092
|
* @param {MarketingType} [marketingType]
|
|
13117
13093
|
* @param {string} [specialtyTypeId]
|
|
13118
13094
|
* @param {string} [specialtyId]
|
|
13119
|
-
* @param {string} [serviceId]
|
|
13120
13095
|
* @param {string} [exceptHospitalId]
|
|
13121
13096
|
* @param {boolean} [showHidden]
|
|
13122
13097
|
* @param {string} [languageCode]
|
|
@@ -13130,9 +13105,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13130
13105
|
* @throws {RequiredError}
|
|
13131
13106
|
* @memberof HospitalsApi
|
|
13132
13107
|
*/
|
|
13133
|
-
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
13108
|
+
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13134
13109
|
var _this = this;
|
|
13135
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
13110
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13136
13111
|
};
|
|
13137
13112
|
/**
|
|
13138
13113
|
*
|
|
@@ -15371,1026 +15346,6 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
15371
15346
|
return ProfilesApi;
|
|
15372
15347
|
}(base_1.BaseAPI));
|
|
15373
15348
|
exports.ProfilesApi = ProfilesApi;
|
|
15374
|
-
/**
|
|
15375
|
-
* SearchApi - axios parameter creator
|
|
15376
|
-
* @export
|
|
15377
|
-
*/
|
|
15378
|
-
var SearchApiAxiosParamCreator = function (configuration) {
|
|
15379
|
-
var _this = this;
|
|
15380
|
-
return {
|
|
15381
|
-
/**
|
|
15382
|
-
*
|
|
15383
|
-
* @param {string} keyword
|
|
15384
|
-
* @param {AutocompleteMode} [mode]
|
|
15385
|
-
* @param {boolean} [fuzzy]
|
|
15386
|
-
* @param {boolean} [highlights]
|
|
15387
|
-
* @param {number} [size]
|
|
15388
|
-
* @param {number} [minimumCoverage]
|
|
15389
|
-
* @param {*} [options] Override http request option.
|
|
15390
|
-
* @throws {RequiredError}
|
|
15391
|
-
*/
|
|
15392
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
15393
|
-
if (options === void 0) { options = {}; }
|
|
15394
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15395
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15396
|
-
return __generator(this, function (_a) {
|
|
15397
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
15398
|
-
(0, common_1.assertParamExists)('apiV2SearchAutocompleteGet', 'keyword', keyword);
|
|
15399
|
-
localVarPath = "/api/v2/search/autocomplete";
|
|
15400
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15401
|
-
if (configuration) {
|
|
15402
|
-
baseOptions = configuration.baseOptions;
|
|
15403
|
-
}
|
|
15404
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15405
|
-
localVarHeaderParameter = {};
|
|
15406
|
-
localVarQueryParameter = {};
|
|
15407
|
-
if (mode !== undefined) {
|
|
15408
|
-
localVarQueryParameter['Mode'] = mode;
|
|
15409
|
-
}
|
|
15410
|
-
if (keyword !== undefined) {
|
|
15411
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
15412
|
-
}
|
|
15413
|
-
if (fuzzy !== undefined) {
|
|
15414
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
15415
|
-
}
|
|
15416
|
-
if (highlights !== undefined) {
|
|
15417
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
15418
|
-
}
|
|
15419
|
-
if (size !== undefined) {
|
|
15420
|
-
localVarQueryParameter['Size'] = size;
|
|
15421
|
-
}
|
|
15422
|
-
if (minimumCoverage !== undefined) {
|
|
15423
|
-
localVarQueryParameter['MinimumCoverage'] = minimumCoverage;
|
|
15424
|
-
}
|
|
15425
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15426
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15427
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15428
|
-
return [2 /*return*/, {
|
|
15429
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15430
|
-
options: localVarRequestOptions,
|
|
15431
|
-
}];
|
|
15432
|
-
});
|
|
15433
|
-
});
|
|
15434
|
-
},
|
|
15435
|
-
/**
|
|
15436
|
-
*
|
|
15437
|
-
* @param {string} [searchTerm]
|
|
15438
|
-
* @param {boolean} [countOnly]
|
|
15439
|
-
* @param {string} [countryId]
|
|
15440
|
-
* @param {string} [hospitalId]
|
|
15441
|
-
* @param {MarketingType} [marketingType]
|
|
15442
|
-
* @param {string} [languageCode]
|
|
15443
|
-
* @param {number} [page]
|
|
15444
|
-
* @param {number} [limit]
|
|
15445
|
-
* @param {Date} [lastRetrieved]
|
|
15446
|
-
* @param {*} [options] Override http request option.
|
|
15447
|
-
* @throws {RequiredError}
|
|
15448
|
-
*/
|
|
15449
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15450
|
-
if (options === void 0) { options = {}; }
|
|
15451
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15452
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15453
|
-
return __generator(this, function (_a) {
|
|
15454
|
-
localVarPath = "/api/v2/search/deals";
|
|
15455
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15456
|
-
if (configuration) {
|
|
15457
|
-
baseOptions = configuration.baseOptions;
|
|
15458
|
-
}
|
|
15459
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15460
|
-
localVarHeaderParameter = {};
|
|
15461
|
-
localVarQueryParameter = {};
|
|
15462
|
-
if (searchTerm !== undefined) {
|
|
15463
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15464
|
-
}
|
|
15465
|
-
if (countOnly !== undefined) {
|
|
15466
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15467
|
-
}
|
|
15468
|
-
if (countryId !== undefined) {
|
|
15469
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15470
|
-
}
|
|
15471
|
-
if (hospitalId !== undefined) {
|
|
15472
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15473
|
-
}
|
|
15474
|
-
if (marketingType !== undefined) {
|
|
15475
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15476
|
-
}
|
|
15477
|
-
if (languageCode !== undefined) {
|
|
15478
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15479
|
-
}
|
|
15480
|
-
if (page !== undefined) {
|
|
15481
|
-
localVarQueryParameter['page'] = page;
|
|
15482
|
-
}
|
|
15483
|
-
if (limit !== undefined) {
|
|
15484
|
-
localVarQueryParameter['limit'] = limit;
|
|
15485
|
-
}
|
|
15486
|
-
if (lastRetrieved !== undefined) {
|
|
15487
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15488
|
-
lastRetrieved.toISOString() :
|
|
15489
|
-
lastRetrieved;
|
|
15490
|
-
}
|
|
15491
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15492
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15493
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15494
|
-
return [2 /*return*/, {
|
|
15495
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15496
|
-
options: localVarRequestOptions,
|
|
15497
|
-
}];
|
|
15498
|
-
});
|
|
15499
|
-
});
|
|
15500
|
-
},
|
|
15501
|
-
/**
|
|
15502
|
-
*
|
|
15503
|
-
* @param {string} [searchTerm]
|
|
15504
|
-
* @param {boolean} [countOnly]
|
|
15505
|
-
* @param {string} [countryId]
|
|
15506
|
-
* @param {string} [hospitalId]
|
|
15507
|
-
* @param {MarketingType} [marketingType]
|
|
15508
|
-
* @param {string} [languageCode]
|
|
15509
|
-
* @param {number} [page]
|
|
15510
|
-
* @param {number} [limit]
|
|
15511
|
-
* @param {Date} [lastRetrieved]
|
|
15512
|
-
* @param {*} [options] Override http request option.
|
|
15513
|
-
* @throws {RequiredError}
|
|
15514
|
-
*/
|
|
15515
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15516
|
-
if (options === void 0) { options = {}; }
|
|
15517
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15518
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15519
|
-
return __generator(this, function (_a) {
|
|
15520
|
-
localVarPath = "/api/v2/search/doctors";
|
|
15521
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15522
|
-
if (configuration) {
|
|
15523
|
-
baseOptions = configuration.baseOptions;
|
|
15524
|
-
}
|
|
15525
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15526
|
-
localVarHeaderParameter = {};
|
|
15527
|
-
localVarQueryParameter = {};
|
|
15528
|
-
if (searchTerm !== undefined) {
|
|
15529
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15530
|
-
}
|
|
15531
|
-
if (countOnly !== undefined) {
|
|
15532
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15533
|
-
}
|
|
15534
|
-
if (countryId !== undefined) {
|
|
15535
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15536
|
-
}
|
|
15537
|
-
if (hospitalId !== undefined) {
|
|
15538
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15539
|
-
}
|
|
15540
|
-
if (marketingType !== undefined) {
|
|
15541
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15542
|
-
}
|
|
15543
|
-
if (languageCode !== undefined) {
|
|
15544
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15545
|
-
}
|
|
15546
|
-
if (page !== undefined) {
|
|
15547
|
-
localVarQueryParameter['page'] = page;
|
|
15548
|
-
}
|
|
15549
|
-
if (limit !== undefined) {
|
|
15550
|
-
localVarQueryParameter['limit'] = limit;
|
|
15551
|
-
}
|
|
15552
|
-
if (lastRetrieved !== undefined) {
|
|
15553
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15554
|
-
lastRetrieved.toISOString() :
|
|
15555
|
-
lastRetrieved;
|
|
15556
|
-
}
|
|
15557
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15558
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15559
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15560
|
-
return [2 /*return*/, {
|
|
15561
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15562
|
-
options: localVarRequestOptions,
|
|
15563
|
-
}];
|
|
15564
|
-
});
|
|
15565
|
-
});
|
|
15566
|
-
},
|
|
15567
|
-
/**
|
|
15568
|
-
*
|
|
15569
|
-
* @param {string} [searchTerm]
|
|
15570
|
-
* @param {boolean} [countOnly]
|
|
15571
|
-
* @param {string} [countryId]
|
|
15572
|
-
* @param {string} [hospitalId]
|
|
15573
|
-
* @param {MarketingType} [marketingType]
|
|
15574
|
-
* @param {string} [languageCode]
|
|
15575
|
-
* @param {number} [page]
|
|
15576
|
-
* @param {number} [limit]
|
|
15577
|
-
* @param {Date} [lastRetrieved]
|
|
15578
|
-
* @param {*} [options] Override http request option.
|
|
15579
|
-
* @throws {RequiredError}
|
|
15580
|
-
*/
|
|
15581
|
-
apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15582
|
-
if (options === void 0) { options = {}; }
|
|
15583
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15584
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15585
|
-
return __generator(this, function (_a) {
|
|
15586
|
-
localVarPath = "/api/v2/search/getcount";
|
|
15587
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15588
|
-
if (configuration) {
|
|
15589
|
-
baseOptions = configuration.baseOptions;
|
|
15590
|
-
}
|
|
15591
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15592
|
-
localVarHeaderParameter = {};
|
|
15593
|
-
localVarQueryParameter = {};
|
|
15594
|
-
if (searchTerm !== undefined) {
|
|
15595
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15596
|
-
}
|
|
15597
|
-
if (countOnly !== undefined) {
|
|
15598
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15599
|
-
}
|
|
15600
|
-
if (countryId !== undefined) {
|
|
15601
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15602
|
-
}
|
|
15603
|
-
if (hospitalId !== undefined) {
|
|
15604
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15605
|
-
}
|
|
15606
|
-
if (marketingType !== undefined) {
|
|
15607
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15608
|
-
}
|
|
15609
|
-
if (languageCode !== undefined) {
|
|
15610
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15611
|
-
}
|
|
15612
|
-
if (page !== undefined) {
|
|
15613
|
-
localVarQueryParameter['page'] = page;
|
|
15614
|
-
}
|
|
15615
|
-
if (limit !== undefined) {
|
|
15616
|
-
localVarQueryParameter['limit'] = limit;
|
|
15617
|
-
}
|
|
15618
|
-
if (lastRetrieved !== undefined) {
|
|
15619
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15620
|
-
lastRetrieved.toISOString() :
|
|
15621
|
-
lastRetrieved;
|
|
15622
|
-
}
|
|
15623
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15624
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15625
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15626
|
-
return [2 /*return*/, {
|
|
15627
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15628
|
-
options: localVarRequestOptions,
|
|
15629
|
-
}];
|
|
15630
|
-
});
|
|
15631
|
-
});
|
|
15632
|
-
},
|
|
15633
|
-
/**
|
|
15634
|
-
*
|
|
15635
|
-
* @param {string} [searchTerm]
|
|
15636
|
-
* @param {boolean} [countOnly]
|
|
15637
|
-
* @param {string} [countryId]
|
|
15638
|
-
* @param {string} [hospitalId]
|
|
15639
|
-
* @param {MarketingType} [marketingType]
|
|
15640
|
-
* @param {string} [languageCode]
|
|
15641
|
-
* @param {number} [page]
|
|
15642
|
-
* @param {number} [limit]
|
|
15643
|
-
* @param {Date} [lastRetrieved]
|
|
15644
|
-
* @param {*} [options] Override http request option.
|
|
15645
|
-
* @throws {RequiredError}
|
|
15646
|
-
*/
|
|
15647
|
-
apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15648
|
-
if (options === void 0) { options = {}; }
|
|
15649
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15650
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15651
|
-
return __generator(this, function (_a) {
|
|
15652
|
-
localVarPath = "/api/v2/search/hospitals";
|
|
15653
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15654
|
-
if (configuration) {
|
|
15655
|
-
baseOptions = configuration.baseOptions;
|
|
15656
|
-
}
|
|
15657
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15658
|
-
localVarHeaderParameter = {};
|
|
15659
|
-
localVarQueryParameter = {};
|
|
15660
|
-
if (searchTerm !== undefined) {
|
|
15661
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15662
|
-
}
|
|
15663
|
-
if (countOnly !== undefined) {
|
|
15664
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15665
|
-
}
|
|
15666
|
-
if (countryId !== undefined) {
|
|
15667
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15668
|
-
}
|
|
15669
|
-
if (hospitalId !== undefined) {
|
|
15670
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15671
|
-
}
|
|
15672
|
-
if (marketingType !== undefined) {
|
|
15673
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15674
|
-
}
|
|
15675
|
-
if (languageCode !== undefined) {
|
|
15676
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15677
|
-
}
|
|
15678
|
-
if (page !== undefined) {
|
|
15679
|
-
localVarQueryParameter['page'] = page;
|
|
15680
|
-
}
|
|
15681
|
-
if (limit !== undefined) {
|
|
15682
|
-
localVarQueryParameter['limit'] = limit;
|
|
15683
|
-
}
|
|
15684
|
-
if (lastRetrieved !== undefined) {
|
|
15685
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15686
|
-
lastRetrieved.toISOString() :
|
|
15687
|
-
lastRetrieved;
|
|
15688
|
-
}
|
|
15689
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15690
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15691
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15692
|
-
return [2 /*return*/, {
|
|
15693
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15694
|
-
options: localVarRequestOptions,
|
|
15695
|
-
}];
|
|
15696
|
-
});
|
|
15697
|
-
});
|
|
15698
|
-
},
|
|
15699
|
-
/**
|
|
15700
|
-
*
|
|
15701
|
-
* @param {string} [searchTerm]
|
|
15702
|
-
* @param {boolean} [countOnly]
|
|
15703
|
-
* @param {string} [countryId]
|
|
15704
|
-
* @param {string} [hospitalId]
|
|
15705
|
-
* @param {MarketingType} [marketingType]
|
|
15706
|
-
* @param {string} [languageCode]
|
|
15707
|
-
* @param {number} [page]
|
|
15708
|
-
* @param {number} [limit]
|
|
15709
|
-
* @param {Date} [lastRetrieved]
|
|
15710
|
-
* @param {*} [options] Override http request option.
|
|
15711
|
-
* @throws {RequiredError}
|
|
15712
|
-
*/
|
|
15713
|
-
apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15714
|
-
if (options === void 0) { options = {}; }
|
|
15715
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15716
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15717
|
-
return __generator(this, function (_a) {
|
|
15718
|
-
localVarPath = "/api/v2/search/specialties";
|
|
15719
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15720
|
-
if (configuration) {
|
|
15721
|
-
baseOptions = configuration.baseOptions;
|
|
15722
|
-
}
|
|
15723
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15724
|
-
localVarHeaderParameter = {};
|
|
15725
|
-
localVarQueryParameter = {};
|
|
15726
|
-
if (searchTerm !== undefined) {
|
|
15727
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15728
|
-
}
|
|
15729
|
-
if (countOnly !== undefined) {
|
|
15730
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15731
|
-
}
|
|
15732
|
-
if (countryId !== undefined) {
|
|
15733
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15734
|
-
}
|
|
15735
|
-
if (hospitalId !== undefined) {
|
|
15736
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15737
|
-
}
|
|
15738
|
-
if (marketingType !== undefined) {
|
|
15739
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15740
|
-
}
|
|
15741
|
-
if (languageCode !== undefined) {
|
|
15742
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15743
|
-
}
|
|
15744
|
-
if (page !== undefined) {
|
|
15745
|
-
localVarQueryParameter['page'] = page;
|
|
15746
|
-
}
|
|
15747
|
-
if (limit !== undefined) {
|
|
15748
|
-
localVarQueryParameter['limit'] = limit;
|
|
15749
|
-
}
|
|
15750
|
-
if (lastRetrieved !== undefined) {
|
|
15751
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15752
|
-
lastRetrieved.toISOString() :
|
|
15753
|
-
lastRetrieved;
|
|
15754
|
-
}
|
|
15755
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15756
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15757
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15758
|
-
return [2 /*return*/, {
|
|
15759
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15760
|
-
options: localVarRequestOptions,
|
|
15761
|
-
}];
|
|
15762
|
-
});
|
|
15763
|
-
});
|
|
15764
|
-
},
|
|
15765
|
-
/**
|
|
15766
|
-
*
|
|
15767
|
-
* @param {string} [searchTerm]
|
|
15768
|
-
* @param {boolean} [countOnly]
|
|
15769
|
-
* @param {string} [countryId]
|
|
15770
|
-
* @param {string} [hospitalId]
|
|
15771
|
-
* @param {MarketingType} [marketingType]
|
|
15772
|
-
* @param {string} [languageCode]
|
|
15773
|
-
* @param {number} [page]
|
|
15774
|
-
* @param {number} [limit]
|
|
15775
|
-
* @param {Date} [lastRetrieved]
|
|
15776
|
-
* @param {*} [options] Override http request option.
|
|
15777
|
-
* @throws {RequiredError}
|
|
15778
|
-
*/
|
|
15779
|
-
apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15780
|
-
if (options === void 0) { options = {}; }
|
|
15781
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15782
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15783
|
-
return __generator(this, function (_a) {
|
|
15784
|
-
localVarPath = "/api/v2/search/specialtytypes";
|
|
15785
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15786
|
-
if (configuration) {
|
|
15787
|
-
baseOptions = configuration.baseOptions;
|
|
15788
|
-
}
|
|
15789
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15790
|
-
localVarHeaderParameter = {};
|
|
15791
|
-
localVarQueryParameter = {};
|
|
15792
|
-
if (searchTerm !== undefined) {
|
|
15793
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15794
|
-
}
|
|
15795
|
-
if (countOnly !== undefined) {
|
|
15796
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15797
|
-
}
|
|
15798
|
-
if (countryId !== undefined) {
|
|
15799
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15800
|
-
}
|
|
15801
|
-
if (hospitalId !== undefined) {
|
|
15802
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15803
|
-
}
|
|
15804
|
-
if (marketingType !== undefined) {
|
|
15805
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15806
|
-
}
|
|
15807
|
-
if (languageCode !== undefined) {
|
|
15808
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15809
|
-
}
|
|
15810
|
-
if (page !== undefined) {
|
|
15811
|
-
localVarQueryParameter['page'] = page;
|
|
15812
|
-
}
|
|
15813
|
-
if (limit !== undefined) {
|
|
15814
|
-
localVarQueryParameter['limit'] = limit;
|
|
15815
|
-
}
|
|
15816
|
-
if (lastRetrieved !== undefined) {
|
|
15817
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15818
|
-
lastRetrieved.toISOString() :
|
|
15819
|
-
lastRetrieved;
|
|
15820
|
-
}
|
|
15821
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15822
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15823
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15824
|
-
return [2 /*return*/, {
|
|
15825
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15826
|
-
options: localVarRequestOptions,
|
|
15827
|
-
}];
|
|
15828
|
-
});
|
|
15829
|
-
});
|
|
15830
|
-
},
|
|
15831
|
-
/**
|
|
15832
|
-
*
|
|
15833
|
-
* @param {string} keyword
|
|
15834
|
-
* @param {boolean} [fuzzy]
|
|
15835
|
-
* @param {boolean} [highlights]
|
|
15836
|
-
* @param {number} [size]
|
|
15837
|
-
* @param {*} [options] Override http request option.
|
|
15838
|
-
* @throws {RequiredError}
|
|
15839
|
-
*/
|
|
15840
|
-
apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
|
|
15841
|
-
if (options === void 0) { options = {}; }
|
|
15842
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15843
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15844
|
-
return __generator(this, function (_a) {
|
|
15845
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
15846
|
-
(0, common_1.assertParamExists)('apiV2SearchSuggestGet', 'keyword', keyword);
|
|
15847
|
-
localVarPath = "/api/v2/search/suggest";
|
|
15848
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15849
|
-
if (configuration) {
|
|
15850
|
-
baseOptions = configuration.baseOptions;
|
|
15851
|
-
}
|
|
15852
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15853
|
-
localVarHeaderParameter = {};
|
|
15854
|
-
localVarQueryParameter = {};
|
|
15855
|
-
if (keyword !== undefined) {
|
|
15856
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
15857
|
-
}
|
|
15858
|
-
if (fuzzy !== undefined) {
|
|
15859
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
15860
|
-
}
|
|
15861
|
-
if (highlights !== undefined) {
|
|
15862
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
15863
|
-
}
|
|
15864
|
-
if (size !== undefined) {
|
|
15865
|
-
localVarQueryParameter['Size'] = size;
|
|
15866
|
-
}
|
|
15867
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15868
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15869
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15870
|
-
return [2 /*return*/, {
|
|
15871
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15872
|
-
options: localVarRequestOptions,
|
|
15873
|
-
}];
|
|
15874
|
-
});
|
|
15875
|
-
});
|
|
15876
|
-
},
|
|
15877
|
-
};
|
|
15878
|
-
};
|
|
15879
|
-
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
15880
|
-
/**
|
|
15881
|
-
* SearchApi - functional programming interface
|
|
15882
|
-
* @export
|
|
15883
|
-
*/
|
|
15884
|
-
var SearchApiFp = function (configuration) {
|
|
15885
|
-
var localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
|
|
15886
|
-
return {
|
|
15887
|
-
/**
|
|
15888
|
-
*
|
|
15889
|
-
* @param {string} keyword
|
|
15890
|
-
* @param {AutocompleteMode} [mode]
|
|
15891
|
-
* @param {boolean} [fuzzy]
|
|
15892
|
-
* @param {boolean} [highlights]
|
|
15893
|
-
* @param {number} [size]
|
|
15894
|
-
* @param {number} [minimumCoverage]
|
|
15895
|
-
* @param {*} [options] Override http request option.
|
|
15896
|
-
* @throws {RequiredError}
|
|
15897
|
-
*/
|
|
15898
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
15899
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15900
|
-
var localVarAxiosArgs;
|
|
15901
|
-
return __generator(this, function (_a) {
|
|
15902
|
-
switch (_a.label) {
|
|
15903
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options)];
|
|
15904
|
-
case 1:
|
|
15905
|
-
localVarAxiosArgs = _a.sent();
|
|
15906
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15907
|
-
}
|
|
15908
|
-
});
|
|
15909
|
-
});
|
|
15910
|
-
},
|
|
15911
|
-
/**
|
|
15912
|
-
*
|
|
15913
|
-
* @param {string} [searchTerm]
|
|
15914
|
-
* @param {boolean} [countOnly]
|
|
15915
|
-
* @param {string} [countryId]
|
|
15916
|
-
* @param {string} [hospitalId]
|
|
15917
|
-
* @param {MarketingType} [marketingType]
|
|
15918
|
-
* @param {string} [languageCode]
|
|
15919
|
-
* @param {number} [page]
|
|
15920
|
-
* @param {number} [limit]
|
|
15921
|
-
* @param {Date} [lastRetrieved]
|
|
15922
|
-
* @param {*} [options] Override http request option.
|
|
15923
|
-
* @throws {RequiredError}
|
|
15924
|
-
*/
|
|
15925
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15926
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15927
|
-
var localVarAxiosArgs;
|
|
15928
|
-
return __generator(this, function (_a) {
|
|
15929
|
-
switch (_a.label) {
|
|
15930
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15931
|
-
case 1:
|
|
15932
|
-
localVarAxiosArgs = _a.sent();
|
|
15933
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15934
|
-
}
|
|
15935
|
-
});
|
|
15936
|
-
});
|
|
15937
|
-
},
|
|
15938
|
-
/**
|
|
15939
|
-
*
|
|
15940
|
-
* @param {string} [searchTerm]
|
|
15941
|
-
* @param {boolean} [countOnly]
|
|
15942
|
-
* @param {string} [countryId]
|
|
15943
|
-
* @param {string} [hospitalId]
|
|
15944
|
-
* @param {MarketingType} [marketingType]
|
|
15945
|
-
* @param {string} [languageCode]
|
|
15946
|
-
* @param {number} [page]
|
|
15947
|
-
* @param {number} [limit]
|
|
15948
|
-
* @param {Date} [lastRetrieved]
|
|
15949
|
-
* @param {*} [options] Override http request option.
|
|
15950
|
-
* @throws {RequiredError}
|
|
15951
|
-
*/
|
|
15952
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15953
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15954
|
-
var localVarAxiosArgs;
|
|
15955
|
-
return __generator(this, function (_a) {
|
|
15956
|
-
switch (_a.label) {
|
|
15957
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15958
|
-
case 1:
|
|
15959
|
-
localVarAxiosArgs = _a.sent();
|
|
15960
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15961
|
-
}
|
|
15962
|
-
});
|
|
15963
|
-
});
|
|
15964
|
-
},
|
|
15965
|
-
/**
|
|
15966
|
-
*
|
|
15967
|
-
* @param {string} [searchTerm]
|
|
15968
|
-
* @param {boolean} [countOnly]
|
|
15969
|
-
* @param {string} [countryId]
|
|
15970
|
-
* @param {string} [hospitalId]
|
|
15971
|
-
* @param {MarketingType} [marketingType]
|
|
15972
|
-
* @param {string} [languageCode]
|
|
15973
|
-
* @param {number} [page]
|
|
15974
|
-
* @param {number} [limit]
|
|
15975
|
-
* @param {Date} [lastRetrieved]
|
|
15976
|
-
* @param {*} [options] Override http request option.
|
|
15977
|
-
* @throws {RequiredError}
|
|
15978
|
-
*/
|
|
15979
|
-
apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15980
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15981
|
-
var localVarAxiosArgs;
|
|
15982
|
-
return __generator(this, function (_a) {
|
|
15983
|
-
switch (_a.label) {
|
|
15984
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15985
|
-
case 1:
|
|
15986
|
-
localVarAxiosArgs = _a.sent();
|
|
15987
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15988
|
-
}
|
|
15989
|
-
});
|
|
15990
|
-
});
|
|
15991
|
-
},
|
|
15992
|
-
/**
|
|
15993
|
-
*
|
|
15994
|
-
* @param {string} [searchTerm]
|
|
15995
|
-
* @param {boolean} [countOnly]
|
|
15996
|
-
* @param {string} [countryId]
|
|
15997
|
-
* @param {string} [hospitalId]
|
|
15998
|
-
* @param {MarketingType} [marketingType]
|
|
15999
|
-
* @param {string} [languageCode]
|
|
16000
|
-
* @param {number} [page]
|
|
16001
|
-
* @param {number} [limit]
|
|
16002
|
-
* @param {Date} [lastRetrieved]
|
|
16003
|
-
* @param {*} [options] Override http request option.
|
|
16004
|
-
* @throws {RequiredError}
|
|
16005
|
-
*/
|
|
16006
|
-
apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16007
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
16008
|
-
var localVarAxiosArgs;
|
|
16009
|
-
return __generator(this, function (_a) {
|
|
16010
|
-
switch (_a.label) {
|
|
16011
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
16012
|
-
case 1:
|
|
16013
|
-
localVarAxiosArgs = _a.sent();
|
|
16014
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
16015
|
-
}
|
|
16016
|
-
});
|
|
16017
|
-
});
|
|
16018
|
-
},
|
|
16019
|
-
/**
|
|
16020
|
-
*
|
|
16021
|
-
* @param {string} [searchTerm]
|
|
16022
|
-
* @param {boolean} [countOnly]
|
|
16023
|
-
* @param {string} [countryId]
|
|
16024
|
-
* @param {string} [hospitalId]
|
|
16025
|
-
* @param {MarketingType} [marketingType]
|
|
16026
|
-
* @param {string} [languageCode]
|
|
16027
|
-
* @param {number} [page]
|
|
16028
|
-
* @param {number} [limit]
|
|
16029
|
-
* @param {Date} [lastRetrieved]
|
|
16030
|
-
* @param {*} [options] Override http request option.
|
|
16031
|
-
* @throws {RequiredError}
|
|
16032
|
-
*/
|
|
16033
|
-
apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16034
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
16035
|
-
var localVarAxiosArgs;
|
|
16036
|
-
return __generator(this, function (_a) {
|
|
16037
|
-
switch (_a.label) {
|
|
16038
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
16039
|
-
case 1:
|
|
16040
|
-
localVarAxiosArgs = _a.sent();
|
|
16041
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
16042
|
-
}
|
|
16043
|
-
});
|
|
16044
|
-
});
|
|
16045
|
-
},
|
|
16046
|
-
/**
|
|
16047
|
-
*
|
|
16048
|
-
* @param {string} [searchTerm]
|
|
16049
|
-
* @param {boolean} [countOnly]
|
|
16050
|
-
* @param {string} [countryId]
|
|
16051
|
-
* @param {string} [hospitalId]
|
|
16052
|
-
* @param {MarketingType} [marketingType]
|
|
16053
|
-
* @param {string} [languageCode]
|
|
16054
|
-
* @param {number} [page]
|
|
16055
|
-
* @param {number} [limit]
|
|
16056
|
-
* @param {Date} [lastRetrieved]
|
|
16057
|
-
* @param {*} [options] Override http request option.
|
|
16058
|
-
* @throws {RequiredError}
|
|
16059
|
-
*/
|
|
16060
|
-
apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16061
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
16062
|
-
var localVarAxiosArgs;
|
|
16063
|
-
return __generator(this, function (_a) {
|
|
16064
|
-
switch (_a.label) {
|
|
16065
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
16066
|
-
case 1:
|
|
16067
|
-
localVarAxiosArgs = _a.sent();
|
|
16068
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
16069
|
-
}
|
|
16070
|
-
});
|
|
16071
|
-
});
|
|
16072
|
-
},
|
|
16073
|
-
/**
|
|
16074
|
-
*
|
|
16075
|
-
* @param {string} keyword
|
|
16076
|
-
* @param {boolean} [fuzzy]
|
|
16077
|
-
* @param {boolean} [highlights]
|
|
16078
|
-
* @param {number} [size]
|
|
16079
|
-
* @param {*} [options] Override http request option.
|
|
16080
|
-
* @throws {RequiredError}
|
|
16081
|
-
*/
|
|
16082
|
-
apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
|
|
16083
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
16084
|
-
var localVarAxiosArgs;
|
|
16085
|
-
return __generator(this, function (_a) {
|
|
16086
|
-
switch (_a.label) {
|
|
16087
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options)];
|
|
16088
|
-
case 1:
|
|
16089
|
-
localVarAxiosArgs = _a.sent();
|
|
16090
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
16091
|
-
}
|
|
16092
|
-
});
|
|
16093
|
-
});
|
|
16094
|
-
},
|
|
16095
|
-
};
|
|
16096
|
-
};
|
|
16097
|
-
exports.SearchApiFp = SearchApiFp;
|
|
16098
|
-
/**
|
|
16099
|
-
* SearchApi - factory interface
|
|
16100
|
-
* @export
|
|
16101
|
-
*/
|
|
16102
|
-
var SearchApiFactory = function (configuration, basePath, axios) {
|
|
16103
|
-
var localVarFp = (0, exports.SearchApiFp)(configuration);
|
|
16104
|
-
return {
|
|
16105
|
-
/**
|
|
16106
|
-
*
|
|
16107
|
-
* @param {string} keyword
|
|
16108
|
-
* @param {AutocompleteMode} [mode]
|
|
16109
|
-
* @param {boolean} [fuzzy]
|
|
16110
|
-
* @param {boolean} [highlights]
|
|
16111
|
-
* @param {number} [size]
|
|
16112
|
-
* @param {number} [minimumCoverage]
|
|
16113
|
-
* @param {*} [options] Override http request option.
|
|
16114
|
-
* @throws {RequiredError}
|
|
16115
|
-
*/
|
|
16116
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
16117
|
-
return localVarFp.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(axios, basePath); });
|
|
16118
|
-
},
|
|
16119
|
-
/**
|
|
16120
|
-
*
|
|
16121
|
-
* @param {string} [searchTerm]
|
|
16122
|
-
* @param {boolean} [countOnly]
|
|
16123
|
-
* @param {string} [countryId]
|
|
16124
|
-
* @param {string} [hospitalId]
|
|
16125
|
-
* @param {MarketingType} [marketingType]
|
|
16126
|
-
* @param {string} [languageCode]
|
|
16127
|
-
* @param {number} [page]
|
|
16128
|
-
* @param {number} [limit]
|
|
16129
|
-
* @param {Date} [lastRetrieved]
|
|
16130
|
-
* @param {*} [options] Override http request option.
|
|
16131
|
-
* @throws {RequiredError}
|
|
16132
|
-
*/
|
|
16133
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16134
|
-
return localVarFp.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16135
|
-
},
|
|
16136
|
-
/**
|
|
16137
|
-
*
|
|
16138
|
-
* @param {string} [searchTerm]
|
|
16139
|
-
* @param {boolean} [countOnly]
|
|
16140
|
-
* @param {string} [countryId]
|
|
16141
|
-
* @param {string} [hospitalId]
|
|
16142
|
-
* @param {MarketingType} [marketingType]
|
|
16143
|
-
* @param {string} [languageCode]
|
|
16144
|
-
* @param {number} [page]
|
|
16145
|
-
* @param {number} [limit]
|
|
16146
|
-
* @param {Date} [lastRetrieved]
|
|
16147
|
-
* @param {*} [options] Override http request option.
|
|
16148
|
-
* @throws {RequiredError}
|
|
16149
|
-
*/
|
|
16150
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16151
|
-
return localVarFp.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16152
|
-
},
|
|
16153
|
-
/**
|
|
16154
|
-
*
|
|
16155
|
-
* @param {string} [searchTerm]
|
|
16156
|
-
* @param {boolean} [countOnly]
|
|
16157
|
-
* @param {string} [countryId]
|
|
16158
|
-
* @param {string} [hospitalId]
|
|
16159
|
-
* @param {MarketingType} [marketingType]
|
|
16160
|
-
* @param {string} [languageCode]
|
|
16161
|
-
* @param {number} [page]
|
|
16162
|
-
* @param {number} [limit]
|
|
16163
|
-
* @param {Date} [lastRetrieved]
|
|
16164
|
-
* @param {*} [options] Override http request option.
|
|
16165
|
-
* @throws {RequiredError}
|
|
16166
|
-
*/
|
|
16167
|
-
apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16168
|
-
return localVarFp.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16169
|
-
},
|
|
16170
|
-
/**
|
|
16171
|
-
*
|
|
16172
|
-
* @param {string} [searchTerm]
|
|
16173
|
-
* @param {boolean} [countOnly]
|
|
16174
|
-
* @param {string} [countryId]
|
|
16175
|
-
* @param {string} [hospitalId]
|
|
16176
|
-
* @param {MarketingType} [marketingType]
|
|
16177
|
-
* @param {string} [languageCode]
|
|
16178
|
-
* @param {number} [page]
|
|
16179
|
-
* @param {number} [limit]
|
|
16180
|
-
* @param {Date} [lastRetrieved]
|
|
16181
|
-
* @param {*} [options] Override http request option.
|
|
16182
|
-
* @throws {RequiredError}
|
|
16183
|
-
*/
|
|
16184
|
-
apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16185
|
-
return localVarFp.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16186
|
-
},
|
|
16187
|
-
/**
|
|
16188
|
-
*
|
|
16189
|
-
* @param {string} [searchTerm]
|
|
16190
|
-
* @param {boolean} [countOnly]
|
|
16191
|
-
* @param {string} [countryId]
|
|
16192
|
-
* @param {string} [hospitalId]
|
|
16193
|
-
* @param {MarketingType} [marketingType]
|
|
16194
|
-
* @param {string} [languageCode]
|
|
16195
|
-
* @param {number} [page]
|
|
16196
|
-
* @param {number} [limit]
|
|
16197
|
-
* @param {Date} [lastRetrieved]
|
|
16198
|
-
* @param {*} [options] Override http request option.
|
|
16199
|
-
* @throws {RequiredError}
|
|
16200
|
-
*/
|
|
16201
|
-
apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16202
|
-
return localVarFp.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16203
|
-
},
|
|
16204
|
-
/**
|
|
16205
|
-
*
|
|
16206
|
-
* @param {string} [searchTerm]
|
|
16207
|
-
* @param {boolean} [countOnly]
|
|
16208
|
-
* @param {string} [countryId]
|
|
16209
|
-
* @param {string} [hospitalId]
|
|
16210
|
-
* @param {MarketingType} [marketingType]
|
|
16211
|
-
* @param {string} [languageCode]
|
|
16212
|
-
* @param {number} [page]
|
|
16213
|
-
* @param {number} [limit]
|
|
16214
|
-
* @param {Date} [lastRetrieved]
|
|
16215
|
-
* @param {*} [options] Override http request option.
|
|
16216
|
-
* @throws {RequiredError}
|
|
16217
|
-
*/
|
|
16218
|
-
apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16219
|
-
return localVarFp.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16220
|
-
},
|
|
16221
|
-
/**
|
|
16222
|
-
*
|
|
16223
|
-
* @param {string} keyword
|
|
16224
|
-
* @param {boolean} [fuzzy]
|
|
16225
|
-
* @param {boolean} [highlights]
|
|
16226
|
-
* @param {number} [size]
|
|
16227
|
-
* @param {*} [options] Override http request option.
|
|
16228
|
-
* @throws {RequiredError}
|
|
16229
|
-
*/
|
|
16230
|
-
apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
|
|
16231
|
-
return localVarFp.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then(function (request) { return request(axios, basePath); });
|
|
16232
|
-
},
|
|
16233
|
-
};
|
|
16234
|
-
};
|
|
16235
|
-
exports.SearchApiFactory = SearchApiFactory;
|
|
16236
|
-
/**
|
|
16237
|
-
* SearchApi - object-oriented interface
|
|
16238
|
-
* @export
|
|
16239
|
-
* @class SearchApi
|
|
16240
|
-
* @extends {BaseAPI}
|
|
16241
|
-
*/
|
|
16242
|
-
var SearchApi = /** @class */ (function (_super) {
|
|
16243
|
-
__extends(SearchApi, _super);
|
|
16244
|
-
function SearchApi() {
|
|
16245
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
16246
|
-
}
|
|
16247
|
-
/**
|
|
16248
|
-
*
|
|
16249
|
-
* @param {string} keyword
|
|
16250
|
-
* @param {AutocompleteMode} [mode]
|
|
16251
|
-
* @param {boolean} [fuzzy]
|
|
16252
|
-
* @param {boolean} [highlights]
|
|
16253
|
-
* @param {number} [size]
|
|
16254
|
-
* @param {number} [minimumCoverage]
|
|
16255
|
-
* @param {*} [options] Override http request option.
|
|
16256
|
-
* @throws {RequiredError}
|
|
16257
|
-
* @memberof SearchApi
|
|
16258
|
-
*/
|
|
16259
|
-
SearchApi.prototype.apiV2SearchAutocompleteGet = function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
16260
|
-
var _this = this;
|
|
16261
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16262
|
-
};
|
|
16263
|
-
/**
|
|
16264
|
-
*
|
|
16265
|
-
* @param {string} [searchTerm]
|
|
16266
|
-
* @param {boolean} [countOnly]
|
|
16267
|
-
* @param {string} [countryId]
|
|
16268
|
-
* @param {string} [hospitalId]
|
|
16269
|
-
* @param {MarketingType} [marketingType]
|
|
16270
|
-
* @param {string} [languageCode]
|
|
16271
|
-
* @param {number} [page]
|
|
16272
|
-
* @param {number} [limit]
|
|
16273
|
-
* @param {Date} [lastRetrieved]
|
|
16274
|
-
* @param {*} [options] Override http request option.
|
|
16275
|
-
* @throws {RequiredError}
|
|
16276
|
-
* @memberof SearchApi
|
|
16277
|
-
*/
|
|
16278
|
-
SearchApi.prototype.apiV2SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16279
|
-
var _this = this;
|
|
16280
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16281
|
-
};
|
|
16282
|
-
/**
|
|
16283
|
-
*
|
|
16284
|
-
* @param {string} [searchTerm]
|
|
16285
|
-
* @param {boolean} [countOnly]
|
|
16286
|
-
* @param {string} [countryId]
|
|
16287
|
-
* @param {string} [hospitalId]
|
|
16288
|
-
* @param {MarketingType} [marketingType]
|
|
16289
|
-
* @param {string} [languageCode]
|
|
16290
|
-
* @param {number} [page]
|
|
16291
|
-
* @param {number} [limit]
|
|
16292
|
-
* @param {Date} [lastRetrieved]
|
|
16293
|
-
* @param {*} [options] Override http request option.
|
|
16294
|
-
* @throws {RequiredError}
|
|
16295
|
-
* @memberof SearchApi
|
|
16296
|
-
*/
|
|
16297
|
-
SearchApi.prototype.apiV2SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16298
|
-
var _this = this;
|
|
16299
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16300
|
-
};
|
|
16301
|
-
/**
|
|
16302
|
-
*
|
|
16303
|
-
* @param {string} [searchTerm]
|
|
16304
|
-
* @param {boolean} [countOnly]
|
|
16305
|
-
* @param {string} [countryId]
|
|
16306
|
-
* @param {string} [hospitalId]
|
|
16307
|
-
* @param {MarketingType} [marketingType]
|
|
16308
|
-
* @param {string} [languageCode]
|
|
16309
|
-
* @param {number} [page]
|
|
16310
|
-
* @param {number} [limit]
|
|
16311
|
-
* @param {Date} [lastRetrieved]
|
|
16312
|
-
* @param {*} [options] Override http request option.
|
|
16313
|
-
* @throws {RequiredError}
|
|
16314
|
-
* @memberof SearchApi
|
|
16315
|
-
*/
|
|
16316
|
-
SearchApi.prototype.apiV2SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16317
|
-
var _this = this;
|
|
16318
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16319
|
-
};
|
|
16320
|
-
/**
|
|
16321
|
-
*
|
|
16322
|
-
* @param {string} [searchTerm]
|
|
16323
|
-
* @param {boolean} [countOnly]
|
|
16324
|
-
* @param {string} [countryId]
|
|
16325
|
-
* @param {string} [hospitalId]
|
|
16326
|
-
* @param {MarketingType} [marketingType]
|
|
16327
|
-
* @param {string} [languageCode]
|
|
16328
|
-
* @param {number} [page]
|
|
16329
|
-
* @param {number} [limit]
|
|
16330
|
-
* @param {Date} [lastRetrieved]
|
|
16331
|
-
* @param {*} [options] Override http request option.
|
|
16332
|
-
* @throws {RequiredError}
|
|
16333
|
-
* @memberof SearchApi
|
|
16334
|
-
*/
|
|
16335
|
-
SearchApi.prototype.apiV2SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16336
|
-
var _this = this;
|
|
16337
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16338
|
-
};
|
|
16339
|
-
/**
|
|
16340
|
-
*
|
|
16341
|
-
* @param {string} [searchTerm]
|
|
16342
|
-
* @param {boolean} [countOnly]
|
|
16343
|
-
* @param {string} [countryId]
|
|
16344
|
-
* @param {string} [hospitalId]
|
|
16345
|
-
* @param {MarketingType} [marketingType]
|
|
16346
|
-
* @param {string} [languageCode]
|
|
16347
|
-
* @param {number} [page]
|
|
16348
|
-
* @param {number} [limit]
|
|
16349
|
-
* @param {Date} [lastRetrieved]
|
|
16350
|
-
* @param {*} [options] Override http request option.
|
|
16351
|
-
* @throws {RequiredError}
|
|
16352
|
-
* @memberof SearchApi
|
|
16353
|
-
*/
|
|
16354
|
-
SearchApi.prototype.apiV2SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16355
|
-
var _this = this;
|
|
16356
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16357
|
-
};
|
|
16358
|
-
/**
|
|
16359
|
-
*
|
|
16360
|
-
* @param {string} [searchTerm]
|
|
16361
|
-
* @param {boolean} [countOnly]
|
|
16362
|
-
* @param {string} [countryId]
|
|
16363
|
-
* @param {string} [hospitalId]
|
|
16364
|
-
* @param {MarketingType} [marketingType]
|
|
16365
|
-
* @param {string} [languageCode]
|
|
16366
|
-
* @param {number} [page]
|
|
16367
|
-
* @param {number} [limit]
|
|
16368
|
-
* @param {Date} [lastRetrieved]
|
|
16369
|
-
* @param {*} [options] Override http request option.
|
|
16370
|
-
* @throws {RequiredError}
|
|
16371
|
-
* @memberof SearchApi
|
|
16372
|
-
*/
|
|
16373
|
-
SearchApi.prototype.apiV2SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16374
|
-
var _this = this;
|
|
16375
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16376
|
-
};
|
|
16377
|
-
/**
|
|
16378
|
-
*
|
|
16379
|
-
* @param {string} keyword
|
|
16380
|
-
* @param {boolean} [fuzzy]
|
|
16381
|
-
* @param {boolean} [highlights]
|
|
16382
|
-
* @param {number} [size]
|
|
16383
|
-
* @param {*} [options] Override http request option.
|
|
16384
|
-
* @throws {RequiredError}
|
|
16385
|
-
* @memberof SearchApi
|
|
16386
|
-
*/
|
|
16387
|
-
SearchApi.prototype.apiV2SearchSuggestGet = function (keyword, fuzzy, highlights, size, options) {
|
|
16388
|
-
var _this = this;
|
|
16389
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16390
|
-
};
|
|
16391
|
-
return SearchApi;
|
|
16392
|
-
}(base_1.BaseAPI));
|
|
16393
|
-
exports.SearchApi = SearchApi;
|
|
16394
15349
|
/**
|
|
16395
15350
|
* ServiceReviewsApi - axios parameter creator
|
|
16396
15351
|
* @export
|