ch-admin-api-client-typescript 3.4.0 → 3.4.6
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 +1151 -815
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +784 -649
- package/package.json +1 -1
- package/src/api.ts +1499 -1096
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -329,16 +329,17 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
329
329
|
* @param {string} [hospitalName]
|
|
330
330
|
* @param {string} [hospitalSlug]
|
|
331
331
|
* @param {string} [name]
|
|
332
|
-
* @param {string} [languageCode]
|
|
333
332
|
* @param {boolean} [returnDefaultValue]
|
|
334
333
|
* @param {boolean} [confirmed]
|
|
334
|
+
* @param {string} [languageCode]
|
|
335
|
+
* @param {boolean} [showHidden]
|
|
335
336
|
* @param {number} [page]
|
|
336
337
|
* @param {number} [limit]
|
|
337
338
|
* @param {Date} [lastRetrieved]
|
|
338
339
|
* @param {*} [options] Override http request option.
|
|
339
340
|
* @throws {RequiredError}
|
|
340
341
|
*/
|
|
341
|
-
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name,
|
|
342
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
342
343
|
if (options === void 0) { options = {}; }
|
|
343
344
|
return __awaiter(_this, void 0, void 0, function () {
|
|
344
345
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -372,15 +373,18 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
372
373
|
if (name !== undefined) {
|
|
373
374
|
localVarQueryParameter['Name'] = name;
|
|
374
375
|
}
|
|
375
|
-
if (languageCode !== undefined) {
|
|
376
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
377
|
-
}
|
|
378
376
|
if (returnDefaultValue !== undefined) {
|
|
379
377
|
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
380
378
|
}
|
|
381
379
|
if (confirmed !== undefined) {
|
|
382
380
|
localVarQueryParameter['Confirmed'] = confirmed;
|
|
383
381
|
}
|
|
382
|
+
if (languageCode !== undefined) {
|
|
383
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
384
|
+
}
|
|
385
|
+
if (showHidden !== undefined) {
|
|
386
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
387
|
+
}
|
|
384
388
|
if (page !== undefined) {
|
|
385
389
|
localVarQueryParameter['page'] = page;
|
|
386
390
|
}
|
|
@@ -651,21 +655,22 @@ exports.AboutUsApiFp = function (configuration) {
|
|
|
651
655
|
* @param {string} [hospitalName]
|
|
652
656
|
* @param {string} [hospitalSlug]
|
|
653
657
|
* @param {string} [name]
|
|
654
|
-
* @param {string} [languageCode]
|
|
655
658
|
* @param {boolean} [returnDefaultValue]
|
|
656
659
|
* @param {boolean} [confirmed]
|
|
660
|
+
* @param {string} [languageCode]
|
|
661
|
+
* @param {boolean} [showHidden]
|
|
657
662
|
* @param {number} [page]
|
|
658
663
|
* @param {number} [limit]
|
|
659
664
|
* @param {Date} [lastRetrieved]
|
|
660
665
|
* @param {*} [options] Override http request option.
|
|
661
666
|
* @throws {RequiredError}
|
|
662
667
|
*/
|
|
663
|
-
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name,
|
|
668
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
664
669
|
return __awaiter(this, void 0, void 0, function () {
|
|
665
670
|
var localVarAxiosArgs;
|
|
666
671
|
return __generator(this, function (_a) {
|
|
667
672
|
switch (_a.label) {
|
|
668
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name,
|
|
673
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
669
674
|
case 1:
|
|
670
675
|
localVarAxiosArgs = _a.sent();
|
|
671
676
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -793,17 +798,18 @@ exports.AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
|
793
798
|
* @param {string} [hospitalName]
|
|
794
799
|
* @param {string} [hospitalSlug]
|
|
795
800
|
* @param {string} [name]
|
|
796
|
-
* @param {string} [languageCode]
|
|
797
801
|
* @param {boolean} [returnDefaultValue]
|
|
798
802
|
* @param {boolean} [confirmed]
|
|
803
|
+
* @param {string} [languageCode]
|
|
804
|
+
* @param {boolean} [showHidden]
|
|
799
805
|
* @param {number} [page]
|
|
800
806
|
* @param {number} [limit]
|
|
801
807
|
* @param {Date} [lastRetrieved]
|
|
802
808
|
* @param {*} [options] Override http request option.
|
|
803
809
|
* @throws {RequiredError}
|
|
804
810
|
*/
|
|
805
|
-
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name,
|
|
806
|
-
return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name,
|
|
811
|
+
apiV1AboutusGet: function (hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
812
|
+
return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
807
813
|
},
|
|
808
814
|
/**
|
|
809
815
|
*
|
|
@@ -879,9 +885,10 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
879
885
|
* @param {string} [hospitalName]
|
|
880
886
|
* @param {string} [hospitalSlug]
|
|
881
887
|
* @param {string} [name]
|
|
882
|
-
* @param {string} [languageCode]
|
|
883
888
|
* @param {boolean} [returnDefaultValue]
|
|
884
889
|
* @param {boolean} [confirmed]
|
|
890
|
+
* @param {string} [languageCode]
|
|
891
|
+
* @param {boolean} [showHidden]
|
|
885
892
|
* @param {number} [page]
|
|
886
893
|
* @param {number} [limit]
|
|
887
894
|
* @param {Date} [lastRetrieved]
|
|
@@ -889,9 +896,9 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
889
896
|
* @throws {RequiredError}
|
|
890
897
|
* @memberof AboutUsApi
|
|
891
898
|
*/
|
|
892
|
-
AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, name,
|
|
899
|
+
AboutUsApi.prototype.apiV1AboutusGet = function (hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
893
900
|
var _this = this;
|
|
894
|
-
return exports.AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name,
|
|
901
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, name, returnDefaultValue, confirmed, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
895
902
|
};
|
|
896
903
|
/**
|
|
897
904
|
*
|
|
@@ -2619,14 +2626,13 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2619
2626
|
* @param {string} [contributorId]
|
|
2620
2627
|
* @param {string} [languageCode]
|
|
2621
2628
|
* @param {boolean} [showHidden]
|
|
2622
|
-
* @param {boolean} [returnDefaultValue]
|
|
2623
2629
|
* @param {number} [page]
|
|
2624
2630
|
* @param {number} [limit]
|
|
2625
2631
|
* @param {Date} [lastRetrieved]
|
|
2626
2632
|
* @param {*} [options] Override http request option.
|
|
2627
2633
|
* @throws {RequiredError}
|
|
2628
2634
|
*/
|
|
2629
|
-
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
2635
|
+
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
2630
2636
|
if (options === void 0) { options = {}; }
|
|
2631
2637
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2632
2638
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2696,9 +2702,6 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2696
2702
|
if (showHidden !== undefined) {
|
|
2697
2703
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
2698
2704
|
}
|
|
2699
|
-
if (returnDefaultValue !== undefined) {
|
|
2700
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
2701
|
-
}
|
|
2702
2705
|
if (page !== undefined) {
|
|
2703
2706
|
localVarQueryParameter['page'] = page;
|
|
2704
2707
|
}
|
|
@@ -3327,19 +3330,18 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
3327
3330
|
* @param {string} [contributorId]
|
|
3328
3331
|
* @param {string} [languageCode]
|
|
3329
3332
|
* @param {boolean} [showHidden]
|
|
3330
|
-
* @param {boolean} [returnDefaultValue]
|
|
3331
3333
|
* @param {number} [page]
|
|
3332
3334
|
* @param {number} [limit]
|
|
3333
3335
|
* @param {Date} [lastRetrieved]
|
|
3334
3336
|
* @param {*} [options] Override http request option.
|
|
3335
3337
|
* @throws {RequiredError}
|
|
3336
3338
|
*/
|
|
3337
|
-
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
3339
|
+
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
3338
3340
|
return __awaiter(this, void 0, void 0, function () {
|
|
3339
3341
|
var localVarAxiosArgs;
|
|
3340
3342
|
return __generator(this, function (_a) {
|
|
3341
3343
|
switch (_a.label) {
|
|
3342
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
3344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
3343
3345
|
case 1:
|
|
3344
3346
|
localVarAxiosArgs = _a.sent();
|
|
3345
3347
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3682,15 +3684,14 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3682
3684
|
* @param {string} [contributorId]
|
|
3683
3685
|
* @param {string} [languageCode]
|
|
3684
3686
|
* @param {boolean} [showHidden]
|
|
3685
|
-
* @param {boolean} [returnDefaultValue]
|
|
3686
3687
|
* @param {number} [page]
|
|
3687
3688
|
* @param {number} [limit]
|
|
3688
3689
|
* @param {Date} [lastRetrieved]
|
|
3689
3690
|
* @param {*} [options] Override http request option.
|
|
3690
3691
|
* @throws {RequiredError}
|
|
3691
3692
|
*/
|
|
3692
|
-
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
3693
|
-
return localVarFp.apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
3693
|
+
apiV1ArticlesGet: function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
3694
|
+
return localVarFp.apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3694
3695
|
},
|
|
3695
3696
|
/**
|
|
3696
3697
|
*
|
|
@@ -4055,7 +4056,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
4055
4056
|
* @param {string} [contributorId]
|
|
4056
4057
|
* @param {string} [languageCode]
|
|
4057
4058
|
* @param {boolean} [showHidden]
|
|
4058
|
-
* @param {boolean} [returnDefaultValue]
|
|
4059
4059
|
* @param {number} [page]
|
|
4060
4060
|
* @param {number} [limit]
|
|
4061
4061
|
* @param {Date} [lastRetrieved]
|
|
@@ -4063,9 +4063,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
4063
4063
|
* @throws {RequiredError}
|
|
4064
4064
|
* @memberof ArticlesApi
|
|
4065
4065
|
*/
|
|
4066
|
-
ArticlesApi.prototype.apiV1ArticlesGet = function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
4066
|
+
ArticlesApi.prototype.apiV1ArticlesGet = function (id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
4067
4067
|
var _this = this;
|
|
4068
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden,
|
|
4068
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4069
4069
|
};
|
|
4070
4070
|
/**
|
|
4071
4071
|
*
|
|
@@ -4239,10 +4239,11 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4239
4239
|
*
|
|
4240
4240
|
* @summary Get booking.
|
|
4241
4241
|
* @param {string} bookingId
|
|
4242
|
+
* @param {string} [languageCode]
|
|
4242
4243
|
* @param {*} [options] Override http request option.
|
|
4243
4244
|
* @throws {RequiredError}
|
|
4244
4245
|
*/
|
|
4245
|
-
apiV1BookingsBookingIdGet: function (bookingId, options) {
|
|
4246
|
+
apiV1BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
4246
4247
|
if (options === void 0) { options = {}; }
|
|
4247
4248
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4248
4249
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4267,6 +4268,9 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4267
4268
|
// authentication oauth2 required
|
|
4268
4269
|
// oauth required
|
|
4269
4270
|
_a.sent();
|
|
4271
|
+
if (languageCode !== undefined) {
|
|
4272
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4273
|
+
}
|
|
4270
4274
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4271
4275
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4272
4276
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4370,7 +4374,12 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4370
4374
|
/**
|
|
4371
4375
|
*
|
|
4372
4376
|
* @summary Get all bookings.
|
|
4373
|
-
* @param {string} [
|
|
4377
|
+
* @param {string} [userId]
|
|
4378
|
+
* @param {string} [userName]
|
|
4379
|
+
* @param {string} [hospitalId]
|
|
4380
|
+
* @param {string} [hospitalName]
|
|
4381
|
+
* @param {string} [dealId]
|
|
4382
|
+
* @param {string} [dealName]
|
|
4374
4383
|
* @param {boolean} [isOpen]
|
|
4375
4384
|
* @param {boolean} [isCompleted]
|
|
4376
4385
|
* @param {BookingStatus} [status]
|
|
@@ -4379,13 +4388,15 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4379
4388
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4380
4389
|
* @param {boolean} [isExternal]
|
|
4381
4390
|
* @param {boolean} [paymentEnabled]
|
|
4391
|
+
* @param {string} [languageCode]
|
|
4392
|
+
* @param {boolean} [showHidden]
|
|
4382
4393
|
* @param {number} [page]
|
|
4383
4394
|
* @param {number} [limit]
|
|
4384
4395
|
* @param {Date} [lastRetrieved]
|
|
4385
4396
|
* @param {*} [options] Override http request option.
|
|
4386
4397
|
* @throws {RequiredError}
|
|
4387
4398
|
*/
|
|
4388
|
-
apiV1BookingsGet: function (
|
|
4399
|
+
apiV1BookingsGet: function (userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
4389
4400
|
if (options === void 0) { options = {}; }
|
|
4390
4401
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4391
4402
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4407,8 +4418,23 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4407
4418
|
// authentication oauth2 required
|
|
4408
4419
|
// oauth required
|
|
4409
4420
|
_a.sent();
|
|
4410
|
-
if (
|
|
4411
|
-
localVarQueryParameter['
|
|
4421
|
+
if (userId !== undefined) {
|
|
4422
|
+
localVarQueryParameter['UserId'] = userId;
|
|
4423
|
+
}
|
|
4424
|
+
if (userName !== undefined) {
|
|
4425
|
+
localVarQueryParameter['UserName'] = userName;
|
|
4426
|
+
}
|
|
4427
|
+
if (hospitalId !== undefined) {
|
|
4428
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
4429
|
+
}
|
|
4430
|
+
if (hospitalName !== undefined) {
|
|
4431
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
4432
|
+
}
|
|
4433
|
+
if (dealId !== undefined) {
|
|
4434
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
4435
|
+
}
|
|
4436
|
+
if (dealName !== undefined) {
|
|
4437
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
4412
4438
|
}
|
|
4413
4439
|
if (isOpen !== undefined) {
|
|
4414
4440
|
localVarQueryParameter['IsOpen'] = isOpen;
|
|
@@ -4434,6 +4460,12 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4434
4460
|
if (paymentEnabled !== undefined) {
|
|
4435
4461
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
4436
4462
|
}
|
|
4463
|
+
if (languageCode !== undefined) {
|
|
4464
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
4465
|
+
}
|
|
4466
|
+
if (showHidden !== undefined) {
|
|
4467
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
4468
|
+
}
|
|
4437
4469
|
if (page !== undefined) {
|
|
4438
4470
|
localVarQueryParameter['page'] = page;
|
|
4439
4471
|
}
|
|
@@ -4530,15 +4562,16 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
4530
4562
|
*
|
|
4531
4563
|
* @summary Get booking.
|
|
4532
4564
|
* @param {string} bookingId
|
|
4565
|
+
* @param {string} [languageCode]
|
|
4533
4566
|
* @param {*} [options] Override http request option.
|
|
4534
4567
|
* @throws {RequiredError}
|
|
4535
4568
|
*/
|
|
4536
|
-
apiV1BookingsBookingIdGet: function (bookingId, options) {
|
|
4569
|
+
apiV1BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
4537
4570
|
return __awaiter(this, void 0, void 0, function () {
|
|
4538
4571
|
var localVarAxiosArgs;
|
|
4539
4572
|
return __generator(this, function (_a) {
|
|
4540
4573
|
switch (_a.label) {
|
|
4541
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsBookingIdGet(bookingId, options)];
|
|
4574
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsBookingIdGet(bookingId, languageCode, options)];
|
|
4542
4575
|
case 1:
|
|
4543
4576
|
localVarAxiosArgs = _a.sent();
|
|
4544
4577
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4590,7 +4623,12 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
4590
4623
|
/**
|
|
4591
4624
|
*
|
|
4592
4625
|
* @summary Get all bookings.
|
|
4593
|
-
* @param {string} [
|
|
4626
|
+
* @param {string} [userId]
|
|
4627
|
+
* @param {string} [userName]
|
|
4628
|
+
* @param {string} [hospitalId]
|
|
4629
|
+
* @param {string} [hospitalName]
|
|
4630
|
+
* @param {string} [dealId]
|
|
4631
|
+
* @param {string} [dealName]
|
|
4594
4632
|
* @param {boolean} [isOpen]
|
|
4595
4633
|
* @param {boolean} [isCompleted]
|
|
4596
4634
|
* @param {BookingStatus} [status]
|
|
@@ -4599,18 +4637,20 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
4599
4637
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4600
4638
|
* @param {boolean} [isExternal]
|
|
4601
4639
|
* @param {boolean} [paymentEnabled]
|
|
4640
|
+
* @param {string} [languageCode]
|
|
4641
|
+
* @param {boolean} [showHidden]
|
|
4602
4642
|
* @param {number} [page]
|
|
4603
4643
|
* @param {number} [limit]
|
|
4604
4644
|
* @param {Date} [lastRetrieved]
|
|
4605
4645
|
* @param {*} [options] Override http request option.
|
|
4606
4646
|
* @throws {RequiredError}
|
|
4607
4647
|
*/
|
|
4608
|
-
apiV1BookingsGet: function (
|
|
4648
|
+
apiV1BookingsGet: function (userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
4609
4649
|
return __awaiter(this, void 0, void 0, function () {
|
|
4610
4650
|
var localVarAxiosArgs;
|
|
4611
4651
|
return __generator(this, function (_a) {
|
|
4612
4652
|
switch (_a.label) {
|
|
4613
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(
|
|
4653
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
4614
4654
|
case 1:
|
|
4615
4655
|
localVarAxiosArgs = _a.sent();
|
|
4616
4656
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4662,11 +4702,12 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
4662
4702
|
*
|
|
4663
4703
|
* @summary Get booking.
|
|
4664
4704
|
* @param {string} bookingId
|
|
4705
|
+
* @param {string} [languageCode]
|
|
4665
4706
|
* @param {*} [options] Override http request option.
|
|
4666
4707
|
* @throws {RequiredError}
|
|
4667
4708
|
*/
|
|
4668
|
-
apiV1BookingsBookingIdGet: function (bookingId, options) {
|
|
4669
|
-
return localVarFp.apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
4709
|
+
apiV1BookingsBookingIdGet: function (bookingId, languageCode, options) {
|
|
4710
|
+
return localVarFp.apiV1BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
4670
4711
|
},
|
|
4671
4712
|
/**
|
|
4672
4713
|
*
|
|
@@ -4692,7 +4733,12 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
4692
4733
|
/**
|
|
4693
4734
|
*
|
|
4694
4735
|
* @summary Get all bookings.
|
|
4695
|
-
* @param {string} [
|
|
4736
|
+
* @param {string} [userId]
|
|
4737
|
+
* @param {string} [userName]
|
|
4738
|
+
* @param {string} [hospitalId]
|
|
4739
|
+
* @param {string} [hospitalName]
|
|
4740
|
+
* @param {string} [dealId]
|
|
4741
|
+
* @param {string} [dealName]
|
|
4696
4742
|
* @param {boolean} [isOpen]
|
|
4697
4743
|
* @param {boolean} [isCompleted]
|
|
4698
4744
|
* @param {BookingStatus} [status]
|
|
@@ -4701,14 +4747,16 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
4701
4747
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4702
4748
|
* @param {boolean} [isExternal]
|
|
4703
4749
|
* @param {boolean} [paymentEnabled]
|
|
4750
|
+
* @param {string} [languageCode]
|
|
4751
|
+
* @param {boolean} [showHidden]
|
|
4704
4752
|
* @param {number} [page]
|
|
4705
4753
|
* @param {number} [limit]
|
|
4706
4754
|
* @param {Date} [lastRetrieved]
|
|
4707
4755
|
* @param {*} [options] Override http request option.
|
|
4708
4756
|
* @throws {RequiredError}
|
|
4709
4757
|
*/
|
|
4710
|
-
apiV1BookingsGet: function (
|
|
4711
|
-
return localVarFp.apiV1BookingsGet(
|
|
4758
|
+
apiV1BookingsGet: function (userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
4759
|
+
return localVarFp.apiV1BookingsGet(userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
4712
4760
|
},
|
|
4713
4761
|
};
|
|
4714
4762
|
};
|
|
@@ -4764,13 +4812,14 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4764
4812
|
*
|
|
4765
4813
|
* @summary Get booking.
|
|
4766
4814
|
* @param {string} bookingId
|
|
4815
|
+
* @param {string} [languageCode]
|
|
4767
4816
|
* @param {*} [options] Override http request option.
|
|
4768
4817
|
* @throws {RequiredError}
|
|
4769
4818
|
* @memberof BookingsApi
|
|
4770
4819
|
*/
|
|
4771
|
-
BookingsApi.prototype.apiV1BookingsBookingIdGet = function (bookingId, options) {
|
|
4820
|
+
BookingsApi.prototype.apiV1BookingsBookingIdGet = function (bookingId, languageCode, options) {
|
|
4772
4821
|
var _this = this;
|
|
4773
|
-
return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4822
|
+
return exports.BookingsApiFp(this.configuration).apiV1BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4774
4823
|
};
|
|
4775
4824
|
/**
|
|
4776
4825
|
*
|
|
@@ -4800,7 +4849,12 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4800
4849
|
/**
|
|
4801
4850
|
*
|
|
4802
4851
|
* @summary Get all bookings.
|
|
4803
|
-
* @param {string} [
|
|
4852
|
+
* @param {string} [userId]
|
|
4853
|
+
* @param {string} [userName]
|
|
4854
|
+
* @param {string} [hospitalId]
|
|
4855
|
+
* @param {string} [hospitalName]
|
|
4856
|
+
* @param {string} [dealId]
|
|
4857
|
+
* @param {string} [dealName]
|
|
4804
4858
|
* @param {boolean} [isOpen]
|
|
4805
4859
|
* @param {boolean} [isCompleted]
|
|
4806
4860
|
* @param {BookingStatus} [status]
|
|
@@ -4809,6 +4863,8 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4809
4863
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4810
4864
|
* @param {boolean} [isExternal]
|
|
4811
4865
|
* @param {boolean} [paymentEnabled]
|
|
4866
|
+
* @param {string} [languageCode]
|
|
4867
|
+
* @param {boolean} [showHidden]
|
|
4812
4868
|
* @param {number} [page]
|
|
4813
4869
|
* @param {number} [limit]
|
|
4814
4870
|
* @param {Date} [lastRetrieved]
|
|
@@ -4816,9 +4872,9 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4816
4872
|
* @throws {RequiredError}
|
|
4817
4873
|
* @memberof BookingsApi
|
|
4818
4874
|
*/
|
|
4819
|
-
BookingsApi.prototype.apiV1BookingsGet = function (
|
|
4875
|
+
BookingsApi.prototype.apiV1BookingsGet = function (userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
4820
4876
|
var _this = this;
|
|
4821
|
-
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(
|
|
4877
|
+
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(userId, userName, hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4822
4878
|
};
|
|
4823
4879
|
return BookingsApi;
|
|
4824
4880
|
}(base_1.BaseAPI));
|
|
@@ -6894,10 +6950,11 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6894
6950
|
*
|
|
6895
6951
|
* @summary Get consultation.
|
|
6896
6952
|
* @param {string} consultationId
|
|
6953
|
+
* @param {string} [languageCode]
|
|
6897
6954
|
* @param {*} [options] Override http request option.
|
|
6898
6955
|
* @throws {RequiredError}
|
|
6899
6956
|
*/
|
|
6900
|
-
apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
6957
|
+
apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
6901
6958
|
if (options === void 0) { options = {}; }
|
|
6902
6959
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6903
6960
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6922,6 +6979,9 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
6922
6979
|
// authentication oauth2 required
|
|
6923
6980
|
// oauth required
|
|
6924
6981
|
_a.sent();
|
|
6982
|
+
if (languageCode !== undefined) {
|
|
6983
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
6984
|
+
}
|
|
6925
6985
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6926
6986
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6927
6987
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7025,7 +7085,14 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7025
7085
|
/**
|
|
7026
7086
|
*
|
|
7027
7087
|
* @summary Get all consultations.
|
|
7028
|
-
* @param {string} [
|
|
7088
|
+
* @param {string} [userId]
|
|
7089
|
+
* @param {string} [userName]
|
|
7090
|
+
* @param {string} [hospitalId]
|
|
7091
|
+
* @param {string} [hospitalName]
|
|
7092
|
+
* @param {string} [doctorId]
|
|
7093
|
+
* @param {string} [doctorName]
|
|
7094
|
+
* @param {string} [dealId]
|
|
7095
|
+
* @param {string} [dealName]
|
|
7029
7096
|
* @param {boolean} [isOpen]
|
|
7030
7097
|
* @param {boolean} [isCompleted]
|
|
7031
7098
|
* @param {ConsultationStatus} [status]
|
|
@@ -7034,13 +7101,15 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7034
7101
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7035
7102
|
* @param {boolean} [isExternal]
|
|
7036
7103
|
* @param {boolean} [paymentEnabled]
|
|
7104
|
+
* @param {string} [languageCode]
|
|
7105
|
+
* @param {boolean} [showHidden]
|
|
7037
7106
|
* @param {number} [page]
|
|
7038
7107
|
* @param {number} [limit]
|
|
7039
7108
|
* @param {Date} [lastRetrieved]
|
|
7040
7109
|
* @param {*} [options] Override http request option.
|
|
7041
7110
|
* @throws {RequiredError}
|
|
7042
7111
|
*/
|
|
7043
|
-
apiV1ConsultationsGet: function (
|
|
7112
|
+
apiV1ConsultationsGet: function (userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7044
7113
|
if (options === void 0) { options = {}; }
|
|
7045
7114
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7046
7115
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7062,8 +7131,29 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7062
7131
|
// authentication oauth2 required
|
|
7063
7132
|
// oauth required
|
|
7064
7133
|
_a.sent();
|
|
7065
|
-
if (
|
|
7066
|
-
localVarQueryParameter['
|
|
7134
|
+
if (userId !== undefined) {
|
|
7135
|
+
localVarQueryParameter['UserId'] = userId;
|
|
7136
|
+
}
|
|
7137
|
+
if (userName !== undefined) {
|
|
7138
|
+
localVarQueryParameter['UserName'] = userName;
|
|
7139
|
+
}
|
|
7140
|
+
if (hospitalId !== undefined) {
|
|
7141
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7142
|
+
}
|
|
7143
|
+
if (hospitalName !== undefined) {
|
|
7144
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
7145
|
+
}
|
|
7146
|
+
if (doctorId !== undefined) {
|
|
7147
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
7148
|
+
}
|
|
7149
|
+
if (doctorName !== undefined) {
|
|
7150
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
7151
|
+
}
|
|
7152
|
+
if (dealId !== undefined) {
|
|
7153
|
+
localVarQueryParameter['DealId'] = dealId;
|
|
7154
|
+
}
|
|
7155
|
+
if (dealName !== undefined) {
|
|
7156
|
+
localVarQueryParameter['DealName'] = dealName;
|
|
7067
7157
|
}
|
|
7068
7158
|
if (isOpen !== undefined) {
|
|
7069
7159
|
localVarQueryParameter['IsOpen'] = isOpen;
|
|
@@ -7089,6 +7179,12 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7089
7179
|
if (paymentEnabled !== undefined) {
|
|
7090
7180
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
7091
7181
|
}
|
|
7182
|
+
if (languageCode !== undefined) {
|
|
7183
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7184
|
+
}
|
|
7185
|
+
if (showHidden !== undefined) {
|
|
7186
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7187
|
+
}
|
|
7092
7188
|
if (page !== undefined) {
|
|
7093
7189
|
localVarQueryParameter['page'] = page;
|
|
7094
7190
|
}
|
|
@@ -7185,15 +7281,16 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7185
7281
|
*
|
|
7186
7282
|
* @summary Get consultation.
|
|
7187
7283
|
* @param {string} consultationId
|
|
7284
|
+
* @param {string} [languageCode]
|
|
7188
7285
|
* @param {*} [options] Override http request option.
|
|
7189
7286
|
* @throws {RequiredError}
|
|
7190
7287
|
*/
|
|
7191
|
-
apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
7288
|
+
apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
7192
7289
|
return __awaiter(this, void 0, void 0, function () {
|
|
7193
7290
|
var localVarAxiosArgs;
|
|
7194
7291
|
return __generator(this, function (_a) {
|
|
7195
7292
|
switch (_a.label) {
|
|
7196
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, options)];
|
|
7293
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, languageCode, options)];
|
|
7197
7294
|
case 1:
|
|
7198
7295
|
localVarAxiosArgs = _a.sent();
|
|
7199
7296
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7245,7 +7342,14 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7245
7342
|
/**
|
|
7246
7343
|
*
|
|
7247
7344
|
* @summary Get all consultations.
|
|
7248
|
-
* @param {string} [
|
|
7345
|
+
* @param {string} [userId]
|
|
7346
|
+
* @param {string} [userName]
|
|
7347
|
+
* @param {string} [hospitalId]
|
|
7348
|
+
* @param {string} [hospitalName]
|
|
7349
|
+
* @param {string} [doctorId]
|
|
7350
|
+
* @param {string} [doctorName]
|
|
7351
|
+
* @param {string} [dealId]
|
|
7352
|
+
* @param {string} [dealName]
|
|
7249
7353
|
* @param {boolean} [isOpen]
|
|
7250
7354
|
* @param {boolean} [isCompleted]
|
|
7251
7355
|
* @param {ConsultationStatus} [status]
|
|
@@ -7254,18 +7358,20 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7254
7358
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7255
7359
|
* @param {boolean} [isExternal]
|
|
7256
7360
|
* @param {boolean} [paymentEnabled]
|
|
7361
|
+
* @param {string} [languageCode]
|
|
7362
|
+
* @param {boolean} [showHidden]
|
|
7257
7363
|
* @param {number} [page]
|
|
7258
7364
|
* @param {number} [limit]
|
|
7259
7365
|
* @param {Date} [lastRetrieved]
|
|
7260
7366
|
* @param {*} [options] Override http request option.
|
|
7261
7367
|
* @throws {RequiredError}
|
|
7262
7368
|
*/
|
|
7263
|
-
apiV1ConsultationsGet: function (
|
|
7369
|
+
apiV1ConsultationsGet: function (userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7264
7370
|
return __awaiter(this, void 0, void 0, function () {
|
|
7265
7371
|
var localVarAxiosArgs;
|
|
7266
7372
|
return __generator(this, function (_a) {
|
|
7267
7373
|
switch (_a.label) {
|
|
7268
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(
|
|
7374
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
7269
7375
|
case 1:
|
|
7270
7376
|
localVarAxiosArgs = _a.sent();
|
|
7271
7377
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7317,11 +7423,12 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7317
7423
|
*
|
|
7318
7424
|
* @summary Get consultation.
|
|
7319
7425
|
* @param {string} consultationId
|
|
7426
|
+
* @param {string} [languageCode]
|
|
7320
7427
|
* @param {*} [options] Override http request option.
|
|
7321
7428
|
* @throws {RequiredError}
|
|
7322
7429
|
*/
|
|
7323
|
-
apiV1ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
7324
|
-
return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
7430
|
+
apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
|
|
7431
|
+
return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
7325
7432
|
},
|
|
7326
7433
|
/**
|
|
7327
7434
|
*
|
|
@@ -7347,7 +7454,14 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7347
7454
|
/**
|
|
7348
7455
|
*
|
|
7349
7456
|
* @summary Get all consultations.
|
|
7350
|
-
* @param {string} [
|
|
7457
|
+
* @param {string} [userId]
|
|
7458
|
+
* @param {string} [userName]
|
|
7459
|
+
* @param {string} [hospitalId]
|
|
7460
|
+
* @param {string} [hospitalName]
|
|
7461
|
+
* @param {string} [doctorId]
|
|
7462
|
+
* @param {string} [doctorName]
|
|
7463
|
+
* @param {string} [dealId]
|
|
7464
|
+
* @param {string} [dealName]
|
|
7351
7465
|
* @param {boolean} [isOpen]
|
|
7352
7466
|
* @param {boolean} [isCompleted]
|
|
7353
7467
|
* @param {ConsultationStatus} [status]
|
|
@@ -7356,14 +7470,16 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7356
7470
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7357
7471
|
* @param {boolean} [isExternal]
|
|
7358
7472
|
* @param {boolean} [paymentEnabled]
|
|
7473
|
+
* @param {string} [languageCode]
|
|
7474
|
+
* @param {boolean} [showHidden]
|
|
7359
7475
|
* @param {number} [page]
|
|
7360
7476
|
* @param {number} [limit]
|
|
7361
7477
|
* @param {Date} [lastRetrieved]
|
|
7362
7478
|
* @param {*} [options] Override http request option.
|
|
7363
7479
|
* @throws {RequiredError}
|
|
7364
7480
|
*/
|
|
7365
|
-
apiV1ConsultationsGet: function (
|
|
7366
|
-
return localVarFp.apiV1ConsultationsGet(
|
|
7481
|
+
apiV1ConsultationsGet: function (userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7482
|
+
return localVarFp.apiV1ConsultationsGet(userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7367
7483
|
},
|
|
7368
7484
|
};
|
|
7369
7485
|
};
|
|
@@ -7419,13 +7535,14 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7419
7535
|
*
|
|
7420
7536
|
* @summary Get consultation.
|
|
7421
7537
|
* @param {string} consultationId
|
|
7538
|
+
* @param {string} [languageCode]
|
|
7422
7539
|
* @param {*} [options] Override http request option.
|
|
7423
7540
|
* @throws {RequiredError}
|
|
7424
7541
|
* @memberof ConsultationsApi
|
|
7425
7542
|
*/
|
|
7426
|
-
ConsultationsApi.prototype.apiV1ConsultationsConsultationIdGet = function (consultationId, options) {
|
|
7543
|
+
ConsultationsApi.prototype.apiV1ConsultationsConsultationIdGet = function (consultationId, languageCode, options) {
|
|
7427
7544
|
var _this = this;
|
|
7428
|
-
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7545
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7429
7546
|
};
|
|
7430
7547
|
/**
|
|
7431
7548
|
*
|
|
@@ -7455,7 +7572,14 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7455
7572
|
/**
|
|
7456
7573
|
*
|
|
7457
7574
|
* @summary Get all consultations.
|
|
7458
|
-
* @param {string} [
|
|
7575
|
+
* @param {string} [userId]
|
|
7576
|
+
* @param {string} [userName]
|
|
7577
|
+
* @param {string} [hospitalId]
|
|
7578
|
+
* @param {string} [hospitalName]
|
|
7579
|
+
* @param {string} [doctorId]
|
|
7580
|
+
* @param {string} [doctorName]
|
|
7581
|
+
* @param {string} [dealId]
|
|
7582
|
+
* @param {string} [dealName]
|
|
7459
7583
|
* @param {boolean} [isOpen]
|
|
7460
7584
|
* @param {boolean} [isCompleted]
|
|
7461
7585
|
* @param {ConsultationStatus} [status]
|
|
@@ -7464,6 +7588,8 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7464
7588
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7465
7589
|
* @param {boolean} [isExternal]
|
|
7466
7590
|
* @param {boolean} [paymentEnabled]
|
|
7591
|
+
* @param {string} [languageCode]
|
|
7592
|
+
* @param {boolean} [showHidden]
|
|
7467
7593
|
* @param {number} [page]
|
|
7468
7594
|
* @param {number} [limit]
|
|
7469
7595
|
* @param {Date} [lastRetrieved]
|
|
@@ -7471,9 +7597,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7471
7597
|
* @throws {RequiredError}
|
|
7472
7598
|
* @memberof ConsultationsApi
|
|
7473
7599
|
*/
|
|
7474
|
-
ConsultationsApi.prototype.apiV1ConsultationsGet = function (
|
|
7600
|
+
ConsultationsApi.prototype.apiV1ConsultationsGet = function (userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
7475
7601
|
var _this = this;
|
|
7476
|
-
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(
|
|
7602
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7477
7603
|
};
|
|
7478
7604
|
return ConsultationsApi;
|
|
7479
7605
|
}(base_1.BaseAPI));
|
|
@@ -9104,14 +9230,13 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
9104
9230
|
* @param {Date} [createdDate]
|
|
9105
9231
|
* @param {string} [languageCode]
|
|
9106
9232
|
* @param {boolean} [showHidden]
|
|
9107
|
-
* @param {boolean} [returnDefaultValue]
|
|
9108
9233
|
* @param {number} [page]
|
|
9109
9234
|
* @param {number} [limit]
|
|
9110
9235
|
* @param {Date} [lastRetrieved]
|
|
9111
9236
|
* @param {*} [options] Override http request option.
|
|
9112
9237
|
* @throws {RequiredError}
|
|
9113
9238
|
*/
|
|
9114
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden,
|
|
9239
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
9115
9240
|
if (options === void 0) { options = {}; }
|
|
9116
9241
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9117
9242
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9153,9 +9278,6 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
9153
9278
|
if (showHidden !== undefined) {
|
|
9154
9279
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9155
9280
|
}
|
|
9156
|
-
if (returnDefaultValue !== undefined) {
|
|
9157
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9158
|
-
}
|
|
9159
9281
|
if (page !== undefined) {
|
|
9160
9282
|
localVarQueryParameter['page'] = page;
|
|
9161
9283
|
}
|
|
@@ -9481,19 +9603,18 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
9481
9603
|
* @param {Date} [createdDate]
|
|
9482
9604
|
* @param {string} [languageCode]
|
|
9483
9605
|
* @param {boolean} [showHidden]
|
|
9484
|
-
* @param {boolean} [returnDefaultValue]
|
|
9485
9606
|
* @param {number} [page]
|
|
9486
9607
|
* @param {number} [limit]
|
|
9487
9608
|
* @param {Date} [lastRetrieved]
|
|
9488
9609
|
* @param {*} [options] Override http request option.
|
|
9489
9610
|
* @throws {RequiredError}
|
|
9490
9611
|
*/
|
|
9491
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden,
|
|
9612
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
9492
9613
|
return __awaiter(this, void 0, void 0, function () {
|
|
9493
9614
|
var localVarAxiosArgs;
|
|
9494
9615
|
return __generator(this, function (_a) {
|
|
9495
9616
|
switch (_a.label) {
|
|
9496
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden,
|
|
9617
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
9497
9618
|
case 1:
|
|
9498
9619
|
localVarAxiosArgs = _a.sent();
|
|
9499
9620
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9663,15 +9784,14 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
9663
9784
|
* @param {Date} [createdDate]
|
|
9664
9785
|
* @param {string} [languageCode]
|
|
9665
9786
|
* @param {boolean} [showHidden]
|
|
9666
|
-
* @param {boolean} [returnDefaultValue]
|
|
9667
9787
|
* @param {number} [page]
|
|
9668
9788
|
* @param {number} [limit]
|
|
9669
9789
|
* @param {Date} [lastRetrieved]
|
|
9670
9790
|
* @param {*} [options] Override http request option.
|
|
9671
9791
|
* @throws {RequiredError}
|
|
9672
9792
|
*/
|
|
9673
|
-
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden,
|
|
9674
|
-
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden,
|
|
9793
|
+
apiV1CountriesGet: function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
9794
|
+
return localVarFp.apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
9675
9795
|
},
|
|
9676
9796
|
/**
|
|
9677
9797
|
*
|
|
@@ -9837,7 +9957,6 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
9837
9957
|
* @param {Date} [createdDate]
|
|
9838
9958
|
* @param {string} [languageCode]
|
|
9839
9959
|
* @param {boolean} [showHidden]
|
|
9840
|
-
* @param {boolean} [returnDefaultValue]
|
|
9841
9960
|
* @param {number} [page]
|
|
9842
9961
|
* @param {number} [limit]
|
|
9843
9962
|
* @param {Date} [lastRetrieved]
|
|
@@ -9845,9 +9964,9 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
9845
9964
|
* @throws {RequiredError}
|
|
9846
9965
|
* @memberof CountriesApi
|
|
9847
9966
|
*/
|
|
9848
|
-
CountriesApi.prototype.apiV1CountriesGet = function (id, name, description, createdDate, languageCode, showHidden,
|
|
9967
|
+
CountriesApi.prototype.apiV1CountriesGet = function (id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
9849
9968
|
var _this = this;
|
|
9850
|
-
return exports.CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden,
|
|
9969
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesGet(id, name, description, createdDate, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9851
9970
|
};
|
|
9852
9971
|
/**
|
|
9853
9972
|
*
|
|
@@ -10058,11 +10177,10 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10058
10177
|
* @summary Get deal.
|
|
10059
10178
|
* @param {string} dealId
|
|
10060
10179
|
* @param {string} [languageCode]
|
|
10061
|
-
* @param {boolean} [returnDefaultValue]
|
|
10062
10180
|
* @param {*} [options] Override http request option.
|
|
10063
10181
|
* @throws {RequiredError}
|
|
10064
10182
|
*/
|
|
10065
|
-
apiV1DealsDealIdGet: function (dealId, languageCode,
|
|
10183
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, options) {
|
|
10066
10184
|
if (options === void 0) { options = {}; }
|
|
10067
10185
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10068
10186
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10090,9 +10208,6 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10090
10208
|
if (languageCode !== undefined) {
|
|
10091
10209
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10092
10210
|
}
|
|
10093
|
-
if (returnDefaultValue !== undefined) {
|
|
10094
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10095
|
-
}
|
|
10096
10211
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10097
10212
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10098
10213
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10114,13 +10229,15 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10114
10229
|
* @param {string} [countryId]
|
|
10115
10230
|
* @param {string} [hospitalId]
|
|
10116
10231
|
* @param {string} [hospitalName]
|
|
10232
|
+
* @param {string} [languageCode]
|
|
10233
|
+
* @param {boolean} [showHidden]
|
|
10117
10234
|
* @param {number} [page]
|
|
10118
10235
|
* @param {number} [limit]
|
|
10119
10236
|
* @param {Date} [lastRetrieved]
|
|
10120
10237
|
* @param {*} [options] Override http request option.
|
|
10121
10238
|
* @throws {RequiredError}
|
|
10122
10239
|
*/
|
|
10123
|
-
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options) {
|
|
10240
|
+
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10124
10241
|
if (options === void 0) { options = {}; }
|
|
10125
10242
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10126
10243
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10163,6 +10280,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10163
10280
|
if (hospitalName !== undefined) {
|
|
10164
10281
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
10165
10282
|
}
|
|
10283
|
+
if (languageCode !== undefined) {
|
|
10284
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10285
|
+
}
|
|
10286
|
+
if (showHidden !== undefined) {
|
|
10287
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10288
|
+
}
|
|
10166
10289
|
if (page !== undefined) {
|
|
10167
10290
|
localVarQueryParameter['page'] = page;
|
|
10168
10291
|
}
|
|
@@ -10237,10 +10360,11 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10237
10360
|
* @summary Get DealPackage.
|
|
10238
10361
|
* @param {string} dealId
|
|
10239
10362
|
* @param {string} packageId
|
|
10363
|
+
* @param {string} [languageCode]
|
|
10240
10364
|
* @param {*} [options] Override http request option.
|
|
10241
10365
|
* @throws {RequiredError}
|
|
10242
10366
|
*/
|
|
10243
|
-
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, options) {
|
|
10367
|
+
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
10244
10368
|
if (options === void 0) { options = {}; }
|
|
10245
10369
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10246
10370
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10268,6 +10392,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10268
10392
|
// authentication oauth2 required
|
|
10269
10393
|
// oauth required
|
|
10270
10394
|
_a.sent();
|
|
10395
|
+
if (languageCode !== undefined) {
|
|
10396
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
10397
|
+
}
|
|
10271
10398
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10272
10399
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10273
10400
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11053,16 +11180,15 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11053
11180
|
* @summary Get deal.
|
|
11054
11181
|
* @param {string} dealId
|
|
11055
11182
|
* @param {string} [languageCode]
|
|
11056
|
-
* @param {boolean} [returnDefaultValue]
|
|
11057
11183
|
* @param {*} [options] Override http request option.
|
|
11058
11184
|
* @throws {RequiredError}
|
|
11059
11185
|
*/
|
|
11060
|
-
apiV1DealsDealIdGet: function (dealId, languageCode,
|
|
11186
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, options) {
|
|
11061
11187
|
return __awaiter(this, void 0, void 0, function () {
|
|
11062
11188
|
var localVarAxiosArgs;
|
|
11063
11189
|
return __generator(this, function (_a) {
|
|
11064
11190
|
switch (_a.label) {
|
|
11065
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode,
|
|
11191
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, options)];
|
|
11066
11192
|
case 1:
|
|
11067
11193
|
localVarAxiosArgs = _a.sent();
|
|
11068
11194
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11080,18 +11206,20 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11080
11206
|
* @param {string} [countryId]
|
|
11081
11207
|
* @param {string} [hospitalId]
|
|
11082
11208
|
* @param {string} [hospitalName]
|
|
11209
|
+
* @param {string} [languageCode]
|
|
11210
|
+
* @param {boolean} [showHidden]
|
|
11083
11211
|
* @param {number} [page]
|
|
11084
11212
|
* @param {number} [limit]
|
|
11085
11213
|
* @param {Date} [lastRetrieved]
|
|
11086
11214
|
* @param {*} [options] Override http request option.
|
|
11087
11215
|
* @throws {RequiredError}
|
|
11088
11216
|
*/
|
|
11089
|
-
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options) {
|
|
11217
|
+
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11090
11218
|
return __awaiter(this, void 0, void 0, function () {
|
|
11091
11219
|
var localVarAxiosArgs;
|
|
11092
11220
|
return __generator(this, function (_a) {
|
|
11093
11221
|
switch (_a.label) {
|
|
11094
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options)];
|
|
11222
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11095
11223
|
case 1:
|
|
11096
11224
|
localVarAxiosArgs = _a.sent();
|
|
11097
11225
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11125,15 +11253,16 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11125
11253
|
* @summary Get DealPackage.
|
|
11126
11254
|
* @param {string} dealId
|
|
11127
11255
|
* @param {string} packageId
|
|
11256
|
+
* @param {string} [languageCode]
|
|
11128
11257
|
* @param {*} [options] Override http request option.
|
|
11129
11258
|
* @throws {RequiredError}
|
|
11130
11259
|
*/
|
|
11131
|
-
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, options) {
|
|
11260
|
+
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
11132
11261
|
return __awaiter(this, void 0, void 0, function () {
|
|
11133
11262
|
var localVarAxiosArgs;
|
|
11134
11263
|
return __generator(this, function (_a) {
|
|
11135
11264
|
switch (_a.label) {
|
|
11136
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, options)];
|
|
11265
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options)];
|
|
11137
11266
|
case 1:
|
|
11138
11267
|
localVarAxiosArgs = _a.sent();
|
|
11139
11268
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11461,12 +11590,11 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11461
11590
|
* @summary Get deal.
|
|
11462
11591
|
* @param {string} dealId
|
|
11463
11592
|
* @param {string} [languageCode]
|
|
11464
|
-
* @param {boolean} [returnDefaultValue]
|
|
11465
11593
|
* @param {*} [options] Override http request option.
|
|
11466
11594
|
* @throws {RequiredError}
|
|
11467
11595
|
*/
|
|
11468
|
-
apiV1DealsDealIdGet: function (dealId, languageCode,
|
|
11469
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode,
|
|
11596
|
+
apiV1DealsDealIdGet: function (dealId, languageCode, options) {
|
|
11597
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
11470
11598
|
},
|
|
11471
11599
|
/**
|
|
11472
11600
|
*
|
|
@@ -11478,14 +11606,16 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11478
11606
|
* @param {string} [countryId]
|
|
11479
11607
|
* @param {string} [hospitalId]
|
|
11480
11608
|
* @param {string} [hospitalName]
|
|
11609
|
+
* @param {string} [languageCode]
|
|
11610
|
+
* @param {boolean} [showHidden]
|
|
11481
11611
|
* @param {number} [page]
|
|
11482
11612
|
* @param {number} [limit]
|
|
11483
11613
|
* @param {Date} [lastRetrieved]
|
|
11484
11614
|
* @param {*} [options] Override http request option.
|
|
11485
11615
|
* @throws {RequiredError}
|
|
11486
11616
|
*/
|
|
11487
|
-
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options) {
|
|
11488
|
-
return localVarFp.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11617
|
+
apiV1DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11618
|
+
return localVarFp.apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11489
11619
|
},
|
|
11490
11620
|
/**
|
|
11491
11621
|
*
|
|
@@ -11503,11 +11633,12 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11503
11633
|
* @summary Get DealPackage.
|
|
11504
11634
|
* @param {string} dealId
|
|
11505
11635
|
* @param {string} packageId
|
|
11636
|
+
* @param {string} [languageCode]
|
|
11506
11637
|
* @param {*} [options] Override http request option.
|
|
11507
11638
|
* @throws {RequiredError}
|
|
11508
11639
|
*/
|
|
11509
|
-
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, options) {
|
|
11510
|
-
return localVarFp.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, options).then(function (request) { return request(axios, basePath); });
|
|
11640
|
+
apiV1DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
11641
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
11511
11642
|
},
|
|
11512
11643
|
/**
|
|
11513
11644
|
*
|
|
@@ -11715,14 +11846,13 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11715
11846
|
* @summary Get deal.
|
|
11716
11847
|
* @param {string} dealId
|
|
11717
11848
|
* @param {string} [languageCode]
|
|
11718
|
-
* @param {boolean} [returnDefaultValue]
|
|
11719
11849
|
* @param {*} [options] Override http request option.
|
|
11720
11850
|
* @throws {RequiredError}
|
|
11721
11851
|
* @memberof DealsApi
|
|
11722
11852
|
*/
|
|
11723
|
-
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, languageCode,
|
|
11853
|
+
DealsApi.prototype.apiV1DealsDealIdGet = function (dealId, languageCode, options) {
|
|
11724
11854
|
var _this = this;
|
|
11725
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode,
|
|
11855
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11726
11856
|
};
|
|
11727
11857
|
/**
|
|
11728
11858
|
*
|
|
@@ -11734,6 +11864,8 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11734
11864
|
* @param {string} [countryId]
|
|
11735
11865
|
* @param {string} [hospitalId]
|
|
11736
11866
|
* @param {string} [hospitalName]
|
|
11867
|
+
* @param {string} [languageCode]
|
|
11868
|
+
* @param {boolean} [showHidden]
|
|
11737
11869
|
* @param {number} [page]
|
|
11738
11870
|
* @param {number} [limit]
|
|
11739
11871
|
* @param {Date} [lastRetrieved]
|
|
@@ -11741,9 +11873,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11741
11873
|
* @throws {RequiredError}
|
|
11742
11874
|
* @memberof DealsApi
|
|
11743
11875
|
*/
|
|
11744
|
-
DealsApi.prototype.apiV1DealsDealIdPackagesGet = function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options) {
|
|
11876
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesGet = function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11745
11877
|
var _this = this;
|
|
11746
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11878
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11747
11879
|
};
|
|
11748
11880
|
/**
|
|
11749
11881
|
*
|
|
@@ -11763,13 +11895,14 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11763
11895
|
* @summary Get DealPackage.
|
|
11764
11896
|
* @param {string} dealId
|
|
11765
11897
|
* @param {string} packageId
|
|
11898
|
+
* @param {string} [languageCode]
|
|
11766
11899
|
* @param {*} [options] Override http request option.
|
|
11767
11900
|
* @throws {RequiredError}
|
|
11768
11901
|
* @memberof DealsApi
|
|
11769
11902
|
*/
|
|
11770
|
-
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdGet = function (dealId, packageId, options) {
|
|
11903
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdGet = function (dealId, packageId, languageCode, options) {
|
|
11771
11904
|
var _this = this;
|
|
11772
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11905
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11773
11906
|
};
|
|
11774
11907
|
/**
|
|
11775
11908
|
*
|
|
@@ -11975,34 +12108,36 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11975
12108
|
}(base_1.BaseAPI));
|
|
11976
12109
|
exports.DealsApi = DealsApi;
|
|
11977
12110
|
/**
|
|
11978
|
-
*
|
|
12111
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
11979
12112
|
* @export
|
|
11980
12113
|
*/
|
|
11981
|
-
exports.
|
|
12114
|
+
exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
11982
12115
|
var _this = this;
|
|
11983
12116
|
return {
|
|
11984
12117
|
/**
|
|
11985
12118
|
*
|
|
11986
12119
|
* @summary Get all doctor affiliations.
|
|
11987
|
-
* @param {string}
|
|
12120
|
+
* @param {string} [hospitalId]
|
|
11988
12121
|
* @param {string} [hospitalName]
|
|
12122
|
+
* @param {string} [doctorId]
|
|
12123
|
+
* @param {string} [doctorName]
|
|
12124
|
+
* @param {string} [doctorSlug]
|
|
12125
|
+
* @param {string} [languageCode]
|
|
12126
|
+
* @param {boolean} [showHidden]
|
|
11989
12127
|
* @param {number} [page]
|
|
11990
12128
|
* @param {number} [limit]
|
|
11991
12129
|
* @param {Date} [lastRetrieved]
|
|
11992
12130
|
* @param {*} [options] Override http request option.
|
|
11993
12131
|
* @throws {RequiredError}
|
|
11994
12132
|
*/
|
|
11995
|
-
|
|
12133
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11996
12134
|
if (options === void 0) { options = {}; }
|
|
11997
12135
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11998
12136
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11999
12137
|
return __generator(this, function (_a) {
|
|
12000
12138
|
switch (_a.label) {
|
|
12001
12139
|
case 0:
|
|
12002
|
-
|
|
12003
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId);
|
|
12004
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations"
|
|
12005
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
12140
|
+
localVarPath = "/api/v1/doctoraffiliations";
|
|
12006
12141
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12007
12142
|
if (configuration) {
|
|
12008
12143
|
baseOptions = configuration.baseOptions;
|
|
@@ -12017,9 +12152,27 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12017
12152
|
// authentication oauth2 required
|
|
12018
12153
|
// oauth required
|
|
12019
12154
|
_a.sent();
|
|
12155
|
+
if (hospitalId !== undefined) {
|
|
12156
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12157
|
+
}
|
|
12020
12158
|
if (hospitalName !== undefined) {
|
|
12021
12159
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
12022
12160
|
}
|
|
12161
|
+
if (doctorId !== undefined) {
|
|
12162
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
12163
|
+
}
|
|
12164
|
+
if (doctorName !== undefined) {
|
|
12165
|
+
localVarQueryParameter['DoctorName'] = doctorName;
|
|
12166
|
+
}
|
|
12167
|
+
if (doctorSlug !== undefined) {
|
|
12168
|
+
localVarQueryParameter['DoctorSlug'] = doctorSlug;
|
|
12169
|
+
}
|
|
12170
|
+
if (languageCode !== undefined) {
|
|
12171
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12172
|
+
}
|
|
12173
|
+
if (showHidden !== undefined) {
|
|
12174
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12175
|
+
}
|
|
12023
12176
|
if (page !== undefined) {
|
|
12024
12177
|
localVarQueryParameter['page'] = page;
|
|
12025
12178
|
}
|
|
@@ -12045,25 +12198,21 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12045
12198
|
/**
|
|
12046
12199
|
*
|
|
12047
12200
|
* @summary Delete doctor affiliation.
|
|
12048
|
-
* @param {string}
|
|
12049
|
-
* @param {string} hospitalId
|
|
12201
|
+
* @param {string} id
|
|
12050
12202
|
* @param {*} [options] Override http request option.
|
|
12051
12203
|
* @throws {RequiredError}
|
|
12052
12204
|
*/
|
|
12053
|
-
|
|
12205
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12054
12206
|
if (options === void 0) { options = {}; }
|
|
12055
12207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12056
12208
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12057
12209
|
return __generator(this, function (_a) {
|
|
12058
12210
|
switch (_a.label) {
|
|
12059
12211
|
case 0:
|
|
12060
|
-
// verify required parameter '
|
|
12061
|
-
common_1.assertParamExists('
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations/{hospitalId}"
|
|
12065
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12066
|
-
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
12212
|
+
// verify required parameter 'id' is not null or undefined
|
|
12213
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdDelete', 'id', id);
|
|
12214
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12215
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12067
12216
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12068
12217
|
if (configuration) {
|
|
12069
12218
|
baseOptions = configuration.baseOptions;
|
|
@@ -12092,25 +12241,22 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12092
12241
|
/**
|
|
12093
12242
|
*
|
|
12094
12243
|
* @summary Get doctor affiliation.
|
|
12095
|
-
* @param {string}
|
|
12096
|
-
* @param {string}
|
|
12244
|
+
* @param {string} id
|
|
12245
|
+
* @param {string} [languageCode]
|
|
12097
12246
|
* @param {*} [options] Override http request option.
|
|
12098
12247
|
* @throws {RequiredError}
|
|
12099
12248
|
*/
|
|
12100
|
-
|
|
12249
|
+
apiV1DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
12101
12250
|
if (options === void 0) { options = {}; }
|
|
12102
12251
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12103
12252
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12104
12253
|
return __generator(this, function (_a) {
|
|
12105
12254
|
switch (_a.label) {
|
|
12106
12255
|
case 0:
|
|
12107
|
-
// verify required parameter '
|
|
12108
|
-
common_1.assertParamExists('
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations/{hospitalId}"
|
|
12112
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12113
|
-
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
12256
|
+
// verify required parameter 'id' is not null or undefined
|
|
12257
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdGet', 'id', id);
|
|
12258
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12259
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12114
12260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12115
12261
|
if (configuration) {
|
|
12116
12262
|
baseOptions = configuration.baseOptions;
|
|
@@ -12125,6 +12271,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12125
12271
|
// authentication oauth2 required
|
|
12126
12272
|
// oauth required
|
|
12127
12273
|
_a.sent();
|
|
12274
|
+
if (languageCode !== undefined) {
|
|
12275
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
12276
|
+
}
|
|
12128
12277
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12129
12278
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12130
12279
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12138,27 +12287,28 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12138
12287
|
},
|
|
12139
12288
|
/**
|
|
12140
12289
|
*
|
|
12141
|
-
* @
|
|
12142
|
-
* @param {
|
|
12290
|
+
* @summary Update Hospital.
|
|
12291
|
+
* @param {string} id
|
|
12292
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12143
12293
|
* @param {*} [options] Override http request option.
|
|
12144
12294
|
* @throws {RequiredError}
|
|
12145
12295
|
*/
|
|
12146
|
-
|
|
12296
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12147
12297
|
if (options === void 0) { options = {}; }
|
|
12148
12298
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12149
12299
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12150
12300
|
return __generator(this, function (_a) {
|
|
12151
12301
|
switch (_a.label) {
|
|
12152
12302
|
case 0:
|
|
12153
|
-
// verify required parameter '
|
|
12154
|
-
common_1.assertParamExists('
|
|
12155
|
-
localVarPath = "/api/v1/
|
|
12156
|
-
.replace("{" + "
|
|
12303
|
+
// verify required parameter 'id' is not null or undefined
|
|
12304
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdPut', 'id', id);
|
|
12305
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12306
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12157
12307
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12158
12308
|
if (configuration) {
|
|
12159
12309
|
baseOptions = configuration.baseOptions;
|
|
12160
12310
|
}
|
|
12161
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
12311
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
12162
12312
|
localVarHeaderParameter = {};
|
|
12163
12313
|
localVarQueryParameter = {};
|
|
12164
12314
|
// authentication oauth2 required
|
|
@@ -12172,7 +12322,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12172
12322
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12173
12323
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12174
12324
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12175
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
12325
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorAffiliationCommand, localVarRequestOptions, configuration);
|
|
12176
12326
|
return [2 /*return*/, {
|
|
12177
12327
|
url: common_1.toPathString(localVarUrlObj),
|
|
12178
12328
|
options: localVarRequestOptions,
|
|
@@ -12183,31 +12333,23 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12183
12333
|
},
|
|
12184
12334
|
/**
|
|
12185
12335
|
*
|
|
12186
|
-
* @
|
|
12187
|
-
* @param {string} doctorId
|
|
12188
|
-
* @param {string} certificateId
|
|
12336
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12189
12337
|
* @param {*} [options] Override http request option.
|
|
12190
12338
|
* @throws {RequiredError}
|
|
12191
12339
|
*/
|
|
12192
|
-
|
|
12340
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12193
12341
|
if (options === void 0) { options = {}; }
|
|
12194
12342
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12195
12343
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12196
12344
|
return __generator(this, function (_a) {
|
|
12197
12345
|
switch (_a.label) {
|
|
12198
12346
|
case 0:
|
|
12199
|
-
|
|
12200
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'doctorId', doctorId);
|
|
12201
|
-
// verify required parameter 'certificateId' is not null or undefined
|
|
12202
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'certificateId', certificateId);
|
|
12203
|
-
localVarPath = "/api/v1/doctors/{doctorId}/certificates/{certificateId}"
|
|
12204
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12205
|
-
.replace("{" + "certificateId" + "}", encodeURIComponent(String(certificateId)));
|
|
12347
|
+
localVarPath = "/api/v1/doctoraffiliations";
|
|
12206
12348
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12207
12349
|
if (configuration) {
|
|
12208
12350
|
baseOptions = configuration.baseOptions;
|
|
12209
12351
|
}
|
|
12210
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
12352
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12211
12353
|
localVarHeaderParameter = {};
|
|
12212
12354
|
localVarQueryParameter = {};
|
|
12213
12355
|
// authentication oauth2 required
|
|
@@ -12217,9 +12359,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12217
12359
|
// authentication oauth2 required
|
|
12218
12360
|
// oauth required
|
|
12219
12361
|
_a.sent();
|
|
12362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12220
12363
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12221
12364
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12222
12365
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12366
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createDoctorAffiliationCommand, localVarRequestOptions, configuration);
|
|
12223
12367
|
return [2 /*return*/, {
|
|
12224
12368
|
url: common_1.toPathString(localVarUrlObj),
|
|
12225
12369
|
options: localVarRequestOptions,
|
|
@@ -12228,12 +12372,340 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12228
12372
|
});
|
|
12229
12373
|
});
|
|
12230
12374
|
},
|
|
12375
|
+
};
|
|
12376
|
+
};
|
|
12377
|
+
/**
|
|
12378
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
12379
|
+
* @export
|
|
12380
|
+
*/
|
|
12381
|
+
exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
12382
|
+
var localVarAxiosParamCreator = exports.DoctorAffiliationsApiAxiosParamCreator(configuration);
|
|
12383
|
+
return {
|
|
12231
12384
|
/**
|
|
12232
12385
|
*
|
|
12233
|
-
* @summary Get
|
|
12234
|
-
* @param {string}
|
|
12235
|
-
* @param {string}
|
|
12236
|
-
* @param {
|
|
12386
|
+
* @summary Get all doctor affiliations.
|
|
12387
|
+
* @param {string} [hospitalId]
|
|
12388
|
+
* @param {string} [hospitalName]
|
|
12389
|
+
* @param {string} [doctorId]
|
|
12390
|
+
* @param {string} [doctorName]
|
|
12391
|
+
* @param {string} [doctorSlug]
|
|
12392
|
+
* @param {string} [languageCode]
|
|
12393
|
+
* @param {boolean} [showHidden]
|
|
12394
|
+
* @param {number} [page]
|
|
12395
|
+
* @param {number} [limit]
|
|
12396
|
+
* @param {Date} [lastRetrieved]
|
|
12397
|
+
* @param {*} [options] Override http request option.
|
|
12398
|
+
* @throws {RequiredError}
|
|
12399
|
+
*/
|
|
12400
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12401
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12402
|
+
var localVarAxiosArgs;
|
|
12403
|
+
return __generator(this, function (_a) {
|
|
12404
|
+
switch (_a.label) {
|
|
12405
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12406
|
+
case 1:
|
|
12407
|
+
localVarAxiosArgs = _a.sent();
|
|
12408
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12409
|
+
}
|
|
12410
|
+
});
|
|
12411
|
+
});
|
|
12412
|
+
},
|
|
12413
|
+
/**
|
|
12414
|
+
*
|
|
12415
|
+
* @summary Delete doctor affiliation.
|
|
12416
|
+
* @param {string} id
|
|
12417
|
+
* @param {*} [options] Override http request option.
|
|
12418
|
+
* @throws {RequiredError}
|
|
12419
|
+
*/
|
|
12420
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12421
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12422
|
+
var localVarAxiosArgs;
|
|
12423
|
+
return __generator(this, function (_a) {
|
|
12424
|
+
switch (_a.label) {
|
|
12425
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, options)];
|
|
12426
|
+
case 1:
|
|
12427
|
+
localVarAxiosArgs = _a.sent();
|
|
12428
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12429
|
+
}
|
|
12430
|
+
});
|
|
12431
|
+
});
|
|
12432
|
+
},
|
|
12433
|
+
/**
|
|
12434
|
+
*
|
|
12435
|
+
* @summary Get doctor affiliation.
|
|
12436
|
+
* @param {string} id
|
|
12437
|
+
* @param {string} [languageCode]
|
|
12438
|
+
* @param {*} [options] Override http request option.
|
|
12439
|
+
* @throws {RequiredError}
|
|
12440
|
+
*/
|
|
12441
|
+
apiV1DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
12442
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12443
|
+
var localVarAxiosArgs;
|
|
12444
|
+
return __generator(this, function (_a) {
|
|
12445
|
+
switch (_a.label) {
|
|
12446
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdGet(id, languageCode, options)];
|
|
12447
|
+
case 1:
|
|
12448
|
+
localVarAxiosArgs = _a.sent();
|
|
12449
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12450
|
+
}
|
|
12451
|
+
});
|
|
12452
|
+
});
|
|
12453
|
+
},
|
|
12454
|
+
/**
|
|
12455
|
+
*
|
|
12456
|
+
* @summary Update Hospital.
|
|
12457
|
+
* @param {string} id
|
|
12458
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12459
|
+
* @param {*} [options] Override http request option.
|
|
12460
|
+
* @throws {RequiredError}
|
|
12461
|
+
*/
|
|
12462
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12463
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12464
|
+
var localVarAxiosArgs;
|
|
12465
|
+
return __generator(this, function (_a) {
|
|
12466
|
+
switch (_a.label) {
|
|
12467
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options)];
|
|
12468
|
+
case 1:
|
|
12469
|
+
localVarAxiosArgs = _a.sent();
|
|
12470
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12471
|
+
}
|
|
12472
|
+
});
|
|
12473
|
+
});
|
|
12474
|
+
},
|
|
12475
|
+
/**
|
|
12476
|
+
*
|
|
12477
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12478
|
+
* @param {*} [options] Override http request option.
|
|
12479
|
+
* @throws {RequiredError}
|
|
12480
|
+
*/
|
|
12481
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12482
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12483
|
+
var localVarAxiosArgs;
|
|
12484
|
+
return __generator(this, function (_a) {
|
|
12485
|
+
switch (_a.label) {
|
|
12486
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options)];
|
|
12487
|
+
case 1:
|
|
12488
|
+
localVarAxiosArgs = _a.sent();
|
|
12489
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12490
|
+
}
|
|
12491
|
+
});
|
|
12492
|
+
});
|
|
12493
|
+
},
|
|
12494
|
+
};
|
|
12495
|
+
};
|
|
12496
|
+
/**
|
|
12497
|
+
* DoctorAffiliationsApi - factory interface
|
|
12498
|
+
* @export
|
|
12499
|
+
*/
|
|
12500
|
+
exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
12501
|
+
var localVarFp = exports.DoctorAffiliationsApiFp(configuration);
|
|
12502
|
+
return {
|
|
12503
|
+
/**
|
|
12504
|
+
*
|
|
12505
|
+
* @summary Get all doctor affiliations.
|
|
12506
|
+
* @param {string} [hospitalId]
|
|
12507
|
+
* @param {string} [hospitalName]
|
|
12508
|
+
* @param {string} [doctorId]
|
|
12509
|
+
* @param {string} [doctorName]
|
|
12510
|
+
* @param {string} [doctorSlug]
|
|
12511
|
+
* @param {string} [languageCode]
|
|
12512
|
+
* @param {boolean} [showHidden]
|
|
12513
|
+
* @param {number} [page]
|
|
12514
|
+
* @param {number} [limit]
|
|
12515
|
+
* @param {Date} [lastRetrieved]
|
|
12516
|
+
* @param {*} [options] Override http request option.
|
|
12517
|
+
* @throws {RequiredError}
|
|
12518
|
+
*/
|
|
12519
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12520
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12521
|
+
},
|
|
12522
|
+
/**
|
|
12523
|
+
*
|
|
12524
|
+
* @summary Delete doctor affiliation.
|
|
12525
|
+
* @param {string} id
|
|
12526
|
+
* @param {*} [options] Override http request option.
|
|
12527
|
+
* @throws {RequiredError}
|
|
12528
|
+
*/
|
|
12529
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12530
|
+
return localVarFp.apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
12531
|
+
},
|
|
12532
|
+
/**
|
|
12533
|
+
*
|
|
12534
|
+
* @summary Get doctor affiliation.
|
|
12535
|
+
* @param {string} id
|
|
12536
|
+
* @param {string} [languageCode]
|
|
12537
|
+
* @param {*} [options] Override http request option.
|
|
12538
|
+
* @throws {RequiredError}
|
|
12539
|
+
*/
|
|
12540
|
+
apiV1DoctoraffiliationsIdGet: function (id, languageCode, options) {
|
|
12541
|
+
return localVarFp.apiV1DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12542
|
+
},
|
|
12543
|
+
/**
|
|
12544
|
+
*
|
|
12545
|
+
* @summary Update Hospital.
|
|
12546
|
+
* @param {string} id
|
|
12547
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12548
|
+
* @param {*} [options] Override http request option.
|
|
12549
|
+
* @throws {RequiredError}
|
|
12550
|
+
*/
|
|
12551
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12552
|
+
return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12553
|
+
},
|
|
12554
|
+
/**
|
|
12555
|
+
*
|
|
12556
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12557
|
+
* @param {*} [options] Override http request option.
|
|
12558
|
+
* @throws {RequiredError}
|
|
12559
|
+
*/
|
|
12560
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12561
|
+
return localVarFp.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12562
|
+
},
|
|
12563
|
+
};
|
|
12564
|
+
};
|
|
12565
|
+
/**
|
|
12566
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
12567
|
+
* @export
|
|
12568
|
+
* @class DoctorAffiliationsApi
|
|
12569
|
+
* @extends {BaseAPI}
|
|
12570
|
+
*/
|
|
12571
|
+
var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
12572
|
+
__extends(DoctorAffiliationsApi, _super);
|
|
12573
|
+
function DoctorAffiliationsApi() {
|
|
12574
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12575
|
+
}
|
|
12576
|
+
/**
|
|
12577
|
+
*
|
|
12578
|
+
* @summary Get all doctor affiliations.
|
|
12579
|
+
* @param {string} [hospitalId]
|
|
12580
|
+
* @param {string} [hospitalName]
|
|
12581
|
+
* @param {string} [doctorId]
|
|
12582
|
+
* @param {string} [doctorName]
|
|
12583
|
+
* @param {string} [doctorSlug]
|
|
12584
|
+
* @param {string} [languageCode]
|
|
12585
|
+
* @param {boolean} [showHidden]
|
|
12586
|
+
* @param {number} [page]
|
|
12587
|
+
* @param {number} [limit]
|
|
12588
|
+
* @param {Date} [lastRetrieved]
|
|
12589
|
+
* @param {*} [options] Override http request option.
|
|
12590
|
+
* @throws {RequiredError}
|
|
12591
|
+
* @memberof DoctorAffiliationsApi
|
|
12592
|
+
*/
|
|
12593
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12594
|
+
var _this = this;
|
|
12595
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12596
|
+
};
|
|
12597
|
+
/**
|
|
12598
|
+
*
|
|
12599
|
+
* @summary Delete doctor affiliation.
|
|
12600
|
+
* @param {string} id
|
|
12601
|
+
* @param {*} [options] Override http request option.
|
|
12602
|
+
* @throws {RequiredError}
|
|
12603
|
+
* @memberof DoctorAffiliationsApi
|
|
12604
|
+
*/
|
|
12605
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdDelete = function (id, options) {
|
|
12606
|
+
var _this = this;
|
|
12607
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12608
|
+
};
|
|
12609
|
+
/**
|
|
12610
|
+
*
|
|
12611
|
+
* @summary Get doctor affiliation.
|
|
12612
|
+
* @param {string} id
|
|
12613
|
+
* @param {string} [languageCode]
|
|
12614
|
+
* @param {*} [options] Override http request option.
|
|
12615
|
+
* @throws {RequiredError}
|
|
12616
|
+
* @memberof DoctorAffiliationsApi
|
|
12617
|
+
*/
|
|
12618
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdGet = function (id, languageCode, options) {
|
|
12619
|
+
var _this = this;
|
|
12620
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12621
|
+
};
|
|
12622
|
+
/**
|
|
12623
|
+
*
|
|
12624
|
+
* @summary Update Hospital.
|
|
12625
|
+
* @param {string} id
|
|
12626
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12627
|
+
* @param {*} [options] Override http request option.
|
|
12628
|
+
* @throws {RequiredError}
|
|
12629
|
+
* @memberof DoctorAffiliationsApi
|
|
12630
|
+
*/
|
|
12631
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdPut = function (id, updateDoctorAffiliationCommand, options) {
|
|
12632
|
+
var _this = this;
|
|
12633
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12634
|
+
};
|
|
12635
|
+
/**
|
|
12636
|
+
*
|
|
12637
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12638
|
+
* @param {*} [options] Override http request option.
|
|
12639
|
+
* @throws {RequiredError}
|
|
12640
|
+
* @memberof DoctorAffiliationsApi
|
|
12641
|
+
*/
|
|
12642
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsPost = function (createDoctorAffiliationCommand, options) {
|
|
12643
|
+
var _this = this;
|
|
12644
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12645
|
+
};
|
|
12646
|
+
return DoctorAffiliationsApi;
|
|
12647
|
+
}(base_1.BaseAPI));
|
|
12648
|
+
exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
|
|
12649
|
+
/**
|
|
12650
|
+
* DoctorsApi - axios parameter creator
|
|
12651
|
+
* @export
|
|
12652
|
+
*/
|
|
12653
|
+
exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
12654
|
+
var _this = this;
|
|
12655
|
+
return {
|
|
12656
|
+
/**
|
|
12657
|
+
*
|
|
12658
|
+
* @summary Delete DoctorCertificate.
|
|
12659
|
+
* @param {string} doctorId
|
|
12660
|
+
* @param {string} certificateId
|
|
12661
|
+
* @param {*} [options] Override http request option.
|
|
12662
|
+
* @throws {RequiredError}
|
|
12663
|
+
*/
|
|
12664
|
+
apiV1DoctorsDoctorIdCertificatesCertificateIdDelete: function (doctorId, certificateId, options) {
|
|
12665
|
+
if (options === void 0) { options = {}; }
|
|
12666
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12667
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12668
|
+
return __generator(this, function (_a) {
|
|
12669
|
+
switch (_a.label) {
|
|
12670
|
+
case 0:
|
|
12671
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
12672
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'doctorId', doctorId);
|
|
12673
|
+
// verify required parameter 'certificateId' is not null or undefined
|
|
12674
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdCertificatesCertificateIdDelete', 'certificateId', certificateId);
|
|
12675
|
+
localVarPath = "/api/v1/doctors/{doctorId}/certificates/{certificateId}"
|
|
12676
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12677
|
+
.replace("{" + "certificateId" + "}", encodeURIComponent(String(certificateId)));
|
|
12678
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12679
|
+
if (configuration) {
|
|
12680
|
+
baseOptions = configuration.baseOptions;
|
|
12681
|
+
}
|
|
12682
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
12683
|
+
localVarHeaderParameter = {};
|
|
12684
|
+
localVarQueryParameter = {};
|
|
12685
|
+
// authentication oauth2 required
|
|
12686
|
+
// oauth required
|
|
12687
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12688
|
+
case 1:
|
|
12689
|
+
// authentication oauth2 required
|
|
12690
|
+
// oauth required
|
|
12691
|
+
_a.sent();
|
|
12692
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12693
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12694
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12695
|
+
return [2 /*return*/, {
|
|
12696
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12697
|
+
options: localVarRequestOptions,
|
|
12698
|
+
}];
|
|
12699
|
+
}
|
|
12700
|
+
});
|
|
12701
|
+
});
|
|
12702
|
+
},
|
|
12703
|
+
/**
|
|
12704
|
+
*
|
|
12705
|
+
* @summary Get DoctorCertificate.
|
|
12706
|
+
* @param {string} doctorId
|
|
12707
|
+
* @param {string} certificateId
|
|
12708
|
+
* @param {*} [options] Override http request option.
|
|
12237
12709
|
* @throws {RequiredError}
|
|
12238
12710
|
*/
|
|
12239
12711
|
apiV1DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, options) {
|
|
@@ -12767,12 +13239,10 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12767
13239
|
/**
|
|
12768
13240
|
*
|
|
12769
13241
|
* @param {string} doctorId
|
|
12770
|
-
* @param {string} [languageCode]
|
|
12771
|
-
* @param {boolean} [returnDefaultValue]
|
|
12772
13242
|
* @param {*} [options] Override http request option.
|
|
12773
13243
|
* @throws {RequiredError}
|
|
12774
13244
|
*/
|
|
12775
|
-
apiV1DoctorsDoctorIdGet: function (doctorId,
|
|
13245
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
12776
13246
|
if (options === void 0) { options = {}; }
|
|
12777
13247
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12778
13248
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12797,12 +13267,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12797
13267
|
// authentication oauth2 required
|
|
12798
13268
|
// oauth required
|
|
12799
13269
|
_a.sent();
|
|
12800
|
-
if (languageCode !== undefined) {
|
|
12801
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
12802
|
-
}
|
|
12803
|
-
if (returnDefaultValue !== undefined) {
|
|
12804
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12805
|
-
}
|
|
12806
13270
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12807
13271
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12808
13272
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13632,13 +14096,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13632
14096
|
* @param {string} [doctorName]
|
|
13633
14097
|
* @param {string} [specialtyId]
|
|
13634
14098
|
* @param {string} [specialtyName]
|
|
14099
|
+
* @param {string} [languageCode]
|
|
13635
14100
|
* @param {number} [page]
|
|
13636
14101
|
* @param {number} [limit]
|
|
13637
14102
|
* @param {Date} [lastRetrieved]
|
|
13638
14103
|
* @param {*} [options] Override http request option.
|
|
13639
14104
|
* @throws {RequiredError}
|
|
13640
14105
|
*/
|
|
13641
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
14106
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
13642
14107
|
if (options === void 0) { options = {}; }
|
|
13643
14108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13644
14109
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13672,6 +14137,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13672
14137
|
if (specialtyName !== undefined) {
|
|
13673
14138
|
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
13674
14139
|
}
|
|
14140
|
+
if (languageCode !== undefined) {
|
|
14141
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14142
|
+
}
|
|
13675
14143
|
if (page !== undefined) {
|
|
13676
14144
|
localVarQueryParameter['page'] = page;
|
|
13677
14145
|
}
|
|
@@ -13888,8 +14356,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13888
14356
|
*
|
|
13889
14357
|
* @summary Get all Doctors.
|
|
13890
14358
|
* @param {string} [hospitalId]
|
|
13891
|
-
* @param {string} [
|
|
13892
|
-
* @param {boolean} [returnDefaultValue]
|
|
14359
|
+
* @param {string} [hospitalName]
|
|
13893
14360
|
* @param {Array<string>} [ids]
|
|
13894
14361
|
* @param {string} [specialtyId]
|
|
13895
14362
|
* @param {boolean} [consultationEnabled]
|
|
@@ -13906,7 +14373,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13906
14373
|
* @param {*} [options] Override http request option.
|
|
13907
14374
|
* @throws {RequiredError}
|
|
13908
14375
|
*/
|
|
13909
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
14376
|
+
apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13910
14377
|
if (options === void 0) { options = {}; }
|
|
13911
14378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13912
14379
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13931,11 +14398,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13931
14398
|
if (hospitalId !== undefined) {
|
|
13932
14399
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
13933
14400
|
}
|
|
13934
|
-
if (
|
|
13935
|
-
localVarQueryParameter['
|
|
13936
|
-
}
|
|
13937
|
-
if (returnDefaultValue !== undefined) {
|
|
13938
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
14401
|
+
if (hospitalName !== undefined) {
|
|
14402
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
13939
14403
|
}
|
|
13940
14404
|
if (ids) {
|
|
13941
14405
|
localVarQueryParameter['Ids'] = ids;
|
|
@@ -14039,8 +14503,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14039
14503
|
*
|
|
14040
14504
|
* @summary Get all Doctors.
|
|
14041
14505
|
* @param {string} [hospitalId]
|
|
14042
|
-
* @param {string} [
|
|
14043
|
-
* @param {boolean} [returnDefaultValue]
|
|
14506
|
+
* @param {string} [hospitalName]
|
|
14044
14507
|
* @param {Array<string>} [ids]
|
|
14045
14508
|
* @param {string} [specialtyId]
|
|
14046
14509
|
* @param {boolean} [consultationEnabled]
|
|
@@ -14057,7 +14520,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14057
14520
|
* @param {*} [options] Override http request option.
|
|
14058
14521
|
* @throws {RequiredError}
|
|
14059
14522
|
*/
|
|
14060
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
14523
|
+
apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14061
14524
|
if (options === void 0) { options = {}; }
|
|
14062
14525
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14063
14526
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14082,11 +14545,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14082
14545
|
if (hospitalId !== undefined) {
|
|
14083
14546
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
14084
14547
|
}
|
|
14085
|
-
if (
|
|
14086
|
-
localVarQueryParameter['
|
|
14087
|
-
}
|
|
14088
|
-
if (returnDefaultValue !== undefined) {
|
|
14089
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
14548
|
+
if (hospitalName !== undefined) {
|
|
14549
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14090
14550
|
}
|
|
14091
14551
|
if (ids) {
|
|
14092
14552
|
localVarQueryParameter['Ids'] = ids;
|
|
@@ -14144,151 +14604,15 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14144
14604
|
});
|
|
14145
14605
|
});
|
|
14146
14606
|
},
|
|
14147
|
-
/**
|
|
14148
|
-
*
|
|
14149
|
-
* @param {string} slug
|
|
14150
|
-
* @param {string} [languageCode]
|
|
14151
|
-
* @param {boolean} [returnDefaultValue]
|
|
14152
|
-
* @param {*} [options] Override http request option.
|
|
14153
|
-
* @throws {RequiredError}
|
|
14154
|
-
*/
|
|
14155
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
14156
|
-
if (options === void 0) { options = {}; }
|
|
14157
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
14158
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14159
|
-
return __generator(this, function (_a) {
|
|
14160
|
-
switch (_a.label) {
|
|
14161
|
-
case 0:
|
|
14162
|
-
// verify required parameter 'slug' is not null or undefined
|
|
14163
|
-
common_1.assertParamExists('apiV1DoctorsSlugGet', 'slug', slug);
|
|
14164
|
-
localVarPath = "/api/v1/doctors/{slug}"
|
|
14165
|
-
.replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
|
|
14166
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14167
|
-
if (configuration) {
|
|
14168
|
-
baseOptions = configuration.baseOptions;
|
|
14169
|
-
}
|
|
14170
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14171
|
-
localVarHeaderParameter = {};
|
|
14172
|
-
localVarQueryParameter = {};
|
|
14173
|
-
// authentication oauth2 required
|
|
14174
|
-
// oauth required
|
|
14175
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14176
|
-
case 1:
|
|
14177
|
-
// authentication oauth2 required
|
|
14178
|
-
// oauth required
|
|
14179
|
-
_a.sent();
|
|
14180
|
-
if (languageCode !== undefined) {
|
|
14181
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
14182
|
-
}
|
|
14183
|
-
if (returnDefaultValue !== undefined) {
|
|
14184
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
14185
|
-
}
|
|
14186
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14187
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14188
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14189
|
-
return [2 /*return*/, {
|
|
14190
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
14191
|
-
options: localVarRequestOptions,
|
|
14192
|
-
}];
|
|
14193
|
-
}
|
|
14194
|
-
});
|
|
14195
|
-
});
|
|
14196
|
-
},
|
|
14197
14607
|
};
|
|
14198
14608
|
};
|
|
14199
14609
|
/**
|
|
14200
14610
|
* DoctorsApi - functional programming interface
|
|
14201
14611
|
* @export
|
|
14202
14612
|
*/
|
|
14203
|
-
exports.DoctorsApiFp = function (configuration) {
|
|
14204
|
-
var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
|
|
14205
|
-
return {
|
|
14206
|
-
/**
|
|
14207
|
-
*
|
|
14208
|
-
* @summary Get all doctor affiliations.
|
|
14209
|
-
* @param {string} doctorId
|
|
14210
|
-
* @param {string} [hospitalName]
|
|
14211
|
-
* @param {number} [page]
|
|
14212
|
-
* @param {number} [limit]
|
|
14213
|
-
* @param {Date} [lastRetrieved]
|
|
14214
|
-
* @param {*} [options] Override http request option.
|
|
14215
|
-
* @throws {RequiredError}
|
|
14216
|
-
*/
|
|
14217
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
14218
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14219
|
-
var localVarAxiosArgs;
|
|
14220
|
-
return __generator(this, function (_a) {
|
|
14221
|
-
switch (_a.label) {
|
|
14222
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
|
|
14223
|
-
case 1:
|
|
14224
|
-
localVarAxiosArgs = _a.sent();
|
|
14225
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14226
|
-
}
|
|
14227
|
-
});
|
|
14228
|
-
});
|
|
14229
|
-
},
|
|
14230
|
-
/**
|
|
14231
|
-
*
|
|
14232
|
-
* @summary Delete doctor affiliation.
|
|
14233
|
-
* @param {string} doctorId
|
|
14234
|
-
* @param {string} hospitalId
|
|
14235
|
-
* @param {*} [options] Override http request option.
|
|
14236
|
-
* @throws {RequiredError}
|
|
14237
|
-
*/
|
|
14238
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
14239
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14240
|
-
var localVarAxiosArgs;
|
|
14241
|
-
return __generator(this, function (_a) {
|
|
14242
|
-
switch (_a.label) {
|
|
14243
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options)];
|
|
14244
|
-
case 1:
|
|
14245
|
-
localVarAxiosArgs = _a.sent();
|
|
14246
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14247
|
-
}
|
|
14248
|
-
});
|
|
14249
|
-
});
|
|
14250
|
-
},
|
|
14251
|
-
/**
|
|
14252
|
-
*
|
|
14253
|
-
* @summary Get doctor affiliation.
|
|
14254
|
-
* @param {string} doctorId
|
|
14255
|
-
* @param {string} hospitalId
|
|
14256
|
-
* @param {*} [options] Override http request option.
|
|
14257
|
-
* @throws {RequiredError}
|
|
14258
|
-
*/
|
|
14259
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
14260
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14261
|
-
var localVarAxiosArgs;
|
|
14262
|
-
return __generator(this, function (_a) {
|
|
14263
|
-
switch (_a.label) {
|
|
14264
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
|
|
14265
|
-
case 1:
|
|
14266
|
-
localVarAxiosArgs = _a.sent();
|
|
14267
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14268
|
-
}
|
|
14269
|
-
});
|
|
14270
|
-
});
|
|
14271
|
-
},
|
|
14272
|
-
/**
|
|
14273
|
-
*
|
|
14274
|
-
* @param {string} doctorId
|
|
14275
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
14276
|
-
* @param {*} [options] Override http request option.
|
|
14277
|
-
* @throws {RequiredError}
|
|
14278
|
-
*/
|
|
14279
|
-
apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
|
|
14280
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14281
|
-
var localVarAxiosArgs;
|
|
14282
|
-
return __generator(this, function (_a) {
|
|
14283
|
-
switch (_a.label) {
|
|
14284
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options)];
|
|
14285
|
-
case 1:
|
|
14286
|
-
localVarAxiosArgs = _a.sent();
|
|
14287
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14288
|
-
}
|
|
14289
|
-
});
|
|
14290
|
-
});
|
|
14291
|
-
},
|
|
14613
|
+
exports.DoctorsApiFp = function (configuration) {
|
|
14614
|
+
var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
|
|
14615
|
+
return {
|
|
14292
14616
|
/**
|
|
14293
14617
|
*
|
|
14294
14618
|
* @summary Delete DoctorCertificate.
|
|
@@ -14538,17 +14862,15 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
14538
14862
|
/**
|
|
14539
14863
|
*
|
|
14540
14864
|
* @param {string} doctorId
|
|
14541
|
-
* @param {string} [languageCode]
|
|
14542
|
-
* @param {boolean} [returnDefaultValue]
|
|
14543
14865
|
* @param {*} [options] Override http request option.
|
|
14544
14866
|
* @throws {RequiredError}
|
|
14545
14867
|
*/
|
|
14546
|
-
apiV1DoctorsDoctorIdGet: function (doctorId,
|
|
14868
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
14547
14869
|
return __awaiter(this, void 0, void 0, function () {
|
|
14548
14870
|
var localVarAxiosArgs;
|
|
14549
14871
|
return __generator(this, function (_a) {
|
|
14550
14872
|
switch (_a.label) {
|
|
14551
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId,
|
|
14873
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options)];
|
|
14552
14874
|
case 1:
|
|
14553
14875
|
localVarAxiosArgs = _a.sent();
|
|
14554
14876
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14914,18 +15236,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
14914
15236
|
* @param {string} [doctorName]
|
|
14915
15237
|
* @param {string} [specialtyId]
|
|
14916
15238
|
* @param {string} [specialtyName]
|
|
15239
|
+
* @param {string} [languageCode]
|
|
14917
15240
|
* @param {number} [page]
|
|
14918
15241
|
* @param {number} [limit]
|
|
14919
15242
|
* @param {Date} [lastRetrieved]
|
|
14920
15243
|
* @param {*} [options] Override http request option.
|
|
14921
15244
|
* @throws {RequiredError}
|
|
14922
15245
|
*/
|
|
14923
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
15246
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
14924
15247
|
return __awaiter(this, void 0, void 0, function () {
|
|
14925
15248
|
var localVarAxiosArgs;
|
|
14926
15249
|
return __generator(this, function (_a) {
|
|
14927
15250
|
switch (_a.label) {
|
|
14928
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options)];
|
|
15251
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options)];
|
|
14929
15252
|
case 1:
|
|
14930
15253
|
localVarAxiosArgs = _a.sent();
|
|
14931
15254
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15022,8 +15345,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15022
15345
|
*
|
|
15023
15346
|
* @summary Get all Doctors.
|
|
15024
15347
|
* @param {string} [hospitalId]
|
|
15025
|
-
* @param {string} [
|
|
15026
|
-
* @param {boolean} [returnDefaultValue]
|
|
15348
|
+
* @param {string} [hospitalName]
|
|
15027
15349
|
* @param {Array<string>} [ids]
|
|
15028
15350
|
* @param {string} [specialtyId]
|
|
15029
15351
|
* @param {boolean} [consultationEnabled]
|
|
@@ -15040,12 +15362,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15040
15362
|
* @param {*} [options] Override http request option.
|
|
15041
15363
|
* @throws {RequiredError}
|
|
15042
15364
|
*/
|
|
15043
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
15365
|
+
apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15044
15366
|
return __awaiter(this, void 0, void 0, function () {
|
|
15045
15367
|
var localVarAxiosArgs;
|
|
15046
15368
|
return __generator(this, function (_a) {
|
|
15047
15369
|
switch (_a.label) {
|
|
15048
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId,
|
|
15370
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
15049
15371
|
case 1:
|
|
15050
15372
|
localVarAxiosArgs = _a.sent();
|
|
15051
15373
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15077,8 +15399,7 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15077
15399
|
*
|
|
15078
15400
|
* @summary Get all Doctors.
|
|
15079
15401
|
* @param {string} [hospitalId]
|
|
15080
|
-
* @param {string} [
|
|
15081
|
-
* @param {boolean} [returnDefaultValue]
|
|
15402
|
+
* @param {string} [hospitalName]
|
|
15082
15403
|
* @param {Array<string>} [ids]
|
|
15083
15404
|
* @param {string} [specialtyId]
|
|
15084
15405
|
* @param {boolean} [consultationEnabled]
|
|
@@ -15095,33 +15416,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15095
15416
|
* @param {*} [options] Override http request option.
|
|
15096
15417
|
* @throws {RequiredError}
|
|
15097
15418
|
*/
|
|
15098
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
15099
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15100
|
-
var localVarAxiosArgs;
|
|
15101
|
-
return __generator(this, function (_a) {
|
|
15102
|
-
switch (_a.label) {
|
|
15103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
15104
|
-
case 1:
|
|
15105
|
-
localVarAxiosArgs = _a.sent();
|
|
15106
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
15107
|
-
}
|
|
15108
|
-
});
|
|
15109
|
-
});
|
|
15110
|
-
},
|
|
15111
|
-
/**
|
|
15112
|
-
*
|
|
15113
|
-
* @param {string} slug
|
|
15114
|
-
* @param {string} [languageCode]
|
|
15115
|
-
* @param {boolean} [returnDefaultValue]
|
|
15116
|
-
* @param {*} [options] Override http request option.
|
|
15117
|
-
* @throws {RequiredError}
|
|
15118
|
-
*/
|
|
15119
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
15419
|
+
apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15120
15420
|
return __awaiter(this, void 0, void 0, function () {
|
|
15121
15421
|
var localVarAxiosArgs;
|
|
15122
15422
|
return __generator(this, function (_a) {
|
|
15123
15423
|
switch (_a.label) {
|
|
15124
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15424
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
15125
15425
|
case 1:
|
|
15126
15426
|
localVarAxiosArgs = _a.sent();
|
|
15127
15427
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15138,52 +15438,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15138
15438
|
exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
15139
15439
|
var localVarFp = exports.DoctorsApiFp(configuration);
|
|
15140
15440
|
return {
|
|
15141
|
-
/**
|
|
15142
|
-
*
|
|
15143
|
-
* @summary Get all doctor affiliations.
|
|
15144
|
-
* @param {string} doctorId
|
|
15145
|
-
* @param {string} [hospitalName]
|
|
15146
|
-
* @param {number} [page]
|
|
15147
|
-
* @param {number} [limit]
|
|
15148
|
-
* @param {Date} [lastRetrieved]
|
|
15149
|
-
* @param {*} [options] Override http request option.
|
|
15150
|
-
* @throws {RequiredError}
|
|
15151
|
-
*/
|
|
15152
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15153
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15154
|
-
},
|
|
15155
|
-
/**
|
|
15156
|
-
*
|
|
15157
|
-
* @summary Delete doctor affiliation.
|
|
15158
|
-
* @param {string} doctorId
|
|
15159
|
-
* @param {string} hospitalId
|
|
15160
|
-
* @param {*} [options] Override http request option.
|
|
15161
|
-
* @throws {RequiredError}
|
|
15162
|
-
*/
|
|
15163
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
15164
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15165
|
-
},
|
|
15166
|
-
/**
|
|
15167
|
-
*
|
|
15168
|
-
* @summary Get doctor affiliation.
|
|
15169
|
-
* @param {string} doctorId
|
|
15170
|
-
* @param {string} hospitalId
|
|
15171
|
-
* @param {*} [options] Override http request option.
|
|
15172
|
-
* @throws {RequiredError}
|
|
15173
|
-
*/
|
|
15174
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
15175
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15176
|
-
},
|
|
15177
|
-
/**
|
|
15178
|
-
*
|
|
15179
|
-
* @param {string} doctorId
|
|
15180
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15181
|
-
* @param {*} [options] Override http request option.
|
|
15182
|
-
* @throws {RequiredError}
|
|
15183
|
-
*/
|
|
15184
|
-
apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15185
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15186
|
-
},
|
|
15187
15441
|
/**
|
|
15188
15442
|
*
|
|
15189
15443
|
* @summary Delete DoctorCertificate.
|
|
@@ -15323,13 +15577,11 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15323
15577
|
/**
|
|
15324
15578
|
*
|
|
15325
15579
|
* @param {string} doctorId
|
|
15326
|
-
* @param {string} [languageCode]
|
|
15327
|
-
* @param {boolean} [returnDefaultValue]
|
|
15328
15580
|
* @param {*} [options] Override http request option.
|
|
15329
15581
|
* @throws {RequiredError}
|
|
15330
15582
|
*/
|
|
15331
|
-
apiV1DoctorsDoctorIdGet: function (doctorId,
|
|
15332
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId,
|
|
15583
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
15584
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(axios, basePath); });
|
|
15333
15585
|
},
|
|
15334
15586
|
/**
|
|
15335
15587
|
*
|
|
@@ -15529,14 +15781,15 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15529
15781
|
* @param {string} [doctorName]
|
|
15530
15782
|
* @param {string} [specialtyId]
|
|
15531
15783
|
* @param {string} [specialtyName]
|
|
15784
|
+
* @param {string} [languageCode]
|
|
15532
15785
|
* @param {number} [page]
|
|
15533
15786
|
* @param {number} [limit]
|
|
15534
15787
|
* @param {Date} [lastRetrieved]
|
|
15535
15788
|
* @param {*} [options] Override http request option.
|
|
15536
15789
|
* @throws {RequiredError}
|
|
15537
15790
|
*/
|
|
15538
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
15539
|
-
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15791
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
15792
|
+
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15540
15793
|
},
|
|
15541
15794
|
/**
|
|
15542
15795
|
*
|
|
@@ -15587,8 +15840,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15587
15840
|
*
|
|
15588
15841
|
* @summary Get all Doctors.
|
|
15589
15842
|
* @param {string} [hospitalId]
|
|
15590
|
-
* @param {string} [
|
|
15591
|
-
* @param {boolean} [returnDefaultValue]
|
|
15843
|
+
* @param {string} [hospitalName]
|
|
15592
15844
|
* @param {Array<string>} [ids]
|
|
15593
15845
|
* @param {string} [specialtyId]
|
|
15594
15846
|
* @param {boolean} [consultationEnabled]
|
|
@@ -15605,8 +15857,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15605
15857
|
* @param {*} [options] Override http request option.
|
|
15606
15858
|
* @throws {RequiredError}
|
|
15607
15859
|
*/
|
|
15608
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
15609
|
-
return localVarFp.apiV1DoctorsGet(hospitalId,
|
|
15860
|
+
apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15861
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15610
15862
|
},
|
|
15611
15863
|
/**
|
|
15612
15864
|
*
|
|
@@ -15622,8 +15874,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15622
15874
|
*
|
|
15623
15875
|
* @summary Get all Doctors.
|
|
15624
15876
|
* @param {string} [hospitalId]
|
|
15625
|
-
* @param {string} [
|
|
15626
|
-
* @param {boolean} [returnDefaultValue]
|
|
15877
|
+
* @param {string} [hospitalName]
|
|
15627
15878
|
* @param {Array<string>} [ids]
|
|
15628
15879
|
* @param {string} [specialtyId]
|
|
15629
15880
|
* @param {boolean} [consultationEnabled]
|
|
@@ -15640,19 +15891,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15640
15891
|
* @param {*} [options] Override http request option.
|
|
15641
15892
|
* @throws {RequiredError}
|
|
15642
15893
|
*/
|
|
15643
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
15644
|
-
return localVarFp.apiV1DoctorsSimpleGet(hospitalId,
|
|
15645
|
-
},
|
|
15646
|
-
/**
|
|
15647
|
-
*
|
|
15648
|
-
* @param {string} slug
|
|
15649
|
-
* @param {string} [languageCode]
|
|
15650
|
-
* @param {boolean} [returnDefaultValue]
|
|
15651
|
-
* @param {*} [options] Override http request option.
|
|
15652
|
-
* @throws {RequiredError}
|
|
15653
|
-
*/
|
|
15654
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
15655
|
-
return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
15894
|
+
apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15895
|
+
return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15656
15896
|
},
|
|
15657
15897
|
};
|
|
15658
15898
|
};
|
|
@@ -15667,60 +15907,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
15667
15907
|
function DoctorsApi() {
|
|
15668
15908
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
15669
15909
|
}
|
|
15670
|
-
/**
|
|
15671
|
-
*
|
|
15672
|
-
* @summary Get all doctor affiliations.
|
|
15673
|
-
* @param {string} doctorId
|
|
15674
|
-
* @param {string} [hospitalName]
|
|
15675
|
-
* @param {number} [page]
|
|
15676
|
-
* @param {number} [limit]
|
|
15677
|
-
* @param {Date} [lastRetrieved]
|
|
15678
|
-
* @param {*} [options] Override http request option.
|
|
15679
|
-
* @throws {RequiredError}
|
|
15680
|
-
* @memberof DoctorsApi
|
|
15681
|
-
*/
|
|
15682
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15683
|
-
var _this = this;
|
|
15684
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15685
|
-
};
|
|
15686
|
-
/**
|
|
15687
|
-
*
|
|
15688
|
-
* @summary Delete doctor affiliation.
|
|
15689
|
-
* @param {string} doctorId
|
|
15690
|
-
* @param {string} hospitalId
|
|
15691
|
-
* @param {*} [options] Override http request option.
|
|
15692
|
-
* @throws {RequiredError}
|
|
15693
|
-
* @memberof DoctorsApi
|
|
15694
|
-
*/
|
|
15695
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete = function (doctorId, hospitalId, options) {
|
|
15696
|
-
var _this = this;
|
|
15697
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15698
|
-
};
|
|
15699
|
-
/**
|
|
15700
|
-
*
|
|
15701
|
-
* @summary Get doctor affiliation.
|
|
15702
|
-
* @param {string} doctorId
|
|
15703
|
-
* @param {string} hospitalId
|
|
15704
|
-
* @param {*} [options] Override http request option.
|
|
15705
|
-
* @throws {RequiredError}
|
|
15706
|
-
* @memberof DoctorsApi
|
|
15707
|
-
*/
|
|
15708
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
|
|
15709
|
-
var _this = this;
|
|
15710
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15711
|
-
};
|
|
15712
|
-
/**
|
|
15713
|
-
*
|
|
15714
|
-
* @param {string} doctorId
|
|
15715
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15716
|
-
* @param {*} [options] Override http request option.
|
|
15717
|
-
* @throws {RequiredError}
|
|
15718
|
-
* @memberof DoctorsApi
|
|
15719
|
-
*/
|
|
15720
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsPost = function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15721
|
-
var _this = this;
|
|
15722
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15723
|
-
};
|
|
15724
15910
|
/**
|
|
15725
15911
|
*
|
|
15726
15912
|
* @summary Delete DoctorCertificate.
|
|
@@ -15882,15 +16068,13 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
15882
16068
|
/**
|
|
15883
16069
|
*
|
|
15884
16070
|
* @param {string} doctorId
|
|
15885
|
-
* @param {string} [languageCode]
|
|
15886
|
-
* @param {boolean} [returnDefaultValue]
|
|
15887
16071
|
* @param {*} [options] Override http request option.
|
|
15888
16072
|
* @throws {RequiredError}
|
|
15889
16073
|
* @memberof DoctorsApi
|
|
15890
16074
|
*/
|
|
15891
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId,
|
|
16075
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, options) {
|
|
15892
16076
|
var _this = this;
|
|
15893
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId,
|
|
16077
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15894
16078
|
};
|
|
15895
16079
|
/**
|
|
15896
16080
|
*
|
|
@@ -16122,6 +16306,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16122
16306
|
* @param {string} [doctorName]
|
|
16123
16307
|
* @param {string} [specialtyId]
|
|
16124
16308
|
* @param {string} [specialtyName]
|
|
16309
|
+
* @param {string} [languageCode]
|
|
16125
16310
|
* @param {number} [page]
|
|
16126
16311
|
* @param {number} [limit]
|
|
16127
16312
|
* @param {Date} [lastRetrieved]
|
|
@@ -16129,9 +16314,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16129
16314
|
* @throws {RequiredError}
|
|
16130
16315
|
* @memberof DoctorsApi
|
|
16131
16316
|
*/
|
|
16132
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
16317
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
16133
16318
|
var _this = this;
|
|
16134
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16319
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16135
16320
|
};
|
|
16136
16321
|
/**
|
|
16137
16322
|
*
|
|
@@ -16190,8 +16375,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16190
16375
|
*
|
|
16191
16376
|
* @summary Get all Doctors.
|
|
16192
16377
|
* @param {string} [hospitalId]
|
|
16193
|
-
* @param {string} [
|
|
16194
|
-
* @param {boolean} [returnDefaultValue]
|
|
16378
|
+
* @param {string} [hospitalName]
|
|
16195
16379
|
* @param {Array<string>} [ids]
|
|
16196
16380
|
* @param {string} [specialtyId]
|
|
16197
16381
|
* @param {boolean} [consultationEnabled]
|
|
@@ -16209,9 +16393,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16209
16393
|
* @throws {RequiredError}
|
|
16210
16394
|
* @memberof DoctorsApi
|
|
16211
16395
|
*/
|
|
16212
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId,
|
|
16396
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
16213
16397
|
var _this = this;
|
|
16214
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId,
|
|
16398
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16215
16399
|
};
|
|
16216
16400
|
/**
|
|
16217
16401
|
*
|
|
@@ -16229,8 +16413,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16229
16413
|
*
|
|
16230
16414
|
* @summary Get all Doctors.
|
|
16231
16415
|
* @param {string} [hospitalId]
|
|
16232
|
-
* @param {string} [
|
|
16233
|
-
* @param {boolean} [returnDefaultValue]
|
|
16416
|
+
* @param {string} [hospitalName]
|
|
16234
16417
|
* @param {Array<string>} [ids]
|
|
16235
16418
|
* @param {string} [specialtyId]
|
|
16236
16419
|
* @param {boolean} [consultationEnabled]
|
|
@@ -16248,22 +16431,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16248
16431
|
* @throws {RequiredError}
|
|
16249
16432
|
* @memberof DoctorsApi
|
|
16250
16433
|
*/
|
|
16251
|
-
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId,
|
|
16252
|
-
var _this = this;
|
|
16253
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(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); });
|
|
16254
|
-
};
|
|
16255
|
-
/**
|
|
16256
|
-
*
|
|
16257
|
-
* @param {string} slug
|
|
16258
|
-
* @param {string} [languageCode]
|
|
16259
|
-
* @param {boolean} [returnDefaultValue]
|
|
16260
|
-
* @param {*} [options] Override http request option.
|
|
16261
|
-
* @throws {RequiredError}
|
|
16262
|
-
* @memberof DoctorsApi
|
|
16263
|
-
*/
|
|
16264
|
-
DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
16434
|
+
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
16265
16435
|
var _this = this;
|
|
16266
|
-
return exports.DoctorsApiFp(this.configuration).
|
|
16436
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16267
16437
|
};
|
|
16268
16438
|
return DoctorsApi;
|
|
16269
16439
|
}(base_1.BaseAPI));
|
|
@@ -19169,7 +19339,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19169
19339
|
* @param {boolean} [showHidden]
|
|
19170
19340
|
* @param {string} [languageCode]
|
|
19171
19341
|
* @param {Array<string>} [ids]
|
|
19172
|
-
* @param {boolean} [returnDefaultValue]
|
|
19173
19342
|
* @param {boolean} [paymentEnabled]
|
|
19174
19343
|
* @param {number} [page]
|
|
19175
19344
|
* @param {number} [limit]
|
|
@@ -19177,7 +19346,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19177
19346
|
* @param {*} [options] Override http request option.
|
|
19178
19347
|
* @throws {RequiredError}
|
|
19179
19348
|
*/
|
|
19180
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
19349
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
19181
19350
|
if (options === void 0) { options = {}; }
|
|
19182
19351
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19183
19352
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19234,9 +19403,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19234
19403
|
if (ids) {
|
|
19235
19404
|
localVarQueryParameter['Ids'] = ids;
|
|
19236
19405
|
}
|
|
19237
|
-
if (returnDefaultValue !== undefined) {
|
|
19238
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19239
|
-
}
|
|
19240
19406
|
if (paymentEnabled !== undefined) {
|
|
19241
19407
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
19242
19408
|
}
|
|
@@ -20988,8 +21154,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20988
21154
|
* @param {string} [name]
|
|
20989
21155
|
* @param {string} [slug]
|
|
20990
21156
|
* @param {MarketingType} [marketingType]
|
|
20991
|
-
* @param {boolean} [returnDefaultValue]
|
|
20992
|
-
* @param {boolean} [includeServices]
|
|
20993
21157
|
* @param {string} [languageCode]
|
|
20994
21158
|
* @param {boolean} [showHidden]
|
|
20995
21159
|
* @param {number} [page]
|
|
@@ -20998,7 +21162,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20998
21162
|
* @param {*} [options] Override http request option.
|
|
20999
21163
|
* @throws {RequiredError}
|
|
21000
21164
|
*/
|
|
21001
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
21165
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
21002
21166
|
if (options === void 0) { options = {}; }
|
|
21003
21167
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21004
21168
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21047,12 +21211,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21047
21211
|
if (marketingType !== undefined) {
|
|
21048
21212
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21049
21213
|
}
|
|
21050
|
-
if (returnDefaultValue !== undefined) {
|
|
21051
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21052
|
-
}
|
|
21053
|
-
if (includeServices !== undefined) {
|
|
21054
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
21055
|
-
}
|
|
21056
21214
|
if (languageCode !== undefined) {
|
|
21057
21215
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21058
21216
|
}
|
|
@@ -21414,8 +21572,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21414
21572
|
* @param {string} [name]
|
|
21415
21573
|
* @param {string} [slug]
|
|
21416
21574
|
* @param {MarketingType} [marketingType]
|
|
21417
|
-
* @param {boolean} [returnDefaultValue]
|
|
21418
|
-
* @param {boolean} [includeServices]
|
|
21419
21575
|
* @param {string} [languageCode]
|
|
21420
21576
|
* @param {boolean} [showHidden]
|
|
21421
21577
|
* @param {number} [page]
|
|
@@ -21424,7 +21580,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21424
21580
|
* @param {*} [options] Override http request option.
|
|
21425
21581
|
* @throws {RequiredError}
|
|
21426
21582
|
*/
|
|
21427
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
21583
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
21428
21584
|
if (options === void 0) { options = {}; }
|
|
21429
21585
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21430
21586
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21473,12 +21629,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21473
21629
|
if (marketingType !== undefined) {
|
|
21474
21630
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21475
21631
|
}
|
|
21476
|
-
if (returnDefaultValue !== undefined) {
|
|
21477
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21478
|
-
}
|
|
21479
|
-
if (includeServices !== undefined) {
|
|
21480
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
21481
|
-
}
|
|
21482
21632
|
if (languageCode !== undefined) {
|
|
21483
21633
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21484
21634
|
}
|
|
@@ -21619,12 +21769,10 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21619
21769
|
* @param {string} hospitalId
|
|
21620
21770
|
* @param {string} specialtyId
|
|
21621
21771
|
* @param {string} [languageCode]
|
|
21622
|
-
* @param {boolean} [returnDefaultValue]
|
|
21623
|
-
* @param {boolean} [includeServices]
|
|
21624
21772
|
* @param {*} [options] Override http request option.
|
|
21625
21773
|
* @throws {RequiredError}
|
|
21626
21774
|
*/
|
|
21627
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
21775
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
21628
21776
|
if (options === void 0) { options = {}; }
|
|
21629
21777
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21630
21778
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21655,12 +21803,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21655
21803
|
if (languageCode !== undefined) {
|
|
21656
21804
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
21657
21805
|
}
|
|
21658
|
-
if (returnDefaultValue !== undefined) {
|
|
21659
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
21660
|
-
}
|
|
21661
|
-
if (includeServices !== undefined) {
|
|
21662
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
21663
|
-
}
|
|
21664
21806
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21665
21807
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21666
21808
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21734,15 +21876,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21734
21876
|
* @param {MarketingType} [marketingType]
|
|
21735
21877
|
* @param {Procedure} [procedure]
|
|
21736
21878
|
* @param {Date} [created]
|
|
21879
|
+
* @param {boolean} [showHidden]
|
|
21737
21880
|
* @param {string} [languageCode]
|
|
21738
|
-
* @param {boolean} [returnDefaultValue]
|
|
21739
21881
|
* @param {number} [page]
|
|
21740
21882
|
* @param {number} [limit]
|
|
21741
21883
|
* @param {Date} [lastRetrieved]
|
|
21742
21884
|
* @param {*} [options] Override http request option.
|
|
21743
21885
|
* @throws {RequiredError}
|
|
21744
21886
|
*/
|
|
21745
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
21887
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
21746
21888
|
if (options === void 0) { options = {}; }
|
|
21747
21889
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21748
21890
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21793,12 +21935,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21793
21935
|
created.toISOString() :
|
|
21794
21936
|
created;
|
|
21795
21937
|
}
|
|
21938
|
+
if (showHidden !== undefined) {
|
|
21939
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
21940
|
+
}
|
|
21796
21941
|
if (languageCode !== undefined) {
|
|
21797
21942
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21798
21943
|
}
|
|
21799
|
-
if (returnDefaultValue !== undefined) {
|
|
21800
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21801
|
-
}
|
|
21802
21944
|
if (page !== undefined) {
|
|
21803
21945
|
localVarQueryParameter['page'] = page;
|
|
21804
21946
|
}
|
|
@@ -22698,7 +22840,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22698
22840
|
* @param {boolean} [showHidden]
|
|
22699
22841
|
* @param {string} [languageCode]
|
|
22700
22842
|
* @param {Array<string>} [ids]
|
|
22701
|
-
* @param {boolean} [returnDefaultValue]
|
|
22702
22843
|
* @param {boolean} [paymentEnabled]
|
|
22703
22844
|
* @param {number} [page]
|
|
22704
22845
|
* @param {number} [limit]
|
|
@@ -22706,7 +22847,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22706
22847
|
* @param {*} [options] Override http request option.
|
|
22707
22848
|
* @throws {RequiredError}
|
|
22708
22849
|
*/
|
|
22709
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
22850
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22710
22851
|
if (options === void 0) { options = {}; }
|
|
22711
22852
|
return __awaiter(_this, void 0, void 0, function () {
|
|
22712
22853
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -22763,9 +22904,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22763
22904
|
if (ids) {
|
|
22764
22905
|
localVarQueryParameter['Ids'] = ids;
|
|
22765
22906
|
}
|
|
22766
|
-
if (returnDefaultValue !== undefined) {
|
|
22767
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
22768
|
-
}
|
|
22769
22907
|
if (paymentEnabled !== undefined) {
|
|
22770
22908
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
22771
22909
|
}
|
|
@@ -22864,7 +23002,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22864
23002
|
* @param {boolean} [showHidden]
|
|
22865
23003
|
* @param {string} [languageCode]
|
|
22866
23004
|
* @param {Array<string>} [ids]
|
|
22867
|
-
* @param {boolean} [returnDefaultValue]
|
|
22868
23005
|
* @param {boolean} [paymentEnabled]
|
|
22869
23006
|
* @param {number} [page]
|
|
22870
23007
|
* @param {number} [limit]
|
|
@@ -22872,12 +23009,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22872
23009
|
* @param {*} [options] Override http request option.
|
|
22873
23010
|
* @throws {RequiredError}
|
|
22874
23011
|
*/
|
|
22875
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
23012
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22876
23013
|
return __awaiter(this, void 0, void 0, function () {
|
|
22877
23014
|
var localVarAxiosArgs;
|
|
22878
23015
|
return __generator(this, function (_a) {
|
|
22879
23016
|
switch (_a.label) {
|
|
22880
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
23017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
22881
23018
|
case 1:
|
|
22882
23019
|
localVarAxiosArgs = _a.sent();
|
|
22883
23020
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23630,8 +23767,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23630
23767
|
* @param {string} [name]
|
|
23631
23768
|
* @param {string} [slug]
|
|
23632
23769
|
* @param {MarketingType} [marketingType]
|
|
23633
|
-
* @param {boolean} [returnDefaultValue]
|
|
23634
|
-
* @param {boolean} [includeServices]
|
|
23635
23770
|
* @param {string} [languageCode]
|
|
23636
23771
|
* @param {boolean} [showHidden]
|
|
23637
23772
|
* @param {number} [page]
|
|
@@ -23640,12 +23775,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23640
23775
|
* @param {*} [options] Override http request option.
|
|
23641
23776
|
* @throws {RequiredError}
|
|
23642
23777
|
*/
|
|
23643
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23778
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
23644
23779
|
return __awaiter(this, void 0, void 0, function () {
|
|
23645
23780
|
var localVarAxiosArgs;
|
|
23646
23781
|
return __generator(this, function (_a) {
|
|
23647
23782
|
switch (_a.label) {
|
|
23648
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23783
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
23649
23784
|
case 1:
|
|
23650
23785
|
localVarAxiosArgs = _a.sent();
|
|
23651
23786
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23801,8 +23936,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23801
23936
|
* @param {string} [name]
|
|
23802
23937
|
* @param {string} [slug]
|
|
23803
23938
|
* @param {MarketingType} [marketingType]
|
|
23804
|
-
* @param {boolean} [returnDefaultValue]
|
|
23805
|
-
* @param {boolean} [includeServices]
|
|
23806
23939
|
* @param {string} [languageCode]
|
|
23807
23940
|
* @param {boolean} [showHidden]
|
|
23808
23941
|
* @param {number} [page]
|
|
@@ -23811,12 +23944,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23811
23944
|
* @param {*} [options] Override http request option.
|
|
23812
23945
|
* @throws {RequiredError}
|
|
23813
23946
|
*/
|
|
23814
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23947
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
23815
23948
|
return __awaiter(this, void 0, void 0, function () {
|
|
23816
23949
|
var localVarAxiosArgs;
|
|
23817
23950
|
return __generator(this, function (_a) {
|
|
23818
23951
|
switch (_a.label) {
|
|
23819
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23952
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
23820
23953
|
case 1:
|
|
23821
23954
|
localVarAxiosArgs = _a.sent();
|
|
23822
23955
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23875,17 +24008,15 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23875
24008
|
* @param {string} hospitalId
|
|
23876
24009
|
* @param {string} specialtyId
|
|
23877
24010
|
* @param {string} [languageCode]
|
|
23878
|
-
* @param {boolean} [returnDefaultValue]
|
|
23879
|
-
* @param {boolean} [includeServices]
|
|
23880
24011
|
* @param {*} [options] Override http request option.
|
|
23881
24012
|
* @throws {RequiredError}
|
|
23882
24013
|
*/
|
|
23883
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
24014
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
23884
24015
|
return __awaiter(this, void 0, void 0, function () {
|
|
23885
24016
|
var localVarAxiosArgs;
|
|
23886
24017
|
return __generator(this, function (_a) {
|
|
23887
24018
|
switch (_a.label) {
|
|
23888
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
24019
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options)];
|
|
23889
24020
|
case 1:
|
|
23890
24021
|
localVarAxiosArgs = _a.sent();
|
|
23891
24022
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23927,20 +24058,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23927
24058
|
* @param {MarketingType} [marketingType]
|
|
23928
24059
|
* @param {Procedure} [procedure]
|
|
23929
24060
|
* @param {Date} [created]
|
|
24061
|
+
* @param {boolean} [showHidden]
|
|
23930
24062
|
* @param {string} [languageCode]
|
|
23931
|
-
* @param {boolean} [returnDefaultValue]
|
|
23932
24063
|
* @param {number} [page]
|
|
23933
24064
|
* @param {number} [limit]
|
|
23934
24065
|
* @param {Date} [lastRetrieved]
|
|
23935
24066
|
* @param {*} [options] Override http request option.
|
|
23936
24067
|
* @throws {RequiredError}
|
|
23937
24068
|
*/
|
|
23938
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
24069
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
23939
24070
|
return __awaiter(this, void 0, void 0, function () {
|
|
23940
24071
|
var localVarAxiosArgs;
|
|
23941
24072
|
return __generator(this, function (_a) {
|
|
23942
24073
|
switch (_a.label) {
|
|
23943
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
24074
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options)];
|
|
23944
24075
|
case 1:
|
|
23945
24076
|
localVarAxiosArgs = _a.sent();
|
|
23946
24077
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24324,7 +24455,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24324
24455
|
* @param {boolean} [showHidden]
|
|
24325
24456
|
* @param {string} [languageCode]
|
|
24326
24457
|
* @param {Array<string>} [ids]
|
|
24327
|
-
* @param {boolean} [returnDefaultValue]
|
|
24328
24458
|
* @param {boolean} [paymentEnabled]
|
|
24329
24459
|
* @param {number} [page]
|
|
24330
24460
|
* @param {number} [limit]
|
|
@@ -24332,12 +24462,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24332
24462
|
* @param {*} [options] Override http request option.
|
|
24333
24463
|
* @throws {RequiredError}
|
|
24334
24464
|
*/
|
|
24335
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24465
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
24336
24466
|
return __awaiter(this, void 0, void 0, function () {
|
|
24337
24467
|
var localVarAxiosArgs;
|
|
24338
24468
|
return __generator(this, function (_a) {
|
|
24339
24469
|
switch (_a.label) {
|
|
24340
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24470
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
24341
24471
|
case 1:
|
|
24342
24472
|
localVarAxiosArgs = _a.sent();
|
|
24343
24473
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24389,7 +24519,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24389
24519
|
* @param {boolean} [showHidden]
|
|
24390
24520
|
* @param {string} [languageCode]
|
|
24391
24521
|
* @param {Array<string>} [ids]
|
|
24392
|
-
* @param {boolean} [returnDefaultValue]
|
|
24393
24522
|
* @param {boolean} [paymentEnabled]
|
|
24394
24523
|
* @param {number} [page]
|
|
24395
24524
|
* @param {number} [limit]
|
|
@@ -24397,8 +24526,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24397
24526
|
* @param {*} [options] Override http request option.
|
|
24398
24527
|
* @throws {RequiredError}
|
|
24399
24528
|
*/
|
|
24400
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24401
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24529
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
24530
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
24402
24531
|
},
|
|
24403
24532
|
/**
|
|
24404
24533
|
*
|
|
@@ -24815,8 +24944,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24815
24944
|
* @param {string} [name]
|
|
24816
24945
|
* @param {string} [slug]
|
|
24817
24946
|
* @param {MarketingType} [marketingType]
|
|
24818
|
-
* @param {boolean} [returnDefaultValue]
|
|
24819
|
-
* @param {boolean} [includeServices]
|
|
24820
24947
|
* @param {string} [languageCode]
|
|
24821
24948
|
* @param {boolean} [showHidden]
|
|
24822
24949
|
* @param {number} [page]
|
|
@@ -24825,8 +24952,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24825
24952
|
* @param {*} [options] Override http request option.
|
|
24826
24953
|
* @throws {RequiredError}
|
|
24827
24954
|
*/
|
|
24828
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24829
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24955
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
24956
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
24830
24957
|
},
|
|
24831
24958
|
/**
|
|
24832
24959
|
*
|
|
@@ -24916,8 +25043,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24916
25043
|
* @param {string} [name]
|
|
24917
25044
|
* @param {string} [slug]
|
|
24918
25045
|
* @param {MarketingType} [marketingType]
|
|
24919
|
-
* @param {boolean} [returnDefaultValue]
|
|
24920
|
-
* @param {boolean} [includeServices]
|
|
24921
25046
|
* @param {string} [languageCode]
|
|
24922
25047
|
* @param {boolean} [showHidden]
|
|
24923
25048
|
* @param {number} [page]
|
|
@@ -24926,8 +25051,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24926
25051
|
* @param {*} [options] Override http request option.
|
|
24927
25052
|
* @throws {RequiredError}
|
|
24928
25053
|
*/
|
|
24929
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24930
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
25054
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25055
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
24931
25056
|
},
|
|
24932
25057
|
/**
|
|
24933
25058
|
*
|
|
@@ -24960,13 +25085,11 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24960
25085
|
* @param {string} hospitalId
|
|
24961
25086
|
* @param {string} specialtyId
|
|
24962
25087
|
* @param {string} [languageCode]
|
|
24963
|
-
* @param {boolean} [returnDefaultValue]
|
|
24964
|
-
* @param {boolean} [includeServices]
|
|
24965
25088
|
* @param {*} [options] Override http request option.
|
|
24966
25089
|
* @throws {RequiredError}
|
|
24967
25090
|
*/
|
|
24968
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
24969
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
25091
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
25092
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
24970
25093
|
},
|
|
24971
25094
|
/**
|
|
24972
25095
|
*
|
|
@@ -24992,16 +25115,16 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24992
25115
|
* @param {MarketingType} [marketingType]
|
|
24993
25116
|
* @param {Procedure} [procedure]
|
|
24994
25117
|
* @param {Date} [created]
|
|
25118
|
+
* @param {boolean} [showHidden]
|
|
24995
25119
|
* @param {string} [languageCode]
|
|
24996
|
-
* @param {boolean} [returnDefaultValue]
|
|
24997
25120
|
* @param {number} [page]
|
|
24998
25121
|
* @param {number} [limit]
|
|
24999
25122
|
* @param {Date} [lastRetrieved]
|
|
25000
25123
|
* @param {*} [options] Override http request option.
|
|
25001
25124
|
* @throws {RequiredError}
|
|
25002
25125
|
*/
|
|
25003
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
25004
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
25126
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
25127
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
25005
25128
|
},
|
|
25006
25129
|
/**
|
|
25007
25130
|
*
|
|
@@ -25219,7 +25342,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25219
25342
|
* @param {boolean} [showHidden]
|
|
25220
25343
|
* @param {string} [languageCode]
|
|
25221
25344
|
* @param {Array<string>} [ids]
|
|
25222
|
-
* @param {boolean} [returnDefaultValue]
|
|
25223
25345
|
* @param {boolean} [paymentEnabled]
|
|
25224
25346
|
* @param {number} [page]
|
|
25225
25347
|
* @param {number} [limit]
|
|
@@ -25227,8 +25349,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25227
25349
|
* @param {*} [options] Override http request option.
|
|
25228
25350
|
* @throws {RequiredError}
|
|
25229
25351
|
*/
|
|
25230
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25231
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25352
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
25353
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
25232
25354
|
},
|
|
25233
25355
|
/**
|
|
25234
25356
|
*
|
|
@@ -25268,7 +25390,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25268
25390
|
* @param {boolean} [showHidden]
|
|
25269
25391
|
* @param {string} [languageCode]
|
|
25270
25392
|
* @param {Array<string>} [ids]
|
|
25271
|
-
* @param {boolean} [returnDefaultValue]
|
|
25272
25393
|
* @param {boolean} [paymentEnabled]
|
|
25273
25394
|
* @param {number} [page]
|
|
25274
25395
|
* @param {number} [limit]
|
|
@@ -25277,9 +25398,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25277
25398
|
* @throws {RequiredError}
|
|
25278
25399
|
* @memberof HospitalsApi
|
|
25279
25400
|
*/
|
|
25280
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25401
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
25281
25402
|
var _this = this;
|
|
25282
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25403
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25283
25404
|
};
|
|
25284
25405
|
/**
|
|
25285
25406
|
*
|
|
@@ -25762,8 +25883,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25762
25883
|
* @param {string} [name]
|
|
25763
25884
|
* @param {string} [slug]
|
|
25764
25885
|
* @param {MarketingType} [marketingType]
|
|
25765
|
-
* @param {boolean} [returnDefaultValue]
|
|
25766
|
-
* @param {boolean} [includeServices]
|
|
25767
25886
|
* @param {string} [languageCode]
|
|
25768
25887
|
* @param {boolean} [showHidden]
|
|
25769
25888
|
* @param {number} [page]
|
|
@@ -25773,9 +25892,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25773
25892
|
* @throws {RequiredError}
|
|
25774
25893
|
* @memberof HospitalsApi
|
|
25775
25894
|
*/
|
|
25776
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
25895
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25777
25896
|
var _this = this;
|
|
25778
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
25897
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25779
25898
|
};
|
|
25780
25899
|
/**
|
|
25781
25900
|
*
|
|
@@ -25877,8 +25996,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25877
25996
|
* @param {string} [name]
|
|
25878
25997
|
* @param {string} [slug]
|
|
25879
25998
|
* @param {MarketingType} [marketingType]
|
|
25880
|
-
* @param {boolean} [returnDefaultValue]
|
|
25881
|
-
* @param {boolean} [includeServices]
|
|
25882
25999
|
* @param {string} [languageCode]
|
|
25883
26000
|
* @param {boolean} [showHidden]
|
|
25884
26001
|
* @param {number} [page]
|
|
@@ -25888,9 +26005,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25888
26005
|
* @throws {RequiredError}
|
|
25889
26006
|
* @memberof HospitalsApi
|
|
25890
26007
|
*/
|
|
25891
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26008
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25892
26009
|
var _this = this;
|
|
25893
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26010
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25894
26011
|
};
|
|
25895
26012
|
/**
|
|
25896
26013
|
*
|
|
@@ -25927,15 +26044,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25927
26044
|
* @param {string} hospitalId
|
|
25928
26045
|
* @param {string} specialtyId
|
|
25929
26046
|
* @param {string} [languageCode]
|
|
25930
|
-
* @param {boolean} [returnDefaultValue]
|
|
25931
|
-
* @param {boolean} [includeServices]
|
|
25932
26047
|
* @param {*} [options] Override http request option.
|
|
25933
26048
|
* @throws {RequiredError}
|
|
25934
26049
|
* @memberof HospitalsApi
|
|
25935
26050
|
*/
|
|
25936
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode,
|
|
26051
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, options) {
|
|
25937
26052
|
var _this = this;
|
|
25938
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
26053
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25939
26054
|
};
|
|
25940
26055
|
/**
|
|
25941
26056
|
*
|
|
@@ -25963,8 +26078,8 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25963
26078
|
* @param {MarketingType} [marketingType]
|
|
25964
26079
|
* @param {Procedure} [procedure]
|
|
25965
26080
|
* @param {Date} [created]
|
|
26081
|
+
* @param {boolean} [showHidden]
|
|
25966
26082
|
* @param {string} [languageCode]
|
|
25967
|
-
* @param {boolean} [returnDefaultValue]
|
|
25968
26083
|
* @param {number} [page]
|
|
25969
26084
|
* @param {number} [limit]
|
|
25970
26085
|
* @param {Date} [lastRetrieved]
|
|
@@ -25972,9 +26087,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25972
26087
|
* @throws {RequiredError}
|
|
25973
26088
|
* @memberof HospitalsApi
|
|
25974
26089
|
*/
|
|
25975
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
26090
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
25976
26091
|
var _this = this;
|
|
25977
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
26092
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25978
26093
|
};
|
|
25979
26094
|
/**
|
|
25980
26095
|
*
|
|
@@ -26224,7 +26339,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26224
26339
|
* @param {boolean} [showHidden]
|
|
26225
26340
|
* @param {string} [languageCode]
|
|
26226
26341
|
* @param {Array<string>} [ids]
|
|
26227
|
-
* @param {boolean} [returnDefaultValue]
|
|
26228
26342
|
* @param {boolean} [paymentEnabled]
|
|
26229
26343
|
* @param {number} [page]
|
|
26230
26344
|
* @param {number} [limit]
|
|
@@ -26233,9 +26347,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26233
26347
|
* @throws {RequiredError}
|
|
26234
26348
|
* @memberof HospitalsApi
|
|
26235
26349
|
*/
|
|
26236
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
26350
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
26237
26351
|
var _this = this;
|
|
26238
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
26352
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26239
26353
|
};
|
|
26240
26354
|
/**
|
|
26241
26355
|
*
|
|
@@ -27063,14 +27177,16 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
27063
27177
|
*
|
|
27064
27178
|
* @summary Get all manager affiliations.
|
|
27065
27179
|
* @param {string} managerId
|
|
27180
|
+
* @param {string} [hospitalId]
|
|
27066
27181
|
* @param {string} [hospitalName]
|
|
27182
|
+
* @param {string} [languageCode]
|
|
27067
27183
|
* @param {number} [page]
|
|
27068
27184
|
* @param {number} [limit]
|
|
27069
27185
|
* @param {Date} [lastRetrieved]
|
|
27070
27186
|
* @param {*} [options] Override http request option.
|
|
27071
27187
|
* @throws {RequiredError}
|
|
27072
27188
|
*/
|
|
27073
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27189
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27074
27190
|
if (options === void 0) { options = {}; }
|
|
27075
27191
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27076
27192
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27095,9 +27211,15 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
27095
27211
|
// authentication oauth2 required
|
|
27096
27212
|
// oauth required
|
|
27097
27213
|
_a.sent();
|
|
27214
|
+
if (hospitalId !== undefined) {
|
|
27215
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27216
|
+
}
|
|
27098
27217
|
if (hospitalName !== undefined) {
|
|
27099
27218
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
27100
27219
|
}
|
|
27220
|
+
if (languageCode !== undefined) {
|
|
27221
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
27222
|
+
}
|
|
27101
27223
|
if (page !== undefined) {
|
|
27102
27224
|
localVarQueryParameter['page'] = page;
|
|
27103
27225
|
}
|
|
@@ -27476,19 +27598,21 @@ exports.ManagersApiFp = function (configuration) {
|
|
|
27476
27598
|
*
|
|
27477
27599
|
* @summary Get all manager affiliations.
|
|
27478
27600
|
* @param {string} managerId
|
|
27601
|
+
* @param {string} [hospitalId]
|
|
27479
27602
|
* @param {string} [hospitalName]
|
|
27603
|
+
* @param {string} [languageCode]
|
|
27480
27604
|
* @param {number} [page]
|
|
27481
27605
|
* @param {number} [limit]
|
|
27482
27606
|
* @param {Date} [lastRetrieved]
|
|
27483
27607
|
* @param {*} [options] Override http request option.
|
|
27484
27608
|
* @throws {RequiredError}
|
|
27485
27609
|
*/
|
|
27486
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27610
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27487
27611
|
return __awaiter(this, void 0, void 0, function () {
|
|
27488
27612
|
var localVarAxiosArgs;
|
|
27489
27613
|
return __generator(this, function (_a) {
|
|
27490
27614
|
switch (_a.label) {
|
|
27491
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options)];
|
|
27615
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
|
|
27492
27616
|
case 1:
|
|
27493
27617
|
localVarAxiosArgs = _a.sent();
|
|
27494
27618
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27672,15 +27796,17 @@ exports.ManagersApiFactory = function (configuration, basePath, axios) {
|
|
|
27672
27796
|
*
|
|
27673
27797
|
* @summary Get all manager affiliations.
|
|
27674
27798
|
* @param {string} managerId
|
|
27799
|
+
* @param {string} [hospitalId]
|
|
27675
27800
|
* @param {string} [hospitalName]
|
|
27801
|
+
* @param {string} [languageCode]
|
|
27676
27802
|
* @param {number} [page]
|
|
27677
27803
|
* @param {number} [limit]
|
|
27678
27804
|
* @param {Date} [lastRetrieved]
|
|
27679
27805
|
* @param {*} [options] Override http request option.
|
|
27680
27806
|
* @throws {RequiredError}
|
|
27681
27807
|
*/
|
|
27682
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27683
|
-
return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27808
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27809
|
+
return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27684
27810
|
},
|
|
27685
27811
|
/**
|
|
27686
27812
|
*
|
|
@@ -27794,7 +27920,9 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
27794
27920
|
*
|
|
27795
27921
|
* @summary Get all manager affiliations.
|
|
27796
27922
|
* @param {string} managerId
|
|
27923
|
+
* @param {string} [hospitalId]
|
|
27797
27924
|
* @param {string} [hospitalName]
|
|
27925
|
+
* @param {string} [languageCode]
|
|
27798
27926
|
* @param {number} [page]
|
|
27799
27927
|
* @param {number} [limit]
|
|
27800
27928
|
* @param {Date} [lastRetrieved]
|
|
@@ -27802,9 +27930,9 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
27802
27930
|
* @throws {RequiredError}
|
|
27803
27931
|
* @memberof ManagersApi
|
|
27804
27932
|
*/
|
|
27805
|
-
ManagersApi.prototype.apiV1ManagersManagerIdAffiliationsGet = function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27933
|
+
ManagersApi.prototype.apiV1ManagersManagerIdAffiliationsGet = function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27806
27934
|
var _this = this;
|
|
27807
|
-
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27935
|
+
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27808
27936
|
};
|
|
27809
27937
|
/**
|
|
27810
27938
|
*
|
|
@@ -30991,13 +31119,14 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
30991
31119
|
* @param {number} [rate]
|
|
30992
31120
|
* @param {ReviewType} [reviewType]
|
|
30993
31121
|
* @param {string} [languageCode]
|
|
31122
|
+
* @param {boolean} [showHidden]
|
|
30994
31123
|
* @param {number} [page]
|
|
30995
31124
|
* @param {number} [limit]
|
|
30996
31125
|
* @param {Date} [lastRetrieved]
|
|
30997
31126
|
* @param {*} [options] Override http request option.
|
|
30998
31127
|
* @throws {RequiredError}
|
|
30999
31128
|
*/
|
|
31000
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
|
|
31129
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31001
31130
|
if (options === void 0) { options = {}; }
|
|
31002
31131
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31003
31132
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31046,6 +31175,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31046
31175
|
if (languageCode !== undefined) {
|
|
31047
31176
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
31048
31177
|
}
|
|
31178
|
+
if (showHidden !== undefined) {
|
|
31179
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
31180
|
+
}
|
|
31049
31181
|
if (page !== undefined) {
|
|
31050
31182
|
localVarQueryParameter['page'] = page;
|
|
31051
31183
|
}
|
|
@@ -31517,18 +31649,19 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31517
31649
|
* @param {number} [rate]
|
|
31518
31650
|
* @param {ReviewType} [reviewType]
|
|
31519
31651
|
* @param {string} [languageCode]
|
|
31652
|
+
* @param {boolean} [showHidden]
|
|
31520
31653
|
* @param {number} [page]
|
|
31521
31654
|
* @param {number} [limit]
|
|
31522
31655
|
* @param {Date} [lastRetrieved]
|
|
31523
31656
|
* @param {*} [options] Override http request option.
|
|
31524
31657
|
* @throws {RequiredError}
|
|
31525
31658
|
*/
|
|
31526
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
|
|
31659
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31527
31660
|
return __awaiter(this, void 0, void 0, function () {
|
|
31528
31661
|
var localVarAxiosArgs;
|
|
31529
31662
|
return __generator(this, function (_a) {
|
|
31530
31663
|
switch (_a.label) {
|
|
31531
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options)];
|
|
31664
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31532
31665
|
case 1:
|
|
31533
31666
|
localVarAxiosArgs = _a.sent();
|
|
31534
31667
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -31747,14 +31880,15 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
31747
31880
|
* @param {number} [rate]
|
|
31748
31881
|
* @param {ReviewType} [reviewType]
|
|
31749
31882
|
* @param {string} [languageCode]
|
|
31883
|
+
* @param {boolean} [showHidden]
|
|
31750
31884
|
* @param {number} [page]
|
|
31751
31885
|
* @param {number} [limit]
|
|
31752
31886
|
* @param {Date} [lastRetrieved]
|
|
31753
31887
|
* @param {*} [options] Override http request option.
|
|
31754
31888
|
* @throws {RequiredError}
|
|
31755
31889
|
*/
|
|
31756
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
|
|
31757
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
31890
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31891
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
31758
31892
|
},
|
|
31759
31893
|
/**
|
|
31760
31894
|
*
|
|
@@ -31881,6 +32015,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
31881
32015
|
* @param {number} [rate]
|
|
31882
32016
|
* @param {ReviewType} [reviewType]
|
|
31883
32017
|
* @param {string} [languageCode]
|
|
32018
|
+
* @param {boolean} [showHidden]
|
|
31884
32019
|
* @param {number} [page]
|
|
31885
32020
|
* @param {number} [limit]
|
|
31886
32021
|
* @param {Date} [lastRetrieved]
|
|
@@ -31888,9 +32023,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
31888
32023
|
* @throws {RequiredError}
|
|
31889
32024
|
* @memberof ServiceReviewsApi
|
|
31890
32025
|
*/
|
|
31891
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
|
|
32026
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31892
32027
|
var _this = this;
|
|
31893
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32028
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31894
32029
|
};
|
|
31895
32030
|
/**
|
|
31896
32031
|
*
|
|
@@ -32037,15 +32172,15 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
32037
32172
|
* @param {MarketingType} [marketingType]
|
|
32038
32173
|
* @param {Procedure} [procedure]
|
|
32039
32174
|
* @param {Date} [created]
|
|
32175
|
+
* @param {boolean} [showHidden]
|
|
32040
32176
|
* @param {string} [languageCode]
|
|
32041
|
-
* @param {boolean} [returnDefaultValue]
|
|
32042
32177
|
* @param {number} [page]
|
|
32043
32178
|
* @param {number} [limit]
|
|
32044
32179
|
* @param {Date} [lastRetrieved]
|
|
32045
32180
|
* @param {*} [options] Override http request option.
|
|
32046
32181
|
* @throws {RequiredError}
|
|
32047
32182
|
*/
|
|
32048
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32183
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32049
32184
|
if (options === void 0) { options = {}; }
|
|
32050
32185
|
return __awaiter(_this, void 0, void 0, function () {
|
|
32051
32186
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -32111,12 +32246,12 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
32111
32246
|
created.toISOString() :
|
|
32112
32247
|
created;
|
|
32113
32248
|
}
|
|
32249
|
+
if (showHidden !== undefined) {
|
|
32250
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
32251
|
+
}
|
|
32114
32252
|
if (languageCode !== undefined) {
|
|
32115
32253
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
32116
32254
|
}
|
|
32117
|
-
if (returnDefaultValue !== undefined) {
|
|
32118
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
32119
|
-
}
|
|
32120
32255
|
if (page !== undefined) {
|
|
32121
32256
|
localVarQueryParameter['page'] = page;
|
|
32122
32257
|
}
|
|
@@ -32265,20 +32400,20 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
32265
32400
|
* @param {MarketingType} [marketingType]
|
|
32266
32401
|
* @param {Procedure} [procedure]
|
|
32267
32402
|
* @param {Date} [created]
|
|
32403
|
+
* @param {boolean} [showHidden]
|
|
32268
32404
|
* @param {string} [languageCode]
|
|
32269
|
-
* @param {boolean} [returnDefaultValue]
|
|
32270
32405
|
* @param {number} [page]
|
|
32271
32406
|
* @param {number} [limit]
|
|
32272
32407
|
* @param {Date} [lastRetrieved]
|
|
32273
32408
|
* @param {*} [options] Override http request option.
|
|
32274
32409
|
* @throws {RequiredError}
|
|
32275
32410
|
*/
|
|
32276
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32411
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32277
32412
|
return __awaiter(this, void 0, void 0, function () {
|
|
32278
32413
|
var localVarAxiosArgs;
|
|
32279
32414
|
return __generator(this, function (_a) {
|
|
32280
32415
|
switch (_a.label) {
|
|
32281
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32416
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options)];
|
|
32282
32417
|
case 1:
|
|
32283
32418
|
localVarAxiosArgs = _a.sent();
|
|
32284
32419
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32354,16 +32489,16 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
32354
32489
|
* @param {MarketingType} [marketingType]
|
|
32355
32490
|
* @param {Procedure} [procedure]
|
|
32356
32491
|
* @param {Date} [created]
|
|
32492
|
+
* @param {boolean} [showHidden]
|
|
32357
32493
|
* @param {string} [languageCode]
|
|
32358
|
-
* @param {boolean} [returnDefaultValue]
|
|
32359
32494
|
* @param {number} [page]
|
|
32360
32495
|
* @param {number} [limit]
|
|
32361
32496
|
* @param {Date} [lastRetrieved]
|
|
32362
32497
|
* @param {*} [options] Override http request option.
|
|
32363
32498
|
* @throws {RequiredError}
|
|
32364
32499
|
*/
|
|
32365
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32366
|
-
return localVarFp.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32500
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32501
|
+
return localVarFp.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32367
32502
|
},
|
|
32368
32503
|
/**
|
|
32369
32504
|
*
|
|
@@ -32417,8 +32552,8 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
32417
32552
|
* @param {MarketingType} [marketingType]
|
|
32418
32553
|
* @param {Procedure} [procedure]
|
|
32419
32554
|
* @param {Date} [created]
|
|
32555
|
+
* @param {boolean} [showHidden]
|
|
32420
32556
|
* @param {string} [languageCode]
|
|
32421
|
-
* @param {boolean} [returnDefaultValue]
|
|
32422
32557
|
* @param {number} [page]
|
|
32423
32558
|
* @param {number} [limit]
|
|
32424
32559
|
* @param {Date} [lastRetrieved]
|
|
@@ -32426,9 +32561,9 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
32426
32561
|
* @throws {RequiredError}
|
|
32427
32562
|
* @memberof ServicesApi
|
|
32428
32563
|
*/
|
|
32429
|
-
ServicesApi.prototype.apiV1ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32564
|
+
ServicesApi.prototype.apiV1ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32430
32565
|
var _this = this;
|
|
32431
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32566
|
+
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32432
32567
|
};
|
|
32433
32568
|
/**
|
|
32434
32569
|
*
|