ch-admin-api-client-typescript 5.19.69 → 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 +773 -6
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1172 -69
- package/lib/models/create-hospital-rating-command.d.ts +61 -0
- package/lib/models/create-hospital-rating-command.d.ts.map +1 -0
- package/lib/models/create-hospital-rating-command.js +15 -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/hospital-rating-item-model.d.ts +67 -0
- package/lib/models/hospital-rating-item-model.d.ts.map +1 -0
- package/lib/models/hospital-rating-item-model.js +15 -0
- package/lib/models/hospital-rating-model.d.ts +67 -0
- package/lib/models/hospital-rating-model.d.ts.map +1 -0
- package/lib/models/hospital-rating-model.js +15 -0
- package/lib/models/hospital-ratings-model.d.ts +33 -0
- package/lib/models/hospital-ratings-model.d.ts.map +1 -0
- package/lib/models/hospital-ratings-model.js +15 -0
- package/lib/models/index.d.ts +22 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +22 -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-hospital-rating-command.d.ts +61 -0
- package/lib/models/update-hospital-rating-command.d.ts.map +1 -0
- package/lib/models/update-hospital-rating-command.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 +22 -0
- package/src/api/hospitals-api.ts +1539 -201
- package/src/models/create-hospital-rating-command.ts +66 -0
- package/src/models/create-page-command.ts +84 -0
- package/src/models/hospital-rating-item-model.ts +72 -0
- package/src/models/hospital-rating-model.ts +72 -0
- package/src/models/hospital-ratings-model.ts +42 -0
- package/src/models/index.ts +22 -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-hospital-rating-command.ts +66 -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
|
|
@@ -4801,17 +5127,272 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4801
5127
|
switch (_a.label) {
|
|
4802
5128
|
case 0:
|
|
4803
5129
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4804
|
-
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'hospitalId', hospitalId);
|
|
4805
|
-
// verify required parameter 'policyId' is not null or undefined
|
|
4806
|
-
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'policyId', policyId);
|
|
4807
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactivate"
|
|
5130
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'hospitalId', hospitalId);
|
|
5131
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
5132
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut', 'policyId', policyId);
|
|
5133
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies/{policyId}/reactivate"
|
|
5134
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
5135
|
+
.replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
|
|
5136
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5137
|
+
if (configuration) {
|
|
5138
|
+
baseOptions = configuration.baseOptions;
|
|
5139
|
+
}
|
|
5140
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5141
|
+
localVarHeaderParameter = {};
|
|
5142
|
+
localVarQueryParameter = {};
|
|
5143
|
+
// authentication oauth2 required
|
|
5144
|
+
// oauth required
|
|
5145
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
5146
|
+
case 1:
|
|
5147
|
+
// authentication oauth2 required
|
|
5148
|
+
// oauth required
|
|
5149
|
+
_a.sent();
|
|
5150
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5151
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5152
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5153
|
+
return [2 /*return*/, {
|
|
5154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5155
|
+
options: localVarRequestOptions,
|
|
5156
|
+
}];
|
|
5157
|
+
}
|
|
5158
|
+
});
|
|
5159
|
+
});
|
|
5160
|
+
},
|
|
5161
|
+
/**
|
|
5162
|
+
*
|
|
5163
|
+
* @summary Create policy
|
|
5164
|
+
* @param {string} hospitalId
|
|
5165
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
5166
|
+
* @param {*} [options] Override http request option.
|
|
5167
|
+
* @throws {RequiredError}
|
|
5168
|
+
*/
|
|
5169
|
+
apiV1HospitalsHospitalIdPoliciesPost: function (hospitalId, createPolicyCommand, options) {
|
|
5170
|
+
if (options === void 0) { options = {}; }
|
|
5171
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5172
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5173
|
+
return __generator(this, function (_a) {
|
|
5174
|
+
switch (_a.label) {
|
|
5175
|
+
case 0:
|
|
5176
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5177
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPoliciesPost', 'hospitalId', hospitalId);
|
|
5178
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/policies"
|
|
5179
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
5180
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5181
|
+
if (configuration) {
|
|
5182
|
+
baseOptions = configuration.baseOptions;
|
|
5183
|
+
}
|
|
5184
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
5185
|
+
localVarHeaderParameter = {};
|
|
5186
|
+
localVarQueryParameter = {};
|
|
5187
|
+
// authentication oauth2 required
|
|
5188
|
+
// oauth required
|
|
5189
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
5190
|
+
case 1:
|
|
5191
|
+
// authentication oauth2 required
|
|
5192
|
+
// oauth required
|
|
5193
|
+
_a.sent();
|
|
5194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5195
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5196
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5197
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5198
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPolicyCommand, localVarRequestOptions, configuration);
|
|
5199
|
+
return [2 /*return*/, {
|
|
5200
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5201
|
+
options: localVarRequestOptions,
|
|
5202
|
+
}];
|
|
5203
|
+
}
|
|
5204
|
+
});
|
|
5205
|
+
});
|
|
5206
|
+
},
|
|
5207
|
+
/**
|
|
5208
|
+
*
|
|
5209
|
+
* @summary Update Hospital.
|
|
5210
|
+
* @param {string} hospitalId
|
|
5211
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
5212
|
+
* @param {*} [options] Override http request option.
|
|
5213
|
+
* @throws {RequiredError}
|
|
5214
|
+
*/
|
|
5215
|
+
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
5216
|
+
if (options === void 0) { options = {}; }
|
|
5217
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5218
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5219
|
+
return __generator(this, function (_a) {
|
|
5220
|
+
switch (_a.label) {
|
|
5221
|
+
case 0:
|
|
5222
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5223
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPut', 'hospitalId', hospitalId);
|
|
5224
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}"
|
|
5225
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
5226
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5227
|
+
if (configuration) {
|
|
5228
|
+
baseOptions = configuration.baseOptions;
|
|
5229
|
+
}
|
|
5230
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
5231
|
+
localVarHeaderParameter = {};
|
|
5232
|
+
localVarQueryParameter = {};
|
|
5233
|
+
// authentication oauth2 required
|
|
5234
|
+
// oauth required
|
|
5235
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
5236
|
+
case 1:
|
|
5237
|
+
// authentication oauth2 required
|
|
5238
|
+
// oauth required
|
|
5239
|
+
_a.sent();
|
|
5240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5241
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5242
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5243
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5244
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalCommand, localVarRequestOptions, configuration);
|
|
5245
|
+
return [2 /*return*/, {
|
|
5246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5247
|
+
options: localVarRequestOptions,
|
|
5248
|
+
}];
|
|
5249
|
+
}
|
|
5250
|
+
});
|
|
5251
|
+
});
|
|
5252
|
+
},
|
|
5253
|
+
/**
|
|
5254
|
+
*
|
|
5255
|
+
* @summary Get hospitalRatings
|
|
5256
|
+
* @param {string} hospitalId
|
|
5257
|
+
* @param {string} [id]
|
|
5258
|
+
* @param {string} [vender]
|
|
5259
|
+
* @param {boolean} [isConfirmed]
|
|
5260
|
+
* @param {number} [page]
|
|
5261
|
+
* @param {number} [limit]
|
|
5262
|
+
* @param {Date} [lastRetrieved]
|
|
5263
|
+
* @param {*} [options] Override http request option.
|
|
5264
|
+
* @throws {RequiredError}
|
|
5265
|
+
*/
|
|
5266
|
+
apiV1HospitalsHospitalIdRatingsGet: function (hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options) {
|
|
5267
|
+
if (options === void 0) { options = {}; }
|
|
5268
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5269
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5270
|
+
return __generator(this, function (_a) {
|
|
5271
|
+
switch (_a.label) {
|
|
5272
|
+
case 0:
|
|
5273
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5274
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsGet', 'hospitalId', hospitalId);
|
|
5275
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/ratings"
|
|
5276
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
5277
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5278
|
+
if (configuration) {
|
|
5279
|
+
baseOptions = configuration.baseOptions;
|
|
5280
|
+
}
|
|
5281
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5282
|
+
localVarHeaderParameter = {};
|
|
5283
|
+
localVarQueryParameter = {};
|
|
5284
|
+
// authentication oauth2 required
|
|
5285
|
+
// oauth required
|
|
5286
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
5287
|
+
case 1:
|
|
5288
|
+
// authentication oauth2 required
|
|
5289
|
+
// oauth required
|
|
5290
|
+
_a.sent();
|
|
5291
|
+
if (id !== undefined) {
|
|
5292
|
+
localVarQueryParameter['Id'] = id;
|
|
5293
|
+
}
|
|
5294
|
+
if (vender !== undefined) {
|
|
5295
|
+
localVarQueryParameter['Vender'] = vender;
|
|
5296
|
+
}
|
|
5297
|
+
if (isConfirmed !== undefined) {
|
|
5298
|
+
localVarQueryParameter['IsConfirmed'] = isConfirmed;
|
|
5299
|
+
}
|
|
5300
|
+
if (page !== undefined) {
|
|
5301
|
+
localVarQueryParameter['page'] = page;
|
|
5302
|
+
}
|
|
5303
|
+
if (limit !== undefined) {
|
|
5304
|
+
localVarQueryParameter['limit'] = limit;
|
|
5305
|
+
}
|
|
5306
|
+
if (lastRetrieved !== undefined) {
|
|
5307
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
5308
|
+
lastRetrieved.toISOString() :
|
|
5309
|
+
lastRetrieved;
|
|
5310
|
+
}
|
|
5311
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5312
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5313
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5314
|
+
return [2 /*return*/, {
|
|
5315
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5316
|
+
options: localVarRequestOptions,
|
|
5317
|
+
}];
|
|
5318
|
+
}
|
|
5319
|
+
});
|
|
5320
|
+
});
|
|
5321
|
+
},
|
|
5322
|
+
/**
|
|
5323
|
+
*
|
|
5324
|
+
* @summary Delete hospitalRating
|
|
5325
|
+
* @param {string} hospitalId
|
|
5326
|
+
* @param {string} id
|
|
5327
|
+
* @param {*} [options] Override http request option.
|
|
5328
|
+
* @throws {RequiredError}
|
|
5329
|
+
*/
|
|
5330
|
+
apiV1HospitalsHospitalIdRatingsIdDelete: function (hospitalId, id, options) {
|
|
5331
|
+
if (options === void 0) { options = {}; }
|
|
5332
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5333
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5334
|
+
return __generator(this, function (_a) {
|
|
5335
|
+
switch (_a.label) {
|
|
5336
|
+
case 0:
|
|
5337
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5338
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdDelete', 'hospitalId', hospitalId);
|
|
5339
|
+
// verify required parameter 'id' is not null or undefined
|
|
5340
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdDelete', 'id', id);
|
|
5341
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/ratings/{id}"
|
|
5342
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
5343
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
5344
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5345
|
+
if (configuration) {
|
|
5346
|
+
baseOptions = configuration.baseOptions;
|
|
5347
|
+
}
|
|
5348
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
5349
|
+
localVarHeaderParameter = {};
|
|
5350
|
+
localVarQueryParameter = {};
|
|
5351
|
+
// authentication oauth2 required
|
|
5352
|
+
// oauth required
|
|
5353
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
5354
|
+
case 1:
|
|
5355
|
+
// authentication oauth2 required
|
|
5356
|
+
// oauth required
|
|
5357
|
+
_a.sent();
|
|
5358
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5359
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5360
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5361
|
+
return [2 /*return*/, {
|
|
5362
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5363
|
+
options: localVarRequestOptions,
|
|
5364
|
+
}];
|
|
5365
|
+
}
|
|
5366
|
+
});
|
|
5367
|
+
});
|
|
5368
|
+
},
|
|
5369
|
+
/**
|
|
5370
|
+
*
|
|
5371
|
+
* @summary Get hospitalRating
|
|
5372
|
+
* @param {string} hospitalId
|
|
5373
|
+
* @param {string} id
|
|
5374
|
+
* @param {*} [options] Override http request option.
|
|
5375
|
+
* @throws {RequiredError}
|
|
5376
|
+
*/
|
|
5377
|
+
apiV1HospitalsHospitalIdRatingsIdGet: function (hospitalId, id, options) {
|
|
5378
|
+
if (options === void 0) { options = {}; }
|
|
5379
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5380
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5381
|
+
return __generator(this, function (_a) {
|
|
5382
|
+
switch (_a.label) {
|
|
5383
|
+
case 0:
|
|
5384
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
5385
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdGet', 'hospitalId', hospitalId);
|
|
5386
|
+
// verify required parameter 'id' is not null or undefined
|
|
5387
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdGet', 'id', id);
|
|
5388
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/ratings/{id}"
|
|
4808
5389
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
4809
|
-
.replace("{".concat("
|
|
5390
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
4810
5391
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4811
5392
|
if (configuration) {
|
|
4812
5393
|
baseOptions = configuration.baseOptions;
|
|
4813
5394
|
}
|
|
4814
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
5395
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4815
5396
|
localVarHeaderParameter = {};
|
|
4816
5397
|
localVarQueryParameter = {};
|
|
4817
5398
|
// authentication oauth2 required
|
|
@@ -4834,13 +5415,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4834
5415
|
},
|
|
4835
5416
|
/**
|
|
4836
5417
|
*
|
|
4837
|
-
* @summary
|
|
5418
|
+
* @summary Update hospitalRating
|
|
4838
5419
|
* @param {string} hospitalId
|
|
4839
|
-
* @param {
|
|
5420
|
+
* @param {string} id
|
|
5421
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
4840
5422
|
* @param {*} [options] Override http request option.
|
|
4841
5423
|
* @throws {RequiredError}
|
|
4842
5424
|
*/
|
|
4843
|
-
|
|
5425
|
+
apiV1HospitalsHospitalIdRatingsIdPut: function (hospitalId, id, updateHospitalRatingCommand, options) {
|
|
4844
5426
|
if (options === void 0) { options = {}; }
|
|
4845
5427
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4846
5428
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4848,14 +5430,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4848
5430
|
switch (_a.label) {
|
|
4849
5431
|
case 0:
|
|
4850
5432
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4851
|
-
(0, common_1.assertParamExists)('
|
|
4852
|
-
|
|
4853
|
-
|
|
5433
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdPut', 'hospitalId', hospitalId);
|
|
5434
|
+
// verify required parameter 'id' is not null or undefined
|
|
5435
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsIdPut', 'id', id);
|
|
5436
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/ratings/{id}"
|
|
5437
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
5438
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
4854
5439
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4855
5440
|
if (configuration) {
|
|
4856
5441
|
baseOptions = configuration.baseOptions;
|
|
4857
5442
|
}
|
|
4858
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
5443
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4859
5444
|
localVarHeaderParameter = {};
|
|
4860
5445
|
localVarQueryParameter = {};
|
|
4861
5446
|
// authentication oauth2 required
|
|
@@ -4869,7 +5454,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4869
5454
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4870
5455
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4871
5456
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4872
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
5457
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalRatingCommand, localVarRequestOptions, configuration);
|
|
4873
5458
|
return [2 /*return*/, {
|
|
4874
5459
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4875
5460
|
options: localVarRequestOptions,
|
|
@@ -4880,13 +5465,13 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4880
5465
|
},
|
|
4881
5466
|
/**
|
|
4882
5467
|
*
|
|
4883
|
-
* @summary
|
|
5468
|
+
* @summary Create hospitalRating
|
|
4884
5469
|
* @param {string} hospitalId
|
|
4885
|
-
* @param {
|
|
5470
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
4886
5471
|
* @param {*} [options] Override http request option.
|
|
4887
5472
|
* @throws {RequiredError}
|
|
4888
5473
|
*/
|
|
4889
|
-
|
|
5474
|
+
apiV1HospitalsHospitalIdRatingsPost: function (hospitalId, createHospitalRatingCommand, options) {
|
|
4890
5475
|
if (options === void 0) { options = {}; }
|
|
4891
5476
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4892
5477
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4894,14 +5479,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4894
5479
|
switch (_a.label) {
|
|
4895
5480
|
case 0:
|
|
4896
5481
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
4897
|
-
(0, common_1.assertParamExists)('
|
|
4898
|
-
localVarPath = "/api/v1/hospitals/{hospitalId}"
|
|
5482
|
+
(0, common_1.assertParamExists)('apiV1HospitalsHospitalIdRatingsPost', 'hospitalId', hospitalId);
|
|
5483
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/ratings"
|
|
4899
5484
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
4900
5485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4901
5486
|
if (configuration) {
|
|
4902
5487
|
baseOptions = configuration.baseOptions;
|
|
4903
5488
|
}
|
|
4904
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
5489
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4905
5490
|
localVarHeaderParameter = {};
|
|
4906
5491
|
localVarQueryParameter = {};
|
|
4907
5492
|
// authentication oauth2 required
|
|
@@ -4915,7 +5500,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
4915
5500
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4916
5501
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4917
5502
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4918
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
5503
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHospitalRatingCommand, localVarRequestOptions, configuration);
|
|
4919
5504
|
return [2 /*return*/, {
|
|
4920
5505
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4921
5506
|
options: localVarRequestOptions,
|
|
@@ -10347,6 +10932,143 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10347
10932
|
});
|
|
10348
10933
|
});
|
|
10349
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
|
+
},
|
|
10350
11072
|
/**
|
|
10351
11073
|
*
|
|
10352
11074
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -10401,12 +11123,126 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10401
11123
|
* @param {*} [options] Override http request option.
|
|
10402
11124
|
* @throws {RequiredError}
|
|
10403
11125
|
*/
|
|
10404
|
-
apiV1HospitalsHospitalIdPaymentmethodsIdGet: function (hospitalId, id, options) {
|
|
11126
|
+
apiV1HospitalsHospitalIdPaymentmethodsIdGet: function (hospitalId, id, options) {
|
|
11127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11128
|
+
var localVarAxiosArgs;
|
|
11129
|
+
return __generator(this, function (_a) {
|
|
11130
|
+
switch (_a.label) {
|
|
11131
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPaymentmethodsIdGet(hospitalId, id, options)];
|
|
11132
|
+
case 1:
|
|
11133
|
+
localVarAxiosArgs = _a.sent();
|
|
11134
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11135
|
+
}
|
|
11136
|
+
});
|
|
11137
|
+
});
|
|
11138
|
+
},
|
|
11139
|
+
/**
|
|
11140
|
+
*
|
|
11141
|
+
* @summary Update hospitalPaymentMethod
|
|
11142
|
+
* @param {string} hospitalId
|
|
11143
|
+
* @param {string} id
|
|
11144
|
+
* @param {UpdateHospitalPaymentMethodCommand} [updateHospitalPaymentMethodCommand]
|
|
11145
|
+
* @param {*} [options] Override http request option.
|
|
11146
|
+
* @throws {RequiredError}
|
|
11147
|
+
*/
|
|
11148
|
+
apiV1HospitalsHospitalIdPaymentmethodsIdPut: function (hospitalId, id, updateHospitalPaymentMethodCommand, options) {
|
|
11149
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11150
|
+
var localVarAxiosArgs;
|
|
11151
|
+
return __generator(this, function (_a) {
|
|
11152
|
+
switch (_a.label) {
|
|
11153
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPaymentmethodsIdPut(hospitalId, id, updateHospitalPaymentMethodCommand, options)];
|
|
11154
|
+
case 1:
|
|
11155
|
+
localVarAxiosArgs = _a.sent();
|
|
11156
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11157
|
+
}
|
|
11158
|
+
});
|
|
11159
|
+
});
|
|
11160
|
+
},
|
|
11161
|
+
/**
|
|
11162
|
+
*
|
|
11163
|
+
* @summary Create hospitalPaymentMethod
|
|
11164
|
+
* @param {string} hospitalId
|
|
11165
|
+
* @param {CreateHospitalPaymentMethodCommand} [createHospitalPaymentMethodCommand]
|
|
11166
|
+
* @param {*} [options] Override http request option.
|
|
11167
|
+
* @throws {RequiredError}
|
|
11168
|
+
*/
|
|
11169
|
+
apiV1HospitalsHospitalIdPaymentmethodsPost: function (hospitalId, createHospitalPaymentMethodCommand, options) {
|
|
11170
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11171
|
+
var localVarAxiosArgs;
|
|
11172
|
+
return __generator(this, function (_a) {
|
|
11173
|
+
switch (_a.label) {
|
|
11174
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPaymentmethodsPost(hospitalId, createHospitalPaymentMethodCommand, options)];
|
|
11175
|
+
case 1:
|
|
11176
|
+
localVarAxiosArgs = _a.sent();
|
|
11177
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11178
|
+
}
|
|
11179
|
+
});
|
|
11180
|
+
});
|
|
11181
|
+
},
|
|
11182
|
+
/**
|
|
11183
|
+
*
|
|
11184
|
+
* @summary Get all policies
|
|
11185
|
+
* @param {string} hospitalId
|
|
11186
|
+
* @param {string} [name]
|
|
11187
|
+
* @param {string} [slug]
|
|
11188
|
+
* @param {string} [languageCode]
|
|
11189
|
+
* @param {boolean} [showHidden]
|
|
11190
|
+
* @param {number} [page]
|
|
11191
|
+
* @param {number} [limit]
|
|
11192
|
+
* @param {Date} [lastRetrieved]
|
|
11193
|
+
* @param {*} [options] Override http request option.
|
|
11194
|
+
* @throws {RequiredError}
|
|
11195
|
+
*/
|
|
11196
|
+
apiV1HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11197
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11198
|
+
var localVarAxiosArgs;
|
|
11199
|
+
return __generator(this, function (_a) {
|
|
11200
|
+
switch (_a.label) {
|
|
11201
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11202
|
+
case 1:
|
|
11203
|
+
localVarAxiosArgs = _a.sent();
|
|
11204
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11205
|
+
}
|
|
11206
|
+
});
|
|
11207
|
+
});
|
|
11208
|
+
},
|
|
11209
|
+
/**
|
|
11210
|
+
*
|
|
11211
|
+
* @summary Delete policy
|
|
11212
|
+
* @param {string} hospitalId
|
|
11213
|
+
* @param {string} policyId
|
|
11214
|
+
* @param {boolean} [isPermanent]
|
|
11215
|
+
* @param {*} [options] Override http request option.
|
|
11216
|
+
* @throws {RequiredError}
|
|
11217
|
+
*/
|
|
11218
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdDelete: function (hospitalId, policyId, isPermanent, options) {
|
|
11219
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11220
|
+
var localVarAxiosArgs;
|
|
11221
|
+
return __generator(this, function (_a) {
|
|
11222
|
+
switch (_a.label) {
|
|
11223
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdDelete(hospitalId, policyId, isPermanent, options)];
|
|
11224
|
+
case 1:
|
|
11225
|
+
localVarAxiosArgs = _a.sent();
|
|
11226
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11227
|
+
}
|
|
11228
|
+
});
|
|
11229
|
+
});
|
|
11230
|
+
},
|
|
11231
|
+
/**
|
|
11232
|
+
*
|
|
11233
|
+
* @summary Get policy
|
|
11234
|
+
* @param {string} hospitalId
|
|
11235
|
+
* @param {string} policyId
|
|
11236
|
+
* @param {string} [languageCode]
|
|
11237
|
+
* @param {*} [options] Override http request option.
|
|
11238
|
+
* @throws {RequiredError}
|
|
11239
|
+
*/
|
|
11240
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
|
|
10405
11241
|
return __awaiter(this, void 0, void 0, function () {
|
|
10406
11242
|
var localVarAxiosArgs;
|
|
10407
11243
|
return __generator(this, function (_a) {
|
|
10408
11244
|
switch (_a.label) {
|
|
10409
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11245
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdGet(hospitalId, policyId, languageCode, options)];
|
|
10410
11246
|
case 1:
|
|
10411
11247
|
localVarAxiosArgs = _a.sent();
|
|
10412
11248
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10416,19 +11252,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10416
11252
|
},
|
|
10417
11253
|
/**
|
|
10418
11254
|
*
|
|
10419
|
-
* @summary Update
|
|
11255
|
+
* @summary Update policy
|
|
10420
11256
|
* @param {string} hospitalId
|
|
10421
|
-
* @param {string}
|
|
10422
|
-
* @param {
|
|
11257
|
+
* @param {string} policyId
|
|
11258
|
+
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
10423
11259
|
* @param {*} [options] Override http request option.
|
|
10424
11260
|
* @throws {RequiredError}
|
|
10425
11261
|
*/
|
|
10426
|
-
|
|
11262
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdPut: function (hospitalId, policyId, updatePolicyCommand, options) {
|
|
10427
11263
|
return __awaiter(this, void 0, void 0, function () {
|
|
10428
11264
|
var localVarAxiosArgs;
|
|
10429
11265
|
return __generator(this, function (_a) {
|
|
10430
11266
|
switch (_a.label) {
|
|
10431
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11267
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdPut(hospitalId, policyId, updatePolicyCommand, options)];
|
|
10432
11268
|
case 1:
|
|
10433
11269
|
localVarAxiosArgs = _a.sent();
|
|
10434
11270
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10438,18 +11274,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10438
11274
|
},
|
|
10439
11275
|
/**
|
|
10440
11276
|
*
|
|
10441
|
-
* @summary
|
|
11277
|
+
* @summary Reactivate policy
|
|
10442
11278
|
* @param {string} hospitalId
|
|
10443
|
-
* @param {
|
|
11279
|
+
* @param {string} policyId
|
|
10444
11280
|
* @param {*} [options] Override http request option.
|
|
10445
11281
|
* @throws {RequiredError}
|
|
10446
11282
|
*/
|
|
10447
|
-
|
|
11283
|
+
apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut: function (hospitalId, policyId, options) {
|
|
10448
11284
|
return __awaiter(this, void 0, void 0, function () {
|
|
10449
11285
|
var localVarAxiosArgs;
|
|
10450
11286
|
return __generator(this, function (_a) {
|
|
10451
11287
|
switch (_a.label) {
|
|
10452
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11288
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPolicyIdReactivatePut(hospitalId, policyId, options)];
|
|
10453
11289
|
case 1:
|
|
10454
11290
|
localVarAxiosArgs = _a.sent();
|
|
10455
11291
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10459,24 +11295,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10459
11295
|
},
|
|
10460
11296
|
/**
|
|
10461
11297
|
*
|
|
10462
|
-
* @summary
|
|
11298
|
+
* @summary Create policy
|
|
10463
11299
|
* @param {string} hospitalId
|
|
10464
|
-
* @param {
|
|
10465
|
-
* @param {string} [slug]
|
|
10466
|
-
* @param {string} [languageCode]
|
|
10467
|
-
* @param {boolean} [showHidden]
|
|
10468
|
-
* @param {number} [page]
|
|
10469
|
-
* @param {number} [limit]
|
|
10470
|
-
* @param {Date} [lastRetrieved]
|
|
11300
|
+
* @param {CreatePolicyCommand} [createPolicyCommand]
|
|
10471
11301
|
* @param {*} [options] Override http request option.
|
|
10472
11302
|
* @throws {RequiredError}
|
|
10473
11303
|
*/
|
|
10474
|
-
|
|
11304
|
+
apiV1HospitalsHospitalIdPoliciesPost: function (hospitalId, createPolicyCommand, options) {
|
|
10475
11305
|
return __awaiter(this, void 0, void 0, function () {
|
|
10476
11306
|
var localVarAxiosArgs;
|
|
10477
11307
|
return __generator(this, function (_a) {
|
|
10478
11308
|
switch (_a.label) {
|
|
10479
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11309
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPoliciesPost(hospitalId, createPolicyCommand, options)];
|
|
10480
11310
|
case 1:
|
|
10481
11311
|
localVarAxiosArgs = _a.sent();
|
|
10482
11312
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10486,19 +11316,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10486
11316
|
},
|
|
10487
11317
|
/**
|
|
10488
11318
|
*
|
|
10489
|
-
* @summary
|
|
11319
|
+
* @summary Update Hospital.
|
|
10490
11320
|
* @param {string} hospitalId
|
|
10491
|
-
* @param {
|
|
10492
|
-
* @param {boolean} [isPermanent]
|
|
11321
|
+
* @param {UpdateHospitalCommand} [updateHospitalCommand]
|
|
10493
11322
|
* @param {*} [options] Override http request option.
|
|
10494
11323
|
* @throws {RequiredError}
|
|
10495
11324
|
*/
|
|
10496
|
-
|
|
11325
|
+
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
10497
11326
|
return __awaiter(this, void 0, void 0, function () {
|
|
10498
11327
|
var localVarAxiosArgs;
|
|
10499
11328
|
return __generator(this, function (_a) {
|
|
10500
11329
|
switch (_a.label) {
|
|
10501
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11330
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options)];
|
|
10502
11331
|
case 1:
|
|
10503
11332
|
localVarAxiosArgs = _a.sent();
|
|
10504
11333
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10508,19 +11337,23 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10508
11337
|
},
|
|
10509
11338
|
/**
|
|
10510
11339
|
*
|
|
10511
|
-
* @summary Get
|
|
11340
|
+
* @summary Get hospitalRatings
|
|
10512
11341
|
* @param {string} hospitalId
|
|
10513
|
-
* @param {string}
|
|
10514
|
-
* @param {string} [
|
|
11342
|
+
* @param {string} [id]
|
|
11343
|
+
* @param {string} [vender]
|
|
11344
|
+
* @param {boolean} [isConfirmed]
|
|
11345
|
+
* @param {number} [page]
|
|
11346
|
+
* @param {number} [limit]
|
|
11347
|
+
* @param {Date} [lastRetrieved]
|
|
10515
11348
|
* @param {*} [options] Override http request option.
|
|
10516
11349
|
* @throws {RequiredError}
|
|
10517
11350
|
*/
|
|
10518
|
-
|
|
11351
|
+
apiV1HospitalsHospitalIdRatingsGet: function (hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options) {
|
|
10519
11352
|
return __awaiter(this, void 0, void 0, function () {
|
|
10520
11353
|
var localVarAxiosArgs;
|
|
10521
11354
|
return __generator(this, function (_a) {
|
|
10522
11355
|
switch (_a.label) {
|
|
10523
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11356
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options)];
|
|
10524
11357
|
case 1:
|
|
10525
11358
|
localVarAxiosArgs = _a.sent();
|
|
10526
11359
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10530,19 +11363,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10530
11363
|
},
|
|
10531
11364
|
/**
|
|
10532
11365
|
*
|
|
10533
|
-
* @summary
|
|
11366
|
+
* @summary Delete hospitalRating
|
|
10534
11367
|
* @param {string} hospitalId
|
|
10535
|
-
* @param {string}
|
|
10536
|
-
* @param {UpdatePolicyCommand} [updatePolicyCommand]
|
|
11368
|
+
* @param {string} id
|
|
10537
11369
|
* @param {*} [options] Override http request option.
|
|
10538
11370
|
* @throws {RequiredError}
|
|
10539
11371
|
*/
|
|
10540
|
-
|
|
11372
|
+
apiV1HospitalsHospitalIdRatingsIdDelete: function (hospitalId, id, options) {
|
|
10541
11373
|
return __awaiter(this, void 0, void 0, function () {
|
|
10542
11374
|
var localVarAxiosArgs;
|
|
10543
11375
|
return __generator(this, function (_a) {
|
|
10544
11376
|
switch (_a.label) {
|
|
10545
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11377
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options)];
|
|
10546
11378
|
case 1:
|
|
10547
11379
|
localVarAxiosArgs = _a.sent();
|
|
10548
11380
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10552,18 +11384,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10552
11384
|
},
|
|
10553
11385
|
/**
|
|
10554
11386
|
*
|
|
10555
|
-
* @summary
|
|
11387
|
+
* @summary Get hospitalRating
|
|
10556
11388
|
* @param {string} hospitalId
|
|
10557
|
-
* @param {string}
|
|
11389
|
+
* @param {string} id
|
|
10558
11390
|
* @param {*} [options] Override http request option.
|
|
10559
11391
|
* @throws {RequiredError}
|
|
10560
11392
|
*/
|
|
10561
|
-
|
|
11393
|
+
apiV1HospitalsHospitalIdRatingsIdGet: function (hospitalId, id, options) {
|
|
10562
11394
|
return __awaiter(this, void 0, void 0, function () {
|
|
10563
11395
|
var localVarAxiosArgs;
|
|
10564
11396
|
return __generator(this, function (_a) {
|
|
10565
11397
|
switch (_a.label) {
|
|
10566
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11398
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options)];
|
|
10567
11399
|
case 1:
|
|
10568
11400
|
localVarAxiosArgs = _a.sent();
|
|
10569
11401
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10573,18 +11405,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10573
11405
|
},
|
|
10574
11406
|
/**
|
|
10575
11407
|
*
|
|
10576
|
-
* @summary
|
|
11408
|
+
* @summary Update hospitalRating
|
|
10577
11409
|
* @param {string} hospitalId
|
|
10578
|
-
* @param {
|
|
11410
|
+
* @param {string} id
|
|
11411
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
10579
11412
|
* @param {*} [options] Override http request option.
|
|
10580
11413
|
* @throws {RequiredError}
|
|
10581
11414
|
*/
|
|
10582
|
-
|
|
11415
|
+
apiV1HospitalsHospitalIdRatingsIdPut: function (hospitalId, id, updateHospitalRatingCommand, options) {
|
|
10583
11416
|
return __awaiter(this, void 0, void 0, function () {
|
|
10584
11417
|
var localVarAxiosArgs;
|
|
10585
11418
|
return __generator(this, function (_a) {
|
|
10586
11419
|
switch (_a.label) {
|
|
10587
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11420
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options)];
|
|
10588
11421
|
case 1:
|
|
10589
11422
|
localVarAxiosArgs = _a.sent();
|
|
10590
11423
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10594,18 +11427,18 @@ var HospitalsApiFp = function (configuration) {
|
|
|
10594
11427
|
},
|
|
10595
11428
|
/**
|
|
10596
11429
|
*
|
|
10597
|
-
* @summary
|
|
11430
|
+
* @summary Create hospitalRating
|
|
10598
11431
|
* @param {string} hospitalId
|
|
10599
|
-
* @param {
|
|
11432
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
10600
11433
|
* @param {*} [options] Override http request option.
|
|
10601
11434
|
* @throws {RequiredError}
|
|
10602
11435
|
*/
|
|
10603
|
-
|
|
11436
|
+
apiV1HospitalsHospitalIdRatingsPost: function (hospitalId, createHospitalRatingCommand, options) {
|
|
10604
11437
|
return __awaiter(this, void 0, void 0, function () {
|
|
10605
11438
|
var localVarAxiosArgs;
|
|
10606
11439
|
return __generator(this, function (_a) {
|
|
10607
11440
|
switch (_a.label) {
|
|
10608
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
11441
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options)];
|
|
10609
11442
|
case 1:
|
|
10610
11443
|
localVarAxiosArgs = _a.sent();
|
|
10611
11444
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13109,6 +13942,83 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13109
13942
|
apiV1HospitalsHospitalIdNoticesSortPut: function (hospitalId, noticeSortingCommand, options) {
|
|
13110
13943
|
return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13111
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
|
+
},
|
|
13112
14022
|
/**
|
|
13113
14023
|
*
|
|
13114
14024
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -13255,6 +14165,67 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13255
14165
|
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
13256
14166
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13257
14167
|
},
|
|
14168
|
+
/**
|
|
14169
|
+
*
|
|
14170
|
+
* @summary Get hospitalRatings
|
|
14171
|
+
* @param {string} hospitalId
|
|
14172
|
+
* @param {string} [id]
|
|
14173
|
+
* @param {string} [vender]
|
|
14174
|
+
* @param {boolean} [isConfirmed]
|
|
14175
|
+
* @param {number} [page]
|
|
14176
|
+
* @param {number} [limit]
|
|
14177
|
+
* @param {Date} [lastRetrieved]
|
|
14178
|
+
* @param {*} [options] Override http request option.
|
|
14179
|
+
* @throws {RequiredError}
|
|
14180
|
+
*/
|
|
14181
|
+
apiV1HospitalsHospitalIdRatingsGet: function (hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options) {
|
|
14182
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsGet(hospitalId, id, vender, isConfirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
14183
|
+
},
|
|
14184
|
+
/**
|
|
14185
|
+
*
|
|
14186
|
+
* @summary Delete hospitalRating
|
|
14187
|
+
* @param {string} hospitalId
|
|
14188
|
+
* @param {string} id
|
|
14189
|
+
* @param {*} [options] Override http request option.
|
|
14190
|
+
* @throws {RequiredError}
|
|
14191
|
+
*/
|
|
14192
|
+
apiV1HospitalsHospitalIdRatingsIdDelete: function (hospitalId, id, options) {
|
|
14193
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdDelete(hospitalId, id, options).then(function (request) { return request(axios, basePath); });
|
|
14194
|
+
},
|
|
14195
|
+
/**
|
|
14196
|
+
*
|
|
14197
|
+
* @summary Get hospitalRating
|
|
14198
|
+
* @param {string} hospitalId
|
|
14199
|
+
* @param {string} id
|
|
14200
|
+
* @param {*} [options] Override http request option.
|
|
14201
|
+
* @throws {RequiredError}
|
|
14202
|
+
*/
|
|
14203
|
+
apiV1HospitalsHospitalIdRatingsIdGet: function (hospitalId, id, options) {
|
|
14204
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdGet(hospitalId, id, options).then(function (request) { return request(axios, basePath); });
|
|
14205
|
+
},
|
|
14206
|
+
/**
|
|
14207
|
+
*
|
|
14208
|
+
* @summary Update hospitalRating
|
|
14209
|
+
* @param {string} hospitalId
|
|
14210
|
+
* @param {string} id
|
|
14211
|
+
* @param {UpdateHospitalRatingCommand} [updateHospitalRatingCommand]
|
|
14212
|
+
* @param {*} [options] Override http request option.
|
|
14213
|
+
* @throws {RequiredError}
|
|
14214
|
+
*/
|
|
14215
|
+
apiV1HospitalsHospitalIdRatingsIdPut: function (hospitalId, id, updateHospitalRatingCommand, options) {
|
|
14216
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsIdPut(hospitalId, id, updateHospitalRatingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
14217
|
+
},
|
|
14218
|
+
/**
|
|
14219
|
+
*
|
|
14220
|
+
* @summary Create hospitalRating
|
|
14221
|
+
* @param {string} hospitalId
|
|
14222
|
+
* @param {CreateHospitalRatingCommand} [createHospitalRatingCommand]
|
|
14223
|
+
* @param {*} [options] Override http request option.
|
|
14224
|
+
* @throws {RequiredError}
|
|
14225
|
+
*/
|
|
14226
|
+
apiV1HospitalsHospitalIdRatingsPost: function (hospitalId, createHospitalRatingCommand, options) {
|
|
14227
|
+
return localVarFp.apiV1HospitalsHospitalIdRatingsPost(hospitalId, createHospitalRatingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
14228
|
+
},
|
|
13258
14229
|
/**
|
|
13259
14230
|
*
|
|
13260
14231
|
* @summary Delete HospitalSpecialty.
|
|
@@ -15073,6 +16044,78 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
15073
16044
|
var _this = this;
|
|
15074
16045
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdNoticesSortPut(requestParameters.hospitalId, requestParameters.noticeSortingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15075
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
|
+
};
|
|
15076
16119
|
/**
|
|
15077
16120
|
*
|
|
15078
16121
|
* @summary Get hospitalPaymentMethods list
|
|
@@ -15217,6 +16260,66 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
15217
16260
|
var _this = this;
|
|
15218
16261
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdPut(requestParameters.hospitalId, requestParameters.updateHospitalCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15219
16262
|
};
|
|
16263
|
+
/**
|
|
16264
|
+
*
|
|
16265
|
+
* @summary Get hospitalRatings
|
|
16266
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsGetRequest} requestParameters Request parameters.
|
|
16267
|
+
* @param {*} [options] Override http request option.
|
|
16268
|
+
* @throws {RequiredError}
|
|
16269
|
+
* @memberof HospitalsApi
|
|
16270
|
+
*/
|
|
16271
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdRatingsGet = function (requestParameters, options) {
|
|
16272
|
+
var _this = this;
|
|
16273
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRatingsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.vender, requestParameters.isConfirmed, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16274
|
+
};
|
|
16275
|
+
/**
|
|
16276
|
+
*
|
|
16277
|
+
* @summary Delete hospitalRating
|
|
16278
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdDeleteRequest} requestParameters Request parameters.
|
|
16279
|
+
* @param {*} [options] Override http request option.
|
|
16280
|
+
* @throws {RequiredError}
|
|
16281
|
+
* @memberof HospitalsApi
|
|
16282
|
+
*/
|
|
16283
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdRatingsIdDelete = function (requestParameters, options) {
|
|
16284
|
+
var _this = this;
|
|
16285
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRatingsIdDelete(requestParameters.hospitalId, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16286
|
+
};
|
|
16287
|
+
/**
|
|
16288
|
+
*
|
|
16289
|
+
* @summary Get hospitalRating
|
|
16290
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdGetRequest} requestParameters Request parameters.
|
|
16291
|
+
* @param {*} [options] Override http request option.
|
|
16292
|
+
* @throws {RequiredError}
|
|
16293
|
+
* @memberof HospitalsApi
|
|
16294
|
+
*/
|
|
16295
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdRatingsIdGet = function (requestParameters, options) {
|
|
16296
|
+
var _this = this;
|
|
16297
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRatingsIdGet(requestParameters.hospitalId, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16298
|
+
};
|
|
16299
|
+
/**
|
|
16300
|
+
*
|
|
16301
|
+
* @summary Update hospitalRating
|
|
16302
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsIdPutRequest} requestParameters Request parameters.
|
|
16303
|
+
* @param {*} [options] Override http request option.
|
|
16304
|
+
* @throws {RequiredError}
|
|
16305
|
+
* @memberof HospitalsApi
|
|
16306
|
+
*/
|
|
16307
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdRatingsIdPut = function (requestParameters, options) {
|
|
16308
|
+
var _this = this;
|
|
16309
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRatingsIdPut(requestParameters.hospitalId, requestParameters.id, requestParameters.updateHospitalRatingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16310
|
+
};
|
|
16311
|
+
/**
|
|
16312
|
+
*
|
|
16313
|
+
* @summary Create hospitalRating
|
|
16314
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdRatingsPostRequest} requestParameters Request parameters.
|
|
16315
|
+
* @param {*} [options] Override http request option.
|
|
16316
|
+
* @throws {RequiredError}
|
|
16317
|
+
* @memberof HospitalsApi
|
|
16318
|
+
*/
|
|
16319
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdRatingsPost = function (requestParameters, options) {
|
|
16320
|
+
var _this = this;
|
|
16321
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdRatingsPost(requestParameters.hospitalId, requestParameters.createHospitalRatingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16322
|
+
};
|
|
15220
16323
|
/**
|
|
15221
16324
|
*
|
|
15222
16325
|
* @summary Delete HospitalSpecialty.
|