@opusdns/api 0.54.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers/constants.ts +1 -51
- package/src/helpers/keys.ts +0 -1273
- package/src/helpers/requests.d.ts +1 -255
- package/src/helpers/responses.d.ts +1 -295
- package/src/helpers/schemas-arrays.d.ts +1 -15
- package/src/helpers/schemas.d.ts +0 -128
- package/src/openapi.yaml +1 -503
- package/src/schema.d.ts +0 -492
package/src/helpers/keys.ts
CHANGED
|
@@ -100,10 +100,6 @@ import { LaunchPhaseBase } from './schemas';
|
|
|
100
100
|
import { LaunchPhasesBase } from './schemas';
|
|
101
101
|
import { LocalPresenceBase } from './schemas';
|
|
102
102
|
import { Nameserver } from './schemas';
|
|
103
|
-
import { Notification } from './schemas';
|
|
104
|
-
import { NotificationCreate } from './schemas';
|
|
105
|
-
import { NotificationSummary } from './schemas';
|
|
106
|
-
import { NotificationUpdate } from './schemas';
|
|
107
103
|
import { Organization } from './schemas';
|
|
108
104
|
import { OrganizationAttribute } from './schemas';
|
|
109
105
|
import { OrganizationAttributeCreate } from './schemas';
|
|
@@ -144,8 +140,6 @@ import { User } from './schemas';
|
|
|
144
140
|
import { UserAgreementAcceptance } from './schemas';
|
|
145
141
|
import { UserAttributeBase } from './schemas';
|
|
146
142
|
import { UserCreate } from './schemas';
|
|
147
|
-
import { UserNotification } from './schemas';
|
|
148
|
-
import { UserNotificationSummary } from './schemas';
|
|
149
143
|
import { UserPasswordResetEmail } from './schemas';
|
|
150
144
|
import { UserToken } from './schemas';
|
|
151
145
|
import { UserUpdate } from './schemas';
|
|
@@ -10282,964 +10276,6 @@ export const KEYS_NAMESERVER = [
|
|
|
10282
10276
|
KEY_NAMESERVER_IP_ADDRESSES,
|
|
10283
10277
|
] as const satisfies (keyof Nameserver)[];
|
|
10284
10278
|
|
|
10285
|
-
/**
|
|
10286
|
-
* Author
|
|
10287
|
-
*
|
|
10288
|
-
* The user or system that created the notification
|
|
10289
|
-
*
|
|
10290
|
-
* @type {string}
|
|
10291
|
-
*
|
|
10292
|
-
*
|
|
10293
|
-
* @remarks
|
|
10294
|
-
* This key constant provides type-safe access to the `author` property of Notification objects.
|
|
10295
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10296
|
-
*
|
|
10297
|
-
* @example
|
|
10298
|
-
* ```typescript
|
|
10299
|
-
* // Direct property access
|
|
10300
|
-
* const value = notification[KEY_NOTIFICATION_AUTHOR];
|
|
10301
|
-
*
|
|
10302
|
-
* // Dynamic property access
|
|
10303
|
-
* const propertyName = KEY_NOTIFICATION_AUTHOR;
|
|
10304
|
-
* const value = notification[propertyName];
|
|
10305
|
-
* ```
|
|
10306
|
-
*
|
|
10307
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10308
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10309
|
-
*/
|
|
10310
|
-
export const KEY_NOTIFICATION_AUTHOR = 'author' as keyof Notification;
|
|
10311
|
-
/**
|
|
10312
|
-
* Created On
|
|
10313
|
-
*
|
|
10314
|
-
* The date/time the entry was created on
|
|
10315
|
-
*
|
|
10316
|
-
* @type {string}
|
|
10317
|
-
*
|
|
10318
|
-
*
|
|
10319
|
-
* @remarks
|
|
10320
|
-
* This key constant provides type-safe access to the `created_on` property of Notification objects.
|
|
10321
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10322
|
-
*
|
|
10323
|
-
* @example
|
|
10324
|
-
* ```typescript
|
|
10325
|
-
* // Direct property access
|
|
10326
|
-
* const value = notification[KEY_NOTIFICATION_CREATED_ON];
|
|
10327
|
-
*
|
|
10328
|
-
* // Dynamic property access
|
|
10329
|
-
* const propertyName = KEY_NOTIFICATION_CREATED_ON;
|
|
10330
|
-
* const value = notification[propertyName];
|
|
10331
|
-
* ```
|
|
10332
|
-
*
|
|
10333
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10334
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10335
|
-
*/
|
|
10336
|
-
export const KEY_NOTIFICATION_CREATED_ON = 'created_on' as keyof Notification;
|
|
10337
|
-
/**
|
|
10338
|
-
* Message
|
|
10339
|
-
*
|
|
10340
|
-
* The message content of the notification
|
|
10341
|
-
*
|
|
10342
|
-
* @type {string}
|
|
10343
|
-
*
|
|
10344
|
-
*
|
|
10345
|
-
* @remarks
|
|
10346
|
-
* This key constant provides type-safe access to the `message` property of Notification objects.
|
|
10347
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10348
|
-
*
|
|
10349
|
-
* @example
|
|
10350
|
-
* ```typescript
|
|
10351
|
-
* // Direct property access
|
|
10352
|
-
* const value = notification[KEY_NOTIFICATION_MESSAGE];
|
|
10353
|
-
*
|
|
10354
|
-
* // Dynamic property access
|
|
10355
|
-
* const propertyName = KEY_NOTIFICATION_MESSAGE;
|
|
10356
|
-
* const value = notification[propertyName];
|
|
10357
|
-
* ```
|
|
10358
|
-
*
|
|
10359
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10360
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10361
|
-
*/
|
|
10362
|
-
export const KEY_NOTIFICATION_MESSAGE = 'message' as keyof Notification;
|
|
10363
|
-
/**
|
|
10364
|
-
* Notification Id
|
|
10365
|
-
*
|
|
10366
|
-
*
|
|
10367
|
-
* @type {string}
|
|
10368
|
-
*
|
|
10369
|
-
*
|
|
10370
|
-
* @remarks
|
|
10371
|
-
* This key constant provides type-safe access to the `notification_id` property of Notification objects.
|
|
10372
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10373
|
-
*
|
|
10374
|
-
* @example
|
|
10375
|
-
* ```typescript
|
|
10376
|
-
* // Direct property access
|
|
10377
|
-
* const value = notification[KEY_NOTIFICATION_NOTIFICATION_ID];
|
|
10378
|
-
*
|
|
10379
|
-
* // Dynamic property access
|
|
10380
|
-
* const propertyName = KEY_NOTIFICATION_NOTIFICATION_ID;
|
|
10381
|
-
* const value = notification[propertyName];
|
|
10382
|
-
* ```
|
|
10383
|
-
*
|
|
10384
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10385
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10386
|
-
*/
|
|
10387
|
-
export const KEY_NOTIFICATION_NOTIFICATION_ID = 'notification_id' as keyof Notification;
|
|
10388
|
-
/**
|
|
10389
|
-
* Publish Date
|
|
10390
|
-
*
|
|
10391
|
-
* The date/time the notification is to be published
|
|
10392
|
-
*
|
|
10393
|
-
* @type {string}
|
|
10394
|
-
*
|
|
10395
|
-
*
|
|
10396
|
-
* @remarks
|
|
10397
|
-
* This key constant provides type-safe access to the `publish_date` property of Notification objects.
|
|
10398
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10399
|
-
*
|
|
10400
|
-
* @example
|
|
10401
|
-
* ```typescript
|
|
10402
|
-
* // Direct property access
|
|
10403
|
-
* const value = notification[KEY_NOTIFICATION_PUBLISH_DATE];
|
|
10404
|
-
*
|
|
10405
|
-
* // Dynamic property access
|
|
10406
|
-
* const propertyName = KEY_NOTIFICATION_PUBLISH_DATE;
|
|
10407
|
-
* const value = notification[propertyName];
|
|
10408
|
-
* ```
|
|
10409
|
-
*
|
|
10410
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10411
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10412
|
-
*/
|
|
10413
|
-
export const KEY_NOTIFICATION_PUBLISH_DATE = 'publish_date' as keyof Notification;
|
|
10414
|
-
/**
|
|
10415
|
-
* Source
|
|
10416
|
-
*
|
|
10417
|
-
* Source of the notification
|
|
10418
|
-
*
|
|
10419
|
-
* @type {string}
|
|
10420
|
-
*
|
|
10421
|
-
*
|
|
10422
|
-
* @remarks
|
|
10423
|
-
* This key constant provides type-safe access to the `source` property of Notification objects.
|
|
10424
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10425
|
-
*
|
|
10426
|
-
* @example
|
|
10427
|
-
* ```typescript
|
|
10428
|
-
* // Direct property access
|
|
10429
|
-
* const value = notification[KEY_NOTIFICATION_SOURCE];
|
|
10430
|
-
*
|
|
10431
|
-
* // Dynamic property access
|
|
10432
|
-
* const propertyName = KEY_NOTIFICATION_SOURCE;
|
|
10433
|
-
* const value = notification[propertyName];
|
|
10434
|
-
* ```
|
|
10435
|
-
*
|
|
10436
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10437
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10438
|
-
*/
|
|
10439
|
-
export const KEY_NOTIFICATION_SOURCE = 'source' as keyof Notification;
|
|
10440
|
-
/**
|
|
10441
|
-
* Subject
|
|
10442
|
-
*
|
|
10443
|
-
* The subject of the notification
|
|
10444
|
-
*
|
|
10445
|
-
* @type {string}
|
|
10446
|
-
*
|
|
10447
|
-
*
|
|
10448
|
-
* @remarks
|
|
10449
|
-
* This key constant provides type-safe access to the `subject` property of Notification objects.
|
|
10450
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10451
|
-
*
|
|
10452
|
-
* @example
|
|
10453
|
-
* ```typescript
|
|
10454
|
-
* // Direct property access
|
|
10455
|
-
* const value = notification[KEY_NOTIFICATION_SUBJECT];
|
|
10456
|
-
*
|
|
10457
|
-
* // Dynamic property access
|
|
10458
|
-
* const propertyName = KEY_NOTIFICATION_SUBJECT;
|
|
10459
|
-
* const value = notification[propertyName];
|
|
10460
|
-
* ```
|
|
10461
|
-
*
|
|
10462
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10463
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10464
|
-
*/
|
|
10465
|
-
export const KEY_NOTIFICATION_SUBJECT = 'subject' as keyof Notification;
|
|
10466
|
-
/**
|
|
10467
|
-
* Target
|
|
10468
|
-
*
|
|
10469
|
-
* Target audience (broadcast, account, user)
|
|
10470
|
-
*
|
|
10471
|
-
* @type {string}
|
|
10472
|
-
*
|
|
10473
|
-
*
|
|
10474
|
-
* @remarks
|
|
10475
|
-
* This key constant provides type-safe access to the `target` property of Notification objects.
|
|
10476
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10477
|
-
*
|
|
10478
|
-
* @example
|
|
10479
|
-
* ```typescript
|
|
10480
|
-
* // Direct property access
|
|
10481
|
-
* const value = notification[KEY_NOTIFICATION_TARGET];
|
|
10482
|
-
*
|
|
10483
|
-
* // Dynamic property access
|
|
10484
|
-
* const propertyName = KEY_NOTIFICATION_TARGET;
|
|
10485
|
-
* const value = notification[propertyName];
|
|
10486
|
-
* ```
|
|
10487
|
-
*
|
|
10488
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10489
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10490
|
-
*/
|
|
10491
|
-
export const KEY_NOTIFICATION_TARGET = 'target' as keyof Notification;
|
|
10492
|
-
/**
|
|
10493
|
-
* Type
|
|
10494
|
-
*
|
|
10495
|
-
* The type of notification
|
|
10496
|
-
*
|
|
10497
|
-
* @type {string}
|
|
10498
|
-
*
|
|
10499
|
-
*
|
|
10500
|
-
* @remarks
|
|
10501
|
-
* This key constant provides type-safe access to the `type` property of Notification objects.
|
|
10502
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10503
|
-
*
|
|
10504
|
-
* @example
|
|
10505
|
-
* ```typescript
|
|
10506
|
-
* // Direct property access
|
|
10507
|
-
* const value = notification[KEY_NOTIFICATION_TYPE];
|
|
10508
|
-
*
|
|
10509
|
-
* // Dynamic property access
|
|
10510
|
-
* const propertyName = KEY_NOTIFICATION_TYPE;
|
|
10511
|
-
* const value = notification[propertyName];
|
|
10512
|
-
* ```
|
|
10513
|
-
*
|
|
10514
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10515
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10516
|
-
*/
|
|
10517
|
-
export const KEY_NOTIFICATION_TYPE = 'type' as keyof Notification;
|
|
10518
|
-
/**
|
|
10519
|
-
* Updated On
|
|
10520
|
-
*
|
|
10521
|
-
* The date/time the entry was last updated on
|
|
10522
|
-
*
|
|
10523
|
-
* @type {string}
|
|
10524
|
-
*
|
|
10525
|
-
*
|
|
10526
|
-
* @remarks
|
|
10527
|
-
* This key constant provides type-safe access to the `updated_on` property of Notification objects.
|
|
10528
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10529
|
-
*
|
|
10530
|
-
* @example
|
|
10531
|
-
* ```typescript
|
|
10532
|
-
* // Direct property access
|
|
10533
|
-
* const value = notification[KEY_NOTIFICATION_UPDATED_ON];
|
|
10534
|
-
*
|
|
10535
|
-
* // Dynamic property access
|
|
10536
|
-
* const propertyName = KEY_NOTIFICATION_UPDATED_ON;
|
|
10537
|
-
* const value = notification[propertyName];
|
|
10538
|
-
* ```
|
|
10539
|
-
*
|
|
10540
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10541
|
-
* @see {@link KEYS_NOTIFICATION} - Array of all keys for this type
|
|
10542
|
-
*/
|
|
10543
|
-
export const KEY_NOTIFICATION_UPDATED_ON = 'updated_on' as keyof Notification;
|
|
10544
|
-
|
|
10545
|
-
/**
|
|
10546
|
-
* Array of all Notification property keys
|
|
10547
|
-
*
|
|
10548
|
-
* @remarks
|
|
10549
|
-
* This constant provides a readonly array containing all valid property keys for Notification objects.
|
|
10550
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
10551
|
-
*
|
|
10552
|
-
* @example
|
|
10553
|
-
* ```typescript
|
|
10554
|
-
* // Iterating through all keys
|
|
10555
|
-
* for (const key of KEYS_NOTIFICATION) {
|
|
10556
|
-
* console.log(`Property: ${key}, Value: ${notification[key]}`);
|
|
10557
|
-
* }
|
|
10558
|
-
*
|
|
10559
|
-
* // Validation
|
|
10560
|
-
* const isValidKey = KEYS_NOTIFICATION.includes(someKey);
|
|
10561
|
-
* ```
|
|
10562
|
-
*
|
|
10563
|
-
* @see {@link Notification} - The TypeScript type definition
|
|
10564
|
-
*/
|
|
10565
|
-
export const KEYS_NOTIFICATION = [
|
|
10566
|
-
KEY_NOTIFICATION_AUTHOR,
|
|
10567
|
-
KEY_NOTIFICATION_CREATED_ON,
|
|
10568
|
-
KEY_NOTIFICATION_MESSAGE,
|
|
10569
|
-
KEY_NOTIFICATION_NOTIFICATION_ID,
|
|
10570
|
-
KEY_NOTIFICATION_PUBLISH_DATE,
|
|
10571
|
-
KEY_NOTIFICATION_SOURCE,
|
|
10572
|
-
KEY_NOTIFICATION_SUBJECT,
|
|
10573
|
-
KEY_NOTIFICATION_TARGET,
|
|
10574
|
-
KEY_NOTIFICATION_TYPE,
|
|
10575
|
-
KEY_NOTIFICATION_UPDATED_ON,
|
|
10576
|
-
] as const satisfies (keyof Notification)[];
|
|
10577
|
-
|
|
10578
|
-
/**
|
|
10579
|
-
* Author
|
|
10580
|
-
*
|
|
10581
|
-
* The user or system that created the notification
|
|
10582
|
-
*
|
|
10583
|
-
* @type {string}
|
|
10584
|
-
*
|
|
10585
|
-
*
|
|
10586
|
-
* @remarks
|
|
10587
|
-
* This key constant provides type-safe access to the `author` property of NotificationCreate objects.
|
|
10588
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10589
|
-
*
|
|
10590
|
-
* @example
|
|
10591
|
-
* ```typescript
|
|
10592
|
-
* // Direct property access
|
|
10593
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_AUTHOR];
|
|
10594
|
-
*
|
|
10595
|
-
* // Dynamic property access
|
|
10596
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_AUTHOR;
|
|
10597
|
-
* const value = notificationcreate[propertyName];
|
|
10598
|
-
* ```
|
|
10599
|
-
*
|
|
10600
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10601
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10602
|
-
*/
|
|
10603
|
-
export const KEY_NOTIFICATION_CREATE_AUTHOR = 'author' as keyof NotificationCreate;
|
|
10604
|
-
/**
|
|
10605
|
-
* Message
|
|
10606
|
-
*
|
|
10607
|
-
* The message content of the notification
|
|
10608
|
-
*
|
|
10609
|
-
* @type {string}
|
|
10610
|
-
*
|
|
10611
|
-
*
|
|
10612
|
-
* @remarks
|
|
10613
|
-
* This key constant provides type-safe access to the `message` property of NotificationCreate objects.
|
|
10614
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10615
|
-
*
|
|
10616
|
-
* @example
|
|
10617
|
-
* ```typescript
|
|
10618
|
-
* // Direct property access
|
|
10619
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_MESSAGE];
|
|
10620
|
-
*
|
|
10621
|
-
* // Dynamic property access
|
|
10622
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_MESSAGE;
|
|
10623
|
-
* const value = notificationcreate[propertyName];
|
|
10624
|
-
* ```
|
|
10625
|
-
*
|
|
10626
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10627
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10628
|
-
*/
|
|
10629
|
-
export const KEY_NOTIFICATION_CREATE_MESSAGE = 'message' as keyof NotificationCreate;
|
|
10630
|
-
/**
|
|
10631
|
-
* Publish Date
|
|
10632
|
-
*
|
|
10633
|
-
* The date/time the notification is to be published
|
|
10634
|
-
*
|
|
10635
|
-
* @type {string}
|
|
10636
|
-
*
|
|
10637
|
-
*
|
|
10638
|
-
* @remarks
|
|
10639
|
-
* This key constant provides type-safe access to the `publish_date` property of NotificationCreate objects.
|
|
10640
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10641
|
-
*
|
|
10642
|
-
* @example
|
|
10643
|
-
* ```typescript
|
|
10644
|
-
* // Direct property access
|
|
10645
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_PUBLISH_DATE];
|
|
10646
|
-
*
|
|
10647
|
-
* // Dynamic property access
|
|
10648
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_PUBLISH_DATE;
|
|
10649
|
-
* const value = notificationcreate[propertyName];
|
|
10650
|
-
* ```
|
|
10651
|
-
*
|
|
10652
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10653
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10654
|
-
*/
|
|
10655
|
-
export const KEY_NOTIFICATION_CREATE_PUBLISH_DATE = 'publish_date' as keyof NotificationCreate;
|
|
10656
|
-
/**
|
|
10657
|
-
* Source
|
|
10658
|
-
*
|
|
10659
|
-
* Source of the notification
|
|
10660
|
-
*
|
|
10661
|
-
* @type {string}
|
|
10662
|
-
*
|
|
10663
|
-
*
|
|
10664
|
-
* @remarks
|
|
10665
|
-
* This key constant provides type-safe access to the `source` property of NotificationCreate objects.
|
|
10666
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10667
|
-
*
|
|
10668
|
-
* @example
|
|
10669
|
-
* ```typescript
|
|
10670
|
-
* // Direct property access
|
|
10671
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_SOURCE];
|
|
10672
|
-
*
|
|
10673
|
-
* // Dynamic property access
|
|
10674
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_SOURCE;
|
|
10675
|
-
* const value = notificationcreate[propertyName];
|
|
10676
|
-
* ```
|
|
10677
|
-
*
|
|
10678
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10679
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10680
|
-
*/
|
|
10681
|
-
export const KEY_NOTIFICATION_CREATE_SOURCE = 'source' as keyof NotificationCreate;
|
|
10682
|
-
/**
|
|
10683
|
-
* Subject
|
|
10684
|
-
*
|
|
10685
|
-
* The subject of the notification
|
|
10686
|
-
*
|
|
10687
|
-
* @type {string}
|
|
10688
|
-
*
|
|
10689
|
-
*
|
|
10690
|
-
* @remarks
|
|
10691
|
-
* This key constant provides type-safe access to the `subject` property of NotificationCreate objects.
|
|
10692
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10693
|
-
*
|
|
10694
|
-
* @example
|
|
10695
|
-
* ```typescript
|
|
10696
|
-
* // Direct property access
|
|
10697
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_SUBJECT];
|
|
10698
|
-
*
|
|
10699
|
-
* // Dynamic property access
|
|
10700
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_SUBJECT;
|
|
10701
|
-
* const value = notificationcreate[propertyName];
|
|
10702
|
-
* ```
|
|
10703
|
-
*
|
|
10704
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10705
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10706
|
-
*/
|
|
10707
|
-
export const KEY_NOTIFICATION_CREATE_SUBJECT = 'subject' as keyof NotificationCreate;
|
|
10708
|
-
/**
|
|
10709
|
-
* Target
|
|
10710
|
-
*
|
|
10711
|
-
* Target audience (broadcast, account, user)
|
|
10712
|
-
*
|
|
10713
|
-
* @type {string}
|
|
10714
|
-
*
|
|
10715
|
-
*
|
|
10716
|
-
* @remarks
|
|
10717
|
-
* This key constant provides type-safe access to the `target` property of NotificationCreate objects.
|
|
10718
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10719
|
-
*
|
|
10720
|
-
* @example
|
|
10721
|
-
* ```typescript
|
|
10722
|
-
* // Direct property access
|
|
10723
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_TARGET];
|
|
10724
|
-
*
|
|
10725
|
-
* // Dynamic property access
|
|
10726
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_TARGET;
|
|
10727
|
-
* const value = notificationcreate[propertyName];
|
|
10728
|
-
* ```
|
|
10729
|
-
*
|
|
10730
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10731
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10732
|
-
*/
|
|
10733
|
-
export const KEY_NOTIFICATION_CREATE_TARGET = 'target' as keyof NotificationCreate;
|
|
10734
|
-
/**
|
|
10735
|
-
* Type
|
|
10736
|
-
*
|
|
10737
|
-
* The type of notification
|
|
10738
|
-
*
|
|
10739
|
-
* @type {string}
|
|
10740
|
-
*
|
|
10741
|
-
*
|
|
10742
|
-
* @remarks
|
|
10743
|
-
* This key constant provides type-safe access to the `type` property of NotificationCreate objects.
|
|
10744
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10745
|
-
*
|
|
10746
|
-
* @example
|
|
10747
|
-
* ```typescript
|
|
10748
|
-
* // Direct property access
|
|
10749
|
-
* const value = notificationcreate[KEY_NOTIFICATION_CREATE_TYPE];
|
|
10750
|
-
*
|
|
10751
|
-
* // Dynamic property access
|
|
10752
|
-
* const propertyName = KEY_NOTIFICATION_CREATE_TYPE;
|
|
10753
|
-
* const value = notificationcreate[propertyName];
|
|
10754
|
-
* ```
|
|
10755
|
-
*
|
|
10756
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10757
|
-
* @see {@link KEYS_NOTIFICATION_CREATE} - Array of all keys for this type
|
|
10758
|
-
*/
|
|
10759
|
-
export const KEY_NOTIFICATION_CREATE_TYPE = 'type' as keyof NotificationCreate;
|
|
10760
|
-
|
|
10761
|
-
/**
|
|
10762
|
-
* Array of all NotificationCreate property keys
|
|
10763
|
-
*
|
|
10764
|
-
* @remarks
|
|
10765
|
-
* This constant provides a readonly array containing all valid property keys for NotificationCreate objects.
|
|
10766
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
10767
|
-
*
|
|
10768
|
-
* @example
|
|
10769
|
-
* ```typescript
|
|
10770
|
-
* // Iterating through all keys
|
|
10771
|
-
* for (const key of KEYS_NOTIFICATION_CREATE) {
|
|
10772
|
-
* console.log(`Property: ${key}, Value: ${notificationcreate[key]}`);
|
|
10773
|
-
* }
|
|
10774
|
-
*
|
|
10775
|
-
* // Validation
|
|
10776
|
-
* const isValidKey = KEYS_NOTIFICATION_CREATE.includes(someKey);
|
|
10777
|
-
* ```
|
|
10778
|
-
*
|
|
10779
|
-
* @see {@link NotificationCreate} - The TypeScript type definition
|
|
10780
|
-
*/
|
|
10781
|
-
export const KEYS_NOTIFICATION_CREATE = [
|
|
10782
|
-
KEY_NOTIFICATION_CREATE_AUTHOR,
|
|
10783
|
-
KEY_NOTIFICATION_CREATE_MESSAGE,
|
|
10784
|
-
KEY_NOTIFICATION_CREATE_PUBLISH_DATE,
|
|
10785
|
-
KEY_NOTIFICATION_CREATE_SOURCE,
|
|
10786
|
-
KEY_NOTIFICATION_CREATE_SUBJECT,
|
|
10787
|
-
KEY_NOTIFICATION_CREATE_TARGET,
|
|
10788
|
-
KEY_NOTIFICATION_CREATE_TYPE,
|
|
10789
|
-
] as const satisfies (keyof NotificationCreate)[];
|
|
10790
|
-
|
|
10791
|
-
/**
|
|
10792
|
-
* Author
|
|
10793
|
-
*
|
|
10794
|
-
* The user or system that created the notification
|
|
10795
|
-
*
|
|
10796
|
-
* @type {string}
|
|
10797
|
-
*
|
|
10798
|
-
*
|
|
10799
|
-
* @remarks
|
|
10800
|
-
* This key constant provides type-safe access to the `author` property of NotificationSummary objects.
|
|
10801
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10802
|
-
*
|
|
10803
|
-
* @example
|
|
10804
|
-
* ```typescript
|
|
10805
|
-
* // Direct property access
|
|
10806
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_AUTHOR];
|
|
10807
|
-
*
|
|
10808
|
-
* // Dynamic property access
|
|
10809
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_AUTHOR;
|
|
10810
|
-
* const value = notificationsummary[propertyName];
|
|
10811
|
-
* ```
|
|
10812
|
-
*
|
|
10813
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10814
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10815
|
-
*/
|
|
10816
|
-
export const KEY_NOTIFICATION_SUMMARY_AUTHOR = 'author' as keyof NotificationSummary;
|
|
10817
|
-
/**
|
|
10818
|
-
* Message
|
|
10819
|
-
*
|
|
10820
|
-
* The message content of the notification
|
|
10821
|
-
*
|
|
10822
|
-
* @type {string}
|
|
10823
|
-
*
|
|
10824
|
-
*
|
|
10825
|
-
* @remarks
|
|
10826
|
-
* This key constant provides type-safe access to the `message` property of NotificationSummary objects.
|
|
10827
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10828
|
-
*
|
|
10829
|
-
* @example
|
|
10830
|
-
* ```typescript
|
|
10831
|
-
* // Direct property access
|
|
10832
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_MESSAGE];
|
|
10833
|
-
*
|
|
10834
|
-
* // Dynamic property access
|
|
10835
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_MESSAGE;
|
|
10836
|
-
* const value = notificationsummary[propertyName];
|
|
10837
|
-
* ```
|
|
10838
|
-
*
|
|
10839
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10840
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10841
|
-
*/
|
|
10842
|
-
export const KEY_NOTIFICATION_SUMMARY_MESSAGE = 'message' as keyof NotificationSummary;
|
|
10843
|
-
/**
|
|
10844
|
-
* Notification Id
|
|
10845
|
-
*
|
|
10846
|
-
*
|
|
10847
|
-
* @type {string}
|
|
10848
|
-
*
|
|
10849
|
-
*
|
|
10850
|
-
* @remarks
|
|
10851
|
-
* This key constant provides type-safe access to the `notification_id` property of NotificationSummary objects.
|
|
10852
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10853
|
-
*
|
|
10854
|
-
* @example
|
|
10855
|
-
* ```typescript
|
|
10856
|
-
* // Direct property access
|
|
10857
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_NOTIFICATION_ID];
|
|
10858
|
-
*
|
|
10859
|
-
* // Dynamic property access
|
|
10860
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_NOTIFICATION_ID;
|
|
10861
|
-
* const value = notificationsummary[propertyName];
|
|
10862
|
-
* ```
|
|
10863
|
-
*
|
|
10864
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10865
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10866
|
-
*/
|
|
10867
|
-
export const KEY_NOTIFICATION_SUMMARY_NOTIFICATION_ID = 'notification_id' as keyof NotificationSummary;
|
|
10868
|
-
/**
|
|
10869
|
-
* Publish Date
|
|
10870
|
-
*
|
|
10871
|
-
* The date/time the notification is to be published
|
|
10872
|
-
*
|
|
10873
|
-
* @type {string}
|
|
10874
|
-
*
|
|
10875
|
-
*
|
|
10876
|
-
* @remarks
|
|
10877
|
-
* This key constant provides type-safe access to the `publish_date` property of NotificationSummary objects.
|
|
10878
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10879
|
-
*
|
|
10880
|
-
* @example
|
|
10881
|
-
* ```typescript
|
|
10882
|
-
* // Direct property access
|
|
10883
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_PUBLISH_DATE];
|
|
10884
|
-
*
|
|
10885
|
-
* // Dynamic property access
|
|
10886
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_PUBLISH_DATE;
|
|
10887
|
-
* const value = notificationsummary[propertyName];
|
|
10888
|
-
* ```
|
|
10889
|
-
*
|
|
10890
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10891
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10892
|
-
*/
|
|
10893
|
-
export const KEY_NOTIFICATION_SUMMARY_PUBLISH_DATE = 'publish_date' as keyof NotificationSummary;
|
|
10894
|
-
/**
|
|
10895
|
-
* Source
|
|
10896
|
-
*
|
|
10897
|
-
* Source of the notification
|
|
10898
|
-
*
|
|
10899
|
-
* @type {string}
|
|
10900
|
-
*
|
|
10901
|
-
*
|
|
10902
|
-
* @remarks
|
|
10903
|
-
* This key constant provides type-safe access to the `source` property of NotificationSummary objects.
|
|
10904
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10905
|
-
*
|
|
10906
|
-
* @example
|
|
10907
|
-
* ```typescript
|
|
10908
|
-
* // Direct property access
|
|
10909
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_SOURCE];
|
|
10910
|
-
*
|
|
10911
|
-
* // Dynamic property access
|
|
10912
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_SOURCE;
|
|
10913
|
-
* const value = notificationsummary[propertyName];
|
|
10914
|
-
* ```
|
|
10915
|
-
*
|
|
10916
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10917
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10918
|
-
*/
|
|
10919
|
-
export const KEY_NOTIFICATION_SUMMARY_SOURCE = 'source' as keyof NotificationSummary;
|
|
10920
|
-
/**
|
|
10921
|
-
* Subject
|
|
10922
|
-
*
|
|
10923
|
-
* The subject of the notification
|
|
10924
|
-
*
|
|
10925
|
-
* @type {string}
|
|
10926
|
-
*
|
|
10927
|
-
*
|
|
10928
|
-
* @remarks
|
|
10929
|
-
* This key constant provides type-safe access to the `subject` property of NotificationSummary objects.
|
|
10930
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10931
|
-
*
|
|
10932
|
-
* @example
|
|
10933
|
-
* ```typescript
|
|
10934
|
-
* // Direct property access
|
|
10935
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_SUBJECT];
|
|
10936
|
-
*
|
|
10937
|
-
* // Dynamic property access
|
|
10938
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_SUBJECT;
|
|
10939
|
-
* const value = notificationsummary[propertyName];
|
|
10940
|
-
* ```
|
|
10941
|
-
*
|
|
10942
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10943
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10944
|
-
*/
|
|
10945
|
-
export const KEY_NOTIFICATION_SUMMARY_SUBJECT = 'subject' as keyof NotificationSummary;
|
|
10946
|
-
/**
|
|
10947
|
-
* Target
|
|
10948
|
-
*
|
|
10949
|
-
* Target audience (broadcast, account, user)
|
|
10950
|
-
*
|
|
10951
|
-
* @type {string}
|
|
10952
|
-
*
|
|
10953
|
-
*
|
|
10954
|
-
* @remarks
|
|
10955
|
-
* This key constant provides type-safe access to the `target` property of NotificationSummary objects.
|
|
10956
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10957
|
-
*
|
|
10958
|
-
* @example
|
|
10959
|
-
* ```typescript
|
|
10960
|
-
* // Direct property access
|
|
10961
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_TARGET];
|
|
10962
|
-
*
|
|
10963
|
-
* // Dynamic property access
|
|
10964
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_TARGET;
|
|
10965
|
-
* const value = notificationsummary[propertyName];
|
|
10966
|
-
* ```
|
|
10967
|
-
*
|
|
10968
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10969
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10970
|
-
*/
|
|
10971
|
-
export const KEY_NOTIFICATION_SUMMARY_TARGET = 'target' as keyof NotificationSummary;
|
|
10972
|
-
/**
|
|
10973
|
-
* Type
|
|
10974
|
-
*
|
|
10975
|
-
* The type of notification
|
|
10976
|
-
*
|
|
10977
|
-
* @type {string}
|
|
10978
|
-
*
|
|
10979
|
-
*
|
|
10980
|
-
* @remarks
|
|
10981
|
-
* This key constant provides type-safe access to the `type` property of NotificationSummary objects.
|
|
10982
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10983
|
-
*
|
|
10984
|
-
* @example
|
|
10985
|
-
* ```typescript
|
|
10986
|
-
* // Direct property access
|
|
10987
|
-
* const value = notificationsummary[KEY_NOTIFICATION_SUMMARY_TYPE];
|
|
10988
|
-
*
|
|
10989
|
-
* // Dynamic property access
|
|
10990
|
-
* const propertyName = KEY_NOTIFICATION_SUMMARY_TYPE;
|
|
10991
|
-
* const value = notificationsummary[propertyName];
|
|
10992
|
-
* ```
|
|
10993
|
-
*
|
|
10994
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
10995
|
-
* @see {@link KEYS_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
10996
|
-
*/
|
|
10997
|
-
export const KEY_NOTIFICATION_SUMMARY_TYPE = 'type' as keyof NotificationSummary;
|
|
10998
|
-
|
|
10999
|
-
/**
|
|
11000
|
-
* Array of all NotificationSummary property keys
|
|
11001
|
-
*
|
|
11002
|
-
* @remarks
|
|
11003
|
-
* This constant provides a readonly array containing all valid property keys for NotificationSummary objects.
|
|
11004
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
11005
|
-
*
|
|
11006
|
-
* @example
|
|
11007
|
-
* ```typescript
|
|
11008
|
-
* // Iterating through all keys
|
|
11009
|
-
* for (const key of KEYS_NOTIFICATION_SUMMARY) {
|
|
11010
|
-
* console.log(`Property: ${key}, Value: ${notificationsummary[key]}`);
|
|
11011
|
-
* }
|
|
11012
|
-
*
|
|
11013
|
-
* // Validation
|
|
11014
|
-
* const isValidKey = KEYS_NOTIFICATION_SUMMARY.includes(someKey);
|
|
11015
|
-
* ```
|
|
11016
|
-
*
|
|
11017
|
-
* @see {@link NotificationSummary} - The TypeScript type definition
|
|
11018
|
-
*/
|
|
11019
|
-
export const KEYS_NOTIFICATION_SUMMARY = [
|
|
11020
|
-
KEY_NOTIFICATION_SUMMARY_AUTHOR,
|
|
11021
|
-
KEY_NOTIFICATION_SUMMARY_MESSAGE,
|
|
11022
|
-
KEY_NOTIFICATION_SUMMARY_NOTIFICATION_ID,
|
|
11023
|
-
KEY_NOTIFICATION_SUMMARY_PUBLISH_DATE,
|
|
11024
|
-
KEY_NOTIFICATION_SUMMARY_SOURCE,
|
|
11025
|
-
KEY_NOTIFICATION_SUMMARY_SUBJECT,
|
|
11026
|
-
KEY_NOTIFICATION_SUMMARY_TARGET,
|
|
11027
|
-
KEY_NOTIFICATION_SUMMARY_TYPE,
|
|
11028
|
-
] as const satisfies (keyof NotificationSummary)[];
|
|
11029
|
-
|
|
11030
|
-
/**
|
|
11031
|
-
* Author
|
|
11032
|
-
*
|
|
11033
|
-
* The user or system that created the notification
|
|
11034
|
-
*
|
|
11035
|
-
* @type {string}
|
|
11036
|
-
*
|
|
11037
|
-
*
|
|
11038
|
-
* @remarks
|
|
11039
|
-
* This key constant provides type-safe access to the `author` property of NotificationUpdate objects.
|
|
11040
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11041
|
-
*
|
|
11042
|
-
* @example
|
|
11043
|
-
* ```typescript
|
|
11044
|
-
* // Direct property access
|
|
11045
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_AUTHOR];
|
|
11046
|
-
*
|
|
11047
|
-
* // Dynamic property access
|
|
11048
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_AUTHOR;
|
|
11049
|
-
* const value = notificationupdate[propertyName];
|
|
11050
|
-
* ```
|
|
11051
|
-
*
|
|
11052
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11053
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11054
|
-
*/
|
|
11055
|
-
export const KEY_NOTIFICATION_UPDATE_AUTHOR = 'author' as keyof NotificationUpdate;
|
|
11056
|
-
/**
|
|
11057
|
-
* Message
|
|
11058
|
-
*
|
|
11059
|
-
* The message content of the notification
|
|
11060
|
-
*
|
|
11061
|
-
* @type {string}
|
|
11062
|
-
*
|
|
11063
|
-
*
|
|
11064
|
-
* @remarks
|
|
11065
|
-
* This key constant provides type-safe access to the `message` property of NotificationUpdate objects.
|
|
11066
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11067
|
-
*
|
|
11068
|
-
* @example
|
|
11069
|
-
* ```typescript
|
|
11070
|
-
* // Direct property access
|
|
11071
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_MESSAGE];
|
|
11072
|
-
*
|
|
11073
|
-
* // Dynamic property access
|
|
11074
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_MESSAGE;
|
|
11075
|
-
* const value = notificationupdate[propertyName];
|
|
11076
|
-
* ```
|
|
11077
|
-
*
|
|
11078
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11079
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11080
|
-
*/
|
|
11081
|
-
export const KEY_NOTIFICATION_UPDATE_MESSAGE = 'message' as keyof NotificationUpdate;
|
|
11082
|
-
/**
|
|
11083
|
-
* Publish Date
|
|
11084
|
-
*
|
|
11085
|
-
* The date/time the notification is to be published
|
|
11086
|
-
*
|
|
11087
|
-
* @type {string}
|
|
11088
|
-
*
|
|
11089
|
-
*
|
|
11090
|
-
* @remarks
|
|
11091
|
-
* This key constant provides type-safe access to the `publish_date` property of NotificationUpdate objects.
|
|
11092
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11093
|
-
*
|
|
11094
|
-
* @example
|
|
11095
|
-
* ```typescript
|
|
11096
|
-
* // Direct property access
|
|
11097
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_PUBLISH_DATE];
|
|
11098
|
-
*
|
|
11099
|
-
* // Dynamic property access
|
|
11100
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_PUBLISH_DATE;
|
|
11101
|
-
* const value = notificationupdate[propertyName];
|
|
11102
|
-
* ```
|
|
11103
|
-
*
|
|
11104
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11105
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11106
|
-
*/
|
|
11107
|
-
export const KEY_NOTIFICATION_UPDATE_PUBLISH_DATE = 'publish_date' as keyof NotificationUpdate;
|
|
11108
|
-
/**
|
|
11109
|
-
* Source
|
|
11110
|
-
*
|
|
11111
|
-
* Source of the notification
|
|
11112
|
-
*
|
|
11113
|
-
* @type {string}
|
|
11114
|
-
*
|
|
11115
|
-
*
|
|
11116
|
-
* @remarks
|
|
11117
|
-
* This key constant provides type-safe access to the `source` property of NotificationUpdate objects.
|
|
11118
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11119
|
-
*
|
|
11120
|
-
* @example
|
|
11121
|
-
* ```typescript
|
|
11122
|
-
* // Direct property access
|
|
11123
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_SOURCE];
|
|
11124
|
-
*
|
|
11125
|
-
* // Dynamic property access
|
|
11126
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_SOURCE;
|
|
11127
|
-
* const value = notificationupdate[propertyName];
|
|
11128
|
-
* ```
|
|
11129
|
-
*
|
|
11130
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11131
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11132
|
-
*/
|
|
11133
|
-
export const KEY_NOTIFICATION_UPDATE_SOURCE = 'source' as keyof NotificationUpdate;
|
|
11134
|
-
/**
|
|
11135
|
-
* Subject
|
|
11136
|
-
*
|
|
11137
|
-
* The subject of the notification
|
|
11138
|
-
*
|
|
11139
|
-
* @type {string}
|
|
11140
|
-
*
|
|
11141
|
-
*
|
|
11142
|
-
* @remarks
|
|
11143
|
-
* This key constant provides type-safe access to the `subject` property of NotificationUpdate objects.
|
|
11144
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11145
|
-
*
|
|
11146
|
-
* @example
|
|
11147
|
-
* ```typescript
|
|
11148
|
-
* // Direct property access
|
|
11149
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_SUBJECT];
|
|
11150
|
-
*
|
|
11151
|
-
* // Dynamic property access
|
|
11152
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_SUBJECT;
|
|
11153
|
-
* const value = notificationupdate[propertyName];
|
|
11154
|
-
* ```
|
|
11155
|
-
*
|
|
11156
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11157
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11158
|
-
*/
|
|
11159
|
-
export const KEY_NOTIFICATION_UPDATE_SUBJECT = 'subject' as keyof NotificationUpdate;
|
|
11160
|
-
/**
|
|
11161
|
-
* Target
|
|
11162
|
-
*
|
|
11163
|
-
* Target audience (broadcast, account, user)
|
|
11164
|
-
*
|
|
11165
|
-
* @type {string}
|
|
11166
|
-
*
|
|
11167
|
-
*
|
|
11168
|
-
* @remarks
|
|
11169
|
-
* This key constant provides type-safe access to the `target` property of NotificationUpdate objects.
|
|
11170
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11171
|
-
*
|
|
11172
|
-
* @example
|
|
11173
|
-
* ```typescript
|
|
11174
|
-
* // Direct property access
|
|
11175
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_TARGET];
|
|
11176
|
-
*
|
|
11177
|
-
* // Dynamic property access
|
|
11178
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_TARGET;
|
|
11179
|
-
* const value = notificationupdate[propertyName];
|
|
11180
|
-
* ```
|
|
11181
|
-
*
|
|
11182
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11183
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11184
|
-
*/
|
|
11185
|
-
export const KEY_NOTIFICATION_UPDATE_TARGET = 'target' as keyof NotificationUpdate;
|
|
11186
|
-
/**
|
|
11187
|
-
* Type
|
|
11188
|
-
*
|
|
11189
|
-
* The type of notification
|
|
11190
|
-
*
|
|
11191
|
-
* @type {string}
|
|
11192
|
-
*
|
|
11193
|
-
*
|
|
11194
|
-
* @remarks
|
|
11195
|
-
* This key constant provides type-safe access to the `type` property of NotificationUpdate objects.
|
|
11196
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11197
|
-
*
|
|
11198
|
-
* @example
|
|
11199
|
-
* ```typescript
|
|
11200
|
-
* // Direct property access
|
|
11201
|
-
* const value = notificationupdate[KEY_NOTIFICATION_UPDATE_TYPE];
|
|
11202
|
-
*
|
|
11203
|
-
* // Dynamic property access
|
|
11204
|
-
* const propertyName = KEY_NOTIFICATION_UPDATE_TYPE;
|
|
11205
|
-
* const value = notificationupdate[propertyName];
|
|
11206
|
-
* ```
|
|
11207
|
-
*
|
|
11208
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11209
|
-
* @see {@link KEYS_NOTIFICATION_UPDATE} - Array of all keys for this type
|
|
11210
|
-
*/
|
|
11211
|
-
export const KEY_NOTIFICATION_UPDATE_TYPE = 'type' as keyof NotificationUpdate;
|
|
11212
|
-
|
|
11213
|
-
/**
|
|
11214
|
-
* Array of all NotificationUpdate property keys
|
|
11215
|
-
*
|
|
11216
|
-
* @remarks
|
|
11217
|
-
* This constant provides a readonly array containing all valid property keys for NotificationUpdate objects.
|
|
11218
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
11219
|
-
*
|
|
11220
|
-
* @example
|
|
11221
|
-
* ```typescript
|
|
11222
|
-
* // Iterating through all keys
|
|
11223
|
-
* for (const key of KEYS_NOTIFICATION_UPDATE) {
|
|
11224
|
-
* console.log(`Property: ${key}, Value: ${notificationupdate[key]}`);
|
|
11225
|
-
* }
|
|
11226
|
-
*
|
|
11227
|
-
* // Validation
|
|
11228
|
-
* const isValidKey = KEYS_NOTIFICATION_UPDATE.includes(someKey);
|
|
11229
|
-
* ```
|
|
11230
|
-
*
|
|
11231
|
-
* @see {@link NotificationUpdate} - The TypeScript type definition
|
|
11232
|
-
*/
|
|
11233
|
-
export const KEYS_NOTIFICATION_UPDATE = [
|
|
11234
|
-
KEY_NOTIFICATION_UPDATE_AUTHOR,
|
|
11235
|
-
KEY_NOTIFICATION_UPDATE_MESSAGE,
|
|
11236
|
-
KEY_NOTIFICATION_UPDATE_PUBLISH_DATE,
|
|
11237
|
-
KEY_NOTIFICATION_UPDATE_SOURCE,
|
|
11238
|
-
KEY_NOTIFICATION_UPDATE_SUBJECT,
|
|
11239
|
-
KEY_NOTIFICATION_UPDATE_TARGET,
|
|
11240
|
-
KEY_NOTIFICATION_UPDATE_TYPE,
|
|
11241
|
-
] as const satisfies (keyof NotificationUpdate)[];
|
|
11242
|
-
|
|
11243
10279
|
/**
|
|
11244
10280
|
* Address 1
|
|
11245
10281
|
*
|
|
@@ -18228,315 +17264,6 @@ export const KEYS_USER_CREATE = [
|
|
|
18228
17264
|
KEY_USER_CREATE_USERNAME,
|
|
18229
17265
|
] as const satisfies (keyof UserCreate)[];
|
|
18230
17266
|
|
|
18231
|
-
/**
|
|
18232
|
-
* Created On
|
|
18233
|
-
*
|
|
18234
|
-
* The date/time the entry was created on
|
|
18235
|
-
*
|
|
18236
|
-
* @type {string}
|
|
18237
|
-
*
|
|
18238
|
-
*
|
|
18239
|
-
* @remarks
|
|
18240
|
-
* This key constant provides type-safe access to the `created_on` property of UserNotification objects.
|
|
18241
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18242
|
-
*
|
|
18243
|
-
* @example
|
|
18244
|
-
* ```typescript
|
|
18245
|
-
* // Direct property access
|
|
18246
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_CREATED_ON];
|
|
18247
|
-
*
|
|
18248
|
-
* // Dynamic property access
|
|
18249
|
-
* const propertyName = KEY_USER_NOTIFICATION_CREATED_ON;
|
|
18250
|
-
* const value = usernotification[propertyName];
|
|
18251
|
-
* ```
|
|
18252
|
-
*
|
|
18253
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18254
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18255
|
-
*/
|
|
18256
|
-
export const KEY_USER_NOTIFICATION_CREATED_ON = 'created_on' as keyof UserNotification;
|
|
18257
|
-
/**
|
|
18258
|
-
* notification property
|
|
18259
|
-
*
|
|
18260
|
-
*
|
|
18261
|
-
*
|
|
18262
|
-
*
|
|
18263
|
-
* @remarks
|
|
18264
|
-
* This key constant provides type-safe access to the `notification` property of UserNotification objects.
|
|
18265
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18266
|
-
*
|
|
18267
|
-
* @example
|
|
18268
|
-
* ```typescript
|
|
18269
|
-
* // Direct property access
|
|
18270
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_NOTIFICATION];
|
|
18271
|
-
*
|
|
18272
|
-
* // Dynamic property access
|
|
18273
|
-
* const propertyName = KEY_USER_NOTIFICATION_NOTIFICATION;
|
|
18274
|
-
* const value = usernotification[propertyName];
|
|
18275
|
-
* ```
|
|
18276
|
-
*
|
|
18277
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18278
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18279
|
-
*/
|
|
18280
|
-
export const KEY_USER_NOTIFICATION_NOTIFICATION = 'notification' as keyof UserNotification;
|
|
18281
|
-
/**
|
|
18282
|
-
* Notification Id
|
|
18283
|
-
*
|
|
18284
|
-
* Unique identifier for the notification
|
|
18285
|
-
*
|
|
18286
|
-
* @type {string}
|
|
18287
|
-
*
|
|
18288
|
-
*
|
|
18289
|
-
* @remarks
|
|
18290
|
-
* This key constant provides type-safe access to the `notification_id` property of UserNotification objects.
|
|
18291
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18292
|
-
*
|
|
18293
|
-
* @example
|
|
18294
|
-
* ```typescript
|
|
18295
|
-
* // Direct property access
|
|
18296
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_NOTIFICATION_ID];
|
|
18297
|
-
*
|
|
18298
|
-
* // Dynamic property access
|
|
18299
|
-
* const propertyName = KEY_USER_NOTIFICATION_NOTIFICATION_ID;
|
|
18300
|
-
* const value = usernotification[propertyName];
|
|
18301
|
-
* ```
|
|
18302
|
-
*
|
|
18303
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18304
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18305
|
-
*/
|
|
18306
|
-
export const KEY_USER_NOTIFICATION_NOTIFICATION_ID = 'notification_id' as keyof UserNotification;
|
|
18307
|
-
/**
|
|
18308
|
-
* status property
|
|
18309
|
-
*
|
|
18310
|
-
* Whether the user has read the notification
|
|
18311
|
-
*
|
|
18312
|
-
*
|
|
18313
|
-
*
|
|
18314
|
-
* @remarks
|
|
18315
|
-
* This key constant provides type-safe access to the `status` property of UserNotification objects.
|
|
18316
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18317
|
-
*
|
|
18318
|
-
* @example
|
|
18319
|
-
* ```typescript
|
|
18320
|
-
* // Direct property access
|
|
18321
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_STATUS];
|
|
18322
|
-
*
|
|
18323
|
-
* // Dynamic property access
|
|
18324
|
-
* const propertyName = KEY_USER_NOTIFICATION_STATUS;
|
|
18325
|
-
* const value = usernotification[propertyName];
|
|
18326
|
-
* ```
|
|
18327
|
-
*
|
|
18328
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18329
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18330
|
-
*/
|
|
18331
|
-
export const KEY_USER_NOTIFICATION_STATUS = 'status' as keyof UserNotification;
|
|
18332
|
-
/**
|
|
18333
|
-
* Updated On
|
|
18334
|
-
*
|
|
18335
|
-
* The date/time the entry was last updated on
|
|
18336
|
-
*
|
|
18337
|
-
* @type {string}
|
|
18338
|
-
*
|
|
18339
|
-
*
|
|
18340
|
-
* @remarks
|
|
18341
|
-
* This key constant provides type-safe access to the `updated_on` property of UserNotification objects.
|
|
18342
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18343
|
-
*
|
|
18344
|
-
* @example
|
|
18345
|
-
* ```typescript
|
|
18346
|
-
* // Direct property access
|
|
18347
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_UPDATED_ON];
|
|
18348
|
-
*
|
|
18349
|
-
* // Dynamic property access
|
|
18350
|
-
* const propertyName = KEY_USER_NOTIFICATION_UPDATED_ON;
|
|
18351
|
-
* const value = usernotification[propertyName];
|
|
18352
|
-
* ```
|
|
18353
|
-
*
|
|
18354
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18355
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18356
|
-
*/
|
|
18357
|
-
export const KEY_USER_NOTIFICATION_UPDATED_ON = 'updated_on' as keyof UserNotification;
|
|
18358
|
-
/**
|
|
18359
|
-
* User Id
|
|
18360
|
-
*
|
|
18361
|
-
*
|
|
18362
|
-
* @type {string}
|
|
18363
|
-
*
|
|
18364
|
-
*
|
|
18365
|
-
* @remarks
|
|
18366
|
-
* This key constant provides type-safe access to the `user_id` property of UserNotification objects.
|
|
18367
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18368
|
-
*
|
|
18369
|
-
* @example
|
|
18370
|
-
* ```typescript
|
|
18371
|
-
* // Direct property access
|
|
18372
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_USER_ID];
|
|
18373
|
-
*
|
|
18374
|
-
* // Dynamic property access
|
|
18375
|
-
* const propertyName = KEY_USER_NOTIFICATION_USER_ID;
|
|
18376
|
-
* const value = usernotification[propertyName];
|
|
18377
|
-
* ```
|
|
18378
|
-
*
|
|
18379
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18380
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18381
|
-
*/
|
|
18382
|
-
export const KEY_USER_NOTIFICATION_USER_ID = 'user_id' as keyof UserNotification;
|
|
18383
|
-
/**
|
|
18384
|
-
* User Notification Id
|
|
18385
|
-
*
|
|
18386
|
-
*
|
|
18387
|
-
* @type {string}
|
|
18388
|
-
*
|
|
18389
|
-
*
|
|
18390
|
-
* @remarks
|
|
18391
|
-
* This key constant provides type-safe access to the `user_notification_id` property of UserNotification objects.
|
|
18392
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18393
|
-
*
|
|
18394
|
-
* @example
|
|
18395
|
-
* ```typescript
|
|
18396
|
-
* // Direct property access
|
|
18397
|
-
* const value = usernotification[KEY_USER_NOTIFICATION_USER_NOTIFICATION_ID];
|
|
18398
|
-
*
|
|
18399
|
-
* // Dynamic property access
|
|
18400
|
-
* const propertyName = KEY_USER_NOTIFICATION_USER_NOTIFICATION_ID;
|
|
18401
|
-
* const value = usernotification[propertyName];
|
|
18402
|
-
* ```
|
|
18403
|
-
*
|
|
18404
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18405
|
-
* @see {@link KEYS_USER_NOTIFICATION} - Array of all keys for this type
|
|
18406
|
-
*/
|
|
18407
|
-
export const KEY_USER_NOTIFICATION_USER_NOTIFICATION_ID = 'user_notification_id' as keyof UserNotification;
|
|
18408
|
-
|
|
18409
|
-
/**
|
|
18410
|
-
* Array of all UserNotification property keys
|
|
18411
|
-
*
|
|
18412
|
-
* @remarks
|
|
18413
|
-
* This constant provides a readonly array containing all valid property keys for UserNotification objects.
|
|
18414
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
18415
|
-
*
|
|
18416
|
-
* @example
|
|
18417
|
-
* ```typescript
|
|
18418
|
-
* // Iterating through all keys
|
|
18419
|
-
* for (const key of KEYS_USER_NOTIFICATION) {
|
|
18420
|
-
* console.log(`Property: ${key}, Value: ${usernotification[key]}`);
|
|
18421
|
-
* }
|
|
18422
|
-
*
|
|
18423
|
-
* // Validation
|
|
18424
|
-
* const isValidKey = KEYS_USER_NOTIFICATION.includes(someKey);
|
|
18425
|
-
* ```
|
|
18426
|
-
*
|
|
18427
|
-
* @see {@link UserNotification} - The TypeScript type definition
|
|
18428
|
-
*/
|
|
18429
|
-
export const KEYS_USER_NOTIFICATION = [
|
|
18430
|
-
KEY_USER_NOTIFICATION_CREATED_ON,
|
|
18431
|
-
KEY_USER_NOTIFICATION_NOTIFICATION,
|
|
18432
|
-
KEY_USER_NOTIFICATION_NOTIFICATION_ID,
|
|
18433
|
-
KEY_USER_NOTIFICATION_STATUS,
|
|
18434
|
-
KEY_USER_NOTIFICATION_UPDATED_ON,
|
|
18435
|
-
KEY_USER_NOTIFICATION_USER_ID,
|
|
18436
|
-
KEY_USER_NOTIFICATION_USER_NOTIFICATION_ID,
|
|
18437
|
-
] as const satisfies (keyof UserNotification)[];
|
|
18438
|
-
|
|
18439
|
-
/**
|
|
18440
|
-
* notification property
|
|
18441
|
-
*
|
|
18442
|
-
*
|
|
18443
|
-
*
|
|
18444
|
-
*
|
|
18445
|
-
* @remarks
|
|
18446
|
-
* This key constant provides type-safe access to the `notification` property of UserNotificationSummary objects.
|
|
18447
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18448
|
-
*
|
|
18449
|
-
* @example
|
|
18450
|
-
* ```typescript
|
|
18451
|
-
* // Direct property access
|
|
18452
|
-
* const value = usernotificationsummary[KEY_USER_NOTIFICATION_SUMMARY_NOTIFICATION];
|
|
18453
|
-
*
|
|
18454
|
-
* // Dynamic property access
|
|
18455
|
-
* const propertyName = KEY_USER_NOTIFICATION_SUMMARY_NOTIFICATION;
|
|
18456
|
-
* const value = usernotificationsummary[propertyName];
|
|
18457
|
-
* ```
|
|
18458
|
-
*
|
|
18459
|
-
* @see {@link UserNotificationSummary} - The TypeScript type definition
|
|
18460
|
-
* @see {@link KEYS_USER_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
18461
|
-
*/
|
|
18462
|
-
export const KEY_USER_NOTIFICATION_SUMMARY_NOTIFICATION = 'notification' as keyof UserNotificationSummary;
|
|
18463
|
-
/**
|
|
18464
|
-
* status property
|
|
18465
|
-
*
|
|
18466
|
-
* Whether the user has read the notification
|
|
18467
|
-
*
|
|
18468
|
-
*
|
|
18469
|
-
*
|
|
18470
|
-
* @remarks
|
|
18471
|
-
* This key constant provides type-safe access to the `status` property of UserNotificationSummary objects.
|
|
18472
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18473
|
-
*
|
|
18474
|
-
* @example
|
|
18475
|
-
* ```typescript
|
|
18476
|
-
* // Direct property access
|
|
18477
|
-
* const value = usernotificationsummary[KEY_USER_NOTIFICATION_SUMMARY_STATUS];
|
|
18478
|
-
*
|
|
18479
|
-
* // Dynamic property access
|
|
18480
|
-
* const propertyName = KEY_USER_NOTIFICATION_SUMMARY_STATUS;
|
|
18481
|
-
* const value = usernotificationsummary[propertyName];
|
|
18482
|
-
* ```
|
|
18483
|
-
*
|
|
18484
|
-
* @see {@link UserNotificationSummary} - The TypeScript type definition
|
|
18485
|
-
* @see {@link KEYS_USER_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
18486
|
-
*/
|
|
18487
|
-
export const KEY_USER_NOTIFICATION_SUMMARY_STATUS = 'status' as keyof UserNotificationSummary;
|
|
18488
|
-
/**
|
|
18489
|
-
* User Notification Id
|
|
18490
|
-
*
|
|
18491
|
-
*
|
|
18492
|
-
* @type {string}
|
|
18493
|
-
*
|
|
18494
|
-
*
|
|
18495
|
-
* @remarks
|
|
18496
|
-
* This key constant provides type-safe access to the `user_notification_id` property of UserNotificationSummary objects.
|
|
18497
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18498
|
-
*
|
|
18499
|
-
* @example
|
|
18500
|
-
* ```typescript
|
|
18501
|
-
* // Direct property access
|
|
18502
|
-
* const value = usernotificationsummary[KEY_USER_NOTIFICATION_SUMMARY_USER_NOTIFICATION_ID];
|
|
18503
|
-
*
|
|
18504
|
-
* // Dynamic property access
|
|
18505
|
-
* const propertyName = KEY_USER_NOTIFICATION_SUMMARY_USER_NOTIFICATION_ID;
|
|
18506
|
-
* const value = usernotificationsummary[propertyName];
|
|
18507
|
-
* ```
|
|
18508
|
-
*
|
|
18509
|
-
* @see {@link UserNotificationSummary} - The TypeScript type definition
|
|
18510
|
-
* @see {@link KEYS_USER_NOTIFICATION_SUMMARY} - Array of all keys for this type
|
|
18511
|
-
*/
|
|
18512
|
-
export const KEY_USER_NOTIFICATION_SUMMARY_USER_NOTIFICATION_ID = 'user_notification_id' as keyof UserNotificationSummary;
|
|
18513
|
-
|
|
18514
|
-
/**
|
|
18515
|
-
* Array of all UserNotificationSummary property keys
|
|
18516
|
-
*
|
|
18517
|
-
* @remarks
|
|
18518
|
-
* This constant provides a readonly array containing all valid property keys for UserNotificationSummary objects.
|
|
18519
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
18520
|
-
*
|
|
18521
|
-
* @example
|
|
18522
|
-
* ```typescript
|
|
18523
|
-
* // Iterating through all keys
|
|
18524
|
-
* for (const key of KEYS_USER_NOTIFICATION_SUMMARY) {
|
|
18525
|
-
* console.log(`Property: ${key}, Value: ${usernotificationsummary[key]}`);
|
|
18526
|
-
* }
|
|
18527
|
-
*
|
|
18528
|
-
* // Validation
|
|
18529
|
-
* const isValidKey = KEYS_USER_NOTIFICATION_SUMMARY.includes(someKey);
|
|
18530
|
-
* ```
|
|
18531
|
-
*
|
|
18532
|
-
* @see {@link UserNotificationSummary} - The TypeScript type definition
|
|
18533
|
-
*/
|
|
18534
|
-
export const KEYS_USER_NOTIFICATION_SUMMARY = [
|
|
18535
|
-
KEY_USER_NOTIFICATION_SUMMARY_NOTIFICATION,
|
|
18536
|
-
KEY_USER_NOTIFICATION_SUMMARY_STATUS,
|
|
18537
|
-
KEY_USER_NOTIFICATION_SUMMARY_USER_NOTIFICATION_ID,
|
|
18538
|
-
] as const satisfies (keyof UserNotificationSummary)[];
|
|
18539
|
-
|
|
18540
17267
|
/**
|
|
18541
17268
|
* Message
|
|
18542
17269
|
*
|