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