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
@@ -79,6 +79,8 @@ import { CreateMediaCommand } from '../models';
79
79
  // @ts-ignore
80
80
  import { CreateNoticeCommand } from '../models';
81
81
  // @ts-ignore
82
+ import { CreatePageCommand } from '../models';
83
+ // @ts-ignore
82
84
  import { CreatePolicyCommand } from '../models';
83
85
  // @ts-ignore
84
86
  import { DayOfWeek } from '../models';
@@ -167,6 +169,12 @@ import { NoticeStatus } from '../models';
167
169
  // @ts-ignore
168
170
  import { NoticesModel } from '../models';
169
171
  // @ts-ignore
172
+ import { PageItemModel } from '../models';
173
+ // @ts-ignore
174
+ import { PageItemStatus } from '../models';
175
+ // @ts-ignore
176
+ import { PageItemsModel } from '../models';
177
+ // @ts-ignore
170
178
  import { PaymentMethod } from '../models';
171
179
  // @ts-ignore
172
180
  import { PoliciesModel } from '../models';
@@ -237,6 +245,8 @@ import { UpdateMediaCommand } from '../models';
237
245
  // @ts-ignore
238
246
  import { UpdateNoticeCommand } from '../models';
239
247
  // @ts-ignore
248
+ import { UpdatePageCommand } from '../models';
249
+ // @ts-ignore
240
250
  import { UpdatePolicyCommand } from '../models';
241
251
  // @ts-ignore
242
252
  import { WorkingDayModel } from '../models';
@@ -3360,9 +3370,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3360
3370
  *
3361
3371
  * @summary Get managers
3362
3372
  * @param {string} hospitalId
3363
- * @param {number} [page]
3364
- * @param {number} [limit]
3365
- * @param {Date} [lastRetrieved]
3366
3373
  * @param {string} [id]
3367
3374
  * @param {string} [fullname]
3368
3375
  * @param {string} [email]
@@ -3370,10 +3377,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3370
3377
  * @param {Date} [dateOfBirth]
3371
3378
  * @param {Date} [created]
3372
3379
  * @param {boolean} [showHidden]
3380
+ * @param {number} [page]
3381
+ * @param {number} [limit]
3382
+ * @param {Date} [lastRetrieved]
3373
3383
  * @param {*} [options] Override http request option.
3374
3384
  * @throws {RequiredError}
3375
3385
  */
3376
- apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3386
+ apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3377
3387
  // verify required parameter 'hospitalId' is not null or undefined
3378
3388
  assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
3379
3389
  const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
@@ -3393,20 +3403,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3393
3403
  // oauth required
3394
3404
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3395
3405
 
3396
- if (page !== undefined) {
3397
- localVarQueryParameter['page'] = page;
3398
- }
3399
-
3400
- if (limit !== undefined) {
3401
- localVarQueryParameter['limit'] = limit;
3402
- }
3403
-
3404
- if (lastRetrieved !== undefined) {
3405
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3406
- (lastRetrieved as any).toISOString() :
3407
- lastRetrieved;
3408
- }
3409
-
3410
3406
  if (id !== undefined) {
3411
3407
  localVarQueryParameter['Id'] = id;
3412
3408
  }
@@ -3439,6 +3435,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3439
3435
  localVarQueryParameter['ShowHidden'] = showHidden;
3440
3436
  }
3441
3437
 
3438
+ if (page !== undefined) {
3439
+ localVarQueryParameter['page'] = page;
3440
+ }
3441
+
3442
+ if (limit !== undefined) {
3443
+ localVarQueryParameter['limit'] = limit;
3444
+ }
3445
+
3446
+ if (lastRetrieved !== undefined) {
3447
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3448
+ (lastRetrieved as any).toISOString() :
3449
+ lastRetrieved;
3450
+ }
3451
+
3442
3452
 
3443
3453
 
3444
3454
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4215,6 +4225,315 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
4215
4225
  options: localVarRequestOptions,
4216
4226
  };
4217
4227
  },
4228
+ /**
4229
+ *
4230
+ * @summary Get hospital pageItems
4231
+ * @param {string} hospitalId
4232
+ * @param {string} [id]
4233
+ * @param {string} [languageCode]
4234
+ * @param {string} [name]
4235
+ * @param {PageItemStatus} [status]
4236
+ * @param {boolean} [showHidden]
4237
+ * @param {number} [page]
4238
+ * @param {number} [limit]
4239
+ * @param {Date} [lastRetrieved]
4240
+ * @param {*} [options] Override http request option.
4241
+ * @throws {RequiredError}
4242
+ */
4243
+ apiV1HospitalsHospitalIdPagesGet: async (hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4244
+ // verify required parameter 'hospitalId' is not null or undefined
4245
+ assertParamExists('apiV1HospitalsHospitalIdPagesGet', 'hospitalId', hospitalId)
4246
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages`
4247
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
4248
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4249
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4250
+ let baseOptions;
4251
+ if (configuration) {
4252
+ baseOptions = configuration.baseOptions;
4253
+ }
4254
+
4255
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4256
+ const localVarHeaderParameter = {} as any;
4257
+ const localVarQueryParameter = {} as any;
4258
+
4259
+ // authentication oauth2 required
4260
+ // oauth required
4261
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4262
+
4263
+ if (id !== undefined) {
4264
+ localVarQueryParameter['Id'] = id;
4265
+ }
4266
+
4267
+ if (languageCode !== undefined) {
4268
+ localVarQueryParameter['LanguageCode'] = languageCode;
4269
+ }
4270
+
4271
+ if (name !== undefined) {
4272
+ localVarQueryParameter['Name'] = name;
4273
+ }
4274
+
4275
+ if (status !== undefined) {
4276
+ localVarQueryParameter['Status'] = status;
4277
+ }
4278
+
4279
+ if (showHidden !== undefined) {
4280
+ localVarQueryParameter['ShowHidden'] = showHidden;
4281
+ }
4282
+
4283
+ if (page !== undefined) {
4284
+ localVarQueryParameter['page'] = page;
4285
+ }
4286
+
4287
+ if (limit !== undefined) {
4288
+ localVarQueryParameter['limit'] = limit;
4289
+ }
4290
+
4291
+ if (lastRetrieved !== undefined) {
4292
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
4293
+ (lastRetrieved as any).toISOString() :
4294
+ lastRetrieved;
4295
+ }
4296
+
4297
+
4298
+
4299
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4301
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4302
+
4303
+ return {
4304
+ url: toPathString(localVarUrlObj),
4305
+ options: localVarRequestOptions,
4306
+ };
4307
+ },
4308
+ /**
4309
+ *
4310
+ * @summary Delete page
4311
+ * @param {string} hospitalId
4312
+ * @param {string} pageItemId
4313
+ * @param {boolean} [isPermanent]
4314
+ * @param {string} [languageCode]
4315
+ * @param {*} [options] Override http request option.
4316
+ * @throws {RequiredError}
4317
+ */
4318
+ apiV1HospitalsHospitalIdPagesPageItemIdDelete: async (hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4319
+ // verify required parameter 'hospitalId' is not null or undefined
4320
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'hospitalId', hospitalId)
4321
+ // verify required parameter 'pageItemId' is not null or undefined
4322
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdDelete', 'pageItemId', pageItemId)
4323
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
4324
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4325
+ .replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
4326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4328
+ let baseOptions;
4329
+ if (configuration) {
4330
+ baseOptions = configuration.baseOptions;
4331
+ }
4332
+
4333
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4334
+ const localVarHeaderParameter = {} as any;
4335
+ const localVarQueryParameter = {} as any;
4336
+
4337
+ // authentication oauth2 required
4338
+ // oauth required
4339
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4340
+
4341
+ if (isPermanent !== undefined) {
4342
+ localVarQueryParameter['isPermanent'] = isPermanent;
4343
+ }
4344
+
4345
+ if (languageCode !== undefined) {
4346
+ localVarQueryParameter['languageCode'] = languageCode;
4347
+ }
4348
+
4349
+
4350
+
4351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4353
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4354
+
4355
+ return {
4356
+ url: toPathString(localVarUrlObj),
4357
+ options: localVarRequestOptions,
4358
+ };
4359
+ },
4360
+ /**
4361
+ *
4362
+ * @summary Get hospital page
4363
+ * @param {string} hospitalId
4364
+ * @param {string} pageItemId
4365
+ * @param {string} [languageCode]
4366
+ * @param {*} [options] Override http request option.
4367
+ * @throws {RequiredError}
4368
+ */
4369
+ apiV1HospitalsHospitalIdPagesPageItemIdGet: async (hospitalId: string, pageItemId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4370
+ // verify required parameter 'hospitalId' is not null or undefined
4371
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'hospitalId', hospitalId)
4372
+ // verify required parameter 'pageItemId' is not null or undefined
4373
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdGet', 'pageItemId', pageItemId)
4374
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
4375
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4376
+ .replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
4377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4379
+ let baseOptions;
4380
+ if (configuration) {
4381
+ baseOptions = configuration.baseOptions;
4382
+ }
4383
+
4384
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4385
+ const localVarHeaderParameter = {} as any;
4386
+ const localVarQueryParameter = {} as any;
4387
+
4388
+ // authentication oauth2 required
4389
+ // oauth required
4390
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4391
+
4392
+ if (languageCode !== undefined) {
4393
+ localVarQueryParameter['languageCode'] = languageCode;
4394
+ }
4395
+
4396
+
4397
+
4398
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4399
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4400
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4401
+
4402
+ return {
4403
+ url: toPathString(localVarUrlObj),
4404
+ options: localVarRequestOptions,
4405
+ };
4406
+ },
4407
+ /**
4408
+ *
4409
+ * @summary Update page
4410
+ * @param {string} hospitalId
4411
+ * @param {string} pageItemId
4412
+ * @param {UpdatePageCommand} [updatePageCommand]
4413
+ * @param {*} [options] Override http request option.
4414
+ * @throws {RequiredError}
4415
+ */
4416
+ apiV1HospitalsHospitalIdPagesPageItemIdPut: async (hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4417
+ // verify required parameter 'hospitalId' is not null or undefined
4418
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'hospitalId', hospitalId)
4419
+ // verify required parameter 'pageItemId' is not null or undefined
4420
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdPut', 'pageItemId', pageItemId)
4421
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}`
4422
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4423
+ .replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
4424
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4425
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4426
+ let baseOptions;
4427
+ if (configuration) {
4428
+ baseOptions = configuration.baseOptions;
4429
+ }
4430
+
4431
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4432
+ const localVarHeaderParameter = {} as any;
4433
+ const localVarQueryParameter = {} as any;
4434
+
4435
+ // authentication oauth2 required
4436
+ // oauth required
4437
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4438
+
4439
+
4440
+
4441
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4442
+
4443
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4444
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4445
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4446
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePageCommand, localVarRequestOptions, configuration)
4447
+
4448
+ return {
4449
+ url: toPathString(localVarUrlObj),
4450
+ options: localVarRequestOptions,
4451
+ };
4452
+ },
4453
+ /**
4454
+ *
4455
+ * @summary Reactivate page
4456
+ * @param {string} hospitalId
4457
+ * @param {string} pageItemId
4458
+ * @param {*} [options] Override http request option.
4459
+ * @throws {RequiredError}
4460
+ */
4461
+ apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut: async (hospitalId: string, pageItemId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4462
+ // verify required parameter 'hospitalId' is not null or undefined
4463
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'hospitalId', hospitalId)
4464
+ // verify required parameter 'pageItemId' is not null or undefined
4465
+ assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut', 'pageItemId', pageItemId)
4466
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}/reactivate`
4467
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
4468
+ .replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
4469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4471
+ let baseOptions;
4472
+ if (configuration) {
4473
+ baseOptions = configuration.baseOptions;
4474
+ }
4475
+
4476
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4477
+ const localVarHeaderParameter = {} as any;
4478
+ const localVarQueryParameter = {} as any;
4479
+
4480
+ // authentication oauth2 required
4481
+ // oauth required
4482
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4483
+
4484
+
4485
+
4486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4489
+
4490
+ return {
4491
+ url: toPathString(localVarUrlObj),
4492
+ options: localVarRequestOptions,
4493
+ };
4494
+ },
4495
+ /**
4496
+ *
4497
+ * @summary Create page
4498
+ * @param {string} hospitalId
4499
+ * @param {CreatePageCommand} [createPageCommand]
4500
+ * @param {*} [options] Override http request option.
4501
+ * @throws {RequiredError}
4502
+ */
4503
+ apiV1HospitalsHospitalIdPagesPost: async (hospitalId: string, createPageCommand?: CreatePageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4504
+ // verify required parameter 'hospitalId' is not null or undefined
4505
+ assertParamExists('apiV1HospitalsHospitalIdPagesPost', 'hospitalId', hospitalId)
4506
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/pages`
4507
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
4508
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4509
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4510
+ let baseOptions;
4511
+ if (configuration) {
4512
+ baseOptions = configuration.baseOptions;
4513
+ }
4514
+
4515
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4516
+ const localVarHeaderParameter = {} as any;
4517
+ const localVarQueryParameter = {} as any;
4518
+
4519
+ // authentication oauth2 required
4520
+ // oauth required
4521
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
4522
+
4523
+
4524
+
4525
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4526
+
4527
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4528
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4529
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4530
+ localVarRequestOptions.data = serializeDataIfNeeded(createPageCommand, localVarRequestOptions, configuration)
4531
+
4532
+ return {
4533
+ url: toPathString(localVarUrlObj),
4534
+ options: localVarRequestOptions,
4535
+ };
4536
+ },
4218
4537
  /**
4219
4538
  *
4220
4539
  * @summary Get hospitalPaymentMethods list
@@ -9347,9 +9666,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9347
9666
  *
9348
9667
  * @summary Get managers
9349
9668
  * @param {string} hospitalId
9350
- * @param {number} [page]
9351
- * @param {number} [limit]
9352
- * @param {Date} [lastRetrieved]
9353
9669
  * @param {string} [id]
9354
9670
  * @param {string} [fullname]
9355
9671
  * @param {string} [email]
@@ -9357,11 +9673,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9357
9673
  * @param {Date} [dateOfBirth]
9358
9674
  * @param {Date} [created]
9359
9675
  * @param {boolean} [showHidden]
9676
+ * @param {number} [page]
9677
+ * @param {number} [limit]
9678
+ * @param {Date} [lastRetrieved]
9360
9679
  * @param {*} [options] Override http request option.
9361
9680
  * @throws {RequiredError}
9362
9681
  */
9363
- async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
9364
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
9682
+ async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
9683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
9365
9684
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9366
9685
  },
9367
9686
  /**
@@ -9574,6 +9893,89 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
9574
9893
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options);
9575
9894
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9576
9895
  },
9896
+ /**
9897
+ *
9898
+ * @summary Get hospital pageItems
9899
+ * @param {string} hospitalId
9900
+ * @param {string} [id]
9901
+ * @param {string} [languageCode]
9902
+ * @param {string} [name]
9903
+ * @param {PageItemStatus} [status]
9904
+ * @param {boolean} [showHidden]
9905
+ * @param {number} [page]
9906
+ * @param {number} [limit]
9907
+ * @param {Date} [lastRetrieved]
9908
+ * @param {*} [options] Override http request option.
9909
+ * @throws {RequiredError}
9910
+ */
9911
+ async apiV1HospitalsHospitalIdPagesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemsModel>> {
9912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options);
9913
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9914
+ },
9915
+ /**
9916
+ *
9917
+ * @summary Delete page
9918
+ * @param {string} hospitalId
9919
+ * @param {string} pageItemId
9920
+ * @param {boolean} [isPermanent]
9921
+ * @param {string} [languageCode]
9922
+ * @param {*} [options] Override http request option.
9923
+ * @throws {RequiredError}
9924
+ */
9925
+ async apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
9926
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options);
9927
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9928
+ },
9929
+ /**
9930
+ *
9931
+ * @summary Get hospital page
9932
+ * @param {string} hospitalId
9933
+ * @param {string} pageItemId
9934
+ * @param {string} [languageCode]
9935
+ * @param {*} [options] Override http request option.
9936
+ * @throws {RequiredError}
9937
+ */
9938
+ async apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
9939
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options);
9940
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9941
+ },
9942
+ /**
9943
+ *
9944
+ * @summary Update page
9945
+ * @param {string} hospitalId
9946
+ * @param {string} pageItemId
9947
+ * @param {UpdatePageCommand} [updatePageCommand]
9948
+ * @param {*} [options] Override http request option.
9949
+ * @throws {RequiredError}
9950
+ */
9951
+ async apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>> {
9952
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options);
9953
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9954
+ },
9955
+ /**
9956
+ *
9957
+ * @summary Reactivate page
9958
+ * @param {string} hospitalId
9959
+ * @param {string} pageItemId
9960
+ * @param {*} [options] Override http request option.
9961
+ * @throws {RequiredError}
9962
+ */
9963
+ async apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId: string, pageItemId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
9964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options);
9965
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9966
+ },
9967
+ /**
9968
+ *
9969
+ * @summary Create page
9970
+ * @param {string} hospitalId
9971
+ * @param {CreatePageCommand} [createPageCommand]
9972
+ * @param {*} [options] Override http request option.
9973
+ * @throws {RequiredError}
9974
+ */
9975
+ async apiV1HospitalsHospitalIdPagesPost(hospitalId: string, createPageCommand?: CreatePageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options);
9977
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9978
+ },
9577
9979
  /**
9578
9980
  *
9579
9981
  * @summary Get hospitalPaymentMethods list
@@ -11508,9 +11910,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11508
11910
  *
11509
11911
  * @summary Get managers
11510
11912
  * @param {string} hospitalId
11511
- * @param {number} [page]
11512
- * @param {number} [limit]
11513
- * @param {Date} [lastRetrieved]
11514
11913
  * @param {string} [id]
11515
11914
  * @param {string} [fullname]
11516
11915
  * @param {string} [email]
@@ -11518,11 +11917,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11518
11917
  * @param {Date} [dateOfBirth]
11519
11918
  * @param {Date} [created]
11520
11919
  * @param {boolean} [showHidden]
11920
+ * @param {number} [page]
11921
+ * @param {number} [limit]
11922
+ * @param {Date} [lastRetrieved]
11521
11923
  * @param {*} [options] Override http request option.
11522
11924
  * @throws {RequiredError}
11523
11925
  */
11524
- apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: any): AxiosPromise<ManagersModel> {
11525
- return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
11926
+ apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
11927
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11526
11928
  },
11527
11929
  /**
11528
11930
  *
@@ -11682,41 +12084,118 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
11682
12084
  * @param {*} [options] Override http request option.
11683
12085
  * @throws {RequiredError}
11684
12086
  */
11685
- apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId: string, noticeId: string, updateNoticeCommand?: UpdateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
11686
- return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId, noticeId, updateNoticeCommand, options).then((request) => request(axios, basePath));
12087
+ apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId: string, noticeId: string, updateNoticeCommand?: UpdateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
12088
+ return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdPut(hospitalId, noticeId, updateNoticeCommand, options).then((request) => request(axios, basePath));
12089
+ },
12090
+ /**
12091
+ *
12092
+ * @summary Reactivate notice
12093
+ * @param {string} hospitalId
12094
+ * @param {string} noticeId
12095
+ * @param {*} [options] Override http request option.
12096
+ * @throws {RequiredError}
12097
+ */
12098
+ apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId: string, noticeId: string, options?: any): AxiosPromise<boolean> {
12099
+ return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId, noticeId, options).then((request) => request(axios, basePath));
12100
+ },
12101
+ /**
12102
+ *
12103
+ * @summary Create notice
12104
+ * @param {string} hospitalId
12105
+ * @param {CreateNoticeCommand} [createNoticeCommand]
12106
+ * @param {*} [options] Override http request option.
12107
+ * @throws {RequiredError}
12108
+ */
12109
+ apiV1HospitalsHospitalIdNoticesPost(hospitalId: string, createNoticeCommand?: CreateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
12110
+ return localVarFp.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options).then((request) => request(axios, basePath));
12111
+ },
12112
+ /**
12113
+ *
12114
+ * @summary Batch for notices sorting
12115
+ * @param {string} hospitalId
12116
+ * @param {NoticeSortingCommand} [noticeSortingCommand]
12117
+ * @param {*} [options] Override http request option.
12118
+ * @throws {RequiredError}
12119
+ */
12120
+ apiV1HospitalsHospitalIdNoticesSortPut(hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options?: any): AxiosPromise<SortingResultModel> {
12121
+ return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then((request) => request(axios, basePath));
12122
+ },
12123
+ /**
12124
+ *
12125
+ * @summary Get hospital pageItems
12126
+ * @param {string} hospitalId
12127
+ * @param {string} [id]
12128
+ * @param {string} [languageCode]
12129
+ * @param {string} [name]
12130
+ * @param {PageItemStatus} [status]
12131
+ * @param {boolean} [showHidden]
12132
+ * @param {number} [page]
12133
+ * @param {number} [limit]
12134
+ * @param {Date} [lastRetrieved]
12135
+ * @param {*} [options] Override http request option.
12136
+ * @throws {RequiredError}
12137
+ */
12138
+ apiV1HospitalsHospitalIdPagesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, status?: PageItemStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PageItemsModel> {
12139
+ return localVarFp.apiV1HospitalsHospitalIdPagesGet(hospitalId, id, languageCode, name, status, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
12140
+ },
12141
+ /**
12142
+ *
12143
+ * @summary Delete page
12144
+ * @param {string} hospitalId
12145
+ * @param {string} pageItemId
12146
+ * @param {boolean} [isPermanent]
12147
+ * @param {string} [languageCode]
12148
+ * @param {*} [options] Override http request option.
12149
+ * @throws {RequiredError}
12150
+ */
12151
+ apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId: string, pageItemId: string, isPermanent?: boolean, languageCode?: string, options?: any): AxiosPromise<boolean> {
12152
+ return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdDelete(hospitalId, pageItemId, isPermanent, languageCode, options).then((request) => request(axios, basePath));
12153
+ },
12154
+ /**
12155
+ *
12156
+ * @summary Get hospital page
12157
+ * @param {string} hospitalId
12158
+ * @param {string} pageItemId
12159
+ * @param {string} [languageCode]
12160
+ * @param {*} [options] Override http request option.
12161
+ * @throws {RequiredError}
12162
+ */
12163
+ apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId: string, pageItemId: string, languageCode?: string, options?: any): AxiosPromise<PageItemModel> {
12164
+ return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdGet(hospitalId, pageItemId, languageCode, options).then((request) => request(axios, basePath));
11687
12165
  },
11688
12166
  /**
11689
12167
  *
11690
- * @summary Reactivate notice
12168
+ * @summary Update page
11691
12169
  * @param {string} hospitalId
11692
- * @param {string} noticeId
12170
+ * @param {string} pageItemId
12171
+ * @param {UpdatePageCommand} [updatePageCommand]
11693
12172
  * @param {*} [options] Override http request option.
11694
12173
  * @throws {RequiredError}
11695
12174
  */
11696
- apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId: string, noticeId: string, options?: any): AxiosPromise<boolean> {
11697
- return localVarFp.apiV1HospitalsHospitalIdNoticesNoticeIdReactivatePut(hospitalId, noticeId, options).then((request) => request(axios, basePath));
12175
+ apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId: string, pageItemId: string, updatePageCommand?: UpdatePageCommand, options?: any): AxiosPromise<PageItemModel> {
12176
+ return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdPut(hospitalId, pageItemId, updatePageCommand, options).then((request) => request(axios, basePath));
11698
12177
  },
11699
12178
  /**
11700
12179
  *
11701
- * @summary Create notice
12180
+ * @summary Reactivate page
11702
12181
  * @param {string} hospitalId
11703
- * @param {CreateNoticeCommand} [createNoticeCommand]
12182
+ * @param {string} pageItemId
11704
12183
  * @param {*} [options] Override http request option.
11705
12184
  * @throws {RequiredError}
11706
12185
  */
11707
- apiV1HospitalsHospitalIdNoticesPost(hospitalId: string, createNoticeCommand?: CreateNoticeCommand, options?: any): AxiosPromise<NoticeModel> {
11708
- return localVarFp.apiV1HospitalsHospitalIdNoticesPost(hospitalId, createNoticeCommand, options).then((request) => request(axios, basePath));
12186
+ apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId: string, pageItemId: string, options?: any): AxiosPromise<boolean> {
12187
+ return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options).then((request) => request(axios, basePath));
11709
12188
  },
11710
12189
  /**
11711
12190
  *
11712
- * @summary Batch for notices sorting
12191
+ * @summary Create page
11713
12192
  * @param {string} hospitalId
11714
- * @param {NoticeSortingCommand} [noticeSortingCommand]
12193
+ * @param {CreatePageCommand} [createPageCommand]
11715
12194
  * @param {*} [options] Override http request option.
11716
12195
  * @throws {RequiredError}
11717
12196
  */
11718
- apiV1HospitalsHospitalIdNoticesSortPut(hospitalId: string, noticeSortingCommand?: NoticeSortingCommand, options?: any): AxiosPromise<SortingResultModel> {
11719
- return localVarFp.apiV1HospitalsHospitalIdNoticesSortPut(hospitalId, noticeSortingCommand, options).then((request) => request(axios, basePath));
12197
+ apiV1HospitalsHospitalIdPagesPost(hospitalId: string, createPageCommand?: CreatePageCommand, options?: any): AxiosPromise<void> {
12198
+ return localVarFp.apiV1HospitalsHospitalIdPagesPost(hospitalId, createPageCommand, options).then((request) => request(axios, basePath));
11720
12199
  },
11721
12200
  /**
11722
12201
  *
@@ -14765,73 +15244,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
14765
15244
 
14766
15245
  /**
14767
15246
  *
14768
- * @type {number}
15247
+ * @type {string}
14769
15248
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14770
15249
  */
14771
- readonly page?: number
15250
+ readonly id?: string
14772
15251
 
14773
15252
  /**
14774
15253
  *
14775
- * @type {number}
15254
+ * @type {string}
14776
15255
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14777
15256
  */
14778
- readonly limit?: number
15257
+ readonly fullname?: string
14779
15258
 
14780
15259
  /**
14781
15260
  *
14782
- * @type {Date}
15261
+ * @type {string}
14783
15262
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14784
15263
  */
14785
- readonly lastRetrieved?: Date
15264
+ readonly email?: string
14786
15265
 
14787
15266
  /**
14788
15267
  *
14789
- * @type {string}
15268
+ * @type {Gender}
14790
15269
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14791
15270
  */
14792
- readonly id?: string
15271
+ readonly gender?: Gender
14793
15272
 
14794
15273
  /**
14795
15274
  *
14796
- * @type {string}
15275
+ * @type {Date}
14797
15276
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14798
15277
  */
14799
- readonly fullname?: string
15278
+ readonly dateOfBirth?: Date
14800
15279
 
14801
15280
  /**
14802
15281
  *
14803
- * @type {string}
15282
+ * @type {Date}
14804
15283
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14805
15284
  */
14806
- readonly email?: string
15285
+ readonly created?: Date
14807
15286
 
14808
15287
  /**
14809
15288
  *
14810
- * @type {Gender}
15289
+ * @type {boolean}
14811
15290
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14812
15291
  */
14813
- readonly gender?: Gender
15292
+ readonly showHidden?: boolean
14814
15293
 
14815
15294
  /**
14816
15295
  *
14817
- * @type {Date}
15296
+ * @type {number}
14818
15297
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14819
15298
  */
14820
- readonly dateOfBirth?: Date
15299
+ readonly page?: number
14821
15300
 
14822
15301
  /**
14823
15302
  *
14824
- * @type {Date}
15303
+ * @type {number}
14825
15304
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14826
15305
  */
14827
- readonly created?: Date
15306
+ readonly limit?: number
14828
15307
 
14829
15308
  /**
14830
15309
  *
14831
- * @type {boolean}
15310
+ * @type {Date}
14832
15311
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
14833
15312
  */
14834
- readonly showHidden?: boolean
15313
+ readonly lastRetrieved?: Date
14835
15314
  }
14836
15315
 
14837
15316
  /**
@@ -15296,6 +15775,209 @@ export interface HospitalsApiApiV1HospitalsHospitalIdNoticesSortPutRequest {
15296
15775
  readonly noticeSortingCommand?: NoticeSortingCommand
15297
15776
  }
15298
15777
 
15778
+ /**
15779
+ * Request parameters for apiV1HospitalsHospitalIdPagesGet operation in HospitalsApi.
15780
+ * @export
15781
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest
15782
+ */
15783
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest {
15784
+ /**
15785
+ *
15786
+ * @type {string}
15787
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15788
+ */
15789
+ readonly hospitalId: string
15790
+
15791
+ /**
15792
+ *
15793
+ * @type {string}
15794
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15795
+ */
15796
+ readonly id?: string
15797
+
15798
+ /**
15799
+ *
15800
+ * @type {string}
15801
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15802
+ */
15803
+ readonly languageCode?: string
15804
+
15805
+ /**
15806
+ *
15807
+ * @type {string}
15808
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15809
+ */
15810
+ readonly name?: string
15811
+
15812
+ /**
15813
+ *
15814
+ * @type {PageItemStatus}
15815
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15816
+ */
15817
+ readonly status?: PageItemStatus
15818
+
15819
+ /**
15820
+ *
15821
+ * @type {boolean}
15822
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15823
+ */
15824
+ readonly showHidden?: boolean
15825
+
15826
+ /**
15827
+ *
15828
+ * @type {number}
15829
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15830
+ */
15831
+ readonly page?: number
15832
+
15833
+ /**
15834
+ *
15835
+ * @type {number}
15836
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15837
+ */
15838
+ readonly limit?: number
15839
+
15840
+ /**
15841
+ *
15842
+ * @type {Date}
15843
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesGet
15844
+ */
15845
+ readonly lastRetrieved?: Date
15846
+ }
15847
+
15848
+ /**
15849
+ * Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdDelete operation in HospitalsApi.
15850
+ * @export
15851
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest
15852
+ */
15853
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest {
15854
+ /**
15855
+ *
15856
+ * @type {string}
15857
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
15858
+ */
15859
+ readonly hospitalId: string
15860
+
15861
+ /**
15862
+ *
15863
+ * @type {string}
15864
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
15865
+ */
15866
+ readonly pageItemId: string
15867
+
15868
+ /**
15869
+ *
15870
+ * @type {boolean}
15871
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
15872
+ */
15873
+ readonly isPermanent?: boolean
15874
+
15875
+ /**
15876
+ *
15877
+ * @type {string}
15878
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDelete
15879
+ */
15880
+ readonly languageCode?: string
15881
+ }
15882
+
15883
+ /**
15884
+ * Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdGet operation in HospitalsApi.
15885
+ * @export
15886
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest
15887
+ */
15888
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest {
15889
+ /**
15890
+ *
15891
+ * @type {string}
15892
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
15893
+ */
15894
+ readonly hospitalId: string
15895
+
15896
+ /**
15897
+ *
15898
+ * @type {string}
15899
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
15900
+ */
15901
+ readonly pageItemId: string
15902
+
15903
+ /**
15904
+ *
15905
+ * @type {string}
15906
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGet
15907
+ */
15908
+ readonly languageCode?: string
15909
+ }
15910
+
15911
+ /**
15912
+ * Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdPut operation in HospitalsApi.
15913
+ * @export
15914
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest
15915
+ */
15916
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest {
15917
+ /**
15918
+ *
15919
+ * @type {string}
15920
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
15921
+ */
15922
+ readonly hospitalId: string
15923
+
15924
+ /**
15925
+ *
15926
+ * @type {string}
15927
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
15928
+ */
15929
+ readonly pageItemId: string
15930
+
15931
+ /**
15932
+ *
15933
+ * @type {UpdatePageCommand}
15934
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPut
15935
+ */
15936
+ readonly updatePageCommand?: UpdatePageCommand
15937
+ }
15938
+
15939
+ /**
15940
+ * Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut operation in HospitalsApi.
15941
+ * @export
15942
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest
15943
+ */
15944
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest {
15945
+ /**
15946
+ *
15947
+ * @type {string}
15948
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePut
15949
+ */
15950
+ readonly hospitalId: string
15951
+
15952
+ /**
15953
+ *
15954
+ * @type {string}
15955
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePut
15956
+ */
15957
+ readonly pageItemId: string
15958
+ }
15959
+
15960
+ /**
15961
+ * Request parameters for apiV1HospitalsHospitalIdPagesPost operation in HospitalsApi.
15962
+ * @export
15963
+ * @interface HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest
15964
+ */
15965
+ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest {
15966
+ /**
15967
+ *
15968
+ * @type {string}
15969
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPost
15970
+ */
15971
+ readonly hospitalId: string
15972
+
15973
+ /**
15974
+ *
15975
+ * @type {CreatePageCommand}
15976
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPost
15977
+ */
15978
+ readonly createPageCommand?: CreatePageCommand
15979
+ }
15980
+
15299
15981
  /**
15300
15982
  * Request parameters for apiV1HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
15301
15983
  * @export
@@ -18954,7 +19636,7 @@ export class HospitalsApi extends BaseAPI {
18954
19636
  * @memberof HospitalsApi
18955
19637
  */
18956
19638
  public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
18957
- return 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((request) => request(this.axios, this.basePath));
19639
+ return 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((request) => request(this.axios, this.basePath));
18958
19640
  }
18959
19641
 
18960
19642
  /**
@@ -19149,6 +19831,78 @@ export class HospitalsApi extends BaseAPI {
19149
19831
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdNoticesSortPut(requestParameters.hospitalId, requestParameters.noticeSortingCommand, options).then((request) => request(this.axios, this.basePath));
19150
19832
  }
19151
19833
 
19834
+ /**
19835
+ *
19836
+ * @summary Get hospital pageItems
19837
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest} requestParameters Request parameters.
19838
+ * @param {*} [options] Override http request option.
19839
+ * @throws {RequiredError}
19840
+ * @memberof HospitalsApi
19841
+ */
19842
+ public apiV1HospitalsHospitalIdPagesGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesGetRequest, options?: AxiosRequestConfig) {
19843
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19844
+ }
19845
+
19846
+ /**
19847
+ *
19848
+ * @summary Delete page
19849
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest} requestParameters Request parameters.
19850
+ * @param {*} [options] Override http request option.
19851
+ * @throws {RequiredError}
19852
+ * @memberof HospitalsApi
19853
+ */
19854
+ public apiV1HospitalsHospitalIdPagesPageItemIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdDeleteRequest, options?: AxiosRequestConfig) {
19855
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdDelete(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.isPermanent, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
19856
+ }
19857
+
19858
+ /**
19859
+ *
19860
+ * @summary Get hospital page
19861
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest} requestParameters Request parameters.
19862
+ * @param {*} [options] Override http request option.
19863
+ * @throws {RequiredError}
19864
+ * @memberof HospitalsApi
19865
+ */
19866
+ public apiV1HospitalsHospitalIdPagesPageItemIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdGetRequest, options?: AxiosRequestConfig) {
19867
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdGet(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
19868
+ }
19869
+
19870
+ /**
19871
+ *
19872
+ * @summary Update page
19873
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest} requestParameters Request parameters.
19874
+ * @param {*} [options] Override http request option.
19875
+ * @throws {RequiredError}
19876
+ * @memberof HospitalsApi
19877
+ */
19878
+ public apiV1HospitalsHospitalIdPagesPageItemIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdPutRequest, options?: AxiosRequestConfig) {
19879
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdPut(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.updatePageCommand, options).then((request) => request(this.axios, this.basePath));
19880
+ }
19881
+
19882
+ /**
19883
+ *
19884
+ * @summary Reactivate page
19885
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest} requestParameters Request parameters.
19886
+ * @param {*} [options] Override http request option.
19887
+ * @throws {RequiredError}
19888
+ * @memberof HospitalsApi
19889
+ */
19890
+ public apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePutRequest, options?: AxiosRequestConfig) {
19891
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters.hospitalId, requestParameters.pageItemId, options).then((request) => request(this.axios, this.basePath));
19892
+ }
19893
+
19894
+ /**
19895
+ *
19896
+ * @summary Create page
19897
+ * @param {HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest} requestParameters Request parameters.
19898
+ * @param {*} [options] Override http request option.
19899
+ * @throws {RequiredError}
19900
+ * @memberof HospitalsApi
19901
+ */
19902
+ public apiV1HospitalsHospitalIdPagesPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPostRequest, options?: AxiosRequestConfig) {
19903
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPost(requestParameters.hospitalId, requestParameters.createPageCommand, options).then((request) => request(this.axios, this.basePath));
19904
+ }
19905
+
19152
19906
  /**
19153
19907
  *
19154
19908
  * @summary Get hospitalPaymentMethods list