ch-admin-api-client-typescript 3.3.6 → 3.4.3
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 +1708 -1744
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +816 -565
- package/package.json +1 -1
- package/src/api.ts +2037 -1948
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) {
|
|
@@ -13632,13 +14104,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13632
14104
|
* @param {string} [doctorName]
|
|
13633
14105
|
* @param {string} [specialtyId]
|
|
13634
14106
|
* @param {string} [specialtyName]
|
|
14107
|
+
* @param {string} [languageCode]
|
|
13635
14108
|
* @param {number} [page]
|
|
13636
14109
|
* @param {number} [limit]
|
|
13637
14110
|
* @param {Date} [lastRetrieved]
|
|
13638
14111
|
* @param {*} [options] Override http request option.
|
|
13639
14112
|
* @throws {RequiredError}
|
|
13640
14113
|
*/
|
|
13641
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
14114
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
13642
14115
|
if (options === void 0) { options = {}; }
|
|
13643
14116
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13644
14117
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13672,6 +14145,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13672
14145
|
if (specialtyName !== undefined) {
|
|
13673
14146
|
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
13674
14147
|
}
|
|
14148
|
+
if (languageCode !== undefined) {
|
|
14149
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14150
|
+
}
|
|
13675
14151
|
if (page !== undefined) {
|
|
13676
14152
|
localVarQueryParameter['page'] = page;
|
|
13677
14153
|
}
|
|
@@ -13888,7 +14364,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13888
14364
|
*
|
|
13889
14365
|
* @summary Get all Doctors.
|
|
13890
14366
|
* @param {string} [hospitalId]
|
|
13891
|
-
* @param {string} [hospitalName]
|
|
13892
14367
|
* @param {string} [languageCode]
|
|
13893
14368
|
* @param {boolean} [returnDefaultValue]
|
|
13894
14369
|
* @param {Array<string>} [ids]
|
|
@@ -13907,7 +14382,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13907
14382
|
* @param {*} [options] Override http request option.
|
|
13908
14383
|
* @throws {RequiredError}
|
|
13909
14384
|
*/
|
|
13910
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
14385
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13911
14386
|
if (options === void 0) { options = {}; }
|
|
13912
14387
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13913
14388
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13932,9 +14407,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
13932
14407
|
if (hospitalId !== undefined) {
|
|
13933
14408
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
13934
14409
|
}
|
|
13935
|
-
if (hospitalName !== undefined) {
|
|
13936
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
13937
|
-
}
|
|
13938
14410
|
if (languageCode !== undefined) {
|
|
13939
14411
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13940
14412
|
}
|
|
@@ -14043,7 +14515,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14043
14515
|
*
|
|
14044
14516
|
* @summary Get all Doctors.
|
|
14045
14517
|
* @param {string} [hospitalId]
|
|
14046
|
-
* @param {string} [hospitalName]
|
|
14047
14518
|
* @param {string} [languageCode]
|
|
14048
14519
|
* @param {boolean} [returnDefaultValue]
|
|
14049
14520
|
* @param {Array<string>} [ids]
|
|
@@ -14062,7 +14533,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14062
14533
|
* @param {*} [options] Override http request option.
|
|
14063
14534
|
* @throws {RequiredError}
|
|
14064
14535
|
*/
|
|
14065
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
14536
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14066
14537
|
if (options === void 0) { options = {}; }
|
|
14067
14538
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14068
14539
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14087,9 +14558,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14087
14558
|
if (hospitalId !== undefined) {
|
|
14088
14559
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
14089
14560
|
}
|
|
14090
|
-
if (hospitalName !== undefined) {
|
|
14091
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14092
|
-
}
|
|
14093
14561
|
if (languageCode !== undefined) {
|
|
14094
14562
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14095
14563
|
}
|
|
@@ -14154,149 +14622,63 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14154
14622
|
},
|
|
14155
14623
|
/**
|
|
14156
14624
|
*
|
|
14157
|
-
* @param {string} slug
|
|
14158
|
-
* @param {string} [languageCode]
|
|
14159
|
-
* @param {boolean} [returnDefaultValue]
|
|
14160
|
-
* @param {*} [options] Override http request option.
|
|
14161
|
-
* @throws {RequiredError}
|
|
14162
|
-
*/
|
|
14163
|
-
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
14164
|
-
if (options === void 0) { options = {}; }
|
|
14165
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
14166
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14167
|
-
return __generator(this, function (_a) {
|
|
14168
|
-
switch (_a.label) {
|
|
14169
|
-
case 0:
|
|
14170
|
-
// verify required parameter 'slug' is not null or undefined
|
|
14171
|
-
common_1.assertParamExists('apiV1DoctorsSlugGet', 'slug', slug);
|
|
14172
|
-
localVarPath = "/api/v1/doctors/{slug}"
|
|
14173
|
-
.replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
|
|
14174
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14175
|
-
if (configuration) {
|
|
14176
|
-
baseOptions = configuration.baseOptions;
|
|
14177
|
-
}
|
|
14178
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14179
|
-
localVarHeaderParameter = {};
|
|
14180
|
-
localVarQueryParameter = {};
|
|
14181
|
-
// authentication oauth2 required
|
|
14182
|
-
// oauth required
|
|
14183
|
-
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14184
|
-
case 1:
|
|
14185
|
-
// authentication oauth2 required
|
|
14186
|
-
// oauth required
|
|
14187
|
-
_a.sent();
|
|
14188
|
-
if (languageCode !== undefined) {
|
|
14189
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
14190
|
-
}
|
|
14191
|
-
if (returnDefaultValue !== undefined) {
|
|
14192
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
14193
|
-
}
|
|
14194
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14195
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14196
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14197
|
-
return [2 /*return*/, {
|
|
14198
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
14199
|
-
options: localVarRequestOptions,
|
|
14200
|
-
}];
|
|
14201
|
-
}
|
|
14202
|
-
});
|
|
14203
|
-
});
|
|
14204
|
-
},
|
|
14205
|
-
};
|
|
14206
|
-
};
|
|
14207
|
-
/**
|
|
14208
|
-
* DoctorsApi - functional programming interface
|
|
14209
|
-
* @export
|
|
14210
|
-
*/
|
|
14211
|
-
exports.DoctorsApiFp = function (configuration) {
|
|
14212
|
-
var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
|
|
14213
|
-
return {
|
|
14214
|
-
/**
|
|
14215
|
-
*
|
|
14216
|
-
* @summary Get all doctor affiliations.
|
|
14217
|
-
* @param {string} doctorId
|
|
14218
|
-
* @param {string} [hospitalName]
|
|
14219
|
-
* @param {number} [page]
|
|
14220
|
-
* @param {number} [limit]
|
|
14221
|
-
* @param {Date} [lastRetrieved]
|
|
14222
|
-
* @param {*} [options] Override http request option.
|
|
14223
|
-
* @throws {RequiredError}
|
|
14224
|
-
*/
|
|
14225
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
14226
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14227
|
-
var localVarAxiosArgs;
|
|
14228
|
-
return __generator(this, function (_a) {
|
|
14229
|
-
switch (_a.label) {
|
|
14230
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
|
|
14231
|
-
case 1:
|
|
14232
|
-
localVarAxiosArgs = _a.sent();
|
|
14233
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14234
|
-
}
|
|
14235
|
-
});
|
|
14236
|
-
});
|
|
14237
|
-
},
|
|
14238
|
-
/**
|
|
14239
|
-
*
|
|
14240
|
-
* @summary Delete doctor affiliation.
|
|
14241
|
-
* @param {string} doctorId
|
|
14242
|
-
* @param {string} hospitalId
|
|
14243
|
-
* @param {*} [options] Override http request option.
|
|
14244
|
-
* @throws {RequiredError}
|
|
14245
|
-
*/
|
|
14246
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
14247
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14248
|
-
var localVarAxiosArgs;
|
|
14249
|
-
return __generator(this, function (_a) {
|
|
14250
|
-
switch (_a.label) {
|
|
14251
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options)];
|
|
14252
|
-
case 1:
|
|
14253
|
-
localVarAxiosArgs = _a.sent();
|
|
14254
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14255
|
-
}
|
|
14256
|
-
});
|
|
14257
|
-
});
|
|
14258
|
-
},
|
|
14259
|
-
/**
|
|
14260
|
-
*
|
|
14261
|
-
* @summary Get doctor affiliation.
|
|
14262
|
-
* @param {string} doctorId
|
|
14263
|
-
* @param {string} hospitalId
|
|
14264
|
-
* @param {*} [options] Override http request option.
|
|
14265
|
-
* @throws {RequiredError}
|
|
14266
|
-
*/
|
|
14267
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
14268
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14269
|
-
var localVarAxiosArgs;
|
|
14270
|
-
return __generator(this, function (_a) {
|
|
14271
|
-
switch (_a.label) {
|
|
14272
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
|
|
14273
|
-
case 1:
|
|
14274
|
-
localVarAxiosArgs = _a.sent();
|
|
14275
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14276
|
-
}
|
|
14277
|
-
});
|
|
14278
|
-
});
|
|
14279
|
-
},
|
|
14280
|
-
/**
|
|
14281
|
-
*
|
|
14282
|
-
* @param {string} doctorId
|
|
14283
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
14625
|
+
* @param {string} slug
|
|
14626
|
+
* @param {string} [languageCode]
|
|
14627
|
+
* @param {boolean} [returnDefaultValue]
|
|
14284
14628
|
* @param {*} [options] Override http request option.
|
|
14285
14629
|
* @throws {RequiredError}
|
|
14286
14630
|
*/
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14631
|
+
apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
14632
|
+
if (options === void 0) { options = {}; }
|
|
14633
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
14634
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
14290
14635
|
return __generator(this, function (_a) {
|
|
14291
14636
|
switch (_a.label) {
|
|
14292
|
-
case 0:
|
|
14637
|
+
case 0:
|
|
14638
|
+
// verify required parameter 'slug' is not null or undefined
|
|
14639
|
+
common_1.assertParamExists('apiV1DoctorsSlugGet', 'slug', slug);
|
|
14640
|
+
localVarPath = "/api/v1/doctors/{slug}"
|
|
14641
|
+
.replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
|
|
14642
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14643
|
+
if (configuration) {
|
|
14644
|
+
baseOptions = configuration.baseOptions;
|
|
14645
|
+
}
|
|
14646
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
14647
|
+
localVarHeaderParameter = {};
|
|
14648
|
+
localVarQueryParameter = {};
|
|
14649
|
+
// authentication oauth2 required
|
|
14650
|
+
// oauth required
|
|
14651
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
14293
14652
|
case 1:
|
|
14294
|
-
|
|
14295
|
-
|
|
14653
|
+
// authentication oauth2 required
|
|
14654
|
+
// oauth required
|
|
14655
|
+
_a.sent();
|
|
14656
|
+
if (languageCode !== undefined) {
|
|
14657
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14658
|
+
}
|
|
14659
|
+
if (returnDefaultValue !== undefined) {
|
|
14660
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
14661
|
+
}
|
|
14662
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14663
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14664
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14665
|
+
return [2 /*return*/, {
|
|
14666
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
14667
|
+
options: localVarRequestOptions,
|
|
14668
|
+
}];
|
|
14296
14669
|
}
|
|
14297
14670
|
});
|
|
14298
14671
|
});
|
|
14299
14672
|
},
|
|
14673
|
+
};
|
|
14674
|
+
};
|
|
14675
|
+
/**
|
|
14676
|
+
* DoctorsApi - functional programming interface
|
|
14677
|
+
* @export
|
|
14678
|
+
*/
|
|
14679
|
+
exports.DoctorsApiFp = function (configuration) {
|
|
14680
|
+
var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
|
|
14681
|
+
return {
|
|
14300
14682
|
/**
|
|
14301
14683
|
*
|
|
14302
14684
|
* @summary Delete DoctorCertificate.
|
|
@@ -14922,18 +15304,19 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
14922
15304
|
* @param {string} [doctorName]
|
|
14923
15305
|
* @param {string} [specialtyId]
|
|
14924
15306
|
* @param {string} [specialtyName]
|
|
15307
|
+
* @param {string} [languageCode]
|
|
14925
15308
|
* @param {number} [page]
|
|
14926
15309
|
* @param {number} [limit]
|
|
14927
15310
|
* @param {Date} [lastRetrieved]
|
|
14928
15311
|
* @param {*} [options] Override http request option.
|
|
14929
15312
|
* @throws {RequiredError}
|
|
14930
15313
|
*/
|
|
14931
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
15314
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
14932
15315
|
return __awaiter(this, void 0, void 0, function () {
|
|
14933
15316
|
var localVarAxiosArgs;
|
|
14934
15317
|
return __generator(this, function (_a) {
|
|
14935
15318
|
switch (_a.label) {
|
|
14936
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options)];
|
|
15319
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options)];
|
|
14937
15320
|
case 1:
|
|
14938
15321
|
localVarAxiosArgs = _a.sent();
|
|
14939
15322
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15030,7 +15413,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15030
15413
|
*
|
|
15031
15414
|
* @summary Get all Doctors.
|
|
15032
15415
|
* @param {string} [hospitalId]
|
|
15033
|
-
* @param {string} [hospitalName]
|
|
15034
15416
|
* @param {string} [languageCode]
|
|
15035
15417
|
* @param {boolean} [returnDefaultValue]
|
|
15036
15418
|
* @param {Array<string>} [ids]
|
|
@@ -15049,12 +15431,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15049
15431
|
* @param {*} [options] Override http request option.
|
|
15050
15432
|
* @throws {RequiredError}
|
|
15051
15433
|
*/
|
|
15052
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
15434
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15053
15435
|
return __awaiter(this, void 0, void 0, function () {
|
|
15054
15436
|
var localVarAxiosArgs;
|
|
15055
15437
|
return __generator(this, function (_a) {
|
|
15056
15438
|
switch (_a.label) {
|
|
15057
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId,
|
|
15439
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
15058
15440
|
case 1:
|
|
15059
15441
|
localVarAxiosArgs = _a.sent();
|
|
15060
15442
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15086,7 +15468,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15086
15468
|
*
|
|
15087
15469
|
* @summary Get all Doctors.
|
|
15088
15470
|
* @param {string} [hospitalId]
|
|
15089
|
-
* @param {string} [hospitalName]
|
|
15090
15471
|
* @param {string} [languageCode]
|
|
15091
15472
|
* @param {boolean} [returnDefaultValue]
|
|
15092
15473
|
* @param {Array<string>} [ids]
|
|
@@ -15105,12 +15486,12 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15105
15486
|
* @param {*} [options] Override http request option.
|
|
15106
15487
|
* @throws {RequiredError}
|
|
15107
15488
|
*/
|
|
15108
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
15489
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15109
15490
|
return __awaiter(this, void 0, void 0, function () {
|
|
15110
15491
|
var localVarAxiosArgs;
|
|
15111
15492
|
return __generator(this, function (_a) {
|
|
15112
15493
|
switch (_a.label) {
|
|
15113
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId,
|
|
15494
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
15114
15495
|
case 1:
|
|
15115
15496
|
localVarAxiosArgs = _a.sent();
|
|
15116
15497
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15148,52 +15529,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15148
15529
|
exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
15149
15530
|
var localVarFp = exports.DoctorsApiFp(configuration);
|
|
15150
15531
|
return {
|
|
15151
|
-
/**
|
|
15152
|
-
*
|
|
15153
|
-
* @summary Get all doctor affiliations.
|
|
15154
|
-
* @param {string} doctorId
|
|
15155
|
-
* @param {string} [hospitalName]
|
|
15156
|
-
* @param {number} [page]
|
|
15157
|
-
* @param {number} [limit]
|
|
15158
|
-
* @param {Date} [lastRetrieved]
|
|
15159
|
-
* @param {*} [options] Override http request option.
|
|
15160
|
-
* @throws {RequiredError}
|
|
15161
|
-
*/
|
|
15162
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15163
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15164
|
-
},
|
|
15165
|
-
/**
|
|
15166
|
-
*
|
|
15167
|
-
* @summary Delete doctor affiliation.
|
|
15168
|
-
* @param {string} doctorId
|
|
15169
|
-
* @param {string} hospitalId
|
|
15170
|
-
* @param {*} [options] Override http request option.
|
|
15171
|
-
* @throws {RequiredError}
|
|
15172
|
-
*/
|
|
15173
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
15174
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15175
|
-
},
|
|
15176
|
-
/**
|
|
15177
|
-
*
|
|
15178
|
-
* @summary Get doctor affiliation.
|
|
15179
|
-
* @param {string} doctorId
|
|
15180
|
-
* @param {string} hospitalId
|
|
15181
|
-
* @param {*} [options] Override http request option.
|
|
15182
|
-
* @throws {RequiredError}
|
|
15183
|
-
*/
|
|
15184
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
15185
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15186
|
-
},
|
|
15187
|
-
/**
|
|
15188
|
-
*
|
|
15189
|
-
* @param {string} doctorId
|
|
15190
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15191
|
-
* @param {*} [options] Override http request option.
|
|
15192
|
-
* @throws {RequiredError}
|
|
15193
|
-
*/
|
|
15194
|
-
apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15195
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15196
|
-
},
|
|
15197
15532
|
/**
|
|
15198
15533
|
*
|
|
15199
15534
|
* @summary Delete DoctorCertificate.
|
|
@@ -15539,14 +15874,15 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15539
15874
|
* @param {string} [doctorName]
|
|
15540
15875
|
* @param {string} [specialtyId]
|
|
15541
15876
|
* @param {string} [specialtyName]
|
|
15877
|
+
* @param {string} [languageCode]
|
|
15542
15878
|
* @param {number} [page]
|
|
15543
15879
|
* @param {number} [limit]
|
|
15544
15880
|
* @param {Date} [lastRetrieved]
|
|
15545
15881
|
* @param {*} [options] Override http request option.
|
|
15546
15882
|
* @throws {RequiredError}
|
|
15547
15883
|
*/
|
|
15548
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
15549
|
-
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15884
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
15885
|
+
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15550
15886
|
},
|
|
15551
15887
|
/**
|
|
15552
15888
|
*
|
|
@@ -15597,7 +15933,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15597
15933
|
*
|
|
15598
15934
|
* @summary Get all Doctors.
|
|
15599
15935
|
* @param {string} [hospitalId]
|
|
15600
|
-
* @param {string} [hospitalName]
|
|
15601
15936
|
* @param {string} [languageCode]
|
|
15602
15937
|
* @param {boolean} [returnDefaultValue]
|
|
15603
15938
|
* @param {Array<string>} [ids]
|
|
@@ -15616,8 +15951,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15616
15951
|
* @param {*} [options] Override http request option.
|
|
15617
15952
|
* @throws {RequiredError}
|
|
15618
15953
|
*/
|
|
15619
|
-
apiV1DoctorsGet: function (hospitalId,
|
|
15620
|
-
return localVarFp.apiV1DoctorsGet(hospitalId,
|
|
15954
|
+
apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15955
|
+
return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15621
15956
|
},
|
|
15622
15957
|
/**
|
|
15623
15958
|
*
|
|
@@ -15633,7 +15968,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15633
15968
|
*
|
|
15634
15969
|
* @summary Get all Doctors.
|
|
15635
15970
|
* @param {string} [hospitalId]
|
|
15636
|
-
* @param {string} [hospitalName]
|
|
15637
15971
|
* @param {string} [languageCode]
|
|
15638
15972
|
* @param {boolean} [returnDefaultValue]
|
|
15639
15973
|
* @param {Array<string>} [ids]
|
|
@@ -15652,8 +15986,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
15652
15986
|
* @param {*} [options] Override http request option.
|
|
15653
15987
|
* @throws {RequiredError}
|
|
15654
15988
|
*/
|
|
15655
|
-
apiV1DoctorsSimpleGet: function (hospitalId,
|
|
15656
|
-
return localVarFp.apiV1DoctorsSimpleGet(hospitalId,
|
|
15989
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
15990
|
+
return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15657
15991
|
},
|
|
15658
15992
|
/**
|
|
15659
15993
|
*
|
|
@@ -15679,60 +16013,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
15679
16013
|
function DoctorsApi() {
|
|
15680
16014
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
15681
16015
|
}
|
|
15682
|
-
/**
|
|
15683
|
-
*
|
|
15684
|
-
* @summary Get all doctor affiliations.
|
|
15685
|
-
* @param {string} doctorId
|
|
15686
|
-
* @param {string} [hospitalName]
|
|
15687
|
-
* @param {number} [page]
|
|
15688
|
-
* @param {number} [limit]
|
|
15689
|
-
* @param {Date} [lastRetrieved]
|
|
15690
|
-
* @param {*} [options] Override http request option.
|
|
15691
|
-
* @throws {RequiredError}
|
|
15692
|
-
* @memberof DoctorsApi
|
|
15693
|
-
*/
|
|
15694
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15695
|
-
var _this = this;
|
|
15696
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15697
|
-
};
|
|
15698
|
-
/**
|
|
15699
|
-
*
|
|
15700
|
-
* @summary Delete doctor affiliation.
|
|
15701
|
-
* @param {string} doctorId
|
|
15702
|
-
* @param {string} hospitalId
|
|
15703
|
-
* @param {*} [options] Override http request option.
|
|
15704
|
-
* @throws {RequiredError}
|
|
15705
|
-
* @memberof DoctorsApi
|
|
15706
|
-
*/
|
|
15707
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete = function (doctorId, hospitalId, options) {
|
|
15708
|
-
var _this = this;
|
|
15709
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15710
|
-
};
|
|
15711
|
-
/**
|
|
15712
|
-
*
|
|
15713
|
-
* @summary Get doctor affiliation.
|
|
15714
|
-
* @param {string} doctorId
|
|
15715
|
-
* @param {string} hospitalId
|
|
15716
|
-
* @param {*} [options] Override http request option.
|
|
15717
|
-
* @throws {RequiredError}
|
|
15718
|
-
* @memberof DoctorsApi
|
|
15719
|
-
*/
|
|
15720
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
|
|
15721
|
-
var _this = this;
|
|
15722
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15723
|
-
};
|
|
15724
|
-
/**
|
|
15725
|
-
*
|
|
15726
|
-
* @param {string} doctorId
|
|
15727
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15728
|
-
* @param {*} [options] Override http request option.
|
|
15729
|
-
* @throws {RequiredError}
|
|
15730
|
-
* @memberof DoctorsApi
|
|
15731
|
-
*/
|
|
15732
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsPost = function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15733
|
-
var _this = this;
|
|
15734
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15735
|
-
};
|
|
15736
16016
|
/**
|
|
15737
16017
|
*
|
|
15738
16018
|
* @summary Delete DoctorCertificate.
|
|
@@ -16134,6 +16414,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16134
16414
|
* @param {string} [doctorName]
|
|
16135
16415
|
* @param {string} [specialtyId]
|
|
16136
16416
|
* @param {string} [specialtyName]
|
|
16417
|
+
* @param {string} [languageCode]
|
|
16137
16418
|
* @param {number} [page]
|
|
16138
16419
|
* @param {number} [limit]
|
|
16139
16420
|
* @param {Date} [lastRetrieved]
|
|
@@ -16141,9 +16422,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16141
16422
|
* @throws {RequiredError}
|
|
16142
16423
|
* @memberof DoctorsApi
|
|
16143
16424
|
*/
|
|
16144
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options) {
|
|
16425
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
|
|
16145
16426
|
var _this = this;
|
|
16146
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16427
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16147
16428
|
};
|
|
16148
16429
|
/**
|
|
16149
16430
|
*
|
|
@@ -16202,7 +16483,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16202
16483
|
*
|
|
16203
16484
|
* @summary Get all Doctors.
|
|
16204
16485
|
* @param {string} [hospitalId]
|
|
16205
|
-
* @param {string} [hospitalName]
|
|
16206
16486
|
* @param {string} [languageCode]
|
|
16207
16487
|
* @param {boolean} [returnDefaultValue]
|
|
16208
16488
|
* @param {Array<string>} [ids]
|
|
@@ -16222,9 +16502,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16222
16502
|
* @throws {RequiredError}
|
|
16223
16503
|
* @memberof DoctorsApi
|
|
16224
16504
|
*/
|
|
16225
|
-
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId,
|
|
16505
|
+
DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
16226
16506
|
var _this = this;
|
|
16227
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId,
|
|
16507
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(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); });
|
|
16228
16508
|
};
|
|
16229
16509
|
/**
|
|
16230
16510
|
*
|
|
@@ -16242,7 +16522,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16242
16522
|
*
|
|
16243
16523
|
* @summary Get all Doctors.
|
|
16244
16524
|
* @param {string} [hospitalId]
|
|
16245
|
-
* @param {string} [hospitalName]
|
|
16246
16525
|
* @param {string} [languageCode]
|
|
16247
16526
|
* @param {boolean} [returnDefaultValue]
|
|
16248
16527
|
* @param {Array<string>} [ids]
|
|
@@ -16262,9 +16541,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
16262
16541
|
* @throws {RequiredError}
|
|
16263
16542
|
* @memberof DoctorsApi
|
|
16264
16543
|
*/
|
|
16265
|
-
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId,
|
|
16544
|
+
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
16266
16545
|
var _this = this;
|
|
16267
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId,
|
|
16546
|
+
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); });
|
|
16268
16547
|
};
|
|
16269
16548
|
/**
|
|
16270
16549
|
*
|
|
@@ -19183,7 +19462,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19183
19462
|
* @param {boolean} [showHidden]
|
|
19184
19463
|
* @param {string} [languageCode]
|
|
19185
19464
|
* @param {Array<string>} [ids]
|
|
19186
|
-
* @param {boolean} [returnDefaultValue]
|
|
19187
19465
|
* @param {boolean} [paymentEnabled]
|
|
19188
19466
|
* @param {number} [page]
|
|
19189
19467
|
* @param {number} [limit]
|
|
@@ -19191,7 +19469,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19191
19469
|
* @param {*} [options] Override http request option.
|
|
19192
19470
|
* @throws {RequiredError}
|
|
19193
19471
|
*/
|
|
19194
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
19472
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
19195
19473
|
if (options === void 0) { options = {}; }
|
|
19196
19474
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19197
19475
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19248,9 +19526,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19248
19526
|
if (ids) {
|
|
19249
19527
|
localVarQueryParameter['Ids'] = ids;
|
|
19250
19528
|
}
|
|
19251
|
-
if (returnDefaultValue !== undefined) {
|
|
19252
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19253
|
-
}
|
|
19254
19529
|
if (paymentEnabled !== undefined) {
|
|
19255
19530
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
19256
19531
|
}
|
|
@@ -21002,8 +21277,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21002
21277
|
* @param {string} [name]
|
|
21003
21278
|
* @param {string} [slug]
|
|
21004
21279
|
* @param {MarketingType} [marketingType]
|
|
21005
|
-
* @param {boolean} [returnDefaultValue]
|
|
21006
|
-
* @param {boolean} [includeServices]
|
|
21007
21280
|
* @param {string} [languageCode]
|
|
21008
21281
|
* @param {boolean} [showHidden]
|
|
21009
21282
|
* @param {number} [page]
|
|
@@ -21012,7 +21285,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21012
21285
|
* @param {*} [options] Override http request option.
|
|
21013
21286
|
* @throws {RequiredError}
|
|
21014
21287
|
*/
|
|
21015
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
21288
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
21016
21289
|
if (options === void 0) { options = {}; }
|
|
21017
21290
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21018
21291
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21061,12 +21334,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21061
21334
|
if (marketingType !== undefined) {
|
|
21062
21335
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21063
21336
|
}
|
|
21064
|
-
if (returnDefaultValue !== undefined) {
|
|
21065
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21066
|
-
}
|
|
21067
|
-
if (includeServices !== undefined) {
|
|
21068
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
21069
|
-
}
|
|
21070
21337
|
if (languageCode !== undefined) {
|
|
21071
21338
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21072
21339
|
}
|
|
@@ -21428,8 +21695,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21428
21695
|
* @param {string} [name]
|
|
21429
21696
|
* @param {string} [slug]
|
|
21430
21697
|
* @param {MarketingType} [marketingType]
|
|
21431
|
-
* @param {boolean} [returnDefaultValue]
|
|
21432
|
-
* @param {boolean} [includeServices]
|
|
21433
21698
|
* @param {string} [languageCode]
|
|
21434
21699
|
* @param {boolean} [showHidden]
|
|
21435
21700
|
* @param {number} [page]
|
|
@@ -21438,7 +21703,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21438
21703
|
* @param {*} [options] Override http request option.
|
|
21439
21704
|
* @throws {RequiredError}
|
|
21440
21705
|
*/
|
|
21441
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
21706
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
21442
21707
|
if (options === void 0) { options = {}; }
|
|
21443
21708
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21444
21709
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21487,12 +21752,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21487
21752
|
if (marketingType !== undefined) {
|
|
21488
21753
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
21489
21754
|
}
|
|
21490
|
-
if (returnDefaultValue !== undefined) {
|
|
21491
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21492
|
-
}
|
|
21493
|
-
if (includeServices !== undefined) {
|
|
21494
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
21495
|
-
}
|
|
21496
21755
|
if (languageCode !== undefined) {
|
|
21497
21756
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21498
21757
|
}
|
|
@@ -21633,12 +21892,10 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21633
21892
|
* @param {string} hospitalId
|
|
21634
21893
|
* @param {string} specialtyId
|
|
21635
21894
|
* @param {string} [languageCode]
|
|
21636
|
-
* @param {boolean} [returnDefaultValue]
|
|
21637
|
-
* @param {boolean} [includeServices]
|
|
21638
21895
|
* @param {*} [options] Override http request option.
|
|
21639
21896
|
* @throws {RequiredError}
|
|
21640
21897
|
*/
|
|
21641
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
21898
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
21642
21899
|
if (options === void 0) { options = {}; }
|
|
21643
21900
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21644
21901
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21669,12 +21926,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21669
21926
|
if (languageCode !== undefined) {
|
|
21670
21927
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
21671
21928
|
}
|
|
21672
|
-
if (returnDefaultValue !== undefined) {
|
|
21673
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
21674
|
-
}
|
|
21675
|
-
if (includeServices !== undefined) {
|
|
21676
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
21677
|
-
}
|
|
21678
21929
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21679
21930
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21680
21931
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21748,15 +21999,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21748
21999
|
* @param {MarketingType} [marketingType]
|
|
21749
22000
|
* @param {Procedure} [procedure]
|
|
21750
22001
|
* @param {Date} [created]
|
|
22002
|
+
* @param {boolean} [showHidden]
|
|
21751
22003
|
* @param {string} [languageCode]
|
|
21752
|
-
* @param {boolean} [returnDefaultValue]
|
|
21753
22004
|
* @param {number} [page]
|
|
21754
22005
|
* @param {number} [limit]
|
|
21755
22006
|
* @param {Date} [lastRetrieved]
|
|
21756
22007
|
* @param {*} [options] Override http request option.
|
|
21757
22008
|
* @throws {RequiredError}
|
|
21758
22009
|
*/
|
|
21759
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
22010
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
21760
22011
|
if (options === void 0) { options = {}; }
|
|
21761
22012
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21762
22013
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21807,12 +22058,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21807
22058
|
created.toISOString() :
|
|
21808
22059
|
created;
|
|
21809
22060
|
}
|
|
22061
|
+
if (showHidden !== undefined) {
|
|
22062
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
22063
|
+
}
|
|
21810
22064
|
if (languageCode !== undefined) {
|
|
21811
22065
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
21812
22066
|
}
|
|
21813
|
-
if (returnDefaultValue !== undefined) {
|
|
21814
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
21815
|
-
}
|
|
21816
22067
|
if (page !== undefined) {
|
|
21817
22068
|
localVarQueryParameter['page'] = page;
|
|
21818
22069
|
}
|
|
@@ -22712,7 +22963,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22712
22963
|
* @param {boolean} [showHidden]
|
|
22713
22964
|
* @param {string} [languageCode]
|
|
22714
22965
|
* @param {Array<string>} [ids]
|
|
22715
|
-
* @param {boolean} [returnDefaultValue]
|
|
22716
22966
|
* @param {boolean} [paymentEnabled]
|
|
22717
22967
|
* @param {number} [page]
|
|
22718
22968
|
* @param {number} [limit]
|
|
@@ -22720,7 +22970,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22720
22970
|
* @param {*} [options] Override http request option.
|
|
22721
22971
|
* @throws {RequiredError}
|
|
22722
22972
|
*/
|
|
22723
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
22973
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22724
22974
|
if (options === void 0) { options = {}; }
|
|
22725
22975
|
return __awaiter(_this, void 0, void 0, function () {
|
|
22726
22976
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -22777,9 +23027,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22777
23027
|
if (ids) {
|
|
22778
23028
|
localVarQueryParameter['Ids'] = ids;
|
|
22779
23029
|
}
|
|
22780
|
-
if (returnDefaultValue !== undefined) {
|
|
22781
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
22782
|
-
}
|
|
22783
23030
|
if (paymentEnabled !== undefined) {
|
|
22784
23031
|
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
22785
23032
|
}
|
|
@@ -22878,7 +23125,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22878
23125
|
* @param {boolean} [showHidden]
|
|
22879
23126
|
* @param {string} [languageCode]
|
|
22880
23127
|
* @param {Array<string>} [ids]
|
|
22881
|
-
* @param {boolean} [returnDefaultValue]
|
|
22882
23128
|
* @param {boolean} [paymentEnabled]
|
|
22883
23129
|
* @param {number} [page]
|
|
22884
23130
|
* @param {number} [limit]
|
|
@@ -22886,12 +23132,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22886
23132
|
* @param {*} [options] Override http request option.
|
|
22887
23133
|
* @throws {RequiredError}
|
|
22888
23134
|
*/
|
|
22889
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
23135
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
22890
23136
|
return __awaiter(this, void 0, void 0, function () {
|
|
22891
23137
|
var localVarAxiosArgs;
|
|
22892
23138
|
return __generator(this, function (_a) {
|
|
22893
23139
|
switch (_a.label) {
|
|
22894
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
23140
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
22895
23141
|
case 1:
|
|
22896
23142
|
localVarAxiosArgs = _a.sent();
|
|
22897
23143
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23644,8 +23890,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23644
23890
|
* @param {string} [name]
|
|
23645
23891
|
* @param {string} [slug]
|
|
23646
23892
|
* @param {MarketingType} [marketingType]
|
|
23647
|
-
* @param {boolean} [returnDefaultValue]
|
|
23648
|
-
* @param {boolean} [includeServices]
|
|
23649
23893
|
* @param {string} [languageCode]
|
|
23650
23894
|
* @param {boolean} [showHidden]
|
|
23651
23895
|
* @param {number} [page]
|
|
@@ -23654,12 +23898,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23654
23898
|
* @param {*} [options] Override http request option.
|
|
23655
23899
|
* @throws {RequiredError}
|
|
23656
23900
|
*/
|
|
23657
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23901
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
23658
23902
|
return __awaiter(this, void 0, void 0, function () {
|
|
23659
23903
|
var localVarAxiosArgs;
|
|
23660
23904
|
return __generator(this, function (_a) {
|
|
23661
23905
|
switch (_a.label) {
|
|
23662
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
23906
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
23663
23907
|
case 1:
|
|
23664
23908
|
localVarAxiosArgs = _a.sent();
|
|
23665
23909
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23815,8 +24059,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23815
24059
|
* @param {string} [name]
|
|
23816
24060
|
* @param {string} [slug]
|
|
23817
24061
|
* @param {MarketingType} [marketingType]
|
|
23818
|
-
* @param {boolean} [returnDefaultValue]
|
|
23819
|
-
* @param {boolean} [includeServices]
|
|
23820
24062
|
* @param {string} [languageCode]
|
|
23821
24063
|
* @param {boolean} [showHidden]
|
|
23822
24064
|
* @param {number} [page]
|
|
@@ -23825,12 +24067,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23825
24067
|
* @param {*} [options] Override http request option.
|
|
23826
24068
|
* @throws {RequiredError}
|
|
23827
24069
|
*/
|
|
23828
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24070
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
23829
24071
|
return __awaiter(this, void 0, void 0, function () {
|
|
23830
24072
|
var localVarAxiosArgs;
|
|
23831
24073
|
return __generator(this, function (_a) {
|
|
23832
24074
|
switch (_a.label) {
|
|
23833
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24075
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
23834
24076
|
case 1:
|
|
23835
24077
|
localVarAxiosArgs = _a.sent();
|
|
23836
24078
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23889,17 +24131,15 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23889
24131
|
* @param {string} hospitalId
|
|
23890
24132
|
* @param {string} specialtyId
|
|
23891
24133
|
* @param {string} [languageCode]
|
|
23892
|
-
* @param {boolean} [returnDefaultValue]
|
|
23893
|
-
* @param {boolean} [includeServices]
|
|
23894
24134
|
* @param {*} [options] Override http request option.
|
|
23895
24135
|
* @throws {RequiredError}
|
|
23896
24136
|
*/
|
|
23897
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
24137
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
23898
24138
|
return __awaiter(this, void 0, void 0, function () {
|
|
23899
24139
|
var localVarAxiosArgs;
|
|
23900
24140
|
return __generator(this, function (_a) {
|
|
23901
24141
|
switch (_a.label) {
|
|
23902
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
24142
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options)];
|
|
23903
24143
|
case 1:
|
|
23904
24144
|
localVarAxiosArgs = _a.sent();
|
|
23905
24145
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23941,20 +24181,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23941
24181
|
* @param {MarketingType} [marketingType]
|
|
23942
24182
|
* @param {Procedure} [procedure]
|
|
23943
24183
|
* @param {Date} [created]
|
|
24184
|
+
* @param {boolean} [showHidden]
|
|
23944
24185
|
* @param {string} [languageCode]
|
|
23945
|
-
* @param {boolean} [returnDefaultValue]
|
|
23946
24186
|
* @param {number} [page]
|
|
23947
24187
|
* @param {number} [limit]
|
|
23948
24188
|
* @param {Date} [lastRetrieved]
|
|
23949
24189
|
* @param {*} [options] Override http request option.
|
|
23950
24190
|
* @throws {RequiredError}
|
|
23951
24191
|
*/
|
|
23952
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
24192
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
23953
24193
|
return __awaiter(this, void 0, void 0, function () {
|
|
23954
24194
|
var localVarAxiosArgs;
|
|
23955
24195
|
return __generator(this, function (_a) {
|
|
23956
24196
|
switch (_a.label) {
|
|
23957
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
24197
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options)];
|
|
23958
24198
|
case 1:
|
|
23959
24199
|
localVarAxiosArgs = _a.sent();
|
|
23960
24200
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24338,7 +24578,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24338
24578
|
* @param {boolean} [showHidden]
|
|
24339
24579
|
* @param {string} [languageCode]
|
|
24340
24580
|
* @param {Array<string>} [ids]
|
|
24341
|
-
* @param {boolean} [returnDefaultValue]
|
|
24342
24581
|
* @param {boolean} [paymentEnabled]
|
|
24343
24582
|
* @param {number} [page]
|
|
24344
24583
|
* @param {number} [limit]
|
|
@@ -24346,12 +24585,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24346
24585
|
* @param {*} [options] Override http request option.
|
|
24347
24586
|
* @throws {RequiredError}
|
|
24348
24587
|
*/
|
|
24349
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24588
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
24350
24589
|
return __awaiter(this, void 0, void 0, function () {
|
|
24351
24590
|
var localVarAxiosArgs;
|
|
24352
24591
|
return __generator(this, function (_a) {
|
|
24353
24592
|
switch (_a.label) {
|
|
24354
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24593
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
24355
24594
|
case 1:
|
|
24356
24595
|
localVarAxiosArgs = _a.sent();
|
|
24357
24596
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -24403,7 +24642,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24403
24642
|
* @param {boolean} [showHidden]
|
|
24404
24643
|
* @param {string} [languageCode]
|
|
24405
24644
|
* @param {Array<string>} [ids]
|
|
24406
|
-
* @param {boolean} [returnDefaultValue]
|
|
24407
24645
|
* @param {boolean} [paymentEnabled]
|
|
24408
24646
|
* @param {number} [page]
|
|
24409
24647
|
* @param {number} [limit]
|
|
@@ -24411,8 +24649,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24411
24649
|
* @param {*} [options] Override http request option.
|
|
24412
24650
|
* @throws {RequiredError}
|
|
24413
24651
|
*/
|
|
24414
|
-
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24415
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
24652
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
24653
|
+
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); });
|
|
24416
24654
|
},
|
|
24417
24655
|
/**
|
|
24418
24656
|
*
|
|
@@ -24829,8 +25067,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24829
25067
|
* @param {string} [name]
|
|
24830
25068
|
* @param {string} [slug]
|
|
24831
25069
|
* @param {MarketingType} [marketingType]
|
|
24832
|
-
* @param {boolean} [returnDefaultValue]
|
|
24833
|
-
* @param {boolean} [includeServices]
|
|
24834
25070
|
* @param {string} [languageCode]
|
|
24835
25071
|
* @param {boolean} [showHidden]
|
|
24836
25072
|
* @param {number} [page]
|
|
@@ -24839,8 +25075,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24839
25075
|
* @param {*} [options] Override http request option.
|
|
24840
25076
|
* @throws {RequiredError}
|
|
24841
25077
|
*/
|
|
24842
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24843
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
25078
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25079
|
+
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); });
|
|
24844
25080
|
},
|
|
24845
25081
|
/**
|
|
24846
25082
|
*
|
|
@@ -24930,8 +25166,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24930
25166
|
* @param {string} [name]
|
|
24931
25167
|
* @param {string} [slug]
|
|
24932
25168
|
* @param {MarketingType} [marketingType]
|
|
24933
|
-
* @param {boolean} [returnDefaultValue]
|
|
24934
|
-
* @param {boolean} [includeServices]
|
|
24935
25169
|
* @param {string} [languageCode]
|
|
24936
25170
|
* @param {boolean} [showHidden]
|
|
24937
25171
|
* @param {number} [page]
|
|
@@ -24940,8 +25174,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24940
25174
|
* @param {*} [options] Override http request option.
|
|
24941
25175
|
* @throws {RequiredError}
|
|
24942
25176
|
*/
|
|
24943
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
24944
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
25177
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25178
|
+
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); });
|
|
24945
25179
|
},
|
|
24946
25180
|
/**
|
|
24947
25181
|
*
|
|
@@ -24974,13 +25208,11 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24974
25208
|
* @param {string} hospitalId
|
|
24975
25209
|
* @param {string} specialtyId
|
|
24976
25210
|
* @param {string} [languageCode]
|
|
24977
|
-
* @param {boolean} [returnDefaultValue]
|
|
24978
|
-
* @param {boolean} [includeServices]
|
|
24979
25211
|
* @param {*} [options] Override http request option.
|
|
24980
25212
|
* @throws {RequiredError}
|
|
24981
25213
|
*/
|
|
24982
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
24983
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
25214
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
25215
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
24984
25216
|
},
|
|
24985
25217
|
/**
|
|
24986
25218
|
*
|
|
@@ -25006,16 +25238,16 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25006
25238
|
* @param {MarketingType} [marketingType]
|
|
25007
25239
|
* @param {Procedure} [procedure]
|
|
25008
25240
|
* @param {Date} [created]
|
|
25241
|
+
* @param {boolean} [showHidden]
|
|
25009
25242
|
* @param {string} [languageCode]
|
|
25010
|
-
* @param {boolean} [returnDefaultValue]
|
|
25011
25243
|
* @param {number} [page]
|
|
25012
25244
|
* @param {number} [limit]
|
|
25013
25245
|
* @param {Date} [lastRetrieved]
|
|
25014
25246
|
* @param {*} [options] Override http request option.
|
|
25015
25247
|
* @throws {RequiredError}
|
|
25016
25248
|
*/
|
|
25017
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
25018
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
25249
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
25250
|
+
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); });
|
|
25019
25251
|
},
|
|
25020
25252
|
/**
|
|
25021
25253
|
*
|
|
@@ -25233,7 +25465,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25233
25465
|
* @param {boolean} [showHidden]
|
|
25234
25466
|
* @param {string} [languageCode]
|
|
25235
25467
|
* @param {Array<string>} [ids]
|
|
25236
|
-
* @param {boolean} [returnDefaultValue]
|
|
25237
25468
|
* @param {boolean} [paymentEnabled]
|
|
25238
25469
|
* @param {number} [page]
|
|
25239
25470
|
* @param {number} [limit]
|
|
@@ -25241,8 +25472,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25241
25472
|
* @param {*} [options] Override http request option.
|
|
25242
25473
|
* @throws {RequiredError}
|
|
25243
25474
|
*/
|
|
25244
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25245
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25475
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
25476
|
+
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); });
|
|
25246
25477
|
},
|
|
25247
25478
|
/**
|
|
25248
25479
|
*
|
|
@@ -25282,7 +25513,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25282
25513
|
* @param {boolean} [showHidden]
|
|
25283
25514
|
* @param {string} [languageCode]
|
|
25284
25515
|
* @param {Array<string>} [ids]
|
|
25285
|
-
* @param {boolean} [returnDefaultValue]
|
|
25286
25516
|
* @param {boolean} [paymentEnabled]
|
|
25287
25517
|
* @param {number} [page]
|
|
25288
25518
|
* @param {number} [limit]
|
|
@@ -25291,9 +25521,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25291
25521
|
* @throws {RequiredError}
|
|
25292
25522
|
* @memberof HospitalsApi
|
|
25293
25523
|
*/
|
|
25294
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25524
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
25295
25525
|
var _this = this;
|
|
25296
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
25526
|
+
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); });
|
|
25297
25527
|
};
|
|
25298
25528
|
/**
|
|
25299
25529
|
*
|
|
@@ -25776,8 +26006,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25776
26006
|
* @param {string} [name]
|
|
25777
26007
|
* @param {string} [slug]
|
|
25778
26008
|
* @param {MarketingType} [marketingType]
|
|
25779
|
-
* @param {boolean} [returnDefaultValue]
|
|
25780
|
-
* @param {boolean} [includeServices]
|
|
25781
26009
|
* @param {string} [languageCode]
|
|
25782
26010
|
* @param {boolean} [showHidden]
|
|
25783
26011
|
* @param {number} [page]
|
|
@@ -25787,9 +26015,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25787
26015
|
* @throws {RequiredError}
|
|
25788
26016
|
* @memberof HospitalsApi
|
|
25789
26017
|
*/
|
|
25790
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26018
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25791
26019
|
var _this = this;
|
|
25792
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26020
|
+
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); });
|
|
25793
26021
|
};
|
|
25794
26022
|
/**
|
|
25795
26023
|
*
|
|
@@ -25891,8 +26119,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25891
26119
|
* @param {string} [name]
|
|
25892
26120
|
* @param {string} [slug]
|
|
25893
26121
|
* @param {MarketingType} [marketingType]
|
|
25894
|
-
* @param {boolean} [returnDefaultValue]
|
|
25895
|
-
* @param {boolean} [includeServices]
|
|
25896
26122
|
* @param {string} [languageCode]
|
|
25897
26123
|
* @param {boolean} [showHidden]
|
|
25898
26124
|
* @param {number} [page]
|
|
@@ -25902,9 +26128,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25902
26128
|
* @throws {RequiredError}
|
|
25903
26129
|
* @memberof HospitalsApi
|
|
25904
26130
|
*/
|
|
25905
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26131
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25906
26132
|
var _this = this;
|
|
25907
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
26133
|
+
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); });
|
|
25908
26134
|
};
|
|
25909
26135
|
/**
|
|
25910
26136
|
*
|
|
@@ -25941,15 +26167,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25941
26167
|
* @param {string} hospitalId
|
|
25942
26168
|
* @param {string} specialtyId
|
|
25943
26169
|
* @param {string} [languageCode]
|
|
25944
|
-
* @param {boolean} [returnDefaultValue]
|
|
25945
|
-
* @param {boolean} [includeServices]
|
|
25946
26170
|
* @param {*} [options] Override http request option.
|
|
25947
26171
|
* @throws {RequiredError}
|
|
25948
26172
|
* @memberof HospitalsApi
|
|
25949
26173
|
*/
|
|
25950
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode,
|
|
26174
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, options) {
|
|
25951
26175
|
var _this = this;
|
|
25952
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
26176
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25953
26177
|
};
|
|
25954
26178
|
/**
|
|
25955
26179
|
*
|
|
@@ -25977,8 +26201,8 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25977
26201
|
* @param {MarketingType} [marketingType]
|
|
25978
26202
|
* @param {Procedure} [procedure]
|
|
25979
26203
|
* @param {Date} [created]
|
|
26204
|
+
* @param {boolean} [showHidden]
|
|
25980
26205
|
* @param {string} [languageCode]
|
|
25981
|
-
* @param {boolean} [returnDefaultValue]
|
|
25982
26206
|
* @param {number} [page]
|
|
25983
26207
|
* @param {number} [limit]
|
|
25984
26208
|
* @param {Date} [lastRetrieved]
|
|
@@ -25986,9 +26210,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25986
26210
|
* @throws {RequiredError}
|
|
25987
26211
|
* @memberof HospitalsApi
|
|
25988
26212
|
*/
|
|
25989
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
26213
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet = function (hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
25990
26214
|
var _this = this;
|
|
25991
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, id, name, slug, serviceCategoryId, marketingType, procedure, created,
|
|
26215
|
+
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); });
|
|
25992
26216
|
};
|
|
25993
26217
|
/**
|
|
25994
26218
|
*
|
|
@@ -26238,7 +26462,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26238
26462
|
* @param {boolean} [showHidden]
|
|
26239
26463
|
* @param {string} [languageCode]
|
|
26240
26464
|
* @param {Array<string>} [ids]
|
|
26241
|
-
* @param {boolean} [returnDefaultValue]
|
|
26242
26465
|
* @param {boolean} [paymentEnabled]
|
|
26243
26466
|
* @param {number} [page]
|
|
26244
26467
|
* @param {number} [limit]
|
|
@@ -26247,9 +26470,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26247
26470
|
* @throws {RequiredError}
|
|
26248
26471
|
* @memberof HospitalsApi
|
|
26249
26472
|
*/
|
|
26250
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
26473
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
26251
26474
|
var _this = this;
|
|
26252
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids,
|
|
26475
|
+
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); });
|
|
26253
26476
|
};
|
|
26254
26477
|
/**
|
|
26255
26478
|
*
|
|
@@ -27077,14 +27300,16 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
27077
27300
|
*
|
|
27078
27301
|
* @summary Get all manager affiliations.
|
|
27079
27302
|
* @param {string} managerId
|
|
27303
|
+
* @param {string} [hospitalId]
|
|
27080
27304
|
* @param {string} [hospitalName]
|
|
27305
|
+
* @param {string} [languageCode]
|
|
27081
27306
|
* @param {number} [page]
|
|
27082
27307
|
* @param {number} [limit]
|
|
27083
27308
|
* @param {Date} [lastRetrieved]
|
|
27084
27309
|
* @param {*} [options] Override http request option.
|
|
27085
27310
|
* @throws {RequiredError}
|
|
27086
27311
|
*/
|
|
27087
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27312
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27088
27313
|
if (options === void 0) { options = {}; }
|
|
27089
27314
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27090
27315
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27109,9 +27334,15 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
27109
27334
|
// authentication oauth2 required
|
|
27110
27335
|
// oauth required
|
|
27111
27336
|
_a.sent();
|
|
27337
|
+
if (hospitalId !== undefined) {
|
|
27338
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
27339
|
+
}
|
|
27112
27340
|
if (hospitalName !== undefined) {
|
|
27113
27341
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
27114
27342
|
}
|
|
27343
|
+
if (languageCode !== undefined) {
|
|
27344
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
27345
|
+
}
|
|
27115
27346
|
if (page !== undefined) {
|
|
27116
27347
|
localVarQueryParameter['page'] = page;
|
|
27117
27348
|
}
|
|
@@ -27490,19 +27721,21 @@ exports.ManagersApiFp = function (configuration) {
|
|
|
27490
27721
|
*
|
|
27491
27722
|
* @summary Get all manager affiliations.
|
|
27492
27723
|
* @param {string} managerId
|
|
27724
|
+
* @param {string} [hospitalId]
|
|
27493
27725
|
* @param {string} [hospitalName]
|
|
27726
|
+
* @param {string} [languageCode]
|
|
27494
27727
|
* @param {number} [page]
|
|
27495
27728
|
* @param {number} [limit]
|
|
27496
27729
|
* @param {Date} [lastRetrieved]
|
|
27497
27730
|
* @param {*} [options] Override http request option.
|
|
27498
27731
|
* @throws {RequiredError}
|
|
27499
27732
|
*/
|
|
27500
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27733
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27501
27734
|
return __awaiter(this, void 0, void 0, function () {
|
|
27502
27735
|
var localVarAxiosArgs;
|
|
27503
27736
|
return __generator(this, function (_a) {
|
|
27504
27737
|
switch (_a.label) {
|
|
27505
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options)];
|
|
27738
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
|
|
27506
27739
|
case 1:
|
|
27507
27740
|
localVarAxiosArgs = _a.sent();
|
|
27508
27741
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27686,15 +27919,17 @@ exports.ManagersApiFactory = function (configuration, basePath, axios) {
|
|
|
27686
27919
|
*
|
|
27687
27920
|
* @summary Get all manager affiliations.
|
|
27688
27921
|
* @param {string} managerId
|
|
27922
|
+
* @param {string} [hospitalId]
|
|
27689
27923
|
* @param {string} [hospitalName]
|
|
27924
|
+
* @param {string} [languageCode]
|
|
27690
27925
|
* @param {number} [page]
|
|
27691
27926
|
* @param {number} [limit]
|
|
27692
27927
|
* @param {Date} [lastRetrieved]
|
|
27693
27928
|
* @param {*} [options] Override http request option.
|
|
27694
27929
|
* @throws {RequiredError}
|
|
27695
27930
|
*/
|
|
27696
|
-
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
27697
|
-
return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27931
|
+
apiV1ManagersManagerIdAffiliationsGet: function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27932
|
+
return localVarFp.apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
27698
27933
|
},
|
|
27699
27934
|
/**
|
|
27700
27935
|
*
|
|
@@ -27808,7 +28043,9 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
27808
28043
|
*
|
|
27809
28044
|
* @summary Get all manager affiliations.
|
|
27810
28045
|
* @param {string} managerId
|
|
28046
|
+
* @param {string} [hospitalId]
|
|
27811
28047
|
* @param {string} [hospitalName]
|
|
28048
|
+
* @param {string} [languageCode]
|
|
27812
28049
|
* @param {number} [page]
|
|
27813
28050
|
* @param {number} [limit]
|
|
27814
28051
|
* @param {Date} [lastRetrieved]
|
|
@@ -27816,9 +28053,9 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
27816
28053
|
* @throws {RequiredError}
|
|
27817
28054
|
* @memberof ManagersApi
|
|
27818
28055
|
*/
|
|
27819
|
-
ManagersApi.prototype.apiV1ManagersManagerIdAffiliationsGet = function (managerId, hospitalName, page, limit, lastRetrieved, options) {
|
|
28056
|
+
ManagersApi.prototype.apiV1ManagersManagerIdAffiliationsGet = function (managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
27820
28057
|
var _this = this;
|
|
27821
|
-
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28058
|
+
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdAffiliationsGet(managerId, hospitalId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27822
28059
|
};
|
|
27823
28060
|
/**
|
|
27824
28061
|
*
|
|
@@ -31004,13 +31241,15 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31004
31241
|
* @param {boolean} [recommended]
|
|
31005
31242
|
* @param {number} [rate]
|
|
31006
31243
|
* @param {ReviewType} [reviewType]
|
|
31244
|
+
* @param {string} [languageCode]
|
|
31245
|
+
* @param {boolean} [showHidden]
|
|
31007
31246
|
* @param {number} [page]
|
|
31008
31247
|
* @param {number} [limit]
|
|
31009
31248
|
* @param {Date} [lastRetrieved]
|
|
31010
31249
|
* @param {*} [options] Override http request option.
|
|
31011
31250
|
* @throws {RequiredError}
|
|
31012
31251
|
*/
|
|
31013
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
31252
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31014
31253
|
if (options === void 0) { options = {}; }
|
|
31015
31254
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31016
31255
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31056,6 +31295,12 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
31056
31295
|
if (reviewType !== undefined) {
|
|
31057
31296
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
31058
31297
|
}
|
|
31298
|
+
if (languageCode !== undefined) {
|
|
31299
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
31300
|
+
}
|
|
31301
|
+
if (showHidden !== undefined) {
|
|
31302
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
31303
|
+
}
|
|
31059
31304
|
if (page !== undefined) {
|
|
31060
31305
|
localVarQueryParameter['page'] = page;
|
|
31061
31306
|
}
|
|
@@ -31526,18 +31771,20 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
31526
31771
|
* @param {boolean} [recommended]
|
|
31527
31772
|
* @param {number} [rate]
|
|
31528
31773
|
* @param {ReviewType} [reviewType]
|
|
31774
|
+
* @param {string} [languageCode]
|
|
31775
|
+
* @param {boolean} [showHidden]
|
|
31529
31776
|
* @param {number} [page]
|
|
31530
31777
|
* @param {number} [limit]
|
|
31531
31778
|
* @param {Date} [lastRetrieved]
|
|
31532
31779
|
* @param {*} [options] Override http request option.
|
|
31533
31780
|
* @throws {RequiredError}
|
|
31534
31781
|
*/
|
|
31535
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
31782
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31536
31783
|
return __awaiter(this, void 0, void 0, function () {
|
|
31537
31784
|
var localVarAxiosArgs;
|
|
31538
31785
|
return __generator(this, function (_a) {
|
|
31539
31786
|
switch (_a.label) {
|
|
31540
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
31787
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
31541
31788
|
case 1:
|
|
31542
31789
|
localVarAxiosArgs = _a.sent();
|
|
31543
31790
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -31755,14 +32002,16 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
31755
32002
|
* @param {boolean} [recommended]
|
|
31756
32003
|
* @param {number} [rate]
|
|
31757
32004
|
* @param {ReviewType} [reviewType]
|
|
32005
|
+
* @param {string} [languageCode]
|
|
32006
|
+
* @param {boolean} [showHidden]
|
|
31758
32007
|
* @param {number} [page]
|
|
31759
32008
|
* @param {number} [limit]
|
|
31760
32009
|
* @param {Date} [lastRetrieved]
|
|
31761
32010
|
* @param {*} [options] Override http request option.
|
|
31762
32011
|
* @throws {RequiredError}
|
|
31763
32012
|
*/
|
|
31764
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
31765
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
32013
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
32014
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
31766
32015
|
},
|
|
31767
32016
|
/**
|
|
31768
32017
|
*
|
|
@@ -31888,6 +32137,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
31888
32137
|
* @param {boolean} [recommended]
|
|
31889
32138
|
* @param {number} [rate]
|
|
31890
32139
|
* @param {ReviewType} [reviewType]
|
|
32140
|
+
* @param {string} [languageCode]
|
|
32141
|
+
* @param {boolean} [showHidden]
|
|
31891
32142
|
* @param {number} [page]
|
|
31892
32143
|
* @param {number} [limit]
|
|
31893
32144
|
* @param {Date} [lastRetrieved]
|
|
@@ -31895,9 +32146,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
31895
32146
|
* @throws {RequiredError}
|
|
31896
32147
|
* @memberof ServiceReviewsApi
|
|
31897
32148
|
*/
|
|
31898
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
32149
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
31899
32150
|
var _this = this;
|
|
31900
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32151
|
+
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); });
|
|
31901
32152
|
};
|
|
31902
32153
|
/**
|
|
31903
32154
|
*
|
|
@@ -32044,15 +32295,15 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
32044
32295
|
* @param {MarketingType} [marketingType]
|
|
32045
32296
|
* @param {Procedure} [procedure]
|
|
32046
32297
|
* @param {Date} [created]
|
|
32298
|
+
* @param {boolean} [showHidden]
|
|
32047
32299
|
* @param {string} [languageCode]
|
|
32048
|
-
* @param {boolean} [returnDefaultValue]
|
|
32049
32300
|
* @param {number} [page]
|
|
32050
32301
|
* @param {number} [limit]
|
|
32051
32302
|
* @param {Date} [lastRetrieved]
|
|
32052
32303
|
* @param {*} [options] Override http request option.
|
|
32053
32304
|
* @throws {RequiredError}
|
|
32054
32305
|
*/
|
|
32055
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32306
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32056
32307
|
if (options === void 0) { options = {}; }
|
|
32057
32308
|
return __awaiter(_this, void 0, void 0, function () {
|
|
32058
32309
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -32118,12 +32369,12 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
32118
32369
|
created.toISOString() :
|
|
32119
32370
|
created;
|
|
32120
32371
|
}
|
|
32372
|
+
if (showHidden !== undefined) {
|
|
32373
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
32374
|
+
}
|
|
32121
32375
|
if (languageCode !== undefined) {
|
|
32122
32376
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
32123
32377
|
}
|
|
32124
|
-
if (returnDefaultValue !== undefined) {
|
|
32125
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
32126
|
-
}
|
|
32127
32378
|
if (page !== undefined) {
|
|
32128
32379
|
localVarQueryParameter['page'] = page;
|
|
32129
32380
|
}
|
|
@@ -32272,20 +32523,20 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
32272
32523
|
* @param {MarketingType} [marketingType]
|
|
32273
32524
|
* @param {Procedure} [procedure]
|
|
32274
32525
|
* @param {Date} [created]
|
|
32526
|
+
* @param {boolean} [showHidden]
|
|
32275
32527
|
* @param {string} [languageCode]
|
|
32276
|
-
* @param {boolean} [returnDefaultValue]
|
|
32277
32528
|
* @param {number} [page]
|
|
32278
32529
|
* @param {number} [limit]
|
|
32279
32530
|
* @param {Date} [lastRetrieved]
|
|
32280
32531
|
* @param {*} [options] Override http request option.
|
|
32281
32532
|
* @throws {RequiredError}
|
|
32282
32533
|
*/
|
|
32283
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32534
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32284
32535
|
return __awaiter(this, void 0, void 0, function () {
|
|
32285
32536
|
var localVarAxiosArgs;
|
|
32286
32537
|
return __generator(this, function (_a) {
|
|
32287
32538
|
switch (_a.label) {
|
|
32288
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32539
|
+
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)];
|
|
32289
32540
|
case 1:
|
|
32290
32541
|
localVarAxiosArgs = _a.sent();
|
|
32291
32542
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -32361,16 +32612,16 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
32361
32612
|
* @param {MarketingType} [marketingType]
|
|
32362
32613
|
* @param {Procedure} [procedure]
|
|
32363
32614
|
* @param {Date} [created]
|
|
32615
|
+
* @param {boolean} [showHidden]
|
|
32364
32616
|
* @param {string} [languageCode]
|
|
32365
|
-
* @param {boolean} [returnDefaultValue]
|
|
32366
32617
|
* @param {number} [page]
|
|
32367
32618
|
* @param {number} [limit]
|
|
32368
32619
|
* @param {Date} [lastRetrieved]
|
|
32369
32620
|
* @param {*} [options] Override http request option.
|
|
32370
32621
|
* @throws {RequiredError}
|
|
32371
32622
|
*/
|
|
32372
|
-
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32373
|
-
return localVarFp.apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32623
|
+
apiV1ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32624
|
+
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); });
|
|
32374
32625
|
},
|
|
32375
32626
|
/**
|
|
32376
32627
|
*
|
|
@@ -32424,8 +32675,8 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
32424
32675
|
* @param {MarketingType} [marketingType]
|
|
32425
32676
|
* @param {Procedure} [procedure]
|
|
32426
32677
|
* @param {Date} [created]
|
|
32678
|
+
* @param {boolean} [showHidden]
|
|
32427
32679
|
* @param {string} [languageCode]
|
|
32428
|
-
* @param {boolean} [returnDefaultValue]
|
|
32429
32680
|
* @param {number} [page]
|
|
32430
32681
|
* @param {number} [limit]
|
|
32431
32682
|
* @param {Date} [lastRetrieved]
|
|
@@ -32433,9 +32684,9 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
32433
32684
|
* @throws {RequiredError}
|
|
32434
32685
|
* @memberof ServicesApi
|
|
32435
32686
|
*/
|
|
32436
|
-
ServicesApi.prototype.apiV1ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32687
|
+
ServicesApi.prototype.apiV1ServicesGet = function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, showHidden, languageCode, page, limit, lastRetrieved, options) {
|
|
32437
32688
|
var _this = this;
|
|
32438
|
-
return exports.ServicesApiFp(this.configuration).apiV1ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created,
|
|
32689
|
+
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); });
|
|
32439
32690
|
};
|
|
32440
32691
|
/**
|
|
32441
32692
|
*
|