ch-admin-api-client-typescript 4.3.5 → 4.3.7
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 +989 -25
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +769 -29
- package/package.json +1 -1
- package/src/api.ts +1380 -83
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.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.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.SearchIndexType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.Platform = 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.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = 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.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.SearchIndexType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.Platform = 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
|
|
@@ -20447,6 +20447,138 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
20447
20447
|
return FaqsApi;
|
|
20448
20448
|
}(base_1.BaseAPI));
|
|
20449
20449
|
exports.FaqsApi = FaqsApi;
|
|
20450
|
+
/**
|
|
20451
|
+
* GroupChannelsApi - axios parameter creator
|
|
20452
|
+
* @export
|
|
20453
|
+
*/
|
|
20454
|
+
exports.GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
20455
|
+
var _this = this;
|
|
20456
|
+
return {
|
|
20457
|
+
/**
|
|
20458
|
+
*
|
|
20459
|
+
* @summary invite user to group channel
|
|
20460
|
+
* @param {string} channelUrl
|
|
20461
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
20462
|
+
* @param {*} [options] Override http request option.
|
|
20463
|
+
* @throws {RequiredError}
|
|
20464
|
+
*/
|
|
20465
|
+
apiV1GroupchannelsChannelUrlInvitePost: function (channelUrl, inviteSendBirdGroupChannelCommand, options) {
|
|
20466
|
+
if (options === void 0) { options = {}; }
|
|
20467
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20468
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20469
|
+
return __generator(this, function (_a) {
|
|
20470
|
+
switch (_a.label) {
|
|
20471
|
+
case 0:
|
|
20472
|
+
// verify required parameter 'channelUrl' is not null or undefined
|
|
20473
|
+
common_1.assertParamExists('apiV1GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl);
|
|
20474
|
+
localVarPath = "/api/v1/groupchannels/{channelUrl}/invite"
|
|
20475
|
+
.replace("{" + "channelUrl" + "}", encodeURIComponent(String(channelUrl)));
|
|
20476
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20477
|
+
if (configuration) {
|
|
20478
|
+
baseOptions = configuration.baseOptions;
|
|
20479
|
+
}
|
|
20480
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20481
|
+
localVarHeaderParameter = {};
|
|
20482
|
+
localVarQueryParameter = {};
|
|
20483
|
+
// authentication oauth2 required
|
|
20484
|
+
// oauth required
|
|
20485
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20486
|
+
case 1:
|
|
20487
|
+
// authentication oauth2 required
|
|
20488
|
+
// oauth required
|
|
20489
|
+
_a.sent();
|
|
20490
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20491
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20492
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20493
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20494
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration);
|
|
20495
|
+
return [2 /*return*/, {
|
|
20496
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20497
|
+
options: localVarRequestOptions,
|
|
20498
|
+
}];
|
|
20499
|
+
}
|
|
20500
|
+
});
|
|
20501
|
+
});
|
|
20502
|
+
},
|
|
20503
|
+
};
|
|
20504
|
+
};
|
|
20505
|
+
/**
|
|
20506
|
+
* GroupChannelsApi - functional programming interface
|
|
20507
|
+
* @export
|
|
20508
|
+
*/
|
|
20509
|
+
exports.GroupChannelsApiFp = function (configuration) {
|
|
20510
|
+
var localVarAxiosParamCreator = exports.GroupChannelsApiAxiosParamCreator(configuration);
|
|
20511
|
+
return {
|
|
20512
|
+
/**
|
|
20513
|
+
*
|
|
20514
|
+
* @summary invite user to group channel
|
|
20515
|
+
* @param {string} channelUrl
|
|
20516
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
20517
|
+
* @param {*} [options] Override http request option.
|
|
20518
|
+
* @throws {RequiredError}
|
|
20519
|
+
*/
|
|
20520
|
+
apiV1GroupchannelsChannelUrlInvitePost: function (channelUrl, inviteSendBirdGroupChannelCommand, options) {
|
|
20521
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20522
|
+
var localVarAxiosArgs;
|
|
20523
|
+
return __generator(this, function (_a) {
|
|
20524
|
+
switch (_a.label) {
|
|
20525
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options)];
|
|
20526
|
+
case 1:
|
|
20527
|
+
localVarAxiosArgs = _a.sent();
|
|
20528
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
20529
|
+
}
|
|
20530
|
+
});
|
|
20531
|
+
});
|
|
20532
|
+
},
|
|
20533
|
+
};
|
|
20534
|
+
};
|
|
20535
|
+
/**
|
|
20536
|
+
* GroupChannelsApi - factory interface
|
|
20537
|
+
* @export
|
|
20538
|
+
*/
|
|
20539
|
+
exports.GroupChannelsApiFactory = function (configuration, basePath, axios) {
|
|
20540
|
+
var localVarFp = exports.GroupChannelsApiFp(configuration);
|
|
20541
|
+
return {
|
|
20542
|
+
/**
|
|
20543
|
+
*
|
|
20544
|
+
* @summary invite user to group channel
|
|
20545
|
+
* @param {string} channelUrl
|
|
20546
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
20547
|
+
* @param {*} [options] Override http request option.
|
|
20548
|
+
* @throws {RequiredError}
|
|
20549
|
+
*/
|
|
20550
|
+
apiV1GroupchannelsChannelUrlInvitePost: function (channelUrl, inviteSendBirdGroupChannelCommand, options) {
|
|
20551
|
+
return localVarFp.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then(function (request) { return request(axios, basePath); });
|
|
20552
|
+
},
|
|
20553
|
+
};
|
|
20554
|
+
};
|
|
20555
|
+
/**
|
|
20556
|
+
* GroupChannelsApi - object-oriented interface
|
|
20557
|
+
* @export
|
|
20558
|
+
* @class GroupChannelsApi
|
|
20559
|
+
* @extends {BaseAPI}
|
|
20560
|
+
*/
|
|
20561
|
+
var GroupChannelsApi = /** @class */ (function (_super) {
|
|
20562
|
+
__extends(GroupChannelsApi, _super);
|
|
20563
|
+
function GroupChannelsApi() {
|
|
20564
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
20565
|
+
}
|
|
20566
|
+
/**
|
|
20567
|
+
*
|
|
20568
|
+
* @summary invite user to group channel
|
|
20569
|
+
* @param {string} channelUrl
|
|
20570
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
20571
|
+
* @param {*} [options] Override http request option.
|
|
20572
|
+
* @throws {RequiredError}
|
|
20573
|
+
* @memberof GroupChannelsApi
|
|
20574
|
+
*/
|
|
20575
|
+
GroupChannelsApi.prototype.apiV1GroupchannelsChannelUrlInvitePost = function (channelUrl, inviteSendBirdGroupChannelCommand, options) {
|
|
20576
|
+
var _this = this;
|
|
20577
|
+
return exports.GroupChannelsApiFp(this.configuration).apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20578
|
+
};
|
|
20579
|
+
return GroupChannelsApi;
|
|
20580
|
+
}(base_1.BaseAPI));
|
|
20581
|
+
exports.GroupChannelsApi = GroupChannelsApi;
|
|
20450
20582
|
/**
|
|
20451
20583
|
* HospitalsApi - axios parameter creator
|
|
20452
20584
|
* @export
|
|
@@ -21758,12 +21890,323 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21758
21890
|
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId);
|
|
21759
21891
|
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
21760
21892
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21761
|
-
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
21893
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
21894
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21895
|
+
if (configuration) {
|
|
21896
|
+
baseOptions = configuration.baseOptions;
|
|
21897
|
+
}
|
|
21898
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
21899
|
+
localVarHeaderParameter = {};
|
|
21900
|
+
localVarQueryParameter = {};
|
|
21901
|
+
// authentication oauth2 required
|
|
21902
|
+
// oauth required
|
|
21903
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
21904
|
+
case 1:
|
|
21905
|
+
// authentication oauth2 required
|
|
21906
|
+
// oauth required
|
|
21907
|
+
_a.sent();
|
|
21908
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21909
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21910
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21911
|
+
return [2 /*return*/, {
|
|
21912
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
21913
|
+
options: localVarRequestOptions,
|
|
21914
|
+
}];
|
|
21915
|
+
}
|
|
21916
|
+
});
|
|
21917
|
+
});
|
|
21918
|
+
},
|
|
21919
|
+
/**
|
|
21920
|
+
*
|
|
21921
|
+
* @summary Get HospitalHandle.
|
|
21922
|
+
* @param {string} hospitalId
|
|
21923
|
+
* @param {string} handleId
|
|
21924
|
+
* @param {*} [options] Override http request option.
|
|
21925
|
+
* @throws {RequiredError}
|
|
21926
|
+
*/
|
|
21927
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
21928
|
+
if (options === void 0) { options = {}; }
|
|
21929
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21930
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21931
|
+
return __generator(this, function (_a) {
|
|
21932
|
+
switch (_a.label) {
|
|
21933
|
+
case 0:
|
|
21934
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
21935
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
|
|
21936
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
21937
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
|
|
21938
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
21939
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21940
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
21941
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21942
|
+
if (configuration) {
|
|
21943
|
+
baseOptions = configuration.baseOptions;
|
|
21944
|
+
}
|
|
21945
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
21946
|
+
localVarHeaderParameter = {};
|
|
21947
|
+
localVarQueryParameter = {};
|
|
21948
|
+
// authentication oauth2 required
|
|
21949
|
+
// oauth required
|
|
21950
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
21951
|
+
case 1:
|
|
21952
|
+
// authentication oauth2 required
|
|
21953
|
+
// oauth required
|
|
21954
|
+
_a.sent();
|
|
21955
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21956
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21957
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21958
|
+
return [2 /*return*/, {
|
|
21959
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
21960
|
+
options: localVarRequestOptions,
|
|
21961
|
+
}];
|
|
21962
|
+
}
|
|
21963
|
+
});
|
|
21964
|
+
});
|
|
21965
|
+
},
|
|
21966
|
+
/**
|
|
21967
|
+
*
|
|
21968
|
+
* @summary Update HospitalHandle.
|
|
21969
|
+
* @param {string} hospitalId
|
|
21970
|
+
* @param {string} handleId
|
|
21971
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
21972
|
+
* @param {*} [options] Override http request option.
|
|
21973
|
+
* @throws {RequiredError}
|
|
21974
|
+
*/
|
|
21975
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: function (hospitalId, handleId, updateHospitalSnsHandleCommand, options) {
|
|
21976
|
+
if (options === void 0) { options = {}; }
|
|
21977
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21978
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21979
|
+
return __generator(this, function (_a) {
|
|
21980
|
+
switch (_a.label) {
|
|
21981
|
+
case 0:
|
|
21982
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
21983
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId);
|
|
21984
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
21985
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId);
|
|
21986
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles/{handleId}"
|
|
21987
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21988
|
+
.replace("{" + "handleId" + "}", encodeURIComponent(String(handleId)));
|
|
21989
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21990
|
+
if (configuration) {
|
|
21991
|
+
baseOptions = configuration.baseOptions;
|
|
21992
|
+
}
|
|
21993
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
21994
|
+
localVarHeaderParameter = {};
|
|
21995
|
+
localVarQueryParameter = {};
|
|
21996
|
+
// authentication oauth2 required
|
|
21997
|
+
// oauth required
|
|
21998
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
21999
|
+
case 1:
|
|
22000
|
+
// authentication oauth2 required
|
|
22001
|
+
// oauth required
|
|
22002
|
+
_a.sent();
|
|
22003
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22004
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22005
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22006
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22007
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
22008
|
+
return [2 /*return*/, {
|
|
22009
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22010
|
+
options: localVarRequestOptions,
|
|
22011
|
+
}];
|
|
22012
|
+
}
|
|
22013
|
+
});
|
|
22014
|
+
});
|
|
22015
|
+
},
|
|
22016
|
+
/**
|
|
22017
|
+
*
|
|
22018
|
+
* @summary Get HospitalHandle.
|
|
22019
|
+
* @param {string} hospitalId
|
|
22020
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
22021
|
+
* @param {*} [options] Override http request option.
|
|
22022
|
+
* @throws {RequiredError}
|
|
22023
|
+
*/
|
|
22024
|
+
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
22025
|
+
if (options === void 0) { options = {}; }
|
|
22026
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22027
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22028
|
+
return __generator(this, function (_a) {
|
|
22029
|
+
switch (_a.label) {
|
|
22030
|
+
case 0:
|
|
22031
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
22032
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId);
|
|
22033
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/handles"
|
|
22034
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
22035
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22036
|
+
if (configuration) {
|
|
22037
|
+
baseOptions = configuration.baseOptions;
|
|
22038
|
+
}
|
|
22039
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
22040
|
+
localVarHeaderParameter = {};
|
|
22041
|
+
localVarQueryParameter = {};
|
|
22042
|
+
// authentication oauth2 required
|
|
22043
|
+
// oauth required
|
|
22044
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22045
|
+
case 1:
|
|
22046
|
+
// authentication oauth2 required
|
|
22047
|
+
// oauth required
|
|
22048
|
+
_a.sent();
|
|
22049
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22050
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22051
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22052
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22053
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
22054
|
+
return [2 /*return*/, {
|
|
22055
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22056
|
+
options: localVarRequestOptions,
|
|
22057
|
+
}];
|
|
22058
|
+
}
|
|
22059
|
+
});
|
|
22060
|
+
});
|
|
22061
|
+
},
|
|
22062
|
+
/**
|
|
22063
|
+
*
|
|
22064
|
+
* @summary Get all GetAllLandings.
|
|
22065
|
+
* @param {string} hospitalId
|
|
22066
|
+
* @param {string} [name]
|
|
22067
|
+
* @param {string} [slug]
|
|
22068
|
+
* @param {string} [languageCode]
|
|
22069
|
+
* @param {boolean} [showHidden]
|
|
22070
|
+
* @param {number} [page]
|
|
22071
|
+
* @param {number} [limit]
|
|
22072
|
+
* @param {Date} [lastRetrieved]
|
|
22073
|
+
* @param {*} [options] Override http request option.
|
|
22074
|
+
* @throws {RequiredError}
|
|
22075
|
+
*/
|
|
22076
|
+
apiV1HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
22077
|
+
if (options === void 0) { options = {}; }
|
|
22078
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22079
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22080
|
+
return __generator(this, function (_a) {
|
|
22081
|
+
switch (_a.label) {
|
|
22082
|
+
case 0:
|
|
22083
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
22084
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsGet', 'hospitalId', hospitalId);
|
|
22085
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings"
|
|
22086
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
22087
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22088
|
+
if (configuration) {
|
|
22089
|
+
baseOptions = configuration.baseOptions;
|
|
22090
|
+
}
|
|
22091
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
22092
|
+
localVarHeaderParameter = {};
|
|
22093
|
+
localVarQueryParameter = {};
|
|
22094
|
+
// authentication oauth2 required
|
|
22095
|
+
// oauth required
|
|
22096
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22097
|
+
case 1:
|
|
22098
|
+
// authentication oauth2 required
|
|
22099
|
+
// oauth required
|
|
22100
|
+
_a.sent();
|
|
22101
|
+
if (name !== undefined) {
|
|
22102
|
+
localVarQueryParameter['Name'] = name;
|
|
22103
|
+
}
|
|
22104
|
+
if (slug !== undefined) {
|
|
22105
|
+
localVarQueryParameter['Slug'] = slug;
|
|
22106
|
+
}
|
|
22107
|
+
if (languageCode !== undefined) {
|
|
22108
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
22109
|
+
}
|
|
22110
|
+
if (showHidden !== undefined) {
|
|
22111
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
22112
|
+
}
|
|
22113
|
+
if (page !== undefined) {
|
|
22114
|
+
localVarQueryParameter['page'] = page;
|
|
22115
|
+
}
|
|
22116
|
+
if (limit !== undefined) {
|
|
22117
|
+
localVarQueryParameter['limit'] = limit;
|
|
22118
|
+
}
|
|
22119
|
+
if (lastRetrieved !== undefined) {
|
|
22120
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
22121
|
+
lastRetrieved.toISOString() :
|
|
22122
|
+
lastRetrieved;
|
|
22123
|
+
}
|
|
22124
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22125
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22126
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22127
|
+
return [2 /*return*/, {
|
|
22128
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22129
|
+
options: localVarRequestOptions,
|
|
22130
|
+
}];
|
|
22131
|
+
}
|
|
22132
|
+
});
|
|
22133
|
+
});
|
|
22134
|
+
},
|
|
22135
|
+
/**
|
|
22136
|
+
*
|
|
22137
|
+
* @summary Delete Landing.
|
|
22138
|
+
* @param {string} hospitalId
|
|
22139
|
+
* @param {string} landingId
|
|
22140
|
+
* @param {*} [options] Override http request option.
|
|
22141
|
+
* @throws {RequiredError}
|
|
22142
|
+
*/
|
|
22143
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
22144
|
+
if (options === void 0) { options = {}; }
|
|
22145
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22146
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22147
|
+
return __generator(this, function (_a) {
|
|
22148
|
+
switch (_a.label) {
|
|
22149
|
+
case 0:
|
|
22150
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
22151
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'hospitalId', hospitalId);
|
|
22152
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
22153
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'landingId', landingId);
|
|
22154
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}"
|
|
22155
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
22156
|
+
.replace("{" + "landingId" + "}", encodeURIComponent(String(landingId)));
|
|
22157
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22158
|
+
if (configuration) {
|
|
22159
|
+
baseOptions = configuration.baseOptions;
|
|
22160
|
+
}
|
|
22161
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
22162
|
+
localVarHeaderParameter = {};
|
|
22163
|
+
localVarQueryParameter = {};
|
|
22164
|
+
// authentication oauth2 required
|
|
22165
|
+
// oauth required
|
|
22166
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22167
|
+
case 1:
|
|
22168
|
+
// authentication oauth2 required
|
|
22169
|
+
// oauth required
|
|
22170
|
+
_a.sent();
|
|
22171
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22172
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22173
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22174
|
+
return [2 /*return*/, {
|
|
22175
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22176
|
+
options: localVarRequestOptions,
|
|
22177
|
+
}];
|
|
22178
|
+
}
|
|
22179
|
+
});
|
|
22180
|
+
});
|
|
22181
|
+
},
|
|
22182
|
+
/**
|
|
22183
|
+
*
|
|
22184
|
+
* @summary Get Landing
|
|
22185
|
+
* @param {string} hospitalId
|
|
22186
|
+
* @param {string} landingId
|
|
22187
|
+
* @param {string} [languageCode]
|
|
22188
|
+
* @param {*} [options] Override http request option.
|
|
22189
|
+
* @throws {RequiredError}
|
|
22190
|
+
*/
|
|
22191
|
+
apiV1HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
22192
|
+
if (options === void 0) { options = {}; }
|
|
22193
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22194
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22195
|
+
return __generator(this, function (_a) {
|
|
22196
|
+
switch (_a.label) {
|
|
22197
|
+
case 0:
|
|
22198
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
22199
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'hospitalId', hospitalId);
|
|
22200
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
22201
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'landingId', landingId);
|
|
22202
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}"
|
|
22203
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
22204
|
+
.replace("{" + "landingId" + "}", encodeURIComponent(String(landingId)));
|
|
21762
22205
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21763
22206
|
if (configuration) {
|
|
21764
22207
|
baseOptions = configuration.baseOptions;
|
|
21765
22208
|
}
|
|
21766
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
22209
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
21767
22210
|
localVarHeaderParameter = {};
|
|
21768
22211
|
localVarQueryParameter = {};
|
|
21769
22212
|
// authentication oauth2 required
|
|
@@ -21773,6 +22216,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21773
22216
|
// authentication oauth2 required
|
|
21774
22217
|
// oauth required
|
|
21775
22218
|
_a.sent();
|
|
22219
|
+
if (languageCode !== undefined) {
|
|
22220
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
22221
|
+
}
|
|
21776
22222
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21777
22223
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21778
22224
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21786,13 +22232,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21786
22232
|
},
|
|
21787
22233
|
/**
|
|
21788
22234
|
*
|
|
21789
|
-
* @summary
|
|
22235
|
+
* @summary Update Landing
|
|
21790
22236
|
* @param {string} hospitalId
|
|
21791
|
-
* @param {string}
|
|
22237
|
+
* @param {string} landingId
|
|
22238
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
21792
22239
|
* @param {*} [options] Override http request option.
|
|
21793
22240
|
* @throws {RequiredError}
|
|
21794
22241
|
*/
|
|
21795
|
-
|
|
22242
|
+
apiV1HospitalsHospitalIdLandingsLandingIdPut: function (hospitalId, landingId, updateLandingCommand, options) {
|
|
21796
22243
|
if (options === void 0) { options = {}; }
|
|
21797
22244
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21798
22245
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21800,17 +22247,17 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21800
22247
|
switch (_a.label) {
|
|
21801
22248
|
case 0:
|
|
21802
22249
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21803
|
-
common_1.assertParamExists('
|
|
21804
|
-
// verify required parameter '
|
|
21805
|
-
common_1.assertParamExists('
|
|
21806
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
22250
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'hospitalId', hospitalId);
|
|
22251
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
22252
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'landingId', landingId);
|
|
22253
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}"
|
|
21807
22254
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21808
|
-
.replace("{" + "
|
|
22255
|
+
.replace("{" + "landingId" + "}", encodeURIComponent(String(landingId)));
|
|
21809
22256
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21810
22257
|
if (configuration) {
|
|
21811
22258
|
baseOptions = configuration.baseOptions;
|
|
21812
22259
|
}
|
|
21813
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
22260
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
21814
22261
|
localVarHeaderParameter = {};
|
|
21815
22262
|
localVarQueryParameter = {};
|
|
21816
22263
|
// authentication oauth2 required
|
|
@@ -21820,9 +22267,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21820
22267
|
// authentication oauth2 required
|
|
21821
22268
|
// oauth required
|
|
21822
22269
|
_a.sent();
|
|
22270
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21823
22271
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21824
22272
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21825
22273
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22274
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLandingCommand, localVarRequestOptions, configuration);
|
|
21826
22275
|
return [2 /*return*/, {
|
|
21827
22276
|
url: common_1.toPathString(localVarUrlObj),
|
|
21828
22277
|
options: localVarRequestOptions,
|
|
@@ -21833,14 +22282,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21833
22282
|
},
|
|
21834
22283
|
/**
|
|
21835
22284
|
*
|
|
21836
|
-
* @summary
|
|
22285
|
+
* @summary Reactivate Landing
|
|
21837
22286
|
* @param {string} hospitalId
|
|
21838
|
-
* @param {string}
|
|
21839
|
-
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
22287
|
+
* @param {string} landingId
|
|
21840
22288
|
* @param {*} [options] Override http request option.
|
|
21841
22289
|
* @throws {RequiredError}
|
|
21842
22290
|
*/
|
|
21843
|
-
|
|
22291
|
+
apiV1HospitalsHospitalIdLandingsLandingIdReactivePut: function (hospitalId, landingId, options) {
|
|
21844
22292
|
if (options === void 0) { options = {}; }
|
|
21845
22293
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21846
22294
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21848,12 +22296,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21848
22296
|
switch (_a.label) {
|
|
21849
22297
|
case 0:
|
|
21850
22298
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21851
|
-
common_1.assertParamExists('
|
|
21852
|
-
// verify required parameter '
|
|
21853
|
-
common_1.assertParamExists('
|
|
21854
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
22299
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'hospitalId', hospitalId);
|
|
22300
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
22301
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'landingId', landingId);
|
|
22302
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings/{landingId}/reactive"
|
|
21855
22303
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
21856
|
-
.replace("{" + "
|
|
22304
|
+
.replace("{" + "landingId" + "}", encodeURIComponent(String(landingId)));
|
|
21857
22305
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21858
22306
|
if (configuration) {
|
|
21859
22307
|
baseOptions = configuration.baseOptions;
|
|
@@ -21868,11 +22316,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21868
22316
|
// authentication oauth2 required
|
|
21869
22317
|
// oauth required
|
|
21870
22318
|
_a.sent();
|
|
21871
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21872
22319
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21873
22320
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21874
22321
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21875
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration);
|
|
21876
22322
|
return [2 /*return*/, {
|
|
21877
22323
|
url: common_1.toPathString(localVarUrlObj),
|
|
21878
22324
|
options: localVarRequestOptions,
|
|
@@ -21883,13 +22329,13 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21883
22329
|
},
|
|
21884
22330
|
/**
|
|
21885
22331
|
*
|
|
21886
|
-
* @summary
|
|
22332
|
+
* @summary Create HospitalLandings.
|
|
21887
22333
|
* @param {string} hospitalId
|
|
21888
|
-
* @param {
|
|
22334
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
21889
22335
|
* @param {*} [options] Override http request option.
|
|
21890
22336
|
* @throws {RequiredError}
|
|
21891
22337
|
*/
|
|
21892
|
-
|
|
22338
|
+
apiV1HospitalsHospitalIdLandingsPost: function (hospitalId, createLandingCommand, options) {
|
|
21893
22339
|
if (options === void 0) { options = {}; }
|
|
21894
22340
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21895
22341
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21897,8 +22343,8 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21897
22343
|
switch (_a.label) {
|
|
21898
22344
|
case 0:
|
|
21899
22345
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
21900
|
-
common_1.assertParamExists('
|
|
21901
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/
|
|
22346
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdLandingsPost', 'hospitalId', hospitalId);
|
|
22347
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/landings"
|
|
21902
22348
|
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
21903
22349
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21904
22350
|
if (configuration) {
|
|
@@ -21918,7 +22364,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21918
22364
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21919
22365
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21920
22366
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21921
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
22367
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createLandingCommand, localVarRequestOptions, configuration);
|
|
21922
22368
|
return [2 /*return*/, {
|
|
21923
22369
|
url: common_1.toPathString(localVarUrlObj),
|
|
21924
22370
|
options: localVarRequestOptions,
|
|
@@ -24938,6 +25384,140 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24938
25384
|
});
|
|
24939
25385
|
});
|
|
24940
25386
|
},
|
|
25387
|
+
/**
|
|
25388
|
+
*
|
|
25389
|
+
* @summary Get all GetAllLandings.
|
|
25390
|
+
* @param {string} hospitalId
|
|
25391
|
+
* @param {string} [name]
|
|
25392
|
+
* @param {string} [slug]
|
|
25393
|
+
* @param {string} [languageCode]
|
|
25394
|
+
* @param {boolean} [showHidden]
|
|
25395
|
+
* @param {number} [page]
|
|
25396
|
+
* @param {number} [limit]
|
|
25397
|
+
* @param {Date} [lastRetrieved]
|
|
25398
|
+
* @param {*} [options] Override http request option.
|
|
25399
|
+
* @throws {RequiredError}
|
|
25400
|
+
*/
|
|
25401
|
+
apiV1HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
25402
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25403
|
+
var localVarAxiosArgs;
|
|
25404
|
+
return __generator(this, function (_a) {
|
|
25405
|
+
switch (_a.label) {
|
|
25406
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
25407
|
+
case 1:
|
|
25408
|
+
localVarAxiosArgs = _a.sent();
|
|
25409
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25410
|
+
}
|
|
25411
|
+
});
|
|
25412
|
+
});
|
|
25413
|
+
},
|
|
25414
|
+
/**
|
|
25415
|
+
*
|
|
25416
|
+
* @summary Delete Landing.
|
|
25417
|
+
* @param {string} hospitalId
|
|
25418
|
+
* @param {string} landingId
|
|
25419
|
+
* @param {*} [options] Override http request option.
|
|
25420
|
+
* @throws {RequiredError}
|
|
25421
|
+
*/
|
|
25422
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
25423
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25424
|
+
var localVarAxiosArgs;
|
|
25425
|
+
return __generator(this, function (_a) {
|
|
25426
|
+
switch (_a.label) {
|
|
25427
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options)];
|
|
25428
|
+
case 1:
|
|
25429
|
+
localVarAxiosArgs = _a.sent();
|
|
25430
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25431
|
+
}
|
|
25432
|
+
});
|
|
25433
|
+
});
|
|
25434
|
+
},
|
|
25435
|
+
/**
|
|
25436
|
+
*
|
|
25437
|
+
* @summary Get Landing
|
|
25438
|
+
* @param {string} hospitalId
|
|
25439
|
+
* @param {string} landingId
|
|
25440
|
+
* @param {string} [languageCode]
|
|
25441
|
+
* @param {*} [options] Override http request option.
|
|
25442
|
+
* @throws {RequiredError}
|
|
25443
|
+
*/
|
|
25444
|
+
apiV1HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
25445
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25446
|
+
var localVarAxiosArgs;
|
|
25447
|
+
return __generator(this, function (_a) {
|
|
25448
|
+
switch (_a.label) {
|
|
25449
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options)];
|
|
25450
|
+
case 1:
|
|
25451
|
+
localVarAxiosArgs = _a.sent();
|
|
25452
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25453
|
+
}
|
|
25454
|
+
});
|
|
25455
|
+
});
|
|
25456
|
+
},
|
|
25457
|
+
/**
|
|
25458
|
+
*
|
|
25459
|
+
* @summary Update Landing
|
|
25460
|
+
* @param {string} hospitalId
|
|
25461
|
+
* @param {string} landingId
|
|
25462
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
25463
|
+
* @param {*} [options] Override http request option.
|
|
25464
|
+
* @throws {RequiredError}
|
|
25465
|
+
*/
|
|
25466
|
+
apiV1HospitalsHospitalIdLandingsLandingIdPut: function (hospitalId, landingId, updateLandingCommand, options) {
|
|
25467
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25468
|
+
var localVarAxiosArgs;
|
|
25469
|
+
return __generator(this, function (_a) {
|
|
25470
|
+
switch (_a.label) {
|
|
25471
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options)];
|
|
25472
|
+
case 1:
|
|
25473
|
+
localVarAxiosArgs = _a.sent();
|
|
25474
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25475
|
+
}
|
|
25476
|
+
});
|
|
25477
|
+
});
|
|
25478
|
+
},
|
|
25479
|
+
/**
|
|
25480
|
+
*
|
|
25481
|
+
* @summary Reactivate Landing
|
|
25482
|
+
* @param {string} hospitalId
|
|
25483
|
+
* @param {string} landingId
|
|
25484
|
+
* @param {*} [options] Override http request option.
|
|
25485
|
+
* @throws {RequiredError}
|
|
25486
|
+
*/
|
|
25487
|
+
apiV1HospitalsHospitalIdLandingsLandingIdReactivePut: function (hospitalId, landingId, options) {
|
|
25488
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25489
|
+
var localVarAxiosArgs;
|
|
25490
|
+
return __generator(this, function (_a) {
|
|
25491
|
+
switch (_a.label) {
|
|
25492
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options)];
|
|
25493
|
+
case 1:
|
|
25494
|
+
localVarAxiosArgs = _a.sent();
|
|
25495
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25496
|
+
}
|
|
25497
|
+
});
|
|
25498
|
+
});
|
|
25499
|
+
},
|
|
25500
|
+
/**
|
|
25501
|
+
*
|
|
25502
|
+
* @summary Create HospitalLandings.
|
|
25503
|
+
* @param {string} hospitalId
|
|
25504
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
25505
|
+
* @param {*} [options] Override http request option.
|
|
25506
|
+
* @throws {RequiredError}
|
|
25507
|
+
*/
|
|
25508
|
+
apiV1HospitalsHospitalIdLandingsPost: function (hospitalId, createLandingCommand, options) {
|
|
25509
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
25510
|
+
var localVarAxiosArgs;
|
|
25511
|
+
return __generator(this, function (_a) {
|
|
25512
|
+
switch (_a.label) {
|
|
25513
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options)];
|
|
25514
|
+
case 1:
|
|
25515
|
+
localVarAxiosArgs = _a.sent();
|
|
25516
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
25517
|
+
}
|
|
25518
|
+
});
|
|
25519
|
+
});
|
|
25520
|
+
},
|
|
24941
25521
|
/**
|
|
24942
25522
|
*
|
|
24943
25523
|
* @summary Get all GetAllLanguages.
|
|
@@ -26273,6 +26853,80 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
26273
26853
|
apiV1HospitalsHospitalIdHandlesPost: function (hospitalId, createHospitalSnsHandleCommand, options) {
|
|
26274
26854
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26275
26855
|
},
|
|
26856
|
+
/**
|
|
26857
|
+
*
|
|
26858
|
+
* @summary Get all GetAllLandings.
|
|
26859
|
+
* @param {string} hospitalId
|
|
26860
|
+
* @param {string} [name]
|
|
26861
|
+
* @param {string} [slug]
|
|
26862
|
+
* @param {string} [languageCode]
|
|
26863
|
+
* @param {boolean} [showHidden]
|
|
26864
|
+
* @param {number} [page]
|
|
26865
|
+
* @param {number} [limit]
|
|
26866
|
+
* @param {Date} [lastRetrieved]
|
|
26867
|
+
* @param {*} [options] Override http request option.
|
|
26868
|
+
* @throws {RequiredError}
|
|
26869
|
+
*/
|
|
26870
|
+
apiV1HospitalsHospitalIdLandingsGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
26871
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26872
|
+
},
|
|
26873
|
+
/**
|
|
26874
|
+
*
|
|
26875
|
+
* @summary Delete Landing.
|
|
26876
|
+
* @param {string} hospitalId
|
|
26877
|
+
* @param {string} landingId
|
|
26878
|
+
* @param {*} [options] Override http request option.
|
|
26879
|
+
* @throws {RequiredError}
|
|
26880
|
+
*/
|
|
26881
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
26882
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then(function (request) { return request(axios, basePath); });
|
|
26883
|
+
},
|
|
26884
|
+
/**
|
|
26885
|
+
*
|
|
26886
|
+
* @summary Get Landing
|
|
26887
|
+
* @param {string} hospitalId
|
|
26888
|
+
* @param {string} landingId
|
|
26889
|
+
* @param {string} [languageCode]
|
|
26890
|
+
* @param {*} [options] Override http request option.
|
|
26891
|
+
* @throws {RequiredError}
|
|
26892
|
+
*/
|
|
26893
|
+
apiV1HospitalsHospitalIdLandingsLandingIdGet: function (hospitalId, landingId, languageCode, options) {
|
|
26894
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
26895
|
+
},
|
|
26896
|
+
/**
|
|
26897
|
+
*
|
|
26898
|
+
* @summary Update Landing
|
|
26899
|
+
* @param {string} hospitalId
|
|
26900
|
+
* @param {string} landingId
|
|
26901
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
26902
|
+
* @param {*} [options] Override http request option.
|
|
26903
|
+
* @throws {RequiredError}
|
|
26904
|
+
*/
|
|
26905
|
+
apiV1HospitalsHospitalIdLandingsLandingIdPut: function (hospitalId, landingId, updateLandingCommand, options) {
|
|
26906
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26907
|
+
},
|
|
26908
|
+
/**
|
|
26909
|
+
*
|
|
26910
|
+
* @summary Reactivate Landing
|
|
26911
|
+
* @param {string} hospitalId
|
|
26912
|
+
* @param {string} landingId
|
|
26913
|
+
* @param {*} [options] Override http request option.
|
|
26914
|
+
* @throws {RequiredError}
|
|
26915
|
+
*/
|
|
26916
|
+
apiV1HospitalsHospitalIdLandingsLandingIdReactivePut: function (hospitalId, landingId, options) {
|
|
26917
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then(function (request) { return request(axios, basePath); });
|
|
26918
|
+
},
|
|
26919
|
+
/**
|
|
26920
|
+
*
|
|
26921
|
+
* @summary Create HospitalLandings.
|
|
26922
|
+
* @param {string} hospitalId
|
|
26923
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
26924
|
+
* @param {*} [options] Override http request option.
|
|
26925
|
+
* @throws {RequiredError}
|
|
26926
|
+
*/
|
|
26927
|
+
apiV1HospitalsHospitalIdLandingsPost: function (hospitalId, createLandingCommand, options) {
|
|
26928
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26929
|
+
},
|
|
26276
26930
|
/**
|
|
26277
26931
|
*
|
|
26278
26932
|
* @summary Get all GetAllLanguages.
|
|
@@ -27246,6 +27900,92 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
27246
27900
|
var _this = this;
|
|
27247
27901
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27248
27902
|
};
|
|
27903
|
+
/**
|
|
27904
|
+
*
|
|
27905
|
+
* @summary Get all GetAllLandings.
|
|
27906
|
+
* @param {string} hospitalId
|
|
27907
|
+
* @param {string} [name]
|
|
27908
|
+
* @param {string} [slug]
|
|
27909
|
+
* @param {string} [languageCode]
|
|
27910
|
+
* @param {boolean} [showHidden]
|
|
27911
|
+
* @param {number} [page]
|
|
27912
|
+
* @param {number} [limit]
|
|
27913
|
+
* @param {Date} [lastRetrieved]
|
|
27914
|
+
* @param {*} [options] Override http request option.
|
|
27915
|
+
* @throws {RequiredError}
|
|
27916
|
+
* @memberof HospitalsApi
|
|
27917
|
+
*/
|
|
27918
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsGet = function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
27919
|
+
var _this = this;
|
|
27920
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27921
|
+
};
|
|
27922
|
+
/**
|
|
27923
|
+
*
|
|
27924
|
+
* @summary Delete Landing.
|
|
27925
|
+
* @param {string} hospitalId
|
|
27926
|
+
* @param {string} landingId
|
|
27927
|
+
* @param {*} [options] Override http request option.
|
|
27928
|
+
* @throws {RequiredError}
|
|
27929
|
+
* @memberof HospitalsApi
|
|
27930
|
+
*/
|
|
27931
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdDelete = function (hospitalId, landingId, options) {
|
|
27932
|
+
var _this = this;
|
|
27933
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27934
|
+
};
|
|
27935
|
+
/**
|
|
27936
|
+
*
|
|
27937
|
+
* @summary Get Landing
|
|
27938
|
+
* @param {string} hospitalId
|
|
27939
|
+
* @param {string} landingId
|
|
27940
|
+
* @param {string} [languageCode]
|
|
27941
|
+
* @param {*} [options] Override http request option.
|
|
27942
|
+
* @throws {RequiredError}
|
|
27943
|
+
* @memberof HospitalsApi
|
|
27944
|
+
*/
|
|
27945
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdGet = function (hospitalId, landingId, languageCode, options) {
|
|
27946
|
+
var _this = this;
|
|
27947
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27948
|
+
};
|
|
27949
|
+
/**
|
|
27950
|
+
*
|
|
27951
|
+
* @summary Update Landing
|
|
27952
|
+
* @param {string} hospitalId
|
|
27953
|
+
* @param {string} landingId
|
|
27954
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
27955
|
+
* @param {*} [options] Override http request option.
|
|
27956
|
+
* @throws {RequiredError}
|
|
27957
|
+
* @memberof HospitalsApi
|
|
27958
|
+
*/
|
|
27959
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdPut = function (hospitalId, landingId, updateLandingCommand, options) {
|
|
27960
|
+
var _this = this;
|
|
27961
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27962
|
+
};
|
|
27963
|
+
/**
|
|
27964
|
+
*
|
|
27965
|
+
* @summary Reactivate Landing
|
|
27966
|
+
* @param {string} hospitalId
|
|
27967
|
+
* @param {string} landingId
|
|
27968
|
+
* @param {*} [options] Override http request option.
|
|
27969
|
+
* @throws {RequiredError}
|
|
27970
|
+
* @memberof HospitalsApi
|
|
27971
|
+
*/
|
|
27972
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut = function (hospitalId, landingId, options) {
|
|
27973
|
+
var _this = this;
|
|
27974
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27975
|
+
};
|
|
27976
|
+
/**
|
|
27977
|
+
*
|
|
27978
|
+
* @summary Create HospitalLandings.
|
|
27979
|
+
* @param {string} hospitalId
|
|
27980
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
27981
|
+
* @param {*} [options] Override http request option.
|
|
27982
|
+
* @throws {RequiredError}
|
|
27983
|
+
* @memberof HospitalsApi
|
|
27984
|
+
*/
|
|
27985
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsPost = function (hospitalId, createLandingCommand, options) {
|
|
27986
|
+
var _this = this;
|
|
27987
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27988
|
+
};
|
|
27249
27989
|
/**
|
|
27250
27990
|
*
|
|
27251
27991
|
* @summary Get all GetAllLanguages.
|