@opusdns/api 0.14.1 → 0.16.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 -101
- package/src/helpers/keys.ts +149 -723
- package/src/helpers/requests.d.ts +193 -111
- package/src/helpers/responses.d.ts +138 -164
- package/src/helpers/schemas-arrays.d.ts +20 -34
- package/src/helpers/schemas.d.ts +34 -162
- package/src/openapi.yaml +165 -306
- package/src/schema.d.ts +124 -203
package/src/helpers/keys.ts
CHANGED
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
import { AllowedNumberOfNameserverBase } from './schemas';
|
|
33
33
|
import { Body_issue_organization_token_v1_auth_token_post } from './schemas';
|
|
34
|
-
import { EmailForwardBulkDeleteResult } from './schemas';
|
|
35
|
-
import { EmailForwardBulkUpdateResult } from './schemas';
|
|
36
|
-
import { BulkOperationResult } from './schemas';
|
|
37
34
|
import { ContactConfigBase } from './schemas';
|
|
38
35
|
import { ContactCreate } from './schemas';
|
|
39
36
|
import { Contact } from './schemas';
|
|
@@ -82,12 +79,8 @@ import { DomainSummary } from './schemas';
|
|
|
82
79
|
import { DomainTransferIn } from './schemas';
|
|
83
80
|
import { DomainUpdate } from './schemas';
|
|
84
81
|
import { DomainsExpiringSoon } from './schemas';
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import { EmailForwardBulkUpdate } from './schemas';
|
|
88
|
-
import { EmailForwardBulkUpdateItem } from './schemas';
|
|
89
|
-
import { EmailForwardCreate } from './schemas';
|
|
90
|
-
import { EmailForwardUpdate } from './schemas';
|
|
82
|
+
import { EmailForwardAlias } from './schemas';
|
|
83
|
+
import { EmailForwardAliasUpdate } from './schemas';
|
|
91
84
|
import { EventResponse } from './schemas';
|
|
92
85
|
import { EventSchema } from './schemas';
|
|
93
86
|
import { GeneralAvailabilityBase } from './schemas';
|
|
@@ -137,6 +130,7 @@ import { TrademarkClaimsBase } from './schemas';
|
|
|
137
130
|
import { TransferEvent } from './schemas';
|
|
138
131
|
import { TransferPoliciesBase } from './schemas';
|
|
139
132
|
import { User } from './schemas';
|
|
133
|
+
import { UserAttributeBase } from './schemas';
|
|
140
134
|
import { UserAttributeUpdate } from './schemas';
|
|
141
135
|
import { UserCreate } from './schemas';
|
|
142
136
|
import { UserNotification } from './schemas';
|
|
@@ -382,182 +376,6 @@ export const KEYS_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST = [
|
|
|
382
376
|
KEY_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST_USERNAME,
|
|
383
377
|
] as const satisfies (keyof Body_issue_organization_token_v1_auth_token_post)[];
|
|
384
378
|
|
|
385
|
-
/**
|
|
386
|
-
* Results
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* @type {array}
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
* @remarks
|
|
393
|
-
* This key constant provides type-safe access to the `results` property of EmailForwardBulkDeleteResult objects.
|
|
394
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
395
|
-
*
|
|
396
|
-
* @example
|
|
397
|
-
* ```typescript
|
|
398
|
-
* // Direct property access
|
|
399
|
-
* const value = emailforwardbulkdeleteresult[KEY_EMAIL_FORWARD_BULK_DELETE_RESULT_RESULTS];
|
|
400
|
-
*
|
|
401
|
-
* // Dynamic property access
|
|
402
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_DELETE_RESULT_RESULTS;
|
|
403
|
-
* const value = emailforwardbulkdeleteresult[propertyName];
|
|
404
|
-
* ```
|
|
405
|
-
*
|
|
406
|
-
* @see {@link EmailForwardBulkDeleteResult} - The TypeScript type definition
|
|
407
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_DELETE_RESULT} - Array of all keys for this type
|
|
408
|
-
*/
|
|
409
|
-
export const KEY_EMAIL_FORWARD_BULK_DELETE_RESULT_RESULTS = 'results' as keyof EmailForwardBulkDeleteResult;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Array of all EmailForwardBulkDeleteResult property keys
|
|
413
|
-
*
|
|
414
|
-
* @remarks
|
|
415
|
-
* This constant provides a readonly array containing all valid property keys for EmailForwardBulkDeleteResult objects.
|
|
416
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
417
|
-
*
|
|
418
|
-
* @example
|
|
419
|
-
* ```typescript
|
|
420
|
-
* // Iterating through all keys
|
|
421
|
-
* for (const key of KEYS_EMAIL_FORWARD_BULK_DELETE_RESULT) {
|
|
422
|
-
* console.log(`Property: ${key}, Value: ${emailforwardbulkdeleteresult[key]}`);
|
|
423
|
-
* }
|
|
424
|
-
*
|
|
425
|
-
* // Validation
|
|
426
|
-
* const isValidKey = KEYS_EMAIL_FORWARD_BULK_DELETE_RESULT.includes(someKey);
|
|
427
|
-
* ```
|
|
428
|
-
*
|
|
429
|
-
* @see {@link EmailForwardBulkDeleteResult} - The TypeScript type definition
|
|
430
|
-
*/
|
|
431
|
-
export const KEYS_EMAIL_FORWARD_BULK_DELETE_RESULT = [
|
|
432
|
-
KEY_EMAIL_FORWARD_BULK_DELETE_RESULT_RESULTS,
|
|
433
|
-
] as const satisfies (keyof EmailForwardBulkDeleteResult)[];
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Results
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* @type {array}
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
* @remarks
|
|
443
|
-
* This key constant provides type-safe access to the `results` property of EmailForwardBulkUpdateResult objects.
|
|
444
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
445
|
-
*
|
|
446
|
-
* @example
|
|
447
|
-
* ```typescript
|
|
448
|
-
* // Direct property access
|
|
449
|
-
* const value = emailforwardbulkupdateresult[KEY_EMAIL_FORWARD_BULK_UPDATE_RESULT_RESULTS];
|
|
450
|
-
*
|
|
451
|
-
* // Dynamic property access
|
|
452
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_UPDATE_RESULT_RESULTS;
|
|
453
|
-
* const value = emailforwardbulkupdateresult[propertyName];
|
|
454
|
-
* ```
|
|
455
|
-
*
|
|
456
|
-
* @see {@link EmailForwardBulkUpdateResult} - The TypeScript type definition
|
|
457
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_UPDATE_RESULT} - Array of all keys for this type
|
|
458
|
-
*/
|
|
459
|
-
export const KEY_EMAIL_FORWARD_BULK_UPDATE_RESULT_RESULTS = 'results' as keyof EmailForwardBulkUpdateResult;
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* Array of all EmailForwardBulkUpdateResult property keys
|
|
463
|
-
*
|
|
464
|
-
* @remarks
|
|
465
|
-
* This constant provides a readonly array containing all valid property keys for EmailForwardBulkUpdateResult objects.
|
|
466
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
467
|
-
*
|
|
468
|
-
* @example
|
|
469
|
-
* ```typescript
|
|
470
|
-
* // Iterating through all keys
|
|
471
|
-
* for (const key of KEYS_EMAIL_FORWARD_BULK_UPDATE_RESULT) {
|
|
472
|
-
* console.log(`Property: ${key}, Value: ${emailforwardbulkupdateresult[key]}`);
|
|
473
|
-
* }
|
|
474
|
-
*
|
|
475
|
-
* // Validation
|
|
476
|
-
* const isValidKey = KEYS_EMAIL_FORWARD_BULK_UPDATE_RESULT.includes(someKey);
|
|
477
|
-
* ```
|
|
478
|
-
*
|
|
479
|
-
* @see {@link EmailForwardBulkUpdateResult} - The TypeScript type definition
|
|
480
|
-
*/
|
|
481
|
-
export const KEYS_EMAIL_FORWARD_BULK_UPDATE_RESULT = [
|
|
482
|
-
KEY_EMAIL_FORWARD_BULK_UPDATE_RESULT_RESULTS,
|
|
483
|
-
] as const satisfies (keyof EmailForwardBulkUpdateResult)[];
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Error Message
|
|
487
|
-
*
|
|
488
|
-
* Error message if operation failed
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
* @remarks
|
|
493
|
-
* This key constant provides type-safe access to the `error_message` property of BulkOperationResult objects.
|
|
494
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
495
|
-
*
|
|
496
|
-
* @example
|
|
497
|
-
* ```typescript
|
|
498
|
-
* // Direct property access
|
|
499
|
-
* const value = bulkoperationresult[KEY_BULK_OPERATION_RESULT_ERROR_MESSAGE];
|
|
500
|
-
*
|
|
501
|
-
* // Dynamic property access
|
|
502
|
-
* const propertyName = KEY_BULK_OPERATION_RESULT_ERROR_MESSAGE;
|
|
503
|
-
* const value = bulkoperationresult[propertyName];
|
|
504
|
-
* ```
|
|
505
|
-
*
|
|
506
|
-
* @see {@link BulkOperationResult} - The TypeScript type definition
|
|
507
|
-
* @see {@link KEYS_BULK_OPERATION_RESULT} - Array of all keys for this type
|
|
508
|
-
*/
|
|
509
|
-
export const KEY_BULK_OPERATION_RESULT_ERROR_MESSAGE = 'error_message' as keyof BulkOperationResult;
|
|
510
|
-
/**
|
|
511
|
-
* status property
|
|
512
|
-
*
|
|
513
|
-
* Status of performed operation
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
* @remarks
|
|
518
|
-
* This key constant provides type-safe access to the `status` property of BulkOperationResult objects.
|
|
519
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
520
|
-
*
|
|
521
|
-
* @example
|
|
522
|
-
* ```typescript
|
|
523
|
-
* // Direct property access
|
|
524
|
-
* const value = bulkoperationresult[KEY_BULK_OPERATION_RESULT_STATUS];
|
|
525
|
-
*
|
|
526
|
-
* // Dynamic property access
|
|
527
|
-
* const propertyName = KEY_BULK_OPERATION_RESULT_STATUS;
|
|
528
|
-
* const value = bulkoperationresult[propertyName];
|
|
529
|
-
* ```
|
|
530
|
-
*
|
|
531
|
-
* @see {@link BulkOperationResult} - The TypeScript type definition
|
|
532
|
-
* @see {@link KEYS_BULK_OPERATION_RESULT} - Array of all keys for this type
|
|
533
|
-
*/
|
|
534
|
-
export const KEY_BULK_OPERATION_RESULT_STATUS = 'status' as keyof BulkOperationResult;
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* Array of all BulkOperationResult property keys
|
|
538
|
-
*
|
|
539
|
-
* @remarks
|
|
540
|
-
* This constant provides a readonly array containing all valid property keys for BulkOperationResult objects.
|
|
541
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
542
|
-
*
|
|
543
|
-
* @example
|
|
544
|
-
* ```typescript
|
|
545
|
-
* // Iterating through all keys
|
|
546
|
-
* for (const key of KEYS_BULK_OPERATION_RESULT) {
|
|
547
|
-
* console.log(`Property: ${key}, Value: ${bulkoperationresult[key]}`);
|
|
548
|
-
* }
|
|
549
|
-
*
|
|
550
|
-
* // Validation
|
|
551
|
-
* const isValidKey = KEYS_BULK_OPERATION_RESULT.includes(someKey);
|
|
552
|
-
* ```
|
|
553
|
-
*
|
|
554
|
-
* @see {@link BulkOperationResult} - The TypeScript type definition
|
|
555
|
-
*/
|
|
556
|
-
export const KEYS_BULK_OPERATION_RESULT = [
|
|
557
|
-
KEY_BULK_OPERATION_RESULT_ERROR_MESSAGE,
|
|
558
|
-
KEY_BULK_OPERATION_RESULT_STATUS,
|
|
559
|
-
] as const satisfies (keyof BulkOperationResult)[];
|
|
560
|
-
|
|
561
379
|
/**
|
|
562
380
|
* Max
|
|
563
381
|
*
|
|
@@ -7875,625 +7693,130 @@ export const KEYS_DOMAINS_EXPIRING_SOON = [
|
|
|
7875
7693
|
] as const satisfies (keyof DomainsExpiringSoon)[];
|
|
7876
7694
|
|
|
7877
7695
|
/**
|
|
7878
|
-
*
|
|
7696
|
+
* Alias
|
|
7879
7697
|
*
|
|
7880
|
-
* The date/time the entry was created on
|
|
7881
7698
|
*
|
|
7882
7699
|
* @type {string}
|
|
7883
7700
|
*
|
|
7884
7701
|
*
|
|
7885
7702
|
* @remarks
|
|
7886
|
-
* This key constant provides type-safe access to the `
|
|
7887
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
7888
|
-
*
|
|
7889
|
-
* @example
|
|
7890
|
-
* ```typescript
|
|
7891
|
-
* // Direct property access
|
|
7892
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_CREATED_ON];
|
|
7893
|
-
*
|
|
7894
|
-
* // Dynamic property access
|
|
7895
|
-
* const propertyName = KEY_EMAIL_FORWARD_CREATED_ON;
|
|
7896
|
-
* const value = emailforward[propertyName];
|
|
7897
|
-
* ```
|
|
7898
|
-
*
|
|
7899
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
7900
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
7901
|
-
*/
|
|
7902
|
-
export const KEY_EMAIL_FORWARD_CREATED_ON = 'created_on' as keyof EmailForward;
|
|
7903
|
-
/**
|
|
7904
|
-
* Email Forward Id
|
|
7905
|
-
*
|
|
7906
|
-
*
|
|
7907
|
-
* @type {string}
|
|
7908
|
-
*
|
|
7909
|
-
*
|
|
7910
|
-
* @remarks
|
|
7911
|
-
* This key constant provides type-safe access to the `email_forward_id` property of EmailForward objects.
|
|
7912
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
7913
|
-
*
|
|
7914
|
-
* @example
|
|
7915
|
-
* ```typescript
|
|
7916
|
-
* // Direct property access
|
|
7917
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_EMAIL_FORWARD_ID];
|
|
7918
|
-
*
|
|
7919
|
-
* // Dynamic property access
|
|
7920
|
-
* const propertyName = KEY_EMAIL_FORWARD_EMAIL_FORWARD_ID;
|
|
7921
|
-
* const value = emailforward[propertyName];
|
|
7922
|
-
* ```
|
|
7923
|
-
*
|
|
7924
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
7925
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
7926
|
-
*/
|
|
7927
|
-
export const KEY_EMAIL_FORWARD_EMAIL_FORWARD_ID = 'email_forward_id' as keyof EmailForward;
|
|
7928
|
-
/**
|
|
7929
|
-
* Source Address
|
|
7930
|
-
*
|
|
7931
|
-
* The source email address to forward from
|
|
7932
|
-
*
|
|
7933
|
-
* @type {string}
|
|
7934
|
-
*
|
|
7935
|
-
*
|
|
7936
|
-
* @remarks
|
|
7937
|
-
* This key constant provides type-safe access to the `source_address` property of EmailForward objects.
|
|
7938
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
7939
|
-
*
|
|
7940
|
-
* @example
|
|
7941
|
-
* ```typescript
|
|
7942
|
-
* // Direct property access
|
|
7943
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_SOURCE_ADDRESS];
|
|
7944
|
-
*
|
|
7945
|
-
* // Dynamic property access
|
|
7946
|
-
* const propertyName = KEY_EMAIL_FORWARD_SOURCE_ADDRESS;
|
|
7947
|
-
* const value = emailforward[propertyName];
|
|
7948
|
-
* ```
|
|
7949
|
-
*
|
|
7950
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
7951
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
7952
|
-
*/
|
|
7953
|
-
export const KEY_EMAIL_FORWARD_SOURCE_ADDRESS = 'source_address' as keyof EmailForward;
|
|
7954
|
-
/**
|
|
7955
|
-
* status property
|
|
7956
|
-
*
|
|
7957
|
-
* Current status of the email forward rule
|
|
7958
|
-
*
|
|
7959
|
-
*
|
|
7960
|
-
*
|
|
7961
|
-
* @remarks
|
|
7962
|
-
* This key constant provides type-safe access to the `status` property of EmailForward objects.
|
|
7963
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
7964
|
-
*
|
|
7965
|
-
* @example
|
|
7966
|
-
* ```typescript
|
|
7967
|
-
* // Direct property access
|
|
7968
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_STATUS];
|
|
7969
|
-
*
|
|
7970
|
-
* // Dynamic property access
|
|
7971
|
-
* const propertyName = KEY_EMAIL_FORWARD_STATUS;
|
|
7972
|
-
* const value = emailforward[propertyName];
|
|
7973
|
-
* ```
|
|
7974
|
-
*
|
|
7975
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
7976
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
7977
|
-
*/
|
|
7978
|
-
export const KEY_EMAIL_FORWARD_STATUS = 'status' as keyof EmailForward;
|
|
7979
|
-
/**
|
|
7980
|
-
* Target Address
|
|
7981
|
-
*
|
|
7982
|
-
* The target email address to forward to
|
|
7983
|
-
*
|
|
7984
|
-
* @type {string}
|
|
7985
|
-
*
|
|
7986
|
-
*
|
|
7987
|
-
* @remarks
|
|
7988
|
-
* This key constant provides type-safe access to the `target_address` property of EmailForward objects.
|
|
7989
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
7990
|
-
*
|
|
7991
|
-
* @example
|
|
7992
|
-
* ```typescript
|
|
7993
|
-
* // Direct property access
|
|
7994
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_TARGET_ADDRESS];
|
|
7995
|
-
*
|
|
7996
|
-
* // Dynamic property access
|
|
7997
|
-
* const propertyName = KEY_EMAIL_FORWARD_TARGET_ADDRESS;
|
|
7998
|
-
* const value = emailforward[propertyName];
|
|
7999
|
-
* ```
|
|
8000
|
-
*
|
|
8001
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
8002
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
8003
|
-
*/
|
|
8004
|
-
export const KEY_EMAIL_FORWARD_TARGET_ADDRESS = 'target_address' as keyof EmailForward;
|
|
8005
|
-
/**
|
|
8006
|
-
* Updated On
|
|
8007
|
-
*
|
|
8008
|
-
* The date/time the entry was last updated on
|
|
8009
|
-
*
|
|
8010
|
-
* @type {string}
|
|
8011
|
-
*
|
|
8012
|
-
*
|
|
8013
|
-
* @remarks
|
|
8014
|
-
* This key constant provides type-safe access to the `updated_on` property of EmailForward objects.
|
|
8015
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8016
|
-
*
|
|
8017
|
-
* @example
|
|
8018
|
-
* ```typescript
|
|
8019
|
-
* // Direct property access
|
|
8020
|
-
* const value = emailforward[KEY_EMAIL_FORWARD_UPDATED_ON];
|
|
8021
|
-
*
|
|
8022
|
-
* // Dynamic property access
|
|
8023
|
-
* const propertyName = KEY_EMAIL_FORWARD_UPDATED_ON;
|
|
8024
|
-
* const value = emailforward[propertyName];
|
|
8025
|
-
* ```
|
|
8026
|
-
*
|
|
8027
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
8028
|
-
* @see {@link KEYS_EMAIL_FORWARD} - Array of all keys for this type
|
|
8029
|
-
*/
|
|
8030
|
-
export const KEY_EMAIL_FORWARD_UPDATED_ON = 'updated_on' as keyof EmailForward;
|
|
8031
|
-
|
|
8032
|
-
/**
|
|
8033
|
-
* Array of all EmailForward property keys
|
|
8034
|
-
*
|
|
8035
|
-
* @remarks
|
|
8036
|
-
* This constant provides a readonly array containing all valid property keys for EmailForward objects.
|
|
8037
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8038
|
-
*
|
|
8039
|
-
* @example
|
|
8040
|
-
* ```typescript
|
|
8041
|
-
* // Iterating through all keys
|
|
8042
|
-
* for (const key of KEYS_EMAIL_FORWARD) {
|
|
8043
|
-
* console.log(`Property: ${key}, Value: ${emailforward[key]}`);
|
|
8044
|
-
* }
|
|
8045
|
-
*
|
|
8046
|
-
* // Validation
|
|
8047
|
-
* const isValidKey = KEYS_EMAIL_FORWARD.includes(someKey);
|
|
8048
|
-
* ```
|
|
8049
|
-
*
|
|
8050
|
-
* @see {@link EmailForward} - The TypeScript type definition
|
|
8051
|
-
*/
|
|
8052
|
-
export const KEYS_EMAIL_FORWARD = [
|
|
8053
|
-
KEY_EMAIL_FORWARD_CREATED_ON,
|
|
8054
|
-
KEY_EMAIL_FORWARD_EMAIL_FORWARD_ID,
|
|
8055
|
-
KEY_EMAIL_FORWARD_SOURCE_ADDRESS,
|
|
8056
|
-
KEY_EMAIL_FORWARD_STATUS,
|
|
8057
|
-
KEY_EMAIL_FORWARD_TARGET_ADDRESS,
|
|
8058
|
-
KEY_EMAIL_FORWARD_UPDATED_ON,
|
|
8059
|
-
] as const satisfies (keyof EmailForward)[];
|
|
8060
|
-
|
|
8061
|
-
/**
|
|
8062
|
-
* Email Forward Ids
|
|
8063
|
-
*
|
|
8064
|
-
* List of email forward ids to delete
|
|
8065
|
-
*
|
|
8066
|
-
* @type {array}
|
|
8067
|
-
*
|
|
8068
|
-
*
|
|
8069
|
-
* @remarks
|
|
8070
|
-
* This key constant provides type-safe access to the `email_forward_ids` property of EmailForwardBulkDelete objects.
|
|
8071
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8072
|
-
*
|
|
8073
|
-
* @example
|
|
8074
|
-
* ```typescript
|
|
8075
|
-
* // Direct property access
|
|
8076
|
-
* const value = emailforwardbulkdelete[KEY_EMAIL_FORWARD_BULK_DELETE_EMAIL_FORWARD_IDS];
|
|
8077
|
-
*
|
|
8078
|
-
* // Dynamic property access
|
|
8079
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_DELETE_EMAIL_FORWARD_IDS;
|
|
8080
|
-
* const value = emailforwardbulkdelete[propertyName];
|
|
8081
|
-
* ```
|
|
8082
|
-
*
|
|
8083
|
-
* @see {@link EmailForwardBulkDelete} - The TypeScript type definition
|
|
8084
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_DELETE} - Array of all keys for this type
|
|
8085
|
-
*/
|
|
8086
|
-
export const KEY_EMAIL_FORWARD_BULK_DELETE_EMAIL_FORWARD_IDS = 'email_forward_ids' as keyof EmailForwardBulkDelete;
|
|
8087
|
-
|
|
8088
|
-
/**
|
|
8089
|
-
* Array of all EmailForwardBulkDelete property keys
|
|
8090
|
-
*
|
|
8091
|
-
* @remarks
|
|
8092
|
-
* This constant provides a readonly array containing all valid property keys for EmailForwardBulkDelete objects.
|
|
8093
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8094
|
-
*
|
|
8095
|
-
* @example
|
|
8096
|
-
* ```typescript
|
|
8097
|
-
* // Iterating through all keys
|
|
8098
|
-
* for (const key of KEYS_EMAIL_FORWARD_BULK_DELETE) {
|
|
8099
|
-
* console.log(`Property: ${key}, Value: ${emailforwardbulkdelete[key]}`);
|
|
8100
|
-
* }
|
|
8101
|
-
*
|
|
8102
|
-
* // Validation
|
|
8103
|
-
* const isValidKey = KEYS_EMAIL_FORWARD_BULK_DELETE.includes(someKey);
|
|
8104
|
-
* ```
|
|
8105
|
-
*
|
|
8106
|
-
* @see {@link EmailForwardBulkDelete} - The TypeScript type definition
|
|
8107
|
-
*/
|
|
8108
|
-
export const KEYS_EMAIL_FORWARD_BULK_DELETE = [
|
|
8109
|
-
KEY_EMAIL_FORWARD_BULK_DELETE_EMAIL_FORWARD_IDS,
|
|
8110
|
-
] as const satisfies (keyof EmailForwardBulkDelete)[];
|
|
8111
|
-
|
|
8112
|
-
/**
|
|
8113
|
-
* Email Forwards
|
|
8114
|
-
*
|
|
8115
|
-
* List of email forwards data to update
|
|
8116
|
-
*
|
|
8117
|
-
* @type {array}
|
|
8118
|
-
*
|
|
8119
|
-
*
|
|
8120
|
-
* @remarks
|
|
8121
|
-
* This key constant provides type-safe access to the `email_forwards` property of EmailForwardBulkUpdate objects.
|
|
7703
|
+
* This key constant provides type-safe access to the `alias` property of EmailForwardAlias objects.
|
|
8122
7704
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8123
7705
|
*
|
|
8124
7706
|
* @example
|
|
8125
7707
|
* ```typescript
|
|
8126
7708
|
* // Direct property access
|
|
8127
|
-
* const value =
|
|
7709
|
+
* const value = emailforwardalias[KEY_EMAIL_FORWARD_ALIAS_ALIAS];
|
|
8128
7710
|
*
|
|
8129
7711
|
* // Dynamic property access
|
|
8130
|
-
* const propertyName =
|
|
8131
|
-
* const value =
|
|
8132
|
-
* ```
|
|
8133
|
-
*
|
|
8134
|
-
* @see {@link EmailForwardBulkUpdate} - The TypeScript type definition
|
|
8135
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_UPDATE} - Array of all keys for this type
|
|
8136
|
-
*/
|
|
8137
|
-
export const KEY_EMAIL_FORWARD_BULK_UPDATE_EMAIL_FORWARDS = 'email_forwards' as keyof EmailForwardBulkUpdate;
|
|
8138
|
-
|
|
8139
|
-
/**
|
|
8140
|
-
* Array of all EmailForwardBulkUpdate property keys
|
|
8141
|
-
*
|
|
8142
|
-
* @remarks
|
|
8143
|
-
* This constant provides a readonly array containing all valid property keys for EmailForwardBulkUpdate objects.
|
|
8144
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8145
|
-
*
|
|
8146
|
-
* @example
|
|
8147
|
-
* ```typescript
|
|
8148
|
-
* // Iterating through all keys
|
|
8149
|
-
* for (const key of KEYS_EMAIL_FORWARD_BULK_UPDATE) {
|
|
8150
|
-
* console.log(`Property: ${key}, Value: ${emailforwardbulkupdate[key]}`);
|
|
8151
|
-
* }
|
|
8152
|
-
*
|
|
8153
|
-
* // Validation
|
|
8154
|
-
* const isValidKey = KEYS_EMAIL_FORWARD_BULK_UPDATE.includes(someKey);
|
|
7712
|
+
* const propertyName = KEY_EMAIL_FORWARD_ALIAS_ALIAS;
|
|
7713
|
+
* const value = emailforwardalias[propertyName];
|
|
8155
7714
|
* ```
|
|
8156
7715
|
*
|
|
8157
|
-
* @see {@link
|
|
7716
|
+
* @see {@link EmailForwardAlias} - The TypeScript type definition
|
|
7717
|
+
* @see {@link KEYS_EMAIL_FORWARD_ALIAS} - Array of all keys for this type
|
|
8158
7718
|
*/
|
|
8159
|
-
export const
|
|
8160
|
-
KEY_EMAIL_FORWARD_BULK_UPDATE_EMAIL_FORWARDS,
|
|
8161
|
-
] as const satisfies (keyof EmailForwardBulkUpdate)[];
|
|
8162
|
-
|
|
7719
|
+
export const KEY_EMAIL_FORWARD_ALIAS_ALIAS = 'alias' as keyof EmailForwardAlias;
|
|
8163
7720
|
/**
|
|
8164
|
-
*
|
|
7721
|
+
* Forward To
|
|
8165
7722
|
*
|
|
8166
|
-
* Unique identifier for the email forward
|
|
8167
7723
|
*
|
|
8168
7724
|
* @type {string}
|
|
8169
7725
|
*
|
|
8170
7726
|
*
|
|
8171
7727
|
* @remarks
|
|
8172
|
-
* This key constant provides type-safe access to the `
|
|
8173
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8174
|
-
*
|
|
8175
|
-
* @example
|
|
8176
|
-
* ```typescript
|
|
8177
|
-
* // Direct property access
|
|
8178
|
-
* const value = emailforwardbulkupdateitem[KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_EMAIL_FORWARD_ID];
|
|
8179
|
-
*
|
|
8180
|
-
* // Dynamic property access
|
|
8181
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_EMAIL_FORWARD_ID;
|
|
8182
|
-
* const value = emailforwardbulkupdateitem[propertyName];
|
|
8183
|
-
* ```
|
|
8184
|
-
*
|
|
8185
|
-
* @see {@link EmailForwardBulkUpdateItem} - The TypeScript type definition
|
|
8186
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_UPDATE_ITEM} - Array of all keys for this type
|
|
8187
|
-
*/
|
|
8188
|
-
export const KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_EMAIL_FORWARD_ID = 'email_forward_id' as keyof EmailForwardBulkUpdateItem;
|
|
8189
|
-
/**
|
|
8190
|
-
* Source Address
|
|
8191
|
-
*
|
|
8192
|
-
* The source email address to forward from
|
|
8193
|
-
*
|
|
8194
|
-
*
|
|
8195
|
-
*
|
|
8196
|
-
* @remarks
|
|
8197
|
-
* This key constant provides type-safe access to the `source_address` property of EmailForwardBulkUpdateItem objects.
|
|
8198
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8199
|
-
*
|
|
8200
|
-
* @example
|
|
8201
|
-
* ```typescript
|
|
8202
|
-
* // Direct property access
|
|
8203
|
-
* const value = emailforwardbulkupdateitem[KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_SOURCE_ADDRESS];
|
|
8204
|
-
*
|
|
8205
|
-
* // Dynamic property access
|
|
8206
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_SOURCE_ADDRESS;
|
|
8207
|
-
* const value = emailforwardbulkupdateitem[propertyName];
|
|
8208
|
-
* ```
|
|
8209
|
-
*
|
|
8210
|
-
* @see {@link EmailForwardBulkUpdateItem} - The TypeScript type definition
|
|
8211
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_UPDATE_ITEM} - Array of all keys for this type
|
|
8212
|
-
*/
|
|
8213
|
-
export const KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_SOURCE_ADDRESS = 'source_address' as keyof EmailForwardBulkUpdateItem;
|
|
8214
|
-
/**
|
|
8215
|
-
* status property
|
|
8216
|
-
*
|
|
8217
|
-
* Current status of the email forward rule
|
|
8218
|
-
*
|
|
8219
|
-
*
|
|
8220
|
-
*
|
|
8221
|
-
* @remarks
|
|
8222
|
-
* This key constant provides type-safe access to the `status` property of EmailForwardBulkUpdateItem objects.
|
|
8223
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8224
|
-
*
|
|
8225
|
-
* @example
|
|
8226
|
-
* ```typescript
|
|
8227
|
-
* // Direct property access
|
|
8228
|
-
* const value = emailforwardbulkupdateitem[KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_STATUS];
|
|
8229
|
-
*
|
|
8230
|
-
* // Dynamic property access
|
|
8231
|
-
* const propertyName = KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_STATUS;
|
|
8232
|
-
* const value = emailforwardbulkupdateitem[propertyName];
|
|
8233
|
-
* ```
|
|
8234
|
-
*
|
|
8235
|
-
* @see {@link EmailForwardBulkUpdateItem} - The TypeScript type definition
|
|
8236
|
-
* @see {@link KEYS_EMAIL_FORWARD_BULK_UPDATE_ITEM} - Array of all keys for this type
|
|
8237
|
-
*/
|
|
8238
|
-
export const KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_STATUS = 'status' as keyof EmailForwardBulkUpdateItem;
|
|
8239
|
-
/**
|
|
8240
|
-
* Target Address
|
|
8241
|
-
*
|
|
8242
|
-
* The target email address to forward to
|
|
8243
|
-
*
|
|
8244
|
-
*
|
|
8245
|
-
*
|
|
8246
|
-
* @remarks
|
|
8247
|
-
* This key constant provides type-safe access to the `target_address` property of EmailForwardBulkUpdateItem objects.
|
|
7728
|
+
* This key constant provides type-safe access to the `forward_to` property of EmailForwardAlias objects.
|
|
8248
7729
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8249
7730
|
*
|
|
8250
7731
|
* @example
|
|
8251
7732
|
* ```typescript
|
|
8252
7733
|
* // Direct property access
|
|
8253
|
-
* const value =
|
|
7734
|
+
* const value = emailforwardalias[KEY_EMAIL_FORWARD_ALIAS_FORWARD_TO];
|
|
8254
7735
|
*
|
|
8255
7736
|
* // Dynamic property access
|
|
8256
|
-
* const propertyName =
|
|
8257
|
-
* const value =
|
|
7737
|
+
* const propertyName = KEY_EMAIL_FORWARD_ALIAS_FORWARD_TO;
|
|
7738
|
+
* const value = emailforwardalias[propertyName];
|
|
8258
7739
|
* ```
|
|
8259
7740
|
*
|
|
8260
|
-
* @see {@link
|
|
8261
|
-
* @see {@link
|
|
7741
|
+
* @see {@link EmailForwardAlias} - The TypeScript type definition
|
|
7742
|
+
* @see {@link KEYS_EMAIL_FORWARD_ALIAS} - Array of all keys for this type
|
|
8262
7743
|
*/
|
|
8263
|
-
export const
|
|
7744
|
+
export const KEY_EMAIL_FORWARD_ALIAS_FORWARD_TO = 'forward_to' as keyof EmailForwardAlias;
|
|
8264
7745
|
|
|
8265
7746
|
/**
|
|
8266
|
-
* Array of all
|
|
7747
|
+
* Array of all EmailForwardAlias property keys
|
|
8267
7748
|
*
|
|
8268
7749
|
* @remarks
|
|
8269
|
-
* This constant provides a readonly array containing all valid property keys for
|
|
7750
|
+
* This constant provides a readonly array containing all valid property keys for EmailForwardAlias objects.
|
|
8270
7751
|
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8271
7752
|
*
|
|
8272
7753
|
* @example
|
|
8273
7754
|
* ```typescript
|
|
8274
7755
|
* // Iterating through all keys
|
|
8275
|
-
* for (const key of
|
|
8276
|
-
* console.log(`Property: ${key}, Value: ${
|
|
7756
|
+
* for (const key of KEYS_EMAIL_FORWARD_ALIAS) {
|
|
7757
|
+
* console.log(`Property: ${key}, Value: ${emailforwardalias[key]}`);
|
|
8277
7758
|
* }
|
|
8278
7759
|
*
|
|
8279
7760
|
* // Validation
|
|
8280
|
-
* const isValidKey =
|
|
7761
|
+
* const isValidKey = KEYS_EMAIL_FORWARD_ALIAS.includes(someKey);
|
|
8281
7762
|
* ```
|
|
8282
7763
|
*
|
|
8283
|
-
* @see {@link
|
|
7764
|
+
* @see {@link EmailForwardAlias} - The TypeScript type definition
|
|
8284
7765
|
*/
|
|
8285
|
-
export const
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
KEY_EMAIL_FORWARD_BULK_UPDATE_ITEM_TARGET_ADDRESS,
|
|
8290
|
-
] as const satisfies (keyof EmailForwardBulkUpdateItem)[];
|
|
7766
|
+
export const KEYS_EMAIL_FORWARD_ALIAS = [
|
|
7767
|
+
KEY_EMAIL_FORWARD_ALIAS_ALIAS,
|
|
7768
|
+
KEY_EMAIL_FORWARD_ALIAS_FORWARD_TO,
|
|
7769
|
+
] as const satisfies (keyof EmailForwardAlias)[];
|
|
8291
7770
|
|
|
8292
7771
|
/**
|
|
8293
|
-
*
|
|
8294
|
-
*
|
|
8295
|
-
* The source email address to forward from
|
|
8296
|
-
*
|
|
8297
|
-
* @type {string}
|
|
8298
|
-
*
|
|
8299
|
-
*
|
|
8300
|
-
* @remarks
|
|
8301
|
-
* This key constant provides type-safe access to the `source_address` property of EmailForwardCreate objects.
|
|
8302
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8303
|
-
*
|
|
8304
|
-
* @example
|
|
8305
|
-
* ```typescript
|
|
8306
|
-
* // Direct property access
|
|
8307
|
-
* const value = emailforwardcreate[KEY_EMAIL_FORWARD_CREATE_SOURCE_ADDRESS];
|
|
8308
|
-
*
|
|
8309
|
-
* // Dynamic property access
|
|
8310
|
-
* const propertyName = KEY_EMAIL_FORWARD_CREATE_SOURCE_ADDRESS;
|
|
8311
|
-
* const value = emailforwardcreate[propertyName];
|
|
8312
|
-
* ```
|
|
8313
|
-
*
|
|
8314
|
-
* @see {@link EmailForwardCreate} - The TypeScript type definition
|
|
8315
|
-
* @see {@link KEYS_EMAIL_FORWARD_CREATE} - Array of all keys for this type
|
|
8316
|
-
*/
|
|
8317
|
-
export const KEY_EMAIL_FORWARD_CREATE_SOURCE_ADDRESS = 'source_address' as keyof EmailForwardCreate;
|
|
8318
|
-
/**
|
|
8319
|
-
* status property
|
|
8320
|
-
*
|
|
8321
|
-
* Current status of the email forward rule
|
|
8322
|
-
*
|
|
8323
|
-
*
|
|
8324
|
-
*
|
|
8325
|
-
* @remarks
|
|
8326
|
-
* This key constant provides type-safe access to the `status` property of EmailForwardCreate objects.
|
|
8327
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8328
|
-
*
|
|
8329
|
-
* @example
|
|
8330
|
-
* ```typescript
|
|
8331
|
-
* // Direct property access
|
|
8332
|
-
* const value = emailforwardcreate[KEY_EMAIL_FORWARD_CREATE_STATUS];
|
|
8333
|
-
*
|
|
8334
|
-
* // Dynamic property access
|
|
8335
|
-
* const propertyName = KEY_EMAIL_FORWARD_CREATE_STATUS;
|
|
8336
|
-
* const value = emailforwardcreate[propertyName];
|
|
8337
|
-
* ```
|
|
8338
|
-
*
|
|
8339
|
-
* @see {@link EmailForwardCreate} - The TypeScript type definition
|
|
8340
|
-
* @see {@link KEYS_EMAIL_FORWARD_CREATE} - Array of all keys for this type
|
|
8341
|
-
*/
|
|
8342
|
-
export const KEY_EMAIL_FORWARD_CREATE_STATUS = 'status' as keyof EmailForwardCreate;
|
|
8343
|
-
/**
|
|
8344
|
-
* Target Address
|
|
7772
|
+
* Forward To
|
|
8345
7773
|
*
|
|
8346
|
-
* The target email address to forward to
|
|
8347
7774
|
*
|
|
8348
7775
|
* @type {string}
|
|
8349
7776
|
*
|
|
8350
7777
|
*
|
|
8351
7778
|
* @remarks
|
|
8352
|
-
* This key constant provides type-safe access to the `
|
|
7779
|
+
* This key constant provides type-safe access to the `forward_to` property of EmailForwardAliasUpdate objects.
|
|
8353
7780
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8354
7781
|
*
|
|
8355
7782
|
* @example
|
|
8356
7783
|
* ```typescript
|
|
8357
7784
|
* // Direct property access
|
|
8358
|
-
* const value =
|
|
7785
|
+
* const value = emailforwardaliasupdate[KEY_EMAIL_FORWARD_ALIAS_UPDATE_FORWARD_TO];
|
|
8359
7786
|
*
|
|
8360
7787
|
* // Dynamic property access
|
|
8361
|
-
* const propertyName =
|
|
8362
|
-
* const value =
|
|
7788
|
+
* const propertyName = KEY_EMAIL_FORWARD_ALIAS_UPDATE_FORWARD_TO;
|
|
7789
|
+
* const value = emailforwardaliasupdate[propertyName];
|
|
8363
7790
|
* ```
|
|
8364
7791
|
*
|
|
8365
|
-
* @see {@link
|
|
8366
|
-
* @see {@link
|
|
7792
|
+
* @see {@link EmailForwardAliasUpdate} - The TypeScript type definition
|
|
7793
|
+
* @see {@link KEYS_EMAIL_FORWARD_ALIAS_UPDATE} - Array of all keys for this type
|
|
8367
7794
|
*/
|
|
8368
|
-
export const
|
|
7795
|
+
export const KEY_EMAIL_FORWARD_ALIAS_UPDATE_FORWARD_TO = 'forward_to' as keyof EmailForwardAliasUpdate;
|
|
8369
7796
|
|
|
8370
7797
|
/**
|
|
8371
|
-
* Array of all
|
|
7798
|
+
* Array of all EmailForwardAliasUpdate property keys
|
|
8372
7799
|
*
|
|
8373
7800
|
* @remarks
|
|
8374
|
-
* This constant provides a readonly array containing all valid property keys for
|
|
7801
|
+
* This constant provides a readonly array containing all valid property keys for EmailForwardAliasUpdate objects.
|
|
8375
7802
|
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8376
7803
|
*
|
|
8377
7804
|
* @example
|
|
8378
7805
|
* ```typescript
|
|
8379
7806
|
* // Iterating through all keys
|
|
8380
|
-
* for (const key of
|
|
8381
|
-
* console.log(`Property: ${key}, Value: ${
|
|
7807
|
+
* for (const key of KEYS_EMAIL_FORWARD_ALIAS_UPDATE) {
|
|
7808
|
+
* console.log(`Property: ${key}, Value: ${emailforwardaliasupdate[key]}`);
|
|
8382
7809
|
* }
|
|
8383
7810
|
*
|
|
8384
7811
|
* // Validation
|
|
8385
|
-
* const isValidKey =
|
|
7812
|
+
* const isValidKey = KEYS_EMAIL_FORWARD_ALIAS_UPDATE.includes(someKey);
|
|
8386
7813
|
* ```
|
|
8387
7814
|
*
|
|
8388
|
-
* @see {@link
|
|
7815
|
+
* @see {@link EmailForwardAliasUpdate} - The TypeScript type definition
|
|
8389
7816
|
*/
|
|
8390
|
-
export const
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
KEY_EMAIL_FORWARD_CREATE_TARGET_ADDRESS,
|
|
8394
|
-
] as const satisfies (keyof EmailForwardCreate)[];
|
|
8395
|
-
|
|
8396
|
-
/**
|
|
8397
|
-
* Source Address
|
|
8398
|
-
*
|
|
8399
|
-
* The source email address to forward from
|
|
8400
|
-
*
|
|
8401
|
-
*
|
|
8402
|
-
*
|
|
8403
|
-
* @remarks
|
|
8404
|
-
* This key constant provides type-safe access to the `source_address` property of EmailForwardUpdate objects.
|
|
8405
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8406
|
-
*
|
|
8407
|
-
* @example
|
|
8408
|
-
* ```typescript
|
|
8409
|
-
* // Direct property access
|
|
8410
|
-
* const value = emailforwardupdate[KEY_EMAIL_FORWARD_UPDATE_SOURCE_ADDRESS];
|
|
8411
|
-
*
|
|
8412
|
-
* // Dynamic property access
|
|
8413
|
-
* const propertyName = KEY_EMAIL_FORWARD_UPDATE_SOURCE_ADDRESS;
|
|
8414
|
-
* const value = emailforwardupdate[propertyName];
|
|
8415
|
-
* ```
|
|
8416
|
-
*
|
|
8417
|
-
* @see {@link EmailForwardUpdate} - The TypeScript type definition
|
|
8418
|
-
* @see {@link KEYS_EMAIL_FORWARD_UPDATE} - Array of all keys for this type
|
|
8419
|
-
*/
|
|
8420
|
-
export const KEY_EMAIL_FORWARD_UPDATE_SOURCE_ADDRESS = 'source_address' as keyof EmailForwardUpdate;
|
|
8421
|
-
/**
|
|
8422
|
-
* status property
|
|
8423
|
-
*
|
|
8424
|
-
* Current status of the email forward rule
|
|
8425
|
-
*
|
|
8426
|
-
*
|
|
8427
|
-
*
|
|
8428
|
-
* @remarks
|
|
8429
|
-
* This key constant provides type-safe access to the `status` property of EmailForwardUpdate objects.
|
|
8430
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8431
|
-
*
|
|
8432
|
-
* @example
|
|
8433
|
-
* ```typescript
|
|
8434
|
-
* // Direct property access
|
|
8435
|
-
* const value = emailforwardupdate[KEY_EMAIL_FORWARD_UPDATE_STATUS];
|
|
8436
|
-
*
|
|
8437
|
-
* // Dynamic property access
|
|
8438
|
-
* const propertyName = KEY_EMAIL_FORWARD_UPDATE_STATUS;
|
|
8439
|
-
* const value = emailforwardupdate[propertyName];
|
|
8440
|
-
* ```
|
|
8441
|
-
*
|
|
8442
|
-
* @see {@link EmailForwardUpdate} - The TypeScript type definition
|
|
8443
|
-
* @see {@link KEYS_EMAIL_FORWARD_UPDATE} - Array of all keys for this type
|
|
8444
|
-
*/
|
|
8445
|
-
export const KEY_EMAIL_FORWARD_UPDATE_STATUS = 'status' as keyof EmailForwardUpdate;
|
|
8446
|
-
/**
|
|
8447
|
-
* Target Address
|
|
8448
|
-
*
|
|
8449
|
-
* The target email address to forward to
|
|
8450
|
-
*
|
|
8451
|
-
*
|
|
8452
|
-
*
|
|
8453
|
-
* @remarks
|
|
8454
|
-
* This key constant provides type-safe access to the `target_address` property of EmailForwardUpdate objects.
|
|
8455
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8456
|
-
*
|
|
8457
|
-
* @example
|
|
8458
|
-
* ```typescript
|
|
8459
|
-
* // Direct property access
|
|
8460
|
-
* const value = emailforwardupdate[KEY_EMAIL_FORWARD_UPDATE_TARGET_ADDRESS];
|
|
8461
|
-
*
|
|
8462
|
-
* // Dynamic property access
|
|
8463
|
-
* const propertyName = KEY_EMAIL_FORWARD_UPDATE_TARGET_ADDRESS;
|
|
8464
|
-
* const value = emailforwardupdate[propertyName];
|
|
8465
|
-
* ```
|
|
8466
|
-
*
|
|
8467
|
-
* @see {@link EmailForwardUpdate} - The TypeScript type definition
|
|
8468
|
-
* @see {@link KEYS_EMAIL_FORWARD_UPDATE} - Array of all keys for this type
|
|
8469
|
-
*/
|
|
8470
|
-
export const KEY_EMAIL_FORWARD_UPDATE_TARGET_ADDRESS = 'target_address' as keyof EmailForwardUpdate;
|
|
8471
|
-
|
|
8472
|
-
/**
|
|
8473
|
-
* Array of all EmailForwardUpdate property keys
|
|
8474
|
-
*
|
|
8475
|
-
* @remarks
|
|
8476
|
-
* This constant provides a readonly array containing all valid property keys for EmailForwardUpdate objects.
|
|
8477
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
8478
|
-
*
|
|
8479
|
-
* @example
|
|
8480
|
-
* ```typescript
|
|
8481
|
-
* // Iterating through all keys
|
|
8482
|
-
* for (const key of KEYS_EMAIL_FORWARD_UPDATE) {
|
|
8483
|
-
* console.log(`Property: ${key}, Value: ${emailforwardupdate[key]}`);
|
|
8484
|
-
* }
|
|
8485
|
-
*
|
|
8486
|
-
* // Validation
|
|
8487
|
-
* const isValidKey = KEYS_EMAIL_FORWARD_UPDATE.includes(someKey);
|
|
8488
|
-
* ```
|
|
8489
|
-
*
|
|
8490
|
-
* @see {@link EmailForwardUpdate} - The TypeScript type definition
|
|
8491
|
-
*/
|
|
8492
|
-
export const KEYS_EMAIL_FORWARD_UPDATE = [
|
|
8493
|
-
KEY_EMAIL_FORWARD_UPDATE_SOURCE_ADDRESS,
|
|
8494
|
-
KEY_EMAIL_FORWARD_UPDATE_STATUS,
|
|
8495
|
-
KEY_EMAIL_FORWARD_UPDATE_TARGET_ADDRESS,
|
|
8496
|
-
] as const satisfies (keyof EmailForwardUpdate)[];
|
|
7817
|
+
export const KEYS_EMAIL_FORWARD_ALIAS_UPDATE = [
|
|
7818
|
+
KEY_EMAIL_FORWARD_ALIAS_UPDATE_FORWARD_TO,
|
|
7819
|
+
] as const satisfies (keyof EmailForwardAliasUpdate)[];
|
|
8497
7820
|
|
|
8498
7821
|
/**
|
|
8499
7822
|
* Event Data
|
|
@@ -17101,6 +16424,83 @@ export const KEYS_USER = [
|
|
|
17101
16424
|
KEY_USER_USERNAME,
|
|
17102
16425
|
] as const satisfies (keyof User)[];
|
|
17103
16426
|
|
|
16427
|
+
/**
|
|
16428
|
+
* Key
|
|
16429
|
+
*
|
|
16430
|
+
* Key of the attribute.
|
|
16431
|
+
*
|
|
16432
|
+
* @type {string}
|
|
16433
|
+
*
|
|
16434
|
+
*
|
|
16435
|
+
* @remarks
|
|
16436
|
+
* This key constant provides type-safe access to the `key` property of UserAttributeBase objects.
|
|
16437
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
16438
|
+
*
|
|
16439
|
+
* @example
|
|
16440
|
+
* ```typescript
|
|
16441
|
+
* // Direct property access
|
|
16442
|
+
* const value = userattributebase[KEY_USER_ATTRIBUTE_BASE_KEY];
|
|
16443
|
+
*
|
|
16444
|
+
* // Dynamic property access
|
|
16445
|
+
* const propertyName = KEY_USER_ATTRIBUTE_BASE_KEY;
|
|
16446
|
+
* const value = userattributebase[propertyName];
|
|
16447
|
+
* ```
|
|
16448
|
+
*
|
|
16449
|
+
* @see {@link UserAttributeBase} - The TypeScript type definition
|
|
16450
|
+
* @see {@link KEYS_USER_ATTRIBUTE_BASE} - Array of all keys for this type
|
|
16451
|
+
*/
|
|
16452
|
+
export const KEY_USER_ATTRIBUTE_BASE_KEY = 'key' as keyof UserAttributeBase;
|
|
16453
|
+
/**
|
|
16454
|
+
* value property
|
|
16455
|
+
*
|
|
16456
|
+
* Value of the attribute.
|
|
16457
|
+
*
|
|
16458
|
+
*
|
|
16459
|
+
*
|
|
16460
|
+
* @remarks
|
|
16461
|
+
* This key constant provides type-safe access to the `value` property of UserAttributeBase objects.
|
|
16462
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
16463
|
+
*
|
|
16464
|
+
* @example
|
|
16465
|
+
* ```typescript
|
|
16466
|
+
* // Direct property access
|
|
16467
|
+
* const value = userattributebase[KEY_USER_ATTRIBUTE_BASE_VALUE];
|
|
16468
|
+
*
|
|
16469
|
+
* // Dynamic property access
|
|
16470
|
+
* const propertyName = KEY_USER_ATTRIBUTE_BASE_VALUE;
|
|
16471
|
+
* const value = userattributebase[propertyName];
|
|
16472
|
+
* ```
|
|
16473
|
+
*
|
|
16474
|
+
* @see {@link UserAttributeBase} - The TypeScript type definition
|
|
16475
|
+
* @see {@link KEYS_USER_ATTRIBUTE_BASE} - Array of all keys for this type
|
|
16476
|
+
*/
|
|
16477
|
+
export const KEY_USER_ATTRIBUTE_BASE_VALUE = 'value' as keyof UserAttributeBase;
|
|
16478
|
+
|
|
16479
|
+
/**
|
|
16480
|
+
* Array of all UserAttributeBase property keys
|
|
16481
|
+
*
|
|
16482
|
+
* @remarks
|
|
16483
|
+
* This constant provides a readonly array containing all valid property keys for UserAttributeBase objects.
|
|
16484
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
16485
|
+
*
|
|
16486
|
+
* @example
|
|
16487
|
+
* ```typescript
|
|
16488
|
+
* // Iterating through all keys
|
|
16489
|
+
* for (const key of KEYS_USER_ATTRIBUTE_BASE) {
|
|
16490
|
+
* console.log(`Property: ${key}, Value: ${userattributebase[key]}`);
|
|
16491
|
+
* }
|
|
16492
|
+
*
|
|
16493
|
+
* // Validation
|
|
16494
|
+
* const isValidKey = KEYS_USER_ATTRIBUTE_BASE.includes(someKey);
|
|
16495
|
+
* ```
|
|
16496
|
+
*
|
|
16497
|
+
* @see {@link UserAttributeBase} - The TypeScript type definition
|
|
16498
|
+
*/
|
|
16499
|
+
export const KEYS_USER_ATTRIBUTE_BASE = [
|
|
16500
|
+
KEY_USER_ATTRIBUTE_BASE_KEY,
|
|
16501
|
+
KEY_USER_ATTRIBUTE_BASE_VALUE,
|
|
16502
|
+
] as const satisfies (keyof UserAttributeBase)[];
|
|
16503
|
+
|
|
17104
16504
|
/**
|
|
17105
16505
|
* Key
|
|
17106
16506
|
*
|
|
@@ -17332,6 +16732,31 @@ export const KEY_USER_CREATE_PASSWORD = 'password' as keyof UserCreate;
|
|
|
17332
16732
|
* @see {@link KEYS_USER_CREATE} - Array of all keys for this type
|
|
17333
16733
|
*/
|
|
17334
16734
|
export const KEY_USER_CREATE_PHONE = 'phone' as keyof UserCreate;
|
|
16735
|
+
/**
|
|
16736
|
+
* User Attributes
|
|
16737
|
+
*
|
|
16738
|
+
* User attributes
|
|
16739
|
+
*
|
|
16740
|
+
*
|
|
16741
|
+
*
|
|
16742
|
+
* @remarks
|
|
16743
|
+
* This key constant provides type-safe access to the `user_attributes` property of UserCreate objects.
|
|
16744
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
16745
|
+
*
|
|
16746
|
+
* @example
|
|
16747
|
+
* ```typescript
|
|
16748
|
+
* // Direct property access
|
|
16749
|
+
* const value = usercreate[KEY_USER_CREATE_USER_ATTRIBUTES];
|
|
16750
|
+
*
|
|
16751
|
+
* // Dynamic property access
|
|
16752
|
+
* const propertyName = KEY_USER_CREATE_USER_ATTRIBUTES;
|
|
16753
|
+
* const value = usercreate[propertyName];
|
|
16754
|
+
* ```
|
|
16755
|
+
*
|
|
16756
|
+
* @see {@link UserCreate} - The TypeScript type definition
|
|
16757
|
+
* @see {@link KEYS_USER_CREATE} - Array of all keys for this type
|
|
16758
|
+
*/
|
|
16759
|
+
export const KEY_USER_CREATE_USER_ATTRIBUTES = 'user_attributes' as keyof UserCreate;
|
|
17335
16760
|
/**
|
|
17336
16761
|
* Username
|
|
17337
16762
|
*
|
|
@@ -17386,6 +16811,7 @@ export const KEYS_USER_CREATE = [
|
|
|
17386
16811
|
KEY_USER_CREATE_LOCALE,
|
|
17387
16812
|
KEY_USER_CREATE_PASSWORD,
|
|
17388
16813
|
KEY_USER_CREATE_PHONE,
|
|
16814
|
+
KEY_USER_CREATE_USER_ATTRIBUTES,
|
|
17389
16815
|
KEY_USER_CREATE_USERNAME,
|
|
17390
16816
|
] as const satisfies (keyof UserCreate)[];
|
|
17391
16817
|
|