ch-admin-api-client-typescript 5.19.70 → 5.20.1

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.
Files changed (82) hide show
  1. package/lib/api/hospitals-api.d.ts +464 -30
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +663 -51
  4. package/lib/api/search-api.d.ts +12 -3
  5. package/lib/api/search-api.d.ts.map +1 -1
  6. package/lib/api/search-api.js +12 -6
  7. package/lib/models/create-page-command.d.ts +75 -0
  8. package/lib/models/create-page-command.d.ts.map +1 -0
  9. package/lib/models/create-page-command.js +15 -0
  10. package/lib/models/index.d.ts +17 -0
  11. package/lib/models/index.d.ts.map +1 -1
  12. package/lib/models/index.js +17 -0
  13. package/lib/models/page-block-input-model.d.ts +101 -0
  14. package/lib/models/page-block-input-model.d.ts.map +1 -0
  15. package/lib/models/page-block-input-model.js +15 -0
  16. package/lib/models/page-block-link-input-model.d.ts +56 -0
  17. package/lib/models/page-block-link-input-model.d.ts.map +1 -0
  18. package/lib/models/page-block-link-input-model.js +15 -0
  19. package/lib/models/page-block-link-model.d.ts +68 -0
  20. package/lib/models/page-block-link-model.d.ts.map +1 -0
  21. package/lib/models/page-block-link-model.js +15 -0
  22. package/lib/models/page-block-link-type.d.ts +22 -0
  23. package/lib/models/page-block-link-type.d.ts.map +1 -0
  24. package/lib/models/page-block-link-type.js +25 -0
  25. package/lib/models/page-block-location-input-model.d.ts +49 -0
  26. package/lib/models/page-block-location-input-model.d.ts.map +1 -0
  27. package/lib/models/page-block-location-input-model.js +15 -0
  28. package/lib/models/page-block-location-model.d.ts +49 -0
  29. package/lib/models/page-block-location-model.d.ts.map +1 -0
  30. package/lib/models/page-block-location-model.js +15 -0
  31. package/lib/models/page-block-model.d.ts +113 -0
  32. package/lib/models/page-block-model.d.ts.map +1 -0
  33. package/lib/models/page-block-model.js +15 -0
  34. package/lib/models/page-block-type.d.ts +29 -0
  35. package/lib/models/page-block-type.d.ts.map +1 -0
  36. package/lib/models/page-block-type.js +32 -0
  37. package/lib/models/page-item-item-model.d.ts +69 -0
  38. package/lib/models/page-item-item-model.d.ts.map +1 -0
  39. package/lib/models/page-item-item-model.js +15 -0
  40. package/lib/models/page-item-model.d.ts +100 -0
  41. package/lib/models/page-item-model.d.ts.map +1 -0
  42. package/lib/models/page-item-model.js +15 -0
  43. package/lib/models/page-item-status.d.ts +23 -0
  44. package/lib/models/page-item-status.d.ts.map +1 -0
  45. package/lib/models/page-item-status.js +26 -0
  46. package/lib/models/page-items-model.d.ts +33 -0
  47. package/lib/models/page-items-model.d.ts.map +1 -0
  48. package/lib/models/page-items-model.js +15 -0
  49. package/lib/models/page-section-input-model.d.ts +51 -0
  50. package/lib/models/page-section-input-model.d.ts.map +1 -0
  51. package/lib/models/page-section-input-model.js +15 -0
  52. package/lib/models/page-section-list-type.d.ts +23 -0
  53. package/lib/models/page-section-list-type.d.ts.map +1 -0
  54. package/lib/models/page-section-list-type.js +26 -0
  55. package/lib/models/page-section-model.d.ts +51 -0
  56. package/lib/models/page-section-model.d.ts.map +1 -0
  57. package/lib/models/page-section-model.js +15 -0
  58. package/lib/models/update-page-command.d.ts +75 -0
  59. package/lib/models/update-page-command.d.ts.map +1 -0
  60. package/lib/models/update-page-command.js +15 -0
  61. package/package.json +1 -1
  62. package/src/.openapi-generator/FILES +17 -0
  63. package/src/api/hospitals-api.ts +817 -63
  64. package/src/api/search-api.ts +20 -6
  65. package/src/models/create-page-command.ts +84 -0
  66. package/src/models/index.ts +17 -0
  67. package/src/models/page-block-input-model.ts +114 -0
  68. package/src/models/page-block-link-input-model.ts +63 -0
  69. package/src/models/page-block-link-model.ts +75 -0
  70. package/src/models/page-block-link-type.ts +31 -0
  71. package/src/models/page-block-location-input-model.ts +54 -0
  72. package/src/models/page-block-location-model.ts +54 -0
  73. package/src/models/page-block-model.ts +126 -0
  74. package/src/models/page-block-type.ts +38 -0
  75. package/src/models/page-item-item-model.ts +78 -0
  76. package/src/models/page-item-model.ts +111 -0
  77. package/src/models/page-item-status.ts +32 -0
  78. package/src/models/page-items-model.ts +42 -0
  79. package/src/models/page-section-input-model.ts +60 -0
  80. package/src/models/page-section-list-type.ts +32 -0
  81. package/src/models/page-section-model.ts +60 -0
  82. package/src/models/update-page-command.ts +84 -0
@@ -3399,9 +3399,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
3399
3399
  *
3400
3400
  * @summary Get managers
3401
3401
  * @param {string} hospitalId
3402
- * @param {number} [page]
3403
- * @param {number} [limit]
3404
- * @param {Date} [lastRetrieved]
3405
3402
  * @param {string} [id]
3406
3403
  * @param {string} [fullname]
3407
3404
  * @param {string} [email]
@@ -3409,10 +3406,13 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
3409
3406
  * @param {Date} [dateOfBirth]
3410
3407
  * @param {Date} [created]
3411
3408
  * @param {boolean} [showHidden]
3409
+ * @param {number} [page]
3410
+ * @param {number} [limit]
3411
+ * @param {Date} [lastRetrieved]
3412
3412
  * @param {*} [options] Override http request option.
3413
3413
  * @throws {RequiredError}
3414
3414
  */
3415
- apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
3415
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
3416
3416
  if (options === void 0) { options = {}; }
3417
3417
  return __awaiter(_this, void 0, void 0, function () {
3418
3418
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -3437,17 +3437,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
3437
3437
  // authentication oauth2 required
3438
3438
  // oauth required
3439
3439
  _a.sent();
3440
- if (page !== undefined) {
3441
- localVarQueryParameter['page'] = page;
3442
- }
3443
- if (limit !== undefined) {
3444
- localVarQueryParameter['limit'] = limit;
3445
- }
3446
- if (lastRetrieved !== undefined) {
3447
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
3448
- lastRetrieved.toISOString() :
3449
- lastRetrieved;
3450
- }
3451
3440
  if (id !== undefined) {
3452
3441
  localVarQueryParameter['Id'] = id;
3453
3442
  }
@@ -3473,6 +3462,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
3473
3462
  if (showHidden !== undefined) {
3474
3463
  localVarQueryParameter['ShowHidden'] = showHidden;
3475
3464
  }
3465
+ if (page !== undefined) {
3466
+ localVarQueryParameter['page'] = page;
3467
+ }
3468
+ if (limit !== undefined) {
3469
+ localVarQueryParameter['limit'] = limit;
3470
+ }
3471
+ if (lastRetrieved !== undefined) {
3472
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
3473
+ lastRetrieved.toISOString() :
3474
+ lastRetrieved;
3475
+ }
3476
3476
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3477
3477
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3478
3478
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4157,7 +4157,329 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4157
4157
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4158
4158
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4159
4159
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4160
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateNoticeCommand, localVarRequestOptions, configuration);
4160
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateNoticeCommand, localVarRequestOptions, configuration);
4161
+ return [2 /*return*/, {
4162
+ url: (0, common_1.toPathString)(localVarUrlObj),
4163
+ options: localVarRequestOptions,
4164
+ }];
4165
+ }
4166
+ });
4167
+ });
4168
+ },
4169
+ /**
4170
+ *
4171
+ * @summary Reactivate notice
4172
+ * @param {string} hospitalId
4173
+ * @param {string} noticeId
4174
+ * @param {*} [options] Override http request option.
4175
+ * @throws {RequiredError}
4176
+ */
4177
+ apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut: function (hospitalId, noticeId, options) {
4178
+ if (options === void 0) { options = {}; }
4179
+ return __awaiter(_this, void 0, void 0, function () {
4180
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4181
+ return __generator(this, function (_a) {
4182
+ switch (_a.label) {
4183
+ case 0:
4184
+ // verify required parameter 'hospitalId' is not null or undefined
4185
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'hospitalId', hospitalId);
4186
+ // verify required parameter 'noticeId' is not null or undefined
4187
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'noticeId', noticeId);
4188
+ localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}/reactivate"
4189
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
4190
+ .replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
4191
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4192
+ if (configuration) {
4193
+ baseOptions = configuration.baseOptions;
4194
+ }
4195
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4196
+ localVarHeaderParameter = {};
4197
+ localVarQueryParameter = {};
4198
+ // authentication oauth2 required
4199
+ // oauth required
4200
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
4201
+ case 1:
4202
+ // authentication oauth2 required
4203
+ // oauth required
4204
+ _a.sent();
4205
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4206
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4207
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4208
+ return [2 /*return*/, {
4209
+ url: (0, common_1.toPathString)(localVarUrlObj),
4210
+ options: localVarRequestOptions,
4211
+ }];
4212
+ }
4213
+ });
4214
+ });
4215
+ },
4216
+ /**
4217
+ *
4218
+ * @summary Create notice
4219
+ * @param {string} hospitalId
4220
+ * @param {CreateNoticeCommand} [createNoticeCommand]
4221
+ * @param {*} [options] Override http request option.
4222
+ * @throws {RequiredError}
4223
+ */
4224
+ apiV1HospitalsHospitalIdNoticesPost: function (hospitalId, createNoticeCommand, options) {
4225
+ if (options === void 0) { options = {}; }
4226
+ return __awaiter(_this, void 0, void 0, function () {
4227
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4228
+ return __generator(this, function (_a) {
4229
+ switch (_a.label) {
4230
+ case 0:
4231
+ // verify required parameter 'hospitalId' is not null or undefined
4232
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesPost', 'hospitalId', hospitalId);
4233
+ localVarPath = "/api/v1/hospitals/{hospitalId}/notices"
4234
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
4235
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4236
+ if (configuration) {
4237
+ baseOptions = configuration.baseOptions;
4238
+ }
4239
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4240
+ localVarHeaderParameter = {};
4241
+ localVarQueryParameter = {};
4242
+ // authentication oauth2 required
4243
+ // oauth required
4244
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
4245
+ case 1:
4246
+ // authentication oauth2 required
4247
+ // oauth required
4248
+ _a.sent();
4249
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4250
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4251
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4253
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNoticeCommand, localVarRequestOptions, configuration);
4254
+ return [2 /*return*/, {
4255
+ url: (0, common_1.toPathString)(localVarUrlObj),
4256
+ options: localVarRequestOptions,
4257
+ }];
4258
+ }
4259
+ });
4260
+ });
4261
+ },
4262
+ /**
4263
+ *
4264
+ * @summary Batch for notices sorting
4265
+ * @param {string} hospitalId
4266
+ * @param {NoticeSortingCommand} [noticeSortingCommand]
4267
+ * @param {*} [options] Override http request option.
4268
+ * @throws {RequiredError}
4269
+ */
4270
+ apiV1HospitalsHospitalIdNoticesSortPut: function (hospitalId, noticeSortingCommand, options) {
4271
+ if (options === void 0) { options = {}; }
4272
+ return __awaiter(_this, void 0, void 0, function () {
4273
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4274
+ return __generator(this, function (_a) {
4275
+ switch (_a.label) {
4276
+ case 0:
4277
+ // verify required parameter 'hospitalId' is not null or undefined
4278
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesSortPut', 'hospitalId', hospitalId);
4279
+ localVarPath = "/api/v1/hospitals/{hospitalId}/notices/sort"
4280
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
4281
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4282
+ if (configuration) {
4283
+ baseOptions = configuration.baseOptions;
4284
+ }
4285
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4286
+ localVarHeaderParameter = {};
4287
+ localVarQueryParameter = {};
4288
+ // authentication oauth2 required
4289
+ // oauth required
4290
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
4291
+ case 1:
4292
+ // authentication oauth2 required
4293
+ // oauth required
4294
+ _a.sent();
4295
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4296
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4297
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4298
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4299
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(noticeSortingCommand, localVarRequestOptions, configuration);
4300
+ return [2 /*return*/, {
4301
+ url: (0, common_1.toPathString)(localVarUrlObj),
4302
+ options: localVarRequestOptions,
4303
+ }];
4304
+ }
4305
+ });
4306
+ });
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);
4161
4483
  return [2 /*return*/, {
4162
4484
  url: (0, common_1.toPathString)(localVarUrlObj),
4163
4485
  options: localVarRequestOptions,
@@ -4168,13 +4490,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4168
4490
  },
4169
4491
  /**
4170
4492
  *
4171
- * @summary Reactivate notice
4493
+ * @summary Update page
4172
4494
  * @param {string} hospitalId
4173
- * @param {string} noticeId
4495
+ * @param {string} pageItemId
4496
+ * @param {UpdatePageCommand} [updatePageCommand]
4174
4497
  * @param {*} [options] Override http request option.
4175
4498
  * @throws {RequiredError}
4176
4499
  */
4177
- apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut: function (hospitalId, noticeId, options) {
4500
+ apiV1HospitalsHospitalIdPagesPageItemIdPut: function (hospitalId, pageItemId, updatePageCommand, options) {
4178
4501
  if (options === void 0) { options = {}; }
4179
4502
  return __awaiter(_this, void 0, void 0, function () {
4180
4503
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4182,12 +4505,12 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4182
4505
  switch (_a.label) {
4183
4506
  case 0:
4184
4507
  // verify required parameter 'hospitalId' is not null or undefined
4185
- (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'hospitalId', hospitalId);
4186
- // verify required parameter 'noticeId' is not null or undefined
4187
- (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut', 'noticeId', noticeId);
4188
- localVarPath = "/api/v1/hospitals/{hospitalId}/notices/{noticeId}/reactivate"
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}"
4189
4512
  .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
4190
- .replace("{".concat("noticeId", "}"), encodeURIComponent(String(noticeId)));
4513
+ .replace("{".concat("pageItemId", "}"), encodeURIComponent(String(pageItemId)));
4191
4514
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4192
4515
  if (configuration) {
4193
4516
  baseOptions = configuration.baseOptions;
@@ -4202,9 +4525,11 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4202
4525
  // authentication oauth2 required
4203
4526
  // oauth required
4204
4527
  _a.sent();
4528
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4205
4529
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4206
4530
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4207
4531
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4532
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePageCommand, localVarRequestOptions, configuration);
4208
4533
  return [2 /*return*/, {
4209
4534
  url: (0, common_1.toPathString)(localVarUrlObj),
4210
4535
  options: localVarRequestOptions,
@@ -4215,13 +4540,13 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4215
4540
  },
4216
4541
  /**
4217
4542
  *
4218
- * @summary Create notice
4543
+ * @summary Reactivate page
4219
4544
  * @param {string} hospitalId
4220
- * @param {CreateNoticeCommand} [createNoticeCommand]
4545
+ * @param {string} pageItemId
4221
4546
  * @param {*} [options] Override http request option.
4222
4547
  * @throws {RequiredError}
4223
4548
  */
4224
- apiV1HospitalsHospitalIdNoticesPost: function (hospitalId, createNoticeCommand, options) {
4549
+ apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: function (hospitalId, pageItemId, options) {
4225
4550
  if (options === void 0) { options = {}; }
4226
4551
  return __awaiter(_this, void 0, void 0, function () {
4227
4552
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4229,14 +4554,17 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4229
4554
  switch (_a.label) {
4230
4555
  case 0:
4231
4556
  // verify required parameter 'hospitalId' is not null or undefined
4232
- (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesPost', 'hospitalId', hospitalId);
4233
- localVarPath = "/api/v1/hospitals/{hospitalId}/notices"
4234
- .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
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)));
4235
4563
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4236
4564
  if (configuration) {
4237
4565
  baseOptions = configuration.baseOptions;
4238
4566
  }
4239
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4567
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4240
4568
  localVarHeaderParameter = {};
4241
4569
  localVarQueryParameter = {};
4242
4570
  // authentication oauth2 required
@@ -4246,11 +4574,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4246
4574
  // authentication oauth2 required
4247
4575
  // oauth required
4248
4576
  _a.sent();
4249
- localVarHeaderParameter['Content-Type'] = 'application/json';
4250
4577
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4251
4578
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
4579
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4253
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNoticeCommand, localVarRequestOptions, configuration);
4254
4580
  return [2 /*return*/, {
4255
4581
  url: (0, common_1.toPathString)(localVarUrlObj),
4256
4582
  options: localVarRequestOptions,
@@ -4261,13 +4587,13 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4261
4587
  },
4262
4588
  /**
4263
4589
  *
4264
- * @summary Batch for notices sorting
4590
+ * @summary Create page
4265
4591
  * @param {string} hospitalId
4266
- * @param {NoticeSortingCommand} [noticeSortingCommand]
4592
+ * @param {CreatePageCommand} [createPageCommand]
4267
4593
  * @param {*} [options] Override http request option.
4268
4594
  * @throws {RequiredError}
4269
4595
  */
4270
- apiV1HospitalsHospitalIdNoticesSortPut: function (hospitalId, noticeSortingCommand, options) {
4596
+ apiV1HospitalsHospitalIdPagesPost: function (hospitalId, createPageCommand, options) {
4271
4597
  if (options === void 0) { options = {}; }
4272
4598
  return __awaiter(_this, void 0, void 0, function () {
4273
4599
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4275,14 +4601,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4275
4601
  switch (_a.label) {
4276
4602
  case 0:
4277
4603
  // verify required parameter 'hospitalId' is not null or undefined
4278
- (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdNoticesSortPut', 'hospitalId', hospitalId);
4279
- localVarPath = "/api/v1/hospitals/{hospitalId}/notices/sort"
4604
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdPagesPost', 'hospitalId', hospitalId);
4605
+ localVarPath = "/api/v1/hospitals/{hospitalId}/pages"
4280
4606
  .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
4281
4607
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4282
4608
  if (configuration) {
4283
4609
  baseOptions = configuration.baseOptions;
4284
4610
  }
4285
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4611
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4286
4612
  localVarHeaderParameter = {};
4287
4613
  localVarQueryParameter = {};
4288
4614
  // authentication oauth2 required
@@ -4296,7 +4622,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
4296
4622
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4297
4623
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4298
4624
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4299
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(noticeSortingCommand, localVarRequestOptions, configuration);
4625
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPageCommand, localVarRequestOptions, configuration);
4300
4626
  return [2 /*return*/, {
4301
4627
  url: (0, common_1.toPathString)(localVarUrlObj),
4302
4628
  options: localVarRequestOptions,
@@ -10226,9 +10552,6 @@ var HospitalsApiFp = function (configuration) {
10226
10552
  *
10227
10553
  * @summary Get managers
10228
10554
  * @param {string} hospitalId
10229
- * @param {number} [page]
10230
- * @param {number} [limit]
10231
- * @param {Date} [lastRetrieved]
10232
10555
  * @param {string} [id]
10233
10556
  * @param {string} [fullname]
10234
10557
  * @param {string} [email]
@@ -10236,15 +10559,18 @@ var HospitalsApiFp = function (configuration) {
10236
10559
  * @param {Date} [dateOfBirth]
10237
10560
  * @param {Date} [created]
10238
10561
  * @param {boolean} [showHidden]
10562
+ * @param {number} [page]
10563
+ * @param {number} [limit]
10564
+ * @param {Date} [lastRetrieved]
10239
10565
  * @param {*} [options] Override http request option.
10240
10566
  * @throws {RequiredError}
10241
10567
  */
10242
- apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
10568
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
10243
10569
  return __awaiter(this, void 0, void 0, function () {
10244
10570
  var localVarAxiosArgs;
10245
10571
  return __generator(this, function (_a) {
10246
10572
  switch (_a.label) {
10247
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options)];
10573
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
10248
10574
  case 1:
10249
10575
  localVarAxiosArgs = _a.sent();
10250
10576
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -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
@@ -13269,9 +13732,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
13269
13732
  *
13270
13733
  * @summary Get managers
13271
13734
  * @param {string} hospitalId
13272
- * @param {number} [page]
13273
- * @param {number} [limit]
13274
- * @param {Date} [lastRetrieved]
13275
13735
  * @param {string} [id]
13276
13736
  * @param {string} [fullname]
13277
13737
  * @param {string} [email]
@@ -13279,11 +13739,14 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
13279
13739
  * @param {Date} [dateOfBirth]
13280
13740
  * @param {Date} [created]
13281
13741
  * @param {boolean} [showHidden]
13742
+ * @param {number} [page]
13743
+ * @param {number} [limit]
13744
+ * @param {Date} [lastRetrieved]
13282
13745
  * @param {*} [options] Override http request option.
13283
13746
  * @throws {RequiredError}
13284
13747
  */
13285
- apiV1HospitalsHospitalIdManagersGet: function (hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options) {
13286
- return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then(function (request) { return request(axios, basePath); });
13748
+ apiV1HospitalsHospitalIdManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13749
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13287
13750
  },
13288
13751
  /**
13289
13752
  *
@@ -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
@@ -15310,7 +15850,7 @@ var HospitalsApi = /** @class */ (function (_super) {
15310
15850
  */
15311
15851
  HospitalsApi.prototype.apiV1HospitalsHospitalIdManagersGet = function (requestParameters, options) {
15312
15852
  var _this = this;
15313
- return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, options).then(function (request) { return request(_this.axios, _this.basePath); });
15853
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15314
15854
  };
15315
15855
  /**
15316
15856
  *
@@ -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