ch-api-client-typescript2 3.2.4 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1152 -1777
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +776 -1692
- package/package.json +1 -1
- package/src/api.ts +1520 -2615
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.
|
|
82
|
-
exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory =
|
|
83
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.
|
|
81
|
+
exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
82
|
+
exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
|
|
83
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -98,17 +98,6 @@ var ArticleStatus;
|
|
|
98
98
|
ArticleStatus["Active"] = "Active";
|
|
99
99
|
ArticleStatus["Archived"] = "Archived";
|
|
100
100
|
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @export
|
|
104
|
-
* @enum {string}
|
|
105
|
-
*/
|
|
106
|
-
var AutocompleteMode;
|
|
107
|
-
(function (AutocompleteMode) {
|
|
108
|
-
AutocompleteMode["OneTerm"] = "OneTerm";
|
|
109
|
-
AutocompleteMode["TwoTerms"] = "TwoTerms";
|
|
110
|
-
AutocompleteMode["OneTermWithContext"] = "OneTermWithContext";
|
|
111
|
-
})(AutocompleteMode = exports.AutocompleteMode || (exports.AutocompleteMode = {}));
|
|
112
101
|
/**
|
|
113
102
|
*
|
|
114
103
|
* @export
|
|
@@ -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} [
|
|
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,
|
|
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 (
|
|
374
|
-
localVarQueryParameter['
|
|
375
|
-
}
|
|
376
|
-
if (normalizedOverviewTitle !== undefined) {
|
|
377
|
-
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
378
|
-
}
|
|
379
|
-
if (overview !== undefined) {
|
|
380
|
-
localVarQueryParameter['Overview'] = overview;
|
|
381
|
-
}
|
|
382
|
-
if (content !== undefined) {
|
|
383
|
-
localVarQueryParameter['Content'] = content;
|
|
384
|
-
}
|
|
385
|
-
if (customStyle !== undefined) {
|
|
386
|
-
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
387
|
-
}
|
|
388
|
-
if (background !== undefined) {
|
|
389
|
-
localVarQueryParameter['Background'] = background;
|
|
390
|
-
}
|
|
391
|
-
if (backgroundThumbnail !== undefined) {
|
|
392
|
-
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
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} [
|
|
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,
|
|
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,
|
|
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} [
|
|
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,
|
|
626
|
-
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug,
|
|
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} [
|
|
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,
|
|
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,
|
|
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,
|
|
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} [
|
|
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,
|
|
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 (
|
|
1420
|
-
localVarQueryParameter['
|
|
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,
|
|
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,
|
|
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} [
|
|
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,
|
|
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,
|
|
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,
|
|
1845
|
-
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email,
|
|
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} [
|
|
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,
|
|
1961
|
-
return localVarFp.apiV2ArticlesGet(id,
|
|
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,
|
|
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,
|
|
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} [
|
|
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,
|
|
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,
|
|
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
|
*
|
|
@@ -2218,49 +2160,6 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2218
2160
|
});
|
|
2219
2161
|
});
|
|
2220
2162
|
},
|
|
2221
|
-
/**
|
|
2222
|
-
*
|
|
2223
|
-
* @summary Mark as Paid booking.
|
|
2224
|
-
* @param {string} bookingId
|
|
2225
|
-
* @param {*} [options] Override http request option.
|
|
2226
|
-
* @throws {RequiredError}
|
|
2227
|
-
*/
|
|
2228
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2229
|
-
if (options === void 0) { options = {}; }
|
|
2230
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2231
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2232
|
-
return __generator(this, function (_a) {
|
|
2233
|
-
switch (_a.label) {
|
|
2234
|
-
case 0:
|
|
2235
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2236
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId);
|
|
2237
|
-
localVarPath = "/api/v2/bookings/{bookingId}/paid"
|
|
2238
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2239
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2240
|
-
if (configuration) {
|
|
2241
|
-
baseOptions = configuration.baseOptions;
|
|
2242
|
-
}
|
|
2243
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2244
|
-
localVarHeaderParameter = {};
|
|
2245
|
-
localVarQueryParameter = {};
|
|
2246
|
-
// authentication oauth2 required
|
|
2247
|
-
// oauth required
|
|
2248
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2249
|
-
case 1:
|
|
2250
|
-
// authentication oauth2 required
|
|
2251
|
-
// oauth required
|
|
2252
|
-
_a.sent();
|
|
2253
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2254
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2255
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2256
|
-
return [2 /*return*/, {
|
|
2257
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2258
|
-
options: localVarRequestOptions,
|
|
2259
|
-
}];
|
|
2260
|
-
}
|
|
2261
|
-
});
|
|
2262
|
-
});
|
|
2263
|
-
},
|
|
2264
2163
|
/**
|
|
2265
2164
|
*
|
|
2266
2165
|
* @summary Pay booking.
|
|
@@ -2503,26 +2402,6 @@ var BookingsApiFp = function (configuration) {
|
|
|
2503
2402
|
});
|
|
2504
2403
|
});
|
|
2505
2404
|
},
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @summary Mark as Paid booking.
|
|
2509
|
-
* @param {string} bookingId
|
|
2510
|
-
* @param {*} [options] Override http request option.
|
|
2511
|
-
* @throws {RequiredError}
|
|
2512
|
-
*/
|
|
2513
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2514
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2515
|
-
var localVarAxiosArgs;
|
|
2516
|
-
return __generator(this, function (_a) {
|
|
2517
|
-
switch (_a.label) {
|
|
2518
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options)];
|
|
2519
|
-
case 1:
|
|
2520
|
-
localVarAxiosArgs = _a.sent();
|
|
2521
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2522
|
-
}
|
|
2523
|
-
});
|
|
2524
|
-
});
|
|
2525
|
-
},
|
|
2526
2405
|
/**
|
|
2527
2406
|
*
|
|
2528
2407
|
* @summary Pay booking.
|
|
@@ -2633,16 +2512,6 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2633
2512
|
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2634
2513
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2635
2514
|
},
|
|
2636
|
-
/**
|
|
2637
|
-
*
|
|
2638
|
-
* @summary Mark as Paid booking.
|
|
2639
|
-
* @param {string} bookingId
|
|
2640
|
-
* @param {*} [options] Override http request option.
|
|
2641
|
-
* @throws {RequiredError}
|
|
2642
|
-
*/
|
|
2643
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2644
|
-
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2645
|
-
},
|
|
2646
2515
|
/**
|
|
2647
2516
|
*
|
|
2648
2517
|
* @summary Pay booking.
|
|
@@ -2719,18 +2588,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2719
2588
|
var _this = this;
|
|
2720
2589
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2721
2590
|
};
|
|
2722
|
-
/**
|
|
2723
|
-
*
|
|
2724
|
-
* @summary Mark as Paid booking.
|
|
2725
|
-
* @param {string} bookingId
|
|
2726
|
-
* @param {*} [options] Override http request option.
|
|
2727
|
-
* @throws {RequiredError}
|
|
2728
|
-
* @memberof BookingsApi
|
|
2729
|
-
*/
|
|
2730
|
-
BookingsApi.prototype.apiV2BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
2731
|
-
var _this = this;
|
|
2732
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2733
|
-
};
|
|
2734
2591
|
/**
|
|
2735
2592
|
*
|
|
2736
2593
|
* @summary Pay booking.
|
|
@@ -3696,49 +3553,6 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3696
3553
|
});
|
|
3697
3554
|
});
|
|
3698
3555
|
},
|
|
3699
|
-
/**
|
|
3700
|
-
*
|
|
3701
|
-
* @summary Mark as Paid booking.
|
|
3702
|
-
* @param {string} consultationId
|
|
3703
|
-
* @param {*} [options] Override http request option.
|
|
3704
|
-
* @throws {RequiredError}
|
|
3705
|
-
*/
|
|
3706
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3707
|
-
if (options === void 0) { options = {}; }
|
|
3708
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
3709
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3710
|
-
return __generator(this, function (_a) {
|
|
3711
|
-
switch (_a.label) {
|
|
3712
|
-
case 0:
|
|
3713
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
3714
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
|
|
3715
|
-
localVarPath = "/api/v2/consultations/{consultationId}/paid"
|
|
3716
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
3717
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3718
|
-
if (configuration) {
|
|
3719
|
-
baseOptions = configuration.baseOptions;
|
|
3720
|
-
}
|
|
3721
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3722
|
-
localVarHeaderParameter = {};
|
|
3723
|
-
localVarQueryParameter = {};
|
|
3724
|
-
// authentication oauth2 required
|
|
3725
|
-
// oauth required
|
|
3726
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
3727
|
-
case 1:
|
|
3728
|
-
// authentication oauth2 required
|
|
3729
|
-
// oauth required
|
|
3730
|
-
_a.sent();
|
|
3731
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3732
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3733
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3734
|
-
return [2 /*return*/, {
|
|
3735
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3736
|
-
options: localVarRequestOptions,
|
|
3737
|
-
}];
|
|
3738
|
-
}
|
|
3739
|
-
});
|
|
3740
|
-
});
|
|
3741
|
-
},
|
|
3742
3556
|
/**
|
|
3743
3557
|
*
|
|
3744
3558
|
* @summary Pay consultation.
|
|
@@ -3981,26 +3795,6 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3981
3795
|
});
|
|
3982
3796
|
});
|
|
3983
3797
|
},
|
|
3984
|
-
/**
|
|
3985
|
-
*
|
|
3986
|
-
* @summary Mark as Paid booking.
|
|
3987
|
-
* @param {string} consultationId
|
|
3988
|
-
* @param {*} [options] Override http request option.
|
|
3989
|
-
* @throws {RequiredError}
|
|
3990
|
-
*/
|
|
3991
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3992
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3993
|
-
var localVarAxiosArgs;
|
|
3994
|
-
return __generator(this, function (_a) {
|
|
3995
|
-
switch (_a.label) {
|
|
3996
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options)];
|
|
3997
|
-
case 1:
|
|
3998
|
-
localVarAxiosArgs = _a.sent();
|
|
3999
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4000
|
-
}
|
|
4001
|
-
});
|
|
4002
|
-
});
|
|
4003
|
-
},
|
|
4004
3798
|
/**
|
|
4005
3799
|
*
|
|
4006
3800
|
* @summary Pay consultation.
|
|
@@ -4111,16 +3905,6 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
4111
3905
|
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
4112
3906
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4113
3907
|
},
|
|
4114
|
-
/**
|
|
4115
|
-
*
|
|
4116
|
-
* @summary Mark as Paid booking.
|
|
4117
|
-
* @param {string} consultationId
|
|
4118
|
-
* @param {*} [options] Override http request option.
|
|
4119
|
-
* @throws {RequiredError}
|
|
4120
|
-
*/
|
|
4121
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
4122
|
-
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4123
|
-
},
|
|
4124
3908
|
/**
|
|
4125
3909
|
*
|
|
4126
3910
|
* @summary Pay consultation.
|
|
@@ -4197,18 +3981,6 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4197
3981
|
var _this = this;
|
|
4198
3982
|
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4199
3983
|
};
|
|
4200
|
-
/**
|
|
4201
|
-
*
|
|
4202
|
-
* @summary Mark as Paid booking.
|
|
4203
|
-
* @param {string} consultationId
|
|
4204
|
-
* @param {*} [options] Override http request option.
|
|
4205
|
-
* @throws {RequiredError}
|
|
4206
|
-
* @memberof ConsultationsApi
|
|
4207
|
-
*/
|
|
4208
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdPaidPost = function (consultationId, options) {
|
|
4209
|
-
var _this = this;
|
|
4210
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4211
|
-
};
|
|
4212
3984
|
/**
|
|
4213
3985
|
*
|
|
4214
3986
|
* @summary Pay consultation.
|
|
@@ -4424,7 +4196,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4424
4196
|
* @param {string} [id]
|
|
4425
4197
|
* @param {string} [name]
|
|
4426
4198
|
* @param {string} [email]
|
|
4427
|
-
* @param {string} [description]
|
|
4428
4199
|
* @param {string} [website]
|
|
4429
4200
|
* @param {string} [hospitalId]
|
|
4430
4201
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4437,7 +4208,7 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4437
4208
|
* @param {*} [options] Override http request option.
|
|
4438
4209
|
* @throws {RequiredError}
|
|
4439
4210
|
*/
|
|
4440
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4211
|
+
apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4441
4212
|
if (options === void 0) { options = {}; }
|
|
4442
4213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4443
4214
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4459,9 +4230,6 @@ var ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
4459
4230
|
if (email !== undefined) {
|
|
4460
4231
|
localVarQueryParameter['Email'] = email;
|
|
4461
4232
|
}
|
|
4462
|
-
if (description !== undefined) {
|
|
4463
|
-
localVarQueryParameter['Description'] = description;
|
|
4464
|
-
}
|
|
4465
4233
|
if (website !== undefined) {
|
|
4466
4234
|
localVarQueryParameter['Website'] = website;
|
|
4467
4235
|
}
|
|
@@ -4628,7 +4396,6 @@ var ContributorsApiFp = function (configuration) {
|
|
|
4628
4396
|
* @param {string} [id]
|
|
4629
4397
|
* @param {string} [name]
|
|
4630
4398
|
* @param {string} [email]
|
|
4631
|
-
* @param {string} [description]
|
|
4632
4399
|
* @param {string} [website]
|
|
4633
4400
|
* @param {string} [hospitalId]
|
|
4634
4401
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4641,12 +4408,12 @@ var ContributorsApiFp = function (configuration) {
|
|
|
4641
4408
|
* @param {*} [options] Override http request option.
|
|
4642
4409
|
* @throws {RequiredError}
|
|
4643
4410
|
*/
|
|
4644
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4411
|
+
apiV2ContributorsGet: function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4645
4412
|
return __awaiter(this, void 0, void 0, function () {
|
|
4646
4413
|
var localVarAxiosArgs;
|
|
4647
4414
|
return __generator(this, function (_a) {
|
|
4648
4415
|
switch (_a.label) {
|
|
4649
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email,
|
|
4416
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
4650
4417
|
case 1:
|
|
4651
4418
|
localVarAxiosArgs = _a.sent();
|
|
4652
4419
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4732,7 +4499,6 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
4732
4499
|
* @param {string} [id]
|
|
4733
4500
|
* @param {string} [name]
|
|
4734
4501
|
* @param {string} [email]
|
|
4735
|
-
* @param {string} [description]
|
|
4736
4502
|
* @param {string} [website]
|
|
4737
4503
|
* @param {string} [hospitalId]
|
|
4738
4504
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4745,8 +4511,8 @@ var ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
4745
4511
|
* @param {*} [options] Override http request option.
|
|
4746
4512
|
* @throws {RequiredError}
|
|
4747
4513
|
*/
|
|
4748
|
-
apiV2ContributorsGet: function (id, name, email,
|
|
4749
|
-
return localVarFp.apiV2ContributorsGet(id, name, email,
|
|
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); });
|
|
4750
4516
|
},
|
|
4751
4517
|
/**
|
|
4752
4518
|
*
|
|
@@ -4826,7 +4592,6 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
4826
4592
|
* @param {string} [id]
|
|
4827
4593
|
* @param {string} [name]
|
|
4828
4594
|
* @param {string} [email]
|
|
4829
|
-
* @param {string} [description]
|
|
4830
4595
|
* @param {string} [website]
|
|
4831
4596
|
* @param {string} [hospitalId]
|
|
4832
4597
|
* @param {boolean} [interviewerOnly]
|
|
@@ -4840,9 +4605,9 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
4840
4605
|
* @throws {RequiredError}
|
|
4841
4606
|
* @memberof ContributorsApi
|
|
4842
4607
|
*/
|
|
4843
|
-
ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email,
|
|
4608
|
+
ContributorsApi.prototype.apiV2ContributorsGet = function (id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
4844
4609
|
var _this = this;
|
|
4845
|
-
return (0, exports.ContributorsApiFp)(this.configuration).apiV2ContributorsGet(id, name, email,
|
|
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); });
|
|
4846
4611
|
};
|
|
4847
4612
|
/**
|
|
4848
4613
|
*
|
|
@@ -5661,8 +5426,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5661
5426
|
* @param {string} [hospitalId]
|
|
5662
5427
|
* @param {string} [hospitalName]
|
|
5663
5428
|
* @param {string} [specialtyId]
|
|
5429
|
+
* @param {string} [specialtyName]
|
|
5664
5430
|
* @param {string} [specialtyTypeId]
|
|
5431
|
+
* @param {string} [specialtyTypeName]
|
|
5665
5432
|
* @param {string} [serviceId]
|
|
5433
|
+
* @param {string} [serviceName]
|
|
5666
5434
|
* @param {string} [exceptHospitalId]
|
|
5667
5435
|
* @param {string} [exceptDealId]
|
|
5668
5436
|
* @param {Array<string>} [ids]
|
|
@@ -5676,7 +5444,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5676
5444
|
* @param {*} [options] Override http request option.
|
|
5677
5445
|
* @throws {RequiredError}
|
|
5678
5446
|
*/
|
|
5679
|
-
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) {
|
|
5680
5448
|
if (options === void 0) { options = {}; }
|
|
5681
5449
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5682
5450
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5710,12 +5478,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5710
5478
|
if (specialtyId !== undefined) {
|
|
5711
5479
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
5712
5480
|
}
|
|
5481
|
+
if (specialtyName !== undefined) {
|
|
5482
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
5483
|
+
}
|
|
5713
5484
|
if (specialtyTypeId !== undefined) {
|
|
5714
5485
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5715
5486
|
}
|
|
5487
|
+
if (specialtyTypeName !== undefined) {
|
|
5488
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
5489
|
+
}
|
|
5716
5490
|
if (serviceId !== undefined) {
|
|
5717
5491
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5718
5492
|
}
|
|
5493
|
+
if (serviceName !== undefined) {
|
|
5494
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
5495
|
+
}
|
|
5719
5496
|
if (exceptHospitalId !== undefined) {
|
|
5720
5497
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5721
5498
|
}
|
|
@@ -5768,8 +5545,11 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5768
5545
|
* @param {string} [hospitalId]
|
|
5769
5546
|
* @param {string} [hospitalName]
|
|
5770
5547
|
* @param {string} [specialtyId]
|
|
5548
|
+
* @param {string} [specialtyName]
|
|
5771
5549
|
* @param {string} [specialtyTypeId]
|
|
5550
|
+
* @param {string} [specialtyTypeName]
|
|
5772
5551
|
* @param {string} [serviceId]
|
|
5552
|
+
* @param {string} [serviceName]
|
|
5773
5553
|
* @param {string} [exceptHospitalId]
|
|
5774
5554
|
* @param {string} [exceptDealId]
|
|
5775
5555
|
* @param {Array<string>} [ids]
|
|
@@ -5783,7 +5563,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5783
5563
|
* @param {*} [options] Override http request option.
|
|
5784
5564
|
* @throws {RequiredError}
|
|
5785
5565
|
*/
|
|
5786
|
-
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) {
|
|
5787
5567
|
if (options === void 0) { options = {}; }
|
|
5788
5568
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5789
5569
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5817,12 +5597,21 @@ var DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5817
5597
|
if (specialtyId !== undefined) {
|
|
5818
5598
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
5819
5599
|
}
|
|
5600
|
+
if (specialtyName !== undefined) {
|
|
5601
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
5602
|
+
}
|
|
5820
5603
|
if (specialtyTypeId !== undefined) {
|
|
5821
5604
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5822
5605
|
}
|
|
5606
|
+
if (specialtyTypeName !== undefined) {
|
|
5607
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
5608
|
+
}
|
|
5823
5609
|
if (serviceId !== undefined) {
|
|
5824
5610
|
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5825
5611
|
}
|
|
5612
|
+
if (serviceName !== undefined) {
|
|
5613
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
5614
|
+
}
|
|
5826
5615
|
if (exceptHospitalId !== undefined) {
|
|
5827
5616
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5828
5617
|
}
|
|
@@ -6042,8 +5831,11 @@ var DealsApiFp = function (configuration) {
|
|
|
6042
5831
|
* @param {string} [hospitalId]
|
|
6043
5832
|
* @param {string} [hospitalName]
|
|
6044
5833
|
* @param {string} [specialtyId]
|
|
5834
|
+
* @param {string} [specialtyName]
|
|
6045
5835
|
* @param {string} [specialtyTypeId]
|
|
5836
|
+
* @param {string} [specialtyTypeName]
|
|
6046
5837
|
* @param {string} [serviceId]
|
|
5838
|
+
* @param {string} [serviceName]
|
|
6047
5839
|
* @param {string} [exceptHospitalId]
|
|
6048
5840
|
* @param {string} [exceptDealId]
|
|
6049
5841
|
* @param {Array<string>} [ids]
|
|
@@ -6057,12 +5849,12 @@ var DealsApiFp = function (configuration) {
|
|
|
6057
5849
|
* @param {*} [options] Override http request option.
|
|
6058
5850
|
* @throws {RequiredError}
|
|
6059
5851
|
*/
|
|
6060
|
-
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) {
|
|
6061
5853
|
return __awaiter(this, void 0, void 0, function () {
|
|
6062
5854
|
var localVarAxiosArgs;
|
|
6063
5855
|
return __generator(this, function (_a) {
|
|
6064
5856
|
switch (_a.label) {
|
|
6065
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
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)];
|
|
6066
5858
|
case 1:
|
|
6067
5859
|
localVarAxiosArgs = _a.sent();
|
|
6068
5860
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6080,8 +5872,11 @@ var DealsApiFp = function (configuration) {
|
|
|
6080
5872
|
* @param {string} [hospitalId]
|
|
6081
5873
|
* @param {string} [hospitalName]
|
|
6082
5874
|
* @param {string} [specialtyId]
|
|
5875
|
+
* @param {string} [specialtyName]
|
|
6083
5876
|
* @param {string} [specialtyTypeId]
|
|
5877
|
+
* @param {string} [specialtyTypeName]
|
|
6084
5878
|
* @param {string} [serviceId]
|
|
5879
|
+
* @param {string} [serviceName]
|
|
6085
5880
|
* @param {string} [exceptHospitalId]
|
|
6086
5881
|
* @param {string} [exceptDealId]
|
|
6087
5882
|
* @param {Array<string>} [ids]
|
|
@@ -6095,12 +5890,12 @@ var DealsApiFp = function (configuration) {
|
|
|
6095
5890
|
* @param {*} [options] Override http request option.
|
|
6096
5891
|
* @throws {RequiredError}
|
|
6097
5892
|
*/
|
|
6098
|
-
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) {
|
|
6099
5894
|
return __awaiter(this, void 0, void 0, function () {
|
|
6100
5895
|
var localVarAxiosArgs;
|
|
6101
5896
|
return __generator(this, function (_a) {
|
|
6102
5897
|
switch (_a.label) {
|
|
6103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
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)];
|
|
6104
5899
|
case 1:
|
|
6105
5900
|
localVarAxiosArgs = _a.sent();
|
|
6106
5901
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6216,8 +6011,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6216
6011
|
* @param {string} [hospitalId]
|
|
6217
6012
|
* @param {string} [hospitalName]
|
|
6218
6013
|
* @param {string} [specialtyId]
|
|
6014
|
+
* @param {string} [specialtyName]
|
|
6219
6015
|
* @param {string} [specialtyTypeId]
|
|
6016
|
+
* @param {string} [specialtyTypeName]
|
|
6220
6017
|
* @param {string} [serviceId]
|
|
6018
|
+
* @param {string} [serviceName]
|
|
6221
6019
|
* @param {string} [exceptHospitalId]
|
|
6222
6020
|
* @param {string} [exceptDealId]
|
|
6223
6021
|
* @param {Array<string>} [ids]
|
|
@@ -6231,8 +6029,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6231
6029
|
* @param {*} [options] Override http request option.
|
|
6232
6030
|
* @throws {RequiredError}
|
|
6233
6031
|
*/
|
|
6234
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6235
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
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); });
|
|
6236
6034
|
},
|
|
6237
6035
|
/**
|
|
6238
6036
|
*
|
|
@@ -6244,8 +6042,11 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6244
6042
|
* @param {string} [hospitalId]
|
|
6245
6043
|
* @param {string} [hospitalName]
|
|
6246
6044
|
* @param {string} [specialtyId]
|
|
6045
|
+
* @param {string} [specialtyName]
|
|
6247
6046
|
* @param {string} [specialtyTypeId]
|
|
6047
|
+
* @param {string} [specialtyTypeName]
|
|
6248
6048
|
* @param {string} [serviceId]
|
|
6049
|
+
* @param {string} [serviceName]
|
|
6249
6050
|
* @param {string} [exceptHospitalId]
|
|
6250
6051
|
* @param {string} [exceptDealId]
|
|
6251
6052
|
* @param {Array<string>} [ids]
|
|
@@ -6259,8 +6060,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6259
6060
|
* @param {*} [options] Override http request option.
|
|
6260
6061
|
* @throws {RequiredError}
|
|
6261
6062
|
*/
|
|
6262
|
-
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6263
|
-
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
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); });
|
|
6264
6065
|
},
|
|
6265
6066
|
/**
|
|
6266
6067
|
*
|
|
@@ -6374,8 +6175,11 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6374
6175
|
* @param {string} [hospitalId]
|
|
6375
6176
|
* @param {string} [hospitalName]
|
|
6376
6177
|
* @param {string} [specialtyId]
|
|
6178
|
+
* @param {string} [specialtyName]
|
|
6377
6179
|
* @param {string} [specialtyTypeId]
|
|
6180
|
+
* @param {string} [specialtyTypeName]
|
|
6378
6181
|
* @param {string} [serviceId]
|
|
6182
|
+
* @param {string} [serviceName]
|
|
6379
6183
|
* @param {string} [exceptHospitalId]
|
|
6380
6184
|
* @param {string} [exceptDealId]
|
|
6381
6185
|
* @param {Array<string>} [ids]
|
|
@@ -6390,9 +6194,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6390
6194
|
* @throws {RequiredError}
|
|
6391
6195
|
* @memberof DealsApi
|
|
6392
6196
|
*/
|
|
6393
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
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) {
|
|
6394
6198
|
var _this = this;
|
|
6395
|
-
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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); });
|
|
6396
6200
|
};
|
|
6397
6201
|
/**
|
|
6398
6202
|
*
|
|
@@ -6404,8 +6208,11 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6404
6208
|
* @param {string} [hospitalId]
|
|
6405
6209
|
* @param {string} [hospitalName]
|
|
6406
6210
|
* @param {string} [specialtyId]
|
|
6211
|
+
* @param {string} [specialtyName]
|
|
6407
6212
|
* @param {string} [specialtyTypeId]
|
|
6213
|
+
* @param {string} [specialtyTypeName]
|
|
6408
6214
|
* @param {string} [serviceId]
|
|
6215
|
+
* @param {string} [serviceName]
|
|
6409
6216
|
* @param {string} [exceptHospitalId]
|
|
6410
6217
|
* @param {string} [exceptDealId]
|
|
6411
6218
|
* @param {Array<string>} [ids]
|
|
@@ -6420,9 +6227,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6420
6227
|
* @throws {RequiredError}
|
|
6421
6228
|
* @memberof DealsApi
|
|
6422
6229
|
*/
|
|
6423
|
-
DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
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) {
|
|
6424
6231
|
var _this = this;
|
|
6425
|
-
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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); });
|
|
6426
6233
|
};
|
|
6427
6234
|
/**
|
|
6428
6235
|
*
|
|
@@ -7166,6 +6973,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7166
6973
|
*
|
|
7167
6974
|
* @summary Get all Doctors.
|
|
7168
6975
|
* @param {string} [hospitalId]
|
|
6976
|
+
* @param {string} [hospitalName]
|
|
7169
6977
|
* @param {string} [languageCode]
|
|
7170
6978
|
* @param {boolean} [returnDefaultValue]
|
|
7171
6979
|
* @param {Array<string>} [ids]
|
|
@@ -7184,7 +6992,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7184
6992
|
* @param {*} [options] Override http request option.
|
|
7185
6993
|
* @throws {RequiredError}
|
|
7186
6994
|
*/
|
|
7187
|
-
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) {
|
|
7188
6996
|
if (options === void 0) { options = {}; }
|
|
7189
6997
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7190
6998
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7200,6 +7008,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7200
7008
|
if (hospitalId !== undefined) {
|
|
7201
7009
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7202
7010
|
}
|
|
7011
|
+
if (hospitalName !== undefined) {
|
|
7012
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7013
|
+
}
|
|
7203
7014
|
if (languageCode !== undefined) {
|
|
7204
7015
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7205
7016
|
}
|
|
@@ -7265,6 +7076,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7265
7076
|
*
|
|
7266
7077
|
* @summary Get all Doctors.
|
|
7267
7078
|
* @param {string} [hospitalId]
|
|
7079
|
+
* @param {string} [hospitalName]
|
|
7268
7080
|
* @param {string} [languageCode]
|
|
7269
7081
|
* @param {boolean} [returnDefaultValue]
|
|
7270
7082
|
* @param {Array<string>} [ids]
|
|
@@ -7283,7 +7095,7 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7283
7095
|
* @param {*} [options] Override http request option.
|
|
7284
7096
|
* @throws {RequiredError}
|
|
7285
7097
|
*/
|
|
7286
|
-
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) {
|
|
7287
7099
|
if (options === void 0) { options = {}; }
|
|
7288
7100
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7289
7101
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7299,6 +7111,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7299
7111
|
if (hospitalId !== undefined) {
|
|
7300
7112
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7301
7113
|
}
|
|
7114
|
+
if (hospitalName !== undefined) {
|
|
7115
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7116
|
+
}
|
|
7302
7117
|
if (languageCode !== undefined) {
|
|
7303
7118
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7304
7119
|
}
|
|
@@ -7763,6 +7578,7 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7763
7578
|
*
|
|
7764
7579
|
* @summary Get all Doctors.
|
|
7765
7580
|
* @param {string} [hospitalId]
|
|
7581
|
+
* @param {string} [hospitalName]
|
|
7766
7582
|
* @param {string} [languageCode]
|
|
7767
7583
|
* @param {boolean} [returnDefaultValue]
|
|
7768
7584
|
* @param {Array<string>} [ids]
|
|
@@ -7781,12 +7597,12 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7781
7597
|
* @param {*} [options] Override http request option.
|
|
7782
7598
|
* @throws {RequiredError}
|
|
7783
7599
|
*/
|
|
7784
|
-
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) {
|
|
7785
7601
|
return __awaiter(this, void 0, void 0, function () {
|
|
7786
7602
|
var localVarAxiosArgs;
|
|
7787
7603
|
return __generator(this, function (_a) {
|
|
7788
7604
|
switch (_a.label) {
|
|
7789
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
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)];
|
|
7790
7606
|
case 1:
|
|
7791
7607
|
localVarAxiosArgs = _a.sent();
|
|
7792
7608
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7798,6 +7614,7 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7798
7614
|
*
|
|
7799
7615
|
* @summary Get all Doctors.
|
|
7800
7616
|
* @param {string} [hospitalId]
|
|
7617
|
+
* @param {string} [hospitalName]
|
|
7801
7618
|
* @param {string} [languageCode]
|
|
7802
7619
|
* @param {boolean} [returnDefaultValue]
|
|
7803
7620
|
* @param {Array<string>} [ids]
|
|
@@ -7816,12 +7633,12 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7816
7633
|
* @param {*} [options] Override http request option.
|
|
7817
7634
|
* @throws {RequiredError}
|
|
7818
7635
|
*/
|
|
7819
|
-
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) {
|
|
7820
7637
|
return __awaiter(this, void 0, void 0, function () {
|
|
7821
7638
|
var localVarAxiosArgs;
|
|
7822
7639
|
return __generator(this, function (_a) {
|
|
7823
7640
|
switch (_a.label) {
|
|
7824
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
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)];
|
|
7825
7642
|
case 1:
|
|
7826
7643
|
localVarAxiosArgs = _a.sent();
|
|
7827
7644
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8063,6 +7880,7 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8063
7880
|
*
|
|
8064
7881
|
* @summary Get all Doctors.
|
|
8065
7882
|
* @param {string} [hospitalId]
|
|
7883
|
+
* @param {string} [hospitalName]
|
|
8066
7884
|
* @param {string} [languageCode]
|
|
8067
7885
|
* @param {boolean} [returnDefaultValue]
|
|
8068
7886
|
* @param {Array<string>} [ids]
|
|
@@ -8081,13 +7899,14 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8081
7899
|
* @param {*} [options] Override http request option.
|
|
8082
7900
|
* @throws {RequiredError}
|
|
8083
7901
|
*/
|
|
8084
|
-
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8085
|
-
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
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); });
|
|
8086
7904
|
},
|
|
8087
7905
|
/**
|
|
8088
7906
|
*
|
|
8089
7907
|
* @summary Get all Doctors.
|
|
8090
7908
|
* @param {string} [hospitalId]
|
|
7909
|
+
* @param {string} [hospitalName]
|
|
8091
7910
|
* @param {string} [languageCode]
|
|
8092
7911
|
* @param {boolean} [returnDefaultValue]
|
|
8093
7912
|
* @param {Array<string>} [ids]
|
|
@@ -8106,8 +7925,8 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
8106
7925
|
* @param {*} [options] Override http request option.
|
|
8107
7926
|
* @throws {RequiredError}
|
|
8108
7927
|
*/
|
|
8109
|
-
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8110
|
-
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
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); });
|
|
8111
7930
|
},
|
|
8112
7931
|
/**
|
|
8113
7932
|
*
|
|
@@ -8367,6 +8186,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8367
8186
|
*
|
|
8368
8187
|
* @summary Get all Doctors.
|
|
8369
8188
|
* @param {string} [hospitalId]
|
|
8189
|
+
* @param {string} [hospitalName]
|
|
8370
8190
|
* @param {string} [languageCode]
|
|
8371
8191
|
* @param {boolean} [returnDefaultValue]
|
|
8372
8192
|
* @param {Array<string>} [ids]
|
|
@@ -8386,14 +8206,15 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8386
8206
|
* @throws {RequiredError}
|
|
8387
8207
|
* @memberof DoctorsApi
|
|
8388
8208
|
*/
|
|
8389
|
-
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) {
|
|
8390
8210
|
var _this = this;
|
|
8391
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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); });
|
|
8392
8212
|
};
|
|
8393
8213
|
/**
|
|
8394
8214
|
*
|
|
8395
8215
|
* @summary Get all Doctors.
|
|
8396
8216
|
* @param {string} [hospitalId]
|
|
8217
|
+
* @param {string} [hospitalName]
|
|
8397
8218
|
* @param {string} [languageCode]
|
|
8398
8219
|
* @param {boolean} [returnDefaultValue]
|
|
8399
8220
|
* @param {Array<string>} [ids]
|
|
@@ -8413,9 +8234,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
8413
8234
|
* @throws {RequiredError}
|
|
8414
8235
|
* @memberof DoctorsApi
|
|
8415
8236
|
*/
|
|
8416
|
-
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) {
|
|
8417
8238
|
var _this = this;
|
|
8418
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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); });
|
|
8419
8240
|
};
|
|
8420
8241
|
/**
|
|
8421
8242
|
*
|
|
@@ -8520,15 +8341,18 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
8520
8341
|
* @param {string} [id]
|
|
8521
8342
|
* @param {string} [parentId]
|
|
8522
8343
|
* @param {string} [name]
|
|
8523
|
-
* @param {string} [
|
|
8344
|
+
* @param {string} [hospitalId]
|
|
8345
|
+
* @param {string} [hospitalName]
|
|
8524
8346
|
* @param {string} [languageCode]
|
|
8347
|
+
* @param {boolean} [showHidden]
|
|
8348
|
+
* @param {boolean} [returnDefaultValue]
|
|
8525
8349
|
* @param {number} [page]
|
|
8526
8350
|
* @param {number} [limit]
|
|
8527
8351
|
* @param {Date} [lastRetrieved]
|
|
8528
8352
|
* @param {*} [options] Override http request option.
|
|
8529
8353
|
* @throws {RequiredError}
|
|
8530
8354
|
*/
|
|
8531
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8355
|
+
apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8532
8356
|
if (options === void 0) { options = {}; }
|
|
8533
8357
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8534
8358
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8550,12 +8374,21 @@ var FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
8550
8374
|
if (name !== undefined) {
|
|
8551
8375
|
localVarQueryParameter['Name'] = name;
|
|
8552
8376
|
}
|
|
8553
|
-
if (
|
|
8554
|
-
localVarQueryParameter['
|
|
8377
|
+
if (hospitalId !== undefined) {
|
|
8378
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
8379
|
+
}
|
|
8380
|
+
if (hospitalName !== undefined) {
|
|
8381
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
8555
8382
|
}
|
|
8556
8383
|
if (languageCode !== undefined) {
|
|
8557
8384
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
8558
8385
|
}
|
|
8386
|
+
if (showHidden !== undefined) {
|
|
8387
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
8388
|
+
}
|
|
8389
|
+
if (returnDefaultValue !== undefined) {
|
|
8390
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8391
|
+
}
|
|
8559
8392
|
if (page !== undefined) {
|
|
8560
8393
|
localVarQueryParameter['page'] = page;
|
|
8561
8394
|
}
|
|
@@ -8672,20 +8505,23 @@ var FaqCategoriesApiFp = function (configuration) {
|
|
|
8672
8505
|
* @param {string} [id]
|
|
8673
8506
|
* @param {string} [parentId]
|
|
8674
8507
|
* @param {string} [name]
|
|
8675
|
-
* @param {string} [
|
|
8508
|
+
* @param {string} [hospitalId]
|
|
8509
|
+
* @param {string} [hospitalName]
|
|
8676
8510
|
* @param {string} [languageCode]
|
|
8511
|
+
* @param {boolean} [showHidden]
|
|
8512
|
+
* @param {boolean} [returnDefaultValue]
|
|
8677
8513
|
* @param {number} [page]
|
|
8678
8514
|
* @param {number} [limit]
|
|
8679
8515
|
* @param {Date} [lastRetrieved]
|
|
8680
8516
|
* @param {*} [options] Override http request option.
|
|
8681
8517
|
* @throws {RequiredError}
|
|
8682
8518
|
*/
|
|
8683
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8519
|
+
apiV2FaqcategoriesGet: function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8684
8520
|
return __awaiter(this, void 0, void 0, function () {
|
|
8685
8521
|
var localVarAxiosArgs;
|
|
8686
8522
|
return __generator(this, function (_a) {
|
|
8687
8523
|
switch (_a.label) {
|
|
8688
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name,
|
|
8524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
8689
8525
|
case 1:
|
|
8690
8526
|
localVarAxiosArgs = _a.sent();
|
|
8691
8527
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8752,16 +8588,19 @@ var FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8752
8588
|
* @param {string} [id]
|
|
8753
8589
|
* @param {string} [parentId]
|
|
8754
8590
|
* @param {string} [name]
|
|
8755
|
-
* @param {string} [
|
|
8591
|
+
* @param {string} [hospitalId]
|
|
8592
|
+
* @param {string} [hospitalName]
|
|
8756
8593
|
* @param {string} [languageCode]
|
|
8594
|
+
* @param {boolean} [showHidden]
|
|
8595
|
+
* @param {boolean} [returnDefaultValue]
|
|
8757
8596
|
* @param {number} [page]
|
|
8758
8597
|
* @param {number} [limit]
|
|
8759
8598
|
* @param {Date} [lastRetrieved]
|
|
8760
8599
|
* @param {*} [options] Override http request option.
|
|
8761
8600
|
* @throws {RequiredError}
|
|
8762
8601
|
*/
|
|
8763
|
-
apiV2FaqcategoriesGet: function (id, parentId, name,
|
|
8764
|
-
return localVarFp.apiV2FaqcategoriesGet(id, parentId, name,
|
|
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); });
|
|
8765
8604
|
},
|
|
8766
8605
|
/**
|
|
8767
8606
|
*
|
|
@@ -8820,8 +8659,11 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
8820
8659
|
* @param {string} [id]
|
|
8821
8660
|
* @param {string} [parentId]
|
|
8822
8661
|
* @param {string} [name]
|
|
8823
|
-
* @param {string} [
|
|
8662
|
+
* @param {string} [hospitalId]
|
|
8663
|
+
* @param {string} [hospitalName]
|
|
8824
8664
|
* @param {string} [languageCode]
|
|
8665
|
+
* @param {boolean} [showHidden]
|
|
8666
|
+
* @param {boolean} [returnDefaultValue]
|
|
8825
8667
|
* @param {number} [page]
|
|
8826
8668
|
* @param {number} [limit]
|
|
8827
8669
|
* @param {Date} [lastRetrieved]
|
|
@@ -8829,9 +8671,9 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
8829
8671
|
* @throws {RequiredError}
|
|
8830
8672
|
* @memberof FaqCategoriesApi
|
|
8831
8673
|
*/
|
|
8832
|
-
FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name,
|
|
8674
|
+
FaqCategoriesApi.prototype.apiV2FaqcategoriesGet = function (id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8833
8675
|
var _this = this;
|
|
8834
|
-
return (0, exports.FaqCategoriesApiFp)(this.configuration).apiV2FaqcategoriesGet(id, parentId, name,
|
|
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); });
|
|
8835
8677
|
};
|
|
8836
8678
|
/**
|
|
8837
8679
|
*
|
|
@@ -8985,24 +8827,113 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
8985
8827
|
});
|
|
8986
8828
|
});
|
|
8987
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
|
+
},
|
|
8988
8918
|
/**
|
|
8989
8919
|
*
|
|
8990
8920
|
* @summary Get all Faqs.
|
|
8991
8921
|
* @param {string} [id]
|
|
8992
|
-
* @param {string} [
|
|
8993
|
-
* @param {string} [
|
|
8922
|
+
* @param {string} [name]
|
|
8923
|
+
* @param {string} [slug]
|
|
8994
8924
|
* @param {string} [categoryId]
|
|
8995
8925
|
* @param {string} [hospitalId]
|
|
8996
8926
|
* @param {string} [hospitalName]
|
|
8997
8927
|
* @param {string} [languageCode]
|
|
8998
8928
|
* @param {boolean} [showHidden]
|
|
8929
|
+
* @param {boolean} [returnDefaultValue]
|
|
8999
8930
|
* @param {number} [page]
|
|
9000
8931
|
* @param {number} [limit]
|
|
9001
8932
|
* @param {Date} [lastRetrieved]
|
|
9002
8933
|
* @param {*} [options] Override http request option.
|
|
9003
8934
|
* @throws {RequiredError}
|
|
9004
8935
|
*/
|
|
9005
|
-
apiV2FaqsGet: function (id,
|
|
8936
|
+
apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9006
8937
|
if (options === void 0) { options = {}; }
|
|
9007
8938
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9008
8939
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9018,11 +8949,11 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
9018
8949
|
if (id !== undefined) {
|
|
9019
8950
|
localVarQueryParameter['Id'] = id;
|
|
9020
8951
|
}
|
|
9021
|
-
if (
|
|
9022
|
-
localVarQueryParameter['
|
|
8952
|
+
if (name !== undefined) {
|
|
8953
|
+
localVarQueryParameter['Name'] = name;
|
|
9023
8954
|
}
|
|
9024
|
-
if (
|
|
9025
|
-
localVarQueryParameter['
|
|
8955
|
+
if (slug !== undefined) {
|
|
8956
|
+
localVarQueryParameter['Slug'] = slug;
|
|
9026
8957
|
}
|
|
9027
8958
|
if (categoryId !== undefined) {
|
|
9028
8959
|
localVarQueryParameter['CategoryId'] = categoryId;
|
|
@@ -9039,6 +8970,9 @@ var FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
9039
8970
|
if (showHidden !== undefined) {
|
|
9040
8971
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9041
8972
|
}
|
|
8973
|
+
if (returnDefaultValue !== undefined) {
|
|
8974
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
8975
|
+
}
|
|
9042
8976
|
if (page !== undefined) {
|
|
9043
8977
|
localVarQueryParameter['page'] = page;
|
|
9044
8978
|
}
|
|
@@ -9174,29 +9108,75 @@ var FaqsApiFp = function (configuration) {
|
|
|
9174
9108
|
});
|
|
9175
9109
|
});
|
|
9176
9110
|
},
|
|
9111
|
+
/**
|
|
9112
|
+
*
|
|
9113
|
+
* @summary GetAll FaqTags.
|
|
9114
|
+
* @param {string} faqId
|
|
9115
|
+
* @param {string} [tagId]
|
|
9116
|
+
* @param {number} [page]
|
|
9117
|
+
* @param {number} [limit]
|
|
9118
|
+
* @param {Date} [lastRetrieved]
|
|
9119
|
+
* @param {*} [options] Override http request option.
|
|
9120
|
+
* @throws {RequiredError}
|
|
9121
|
+
*/
|
|
9122
|
+
apiV2FaqsFaqIdTagsGet: function (faqId, tagId, page, limit, lastRetrieved, options) {
|
|
9123
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9124
|
+
var localVarAxiosArgs;
|
|
9125
|
+
return __generator(this, function (_a) {
|
|
9126
|
+
switch (_a.label) {
|
|
9127
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options)];
|
|
9128
|
+
case 1:
|
|
9129
|
+
localVarAxiosArgs = _a.sent();
|
|
9130
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9131
|
+
}
|
|
9132
|
+
});
|
|
9133
|
+
});
|
|
9134
|
+
},
|
|
9135
|
+
/**
|
|
9136
|
+
*
|
|
9137
|
+
* @summary Get FaqTag.
|
|
9138
|
+
* @param {string} faqId
|
|
9139
|
+
* @param {string} tagId
|
|
9140
|
+
* @param {*} [options] Override http request option.
|
|
9141
|
+
* @throws {RequiredError}
|
|
9142
|
+
*/
|
|
9143
|
+
apiV2FaqsFaqIdTagsTagIdGet: function (faqId, tagId, options) {
|
|
9144
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9145
|
+
var localVarAxiosArgs;
|
|
9146
|
+
return __generator(this, function (_a) {
|
|
9147
|
+
switch (_a.label) {
|
|
9148
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options)];
|
|
9149
|
+
case 1:
|
|
9150
|
+
localVarAxiosArgs = _a.sent();
|
|
9151
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9152
|
+
}
|
|
9153
|
+
});
|
|
9154
|
+
});
|
|
9155
|
+
},
|
|
9177
9156
|
/**
|
|
9178
9157
|
*
|
|
9179
9158
|
* @summary Get all Faqs.
|
|
9180
9159
|
* @param {string} [id]
|
|
9181
|
-
* @param {string} [
|
|
9182
|
-
* @param {string} [
|
|
9160
|
+
* @param {string} [name]
|
|
9161
|
+
* @param {string} [slug]
|
|
9183
9162
|
* @param {string} [categoryId]
|
|
9184
9163
|
* @param {string} [hospitalId]
|
|
9185
9164
|
* @param {string} [hospitalName]
|
|
9186
9165
|
* @param {string} [languageCode]
|
|
9187
9166
|
* @param {boolean} [showHidden]
|
|
9167
|
+
* @param {boolean} [returnDefaultValue]
|
|
9188
9168
|
* @param {number} [page]
|
|
9189
9169
|
* @param {number} [limit]
|
|
9190
9170
|
* @param {Date} [lastRetrieved]
|
|
9191
9171
|
* @param {*} [options] Override http request option.
|
|
9192
9172
|
* @throws {RequiredError}
|
|
9193
9173
|
*/
|
|
9194
|
-
apiV2FaqsGet: function (id,
|
|
9174
|
+
apiV2FaqsGet: function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9195
9175
|
return __awaiter(this, void 0, void 0, function () {
|
|
9196
9176
|
var localVarAxiosArgs;
|
|
9197
9177
|
return __generator(this, function (_a) {
|
|
9198
9178
|
switch (_a.label) {
|
|
9199
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id,
|
|
9179
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
9200
9180
|
case 1:
|
|
9201
9181
|
localVarAxiosArgs = _a.sent();
|
|
9202
9182
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9272,25 +9252,51 @@ var FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
9272
9252
|
apiV2FaqsFaqIdMediasMediaIdGet: function (faqId, mediaId, options) {
|
|
9273
9253
|
return localVarFp.apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
9274
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
|
+
},
|
|
9275
9280
|
/**
|
|
9276
9281
|
*
|
|
9277
9282
|
* @summary Get all Faqs.
|
|
9278
9283
|
* @param {string} [id]
|
|
9279
|
-
* @param {string} [
|
|
9280
|
-
* @param {string} [
|
|
9284
|
+
* @param {string} [name]
|
|
9285
|
+
* @param {string} [slug]
|
|
9281
9286
|
* @param {string} [categoryId]
|
|
9282
9287
|
* @param {string} [hospitalId]
|
|
9283
9288
|
* @param {string} [hospitalName]
|
|
9284
9289
|
* @param {string} [languageCode]
|
|
9285
9290
|
* @param {boolean} [showHidden]
|
|
9291
|
+
* @param {boolean} [returnDefaultValue]
|
|
9286
9292
|
* @param {number} [page]
|
|
9287
9293
|
* @param {number} [limit]
|
|
9288
9294
|
* @param {Date} [lastRetrieved]
|
|
9289
9295
|
* @param {*} [options] Override http request option.
|
|
9290
9296
|
* @throws {RequiredError}
|
|
9291
9297
|
*/
|
|
9292
|
-
apiV2FaqsGet: function (id,
|
|
9293
|
-
return localVarFp.apiV2FaqsGet(id,
|
|
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); });
|
|
9294
9300
|
},
|
|
9295
9301
|
/**
|
|
9296
9302
|
*
|
|
@@ -9360,17 +9366,47 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
9360
9366
|
var _this = this;
|
|
9361
9367
|
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9362
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
|
+
};
|
|
9363
9398
|
/**
|
|
9364
9399
|
*
|
|
9365
9400
|
* @summary Get all Faqs.
|
|
9366
9401
|
* @param {string} [id]
|
|
9367
|
-
* @param {string} [
|
|
9368
|
-
* @param {string} [
|
|
9402
|
+
* @param {string} [name]
|
|
9403
|
+
* @param {string} [slug]
|
|
9369
9404
|
* @param {string} [categoryId]
|
|
9370
9405
|
* @param {string} [hospitalId]
|
|
9371
9406
|
* @param {string} [hospitalName]
|
|
9372
9407
|
* @param {string} [languageCode]
|
|
9373
9408
|
* @param {boolean} [showHidden]
|
|
9409
|
+
* @param {boolean} [returnDefaultValue]
|
|
9374
9410
|
* @param {number} [page]
|
|
9375
9411
|
* @param {number} [limit]
|
|
9376
9412
|
* @param {Date} [lastRetrieved]
|
|
@@ -9378,9 +9414,9 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
9378
9414
|
* @throws {RequiredError}
|
|
9379
9415
|
* @memberof FaqsApi
|
|
9380
9416
|
*/
|
|
9381
|
-
FaqsApi.prototype.apiV2FaqsGet = function (id,
|
|
9417
|
+
FaqsApi.prototype.apiV2FaqsGet = function (id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9382
9418
|
var _this = this;
|
|
9383
|
-
return (0, exports.FaqsApiFp)(this.configuration).apiV2FaqsGet(id,
|
|
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); });
|
|
9384
9420
|
};
|
|
9385
9421
|
/**
|
|
9386
9422
|
*
|
|
@@ -9803,19 +9839,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9803
9839
|
* @param {MarketingType} [marketingType]
|
|
9804
9840
|
* @param {string} [specialtyTypeId]
|
|
9805
9841
|
* @param {string} [specialtyId]
|
|
9806
|
-
* @param {string} [serviceId]
|
|
9807
9842
|
* @param {string} [exceptHospitalId]
|
|
9808
9843
|
* @param {boolean} [showHidden]
|
|
9809
9844
|
* @param {string} [languageCode]
|
|
9810
9845
|
* @param {Array<string>} [ids]
|
|
9811
9846
|
* @param {boolean} [returnDefaultValue]
|
|
9847
|
+
* @param {boolean} [paymentEnabled]
|
|
9812
9848
|
* @param {number} [page]
|
|
9813
9849
|
* @param {number} [limit]
|
|
9814
9850
|
* @param {Date} [lastRetrieved]
|
|
9815
9851
|
* @param {*} [options] Override http request option.
|
|
9816
9852
|
* @throws {RequiredError}
|
|
9817
9853
|
*/
|
|
9818
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
9854
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
9819
9855
|
if (options === void 0) { options = {}; }
|
|
9820
9856
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9821
9857
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9851,9 +9887,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9851
9887
|
if (specialtyId !== undefined) {
|
|
9852
9888
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
9853
9889
|
}
|
|
9854
|
-
if (serviceId !== undefined) {
|
|
9855
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
9856
|
-
}
|
|
9857
9890
|
if (exceptHospitalId !== undefined) {
|
|
9858
9891
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
9859
9892
|
}
|
|
@@ -9869,6 +9902,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9869
9902
|
if (returnDefaultValue !== undefined) {
|
|
9870
9903
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9871
9904
|
}
|
|
9905
|
+
if (paymentEnabled !== undefined) {
|
|
9906
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
9907
|
+
}
|
|
9872
9908
|
if (page !== undefined) {
|
|
9873
9909
|
localVarQueryParameter['page'] = page;
|
|
9874
9910
|
}
|
|
@@ -10524,25 +10560,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10524
10560
|
*
|
|
10525
10561
|
* @summary Get all HospitalSpecialties.
|
|
10526
10562
|
* @param {string} hospitalId
|
|
10527
|
-
* @param {string} [hospitalName]
|
|
10528
|
-
* @param {string} [hospitalSlug]
|
|
10529
10563
|
* @param {string} [specialtyId]
|
|
10530
10564
|
* @param {string} [specialtyName]
|
|
10531
10565
|
* @param {string} [specialtyTypeId]
|
|
10532
|
-
* @param {string} [
|
|
10533
|
-
* @param {string} [
|
|
10566
|
+
* @param {string} [specialtyTypeName]
|
|
10567
|
+
* @param {string} [hospitalSpecialtyId]
|
|
10568
|
+
* @param {string} [name]
|
|
10569
|
+
* @param {string} [slug]
|
|
10534
10570
|
* @param {MarketingType} [marketingType]
|
|
10535
|
-
* @param {string} [languageCode]
|
|
10536
|
-
* @param {boolean} [showHidden]
|
|
10537
10571
|
* @param {boolean} [returnDefaultValue]
|
|
10538
10572
|
* @param {boolean} [includeServices]
|
|
10573
|
+
* @param {string} [languageCode]
|
|
10574
|
+
* @param {boolean} [showHidden]
|
|
10539
10575
|
* @param {number} [page]
|
|
10540
10576
|
* @param {number} [limit]
|
|
10541
10577
|
* @param {Date} [lastRetrieved]
|
|
10542
10578
|
* @param {*} [options] Override http request option.
|
|
10543
10579
|
* @throws {RequiredError}
|
|
10544
10580
|
*/
|
|
10545
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
10581
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10546
10582
|
if (options === void 0) { options = {}; }
|
|
10547
10583
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10548
10584
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10558,12 +10594,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10558
10594
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10559
10595
|
localVarHeaderParameter = {};
|
|
10560
10596
|
localVarQueryParameter = {};
|
|
10561
|
-
if (hospitalName !== undefined) {
|
|
10562
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10563
|
-
}
|
|
10564
|
-
if (hospitalSlug !== undefined) {
|
|
10565
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10566
|
-
}
|
|
10567
10597
|
if (specialtyId !== undefined) {
|
|
10568
10598
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10569
10599
|
}
|
|
@@ -10573,20 +10603,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10573
10603
|
if (specialtyTypeId !== undefined) {
|
|
10574
10604
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10575
10605
|
}
|
|
10576
|
-
if (
|
|
10577
|
-
localVarQueryParameter['
|
|
10606
|
+
if (specialtyTypeName !== undefined) {
|
|
10607
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
10578
10608
|
}
|
|
10579
|
-
if (
|
|
10580
|
-
localVarQueryParameter['
|
|
10609
|
+
if (hospitalSpecialtyId !== undefined) {
|
|
10610
|
+
localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
|
|
10581
10611
|
}
|
|
10582
|
-
if (
|
|
10583
|
-
localVarQueryParameter['
|
|
10612
|
+
if (name !== undefined) {
|
|
10613
|
+
localVarQueryParameter['Name'] = name;
|
|
10584
10614
|
}
|
|
10585
|
-
if (
|
|
10586
|
-
localVarQueryParameter['
|
|
10615
|
+
if (slug !== undefined) {
|
|
10616
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10587
10617
|
}
|
|
10588
|
-
if (
|
|
10589
|
-
localVarQueryParameter['
|
|
10618
|
+
if (marketingType !== undefined) {
|
|
10619
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10590
10620
|
}
|
|
10591
10621
|
if (returnDefaultValue !== undefined) {
|
|
10592
10622
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
@@ -10594,6 +10624,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10594
10624
|
if (includeServices !== undefined) {
|
|
10595
10625
|
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10596
10626
|
}
|
|
10627
|
+
if (languageCode !== undefined) {
|
|
10628
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10629
|
+
}
|
|
10630
|
+
if (showHidden !== undefined) {
|
|
10631
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10632
|
+
}
|
|
10597
10633
|
if (page !== undefined) {
|
|
10598
10634
|
localVarQueryParameter['page'] = page;
|
|
10599
10635
|
}
|
|
@@ -10719,25 +10755,25 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10719
10755
|
*
|
|
10720
10756
|
* @summary Get all HospitalSpecialties.
|
|
10721
10757
|
* @param {string} hospitalId
|
|
10722
|
-
* @param {string} [hospitalName]
|
|
10723
|
-
* @param {string} [hospitalSlug]
|
|
10724
10758
|
* @param {string} [specialtyId]
|
|
10725
10759
|
* @param {string} [specialtyName]
|
|
10726
10760
|
* @param {string} [specialtyTypeId]
|
|
10727
|
-
* @param {string} [
|
|
10728
|
-
* @param {string} [
|
|
10761
|
+
* @param {string} [specialtyTypeName]
|
|
10762
|
+
* @param {string} [hospitalSpecialtyId]
|
|
10763
|
+
* @param {string} [name]
|
|
10764
|
+
* @param {string} [slug]
|
|
10729
10765
|
* @param {MarketingType} [marketingType]
|
|
10730
|
-
* @param {string} [languageCode]
|
|
10731
|
-
* @param {boolean} [showHidden]
|
|
10732
10766
|
* @param {boolean} [returnDefaultValue]
|
|
10733
10767
|
* @param {boolean} [includeServices]
|
|
10768
|
+
* @param {string} [languageCode]
|
|
10769
|
+
* @param {boolean} [showHidden]
|
|
10734
10770
|
* @param {number} [page]
|
|
10735
10771
|
* @param {number} [limit]
|
|
10736
10772
|
* @param {Date} [lastRetrieved]
|
|
10737
10773
|
* @param {*} [options] Override http request option.
|
|
10738
10774
|
* @throws {RequiredError}
|
|
10739
10775
|
*/
|
|
10740
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
10776
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10741
10777
|
if (options === void 0) { options = {}; }
|
|
10742
10778
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10743
10779
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10753,14 +10789,8 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10753
10789
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10754
10790
|
localVarHeaderParameter = {};
|
|
10755
10791
|
localVarQueryParameter = {};
|
|
10756
|
-
if (
|
|
10757
|
-
localVarQueryParameter['
|
|
10758
|
-
}
|
|
10759
|
-
if (hospitalSlug !== undefined) {
|
|
10760
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10761
|
-
}
|
|
10762
|
-
if (specialtyId !== undefined) {
|
|
10763
|
-
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10792
|
+
if (specialtyId !== undefined) {
|
|
10793
|
+
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
10764
10794
|
}
|
|
10765
10795
|
if (specialtyName !== undefined) {
|
|
10766
10796
|
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
@@ -10768,20 +10798,20 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10768
10798
|
if (specialtyTypeId !== undefined) {
|
|
10769
10799
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10770
10800
|
}
|
|
10771
|
-
if (
|
|
10772
|
-
localVarQueryParameter['
|
|
10801
|
+
if (specialtyTypeName !== undefined) {
|
|
10802
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
10773
10803
|
}
|
|
10774
|
-
if (
|
|
10775
|
-
localVarQueryParameter['
|
|
10804
|
+
if (hospitalSpecialtyId !== undefined) {
|
|
10805
|
+
localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
|
|
10776
10806
|
}
|
|
10777
|
-
if (
|
|
10778
|
-
localVarQueryParameter['
|
|
10807
|
+
if (name !== undefined) {
|
|
10808
|
+
localVarQueryParameter['Name'] = name;
|
|
10779
10809
|
}
|
|
10780
|
-
if (
|
|
10781
|
-
localVarQueryParameter['
|
|
10810
|
+
if (slug !== undefined) {
|
|
10811
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10782
10812
|
}
|
|
10783
|
-
if (
|
|
10784
|
-
localVarQueryParameter['
|
|
10813
|
+
if (marketingType !== undefined) {
|
|
10814
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10785
10815
|
}
|
|
10786
10816
|
if (returnDefaultValue !== undefined) {
|
|
10787
10817
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
@@ -10789,6 +10819,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10789
10819
|
if (includeServices !== undefined) {
|
|
10790
10820
|
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10791
10821
|
}
|
|
10822
|
+
if (languageCode !== undefined) {
|
|
10823
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10824
|
+
}
|
|
10825
|
+
if (showHidden !== undefined) {
|
|
10826
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10827
|
+
}
|
|
10792
10828
|
if (page !== undefined) {
|
|
10793
10829
|
localVarQueryParameter['page'] = page;
|
|
10794
10830
|
}
|
|
@@ -10810,6 +10846,55 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10810
10846
|
});
|
|
10811
10847
|
});
|
|
10812
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
|
+
},
|
|
10813
10898
|
/**
|
|
10814
10899
|
*
|
|
10815
10900
|
* @summary Get HospitalSpecialty.
|
|
@@ -10864,14 +10949,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10864
10949
|
* @summary Get all HospitalServices.
|
|
10865
10950
|
* @param {string} hospitalId
|
|
10866
10951
|
* @param {string} specialtyId
|
|
10867
|
-
* @param {string} [hospitalName]
|
|
10868
|
-
* @param {string} [hospitalSlug]
|
|
10869
10952
|
* @param {string} [id]
|
|
10870
10953
|
* @param {string} [name]
|
|
10871
|
-
* @param {string} [
|
|
10872
|
-
* @param {string} [specialtyName]
|
|
10873
|
-
* @param {string} [specialtyTypeId]
|
|
10874
|
-
* @param {string} [specialtyTypeName]
|
|
10954
|
+
* @param {string} [slug]
|
|
10875
10955
|
* @param {string} [serviceCategoryId]
|
|
10876
10956
|
* @param {MarketingType} [marketingType]
|
|
10877
10957
|
* @param {Procedure} [procedure]
|
|
@@ -10884,7 +10964,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10884
10964
|
* @param {*} [options] Override http request option.
|
|
10885
10965
|
* @throws {RequiredError}
|
|
10886
10966
|
*/
|
|
10887
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
10967
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10888
10968
|
if (options === void 0) { options = {}; }
|
|
10889
10969
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10890
10970
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10903,29 +10983,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10903
10983
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10904
10984
|
localVarHeaderParameter = {};
|
|
10905
10985
|
localVarQueryParameter = {};
|
|
10906
|
-
if (hospitalName !== undefined) {
|
|
10907
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10908
|
-
}
|
|
10909
|
-
if (hospitalSlug !== undefined) {
|
|
10910
|
-
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
10911
|
-
}
|
|
10912
10986
|
if (id !== undefined) {
|
|
10913
10987
|
localVarQueryParameter['Id'] = id;
|
|
10914
10988
|
}
|
|
10915
10989
|
if (name !== undefined) {
|
|
10916
10990
|
localVarQueryParameter['Name'] = name;
|
|
10917
10991
|
}
|
|
10918
|
-
if (
|
|
10919
|
-
localVarQueryParameter['
|
|
10920
|
-
}
|
|
10921
|
-
if (specialtyName !== undefined) {
|
|
10922
|
-
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
10923
|
-
}
|
|
10924
|
-
if (specialtyTypeId !== undefined) {
|
|
10925
|
-
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
10926
|
-
}
|
|
10927
|
-
if (specialtyTypeName !== undefined) {
|
|
10928
|
-
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
10992
|
+
if (slug !== undefined) {
|
|
10993
|
+
localVarQueryParameter['Slug'] = slug;
|
|
10929
10994
|
}
|
|
10930
10995
|
if (serviceCategoryId !== undefined) {
|
|
10931
10996
|
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
@@ -11243,19 +11308,19 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11243
11308
|
* @param {MarketingType} [marketingType]
|
|
11244
11309
|
* @param {string} [specialtyTypeId]
|
|
11245
11310
|
* @param {string} [specialtyId]
|
|
11246
|
-
* @param {string} [serviceId]
|
|
11247
11311
|
* @param {string} [exceptHospitalId]
|
|
11248
11312
|
* @param {boolean} [showHidden]
|
|
11249
11313
|
* @param {string} [languageCode]
|
|
11250
11314
|
* @param {Array<string>} [ids]
|
|
11251
11315
|
* @param {boolean} [returnDefaultValue]
|
|
11316
|
+
* @param {boolean} [paymentEnabled]
|
|
11252
11317
|
* @param {number} [page]
|
|
11253
11318
|
* @param {number} [limit]
|
|
11254
11319
|
* @param {Date} [lastRetrieved]
|
|
11255
11320
|
* @param {*} [options] Override http request option.
|
|
11256
11321
|
* @throws {RequiredError}
|
|
11257
11322
|
*/
|
|
11258
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11323
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11259
11324
|
if (options === void 0) { options = {}; }
|
|
11260
11325
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11261
11326
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11291,9 +11356,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11291
11356
|
if (specialtyId !== undefined) {
|
|
11292
11357
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
11293
11358
|
}
|
|
11294
|
-
if (serviceId !== undefined) {
|
|
11295
|
-
localVarQueryParameter['ServiceId'] = serviceId;
|
|
11296
|
-
}
|
|
11297
11359
|
if (exceptHospitalId !== undefined) {
|
|
11298
11360
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
11299
11361
|
}
|
|
@@ -11309,6 +11371,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11309
11371
|
if (returnDefaultValue !== undefined) {
|
|
11310
11372
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
11311
11373
|
}
|
|
11374
|
+
if (paymentEnabled !== undefined) {
|
|
11375
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
11376
|
+
}
|
|
11312
11377
|
if (page !== undefined) {
|
|
11313
11378
|
localVarQueryParameter['page'] = page;
|
|
11314
11379
|
}
|
|
@@ -11390,24 +11455,24 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11390
11455
|
* @param {MarketingType} [marketingType]
|
|
11391
11456
|
* @param {string} [specialtyTypeId]
|
|
11392
11457
|
* @param {string} [specialtyId]
|
|
11393
|
-
* @param {string} [serviceId]
|
|
11394
11458
|
* @param {string} [exceptHospitalId]
|
|
11395
11459
|
* @param {boolean} [showHidden]
|
|
11396
11460
|
* @param {string} [languageCode]
|
|
11397
11461
|
* @param {Array<string>} [ids]
|
|
11398
11462
|
* @param {boolean} [returnDefaultValue]
|
|
11463
|
+
* @param {boolean} [paymentEnabled]
|
|
11399
11464
|
* @param {number} [page]
|
|
11400
11465
|
* @param {number} [limit]
|
|
11401
11466
|
* @param {Date} [lastRetrieved]
|
|
11402
11467
|
* @param {*} [options] Override http request option.
|
|
11403
11468
|
* @throws {RequiredError}
|
|
11404
11469
|
*/
|
|
11405
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11470
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11406
11471
|
return __awaiter(this, void 0, void 0, function () {
|
|
11407
11472
|
var localVarAxiosArgs;
|
|
11408
11473
|
return __generator(this, function (_a) {
|
|
11409
11474
|
switch (_a.label) {
|
|
11410
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
11475
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
11411
11476
|
case 1:
|
|
11412
11477
|
localVarAxiosArgs = _a.sent();
|
|
11413
11478
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11725,30 +11790,30 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11725
11790
|
*
|
|
11726
11791
|
* @summary Get all HospitalSpecialties.
|
|
11727
11792
|
* @param {string} hospitalId
|
|
11728
|
-
* @param {string} [hospitalName]
|
|
11729
|
-
* @param {string} [hospitalSlug]
|
|
11730
11793
|
* @param {string} [specialtyId]
|
|
11731
11794
|
* @param {string} [specialtyName]
|
|
11732
11795
|
* @param {string} [specialtyTypeId]
|
|
11733
|
-
* @param {string} [
|
|
11734
|
-
* @param {string} [
|
|
11796
|
+
* @param {string} [specialtyTypeName]
|
|
11797
|
+
* @param {string} [hospitalSpecialtyId]
|
|
11798
|
+
* @param {string} [name]
|
|
11799
|
+
* @param {string} [slug]
|
|
11735
11800
|
* @param {MarketingType} [marketingType]
|
|
11736
|
-
* @param {string} [languageCode]
|
|
11737
|
-
* @param {boolean} [showHidden]
|
|
11738
11801
|
* @param {boolean} [returnDefaultValue]
|
|
11739
11802
|
* @param {boolean} [includeServices]
|
|
11803
|
+
* @param {string} [languageCode]
|
|
11804
|
+
* @param {boolean} [showHidden]
|
|
11740
11805
|
* @param {number} [page]
|
|
11741
11806
|
* @param {number} [limit]
|
|
11742
11807
|
* @param {Date} [lastRetrieved]
|
|
11743
11808
|
* @param {*} [options] Override http request option.
|
|
11744
11809
|
* @throws {RequiredError}
|
|
11745
11810
|
*/
|
|
11746
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
11811
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11747
11812
|
return __awaiter(this, void 0, void 0, function () {
|
|
11748
11813
|
var localVarAxiosArgs;
|
|
11749
11814
|
return __generator(this, function (_a) {
|
|
11750
11815
|
switch (_a.label) {
|
|
11751
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
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)];
|
|
11752
11817
|
case 1:
|
|
11753
11818
|
localVarAxiosArgs = _a.sent();
|
|
11754
11819
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11808,30 +11873,54 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11808
11873
|
*
|
|
11809
11874
|
* @summary Get all HospitalSpecialties.
|
|
11810
11875
|
* @param {string} hospitalId
|
|
11811
|
-
* @param {string} [hospitalName]
|
|
11812
|
-
* @param {string} [hospitalSlug]
|
|
11813
11876
|
* @param {string} [specialtyId]
|
|
11814
11877
|
* @param {string} [specialtyName]
|
|
11815
11878
|
* @param {string} [specialtyTypeId]
|
|
11816
|
-
* @param {string} [
|
|
11817
|
-
* @param {string} [
|
|
11879
|
+
* @param {string} [specialtyTypeName]
|
|
11880
|
+
* @param {string} [hospitalSpecialtyId]
|
|
11881
|
+
* @param {string} [name]
|
|
11882
|
+
* @param {string} [slug]
|
|
11818
11883
|
* @param {MarketingType} [marketingType]
|
|
11819
|
-
* @param {string} [languageCode]
|
|
11820
|
-
* @param {boolean} [showHidden]
|
|
11821
11884
|
* @param {boolean} [returnDefaultValue]
|
|
11822
11885
|
* @param {boolean} [includeServices]
|
|
11886
|
+
* @param {string} [languageCode]
|
|
11887
|
+
* @param {boolean} [showHidden]
|
|
11823
11888
|
* @param {number} [page]
|
|
11824
11889
|
* @param {number} [limit]
|
|
11825
11890
|
* @param {Date} [lastRetrieved]
|
|
11826
11891
|
* @param {*} [options] Override http request option.
|
|
11827
11892
|
* @throws {RequiredError}
|
|
11828
11893
|
*/
|
|
11829
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
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) {
|
|
11830
11919
|
return __awaiter(this, void 0, void 0, function () {
|
|
11831
11920
|
var localVarAxiosArgs;
|
|
11832
11921
|
return __generator(this, function (_a) {
|
|
11833
11922
|
switch (_a.label) {
|
|
11834
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11923
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options)];
|
|
11835
11924
|
case 1:
|
|
11836
11925
|
localVarAxiosArgs = _a.sent();
|
|
11837
11926
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11868,14 +11957,9 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11868
11957
|
* @summary Get all HospitalServices.
|
|
11869
11958
|
* @param {string} hospitalId
|
|
11870
11959
|
* @param {string} specialtyId
|
|
11871
|
-
* @param {string} [hospitalName]
|
|
11872
|
-
* @param {string} [hospitalSlug]
|
|
11873
11960
|
* @param {string} [id]
|
|
11874
11961
|
* @param {string} [name]
|
|
11875
|
-
* @param {string} [
|
|
11876
|
-
* @param {string} [specialtyName]
|
|
11877
|
-
* @param {string} [specialtyTypeId]
|
|
11878
|
-
* @param {string} [specialtyTypeName]
|
|
11962
|
+
* @param {string} [slug]
|
|
11879
11963
|
* @param {string} [serviceCategoryId]
|
|
11880
11964
|
* @param {MarketingType} [marketingType]
|
|
11881
11965
|
* @param {Procedure} [procedure]
|
|
@@ -11888,12 +11972,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11888
11972
|
* @param {*} [options] Override http request option.
|
|
11889
11973
|
* @throws {RequiredError}
|
|
11890
11974
|
*/
|
|
11891
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
11975
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11892
11976
|
return __awaiter(this, void 0, void 0, function () {
|
|
11893
11977
|
var localVarAxiosArgs;
|
|
11894
11978
|
return __generator(this, function (_a) {
|
|
11895
11979
|
switch (_a.label) {
|
|
11896
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
11980
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11897
11981
|
case 1:
|
|
11898
11982
|
localVarAxiosArgs = _a.sent();
|
|
11899
11983
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12034,24 +12118,24 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12034
12118
|
* @param {MarketingType} [marketingType]
|
|
12035
12119
|
* @param {string} [specialtyTypeId]
|
|
12036
12120
|
* @param {string} [specialtyId]
|
|
12037
|
-
* @param {string} [serviceId]
|
|
12038
12121
|
* @param {string} [exceptHospitalId]
|
|
12039
12122
|
* @param {boolean} [showHidden]
|
|
12040
12123
|
* @param {string} [languageCode]
|
|
12041
12124
|
* @param {Array<string>} [ids]
|
|
12042
12125
|
* @param {boolean} [returnDefaultValue]
|
|
12126
|
+
* @param {boolean} [paymentEnabled]
|
|
12043
12127
|
* @param {number} [page]
|
|
12044
12128
|
* @param {number} [limit]
|
|
12045
12129
|
* @param {Date} [lastRetrieved]
|
|
12046
12130
|
* @param {*} [options] Override http request option.
|
|
12047
12131
|
* @throws {RequiredError}
|
|
12048
12132
|
*/
|
|
12049
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12133
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12050
12134
|
return __awaiter(this, void 0, void 0, function () {
|
|
12051
12135
|
var localVarAxiosArgs;
|
|
12052
12136
|
return __generator(this, function (_a) {
|
|
12053
12137
|
switch (_a.label) {
|
|
12054
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12138
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
12055
12139
|
case 1:
|
|
12056
12140
|
localVarAxiosArgs = _a.sent();
|
|
12057
12141
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12100,20 +12184,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12100
12184
|
* @param {MarketingType} [marketingType]
|
|
12101
12185
|
* @param {string} [specialtyTypeId]
|
|
12102
12186
|
* @param {string} [specialtyId]
|
|
12103
|
-
* @param {string} [serviceId]
|
|
12104
12187
|
* @param {string} [exceptHospitalId]
|
|
12105
12188
|
* @param {boolean} [showHidden]
|
|
12106
12189
|
* @param {string} [languageCode]
|
|
12107
12190
|
* @param {Array<string>} [ids]
|
|
12108
12191
|
* @param {boolean} [returnDefaultValue]
|
|
12192
|
+
* @param {boolean} [paymentEnabled]
|
|
12109
12193
|
* @param {number} [page]
|
|
12110
12194
|
* @param {number} [limit]
|
|
12111
12195
|
* @param {Date} [lastRetrieved]
|
|
12112
12196
|
* @param {*} [options] Override http request option.
|
|
12113
12197
|
* @throws {RequiredError}
|
|
12114
12198
|
*/
|
|
12115
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12116
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12199
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12200
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12117
12201
|
},
|
|
12118
12202
|
/**
|
|
12119
12203
|
*
|
|
@@ -12295,26 +12379,26 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12295
12379
|
*
|
|
12296
12380
|
* @summary Get all HospitalSpecialties.
|
|
12297
12381
|
* @param {string} hospitalId
|
|
12298
|
-
* @param {string} [hospitalName]
|
|
12299
|
-
* @param {string} [hospitalSlug]
|
|
12300
12382
|
* @param {string} [specialtyId]
|
|
12301
12383
|
* @param {string} [specialtyName]
|
|
12302
12384
|
* @param {string} [specialtyTypeId]
|
|
12303
|
-
* @param {string} [
|
|
12304
|
-
* @param {string} [
|
|
12385
|
+
* @param {string} [specialtyTypeName]
|
|
12386
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12387
|
+
* @param {string} [name]
|
|
12388
|
+
* @param {string} [slug]
|
|
12305
12389
|
* @param {MarketingType} [marketingType]
|
|
12306
|
-
* @param {string} [languageCode]
|
|
12307
|
-
* @param {boolean} [showHidden]
|
|
12308
12390
|
* @param {boolean} [returnDefaultValue]
|
|
12309
12391
|
* @param {boolean} [includeServices]
|
|
12392
|
+
* @param {string} [languageCode]
|
|
12393
|
+
* @param {boolean} [showHidden]
|
|
12310
12394
|
* @param {number} [page]
|
|
12311
12395
|
* @param {number} [limit]
|
|
12312
12396
|
* @param {Date} [lastRetrieved]
|
|
12313
12397
|
* @param {*} [options] Override http request option.
|
|
12314
12398
|
* @throws {RequiredError}
|
|
12315
12399
|
*/
|
|
12316
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId,
|
|
12317
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
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); });
|
|
12318
12402
|
},
|
|
12319
12403
|
/**
|
|
12320
12404
|
*
|
|
@@ -12348,26 +12432,40 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12348
12432
|
*
|
|
12349
12433
|
* @summary Get all HospitalSpecialties.
|
|
12350
12434
|
* @param {string} hospitalId
|
|
12351
|
-
* @param {string} [hospitalName]
|
|
12352
|
-
* @param {string} [hospitalSlug]
|
|
12353
12435
|
* @param {string} [specialtyId]
|
|
12354
12436
|
* @param {string} [specialtyName]
|
|
12355
12437
|
* @param {string} [specialtyTypeId]
|
|
12356
|
-
* @param {string} [
|
|
12357
|
-
* @param {string} [
|
|
12438
|
+
* @param {string} [specialtyTypeName]
|
|
12439
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12440
|
+
* @param {string} [name]
|
|
12441
|
+
* @param {string} [slug]
|
|
12358
12442
|
* @param {MarketingType} [marketingType]
|
|
12359
|
-
* @param {string} [languageCode]
|
|
12360
|
-
* @param {boolean} [showHidden]
|
|
12361
12443
|
* @param {boolean} [returnDefaultValue]
|
|
12362
12444
|
* @param {boolean} [includeServices]
|
|
12445
|
+
* @param {string} [languageCode]
|
|
12446
|
+
* @param {boolean} [showHidden]
|
|
12363
12447
|
* @param {number} [page]
|
|
12364
12448
|
* @param {number} [limit]
|
|
12365
12449
|
* @param {Date} [lastRetrieved]
|
|
12366
12450
|
* @param {*} [options] Override http request option.
|
|
12367
12451
|
* @throws {RequiredError}
|
|
12368
12452
|
*/
|
|
12369
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId,
|
|
12370
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId,
|
|
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); });
|
|
12371
12469
|
},
|
|
12372
12470
|
/**
|
|
12373
12471
|
*
|
|
@@ -12388,14 +12486,9 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12388
12486
|
* @summary Get all HospitalServices.
|
|
12389
12487
|
* @param {string} hospitalId
|
|
12390
12488
|
* @param {string} specialtyId
|
|
12391
|
-
* @param {string} [hospitalName]
|
|
12392
|
-
* @param {string} [hospitalSlug]
|
|
12393
12489
|
* @param {string} [id]
|
|
12394
12490
|
* @param {string} [name]
|
|
12395
|
-
* @param {string} [
|
|
12396
|
-
* @param {string} [specialtyName]
|
|
12397
|
-
* @param {string} [specialtyTypeId]
|
|
12398
|
-
* @param {string} [specialtyTypeName]
|
|
12491
|
+
* @param {string} [slug]
|
|
12399
12492
|
* @param {string} [serviceCategoryId]
|
|
12400
12493
|
* @param {MarketingType} [marketingType]
|
|
12401
12494
|
* @param {Procedure} [procedure]
|
|
@@ -12408,8 +12501,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12408
12501
|
* @param {*} [options] Override http request option.
|
|
12409
12502
|
* @throws {RequiredError}
|
|
12410
12503
|
*/
|
|
12411
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId,
|
|
12412
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
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); });
|
|
12413
12506
|
},
|
|
12414
12507
|
/**
|
|
12415
12508
|
*
|
|
@@ -12494,20 +12587,20 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12494
12587
|
* @param {MarketingType} [marketingType]
|
|
12495
12588
|
* @param {string} [specialtyTypeId]
|
|
12496
12589
|
* @param {string} [specialtyId]
|
|
12497
|
-
* @param {string} [serviceId]
|
|
12498
12590
|
* @param {string} [exceptHospitalId]
|
|
12499
12591
|
* @param {boolean} [showHidden]
|
|
12500
12592
|
* @param {string} [languageCode]
|
|
12501
12593
|
* @param {Array<string>} [ids]
|
|
12502
12594
|
* @param {boolean} [returnDefaultValue]
|
|
12595
|
+
* @param {boolean} [paymentEnabled]
|
|
12503
12596
|
* @param {number} [page]
|
|
12504
12597
|
* @param {number} [limit]
|
|
12505
12598
|
* @param {Date} [lastRetrieved]
|
|
12506
12599
|
* @param {*} [options] Override http request option.
|
|
12507
12600
|
* @throws {RequiredError}
|
|
12508
12601
|
*/
|
|
12509
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12510
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12602
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12603
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12511
12604
|
},
|
|
12512
12605
|
/**
|
|
12513
12606
|
*
|
|
@@ -12544,12 +12637,12 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12544
12637
|
* @param {MarketingType} [marketingType]
|
|
12545
12638
|
* @param {string} [specialtyTypeId]
|
|
12546
12639
|
* @param {string} [specialtyId]
|
|
12547
|
-
* @param {string} [serviceId]
|
|
12548
12640
|
* @param {string} [exceptHospitalId]
|
|
12549
12641
|
* @param {boolean} [showHidden]
|
|
12550
12642
|
* @param {string} [languageCode]
|
|
12551
12643
|
* @param {Array<string>} [ids]
|
|
12552
12644
|
* @param {boolean} [returnDefaultValue]
|
|
12645
|
+
* @param {boolean} [paymentEnabled]
|
|
12553
12646
|
* @param {number} [page]
|
|
12554
12647
|
* @param {number} [limit]
|
|
12555
12648
|
* @param {Date} [lastRetrieved]
|
|
@@ -12557,9 +12650,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12557
12650
|
* @throws {RequiredError}
|
|
12558
12651
|
* @memberof HospitalsApi
|
|
12559
12652
|
*/
|
|
12560
|
-
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12653
|
+
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12561
12654
|
var _this = this;
|
|
12562
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
12655
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12563
12656
|
};
|
|
12564
12657
|
/**
|
|
12565
12658
|
*
|
|
@@ -12767,18 +12860,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12767
12860
|
*
|
|
12768
12861
|
* @summary Get all HospitalSpecialties.
|
|
12769
12862
|
* @param {string} hospitalId
|
|
12770
|
-
* @param {string} [hospitalName]
|
|
12771
|
-
* @param {string} [hospitalSlug]
|
|
12772
12863
|
* @param {string} [specialtyId]
|
|
12773
12864
|
* @param {string} [specialtyName]
|
|
12774
12865
|
* @param {string} [specialtyTypeId]
|
|
12775
|
-
* @param {string} [
|
|
12776
|
-
* @param {string} [
|
|
12866
|
+
* @param {string} [specialtyTypeName]
|
|
12867
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12868
|
+
* @param {string} [name]
|
|
12869
|
+
* @param {string} [slug]
|
|
12777
12870
|
* @param {MarketingType} [marketingType]
|
|
12778
|
-
* @param {string} [languageCode]
|
|
12779
|
-
* @param {boolean} [showHidden]
|
|
12780
12871
|
* @param {boolean} [returnDefaultValue]
|
|
12781
12872
|
* @param {boolean} [includeServices]
|
|
12873
|
+
* @param {string} [languageCode]
|
|
12874
|
+
* @param {boolean} [showHidden]
|
|
12782
12875
|
* @param {number} [page]
|
|
12783
12876
|
* @param {number} [limit]
|
|
12784
12877
|
* @param {Date} [lastRetrieved]
|
|
@@ -12786,9 +12879,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12786
12879
|
* @throws {RequiredError}
|
|
12787
12880
|
* @memberof HospitalsApi
|
|
12788
12881
|
*/
|
|
12789
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId,
|
|
12882
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12790
12883
|
var _this = this;
|
|
12791
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId,
|
|
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); });
|
|
12792
12885
|
};
|
|
12793
12886
|
/**
|
|
12794
12887
|
*
|
|
@@ -12826,18 +12919,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12826
12919
|
*
|
|
12827
12920
|
* @summary Get all HospitalSpecialties.
|
|
12828
12921
|
* @param {string} hospitalId
|
|
12829
|
-
* @param {string} [hospitalName]
|
|
12830
|
-
* @param {string} [hospitalSlug]
|
|
12831
12922
|
* @param {string} [specialtyId]
|
|
12832
12923
|
* @param {string} [specialtyName]
|
|
12833
12924
|
* @param {string} [specialtyTypeId]
|
|
12834
|
-
* @param {string} [
|
|
12835
|
-
* @param {string} [
|
|
12925
|
+
* @param {string} [specialtyTypeName]
|
|
12926
|
+
* @param {string} [hospitalSpecialtyId]
|
|
12927
|
+
* @param {string} [name]
|
|
12928
|
+
* @param {string} [slug]
|
|
12836
12929
|
* @param {MarketingType} [marketingType]
|
|
12837
|
-
* @param {string} [languageCode]
|
|
12838
|
-
* @param {boolean} [showHidden]
|
|
12839
12930
|
* @param {boolean} [returnDefaultValue]
|
|
12840
12931
|
* @param {boolean} [includeServices]
|
|
12932
|
+
* @param {string} [languageCode]
|
|
12933
|
+
* @param {boolean} [showHidden]
|
|
12841
12934
|
* @param {number} [page]
|
|
12842
12935
|
* @param {number} [limit]
|
|
12843
12936
|
* @param {Date} [lastRetrieved]
|
|
@@ -12845,9 +12938,25 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12845
12938
|
* @throws {RequiredError}
|
|
12846
12939
|
* @memberof HospitalsApi
|
|
12847
12940
|
*/
|
|
12848
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId,
|
|
12941
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, returnDefaultValue, includeServices, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12849
12942
|
var _this = this;
|
|
12850
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId,
|
|
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) {
|
|
12958
|
+
var _this = this;
|
|
12959
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, includeServices, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12851
12960
|
};
|
|
12852
12961
|
/**
|
|
12853
12962
|
*
|
|
@@ -12870,14 +12979,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12870
12979
|
* @summary Get all HospitalServices.
|
|
12871
12980
|
* @param {string} hospitalId
|
|
12872
12981
|
* @param {string} specialtyId
|
|
12873
|
-
* @param {string} [hospitalName]
|
|
12874
|
-
* @param {string} [hospitalSlug]
|
|
12875
12982
|
* @param {string} [id]
|
|
12876
12983
|
* @param {string} [name]
|
|
12877
|
-
* @param {string} [
|
|
12878
|
-
* @param {string} [specialtyName]
|
|
12879
|
-
* @param {string} [specialtyTypeId]
|
|
12880
|
-
* @param {string} [specialtyTypeName]
|
|
12984
|
+
* @param {string} [slug]
|
|
12881
12985
|
* @param {string} [serviceCategoryId]
|
|
12882
12986
|
* @param {MarketingType} [marketingType]
|
|
12883
12987
|
* @param {Procedure} [procedure]
|
|
@@ -12891,9 +12995,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12891
12995
|
* @throws {RequiredError}
|
|
12892
12996
|
* @memberof HospitalsApi
|
|
12893
12997
|
*/
|
|
12894
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId,
|
|
12998
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
12895
12999
|
var _this = this;
|
|
12896
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId,
|
|
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); });
|
|
12897
13001
|
};
|
|
12898
13002
|
/**
|
|
12899
13003
|
*
|
|
@@ -12988,12 +13092,12 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12988
13092
|
* @param {MarketingType} [marketingType]
|
|
12989
13093
|
* @param {string} [specialtyTypeId]
|
|
12990
13094
|
* @param {string} [specialtyId]
|
|
12991
|
-
* @param {string} [serviceId]
|
|
12992
13095
|
* @param {string} [exceptHospitalId]
|
|
12993
13096
|
* @param {boolean} [showHidden]
|
|
12994
13097
|
* @param {string} [languageCode]
|
|
12995
13098
|
* @param {Array<string>} [ids]
|
|
12996
13099
|
* @param {boolean} [returnDefaultValue]
|
|
13100
|
+
* @param {boolean} [paymentEnabled]
|
|
12997
13101
|
* @param {number} [page]
|
|
12998
13102
|
* @param {number} [limit]
|
|
12999
13103
|
* @param {Date} [lastRetrieved]
|
|
@@ -13001,9 +13105,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13001
13105
|
* @throws {RequiredError}
|
|
13002
13106
|
* @memberof HospitalsApi
|
|
13003
13107
|
*/
|
|
13004
|
-
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
13108
|
+
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13005
13109
|
var _this = this;
|
|
13006
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId,
|
|
13110
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13007
13111
|
};
|
|
13008
13112
|
/**
|
|
13009
13113
|
*
|
|
@@ -15108,1160 +15212,140 @@ var ProfilesApiFp = function (configuration) {
|
|
|
15108
15212
|
}
|
|
15109
15213
|
});
|
|
15110
15214
|
});
|
|
15111
|
-
},
|
|
15112
|
-
/**
|
|
15113
|
-
*
|
|
15114
|
-
* @summary Update Profile.
|
|
15115
|
-
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
15116
|
-
* @param {*} [options] Override http request option.
|
|
15117
|
-
* @throws {RequiredError}
|
|
15118
|
-
*/
|
|
15119
|
-
apiV2ProfilesPut: function (updateProfileCommand, options) {
|
|
15120
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15121
|
-
var localVarAxiosArgs;
|
|
15122
|
-
return __generator(this, function (_a) {
|
|
15123
|
-
switch (_a.label) {
|
|
15124
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPut(updateProfileCommand, options)];
|
|
15125
|
-
case 1:
|
|
15126
|
-
localVarAxiosArgs = _a.sent();
|
|
15127
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15128
|
-
}
|
|
15129
|
-
});
|
|
15130
|
-
});
|
|
15131
|
-
},
|
|
15132
|
-
};
|
|
15133
|
-
};
|
|
15134
|
-
exports.ProfilesApiFp = ProfilesApiFp;
|
|
15135
|
-
/**
|
|
15136
|
-
* ProfilesApi - factory interface
|
|
15137
|
-
* @export
|
|
15138
|
-
*/
|
|
15139
|
-
var ProfilesApiFactory = function (configuration, basePath, axios) {
|
|
15140
|
-
var localVarFp = (0, exports.ProfilesApiFp)(configuration);
|
|
15141
|
-
return {
|
|
15142
|
-
/**
|
|
15143
|
-
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
15144
|
-
* @summary Change user\'s email on both Identity and Api.
|
|
15145
|
-
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
15146
|
-
* @param {*} [options] Override http request option.
|
|
15147
|
-
* @throws {RequiredError}
|
|
15148
|
-
*/
|
|
15149
|
-
apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
|
|
15150
|
-
return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15151
|
-
},
|
|
15152
|
-
/**
|
|
15153
|
-
*
|
|
15154
|
-
* @summary Configm email.
|
|
15155
|
-
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
15156
|
-
* @param {*} [options] Override http request option.
|
|
15157
|
-
* @throws {RequiredError}
|
|
15158
|
-
*/
|
|
15159
|
-
apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
|
|
15160
|
-
return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15161
|
-
},
|
|
15162
|
-
/**
|
|
15163
|
-
*
|
|
15164
|
-
* @summary Get Profile.
|
|
15165
|
-
* @param {*} [options] Override http request option.
|
|
15166
|
-
* @throws {RequiredError}
|
|
15167
|
-
*/
|
|
15168
|
-
apiV2ProfilesGet: function (options) {
|
|
15169
|
-
return localVarFp.apiV2ProfilesGet(options).then(function (request) { return request(axios, basePath); });
|
|
15170
|
-
},
|
|
15171
|
-
/**
|
|
15172
|
-
*
|
|
15173
|
-
* @summary Update Profile.
|
|
15174
|
-
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
15175
|
-
* @param {*} [options] Override http request option.
|
|
15176
|
-
* @throws {RequiredError}
|
|
15177
|
-
*/
|
|
15178
|
-
apiV2ProfilesPut: function (updateProfileCommand, options) {
|
|
15179
|
-
return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15180
|
-
},
|
|
15181
|
-
};
|
|
15182
|
-
};
|
|
15183
|
-
exports.ProfilesApiFactory = ProfilesApiFactory;
|
|
15184
|
-
/**
|
|
15185
|
-
* ProfilesApi - object-oriented interface
|
|
15186
|
-
* @export
|
|
15187
|
-
* @class ProfilesApi
|
|
15188
|
-
* @extends {BaseAPI}
|
|
15189
|
-
*/
|
|
15190
|
-
var ProfilesApi = /** @class */ (function (_super) {
|
|
15191
|
-
__extends(ProfilesApi, _super);
|
|
15192
|
-
function ProfilesApi() {
|
|
15193
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
15194
|
-
}
|
|
15195
|
-
/**
|
|
15196
|
-
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
15197
|
-
* @summary Change user\'s email on both Identity and Api.
|
|
15198
|
-
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
15199
|
-
* @param {*} [options] Override http request option.
|
|
15200
|
-
* @throws {RequiredError}
|
|
15201
|
-
* @memberof ProfilesApi
|
|
15202
|
-
*/
|
|
15203
|
-
ProfilesApi.prototype.apiV2ProfilesChangeemailPost = function (changeEmailCommand, options) {
|
|
15204
|
-
var _this = this;
|
|
15205
|
-
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15206
|
-
};
|
|
15207
|
-
/**
|
|
15208
|
-
*
|
|
15209
|
-
* @summary Configm email.
|
|
15210
|
-
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
15211
|
-
* @param {*} [options] Override http request option.
|
|
15212
|
-
* @throws {RequiredError}
|
|
15213
|
-
* @memberof ProfilesApi
|
|
15214
|
-
*/
|
|
15215
|
-
ProfilesApi.prototype.apiV2ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
|
|
15216
|
-
var _this = this;
|
|
15217
|
-
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15218
|
-
};
|
|
15219
|
-
/**
|
|
15220
|
-
*
|
|
15221
|
-
* @summary Get Profile.
|
|
15222
|
-
* @param {*} [options] Override http request option.
|
|
15223
|
-
* @throws {RequiredError}
|
|
15224
|
-
* @memberof ProfilesApi
|
|
15225
|
-
*/
|
|
15226
|
-
ProfilesApi.prototype.apiV2ProfilesGet = function (options) {
|
|
15227
|
-
var _this = this;
|
|
15228
|
-
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15229
|
-
};
|
|
15230
|
-
/**
|
|
15231
|
-
*
|
|
15232
|
-
* @summary Update Profile.
|
|
15233
|
-
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
15234
|
-
* @param {*} [options] Override http request option.
|
|
15235
|
-
* @throws {RequiredError}
|
|
15236
|
-
* @memberof ProfilesApi
|
|
15237
|
-
*/
|
|
15238
|
-
ProfilesApi.prototype.apiV2ProfilesPut = function (updateProfileCommand, options) {
|
|
15239
|
-
var _this = this;
|
|
15240
|
-
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15241
|
-
};
|
|
15242
|
-
return ProfilesApi;
|
|
15243
|
-
}(base_1.BaseAPI));
|
|
15244
|
-
exports.ProfilesApi = ProfilesApi;
|
|
15245
|
-
/**
|
|
15246
|
-
* SearchApi - axios parameter creator
|
|
15247
|
-
* @export
|
|
15248
|
-
*/
|
|
15249
|
-
var SearchApiAxiosParamCreator = function (configuration) {
|
|
15250
|
-
var _this = this;
|
|
15251
|
-
return {
|
|
15252
|
-
/**
|
|
15253
|
-
*
|
|
15254
|
-
* @param {string} keyword
|
|
15255
|
-
* @param {AutocompleteMode} [mode]
|
|
15256
|
-
* @param {boolean} [fuzzy]
|
|
15257
|
-
* @param {boolean} [highlights]
|
|
15258
|
-
* @param {number} [size]
|
|
15259
|
-
* @param {number} [minimumCoverage]
|
|
15260
|
-
* @param {*} [options] Override http request option.
|
|
15261
|
-
* @throws {RequiredError}
|
|
15262
|
-
*/
|
|
15263
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
15264
|
-
if (options === void 0) { options = {}; }
|
|
15265
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15266
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15267
|
-
return __generator(this, function (_a) {
|
|
15268
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
15269
|
-
(0, common_1.assertParamExists)('apiV2SearchAutocompleteGet', 'keyword', keyword);
|
|
15270
|
-
localVarPath = "/api/v2/search/autocomplete";
|
|
15271
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15272
|
-
if (configuration) {
|
|
15273
|
-
baseOptions = configuration.baseOptions;
|
|
15274
|
-
}
|
|
15275
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15276
|
-
localVarHeaderParameter = {};
|
|
15277
|
-
localVarQueryParameter = {};
|
|
15278
|
-
if (mode !== undefined) {
|
|
15279
|
-
localVarQueryParameter['Mode'] = mode;
|
|
15280
|
-
}
|
|
15281
|
-
if (keyword !== undefined) {
|
|
15282
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
15283
|
-
}
|
|
15284
|
-
if (fuzzy !== undefined) {
|
|
15285
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
15286
|
-
}
|
|
15287
|
-
if (highlights !== undefined) {
|
|
15288
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
15289
|
-
}
|
|
15290
|
-
if (size !== undefined) {
|
|
15291
|
-
localVarQueryParameter['Size'] = size;
|
|
15292
|
-
}
|
|
15293
|
-
if (minimumCoverage !== undefined) {
|
|
15294
|
-
localVarQueryParameter['MinimumCoverage'] = minimumCoverage;
|
|
15295
|
-
}
|
|
15296
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15297
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15298
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15299
|
-
return [2 /*return*/, {
|
|
15300
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15301
|
-
options: localVarRequestOptions,
|
|
15302
|
-
}];
|
|
15303
|
-
});
|
|
15304
|
-
});
|
|
15305
|
-
},
|
|
15306
|
-
/**
|
|
15307
|
-
*
|
|
15308
|
-
* @param {string} [searchTerm]
|
|
15309
|
-
* @param {boolean} [countOnly]
|
|
15310
|
-
* @param {string} [countryId]
|
|
15311
|
-
* @param {string} [hospitalId]
|
|
15312
|
-
* @param {MarketingType} [marketingType]
|
|
15313
|
-
* @param {string} [languageCode]
|
|
15314
|
-
* @param {number} [page]
|
|
15315
|
-
* @param {number} [limit]
|
|
15316
|
-
* @param {Date} [lastRetrieved]
|
|
15317
|
-
* @param {*} [options] Override http request option.
|
|
15318
|
-
* @throws {RequiredError}
|
|
15319
|
-
*/
|
|
15320
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15321
|
-
if (options === void 0) { options = {}; }
|
|
15322
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15323
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15324
|
-
return __generator(this, function (_a) {
|
|
15325
|
-
localVarPath = "/api/v2/search/deals";
|
|
15326
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15327
|
-
if (configuration) {
|
|
15328
|
-
baseOptions = configuration.baseOptions;
|
|
15329
|
-
}
|
|
15330
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15331
|
-
localVarHeaderParameter = {};
|
|
15332
|
-
localVarQueryParameter = {};
|
|
15333
|
-
if (searchTerm !== undefined) {
|
|
15334
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15335
|
-
}
|
|
15336
|
-
if (countOnly !== undefined) {
|
|
15337
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15338
|
-
}
|
|
15339
|
-
if (countryId !== undefined) {
|
|
15340
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15341
|
-
}
|
|
15342
|
-
if (hospitalId !== undefined) {
|
|
15343
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15344
|
-
}
|
|
15345
|
-
if (marketingType !== undefined) {
|
|
15346
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15347
|
-
}
|
|
15348
|
-
if (languageCode !== undefined) {
|
|
15349
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15350
|
-
}
|
|
15351
|
-
if (page !== undefined) {
|
|
15352
|
-
localVarQueryParameter['page'] = page;
|
|
15353
|
-
}
|
|
15354
|
-
if (limit !== undefined) {
|
|
15355
|
-
localVarQueryParameter['limit'] = limit;
|
|
15356
|
-
}
|
|
15357
|
-
if (lastRetrieved !== undefined) {
|
|
15358
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15359
|
-
lastRetrieved.toISOString() :
|
|
15360
|
-
lastRetrieved;
|
|
15361
|
-
}
|
|
15362
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15363
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15364
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15365
|
-
return [2 /*return*/, {
|
|
15366
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15367
|
-
options: localVarRequestOptions,
|
|
15368
|
-
}];
|
|
15369
|
-
});
|
|
15370
|
-
});
|
|
15371
|
-
},
|
|
15372
|
-
/**
|
|
15373
|
-
*
|
|
15374
|
-
* @param {string} [searchTerm]
|
|
15375
|
-
* @param {boolean} [countOnly]
|
|
15376
|
-
* @param {string} [countryId]
|
|
15377
|
-
* @param {string} [hospitalId]
|
|
15378
|
-
* @param {MarketingType} [marketingType]
|
|
15379
|
-
* @param {string} [languageCode]
|
|
15380
|
-
* @param {number} [page]
|
|
15381
|
-
* @param {number} [limit]
|
|
15382
|
-
* @param {Date} [lastRetrieved]
|
|
15383
|
-
* @param {*} [options] Override http request option.
|
|
15384
|
-
* @throws {RequiredError}
|
|
15385
|
-
*/
|
|
15386
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15387
|
-
if (options === void 0) { options = {}; }
|
|
15388
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15389
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15390
|
-
return __generator(this, function (_a) {
|
|
15391
|
-
localVarPath = "/api/v2/search/doctors";
|
|
15392
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15393
|
-
if (configuration) {
|
|
15394
|
-
baseOptions = configuration.baseOptions;
|
|
15395
|
-
}
|
|
15396
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15397
|
-
localVarHeaderParameter = {};
|
|
15398
|
-
localVarQueryParameter = {};
|
|
15399
|
-
if (searchTerm !== undefined) {
|
|
15400
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15401
|
-
}
|
|
15402
|
-
if (countOnly !== undefined) {
|
|
15403
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15404
|
-
}
|
|
15405
|
-
if (countryId !== undefined) {
|
|
15406
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15407
|
-
}
|
|
15408
|
-
if (hospitalId !== undefined) {
|
|
15409
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15410
|
-
}
|
|
15411
|
-
if (marketingType !== undefined) {
|
|
15412
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15413
|
-
}
|
|
15414
|
-
if (languageCode !== undefined) {
|
|
15415
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15416
|
-
}
|
|
15417
|
-
if (page !== undefined) {
|
|
15418
|
-
localVarQueryParameter['page'] = page;
|
|
15419
|
-
}
|
|
15420
|
-
if (limit !== undefined) {
|
|
15421
|
-
localVarQueryParameter['limit'] = limit;
|
|
15422
|
-
}
|
|
15423
|
-
if (lastRetrieved !== undefined) {
|
|
15424
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15425
|
-
lastRetrieved.toISOString() :
|
|
15426
|
-
lastRetrieved;
|
|
15427
|
-
}
|
|
15428
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15429
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15430
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15431
|
-
return [2 /*return*/, {
|
|
15432
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15433
|
-
options: localVarRequestOptions,
|
|
15434
|
-
}];
|
|
15435
|
-
});
|
|
15436
|
-
});
|
|
15437
|
-
},
|
|
15438
|
-
/**
|
|
15439
|
-
*
|
|
15440
|
-
* @param {string} [searchTerm]
|
|
15441
|
-
* @param {boolean} [countOnly]
|
|
15442
|
-
* @param {string} [countryId]
|
|
15443
|
-
* @param {string} [hospitalId]
|
|
15444
|
-
* @param {MarketingType} [marketingType]
|
|
15445
|
-
* @param {string} [languageCode]
|
|
15446
|
-
* @param {number} [page]
|
|
15447
|
-
* @param {number} [limit]
|
|
15448
|
-
* @param {Date} [lastRetrieved]
|
|
15449
|
-
* @param {*} [options] Override http request option.
|
|
15450
|
-
* @throws {RequiredError}
|
|
15451
|
-
*/
|
|
15452
|
-
apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15453
|
-
if (options === void 0) { options = {}; }
|
|
15454
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15455
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15456
|
-
return __generator(this, function (_a) {
|
|
15457
|
-
localVarPath = "/api/v2/search/getcount";
|
|
15458
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15459
|
-
if (configuration) {
|
|
15460
|
-
baseOptions = configuration.baseOptions;
|
|
15461
|
-
}
|
|
15462
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15463
|
-
localVarHeaderParameter = {};
|
|
15464
|
-
localVarQueryParameter = {};
|
|
15465
|
-
if (searchTerm !== undefined) {
|
|
15466
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15467
|
-
}
|
|
15468
|
-
if (countOnly !== undefined) {
|
|
15469
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15470
|
-
}
|
|
15471
|
-
if (countryId !== undefined) {
|
|
15472
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15473
|
-
}
|
|
15474
|
-
if (hospitalId !== undefined) {
|
|
15475
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15476
|
-
}
|
|
15477
|
-
if (marketingType !== undefined) {
|
|
15478
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15479
|
-
}
|
|
15480
|
-
if (languageCode !== undefined) {
|
|
15481
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15482
|
-
}
|
|
15483
|
-
if (page !== undefined) {
|
|
15484
|
-
localVarQueryParameter['page'] = page;
|
|
15485
|
-
}
|
|
15486
|
-
if (limit !== undefined) {
|
|
15487
|
-
localVarQueryParameter['limit'] = limit;
|
|
15488
|
-
}
|
|
15489
|
-
if (lastRetrieved !== undefined) {
|
|
15490
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15491
|
-
lastRetrieved.toISOString() :
|
|
15492
|
-
lastRetrieved;
|
|
15493
|
-
}
|
|
15494
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15495
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15496
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15497
|
-
return [2 /*return*/, {
|
|
15498
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15499
|
-
options: localVarRequestOptions,
|
|
15500
|
-
}];
|
|
15501
|
-
});
|
|
15502
|
-
});
|
|
15503
|
-
},
|
|
15504
|
-
/**
|
|
15505
|
-
*
|
|
15506
|
-
* @param {string} [searchTerm]
|
|
15507
|
-
* @param {boolean} [countOnly]
|
|
15508
|
-
* @param {string} [countryId]
|
|
15509
|
-
* @param {string} [hospitalId]
|
|
15510
|
-
* @param {MarketingType} [marketingType]
|
|
15511
|
-
* @param {string} [languageCode]
|
|
15512
|
-
* @param {number} [page]
|
|
15513
|
-
* @param {number} [limit]
|
|
15514
|
-
* @param {Date} [lastRetrieved]
|
|
15515
|
-
* @param {*} [options] Override http request option.
|
|
15516
|
-
* @throws {RequiredError}
|
|
15517
|
-
*/
|
|
15518
|
-
apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15519
|
-
if (options === void 0) { options = {}; }
|
|
15520
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15521
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15522
|
-
return __generator(this, function (_a) {
|
|
15523
|
-
localVarPath = "/api/v2/search/hospitals";
|
|
15524
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15525
|
-
if (configuration) {
|
|
15526
|
-
baseOptions = configuration.baseOptions;
|
|
15527
|
-
}
|
|
15528
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15529
|
-
localVarHeaderParameter = {};
|
|
15530
|
-
localVarQueryParameter = {};
|
|
15531
|
-
if (searchTerm !== undefined) {
|
|
15532
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15533
|
-
}
|
|
15534
|
-
if (countOnly !== undefined) {
|
|
15535
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15536
|
-
}
|
|
15537
|
-
if (countryId !== undefined) {
|
|
15538
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15539
|
-
}
|
|
15540
|
-
if (hospitalId !== undefined) {
|
|
15541
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15542
|
-
}
|
|
15543
|
-
if (marketingType !== undefined) {
|
|
15544
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15545
|
-
}
|
|
15546
|
-
if (languageCode !== undefined) {
|
|
15547
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15548
|
-
}
|
|
15549
|
-
if (page !== undefined) {
|
|
15550
|
-
localVarQueryParameter['page'] = page;
|
|
15551
|
-
}
|
|
15552
|
-
if (limit !== undefined) {
|
|
15553
|
-
localVarQueryParameter['limit'] = limit;
|
|
15554
|
-
}
|
|
15555
|
-
if (lastRetrieved !== undefined) {
|
|
15556
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15557
|
-
lastRetrieved.toISOString() :
|
|
15558
|
-
lastRetrieved;
|
|
15559
|
-
}
|
|
15560
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15561
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15562
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15563
|
-
return [2 /*return*/, {
|
|
15564
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15565
|
-
options: localVarRequestOptions,
|
|
15566
|
-
}];
|
|
15567
|
-
});
|
|
15568
|
-
});
|
|
15569
|
-
},
|
|
15570
|
-
/**
|
|
15571
|
-
*
|
|
15572
|
-
* @param {string} [searchTerm]
|
|
15573
|
-
* @param {boolean} [countOnly]
|
|
15574
|
-
* @param {string} [countryId]
|
|
15575
|
-
* @param {string} [hospitalId]
|
|
15576
|
-
* @param {MarketingType} [marketingType]
|
|
15577
|
-
* @param {string} [languageCode]
|
|
15578
|
-
* @param {number} [page]
|
|
15579
|
-
* @param {number} [limit]
|
|
15580
|
-
* @param {Date} [lastRetrieved]
|
|
15581
|
-
* @param {*} [options] Override http request option.
|
|
15582
|
-
* @throws {RequiredError}
|
|
15583
|
-
*/
|
|
15584
|
-
apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15585
|
-
if (options === void 0) { options = {}; }
|
|
15586
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15587
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15588
|
-
return __generator(this, function (_a) {
|
|
15589
|
-
localVarPath = "/api/v2/search/specialties";
|
|
15590
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15591
|
-
if (configuration) {
|
|
15592
|
-
baseOptions = configuration.baseOptions;
|
|
15593
|
-
}
|
|
15594
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15595
|
-
localVarHeaderParameter = {};
|
|
15596
|
-
localVarQueryParameter = {};
|
|
15597
|
-
if (searchTerm !== undefined) {
|
|
15598
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15599
|
-
}
|
|
15600
|
-
if (countOnly !== undefined) {
|
|
15601
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15602
|
-
}
|
|
15603
|
-
if (countryId !== undefined) {
|
|
15604
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15605
|
-
}
|
|
15606
|
-
if (hospitalId !== undefined) {
|
|
15607
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15608
|
-
}
|
|
15609
|
-
if (marketingType !== undefined) {
|
|
15610
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15611
|
-
}
|
|
15612
|
-
if (languageCode !== undefined) {
|
|
15613
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15614
|
-
}
|
|
15615
|
-
if (page !== undefined) {
|
|
15616
|
-
localVarQueryParameter['page'] = page;
|
|
15617
|
-
}
|
|
15618
|
-
if (limit !== undefined) {
|
|
15619
|
-
localVarQueryParameter['limit'] = limit;
|
|
15620
|
-
}
|
|
15621
|
-
if (lastRetrieved !== undefined) {
|
|
15622
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15623
|
-
lastRetrieved.toISOString() :
|
|
15624
|
-
lastRetrieved;
|
|
15625
|
-
}
|
|
15626
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15627
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15628
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15629
|
-
return [2 /*return*/, {
|
|
15630
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15631
|
-
options: localVarRequestOptions,
|
|
15632
|
-
}];
|
|
15633
|
-
});
|
|
15634
|
-
});
|
|
15635
|
-
},
|
|
15636
|
-
/**
|
|
15637
|
-
*
|
|
15638
|
-
* @param {string} [searchTerm]
|
|
15639
|
-
* @param {boolean} [countOnly]
|
|
15640
|
-
* @param {string} [countryId]
|
|
15641
|
-
* @param {string} [hospitalId]
|
|
15642
|
-
* @param {MarketingType} [marketingType]
|
|
15643
|
-
* @param {string} [languageCode]
|
|
15644
|
-
* @param {number} [page]
|
|
15645
|
-
* @param {number} [limit]
|
|
15646
|
-
* @param {Date} [lastRetrieved]
|
|
15647
|
-
* @param {*} [options] Override http request option.
|
|
15648
|
-
* @throws {RequiredError}
|
|
15649
|
-
*/
|
|
15650
|
-
apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15651
|
-
if (options === void 0) { options = {}; }
|
|
15652
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15653
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15654
|
-
return __generator(this, function (_a) {
|
|
15655
|
-
localVarPath = "/api/v2/search/specialtytypes";
|
|
15656
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15657
|
-
if (configuration) {
|
|
15658
|
-
baseOptions = configuration.baseOptions;
|
|
15659
|
-
}
|
|
15660
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15661
|
-
localVarHeaderParameter = {};
|
|
15662
|
-
localVarQueryParameter = {};
|
|
15663
|
-
if (searchTerm !== undefined) {
|
|
15664
|
-
localVarQueryParameter['SearchTerm'] = searchTerm;
|
|
15665
|
-
}
|
|
15666
|
-
if (countOnly !== undefined) {
|
|
15667
|
-
localVarQueryParameter['CountOnly'] = countOnly;
|
|
15668
|
-
}
|
|
15669
|
-
if (countryId !== undefined) {
|
|
15670
|
-
localVarQueryParameter['CountryId'] = countryId;
|
|
15671
|
-
}
|
|
15672
|
-
if (hospitalId !== undefined) {
|
|
15673
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
15674
|
-
}
|
|
15675
|
-
if (marketingType !== undefined) {
|
|
15676
|
-
localVarQueryParameter['MarketingType'] = marketingType;
|
|
15677
|
-
}
|
|
15678
|
-
if (languageCode !== undefined) {
|
|
15679
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15680
|
-
}
|
|
15681
|
-
if (page !== undefined) {
|
|
15682
|
-
localVarQueryParameter['page'] = page;
|
|
15683
|
-
}
|
|
15684
|
-
if (limit !== undefined) {
|
|
15685
|
-
localVarQueryParameter['limit'] = limit;
|
|
15686
|
-
}
|
|
15687
|
-
if (lastRetrieved !== undefined) {
|
|
15688
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
15689
|
-
lastRetrieved.toISOString() :
|
|
15690
|
-
lastRetrieved;
|
|
15691
|
-
}
|
|
15692
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15693
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15694
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15695
|
-
return [2 /*return*/, {
|
|
15696
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15697
|
-
options: localVarRequestOptions,
|
|
15698
|
-
}];
|
|
15699
|
-
});
|
|
15700
|
-
});
|
|
15701
|
-
},
|
|
15702
|
-
/**
|
|
15703
|
-
*
|
|
15704
|
-
* @param {string} keyword
|
|
15705
|
-
* @param {boolean} [fuzzy]
|
|
15706
|
-
* @param {boolean} [highlights]
|
|
15707
|
-
* @param {number} [size]
|
|
15708
|
-
* @param {*} [options] Override http request option.
|
|
15709
|
-
* @throws {RequiredError}
|
|
15710
|
-
*/
|
|
15711
|
-
apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
|
|
15712
|
-
if (options === void 0) { options = {}; }
|
|
15713
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
15714
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15715
|
-
return __generator(this, function (_a) {
|
|
15716
|
-
// verify required parameter 'keyword' is not null or undefined
|
|
15717
|
-
(0, common_1.assertParamExists)('apiV2SearchSuggestGet', 'keyword', keyword);
|
|
15718
|
-
localVarPath = "/api/v2/search/suggest";
|
|
15719
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15720
|
-
if (configuration) {
|
|
15721
|
-
baseOptions = configuration.baseOptions;
|
|
15722
|
-
}
|
|
15723
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15724
|
-
localVarHeaderParameter = {};
|
|
15725
|
-
localVarQueryParameter = {};
|
|
15726
|
-
if (keyword !== undefined) {
|
|
15727
|
-
localVarQueryParameter['Keyword'] = keyword;
|
|
15728
|
-
}
|
|
15729
|
-
if (fuzzy !== undefined) {
|
|
15730
|
-
localVarQueryParameter['Fuzzy'] = fuzzy;
|
|
15731
|
-
}
|
|
15732
|
-
if (highlights !== undefined) {
|
|
15733
|
-
localVarQueryParameter['Highlights'] = highlights;
|
|
15734
|
-
}
|
|
15735
|
-
if (size !== undefined) {
|
|
15736
|
-
localVarQueryParameter['Size'] = size;
|
|
15737
|
-
}
|
|
15738
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15739
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15740
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15741
|
-
return [2 /*return*/, {
|
|
15742
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15743
|
-
options: localVarRequestOptions,
|
|
15744
|
-
}];
|
|
15745
|
-
});
|
|
15746
|
-
});
|
|
15747
|
-
},
|
|
15748
|
-
};
|
|
15749
|
-
};
|
|
15750
|
-
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
15751
|
-
/**
|
|
15752
|
-
* SearchApi - functional programming interface
|
|
15753
|
-
* @export
|
|
15754
|
-
*/
|
|
15755
|
-
var SearchApiFp = function (configuration) {
|
|
15756
|
-
var localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
|
|
15757
|
-
return {
|
|
15758
|
-
/**
|
|
15759
|
-
*
|
|
15760
|
-
* @param {string} keyword
|
|
15761
|
-
* @param {AutocompleteMode} [mode]
|
|
15762
|
-
* @param {boolean} [fuzzy]
|
|
15763
|
-
* @param {boolean} [highlights]
|
|
15764
|
-
* @param {number} [size]
|
|
15765
|
-
* @param {number} [minimumCoverage]
|
|
15766
|
-
* @param {*} [options] Override http request option.
|
|
15767
|
-
* @throws {RequiredError}
|
|
15768
|
-
*/
|
|
15769
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
15770
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15771
|
-
var localVarAxiosArgs;
|
|
15772
|
-
return __generator(this, function (_a) {
|
|
15773
|
-
switch (_a.label) {
|
|
15774
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options)];
|
|
15775
|
-
case 1:
|
|
15776
|
-
localVarAxiosArgs = _a.sent();
|
|
15777
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15778
|
-
}
|
|
15779
|
-
});
|
|
15780
|
-
});
|
|
15781
|
-
},
|
|
15782
|
-
/**
|
|
15783
|
-
*
|
|
15784
|
-
* @param {string} [searchTerm]
|
|
15785
|
-
* @param {boolean} [countOnly]
|
|
15786
|
-
* @param {string} [countryId]
|
|
15787
|
-
* @param {string} [hospitalId]
|
|
15788
|
-
* @param {MarketingType} [marketingType]
|
|
15789
|
-
* @param {string} [languageCode]
|
|
15790
|
-
* @param {number} [page]
|
|
15791
|
-
* @param {number} [limit]
|
|
15792
|
-
* @param {Date} [lastRetrieved]
|
|
15793
|
-
* @param {*} [options] Override http request option.
|
|
15794
|
-
* @throws {RequiredError}
|
|
15795
|
-
*/
|
|
15796
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15797
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15798
|
-
var localVarAxiosArgs;
|
|
15799
|
-
return __generator(this, function (_a) {
|
|
15800
|
-
switch (_a.label) {
|
|
15801
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15802
|
-
case 1:
|
|
15803
|
-
localVarAxiosArgs = _a.sent();
|
|
15804
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15805
|
-
}
|
|
15806
|
-
});
|
|
15807
|
-
});
|
|
15808
|
-
},
|
|
15809
|
-
/**
|
|
15810
|
-
*
|
|
15811
|
-
* @param {string} [searchTerm]
|
|
15812
|
-
* @param {boolean} [countOnly]
|
|
15813
|
-
* @param {string} [countryId]
|
|
15814
|
-
* @param {string} [hospitalId]
|
|
15815
|
-
* @param {MarketingType} [marketingType]
|
|
15816
|
-
* @param {string} [languageCode]
|
|
15817
|
-
* @param {number} [page]
|
|
15818
|
-
* @param {number} [limit]
|
|
15819
|
-
* @param {Date} [lastRetrieved]
|
|
15820
|
-
* @param {*} [options] Override http request option.
|
|
15821
|
-
* @throws {RequiredError}
|
|
15822
|
-
*/
|
|
15823
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15824
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15825
|
-
var localVarAxiosArgs;
|
|
15826
|
-
return __generator(this, function (_a) {
|
|
15827
|
-
switch (_a.label) {
|
|
15828
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15829
|
-
case 1:
|
|
15830
|
-
localVarAxiosArgs = _a.sent();
|
|
15831
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15832
|
-
}
|
|
15833
|
-
});
|
|
15834
|
-
});
|
|
15835
|
-
},
|
|
15836
|
-
/**
|
|
15837
|
-
*
|
|
15838
|
-
* @param {string} [searchTerm]
|
|
15839
|
-
* @param {boolean} [countOnly]
|
|
15840
|
-
* @param {string} [countryId]
|
|
15841
|
-
* @param {string} [hospitalId]
|
|
15842
|
-
* @param {MarketingType} [marketingType]
|
|
15843
|
-
* @param {string} [languageCode]
|
|
15844
|
-
* @param {number} [page]
|
|
15845
|
-
* @param {number} [limit]
|
|
15846
|
-
* @param {Date} [lastRetrieved]
|
|
15847
|
-
* @param {*} [options] Override http request option.
|
|
15848
|
-
* @throws {RequiredError}
|
|
15849
|
-
*/
|
|
15850
|
-
apiV2SearchGetcountGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15851
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15852
|
-
var localVarAxiosArgs;
|
|
15853
|
-
return __generator(this, function (_a) {
|
|
15854
|
-
switch (_a.label) {
|
|
15855
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchGetcountGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15856
|
-
case 1:
|
|
15857
|
-
localVarAxiosArgs = _a.sent();
|
|
15858
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15859
|
-
}
|
|
15860
|
-
});
|
|
15861
|
-
});
|
|
15862
|
-
},
|
|
15863
|
-
/**
|
|
15864
|
-
*
|
|
15865
|
-
* @param {string} [searchTerm]
|
|
15866
|
-
* @param {boolean} [countOnly]
|
|
15867
|
-
* @param {string} [countryId]
|
|
15868
|
-
* @param {string} [hospitalId]
|
|
15869
|
-
* @param {MarketingType} [marketingType]
|
|
15870
|
-
* @param {string} [languageCode]
|
|
15871
|
-
* @param {number} [page]
|
|
15872
|
-
* @param {number} [limit]
|
|
15873
|
-
* @param {Date} [lastRetrieved]
|
|
15874
|
-
* @param {*} [options] Override http request option.
|
|
15875
|
-
* @throws {RequiredError}
|
|
15876
|
-
*/
|
|
15877
|
-
apiV2SearchHospitalsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15878
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15879
|
-
var localVarAxiosArgs;
|
|
15880
|
-
return __generator(this, function (_a) {
|
|
15881
|
-
switch (_a.label) {
|
|
15882
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchHospitalsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15883
|
-
case 1:
|
|
15884
|
-
localVarAxiosArgs = _a.sent();
|
|
15885
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15886
|
-
}
|
|
15887
|
-
});
|
|
15888
|
-
});
|
|
15889
|
-
},
|
|
15890
|
-
/**
|
|
15891
|
-
*
|
|
15892
|
-
* @param {string} [searchTerm]
|
|
15893
|
-
* @param {boolean} [countOnly]
|
|
15894
|
-
* @param {string} [countryId]
|
|
15895
|
-
* @param {string} [hospitalId]
|
|
15896
|
-
* @param {MarketingType} [marketingType]
|
|
15897
|
-
* @param {string} [languageCode]
|
|
15898
|
-
* @param {number} [page]
|
|
15899
|
-
* @param {number} [limit]
|
|
15900
|
-
* @param {Date} [lastRetrieved]
|
|
15901
|
-
* @param {*} [options] Override http request option.
|
|
15902
|
-
* @throws {RequiredError}
|
|
15903
|
-
*/
|
|
15904
|
-
apiV2SearchSpecialtiesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15905
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15906
|
-
var localVarAxiosArgs;
|
|
15907
|
-
return __generator(this, function (_a) {
|
|
15908
|
-
switch (_a.label) {
|
|
15909
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtiesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15910
|
-
case 1:
|
|
15911
|
-
localVarAxiosArgs = _a.sent();
|
|
15912
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15913
|
-
}
|
|
15914
|
-
});
|
|
15915
|
-
});
|
|
15916
|
-
},
|
|
15917
|
-
/**
|
|
15918
|
-
*
|
|
15919
|
-
* @param {string} [searchTerm]
|
|
15920
|
-
* @param {boolean} [countOnly]
|
|
15921
|
-
* @param {string} [countryId]
|
|
15922
|
-
* @param {string} [hospitalId]
|
|
15923
|
-
* @param {MarketingType} [marketingType]
|
|
15924
|
-
* @param {string} [languageCode]
|
|
15925
|
-
* @param {number} [page]
|
|
15926
|
-
* @param {number} [limit]
|
|
15927
|
-
* @param {Date} [lastRetrieved]
|
|
15928
|
-
* @param {*} [options] Override http request option.
|
|
15929
|
-
* @throws {RequiredError}
|
|
15930
|
-
*/
|
|
15931
|
-
apiV2SearchSpecialtytypesGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
15932
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15933
|
-
var localVarAxiosArgs;
|
|
15934
|
-
return __generator(this, function (_a) {
|
|
15935
|
-
switch (_a.label) {
|
|
15936
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSpecialtytypesGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
15937
|
-
case 1:
|
|
15938
|
-
localVarAxiosArgs = _a.sent();
|
|
15939
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15940
|
-
}
|
|
15941
|
-
});
|
|
15942
|
-
});
|
|
15943
|
-
},
|
|
15944
|
-
/**
|
|
15945
|
-
*
|
|
15946
|
-
* @param {string} keyword
|
|
15947
|
-
* @param {boolean} [fuzzy]
|
|
15948
|
-
* @param {boolean} [highlights]
|
|
15949
|
-
* @param {number} [size]
|
|
15950
|
-
* @param {*} [options] Override http request option.
|
|
15951
|
-
* @throws {RequiredError}
|
|
15952
|
-
*/
|
|
15953
|
-
apiV2SearchSuggestGet: function (keyword, fuzzy, highlights, size, options) {
|
|
15954
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15955
|
-
var localVarAxiosArgs;
|
|
15956
|
-
return __generator(this, function (_a) {
|
|
15957
|
-
switch (_a.label) {
|
|
15958
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SearchSuggestGet(keyword, fuzzy, highlights, size, options)];
|
|
15959
|
-
case 1:
|
|
15960
|
-
localVarAxiosArgs = _a.sent();
|
|
15961
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15962
|
-
}
|
|
15963
|
-
});
|
|
15964
|
-
});
|
|
15965
|
-
},
|
|
15966
|
-
};
|
|
15967
|
-
};
|
|
15968
|
-
exports.SearchApiFp = SearchApiFp;
|
|
15969
|
-
/**
|
|
15970
|
-
* SearchApi - factory interface
|
|
15971
|
-
* @export
|
|
15972
|
-
*/
|
|
15973
|
-
var SearchApiFactory = function (configuration, basePath, axios) {
|
|
15974
|
-
var localVarFp = (0, exports.SearchApiFp)(configuration);
|
|
15975
|
-
return {
|
|
15976
|
-
/**
|
|
15977
|
-
*
|
|
15978
|
-
* @param {string} keyword
|
|
15979
|
-
* @param {AutocompleteMode} [mode]
|
|
15980
|
-
* @param {boolean} [fuzzy]
|
|
15981
|
-
* @param {boolean} [highlights]
|
|
15982
|
-
* @param {number} [size]
|
|
15983
|
-
* @param {number} [minimumCoverage]
|
|
15984
|
-
* @param {*} [options] Override http request option.
|
|
15985
|
-
* @throws {RequiredError}
|
|
15986
|
-
*/
|
|
15987
|
-
apiV2SearchAutocompleteGet: function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
15988
|
-
return localVarFp.apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(axios, basePath); });
|
|
15989
|
-
},
|
|
15990
|
-
/**
|
|
15991
|
-
*
|
|
15992
|
-
* @param {string} [searchTerm]
|
|
15993
|
-
* @param {boolean} [countOnly]
|
|
15994
|
-
* @param {string} [countryId]
|
|
15995
|
-
* @param {string} [hospitalId]
|
|
15996
|
-
* @param {MarketingType} [marketingType]
|
|
15997
|
-
* @param {string} [languageCode]
|
|
15998
|
-
* @param {number} [page]
|
|
15999
|
-
* @param {number} [limit]
|
|
16000
|
-
* @param {Date} [lastRetrieved]
|
|
16001
|
-
* @param {*} [options] Override http request option.
|
|
16002
|
-
* @throws {RequiredError}
|
|
16003
|
-
*/
|
|
16004
|
-
apiV2SearchDealsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16005
|
-
return localVarFp.apiV2SearchDealsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16006
|
-
},
|
|
16007
|
-
/**
|
|
16008
|
-
*
|
|
16009
|
-
* @param {string} [searchTerm]
|
|
16010
|
-
* @param {boolean} [countOnly]
|
|
16011
|
-
* @param {string} [countryId]
|
|
16012
|
-
* @param {string} [hospitalId]
|
|
16013
|
-
* @param {MarketingType} [marketingType]
|
|
16014
|
-
* @param {string} [languageCode]
|
|
16015
|
-
* @param {number} [page]
|
|
16016
|
-
* @param {number} [limit]
|
|
16017
|
-
* @param {Date} [lastRetrieved]
|
|
16018
|
-
* @param {*} [options] Override http request option.
|
|
16019
|
-
* @throws {RequiredError}
|
|
16020
|
-
*/
|
|
16021
|
-
apiV2SearchDoctorsGet: function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16022
|
-
return localVarFp.apiV2SearchDoctorsGet(searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16023
|
-
},
|
|
16024
|
-
/**
|
|
16025
|
-
*
|
|
16026
|
-
* @param {string} [searchTerm]
|
|
16027
|
-
* @param {boolean} [countOnly]
|
|
16028
|
-
* @param {string} [countryId]
|
|
16029
|
-
* @param {string} [hospitalId]
|
|
16030
|
-
* @param {MarketingType} [marketingType]
|
|
16031
|
-
* @param {string} [languageCode]
|
|
16032
|
-
* @param {number} [page]
|
|
16033
|
-
* @param {number} [limit]
|
|
16034
|
-
* @param {Date} [lastRetrieved]
|
|
15215
|
+
},
|
|
15216
|
+
/**
|
|
15217
|
+
*
|
|
15218
|
+
* @summary Update Profile.
|
|
15219
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
16035
15220
|
* @param {*} [options] Override http request option.
|
|
16036
15221
|
* @throws {RequiredError}
|
|
16037
15222
|
*/
|
|
16038
|
-
|
|
16039
|
-
return
|
|
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
|
+
});
|
|
16040
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 {
|
|
16041
15246
|
/**
|
|
16042
|
-
*
|
|
16043
|
-
* @
|
|
16044
|
-
* @param {
|
|
16045
|
-
* @param {string} [countryId]
|
|
16046
|
-
* @param {string} [hospitalId]
|
|
16047
|
-
* @param {MarketingType} [marketingType]
|
|
16048
|
-
* @param {string} [languageCode]
|
|
16049
|
-
* @param {number} [page]
|
|
16050
|
-
* @param {number} [limit]
|
|
16051
|
-
* @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]
|
|
16052
15250
|
* @param {*} [options] Override http request option.
|
|
16053
15251
|
* @throws {RequiredError}
|
|
16054
15252
|
*/
|
|
16055
|
-
|
|
16056
|
-
return localVarFp.
|
|
15253
|
+
apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
|
|
15254
|
+
return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16057
15255
|
},
|
|
16058
15256
|
/**
|
|
16059
15257
|
*
|
|
16060
|
-
* @
|
|
16061
|
-
* @param {
|
|
16062
|
-
* @param {string} [countryId]
|
|
16063
|
-
* @param {string} [hospitalId]
|
|
16064
|
-
* @param {MarketingType} [marketingType]
|
|
16065
|
-
* @param {string} [languageCode]
|
|
16066
|
-
* @param {number} [page]
|
|
16067
|
-
* @param {number} [limit]
|
|
16068
|
-
* @param {Date} [lastRetrieved]
|
|
15258
|
+
* @summary Configm email.
|
|
15259
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
16069
15260
|
* @param {*} [options] Override http request option.
|
|
16070
15261
|
* @throws {RequiredError}
|
|
16071
15262
|
*/
|
|
16072
|
-
|
|
16073
|
-
return localVarFp.
|
|
15263
|
+
apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
|
|
15264
|
+
return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16074
15265
|
},
|
|
16075
15266
|
/**
|
|
16076
15267
|
*
|
|
16077
|
-
* @
|
|
16078
|
-
* @param {boolean} [countOnly]
|
|
16079
|
-
* @param {string} [countryId]
|
|
16080
|
-
* @param {string} [hospitalId]
|
|
16081
|
-
* @param {MarketingType} [marketingType]
|
|
16082
|
-
* @param {string} [languageCode]
|
|
16083
|
-
* @param {number} [page]
|
|
16084
|
-
* @param {number} [limit]
|
|
16085
|
-
* @param {Date} [lastRetrieved]
|
|
15268
|
+
* @summary Get Profile.
|
|
16086
15269
|
* @param {*} [options] Override http request option.
|
|
16087
15270
|
* @throws {RequiredError}
|
|
16088
15271
|
*/
|
|
16089
|
-
|
|
16090
|
-
return localVarFp.
|
|
15272
|
+
apiV2ProfilesGet: function (options) {
|
|
15273
|
+
return localVarFp.apiV2ProfilesGet(options).then(function (request) { return request(axios, basePath); });
|
|
16091
15274
|
},
|
|
16092
15275
|
/**
|
|
16093
15276
|
*
|
|
16094
|
-
* @
|
|
16095
|
-
* @param {
|
|
16096
|
-
* @param {boolean} [highlights]
|
|
16097
|
-
* @param {number} [size]
|
|
15277
|
+
* @summary Update Profile.
|
|
15278
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
16098
15279
|
* @param {*} [options] Override http request option.
|
|
16099
15280
|
* @throws {RequiredError}
|
|
16100
15281
|
*/
|
|
16101
|
-
|
|
16102
|
-
return localVarFp.
|
|
15282
|
+
apiV2ProfilesPut: function (updateProfileCommand, options) {
|
|
15283
|
+
return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
|
|
16103
15284
|
},
|
|
16104
15285
|
};
|
|
16105
15286
|
};
|
|
16106
|
-
exports.
|
|
15287
|
+
exports.ProfilesApiFactory = ProfilesApiFactory;
|
|
16107
15288
|
/**
|
|
16108
|
-
*
|
|
15289
|
+
* ProfilesApi - object-oriented interface
|
|
16109
15290
|
* @export
|
|
16110
|
-
* @class
|
|
15291
|
+
* @class ProfilesApi
|
|
16111
15292
|
* @extends {BaseAPI}
|
|
16112
15293
|
*/
|
|
16113
|
-
var
|
|
16114
|
-
__extends(
|
|
16115
|
-
function
|
|
15294
|
+
var ProfilesApi = /** @class */ (function (_super) {
|
|
15295
|
+
__extends(ProfilesApi, _super);
|
|
15296
|
+
function ProfilesApi() {
|
|
16116
15297
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
16117
15298
|
}
|
|
16118
15299
|
/**
|
|
16119
|
-
*
|
|
16120
|
-
* @
|
|
16121
|
-
* @param {
|
|
16122
|
-
* @param {boolean} [fuzzy]
|
|
16123
|
-
* @param {boolean} [highlights]
|
|
16124
|
-
* @param {number} [size]
|
|
16125
|
-
* @param {number} [minimumCoverage]
|
|
16126
|
-
* @param {*} [options] Override http request option.
|
|
16127
|
-
* @throws {RequiredError}
|
|
16128
|
-
* @memberof SearchApi
|
|
16129
|
-
*/
|
|
16130
|
-
SearchApi.prototype.apiV2SearchAutocompleteGet = function (keyword, mode, fuzzy, highlights, size, minimumCoverage, options) {
|
|
16131
|
-
var _this = this;
|
|
16132
|
-
return (0, exports.SearchApiFp)(this.configuration).apiV2SearchAutocompleteGet(keyword, mode, fuzzy, highlights, size, minimumCoverage, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16133
|
-
};
|
|
16134
|
-
/**
|
|
16135
|
-
*
|
|
16136
|
-
* @param {string} [searchTerm]
|
|
16137
|
-
* @param {boolean} [countOnly]
|
|
16138
|
-
* @param {string} [countryId]
|
|
16139
|
-
* @param {string} [hospitalId]
|
|
16140
|
-
* @param {MarketingType} [marketingType]
|
|
16141
|
-
* @param {string} [languageCode]
|
|
16142
|
-
* @param {number} [page]
|
|
16143
|
-
* @param {number} [limit]
|
|
16144
|
-
* @param {Date} [lastRetrieved]
|
|
16145
|
-
* @param {*} [options] Override http request option.
|
|
16146
|
-
* @throws {RequiredError}
|
|
16147
|
-
* @memberof SearchApi
|
|
16148
|
-
*/
|
|
16149
|
-
SearchApi.prototype.apiV2SearchDealsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16150
|
-
var _this = this;
|
|
16151
|
-
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); });
|
|
16152
|
-
};
|
|
16153
|
-
/**
|
|
16154
|
-
*
|
|
16155
|
-
* @param {string} [searchTerm]
|
|
16156
|
-
* @param {boolean} [countOnly]
|
|
16157
|
-
* @param {string} [countryId]
|
|
16158
|
-
* @param {string} [hospitalId]
|
|
16159
|
-
* @param {MarketingType} [marketingType]
|
|
16160
|
-
* @param {string} [languageCode]
|
|
16161
|
-
* @param {number} [page]
|
|
16162
|
-
* @param {number} [limit]
|
|
16163
|
-
* @param {Date} [lastRetrieved]
|
|
16164
|
-
* @param {*} [options] Override http request option.
|
|
16165
|
-
* @throws {RequiredError}
|
|
16166
|
-
* @memberof SearchApi
|
|
16167
|
-
*/
|
|
16168
|
-
SearchApi.prototype.apiV2SearchDoctorsGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16169
|
-
var _this = this;
|
|
16170
|
-
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); });
|
|
16171
|
-
};
|
|
16172
|
-
/**
|
|
16173
|
-
*
|
|
16174
|
-
* @param {string} [searchTerm]
|
|
16175
|
-
* @param {boolean} [countOnly]
|
|
16176
|
-
* @param {string} [countryId]
|
|
16177
|
-
* @param {string} [hospitalId]
|
|
16178
|
-
* @param {MarketingType} [marketingType]
|
|
16179
|
-
* @param {string} [languageCode]
|
|
16180
|
-
* @param {number} [page]
|
|
16181
|
-
* @param {number} [limit]
|
|
16182
|
-
* @param {Date} [lastRetrieved]
|
|
16183
|
-
* @param {*} [options] Override http request option.
|
|
16184
|
-
* @throws {RequiredError}
|
|
16185
|
-
* @memberof SearchApi
|
|
16186
|
-
*/
|
|
16187
|
-
SearchApi.prototype.apiV2SearchGetcountGet = function (searchTerm, countOnly, countryId, hospitalId, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
16188
|
-
var _this = this;
|
|
16189
|
-
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); });
|
|
16190
|
-
};
|
|
16191
|
-
/**
|
|
16192
|
-
*
|
|
16193
|
-
* @param {string} [searchTerm]
|
|
16194
|
-
* @param {boolean} [countOnly]
|
|
16195
|
-
* @param {string} [countryId]
|
|
16196
|
-
* @param {string} [hospitalId]
|
|
16197
|
-
* @param {MarketingType} [marketingType]
|
|
16198
|
-
* @param {string} [languageCode]
|
|
16199
|
-
* @param {number} [page]
|
|
16200
|
-
* @param {number} [limit]
|
|
16201
|
-
* @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]
|
|
16202
15303
|
* @param {*} [options] Override http request option.
|
|
16203
15304
|
* @throws {RequiredError}
|
|
16204
|
-
* @memberof
|
|
15305
|
+
* @memberof ProfilesApi
|
|
16205
15306
|
*/
|
|
16206
|
-
|
|
15307
|
+
ProfilesApi.prototype.apiV2ProfilesChangeemailPost = function (changeEmailCommand, options) {
|
|
16207
15308
|
var _this = this;
|
|
16208
|
-
return (0, exports.
|
|
15309
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16209
15310
|
};
|
|
16210
15311
|
/**
|
|
16211
15312
|
*
|
|
16212
|
-
* @
|
|
16213
|
-
* @param {
|
|
16214
|
-
* @param {string} [countryId]
|
|
16215
|
-
* @param {string} [hospitalId]
|
|
16216
|
-
* @param {MarketingType} [marketingType]
|
|
16217
|
-
* @param {string} [languageCode]
|
|
16218
|
-
* @param {number} [page]
|
|
16219
|
-
* @param {number} [limit]
|
|
16220
|
-
* @param {Date} [lastRetrieved]
|
|
15313
|
+
* @summary Configm email.
|
|
15314
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
16221
15315
|
* @param {*} [options] Override http request option.
|
|
16222
15316
|
* @throws {RequiredError}
|
|
16223
|
-
* @memberof
|
|
15317
|
+
* @memberof ProfilesApi
|
|
16224
15318
|
*/
|
|
16225
|
-
|
|
15319
|
+
ProfilesApi.prototype.apiV2ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
|
|
16226
15320
|
var _this = this;
|
|
16227
|
-
return (0, exports.
|
|
15321
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16228
15322
|
};
|
|
16229
15323
|
/**
|
|
16230
15324
|
*
|
|
16231
|
-
* @
|
|
16232
|
-
* @param {boolean} [countOnly]
|
|
16233
|
-
* @param {string} [countryId]
|
|
16234
|
-
* @param {string} [hospitalId]
|
|
16235
|
-
* @param {MarketingType} [marketingType]
|
|
16236
|
-
* @param {string} [languageCode]
|
|
16237
|
-
* @param {number} [page]
|
|
16238
|
-
* @param {number} [limit]
|
|
16239
|
-
* @param {Date} [lastRetrieved]
|
|
15325
|
+
* @summary Get Profile.
|
|
16240
15326
|
* @param {*} [options] Override http request option.
|
|
16241
15327
|
* @throws {RequiredError}
|
|
16242
|
-
* @memberof
|
|
15328
|
+
* @memberof ProfilesApi
|
|
16243
15329
|
*/
|
|
16244
|
-
|
|
15330
|
+
ProfilesApi.prototype.apiV2ProfilesGet = function (options) {
|
|
16245
15331
|
var _this = this;
|
|
16246
|
-
return (0, exports.
|
|
15332
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16247
15333
|
};
|
|
16248
15334
|
/**
|
|
16249
15335
|
*
|
|
16250
|
-
* @
|
|
16251
|
-
* @param {
|
|
16252
|
-
* @param {boolean} [highlights]
|
|
16253
|
-
* @param {number} [size]
|
|
15336
|
+
* @summary Update Profile.
|
|
15337
|
+
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
16254
15338
|
* @param {*} [options] Override http request option.
|
|
16255
15339
|
* @throws {RequiredError}
|
|
16256
|
-
* @memberof
|
|
15340
|
+
* @memberof ProfilesApi
|
|
16257
15341
|
*/
|
|
16258
|
-
|
|
15342
|
+
ProfilesApi.prototype.apiV2ProfilesPut = function (updateProfileCommand, options) {
|
|
16259
15343
|
var _this = this;
|
|
16260
|
-
return (0, exports.
|
|
15344
|
+
return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16261
15345
|
};
|
|
16262
|
-
return
|
|
15346
|
+
return ProfilesApi;
|
|
16263
15347
|
}(base_1.BaseAPI));
|
|
16264
|
-
exports.
|
|
15348
|
+
exports.ProfilesApi = ProfilesApi;
|
|
16265
15349
|
/**
|
|
16266
15350
|
* ServiceReviewsApi - axios parameter creator
|
|
16267
15351
|
* @export
|
|
@@ -16444,12 +15528,10 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16444
15528
|
/**
|
|
16445
15529
|
*
|
|
16446
15530
|
* @param {string} serviceReviewId
|
|
16447
|
-
* @param {string} [languageCode]
|
|
16448
|
-
* @param {boolean} [returnDefaultValue]
|
|
16449
15531
|
* @param {*} [options] Override http request option.
|
|
16450
15532
|
* @throws {RequiredError}
|
|
16451
15533
|
*/
|
|
16452
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
15534
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16453
15535
|
if (options === void 0) { options = {}; }
|
|
16454
15536
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16455
15537
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16465,12 +15547,6 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16465
15547
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16466
15548
|
localVarHeaderParameter = {};
|
|
16467
15549
|
localVarQueryParameter = {};
|
|
16468
|
-
if (languageCode !== undefined) {
|
|
16469
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
16470
|
-
}
|
|
16471
|
-
if (returnDefaultValue !== undefined) {
|
|
16472
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16473
|
-
}
|
|
16474
15550
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16475
15551
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16476
15552
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16848,17 +15924,15 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16848
15924
|
/**
|
|
16849
15925
|
*
|
|
16850
15926
|
* @param {string} serviceReviewId
|
|
16851
|
-
* @param {string} [languageCode]
|
|
16852
|
-
* @param {boolean} [returnDefaultValue]
|
|
16853
15927
|
* @param {*} [options] Override http request option.
|
|
16854
15928
|
* @throws {RequiredError}
|
|
16855
15929
|
*/
|
|
16856
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
15930
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16857
15931
|
return __awaiter(this, void 0, void 0, function () {
|
|
16858
15932
|
var localVarAxiosArgs;
|
|
16859
15933
|
return __generator(this, function (_a) {
|
|
16860
15934
|
switch (_a.label) {
|
|
16861
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
15935
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16862
15936
|
case 1:
|
|
16863
15937
|
localVarAxiosArgs = _a.sent();
|
|
16864
15938
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17053,13 +16127,11 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
17053
16127
|
/**
|
|
17054
16128
|
*
|
|
17055
16129
|
* @param {string} serviceReviewId
|
|
17056
|
-
* @param {string} [languageCode]
|
|
17057
|
-
* @param {boolean} [returnDefaultValue]
|
|
17058
16130
|
* @param {*} [options] Override http request option.
|
|
17059
16131
|
* @throws {RequiredError}
|
|
17060
16132
|
*/
|
|
17061
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId,
|
|
17062
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
16133
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16134
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
17063
16135
|
},
|
|
17064
16136
|
/**
|
|
17065
16137
|
*
|
|
@@ -17198,15 +16270,13 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17198
16270
|
/**
|
|
17199
16271
|
*
|
|
17200
16272
|
* @param {string} serviceReviewId
|
|
17201
|
-
* @param {string} [languageCode]
|
|
17202
|
-
* @param {boolean} [returnDefaultValue]
|
|
17203
16273
|
* @param {*} [options] Override http request option.
|
|
17204
16274
|
* @throws {RequiredError}
|
|
17205
16275
|
* @memberof ServiceReviewsApi
|
|
17206
16276
|
*/
|
|
17207
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId,
|
|
16277
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
17208
16278
|
var _this = this;
|
|
17209
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId,
|
|
16279
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17210
16280
|
};
|
|
17211
16281
|
/**
|
|
17212
16282
|
*
|
|
@@ -17304,12 +16374,12 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17304
16374
|
/**
|
|
17305
16375
|
*
|
|
17306
16376
|
* @summary Get all HospitalServices.
|
|
16377
|
+
* @param {string} [id]
|
|
16378
|
+
* @param {string} [name]
|
|
16379
|
+
* @param {string} [slug]
|
|
17307
16380
|
* @param {string} [hospitalId]
|
|
17308
16381
|
* @param {string} [hospitalName]
|
|
17309
16382
|
* @param {string} [hospitalSlug]
|
|
17310
|
-
* @param {string} [id]
|
|
17311
|
-
* @param {string} [name]
|
|
17312
|
-
* @param {string} [description]
|
|
17313
16383
|
* @param {string} [specialtyId]
|
|
17314
16384
|
* @param {string} [specialtyName]
|
|
17315
16385
|
* @param {string} [specialtyTypeId]
|
|
@@ -17326,7 +16396,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17326
16396
|
* @param {*} [options] Override http request option.
|
|
17327
16397
|
* @throws {RequiredError}
|
|
17328
16398
|
*/
|
|
17329
|
-
apiV2ServicesGet: function (
|
|
16399
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17330
16400
|
if (options === void 0) { options = {}; }
|
|
17331
16401
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17332
16402
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17339,6 +16409,15 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17339
16409
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17340
16410
|
localVarHeaderParameter = {};
|
|
17341
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
|
+
}
|
|
17342
16421
|
if (hospitalId !== undefined) {
|
|
17343
16422
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17344
16423
|
}
|
|
@@ -17348,15 +16427,6 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
17348
16427
|
if (hospitalSlug !== undefined) {
|
|
17349
16428
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
17350
16429
|
}
|
|
17351
|
-
if (id !== undefined) {
|
|
17352
|
-
localVarQueryParameter['Id'] = id;
|
|
17353
|
-
}
|
|
17354
|
-
if (name !== undefined) {
|
|
17355
|
-
localVarQueryParameter['Name'] = name;
|
|
17356
|
-
}
|
|
17357
|
-
if (description !== undefined) {
|
|
17358
|
-
localVarQueryParameter['Description'] = description;
|
|
17359
|
-
}
|
|
17360
16430
|
if (specialtyId !== undefined) {
|
|
17361
16431
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
17362
16432
|
}
|
|
@@ -17503,12 +16573,12 @@ var ServicesApiFp = function (configuration) {
|
|
|
17503
16573
|
/**
|
|
17504
16574
|
*
|
|
17505
16575
|
* @summary Get all HospitalServices.
|
|
16576
|
+
* @param {string} [id]
|
|
16577
|
+
* @param {string} [name]
|
|
16578
|
+
* @param {string} [slug]
|
|
17506
16579
|
* @param {string} [hospitalId]
|
|
17507
16580
|
* @param {string} [hospitalName]
|
|
17508
16581
|
* @param {string} [hospitalSlug]
|
|
17509
|
-
* @param {string} [id]
|
|
17510
|
-
* @param {string} [name]
|
|
17511
|
-
* @param {string} [description]
|
|
17512
16582
|
* @param {string} [specialtyId]
|
|
17513
16583
|
* @param {string} [specialtyName]
|
|
17514
16584
|
* @param {string} [specialtyTypeId]
|
|
@@ -17525,12 +16595,12 @@ var ServicesApiFp = function (configuration) {
|
|
|
17525
16595
|
* @param {*} [options] Override http request option.
|
|
17526
16596
|
* @throws {RequiredError}
|
|
17527
16597
|
*/
|
|
17528
|
-
apiV2ServicesGet: function (
|
|
16598
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17529
16599
|
return __awaiter(this, void 0, void 0, function () {
|
|
17530
16600
|
var localVarAxiosArgs;
|
|
17531
16601
|
return __generator(this, function (_a) {
|
|
17532
16602
|
switch (_a.label) {
|
|
17533
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(
|
|
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)];
|
|
17534
16604
|
case 1:
|
|
17535
16605
|
localVarAxiosArgs = _a.sent();
|
|
17536
16606
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17593,12 +16663,12 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17593
16663
|
/**
|
|
17594
16664
|
*
|
|
17595
16665
|
* @summary Get all HospitalServices.
|
|
16666
|
+
* @param {string} [id]
|
|
16667
|
+
* @param {string} [name]
|
|
16668
|
+
* @param {string} [slug]
|
|
17596
16669
|
* @param {string} [hospitalId]
|
|
17597
16670
|
* @param {string} [hospitalName]
|
|
17598
16671
|
* @param {string} [hospitalSlug]
|
|
17599
|
-
* @param {string} [id]
|
|
17600
|
-
* @param {string} [name]
|
|
17601
|
-
* @param {string} [description]
|
|
17602
16672
|
* @param {string} [specialtyId]
|
|
17603
16673
|
* @param {string} [specialtyName]
|
|
17604
16674
|
* @param {string} [specialtyTypeId]
|
|
@@ -17615,8 +16685,8 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
17615
16685
|
* @param {*} [options] Override http request option.
|
|
17616
16686
|
* @throws {RequiredError}
|
|
17617
16687
|
*/
|
|
17618
|
-
apiV2ServicesGet: function (
|
|
17619
|
-
return localVarFp.apiV2ServicesGet(
|
|
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); });
|
|
17620
16690
|
},
|
|
17621
16691
|
/**
|
|
17622
16692
|
*
|
|
@@ -17657,12 +16727,12 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17657
16727
|
/**
|
|
17658
16728
|
*
|
|
17659
16729
|
* @summary Get all HospitalServices.
|
|
16730
|
+
* @param {string} [id]
|
|
16731
|
+
* @param {string} [name]
|
|
16732
|
+
* @param {string} [slug]
|
|
17660
16733
|
* @param {string} [hospitalId]
|
|
17661
16734
|
* @param {string} [hospitalName]
|
|
17662
16735
|
* @param {string} [hospitalSlug]
|
|
17663
|
-
* @param {string} [id]
|
|
17664
|
-
* @param {string} [name]
|
|
17665
|
-
* @param {string} [description]
|
|
17666
16736
|
* @param {string} [specialtyId]
|
|
17667
16737
|
* @param {string} [specialtyName]
|
|
17668
16738
|
* @param {string} [specialtyTypeId]
|
|
@@ -17680,9 +16750,9 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
17680
16750
|
* @throws {RequiredError}
|
|
17681
16751
|
* @memberof ServicesApi
|
|
17682
16752
|
*/
|
|
17683
|
-
ServicesApi.prototype.apiV2ServicesGet = function (
|
|
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) {
|
|
17684
16754
|
var _this = this;
|
|
17685
|
-
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesGet(
|
|
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); });
|
|
17686
16756
|
};
|
|
17687
16757
|
/**
|
|
17688
16758
|
*
|
|
@@ -18673,9 +17743,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18673
17743
|
* @param {MarketingType} [marketingType]
|
|
18674
17744
|
* @param {string} [hospitalId]
|
|
18675
17745
|
* @param {Date} [created]
|
|
18676
|
-
* @param {string} [languageCode]
|
|
18677
17746
|
* @param {Array<string>} [ids]
|
|
18678
17747
|
* @param {string} [specialtyTypeCategoryId]
|
|
17748
|
+
* @param {string} [languageCode]
|
|
17749
|
+
* @param {boolean} [showHidden]
|
|
18679
17750
|
* @param {boolean} [returnDefaultValue]
|
|
18680
17751
|
* @param {number} [page]
|
|
18681
17752
|
* @param {number} [limit]
|
|
@@ -18683,7 +17754,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18683
17754
|
* @param {*} [options] Override http request option.
|
|
18684
17755
|
* @throws {RequiredError}
|
|
18685
17756
|
*/
|
|
18686
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
17757
|
+
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18687
17758
|
if (options === void 0) { options = {}; }
|
|
18688
17759
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18689
17760
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18716,15 +17787,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18716
17787
|
created.toISOString() :
|
|
18717
17788
|
created;
|
|
18718
17789
|
}
|
|
18719
|
-
if (languageCode !== undefined) {
|
|
18720
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18721
|
-
}
|
|
18722
17790
|
if (ids) {
|
|
18723
17791
|
localVarQueryParameter['Ids'] = ids;
|
|
18724
17792
|
}
|
|
18725
17793
|
if (specialtyTypeCategoryId !== undefined) {
|
|
18726
17794
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
18727
17795
|
}
|
|
17796
|
+
if (languageCode !== undefined) {
|
|
17797
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17798
|
+
}
|
|
17799
|
+
if (showHidden !== undefined) {
|
|
17800
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17801
|
+
}
|
|
18728
17802
|
if (returnDefaultValue !== undefined) {
|
|
18729
17803
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18730
17804
|
}
|
|
@@ -18758,9 +17832,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18758
17832
|
* @param {MarketingType} [marketingType]
|
|
18759
17833
|
* @param {string} [hospitalId]
|
|
18760
17834
|
* @param {Date} [created]
|
|
18761
|
-
* @param {string} [languageCode]
|
|
18762
17835
|
* @param {Array<string>} [ids]
|
|
18763
17836
|
* @param {string} [specialtyTypeCategoryId]
|
|
17837
|
+
* @param {string} [languageCode]
|
|
17838
|
+
* @param {boolean} [showHidden]
|
|
18764
17839
|
* @param {boolean} [returnDefaultValue]
|
|
18765
17840
|
* @param {number} [page]
|
|
18766
17841
|
* @param {number} [limit]
|
|
@@ -18768,7 +17843,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18768
17843
|
* @param {*} [options] Override http request option.
|
|
18769
17844
|
* @throws {RequiredError}
|
|
18770
17845
|
*/
|
|
18771
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
17846
|
+
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18772
17847
|
if (options === void 0) { options = {}; }
|
|
18773
17848
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18774
17849
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18801,15 +17876,18 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
18801
17876
|
created.toISOString() :
|
|
18802
17877
|
created;
|
|
18803
17878
|
}
|
|
18804
|
-
if (languageCode !== undefined) {
|
|
18805
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18806
|
-
}
|
|
18807
17879
|
if (ids) {
|
|
18808
17880
|
localVarQueryParameter['Ids'] = ids;
|
|
18809
17881
|
}
|
|
18810
17882
|
if (specialtyTypeCategoryId !== undefined) {
|
|
18811
17883
|
localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
|
|
18812
17884
|
}
|
|
17885
|
+
if (languageCode !== undefined) {
|
|
17886
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17887
|
+
}
|
|
17888
|
+
if (showHidden !== undefined) {
|
|
17889
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17890
|
+
}
|
|
18813
17891
|
if (returnDefaultValue !== undefined) {
|
|
18814
17892
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18815
17893
|
}
|
|
@@ -19025,9 +18103,10 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19025
18103
|
* @param {MarketingType} [marketingType]
|
|
19026
18104
|
* @param {string} [hospitalId]
|
|
19027
18105
|
* @param {Date} [created]
|
|
19028
|
-
* @param {string} [languageCode]
|
|
19029
18106
|
* @param {Array<string>} [ids]
|
|
19030
18107
|
* @param {string} [specialtyTypeCategoryId]
|
|
18108
|
+
* @param {string} [languageCode]
|
|
18109
|
+
* @param {boolean} [showHidden]
|
|
19031
18110
|
* @param {boolean} [returnDefaultValue]
|
|
19032
18111
|
* @param {number} [page]
|
|
19033
18112
|
* @param {number} [limit]
|
|
@@ -19035,12 +18114,12 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19035
18114
|
* @param {*} [options] Override http request option.
|
|
19036
18115
|
* @throws {RequiredError}
|
|
19037
18116
|
*/
|
|
19038
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
18117
|
+
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19039
18118
|
return __awaiter(this, void 0, void 0, function () {
|
|
19040
18119
|
var localVarAxiosArgs;
|
|
19041
18120
|
return __generator(this, function (_a) {
|
|
19042
18121
|
switch (_a.label) {
|
|
19043
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
18122
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19044
18123
|
case 1:
|
|
19045
18124
|
localVarAxiosArgs = _a.sent();
|
|
19046
18125
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19057,9 +18136,10 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19057
18136
|
* @param {MarketingType} [marketingType]
|
|
19058
18137
|
* @param {string} [hospitalId]
|
|
19059
18138
|
* @param {Date} [created]
|
|
19060
|
-
* @param {string} [languageCode]
|
|
19061
18139
|
* @param {Array<string>} [ids]
|
|
19062
18140
|
* @param {string} [specialtyTypeCategoryId]
|
|
18141
|
+
* @param {string} [languageCode]
|
|
18142
|
+
* @param {boolean} [showHidden]
|
|
19063
18143
|
* @param {boolean} [returnDefaultValue]
|
|
19064
18144
|
* @param {number} [page]
|
|
19065
18145
|
* @param {number} [limit]
|
|
@@ -19067,12 +18147,12 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
19067
18147
|
* @param {*} [options] Override http request option.
|
|
19068
18148
|
* @throws {RequiredError}
|
|
19069
18149
|
*/
|
|
19070
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
18150
|
+
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19071
18151
|
return __awaiter(this, void 0, void 0, function () {
|
|
19072
18152
|
var localVarAxiosArgs;
|
|
19073
18153
|
return __generator(this, function (_a) {
|
|
19074
18154
|
switch (_a.label) {
|
|
19075
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
18155
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19076
18156
|
case 1:
|
|
19077
18157
|
localVarAxiosArgs = _a.sent();
|
|
19078
18158
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19187,9 +18267,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19187
18267
|
* @param {MarketingType} [marketingType]
|
|
19188
18268
|
* @param {string} [hospitalId]
|
|
19189
18269
|
* @param {Date} [created]
|
|
19190
|
-
* @param {string} [languageCode]
|
|
19191
18270
|
* @param {Array<string>} [ids]
|
|
19192
18271
|
* @param {string} [specialtyTypeCategoryId]
|
|
18272
|
+
* @param {string} [languageCode]
|
|
18273
|
+
* @param {boolean} [showHidden]
|
|
19193
18274
|
* @param {boolean} [returnDefaultValue]
|
|
19194
18275
|
* @param {number} [page]
|
|
19195
18276
|
* @param {number} [limit]
|
|
@@ -19197,8 +18278,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19197
18278
|
* @param {*} [options] Override http request option.
|
|
19198
18279
|
* @throws {RequiredError}
|
|
19199
18280
|
*/
|
|
19200
|
-
apiV2SpecialtytypesGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19201
|
-
return localVarFp.apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
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); });
|
|
19202
18283
|
},
|
|
19203
18284
|
/**
|
|
19204
18285
|
*
|
|
@@ -19209,9 +18290,10 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19209
18290
|
* @param {MarketingType} [marketingType]
|
|
19210
18291
|
* @param {string} [hospitalId]
|
|
19211
18292
|
* @param {Date} [created]
|
|
19212
|
-
* @param {string} [languageCode]
|
|
19213
18293
|
* @param {Array<string>} [ids]
|
|
19214
18294
|
* @param {string} [specialtyTypeCategoryId]
|
|
18295
|
+
* @param {string} [languageCode]
|
|
18296
|
+
* @param {boolean} [showHidden]
|
|
19215
18297
|
* @param {boolean} [returnDefaultValue]
|
|
19216
18298
|
* @param {number} [page]
|
|
19217
18299
|
* @param {number} [limit]
|
|
@@ -19219,8 +18301,8 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
19219
18301
|
* @param {*} [options] Override http request option.
|
|
19220
18302
|
* @throws {RequiredError}
|
|
19221
18303
|
*/
|
|
19222
|
-
apiV2SpecialtytypesSimpleGet: function (id, name, description, marketingType, hospitalId, created,
|
|
19223
|
-
return localVarFp.apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
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); });
|
|
19224
18306
|
},
|
|
19225
18307
|
/**
|
|
19226
18308
|
*
|
|
@@ -19293,9 +18375,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19293
18375
|
* @param {MarketingType} [marketingType]
|
|
19294
18376
|
* @param {string} [hospitalId]
|
|
19295
18377
|
* @param {Date} [created]
|
|
19296
|
-
* @param {string} [languageCode]
|
|
19297
18378
|
* @param {Array<string>} [ids]
|
|
19298
18379
|
* @param {string} [specialtyTypeCategoryId]
|
|
18380
|
+
* @param {string} [languageCode]
|
|
18381
|
+
* @param {boolean} [showHidden]
|
|
19299
18382
|
* @param {boolean} [returnDefaultValue]
|
|
19300
18383
|
* @param {number} [page]
|
|
19301
18384
|
* @param {number} [limit]
|
|
@@ -19304,9 +18387,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19304
18387
|
* @throws {RequiredError}
|
|
19305
18388
|
* @memberof SpecialtyTypesApi
|
|
19306
18389
|
*/
|
|
19307
|
-
SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created,
|
|
18390
|
+
SpecialtyTypesApi.prototype.apiV2SpecialtytypesGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19308
18391
|
var _this = this;
|
|
19309
|
-
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesGet(id, name, description, marketingType, hospitalId, created,
|
|
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); });
|
|
19310
18393
|
};
|
|
19311
18394
|
/**
|
|
19312
18395
|
*
|
|
@@ -19317,9 +18400,10 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19317
18400
|
* @param {MarketingType} [marketingType]
|
|
19318
18401
|
* @param {string} [hospitalId]
|
|
19319
18402
|
* @param {Date} [created]
|
|
19320
|
-
* @param {string} [languageCode]
|
|
19321
18403
|
* @param {Array<string>} [ids]
|
|
19322
18404
|
* @param {string} [specialtyTypeCategoryId]
|
|
18405
|
+
* @param {string} [languageCode]
|
|
18406
|
+
* @param {boolean} [showHidden]
|
|
19323
18407
|
* @param {boolean} [returnDefaultValue]
|
|
19324
18408
|
* @param {number} [page]
|
|
19325
18409
|
* @param {number} [limit]
|
|
@@ -19328,9 +18412,9 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
19328
18412
|
* @throws {RequiredError}
|
|
19329
18413
|
* @memberof SpecialtyTypesApi
|
|
19330
18414
|
*/
|
|
19331
|
-
SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created,
|
|
18415
|
+
SpecialtyTypesApi.prototype.apiV2SpecialtytypesSimpleGet = function (id, name, description, marketingType, hospitalId, created, ids, specialtyTypeCategoryId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19332
18416
|
var _this = this;
|
|
19333
|
-
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSimpleGet(id, name, description, marketingType, hospitalId, created,
|
|
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); });
|
|
19334
18418
|
};
|
|
19335
18419
|
/**
|
|
19336
18420
|
*
|