ch-api-client-typescript2 3.2.7 → 3.3.2

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.
Files changed (5) hide show
  1. package/lib/api.d.ts +1495 -2078
  2. package/lib/api.d.ts.map +1 -1
  3. package/lib/api.js +795 -1541
  4. package/package.json +1 -1
  5. package/src/api.ts +1680 -2657
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.ReviewCategory = 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.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 = exports.CountriesApiAxiosParamCreator = 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 = exports.PlansApiFactory = void 0;
81
+ exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
82
+ exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
83
+ exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = void 0;
84
84
  var axios_1 = __importDefault(require("axios"));
85
85
  // Some imports not used depending on template conditions
86
86
  // @ts-ignore
@@ -98,17 +98,6 @@ var ArticleStatus;
98
98
  ArticleStatus["Active"] = "Active";
99
99
  ArticleStatus["Archived"] = "Archived";
100
100
  })(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
101
- /**
102
- *
103
- * @export
104
- * @enum {string}
105
- */
106
- var AutocompleteMode;
107
- (function (AutocompleteMode) {
108
- AutocompleteMode["OneTerm"] = "OneTerm";
109
- AutocompleteMode["TwoTerms"] = "TwoTerms";
110
- AutocompleteMode["OneTermWithContext"] = "OneTermWithContext";
111
- })(AutocompleteMode = exports.AutocompleteMode || (exports.AutocompleteMode = {}));
112
101
  /**
113
102
  *
114
103
  * @export
@@ -272,18 +261,6 @@ var RejectReason;
272
261
  RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
273
262
  RejectReason["OtherReason"] = "OtherReason";
274
263
  })(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
264
  /**
288
265
  *
289
266
  * @export
@@ -332,13 +309,7 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
332
309
  * @param {string} [hospitalId]
333
310
  * @param {string} [hospitalName]
334
311
  * @param {string} [hospitalSlug]
335
- * @param {string} [overviewTitle]
336
- * @param {string} [normalizedOverviewTitle]
337
- * @param {string} [overview]
338
- * @param {string} [content]
339
- * @param {string} [customStyle]
340
- * @param {string} [background]
341
- * @param {string} [backgroundThumbnail]
312
+ * @param {string} [name]
342
313
  * @param {string} [languageCode]
343
314
  * @param {boolean} [returnDefaultValue]
344
315
  * @param {boolean} [confirmed]
@@ -348,7 +319,7 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
348
319
  * @param {*} [options] Override http request option.
349
320
  * @throws {RequiredError}
350
321
  */
351
- apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
322
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
352
323
  if (options === void 0) { options = {}; }
353
324
  return __awaiter(_this, void 0, void 0, function () {
354
325
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -370,26 +341,8 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
370
341
  if (hospitalSlug !== undefined) {
371
342
  localVarQueryParameter['HospitalSlug'] = hospitalSlug;
372
343
  }
373
- if (overviewTitle !== undefined) {
374
- localVarQueryParameter['OverviewTitle'] = overviewTitle;
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;
344
+ if (name !== undefined) {
345
+ localVarQueryParameter['Name'] = name;
393
346
  }
394
347
  if (languageCode !== undefined) {
395
348
  localVarQueryParameter['LanguageCode'] = languageCode;
@@ -518,13 +471,7 @@ var AboutUsApiFp = function (configuration) {
518
471
  * @param {string} [hospitalId]
519
472
  * @param {string} [hospitalName]
520
473
  * @param {string} [hospitalSlug]
521
- * @param {string} [overviewTitle]
522
- * @param {string} [normalizedOverviewTitle]
523
- * @param {string} [overview]
524
- * @param {string} [content]
525
- * @param {string} [customStyle]
526
- * @param {string} [background]
527
- * @param {string} [backgroundThumbnail]
474
+ * @param {string} [name]
528
475
  * @param {string} [languageCode]
529
476
  * @param {boolean} [returnDefaultValue]
530
477
  * @param {boolean} [confirmed]
@@ -534,12 +481,12 @@ var AboutUsApiFp = function (configuration) {
534
481
  * @param {*} [options] Override http request option.
535
482
  * @throws {RequiredError}
536
483
  */
537
- apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
484
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
538
485
  return __awaiter(this, void 0, void 0, function () {
539
486
  var localVarAxiosArgs;
540
487
  return __generator(this, function (_a) {
541
488
  switch (_a.label) {
542
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
489
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
543
490
  case 1:
544
491
  localVarAxiosArgs = _a.sent();
545
492
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -606,13 +553,7 @@ var AboutUsApiFactory = function (configuration, basePath, axios) {
606
553
  * @param {string} [hospitalId]
607
554
  * @param {string} [hospitalName]
608
555
  * @param {string} [hospitalSlug]
609
- * @param {string} [overviewTitle]
610
- * @param {string} [normalizedOverviewTitle]
611
- * @param {string} [overview]
612
- * @param {string} [content]
613
- * @param {string} [customStyle]
614
- * @param {string} [background]
615
- * @param {string} [backgroundThumbnail]
556
+ * @param {string} [name]
616
557
  * @param {string} [languageCode]
617
558
  * @param {boolean} [returnDefaultValue]
618
559
  * @param {boolean} [confirmed]
@@ -622,8 +563,8 @@ var AboutUsApiFactory = function (configuration, basePath, axios) {
622
563
  * @param {*} [options] Override http request option.
623
564
  * @throws {RequiredError}
624
565
  */
625
- apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
626
- return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
566
+ apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
567
+ return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
627
568
  },
628
569
  /**
629
570
  *
@@ -668,13 +609,7 @@ var AboutUsApi = /** @class */ (function (_super) {
668
609
  * @param {string} [hospitalId]
669
610
  * @param {string} [hospitalName]
670
611
  * @param {string} [hospitalSlug]
671
- * @param {string} [overviewTitle]
672
- * @param {string} [normalizedOverviewTitle]
673
- * @param {string} [overview]
674
- * @param {string} [content]
675
- * @param {string} [customStyle]
676
- * @param {string} [background]
677
- * @param {string} [backgroundThumbnail]
612
+ * @param {string} [name]
678
613
  * @param {string} [languageCode]
679
614
  * @param {boolean} [returnDefaultValue]
680
615
  * @param {boolean} [confirmed]
@@ -685,9 +620,9 @@ var AboutUsApi = /** @class */ (function (_super) {
685
620
  * @throws {RequiredError}
686
621
  * @memberof AboutUsApi
687
622
  */
688
- AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
623
+ AboutUsApi.prototype.apiV2AboutusGet = function (hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
689
624
  var _this = this;
690
- return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
625
+ 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
626
  };
692
627
  /**
693
628
  *
@@ -1002,16 +937,17 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1002
937
  * @param {string} [contributorId]
1003
938
  * @param {string} [contributorName]
1004
939
  * @param {string} [email]
1005
- * @param {string} [description]
1006
940
  * @param {string} [website]
1007
941
  * @param {ContributionType} [contributionType]
942
+ * @param {string} [languageCode]
943
+ * @param {boolean} [showHidden]
1008
944
  * @param {number} [page]
1009
945
  * @param {number} [limit]
1010
946
  * @param {Date} [lastRetrieved]
1011
947
  * @param {*} [options] Override http request option.
1012
948
  * @throws {RequiredError}
1013
949
  */
1014
- apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
950
+ apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
1015
951
  if (options === void 0) { options = {}; }
1016
952
  return __awaiter(_this, void 0, void 0, function () {
1017
953
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1039,15 +975,18 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1039
975
  if (email !== undefined) {
1040
976
  localVarQueryParameter['Email'] = email;
1041
977
  }
1042
- if (description !== undefined) {
1043
- localVarQueryParameter['Description'] = description;
1044
- }
1045
978
  if (website !== undefined) {
1046
979
  localVarQueryParameter['Website'] = website;
1047
980
  }
1048
981
  if (contributionType !== undefined) {
1049
982
  localVarQueryParameter['ContributionType'] = contributionType;
1050
983
  }
984
+ if (languageCode !== undefined) {
985
+ localVarQueryParameter['LanguageCode'] = languageCode;
986
+ }
987
+ if (showHidden !== undefined) {
988
+ localVarQueryParameter['ShowHidden'] = showHidden;
989
+ }
1051
990
  if (page !== undefined) {
1052
991
  localVarQueryParameter['page'] = page;
1053
992
  }
@@ -1378,7 +1317,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1378
1317
  *
1379
1318
  * @summary Get all Articles.
1380
1319
  * @param {string} [id]
1381
- * @param {string} [title]
1320
+ * @param {string} [name]
1382
1321
  * @param {string} [description]
1383
1322
  * @param {ArticleStatus} [status]
1384
1323
  * @param {MarketingType} [marketingType]
@@ -1400,7 +1339,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1400
1339
  * @param {*} [options] Override http request option.
1401
1340
  * @throws {RequiredError}
1402
1341
  */
1403
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1342
+ apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1404
1343
  if (options === void 0) { options = {}; }
1405
1344
  return __awaiter(_this, void 0, void 0, function () {
1406
1345
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1416,8 +1355,8 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1416
1355
  if (id !== undefined) {
1417
1356
  localVarQueryParameter['Id'] = id;
1418
1357
  }
1419
- if (title !== undefined) {
1420
- localVarQueryParameter['Title'] = title;
1358
+ if (name !== undefined) {
1359
+ localVarQueryParameter['Name'] = name;
1421
1360
  }
1422
1361
  if (description !== undefined) {
1423
1362
  localVarQueryParameter['Description'] = description;
@@ -1564,21 +1503,22 @@ var ArticlesApiFp = function (configuration) {
1564
1503
  * @param {string} [contributorId]
1565
1504
  * @param {string} [contributorName]
1566
1505
  * @param {string} [email]
1567
- * @param {string} [description]
1568
1506
  * @param {string} [website]
1569
1507
  * @param {ContributionType} [contributionType]
1508
+ * @param {string} [languageCode]
1509
+ * @param {boolean} [showHidden]
1570
1510
  * @param {number} [page]
1571
1511
  * @param {number} [limit]
1572
1512
  * @param {Date} [lastRetrieved]
1573
1513
  * @param {*} [options] Override http request option.
1574
1514
  * @throws {RequiredError}
1575
1515
  */
1576
- apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
1516
+ apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
1577
1517
  return __awaiter(this, void 0, void 0, function () {
1578
1518
  var localVarAxiosArgs;
1579
1519
  return __generator(this, function (_a) {
1580
1520
  switch (_a.label) {
1581
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options)];
1521
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options)];
1582
1522
  case 1:
1583
1523
  localVarAxiosArgs = _a.sent();
1584
1524
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -1747,7 +1687,7 @@ var ArticlesApiFp = function (configuration) {
1747
1687
  *
1748
1688
  * @summary Get all Articles.
1749
1689
  * @param {string} [id]
1750
- * @param {string} [title]
1690
+ * @param {string} [name]
1751
1691
  * @param {string} [description]
1752
1692
  * @param {ArticleStatus} [status]
1753
1693
  * @param {MarketingType} [marketingType]
@@ -1769,12 +1709,12 @@ var ArticlesApiFp = function (configuration) {
1769
1709
  * @param {*} [options] Override http request option.
1770
1710
  * @throws {RequiredError}
1771
1711
  */
1772
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1712
+ apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1773
1713
  return __awaiter(this, void 0, void 0, function () {
1774
1714
  var localVarAxiosArgs;
1775
1715
  return __generator(this, function (_a) {
1776
1716
  switch (_a.label) {
1777
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
1717
+ 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
1718
  case 1:
1779
1719
  localVarAxiosArgs = _a.sent();
1780
1720
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -1832,17 +1772,18 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1832
1772
  * @param {string} [contributorId]
1833
1773
  * @param {string} [contributorName]
1834
1774
  * @param {string} [email]
1835
- * @param {string} [description]
1836
1775
  * @param {string} [website]
1837
1776
  * @param {ContributionType} [contributionType]
1777
+ * @param {string} [languageCode]
1778
+ * @param {boolean} [showHidden]
1838
1779
  * @param {number} [page]
1839
1780
  * @param {number} [limit]
1840
1781
  * @param {Date} [lastRetrieved]
1841
1782
  * @param {*} [options] Override http request option.
1842
1783
  * @throws {RequiredError}
1843
1784
  */
1844
- apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
1845
- return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1785
+ apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
1786
+ return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1846
1787
  },
1847
1788
  /**
1848
1789
  *
@@ -1935,7 +1876,7 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1935
1876
  *
1936
1877
  * @summary Get all Articles.
1937
1878
  * @param {string} [id]
1938
- * @param {string} [title]
1879
+ * @param {string} [name]
1939
1880
  * @param {string} [description]
1940
1881
  * @param {ArticleStatus} [status]
1941
1882
  * @param {MarketingType} [marketingType]
@@ -1957,8 +1898,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1957
1898
  * @param {*} [options] Override http request option.
1958
1899
  * @throws {RequiredError}
1959
1900
  */
1960
- apiV2ArticlesGet: function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1961
- return localVarFp.apiV2ArticlesGet(id, title, 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); });
1901
+ apiV2ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1902
+ 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
1903
  },
1963
1904
  /**
1964
1905
  *
@@ -2006,9 +1947,10 @@ var ArticlesApi = /** @class */ (function (_super) {
2006
1947
  * @param {string} [contributorId]
2007
1948
  * @param {string} [contributorName]
2008
1949
  * @param {string} [email]
2009
- * @param {string} [description]
2010
1950
  * @param {string} [website]
2011
1951
  * @param {ContributionType} [contributionType]
1952
+ * @param {string} [languageCode]
1953
+ * @param {boolean} [showHidden]
2012
1954
  * @param {number} [page]
2013
1955
  * @param {number} [limit]
2014
1956
  * @param {Date} [lastRetrieved]
@@ -2016,9 +1958,9 @@ var ArticlesApi = /** @class */ (function (_super) {
2016
1958
  * @throws {RequiredError}
2017
1959
  * @memberof ArticlesApi
2018
1960
  */
2019
- ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsGet = function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
1961
+ ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsGet = function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
2020
1962
  var _this = this;
2021
- return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1963
+ 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
1964
  };
2023
1965
  /**
2024
1966
  *
@@ -2125,7 +2067,7 @@ var ArticlesApi = /** @class */ (function (_super) {
2125
2067
  *
2126
2068
  * @summary Get all Articles.
2127
2069
  * @param {string} [id]
2128
- * @param {string} [title]
2070
+ * @param {string} [name]
2129
2071
  * @param {string} [description]
2130
2072
  * @param {ArticleStatus} [status]
2131
2073
  * @param {MarketingType} [marketingType]
@@ -2148,9 +2090,9 @@ var ArticlesApi = /** @class */ (function (_super) {
2148
2090
  * @throws {RequiredError}
2149
2091
  * @memberof ArticlesApi
2150
2092
  */
2151
- ArticlesApi.prototype.apiV2ArticlesGet = function (id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2093
+ 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
2094
  var _this = this;
2153
- return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, title, 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); });
2095
+ 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
2096
  };
2155
2097
  /**
2156
2098
  *
@@ -4254,7 +4196,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4254
4196
  * @param {string} [id]
4255
4197
  * @param {string} [name]
4256
4198
  * @param {string} [email]
4257
- * @param {string} [description]
4258
4199
  * @param {string} [website]
4259
4200
  * @param {string} [hospitalId]
4260
4201
  * @param {boolean} [interviewerOnly]
@@ -4267,7 +4208,7 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4267
4208
  * @param {*} [options] Override http request option.
4268
4209
  * @throws {RequiredError}
4269
4210
  */
4270
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4211
+ apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4271
4212
  if (options === void 0) { options = {}; }
4272
4213
  return __awaiter(_this, void 0, void 0, function () {
4273
4214
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4289,9 +4230,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
4289
4230
  if (email !== undefined) {
4290
4231
  localVarQueryParameter['Email'] = email;
4291
4232
  }
4292
- if (description !== undefined) {
4293
- localVarQueryParameter['Description'] = description;
4294
- }
4295
4233
  if (website !== undefined) {
4296
4234
  localVarQueryParameter['Website'] = website;
4297
4235
  }
@@ -4458,7 +4396,6 @@ var ContributorsApiFp = function (configuration) {
4458
4396
  * @param {string} [id]
4459
4397
  * @param {string} [name]
4460
4398
  * @param {string} [email]
4461
- * @param {string} [description]
4462
4399
  * @param {string} [website]
4463
4400
  * @param {string} [hospitalId]
4464
4401
  * @param {boolean} [interviewerOnly]
@@ -4471,12 +4408,12 @@ var ContributorsApiFp = function (configuration) {
4471
4408
  * @param {*} [options] Override http request option.
4472
4409
  * @throws {RequiredError}
4473
4410
  */
4474
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4411
+ apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4475
4412
  return __awaiter(this, void 0, void 0, function () {
4476
4413
  var localVarAxiosArgs;
4477
4414
  return __generator(this, function (_a) {
4478
4415
  switch (_a.label) {
4479
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
4416
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
4480
4417
  case 1:
4481
4418
  localVarAxiosArgs = _a.sent();
4482
4419
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4562,7 +4499,6 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
4562
4499
  * @param {string} [id]
4563
4500
  * @param {string} [name]
4564
4501
  * @param {string} [email]
4565
- * @param {string} [description]
4566
4502
  * @param {string} [website]
4567
4503
  * @param {string} [hospitalId]
4568
4504
  * @param {boolean} [interviewerOnly]
@@ -4575,8 +4511,8 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
4575
4511
  * @param {*} [options] Override http request option.
4576
4512
  * @throws {RequiredError}
4577
4513
  */
4578
- apiV2ContributorsGet: function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4579
- return localVarFp.apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4514
+ apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4515
+ return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4580
4516
  },
4581
4517
  /**
4582
4518
  *
@@ -4656,7 +4592,6 @@ var ContributorsApi = /** @class */ (function (_super) {
4656
4592
  * @param {string} [id]
4657
4593
  * @param {string} [name]
4658
4594
  * @param {string} [email]
4659
- * @param {string} [description]
4660
4595
  * @param {string} [website]
4661
4596
  * @param {string} [hospitalId]
4662
4597
  * @param {boolean} [interviewerOnly]
@@ -4670,9 +4605,9 @@ var ContributorsApi = /** @class */ (function (_super) {
4670
4605
  * @throws {RequiredError}
4671
4606
  * @memberof ContributorsApi
4672
4607
  */
4673
- ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4608
+ ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
4674
4609
  var _this = this;
4675
- return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
4610
+ 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); });
4676
4611
  };
4677
4612
  /**
4678
4613
  *
@@ -5491,8 +5426,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
5491
5426
  * @param {string} [hospitalId]
5492
5427
  * @param {string} [hospitalName]
5493
5428
  * @param {string} [specialtyId]
5429
+ * @param {string} [specialtyName]
5494
5430
  * @param {string} [specialtyTypeId]
5431
+ * @param {string} [specialtyTypeName]
5495
5432
  * @param {string} [serviceId]
5433
+ * @param {string} [serviceName]
5496
5434
  * @param {string} [exceptHospitalId]
5497
5435
  * @param {string} [exceptDealId]
5498
5436
  * @param {Array<string>} [ids]
@@ -5506,7 +5444,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5506
5444
  * @param {*} [options] Override http request option.
5507
5445
  * @throws {RequiredError}
5508
5446
  */
5509
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5447
+ 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) {
5510
5448
  if (options === void 0) { options = {}; }
5511
5449
  return __awaiter(_this, void 0, void 0, function () {
5512
5450
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5540,12 +5478,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
5540
5478
  if (specialtyId !== undefined) {
5541
5479
  localVarQueryParameter['SpecialtyId'] = specialtyId;
5542
5480
  }
5481
+ if (specialtyName !== undefined) {
5482
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
5483
+ }
5543
5484
  if (specialtyTypeId !== undefined) {
5544
5485
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
5545
5486
  }
5487
+ if (specialtyTypeName !== undefined) {
5488
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
5489
+ }
5546
5490
  if (serviceId !== undefined) {
5547
5491
  localVarQueryParameter['ServiceId'] = serviceId;
5548
5492
  }
5493
+ if (serviceName !== undefined) {
5494
+ localVarQueryParameter['ServiceName'] = serviceName;
5495
+ }
5549
5496
  if (exceptHospitalId !== undefined) {
5550
5497
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
5551
5498
  }
@@ -5598,8 +5545,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
5598
5545
  * @param {string} [hospitalId]
5599
5546
  * @param {string} [hospitalName]
5600
5547
  * @param {string} [specialtyId]
5548
+ * @param {string} [specialtyName]
5601
5549
  * @param {string} [specialtyTypeId]
5550
+ * @param {string} [specialtyTypeName]
5602
5551
  * @param {string} [serviceId]
5552
+ * @param {string} [serviceName]
5603
5553
  * @param {string} [exceptHospitalId]
5604
5554
  * @param {string} [exceptDealId]
5605
5555
  * @param {Array<string>} [ids]
@@ -5613,7 +5563,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5613
5563
  * @param {*} [options] Override http request option.
5614
5564
  * @throws {RequiredError}
5615
5565
  */
5616
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5566
+ 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) {
5617
5567
  if (options === void 0) { options = {}; }
5618
5568
  return __awaiter(_this, void 0, void 0, function () {
5619
5569
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5647,12 +5597,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
5647
5597
  if (specialtyId !== undefined) {
5648
5598
  localVarQueryParameter['SpecialtyId'] = specialtyId;
5649
5599
  }
5600
+ if (specialtyName !== undefined) {
5601
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
5602
+ }
5650
5603
  if (specialtyTypeId !== undefined) {
5651
5604
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
5652
5605
  }
5606
+ if (specialtyTypeName !== undefined) {
5607
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
5608
+ }
5653
5609
  if (serviceId !== undefined) {
5654
5610
  localVarQueryParameter['ServiceId'] = serviceId;
5655
5611
  }
5612
+ if (serviceName !== undefined) {
5613
+ localVarQueryParameter['ServiceName'] = serviceName;
5614
+ }
5656
5615
  if (exceptHospitalId !== undefined) {
5657
5616
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
5658
5617
  }
@@ -5872,8 +5831,11 @@ var DealsApiFp = function (configuration) {
5872
5831
  * @param {string} [hospitalId]
5873
5832
  * @param {string} [hospitalName]
5874
5833
  * @param {string} [specialtyId]
5834
+ * @param {string} [specialtyName]
5875
5835
  * @param {string} [specialtyTypeId]
5836
+ * @param {string} [specialtyTypeName]
5876
5837
  * @param {string} [serviceId]
5838
+ * @param {string} [serviceName]
5877
5839
  * @param {string} [exceptHospitalId]
5878
5840
  * @param {string} [exceptDealId]
5879
5841
  * @param {Array<string>} [ids]
@@ -5887,12 +5849,12 @@ var DealsApiFp = function (configuration) {
5887
5849
  * @param {*} [options] Override http request option.
5888
5850
  * @throws {RequiredError}
5889
5851
  */
5890
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5852
+ 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) {
5891
5853
  return __awaiter(this, void 0, void 0, function () {
5892
5854
  var localVarAxiosArgs;
5893
5855
  return __generator(this, function (_a) {
5894
5856
  switch (_a.label) {
5895
- 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)];
5857
+ 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)];
5896
5858
  case 1:
5897
5859
  localVarAxiosArgs = _a.sent();
5898
5860
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -5910,8 +5872,11 @@ var DealsApiFp = function (configuration) {
5910
5872
  * @param {string} [hospitalId]
5911
5873
  * @param {string} [hospitalName]
5912
5874
  * @param {string} [specialtyId]
5875
+ * @param {string} [specialtyName]
5913
5876
  * @param {string} [specialtyTypeId]
5877
+ * @param {string} [specialtyTypeName]
5914
5878
  * @param {string} [serviceId]
5879
+ * @param {string} [serviceName]
5915
5880
  * @param {string} [exceptHospitalId]
5916
5881
  * @param {string} [exceptDealId]
5917
5882
  * @param {Array<string>} [ids]
@@ -5925,12 +5890,12 @@ var DealsApiFp = function (configuration) {
5925
5890
  * @param {*} [options] Override http request option.
5926
5891
  * @throws {RequiredError}
5927
5892
  */
5928
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5893
+ 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) {
5929
5894
  return __awaiter(this, void 0, void 0, function () {
5930
5895
  var localVarAxiosArgs;
5931
5896
  return __generator(this, function (_a) {
5932
5897
  switch (_a.label) {
5933
- 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)];
5898
+ 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)];
5934
5899
  case 1:
5935
5900
  localVarAxiosArgs = _a.sent();
5936
5901
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6046,8 +6011,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6046
6011
  * @param {string} [hospitalId]
6047
6012
  * @param {string} [hospitalName]
6048
6013
  * @param {string} [specialtyId]
6014
+ * @param {string} [specialtyName]
6049
6015
  * @param {string} [specialtyTypeId]
6016
+ * @param {string} [specialtyTypeName]
6050
6017
  * @param {string} [serviceId]
6018
+ * @param {string} [serviceName]
6051
6019
  * @param {string} [exceptHospitalId]
6052
6020
  * @param {string} [exceptDealId]
6053
6021
  * @param {Array<string>} [ids]
@@ -6061,8 +6029,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6061
6029
  * @param {*} [options] Override http request option.
6062
6030
  * @throws {RequiredError}
6063
6031
  */
6064
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6065
- 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); });
6032
+ 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) {
6033
+ 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); });
6066
6034
  },
6067
6035
  /**
6068
6036
  *
@@ -6074,8 +6042,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6074
6042
  * @param {string} [hospitalId]
6075
6043
  * @param {string} [hospitalName]
6076
6044
  * @param {string} [specialtyId]
6045
+ * @param {string} [specialtyName]
6077
6046
  * @param {string} [specialtyTypeId]
6047
+ * @param {string} [specialtyTypeName]
6078
6048
  * @param {string} [serviceId]
6049
+ * @param {string} [serviceName]
6079
6050
  * @param {string} [exceptHospitalId]
6080
6051
  * @param {string} [exceptDealId]
6081
6052
  * @param {Array<string>} [ids]
@@ -6089,8 +6060,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6089
6060
  * @param {*} [options] Override http request option.
6090
6061
  * @throws {RequiredError}
6091
6062
  */
6092
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6093
- 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); });
6063
+ 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) {
6064
+ 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); });
6094
6065
  },
6095
6066
  /**
6096
6067
  *
@@ -6204,8 +6175,11 @@ var DealsApi = /** @class */ (function (_super) {
6204
6175
  * @param {string} [hospitalId]
6205
6176
  * @param {string} [hospitalName]
6206
6177
  * @param {string} [specialtyId]
6178
+ * @param {string} [specialtyName]
6207
6179
  * @param {string} [specialtyTypeId]
6180
+ * @param {string} [specialtyTypeName]
6208
6181
  * @param {string} [serviceId]
6182
+ * @param {string} [serviceName]
6209
6183
  * @param {string} [exceptHospitalId]
6210
6184
  * @param {string} [exceptDealId]
6211
6185
  * @param {Array<string>} [ids]
@@ -6220,9 +6194,9 @@ var DealsApi = /** @class */ (function (_super) {
6220
6194
  * @throws {RequiredError}
6221
6195
  * @memberof DealsApi
6222
6196
  */
6223
- DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6197
+ 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) {
6224
6198
  var _this = this;
6225
- 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); });
6199
+ 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); });
6226
6200
  };
6227
6201
  /**
6228
6202
  *
@@ -6234,8 +6208,11 @@ var DealsApi = /** @class */ (function (_super) {
6234
6208
  * @param {string} [hospitalId]
6235
6209
  * @param {string} [hospitalName]
6236
6210
  * @param {string} [specialtyId]
6211
+ * @param {string} [specialtyName]
6237
6212
  * @param {string} [specialtyTypeId]
6213
+ * @param {string} [specialtyTypeName]
6238
6214
  * @param {string} [serviceId]
6215
+ * @param {string} [serviceName]
6239
6216
  * @param {string} [exceptHospitalId]
6240
6217
  * @param {string} [exceptDealId]
6241
6218
  * @param {Array<string>} [ids]
@@ -6250,9 +6227,9 @@ var DealsApi = /** @class */ (function (_super) {
6250
6227
  * @throws {RequiredError}
6251
6228
  * @memberof DealsApi
6252
6229
  */
6253
- DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6230
+ 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) {
6254
6231
  var _this = this;
6255
- 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); });
6232
+ 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); });
6256
6233
  };
6257
6234
  /**
6258
6235
  *
@@ -6996,6 +6973,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6996
6973
  *
6997
6974
  * @summary Get all Doctors.
6998
6975
  * @param {string} [hospitalId]
6976
+ * @param {string} [hospitalName]
6999
6977
  * @param {string} [languageCode]
7000
6978
  * @param {boolean} [returnDefaultValue]
7001
6979
  * @param {Array<string>} [ids]
@@ -7014,7 +6992,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7014
6992
  * @param {*} [options] Override http request option.
7015
6993
  * @throws {RequiredError}
7016
6994
  */
7017
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
6995
+ apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7018
6996
  if (options === void 0) { options = {}; }
7019
6997
  return __awaiter(_this, void 0, void 0, function () {
7020
6998
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7030,6 +7008,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7030
7008
  if (hospitalId !== undefined) {
7031
7009
  localVarQueryParameter['HospitalId'] = hospitalId;
7032
7010
  }
7011
+ if (hospitalName !== undefined) {
7012
+ localVarQueryParameter['HospitalName'] = hospitalName;
7013
+ }
7033
7014
  if (languageCode !== undefined) {
7034
7015
  localVarQueryParameter['LanguageCode'] = languageCode;
7035
7016
  }
@@ -7095,6 +7076,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7095
7076
  *
7096
7077
  * @summary Get all Doctors.
7097
7078
  * @param {string} [hospitalId]
7079
+ * @param {string} [hospitalName]
7098
7080
  * @param {string} [languageCode]
7099
7081
  * @param {boolean} [returnDefaultValue]
7100
7082
  * @param {Array<string>} [ids]
@@ -7113,7 +7095,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7113
7095
  * @param {*} [options] Override http request option.
7114
7096
  * @throws {RequiredError}
7115
7097
  */
7116
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7098
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7117
7099
  if (options === void 0) { options = {}; }
7118
7100
  return __awaiter(_this, void 0, void 0, function () {
7119
7101
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7129,6 +7111,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7129
7111
  if (hospitalId !== undefined) {
7130
7112
  localVarQueryParameter['HospitalId'] = hospitalId;
7131
7113
  }
7114
+ if (hospitalName !== undefined) {
7115
+ localVarQueryParameter['HospitalName'] = hospitalName;
7116
+ }
7132
7117
  if (languageCode !== undefined) {
7133
7118
  localVarQueryParameter['LanguageCode'] = languageCode;
7134
7119
  }
@@ -7593,6 +7578,7 @@ var DoctorsApiFp = function (configuration) {
7593
7578
  *
7594
7579
  * @summary Get all Doctors.
7595
7580
  * @param {string} [hospitalId]
7581
+ * @param {string} [hospitalName]
7596
7582
  * @param {string} [languageCode]
7597
7583
  * @param {boolean} [returnDefaultValue]
7598
7584
  * @param {Array<string>} [ids]
@@ -7611,12 +7597,12 @@ var DoctorsApiFp = function (configuration) {
7611
7597
  * @param {*} [options] Override http request option.
7612
7598
  * @throws {RequiredError}
7613
7599
  */
7614
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7600
+ apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7615
7601
  return __awaiter(this, void 0, void 0, function () {
7616
7602
  var localVarAxiosArgs;
7617
7603
  return __generator(this, function (_a) {
7618
7604
  switch (_a.label) {
7619
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7605
+ 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)];
7620
7606
  case 1:
7621
7607
  localVarAxiosArgs = _a.sent();
7622
7608
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7628,6 +7614,7 @@ var DoctorsApiFp = function (configuration) {
7628
7614
  *
7629
7615
  * @summary Get all Doctors.
7630
7616
  * @param {string} [hospitalId]
7617
+ * @param {string} [hospitalName]
7631
7618
  * @param {string} [languageCode]
7632
7619
  * @param {boolean} [returnDefaultValue]
7633
7620
  * @param {Array<string>} [ids]
@@ -7646,12 +7633,12 @@ var DoctorsApiFp = function (configuration) {
7646
7633
  * @param {*} [options] Override http request option.
7647
7634
  * @throws {RequiredError}
7648
7635
  */
7649
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7636
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7650
7637
  return __awaiter(this, void 0, void 0, function () {
7651
7638
  var localVarAxiosArgs;
7652
7639
  return __generator(this, function (_a) {
7653
7640
  switch (_a.label) {
7654
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7641
+ 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)];
7655
7642
  case 1:
7656
7643
  localVarAxiosArgs = _a.sent();
7657
7644
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7893,6 +7880,7 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7893
7880
  *
7894
7881
  * @summary Get all Doctors.
7895
7882
  * @param {string} [hospitalId]
7883
+ * @param {string} [hospitalName]
7896
7884
  * @param {string} [languageCode]
7897
7885
  * @param {boolean} [returnDefaultValue]
7898
7886
  * @param {Array<string>} [ids]
@@ -7911,13 +7899,14 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7911
7899
  * @param {*} [options] Override http request option.
7912
7900
  * @throws {RequiredError}
7913
7901
  */
7914
- apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7915
- 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); });
7902
+ apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7903
+ 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); });
7916
7904
  },
7917
7905
  /**
7918
7906
  *
7919
7907
  * @summary Get all Doctors.
7920
7908
  * @param {string} [hospitalId]
7909
+ * @param {string} [hospitalName]
7921
7910
  * @param {string} [languageCode]
7922
7911
  * @param {boolean} [returnDefaultValue]
7923
7912
  * @param {Array<string>} [ids]
@@ -7936,8 +7925,8 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7936
7925
  * @param {*} [options] Override http request option.
7937
7926
  * @throws {RequiredError}
7938
7927
  */
7939
- apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7940
- 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); });
7928
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7929
+ 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); });
7941
7930
  },
7942
7931
  /**
7943
7932
  *
@@ -8197,6 +8186,7 @@ var DoctorsApi = /** @class */ (function (_super) {
8197
8186
  *
8198
8187
  * @summary Get all Doctors.
8199
8188
  * @param {string} [hospitalId]
8189
+ * @param {string} [hospitalName]
8200
8190
  * @param {string} [languageCode]
8201
8191
  * @param {boolean} [returnDefaultValue]
8202
8192
  * @param {Array<string>} [ids]
@@ -8216,14 +8206,15 @@ var DoctorsApi = /** @class */ (function (_super) {
8216
8206
  * @throws {RequiredError}
8217
8207
  * @memberof DoctorsApi
8218
8208
  */
8219
- DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8209
+ DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8220
8210
  var _this = this;
8221
- 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); });
8211
+ 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); });
8222
8212
  };
8223
8213
  /**
8224
8214
  *
8225
8215
  * @summary Get all Doctors.
8226
8216
  * @param {string} [hospitalId]
8217
+ * @param {string} [hospitalName]
8227
8218
  * @param {string} [languageCode]
8228
8219
  * @param {boolean} [returnDefaultValue]
8229
8220
  * @param {Array<string>} [ids]
@@ -8243,9 +8234,9 @@ var DoctorsApi = /** @class */ (function (_super) {
8243
8234
  * @throws {RequiredError}
8244
8235
  * @memberof DoctorsApi
8245
8236
  */
8246
- DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8237
+ DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8247
8238
  var _this = this;
8248
- 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); });
8239
+ 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); });
8249
8240
  };
8250
8241
  /**
8251
8242
  *
@@ -8350,15 +8341,18 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
8350
8341
  * @param {string} [id]
8351
8342
  * @param {string} [parentId]
8352
8343
  * @param {string} [name]
8353
- * @param {string} [description]
8344
+ * @param {string} [hospitalId]
8345
+ * @param {string} [hospitalName]
8354
8346
  * @param {string} [languageCode]
8347
+ * @param {boolean} [showHidden]
8348
+ * @param {boolean} [returnDefaultValue]
8355
8349
  * @param {number} [page]
8356
8350
  * @param {number} [limit]
8357
8351
  * @param {Date} [lastRetrieved]
8358
8352
  * @param {*} [options] Override http request option.
8359
8353
  * @throws {RequiredError}
8360
8354
  */
8361
- apiV2FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
8355
+ apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
8362
8356
  if (options === void 0) { options = {}; }
8363
8357
  return __awaiter(_this, void 0, void 0, function () {
8364
8358
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -8380,12 +8374,21 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
8380
8374
  if (name !== undefined) {
8381
8375
  localVarQueryParameter['Name'] = name;
8382
8376
  }
8383
- if (description !== undefined) {
8384
- localVarQueryParameter['Description'] = description;
8377
+ if (hospitalId !== undefined) {
8378
+ localVarQueryParameter['HospitalId'] = hospitalId;
8379
+ }
8380
+ if (hospitalName !== undefined) {
8381
+ localVarQueryParameter['HospitalName'] = hospitalName;
8385
8382
  }
8386
8383
  if (languageCode !== undefined) {
8387
8384
  localVarQueryParameter['LanguageCode'] = languageCode;
8388
8385
  }
8386
+ if (showHidden !== undefined) {
8387
+ localVarQueryParameter['ShowHidden'] = showHidden;
8388
+ }
8389
+ if (returnDefaultValue !== undefined) {
8390
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
8391
+ }
8389
8392
  if (page !== undefined) {
8390
8393
  localVarQueryParameter['page'] = page;
8391
8394
  }
@@ -8502,20 +8505,23 @@ var FaqCategoriesApiFp = function (configuration) {
8502
8505
  * @param {string} [id]
8503
8506
  * @param {string} [parentId]
8504
8507
  * @param {string} [name]
8505
- * @param {string} [description]
8508
+ * @param {string} [hospitalId]
8509
+ * @param {string} [hospitalName]
8506
8510
  * @param {string} [languageCode]
8511
+ * @param {boolean} [showHidden]
8512
+ * @param {boolean} [returnDefaultValue]
8507
8513
  * @param {number} [page]
8508
8514
  * @param {number} [limit]
8509
8515
  * @param {Date} [lastRetrieved]
8510
8516
  * @param {*} [options] Override http request option.
8511
8517
  * @throws {RequiredError}
8512
8518
  */
8513
- apiV2FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
8519
+ apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
8514
8520
  return __awaiter(this, void 0, void 0, function () {
8515
8521
  var localVarAxiosArgs;
8516
8522
  return __generator(this, function (_a) {
8517
8523
  switch (_a.label) {
8518
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options)];
8524
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
8519
8525
  case 1:
8520
8526
  localVarAxiosArgs = _a.sent();
8521
8527
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8582,16 +8588,19 @@ var FaqCategoriesApiFactory = function (configuration, basePath, axios) {
8582
8588
  * @param {string} [id]
8583
8589
  * @param {string} [parentId]
8584
8590
  * @param {string} [name]
8585
- * @param {string} [description]
8591
+ * @param {string} [hospitalId]
8592
+ * @param {string} [hospitalName]
8586
8593
  * @param {string} [languageCode]
8594
+ * @param {boolean} [showHidden]
8595
+ * @param {boolean} [returnDefaultValue]
8587
8596
  * @param {number} [page]
8588
8597
  * @param {number} [limit]
8589
8598
  * @param {Date} [lastRetrieved]
8590
8599
  * @param {*} [options] Override http request option.
8591
8600
  * @throws {RequiredError}
8592
8601
  */
8593
- apiV2FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
8594
- return localVarFp.apiV2FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
8602
+ apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
8603
+ return localVarFp.apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
8595
8604
  },
8596
8605
  /**
8597
8606
  *
@@ -8650,8 +8659,11 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
8650
8659
  * @param {string} [id]
8651
8660
  * @param {string} [parentId]
8652
8661
  * @param {string} [name]
8653
- * @param {string} [description]
8662
+ * @param {string} [hospitalId]
8663
+ * @param {string} [hospitalName]
8654
8664
  * @param {string} [languageCode]
8665
+ * @param {boolean} [showHidden]
8666
+ * @param {boolean} [returnDefaultValue]
8655
8667
  * @param {number} [page]
8656
8668
  * @param {number} [limit]
8657
8669
  * @param {Date} [lastRetrieved]
@@ -8659,9 +8671,9 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
8659
8671
  * @throws {RequiredError}
8660
8672
  * @memberof FaqCategoriesApi
8661
8673
  */
8662
- FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
8674
+ FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
8663
8675
  var _this = this;
8664
- return (0, exports.FaqCategoriesApiFp)(this.configuration).apiV2FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8676
+ 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); });
8665
8677
  };
8666
8678
  /**
8667
8679
  *
@@ -8815,24 +8827,113 @@ var FaqsApiAxiosParamCreator = function (configuration) {
8815
8827
  });
8816
8828
  });
8817
8829
  },
8830
+ /**
8831
+ *
8832
+ * @summary GetAll FaqTags.
8833
+ * @param {string} faqId
8834
+ * @param {string} [tagId]
8835
+ * @param {number} [page]
8836
+ * @param {number} [limit]
8837
+ * @param {Date} [lastRetrieved]
8838
+ * @param {*} [options] Override http request option.
8839
+ * @throws {RequiredError}
8840
+ */
8841
+ apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
8842
+ if (options === void 0) { options = {}; }
8843
+ return __awaiter(_this, void 0, void 0, function () {
8844
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8845
+ return __generator(this, function (_a) {
8846
+ // verify required parameter 'faqId' is not null or undefined
8847
+ (0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsGet', 'faqId', faqId);
8848
+ localVarPath = "/api/v2/faqs/{faqId}/tags"
8849
+ .replace("{".concat("faqId", "}"), encodeURIComponent(String(faqId)));
8850
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8851
+ if (configuration) {
8852
+ baseOptions = configuration.baseOptions;
8853
+ }
8854
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8855
+ localVarHeaderParameter = {};
8856
+ localVarQueryParameter = {};
8857
+ if (tagId !== undefined) {
8858
+ localVarQueryParameter['TagId'] = tagId;
8859
+ }
8860
+ if (page !== undefined) {
8861
+ localVarQueryParameter['page'] = page;
8862
+ }
8863
+ if (limit !== undefined) {
8864
+ localVarQueryParameter['limit'] = limit;
8865
+ }
8866
+ if (lastRetrieved !== undefined) {
8867
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
8868
+ lastRetrieved.toISOString() :
8869
+ lastRetrieved;
8870
+ }
8871
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8872
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8873
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8874
+ return [2 /*return*/, {
8875
+ url: (0, common_1.toPathString)(localVarUrlObj),
8876
+ options: localVarRequestOptions,
8877
+ }];
8878
+ });
8879
+ });
8880
+ },
8881
+ /**
8882
+ *
8883
+ * @summary Get FaqTag.
8884
+ * @param {string} faqId
8885
+ * @param {string} tagId
8886
+ * @param {*} [options] Override http request option.
8887
+ * @throws {RequiredError}
8888
+ */
8889
+ apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
8890
+ if (options === void 0) { options = {}; }
8891
+ return __awaiter(_this, void 0, void 0, function () {
8892
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8893
+ return __generator(this, function (_a) {
8894
+ // verify required parameter 'faqId' is not null or undefined
8895
+ (0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsTagIdGet', 'faqId', faqId);
8896
+ // verify required parameter 'tagId' is not null or undefined
8897
+ (0, common_1.assertParamExists)('apiV2FaqsFaqIdTagsTagIdGet', 'tagId', tagId);
8898
+ localVarPath = "/api/v2/faqs/{faqId}/tags/{tagId}"
8899
+ .replace("{".concat("faqId", "}"), encodeURIComponent(String(faqId)))
8900
+ .replace("{".concat("tagId", "}"), encodeURIComponent(String(tagId)));
8901
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8902
+ if (configuration) {
8903
+ baseOptions = configuration.baseOptions;
8904
+ }
8905
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8906
+ localVarHeaderParameter = {};
8907
+ localVarQueryParameter = {};
8908
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8909
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8910
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8911
+ return [2 /*return*/, {
8912
+ url: (0, common_1.toPathString)(localVarUrlObj),
8913
+ options: localVarRequestOptions,
8914
+ }];
8915
+ });
8916
+ });
8917
+ },
8818
8918
  /**
8819
8919
  *
8820
8920
  * @summary Get all Faqs.
8821
8921
  * @param {string} [id]
8822
- * @param {string} [title]
8823
- * @param {string} [content]
8922
+ * @param {string} [name]
8923
+ * @param {string} [slug]
8824
8924
  * @param {string} [categoryId]
8825
8925
  * @param {string} [hospitalId]
8826
8926
  * @param {string} [hospitalName]
8827
8927
  * @param {string} [languageCode]
8828
8928
  * @param {boolean} [showHidden]
8929
+ * @param {boolean} [returnDefaultValue]
8829
8930
  * @param {number} [page]
8830
8931
  * @param {number} [limit]
8831
8932
  * @param {Date} [lastRetrieved]
8832
8933
  * @param {*} [options] Override http request option.
8833
8934
  * @throws {RequiredError}
8834
8935
  */
8835
- apiV2FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
8936
+ apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
8836
8937
  if (options === void 0) { options = {}; }
8837
8938
  return __awaiter(_this, void 0, void 0, function () {
8838
8939
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -8848,11 +8949,11 @@ var FaqsApiAxiosParamCreator = function (configuration) {
8848
8949
  if (id !== undefined) {
8849
8950
  localVarQueryParameter['Id'] = id;
8850
8951
  }
8851
- if (title !== undefined) {
8852
- localVarQueryParameter['Title'] = title;
8952
+ if (name !== undefined) {
8953
+ localVarQueryParameter['Name'] = name;
8853
8954
  }
8854
- if (content !== undefined) {
8855
- localVarQueryParameter['Content'] = content;
8955
+ if (slug !== undefined) {
8956
+ localVarQueryParameter['Slug'] = slug;
8856
8957
  }
8857
8958
  if (categoryId !== undefined) {
8858
8959
  localVarQueryParameter['CategoryId'] = categoryId;
@@ -8869,6 +8970,9 @@ var FaqsApiAxiosParamCreator = function (configuration) {
8869
8970
  if (showHidden !== undefined) {
8870
8971
  localVarQueryParameter['ShowHidden'] = showHidden;
8871
8972
  }
8973
+ if (returnDefaultValue !== undefined) {
8974
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
8975
+ }
8872
8976
  if (page !== undefined) {
8873
8977
  localVarQueryParameter['page'] = page;
8874
8978
  }
@@ -9006,27 +9110,21 @@ var FaqsApiFp = function (configuration) {
9006
9110
  },
9007
9111
  /**
9008
9112
  *
9009
- * @summary Get all Faqs.
9010
- * @param {string} [id]
9011
- * @param {string} [title]
9012
- * @param {string} [content]
9013
- * @param {string} [categoryId]
9014
- * @param {string} [hospitalId]
9015
- * @param {string} [hospitalName]
9016
- * @param {string} [languageCode]
9017
- * @param {boolean} [showHidden]
9113
+ * @summary GetAll FaqTags.
9114
+ * @param {string} faqId
9115
+ * @param {string} [tagId]
9018
9116
  * @param {number} [page]
9019
9117
  * @param {number} [limit]
9020
9118
  * @param {Date} [lastRetrieved]
9021
9119
  * @param {*} [options] Override http request option.
9022
9120
  * @throws {RequiredError}
9023
9121
  */
9024
- apiV2FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
9122
+ apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
9025
9123
  return __awaiter(this, void 0, void 0, function () {
9026
9124
  var localVarAxiosArgs;
9027
9125
  return __generator(this, function (_a) {
9028
9126
  switch (_a.label) {
9029
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
9127
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options)];
9030
9128
  case 1:
9031
9129
  localVarAxiosArgs = _a.sent();
9032
9130
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9036,18 +9134,18 @@ var FaqsApiFp = function (configuration) {
9036
9134
  },
9037
9135
  /**
9038
9136
  *
9039
- * @summary Get faq by slug.
9040
- * @param {string} slug
9041
- * @param {string} [languageCode]
9137
+ * @summary Get FaqTag.
9138
+ * @param {string} faqId
9139
+ * @param {string} tagId
9042
9140
  * @param {*} [options] Override http request option.
9043
9141
  * @throws {RequiredError}
9044
9142
  */
9045
- apiV2FaqsSlugGet: function (slug, languageCode, options) {
9143
+ apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
9046
9144
  return __awaiter(this, void 0, void 0, function () {
9047
9145
  var localVarAxiosArgs;
9048
9146
  return __generator(this, function (_a) {
9049
9147
  switch (_a.label) {
9050
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsSlugGet(slug, languageCode, options)];
9148
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options)];
9051
9149
  case 1:
9052
9150
  localVarAxiosArgs = _a.sent();
9053
9151
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9055,15 +9153,67 @@ var FaqsApiFp = function (configuration) {
9055
9153
  });
9056
9154
  });
9057
9155
  },
9058
- };
9059
- };
9060
- exports.FaqsApiFp = FaqsApiFp;
9061
- /**
9062
- * FaqsApi - factory interface
9063
- * @export
9064
- */
9065
- var FaqsApiFactory = function (configuration, basePath, axios) {
9066
- var localVarFp = (0, exports.FaqsApiFp)(configuration);
9156
+ /**
9157
+ *
9158
+ * @summary Get all Faqs.
9159
+ * @param {string} [id]
9160
+ * @param {string} [name]
9161
+ * @param {string} [slug]
9162
+ * @param {string} [categoryId]
9163
+ * @param {string} [hospitalId]
9164
+ * @param {string} [hospitalName]
9165
+ * @param {string} [languageCode]
9166
+ * @param {boolean} [showHidden]
9167
+ * @param {boolean} [returnDefaultValue]
9168
+ * @param {number} [page]
9169
+ * @param {number} [limit]
9170
+ * @param {Date} [lastRetrieved]
9171
+ * @param {*} [options] Override http request option.
9172
+ * @throws {RequiredError}
9173
+ */
9174
+ apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9175
+ return __awaiter(this, void 0, void 0, function () {
9176
+ var localVarAxiosArgs;
9177
+ return __generator(this, function (_a) {
9178
+ switch (_a.label) {
9179
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
9180
+ case 1:
9181
+ localVarAxiosArgs = _a.sent();
9182
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9183
+ }
9184
+ });
9185
+ });
9186
+ },
9187
+ /**
9188
+ *
9189
+ * @summary Get faq by slug.
9190
+ * @param {string} slug
9191
+ * @param {string} [languageCode]
9192
+ * @param {*} [options] Override http request option.
9193
+ * @throws {RequiredError}
9194
+ */
9195
+ apiV2FaqsSlugGet: function (slug, languageCode, options) {
9196
+ return __awaiter(this, void 0, void 0, function () {
9197
+ var localVarAxiosArgs;
9198
+ return __generator(this, function (_a) {
9199
+ switch (_a.label) {
9200
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsSlugGet(slug, languageCode, options)];
9201
+ case 1:
9202
+ localVarAxiosArgs = _a.sent();
9203
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9204
+ }
9205
+ });
9206
+ });
9207
+ },
9208
+ };
9209
+ };
9210
+ exports.FaqsApiFp = FaqsApiFp;
9211
+ /**
9212
+ * FaqsApi - factory interface
9213
+ * @export
9214
+ */
9215
+ var FaqsApiFactory = function (configuration, basePath, axios) {
9216
+ var localVarFp = (0, exports.FaqsApiFp)(configuration);
9067
9217
  return {
9068
9218
  /**
9069
9219
  *
@@ -9102,25 +9252,51 @@ var FaqsApiFactory = function (configuration, basePath, axios) {
9102
9252
  apiV2FaqsFaqIdMediasMediaIdGet: function (faqId, mediaId, options) {
9103
9253
  return localVarFp.apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(axios, basePath); });
9104
9254
  },
9255
+ /**
9256
+ *
9257
+ * @summary GetAll FaqTags.
9258
+ * @param {string} faqId
9259
+ * @param {string} [tagId]
9260
+ * @param {number} [page]
9261
+ * @param {number} [limit]
9262
+ * @param {Date} [lastRetrieved]
9263
+ * @param {*} [options] Override http request option.
9264
+ * @throws {RequiredError}
9265
+ */
9266
+ apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
9267
+ return localVarFp.apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
9268
+ },
9269
+ /**
9270
+ *
9271
+ * @summary Get FaqTag.
9272
+ * @param {string} faqId
9273
+ * @param {string} tagId
9274
+ * @param {*} [options] Override http request option.
9275
+ * @throws {RequiredError}
9276
+ */
9277
+ apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
9278
+ return localVarFp.apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options).then(function (request) { return request(axios, basePath); });
9279
+ },
9105
9280
  /**
9106
9281
  *
9107
9282
  * @summary Get all Faqs.
9108
9283
  * @param {string} [id]
9109
- * @param {string} [title]
9110
- * @param {string} [content]
9284
+ * @param {string} [name]
9285
+ * @param {string} [slug]
9111
9286
  * @param {string} [categoryId]
9112
9287
  * @param {string} [hospitalId]
9113
9288
  * @param {string} [hospitalName]
9114
9289
  * @param {string} [languageCode]
9115
9290
  * @param {boolean} [showHidden]
9291
+ * @param {boolean} [returnDefaultValue]
9116
9292
  * @param {number} [page]
9117
9293
  * @param {number} [limit]
9118
9294
  * @param {Date} [lastRetrieved]
9119
9295
  * @param {*} [options] Override http request option.
9120
9296
  * @throws {RequiredError}
9121
9297
  */
9122
- apiV2FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
9123
- return localVarFp.apiV2FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
9298
+ apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9299
+ return localVarFp.apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
9124
9300
  },
9125
9301
  /**
9126
9302
  *
@@ -9190,17 +9366,47 @@ var FaqsApi = /** @class */ (function (_super) {
9190
9366
  var _this = this;
9191
9367
  return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9192
9368
  };
9369
+ /**
9370
+ *
9371
+ * @summary GetAll FaqTags.
9372
+ * @param {string} faqId
9373
+ * @param {string} [tagId]
9374
+ * @param {number} [page]
9375
+ * @param {number} [limit]
9376
+ * @param {Date} [lastRetrieved]
9377
+ * @param {*} [options] Override http request option.
9378
+ * @throws {RequiredError}
9379
+ * @memberof FaqsApi
9380
+ */
9381
+ FaqsApi.prototype.apiV2FaqsFaqIdTagsGet = function (faqId, tagId, page, limit, lastRetrieved, options) {
9382
+ var _this = this;
9383
+ return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
9384
+ };
9385
+ /**
9386
+ *
9387
+ * @summary Get FaqTag.
9388
+ * @param {string} faqId
9389
+ * @param {string} tagId
9390
+ * @param {*} [options] Override http request option.
9391
+ * @throws {RequiredError}
9392
+ * @memberof FaqsApi
9393
+ */
9394
+ FaqsApi.prototype.apiV2FaqsFaqIdTagsTagIdGet = function (faqId, tagId, options) {
9395
+ var _this = this;
9396
+ return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9397
+ };
9193
9398
  /**
9194
9399
  *
9195
9400
  * @summary Get all Faqs.
9196
9401
  * @param {string} [id]
9197
- * @param {string} [title]
9198
- * @param {string} [content]
9402
+ * @param {string} [name]
9403
+ * @param {string} [slug]
9199
9404
  * @param {string} [categoryId]
9200
9405
  * @param {string} [hospitalId]
9201
9406
  * @param {string} [hospitalName]
9202
9407
  * @param {string} [languageCode]
9203
9408
  * @param {boolean} [showHidden]
9409
+ * @param {boolean} [returnDefaultValue]
9204
9410
  * @param {number} [page]
9205
9411
  * @param {number} [limit]
9206
9412
  * @param {Date} [lastRetrieved]
@@ -9208,9 +9414,9 @@ var FaqsApi = /** @class */ (function (_super) {
9208
9414
  * @throws {RequiredError}
9209
9415
  * @memberof FaqsApi
9210
9416
  */
9211
- FaqsApi.prototype.apiV2FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
9417
+ FaqsApi.prototype.apiV2FaqsGet = function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
9212
9418
  var _this = this;
9213
- return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
9419
+ 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); });
9214
9420
  };
9215
9421
  /**
9216
9422
  *
@@ -9633,19 +9839,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9633
9839
  * @param {MarketingType} [marketingType]
9634
9840
  * @param {string} [specialtyTypeId]
9635
9841
  * @param {string} [specialtyId]
9636
- * @param {string} [serviceId]
9637
9842
  * @param {string} [exceptHospitalId]
9638
9843
  * @param {boolean} [showHidden]
9639
9844
  * @param {string} [languageCode]
9640
9845
  * @param {Array<string>} [ids]
9641
9846
  * @param {boolean} [returnDefaultValue]
9847
+ * @param {boolean} [paymentEnabled]
9642
9848
  * @param {number} [page]
9643
9849
  * @param {number} [limit]
9644
9850
  * @param {Date} [lastRetrieved]
9645
9851
  * @param {*} [options] Override http request option.
9646
9852
  * @throws {RequiredError}
9647
9853
  */
9648
- apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
9854
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
9649
9855
  if (options === void 0) { options = {}; }
9650
9856
  return __awaiter(_this, void 0, void 0, function () {
9651
9857
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9681,9 +9887,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9681
9887
  if (specialtyId !== undefined) {
9682
9888
  localVarQueryParameter['SpecialtyId'] = specialtyId;
9683
9889
  }
9684
- if (serviceId !== undefined) {
9685
- localVarQueryParameter['ServiceId'] = serviceId;
9686
- }
9687
9890
  if (exceptHospitalId !== undefined) {
9688
9891
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
9689
9892
  }
@@ -9699,6 +9902,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9699
9902
  if (returnDefaultValue !== undefined) {
9700
9903
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
9701
9904
  }
9905
+ if (paymentEnabled !== undefined) {
9906
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
9907
+ }
9702
9908
  if (page !== undefined) {
9703
9909
  localVarQueryParameter['page'] = page;
9704
9910
  }
@@ -10354,25 +10560,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10354
10560
  *
10355
10561
  * @summary Get all HospitalSpecialties.
10356
10562
  * @param {string} hospitalId
10357
- * @param {string} [hospitalName]
10358
- * @param {string} [hospitalSlug]
10359
10563
  * @param {string} [specialtyId]
10360
10564
  * @param {string} [specialtyName]
10361
10565
  * @param {string} [specialtyTypeId]
10362
- * @param {string} [hospitalSpecialtySlug]
10363
- * @param {string} [title]
10566
+ * @param {string} [specialtyTypeName]
10567
+ * @param {string} [hospitalSpecialtyId]
10568
+ * @param {string} [name]
10569
+ * @param {string} [slug]
10364
10570
  * @param {MarketingType} [marketingType]
10365
- * @param {string} [languageCode]
10366
- * @param {boolean} [showHidden]
10367
10571
  * @param {boolean} [returnDefaultValue]
10368
10572
  * @param {boolean} [includeServices]
10573
+ * @param {string} [languageCode]
10574
+ * @param {boolean} [showHidden]
10369
10575
  * @param {number} [page]
10370
10576
  * @param {number} [limit]
10371
10577
  * @param {Date} [lastRetrieved]
10372
10578
  * @param {*} [options] Override http request option.
10373
10579
  * @throws {RequiredError}
10374
10580
  */
10375
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10581
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
10376
10582
  if (options === void 0) { options = {}; }
10377
10583
  return __awaiter(_this, void 0, void 0, function () {
10378
10584
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10388,12 +10594,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10388
10594
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10389
10595
  localVarHeaderParameter = {};
10390
10596
  localVarQueryParameter = {};
10391
- if (hospitalName !== undefined) {
10392
- localVarQueryParameter['HospitalName'] = hospitalName;
10393
- }
10394
- if (hospitalSlug !== undefined) {
10395
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
10396
- }
10397
10597
  if (specialtyId !== undefined) {
10398
10598
  localVarQueryParameter['SpecialtyId'] = specialtyId;
10399
10599
  }
@@ -10403,20 +10603,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10403
10603
  if (specialtyTypeId !== undefined) {
10404
10604
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
10405
10605
  }
10406
- if (hospitalSpecialtySlug !== undefined) {
10407
- localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
10606
+ if (specialtyTypeName !== undefined) {
10607
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
10408
10608
  }
10409
- if (title !== undefined) {
10410
- localVarQueryParameter['Title'] = title;
10609
+ if (hospitalSpecialtyId !== undefined) {
10610
+ localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
10411
10611
  }
10412
- if (marketingType !== undefined) {
10413
- localVarQueryParameter['MarketingType'] = marketingType;
10612
+ if (name !== undefined) {
10613
+ localVarQueryParameter['Name'] = name;
10414
10614
  }
10415
- if (languageCode !== undefined) {
10416
- localVarQueryParameter['LanguageCode'] = languageCode;
10615
+ if (slug !== undefined) {
10616
+ localVarQueryParameter['Slug'] = slug;
10417
10617
  }
10418
- if (showHidden !== undefined) {
10419
- localVarQueryParameter['ShowHidden'] = showHidden;
10618
+ if (marketingType !== undefined) {
10619
+ localVarQueryParameter['MarketingType'] = marketingType;
10420
10620
  }
10421
10621
  if (returnDefaultValue !== undefined) {
10422
10622
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
@@ -10424,6 +10624,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10424
10624
  if (includeServices !== undefined) {
10425
10625
  localVarQueryParameter['IncludeServices'] = includeServices;
10426
10626
  }
10627
+ if (languageCode !== undefined) {
10628
+ localVarQueryParameter['LanguageCode'] = languageCode;
10629
+ }
10630
+ if (showHidden !== undefined) {
10631
+ localVarQueryParameter['ShowHidden'] = showHidden;
10632
+ }
10427
10633
  if (page !== undefined) {
10428
10634
  localVarQueryParameter['page'] = page;
10429
10635
  }
@@ -10549,25 +10755,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10549
10755
  *
10550
10756
  * @summary Get all HospitalSpecialties.
10551
10757
  * @param {string} hospitalId
10552
- * @param {string} [hospitalName]
10553
- * @param {string} [hospitalSlug]
10554
10758
  * @param {string} [specialtyId]
10555
10759
  * @param {string} [specialtyName]
10556
10760
  * @param {string} [specialtyTypeId]
10557
- * @param {string} [hospitalSpecialtySlug]
10558
- * @param {string} [title]
10761
+ * @param {string} [specialtyTypeName]
10762
+ * @param {string} [hospitalSpecialtyId]
10763
+ * @param {string} [name]
10764
+ * @param {string} [slug]
10559
10765
  * @param {MarketingType} [marketingType]
10560
- * @param {string} [languageCode]
10561
- * @param {boolean} [showHidden]
10562
10766
  * @param {boolean} [returnDefaultValue]
10563
10767
  * @param {boolean} [includeServices]
10768
+ * @param {string} [languageCode]
10769
+ * @param {boolean} [showHidden]
10564
10770
  * @param {number} [page]
10565
10771
  * @param {number} [limit]
10566
10772
  * @param {Date} [lastRetrieved]
10567
10773
  * @param {*} [options] Override http request option.
10568
10774
  * @throws {RequiredError}
10569
10775
  */
10570
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10776
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
10571
10777
  if (options === void 0) { options = {}; }
10572
10778
  return __awaiter(_this, void 0, void 0, function () {
10573
10779
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10583,12 +10789,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10583
10789
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10584
10790
  localVarHeaderParameter = {};
10585
10791
  localVarQueryParameter = {};
10586
- if (hospitalName !== undefined) {
10587
- localVarQueryParameter['HospitalName'] = hospitalName;
10588
- }
10589
- if (hospitalSlug !== undefined) {
10590
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
10591
- }
10592
10792
  if (specialtyId !== undefined) {
10593
10793
  localVarQueryParameter['SpecialtyId'] = specialtyId;
10594
10794
  }
@@ -10598,20 +10798,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10598
10798
  if (specialtyTypeId !== undefined) {
10599
10799
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
10600
10800
  }
10601
- if (hospitalSpecialtySlug !== undefined) {
10602
- localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
10801
+ if (specialtyTypeName !== undefined) {
10802
+ localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
10603
10803
  }
10604
- if (title !== undefined) {
10605
- localVarQueryParameter['Title'] = title;
10804
+ if (hospitalSpecialtyId !== undefined) {
10805
+ localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
10606
10806
  }
10607
- if (marketingType !== undefined) {
10608
- localVarQueryParameter['MarketingType'] = marketingType;
10807
+ if (name !== undefined) {
10808
+ localVarQueryParameter['Name'] = name;
10609
10809
  }
10610
- if (languageCode !== undefined) {
10611
- localVarQueryParameter['LanguageCode'] = languageCode;
10810
+ if (slug !== undefined) {
10811
+ localVarQueryParameter['Slug'] = slug;
10612
10812
  }
10613
- if (showHidden !== undefined) {
10614
- localVarQueryParameter['ShowHidden'] = showHidden;
10813
+ if (marketingType !== undefined) {
10814
+ localVarQueryParameter['MarketingType'] = marketingType;
10615
10815
  }
10616
10816
  if (returnDefaultValue !== undefined) {
10617
10817
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
@@ -10619,6 +10819,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10619
10819
  if (includeServices !== undefined) {
10620
10820
  localVarQueryParameter['IncludeServices'] = includeServices;
10621
10821
  }
10822
+ if (languageCode !== undefined) {
10823
+ localVarQueryParameter['LanguageCode'] = languageCode;
10824
+ }
10825
+ if (showHidden !== undefined) {
10826
+ localVarQueryParameter['ShowHidden'] = showHidden;
10827
+ }
10622
10828
  if (page !== undefined) {
10623
10829
  localVarQueryParameter['page'] = page;
10624
10830
  }
@@ -10640,6 +10846,55 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10640
10846
  });
10641
10847
  });
10642
10848
  },
10849
+ /**
10850
+ *
10851
+ * @summary Get HospitalSpecialty by slug.
10852
+ * @param {string} hospitalId
10853
+ * @param {string} slug
10854
+ * @param {string} [languageCode]
10855
+ * @param {boolean} [returnDefaultValue]
10856
+ * @param {boolean} [includeServices]
10857
+ * @param {*} [options] Override http request option.
10858
+ * @throws {RequiredError}
10859
+ */
10860
+ apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
10861
+ if (options === void 0) { options = {}; }
10862
+ return __awaiter(_this, void 0, void 0, function () {
10863
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10864
+ return __generator(this, function (_a) {
10865
+ // verify required parameter 'hospitalId' is not null or undefined
10866
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSlugGet', 'hospitalId', hospitalId);
10867
+ // verify required parameter 'slug' is not null or undefined
10868
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSlugGet', 'slug', slug);
10869
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{slug}"
10870
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
10871
+ .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
10872
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10873
+ if (configuration) {
10874
+ baseOptions = configuration.baseOptions;
10875
+ }
10876
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10877
+ localVarHeaderParameter = {};
10878
+ localVarQueryParameter = {};
10879
+ if (languageCode !== undefined) {
10880
+ localVarQueryParameter['languageCode'] = languageCode;
10881
+ }
10882
+ if (returnDefaultValue !== undefined) {
10883
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
10884
+ }
10885
+ if (includeServices !== undefined) {
10886
+ localVarQueryParameter['includeServices'] = includeServices;
10887
+ }
10888
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10889
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10890
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10891
+ return [2 /*return*/, {
10892
+ url: (0, common_1.toPathString)(localVarUrlObj),
10893
+ options: localVarRequestOptions,
10894
+ }];
10895
+ });
10896
+ });
10897
+ },
10643
10898
  /**
10644
10899
  *
10645
10900
  * @summary Get HospitalSpecialty.
@@ -10694,14 +10949,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10694
10949
  * @summary Get all HospitalServices.
10695
10950
  * @param {string} hospitalId
10696
10951
  * @param {string} specialtyId
10697
- * @param {string} [hospitalName]
10698
- * @param {string} [hospitalSlug]
10699
10952
  * @param {string} [id]
10700
10953
  * @param {string} [name]
10701
- * @param {string} [description]
10702
- * @param {string} [specialtyName]
10703
- * @param {string} [specialtyTypeId]
10704
- * @param {string} [specialtyTypeName]
10954
+ * @param {string} [slug]
10705
10955
  * @param {string} [serviceCategoryId]
10706
10956
  * @param {MarketingType} [marketingType]
10707
10957
  * @param {Procedure} [procedure]
@@ -10714,7 +10964,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10714
10964
  * @param {*} [options] Override http request option.
10715
10965
  * @throws {RequiredError}
10716
10966
  */
10717
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
10967
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
10718
10968
  if (options === void 0) { options = {}; }
10719
10969
  return __awaiter(_this, void 0, void 0, function () {
10720
10970
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10733,29 +10983,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10733
10983
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10734
10984
  localVarHeaderParameter = {};
10735
10985
  localVarQueryParameter = {};
10736
- if (hospitalName !== undefined) {
10737
- localVarQueryParameter['HospitalName'] = hospitalName;
10738
- }
10739
- if (hospitalSlug !== undefined) {
10740
- localVarQueryParameter['HospitalSlug'] = hospitalSlug;
10741
- }
10742
10986
  if (id !== undefined) {
10743
10987
  localVarQueryParameter['Id'] = id;
10744
10988
  }
10745
10989
  if (name !== undefined) {
10746
10990
  localVarQueryParameter['Name'] = name;
10747
10991
  }
10748
- if (description !== undefined) {
10749
- localVarQueryParameter['Description'] = description;
10750
- }
10751
- if (specialtyName !== undefined) {
10752
- localVarQueryParameter['SpecialtyName'] = specialtyName;
10753
- }
10754
- if (specialtyTypeId !== undefined) {
10755
- localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
10756
- }
10757
- if (specialtyTypeName !== undefined) {
10758
- localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
10992
+ if (slug !== undefined) {
10993
+ localVarQueryParameter['Slug'] = slug;
10759
10994
  }
10760
10995
  if (serviceCategoryId !== undefined) {
10761
10996
  localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
@@ -11073,19 +11308,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
11073
11308
  * @param {MarketingType} [marketingType]
11074
11309
  * @param {string} [specialtyTypeId]
11075
11310
  * @param {string} [specialtyId]
11076
- * @param {string} [serviceId]
11077
11311
  * @param {string} [exceptHospitalId]
11078
11312
  * @param {boolean} [showHidden]
11079
11313
  * @param {string} [languageCode]
11080
11314
  * @param {Array<string>} [ids]
11081
11315
  * @param {boolean} [returnDefaultValue]
11316
+ * @param {boolean} [paymentEnabled]
11082
11317
  * @param {number} [page]
11083
11318
  * @param {number} [limit]
11084
11319
  * @param {Date} [lastRetrieved]
11085
11320
  * @param {*} [options] Override http request option.
11086
11321
  * @throws {RequiredError}
11087
11322
  */
11088
- apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
11323
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
11089
11324
  if (options === void 0) { options = {}; }
11090
11325
  return __awaiter(_this, void 0, void 0, function () {
11091
11326
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -11121,9 +11356,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
11121
11356
  if (specialtyId !== undefined) {
11122
11357
  localVarQueryParameter['SpecialtyId'] = specialtyId;
11123
11358
  }
11124
- if (serviceId !== undefined) {
11125
- localVarQueryParameter['ServiceId'] = serviceId;
11126
- }
11127
11359
  if (exceptHospitalId !== undefined) {
11128
11360
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
11129
11361
  }
@@ -11139,6 +11371,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
11139
11371
  if (returnDefaultValue !== undefined) {
11140
11372
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
11141
11373
  }
11374
+ if (paymentEnabled !== undefined) {
11375
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
11376
+ }
11142
11377
  if (page !== undefined) {
11143
11378
  localVarQueryParameter['page'] = page;
11144
11379
  }
@@ -11220,24 +11455,24 @@ var HospitalsApiFp = function (configuration) {
11220
11455
  * @param {MarketingType} [marketingType]
11221
11456
  * @param {string} [specialtyTypeId]
11222
11457
  * @param {string} [specialtyId]
11223
- * @param {string} [serviceId]
11224
11458
  * @param {string} [exceptHospitalId]
11225
11459
  * @param {boolean} [showHidden]
11226
11460
  * @param {string} [languageCode]
11227
11461
  * @param {Array<string>} [ids]
11228
11462
  * @param {boolean} [returnDefaultValue]
11463
+ * @param {boolean} [paymentEnabled]
11229
11464
  * @param {number} [page]
11230
11465
  * @param {number} [limit]
11231
11466
  * @param {Date} [lastRetrieved]
11232
11467
  * @param {*} [options] Override http request option.
11233
11468
  * @throws {RequiredError}
11234
11469
  */
11235
- apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
11470
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
11236
11471
  return __awaiter(this, void 0, void 0, function () {
11237
11472
  var localVarAxiosArgs;
11238
11473
  return __generator(this, function (_a) {
11239
11474
  switch (_a.label) {
11240
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
11475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
11241
11476
  case 1:
11242
11477
  localVarAxiosArgs = _a.sent();
11243
11478
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11555,30 +11790,30 @@ var HospitalsApiFp = function (configuration) {
11555
11790
  *
11556
11791
  * @summary Get all HospitalSpecialties.
11557
11792
  * @param {string} hospitalId
11558
- * @param {string} [hospitalName]
11559
- * @param {string} [hospitalSlug]
11560
11793
  * @param {string} [specialtyId]
11561
11794
  * @param {string} [specialtyName]
11562
11795
  * @param {string} [specialtyTypeId]
11563
- * @param {string} [hospitalSpecialtySlug]
11564
- * @param {string} [title]
11796
+ * @param {string} [specialtyTypeName]
11797
+ * @param {string} [hospitalSpecialtyId]
11798
+ * @param {string} [name]
11799
+ * @param {string} [slug]
11565
11800
  * @param {MarketingType} [marketingType]
11566
- * @param {string} [languageCode]
11567
- * @param {boolean} [showHidden]
11568
11801
  * @param {boolean} [returnDefaultValue]
11569
11802
  * @param {boolean} [includeServices]
11803
+ * @param {string} [languageCode]
11804
+ * @param {boolean} [showHidden]
11570
11805
  * @param {number} [page]
11571
11806
  * @param {number} [limit]
11572
11807
  * @param {Date} [lastRetrieved]
11573
11808
  * @param {*} [options] Override http request option.
11574
11809
  * @throws {RequiredError}
11575
11810
  */
11576
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11811
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
11577
11812
  return __awaiter(this, void 0, void 0, function () {
11578
11813
  var localVarAxiosArgs;
11579
11814
  return __generator(this, function (_a) {
11580
11815
  switch (_a.label) {
11581
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11816
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options)];
11582
11817
  case 1:
11583
11818
  localVarAxiosArgs = _a.sent();
11584
11819
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11638,30 +11873,54 @@ var HospitalsApiFp = function (configuration) {
11638
11873
  *
11639
11874
  * @summary Get all HospitalSpecialties.
11640
11875
  * @param {string} hospitalId
11641
- * @param {string} [hospitalName]
11642
- * @param {string} [hospitalSlug]
11643
11876
  * @param {string} [specialtyId]
11644
11877
  * @param {string} [specialtyName]
11645
11878
  * @param {string} [specialtyTypeId]
11646
- * @param {string} [hospitalSpecialtySlug]
11647
- * @param {string} [title]
11879
+ * @param {string} [specialtyTypeName]
11880
+ * @param {string} [hospitalSpecialtyId]
11881
+ * @param {string} [name]
11882
+ * @param {string} [slug]
11648
11883
  * @param {MarketingType} [marketingType]
11649
- * @param {string} [languageCode]
11650
- * @param {boolean} [showHidden]
11651
11884
  * @param {boolean} [returnDefaultValue]
11652
11885
  * @param {boolean} [includeServices]
11886
+ * @param {string} [languageCode]
11887
+ * @param {boolean} [showHidden]
11653
11888
  * @param {number} [page]
11654
11889
  * @param {number} [limit]
11655
11890
  * @param {Date} [lastRetrieved]
11656
11891
  * @param {*} [options] Override http request option.
11657
11892
  * @throws {RequiredError}
11658
11893
  */
11659
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11894
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
11895
+ return __awaiter(this, void 0, void 0, function () {
11896
+ var localVarAxiosArgs;
11897
+ return __generator(this, function (_a) {
11898
+ switch (_a.label) {
11899
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options)];
11900
+ case 1:
11901
+ localVarAxiosArgs = _a.sent();
11902
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
11903
+ }
11904
+ });
11905
+ });
11906
+ },
11907
+ /**
11908
+ *
11909
+ * @summary Get HospitalSpecialty by slug.
11910
+ * @param {string} hospitalId
11911
+ * @param {string} slug
11912
+ * @param {string} [languageCode]
11913
+ * @param {boolean} [returnDefaultValue]
11914
+ * @param {boolean} [includeServices]
11915
+ * @param {*} [options] Override http request option.
11916
+ * @throws {RequiredError}
11917
+ */
11918
+ apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
11660
11919
  return __awaiter(this, void 0, void 0, function () {
11661
11920
  var localVarAxiosArgs;
11662
11921
  return __generator(this, function (_a) {
11663
11922
  switch (_a.label) {
11664
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
11923
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options)];
11665
11924
  case 1:
11666
11925
  localVarAxiosArgs = _a.sent();
11667
11926
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11698,14 +11957,9 @@ var HospitalsApiFp = function (configuration) {
11698
11957
  * @summary Get all HospitalServices.
11699
11958
  * @param {string} hospitalId
11700
11959
  * @param {string} specialtyId
11701
- * @param {string} [hospitalName]
11702
- * @param {string} [hospitalSlug]
11703
11960
  * @param {string} [id]
11704
11961
  * @param {string} [name]
11705
- * @param {string} [description]
11706
- * @param {string} [specialtyName]
11707
- * @param {string} [specialtyTypeId]
11708
- * @param {string} [specialtyTypeName]
11962
+ * @param {string} [slug]
11709
11963
  * @param {string} [serviceCategoryId]
11710
11964
  * @param {MarketingType} [marketingType]
11711
11965
  * @param {Procedure} [procedure]
@@ -11718,12 +11972,12 @@ var HospitalsApiFp = function (configuration) {
11718
11972
  * @param {*} [options] Override http request option.
11719
11973
  * @throws {RequiredError}
11720
11974
  */
11721
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
11975
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
11722
11976
  return __awaiter(this, void 0, void 0, function () {
11723
11977
  var localVarAxiosArgs;
11724
11978
  return __generator(this, function (_a) {
11725
11979
  switch (_a.label) {
11726
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
11980
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
11727
11981
  case 1:
11728
11982
  localVarAxiosArgs = _a.sent();
11729
11983
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11864,24 +12118,24 @@ var HospitalsApiFp = function (configuration) {
11864
12118
  * @param {MarketingType} [marketingType]
11865
12119
  * @param {string} [specialtyTypeId]
11866
12120
  * @param {string} [specialtyId]
11867
- * @param {string} [serviceId]
11868
12121
  * @param {string} [exceptHospitalId]
11869
12122
  * @param {boolean} [showHidden]
11870
12123
  * @param {string} [languageCode]
11871
12124
  * @param {Array<string>} [ids]
11872
12125
  * @param {boolean} [returnDefaultValue]
12126
+ * @param {boolean} [paymentEnabled]
11873
12127
  * @param {number} [page]
11874
12128
  * @param {number} [limit]
11875
12129
  * @param {Date} [lastRetrieved]
11876
12130
  * @param {*} [options] Override http request option.
11877
12131
  * @throws {RequiredError}
11878
12132
  */
11879
- apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
12133
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
11880
12134
  return __awaiter(this, void 0, void 0, function () {
11881
12135
  var localVarAxiosArgs;
11882
12136
  return __generator(this, function (_a) {
11883
12137
  switch (_a.label) {
11884
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
12138
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
11885
12139
  case 1:
11886
12140
  localVarAxiosArgs = _a.sent();
11887
12141
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11930,20 +12184,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11930
12184
  * @param {MarketingType} [marketingType]
11931
12185
  * @param {string} [specialtyTypeId]
11932
12186
  * @param {string} [specialtyId]
11933
- * @param {string} [serviceId]
11934
12187
  * @param {string} [exceptHospitalId]
11935
12188
  * @param {boolean} [showHidden]
11936
12189
  * @param {string} [languageCode]
11937
12190
  * @param {Array<string>} [ids]
11938
12191
  * @param {boolean} [returnDefaultValue]
12192
+ * @param {boolean} [paymentEnabled]
11939
12193
  * @param {number} [page]
11940
12194
  * @param {number} [limit]
11941
12195
  * @param {Date} [lastRetrieved]
11942
12196
  * @param {*} [options] Override http request option.
11943
12197
  * @throws {RequiredError}
11944
12198
  */
11945
- apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
11946
- 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); });
12199
+ apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
12200
+ return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11947
12201
  },
11948
12202
  /**
11949
12203
  *
@@ -12125,26 +12379,26 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
12125
12379
  *
12126
12380
  * @summary Get all HospitalSpecialties.
12127
12381
  * @param {string} hospitalId
12128
- * @param {string} [hospitalName]
12129
- * @param {string} [hospitalSlug]
12130
12382
  * @param {string} [specialtyId]
12131
12383
  * @param {string} [specialtyName]
12132
12384
  * @param {string} [specialtyTypeId]
12133
- * @param {string} [hospitalSpecialtySlug]
12134
- * @param {string} [title]
12385
+ * @param {string} [specialtyTypeName]
12386
+ * @param {string} [hospitalSpecialtyId]
12387
+ * @param {string} [name]
12388
+ * @param {string} [slug]
12135
12389
  * @param {MarketingType} [marketingType]
12136
- * @param {string} [languageCode]
12137
- * @param {boolean} [showHidden]
12138
12390
  * @param {boolean} [returnDefaultValue]
12139
12391
  * @param {boolean} [includeServices]
12392
+ * @param {string} [languageCode]
12393
+ * @param {boolean} [showHidden]
12140
12394
  * @param {number} [page]
12141
12395
  * @param {number} [limit]
12142
12396
  * @param {Date} [lastRetrieved]
12143
12397
  * @param {*} [options] Override http request option.
12144
12398
  * @throws {RequiredError}
12145
12399
  */
12146
- apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
12147
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12400
+ apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
12401
+ 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); });
12148
12402
  },
12149
12403
  /**
12150
12404
  *
@@ -12178,26 +12432,40 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
12178
12432
  *
12179
12433
  * @summary Get all HospitalSpecialties.
12180
12434
  * @param {string} hospitalId
12181
- * @param {string} [hospitalName]
12182
- * @param {string} [hospitalSlug]
12183
12435
  * @param {string} [specialtyId]
12184
12436
  * @param {string} [specialtyName]
12185
12437
  * @param {string} [specialtyTypeId]
12186
- * @param {string} [hospitalSpecialtySlug]
12187
- * @param {string} [title]
12438
+ * @param {string} [specialtyTypeName]
12439
+ * @param {string} [hospitalSpecialtyId]
12440
+ * @param {string} [name]
12441
+ * @param {string} [slug]
12188
12442
  * @param {MarketingType} [marketingType]
12189
- * @param {string} [languageCode]
12190
- * @param {boolean} [showHidden]
12191
12443
  * @param {boolean} [returnDefaultValue]
12192
12444
  * @param {boolean} [includeServices]
12445
+ * @param {string} [languageCode]
12446
+ * @param {boolean} [showHidden]
12193
12447
  * @param {number} [page]
12194
12448
  * @param {number} [limit]
12195
12449
  * @param {Date} [lastRetrieved]
12196
12450
  * @param {*} [options] Override http request option.
12197
12451
  * @throws {RequiredError}
12198
12452
  */
12199
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
12200
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12453
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
12454
+ 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); });
12455
+ },
12456
+ /**
12457
+ *
12458
+ * @summary Get HospitalSpecialty by slug.
12459
+ * @param {string} hospitalId
12460
+ * @param {string} slug
12461
+ * @param {string} [languageCode]
12462
+ * @param {boolean} [returnDefaultValue]
12463
+ * @param {boolean} [includeServices]
12464
+ * @param {*} [options] Override http request option.
12465
+ * @throws {RequiredError}
12466
+ */
12467
+ apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
12468
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(axios, basePath); });
12201
12469
  },
12202
12470
  /**
12203
12471
  *
@@ -12218,14 +12486,9 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
12218
12486
  * @summary Get all HospitalServices.
12219
12487
  * @param {string} hospitalId
12220
12488
  * @param {string} specialtyId
12221
- * @param {string} [hospitalName]
12222
- * @param {string} [hospitalSlug]
12223
12489
  * @param {string} [id]
12224
12490
  * @param {string} [name]
12225
- * @param {string} [description]
12226
- * @param {string} [specialtyName]
12227
- * @param {string} [specialtyTypeId]
12228
- * @param {string} [specialtyTypeName]
12491
+ * @param {string} [slug]
12229
12492
  * @param {string} [serviceCategoryId]
12230
12493
  * @param {MarketingType} [marketingType]
12231
12494
  * @param {Procedure} [procedure]
@@ -12238,8 +12501,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
12238
12501
  * @param {*} [options] Override http request option.
12239
12502
  * @throws {RequiredError}
12240
12503
  */
12241
- apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
12242
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12504
+ apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
12505
+ 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); });
12243
12506
  },
12244
12507
  /**
12245
12508
  *
@@ -12324,20 +12587,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
12324
12587
  * @param {MarketingType} [marketingType]
12325
12588
  * @param {string} [specialtyTypeId]
12326
12589
  * @param {string} [specialtyId]
12327
- * @param {string} [serviceId]
12328
12590
  * @param {string} [exceptHospitalId]
12329
12591
  * @param {boolean} [showHidden]
12330
12592
  * @param {string} [languageCode]
12331
12593
  * @param {Array<string>} [ids]
12332
12594
  * @param {boolean} [returnDefaultValue]
12595
+ * @param {boolean} [paymentEnabled]
12333
12596
  * @param {number} [page]
12334
12597
  * @param {number} [limit]
12335
12598
  * @param {Date} [lastRetrieved]
12336
12599
  * @param {*} [options] Override http request option.
12337
12600
  * @throws {RequiredError}
12338
12601
  */
12339
- apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
12340
- 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); });
12602
+ apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
12603
+ return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12341
12604
  },
12342
12605
  /**
12343
12606
  *
@@ -12374,12 +12637,12 @@ var HospitalsApi = /** @class */ (function (_super) {
12374
12637
  * @param {MarketingType} [marketingType]
12375
12638
  * @param {string} [specialtyTypeId]
12376
12639
  * @param {string} [specialtyId]
12377
- * @param {string} [serviceId]
12378
12640
  * @param {string} [exceptHospitalId]
12379
12641
  * @param {boolean} [showHidden]
12380
12642
  * @param {string} [languageCode]
12381
12643
  * @param {Array<string>} [ids]
12382
12644
  * @param {boolean} [returnDefaultValue]
12645
+ * @param {boolean} [paymentEnabled]
12383
12646
  * @param {number} [page]
12384
12647
  * @param {number} [limit]
12385
12648
  * @param {Date} [lastRetrieved]
@@ -12387,9 +12650,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12387
12650
  * @throws {RequiredError}
12388
12651
  * @memberof HospitalsApi
12389
12652
  */
12390
- HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
12653
+ HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
12391
12654
  var _this = this;
12392
- 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); });
12655
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12393
12656
  };
12394
12657
  /**
12395
12658
  *
@@ -12597,18 +12860,18 @@ var HospitalsApi = /** @class */ (function (_super) {
12597
12860
  *
12598
12861
  * @summary Get all HospitalSpecialties.
12599
12862
  * @param {string} hospitalId
12600
- * @param {string} [hospitalName]
12601
- * @param {string} [hospitalSlug]
12602
12863
  * @param {string} [specialtyId]
12603
12864
  * @param {string} [specialtyName]
12604
12865
  * @param {string} [specialtyTypeId]
12605
- * @param {string} [hospitalSpecialtySlug]
12606
- * @param {string} [title]
12866
+ * @param {string} [specialtyTypeName]
12867
+ * @param {string} [hospitalSpecialtyId]
12868
+ * @param {string} [name]
12869
+ * @param {string} [slug]
12607
12870
  * @param {MarketingType} [marketingType]
12608
- * @param {string} [languageCode]
12609
- * @param {boolean} [showHidden]
12610
12871
  * @param {boolean} [returnDefaultValue]
12611
12872
  * @param {boolean} [includeServices]
12873
+ * @param {string} [languageCode]
12874
+ * @param {boolean} [showHidden]
12612
12875
  * @param {number} [page]
12613
12876
  * @param {number} [limit]
12614
12877
  * @param {Date} [lastRetrieved]
@@ -12616,9 +12879,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12616
12879
  * @throws {RequiredError}
12617
12880
  * @memberof HospitalsApi
12618
12881
  */
12619
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
12882
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
12620
12883
  var _this = this;
12621
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12884
+ 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); });
12622
12885
  };
12623
12886
  /**
12624
12887
  *
@@ -12656,18 +12919,18 @@ var HospitalsApi = /** @class */ (function (_super) {
12656
12919
  *
12657
12920
  * @summary Get all HospitalSpecialties.
12658
12921
  * @param {string} hospitalId
12659
- * @param {string} [hospitalName]
12660
- * @param {string} [hospitalSlug]
12661
12922
  * @param {string} [specialtyId]
12662
12923
  * @param {string} [specialtyName]
12663
12924
  * @param {string} [specialtyTypeId]
12664
- * @param {string} [hospitalSpecialtySlug]
12665
- * @param {string} [title]
12925
+ * @param {string} [specialtyTypeName]
12926
+ * @param {string} [hospitalSpecialtyId]
12927
+ * @param {string} [name]
12928
+ * @param {string} [slug]
12666
12929
  * @param {MarketingType} [marketingType]
12667
- * @param {string} [languageCode]
12668
- * @param {boolean} [showHidden]
12669
12930
  * @param {boolean} [returnDefaultValue]
12670
12931
  * @param {boolean} [includeServices]
12932
+ * @param {string} [languageCode]
12933
+ * @param {boolean} [showHidden]
12671
12934
  * @param {number} [page]
12672
12935
  * @param {number} [limit]
12673
12936
  * @param {Date} [lastRetrieved]
@@ -12675,9 +12938,25 @@ var HospitalsApi = /** @class */ (function (_super) {
12675
12938
  * @throws {RequiredError}
12676
12939
  * @memberof HospitalsApi
12677
12940
  */
12678
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
12941
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
12942
+ var _this = this;
12943
+ 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); });
12944
+ };
12945
+ /**
12946
+ *
12947
+ * @summary Get HospitalSpecialty by slug.
12948
+ * @param {string} hospitalId
12949
+ * @param {string} slug
12950
+ * @param {string} [languageCode]
12951
+ * @param {boolean} [returnDefaultValue]
12952
+ * @param {boolean} [includeServices]
12953
+ * @param {*} [options] Override http request option.
12954
+ * @throws {RequiredError}
12955
+ * @memberof HospitalsApi
12956
+ */
12957
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode, returnDefaultValue, includeServices, options) {
12679
12958
  var _this = this;
12680
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12959
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
12681
12960
  };
12682
12961
  /**
12683
12962
  *
@@ -12700,14 +12979,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12700
12979
  * @summary Get all HospitalServices.
12701
12980
  * @param {string} hospitalId
12702
12981
  * @param {string} specialtyId
12703
- * @param {string} [hospitalName]
12704
- * @param {string} [hospitalSlug]
12705
12982
  * @param {string} [id]
12706
12983
  * @param {string} [name]
12707
- * @param {string} [description]
12708
- * @param {string} [specialtyName]
12709
- * @param {string} [specialtyTypeId]
12710
- * @param {string} [specialtyTypeName]
12984
+ * @param {string} [slug]
12711
12985
  * @param {string} [serviceCategoryId]
12712
12986
  * @param {MarketingType} [marketingType]
12713
12987
  * @param {Procedure} [procedure]
@@ -12721,9 +12995,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12721
12995
  * @throws {RequiredError}
12722
12996
  * @memberof HospitalsApi
12723
12997
  */
12724
- HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
12998
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
12725
12999
  var _this = this;
12726
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
13000
+ 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); });
12727
13001
  };
12728
13002
  /**
12729
13003
  *
@@ -12818,12 +13092,12 @@ var HospitalsApi = /** @class */ (function (_super) {
12818
13092
  * @param {MarketingType} [marketingType]
12819
13093
  * @param {string} [specialtyTypeId]
12820
13094
  * @param {string} [specialtyId]
12821
- * @param {string} [serviceId]
12822
13095
  * @param {string} [exceptHospitalId]
12823
13096
  * @param {boolean} [showHidden]
12824
13097
  * @param {string} [languageCode]
12825
13098
  * @param {Array<string>} [ids]
12826
13099
  * @param {boolean} [returnDefaultValue]
13100
+ * @param {boolean} [paymentEnabled]
12827
13101
  * @param {number} [page]
12828
13102
  * @param {number} [limit]
12829
13103
  * @param {Date} [lastRetrieved]
@@ -12831,9 +13105,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12831
13105
  * @throws {RequiredError}
12832
13106
  * @memberof HospitalsApi
12833
13107
  */
12834
- HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
13108
+ HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
12835
13109
  var _this = this;
12836
- 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); });
13110
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12837
13111
  };
12838
13112
  /**
12839
13113
  *
@@ -14938,1160 +15212,140 @@ var ProfilesApiFp = function (configuration) {
14938
15212
  }
14939
15213
  });
14940
15214
  });
14941
- },
14942
- /**
14943
- *
14944
- * @summary Update Profile.
14945
- * @param {UpdateProfileCommand} [updateProfileCommand]
14946
- * @param {*} [options] Override http request option.
14947
- * @throws {RequiredError}
14948
- */
14949
- apiV2ProfilesPut: function (updateProfileCommand, options) {
14950
- return __awaiter(this, void 0, void 0, function () {
14951
- var localVarAxiosArgs;
14952
- return __generator(this, function (_a) {
14953
- switch (_a.label) {
14954
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPut(updateProfileCommand, options)];
14955
- case 1:
14956
- localVarAxiosArgs = _a.sent();
14957
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14958
- }
14959
- });
14960
- });
14961
- },
14962
- };
14963
- };
14964
- exports.ProfilesApiFp = ProfilesApiFp;
14965
- /**
14966
- * ProfilesApi - factory interface
14967
- * @export
14968
- */
14969
- var ProfilesApiFactory = function (configuration, basePath, axios) {
14970
- var localVarFp = (0, exports.ProfilesApiFp)(configuration);
14971
- return {
14972
- /**
14973
- * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
14974
- * @summary Change user\'s email on both Identity and Api.
14975
- * @param {ChangeEmailCommand} [changeEmailCommand]
14976
- * @param {*} [options] Override http request option.
14977
- * @throws {RequiredError}
14978
- */
14979
- apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
14980
- return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
14981
- },
14982
- /**
14983
- *
14984
- * @summary Configm email.
14985
- * @param {ConfirmEmailCommand} [confirmEmailCommand]
14986
- * @param {*} [options] Override http request option.
14987
- * @throws {RequiredError}
14988
- */
14989
- apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
14990
- return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
14991
- },
14992
- /**
14993
- *
14994
- * @summary Get Profile.
14995
- * @param {*} [options] Override http request option.
14996
- * @throws {RequiredError}
14997
- */
14998
- apiV2ProfilesGet: function (options) {
14999
- return localVarFp.apiV2ProfilesGet(options).then(function (request) { return request(axios, basePath); });
15000
- },
15001
- /**
15002
- *
15003
- * @summary Update Profile.
15004
- * @param {UpdateProfileCommand} [updateProfileCommand]
15005
- * @param {*} [options] Override http request option.
15006
- * @throws {RequiredError}
15007
- */
15008
- apiV2ProfilesPut: function (updateProfileCommand, options) {
15009
- return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
15010
- },
15011
- };
15012
- };
15013
- exports.ProfilesApiFactory = ProfilesApiFactory;
15014
- /**
15015
- * ProfilesApi - object-oriented interface
15016
- * @export
15017
- * @class ProfilesApi
15018
- * @extends {BaseAPI}
15019
- */
15020
- var ProfilesApi = /** @class */ (function (_super) {
15021
- __extends(ProfilesApi, _super);
15022
- function ProfilesApi() {
15023
- return _super !== null && _super.apply(this, arguments) || this;
15024
- }
15025
- /**
15026
- * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
15027
- * @summary Change user\'s email on both Identity and Api.
15028
- * @param {ChangeEmailCommand} [changeEmailCommand]
15029
- * @param {*} [options] Override http request option.
15030
- * @throws {RequiredError}
15031
- * @memberof ProfilesApi
15032
- */
15033
- ProfilesApi.prototype.apiV2ProfilesChangeemailPost = function (changeEmailCommand, options) {
15034
- var _this = this;
15035
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
15036
- };
15037
- /**
15038
- *
15039
- * @summary Configm email.
15040
- * @param {ConfirmEmailCommand} [confirmEmailCommand]
15041
- * @param {*} [options] Override http request option.
15042
- * @throws {RequiredError}
15043
- * @memberof ProfilesApi
15044
- */
15045
- ProfilesApi.prototype.apiV2ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
15046
- var _this = this;
15047
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
15048
- };
15049
- /**
15050
- *
15051
- * @summary Get Profile.
15052
- * @param {*} [options] Override http request option.
15053
- * @throws {RequiredError}
15054
- * @memberof ProfilesApi
15055
- */
15056
- ProfilesApi.prototype.apiV2ProfilesGet = function (options) {
15057
- var _this = this;
15058
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
15059
- };
15060
- /**
15061
- *
15062
- * @summary Update Profile.
15063
- * @param {UpdateProfileCommand} [updateProfileCommand]
15064
- * @param {*} [options] Override http request option.
15065
- * @throws {RequiredError}
15066
- * @memberof ProfilesApi
15067
- */
15068
- ProfilesApi.prototype.apiV2ProfilesPut = function (updateProfileCommand, options) {
15069
- var _this = this;
15070
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
15071
- };
15072
- return ProfilesApi;
15073
- }(base_1.BaseAPI));
15074
- exports.ProfilesApi = ProfilesApi;
15075
- /**
15076
- * SearchApi - axios parameter creator
15077
- * @export
15078
- */
15079
- var SearchApiAxiosParamCreator = function (configuration) {
15080
- var _this = this;
15081
- return {
15082
- /**
15083
- *
15084
- * @param {string} keyword
15085
- * @param {AutocompleteMode} [mode]
15086
- * @param {boolean} [fuzzy]
15087
- * @param {boolean} [highlights]
15088
- * @param {number} [size]
15089
- * @param {number} [minimumCoverage]
15090
- * @param {*} [options] Override http request option.
15091
- * @throws {RequiredError}
15092
- */
15093
- apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
15094
- if (options === void 0) { options = {}; }
15095
- return __awaiter(_this, void 0, void 0, function () {
15096
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15097
- return __generator(this, function (_a) {
15098
- // verify required parameter 'keyword' is not null or undefined
15099
- (0, common_1.assertParamExists)('apiV2SearchAutocompleteGet', 'keyword', keyword);
15100
- localVarPath = "/api/v2/search/autocomplete";
15101
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15102
- if (configuration) {
15103
- baseOptions = configuration.baseOptions;
15104
- }
15105
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15106
- localVarHeaderParameter = {};
15107
- localVarQueryParameter = {};
15108
- if (mode !== undefined) {
15109
- localVarQueryParameter['Mode'] = mode;
15110
- }
15111
- if (keyword !== undefined) {
15112
- localVarQueryParameter['Keyword'] = keyword;
15113
- }
15114
- if (fuzzy !== undefined) {
15115
- localVarQueryParameter['Fuzzy'] = fuzzy;
15116
- }
15117
- if (highlights !== undefined) {
15118
- localVarQueryParameter['Highlights'] = highlights;
15119
- }
15120
- if (size !== undefined) {
15121
- localVarQueryParameter['Size'] = size;
15122
- }
15123
- if (minimumCoverage !== undefined) {
15124
- localVarQueryParameter['MinimumCoverage'] = minimumCoverage;
15125
- }
15126
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15127
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15128
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15129
- return [2 /*return*/, {
15130
- url: (0, common_1.toPathString)(localVarUrlObj),
15131
- options: localVarRequestOptions,
15132
- }];
15133
- });
15134
- });
15135
- },
15136
- /**
15137
- *
15138
- * @param {string} [searchTerm]
15139
- * @param {boolean} [countOnly]
15140
- * @param {string} [countryId]
15141
- * @param {string} [hospitalId]
15142
- * @param {MarketingType} [marketingType]
15143
- * @param {string} [languageCode]
15144
- * @param {number} [page]
15145
- * @param {number} [limit]
15146
- * @param {Date} [lastRetrieved]
15147
- * @param {*} [options] Override http request option.
15148
- * @throws {RequiredError}
15149
- */
15150
- apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15151
- if (options === void 0) { options = {}; }
15152
- return __awaiter(_this, void 0, void 0, function () {
15153
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15154
- return __generator(this, function (_a) {
15155
- localVarPath = "/api/v2/search/deals";
15156
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15157
- if (configuration) {
15158
- baseOptions = configuration.baseOptions;
15159
- }
15160
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15161
- localVarHeaderParameter = {};
15162
- localVarQueryParameter = {};
15163
- if (searchTerm !== undefined) {
15164
- localVarQueryParameter['SearchTerm'] = searchTerm;
15165
- }
15166
- if (countOnly !== undefined) {
15167
- localVarQueryParameter['CountOnly'] = countOnly;
15168
- }
15169
- if (countryId !== undefined) {
15170
- localVarQueryParameter['CountryId'] = countryId;
15171
- }
15172
- if (hospitalId !== undefined) {
15173
- localVarQueryParameter['HospitalId'] = hospitalId;
15174
- }
15175
- if (marketingType !== undefined) {
15176
- localVarQueryParameter['MarketingType'] = marketingType;
15177
- }
15178
- if (languageCode !== undefined) {
15179
- localVarQueryParameter['LanguageCode'] = languageCode;
15180
- }
15181
- if (page !== undefined) {
15182
- localVarQueryParameter['page'] = page;
15183
- }
15184
- if (limit !== undefined) {
15185
- localVarQueryParameter['limit'] = limit;
15186
- }
15187
- if (lastRetrieved !== undefined) {
15188
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15189
- lastRetrieved.toISOString() :
15190
- lastRetrieved;
15191
- }
15192
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15193
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15194
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15195
- return [2 /*return*/, {
15196
- url: (0, common_1.toPathString)(localVarUrlObj),
15197
- options: localVarRequestOptions,
15198
- }];
15199
- });
15200
- });
15201
- },
15202
- /**
15203
- *
15204
- * @param {string} [searchTerm]
15205
- * @param {boolean} [countOnly]
15206
- * @param {string} [countryId]
15207
- * @param {string} [hospitalId]
15208
- * @param {MarketingType} [marketingType]
15209
- * @param {string} [languageCode]
15210
- * @param {number} [page]
15211
- * @param {number} [limit]
15212
- * @param {Date} [lastRetrieved]
15213
- * @param {*} [options] Override http request option.
15214
- * @throws {RequiredError}
15215
- */
15216
- apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15217
- if (options === void 0) { options = {}; }
15218
- return __awaiter(_this, void 0, void 0, function () {
15219
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15220
- return __generator(this, function (_a) {
15221
- localVarPath = "/api/v2/search/doctors";
15222
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15223
- if (configuration) {
15224
- baseOptions = configuration.baseOptions;
15225
- }
15226
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15227
- localVarHeaderParameter = {};
15228
- localVarQueryParameter = {};
15229
- if (searchTerm !== undefined) {
15230
- localVarQueryParameter['SearchTerm'] = searchTerm;
15231
- }
15232
- if (countOnly !== undefined) {
15233
- localVarQueryParameter['CountOnly'] = countOnly;
15234
- }
15235
- if (countryId !== undefined) {
15236
- localVarQueryParameter['CountryId'] = countryId;
15237
- }
15238
- if (hospitalId !== undefined) {
15239
- localVarQueryParameter['HospitalId'] = hospitalId;
15240
- }
15241
- if (marketingType !== undefined) {
15242
- localVarQueryParameter['MarketingType'] = marketingType;
15243
- }
15244
- if (languageCode !== undefined) {
15245
- localVarQueryParameter['LanguageCode'] = languageCode;
15246
- }
15247
- if (page !== undefined) {
15248
- localVarQueryParameter['page'] = page;
15249
- }
15250
- if (limit !== undefined) {
15251
- localVarQueryParameter['limit'] = limit;
15252
- }
15253
- if (lastRetrieved !== undefined) {
15254
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15255
- lastRetrieved.toISOString() :
15256
- lastRetrieved;
15257
- }
15258
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15259
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15260
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15261
- return [2 /*return*/, {
15262
- url: (0, common_1.toPathString)(localVarUrlObj),
15263
- options: localVarRequestOptions,
15264
- }];
15265
- });
15266
- });
15267
- },
15268
- /**
15269
- *
15270
- * @param {string} [searchTerm]
15271
- * @param {boolean} [countOnly]
15272
- * @param {string} [countryId]
15273
- * @param {string} [hospitalId]
15274
- * @param {MarketingType} [marketingType]
15275
- * @param {string} [languageCode]
15276
- * @param {number} [page]
15277
- * @param {number} [limit]
15278
- * @param {Date} [lastRetrieved]
15279
- * @param {*} [options] Override http request option.
15280
- * @throws {RequiredError}
15281
- */
15282
- apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15283
- if (options === void 0) { options = {}; }
15284
- return __awaiter(_this, void 0, void 0, function () {
15285
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15286
- return __generator(this, function (_a) {
15287
- localVarPath = "/api/v2/search/getcount";
15288
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15289
- if (configuration) {
15290
- baseOptions = configuration.baseOptions;
15291
- }
15292
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15293
- localVarHeaderParameter = {};
15294
- localVarQueryParameter = {};
15295
- if (searchTerm !== undefined) {
15296
- localVarQueryParameter['SearchTerm'] = searchTerm;
15297
- }
15298
- if (countOnly !== undefined) {
15299
- localVarQueryParameter['CountOnly'] = countOnly;
15300
- }
15301
- if (countryId !== undefined) {
15302
- localVarQueryParameter['CountryId'] = countryId;
15303
- }
15304
- if (hospitalId !== undefined) {
15305
- localVarQueryParameter['HospitalId'] = hospitalId;
15306
- }
15307
- if (marketingType !== undefined) {
15308
- localVarQueryParameter['MarketingType'] = marketingType;
15309
- }
15310
- if (languageCode !== undefined) {
15311
- localVarQueryParameter['LanguageCode'] = languageCode;
15312
- }
15313
- if (page !== undefined) {
15314
- localVarQueryParameter['page'] = page;
15315
- }
15316
- if (limit !== undefined) {
15317
- localVarQueryParameter['limit'] = limit;
15318
- }
15319
- if (lastRetrieved !== undefined) {
15320
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15321
- lastRetrieved.toISOString() :
15322
- lastRetrieved;
15323
- }
15324
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15325
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15326
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15327
- return [2 /*return*/, {
15328
- url: (0, common_1.toPathString)(localVarUrlObj),
15329
- options: localVarRequestOptions,
15330
- }];
15331
- });
15332
- });
15333
- },
15334
- /**
15335
- *
15336
- * @param {string} [searchTerm]
15337
- * @param {boolean} [countOnly]
15338
- * @param {string} [countryId]
15339
- * @param {string} [hospitalId]
15340
- * @param {MarketingType} [marketingType]
15341
- * @param {string} [languageCode]
15342
- * @param {number} [page]
15343
- * @param {number} [limit]
15344
- * @param {Date} [lastRetrieved]
15345
- * @param {*} [options] Override http request option.
15346
- * @throws {RequiredError}
15347
- */
15348
- apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15349
- if (options === void 0) { options = {}; }
15350
- return __awaiter(_this, void 0, void 0, function () {
15351
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15352
- return __generator(this, function (_a) {
15353
- localVarPath = "/api/v2/search/hospitals";
15354
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15355
- if (configuration) {
15356
- baseOptions = configuration.baseOptions;
15357
- }
15358
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15359
- localVarHeaderParameter = {};
15360
- localVarQueryParameter = {};
15361
- if (searchTerm !== undefined) {
15362
- localVarQueryParameter['SearchTerm'] = searchTerm;
15363
- }
15364
- if (countOnly !== undefined) {
15365
- localVarQueryParameter['CountOnly'] = countOnly;
15366
- }
15367
- if (countryId !== undefined) {
15368
- localVarQueryParameter['CountryId'] = countryId;
15369
- }
15370
- if (hospitalId !== undefined) {
15371
- localVarQueryParameter['HospitalId'] = hospitalId;
15372
- }
15373
- if (marketingType !== undefined) {
15374
- localVarQueryParameter['MarketingType'] = marketingType;
15375
- }
15376
- if (languageCode !== undefined) {
15377
- localVarQueryParameter['LanguageCode'] = languageCode;
15378
- }
15379
- if (page !== undefined) {
15380
- localVarQueryParameter['page'] = page;
15381
- }
15382
- if (limit !== undefined) {
15383
- localVarQueryParameter['limit'] = limit;
15384
- }
15385
- if (lastRetrieved !== undefined) {
15386
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15387
- lastRetrieved.toISOString() :
15388
- lastRetrieved;
15389
- }
15390
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15391
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15392
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15393
- return [2 /*return*/, {
15394
- url: (0, common_1.toPathString)(localVarUrlObj),
15395
- options: localVarRequestOptions,
15396
- }];
15397
- });
15398
- });
15399
- },
15400
- /**
15401
- *
15402
- * @param {string} [searchTerm]
15403
- * @param {boolean} [countOnly]
15404
- * @param {string} [countryId]
15405
- * @param {string} [hospitalId]
15406
- * @param {MarketingType} [marketingType]
15407
- * @param {string} [languageCode]
15408
- * @param {number} [page]
15409
- * @param {number} [limit]
15410
- * @param {Date} [lastRetrieved]
15411
- * @param {*} [options] Override http request option.
15412
- * @throws {RequiredError}
15413
- */
15414
- apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15415
- if (options === void 0) { options = {}; }
15416
- return __awaiter(_this, void 0, void 0, function () {
15417
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15418
- return __generator(this, function (_a) {
15419
- localVarPath = "/api/v2/search/specialties";
15420
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15421
- if (configuration) {
15422
- baseOptions = configuration.baseOptions;
15423
- }
15424
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15425
- localVarHeaderParameter = {};
15426
- localVarQueryParameter = {};
15427
- if (searchTerm !== undefined) {
15428
- localVarQueryParameter['SearchTerm'] = searchTerm;
15429
- }
15430
- if (countOnly !== undefined) {
15431
- localVarQueryParameter['CountOnly'] = countOnly;
15432
- }
15433
- if (countryId !== undefined) {
15434
- localVarQueryParameter['CountryId'] = countryId;
15435
- }
15436
- if (hospitalId !== undefined) {
15437
- localVarQueryParameter['HospitalId'] = hospitalId;
15438
- }
15439
- if (marketingType !== undefined) {
15440
- localVarQueryParameter['MarketingType'] = marketingType;
15441
- }
15442
- if (languageCode !== undefined) {
15443
- localVarQueryParameter['LanguageCode'] = languageCode;
15444
- }
15445
- if (page !== undefined) {
15446
- localVarQueryParameter['page'] = page;
15447
- }
15448
- if (limit !== undefined) {
15449
- localVarQueryParameter['limit'] = limit;
15450
- }
15451
- if (lastRetrieved !== undefined) {
15452
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15453
- lastRetrieved.toISOString() :
15454
- lastRetrieved;
15455
- }
15456
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15457
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15458
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15459
- return [2 /*return*/, {
15460
- url: (0, common_1.toPathString)(localVarUrlObj),
15461
- options: localVarRequestOptions,
15462
- }];
15463
- });
15464
- });
15465
- },
15466
- /**
15467
- *
15468
- * @param {string} [searchTerm]
15469
- * @param {boolean} [countOnly]
15470
- * @param {string} [countryId]
15471
- * @param {string} [hospitalId]
15472
- * @param {MarketingType} [marketingType]
15473
- * @param {string} [languageCode]
15474
- * @param {number} [page]
15475
- * @param {number} [limit]
15476
- * @param {Date} [lastRetrieved]
15477
- * @param {*} [options] Override http request option.
15478
- * @throws {RequiredError}
15479
- */
15480
- apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15481
- if (options === void 0) { options = {}; }
15482
- return __awaiter(_this, void 0, void 0, function () {
15483
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15484
- return __generator(this, function (_a) {
15485
- localVarPath = "/api/v2/search/specialtytypes";
15486
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15487
- if (configuration) {
15488
- baseOptions = configuration.baseOptions;
15489
- }
15490
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15491
- localVarHeaderParameter = {};
15492
- localVarQueryParameter = {};
15493
- if (searchTerm !== undefined) {
15494
- localVarQueryParameter['SearchTerm'] = searchTerm;
15495
- }
15496
- if (countOnly !== undefined) {
15497
- localVarQueryParameter['CountOnly'] = countOnly;
15498
- }
15499
- if (countryId !== undefined) {
15500
- localVarQueryParameter['CountryId'] = countryId;
15501
- }
15502
- if (hospitalId !== undefined) {
15503
- localVarQueryParameter['HospitalId'] = hospitalId;
15504
- }
15505
- if (marketingType !== undefined) {
15506
- localVarQueryParameter['MarketingType'] = marketingType;
15507
- }
15508
- if (languageCode !== undefined) {
15509
- localVarQueryParameter['LanguageCode'] = languageCode;
15510
- }
15511
- if (page !== undefined) {
15512
- localVarQueryParameter['page'] = page;
15513
- }
15514
- if (limit !== undefined) {
15515
- localVarQueryParameter['limit'] = limit;
15516
- }
15517
- if (lastRetrieved !== undefined) {
15518
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
15519
- lastRetrieved.toISOString() :
15520
- lastRetrieved;
15521
- }
15522
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15523
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15524
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15525
- return [2 /*return*/, {
15526
- url: (0, common_1.toPathString)(localVarUrlObj),
15527
- options: localVarRequestOptions,
15528
- }];
15529
- });
15530
- });
15531
- },
15532
- /**
15533
- *
15534
- * @param {string} keyword
15535
- * @param {boolean} [fuzzy]
15536
- * @param {boolean} [highlights]
15537
- * @param {number} [size]
15538
- * @param {*} [options] Override http request option.
15539
- * @throws {RequiredError}
15540
- */
15541
- apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
15542
- if (options === void 0) { options = {}; }
15543
- return __awaiter(_this, void 0, void 0, function () {
15544
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15545
- return __generator(this, function (_a) {
15546
- // verify required parameter 'keyword' is not null or undefined
15547
- (0, common_1.assertParamExists)('apiV2SearchSuggestGet', 'keyword', keyword);
15548
- localVarPath = "/api/v2/search/suggest";
15549
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15550
- if (configuration) {
15551
- baseOptions = configuration.baseOptions;
15552
- }
15553
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
15554
- localVarHeaderParameter = {};
15555
- localVarQueryParameter = {};
15556
- if (keyword !== undefined) {
15557
- localVarQueryParameter['Keyword'] = keyword;
15558
- }
15559
- if (fuzzy !== undefined) {
15560
- localVarQueryParameter['Fuzzy'] = fuzzy;
15561
- }
15562
- if (highlights !== undefined) {
15563
- localVarQueryParameter['Highlights'] = highlights;
15564
- }
15565
- if (size !== undefined) {
15566
- localVarQueryParameter['Size'] = size;
15567
- }
15568
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15569
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15570
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15571
- return [2 /*return*/, {
15572
- url: (0, common_1.toPathString)(localVarUrlObj),
15573
- options: localVarRequestOptions,
15574
- }];
15575
- });
15576
- });
15577
- },
15578
- };
15579
- };
15580
- exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
15581
- /**
15582
- * SearchApi - functional programming interface
15583
- * @export
15584
- */
15585
- var SearchApiFp = function (configuration) {
15586
- var localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
15587
- return {
15588
- /**
15589
- *
15590
- * @param {string} keyword
15591
- * @param {AutocompleteMode} [mode]
15592
- * @param {boolean} [fuzzy]
15593
- * @param {boolean} [highlights]
15594
- * @param {number} [size]
15595
- * @param {number} [minimumCoverage]
15596
- * @param {*} [options] Override http request option.
15597
- * @throws {RequiredError}
15598
- */
15599
- apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
15600
- return __awaiter(this, void 0, void 0, function () {
15601
- var localVarAxiosArgs;
15602
- return __generator(this, function (_a) {
15603
- switch (_a.label) {
15604
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options)];
15605
- case 1:
15606
- localVarAxiosArgs = _a.sent();
15607
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15608
- }
15609
- });
15610
- });
15611
- },
15612
- /**
15613
- *
15614
- * @param {string} [searchTerm]
15615
- * @param {boolean} [countOnly]
15616
- * @param {string} [countryId]
15617
- * @param {string} [hospitalId]
15618
- * @param {MarketingType} [marketingType]
15619
- * @param {string} [languageCode]
15620
- * @param {number} [page]
15621
- * @param {number} [limit]
15622
- * @param {Date} [lastRetrieved]
15623
- * @param {*} [options] Override http request option.
15624
- * @throws {RequiredError}
15625
- */
15626
- apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15627
- return __awaiter(this, void 0, void 0, function () {
15628
- var localVarAxiosArgs;
15629
- return __generator(this, function (_a) {
15630
- switch (_a.label) {
15631
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15632
- case 1:
15633
- localVarAxiosArgs = _a.sent();
15634
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15635
- }
15636
- });
15637
- });
15638
- },
15639
- /**
15640
- *
15641
- * @param {string} [searchTerm]
15642
- * @param {boolean} [countOnly]
15643
- * @param {string} [countryId]
15644
- * @param {string} [hospitalId]
15645
- * @param {MarketingType} [marketingType]
15646
- * @param {string} [languageCode]
15647
- * @param {number} [page]
15648
- * @param {number} [limit]
15649
- * @param {Date} [lastRetrieved]
15650
- * @param {*} [options] Override http request option.
15651
- * @throws {RequiredError}
15652
- */
15653
- apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15654
- return __awaiter(this, void 0, void 0, function () {
15655
- var localVarAxiosArgs;
15656
- return __generator(this, function (_a) {
15657
- switch (_a.label) {
15658
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15659
- case 1:
15660
- localVarAxiosArgs = _a.sent();
15661
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15662
- }
15663
- });
15664
- });
15665
- },
15666
- /**
15667
- *
15668
- * @param {string} [searchTerm]
15669
- * @param {boolean} [countOnly]
15670
- * @param {string} [countryId]
15671
- * @param {string} [hospitalId]
15672
- * @param {MarketingType} [marketingType]
15673
- * @param {string} [languageCode]
15674
- * @param {number} [page]
15675
- * @param {number} [limit]
15676
- * @param {Date} [lastRetrieved]
15677
- * @param {*} [options] Override http request option.
15678
- * @throws {RequiredError}
15679
- */
15680
- apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15681
- return __awaiter(this, void 0, void 0, function () {
15682
- var localVarAxiosArgs;
15683
- return __generator(this, function (_a) {
15684
- switch (_a.label) {
15685
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15686
- case 1:
15687
- localVarAxiosArgs = _a.sent();
15688
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15689
- }
15690
- });
15691
- });
15692
- },
15693
- /**
15694
- *
15695
- * @param {string} [searchTerm]
15696
- * @param {boolean} [countOnly]
15697
- * @param {string} [countryId]
15698
- * @param {string} [hospitalId]
15699
- * @param {MarketingType} [marketingType]
15700
- * @param {string} [languageCode]
15701
- * @param {number} [page]
15702
- * @param {number} [limit]
15703
- * @param {Date} [lastRetrieved]
15704
- * @param {*} [options] Override http request option.
15705
- * @throws {RequiredError}
15706
- */
15707
- apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15708
- return __awaiter(this, void 0, void 0, function () {
15709
- var localVarAxiosArgs;
15710
- return __generator(this, function (_a) {
15711
- switch (_a.label) {
15712
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15713
- case 1:
15714
- localVarAxiosArgs = _a.sent();
15715
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15716
- }
15717
- });
15718
- });
15719
- },
15720
- /**
15721
- *
15722
- * @param {string} [searchTerm]
15723
- * @param {boolean} [countOnly]
15724
- * @param {string} [countryId]
15725
- * @param {string} [hospitalId]
15726
- * @param {MarketingType} [marketingType]
15727
- * @param {string} [languageCode]
15728
- * @param {number} [page]
15729
- * @param {number} [limit]
15730
- * @param {Date} [lastRetrieved]
15731
- * @param {*} [options] Override http request option.
15732
- * @throws {RequiredError}
15733
- */
15734
- apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15735
- return __awaiter(this, void 0, void 0, function () {
15736
- var localVarAxiosArgs;
15737
- return __generator(this, function (_a) {
15738
- switch (_a.label) {
15739
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15740
- case 1:
15741
- localVarAxiosArgs = _a.sent();
15742
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15743
- }
15744
- });
15745
- });
15746
- },
15747
- /**
15748
- *
15749
- * @param {string} [searchTerm]
15750
- * @param {boolean} [countOnly]
15751
- * @param {string} [countryId]
15752
- * @param {string} [hospitalId]
15753
- * @param {MarketingType} [marketingType]
15754
- * @param {string} [languageCode]
15755
- * @param {number} [page]
15756
- * @param {number} [limit]
15757
- * @param {Date} [lastRetrieved]
15758
- * @param {*} [options] Override http request option.
15759
- * @throws {RequiredError}
15760
- */
15761
- apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15762
- return __awaiter(this, void 0, void 0, function () {
15763
- var localVarAxiosArgs;
15764
- return __generator(this, function (_a) {
15765
- switch (_a.label) {
15766
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
15767
- case 1:
15768
- localVarAxiosArgs = _a.sent();
15769
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15770
- }
15771
- });
15772
- });
15773
- },
15774
- /**
15775
- *
15776
- * @param {string} keyword
15777
- * @param {boolean} [fuzzy]
15778
- * @param {boolean} [highlights]
15779
- * @param {number} [size]
15780
- * @param {*} [options] Override http request option.
15781
- * @throws {RequiredError}
15782
- */
15783
- apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
15784
- return __awaiter(this, void 0, void 0, function () {
15785
- var localVarAxiosArgs;
15786
- return __generator(this, function (_a) {
15787
- switch (_a.label) {
15788
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options)];
15789
- case 1:
15790
- localVarAxiosArgs = _a.sent();
15791
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15792
- }
15793
- });
15794
- });
15795
- },
15796
- };
15797
- };
15798
- exports.SearchApiFp = SearchApiFp;
15799
- /**
15800
- * SearchApi - factory interface
15801
- * @export
15802
- */
15803
- var SearchApiFactory = function (configuration, basePath, axios) {
15804
- var localVarFp = (0, exports.SearchApiFp)(configuration);
15805
- return {
15806
- /**
15807
- *
15808
- * @param {string} keyword
15809
- * @param {AutocompleteMode} [mode]
15810
- * @param {boolean} [fuzzy]
15811
- * @param {boolean} [highlights]
15812
- * @param {number} [size]
15813
- * @param {number} [minimumCoverage]
15814
- * @param {*} [options] Override http request option.
15815
- * @throws {RequiredError}
15816
- */
15817
- apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
15818
- return localVarFp.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(axios, basePath); });
15819
- },
15820
- /**
15821
- *
15822
- * @param {string} [searchTerm]
15823
- * @param {boolean} [countOnly]
15824
- * @param {string} [countryId]
15825
- * @param {string} [hospitalId]
15826
- * @param {MarketingType} [marketingType]
15827
- * @param {string} [languageCode]
15828
- * @param {number} [page]
15829
- * @param {number} [limit]
15830
- * @param {Date} [lastRetrieved]
15831
- * @param {*} [options] Override http request option.
15832
- * @throws {RequiredError}
15833
- */
15834
- apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15835
- return localVarFp.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15836
- },
15837
- /**
15838
- *
15839
- * @param {string} [searchTerm]
15840
- * @param {boolean} [countOnly]
15841
- * @param {string} [countryId]
15842
- * @param {string} [hospitalId]
15843
- * @param {MarketingType} [marketingType]
15844
- * @param {string} [languageCode]
15845
- * @param {number} [page]
15846
- * @param {number} [limit]
15847
- * @param {Date} [lastRetrieved]
15848
- * @param {*} [options] Override http request option.
15849
- * @throws {RequiredError}
15850
- */
15851
- apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15852
- return localVarFp.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15853
- },
15854
- /**
15855
- *
15856
- * @param {string} [searchTerm]
15857
- * @param {boolean} [countOnly]
15858
- * @param {string} [countryId]
15859
- * @param {string} [hospitalId]
15860
- * @param {MarketingType} [marketingType]
15861
- * @param {string} [languageCode]
15862
- * @param {number} [page]
15863
- * @param {number} [limit]
15864
- * @param {Date} [lastRetrieved]
15215
+ },
15216
+ /**
15217
+ *
15218
+ * @summary Update Profile.
15219
+ * @param {UpdateProfileCommand} [updateProfileCommand]
15865
15220
  * @param {*} [options] Override http request option.
15866
15221
  * @throws {RequiredError}
15867
15222
  */
15868
- apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15869
- return localVarFp.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15223
+ apiV2ProfilesPut: function (updateProfileCommand, options) {
15224
+ return __awaiter(this, void 0, void 0, function () {
15225
+ var localVarAxiosArgs;
15226
+ return __generator(this, function (_a) {
15227
+ switch (_a.label) {
15228
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPut(updateProfileCommand, options)];
15229
+ case 1:
15230
+ localVarAxiosArgs = _a.sent();
15231
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15232
+ }
15233
+ });
15234
+ });
15870
15235
  },
15236
+ };
15237
+ };
15238
+ exports.ProfilesApiFp = ProfilesApiFp;
15239
+ /**
15240
+ * ProfilesApi - factory interface
15241
+ * @export
15242
+ */
15243
+ var ProfilesApiFactory = function (configuration, basePath, axios) {
15244
+ var localVarFp = (0, exports.ProfilesApiFp)(configuration);
15245
+ return {
15871
15246
  /**
15872
- *
15873
- * @param {string} [searchTerm]
15874
- * @param {boolean} [countOnly]
15875
- * @param {string} [countryId]
15876
- * @param {string} [hospitalId]
15877
- * @param {MarketingType} [marketingType]
15878
- * @param {string} [languageCode]
15879
- * @param {number} [page]
15880
- * @param {number} [limit]
15881
- * @param {Date} [lastRetrieved]
15247
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
15248
+ * @summary Change user\'s email on both Identity and Api.
15249
+ * @param {ChangeEmailCommand} [changeEmailCommand]
15882
15250
  * @param {*} [options] Override http request option.
15883
15251
  * @throws {RequiredError}
15884
15252
  */
15885
- apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15886
- return localVarFp.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15253
+ apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
15254
+ return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
15887
15255
  },
15888
15256
  /**
15889
15257
  *
15890
- * @param {string} [searchTerm]
15891
- * @param {boolean} [countOnly]
15892
- * @param {string} [countryId]
15893
- * @param {string} [hospitalId]
15894
- * @param {MarketingType} [marketingType]
15895
- * @param {string} [languageCode]
15896
- * @param {number} [page]
15897
- * @param {number} [limit]
15898
- * @param {Date} [lastRetrieved]
15258
+ * @summary Configm email.
15259
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
15899
15260
  * @param {*} [options] Override http request option.
15900
15261
  * @throws {RequiredError}
15901
15262
  */
15902
- apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15903
- return localVarFp.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15263
+ apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
15264
+ return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
15904
15265
  },
15905
15266
  /**
15906
15267
  *
15907
- * @param {string} [searchTerm]
15908
- * @param {boolean} [countOnly]
15909
- * @param {string} [countryId]
15910
- * @param {string} [hospitalId]
15911
- * @param {MarketingType} [marketingType]
15912
- * @param {string} [languageCode]
15913
- * @param {number} [page]
15914
- * @param {number} [limit]
15915
- * @param {Date} [lastRetrieved]
15268
+ * @summary Get Profile.
15916
15269
  * @param {*} [options] Override http request option.
15917
15270
  * @throws {RequiredError}
15918
15271
  */
15919
- apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15920
- return localVarFp.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15272
+ apiV2ProfilesGet: function (options) {
15273
+ return localVarFp.apiV2ProfilesGet(options).then(function (request) { return request(axios, basePath); });
15921
15274
  },
15922
15275
  /**
15923
15276
  *
15924
- * @param {string} keyword
15925
- * @param {boolean} [fuzzy]
15926
- * @param {boolean} [highlights]
15927
- * @param {number} [size]
15277
+ * @summary Update Profile.
15278
+ * @param {UpdateProfileCommand} [updateProfileCommand]
15928
15279
  * @param {*} [options] Override http request option.
15929
15280
  * @throws {RequiredError}
15930
15281
  */
15931
- apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
15932
- return localVarFp.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then(function (request) { return request(axios, basePath); });
15282
+ apiV2ProfilesPut: function (updateProfileCommand, options) {
15283
+ return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
15933
15284
  },
15934
15285
  };
15935
15286
  };
15936
- exports.SearchApiFactory = SearchApiFactory;
15287
+ exports.ProfilesApiFactory = ProfilesApiFactory;
15937
15288
  /**
15938
- * SearchApi - object-oriented interface
15289
+ * ProfilesApi - object-oriented interface
15939
15290
  * @export
15940
- * @class SearchApi
15291
+ * @class ProfilesApi
15941
15292
  * @extends {BaseAPI}
15942
15293
  */
15943
- var SearchApi = /** @class */ (function (_super) {
15944
- __extends(SearchApi, _super);
15945
- function SearchApi() {
15294
+ var ProfilesApi = /** @class */ (function (_super) {
15295
+ __extends(ProfilesApi, _super);
15296
+ function ProfilesApi() {
15946
15297
  return _super !== null && _super.apply(this, arguments) || this;
15947
15298
  }
15948
15299
  /**
15949
- *
15950
- * @param {string} keyword
15951
- * @param {AutocompleteMode} [mode]
15952
- * @param {boolean} [fuzzy]
15953
- * @param {boolean} [highlights]
15954
- * @param {number} [size]
15955
- * @param {number} [minimumCoverage]
15956
- * @param {*} [options] Override http request option.
15957
- * @throws {RequiredError}
15958
- * @memberof SearchApi
15959
- */
15960
- SearchApi.prototype.apiV2SearchAutocompleteGet = function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
15961
- var _this = this;
15962
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(_this.axios, _this.basePath); });
15963
- };
15964
- /**
15965
- *
15966
- * @param {string} [searchTerm]
15967
- * @param {boolean} [countOnly]
15968
- * @param {string} [countryId]
15969
- * @param {string} [hospitalId]
15970
- * @param {MarketingType} [marketingType]
15971
- * @param {string} [languageCode]
15972
- * @param {number} [page]
15973
- * @param {number} [limit]
15974
- * @param {Date} [lastRetrieved]
15975
- * @param {*} [options] Override http request option.
15976
- * @throws {RequiredError}
15977
- * @memberof SearchApi
15978
- */
15979
- SearchApi.prototype.apiV2SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15980
- var _this = this;
15981
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15982
- };
15983
- /**
15984
- *
15985
- * @param {string} [searchTerm]
15986
- * @param {boolean} [countOnly]
15987
- * @param {string} [countryId]
15988
- * @param {string} [hospitalId]
15989
- * @param {MarketingType} [marketingType]
15990
- * @param {string} [languageCode]
15991
- * @param {number} [page]
15992
- * @param {number} [limit]
15993
- * @param {Date} [lastRetrieved]
15994
- * @param {*} [options] Override http request option.
15995
- * @throws {RequiredError}
15996
- * @memberof SearchApi
15997
- */
15998
- SearchApi.prototype.apiV2SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15999
- var _this = this;
16000
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16001
- };
16002
- /**
16003
- *
16004
- * @param {string} [searchTerm]
16005
- * @param {boolean} [countOnly]
16006
- * @param {string} [countryId]
16007
- * @param {string} [hospitalId]
16008
- * @param {MarketingType} [marketingType]
16009
- * @param {string} [languageCode]
16010
- * @param {number} [page]
16011
- * @param {number} [limit]
16012
- * @param {Date} [lastRetrieved]
16013
- * @param {*} [options] Override http request option.
16014
- * @throws {RequiredError}
16015
- * @memberof SearchApi
16016
- */
16017
- SearchApi.prototype.apiV2SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
16018
- var _this = this;
16019
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16020
- };
16021
- /**
16022
- *
16023
- * @param {string} [searchTerm]
16024
- * @param {boolean} [countOnly]
16025
- * @param {string} [countryId]
16026
- * @param {string} [hospitalId]
16027
- * @param {MarketingType} [marketingType]
16028
- * @param {string} [languageCode]
16029
- * @param {number} [page]
16030
- * @param {number} [limit]
16031
- * @param {Date} [lastRetrieved]
15300
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
15301
+ * @summary Change user\'s email on both Identity and Api.
15302
+ * @param {ChangeEmailCommand} [changeEmailCommand]
16032
15303
  * @param {*} [options] Override http request option.
16033
15304
  * @throws {RequiredError}
16034
- * @memberof SearchApi
15305
+ * @memberof ProfilesApi
16035
15306
  */
16036
- SearchApi.prototype.apiV2SearchHospitalsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15307
+ ProfilesApi.prototype.apiV2ProfilesChangeemailPost = function (changeEmailCommand, options) {
16037
15308
  var _this = this;
16038
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15309
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
16039
15310
  };
16040
15311
  /**
16041
15312
  *
16042
- * @param {string} [searchTerm]
16043
- * @param {boolean} [countOnly]
16044
- * @param {string} [countryId]
16045
- * @param {string} [hospitalId]
16046
- * @param {MarketingType} [marketingType]
16047
- * @param {string} [languageCode]
16048
- * @param {number} [page]
16049
- * @param {number} [limit]
16050
- * @param {Date} [lastRetrieved]
15313
+ * @summary Configm email.
15314
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
16051
15315
  * @param {*} [options] Override http request option.
16052
15316
  * @throws {RequiredError}
16053
- * @memberof SearchApi
15317
+ * @memberof ProfilesApi
16054
15318
  */
16055
- SearchApi.prototype.apiV2SearchSpecialtiesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15319
+ ProfilesApi.prototype.apiV2ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
16056
15320
  var _this = this;
16057
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15321
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
16058
15322
  };
16059
15323
  /**
16060
15324
  *
16061
- * @param {string} [searchTerm]
16062
- * @param {boolean} [countOnly]
16063
- * @param {string} [countryId]
16064
- * @param {string} [hospitalId]
16065
- * @param {MarketingType} [marketingType]
16066
- * @param {string} [languageCode]
16067
- * @param {number} [page]
16068
- * @param {number} [limit]
16069
- * @param {Date} [lastRetrieved]
15325
+ * @summary Get Profile.
16070
15326
  * @param {*} [options] Override http request option.
16071
15327
  * @throws {RequiredError}
16072
- * @memberof SearchApi
15328
+ * @memberof ProfilesApi
16073
15329
  */
16074
- SearchApi.prototype.apiV2SearchSpecialtytypesGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
15330
+ ProfilesApi.prototype.apiV2ProfilesGet = function (options) {
16075
15331
  var _this = this;
16076
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15332
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
16077
15333
  };
16078
15334
  /**
16079
15335
  *
16080
- * @param {string} keyword
16081
- * @param {boolean} [fuzzy]
16082
- * @param {boolean} [highlights]
16083
- * @param {number} [size]
15336
+ * @summary Update Profile.
15337
+ * @param {UpdateProfileCommand} [updateProfileCommand]
16084
15338
  * @param {*} [options] Override http request option.
16085
15339
  * @throws {RequiredError}
16086
- * @memberof SearchApi
15340
+ * @memberof ProfilesApi
16087
15341
  */
16088
- SearchApi.prototype.apiV2SearchSuggestGet = function (keyword, fuzzy, highlights, size, options) {
15342
+ ProfilesApi.prototype.apiV2ProfilesPut = function (updateProfileCommand, options) {
16089
15343
  var _this = this;
16090
- return (0, exports.SearchApiFp)(this.configuration).apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options).then(function (request) { return request(_this.axios, _this.basePath); });
15344
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
16091
15345
  };
16092
- return SearchApi;
15346
+ return ProfilesApi;
16093
15347
  }(base_1.BaseAPI));
16094
- exports.SearchApi = SearchApi;
15348
+ exports.ProfilesApi = ProfilesApi;
16095
15349
  /**
16096
15350
  * ServiceReviewsApi - axios parameter creator
16097
15351
  * @export
@@ -16274,12 +15528,10 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
16274
15528
  /**
16275
15529
  *
16276
15530
  * @param {string} serviceReviewId
16277
- * @param {string} [languageCode]
16278
- * @param {boolean} [returnDefaultValue]
16279
15531
  * @param {*} [options] Override http request option.
16280
15532
  * @throws {RequiredError}
16281
15533
  */
16282
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
15534
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
16283
15535
  if (options === void 0) { options = {}; }
16284
15536
  return __awaiter(_this, void 0, void 0, function () {
16285
15537
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -16295,12 +15547,6 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
16295
15547
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
16296
15548
  localVarHeaderParameter = {};
16297
15549
  localVarQueryParameter = {};
16298
- if (languageCode !== undefined) {
16299
- localVarQueryParameter['languageCode'] = languageCode;
16300
- }
16301
- if (returnDefaultValue !== undefined) {
16302
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
16303
- }
16304
15550
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16305
15551
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16306
15552
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -16678,17 +15924,15 @@ var ServiceReviewsApiFp = function (configuration) {
16678
15924
  /**
16679
15925
  *
16680
15926
  * @param {string} serviceReviewId
16681
- * @param {string} [languageCode]
16682
- * @param {boolean} [returnDefaultValue]
16683
15927
  * @param {*} [options] Override http request option.
16684
15928
  * @throws {RequiredError}
16685
15929
  */
16686
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
15930
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
16687
15931
  return __awaiter(this, void 0, void 0, function () {
16688
15932
  var localVarAxiosArgs;
16689
15933
  return __generator(this, function (_a) {
16690
15934
  switch (_a.label) {
16691
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options)];
15935
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
16692
15936
  case 1:
16693
15937
  localVarAxiosArgs = _a.sent();
16694
15938
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16883,13 +16127,11 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
16883
16127
  /**
16884
16128
  *
16885
16129
  * @param {string} serviceReviewId
16886
- * @param {string} [languageCode]
16887
- * @param {boolean} [returnDefaultValue]
16888
16130
  * @param {*} [options] Override http request option.
16889
16131
  * @throws {RequiredError}
16890
16132
  */
16891
- apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
16892
- return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
16133
+ apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
16134
+ return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
16893
16135
  },
16894
16136
  /**
16895
16137
  *
@@ -17028,15 +16270,13 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
17028
16270
  /**
17029
16271
  *
17030
16272
  * @param {string} serviceReviewId
17031
- * @param {string} [languageCode]
17032
- * @param {boolean} [returnDefaultValue]
17033
16273
  * @param {*} [options] Override http request option.
17034
16274
  * @throws {RequiredError}
17035
16275
  * @memberof ServiceReviewsApi
17036
16276
  */
17037
- ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, returnDefaultValue, options) {
16277
+ ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
17038
16278
  var _this = this;
17039
- return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
16279
+ return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17040
16280
  };
17041
16281
  /**
17042
16282
  *
@@ -17134,12 +16374,12 @@ var ServicesApiAxiosParamCreator = function (configuration) {
17134
16374
  /**
17135
16375
  *
17136
16376
  * @summary Get all HospitalServices.
16377
+ * @param {string} [id]
16378
+ * @param {string} [name]
16379
+ * @param {string} [slug]
17137
16380
  * @param {string} [hospitalId]
17138
16381
  * @param {string} [hospitalName]
17139
16382
  * @param {string} [hospitalSlug]
17140
- * @param {string} [id]
17141
- * @param {string} [name]
17142
- * @param {string} [description]
17143
16383
  * @param {string} [specialtyId]
17144
16384
  * @param {string} [specialtyName]
17145
16385
  * @param {string} [specialtyTypeId]
@@ -17156,7 +16396,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
17156
16396
  * @param {*} [options] Override http request option.
17157
16397
  * @throws {RequiredError}
17158
16398
  */
17159
- apiV2ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16399
+ apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
17160
16400
  if (options === void 0) { options = {}; }
17161
16401
  return __awaiter(_this, void 0, void 0, function () {
17162
16402
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -17169,6 +16409,15 @@ var ServicesApiAxiosParamCreator = function (configuration) {
17169
16409
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
17170
16410
  localVarHeaderParameter = {};
17171
16411
  localVarQueryParameter = {};
16412
+ if (id !== undefined) {
16413
+ localVarQueryParameter['Id'] = id;
16414
+ }
16415
+ if (name !== undefined) {
16416
+ localVarQueryParameter['Name'] = name;
16417
+ }
16418
+ if (slug !== undefined) {
16419
+ localVarQueryParameter['Slug'] = slug;
16420
+ }
17172
16421
  if (hospitalId !== undefined) {
17173
16422
  localVarQueryParameter['HospitalId'] = hospitalId;
17174
16423
  }
@@ -17178,15 +16427,6 @@ var ServicesApiAxiosParamCreator = function (configuration) {
17178
16427
  if (hospitalSlug !== undefined) {
17179
16428
  localVarQueryParameter['HospitalSlug'] = hospitalSlug;
17180
16429
  }
17181
- if (id !== undefined) {
17182
- localVarQueryParameter['Id'] = id;
17183
- }
17184
- if (name !== undefined) {
17185
- localVarQueryParameter['Name'] = name;
17186
- }
17187
- if (description !== undefined) {
17188
- localVarQueryParameter['Description'] = description;
17189
- }
17190
16430
  if (specialtyId !== undefined) {
17191
16431
  localVarQueryParameter['SpecialtyId'] = specialtyId;
17192
16432
  }
@@ -17333,12 +16573,12 @@ var ServicesApiFp = function (configuration) {
17333
16573
  /**
17334
16574
  *
17335
16575
  * @summary Get all HospitalServices.
16576
+ * @param {string} [id]
16577
+ * @param {string} [name]
16578
+ * @param {string} [slug]
17336
16579
  * @param {string} [hospitalId]
17337
16580
  * @param {string} [hospitalName]
17338
16581
  * @param {string} [hospitalSlug]
17339
- * @param {string} [id]
17340
- * @param {string} [name]
17341
- * @param {string} [description]
17342
16582
  * @param {string} [specialtyId]
17343
16583
  * @param {string} [specialtyName]
17344
16584
  * @param {string} [specialtyTypeId]
@@ -17355,12 +16595,12 @@ var ServicesApiFp = function (configuration) {
17355
16595
  * @param {*} [options] Override http request option.
17356
16596
  * @throws {RequiredError}
17357
16597
  */
17358
- apiV2ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16598
+ apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
17359
16599
  return __awaiter(this, void 0, void 0, function () {
17360
16600
  var localVarAxiosArgs;
17361
16601
  return __generator(this, function (_a) {
17362
16602
  switch (_a.label) {
17363
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
16603
+ 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)];
17364
16604
  case 1:
17365
16605
  localVarAxiosArgs = _a.sent();
17366
16606
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -17423,12 +16663,12 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
17423
16663
  /**
17424
16664
  *
17425
16665
  * @summary Get all HospitalServices.
16666
+ * @param {string} [id]
16667
+ * @param {string} [name]
16668
+ * @param {string} [slug]
17426
16669
  * @param {string} [hospitalId]
17427
16670
  * @param {string} [hospitalName]
17428
16671
  * @param {string} [hospitalSlug]
17429
- * @param {string} [id]
17430
- * @param {string} [name]
17431
- * @param {string} [description]
17432
16672
  * @param {string} [specialtyId]
17433
16673
  * @param {string} [specialtyName]
17434
16674
  * @param {string} [specialtyTypeId]
@@ -17445,8 +16685,8 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
17445
16685
  * @param {*} [options] Override http request option.
17446
16686
  * @throws {RequiredError}
17447
16687
  */
17448
- apiV2ServicesGet: function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
17449
- return localVarFp.apiV2ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16688
+ apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16689
+ 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); });
17450
16690
  },
17451
16691
  /**
17452
16692
  *
@@ -17487,12 +16727,12 @@ var ServicesApi = /** @class */ (function (_super) {
17487
16727
  /**
17488
16728
  *
17489
16729
  * @summary Get all HospitalServices.
16730
+ * @param {string} [id]
16731
+ * @param {string} [name]
16732
+ * @param {string} [slug]
17490
16733
  * @param {string} [hospitalId]
17491
16734
  * @param {string} [hospitalName]
17492
16735
  * @param {string} [hospitalSlug]
17493
- * @param {string} [id]
17494
- * @param {string} [name]
17495
- * @param {string} [description]
17496
16736
  * @param {string} [specialtyId]
17497
16737
  * @param {string} [specialtyName]
17498
16738
  * @param {string} [specialtyTypeId]
@@ -17510,9 +16750,9 @@ var ServicesApi = /** @class */ (function (_super) {
17510
16750
  * @throws {RequiredError}
17511
16751
  * @memberof ServicesApi
17512
16752
  */
17513
- ServicesApi.prototype.apiV2ServicesGet = function (hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
16753
+ ServicesApi.prototype.apiV2ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
17514
16754
  var _this = this;
17515
- return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16755
+ 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); });
17516
16756
  };
17517
16757
  /**
17518
16758
  *
@@ -18503,9 +17743,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18503
17743
  * @param {MarketingType} [marketingType]
18504
17744
  * @param {string} [hospitalId]
18505
17745
  * @param {Date} [created]
18506
- * @param {string} [languageCode]
18507
17746
  * @param {Array<string>} [ids]
18508
17747
  * @param {string} [specialtyTypeCategoryId]
17748
+ * @param {string} [languageCode]
17749
+ * @param {boolean} [showHidden]
18509
17750
  * @param {boolean} [returnDefaultValue]
18510
17751
  * @param {number} [page]
18511
17752
  * @param {number} [limit]
@@ -18513,7 +17754,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18513
17754
  * @param {*} [options] Override http request option.
18514
17755
  * @throws {RequiredError}
18515
17756
  */
18516
- apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
17757
+ apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18517
17758
  if (options === void 0) { options = {}; }
18518
17759
  return __awaiter(_this, void 0, void 0, function () {
18519
17760
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18546,15 +17787,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18546
17787
  created.toISOString() :
18547
17788
  created;
18548
17789
  }
18549
- if (languageCode !== undefined) {
18550
- localVarQueryParameter['LanguageCode'] = languageCode;
18551
- }
18552
17790
  if (ids) {
18553
17791
  localVarQueryParameter['Ids'] = ids;
18554
17792
  }
18555
17793
  if (specialtyTypeCategoryId !== undefined) {
18556
17794
  localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
18557
17795
  }
17796
+ if (languageCode !== undefined) {
17797
+ localVarQueryParameter['LanguageCode'] = languageCode;
17798
+ }
17799
+ if (showHidden !== undefined) {
17800
+ localVarQueryParameter['ShowHidden'] = showHidden;
17801
+ }
18558
17802
  if (returnDefaultValue !== undefined) {
18559
17803
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18560
17804
  }
@@ -18588,9 +17832,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18588
17832
  * @param {MarketingType} [marketingType]
18589
17833
  * @param {string} [hospitalId]
18590
17834
  * @param {Date} [created]
18591
- * @param {string} [languageCode]
18592
17835
  * @param {Array<string>} [ids]
18593
17836
  * @param {string} [specialtyTypeCategoryId]
17837
+ * @param {string} [languageCode]
17838
+ * @param {boolean} [showHidden]
18594
17839
  * @param {boolean} [returnDefaultValue]
18595
17840
  * @param {number} [page]
18596
17841
  * @param {number} [limit]
@@ -18598,7 +17843,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18598
17843
  * @param {*} [options] Override http request option.
18599
17844
  * @throws {RequiredError}
18600
17845
  */
18601
- apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
17846
+ apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18602
17847
  if (options === void 0) { options = {}; }
18603
17848
  return __awaiter(_this, void 0, void 0, function () {
18604
17849
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18631,15 +17876,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
18631
17876
  created.toISOString() :
18632
17877
  created;
18633
17878
  }
18634
- if (languageCode !== undefined) {
18635
- localVarQueryParameter['LanguageCode'] = languageCode;
18636
- }
18637
17879
  if (ids) {
18638
17880
  localVarQueryParameter['Ids'] = ids;
18639
17881
  }
18640
17882
  if (specialtyTypeCategoryId !== undefined) {
18641
17883
  localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
18642
17884
  }
17885
+ if (languageCode !== undefined) {
17886
+ localVarQueryParameter['LanguageCode'] = languageCode;
17887
+ }
17888
+ if (showHidden !== undefined) {
17889
+ localVarQueryParameter['ShowHidden'] = showHidden;
17890
+ }
18643
17891
  if (returnDefaultValue !== undefined) {
18644
17892
  localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18645
17893
  }
@@ -18855,9 +18103,10 @@ var SpecialtyTypesApiFp = function (configuration) {
18855
18103
  * @param {MarketingType} [marketingType]
18856
18104
  * @param {string} [hospitalId]
18857
18105
  * @param {Date} [created]
18858
- * @param {string} [languageCode]
18859
18106
  * @param {Array<string>} [ids]
18860
18107
  * @param {string} [specialtyTypeCategoryId]
18108
+ * @param {string} [languageCode]
18109
+ * @param {boolean} [showHidden]
18861
18110
  * @param {boolean} [returnDefaultValue]
18862
18111
  * @param {number} [page]
18863
18112
  * @param {number} [limit]
@@ -18865,12 +18114,12 @@ var SpecialtyTypesApiFp = function (configuration) {
18865
18114
  * @param {*} [options] Override http request option.
18866
18115
  * @throws {RequiredError}
18867
18116
  */
18868
- apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
18117
+ apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18869
18118
  return __awaiter(this, void 0, void 0, function () {
18870
18119
  var localVarAxiosArgs;
18871
18120
  return __generator(this, function (_a) {
18872
18121
  switch (_a.label) {
18873
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
18122
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
18874
18123
  case 1:
18875
18124
  localVarAxiosArgs = _a.sent();
18876
18125
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18887,9 +18136,10 @@ var SpecialtyTypesApiFp = function (configuration) {
18887
18136
  * @param {MarketingType} [marketingType]
18888
18137
  * @param {string} [hospitalId]
18889
18138
  * @param {Date} [created]
18890
- * @param {string} [languageCode]
18891
18139
  * @param {Array<string>} [ids]
18892
18140
  * @param {string} [specialtyTypeCategoryId]
18141
+ * @param {string} [languageCode]
18142
+ * @param {boolean} [showHidden]
18893
18143
  * @param {boolean} [returnDefaultValue]
18894
18144
  * @param {number} [page]
18895
18145
  * @param {number} [limit]
@@ -18897,12 +18147,12 @@ var SpecialtyTypesApiFp = function (configuration) {
18897
18147
  * @param {*} [options] Override http request option.
18898
18148
  * @throws {RequiredError}
18899
18149
  */
18900
- apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
18150
+ apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18901
18151
  return __awaiter(this, void 0, void 0, function () {
18902
18152
  var localVarAxiosArgs;
18903
18153
  return __generator(this, function (_a) {
18904
18154
  switch (_a.label) {
18905
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options)];
18155
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
18906
18156
  case 1:
18907
18157
  localVarAxiosArgs = _a.sent();
18908
18158
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -19017,9 +18267,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
19017
18267
  * @param {MarketingType} [marketingType]
19018
18268
  * @param {string} [hospitalId]
19019
18269
  * @param {Date} [created]
19020
- * @param {string} [languageCode]
19021
18270
  * @param {Array<string>} [ids]
19022
18271
  * @param {string} [specialtyTypeCategoryId]
18272
+ * @param {string} [languageCode]
18273
+ * @param {boolean} [showHidden]
19023
18274
  * @param {boolean} [returnDefaultValue]
19024
18275
  * @param {number} [page]
19025
18276
  * @param {number} [limit]
@@ -19027,8 +18278,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
19027
18278
  * @param {*} [options] Override http request option.
19028
18279
  * @throws {RequiredError}
19029
18280
  */
19030
- apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
19031
- return localVarFp.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18281
+ apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18282
+ 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); });
19032
18283
  },
19033
18284
  /**
19034
18285
  *
@@ -19039,9 +18290,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
19039
18290
  * @param {MarketingType} [marketingType]
19040
18291
  * @param {string} [hospitalId]
19041
18292
  * @param {Date} [created]
19042
- * @param {string} [languageCode]
19043
18293
  * @param {Array<string>} [ids]
19044
18294
  * @param {string} [specialtyTypeCategoryId]
18295
+ * @param {string} [languageCode]
18296
+ * @param {boolean} [showHidden]
19045
18297
  * @param {boolean} [returnDefaultValue]
19046
18298
  * @param {number} [page]
19047
18299
  * @param {number} [limit]
@@ -19049,8 +18301,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
19049
18301
  * @param {*} [options] Override http request option.
19050
18302
  * @throws {RequiredError}
19051
18303
  */
19052
- apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
19053
- return localVarFp.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18304
+ apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
18305
+ 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); });
19054
18306
  },
19055
18307
  /**
19056
18308
  *
@@ -19123,9 +18375,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
19123
18375
  * @param {MarketingType} [marketingType]
19124
18376
  * @param {string} [hospitalId]
19125
18377
  * @param {Date} [created]
19126
- * @param {string} [languageCode]
19127
18378
  * @param {Array<string>} [ids]
19128
18379
  * @param {string} [specialtyTypeCategoryId]
18380
+ * @param {string} [languageCode]
18381
+ * @param {boolean} [showHidden]
19129
18382
  * @param {boolean} [returnDefaultValue]
19130
18383
  * @param {number} [page]
19131
18384
  * @param {number} [limit]
@@ -19134,9 +18387,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
19134
18387
  * @throws {RequiredError}
19135
18388
  * @memberof SpecialtyTypesApi
19136
18389
  */
19137
- SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
18390
+ SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
19138
18391
  var _this = this;
19139
- return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18392
+ 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); });
19140
18393
  };
19141
18394
  /**
19142
18395
  *
@@ -19147,9 +18400,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
19147
18400
  * @param {MarketingType} [marketingType]
19148
18401
  * @param {string} [hospitalId]
19149
18402
  * @param {Date} [created]
19150
- * @param {string} [languageCode]
19151
18403
  * @param {Array<string>} [ids]
19152
18404
  * @param {string} [specialtyTypeCategoryId]
18405
+ * @param {string} [languageCode]
18406
+ * @param {boolean} [showHidden]
19153
18407
  * @param {boolean} [returnDefaultValue]
19154
18408
  * @param {number} [page]
19155
18409
  * @param {number} [limit]
@@ -19158,9 +18412,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
19158
18412
  * @throws {RequiredError}
19159
18413
  * @memberof SpecialtyTypesApi
19160
18414
  */
19161
- SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options) {
18415
+ SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
19162
18416
  var _this = this;
19163
- return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, languageCode, ids, specialtyTypeCategoryId, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18417
+ 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); });
19164
18418
  };
19165
18419
  /**
19166
18420
  *