ch-api-client-typescript2 3.2.2 → 3.3.0
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 +1008 -1058
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +714 -585
- package/package.json +1 -1
- package/src/api.ts +1399 -1377
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.
|
|
82
|
-
exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp =
|
|
83
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi =
|
|
81
|
+
exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
82
|
+
exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = void 0;
|
|
83
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -272,18 +272,6 @@ var RejectReason;
|
|
|
272
272
|
RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
|
|
273
273
|
RejectReason["OtherReason"] = "OtherReason";
|
|
274
274
|
})(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @export
|
|
278
|
-
* @enum {string}
|
|
279
|
-
*/
|
|
280
|
-
var ReviewCategory;
|
|
281
|
-
(function (ReviewCategory) {
|
|
282
|
-
ReviewCategory["Services"] = "Services";
|
|
283
|
-
ReviewCategory["Hospitality"] = "Hospitality";
|
|
284
|
-
ReviewCategory["Transfer"] = "Transfer";
|
|
285
|
-
ReviewCategory["Etc"] = "Etc";
|
|
286
|
-
})(ReviewCategory = exports.ReviewCategory || (exports.ReviewCategory = {}));
|
|
287
275
|
/**
|
|
288
276
|
*
|
|
289
277
|
* @export
|
|
@@ -332,13 +320,7 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
332
320
|
* @param {string} [hospitalId]
|
|
333
321
|
* @param {string} [hospitalName]
|
|
334
322
|
* @param {string} [hospitalSlug]
|
|
335
|
-
* @param {string} [
|
|
336
|
-
* @param {string} [normalizedOverviewTitle]
|
|
337
|
-
* @param {string} [overview]
|
|
338
|
-
* @param {string} [content]
|
|
339
|
-
* @param {string} [customStyle]
|
|
340
|
-
* @param {string} [background]
|
|
341
|
-
* @param {string} [backgroundThumbnail]
|
|
323
|
+
* @param {string} [name]
|
|
342
324
|
* @param {string} [languageCode]
|
|
343
325
|
* @param {boolean} [returnDefaultValue]
|
|
344
326
|
* @param {boolean} [confirmed]
|
|
@@ -348,7 +330,7 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
348
330
|
* @param {*} [options] Override http request option.
|
|
349
331
|
* @throws {RequiredError}
|
|
350
332
|
*/
|
|
351
|
-
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug,
|
|
333
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
352
334
|
if (options === void 0) { options = {}; }
|
|
353
335
|
return __awaiter(_this, void 0, void 0, function () {
|
|
354
336
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -370,26 +352,8 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
370
352
|
if (hospitalSlug !== undefined) {
|
|
371
353
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
372
354
|
}
|
|
373
|
-
if (
|
|
374
|
-
localVarQueryParameter['
|
|
375
|
-
}
|
|
376
|
-
if (normalizedOverviewTitle !== undefined) {
|
|
377
|
-
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
378
|
-
}
|
|
379
|
-
if (overview !== undefined) {
|
|
380
|
-
localVarQueryParameter['Overview'] = overview;
|
|
381
|
-
}
|
|
382
|
-
if (content !== undefined) {
|
|
383
|
-
localVarQueryParameter['Content'] = content;
|
|
384
|
-
}
|
|
385
|
-
if (customStyle !== undefined) {
|
|
386
|
-
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
387
|
-
}
|
|
388
|
-
if (background !== undefined) {
|
|
389
|
-
localVarQueryParameter['Background'] = background;
|
|
390
|
-
}
|
|
391
|
-
if (backgroundThumbnail !== undefined) {
|
|
392
|
-
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
355
|
+
if (name !== undefined) {
|
|
356
|
+
localVarQueryParameter['Name'] = name;
|
|
393
357
|
}
|
|
394
358
|
if (languageCode !== undefined) {
|
|
395
359
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
@@ -518,13 +482,7 @@ var AboutUsApiFp = function (configuration) {
|
|
|
518
482
|
* @param {string} [hospitalId]
|
|
519
483
|
* @param {string} [hospitalName]
|
|
520
484
|
* @param {string} [hospitalSlug]
|
|
521
|
-
* @param {string} [
|
|
522
|
-
* @param {string} [normalizedOverviewTitle]
|
|
523
|
-
* @param {string} [overview]
|
|
524
|
-
* @param {string} [content]
|
|
525
|
-
* @param {string} [customStyle]
|
|
526
|
-
* @param {string} [background]
|
|
527
|
-
* @param {string} [backgroundThumbnail]
|
|
485
|
+
* @param {string} [name]
|
|
528
486
|
* @param {string} [languageCode]
|
|
529
487
|
* @param {boolean} [returnDefaultValue]
|
|
530
488
|
* @param {boolean} [confirmed]
|
|
@@ -534,12 +492,12 @@ var AboutUsApiFp = function (configuration) {
|
|
|
534
492
|
* @param {*} [options] Override http request option.
|
|
535
493
|
* @throws {RequiredError}
|
|
536
494
|
*/
|
|
537
|
-
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug,
|
|
495
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
538
496
|
return __awaiter(this, void 0, void 0, function () {
|
|
539
497
|
var localVarAxiosArgs;
|
|
540
498
|
return __generator(this, function (_a) {
|
|
541
499
|
switch (_a.label) {
|
|
542
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug,
|
|
500
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
|
|
543
501
|
case 1:
|
|
544
502
|
localVarAxiosArgs = _a.sent();
|
|
545
503
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -606,13 +564,7 @@ var AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
|
606
564
|
* @param {string} [hospitalId]
|
|
607
565
|
* @param {string} [hospitalName]
|
|
608
566
|
* @param {string} [hospitalSlug]
|
|
609
|
-
* @param {string} [
|
|
610
|
-
* @param {string} [normalizedOverviewTitle]
|
|
611
|
-
* @param {string} [overview]
|
|
612
|
-
* @param {string} [content]
|
|
613
|
-
* @param {string} [customStyle]
|
|
614
|
-
* @param {string} [background]
|
|
615
|
-
* @param {string} [backgroundThumbnail]
|
|
567
|
+
* @param {string} [name]
|
|
616
568
|
* @param {string} [languageCode]
|
|
617
569
|
* @param {boolean} [returnDefaultValue]
|
|
618
570
|
* @param {boolean} [confirmed]
|
|
@@ -622,8 +574,8 @@ var AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
|
622
574
|
* @param {*} [options] Override http request option.
|
|
623
575
|
* @throws {RequiredError}
|
|
624
576
|
*/
|
|
625
|
-
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug,
|
|
626
|
-
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug,
|
|
577
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
578
|
+
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
627
579
|
},
|
|
628
580
|
/**
|
|
629
581
|
*
|
|
@@ -668,13 +620,7 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
668
620
|
* @param {string} [hospitalId]
|
|
669
621
|
* @param {string} [hospitalName]
|
|
670
622
|
* @param {string} [hospitalSlug]
|
|
671
|
-
* @param {string} [
|
|
672
|
-
* @param {string} [normalizedOverviewTitle]
|
|
673
|
-
* @param {string} [overview]
|
|
674
|
-
* @param {string} [content]
|
|
675
|
-
* @param {string} [customStyle]
|
|
676
|
-
* @param {string} [background]
|
|
677
|
-
* @param {string} [backgroundThumbnail]
|
|
623
|
+
* @param {string} [name]
|
|
678
624
|
* @param {string} [languageCode]
|
|
679
625
|
* @param {boolean} [returnDefaultValue]
|
|
680
626
|
* @param {boolean} [confirmed]
|
|
@@ -685,9 +631,9 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
685
631
|
* @throws {RequiredError}
|
|
686
632
|
* @memberof AboutUsApi
|
|
687
633
|
*/
|
|
688
|
-
AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug,
|
|
634
|
+
AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
689
635
|
var _this = this;
|
|
690
|
-
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug,
|
|
636
|
+
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
691
637
|
};
|
|
692
638
|
/**
|
|
693
639
|
*
|
|
@@ -1002,16 +948,17 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1002
948
|
* @param {string} [contributorId]
|
|
1003
949
|
* @param {string} [contributorName]
|
|
1004
950
|
* @param {string} [email]
|
|
1005
|
-
* @param {string} [description]
|
|
1006
951
|
* @param {string} [website]
|
|
1007
952
|
* @param {ContributionType} [contributionType]
|
|
953
|
+
* @param {string} [languageCode]
|
|
954
|
+
* @param {boolean} [showHidden]
|
|
1008
955
|
* @param {number} [page]
|
|
1009
956
|
* @param {number} [limit]
|
|
1010
957
|
* @param {Date} [lastRetrieved]
|
|
1011
958
|
* @param {*} [options] Override http request option.
|
|
1012
959
|
* @throws {RequiredError}
|
|
1013
960
|
*/
|
|
1014
|
-
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email,
|
|
961
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1015
962
|
if (options === void 0) { options = {}; }
|
|
1016
963
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1017
964
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1039,15 +986,18 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1039
986
|
if (email !== undefined) {
|
|
1040
987
|
localVarQueryParameter['Email'] = email;
|
|
1041
988
|
}
|
|
1042
|
-
if (description !== undefined) {
|
|
1043
|
-
localVarQueryParameter['Description'] = description;
|
|
1044
|
-
}
|
|
1045
989
|
if (website !== undefined) {
|
|
1046
990
|
localVarQueryParameter['Website'] = website;
|
|
1047
991
|
}
|
|
1048
992
|
if (contributionType !== undefined) {
|
|
1049
993
|
localVarQueryParameter['ContributionType'] = contributionType;
|
|
1050
994
|
}
|
|
995
|
+
if (languageCode !== undefined) {
|
|
996
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
997
|
+
}
|
|
998
|
+
if (showHidden !== undefined) {
|
|
999
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
1000
|
+
}
|
|
1051
1001
|
if (page !== undefined) {
|
|
1052
1002
|
localVarQueryParameter['page'] = page;
|
|
1053
1003
|
}
|
|
@@ -1378,7 +1328,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1328
|
*
|
|
1379
1329
|
* @summary Get all Articles.
|
|
1380
1330
|
* @param {string} [id]
|
|
1381
|
-
* @param {string} [
|
|
1331
|
+
* @param {string} [name]
|
|
1382
1332
|
* @param {string} [description]
|
|
1383
1333
|
* @param {ArticleStatus} [status]
|
|
1384
1334
|
* @param {MarketingType} [marketingType]
|
|
@@ -1400,7 +1350,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1400
1350
|
* @param {*} [options] Override http request option.
|
|
1401
1351
|
* @throws {RequiredError}
|
|
1402
1352
|
*/
|
|
1403
|
-
apiV2ArticlesGet: function (id,
|
|
1353
|
+
apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1404
1354
|
if (options === void 0) { options = {}; }
|
|
1405
1355
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1406
1356
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1416,8 +1366,8 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1416
1366
|
if (id !== undefined) {
|
|
1417
1367
|
localVarQueryParameter['Id'] = id;
|
|
1418
1368
|
}
|
|
1419
|
-
if (
|
|
1420
|
-
localVarQueryParameter['
|
|
1369
|
+
if (name !== undefined) {
|
|
1370
|
+
localVarQueryParameter['Name'] = name;
|
|
1421
1371
|
}
|
|
1422
1372
|
if (description !== undefined) {
|
|
1423
1373
|
localVarQueryParameter['Description'] = description;
|
|
@@ -1564,21 +1514,22 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1564
1514
|
* @param {string} [contributorId]
|
|
1565
1515
|
* @param {string} [contributorName]
|
|
1566
1516
|
* @param {string} [email]
|
|
1567
|
-
* @param {string} [description]
|
|
1568
1517
|
* @param {string} [website]
|
|
1569
1518
|
* @param {ContributionType} [contributionType]
|
|
1519
|
+
* @param {string} [languageCode]
|
|
1520
|
+
* @param {boolean} [showHidden]
|
|
1570
1521
|
* @param {number} [page]
|
|
1571
1522
|
* @param {number} [limit]
|
|
1572
1523
|
* @param {Date} [lastRetrieved]
|
|
1573
1524
|
* @param {*} [options] Override http request option.
|
|
1574
1525
|
* @throws {RequiredError}
|
|
1575
1526
|
*/
|
|
1576
|
-
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email,
|
|
1527
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1577
1528
|
return __awaiter(this, void 0, void 0, function () {
|
|
1578
1529
|
var localVarAxiosArgs;
|
|
1579
1530
|
return __generator(this, function (_a) {
|
|
1580
1531
|
switch (_a.label) {
|
|
1581
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email,
|
|
1532
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
1582
1533
|
case 1:
|
|
1583
1534
|
localVarAxiosArgs = _a.sent();
|
|
1584
1535
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1747,7 +1698,7 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1747
1698
|
*
|
|
1748
1699
|
* @summary Get all Articles.
|
|
1749
1700
|
* @param {string} [id]
|
|
1750
|
-
* @param {string} [
|
|
1701
|
+
* @param {string} [name]
|
|
1751
1702
|
* @param {string} [description]
|
|
1752
1703
|
* @param {ArticleStatus} [status]
|
|
1753
1704
|
* @param {MarketingType} [marketingType]
|
|
@@ -1769,12 +1720,12 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1769
1720
|
* @param {*} [options] Override http request option.
|
|
1770
1721
|
* @throws {RequiredError}
|
|
1771
1722
|
*/
|
|
1772
|
-
apiV2ArticlesGet: function (id,
|
|
1723
|
+
apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1773
1724
|
return __awaiter(this, void 0, void 0, function () {
|
|
1774
1725
|
var localVarAxiosArgs;
|
|
1775
1726
|
return __generator(this, function (_a) {
|
|
1776
1727
|
switch (_a.label) {
|
|
1777
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id,
|
|
1728
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
1778
1729
|
case 1:
|
|
1779
1730
|
localVarAxiosArgs = _a.sent();
|
|
1780
1731
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1832,17 +1783,18 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1832
1783
|
* @param {string} [contributorId]
|
|
1833
1784
|
* @param {string} [contributorName]
|
|
1834
1785
|
* @param {string} [email]
|
|
1835
|
-
* @param {string} [description]
|
|
1836
1786
|
* @param {string} [website]
|
|
1837
1787
|
* @param {ContributionType} [contributionType]
|
|
1788
|
+
* @param {string} [languageCode]
|
|
1789
|
+
* @param {boolean} [showHidden]
|
|
1838
1790
|
* @param {number} [page]
|
|
1839
1791
|
* @param {number} [limit]
|
|
1840
1792
|
* @param {Date} [lastRetrieved]
|
|
1841
1793
|
* @param {*} [options] Override http request option.
|
|
1842
1794
|
* @throws {RequiredError}
|
|
1843
1795
|
*/
|
|
1844
|
-
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email,
|
|
1845
|
-
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email,
|
|
1796
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1797
|
+
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1846
1798
|
},
|
|
1847
1799
|
/**
|
|
1848
1800
|
*
|
|
@@ -1935,7 +1887,7 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1935
1887
|
*
|
|
1936
1888
|
* @summary Get all Articles.
|
|
1937
1889
|
* @param {string} [id]
|
|
1938
|
-
* @param {string} [
|
|
1890
|
+
* @param {string} [name]
|
|
1939
1891
|
* @param {string} [description]
|
|
1940
1892
|
* @param {ArticleStatus} [status]
|
|
1941
1893
|
* @param {MarketingType} [marketingType]
|
|
@@ -1957,8 +1909,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1957
1909
|
* @param {*} [options] Override http request option.
|
|
1958
1910
|
* @throws {RequiredError}
|
|
1959
1911
|
*/
|
|
1960
|
-
apiV2ArticlesGet: function (id,
|
|
1961
|
-
return localVarFp.apiV2ArticlesGet(id,
|
|
1912
|
+
apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1913
|
+
return localVarFp.apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1962
1914
|
},
|
|
1963
1915
|
/**
|
|
1964
1916
|
*
|
|
@@ -2006,9 +1958,10 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2006
1958
|
* @param {string} [contributorId]
|
|
2007
1959
|
* @param {string} [contributorName]
|
|
2008
1960
|
* @param {string} [email]
|
|
2009
|
-
* @param {string} [description]
|
|
2010
1961
|
* @param {string} [website]
|
|
2011
1962
|
* @param {ContributionType} [contributionType]
|
|
1963
|
+
* @param {string} [languageCode]
|
|
1964
|
+
* @param {boolean} [showHidden]
|
|
2012
1965
|
* @param {number} [page]
|
|
2013
1966
|
* @param {number} [limit]
|
|
2014
1967
|
* @param {Date} [lastRetrieved]
|
|
@@ -2016,9 +1969,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2016
1969
|
* @throws {RequiredError}
|
|
2017
1970
|
* @memberof ArticlesApi
|
|
2018
1971
|
*/
|
|
2019
|
-
ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsGet = function (articleId, articleName, contributorId, contributorName, email,
|
|
1972
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsGet = function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
2020
1973
|
var _this = this;
|
|
2021
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email,
|
|
1974
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2022
1975
|
};
|
|
2023
1976
|
/**
|
|
2024
1977
|
*
|
|
@@ -2125,7 +2078,7 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2125
2078
|
*
|
|
2126
2079
|
* @summary Get all Articles.
|
|
2127
2080
|
* @param {string} [id]
|
|
2128
|
-
* @param {string} [
|
|
2081
|
+
* @param {string} [name]
|
|
2129
2082
|
* @param {string} [description]
|
|
2130
2083
|
* @param {ArticleStatus} [status]
|
|
2131
2084
|
* @param {MarketingType} [marketingType]
|
|
@@ -2148,9 +2101,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2148
2101
|
* @throws {RequiredError}
|
|
2149
2102
|
* @memberof ArticlesApi
|
|
2150
2103
|
*/
|
|
2151
|
-
ArticlesApi.prototype.apiV2ArticlesGet = function (id,
|
|
2104
|
+
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2152
2105
|
var _this = this;
|
|
2153
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id,
|
|
2106
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2154
2107
|
};
|
|
2155
2108
|
/**
|
|
2156
2109
|
*
|
|
@@ -2218,49 +2171,6 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2218
2171
|
});
|
|
2219
2172
|
});
|
|
2220
2173
|
},
|
|
2221
|
-
/**
|
|
2222
|
-
*
|
|
2223
|
-
* @summary Mark as Paid booking.
|
|
2224
|
-
* @param {string} bookingId
|
|
2225
|
-
* @param {*} [options] Override http request option.
|
|
2226
|
-
* @throws {RequiredError}
|
|
2227
|
-
*/
|
|
2228
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2229
|
-
if (options === void 0) { options = {}; }
|
|
2230
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2231
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2232
|
-
return __generator(this, function (_a) {
|
|
2233
|
-
switch (_a.label) {
|
|
2234
|
-
case 0:
|
|
2235
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2236
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId);
|
|
2237
|
-
localVarPath = "/api/v2/bookings/{bookingId}/paid"
|
|
2238
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2239
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2240
|
-
if (configuration) {
|
|
2241
|
-
baseOptions = configuration.baseOptions;
|
|
2242
|
-
}
|
|
2243
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2244
|
-
localVarHeaderParameter = {};
|
|
2245
|
-
localVarQueryParameter = {};
|
|
2246
|
-
// authentication oauth2 required
|
|
2247
|
-
// oauth required
|
|
2248
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2249
|
-
case 1:
|
|
2250
|
-
// authentication oauth2 required
|
|
2251
|
-
// oauth required
|
|
2252
|
-
_a.sent();
|
|
2253
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2254
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2255
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2256
|
-
return [2 /*return*/, {
|
|
2257
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2258
|
-
options: localVarRequestOptions,
|
|
2259
|
-
}];
|
|
2260
|
-
}
|
|
2261
|
-
});
|
|
2262
|
-
});
|
|
2263
|
-
},
|
|
2264
2174
|
/**
|
|
2265
2175
|
*
|
|
2266
2176
|
* @summary Pay booking.
|
|
@@ -2503,26 +2413,6 @@ var BookingsApiFp = function (configuration) {
|
|
|
2503
2413
|
});
|
|
2504
2414
|
});
|
|
2505
2415
|
},
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @summary Mark as Paid booking.
|
|
2509
|
-
* @param {string} bookingId
|
|
2510
|
-
* @param {*} [options] Override http request option.
|
|
2511
|
-
* @throws {RequiredError}
|
|
2512
|
-
*/
|
|
2513
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2514
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2515
|
-
var localVarAxiosArgs;
|
|
2516
|
-
return __generator(this, function (_a) {
|
|
2517
|
-
switch (_a.label) {
|
|
2518
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options)];
|
|
2519
|
-
case 1:
|
|
2520
|
-
localVarAxiosArgs = _a.sent();
|
|
2521
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2522
|
-
}
|
|
2523
|
-
});
|
|
2524
|
-
});
|
|
2525
|
-
},
|
|
2526
2416
|
/**
|
|
2527
2417
|
*
|
|
2528
2418
|
* @summary Pay booking.
|
|
@@ -2633,16 +2523,6 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2633
2523
|
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2634
2524
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2635
2525
|
},
|
|
2636
|
-
/**
|
|
2637
|
-
*
|
|
2638
|
-
* @summary Mark as Paid booking.
|
|
2639
|
-
* @param {string} bookingId
|
|
2640
|
-
* @param {*} [options] Override http request option.
|
|
2641
|
-
* @throws {RequiredError}
|
|
2642
|
-
*/
|
|
2643
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2644
|
-
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2645
|
-
},
|
|
2646
2526
|
/**
|
|
2647
2527
|
*
|
|
2648
2528
|
* @summary Pay booking.
|
|
@@ -2719,18 +2599,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2719
2599
|
var _this = this;
|
|
2720
2600
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2721
2601
|
};
|
|
2722
|
-
/**
|
|
2723
|
-
*
|
|
2724
|
-
* @summary Mark as Paid booking.
|
|
2725
|
-
* @param {string} bookingId
|
|
2726
|
-
* @param {*} [options] Override http request option.
|
|
2727
|
-
* @throws {RequiredError}
|
|
2728
|
-
* @memberof BookingsApi
|
|
2729
|
-
*/
|
|
2730
|
-
BookingsApi.prototype.apiV2BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
2731
|
-
var _this = this;
|
|
2732
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2733
|
-
};
|
|
2734
2602
|
/**
|
|
2735
2603
|
*
|
|
2736
2604
|
* @summary Pay booking.
|
|
@@ -3696,49 +3564,6 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3696
3564
|
});
|
|
3697
3565
|
});
|
|
3698
3566
|
},
|
|
3699
|
-
/**
|
|
3700
|
-
*
|
|
3701
|
-
* @summary Mark as Paid booking.
|
|
3702
|
-
* @param {string} consultationId
|
|
3703
|
-
* @param {*} [options] Override http request option.
|
|
3704
|
-
* @throws {RequiredError}
|
|
3705
|
-
*/
|
|
3706
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3707
|
-
if (options === void 0) { options = {}; }
|
|
3708
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
3709
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3710
|
-
return __generator(this, function (_a) {
|
|
3711
|
-
switch (_a.label) {
|
|
3712
|
-
case 0:
|
|
3713
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
3714
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
|
|
3715
|
-
localVarPath = "/api/v2/consultations/{consultationId}/paid"
|
|
3716
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
3717
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3718
|
-
if (configuration) {
|
|
3719
|
-
baseOptions = configuration.baseOptions;
|
|
3720
|
-
}
|
|
3721
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3722
|
-
localVarHeaderParameter = {};
|
|
3723
|
-
localVarQueryParameter = {};
|
|
3724
|
-
// authentication oauth2 required
|
|
3725
|
-
// oauth required
|
|
3726
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
3727
|
-
case 1:
|
|
3728
|
-
// authentication oauth2 required
|
|
3729
|
-
// oauth required
|
|
3730
|
-
_a.sent();
|
|
3731
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3732
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3733
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3734
|
-
return [2 /*return*/, {
|
|
3735
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3736
|
-
options: localVarRequestOptions,
|
|
3737
|
-
}];
|
|
3738
|
-
}
|
|
3739
|
-
});
|
|
3740
|
-
});
|
|
3741
|
-
},
|
|
3742
3567
|
/**
|
|
3743
3568
|
*
|
|
3744
3569
|
* @summary Pay consultation.
|
|
@@ -3981,26 +3806,6 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3981
3806
|
});
|
|
3982
3807
|
});
|
|
3983
3808
|
},
|
|
3984
|
-
/**
|
|
3985
|
-
*
|
|
3986
|
-
* @summary Mark as Paid booking.
|
|
3987
|
-
* @param {string} consultationId
|
|
3988
|
-
* @param {*} [options] Override http request option.
|
|
3989
|
-
* @throws {RequiredError}
|
|
3990
|
-
*/
|
|
3991
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3992
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3993
|
-
var localVarAxiosArgs;
|
|
3994
|
-
return __generator(this, function (_a) {
|
|
3995
|
-
switch (_a.label) {
|
|
3996
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options)];
|
|
3997
|
-
case 1:
|
|
3998
|
-
localVarAxiosArgs = _a.sent();
|
|
3999
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4000
|
-
}
|
|
4001
|
-
});
|
|
4002
|
-
});
|
|
4003
|
-
},
|
|
4004
3809
|
/**
|
|
4005
3810
|
*
|
|
4006
3811
|
* @summary Pay consultation.
|
|
@@ -4111,16 +3916,6 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
4111
3916
|
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
4112
3917
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4113
3918
|
},
|
|
4114
|
-
/**
|
|
4115
|
-
*
|
|
4116
|
-
* @summary Mark as Paid booking.
|
|
4117
|
-
* @param {string} consultationId
|
|
4118
|
-
* @param {*} [options] Override http request option.
|
|
4119
|
-
* @throws {RequiredError}
|
|
4120
|
-
*/
|
|
4121
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
4122
|
-
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4123
|
-
},
|
|
4124
3919
|
/**
|
|
4125
3920
|
*
|
|
4126
3921
|
* @summary Pay consultation.
|
|
@@ -4197,18 +3992,6 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4197
3992
|
var _this = this;
|
|
4198
3993
|
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4199
3994
|
};
|
|
4200
|
-
/**
|
|
4201
|
-
*
|
|
4202
|
-
* @summary Mark as Paid booking.
|
|
4203
|
-
* @param {string} consultationId
|
|
4204
|
-
* @param {*} [options] Override http request option.
|
|
4205
|
-
* @throws {RequiredError}
|
|
4206
|
-
* @memberof ConsultationsApi
|
|
4207
|
-
*/
|
|
4208
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdPaidPost = function (consultationId, options) {
|
|
4209
|
-
var _this = this;
|
|
4210
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4211
|
-
};
|
|
4212
3995
|
/**
|
|
4213
3996
|
*
|
|
4214
3997
|
* @summary Pay consultation.
|
|
@@ -4424,7 +4207,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4424
4207
|
* @param {string} [id]
|
|
4425
4208
|
* @param {string} [name]
|
|
4426
4209
|
* @param {string} [email]
|
|
4427
|
-
* @param {string} [description]
|
|
4428
4210
|
* @param {string} [website]
|
|
4429
4211
|
* @param {string} [hospitalId]
|
|
4430
4212
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4437,7 +4219,7 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4437
4219
|
* @param {*} [options] Override http request option.
|
|
4438
4220
|
* @throws {RequiredError}
|
|
4439
4221
|
*/
|
|
4440
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4222
|
+
apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4441
4223
|
if (options === void 0) { options = {}; }
|
|
4442
4224
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4443
4225
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4459,9 +4241,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4459
4241
|
if (email !== undefined) {
|
|
4460
4242
|
localVarQueryParameter['Email'] = email;
|
|
4461
4243
|
}
|
|
4462
|
-
if (description !== undefined) {
|
|
4463
|
-
localVarQueryParameter['Description'] = description;
|
|
4464
|
-
}
|
|
4465
4244
|
if (website !== undefined) {
|
|
4466
4245
|
localVarQueryParameter['Website'] = website;
|
|
4467
4246
|
}
|
|
@@ -4628,7 +4407,6 @@ var ContributorsApiFp = function (configuration) {
|
|
|
4628
4407
|
* @param {string} [id]
|
|
4629
4408
|
* @param {string} [name]
|
|
4630
4409
|
* @param {string} [email]
|
|
4631
|
-
* @param {string} [description]
|
|
4632
4410
|
* @param {string} [website]
|
|
4633
4411
|
* @param {string} [hospitalId]
|
|
4634
4412
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4641,12 +4419,12 @@ var ContributorsApiFp = function (configuration) {
|
|
|
4641
4419
|
* @param {*} [options] Override http request option.
|
|
4642
4420
|
* @throws {RequiredError}
|
|
4643
4421
|
*/
|
|
4644
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4422
|
+
apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4645
4423
|
return __awaiter(this, void 0, void 0, function () {
|
|
4646
4424
|
var localVarAxiosArgs;
|
|
4647
4425
|
return __generator(this, function (_a) {
|
|
4648
4426
|
switch (_a.label) {
|
|
4649
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email,
|
|
4427
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
4650
4428
|
case 1:
|
|
4651
4429
|
localVarAxiosArgs = _a.sent();
|
|
4652
4430
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4732,7 +4510,6 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
4732
4510
|
* @param {string} [id]
|
|
4733
4511
|
* @param {string} [name]
|
|
4734
4512
|
* @param {string} [email]
|
|
4735
|
-
* @param {string} [description]
|
|
4736
4513
|
* @param {string} [website]
|
|
4737
4514
|
* @param {string} [hospitalId]
|
|
4738
4515
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4745,8 +4522,8 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
4745
4522
|
* @param {*} [options] Override http request option.
|
|
4746
4523
|
* @throws {RequiredError}
|
|
4747
4524
|
*/
|
|
4748
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4749
|
-
return localVarFp.apiV2ContributorsGet(id, name, email,
|
|
4525
|
+
apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4526
|
+
return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
4750
4527
|
},
|
|
4751
4528
|
/**
|
|
4752
4529
|
*
|
|
@@ -4826,7 +4603,6 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
4826
4603
|
* @param {string} [id]
|
|
4827
4604
|
* @param {string} [name]
|
|
4828
4605
|
* @param {string} [email]
|
|
4829
|
-
* @param {string} [description]
|
|
4830
4606
|
* @param {string} [website]
|
|
4831
4607
|
* @param {string} [hospitalId]
|
|
4832
4608
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4840,9 +4616,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
4840
4616
|
* @throws {RequiredError}
|
|
4841
4617
|
* @memberof ContributorsApi
|
|
4842
4618
|
*/
|
|
4843
|
-
ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email,
|
|
4619
|
+
ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4844
4620
|
var _this = this;
|
|
4845
|
-
return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email,
|
|
4621
|
+
return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4846
4622
|
};
|
|
4847
4623
|
/**
|
|
4848
4624
|
*
|
|
@@ -5661,8 +5437,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5661
5437
|
* @param {string} [hospitalId]
|
|
5662
5438
|
* @param {string} [hospitalName]
|
|
5663
5439
|
* @param {string} [specialtyId]
|
|
5440
|
+
* @param {string} [specialtyName]
|
|
5664
5441
|
* @param {string} [specialtyTypeId]
|
|
5442
|
+
* @param {string} [specialtyTypeName]
|
|
5665
5443
|
* @param {string} [serviceId]
|
|
5444
|
+
* @param {string} [serviceName]
|
|
5666
5445
|
* @param {string} [exceptHospitalId]
|
|
5667
5446
|
* @param {string} [exceptDealId]
|
|
5668
5447
|
* @param {Array<string>} [ids]
|
|
@@ -5676,7 +5455,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5676
5455
|
* @param {*} [options] Override http request option.
|
|
5677
5456
|
* @throws {RequiredError}
|
|
5678
5457
|
*/
|
|
5679
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5458
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5680
5459
|
if (options === void 0) { options = {}; }
|
|
5681
5460
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5682
5461
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5710,12 +5489,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5710
5489
|
if (specialtyId !== undefined) {
|
|
5711
5490
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
5712
5491
|
}
|
|
5492
|
+
if (specialtyName !== undefined) {
|
|
5493
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
5494
|
+
}
|
|
5713
5495
|
if (specialtyTypeId !== undefined) {
|
|
5714
5496
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5715
5497
|
}
|
|
5498
|
+
if (specialtyTypeName !== undefined) {
|
|
5499
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
5500
|
+
}
|
|
5716
5501
|
if (serviceId !== undefined) {
|
|
5717
5502
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5718
5503
|
}
|
|
5504
|
+
if (serviceName !== undefined) {
|
|
5505
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
5506
|
+
}
|
|
5719
5507
|
if (exceptHospitalId !== undefined) {
|
|
5720
5508
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5721
5509
|
}
|
|
@@ -5768,8 +5556,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5768
5556
|
* @param {string} [hospitalId]
|
|
5769
5557
|
* @param {string} [hospitalName]
|
|
5770
5558
|
* @param {string} [specialtyId]
|
|
5559
|
+
* @param {string} [specialtyName]
|
|
5771
5560
|
* @param {string} [specialtyTypeId]
|
|
5561
|
+
* @param {string} [specialtyTypeName]
|
|
5772
5562
|
* @param {string} [serviceId]
|
|
5563
|
+
* @param {string} [serviceName]
|
|
5773
5564
|
* @param {string} [exceptHospitalId]
|
|
5774
5565
|
* @param {string} [exceptDealId]
|
|
5775
5566
|
* @param {Array<string>} [ids]
|
|
@@ -5783,7 +5574,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5783
5574
|
* @param {*} [options] Override http request option.
|
|
5784
5575
|
* @throws {RequiredError}
|
|
5785
5576
|
*/
|
|
5786
|
-
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5577
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5787
5578
|
if (options === void 0) { options = {}; }
|
|
5788
5579
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5789
5580
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5817,12 +5608,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5817
5608
|
if (specialtyId !== undefined) {
|
|
5818
5609
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
5819
5610
|
}
|
|
5611
|
+
if (specialtyName !== undefined) {
|
|
5612
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
5613
|
+
}
|
|
5820
5614
|
if (specialtyTypeId !== undefined) {
|
|
5821
5615
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5822
5616
|
}
|
|
5617
|
+
if (specialtyTypeName !== undefined) {
|
|
5618
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
5619
|
+
}
|
|
5823
5620
|
if (serviceId !== undefined) {
|
|
5824
5621
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5825
5622
|
}
|
|
5623
|
+
if (serviceName !== undefined) {
|
|
5624
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
5625
|
+
}
|
|
5826
5626
|
if (exceptHospitalId !== undefined) {
|
|
5827
5627
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5828
5628
|
}
|
|
@@ -6042,8 +5842,11 @@ var DealsApiFp = function (configuration) {
|
|
|
6042
5842
|
* @param {string} [hospitalId]
|
|
6043
5843
|
* @param {string} [hospitalName]
|
|
6044
5844
|
* @param {string} [specialtyId]
|
|
5845
|
+
* @param {string} [specialtyName]
|
|
6045
5846
|
* @param {string} [specialtyTypeId]
|
|
5847
|
+
* @param {string} [specialtyTypeName]
|
|
6046
5848
|
* @param {string} [serviceId]
|
|
5849
|
+
* @param {string} [serviceName]
|
|
6047
5850
|
* @param {string} [exceptHospitalId]
|
|
6048
5851
|
* @param {string} [exceptDealId]
|
|
6049
5852
|
* @param {Array<string>} [ids]
|
|
@@ -6057,12 +5860,12 @@ var DealsApiFp = function (configuration) {
|
|
|
6057
5860
|
* @param {*} [options] Override http request option.
|
|
6058
5861
|
* @throws {RequiredError}
|
|
6059
5862
|
*/
|
|
6060
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5863
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6061
5864
|
return __awaiter(this, void 0, void 0, function () {
|
|
6062
5865
|
var localVarAxiosArgs;
|
|
6063
5866
|
return __generator(this, function (_a) {
|
|
6064
5867
|
switch (_a.label) {
|
|
6065
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
5868
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6066
5869
|
case 1:
|
|
6067
5870
|
localVarAxiosArgs = _a.sent();
|
|
6068
5871
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6080,8 +5883,11 @@ var DealsApiFp = function (configuration) {
|
|
|
6080
5883
|
* @param {string} [hospitalId]
|
|
6081
5884
|
* @param {string} [hospitalName]
|
|
6082
5885
|
* @param {string} [specialtyId]
|
|
5886
|
+
* @param {string} [specialtyName]
|
|
6083
5887
|
* @param {string} [specialtyTypeId]
|
|
5888
|
+
* @param {string} [specialtyTypeName]
|
|
6084
5889
|
* @param {string} [serviceId]
|
|
5890
|
+
* @param {string} [serviceName]
|
|
6085
5891
|
* @param {string} [exceptHospitalId]
|
|
6086
5892
|
* @param {string} [exceptDealId]
|
|
6087
5893
|
* @param {Array<string>} [ids]
|
|
@@ -6095,12 +5901,12 @@ var DealsApiFp = function (configuration) {
|
|
|
6095
5901
|
* @param {*} [options] Override http request option.
|
|
6096
5902
|
* @throws {RequiredError}
|
|
6097
5903
|
*/
|
|
6098
|
-
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5904
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6099
5905
|
return __awaiter(this, void 0, void 0, function () {
|
|
6100
5906
|
var localVarAxiosArgs;
|
|
6101
5907
|
return __generator(this, function (_a) {
|
|
6102
5908
|
switch (_a.label) {
|
|
6103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
5909
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6104
5910
|
case 1:
|
|
6105
5911
|
localVarAxiosArgs = _a.sent();
|
|
6106
5912
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6216,8 +6022,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6216
6022
|
* @param {string} [hospitalId]
|
|
6217
6023
|
* @param {string} [hospitalName]
|
|
6218
6024
|
* @param {string} [specialtyId]
|
|
6025
|
+
* @param {string} [specialtyName]
|
|
6219
6026
|
* @param {string} [specialtyTypeId]
|
|
6027
|
+
* @param {string} [specialtyTypeName]
|
|
6220
6028
|
* @param {string} [serviceId]
|
|
6029
|
+
* @param {string} [serviceName]
|
|
6221
6030
|
* @param {string} [exceptHospitalId]
|
|
6222
6031
|
* @param {string} [exceptDealId]
|
|
6223
6032
|
* @param {Array<string>} [ids]
|
|
@@ -6231,8 +6040,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6231
6040
|
* @param {*} [options] Override http request option.
|
|
6232
6041
|
* @throws {RequiredError}
|
|
6233
6042
|
*/
|
|
6234
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6235
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6043
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6044
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6236
6045
|
},
|
|
6237
6046
|
/**
|
|
6238
6047
|
*
|
|
@@ -6244,8 +6053,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6244
6053
|
* @param {string} [hospitalId]
|
|
6245
6054
|
* @param {string} [hospitalName]
|
|
6246
6055
|
* @param {string} [specialtyId]
|
|
6056
|
+
* @param {string} [specialtyName]
|
|
6247
6057
|
* @param {string} [specialtyTypeId]
|
|
6058
|
+
* @param {string} [specialtyTypeName]
|
|
6248
6059
|
* @param {string} [serviceId]
|
|
6060
|
+
* @param {string} [serviceName]
|
|
6249
6061
|
* @param {string} [exceptHospitalId]
|
|
6250
6062
|
* @param {string} [exceptDealId]
|
|
6251
6063
|
* @param {Array<string>} [ids]
|
|
@@ -6259,8 +6071,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6259
6071
|
* @param {*} [options] Override http request option.
|
|
6260
6072
|
* @throws {RequiredError}
|
|
6261
6073
|
*/
|
|
6262
|
-
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6263
|
-
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6074
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6075
|
+
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6264
6076
|
},
|
|
6265
6077
|
/**
|
|
6266
6078
|
*
|
|
@@ -6374,8 +6186,11 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6374
6186
|
* @param {string} [hospitalId]
|
|
6375
6187
|
* @param {string} [hospitalName]
|
|
6376
6188
|
* @param {string} [specialtyId]
|
|
6189
|
+
* @param {string} [specialtyName]
|
|
6377
6190
|
* @param {string} [specialtyTypeId]
|
|
6191
|
+
* @param {string} [specialtyTypeName]
|
|
6378
6192
|
* @param {string} [serviceId]
|
|
6193
|
+
* @param {string} [serviceName]
|
|
6379
6194
|
* @param {string} [exceptHospitalId]
|
|
6380
6195
|
* @param {string} [exceptDealId]
|
|
6381
6196
|
* @param {Array<string>} [ids]
|
|
@@ -6390,9 +6205,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6390
6205
|
* @throws {RequiredError}
|
|
6391
6206
|
* @memberof DealsApi
|
|
6392
6207
|
*/
|
|
6393
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6208
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6394
6209
|
var _this = this;
|
|
6395
|
-
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6210
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6396
6211
|
};
|
|
6397
6212
|
/**
|
|
6398
6213
|
*
|
|
@@ -6404,8 +6219,11 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6404
6219
|
* @param {string} [hospitalId]
|
|
6405
6220
|
* @param {string} [hospitalName]
|
|
6406
6221
|
* @param {string} [specialtyId]
|
|
6222
|
+
* @param {string} [specialtyName]
|
|
6407
6223
|
* @param {string} [specialtyTypeId]
|
|
6224
|
+
* @param {string} [specialtyTypeName]
|
|
6408
6225
|
* @param {string} [serviceId]
|
|
6226
|
+
* @param {string} [serviceName]
|
|
6409
6227
|
* @param {string} [exceptHospitalId]
|
|
6410
6228
|
* @param {string} [exceptDealId]
|
|
6411
6229
|
* @param {Array<string>} [ids]
|
|
@@ -6420,9 +6238,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6420
6238
|
* @throws {RequiredError}
|
|
6421
6239
|
* @memberof DealsApi
|
|
6422
6240
|
*/
|
|
6423
|
-
DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6241
|
+
DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6424
6242
|
var _this = this;
|
|
6425
|
-
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6243
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6426
6244
|
};
|
|
6427
6245
|
/**
|
|
6428
6246
|
*
|
|
@@ -7166,6 +6984,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7166
6984
|
*
|
|
7167
6985
|
* @summary Get all Doctors.
|
|
7168
6986
|
* @param {string} [hospitalId]
|
|
6987
|
+
* @param {string} [hospitalName]
|
|
7169
6988
|
* @param {string} [languageCode]
|
|
7170
6989
|
* @param {boolean} [returnDefaultValue]
|
|
7171
6990
|
* @param {Array<string>} [ids]
|
|
@@ -7184,7 +7003,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7184
7003
|
* @param {*} [options] Override http request option.
|
|
7185
7004
|
* @throws {RequiredError}
|
|
7186
7005
|
*/
|
|
7187
|
-
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7006
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7188
7007
|
if (options === void 0) { options = {}; }
|
|
7189
7008
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7190
7009
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7200,6 +7019,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7200
7019
|
if (hospitalId !== undefined) {
|
|
7201
7020
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7202
7021
|
}
|
|
7022
|
+
if (hospitalName !== undefined) {
|
|
7023
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7024
|
+
}
|
|
7203
7025
|
if (languageCode !== undefined) {
|
|
7204
7026
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7205
7027
|
}
|
|
@@ -7265,6 +7087,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7265
7087
|
*
|
|
7266
7088
|
* @summary Get all Doctors.
|
|
7267
7089
|
* @param {string} [hospitalId]
|
|
7090
|
+
* @param {string} [hospitalName]
|
|
7268
7091
|
* @param {string} [languageCode]
|
|
7269
7092
|
* @param {boolean} [returnDefaultValue]
|
|
7270
7093
|
* @param {Array<string>} [ids]
|
|
@@ -7283,7 +7106,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7283
7106
|
* @param {*} [options] Override http request option.
|
|
7284
7107
|
* @throws {RequiredError}
|
|
7285
7108
|
*/
|
|
7286
|
-
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7109
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7287
7110
|
if (options === void 0) { options = {}; }
|
|
7288
7111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7289
7112
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7299,6 +7122,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7299
7122
|
if (hospitalId !== undefined) {
|
|
7300
7123
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7301
7124
|
}
|
|
7125
|
+
if (hospitalName !== undefined) {
|
|
7126
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7127
|
+
}
|
|
7302
7128
|
if (languageCode !== undefined) {
|
|
7303
7129
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7304
7130
|
}
|
|
@@ -7763,6 +7589,7 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7763
7589
|
*
|
|
7764
7590
|
* @summary Get all Doctors.
|
|
7765
7591
|
* @param {string} [hospitalId]
|
|
7592
|
+
* @param {string} [hospitalName]
|
|
7766
7593
|
* @param {string} [languageCode]
|
|
7767
7594
|
* @param {boolean} [returnDefaultValue]
|
|
7768
7595
|
* @param {Array<string>} [ids]
|
|
@@ -7781,12 +7608,12 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7781
7608
|
* @param {*} [options] Override http request option.
|
|
7782
7609
|
* @throws {RequiredError}
|
|
7783
7610
|
*/
|
|
7784
|
-
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7611
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7785
7612
|
return __awaiter(this, void 0, void 0, function () {
|
|
7786
7613
|
var localVarAxiosArgs;
|
|
7787
7614
|
return __generator(this, function (_a) {
|
|
7788
7615
|
switch (_a.label) {
|
|
7789
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7616
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7790
7617
|
case 1:
|
|
7791
7618
|
localVarAxiosArgs = _a.sent();
|
|
7792
7619
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7798,6 +7625,7 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7798
7625
|
*
|
|
7799
7626
|
* @summary Get all Doctors.
|
|
7800
7627
|
* @param {string} [hospitalId]
|
|
7628
|
+
* @param {string} [hospitalName]
|
|
7801
7629
|
* @param {string} [languageCode]
|
|
7802
7630
|
* @param {boolean} [returnDefaultValue]
|
|
7803
7631
|
* @param {Array<string>} [ids]
|
|
@@ -7816,12 +7644,12 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7816
7644
|
* @param {*} [options] Override http request option.
|
|
7817
7645
|
* @throws {RequiredError}
|
|
7818
7646
|
*/
|
|
7819
|
-
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7647
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7820
7648
|
return __awaiter(this, void 0, void 0, function () {
|
|
7821
7649
|
var localVarAxiosArgs;
|
|
7822
7650
|
return __generator(this, function (_a) {
|
|
7823
7651
|
switch (_a.label) {
|
|
7824
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7652
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7825
7653
|
case 1:
|
|
7826
7654
|
localVarAxiosArgs = _a.sent();
|
|
7827
7655
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8063,6 +7891,7 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8063
7891
|
*
|
|
8064
7892
|
* @summary Get all Doctors.
|
|
8065
7893
|
* @param {string} [hospitalId]
|
|
7894
|
+
* @param {string} [hospitalName]
|
|
8066
7895
|
* @param {string} [languageCode]
|
|
8067
7896
|
* @param {boolean} [returnDefaultValue]
|
|
8068
7897
|
* @param {Array<string>} [ids]
|
|
@@ -8081,13 +7910,14 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8081
7910
|
* @param {*} [options] Override http request option.
|
|
8082
7911
|
* @throws {RequiredError}
|
|
8083
7912
|
*/
|
|
8084
|
-
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8085
|
-
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7913
|
+
apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7914
|
+
return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8086
7915
|
},
|
|
8087
7916
|
/**
|
|
8088
7917
|
*
|
|
8089
7918
|
* @summary Get all Doctors.
|
|
8090
7919
|
* @param {string} [hospitalId]
|
|
7920
|
+
* @param {string} [hospitalName]
|
|
8091
7921
|
* @param {string} [languageCode]
|
|
8092
7922
|
* @param {boolean} [returnDefaultValue]
|
|
8093
7923
|
* @param {Array<string>} [ids]
|
|
@@ -8106,8 +7936,8 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8106
7936
|
* @param {*} [options] Override http request option.
|
|
8107
7937
|
* @throws {RequiredError}
|
|
8108
7938
|
*/
|
|
8109
|
-
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8110
|
-
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7939
|
+
apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7940
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8111
7941
|
},
|
|
8112
7942
|
/**
|
|
8113
7943
|
*
|
|
@@ -8367,6 +8197,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8367
8197
|
*
|
|
8368
8198
|
* @summary Get all Doctors.
|
|
8369
8199
|
* @param {string} [hospitalId]
|
|
8200
|
+
* @param {string} [hospitalName]
|
|
8370
8201
|
* @param {string} [languageCode]
|
|
8371
8202
|
* @param {boolean} [returnDefaultValue]
|
|
8372
8203
|
* @param {Array<string>} [ids]
|
|
@@ -8386,14 +8217,15 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8386
8217
|
* @throws {RequiredError}
|
|
8387
8218
|
* @memberof DoctorsApi
|
|
8388
8219
|
*/
|
|
8389
|
-
DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8220
|
+
DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8390
8221
|
var _this = this;
|
|
8391
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8222
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8392
8223
|
};
|
|
8393
8224
|
/**
|
|
8394
8225
|
*
|
|
8395
8226
|
* @summary Get all Doctors.
|
|
8396
8227
|
* @param {string} [hospitalId]
|
|
8228
|
+
* @param {string} [hospitalName]
|
|
8397
8229
|
* @param {string} [languageCode]
|
|
8398
8230
|
* @param {boolean} [returnDefaultValue]
|
|
8399
8231
|
* @param {Array<string>} [ids]
|
|
@@ -8413,9 +8245,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8413
8245
|
* @throws {RequiredError}
|
|
8414
8246
|
* @memberof DoctorsApi
|
|
8415
8247
|
*/
|
|
8416
|
-
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8248
|
+
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8417
8249
|
var _this = this;
|
|
8418
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8250
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8419
8251
|
};
|
|
8420
8252
|
/**
|
|
8421
8253
|
*
|
|
@@ -8520,15 +8352,18 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
8520
8352
|
* @param {string} [id]
|
|
8521
8353
|
* @param {string} [parentId]
|
|
8522
8354
|
* @param {string} [name]
|
|
8523
|
-
* @param {string} [
|
|
8355
|
+
* @param {string} [hospitalId]
|
|
8356
|
+
* @param {string} [hospitalName]
|
|
8524
8357
|
* @param {string} [languageCode]
|
|
8358
|
+
* @param {boolean} [showHidden]
|
|
8359
|
+
* @param {boolean} [returnDefaultValue]
|
|
8525
8360
|
* @param {number} [page]
|
|
8526
8361
|
* @param {number} [limit]
|
|
8527
8362
|
* @param {Date} [lastRetrieved]
|
|
8528
8363
|
* @param {*} [options] Override http request option.
|
|
8529
8364
|
* @throws {RequiredError}
|
|
8530
8365
|
*/
|
|
8531
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8366
|
+
apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8532
8367
|
if (options === void 0) { options = {}; }
|
|
8533
8368
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8534
8369
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8550,12 +8385,21 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
8550
8385
|
if (name !== undefined) {
|
|
8551
8386
|
localVarQueryParameter['Name'] = name;
|
|
8552
8387
|
}
|
|
8553
|
-
if (
|
|
8554
|
-
localVarQueryParameter['
|
|
8388
|
+
if (hospitalId !== undefined) {
|
|
8389
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
8390
|
+
}
|
|
8391
|
+
if (hospitalName !== undefined) {
|
|
8392
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
8555
8393
|
}
|
|
8556
8394
|
if (languageCode !== undefined) {
|
|
8557
8395
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
8558
8396
|
}
|
|
8397
|
+
if (showHidden !== undefined) {
|
|
8398
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
8399
|
+
}
|
|
8400
|
+
if (returnDefaultValue !== undefined) {
|
|
8401
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8402
|
+
}
|
|
8559
8403
|
if (page !== undefined) {
|
|
8560
8404
|
localVarQueryParameter['page'] = page;
|
|
8561
8405
|
}
|
|
@@ -8672,20 +8516,23 @@ var FaqCategoriesApiFp = function (configuration) {
|
|
|
8672
8516
|
* @param {string} [id]
|
|
8673
8517
|
* @param {string} [parentId]
|
|
8674
8518
|
* @param {string} [name]
|
|
8675
|
-
* @param {string} [
|
|
8519
|
+
* @param {string} [hospitalId]
|
|
8520
|
+
* @param {string} [hospitalName]
|
|
8676
8521
|
* @param {string} [languageCode]
|
|
8522
|
+
* @param {boolean} [showHidden]
|
|
8523
|
+
* @param {boolean} [returnDefaultValue]
|
|
8677
8524
|
* @param {number} [page]
|
|
8678
8525
|
* @param {number} [limit]
|
|
8679
8526
|
* @param {Date} [lastRetrieved]
|
|
8680
8527
|
* @param {*} [options] Override http request option.
|
|
8681
8528
|
* @throws {RequiredError}
|
|
8682
8529
|
*/
|
|
8683
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8530
|
+
apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8684
8531
|
return __awaiter(this, void 0, void 0, function () {
|
|
8685
8532
|
var localVarAxiosArgs;
|
|
8686
8533
|
return __generator(this, function (_a) {
|
|
8687
8534
|
switch (_a.label) {
|
|
8688
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name,
|
|
8535
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
8689
8536
|
case 1:
|
|
8690
8537
|
localVarAxiosArgs = _a.sent();
|
|
8691
8538
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8752,16 +8599,19 @@ var FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8752
8599
|
* @param {string} [id]
|
|
8753
8600
|
* @param {string} [parentId]
|
|
8754
8601
|
* @param {string} [name]
|
|
8755
|
-
* @param {string} [
|
|
8602
|
+
* @param {string} [hospitalId]
|
|
8603
|
+
* @param {string} [hospitalName]
|
|
8756
8604
|
* @param {string} [languageCode]
|
|
8605
|
+
* @param {boolean} [showHidden]
|
|
8606
|
+
* @param {boolean} [returnDefaultValue]
|
|
8757
8607
|
* @param {number} [page]
|
|
8758
8608
|
* @param {number} [limit]
|
|
8759
8609
|
* @param {Date} [lastRetrieved]
|
|
8760
8610
|
* @param {*} [options] Override http request option.
|
|
8761
8611
|
* @throws {RequiredError}
|
|
8762
8612
|
*/
|
|
8763
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8764
|
-
return localVarFp.apiV2FaqcategoriesGet(id, parentId, name,
|
|
8613
|
+
apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8614
|
+
return localVarFp.apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
8765
8615
|
},
|
|
8766
8616
|
/**
|
|
8767
8617
|
*
|
|
@@ -8820,8 +8670,11 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
8820
8670
|
* @param {string} [id]
|
|
8821
8671
|
* @param {string} [parentId]
|
|
8822
8672
|
* @param {string} [name]
|
|
8823
|
-
* @param {string} [
|
|
8673
|
+
* @param {string} [hospitalId]
|
|
8674
|
+
* @param {string} [hospitalName]
|
|
8824
8675
|
* @param {string} [languageCode]
|
|
8676
|
+
* @param {boolean} [showHidden]
|
|
8677
|
+
* @param {boolean} [returnDefaultValue]
|
|
8825
8678
|
* @param {number} [page]
|
|
8826
8679
|
* @param {number} [limit]
|
|
8827
8680
|
* @param {Date} [lastRetrieved]
|
|
@@ -8829,9 +8682,9 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
8829
8682
|
* @throws {RequiredError}
|
|
8830
8683
|
* @memberof FaqCategoriesApi
|
|
8831
8684
|
*/
|
|
8832
|
-
FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name,
|
|
8685
|
+
FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8833
8686
|
var _this = this;
|
|
8834
|
-
return (0, exports.FaqCategoriesApiFp)(this.configuration).apiV2FaqcategoriesGet(id, parentId, name,
|
|
8687
|
+
return (0, exports.FaqCategoriesApiFp)(this.configuration).apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8835
8688
|
};
|
|
8836
8689
|
/**
|
|
8837
8690
|
*
|
|
@@ -8985,24 +8838,113 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
8985
8838
|
});
|
|
8986
8839
|
});
|
|
8987
8840
|
},
|
|
8841
|
+
/**
|
|
8842
|
+
*
|
|
8843
|
+
* @summary GetAll FaqTags.
|
|
8844
|
+
* @param {string} faqId
|
|
8845
|
+
* @param {string} [tagId]
|
|
8846
|
+
* @param {number} [page]
|
|
8847
|
+
* @param {number} [limit]
|
|
8848
|
+
* @param {Date} [lastRetrieved]
|
|
8849
|
+
* @param {*} [options] Override http request option.
|
|
8850
|
+
* @throws {RequiredError}
|
|
8851
|
+
*/
|
|
8852
|
+
apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
|
|
8853
|
+
if (options === void 0) { options = {}; }
|
|
8854
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8855
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8856
|
+
return __generator(this, function (_a) {
|
|
8857
|
+
// verify required parameter 'faqId' is not null or undefined
|
|
8858
|
+
(0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsGet', 'faqId', faqId);
|
|
8859
|
+
localVarPath = "/api/v2/faqs/{faqId}/tags"
|
|
8860
|
+
.replace("{".concat("faqId", "}"), encodeURIComponent(String(faqId)));
|
|
8861
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8862
|
+
if (configuration) {
|
|
8863
|
+
baseOptions = configuration.baseOptions;
|
|
8864
|
+
}
|
|
8865
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
8866
|
+
localVarHeaderParameter = {};
|
|
8867
|
+
localVarQueryParameter = {};
|
|
8868
|
+
if (tagId !== undefined) {
|
|
8869
|
+
localVarQueryParameter['TagId'] = tagId;
|
|
8870
|
+
}
|
|
8871
|
+
if (page !== undefined) {
|
|
8872
|
+
localVarQueryParameter['page'] = page;
|
|
8873
|
+
}
|
|
8874
|
+
if (limit !== undefined) {
|
|
8875
|
+
localVarQueryParameter['limit'] = limit;
|
|
8876
|
+
}
|
|
8877
|
+
if (lastRetrieved !== undefined) {
|
|
8878
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
8879
|
+
lastRetrieved.toISOString() :
|
|
8880
|
+
lastRetrieved;
|
|
8881
|
+
}
|
|
8882
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8883
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8884
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8885
|
+
return [2 /*return*/, {
|
|
8886
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8887
|
+
options: localVarRequestOptions,
|
|
8888
|
+
}];
|
|
8889
|
+
});
|
|
8890
|
+
});
|
|
8891
|
+
},
|
|
8892
|
+
/**
|
|
8893
|
+
*
|
|
8894
|
+
* @summary Get FaqTag.
|
|
8895
|
+
* @param {string} faqId
|
|
8896
|
+
* @param {string} tagId
|
|
8897
|
+
* @param {*} [options] Override http request option.
|
|
8898
|
+
* @throws {RequiredError}
|
|
8899
|
+
*/
|
|
8900
|
+
apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
|
|
8901
|
+
if (options === void 0) { options = {}; }
|
|
8902
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
8903
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8904
|
+
return __generator(this, function (_a) {
|
|
8905
|
+
// verify required parameter 'faqId' is not null or undefined
|
|
8906
|
+
(0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsTagIdGet', 'faqId', faqId);
|
|
8907
|
+
// verify required parameter 'tagId' is not null or undefined
|
|
8908
|
+
(0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsTagIdGet', 'tagId', tagId);
|
|
8909
|
+
localVarPath = "/api/v2/faqs/{faqId}/tags/{tagId}"
|
|
8910
|
+
.replace("{".concat("faqId", "}"), encodeURIComponent(String(faqId)))
|
|
8911
|
+
.replace("{".concat("tagId", "}"), encodeURIComponent(String(tagId)));
|
|
8912
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8913
|
+
if (configuration) {
|
|
8914
|
+
baseOptions = configuration.baseOptions;
|
|
8915
|
+
}
|
|
8916
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
8917
|
+
localVarHeaderParameter = {};
|
|
8918
|
+
localVarQueryParameter = {};
|
|
8919
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8920
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8921
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8922
|
+
return [2 /*return*/, {
|
|
8923
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8924
|
+
options: localVarRequestOptions,
|
|
8925
|
+
}];
|
|
8926
|
+
});
|
|
8927
|
+
});
|
|
8928
|
+
},
|
|
8988
8929
|
/**
|
|
8989
8930
|
*
|
|
8990
8931
|
* @summary Get all Faqs.
|
|
8991
8932
|
* @param {string} [id]
|
|
8992
|
-
* @param {string} [
|
|
8993
|
-
* @param {string} [
|
|
8933
|
+
* @param {string} [name]
|
|
8934
|
+
* @param {string} [slug]
|
|
8994
8935
|
* @param {string} [categoryId]
|
|
8995
8936
|
* @param {string} [hospitalId]
|
|
8996
8937
|
* @param {string} [hospitalName]
|
|
8997
8938
|
* @param {string} [languageCode]
|
|
8998
8939
|
* @param {boolean} [showHidden]
|
|
8940
|
+
* @param {boolean} [returnDefaultValue]
|
|
8999
8941
|
* @param {number} [page]
|
|
9000
8942
|
* @param {number} [limit]
|
|
9001
8943
|
* @param {Date} [lastRetrieved]
|
|
9002
8944
|
* @param {*} [options] Override http request option.
|
|
9003
8945
|
* @throws {RequiredError}
|
|
9004
8946
|
*/
|
|
9005
|
-
apiV2FaqsGet: function (id,
|
|
8947
|
+
apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9006
8948
|
if (options === void 0) { options = {}; }
|
|
9007
8949
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9008
8950
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9018,11 +8960,11 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
9018
8960
|
if (id !== undefined) {
|
|
9019
8961
|
localVarQueryParameter['Id'] = id;
|
|
9020
8962
|
}
|
|
9021
|
-
if (
|
|
9022
|
-
localVarQueryParameter['
|
|
8963
|
+
if (name !== undefined) {
|
|
8964
|
+
localVarQueryParameter['Name'] = name;
|
|
9023
8965
|
}
|
|
9024
|
-
if (
|
|
9025
|
-
localVarQueryParameter['
|
|
8966
|
+
if (slug !== undefined) {
|
|
8967
|
+
localVarQueryParameter['Slug'] = slug;
|
|
9026
8968
|
}
|
|
9027
8969
|
if (categoryId !== undefined) {
|
|
9028
8970
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
@@ -9039,6 +8981,9 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
9039
8981
|
if (showHidden !== undefined) {
|
|
9040
8982
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9041
8983
|
}
|
|
8984
|
+
if (returnDefaultValue !== undefined) {
|
|
8985
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8986
|
+
}
|
|
9042
8987
|
if (page !== undefined) {
|
|
9043
8988
|
localVarQueryParameter['page'] = page;
|
|
9044
8989
|
}
|
|
@@ -9174,29 +9119,75 @@ var FaqsApiFp = function (configuration) {
|
|
|
9174
9119
|
});
|
|
9175
9120
|
});
|
|
9176
9121
|
},
|
|
9122
|
+
/**
|
|
9123
|
+
*
|
|
9124
|
+
* @summary GetAll FaqTags.
|
|
9125
|
+
* @param {string} faqId
|
|
9126
|
+
* @param {string} [tagId]
|
|
9127
|
+
* @param {number} [page]
|
|
9128
|
+
* @param {number} [limit]
|
|
9129
|
+
* @param {Date} [lastRetrieved]
|
|
9130
|
+
* @param {*} [options] Override http request option.
|
|
9131
|
+
* @throws {RequiredError}
|
|
9132
|
+
*/
|
|
9133
|
+
apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
|
|
9134
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9135
|
+
var localVarAxiosArgs;
|
|
9136
|
+
return __generator(this, function (_a) {
|
|
9137
|
+
switch (_a.label) {
|
|
9138
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options)];
|
|
9139
|
+
case 1:
|
|
9140
|
+
localVarAxiosArgs = _a.sent();
|
|
9141
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9142
|
+
}
|
|
9143
|
+
});
|
|
9144
|
+
});
|
|
9145
|
+
},
|
|
9146
|
+
/**
|
|
9147
|
+
*
|
|
9148
|
+
* @summary Get FaqTag.
|
|
9149
|
+
* @param {string} faqId
|
|
9150
|
+
* @param {string} tagId
|
|
9151
|
+
* @param {*} [options] Override http request option.
|
|
9152
|
+
* @throws {RequiredError}
|
|
9153
|
+
*/
|
|
9154
|
+
apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
|
|
9155
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9156
|
+
var localVarAxiosArgs;
|
|
9157
|
+
return __generator(this, function (_a) {
|
|
9158
|
+
switch (_a.label) {
|
|
9159
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options)];
|
|
9160
|
+
case 1:
|
|
9161
|
+
localVarAxiosArgs = _a.sent();
|
|
9162
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9163
|
+
}
|
|
9164
|
+
});
|
|
9165
|
+
});
|
|
9166
|
+
},
|
|
9177
9167
|
/**
|
|
9178
9168
|
*
|
|
9179
9169
|
* @summary Get all Faqs.
|
|
9180
9170
|
* @param {string} [id]
|
|
9181
|
-
* @param {string} [
|
|
9182
|
-
* @param {string} [
|
|
9171
|
+
* @param {string} [name]
|
|
9172
|
+
* @param {string} [slug]
|
|
9183
9173
|
* @param {string} [categoryId]
|
|
9184
9174
|
* @param {string} [hospitalId]
|
|
9185
9175
|
* @param {string} [hospitalName]
|
|
9186
9176
|
* @param {string} [languageCode]
|
|
9187
9177
|
* @param {boolean} [showHidden]
|
|
9178
|
+
* @param {boolean} [returnDefaultValue]
|
|
9188
9179
|
* @param {number} [page]
|
|
9189
9180
|
* @param {number} [limit]
|
|
9190
9181
|
* @param {Date} [lastRetrieved]
|
|
9191
9182
|
* @param {*} [options] Override http request option.
|
|
9192
9183
|
* @throws {RequiredError}
|
|
9193
9184
|
*/
|
|
9194
|
-
apiV2FaqsGet: function (id,
|
|
9185
|
+
apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9195
9186
|
return __awaiter(this, void 0, void 0, function () {
|
|
9196
9187
|
var localVarAxiosArgs;
|
|
9197
9188
|
return __generator(this, function (_a) {
|
|
9198
9189
|
switch (_a.label) {
|
|
9199
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id,
|
|
9190
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
9200
9191
|
case 1:
|
|
9201
9192
|
localVarAxiosArgs = _a.sent();
|
|
9202
9193
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9272,25 +9263,51 @@ var FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
9272
9263
|
apiV2FaqsFaqIdMediasMediaIdGet: function (faqId, mediaId, options) {
|
|
9273
9264
|
return localVarFp.apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
9274
9265
|
},
|
|
9266
|
+
/**
|
|
9267
|
+
*
|
|
9268
|
+
* @summary GetAll FaqTags.
|
|
9269
|
+
* @param {string} faqId
|
|
9270
|
+
* @param {string} [tagId]
|
|
9271
|
+
* @param {number} [page]
|
|
9272
|
+
* @param {number} [limit]
|
|
9273
|
+
* @param {Date} [lastRetrieved]
|
|
9274
|
+
* @param {*} [options] Override http request option.
|
|
9275
|
+
* @throws {RequiredError}
|
|
9276
|
+
*/
|
|
9277
|
+
apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
|
|
9278
|
+
return localVarFp.apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
9279
|
+
},
|
|
9280
|
+
/**
|
|
9281
|
+
*
|
|
9282
|
+
* @summary Get FaqTag.
|
|
9283
|
+
* @param {string} faqId
|
|
9284
|
+
* @param {string} tagId
|
|
9285
|
+
* @param {*} [options] Override http request option.
|
|
9286
|
+
* @throws {RequiredError}
|
|
9287
|
+
*/
|
|
9288
|
+
apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
|
|
9289
|
+
return localVarFp.apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options).then(function (request) { return request(axios, basePath); });
|
|
9290
|
+
},
|
|
9275
9291
|
/**
|
|
9276
9292
|
*
|
|
9277
9293
|
* @summary Get all Faqs.
|
|
9278
9294
|
* @param {string} [id]
|
|
9279
|
-
* @param {string} [
|
|
9280
|
-
* @param {string} [
|
|
9295
|
+
* @param {string} [name]
|
|
9296
|
+
* @param {string} [slug]
|
|
9281
9297
|
* @param {string} [categoryId]
|
|
9282
9298
|
* @param {string} [hospitalId]
|
|
9283
9299
|
* @param {string} [hospitalName]
|
|
9284
9300
|
* @param {string} [languageCode]
|
|
9285
9301
|
* @param {boolean} [showHidden]
|
|
9302
|
+
* @param {boolean} [returnDefaultValue]
|
|
9286
9303
|
* @param {number} [page]
|
|
9287
9304
|
* @param {number} [limit]
|
|
9288
9305
|
* @param {Date} [lastRetrieved]
|
|
9289
9306
|
* @param {*} [options] Override http request option.
|
|
9290
9307
|
* @throws {RequiredError}
|
|
9291
9308
|
*/
|
|
9292
|
-
apiV2FaqsGet: function (id,
|
|
9293
|
-
return localVarFp.apiV2FaqsGet(id,
|
|
9309
|
+
apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9310
|
+
return localVarFp.apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
9294
9311
|
},
|
|
9295
9312
|
/**
|
|
9296
9313
|
*
|
|
@@ -9360,17 +9377,47 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
9360
9377
|
var _this = this;
|
|
9361
9378
|
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9362
9379
|
};
|
|
9380
|
+
/**
|
|
9381
|
+
*
|
|
9382
|
+
* @summary GetAll FaqTags.
|
|
9383
|
+
* @param {string} faqId
|
|
9384
|
+
* @param {string} [tagId]
|
|
9385
|
+
* @param {number} [page]
|
|
9386
|
+
* @param {number} [limit]
|
|
9387
|
+
* @param {Date} [lastRetrieved]
|
|
9388
|
+
* @param {*} [options] Override http request option.
|
|
9389
|
+
* @throws {RequiredError}
|
|
9390
|
+
* @memberof FaqsApi
|
|
9391
|
+
*/
|
|
9392
|
+
FaqsApi.prototype.apiV2FaqsFaqIdTagsGet = function (faqId, tagId, page, limit, lastRetrieved, options) {
|
|
9393
|
+
var _this = this;
|
|
9394
|
+
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9395
|
+
};
|
|
9396
|
+
/**
|
|
9397
|
+
*
|
|
9398
|
+
* @summary Get FaqTag.
|
|
9399
|
+
* @param {string} faqId
|
|
9400
|
+
* @param {string} tagId
|
|
9401
|
+
* @param {*} [options] Override http request option.
|
|
9402
|
+
* @throws {RequiredError}
|
|
9403
|
+
* @memberof FaqsApi
|
|
9404
|
+
*/
|
|
9405
|
+
FaqsApi.prototype.apiV2FaqsFaqIdTagsTagIdGet = function (faqId, tagId, options) {
|
|
9406
|
+
var _this = this;
|
|
9407
|
+
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9408
|
+
};
|
|
9363
9409
|
/**
|
|
9364
9410
|
*
|
|
9365
9411
|
* @summary Get all Faqs.
|
|
9366
9412
|
* @param {string} [id]
|
|
9367
|
-
* @param {string} [
|
|
9368
|
-
* @param {string} [
|
|
9413
|
+
* @param {string} [name]
|
|
9414
|
+
* @param {string} [slug]
|
|
9369
9415
|
* @param {string} [categoryId]
|
|
9370
9416
|
* @param {string} [hospitalId]
|
|
9371
9417
|
* @param {string} [hospitalName]
|
|
9372
9418
|
* @param {string} [languageCode]
|
|
9373
9419
|
* @param {boolean} [showHidden]
|
|
9420
|
+
* @param {boolean} [returnDefaultValue]
|
|
9374
9421
|
* @param {number} [page]
|
|
9375
9422
|
* @param {number} [limit]
|
|
9376
9423
|
* @param {Date} [lastRetrieved]
|
|
@@ -9378,9 +9425,9 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
9378
9425
|
* @throws {RequiredError}
|
|
9379
9426
|
* @memberof FaqsApi
|
|
9380
9427
|
*/
|
|
9381
|
-
FaqsApi.prototype.apiV2FaqsGet = function (id,
|
|
9428
|
+
FaqsApi.prototype.apiV2FaqsGet = function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9382
9429
|
var _this = this;
|
|
9383
|
-
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsGet(id,
|
|
9430
|
+
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9384
9431
|
};
|
|
9385
9432
|
/**
|
|
9386
9433
|
*
|
|
@@ -9809,13 +9856,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9809
9856
|
* @param {string} [languageCode]
|
|
9810
9857
|
* @param {Array<string>} [ids]
|
|
9811
9858
|
* @param {boolean} [returnDefaultValue]
|
|
9859
|
+
* @param {boolean} [paymentEnabled]
|
|
9812
9860
|
* @param {number} [page]
|
|
9813
9861
|
* @param {number} [limit]
|
|
9814
9862
|
* @param {Date} [lastRetrieved]
|
|
9815
9863
|
* @param {*} [options] Override http request option.
|
|
9816
9864
|
* @throws {RequiredError}
|
|
9817
9865
|
*/
|
|
9818
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9866
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
9819
9867
|
if (options === void 0) { options = {}; }
|
|
9820
9868
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9821
9869
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9869,6 +9917,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9869
9917
|
if (returnDefaultValue !== undefined) {
|
|
9870
9918
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9871
9919
|
}
|
|
9920
|
+
if (paymentEnabled !== undefined) {
|
|
9921
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
9922
|
+
}
|
|
9872
9923
|
if (page !== undefined) {
|
|
9873
9924
|
localVarQueryParameter['page'] = page;
|
|
9874
9925
|
}
|
|
@@ -10524,25 +10575,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10524
10575
|
*
|
|
10525
10576
|
* @summary Get all HospitalSpecialties.
|
|
10526
10577
|
* @param {string} hospitalId
|
|
10527
|
-
* @param {string} [hospitalName]
|
|
10528
|
-
* @param {string} [hospitalSlug]
|
|
10529
10578
|
* @param {string} [specialtyId]
|
|
10530
10579
|
* @param {string} [specialtyName]
|
|
10531
10580
|
* @param {string} [specialtyTypeId]
|
|
10532
|
-
* @param {string} [
|
|
10533
|
-
* @param {string} [
|
|
10581
|
+
* @param {string} [specialtyTypeName]
|
|
10582
|
+
* @param {string} [hospitalSpecialtyId]
|
|
10583
|
+
* @param {string} [name]
|
|
10584
|
+
* @param {string} [slug]
|
|
10534
10585
|
* @param {MarketingType} [marketingType]
|
|
10535
|
-
* @param {string} [languageCode]
|
|
10536
|
-
* @param {boolean} [showHidden]
|
|
10537
10586
|
* @param {boolean} [returnDefaultValue]
|
|
10538
10587
|
* @param {boolean} [includeServices]
|
|
10588
|
+
* @param {string} [languageCode]
|
|
10589
|
+
* @param {boolean} [showHidden]
|
|
10539
10590
|
* @param {number} [page]
|
|
10540
10591
|
* @param {number} [limit]
|
|
10541
10592
|
* @param {Date} [lastRetrieved]
|
|
10542
10593
|
* @param {*} [options] Override http request option.
|
|
10543
10594
|
* @throws {RequiredError}
|
|
10544
10595
|
*/
|
|
10545
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
10596
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10546
10597
|
if (options === void 0) { options = {}; }
|
|
10547
10598
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10548
10599
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10558,12 +10609,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10558
10609
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10559
10610
|
localVarHeaderParameter = {};
|
|
10560
10611
|
localVarQueryParameter = {};
|
|
10561
|
-
if (hospitalName !== undefined) {
|
|
10562
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10563
|
-
}
|
|
10564
|
-
if (hospitalSlug !== undefined) {
|
|
10565
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10566
|
-
}
|
|
10567
10612
|
if (specialtyId !== undefined) {
|
|
10568
10613
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10569
10614
|
}
|
|
@@ -10573,20 +10618,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10573
10618
|
if (specialtyTypeId !== undefined) {
|
|
10574
10619
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10575
10620
|
}
|
|
10576
|
-
if (
|
|
10577
|
-
localVarQueryParameter['
|
|
10621
|
+
if (specialtyTypeName !== undefined) {
|
|
10622
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
10578
10623
|
}
|
|
10579
|
-
if (
|
|
10580
|
-
localVarQueryParameter['
|
|
10624
|
+
if (hospitalSpecialtyId !== undefined) {
|
|
10625
|
+
localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
|
|
10581
10626
|
}
|
|
10582
|
-
if (
|
|
10583
|
-
localVarQueryParameter['
|
|
10627
|
+
if (name !== undefined) {
|
|
10628
|
+
localVarQueryParameter['Name'] = name;
|
|
10584
10629
|
}
|
|
10585
|
-
if (
|
|
10586
|
-
localVarQueryParameter['
|
|
10630
|
+
if (slug !== undefined) {
|
|
10631
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10587
10632
|
}
|
|
10588
|
-
if (
|
|
10589
|
-
localVarQueryParameter['
|
|
10633
|
+
if (marketingType !== undefined) {
|
|
10634
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10590
10635
|
}
|
|
10591
10636
|
if (returnDefaultValue !== undefined) {
|
|
10592
10637
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
@@ -10594,6 +10639,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10594
10639
|
if (includeServices !== undefined) {
|
|
10595
10640
|
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10596
10641
|
}
|
|
10642
|
+
if (languageCode !== undefined) {
|
|
10643
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10644
|
+
}
|
|
10645
|
+
if (showHidden !== undefined) {
|
|
10646
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10647
|
+
}
|
|
10597
10648
|
if (page !== undefined) {
|
|
10598
10649
|
localVarQueryParameter['page'] = page;
|
|
10599
10650
|
}
|
|
@@ -10719,25 +10770,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10719
10770
|
*
|
|
10720
10771
|
* @summary Get all HospitalSpecialties.
|
|
10721
10772
|
* @param {string} hospitalId
|
|
10722
|
-
* @param {string} [hospitalName]
|
|
10723
|
-
* @param {string} [hospitalSlug]
|
|
10724
10773
|
* @param {string} [specialtyId]
|
|
10725
10774
|
* @param {string} [specialtyName]
|
|
10726
10775
|
* @param {string} [specialtyTypeId]
|
|
10727
|
-
* @param {string} [
|
|
10728
|
-
* @param {string} [
|
|
10776
|
+
* @param {string} [specialtyTypeName]
|
|
10777
|
+
* @param {string} [hospitalSpecialtyId]
|
|
10778
|
+
* @param {string} [name]
|
|
10779
|
+
* @param {string} [slug]
|
|
10729
10780
|
* @param {MarketingType} [marketingType]
|
|
10730
|
-
* @param {string} [languageCode]
|
|
10731
|
-
* @param {boolean} [showHidden]
|
|
10732
10781
|
* @param {boolean} [returnDefaultValue]
|
|
10733
10782
|
* @param {boolean} [includeServices]
|
|
10783
|
+
* @param {string} [languageCode]
|
|
10784
|
+
* @param {boolean} [showHidden]
|
|
10734
10785
|
* @param {number} [page]
|
|
10735
10786
|
* @param {number} [limit]
|
|
10736
10787
|
* @param {Date} [lastRetrieved]
|
|
10737
10788
|
* @param {*} [options] Override http request option.
|
|
10738
10789
|
* @throws {RequiredError}
|
|
10739
10790
|
*/
|
|
10740
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
10791
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10741
10792
|
if (options === void 0) { options = {}; }
|
|
10742
10793
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10743
10794
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10753,12 +10804,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10753
10804
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10754
10805
|
localVarHeaderParameter = {};
|
|
10755
10806
|
localVarQueryParameter = {};
|
|
10756
|
-
if (hospitalName !== undefined) {
|
|
10757
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10758
|
-
}
|
|
10759
|
-
if (hospitalSlug !== undefined) {
|
|
10760
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10761
|
-
}
|
|
10762
10807
|
if (specialtyId !== undefined) {
|
|
10763
10808
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10764
10809
|
}
|
|
@@ -10768,37 +10813,92 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10768
10813
|
if (specialtyTypeId !== undefined) {
|
|
10769
10814
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10770
10815
|
}
|
|
10771
|
-
if (
|
|
10772
|
-
localVarQueryParameter['
|
|
10816
|
+
if (specialtyTypeName !== undefined) {
|
|
10817
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
10818
|
+
}
|
|
10819
|
+
if (hospitalSpecialtyId !== undefined) {
|
|
10820
|
+
localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
|
|
10821
|
+
}
|
|
10822
|
+
if (name !== undefined) {
|
|
10823
|
+
localVarQueryParameter['Name'] = name;
|
|
10773
10824
|
}
|
|
10774
|
-
if (
|
|
10775
|
-
localVarQueryParameter['
|
|
10825
|
+
if (slug !== undefined) {
|
|
10826
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10776
10827
|
}
|
|
10777
10828
|
if (marketingType !== undefined) {
|
|
10778
10829
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10779
10830
|
}
|
|
10831
|
+
if (returnDefaultValue !== undefined) {
|
|
10832
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10833
|
+
}
|
|
10834
|
+
if (includeServices !== undefined) {
|
|
10835
|
+
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10836
|
+
}
|
|
10837
|
+
if (languageCode !== undefined) {
|
|
10838
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10839
|
+
}
|
|
10840
|
+
if (showHidden !== undefined) {
|
|
10841
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10842
|
+
}
|
|
10843
|
+
if (page !== undefined) {
|
|
10844
|
+
localVarQueryParameter['page'] = page;
|
|
10845
|
+
}
|
|
10846
|
+
if (limit !== undefined) {
|
|
10847
|
+
localVarQueryParameter['limit'] = limit;
|
|
10848
|
+
}
|
|
10849
|
+
if (lastRetrieved !== undefined) {
|
|
10850
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10851
|
+
lastRetrieved.toISOString() :
|
|
10852
|
+
lastRetrieved;
|
|
10853
|
+
}
|
|
10854
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10855
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10856
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10857
|
+
return [2 /*return*/, {
|
|
10858
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10859
|
+
options: localVarRequestOptions,
|
|
10860
|
+
}];
|
|
10861
|
+
});
|
|
10862
|
+
});
|
|
10863
|
+
},
|
|
10864
|
+
/**
|
|
10865
|
+
*
|
|
10866
|
+
* @summary Get HospitalSpecialty by slug.
|
|
10867
|
+
* @param {string} hospitalId
|
|
10868
|
+
* @param {string} slug
|
|
10869
|
+
* @param {string} [languageCode]
|
|
10870
|
+
* @param {boolean} [returnDefaultValue]
|
|
10871
|
+
* @param {boolean} [includeServices]
|
|
10872
|
+
* @param {*} [options] Override http request option.
|
|
10873
|
+
* @throws {RequiredError}
|
|
10874
|
+
*/
|
|
10875
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
|
|
10876
|
+
if (options === void 0) { options = {}; }
|
|
10877
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10878
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10879
|
+
return __generator(this, function (_a) {
|
|
10880
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10881
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSlugGet', 'hospitalId', hospitalId);
|
|
10882
|
+
// verify required parameter 'slug' is not null or undefined
|
|
10883
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSlugGet', 'slug', slug);
|
|
10884
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{slug}"
|
|
10885
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10886
|
+
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
10887
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10888
|
+
if (configuration) {
|
|
10889
|
+
baseOptions = configuration.baseOptions;
|
|
10890
|
+
}
|
|
10891
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10892
|
+
localVarHeaderParameter = {};
|
|
10893
|
+
localVarQueryParameter = {};
|
|
10780
10894
|
if (languageCode !== undefined) {
|
|
10781
|
-
localVarQueryParameter['
|
|
10782
|
-
}
|
|
10783
|
-
if (showHidden !== undefined) {
|
|
10784
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10895
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
10785
10896
|
}
|
|
10786
10897
|
if (returnDefaultValue !== undefined) {
|
|
10787
|
-
localVarQueryParameter['
|
|
10898
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10788
10899
|
}
|
|
10789
10900
|
if (includeServices !== undefined) {
|
|
10790
|
-
localVarQueryParameter['
|
|
10791
|
-
}
|
|
10792
|
-
if (page !== undefined) {
|
|
10793
|
-
localVarQueryParameter['page'] = page;
|
|
10794
|
-
}
|
|
10795
|
-
if (limit !== undefined) {
|
|
10796
|
-
localVarQueryParameter['limit'] = limit;
|
|
10797
|
-
}
|
|
10798
|
-
if (lastRetrieved !== undefined) {
|
|
10799
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10800
|
-
lastRetrieved.toISOString() :
|
|
10801
|
-
lastRetrieved;
|
|
10901
|
+
localVarQueryParameter['includeServices'] = includeServices;
|
|
10802
10902
|
}
|
|
10803
10903
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10804
10904
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -10864,14 +10964,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10864
10964
|
* @summary Get all HospitalServices.
|
|
10865
10965
|
* @param {string} hospitalId
|
|
10866
10966
|
* @param {string} specialtyId
|
|
10867
|
-
* @param {string} [hospitalName]
|
|
10868
|
-
* @param {string} [hospitalSlug]
|
|
10869
10967
|
* @param {string} [id]
|
|
10870
10968
|
* @param {string} [name]
|
|
10871
|
-
* @param {string} [
|
|
10872
|
-
* @param {string} [specialtyName]
|
|
10873
|
-
* @param {string} [specialtyTypeId]
|
|
10874
|
-
* @param {string} [specialtyTypeName]
|
|
10969
|
+
* @param {string} [slug]
|
|
10875
10970
|
* @param {string} [serviceCategoryId]
|
|
10876
10971
|
* @param {MarketingType} [marketingType]
|
|
10877
10972
|
* @param {Procedure} [procedure]
|
|
@@ -10884,7 +10979,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10884
10979
|
* @param {*} [options] Override http request option.
|
|
10885
10980
|
* @throws {RequiredError}
|
|
10886
10981
|
*/
|
|
10887
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
10982
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10888
10983
|
if (options === void 0) { options = {}; }
|
|
10889
10984
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10890
10985
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10903,29 +10998,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10903
10998
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10904
10999
|
localVarHeaderParameter = {};
|
|
10905
11000
|
localVarQueryParameter = {};
|
|
10906
|
-
if (hospitalName !== undefined) {
|
|
10907
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10908
|
-
}
|
|
10909
|
-
if (hospitalSlug !== undefined) {
|
|
10910
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10911
|
-
}
|
|
10912
11001
|
if (id !== undefined) {
|
|
10913
11002
|
localVarQueryParameter['Id'] = id;
|
|
10914
11003
|
}
|
|
10915
11004
|
if (name !== undefined) {
|
|
10916
11005
|
localVarQueryParameter['Name'] = name;
|
|
10917
11006
|
}
|
|
10918
|
-
if (
|
|
10919
|
-
localVarQueryParameter['
|
|
10920
|
-
}
|
|
10921
|
-
if (specialtyName !== undefined) {
|
|
10922
|
-
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
10923
|
-
}
|
|
10924
|
-
if (specialtyTypeId !== undefined) {
|
|
10925
|
-
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10926
|
-
}
|
|
10927
|
-
if (specialtyTypeName !== undefined) {
|
|
10928
|
-
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
11007
|
+
if (slug !== undefined) {
|
|
11008
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10929
11009
|
}
|
|
10930
11010
|
if (serviceCategoryId !== undefined) {
|
|
10931
11011
|
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
@@ -11249,13 +11329,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11249
11329
|
* @param {string} [languageCode]
|
|
11250
11330
|
* @param {Array<string>} [ids]
|
|
11251
11331
|
* @param {boolean} [returnDefaultValue]
|
|
11332
|
+
* @param {boolean} [paymentEnabled]
|
|
11252
11333
|
* @param {number} [page]
|
|
11253
11334
|
* @param {number} [limit]
|
|
11254
11335
|
* @param {Date} [lastRetrieved]
|
|
11255
11336
|
* @param {*} [options] Override http request option.
|
|
11256
11337
|
* @throws {RequiredError}
|
|
11257
11338
|
*/
|
|
11258
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11339
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11259
11340
|
if (options === void 0) { options = {}; }
|
|
11260
11341
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11261
11342
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11309,6 +11390,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11309
11390
|
if (returnDefaultValue !== undefined) {
|
|
11310
11391
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
11311
11392
|
}
|
|
11393
|
+
if (paymentEnabled !== undefined) {
|
|
11394
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
11395
|
+
}
|
|
11312
11396
|
if (page !== undefined) {
|
|
11313
11397
|
localVarQueryParameter['page'] = page;
|
|
11314
11398
|
}
|
|
@@ -11396,18 +11480,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11396
11480
|
* @param {string} [languageCode]
|
|
11397
11481
|
* @param {Array<string>} [ids]
|
|
11398
11482
|
* @param {boolean} [returnDefaultValue]
|
|
11483
|
+
* @param {boolean} [paymentEnabled]
|
|
11399
11484
|
* @param {number} [page]
|
|
11400
11485
|
* @param {number} [limit]
|
|
11401
11486
|
* @param {Date} [lastRetrieved]
|
|
11402
11487
|
* @param {*} [options] Override http request option.
|
|
11403
11488
|
* @throws {RequiredError}
|
|
11404
11489
|
*/
|
|
11405
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11490
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11406
11491
|
return __awaiter(this, void 0, void 0, function () {
|
|
11407
11492
|
var localVarAxiosArgs;
|
|
11408
11493
|
return __generator(this, function (_a) {
|
|
11409
11494
|
switch (_a.label) {
|
|
11410
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
11411
11496
|
case 1:
|
|
11412
11497
|
localVarAxiosArgs = _a.sent();
|
|
11413
11498
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11725,30 +11810,30 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11725
11810
|
*
|
|
11726
11811
|
* @summary Get all HospitalSpecialties.
|
|
11727
11812
|
* @param {string} hospitalId
|
|
11728
|
-
* @param {string} [hospitalName]
|
|
11729
|
-
* @param {string} [hospitalSlug]
|
|
11730
11813
|
* @param {string} [specialtyId]
|
|
11731
11814
|
* @param {string} [specialtyName]
|
|
11732
11815
|
* @param {string} [specialtyTypeId]
|
|
11733
|
-
* @param {string} [
|
|
11734
|
-
* @param {string} [
|
|
11816
|
+
* @param {string} [specialtyTypeName]
|
|
11817
|
+
* @param {string} [hospitalSpecialtyId]
|
|
11818
|
+
* @param {string} [name]
|
|
11819
|
+
* @param {string} [slug]
|
|
11735
11820
|
* @param {MarketingType} [marketingType]
|
|
11736
|
-
* @param {string} [languageCode]
|
|
11737
|
-
* @param {boolean} [showHidden]
|
|
11738
11821
|
* @param {boolean} [returnDefaultValue]
|
|
11739
11822
|
* @param {boolean} [includeServices]
|
|
11823
|
+
* @param {string} [languageCode]
|
|
11824
|
+
* @param {boolean} [showHidden]
|
|
11740
11825
|
* @param {number} [page]
|
|
11741
11826
|
* @param {number} [limit]
|
|
11742
11827
|
* @param {Date} [lastRetrieved]
|
|
11743
11828
|
* @param {*} [options] Override http request option.
|
|
11744
11829
|
* @throws {RequiredError}
|
|
11745
11830
|
*/
|
|
11746
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
11831
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11747
11832
|
return __awaiter(this, void 0, void 0, function () {
|
|
11748
11833
|
var localVarAxiosArgs;
|
|
11749
11834
|
return __generator(this, function (_a) {
|
|
11750
11835
|
switch (_a.label) {
|
|
11751
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
11836
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11752
11837
|
case 1:
|
|
11753
11838
|
localVarAxiosArgs = _a.sent();
|
|
11754
11839
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11808,30 +11893,54 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11808
11893
|
*
|
|
11809
11894
|
* @summary Get all HospitalSpecialties.
|
|
11810
11895
|
* @param {string} hospitalId
|
|
11811
|
-
* @param {string} [hospitalName]
|
|
11812
|
-
* @param {string} [hospitalSlug]
|
|
11813
11896
|
* @param {string} [specialtyId]
|
|
11814
11897
|
* @param {string} [specialtyName]
|
|
11815
11898
|
* @param {string} [specialtyTypeId]
|
|
11816
|
-
* @param {string} [
|
|
11817
|
-
* @param {string} [
|
|
11899
|
+
* @param {string} [specialtyTypeName]
|
|
11900
|
+
* @param {string} [hospitalSpecialtyId]
|
|
11901
|
+
* @param {string} [name]
|
|
11902
|
+
* @param {string} [slug]
|
|
11818
11903
|
* @param {MarketingType} [marketingType]
|
|
11819
|
-
* @param {string} [languageCode]
|
|
11820
|
-
* @param {boolean} [showHidden]
|
|
11821
11904
|
* @param {boolean} [returnDefaultValue]
|
|
11822
11905
|
* @param {boolean} [includeServices]
|
|
11906
|
+
* @param {string} [languageCode]
|
|
11907
|
+
* @param {boolean} [showHidden]
|
|
11823
11908
|
* @param {number} [page]
|
|
11824
11909
|
* @param {number} [limit]
|
|
11825
11910
|
* @param {Date} [lastRetrieved]
|
|
11826
11911
|
* @param {*} [options] Override http request option.
|
|
11827
11912
|
* @throws {RequiredError}
|
|
11828
11913
|
*/
|
|
11829
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
11914
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11915
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11916
|
+
var localVarAxiosArgs;
|
|
11917
|
+
return __generator(this, function (_a) {
|
|
11918
|
+
switch (_a.label) {
|
|
11919
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11920
|
+
case 1:
|
|
11921
|
+
localVarAxiosArgs = _a.sent();
|
|
11922
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11923
|
+
}
|
|
11924
|
+
});
|
|
11925
|
+
});
|
|
11926
|
+
},
|
|
11927
|
+
/**
|
|
11928
|
+
*
|
|
11929
|
+
* @summary Get HospitalSpecialty by slug.
|
|
11930
|
+
* @param {string} hospitalId
|
|
11931
|
+
* @param {string} slug
|
|
11932
|
+
* @param {string} [languageCode]
|
|
11933
|
+
* @param {boolean} [returnDefaultValue]
|
|
11934
|
+
* @param {boolean} [includeServices]
|
|
11935
|
+
* @param {*} [options] Override http request option.
|
|
11936
|
+
* @throws {RequiredError}
|
|
11937
|
+
*/
|
|
11938
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
|
|
11830
11939
|
return __awaiter(this, void 0, void 0, function () {
|
|
11831
11940
|
var localVarAxiosArgs;
|
|
11832
11941
|
return __generator(this, function (_a) {
|
|
11833
11942
|
switch (_a.label) {
|
|
11834
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11943
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options)];
|
|
11835
11944
|
case 1:
|
|
11836
11945
|
localVarAxiosArgs = _a.sent();
|
|
11837
11946
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11868,14 +11977,9 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11868
11977
|
* @summary Get all HospitalServices.
|
|
11869
11978
|
* @param {string} hospitalId
|
|
11870
11979
|
* @param {string} specialtyId
|
|
11871
|
-
* @param {string} [hospitalName]
|
|
11872
|
-
* @param {string} [hospitalSlug]
|
|
11873
11980
|
* @param {string} [id]
|
|
11874
11981
|
* @param {string} [name]
|
|
11875
|
-
* @param {string} [
|
|
11876
|
-
* @param {string} [specialtyName]
|
|
11877
|
-
* @param {string} [specialtyTypeId]
|
|
11878
|
-
* @param {string} [specialtyTypeName]
|
|
11982
|
+
* @param {string} [slug]
|
|
11879
11983
|
* @param {string} [serviceCategoryId]
|
|
11880
11984
|
* @param {MarketingType} [marketingType]
|
|
11881
11985
|
* @param {Procedure} [procedure]
|
|
@@ -11888,12 +11992,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11888
11992
|
* @param {*} [options] Override http request option.
|
|
11889
11993
|
* @throws {RequiredError}
|
|
11890
11994
|
*/
|
|
11891
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
11995
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11892
11996
|
return __awaiter(this, void 0, void 0, function () {
|
|
11893
11997
|
var localVarAxiosArgs;
|
|
11894
11998
|
return __generator(this, function (_a) {
|
|
11895
11999
|
switch (_a.label) {
|
|
11896
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
12000
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11897
12001
|
case 1:
|
|
11898
12002
|
localVarAxiosArgs = _a.sent();
|
|
11899
12003
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12040,18 +12144,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12040
12144
|
* @param {string} [languageCode]
|
|
12041
12145
|
* @param {Array<string>} [ids]
|
|
12042
12146
|
* @param {boolean} [returnDefaultValue]
|
|
12147
|
+
* @param {boolean} [paymentEnabled]
|
|
12043
12148
|
* @param {number} [page]
|
|
12044
12149
|
* @param {number} [limit]
|
|
12045
12150
|
* @param {Date} [lastRetrieved]
|
|
12046
12151
|
* @param {*} [options] Override http request option.
|
|
12047
12152
|
* @throws {RequiredError}
|
|
12048
12153
|
*/
|
|
12049
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12154
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12050
12155
|
return __awaiter(this, void 0, void 0, function () {
|
|
12051
12156
|
var localVarAxiosArgs;
|
|
12052
12157
|
return __generator(this, function (_a) {
|
|
12053
12158
|
switch (_a.label) {
|
|
12054
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
12159
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
12055
12160
|
case 1:
|
|
12056
12161
|
localVarAxiosArgs = _a.sent();
|
|
12057
12162
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12106,14 +12211,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12106
12211
|
* @param {string} [languageCode]
|
|
12107
12212
|
* @param {Array<string>} [ids]
|
|
12108
12213
|
* @param {boolean} [returnDefaultValue]
|
|
12214
|
+
* @param {boolean} [paymentEnabled]
|
|
12109
12215
|
* @param {number} [page]
|
|
12110
12216
|
* @param {number} [limit]
|
|
12111
12217
|
* @param {Date} [lastRetrieved]
|
|
12112
12218
|
* @param {*} [options] Override http request option.
|
|
12113
12219
|
* @throws {RequiredError}
|
|
12114
12220
|
*/
|
|
12115
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12116
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12221
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12222
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12117
12223
|
},
|
|
12118
12224
|
/**
|
|
12119
12225
|
*
|
|
@@ -12295,26 +12401,26 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12295
12401
|
*
|
|
12296
12402
|
* @summary Get all HospitalSpecialties.
|
|
12297
12403
|
* @param {string} hospitalId
|
|
12298
|
-
* @param {string} [hospitalName]
|
|
12299
|
-
* @param {string} [hospitalSlug]
|
|
12300
12404
|
* @param {string} [specialtyId]
|
|
12301
12405
|
* @param {string} [specialtyName]
|
|
12302
12406
|
* @param {string} [specialtyTypeId]
|
|
12303
|
-
* @param {string} [
|
|
12304
|
-
* @param {string} [
|
|
12407
|
+
* @param {string} [specialtyTypeName]
|
|
12408
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12409
|
+
* @param {string} [name]
|
|
12410
|
+
* @param {string} [slug]
|
|
12305
12411
|
* @param {MarketingType} [marketingType]
|
|
12306
|
-
* @param {string} [languageCode]
|
|
12307
|
-
* @param {boolean} [showHidden]
|
|
12308
12412
|
* @param {boolean} [returnDefaultValue]
|
|
12309
12413
|
* @param {boolean} [includeServices]
|
|
12414
|
+
* @param {string} [languageCode]
|
|
12415
|
+
* @param {boolean} [showHidden]
|
|
12310
12416
|
* @param {number} [page]
|
|
12311
12417
|
* @param {number} [limit]
|
|
12312
12418
|
* @param {Date} [lastRetrieved]
|
|
12313
12419
|
* @param {*} [options] Override http request option.
|
|
12314
12420
|
* @throws {RequiredError}
|
|
12315
12421
|
*/
|
|
12316
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
12317
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
12422
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12423
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12318
12424
|
},
|
|
12319
12425
|
/**
|
|
12320
12426
|
*
|
|
@@ -12348,26 +12454,40 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12348
12454
|
*
|
|
12349
12455
|
* @summary Get all HospitalSpecialties.
|
|
12350
12456
|
* @param {string} hospitalId
|
|
12351
|
-
* @param {string} [hospitalName]
|
|
12352
|
-
* @param {string} [hospitalSlug]
|
|
12353
12457
|
* @param {string} [specialtyId]
|
|
12354
12458
|
* @param {string} [specialtyName]
|
|
12355
12459
|
* @param {string} [specialtyTypeId]
|
|
12356
|
-
* @param {string} [
|
|
12357
|
-
* @param {string} [
|
|
12460
|
+
* @param {string} [specialtyTypeName]
|
|
12461
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12462
|
+
* @param {string} [name]
|
|
12463
|
+
* @param {string} [slug]
|
|
12358
12464
|
* @param {MarketingType} [marketingType]
|
|
12359
|
-
* @param {string} [languageCode]
|
|
12360
|
-
* @param {boolean} [showHidden]
|
|
12361
12465
|
* @param {boolean} [returnDefaultValue]
|
|
12362
12466
|
* @param {boolean} [includeServices]
|
|
12467
|
+
* @param {string} [languageCode]
|
|
12468
|
+
* @param {boolean} [showHidden]
|
|
12363
12469
|
* @param {number} [page]
|
|
12364
12470
|
* @param {number} [limit]
|
|
12365
12471
|
* @param {Date} [lastRetrieved]
|
|
12366
12472
|
* @param {*} [options] Override http request option.
|
|
12367
12473
|
* @throws {RequiredError}
|
|
12368
12474
|
*/
|
|
12369
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
12370
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId,
|
|
12475
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12476
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12477
|
+
},
|
|
12478
|
+
/**
|
|
12479
|
+
*
|
|
12480
|
+
* @summary Get HospitalSpecialty by slug.
|
|
12481
|
+
* @param {string} hospitalId
|
|
12482
|
+
* @param {string} slug
|
|
12483
|
+
* @param {string} [languageCode]
|
|
12484
|
+
* @param {boolean} [returnDefaultValue]
|
|
12485
|
+
* @param {boolean} [includeServices]
|
|
12486
|
+
* @param {*} [options] Override http request option.
|
|
12487
|
+
* @throws {RequiredError}
|
|
12488
|
+
*/
|
|
12489
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
|
|
12490
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
|
|
12371
12491
|
},
|
|
12372
12492
|
/**
|
|
12373
12493
|
*
|
|
@@ -12388,14 +12508,9 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12388
12508
|
* @summary Get all HospitalServices.
|
|
12389
12509
|
* @param {string} hospitalId
|
|
12390
12510
|
* @param {string} specialtyId
|
|
12391
|
-
* @param {string} [hospitalName]
|
|
12392
|
-
* @param {string} [hospitalSlug]
|
|
12393
12511
|
* @param {string} [id]
|
|
12394
12512
|
* @param {string} [name]
|
|
12395
|
-
* @param {string} [
|
|
12396
|
-
* @param {string} [specialtyName]
|
|
12397
|
-
* @param {string} [specialtyTypeId]
|
|
12398
|
-
* @param {string} [specialtyTypeName]
|
|
12513
|
+
* @param {string} [slug]
|
|
12399
12514
|
* @param {string} [serviceCategoryId]
|
|
12400
12515
|
* @param {MarketingType} [marketingType]
|
|
12401
12516
|
* @param {Procedure} [procedure]
|
|
@@ -12408,8 +12523,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12408
12523
|
* @param {*} [options] Override http request option.
|
|
12409
12524
|
* @throws {RequiredError}
|
|
12410
12525
|
*/
|
|
12411
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
12412
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
12526
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12527
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12413
12528
|
},
|
|
12414
12529
|
/**
|
|
12415
12530
|
*
|
|
@@ -12500,14 +12615,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12500
12615
|
* @param {string} [languageCode]
|
|
12501
12616
|
* @param {Array<string>} [ids]
|
|
12502
12617
|
* @param {boolean} [returnDefaultValue]
|
|
12618
|
+
* @param {boolean} [paymentEnabled]
|
|
12503
12619
|
* @param {number} [page]
|
|
12504
12620
|
* @param {number} [limit]
|
|
12505
12621
|
* @param {Date} [lastRetrieved]
|
|
12506
12622
|
* @param {*} [options] Override http request option.
|
|
12507
12623
|
* @throws {RequiredError}
|
|
12508
12624
|
*/
|
|
12509
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12510
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12625
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12626
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12511
12627
|
},
|
|
12512
12628
|
/**
|
|
12513
12629
|
*
|
|
@@ -12550,6 +12666,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12550
12666
|
* @param {string} [languageCode]
|
|
12551
12667
|
* @param {Array<string>} [ids]
|
|
12552
12668
|
* @param {boolean} [returnDefaultValue]
|
|
12669
|
+
* @param {boolean} [paymentEnabled]
|
|
12553
12670
|
* @param {number} [page]
|
|
12554
12671
|
* @param {number} [limit]
|
|
12555
12672
|
* @param {Date} [lastRetrieved]
|
|
@@ -12557,9 +12674,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12557
12674
|
* @throws {RequiredError}
|
|
12558
12675
|
* @memberof HospitalsApi
|
|
12559
12676
|
*/
|
|
12560
|
-
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12677
|
+
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12561
12678
|
var _this = this;
|
|
12562
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(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); });
|
|
12679
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12563
12680
|
};
|
|
12564
12681
|
/**
|
|
12565
12682
|
*
|
|
@@ -12767,18 +12884,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12767
12884
|
*
|
|
12768
12885
|
* @summary Get all HospitalSpecialties.
|
|
12769
12886
|
* @param {string} hospitalId
|
|
12770
|
-
* @param {string} [hospitalName]
|
|
12771
|
-
* @param {string} [hospitalSlug]
|
|
12772
12887
|
* @param {string} [specialtyId]
|
|
12773
12888
|
* @param {string} [specialtyName]
|
|
12774
12889
|
* @param {string} [specialtyTypeId]
|
|
12775
|
-
* @param {string} [
|
|
12776
|
-
* @param {string} [
|
|
12890
|
+
* @param {string} [specialtyTypeName]
|
|
12891
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12892
|
+
* @param {string} [name]
|
|
12893
|
+
* @param {string} [slug]
|
|
12777
12894
|
* @param {MarketingType} [marketingType]
|
|
12778
|
-
* @param {string} [languageCode]
|
|
12779
|
-
* @param {boolean} [showHidden]
|
|
12780
12895
|
* @param {boolean} [returnDefaultValue]
|
|
12781
12896
|
* @param {boolean} [includeServices]
|
|
12897
|
+
* @param {string} [languageCode]
|
|
12898
|
+
* @param {boolean} [showHidden]
|
|
12782
12899
|
* @param {number} [page]
|
|
12783
12900
|
* @param {number} [limit]
|
|
12784
12901
|
* @param {Date} [lastRetrieved]
|
|
@@ -12786,9 +12903,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12786
12903
|
* @throws {RequiredError}
|
|
12787
12904
|
* @memberof HospitalsApi
|
|
12788
12905
|
*/
|
|
12789
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId,
|
|
12906
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12790
12907
|
var _this = this;
|
|
12791
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
12908
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12792
12909
|
};
|
|
12793
12910
|
/**
|
|
12794
12911
|
*
|
|
@@ -12826,18 +12943,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12826
12943
|
*
|
|
12827
12944
|
* @summary Get all HospitalSpecialties.
|
|
12828
12945
|
* @param {string} hospitalId
|
|
12829
|
-
* @param {string} [hospitalName]
|
|
12830
|
-
* @param {string} [hospitalSlug]
|
|
12831
12946
|
* @param {string} [specialtyId]
|
|
12832
12947
|
* @param {string} [specialtyName]
|
|
12833
12948
|
* @param {string} [specialtyTypeId]
|
|
12834
|
-
* @param {string} [
|
|
12835
|
-
* @param {string} [
|
|
12949
|
+
* @param {string} [specialtyTypeName]
|
|
12950
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12951
|
+
* @param {string} [name]
|
|
12952
|
+
* @param {string} [slug]
|
|
12836
12953
|
* @param {MarketingType} [marketingType]
|
|
12837
|
-
* @param {string} [languageCode]
|
|
12838
|
-
* @param {boolean} [showHidden]
|
|
12839
12954
|
* @param {boolean} [returnDefaultValue]
|
|
12840
12955
|
* @param {boolean} [includeServices]
|
|
12956
|
+
* @param {string} [languageCode]
|
|
12957
|
+
* @param {boolean} [showHidden]
|
|
12841
12958
|
* @param {number} [page]
|
|
12842
12959
|
* @param {number} [limit]
|
|
12843
12960
|
* @param {Date} [lastRetrieved]
|
|
@@ -12845,9 +12962,25 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12845
12962
|
* @throws {RequiredError}
|
|
12846
12963
|
* @memberof HospitalsApi
|
|
12847
12964
|
*/
|
|
12848
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId,
|
|
12965
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12966
|
+
var _this = this;
|
|
12967
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12968
|
+
};
|
|
12969
|
+
/**
|
|
12970
|
+
*
|
|
12971
|
+
* @summary Get HospitalSpecialty by slug.
|
|
12972
|
+
* @param {string} hospitalId
|
|
12973
|
+
* @param {string} slug
|
|
12974
|
+
* @param {string} [languageCode]
|
|
12975
|
+
* @param {boolean} [returnDefaultValue]
|
|
12976
|
+
* @param {boolean} [includeServices]
|
|
12977
|
+
* @param {*} [options] Override http request option.
|
|
12978
|
+
* @throws {RequiredError}
|
|
12979
|
+
* @memberof HospitalsApi
|
|
12980
|
+
*/
|
|
12981
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
|
|
12849
12982
|
var _this = this;
|
|
12850
|
-
return (0, exports.HospitalsApiFp)(this.configuration).
|
|
12983
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12851
12984
|
};
|
|
12852
12985
|
/**
|
|
12853
12986
|
*
|
|
@@ -12870,14 +13003,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12870
13003
|
* @summary Get all HospitalServices.
|
|
12871
13004
|
* @param {string} hospitalId
|
|
12872
13005
|
* @param {string} specialtyId
|
|
12873
|
-
* @param {string} [hospitalName]
|
|
12874
|
-
* @param {string} [hospitalSlug]
|
|
12875
13006
|
* @param {string} [id]
|
|
12876
13007
|
* @param {string} [name]
|
|
12877
|
-
* @param {string} [
|
|
12878
|
-
* @param {string} [specialtyName]
|
|
12879
|
-
* @param {string} [specialtyTypeId]
|
|
12880
|
-
* @param {string} [specialtyTypeName]
|
|
13008
|
+
* @param {string} [slug]
|
|
12881
13009
|
* @param {string} [serviceCategoryId]
|
|
12882
13010
|
* @param {MarketingType} [marketingType]
|
|
12883
13011
|
* @param {Procedure} [procedure]
|
|
@@ -12891,9 +13019,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12891
13019
|
* @throws {RequiredError}
|
|
12892
13020
|
* @memberof HospitalsApi
|
|
12893
13021
|
*/
|
|
12894
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId,
|
|
13022
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12895
13023
|
var _this = this;
|
|
12896
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
13024
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12897
13025
|
};
|
|
12898
13026
|
/**
|
|
12899
13027
|
*
|
|
@@ -12994,6 +13122,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12994
13122
|
* @param {string} [languageCode]
|
|
12995
13123
|
* @param {Array<string>} [ids]
|
|
12996
13124
|
* @param {boolean} [returnDefaultValue]
|
|
13125
|
+
* @param {boolean} [paymentEnabled]
|
|
12997
13126
|
* @param {number} [page]
|
|
12998
13127
|
* @param {number} [limit]
|
|
12999
13128
|
* @param {Date} [lastRetrieved]
|
|
@@ -13001,9 +13130,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13001
13130
|
* @throws {RequiredError}
|
|
13002
13131
|
* @memberof HospitalsApi
|
|
13003
13132
|
*/
|
|
13004
|
-
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
13133
|
+
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13005
13134
|
var _this = this;
|
|
13006
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(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); });
|
|
13135
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13007
13136
|
};
|
|
13008
13137
|
/**
|
|
13009
13138
|
*
|
|
@@ -16444,12 +16573,10 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16444
16573
|
/**
|
|
16445
16574
|
*
|
|
16446
16575
|
* @param {string} serviceReviewId
|
|
16447
|
-
* @param {string} [languageCode]
|
|
16448
|
-
* @param {boolean} [returnDefaultValue]
|
|
16449
16576
|
* @param {*} [options] Override http request option.
|
|
16450
16577
|
* @throws {RequiredError}
|
|
16451
16578
|
*/
|
|
16452
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
16579
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16453
16580
|
if (options === void 0) { options = {}; }
|
|
16454
16581
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16455
16582
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16465,12 +16592,6 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16465
16592
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16466
16593
|
localVarHeaderParameter = {};
|
|
16467
16594
|
localVarQueryParameter = {};
|
|
16468
|
-
if (languageCode !== undefined) {
|
|
16469
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
16470
|
-
}
|
|
16471
|
-
if (returnDefaultValue !== undefined) {
|
|
16472
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16473
|
-
}
|
|
16474
16595
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16475
16596
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16476
16597
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16848,17 +16969,15 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16848
16969
|
/**
|
|
16849
16970
|
*
|
|
16850
16971
|
* @param {string} serviceReviewId
|
|
16851
|
-
* @param {string} [languageCode]
|
|
16852
|
-
* @param {boolean} [returnDefaultValue]
|
|
16853
16972
|
* @param {*} [options] Override http request option.
|
|
16854
16973
|
* @throws {RequiredError}
|
|
16855
16974
|
*/
|
|
16856
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
16975
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16857
16976
|
return __awaiter(this, void 0, void 0, function () {
|
|
16858
16977
|
var localVarAxiosArgs;
|
|
16859
16978
|
return __generator(this, function (_a) {
|
|
16860
16979
|
switch (_a.label) {
|
|
16861
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
16980
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16862
16981
|
case 1:
|
|
16863
16982
|
localVarAxiosArgs = _a.sent();
|
|
16864
16983
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17053,13 +17172,11 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
17053
17172
|
/**
|
|
17054
17173
|
*
|
|
17055
17174
|
* @param {string} serviceReviewId
|
|
17056
|
-
* @param {string} [languageCode]
|
|
17057
|
-
* @param {boolean} [returnDefaultValue]
|
|
17058
17175
|
* @param {*} [options] Override http request option.
|
|
17059
17176
|
* @throws {RequiredError}
|
|
17060
17177
|
*/
|
|
17061
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
17062
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
17178
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
17179
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
17063
17180
|
},
|
|
17064
17181
|
/**
|
|
17065
17182
|
*
|
|
@@ -17198,15 +17315,13 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17198
17315
|
/**
|
|
17199
17316
|
*
|
|
17200
17317
|
* @param {string} serviceReviewId
|
|
17201
|
-
* @param {string} [languageCode]
|
|
17202
|
-
* @param {boolean} [returnDefaultValue]
|
|
17203
17318
|
* @param {*} [options] Override http request option.
|
|
17204
17319
|
* @throws {RequiredError}
|
|
17205
17320
|
* @memberof ServiceReviewsApi
|
|
17206
17321
|
*/
|
|
17207
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId,
|
|
17322
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
17208
17323
|
var _this = this;
|
|
17209
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
17324
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17210
17325
|
};
|
|
17211
17326
|
/**
|
|
17212
17327
|
*
|
|
@@ -17304,12 +17419,12 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17304
17419
|
/**
|
|
17305
17420
|
*
|
|
17306
17421
|
* @summary Get all HospitalServices.
|
|
17422
|
+
* @param {string} [id]
|
|
17423
|
+
* @param {string} [name]
|
|
17424
|
+
* @param {string} [slug]
|
|
17307
17425
|
* @param {string} [hospitalId]
|
|
17308
17426
|
* @param {string} [hospitalName]
|
|
17309
17427
|
* @param {string} [hospitalSlug]
|
|
17310
|
-
* @param {string} [id]
|
|
17311
|
-
* @param {string} [name]
|
|
17312
|
-
* @param {string} [description]
|
|
17313
17428
|
* @param {string} [specialtyId]
|
|
17314
17429
|
* @param {string} [specialtyName]
|
|
17315
17430
|
* @param {string} [specialtyTypeId]
|
|
@@ -17326,7 +17441,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17326
17441
|
* @param {*} [options] Override http request option.
|
|
17327
17442
|
* @throws {RequiredError}
|
|
17328
17443
|
*/
|
|
17329
|
-
apiV2ServicesGet: function (
|
|
17444
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17330
17445
|
if (options === void 0) { options = {}; }
|
|
17331
17446
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17332
17447
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17339,6 +17454,15 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17339
17454
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17340
17455
|
localVarHeaderParameter = {};
|
|
17341
17456
|
localVarQueryParameter = {};
|
|
17457
|
+
if (id !== undefined) {
|
|
17458
|
+
localVarQueryParameter['Id'] = id;
|
|
17459
|
+
}
|
|
17460
|
+
if (name !== undefined) {
|
|
17461
|
+
localVarQueryParameter['Name'] = name;
|
|
17462
|
+
}
|
|
17463
|
+
if (slug !== undefined) {
|
|
17464
|
+
localVarQueryParameter['Slug'] = slug;
|
|
17465
|
+
}
|
|
17342
17466
|
if (hospitalId !== undefined) {
|
|
17343
17467
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17344
17468
|
}
|
|
@@ -17348,15 +17472,6 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17348
17472
|
if (hospitalSlug !== undefined) {
|
|
17349
17473
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
17350
17474
|
}
|
|
17351
|
-
if (id !== undefined) {
|
|
17352
|
-
localVarQueryParameter['Id'] = id;
|
|
17353
|
-
}
|
|
17354
|
-
if (name !== undefined) {
|
|
17355
|
-
localVarQueryParameter['Name'] = name;
|
|
17356
|
-
}
|
|
17357
|
-
if (description !== undefined) {
|
|
17358
|
-
localVarQueryParameter['Description'] = description;
|
|
17359
|
-
}
|
|
17360
17475
|
if (specialtyId !== undefined) {
|
|
17361
17476
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
17362
17477
|
}
|
|
@@ -17503,12 +17618,12 @@ var ServicesApiFp = function (configuration) {
|
|
|
17503
17618
|
/**
|
|
17504
17619
|
*
|
|
17505
17620
|
* @summary Get all HospitalServices.
|
|
17621
|
+
* @param {string} [id]
|
|
17622
|
+
* @param {string} [name]
|
|
17623
|
+
* @param {string} [slug]
|
|
17506
17624
|
* @param {string} [hospitalId]
|
|
17507
17625
|
* @param {string} [hospitalName]
|
|
17508
17626
|
* @param {string} [hospitalSlug]
|
|
17509
|
-
* @param {string} [id]
|
|
17510
|
-
* @param {string} [name]
|
|
17511
|
-
* @param {string} [description]
|
|
17512
17627
|
* @param {string} [specialtyId]
|
|
17513
17628
|
* @param {string} [specialtyName]
|
|
17514
17629
|
* @param {string} [specialtyTypeId]
|
|
@@ -17525,12 +17640,12 @@ var ServicesApiFp = function (configuration) {
|
|
|
17525
17640
|
* @param {*} [options] Override http request option.
|
|
17526
17641
|
* @throws {RequiredError}
|
|
17527
17642
|
*/
|
|
17528
|
-
apiV2ServicesGet: function (
|
|
17643
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17529
17644
|
return __awaiter(this, void 0, void 0, function () {
|
|
17530
17645
|
var localVarAxiosArgs;
|
|
17531
17646
|
return __generator(this, function (_a) {
|
|
17532
17647
|
switch (_a.label) {
|
|
17533
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(
|
|
17648
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
17534
17649
|
case 1:
|
|
17535
17650
|
localVarAxiosArgs = _a.sent();
|
|
17536
17651
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17593,12 +17708,12 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17593
17708
|
/**
|
|
17594
17709
|
*
|
|
17595
17710
|
* @summary Get all HospitalServices.
|
|
17711
|
+
* @param {string} [id]
|
|
17712
|
+
* @param {string} [name]
|
|
17713
|
+
* @param {string} [slug]
|
|
17596
17714
|
* @param {string} [hospitalId]
|
|
17597
17715
|
* @param {string} [hospitalName]
|
|
17598
17716
|
* @param {string} [hospitalSlug]
|
|
17599
|
-
* @param {string} [id]
|
|
17600
|
-
* @param {string} [name]
|
|
17601
|
-
* @param {string} [description]
|
|
17602
17717
|
* @param {string} [specialtyId]
|
|
17603
17718
|
* @param {string} [specialtyName]
|
|
17604
17719
|
* @param {string} [specialtyTypeId]
|
|
@@ -17615,8 +17730,8 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17615
17730
|
* @param {*} [options] Override http request option.
|
|
17616
17731
|
* @throws {RequiredError}
|
|
17617
17732
|
*/
|
|
17618
|
-
apiV2ServicesGet: function (
|
|
17619
|
-
return localVarFp.apiV2ServicesGet(
|
|
17733
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17734
|
+
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17620
17735
|
},
|
|
17621
17736
|
/**
|
|
17622
17737
|
*
|
|
@@ -17657,12 +17772,12 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17657
17772
|
/**
|
|
17658
17773
|
*
|
|
17659
17774
|
* @summary Get all HospitalServices.
|
|
17775
|
+
* @param {string} [id]
|
|
17776
|
+
* @param {string} [name]
|
|
17777
|
+
* @param {string} [slug]
|
|
17660
17778
|
* @param {string} [hospitalId]
|
|
17661
17779
|
* @param {string} [hospitalName]
|
|
17662
17780
|
* @param {string} [hospitalSlug]
|
|
17663
|
-
* @param {string} [id]
|
|
17664
|
-
* @param {string} [name]
|
|
17665
|
-
* @param {string} [description]
|
|
17666
17781
|
* @param {string} [specialtyId]
|
|
17667
17782
|
* @param {string} [specialtyName]
|
|
17668
17783
|
* @param {string} [specialtyTypeId]
|
|
@@ -17680,9 +17795,9 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17680
17795
|
* @throws {RequiredError}
|
|
17681
17796
|
* @memberof ServicesApi
|
|
17682
17797
|
*/
|
|
17683
|
-
ServicesApi.prototype.apiV2ServicesGet = function (
|
|
17798
|
+
ServicesApi.prototype.apiV2ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17684
17799
|
var _this = this;
|
|
17685
|
-
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesGet(
|
|
17800
|
+
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17686
17801
|
};
|
|
17687
17802
|
/**
|
|
17688
17803
|
*
|
|
@@ -18673,9 +18788,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18673
18788
|
* @param {MarketingType} [marketingType]
|
|
18674
18789
|
* @param {string} [hospitalId]
|
|
18675
18790
|
* @param {Date} [created]
|
|
18676
|
-
* @param {string} [languageCode]
|
|
18677
18791
|
* @param {Array<string>} [ids]
|
|
18678
18792
|
* @param {string} [specialtyTypeCategoryId]
|
|
18793
|
+
* @param {string} [languageCode]
|
|
18794
|
+
* @param {boolean} [showHidden]
|
|
18679
18795
|
* @param {boolean} [returnDefaultValue]
|
|
18680
18796
|
* @param {number} [page]
|
|
18681
18797
|
* @param {number} [limit]
|
|
@@ -18683,7 +18799,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18683
18799
|
* @param {*} [options] Override http request option.
|
|
18684
18800
|
* @throws {RequiredError}
|
|
18685
18801
|
*/
|
|
18686
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
18802
|
+
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18687
18803
|
if (options === void 0) { options = {}; }
|
|
18688
18804
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18689
18805
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18716,15 +18832,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18716
18832
|
created.toISOString() :
|
|
18717
18833
|
created;
|
|
18718
18834
|
}
|
|
18719
|
-
if (languageCode !== undefined) {
|
|
18720
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18721
|
-
}
|
|
18722
18835
|
if (ids) {
|
|
18723
18836
|
localVarQueryParameter['Ids'] = ids;
|
|
18724
18837
|
}
|
|
18725
18838
|
if (specialtyTypeCategoryId !== undefined) {
|
|
18726
18839
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
18727
18840
|
}
|
|
18841
|
+
if (languageCode !== undefined) {
|
|
18842
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18843
|
+
}
|
|
18844
|
+
if (showHidden !== undefined) {
|
|
18845
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18846
|
+
}
|
|
18728
18847
|
if (returnDefaultValue !== undefined) {
|
|
18729
18848
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18730
18849
|
}
|
|
@@ -18758,9 +18877,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18758
18877
|
* @param {MarketingType} [marketingType]
|
|
18759
18878
|
* @param {string} [hospitalId]
|
|
18760
18879
|
* @param {Date} [created]
|
|
18761
|
-
* @param {string} [languageCode]
|
|
18762
18880
|
* @param {Array<string>} [ids]
|
|
18763
18881
|
* @param {string} [specialtyTypeCategoryId]
|
|
18882
|
+
* @param {string} [languageCode]
|
|
18883
|
+
* @param {boolean} [showHidden]
|
|
18764
18884
|
* @param {boolean} [returnDefaultValue]
|
|
18765
18885
|
* @param {number} [page]
|
|
18766
18886
|
* @param {number} [limit]
|
|
@@ -18768,7 +18888,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18768
18888
|
* @param {*} [options] Override http request option.
|
|
18769
18889
|
* @throws {RequiredError}
|
|
18770
18890
|
*/
|
|
18771
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
18891
|
+
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18772
18892
|
if (options === void 0) { options = {}; }
|
|
18773
18893
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18774
18894
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18801,15 +18921,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18801
18921
|
created.toISOString() :
|
|
18802
18922
|
created;
|
|
18803
18923
|
}
|
|
18804
|
-
if (languageCode !== undefined) {
|
|
18805
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18806
|
-
}
|
|
18807
18924
|
if (ids) {
|
|
18808
18925
|
localVarQueryParameter['Ids'] = ids;
|
|
18809
18926
|
}
|
|
18810
18927
|
if (specialtyTypeCategoryId !== undefined) {
|
|
18811
18928
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
18812
18929
|
}
|
|
18930
|
+
if (languageCode !== undefined) {
|
|
18931
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18932
|
+
}
|
|
18933
|
+
if (showHidden !== undefined) {
|
|
18934
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18935
|
+
}
|
|
18813
18936
|
if (returnDefaultValue !== undefined) {
|
|
18814
18937
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18815
18938
|
}
|
|
@@ -19025,9 +19148,10 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19025
19148
|
* @param {MarketingType} [marketingType]
|
|
19026
19149
|
* @param {string} [hospitalId]
|
|
19027
19150
|
* @param {Date} [created]
|
|
19028
|
-
* @param {string} [languageCode]
|
|
19029
19151
|
* @param {Array<string>} [ids]
|
|
19030
19152
|
* @param {string} [specialtyTypeCategoryId]
|
|
19153
|
+
* @param {string} [languageCode]
|
|
19154
|
+
* @param {boolean} [showHidden]
|
|
19031
19155
|
* @param {boolean} [returnDefaultValue]
|
|
19032
19156
|
* @param {number} [page]
|
|
19033
19157
|
* @param {number} [limit]
|
|
@@ -19035,12 +19159,12 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19035
19159
|
* @param {*} [options] Override http request option.
|
|
19036
19160
|
* @throws {RequiredError}
|
|
19037
19161
|
*/
|
|
19038
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19162
|
+
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19039
19163
|
return __awaiter(this, void 0, void 0, function () {
|
|
19040
19164
|
var localVarAxiosArgs;
|
|
19041
19165
|
return __generator(this, function (_a) {
|
|
19042
19166
|
switch (_a.label) {
|
|
19043
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
19167
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19044
19168
|
case 1:
|
|
19045
19169
|
localVarAxiosArgs = _a.sent();
|
|
19046
19170
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19057,9 +19181,10 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19057
19181
|
* @param {MarketingType} [marketingType]
|
|
19058
19182
|
* @param {string} [hospitalId]
|
|
19059
19183
|
* @param {Date} [created]
|
|
19060
|
-
* @param {string} [languageCode]
|
|
19061
19184
|
* @param {Array<string>} [ids]
|
|
19062
19185
|
* @param {string} [specialtyTypeCategoryId]
|
|
19186
|
+
* @param {string} [languageCode]
|
|
19187
|
+
* @param {boolean} [showHidden]
|
|
19063
19188
|
* @param {boolean} [returnDefaultValue]
|
|
19064
19189
|
* @param {number} [page]
|
|
19065
19190
|
* @param {number} [limit]
|
|
@@ -19067,12 +19192,12 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19067
19192
|
* @param {*} [options] Override http request option.
|
|
19068
19193
|
* @throws {RequiredError}
|
|
19069
19194
|
*/
|
|
19070
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19195
|
+
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19071
19196
|
return __awaiter(this, void 0, void 0, function () {
|
|
19072
19197
|
var localVarAxiosArgs;
|
|
19073
19198
|
return __generator(this, function (_a) {
|
|
19074
19199
|
switch (_a.label) {
|
|
19075
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
19200
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19076
19201
|
case 1:
|
|
19077
19202
|
localVarAxiosArgs = _a.sent();
|
|
19078
19203
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19187,9 +19312,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19187
19312
|
* @param {MarketingType} [marketingType]
|
|
19188
19313
|
* @param {string} [hospitalId]
|
|
19189
19314
|
* @param {Date} [created]
|
|
19190
|
-
* @param {string} [languageCode]
|
|
19191
19315
|
* @param {Array<string>} [ids]
|
|
19192
19316
|
* @param {string} [specialtyTypeCategoryId]
|
|
19317
|
+
* @param {string} [languageCode]
|
|
19318
|
+
* @param {boolean} [showHidden]
|
|
19193
19319
|
* @param {boolean} [returnDefaultValue]
|
|
19194
19320
|
* @param {number} [page]
|
|
19195
19321
|
* @param {number} [limit]
|
|
@@ -19197,8 +19323,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19197
19323
|
* @param {*} [options] Override http request option.
|
|
19198
19324
|
* @throws {RequiredError}
|
|
19199
19325
|
*/
|
|
19200
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19201
|
-
return localVarFp.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
19326
|
+
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19327
|
+
return localVarFp.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
19202
19328
|
},
|
|
19203
19329
|
/**
|
|
19204
19330
|
*
|
|
@@ -19209,9 +19335,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19209
19335
|
* @param {MarketingType} [marketingType]
|
|
19210
19336
|
* @param {string} [hospitalId]
|
|
19211
19337
|
* @param {Date} [created]
|
|
19212
|
-
* @param {string} [languageCode]
|
|
19213
19338
|
* @param {Array<string>} [ids]
|
|
19214
19339
|
* @param {string} [specialtyTypeCategoryId]
|
|
19340
|
+
* @param {string} [languageCode]
|
|
19341
|
+
* @param {boolean} [showHidden]
|
|
19215
19342
|
* @param {boolean} [returnDefaultValue]
|
|
19216
19343
|
* @param {number} [page]
|
|
19217
19344
|
* @param {number} [limit]
|
|
@@ -19219,8 +19346,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19219
19346
|
* @param {*} [options] Override http request option.
|
|
19220
19347
|
* @throws {RequiredError}
|
|
19221
19348
|
*/
|
|
19222
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19223
|
-
return localVarFp.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
19349
|
+
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19350
|
+
return localVarFp.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
19224
19351
|
},
|
|
19225
19352
|
/**
|
|
19226
19353
|
*
|
|
@@ -19293,9 +19420,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19293
19420
|
* @param {MarketingType} [marketingType]
|
|
19294
19421
|
* @param {string} [hospitalId]
|
|
19295
19422
|
* @param {Date} [created]
|
|
19296
|
-
* @param {string} [languageCode]
|
|
19297
19423
|
* @param {Array<string>} [ids]
|
|
19298
19424
|
* @param {string} [specialtyTypeCategoryId]
|
|
19425
|
+
* @param {string} [languageCode]
|
|
19426
|
+
* @param {boolean} [showHidden]
|
|
19299
19427
|
* @param {boolean} [returnDefaultValue]
|
|
19300
19428
|
* @param {number} [page]
|
|
19301
19429
|
* @param {number} [limit]
|
|
@@ -19304,9 +19432,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19304
19432
|
* @throws {RequiredError}
|
|
19305
19433
|
* @memberof SpecialtyTypesApi
|
|
19306
19434
|
*/
|
|
19307
|
-
SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created,
|
|
19435
|
+
SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19308
19436
|
var _this = this;
|
|
19309
|
-
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
19437
|
+
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19310
19438
|
};
|
|
19311
19439
|
/**
|
|
19312
19440
|
*
|
|
@@ -19317,9 +19445,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19317
19445
|
* @param {MarketingType} [marketingType]
|
|
19318
19446
|
* @param {string} [hospitalId]
|
|
19319
19447
|
* @param {Date} [created]
|
|
19320
|
-
* @param {string} [languageCode]
|
|
19321
19448
|
* @param {Array<string>} [ids]
|
|
19322
19449
|
* @param {string} [specialtyTypeCategoryId]
|
|
19450
|
+
* @param {string} [languageCode]
|
|
19451
|
+
* @param {boolean} [showHidden]
|
|
19323
19452
|
* @param {boolean} [returnDefaultValue]
|
|
19324
19453
|
* @param {number} [page]
|
|
19325
19454
|
* @param {number} [limit]
|
|
@@ -19328,9 +19457,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19328
19457
|
* @throws {RequiredError}
|
|
19329
19458
|
* @memberof SpecialtyTypesApi
|
|
19330
19459
|
*/
|
|
19331
|
-
SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created,
|
|
19460
|
+
SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19332
19461
|
var _this = this;
|
|
19333
|
-
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
19462
|
+
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19334
19463
|
};
|
|
19335
19464
|
/**
|
|
19336
19465
|
*
|