ch-admin-api-client-typescript 5.19.70 → 5.19.71
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/hospitals-api.d.ts +434 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +612 -0
- package/lib/models/create-page-command.d.ts +75 -0
- package/lib/models/create-page-command.d.ts.map +1 -0
- package/lib/models/create-page-command.js +15 -0
- package/lib/models/index.d.ts +17 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +17 -0
- package/lib/models/page-block-input-model.d.ts +101 -0
- package/lib/models/page-block-input-model.d.ts.map +1 -0
- package/lib/models/page-block-input-model.js +15 -0
- package/lib/models/page-block-link-input-model.d.ts +56 -0
- package/lib/models/page-block-link-input-model.d.ts.map +1 -0
- package/lib/models/page-block-link-input-model.js +15 -0
- package/lib/models/page-block-link-model.d.ts +68 -0
- package/lib/models/page-block-link-model.d.ts.map +1 -0
- package/lib/models/page-block-link-model.js +15 -0
- package/lib/models/page-block-link-type.d.ts +22 -0
- package/lib/models/page-block-link-type.d.ts.map +1 -0
- package/lib/models/page-block-link-type.js +25 -0
- package/lib/models/page-block-location-input-model.d.ts +49 -0
- package/lib/models/page-block-location-input-model.d.ts.map +1 -0
- package/lib/models/page-block-location-input-model.js +15 -0
- package/lib/models/page-block-location-model.d.ts +49 -0
- package/lib/models/page-block-location-model.d.ts.map +1 -0
- package/lib/models/page-block-location-model.js +15 -0
- package/lib/models/page-block-model.d.ts +113 -0
- package/lib/models/page-block-model.d.ts.map +1 -0
- package/lib/models/page-block-model.js +15 -0
- package/lib/models/page-block-type.d.ts +29 -0
- package/lib/models/page-block-type.d.ts.map +1 -0
- package/lib/models/page-block-type.js +32 -0
- package/lib/models/page-item-item-model.d.ts +69 -0
- package/lib/models/page-item-item-model.d.ts.map +1 -0
- package/lib/models/page-item-item-model.js +15 -0
- package/lib/models/page-item-model.d.ts +100 -0
- package/lib/models/page-item-model.d.ts.map +1 -0
- package/lib/models/page-item-model.js +15 -0
- package/lib/models/page-item-status.d.ts +23 -0
- package/lib/models/page-item-status.d.ts.map +1 -0
- package/lib/models/page-item-status.js +26 -0
- package/lib/models/page-items-model.d.ts +33 -0
- package/lib/models/page-items-model.d.ts.map +1 -0
- package/lib/models/page-items-model.js +15 -0
- package/lib/models/page-section-input-model.d.ts +51 -0
- package/lib/models/page-section-input-model.d.ts.map +1 -0
- package/lib/models/page-section-input-model.js +15 -0
- package/lib/models/page-section-list-type.d.ts +23 -0
- package/lib/models/page-section-list-type.d.ts.map +1 -0
- package/lib/models/page-section-list-type.js +26 -0
- package/lib/models/page-section-model.d.ts +51 -0
- package/lib/models/page-section-model.d.ts.map +1 -0
- package/lib/models/page-section-model.js +15 -0
- package/lib/models/update-page-command.d.ts +75 -0
- package/lib/models/update-page-command.d.ts.map +1 -0
- package/lib/models/update-page-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +17 -0
- package/src/api/hospitals-api.ts +758 -4
- package/src/models/create-page-command.ts +84 -0
- package/src/models/index.ts +17 -0
- package/src/models/page-block-input-model.ts +114 -0
- package/src/models/page-block-link-input-model.ts +63 -0
- package/src/models/page-block-link-model.ts +75 -0
- package/src/models/page-block-link-type.ts +31 -0
- package/src/models/page-block-location-input-model.ts +54 -0
- package/src/models/page-block-location-model.ts +54 -0
- package/src/models/page-block-model.ts +126 -0
- package/src/models/page-block-type.ts +38 -0
- package/src/models/page-item-item-model.ts +78 -0
- package/src/models/page-item-model.ts +111 -0
- package/src/models/page-item-status.ts +32 -0
- package/src/models/page-items-model.ts +42 -0
- package/src/models/page-section-input-model.ts +60 -0
- package/src/models/page-section-list-type.ts +32 -0
- package/src/models/page-section-model.ts +60 -0
- package/src/models/update-page-command.ts +84 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -4305,6 +4305,332 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4305
4305
|
});
|
|
4306
4306
|
});
|
|
4307
4307
|
},
|
|
4308
|
+
/**
|
|
4309
|
+
*
|
|
4310
|
+
* @summary Get hospital pageItems
|
|
4311
|
+
* @param {string} hospitalId
|
|
4312
|
+
* @param {string} [id]
|
|
4313
|
+
* @param {string} [languageCode]
|
|
4314
|
+
* @param {string} [name]
|
|
4315
|
+
* @param {PageItemStatus} [status]
|
|
4316
|
+
* @param {boolean} [showHidden]
|
|
4317
|
+
* @param {number} [page]
|
|
4318
|
+
* @param {number} [limit]
|
|
4319
|
+
* @param {Date} [lastRetrieved]
|
|
4320
|
+
* @param {*} [options] Override http request option.
|
|
4321
|
+
* @throws {RequiredError}
|
|
4322
|
+
*/
|
|
4323
|
+
apiV1HospitalsHospitalIdPagesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
4324
|
+
if (options === void 0) { options = {}; }
|
|
4325
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4326
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4327
|
+
return __generator(this, function (_a) {
|
|
4328
|
+
switch (_a.label) {
|
|
4329
|
+
case 0:
|
|
4330
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4331
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesGet', 'hospitalId', hospitalId);
|
|
4332
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages"
|
|
4333
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4334
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4335
|
+
if (configuration) {
|
|
4336
|
+
baseOptions = configuration.baseOptions;
|
|
4337
|
+
}
|
|
4338
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4339
|
+
localVarHeaderParameter = {};
|
|
4340
|
+
localVarQueryParameter = {};
|
|
4341
|
+
// authentication oauth2 required
|
|
4342
|
+
// oauth required
|
|
4343
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4344
|
+
case 1:
|
|
4345
|
+
// authentication oauth2 required
|
|
4346
|
+
// oauth required
|
|
4347
|
+
_a.sent();
|
|
4348
|
+
if (id !== undefined) {
|
|
4349
|
+
localVarQueryParameter['Id'] = id;
|
|
4350
|
+
}
|
|
4351
|
+
if (languageCode !== undefined) {
|
|
4352
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
4353
|
+
}
|
|
4354
|
+
if (name !== undefined) {
|
|
4355
|
+
localVarQueryParameter['Name'] = name;
|
|
4356
|
+
}
|
|
4357
|
+
if (status !== undefined) {
|
|
4358
|
+
localVarQueryParameter['Status'] = status;
|
|
4359
|
+
}
|
|
4360
|
+
if (showHidden !== undefined) {
|
|
4361
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
4362
|
+
}
|
|
4363
|
+
if (page !== undefined) {
|
|
4364
|
+
localVarQueryParameter['page'] = page;
|
|
4365
|
+
}
|
|
4366
|
+
if (limit !== undefined) {
|
|
4367
|
+
localVarQueryParameter['limit'] = limit;
|
|
4368
|
+
}
|
|
4369
|
+
if (lastRetrieved !== undefined) {
|
|
4370
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
4371
|
+
lastRetrieved.toISOString() :
|
|
4372
|
+
lastRetrieved;
|
|
4373
|
+
}
|
|
4374
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4375
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4376
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4377
|
+
return [2 /*return*/, {
|
|
4378
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4379
|
+
options: localVarRequestOptions,
|
|
4380
|
+
}];
|
|
4381
|
+
}
|
|
4382
|
+
});
|
|
4383
|
+
});
|
|
4384
|
+
},
|
|
4385
|
+
/**
|
|
4386
|
+
*
|
|
4387
|
+
* @summary Delete page
|
|
4388
|
+
* @param {string} hospitalId
|
|
4389
|
+
* @param {string} pageItemId
|
|
4390
|
+
* @param {boolean} [isPermanent]
|
|
4391
|
+
* @param {string} [languageCode]
|
|
4392
|
+
* @param {*} [options] Override http request option.
|
|
4393
|
+
* @throws {RequiredError}
|
|
4394
|
+
*/
|
|
4395
|
+
apiV1HospitalsHospitalIdPagesPageItemIdDelete: function (hospitalId, pageItemId, isPermanent, languageCode, options) {
|
|
4396
|
+
if (options === void 0) { options = {}; }
|
|
4397
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4398
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4399
|
+
return __generator(this, function (_a) {
|
|
4400
|
+
switch (_a.label) {
|
|
4401
|
+
case 0:
|
|
4402
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4403
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'hospitalId', hospitalId);
|
|
4404
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4405
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'pageItemId', pageItemId);
|
|
4406
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages/{pageItemId}"
|
|
4407
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4408
|
+
.replace("{".concat("pageItemId", "}"), encodeURIComponent(String(pageItemId)));
|
|
4409
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4410
|
+
if (configuration) {
|
|
4411
|
+
baseOptions = configuration.baseOptions;
|
|
4412
|
+
}
|
|
4413
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
4414
|
+
localVarHeaderParameter = {};
|
|
4415
|
+
localVarQueryParameter = {};
|
|
4416
|
+
// authentication oauth2 required
|
|
4417
|
+
// oauth required
|
|
4418
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4419
|
+
case 1:
|
|
4420
|
+
// authentication oauth2 required
|
|
4421
|
+
// oauth required
|
|
4422
|
+
_a.sent();
|
|
4423
|
+
if (isPermanent !== undefined) {
|
|
4424
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
4425
|
+
}
|
|
4426
|
+
if (languageCode !== undefined) {
|
|
4427
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4428
|
+
}
|
|
4429
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4430
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4431
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4432
|
+
return [2 /*return*/, {
|
|
4433
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4434
|
+
options: localVarRequestOptions,
|
|
4435
|
+
}];
|
|
4436
|
+
}
|
|
4437
|
+
});
|
|
4438
|
+
});
|
|
4439
|
+
},
|
|
4440
|
+
/**
|
|
4441
|
+
*
|
|
4442
|
+
* @summary Get hospital page
|
|
4443
|
+
* @param {string} hospitalId
|
|
4444
|
+
* @param {string} pageItemId
|
|
4445
|
+
* @param {string} [languageCode]
|
|
4446
|
+
* @param {*} [options] Override http request option.
|
|
4447
|
+
* @throws {RequiredError}
|
|
4448
|
+
*/
|
|
4449
|
+
apiV1HospitalsHospitalIdPagesPageItemIdGet: function (hospitalId, pageItemId, languageCode, options) {
|
|
4450
|
+
if (options === void 0) { options = {}; }
|
|
4451
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4452
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4453
|
+
return __generator(this, function (_a) {
|
|
4454
|
+
switch (_a.label) {
|
|
4455
|
+
case 0:
|
|
4456
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4457
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'hospitalId', hospitalId);
|
|
4458
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4459
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'pageItemId', pageItemId);
|
|
4460
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages/{pageItemId}"
|
|
4461
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4462
|
+
.replace("{".concat("pageItemId", "}"), encodeURIComponent(String(pageItemId)));
|
|
4463
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4464
|
+
if (configuration) {
|
|
4465
|
+
baseOptions = configuration.baseOptions;
|
|
4466
|
+
}
|
|
4467
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4468
|
+
localVarHeaderParameter = {};
|
|
4469
|
+
localVarQueryParameter = {};
|
|
4470
|
+
// authentication oauth2 required
|
|
4471
|
+
// oauth required
|
|
4472
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4473
|
+
case 1:
|
|
4474
|
+
// authentication oauth2 required
|
|
4475
|
+
// oauth required
|
|
4476
|
+
_a.sent();
|
|
4477
|
+
if (languageCode !== undefined) {
|
|
4478
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4479
|
+
}
|
|
4480
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4481
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4482
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4483
|
+
return [2 /*return*/, {
|
|
4484
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4485
|
+
options: localVarRequestOptions,
|
|
4486
|
+
}];
|
|
4487
|
+
}
|
|
4488
|
+
});
|
|
4489
|
+
});
|
|
4490
|
+
},
|
|
4491
|
+
/**
|
|
4492
|
+
*
|
|
4493
|
+
* @summary Update page
|
|
4494
|
+
* @param {string} hospitalId
|
|
4495
|
+
* @param {string} pageItemId
|
|
4496
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
4497
|
+
* @param {*} [options] Override http request option.
|
|
4498
|
+
* @throws {RequiredError}
|
|
4499
|
+
*/
|
|
4500
|
+
apiV1HospitalsHospitalIdPagesPageItemIdPut: function (hospitalId, pageItemId, updatePageCommand, options) {
|
|
4501
|
+
if (options === void 0) { options = {}; }
|
|
4502
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4503
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4504
|
+
return __generator(this, function (_a) {
|
|
4505
|
+
switch (_a.label) {
|
|
4506
|
+
case 0:
|
|
4507
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4508
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'hospitalId', hospitalId);
|
|
4509
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4510
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'pageItemId', pageItemId);
|
|
4511
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages/{pageItemId}"
|
|
4512
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4513
|
+
.replace("{".concat("pageItemId", "}"), encodeURIComponent(String(pageItemId)));
|
|
4514
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4515
|
+
if (configuration) {
|
|
4516
|
+
baseOptions = configuration.baseOptions;
|
|
4517
|
+
}
|
|
4518
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4519
|
+
localVarHeaderParameter = {};
|
|
4520
|
+
localVarQueryParameter = {};
|
|
4521
|
+
// authentication oauth2 required
|
|
4522
|
+
// oauth required
|
|
4523
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4524
|
+
case 1:
|
|
4525
|
+
// authentication oauth2 required
|
|
4526
|
+
// oauth required
|
|
4527
|
+
_a.sent();
|
|
4528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4529
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4530
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4531
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4532
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePageCommand, localVarRequestOptions, configuration);
|
|
4533
|
+
return [2 /*return*/, {
|
|
4534
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4535
|
+
options: localVarRequestOptions,
|
|
4536
|
+
}];
|
|
4537
|
+
}
|
|
4538
|
+
});
|
|
4539
|
+
});
|
|
4540
|
+
},
|
|
4541
|
+
/**
|
|
4542
|
+
*
|
|
4543
|
+
* @summary Reactivate page
|
|
4544
|
+
* @param {string} hospitalId
|
|
4545
|
+
* @param {string} pageItemId
|
|
4546
|
+
* @param {*} [options] Override http request option.
|
|
4547
|
+
* @throws {RequiredError}
|
|
4548
|
+
*/
|
|
4549
|
+
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: function (hospitalId, pageItemId, options) {
|
|
4550
|
+
if (options === void 0) { options = {}; }
|
|
4551
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4552
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4553
|
+
return __generator(this, function (_a) {
|
|
4554
|
+
switch (_a.label) {
|
|
4555
|
+
case 0:
|
|
4556
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4557
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'hospitalId', hospitalId);
|
|
4558
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4559
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'pageItemId', pageItemId);
|
|
4560
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages/{pageItemId}/reactivate"
|
|
4561
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4562
|
+
.replace("{".concat("pageItemId", "}"), encodeURIComponent(String(pageItemId)));
|
|
4563
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4564
|
+
if (configuration) {
|
|
4565
|
+
baseOptions = configuration.baseOptions;
|
|
4566
|
+
}
|
|
4567
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4568
|
+
localVarHeaderParameter = {};
|
|
4569
|
+
localVarQueryParameter = {};
|
|
4570
|
+
// authentication oauth2 required
|
|
4571
|
+
// oauth required
|
|
4572
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4573
|
+
case 1:
|
|
4574
|
+
// authentication oauth2 required
|
|
4575
|
+
// oauth required
|
|
4576
|
+
_a.sent();
|
|
4577
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4578
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4579
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4580
|
+
return [2 /*return*/, {
|
|
4581
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4582
|
+
options: localVarRequestOptions,
|
|
4583
|
+
}];
|
|
4584
|
+
}
|
|
4585
|
+
});
|
|
4586
|
+
});
|
|
4587
|
+
},
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @summary Create page
|
|
4591
|
+
* @param {string} hospitalId
|
|
4592
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
4593
|
+
* @param {*} [options] Override http request option.
|
|
4594
|
+
* @throws {RequiredError}
|
|
4595
|
+
*/
|
|
4596
|
+
apiV1HospitalsHospitalIdPagesPost: function (hospitalId, createPageCommand, options) {
|
|
4597
|
+
if (options === void 0) { options = {}; }
|
|
4598
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4599
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4600
|
+
return __generator(this, function (_a) {
|
|
4601
|
+
switch (_a.label) {
|
|
4602
|
+
case 0:
|
|
4603
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4604
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPost', 'hospitalId', hospitalId);
|
|
4605
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/pages"
|
|
4606
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4607
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4608
|
+
if (configuration) {
|
|
4609
|
+
baseOptions = configuration.baseOptions;
|
|
4610
|
+
}
|
|
4611
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4612
|
+
localVarHeaderParameter = {};
|
|
4613
|
+
localVarQueryParameter = {};
|
|
4614
|
+
// authentication oauth2 required
|
|
4615
|
+
// oauth required
|
|
4616
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
4617
|
+
case 1:
|
|
4618
|
+
// authentication oauth2 required
|
|
4619
|
+
// oauth required
|
|
4620
|
+
_a.sent();
|
|
4621
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4622
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4623
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4624
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4625
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPageCommand, localVarRequestOptions, configuration);
|
|
4626
|
+
return [2 /*return*/, {
|
|
4627
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4628
|
+
options: localVarRequestOptions,
|
|
4629
|
+
}];
|
|
4630
|
+
}
|
|
4631
|
+
});
|
|
4632
|
+
});
|
|
4633
|
+
},
|
|
4308
4634
|
/**
|
|
4309
4635
|
*
|
|
4310
4636
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -10606,6 +10932,143 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10606
10932
|
});
|
|
10607
10933
|
});
|
|
10608
10934
|
},
|
|
10935
|
+
/**
|
|
10936
|
+
*
|
|
10937
|
+
* @summary Get hospital pageItems
|
|
10938
|
+
* @param {string} hospitalId
|
|
10939
|
+
* @param {string} [id]
|
|
10940
|
+
* @param {string} [languageCode]
|
|
10941
|
+
* @param {string} [name]
|
|
10942
|
+
* @param {PageItemStatus} [status]
|
|
10943
|
+
* @param {boolean} [showHidden]
|
|
10944
|
+
* @param {number} [page]
|
|
10945
|
+
* @param {number} [limit]
|
|
10946
|
+
* @param {Date} [lastRetrieved]
|
|
10947
|
+
* @param {*} [options] Override http request option.
|
|
10948
|
+
* @throws {RequiredError}
|
|
10949
|
+
*/
|
|
10950
|
+
apiV1HospitalsHospitalIdPagesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
10951
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10952
|
+
var localVarAxiosArgs;
|
|
10953
|
+
return __generator(this, function (_a) {
|
|
10954
|
+
switch (_a.label) {
|
|
10955
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options)];
|
|
10956
|
+
case 1:
|
|
10957
|
+
localVarAxiosArgs = _a.sent();
|
|
10958
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10959
|
+
}
|
|
10960
|
+
});
|
|
10961
|
+
});
|
|
10962
|
+
},
|
|
10963
|
+
/**
|
|
10964
|
+
*
|
|
10965
|
+
* @summary Delete page
|
|
10966
|
+
* @param {string} hospitalId
|
|
10967
|
+
* @param {string} pageItemId
|
|
10968
|
+
* @param {boolean} [isPermanent]
|
|
10969
|
+
* @param {string} [languageCode]
|
|
10970
|
+
* @param {*} [options] Override http request option.
|
|
10971
|
+
* @throws {RequiredError}
|
|
10972
|
+
*/
|
|
10973
|
+
apiV1HospitalsHospitalIdPagesPageItemIdDelete: function (hospitalId, pageItemId, isPermanent, languageCode, options) {
|
|
10974
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10975
|
+
var localVarAxiosArgs;
|
|
10976
|
+
return __generator(this, function (_a) {
|
|
10977
|
+
switch (_a.label) {
|
|
10978
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options)];
|
|
10979
|
+
case 1:
|
|
10980
|
+
localVarAxiosArgs = _a.sent();
|
|
10981
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10982
|
+
}
|
|
10983
|
+
});
|
|
10984
|
+
});
|
|
10985
|
+
},
|
|
10986
|
+
/**
|
|
10987
|
+
*
|
|
10988
|
+
* @summary Get hospital page
|
|
10989
|
+
* @param {string} hospitalId
|
|
10990
|
+
* @param {string} pageItemId
|
|
10991
|
+
* @param {string} [languageCode]
|
|
10992
|
+
* @param {*} [options] Override http request option.
|
|
10993
|
+
* @throws {RequiredError}
|
|
10994
|
+
*/
|
|
10995
|
+
apiV1HospitalsHospitalIdPagesPageItemIdGet: function (hospitalId, pageItemId, languageCode, options) {
|
|
10996
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10997
|
+
var localVarAxiosArgs;
|
|
10998
|
+
return __generator(this, function (_a) {
|
|
10999
|
+
switch (_a.label) {
|
|
11000
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options)];
|
|
11001
|
+
case 1:
|
|
11002
|
+
localVarAxiosArgs = _a.sent();
|
|
11003
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11004
|
+
}
|
|
11005
|
+
});
|
|
11006
|
+
});
|
|
11007
|
+
},
|
|
11008
|
+
/**
|
|
11009
|
+
*
|
|
11010
|
+
* @summary Update page
|
|
11011
|
+
* @param {string} hospitalId
|
|
11012
|
+
* @param {string} pageItemId
|
|
11013
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
11014
|
+
* @param {*} [options] Override http request option.
|
|
11015
|
+
* @throws {RequiredError}
|
|
11016
|
+
*/
|
|
11017
|
+
apiV1HospitalsHospitalIdPagesPageItemIdPut: function (hospitalId, pageItemId, updatePageCommand, options) {
|
|
11018
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11019
|
+
var localVarAxiosArgs;
|
|
11020
|
+
return __generator(this, function (_a) {
|
|
11021
|
+
switch (_a.label) {
|
|
11022
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options)];
|
|
11023
|
+
case 1:
|
|
11024
|
+
localVarAxiosArgs = _a.sent();
|
|
11025
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11026
|
+
}
|
|
11027
|
+
});
|
|
11028
|
+
});
|
|
11029
|
+
},
|
|
11030
|
+
/**
|
|
11031
|
+
*
|
|
11032
|
+
* @summary Reactivate page
|
|
11033
|
+
* @param {string} hospitalId
|
|
11034
|
+
* @param {string} pageItemId
|
|
11035
|
+
* @param {*} [options] Override http request option.
|
|
11036
|
+
* @throws {RequiredError}
|
|
11037
|
+
*/
|
|
11038
|
+
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: function (hospitalId, pageItemId, options) {
|
|
11039
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11040
|
+
var localVarAxiosArgs;
|
|
11041
|
+
return __generator(this, function (_a) {
|
|
11042
|
+
switch (_a.label) {
|
|
11043
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options)];
|
|
11044
|
+
case 1:
|
|
11045
|
+
localVarAxiosArgs = _a.sent();
|
|
11046
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11047
|
+
}
|
|
11048
|
+
});
|
|
11049
|
+
});
|
|
11050
|
+
},
|
|
11051
|
+
/**
|
|
11052
|
+
*
|
|
11053
|
+
* @summary Create page
|
|
11054
|
+
* @param {string} hospitalId
|
|
11055
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
11056
|
+
* @param {*} [options] Override http request option.
|
|
11057
|
+
* @throws {RequiredError}
|
|
11058
|
+
*/
|
|
11059
|
+
apiV1HospitalsHospitalIdPagesPost: function (hospitalId, createPageCommand, options) {
|
|
11060
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11061
|
+
var localVarAxiosArgs;
|
|
11062
|
+
return __generator(this, function (_a) {
|
|
11063
|
+
switch (_a.label) {
|
|
11064
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options)];
|
|
11065
|
+
case 1:
|
|
11066
|
+
localVarAxiosArgs = _a.sent();
|
|
11067
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11068
|
+
}
|
|
11069
|
+
});
|
|
11070
|
+
});
|
|
11071
|
+
},
|
|
10609
11072
|
/**
|
|
10610
11073
|
*
|
|
10611
11074
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -13479,6 +13942,83 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13479
13942
|
apiV1HospitalsHospitalIdNoticesSortPut: function (hospitalId, noticeSortingCommand, options) {
|
|
13480
13943
|
return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13481
13944
|
},
|
|
13945
|
+
/**
|
|
13946
|
+
*
|
|
13947
|
+
* @summary Get hospital pageItems
|
|
13948
|
+
* @param {string} hospitalId
|
|
13949
|
+
* @param {string} [id]
|
|
13950
|
+
* @param {string} [languageCode]
|
|
13951
|
+
* @param {string} [name]
|
|
13952
|
+
* @param {PageItemStatus} [status]
|
|
13953
|
+
* @param {boolean} [showHidden]
|
|
13954
|
+
* @param {number} [page]
|
|
13955
|
+
* @param {number} [limit]
|
|
13956
|
+
* @param {Date} [lastRetrieved]
|
|
13957
|
+
* @param {*} [options] Override http request option.
|
|
13958
|
+
* @throws {RequiredError}
|
|
13959
|
+
*/
|
|
13960
|
+
apiV1HospitalsHospitalIdPagesGet: function (hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options) {
|
|
13961
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13962
|
+
},
|
|
13963
|
+
/**
|
|
13964
|
+
*
|
|
13965
|
+
* @summary Delete page
|
|
13966
|
+
* @param {string} hospitalId
|
|
13967
|
+
* @param {string} pageItemId
|
|
13968
|
+
* @param {boolean} [isPermanent]
|
|
13969
|
+
* @param {string} [languageCode]
|
|
13970
|
+
* @param {*} [options] Override http request option.
|
|
13971
|
+
* @throws {RequiredError}
|
|
13972
|
+
*/
|
|
13973
|
+
apiV1HospitalsHospitalIdPagesPageItemIdDelete: function (hospitalId, pageItemId, isPermanent, languageCode, options) {
|
|
13974
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13975
|
+
},
|
|
13976
|
+
/**
|
|
13977
|
+
*
|
|
13978
|
+
* @summary Get hospital page
|
|
13979
|
+
* @param {string} hospitalId
|
|
13980
|
+
* @param {string} pageItemId
|
|
13981
|
+
* @param {string} [languageCode]
|
|
13982
|
+
* @param {*} [options] Override http request option.
|
|
13983
|
+
* @throws {RequiredError}
|
|
13984
|
+
*/
|
|
13985
|
+
apiV1HospitalsHospitalIdPagesPageItemIdGet: function (hospitalId, pageItemId, languageCode, options) {
|
|
13986
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13987
|
+
},
|
|
13988
|
+
/**
|
|
13989
|
+
*
|
|
13990
|
+
* @summary Update page
|
|
13991
|
+
* @param {string} hospitalId
|
|
13992
|
+
* @param {string} pageItemId
|
|
13993
|
+
* @param {UpdatePageCommand} [updatePageCommand]
|
|
13994
|
+
* @param {*} [options] Override http request option.
|
|
13995
|
+
* @throws {RequiredError}
|
|
13996
|
+
*/
|
|
13997
|
+
apiV1HospitalsHospitalIdPagesPageItemIdPut: function (hospitalId, pageItemId, updatePageCommand, options) {
|
|
13998
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13999
|
+
},
|
|
14000
|
+
/**
|
|
14001
|
+
*
|
|
14002
|
+
* @summary Reactivate page
|
|
14003
|
+
* @param {string} hospitalId
|
|
14004
|
+
* @param {string} pageItemId
|
|
14005
|
+
* @param {*} [options] Override http request option.
|
|
14006
|
+
* @throws {RequiredError}
|
|
14007
|
+
*/
|
|
14008
|
+
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: function (hospitalId, pageItemId, options) {
|
|
14009
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options).then(function (request) { return request(axios, basePath); });
|
|
14010
|
+
},
|
|
14011
|
+
/**
|
|
14012
|
+
*
|
|
14013
|
+
* @summary Create page
|
|
14014
|
+
* @param {string} hospitalId
|
|
14015
|
+
* @param {CreatePageCommand} [createPageCommand]
|
|
14016
|
+
* @param {*} [options] Override http request option.
|
|
14017
|
+
* @throws {RequiredError}
|
|
14018
|
+
*/
|
|
14019
|
+
apiV1HospitalsHospitalIdPagesPost: function (hospitalId, createPageCommand, options) {
|
|
14020
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
14021
|
+
},
|
|
13482
14022
|
/**
|
|
13483
14023
|
*
|
|
13484
14024
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -15504,6 +16044,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
15504
16044
|
var _this = this;
|
|
15505
16045
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesSortPut(requestParameters.hospitalId, requestParameters.noticeSortingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15506
16046
|
};
|
|
16047
|
+
/**
|
|
16048
|
+
*
|
|
16049
|
+
* @summary Get hospital pageItems
|
|
16050
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest} requestParameters Request parameters.
|
|
16051
|
+
* @param {*} [options] Override http request option.
|
|
16052
|
+
* @throws {RequiredError}
|
|
16053
|
+
* @memberof HospitalsApi
|
|
16054
|
+
*/
|
|
16055
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesGet = function (requestParameters, options) {
|
|
16056
|
+
var _this = this;
|
|
16057
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16058
|
+
};
|
|
16059
|
+
/**
|
|
16060
|
+
*
|
|
16061
|
+
* @summary Delete page
|
|
16062
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest} requestParameters Request parameters.
|
|
16063
|
+
* @param {*} [options] Override http request option.
|
|
16064
|
+
* @throws {RequiredError}
|
|
16065
|
+
* @memberof HospitalsApi
|
|
16066
|
+
*/
|
|
16067
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesPageItemIdDelete = function (requestParameters, options) {
|
|
16068
|
+
var _this = this;
|
|
16069
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdDelete(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.isPermanent, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16070
|
+
};
|
|
16071
|
+
/**
|
|
16072
|
+
*
|
|
16073
|
+
* @summary Get hospital page
|
|
16074
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest} requestParameters Request parameters.
|
|
16075
|
+
* @param {*} [options] Override http request option.
|
|
16076
|
+
* @throws {RequiredError}
|
|
16077
|
+
* @memberof HospitalsApi
|
|
16078
|
+
*/
|
|
16079
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesPageItemIdGet = function (requestParameters, options) {
|
|
16080
|
+
var _this = this;
|
|
16081
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdGet(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16082
|
+
};
|
|
16083
|
+
/**
|
|
16084
|
+
*
|
|
16085
|
+
* @summary Update page
|
|
16086
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest} requestParameters Request parameters.
|
|
16087
|
+
* @param {*} [options] Override http request option.
|
|
16088
|
+
* @throws {RequiredError}
|
|
16089
|
+
* @memberof HospitalsApi
|
|
16090
|
+
*/
|
|
16091
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesPageItemIdPut = function (requestParameters, options) {
|
|
16092
|
+
var _this = this;
|
|
16093
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdPut(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.updatePageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16094
|
+
};
|
|
16095
|
+
/**
|
|
16096
|
+
*
|
|
16097
|
+
* @summary Reactivate page
|
|
16098
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest} requestParameters Request parameters.
|
|
16099
|
+
* @param {*} [options] Override http request option.
|
|
16100
|
+
* @throws {RequiredError}
|
|
16101
|
+
* @memberof HospitalsApi
|
|
16102
|
+
*/
|
|
16103
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut = function (requestParameters, options) {
|
|
16104
|
+
var _this = this;
|
|
16105
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters.hospitalId, requestParameters.pageItemId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16106
|
+
};
|
|
16107
|
+
/**
|
|
16108
|
+
*
|
|
16109
|
+
* @summary Create page
|
|
16110
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest} requestParameters Request parameters.
|
|
16111
|
+
* @param {*} [options] Override http request option.
|
|
16112
|
+
* @throws {RequiredError}
|
|
16113
|
+
* @memberof HospitalsApi
|
|
16114
|
+
*/
|
|
16115
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdPagesPost = function (requestParameters, options) {
|
|
16116
|
+
var _this = this;
|
|
16117
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPagesPost(requestParameters.hospitalId, requestParameters.createPageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16118
|
+
};
|
|
15507
16119
|
/**
|
|
15508
16120
|
*
|
|
15509
16121
|
* @summary Get hospitalPaymentMethods list
|