ch-admin-api-client-typescript 2.7.3 → 2.7.8
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 +1044 -157
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1498 -160
- package/package.json +1 -1
- package/src/api.ts +1691 -154
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
|
*
|
|
@@ -16690,7 +16697,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16690
16697
|
* @summary Get all Hospitals.
|
|
16691
16698
|
* @param {string} [hospitalId]
|
|
16692
16699
|
* @param {string} [name]
|
|
16693
|
-
* @param {string} [description]
|
|
16694
16700
|
* @param {string} [countryId]
|
|
16695
16701
|
* @param {Date} [created]
|
|
16696
16702
|
* @param {MarketingType} [marketingType]
|
|
@@ -16708,7 +16714,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16708
16714
|
* @param {*} [options] Override http request option.
|
|
16709
16715
|
* @throws {RequiredError}
|
|
16710
16716
|
*/
|
|
16711
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
16717
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16712
16718
|
if (options === void 0) { options = {}; }
|
|
16713
16719
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16714
16720
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16736,9 +16742,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16736
16742
|
if (name !== undefined) {
|
|
16737
16743
|
localVarQueryParameter['Name'] = name;
|
|
16738
16744
|
}
|
|
16739
|
-
if (description !== undefined) {
|
|
16740
|
-
localVarQueryParameter['Description'] = description;
|
|
16741
|
-
}
|
|
16742
16745
|
if (countryId !== undefined) {
|
|
16743
16746
|
localVarQueryParameter['CountryId'] = countryId;
|
|
16744
16747
|
}
|
|
@@ -18217,15 +18220,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18217
18220
|
* @param {string} [specialtyId]
|
|
18218
18221
|
* @param {string} [specialtyName]
|
|
18219
18222
|
* @param {string} [specialtyTypeId]
|
|
18223
|
+
* @param {string} [title]
|
|
18220
18224
|
* @param {MarketingType} [marketingType]
|
|
18221
|
-
* @param {
|
|
18225
|
+
* @param {string} [languageCode]
|
|
18226
|
+
* @param {boolean} [showHidden]
|
|
18227
|
+
* @param {boolean} [returnDefaultValue]
|
|
18222
18228
|
* @param {number} [page]
|
|
18223
18229
|
* @param {number} [limit]
|
|
18224
18230
|
* @param {Date} [lastRetrieved]
|
|
18225
18231
|
* @param {*} [options] Override http request option.
|
|
18226
18232
|
* @throws {RequiredError}
|
|
18227
18233
|
*/
|
|
18228
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
18234
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18229
18235
|
if (options === void 0) { options = {}; }
|
|
18230
18236
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18231
18237
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18265,13 +18271,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18265
18271
|
if (specialtyTypeId !== undefined) {
|
|
18266
18272
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18267
18273
|
}
|
|
18274
|
+
if (title !== undefined) {
|
|
18275
|
+
localVarQueryParameter['Title'] = title;
|
|
18276
|
+
}
|
|
18268
18277
|
if (marketingType !== undefined) {
|
|
18269
18278
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18270
18279
|
}
|
|
18271
|
-
if (
|
|
18272
|
-
localVarQueryParameter['
|
|
18273
|
-
|
|
18274
|
-
|
|
18280
|
+
if (languageCode !== undefined) {
|
|
18281
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18282
|
+
}
|
|
18283
|
+
if (showHidden !== undefined) {
|
|
18284
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18285
|
+
}
|
|
18286
|
+
if (returnDefaultValue !== undefined) {
|
|
18287
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18275
18288
|
}
|
|
18276
18289
|
if (page !== undefined) {
|
|
18277
18290
|
localVarQueryParameter['page'] = page;
|
|
@@ -18393,10 +18406,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18393
18406
|
* @summary Get HospitalSpecialty.
|
|
18394
18407
|
* @param {string} hospitalId
|
|
18395
18408
|
* @param {string} specialtyId
|
|
18409
|
+
* @param {string} [languageCode]
|
|
18410
|
+
* @param {boolean} [returnDefaultValue]
|
|
18396
18411
|
* @param {*} [options] Override http request option.
|
|
18397
18412
|
* @throws {RequiredError}
|
|
18398
18413
|
*/
|
|
18399
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
18414
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
18400
18415
|
if (options === void 0) { options = {}; }
|
|
18401
18416
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18402
18417
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18424,6 +18439,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18424
18439
|
// authentication oauth2 required
|
|
18425
18440
|
// oauth required
|
|
18426
18441
|
_a.sent();
|
|
18442
|
+
if (languageCode !== undefined) {
|
|
18443
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
18444
|
+
}
|
|
18445
|
+
if (returnDefaultValue !== undefined) {
|
|
18446
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18447
|
+
}
|
|
18427
18448
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18428
18449
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18429
18450
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19158,7 +19179,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19158
19179
|
* @summary Get all Hospitals.
|
|
19159
19180
|
* @param {string} [hospitalId]
|
|
19160
19181
|
* @param {string} [name]
|
|
19161
|
-
* @param {string} [description]
|
|
19162
19182
|
* @param {string} [countryId]
|
|
19163
19183
|
* @param {Date} [created]
|
|
19164
19184
|
* @param {MarketingType} [marketingType]
|
|
@@ -19176,7 +19196,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19176
19196
|
* @param {*} [options] Override http request option.
|
|
19177
19197
|
* @throws {RequiredError}
|
|
19178
19198
|
*/
|
|
19179
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
19199
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19180
19200
|
if (options === void 0) { options = {}; }
|
|
19181
19201
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19182
19202
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19204,9 +19224,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19204
19224
|
if (name !== undefined) {
|
|
19205
19225
|
localVarQueryParameter['Name'] = name;
|
|
19206
19226
|
}
|
|
19207
|
-
if (description !== undefined) {
|
|
19208
|
-
localVarQueryParameter['Description'] = description;
|
|
19209
|
-
}
|
|
19210
19227
|
if (countryId !== undefined) {
|
|
19211
19228
|
localVarQueryParameter['CountryId'] = countryId;
|
|
19212
19229
|
}
|
|
@@ -19328,7 +19345,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19328
19345
|
* @summary Get all Hospitals.
|
|
19329
19346
|
* @param {string} [hospitalId]
|
|
19330
19347
|
* @param {string} [name]
|
|
19331
|
-
* @param {string} [description]
|
|
19332
19348
|
* @param {string} [countryId]
|
|
19333
19349
|
* @param {Date} [created]
|
|
19334
19350
|
* @param {MarketingType} [marketingType]
|
|
@@ -19346,12 +19362,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19346
19362
|
* @param {*} [options] Override http request option.
|
|
19347
19363
|
* @throws {RequiredError}
|
|
19348
19364
|
*/
|
|
19349
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
19365
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19350
19366
|
return __awaiter(this, void 0, void 0, function () {
|
|
19351
19367
|
var localVarAxiosArgs;
|
|
19352
19368
|
return __generator(this, function (_a) {
|
|
19353
19369
|
switch (_a.label) {
|
|
19354
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name,
|
|
19370
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19355
19371
|
case 1:
|
|
19356
19372
|
localVarAxiosArgs = _a.sent();
|
|
19357
19373
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19970,20 +19986,23 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19970
19986
|
* @param {string} [specialtyId]
|
|
19971
19987
|
* @param {string} [specialtyName]
|
|
19972
19988
|
* @param {string} [specialtyTypeId]
|
|
19989
|
+
* @param {string} [title]
|
|
19973
19990
|
* @param {MarketingType} [marketingType]
|
|
19974
|
-
* @param {
|
|
19991
|
+
* @param {string} [languageCode]
|
|
19992
|
+
* @param {boolean} [showHidden]
|
|
19993
|
+
* @param {boolean} [returnDefaultValue]
|
|
19975
19994
|
* @param {number} [page]
|
|
19976
19995
|
* @param {number} [limit]
|
|
19977
19996
|
* @param {Date} [lastRetrieved]
|
|
19978
19997
|
* @param {*} [options] Override http request option.
|
|
19979
19998
|
* @throws {RequiredError}
|
|
19980
19999
|
*/
|
|
19981
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20000
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19982
20001
|
return __awaiter(this, void 0, void 0, function () {
|
|
19983
20002
|
var localVarAxiosArgs;
|
|
19984
20003
|
return __generator(this, function (_a) {
|
|
19985
20004
|
switch (_a.label) {
|
|
19986
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20005
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19987
20006
|
case 1:
|
|
19988
20007
|
localVarAxiosArgs = _a.sent();
|
|
19989
20008
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20038,15 +20057,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20038
20057
|
* @summary Get HospitalSpecialty.
|
|
20039
20058
|
* @param {string} hospitalId
|
|
20040
20059
|
* @param {string} specialtyId
|
|
20060
|
+
* @param {string} [languageCode]
|
|
20061
|
+
* @param {boolean} [returnDefaultValue]
|
|
20041
20062
|
* @param {*} [options] Override http request option.
|
|
20042
20063
|
* @throws {RequiredError}
|
|
20043
20064
|
*/
|
|
20044
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
20065
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20045
20066
|
return __awaiter(this, void 0, void 0, function () {
|
|
20046
20067
|
var localVarAxiosArgs;
|
|
20047
20068
|
return __generator(this, function (_a) {
|
|
20048
20069
|
switch (_a.label) {
|
|
20049
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
20070
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
20050
20071
|
case 1:
|
|
20051
20072
|
localVarAxiosArgs = _a.sent();
|
|
20052
20073
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20348,7 +20369,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20348
20369
|
* @summary Get all Hospitals.
|
|
20349
20370
|
* @param {string} [hospitalId]
|
|
20350
20371
|
* @param {string} [name]
|
|
20351
|
-
* @param {string} [description]
|
|
20352
20372
|
* @param {string} [countryId]
|
|
20353
20373
|
* @param {Date} [created]
|
|
20354
20374
|
* @param {MarketingType} [marketingType]
|
|
@@ -20366,12 +20386,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20366
20386
|
* @param {*} [options] Override http request option.
|
|
20367
20387
|
* @throws {RequiredError}
|
|
20368
20388
|
*/
|
|
20369
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
20389
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20370
20390
|
return __awaiter(this, void 0, void 0, function () {
|
|
20371
20391
|
var localVarAxiosArgs;
|
|
20372
20392
|
return __generator(this, function (_a) {
|
|
20373
20393
|
switch (_a.label) {
|
|
20374
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
20394
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
20375
20395
|
case 1:
|
|
20376
20396
|
localVarAxiosArgs = _a.sent();
|
|
20377
20397
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20414,7 +20434,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20414
20434
|
* @summary Get all Hospitals.
|
|
20415
20435
|
* @param {string} [hospitalId]
|
|
20416
20436
|
* @param {string} [name]
|
|
20417
|
-
* @param {string} [description]
|
|
20418
20437
|
* @param {string} [countryId]
|
|
20419
20438
|
* @param {Date} [created]
|
|
20420
20439
|
* @param {MarketingType} [marketingType]
|
|
@@ -20432,8 +20451,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20432
20451
|
* @param {*} [options] Override http request option.
|
|
20433
20452
|
* @throws {RequiredError}
|
|
20434
20453
|
*/
|
|
20435
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
20436
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name,
|
|
20454
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20455
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20437
20456
|
},
|
|
20438
20457
|
/**
|
|
20439
20458
|
*
|
|
@@ -20776,16 +20795,19 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20776
20795
|
* @param {string} [specialtyId]
|
|
20777
20796
|
* @param {string} [specialtyName]
|
|
20778
20797
|
* @param {string} [specialtyTypeId]
|
|
20798
|
+
* @param {string} [title]
|
|
20779
20799
|
* @param {MarketingType} [marketingType]
|
|
20780
|
-
* @param {
|
|
20800
|
+
* @param {string} [languageCode]
|
|
20801
|
+
* @param {boolean} [showHidden]
|
|
20802
|
+
* @param {boolean} [returnDefaultValue]
|
|
20781
20803
|
* @param {number} [page]
|
|
20782
20804
|
* @param {number} [limit]
|
|
20783
20805
|
* @param {Date} [lastRetrieved]
|
|
20784
20806
|
* @param {*} [options] Override http request option.
|
|
20785
20807
|
* @throws {RequiredError}
|
|
20786
20808
|
*/
|
|
20787
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20788
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20809
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20810
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20789
20811
|
},
|
|
20790
20812
|
/**
|
|
20791
20813
|
*
|
|
@@ -20814,11 +20836,13 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20814
20836
|
* @summary Get HospitalSpecialty.
|
|
20815
20837
|
* @param {string} hospitalId
|
|
20816
20838
|
* @param {string} specialtyId
|
|
20839
|
+
* @param {string} [languageCode]
|
|
20840
|
+
* @param {boolean} [returnDefaultValue]
|
|
20817
20841
|
* @param {*} [options] Override http request option.
|
|
20818
20842
|
* @throws {RequiredError}
|
|
20819
20843
|
*/
|
|
20820
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
20821
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
20844
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20845
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20822
20846
|
},
|
|
20823
20847
|
/**
|
|
20824
20848
|
*
|
|
@@ -20994,7 +21018,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20994
21018
|
* @summary Get all Hospitals.
|
|
20995
21019
|
* @param {string} [hospitalId]
|
|
20996
21020
|
* @param {string} [name]
|
|
20997
|
-
* @param {string} [description]
|
|
20998
21021
|
* @param {string} [countryId]
|
|
20999
21022
|
* @param {Date} [created]
|
|
21000
21023
|
* @param {MarketingType} [marketingType]
|
|
@@ -21012,8 +21035,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21012
21035
|
* @param {*} [options] Override http request option.
|
|
21013
21036
|
* @throws {RequiredError}
|
|
21014
21037
|
*/
|
|
21015
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
21016
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
21038
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21039
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
21017
21040
|
},
|
|
21018
21041
|
/**
|
|
21019
21042
|
*
|
|
@@ -21044,7 +21067,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21044
21067
|
* @summary Get all Hospitals.
|
|
21045
21068
|
* @param {string} [hospitalId]
|
|
21046
21069
|
* @param {string} [name]
|
|
21047
|
-
* @param {string} [description]
|
|
21048
21070
|
* @param {string} [countryId]
|
|
21049
21071
|
* @param {Date} [created]
|
|
21050
21072
|
* @param {MarketingType} [marketingType]
|
|
@@ -21063,9 +21085,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21063
21085
|
* @throws {RequiredError}
|
|
21064
21086
|
* @memberof HospitalsApi
|
|
21065
21087
|
*/
|
|
21066
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name,
|
|
21088
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21067
21089
|
var _this = this;
|
|
21068
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name,
|
|
21090
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21069
21091
|
};
|
|
21070
21092
|
/**
|
|
21071
21093
|
*
|
|
@@ -21462,8 +21484,11 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21462
21484
|
* @param {string} [specialtyId]
|
|
21463
21485
|
* @param {string} [specialtyName]
|
|
21464
21486
|
* @param {string} [specialtyTypeId]
|
|
21487
|
+
* @param {string} [title]
|
|
21465
21488
|
* @param {MarketingType} [marketingType]
|
|
21466
|
-
* @param {
|
|
21489
|
+
* @param {string} [languageCode]
|
|
21490
|
+
* @param {boolean} [showHidden]
|
|
21491
|
+
* @param {boolean} [returnDefaultValue]
|
|
21467
21492
|
* @param {number} [page]
|
|
21468
21493
|
* @param {number} [limit]
|
|
21469
21494
|
* @param {Date} [lastRetrieved]
|
|
@@ -21471,9 +21496,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21471
21496
|
* @throws {RequiredError}
|
|
21472
21497
|
* @memberof HospitalsApi
|
|
21473
21498
|
*/
|
|
21474
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
21499
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21475
21500
|
var _this = this;
|
|
21476
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
21501
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21477
21502
|
};
|
|
21478
21503
|
/**
|
|
21479
21504
|
*
|
|
@@ -21506,13 +21531,15 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21506
21531
|
* @summary Get HospitalSpecialty.
|
|
21507
21532
|
* @param {string} hospitalId
|
|
21508
21533
|
* @param {string} specialtyId
|
|
21534
|
+
* @param {string} [languageCode]
|
|
21535
|
+
* @param {boolean} [returnDefaultValue]
|
|
21509
21536
|
* @param {*} [options] Override http request option.
|
|
21510
21537
|
* @throws {RequiredError}
|
|
21511
21538
|
* @memberof HospitalsApi
|
|
21512
21539
|
*/
|
|
21513
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
21540
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21514
21541
|
var _this = this;
|
|
21515
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21542
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21516
21543
|
};
|
|
21517
21544
|
/**
|
|
21518
21545
|
*
|
|
@@ -21712,7 +21739,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21712
21739
|
* @summary Get all Hospitals.
|
|
21713
21740
|
* @param {string} [hospitalId]
|
|
21714
21741
|
* @param {string} [name]
|
|
21715
|
-
* @param {string} [description]
|
|
21716
21742
|
* @param {string} [countryId]
|
|
21717
21743
|
* @param {Date} [created]
|
|
21718
21744
|
* @param {MarketingType} [marketingType]
|
|
@@ -21731,9 +21757,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21731
21757
|
* @throws {RequiredError}
|
|
21732
21758
|
* @memberof HospitalsApi
|
|
21733
21759
|
*/
|
|
21734
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name,
|
|
21760
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21735
21761
|
var _this = this;
|
|
21736
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name,
|
|
21762
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21737
21763
|
};
|
|
21738
21764
|
/**
|
|
21739
21765
|
*
|
|
@@ -26003,36 +26029,35 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
26003
26029
|
}(base_1.BaseAPI));
|
|
26004
26030
|
exports.ProfilesApi = ProfilesApi;
|
|
26005
26031
|
/**
|
|
26006
|
-
*
|
|
26032
|
+
* SearchApi - axios parameter creator
|
|
26007
26033
|
* @export
|
|
26008
26034
|
*/
|
|
26009
|
-
exports.
|
|
26035
|
+
exports.SearchApiAxiosParamCreator = function (configuration) {
|
|
26010
26036
|
var _this = this;
|
|
26011
26037
|
return {
|
|
26012
26038
|
/**
|
|
26013
26039
|
*
|
|
26014
|
-
* @summary
|
|
26015
|
-
* @param {string} [
|
|
26016
|
-
* @param {
|
|
26017
|
-
* @param {string} [
|
|
26018
|
-
* @param {string} [
|
|
26019
|
-
* @param {
|
|
26020
|
-
* @param {
|
|
26021
|
-
* @param {ReviewType} [reviewType]
|
|
26040
|
+
* @summary Search deals using Azure Search Service
|
|
26041
|
+
* @param {string} [searchTerm]
|
|
26042
|
+
* @param {boolean} [countOnly]
|
|
26043
|
+
* @param {string} [countryId]
|
|
26044
|
+
* @param {string} [hospitalId]
|
|
26045
|
+
* @param {MarketingType} [marketingType]
|
|
26046
|
+
* @param {string} [languageCode]
|
|
26022
26047
|
* @param {number} [page]
|
|
26023
26048
|
* @param {number} [limit]
|
|
26024
26049
|
* @param {Date} [lastRetrieved]
|
|
26025
26050
|
* @param {*} [options] Override http request option.
|
|
26026
26051
|
* @throws {RequiredError}
|
|
26027
26052
|
*/
|
|
26028
|
-
|
|
26053
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26029
26054
|
if (options === void 0) { options = {}; }
|
|
26030
26055
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26031
26056
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26032
26057
|
return __generator(this, function (_a) {
|
|
26033
26058
|
switch (_a.label) {
|
|
26034
26059
|
case 0:
|
|
26035
|
-
localVarPath = "/api/v1/
|
|
26060
|
+
localVarPath = "/api/v1/search/deals";
|
|
26036
26061
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26037
26062
|
if (configuration) {
|
|
26038
26063
|
baseOptions = configuration.baseOptions;
|
|
@@ -26047,26 +26072,23 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26047
26072
|
// authentication oauth2 required
|
|
26048
26073
|
// oauth required
|
|
26049
26074
|
_a.sent();
|
|
26050
|
-
if (
|
|
26051
|
-
localVarQueryParameter['
|
|
26075
|
+
if (searchTerm !== undefined) {
|
|
26076
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26052
26077
|
}
|
|
26053
|
-
if (
|
|
26054
|
-
localVarQueryParameter['
|
|
26055
|
-
}
|
|
26056
|
-
if (patientId !== undefined) {
|
|
26057
|
-
localVarQueryParameter['PatientId'] = patientId;
|
|
26078
|
+
if (countOnly !== undefined) {
|
|
26079
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26058
26080
|
}
|
|
26059
|
-
if (
|
|
26060
|
-
localVarQueryParameter['
|
|
26081
|
+
if (countryId !== undefined) {
|
|
26082
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26061
26083
|
}
|
|
26062
|
-
if (
|
|
26063
|
-
localVarQueryParameter['
|
|
26084
|
+
if (hospitalId !== undefined) {
|
|
26085
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26064
26086
|
}
|
|
26065
|
-
if (
|
|
26066
|
-
localVarQueryParameter['
|
|
26087
|
+
if (marketingType !== undefined) {
|
|
26088
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26067
26089
|
}
|
|
26068
|
-
if (
|
|
26069
|
-
localVarQueryParameter['
|
|
26090
|
+
if (languageCode !== undefined) {
|
|
26091
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26070
26092
|
}
|
|
26071
26093
|
if (page !== undefined) {
|
|
26072
26094
|
localVarQueryParameter['page'] = page;
|
|
@@ -26092,19 +26114,19 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26092
26114
|
},
|
|
26093
26115
|
/**
|
|
26094
26116
|
*
|
|
26095
|
-
* @summary
|
|
26096
|
-
* @param {
|
|
26117
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
26118
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
26097
26119
|
* @param {*} [options] Override http request option.
|
|
26098
26120
|
* @throws {RequiredError}
|
|
26099
26121
|
*/
|
|
26100
|
-
|
|
26122
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
26101
26123
|
if (options === void 0) { options = {}; }
|
|
26102
26124
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26103
26125
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26104
26126
|
return __generator(this, function (_a) {
|
|
26105
26127
|
switch (_a.label) {
|
|
26106
26128
|
case 0:
|
|
26107
|
-
localVarPath = "/api/v1/
|
|
26129
|
+
localVarPath = "/api/v1/search/deals";
|
|
26108
26130
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26109
26131
|
if (configuration) {
|
|
26110
26132
|
baseOptions = configuration.baseOptions;
|
|
@@ -26123,7 +26145,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26123
26145
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26124
26146
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26125
26147
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26126
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
26148
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDealsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26127
26149
|
return [2 /*return*/, {
|
|
26128
26150
|
url: common_1.toPathString(localVarUrlObj),
|
|
26129
26151
|
options: localVarRequestOptions,
|
|
@@ -26134,27 +26156,32 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26134
26156
|
},
|
|
26135
26157
|
/**
|
|
26136
26158
|
*
|
|
26137
|
-
* @summary
|
|
26138
|
-
* @param {string}
|
|
26159
|
+
* @summary Search doctors using Azure Search Services
|
|
26160
|
+
* @param {string} [searchTerm]
|
|
26161
|
+
* @param {boolean} [countOnly]
|
|
26162
|
+
* @param {string} [countryId]
|
|
26163
|
+
* @param {string} [hospitalId]
|
|
26164
|
+
* @param {MarketingType} [marketingType]
|
|
26165
|
+
* @param {string} [languageCode]
|
|
26166
|
+
* @param {number} [page]
|
|
26167
|
+
* @param {number} [limit]
|
|
26168
|
+
* @param {Date} [lastRetrieved]
|
|
26139
26169
|
* @param {*} [options] Override http request option.
|
|
26140
26170
|
* @throws {RequiredError}
|
|
26141
26171
|
*/
|
|
26142
|
-
|
|
26172
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26143
26173
|
if (options === void 0) { options = {}; }
|
|
26144
26174
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26145
26175
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26146
26176
|
return __generator(this, function (_a) {
|
|
26147
26177
|
switch (_a.label) {
|
|
26148
26178
|
case 0:
|
|
26149
|
-
|
|
26150
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26151
|
-
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26152
|
-
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26179
|
+
localVarPath = "/api/v1/search/doctors";
|
|
26153
26180
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26154
26181
|
if (configuration) {
|
|
26155
26182
|
baseOptions = configuration.baseOptions;
|
|
26156
26183
|
}
|
|
26157
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
26184
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26158
26185
|
localVarHeaderParameter = {};
|
|
26159
26186
|
localVarQueryParameter = {};
|
|
26160
26187
|
// authentication oauth2 required
|
|
@@ -26164,6 +26191,35 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26164
26191
|
// authentication oauth2 required
|
|
26165
26192
|
// oauth required
|
|
26166
26193
|
_a.sent();
|
|
26194
|
+
if (searchTerm !== undefined) {
|
|
26195
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26196
|
+
}
|
|
26197
|
+
if (countOnly !== undefined) {
|
|
26198
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26199
|
+
}
|
|
26200
|
+
if (countryId !== undefined) {
|
|
26201
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26202
|
+
}
|
|
26203
|
+
if (hospitalId !== undefined) {
|
|
26204
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26205
|
+
}
|
|
26206
|
+
if (marketingType !== undefined) {
|
|
26207
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26208
|
+
}
|
|
26209
|
+
if (languageCode !== undefined) {
|
|
26210
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26211
|
+
}
|
|
26212
|
+
if (page !== undefined) {
|
|
26213
|
+
localVarQueryParameter['page'] = page;
|
|
26214
|
+
}
|
|
26215
|
+
if (limit !== undefined) {
|
|
26216
|
+
localVarQueryParameter['limit'] = limit;
|
|
26217
|
+
}
|
|
26218
|
+
if (lastRetrieved !== undefined) {
|
|
26219
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26220
|
+
lastRetrieved.toISOString() :
|
|
26221
|
+
lastRetrieved;
|
|
26222
|
+
}
|
|
26167
26223
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26168
26224
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26169
26225
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26177,26 +26233,24 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26177
26233
|
},
|
|
26178
26234
|
/**
|
|
26179
26235
|
*
|
|
26180
|
-
* @
|
|
26236
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
26237
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
26181
26238
|
* @param {*} [options] Override http request option.
|
|
26182
26239
|
* @throws {RequiredError}
|
|
26183
26240
|
*/
|
|
26184
|
-
|
|
26241
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
26185
26242
|
if (options === void 0) { options = {}; }
|
|
26186
26243
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26187
26244
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26188
26245
|
return __generator(this, function (_a) {
|
|
26189
26246
|
switch (_a.label) {
|
|
26190
26247
|
case 0:
|
|
26191
|
-
|
|
26192
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
26193
|
-
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26194
|
-
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26248
|
+
localVarPath = "/api/v1/search/doctors";
|
|
26195
26249
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26196
26250
|
if (configuration) {
|
|
26197
26251
|
baseOptions = configuration.baseOptions;
|
|
26198
26252
|
}
|
|
26199
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
26253
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26200
26254
|
localVarHeaderParameter = {};
|
|
26201
26255
|
localVarQueryParameter = {};
|
|
26202
26256
|
// authentication oauth2 required
|
|
@@ -26206,9 +26260,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26206
26260
|
// authentication oauth2 required
|
|
26207
26261
|
// oauth required
|
|
26208
26262
|
_a.sent();
|
|
26263
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26209
26264
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26210
26265
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26211
26266
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26267
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26212
26268
|
return [2 /*return*/, {
|
|
26213
26269
|
url: common_1.toPathString(localVarUrlObj),
|
|
26214
26270
|
options: localVarRequestOptions,
|
|
@@ -26219,27 +26275,27 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26219
26275
|
},
|
|
26220
26276
|
/**
|
|
26221
26277
|
*
|
|
26222
|
-
* @summary Get
|
|
26223
|
-
* @param {string}
|
|
26224
|
-
* @param {
|
|
26225
|
-
* @param {
|
|
26278
|
+
* @summary Get the number of items in each search index
|
|
26279
|
+
* @param {string} [searchTerm]
|
|
26280
|
+
* @param {boolean} [countOnly]
|
|
26281
|
+
* @param {string} [countryId]
|
|
26282
|
+
* @param {string} [hospitalId]
|
|
26283
|
+
* @param {MarketingType} [marketingType]
|
|
26284
|
+
* @param {string} [languageCode]
|
|
26226
26285
|
* @param {number} [page]
|
|
26227
26286
|
* @param {number} [limit]
|
|
26228
26287
|
* @param {Date} [lastRetrieved]
|
|
26229
26288
|
* @param {*} [options] Override http request option.
|
|
26230
26289
|
* @throws {RequiredError}
|
|
26231
26290
|
*/
|
|
26232
|
-
|
|
26291
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26233
26292
|
if (options === void 0) { options = {}; }
|
|
26234
26293
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26235
26294
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26236
26295
|
return __generator(this, function (_a) {
|
|
26237
26296
|
switch (_a.label) {
|
|
26238
26297
|
case 0:
|
|
26239
|
-
|
|
26240
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
26241
|
-
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
26242
|
-
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26298
|
+
localVarPath = "/api/v1/search/getcount";
|
|
26243
26299
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26244
26300
|
if (configuration) {
|
|
26245
26301
|
baseOptions = configuration.baseOptions;
|
|
@@ -26254,11 +26310,23 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26254
26310
|
// authentication oauth2 required
|
|
26255
26311
|
// oauth required
|
|
26256
26312
|
_a.sent();
|
|
26257
|
-
if (
|
|
26258
|
-
localVarQueryParameter['
|
|
26313
|
+
if (searchTerm !== undefined) {
|
|
26314
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26259
26315
|
}
|
|
26260
|
-
if (
|
|
26261
|
-
localVarQueryParameter['
|
|
26316
|
+
if (countOnly !== undefined) {
|
|
26317
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26318
|
+
}
|
|
26319
|
+
if (countryId !== undefined) {
|
|
26320
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26321
|
+
}
|
|
26322
|
+
if (hospitalId !== undefined) {
|
|
26323
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26324
|
+
}
|
|
26325
|
+
if (marketingType !== undefined) {
|
|
26326
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26327
|
+
}
|
|
26328
|
+
if (languageCode !== undefined) {
|
|
26329
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26262
26330
|
}
|
|
26263
26331
|
if (page !== undefined) {
|
|
26264
26332
|
localVarQueryParameter['page'] = page;
|
|
@@ -26284,31 +26352,32 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26284
26352
|
},
|
|
26285
26353
|
/**
|
|
26286
26354
|
*
|
|
26287
|
-
* @summary
|
|
26288
|
-
* @param {string}
|
|
26289
|
-
* @param {
|
|
26355
|
+
* @summary Search hospitals using Azure Search Services
|
|
26356
|
+
* @param {string} [searchTerm]
|
|
26357
|
+
* @param {boolean} [countOnly]
|
|
26358
|
+
* @param {string} [countryId]
|
|
26359
|
+
* @param {string} [hospitalId]
|
|
26360
|
+
* @param {MarketingType} [marketingType]
|
|
26361
|
+
* @param {string} [languageCode]
|
|
26362
|
+
* @param {number} [page]
|
|
26363
|
+
* @param {number} [limit]
|
|
26364
|
+
* @param {Date} [lastRetrieved]
|
|
26290
26365
|
* @param {*} [options] Override http request option.
|
|
26291
26366
|
* @throws {RequiredError}
|
|
26292
26367
|
*/
|
|
26293
|
-
|
|
26368
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26294
26369
|
if (options === void 0) { options = {}; }
|
|
26295
26370
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26296
26371
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26297
26372
|
return __generator(this, function (_a) {
|
|
26298
26373
|
switch (_a.label) {
|
|
26299
26374
|
case 0:
|
|
26300
|
-
|
|
26301
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26302
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
26303
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
26304
|
-
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26305
|
-
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26306
|
-
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26375
|
+
localVarPath = "/api/v1/search/hospitals";
|
|
26307
26376
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26308
26377
|
if (configuration) {
|
|
26309
26378
|
baseOptions = configuration.baseOptions;
|
|
26310
26379
|
}
|
|
26311
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
26380
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26312
26381
|
localVarHeaderParameter = {};
|
|
26313
26382
|
localVarQueryParameter = {};
|
|
26314
26383
|
// authentication oauth2 required
|
|
@@ -26318,6 +26387,35 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26318
26387
|
// authentication oauth2 required
|
|
26319
26388
|
// oauth required
|
|
26320
26389
|
_a.sent();
|
|
26390
|
+
if (searchTerm !== undefined) {
|
|
26391
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26392
|
+
}
|
|
26393
|
+
if (countOnly !== undefined) {
|
|
26394
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26395
|
+
}
|
|
26396
|
+
if (countryId !== undefined) {
|
|
26397
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26398
|
+
}
|
|
26399
|
+
if (hospitalId !== undefined) {
|
|
26400
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26401
|
+
}
|
|
26402
|
+
if (marketingType !== undefined) {
|
|
26403
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26404
|
+
}
|
|
26405
|
+
if (languageCode !== undefined) {
|
|
26406
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26407
|
+
}
|
|
26408
|
+
if (page !== undefined) {
|
|
26409
|
+
localVarQueryParameter['page'] = page;
|
|
26410
|
+
}
|
|
26411
|
+
if (limit !== undefined) {
|
|
26412
|
+
localVarQueryParameter['limit'] = limit;
|
|
26413
|
+
}
|
|
26414
|
+
if (lastRetrieved !== undefined) {
|
|
26415
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26416
|
+
lastRetrieved.toISOString() :
|
|
26417
|
+
lastRetrieved;
|
|
26418
|
+
}
|
|
26321
26419
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26322
26420
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26323
26421
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26331,31 +26429,24 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26331
26429
|
},
|
|
26332
26430
|
/**
|
|
26333
26431
|
*
|
|
26334
|
-
* @summary
|
|
26335
|
-
* @param {
|
|
26336
|
-
* @param {string} mediaId
|
|
26432
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
26433
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
26337
26434
|
* @param {*} [options] Override http request option.
|
|
26338
26435
|
* @throws {RequiredError}
|
|
26339
26436
|
*/
|
|
26340
|
-
|
|
26437
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
26341
26438
|
if (options === void 0) { options = {}; }
|
|
26342
26439
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26343
26440
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26344
26441
|
return __generator(this, function (_a) {
|
|
26345
26442
|
switch (_a.label) {
|
|
26346
26443
|
case 0:
|
|
26347
|
-
|
|
26348
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
26349
|
-
// verify required parameter 'mediaId' is not null or undefined
|
|
26350
|
-
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
26351
|
-
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26352
|
-
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26353
|
-
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26444
|
+
localVarPath = "/api/v1/search/hospitals";
|
|
26354
26445
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26355
26446
|
if (configuration) {
|
|
26356
26447
|
baseOptions = configuration.baseOptions;
|
|
26357
26448
|
}
|
|
26358
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
26449
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26359
26450
|
localVarHeaderParameter = {};
|
|
26360
26451
|
localVarQueryParameter = {};
|
|
26361
26452
|
// authentication oauth2 required
|
|
@@ -26365,9 +26456,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26365
26456
|
// authentication oauth2 required
|
|
26366
26457
|
// oauth required
|
|
26367
26458
|
_a.sent();
|
|
26459
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26368
26460
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26369
26461
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26370
26462
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26463
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalsSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26371
26464
|
return [2 /*return*/, {
|
|
26372
26465
|
url: common_1.toPathString(localVarUrlObj),
|
|
26373
26466
|
options: localVarRequestOptions,
|
|
@@ -26378,10 +26471,1262 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
26378
26471
|
},
|
|
26379
26472
|
/**
|
|
26380
26473
|
*
|
|
26381
|
-
* @summary
|
|
26382
|
-
* @param {string}
|
|
26383
|
-
* @param {
|
|
26384
|
-
* @param {
|
|
26474
|
+
* @summary Search specialties using Azure Search Service
|
|
26475
|
+
* @param {string} [searchTerm]
|
|
26476
|
+
* @param {boolean} [countOnly]
|
|
26477
|
+
* @param {string} [countryId]
|
|
26478
|
+
* @param {string} [hospitalId]
|
|
26479
|
+
* @param {MarketingType} [marketingType]
|
|
26480
|
+
* @param {string} [languageCode]
|
|
26481
|
+
* @param {number} [page]
|
|
26482
|
+
* @param {number} [limit]
|
|
26483
|
+
* @param {Date} [lastRetrieved]
|
|
26484
|
+
* @param {*} [options] Override http request option.
|
|
26485
|
+
* @throws {RequiredError}
|
|
26486
|
+
*/
|
|
26487
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26488
|
+
if (options === void 0) { options = {}; }
|
|
26489
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26490
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26491
|
+
return __generator(this, function (_a) {
|
|
26492
|
+
switch (_a.label) {
|
|
26493
|
+
case 0:
|
|
26494
|
+
localVarPath = "/api/v1/search/specialties";
|
|
26495
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26496
|
+
if (configuration) {
|
|
26497
|
+
baseOptions = configuration.baseOptions;
|
|
26498
|
+
}
|
|
26499
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26500
|
+
localVarHeaderParameter = {};
|
|
26501
|
+
localVarQueryParameter = {};
|
|
26502
|
+
// authentication oauth2 required
|
|
26503
|
+
// oauth required
|
|
26504
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26505
|
+
case 1:
|
|
26506
|
+
// authentication oauth2 required
|
|
26507
|
+
// oauth required
|
|
26508
|
+
_a.sent();
|
|
26509
|
+
if (searchTerm !== undefined) {
|
|
26510
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26511
|
+
}
|
|
26512
|
+
if (countOnly !== undefined) {
|
|
26513
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26514
|
+
}
|
|
26515
|
+
if (countryId !== undefined) {
|
|
26516
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26517
|
+
}
|
|
26518
|
+
if (hospitalId !== undefined) {
|
|
26519
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26520
|
+
}
|
|
26521
|
+
if (marketingType !== undefined) {
|
|
26522
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26523
|
+
}
|
|
26524
|
+
if (languageCode !== undefined) {
|
|
26525
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26526
|
+
}
|
|
26527
|
+
if (page !== undefined) {
|
|
26528
|
+
localVarQueryParameter['page'] = page;
|
|
26529
|
+
}
|
|
26530
|
+
if (limit !== undefined) {
|
|
26531
|
+
localVarQueryParameter['limit'] = limit;
|
|
26532
|
+
}
|
|
26533
|
+
if (lastRetrieved !== undefined) {
|
|
26534
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26535
|
+
lastRetrieved.toISOString() :
|
|
26536
|
+
lastRetrieved;
|
|
26537
|
+
}
|
|
26538
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26539
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26540
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26541
|
+
return [2 /*return*/, {
|
|
26542
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26543
|
+
options: localVarRequestOptions,
|
|
26544
|
+
}];
|
|
26545
|
+
}
|
|
26546
|
+
});
|
|
26547
|
+
});
|
|
26548
|
+
},
|
|
26549
|
+
/**
|
|
26550
|
+
*
|
|
26551
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
26552
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
26553
|
+
* @param {*} [options] Override http request option.
|
|
26554
|
+
* @throws {RequiredError}
|
|
26555
|
+
*/
|
|
26556
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
26557
|
+
if (options === void 0) { options = {}; }
|
|
26558
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26559
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26560
|
+
return __generator(this, function (_a) {
|
|
26561
|
+
switch (_a.label) {
|
|
26562
|
+
case 0:
|
|
26563
|
+
localVarPath = "/api/v1/search/specialties";
|
|
26564
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26565
|
+
if (configuration) {
|
|
26566
|
+
baseOptions = configuration.baseOptions;
|
|
26567
|
+
}
|
|
26568
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26569
|
+
localVarHeaderParameter = {};
|
|
26570
|
+
localVarQueryParameter = {};
|
|
26571
|
+
// authentication oauth2 required
|
|
26572
|
+
// oauth required
|
|
26573
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26574
|
+
case 1:
|
|
26575
|
+
// authentication oauth2 required
|
|
26576
|
+
// oauth required
|
|
26577
|
+
_a.sent();
|
|
26578
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26579
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26580
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26581
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26582
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtiesSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26583
|
+
return [2 /*return*/, {
|
|
26584
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26585
|
+
options: localVarRequestOptions,
|
|
26586
|
+
}];
|
|
26587
|
+
}
|
|
26588
|
+
});
|
|
26589
|
+
});
|
|
26590
|
+
},
|
|
26591
|
+
/**
|
|
26592
|
+
*
|
|
26593
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
26594
|
+
* @param {string} [searchTerm]
|
|
26595
|
+
* @param {boolean} [countOnly]
|
|
26596
|
+
* @param {string} [countryId]
|
|
26597
|
+
* @param {string} [hospitalId]
|
|
26598
|
+
* @param {MarketingType} [marketingType]
|
|
26599
|
+
* @param {string} [languageCode]
|
|
26600
|
+
* @param {number} [page]
|
|
26601
|
+
* @param {number} [limit]
|
|
26602
|
+
* @param {Date} [lastRetrieved]
|
|
26603
|
+
* @param {*} [options] Override http request option.
|
|
26604
|
+
* @throws {RequiredError}
|
|
26605
|
+
*/
|
|
26606
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26607
|
+
if (options === void 0) { options = {}; }
|
|
26608
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26609
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26610
|
+
return __generator(this, function (_a) {
|
|
26611
|
+
switch (_a.label) {
|
|
26612
|
+
case 0:
|
|
26613
|
+
localVarPath = "/api/v1/search/specialtytypes";
|
|
26614
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26615
|
+
if (configuration) {
|
|
26616
|
+
baseOptions = configuration.baseOptions;
|
|
26617
|
+
}
|
|
26618
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26619
|
+
localVarHeaderParameter = {};
|
|
26620
|
+
localVarQueryParameter = {};
|
|
26621
|
+
// authentication oauth2 required
|
|
26622
|
+
// oauth required
|
|
26623
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26624
|
+
case 1:
|
|
26625
|
+
// authentication oauth2 required
|
|
26626
|
+
// oauth required
|
|
26627
|
+
_a.sent();
|
|
26628
|
+
if (searchTerm !== undefined) {
|
|
26629
|
+
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
26630
|
+
}
|
|
26631
|
+
if (countOnly !== undefined) {
|
|
26632
|
+
localVarQueryParameter['CountOnly'] = countOnly;
|
|
26633
|
+
}
|
|
26634
|
+
if (countryId !== undefined) {
|
|
26635
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
26636
|
+
}
|
|
26637
|
+
if (hospitalId !== undefined) {
|
|
26638
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26639
|
+
}
|
|
26640
|
+
if (marketingType !== undefined) {
|
|
26641
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26642
|
+
}
|
|
26643
|
+
if (languageCode !== undefined) {
|
|
26644
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26645
|
+
}
|
|
26646
|
+
if (page !== undefined) {
|
|
26647
|
+
localVarQueryParameter['page'] = page;
|
|
26648
|
+
}
|
|
26649
|
+
if (limit !== undefined) {
|
|
26650
|
+
localVarQueryParameter['limit'] = limit;
|
|
26651
|
+
}
|
|
26652
|
+
if (lastRetrieved !== undefined) {
|
|
26653
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26654
|
+
lastRetrieved.toISOString() :
|
|
26655
|
+
lastRetrieved;
|
|
26656
|
+
}
|
|
26657
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26658
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26659
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26660
|
+
return [2 /*return*/, {
|
|
26661
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26662
|
+
options: localVarRequestOptions,
|
|
26663
|
+
}];
|
|
26664
|
+
}
|
|
26665
|
+
});
|
|
26666
|
+
});
|
|
26667
|
+
},
|
|
26668
|
+
/**
|
|
26669
|
+
*
|
|
26670
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
26671
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
26672
|
+
* @param {*} [options] Override http request option.
|
|
26673
|
+
* @throws {RequiredError}
|
|
26674
|
+
*/
|
|
26675
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
26676
|
+
if (options === void 0) { options = {}; }
|
|
26677
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26678
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26679
|
+
return __generator(this, function (_a) {
|
|
26680
|
+
switch (_a.label) {
|
|
26681
|
+
case 0:
|
|
26682
|
+
localVarPath = "/api/v1/search/specialtytypes";
|
|
26683
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26684
|
+
if (configuration) {
|
|
26685
|
+
baseOptions = configuration.baseOptions;
|
|
26686
|
+
}
|
|
26687
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26688
|
+
localVarHeaderParameter = {};
|
|
26689
|
+
localVarQueryParameter = {};
|
|
26690
|
+
// authentication oauth2 required
|
|
26691
|
+
// oauth required
|
|
26692
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26693
|
+
case 1:
|
|
26694
|
+
// authentication oauth2 required
|
|
26695
|
+
// oauth required
|
|
26696
|
+
_a.sent();
|
|
26697
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26698
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26699
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26700
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26701
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateSpecialtyTypesSearchIndexCommand, localVarRequestOptions, configuration);
|
|
26702
|
+
return [2 /*return*/, {
|
|
26703
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26704
|
+
options: localVarRequestOptions,
|
|
26705
|
+
}];
|
|
26706
|
+
}
|
|
26707
|
+
});
|
|
26708
|
+
});
|
|
26709
|
+
},
|
|
26710
|
+
};
|
|
26711
|
+
};
|
|
26712
|
+
/**
|
|
26713
|
+
* SearchApi - functional programming interface
|
|
26714
|
+
* @export
|
|
26715
|
+
*/
|
|
26716
|
+
exports.SearchApiFp = function (configuration) {
|
|
26717
|
+
var localVarAxiosParamCreator = exports.SearchApiAxiosParamCreator(configuration);
|
|
26718
|
+
return {
|
|
26719
|
+
/**
|
|
26720
|
+
*
|
|
26721
|
+
* @summary Search deals using Azure Search Service
|
|
26722
|
+
* @param {string} [searchTerm]
|
|
26723
|
+
* @param {boolean} [countOnly]
|
|
26724
|
+
* @param {string} [countryId]
|
|
26725
|
+
* @param {string} [hospitalId]
|
|
26726
|
+
* @param {MarketingType} [marketingType]
|
|
26727
|
+
* @param {string} [languageCode]
|
|
26728
|
+
* @param {number} [page]
|
|
26729
|
+
* @param {number} [limit]
|
|
26730
|
+
* @param {Date} [lastRetrieved]
|
|
26731
|
+
* @param {*} [options] Override http request option.
|
|
26732
|
+
* @throws {RequiredError}
|
|
26733
|
+
*/
|
|
26734
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26735
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26736
|
+
var localVarAxiosArgs;
|
|
26737
|
+
return __generator(this, function (_a) {
|
|
26738
|
+
switch (_a.label) {
|
|
26739
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26740
|
+
case 1:
|
|
26741
|
+
localVarAxiosArgs = _a.sent();
|
|
26742
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26743
|
+
}
|
|
26744
|
+
});
|
|
26745
|
+
});
|
|
26746
|
+
},
|
|
26747
|
+
/**
|
|
26748
|
+
*
|
|
26749
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
26750
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
26751
|
+
* @param {*} [options] Override http request option.
|
|
26752
|
+
* @throws {RequiredError}
|
|
26753
|
+
*/
|
|
26754
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
26755
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26756
|
+
var localVarAxiosArgs;
|
|
26757
|
+
return __generator(this, function (_a) {
|
|
26758
|
+
switch (_a.label) {
|
|
26759
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options)];
|
|
26760
|
+
case 1:
|
|
26761
|
+
localVarAxiosArgs = _a.sent();
|
|
26762
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26763
|
+
}
|
|
26764
|
+
});
|
|
26765
|
+
});
|
|
26766
|
+
},
|
|
26767
|
+
/**
|
|
26768
|
+
*
|
|
26769
|
+
* @summary Search doctors using Azure Search Services
|
|
26770
|
+
* @param {string} [searchTerm]
|
|
26771
|
+
* @param {boolean} [countOnly]
|
|
26772
|
+
* @param {string} [countryId]
|
|
26773
|
+
* @param {string} [hospitalId]
|
|
26774
|
+
* @param {MarketingType} [marketingType]
|
|
26775
|
+
* @param {string} [languageCode]
|
|
26776
|
+
* @param {number} [page]
|
|
26777
|
+
* @param {number} [limit]
|
|
26778
|
+
* @param {Date} [lastRetrieved]
|
|
26779
|
+
* @param {*} [options] Override http request option.
|
|
26780
|
+
* @throws {RequiredError}
|
|
26781
|
+
*/
|
|
26782
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26783
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26784
|
+
var localVarAxiosArgs;
|
|
26785
|
+
return __generator(this, function (_a) {
|
|
26786
|
+
switch (_a.label) {
|
|
26787
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26788
|
+
case 1:
|
|
26789
|
+
localVarAxiosArgs = _a.sent();
|
|
26790
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26791
|
+
}
|
|
26792
|
+
});
|
|
26793
|
+
});
|
|
26794
|
+
},
|
|
26795
|
+
/**
|
|
26796
|
+
*
|
|
26797
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
26798
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
26799
|
+
* @param {*} [options] Override http request option.
|
|
26800
|
+
* @throws {RequiredError}
|
|
26801
|
+
*/
|
|
26802
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
26803
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26804
|
+
var localVarAxiosArgs;
|
|
26805
|
+
return __generator(this, function (_a) {
|
|
26806
|
+
switch (_a.label) {
|
|
26807
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options)];
|
|
26808
|
+
case 1:
|
|
26809
|
+
localVarAxiosArgs = _a.sent();
|
|
26810
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26811
|
+
}
|
|
26812
|
+
});
|
|
26813
|
+
});
|
|
26814
|
+
},
|
|
26815
|
+
/**
|
|
26816
|
+
*
|
|
26817
|
+
* @summary Get the number of items in each search index
|
|
26818
|
+
* @param {string} [searchTerm]
|
|
26819
|
+
* @param {boolean} [countOnly]
|
|
26820
|
+
* @param {string} [countryId]
|
|
26821
|
+
* @param {string} [hospitalId]
|
|
26822
|
+
* @param {MarketingType} [marketingType]
|
|
26823
|
+
* @param {string} [languageCode]
|
|
26824
|
+
* @param {number} [page]
|
|
26825
|
+
* @param {number} [limit]
|
|
26826
|
+
* @param {Date} [lastRetrieved]
|
|
26827
|
+
* @param {*} [options] Override http request option.
|
|
26828
|
+
* @throws {RequiredError}
|
|
26829
|
+
*/
|
|
26830
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26831
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26832
|
+
var localVarAxiosArgs;
|
|
26833
|
+
return __generator(this, function (_a) {
|
|
26834
|
+
switch (_a.label) {
|
|
26835
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26836
|
+
case 1:
|
|
26837
|
+
localVarAxiosArgs = _a.sent();
|
|
26838
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26839
|
+
}
|
|
26840
|
+
});
|
|
26841
|
+
});
|
|
26842
|
+
},
|
|
26843
|
+
/**
|
|
26844
|
+
*
|
|
26845
|
+
* @summary Search hospitals using Azure Search Services
|
|
26846
|
+
* @param {string} [searchTerm]
|
|
26847
|
+
* @param {boolean} [countOnly]
|
|
26848
|
+
* @param {string} [countryId]
|
|
26849
|
+
* @param {string} [hospitalId]
|
|
26850
|
+
* @param {MarketingType} [marketingType]
|
|
26851
|
+
* @param {string} [languageCode]
|
|
26852
|
+
* @param {number} [page]
|
|
26853
|
+
* @param {number} [limit]
|
|
26854
|
+
* @param {Date} [lastRetrieved]
|
|
26855
|
+
* @param {*} [options] Override http request option.
|
|
26856
|
+
* @throws {RequiredError}
|
|
26857
|
+
*/
|
|
26858
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26859
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26860
|
+
var localVarAxiosArgs;
|
|
26861
|
+
return __generator(this, function (_a) {
|
|
26862
|
+
switch (_a.label) {
|
|
26863
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26864
|
+
case 1:
|
|
26865
|
+
localVarAxiosArgs = _a.sent();
|
|
26866
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26867
|
+
}
|
|
26868
|
+
});
|
|
26869
|
+
});
|
|
26870
|
+
},
|
|
26871
|
+
/**
|
|
26872
|
+
*
|
|
26873
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
26874
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
26875
|
+
* @param {*} [options] Override http request option.
|
|
26876
|
+
* @throws {RequiredError}
|
|
26877
|
+
*/
|
|
26878
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
26879
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26880
|
+
var localVarAxiosArgs;
|
|
26881
|
+
return __generator(this, function (_a) {
|
|
26882
|
+
switch (_a.label) {
|
|
26883
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options)];
|
|
26884
|
+
case 1:
|
|
26885
|
+
localVarAxiosArgs = _a.sent();
|
|
26886
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26887
|
+
}
|
|
26888
|
+
});
|
|
26889
|
+
});
|
|
26890
|
+
},
|
|
26891
|
+
/**
|
|
26892
|
+
*
|
|
26893
|
+
* @summary Search specialties using Azure Search Service
|
|
26894
|
+
* @param {string} [searchTerm]
|
|
26895
|
+
* @param {boolean} [countOnly]
|
|
26896
|
+
* @param {string} [countryId]
|
|
26897
|
+
* @param {string} [hospitalId]
|
|
26898
|
+
* @param {MarketingType} [marketingType]
|
|
26899
|
+
* @param {string} [languageCode]
|
|
26900
|
+
* @param {number} [page]
|
|
26901
|
+
* @param {number} [limit]
|
|
26902
|
+
* @param {Date} [lastRetrieved]
|
|
26903
|
+
* @param {*} [options] Override http request option.
|
|
26904
|
+
* @throws {RequiredError}
|
|
26905
|
+
*/
|
|
26906
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26907
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26908
|
+
var localVarAxiosArgs;
|
|
26909
|
+
return __generator(this, function (_a) {
|
|
26910
|
+
switch (_a.label) {
|
|
26911
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26912
|
+
case 1:
|
|
26913
|
+
localVarAxiosArgs = _a.sent();
|
|
26914
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26915
|
+
}
|
|
26916
|
+
});
|
|
26917
|
+
});
|
|
26918
|
+
},
|
|
26919
|
+
/**
|
|
26920
|
+
*
|
|
26921
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
26922
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
26923
|
+
* @param {*} [options] Override http request option.
|
|
26924
|
+
* @throws {RequiredError}
|
|
26925
|
+
*/
|
|
26926
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
26927
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26928
|
+
var localVarAxiosArgs;
|
|
26929
|
+
return __generator(this, function (_a) {
|
|
26930
|
+
switch (_a.label) {
|
|
26931
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options)];
|
|
26932
|
+
case 1:
|
|
26933
|
+
localVarAxiosArgs = _a.sent();
|
|
26934
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26935
|
+
}
|
|
26936
|
+
});
|
|
26937
|
+
});
|
|
26938
|
+
},
|
|
26939
|
+
/**
|
|
26940
|
+
*
|
|
26941
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
26942
|
+
* @param {string} [searchTerm]
|
|
26943
|
+
* @param {boolean} [countOnly]
|
|
26944
|
+
* @param {string} [countryId]
|
|
26945
|
+
* @param {string} [hospitalId]
|
|
26946
|
+
* @param {MarketingType} [marketingType]
|
|
26947
|
+
* @param {string} [languageCode]
|
|
26948
|
+
* @param {number} [page]
|
|
26949
|
+
* @param {number} [limit]
|
|
26950
|
+
* @param {Date} [lastRetrieved]
|
|
26951
|
+
* @param {*} [options] Override http request option.
|
|
26952
|
+
* @throws {RequiredError}
|
|
26953
|
+
*/
|
|
26954
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
26955
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26956
|
+
var localVarAxiosArgs;
|
|
26957
|
+
return __generator(this, function (_a) {
|
|
26958
|
+
switch (_a.label) {
|
|
26959
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
26960
|
+
case 1:
|
|
26961
|
+
localVarAxiosArgs = _a.sent();
|
|
26962
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26963
|
+
}
|
|
26964
|
+
});
|
|
26965
|
+
});
|
|
26966
|
+
},
|
|
26967
|
+
/**
|
|
26968
|
+
*
|
|
26969
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
26970
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
26971
|
+
* @param {*} [options] Override http request option.
|
|
26972
|
+
* @throws {RequiredError}
|
|
26973
|
+
*/
|
|
26974
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
26975
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26976
|
+
var localVarAxiosArgs;
|
|
26977
|
+
return __generator(this, function (_a) {
|
|
26978
|
+
switch (_a.label) {
|
|
26979
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options)];
|
|
26980
|
+
case 1:
|
|
26981
|
+
localVarAxiosArgs = _a.sent();
|
|
26982
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26983
|
+
}
|
|
26984
|
+
});
|
|
26985
|
+
});
|
|
26986
|
+
},
|
|
26987
|
+
};
|
|
26988
|
+
};
|
|
26989
|
+
/**
|
|
26990
|
+
* SearchApi - factory interface
|
|
26991
|
+
* @export
|
|
26992
|
+
*/
|
|
26993
|
+
exports.SearchApiFactory = function (configuration, basePath, axios) {
|
|
26994
|
+
var localVarFp = exports.SearchApiFp(configuration);
|
|
26995
|
+
return {
|
|
26996
|
+
/**
|
|
26997
|
+
*
|
|
26998
|
+
* @summary Search deals using Azure Search Service
|
|
26999
|
+
* @param {string} [searchTerm]
|
|
27000
|
+
* @param {boolean} [countOnly]
|
|
27001
|
+
* @param {string} [countryId]
|
|
27002
|
+
* @param {string} [hospitalId]
|
|
27003
|
+
* @param {MarketingType} [marketingType]
|
|
27004
|
+
* @param {string} [languageCode]
|
|
27005
|
+
* @param {number} [page]
|
|
27006
|
+
* @param {number} [limit]
|
|
27007
|
+
* @param {Date} [lastRetrieved]
|
|
27008
|
+
* @param {*} [options] Override http request option.
|
|
27009
|
+
* @throws {RequiredError}
|
|
27010
|
+
*/
|
|
27011
|
+
apiV1SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27012
|
+
return localVarFp.apiV1SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27013
|
+
},
|
|
27014
|
+
/**
|
|
27015
|
+
*
|
|
27016
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
27017
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
27018
|
+
* @param {*} [options] Override http request option.
|
|
27019
|
+
* @throws {RequiredError}
|
|
27020
|
+
*/
|
|
27021
|
+
apiV1SearchDealsPost: function (updateDealsSearchIndexCommand, options) {
|
|
27022
|
+
return localVarFp.apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27023
|
+
},
|
|
27024
|
+
/**
|
|
27025
|
+
*
|
|
27026
|
+
* @summary Search doctors using Azure Search Services
|
|
27027
|
+
* @param {string} [searchTerm]
|
|
27028
|
+
* @param {boolean} [countOnly]
|
|
27029
|
+
* @param {string} [countryId]
|
|
27030
|
+
* @param {string} [hospitalId]
|
|
27031
|
+
* @param {MarketingType} [marketingType]
|
|
27032
|
+
* @param {string} [languageCode]
|
|
27033
|
+
* @param {number} [page]
|
|
27034
|
+
* @param {number} [limit]
|
|
27035
|
+
* @param {Date} [lastRetrieved]
|
|
27036
|
+
* @param {*} [options] Override http request option.
|
|
27037
|
+
* @throws {RequiredError}
|
|
27038
|
+
*/
|
|
27039
|
+
apiV1SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27040
|
+
return localVarFp.apiV1SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27041
|
+
},
|
|
27042
|
+
/**
|
|
27043
|
+
*
|
|
27044
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
27045
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
27046
|
+
* @param {*} [options] Override http request option.
|
|
27047
|
+
* @throws {RequiredError}
|
|
27048
|
+
*/
|
|
27049
|
+
apiV1SearchDoctorsPost: function (updateDoctorsSearchIndexCommand, options) {
|
|
27050
|
+
return localVarFp.apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27051
|
+
},
|
|
27052
|
+
/**
|
|
27053
|
+
*
|
|
27054
|
+
* @summary Get the number of items in each search index
|
|
27055
|
+
* @param {string} [searchTerm]
|
|
27056
|
+
* @param {boolean} [countOnly]
|
|
27057
|
+
* @param {string} [countryId]
|
|
27058
|
+
* @param {string} [hospitalId]
|
|
27059
|
+
* @param {MarketingType} [marketingType]
|
|
27060
|
+
* @param {string} [languageCode]
|
|
27061
|
+
* @param {number} [page]
|
|
27062
|
+
* @param {number} [limit]
|
|
27063
|
+
* @param {Date} [lastRetrieved]
|
|
27064
|
+
* @param {*} [options] Override http request option.
|
|
27065
|
+
* @throws {RequiredError}
|
|
27066
|
+
*/
|
|
27067
|
+
apiV1SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27068
|
+
return localVarFp.apiV1SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27069
|
+
},
|
|
27070
|
+
/**
|
|
27071
|
+
*
|
|
27072
|
+
* @summary Search hospitals using Azure Search Services
|
|
27073
|
+
* @param {string} [searchTerm]
|
|
27074
|
+
* @param {boolean} [countOnly]
|
|
27075
|
+
* @param {string} [countryId]
|
|
27076
|
+
* @param {string} [hospitalId]
|
|
27077
|
+
* @param {MarketingType} [marketingType]
|
|
27078
|
+
* @param {string} [languageCode]
|
|
27079
|
+
* @param {number} [page]
|
|
27080
|
+
* @param {number} [limit]
|
|
27081
|
+
* @param {Date} [lastRetrieved]
|
|
27082
|
+
* @param {*} [options] Override http request option.
|
|
27083
|
+
* @throws {RequiredError}
|
|
27084
|
+
*/
|
|
27085
|
+
apiV1SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27086
|
+
return localVarFp.apiV1SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27087
|
+
},
|
|
27088
|
+
/**
|
|
27089
|
+
*
|
|
27090
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
27091
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
27092
|
+
* @param {*} [options] Override http request option.
|
|
27093
|
+
* @throws {RequiredError}
|
|
27094
|
+
*/
|
|
27095
|
+
apiV1SearchHospitalsPost: function (updateHospitalsSearchIndexCommand, options) {
|
|
27096
|
+
return localVarFp.apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27097
|
+
},
|
|
27098
|
+
/**
|
|
27099
|
+
*
|
|
27100
|
+
* @summary Search specialties using Azure Search Service
|
|
27101
|
+
* @param {string} [searchTerm]
|
|
27102
|
+
* @param {boolean} [countOnly]
|
|
27103
|
+
* @param {string} [countryId]
|
|
27104
|
+
* @param {string} [hospitalId]
|
|
27105
|
+
* @param {MarketingType} [marketingType]
|
|
27106
|
+
* @param {string} [languageCode]
|
|
27107
|
+
* @param {number} [page]
|
|
27108
|
+
* @param {number} [limit]
|
|
27109
|
+
* @param {Date} [lastRetrieved]
|
|
27110
|
+
* @param {*} [options] Override http request option.
|
|
27111
|
+
* @throws {RequiredError}
|
|
27112
|
+
*/
|
|
27113
|
+
apiV1SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27114
|
+
return localVarFp.apiV1SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27115
|
+
},
|
|
27116
|
+
/**
|
|
27117
|
+
*
|
|
27118
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
27119
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
27120
|
+
* @param {*} [options] Override http request option.
|
|
27121
|
+
* @throws {RequiredError}
|
|
27122
|
+
*/
|
|
27123
|
+
apiV1SearchSpecialtiesPost: function (updateSpecialtiesSearchIndexCommand, options) {
|
|
27124
|
+
return localVarFp.apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27125
|
+
},
|
|
27126
|
+
/**
|
|
27127
|
+
*
|
|
27128
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
27129
|
+
* @param {string} [searchTerm]
|
|
27130
|
+
* @param {boolean} [countOnly]
|
|
27131
|
+
* @param {string} [countryId]
|
|
27132
|
+
* @param {string} [hospitalId]
|
|
27133
|
+
* @param {MarketingType} [marketingType]
|
|
27134
|
+
* @param {string} [languageCode]
|
|
27135
|
+
* @param {number} [page]
|
|
27136
|
+
* @param {number} [limit]
|
|
27137
|
+
* @param {Date} [lastRetrieved]
|
|
27138
|
+
* @param {*} [options] Override http request option.
|
|
27139
|
+
* @throws {RequiredError}
|
|
27140
|
+
*/
|
|
27141
|
+
apiV1SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27142
|
+
return localVarFp.apiV1SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27143
|
+
},
|
|
27144
|
+
/**
|
|
27145
|
+
*
|
|
27146
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
27147
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
27148
|
+
* @param {*} [options] Override http request option.
|
|
27149
|
+
* @throws {RequiredError}
|
|
27150
|
+
*/
|
|
27151
|
+
apiV1SearchSpecialtytypesPost: function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
27152
|
+
return localVarFp.apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(axios, basePath); });
|
|
27153
|
+
},
|
|
27154
|
+
};
|
|
27155
|
+
};
|
|
27156
|
+
/**
|
|
27157
|
+
* SearchApi - object-oriented interface
|
|
27158
|
+
* @export
|
|
27159
|
+
* @class SearchApi
|
|
27160
|
+
* @extends {BaseAPI}
|
|
27161
|
+
*/
|
|
27162
|
+
var SearchApi = /** @class */ (function (_super) {
|
|
27163
|
+
__extends(SearchApi, _super);
|
|
27164
|
+
function SearchApi() {
|
|
27165
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
27166
|
+
}
|
|
27167
|
+
/**
|
|
27168
|
+
*
|
|
27169
|
+
* @summary Search deals using Azure Search Service
|
|
27170
|
+
* @param {string} [searchTerm]
|
|
27171
|
+
* @param {boolean} [countOnly]
|
|
27172
|
+
* @param {string} [countryId]
|
|
27173
|
+
* @param {string} [hospitalId]
|
|
27174
|
+
* @param {MarketingType} [marketingType]
|
|
27175
|
+
* @param {string} [languageCode]
|
|
27176
|
+
* @param {number} [page]
|
|
27177
|
+
* @param {number} [limit]
|
|
27178
|
+
* @param {Date} [lastRetrieved]
|
|
27179
|
+
* @param {*} [options] Override http request option.
|
|
27180
|
+
* @throws {RequiredError}
|
|
27181
|
+
* @memberof SearchApi
|
|
27182
|
+
*/
|
|
27183
|
+
SearchApi.prototype.apiV1SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27184
|
+
var _this = this;
|
|
27185
|
+
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); });
|
|
27186
|
+
};
|
|
27187
|
+
/**
|
|
27188
|
+
*
|
|
27189
|
+
* @summary Update or Re-create deals Azure Search Services Index
|
|
27190
|
+
* @param {UpdateDealsSearchIndexCommand} [updateDealsSearchIndexCommand]
|
|
27191
|
+
* @param {*} [options] Override http request option.
|
|
27192
|
+
* @throws {RequiredError}
|
|
27193
|
+
* @memberof SearchApi
|
|
27194
|
+
*/
|
|
27195
|
+
SearchApi.prototype.apiV1SearchDealsPost = function (updateDealsSearchIndexCommand, options) {
|
|
27196
|
+
var _this = this;
|
|
27197
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDealsPost(updateDealsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27198
|
+
};
|
|
27199
|
+
/**
|
|
27200
|
+
*
|
|
27201
|
+
* @summary Search doctors using Azure Search Services
|
|
27202
|
+
* @param {string} [searchTerm]
|
|
27203
|
+
* @param {boolean} [countOnly]
|
|
27204
|
+
* @param {string} [countryId]
|
|
27205
|
+
* @param {string} [hospitalId]
|
|
27206
|
+
* @param {MarketingType} [marketingType]
|
|
27207
|
+
* @param {string} [languageCode]
|
|
27208
|
+
* @param {number} [page]
|
|
27209
|
+
* @param {number} [limit]
|
|
27210
|
+
* @param {Date} [lastRetrieved]
|
|
27211
|
+
* @param {*} [options] Override http request option.
|
|
27212
|
+
* @throws {RequiredError}
|
|
27213
|
+
* @memberof SearchApi
|
|
27214
|
+
*/
|
|
27215
|
+
SearchApi.prototype.apiV1SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27216
|
+
var _this = this;
|
|
27217
|
+
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); });
|
|
27218
|
+
};
|
|
27219
|
+
/**
|
|
27220
|
+
*
|
|
27221
|
+
* @summary Update or Re-create doctors Azure Search Services Index
|
|
27222
|
+
* @param {UpdateDoctorsSearchIndexCommand} [updateDoctorsSearchIndexCommand]
|
|
27223
|
+
* @param {*} [options] Override http request option.
|
|
27224
|
+
* @throws {RequiredError}
|
|
27225
|
+
* @memberof SearchApi
|
|
27226
|
+
*/
|
|
27227
|
+
SearchApi.prototype.apiV1SearchDoctorsPost = function (updateDoctorsSearchIndexCommand, options) {
|
|
27228
|
+
var _this = this;
|
|
27229
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchDoctorsPost(updateDoctorsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27230
|
+
};
|
|
27231
|
+
/**
|
|
27232
|
+
*
|
|
27233
|
+
* @summary Get the number of items in each search index
|
|
27234
|
+
* @param {string} [searchTerm]
|
|
27235
|
+
* @param {boolean} [countOnly]
|
|
27236
|
+
* @param {string} [countryId]
|
|
27237
|
+
* @param {string} [hospitalId]
|
|
27238
|
+
* @param {MarketingType} [marketingType]
|
|
27239
|
+
* @param {string} [languageCode]
|
|
27240
|
+
* @param {number} [page]
|
|
27241
|
+
* @param {number} [limit]
|
|
27242
|
+
* @param {Date} [lastRetrieved]
|
|
27243
|
+
* @param {*} [options] Override http request option.
|
|
27244
|
+
* @throws {RequiredError}
|
|
27245
|
+
* @memberof SearchApi
|
|
27246
|
+
*/
|
|
27247
|
+
SearchApi.prototype.apiV1SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27248
|
+
var _this = this;
|
|
27249
|
+
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); });
|
|
27250
|
+
};
|
|
27251
|
+
/**
|
|
27252
|
+
*
|
|
27253
|
+
* @summary Search hospitals using Azure Search Services
|
|
27254
|
+
* @param {string} [searchTerm]
|
|
27255
|
+
* @param {boolean} [countOnly]
|
|
27256
|
+
* @param {string} [countryId]
|
|
27257
|
+
* @param {string} [hospitalId]
|
|
27258
|
+
* @param {MarketingType} [marketingType]
|
|
27259
|
+
* @param {string} [languageCode]
|
|
27260
|
+
* @param {number} [page]
|
|
27261
|
+
* @param {number} [limit]
|
|
27262
|
+
* @param {Date} [lastRetrieved]
|
|
27263
|
+
* @param {*} [options] Override http request option.
|
|
27264
|
+
* @throws {RequiredError}
|
|
27265
|
+
* @memberof SearchApi
|
|
27266
|
+
*/
|
|
27267
|
+
SearchApi.prototype.apiV1SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27268
|
+
var _this = this;
|
|
27269
|
+
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); });
|
|
27270
|
+
};
|
|
27271
|
+
/**
|
|
27272
|
+
*
|
|
27273
|
+
* @summary Update or Re-create hospitals Azure Search Services Index
|
|
27274
|
+
* @param {UpdateHospitalsSearchIndexCommand} [updateHospitalsSearchIndexCommand]
|
|
27275
|
+
* @param {*} [options] Override http request option.
|
|
27276
|
+
* @throws {RequiredError}
|
|
27277
|
+
* @memberof SearchApi
|
|
27278
|
+
*/
|
|
27279
|
+
SearchApi.prototype.apiV1SearchHospitalsPost = function (updateHospitalsSearchIndexCommand, options) {
|
|
27280
|
+
var _this = this;
|
|
27281
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchHospitalsPost(updateHospitalsSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27282
|
+
};
|
|
27283
|
+
/**
|
|
27284
|
+
*
|
|
27285
|
+
* @summary Search specialties using Azure Search Service
|
|
27286
|
+
* @param {string} [searchTerm]
|
|
27287
|
+
* @param {boolean} [countOnly]
|
|
27288
|
+
* @param {string} [countryId]
|
|
27289
|
+
* @param {string} [hospitalId]
|
|
27290
|
+
* @param {MarketingType} [marketingType]
|
|
27291
|
+
* @param {string} [languageCode]
|
|
27292
|
+
* @param {number} [page]
|
|
27293
|
+
* @param {number} [limit]
|
|
27294
|
+
* @param {Date} [lastRetrieved]
|
|
27295
|
+
* @param {*} [options] Override http request option.
|
|
27296
|
+
* @throws {RequiredError}
|
|
27297
|
+
* @memberof SearchApi
|
|
27298
|
+
*/
|
|
27299
|
+
SearchApi.prototype.apiV1SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27300
|
+
var _this = this;
|
|
27301
|
+
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); });
|
|
27302
|
+
};
|
|
27303
|
+
/**
|
|
27304
|
+
*
|
|
27305
|
+
* @summary Update or Re-create specialties Azure Search Services Index
|
|
27306
|
+
* @param {UpdateSpecialtiesSearchIndexCommand} [updateSpecialtiesSearchIndexCommand]
|
|
27307
|
+
* @param {*} [options] Override http request option.
|
|
27308
|
+
* @throws {RequiredError}
|
|
27309
|
+
* @memberof SearchApi
|
|
27310
|
+
*/
|
|
27311
|
+
SearchApi.prototype.apiV1SearchSpecialtiesPost = function (updateSpecialtiesSearchIndexCommand, options) {
|
|
27312
|
+
var _this = this;
|
|
27313
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtiesPost(updateSpecialtiesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27314
|
+
};
|
|
27315
|
+
/**
|
|
27316
|
+
*
|
|
27317
|
+
* @summary Search specialtyTypes using Azure Search Services
|
|
27318
|
+
* @param {string} [searchTerm]
|
|
27319
|
+
* @param {boolean} [countOnly]
|
|
27320
|
+
* @param {string} [countryId]
|
|
27321
|
+
* @param {string} [hospitalId]
|
|
27322
|
+
* @param {MarketingType} [marketingType]
|
|
27323
|
+
* @param {string} [languageCode]
|
|
27324
|
+
* @param {number} [page]
|
|
27325
|
+
* @param {number} [limit]
|
|
27326
|
+
* @param {Date} [lastRetrieved]
|
|
27327
|
+
* @param {*} [options] Override http request option.
|
|
27328
|
+
* @throws {RequiredError}
|
|
27329
|
+
* @memberof SearchApi
|
|
27330
|
+
*/
|
|
27331
|
+
SearchApi.prototype.apiV1SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
27332
|
+
var _this = this;
|
|
27333
|
+
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); });
|
|
27334
|
+
};
|
|
27335
|
+
/**
|
|
27336
|
+
*
|
|
27337
|
+
* @summary Update or Re-create specialtyTypes Azure Search Services Index
|
|
27338
|
+
* @param {UpdateSpecialtyTypesSearchIndexCommand} [updateSpecialtyTypesSearchIndexCommand]
|
|
27339
|
+
* @param {*} [options] Override http request option.
|
|
27340
|
+
* @throws {RequiredError}
|
|
27341
|
+
* @memberof SearchApi
|
|
27342
|
+
*/
|
|
27343
|
+
SearchApi.prototype.apiV1SearchSpecialtytypesPost = function (updateSpecialtyTypesSearchIndexCommand, options) {
|
|
27344
|
+
var _this = this;
|
|
27345
|
+
return exports.SearchApiFp(this.configuration).apiV1SearchSpecialtytypesPost(updateSpecialtyTypesSearchIndexCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27346
|
+
};
|
|
27347
|
+
return SearchApi;
|
|
27348
|
+
}(base_1.BaseAPI));
|
|
27349
|
+
exports.SearchApi = SearchApi;
|
|
27350
|
+
/**
|
|
27351
|
+
* ServiceReviewsApi - axios parameter creator
|
|
27352
|
+
* @export
|
|
27353
|
+
*/
|
|
27354
|
+
exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
27355
|
+
var _this = this;
|
|
27356
|
+
return {
|
|
27357
|
+
/**
|
|
27358
|
+
*
|
|
27359
|
+
* @summary Get all ServiceReviews.
|
|
27360
|
+
* @param {string} [serviceId]
|
|
27361
|
+
* @param {string} [serviceName]
|
|
27362
|
+
* @param {string} [patientId]
|
|
27363
|
+
* @param {string} [patientName]
|
|
27364
|
+
* @param {boolean} [recommended]
|
|
27365
|
+
* @param {number} [rate]
|
|
27366
|
+
* @param {ReviewType} [reviewType]
|
|
27367
|
+
* @param {number} [page]
|
|
27368
|
+
* @param {number} [limit]
|
|
27369
|
+
* @param {Date} [lastRetrieved]
|
|
27370
|
+
* @param {*} [options] Override http request option.
|
|
27371
|
+
* @throws {RequiredError}
|
|
27372
|
+
*/
|
|
27373
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27374
|
+
if (options === void 0) { options = {}; }
|
|
27375
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27376
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27377
|
+
return __generator(this, function (_a) {
|
|
27378
|
+
switch (_a.label) {
|
|
27379
|
+
case 0:
|
|
27380
|
+
localVarPath = "/api/v1/servicereviews";
|
|
27381
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27382
|
+
if (configuration) {
|
|
27383
|
+
baseOptions = configuration.baseOptions;
|
|
27384
|
+
}
|
|
27385
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27386
|
+
localVarHeaderParameter = {};
|
|
27387
|
+
localVarQueryParameter = {};
|
|
27388
|
+
// authentication oauth2 required
|
|
27389
|
+
// oauth required
|
|
27390
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27391
|
+
case 1:
|
|
27392
|
+
// authentication oauth2 required
|
|
27393
|
+
// oauth required
|
|
27394
|
+
_a.sent();
|
|
27395
|
+
if (serviceId !== undefined) {
|
|
27396
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
27397
|
+
}
|
|
27398
|
+
if (serviceName !== undefined) {
|
|
27399
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
27400
|
+
}
|
|
27401
|
+
if (patientId !== undefined) {
|
|
27402
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
27403
|
+
}
|
|
27404
|
+
if (patientName !== undefined) {
|
|
27405
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
27406
|
+
}
|
|
27407
|
+
if (recommended !== undefined) {
|
|
27408
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
27409
|
+
}
|
|
27410
|
+
if (rate !== undefined) {
|
|
27411
|
+
localVarQueryParameter['Rate'] = rate;
|
|
27412
|
+
}
|
|
27413
|
+
if (reviewType !== undefined) {
|
|
27414
|
+
localVarQueryParameter['ReviewType'] = reviewType;
|
|
27415
|
+
}
|
|
27416
|
+
if (page !== undefined) {
|
|
27417
|
+
localVarQueryParameter['page'] = page;
|
|
27418
|
+
}
|
|
27419
|
+
if (limit !== undefined) {
|
|
27420
|
+
localVarQueryParameter['limit'] = limit;
|
|
27421
|
+
}
|
|
27422
|
+
if (lastRetrieved !== undefined) {
|
|
27423
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
27424
|
+
lastRetrieved.toISOString() :
|
|
27425
|
+
lastRetrieved;
|
|
27426
|
+
}
|
|
27427
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27428
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27429
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27430
|
+
return [2 /*return*/, {
|
|
27431
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27432
|
+
options: localVarRequestOptions,
|
|
27433
|
+
}];
|
|
27434
|
+
}
|
|
27435
|
+
});
|
|
27436
|
+
});
|
|
27437
|
+
},
|
|
27438
|
+
/**
|
|
27439
|
+
*
|
|
27440
|
+
* @summary Create a ServiceReview.
|
|
27441
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
27442
|
+
* @param {*} [options] Override http request option.
|
|
27443
|
+
* @throws {RequiredError}
|
|
27444
|
+
*/
|
|
27445
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
27446
|
+
if (options === void 0) { options = {}; }
|
|
27447
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27448
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27449
|
+
return __generator(this, function (_a) {
|
|
27450
|
+
switch (_a.label) {
|
|
27451
|
+
case 0:
|
|
27452
|
+
localVarPath = "/api/v1/servicereviews";
|
|
27453
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27454
|
+
if (configuration) {
|
|
27455
|
+
baseOptions = configuration.baseOptions;
|
|
27456
|
+
}
|
|
27457
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
27458
|
+
localVarHeaderParameter = {};
|
|
27459
|
+
localVarQueryParameter = {};
|
|
27460
|
+
// authentication oauth2 required
|
|
27461
|
+
// oauth required
|
|
27462
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27463
|
+
case 1:
|
|
27464
|
+
// authentication oauth2 required
|
|
27465
|
+
// oauth required
|
|
27466
|
+
_a.sent();
|
|
27467
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27468
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27469
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27470
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27471
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration);
|
|
27472
|
+
return [2 /*return*/, {
|
|
27473
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27474
|
+
options: localVarRequestOptions,
|
|
27475
|
+
}];
|
|
27476
|
+
}
|
|
27477
|
+
});
|
|
27478
|
+
});
|
|
27479
|
+
},
|
|
27480
|
+
/**
|
|
27481
|
+
*
|
|
27482
|
+
* @summary Delete ServiceReview.
|
|
27483
|
+
* @param {string} serviceReviewId
|
|
27484
|
+
* @param {*} [options] Override http request option.
|
|
27485
|
+
* @throws {RequiredError}
|
|
27486
|
+
*/
|
|
27487
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
27488
|
+
if (options === void 0) { options = {}; }
|
|
27489
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27490
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27491
|
+
return __generator(this, function (_a) {
|
|
27492
|
+
switch (_a.label) {
|
|
27493
|
+
case 0:
|
|
27494
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
27495
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
27496
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
27497
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
27498
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27499
|
+
if (configuration) {
|
|
27500
|
+
baseOptions = configuration.baseOptions;
|
|
27501
|
+
}
|
|
27502
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
27503
|
+
localVarHeaderParameter = {};
|
|
27504
|
+
localVarQueryParameter = {};
|
|
27505
|
+
// authentication oauth2 required
|
|
27506
|
+
// oauth required
|
|
27507
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27508
|
+
case 1:
|
|
27509
|
+
// authentication oauth2 required
|
|
27510
|
+
// oauth required
|
|
27511
|
+
_a.sent();
|
|
27512
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27513
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27514
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27515
|
+
return [2 /*return*/, {
|
|
27516
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27517
|
+
options: localVarRequestOptions,
|
|
27518
|
+
}];
|
|
27519
|
+
}
|
|
27520
|
+
});
|
|
27521
|
+
});
|
|
27522
|
+
},
|
|
27523
|
+
/**
|
|
27524
|
+
*
|
|
27525
|
+
* @param {string} serviceReviewId
|
|
27526
|
+
* @param {*} [options] Override http request option.
|
|
27527
|
+
* @throws {RequiredError}
|
|
27528
|
+
*/
|
|
27529
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
27530
|
+
if (options === void 0) { options = {}; }
|
|
27531
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27532
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27533
|
+
return __generator(this, function (_a) {
|
|
27534
|
+
switch (_a.label) {
|
|
27535
|
+
case 0:
|
|
27536
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
27537
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
27538
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
27539
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
27540
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27541
|
+
if (configuration) {
|
|
27542
|
+
baseOptions = configuration.baseOptions;
|
|
27543
|
+
}
|
|
27544
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27545
|
+
localVarHeaderParameter = {};
|
|
27546
|
+
localVarQueryParameter = {};
|
|
27547
|
+
// authentication oauth2 required
|
|
27548
|
+
// oauth required
|
|
27549
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27550
|
+
case 1:
|
|
27551
|
+
// authentication oauth2 required
|
|
27552
|
+
// oauth required
|
|
27553
|
+
_a.sent();
|
|
27554
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27555
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27556
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27557
|
+
return [2 /*return*/, {
|
|
27558
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27559
|
+
options: localVarRequestOptions,
|
|
27560
|
+
}];
|
|
27561
|
+
}
|
|
27562
|
+
});
|
|
27563
|
+
});
|
|
27564
|
+
},
|
|
27565
|
+
/**
|
|
27566
|
+
*
|
|
27567
|
+
* @summary Get all ServiceReviewMedias.
|
|
27568
|
+
* @param {string} serviceReviewId
|
|
27569
|
+
* @param {string} [id]
|
|
27570
|
+
* @param {MediaType} [mediaType]
|
|
27571
|
+
* @param {number} [page]
|
|
27572
|
+
* @param {number} [limit]
|
|
27573
|
+
* @param {Date} [lastRetrieved]
|
|
27574
|
+
* @param {*} [options] Override http request option.
|
|
27575
|
+
* @throws {RequiredError}
|
|
27576
|
+
*/
|
|
27577
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
27578
|
+
if (options === void 0) { options = {}; }
|
|
27579
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27580
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27581
|
+
return __generator(this, function (_a) {
|
|
27582
|
+
switch (_a.label) {
|
|
27583
|
+
case 0:
|
|
27584
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
27585
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
27586
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
27587
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
27588
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27589
|
+
if (configuration) {
|
|
27590
|
+
baseOptions = configuration.baseOptions;
|
|
27591
|
+
}
|
|
27592
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27593
|
+
localVarHeaderParameter = {};
|
|
27594
|
+
localVarQueryParameter = {};
|
|
27595
|
+
// authentication oauth2 required
|
|
27596
|
+
// oauth required
|
|
27597
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27598
|
+
case 1:
|
|
27599
|
+
// authentication oauth2 required
|
|
27600
|
+
// oauth required
|
|
27601
|
+
_a.sent();
|
|
27602
|
+
if (id !== undefined) {
|
|
27603
|
+
localVarQueryParameter['Id'] = id;
|
|
27604
|
+
}
|
|
27605
|
+
if (mediaType !== undefined) {
|
|
27606
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
27607
|
+
}
|
|
27608
|
+
if (page !== undefined) {
|
|
27609
|
+
localVarQueryParameter['page'] = page;
|
|
27610
|
+
}
|
|
27611
|
+
if (limit !== undefined) {
|
|
27612
|
+
localVarQueryParameter['limit'] = limit;
|
|
27613
|
+
}
|
|
27614
|
+
if (lastRetrieved !== undefined) {
|
|
27615
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
27616
|
+
lastRetrieved.toISOString() :
|
|
27617
|
+
lastRetrieved;
|
|
27618
|
+
}
|
|
27619
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27620
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27621
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27622
|
+
return [2 /*return*/, {
|
|
27623
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27624
|
+
options: localVarRequestOptions,
|
|
27625
|
+
}];
|
|
27626
|
+
}
|
|
27627
|
+
});
|
|
27628
|
+
});
|
|
27629
|
+
},
|
|
27630
|
+
/**
|
|
27631
|
+
*
|
|
27632
|
+
* @summary Delete ServiceReviewMedia
|
|
27633
|
+
* @param {string} serviceReviewId
|
|
27634
|
+
* @param {string} mediaId
|
|
27635
|
+
* @param {*} [options] Override http request option.
|
|
27636
|
+
* @throws {RequiredError}
|
|
27637
|
+
*/
|
|
27638
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
27639
|
+
if (options === void 0) { options = {}; }
|
|
27640
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27641
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27642
|
+
return __generator(this, function (_a) {
|
|
27643
|
+
switch (_a.label) {
|
|
27644
|
+
case 0:
|
|
27645
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
27646
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
27647
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
27648
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
27649
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
27650
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
27651
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
27652
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27653
|
+
if (configuration) {
|
|
27654
|
+
baseOptions = configuration.baseOptions;
|
|
27655
|
+
}
|
|
27656
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
27657
|
+
localVarHeaderParameter = {};
|
|
27658
|
+
localVarQueryParameter = {};
|
|
27659
|
+
// authentication oauth2 required
|
|
27660
|
+
// oauth required
|
|
27661
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27662
|
+
case 1:
|
|
27663
|
+
// authentication oauth2 required
|
|
27664
|
+
// oauth required
|
|
27665
|
+
_a.sent();
|
|
27666
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27667
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27668
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27669
|
+
return [2 /*return*/, {
|
|
27670
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27671
|
+
options: localVarRequestOptions,
|
|
27672
|
+
}];
|
|
27673
|
+
}
|
|
27674
|
+
});
|
|
27675
|
+
});
|
|
27676
|
+
},
|
|
27677
|
+
/**
|
|
27678
|
+
*
|
|
27679
|
+
* @summary Get ServiceReviewMedia.
|
|
27680
|
+
* @param {string} serviceReviewId
|
|
27681
|
+
* @param {string} mediaId
|
|
27682
|
+
* @param {*} [options] Override http request option.
|
|
27683
|
+
* @throws {RequiredError}
|
|
27684
|
+
*/
|
|
27685
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
27686
|
+
if (options === void 0) { options = {}; }
|
|
27687
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
27688
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
27689
|
+
return __generator(this, function (_a) {
|
|
27690
|
+
switch (_a.label) {
|
|
27691
|
+
case 0:
|
|
27692
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
27693
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
27694
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
27695
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
27696
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
27697
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
27698
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
27699
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27700
|
+
if (configuration) {
|
|
27701
|
+
baseOptions = configuration.baseOptions;
|
|
27702
|
+
}
|
|
27703
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
27704
|
+
localVarHeaderParameter = {};
|
|
27705
|
+
localVarQueryParameter = {};
|
|
27706
|
+
// authentication oauth2 required
|
|
27707
|
+
// oauth required
|
|
27708
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
27709
|
+
case 1:
|
|
27710
|
+
// authentication oauth2 required
|
|
27711
|
+
// oauth required
|
|
27712
|
+
_a.sent();
|
|
27713
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27714
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27715
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27716
|
+
return [2 /*return*/, {
|
|
27717
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
27718
|
+
options: localVarRequestOptions,
|
|
27719
|
+
}];
|
|
27720
|
+
}
|
|
27721
|
+
});
|
|
27722
|
+
});
|
|
27723
|
+
},
|
|
27724
|
+
/**
|
|
27725
|
+
*
|
|
27726
|
+
* @summary Update ServiceReviewMedia.
|
|
27727
|
+
* @param {string} serviceReviewId
|
|
27728
|
+
* @param {string} mediaId
|
|
27729
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26385
27730
|
* @param {*} [options] Override http request option.
|
|
26386
27731
|
* @throws {RequiredError}
|
|
26387
27732
|
*/
|
|
@@ -27487,14 +28832,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
27487
28832
|
* @summary Get all ServiceCategories.
|
|
27488
28833
|
* @param {string} [id]
|
|
27489
28834
|
* @param {string} [name]
|
|
27490
|
-
* @param {string} [description]
|
|
27491
28835
|
* @param {number} [page]
|
|
27492
28836
|
* @param {number} [limit]
|
|
27493
28837
|
* @param {Date} [lastRetrieved]
|
|
27494
28838
|
* @param {*} [options] Override http request option.
|
|
27495
28839
|
* @throws {RequiredError}
|
|
27496
28840
|
*/
|
|
27497
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
28841
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
27498
28842
|
if (options === void 0) { options = {}; }
|
|
27499
28843
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27500
28844
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27522,9 +28866,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
27522
28866
|
if (name !== undefined) {
|
|
27523
28867
|
localVarQueryParameter['Name'] = name;
|
|
27524
28868
|
}
|
|
27525
|
-
if (description !== undefined) {
|
|
27526
|
-
localVarQueryParameter['Description'] = description;
|
|
27527
|
-
}
|
|
27528
28869
|
if (page !== undefined) {
|
|
27529
28870
|
localVarQueryParameter['page'] = page;
|
|
27530
28871
|
}
|
|
@@ -27734,19 +29075,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
27734
29075
|
* @summary Get all ServiceCategories.
|
|
27735
29076
|
* @param {string} [id]
|
|
27736
29077
|
* @param {string} [name]
|
|
27737
|
-
* @param {string} [description]
|
|
27738
29078
|
* @param {number} [page]
|
|
27739
29079
|
* @param {number} [limit]
|
|
27740
29080
|
* @param {Date} [lastRetrieved]
|
|
27741
29081
|
* @param {*} [options] Override http request option.
|
|
27742
29082
|
* @throws {RequiredError}
|
|
27743
29083
|
*/
|
|
27744
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
29084
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
27745
29085
|
return __awaiter(this, void 0, void 0, function () {
|
|
27746
29086
|
var localVarAxiosArgs;
|
|
27747
29087
|
return __generator(this, function (_a) {
|
|
27748
29088
|
switch (_a.label) {
|
|
27749
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name,
|
|
29089
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options)];
|
|
27750
29090
|
case 1:
|
|
27751
29091
|
localVarAxiosArgs = _a.sent();
|
|
27752
29092
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27848,15 +29188,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
27848
29188
|
* @summary Get all ServiceCategories.
|
|
27849
29189
|
* @param {string} [id]
|
|
27850
29190
|
* @param {string} [name]
|
|
27851
|
-
* @param {string} [description]
|
|
27852
29191
|
* @param {number} [page]
|
|
27853
29192
|
* @param {number} [limit]
|
|
27854
29193
|
* @param {Date} [lastRetrieved]
|
|
27855
29194
|
* @param {*} [options] Override http request option.
|
|
27856
29195
|
* @throws {RequiredError}
|
|
27857
29196
|
*/
|
|
27858
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
27859
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name,
|
|
29197
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
29198
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27860
29199
|
},
|
|
27861
29200
|
/**
|
|
27862
29201
|
*
|
|
@@ -27916,7 +29255,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
27916
29255
|
* @summary Get all ServiceCategories.
|
|
27917
29256
|
* @param {string} [id]
|
|
27918
29257
|
* @param {string} [name]
|
|
27919
|
-
* @param {string} [description]
|
|
27920
29258
|
* @param {number} [page]
|
|
27921
29259
|
* @param {number} [limit]
|
|
27922
29260
|
* @param {Date} [lastRetrieved]
|
|
@@ -27924,9 +29262,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
27924
29262
|
* @throws {RequiredError}
|
|
27925
29263
|
* @memberof ServicesCategoriesApi
|
|
27926
29264
|
*/
|
|
27927
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name,
|
|
29265
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, page, limit, lastRetrieved, options) {
|
|
27928
29266
|
var _this = this;
|
|
27929
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name,
|
|
29267
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27930
29268
|
};
|
|
27931
29269
|
/**
|
|
27932
29270
|
*
|