@opusdns/api 0.9.0 → 0.11.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.
@@ -0,0 +1,2633 @@
1
+ /**
2
+ * Auto-generated const objects and arrays from OpenAPI specification
3
+ *
4
+ * This file contains constant objects and arrays derived from OpenAPI schema enums.
5
+ * Each constant provides both an object form (for key-value access) and an array form (for iteration/validation).
6
+ * These constants use existing types from schemas.ts to avoid duplication and ensure type safety.
7
+ *
8
+ * @remarks
9
+ * - String enums generate both objects and arrays with proper type annotations
10
+ * - Integer enums generate typed arrays only
11
+ * - All constants use 'as const' for maximum type safety
12
+ * - Keys follow SCREAMING_SNAKE_CASE convention for consistency
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * // Using the object form for key-value access
17
+ * const status = BULK_OPERATION_STATUS.SUCCESS;
18
+ *
19
+ * // Using the array form for iteration
20
+ * const allStatuses = BULK_OPERATION_STATUS_VALUES;
21
+ * ```
22
+ */
23
+
24
+ import { AllocationMethodType, BulkOperationStatus, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailForwardStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PlanRelation, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserNotificationStatus, UserStatus, VerificationType, ZoneSortField } from './schemas';
25
+
26
+ /**
27
+ * AllocationMethodType. Auto-generated enum for AllocationMethodType
28
+ *
29
+ * @remarks
30
+ * This constant provides both object and array forms for the AllocationMethodType enum.
31
+ * The object form allows key-value access, while the array form enables iteration and validation.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * // Using the object form for key-value access
36
+ * const status = ALLOCATION_METHOD_TYPE.SUCCESS;
37
+ *
38
+ * // Using the array form for iteration
39
+ * const allStatuses = ALLOCATION_METHOD_TYPE_VALUES;
40
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
41
+ * ```
42
+ *
43
+ * @see {@link AllocationMethodType} - The TypeScript type definition
44
+ */
45
+ export const ALLOCATION_METHOD_TYPE = {
46
+ FCFS: "fcfs",
47
+ AUCTION: "auction",
48
+ LOTTERY: "lottery",
49
+ } as const satisfies Record<string, AllocationMethodType>;
50
+
51
+ /**
52
+ * Array of all AllocationMethodType enum values
53
+ *
54
+ * @remarks
55
+ * This constant provides a array containing all valid AllocationMethodType enum values.
56
+ * Useful for iteration, validation, and generating dynamic UI components.
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * // Iterating through all values
61
+ * for (const value of ALLOCATION_METHOD_TYPE_VALUES) {
62
+ * console.log(`Processing: ${value}`);
63
+ * }
64
+ *
65
+ * // Validation
66
+ * const isValid = ALLOCATION_METHOD_TYPE_VALUES.includes(someValue);
67
+ * ```
68
+ *
69
+ * @see {@link AllocationMethodType} - The TypeScript type definition
70
+ * @see {@link ALLOCATION_METHOD_TYPE} - The object form of this enum
71
+ */
72
+ export const ALLOCATION_METHOD_TYPE_VALUES = [
73
+ 'fcfs',
74
+ 'auction',
75
+ 'lottery'
76
+ ] as const satisfies [string, ...string[]] | AllocationMethodType[];
77
+
78
+ /**
79
+ * BulkOperationStatus. Auto-generated enum for BulkOperationStatus
80
+ *
81
+ * @remarks
82
+ * This constant provides both object and array forms for the BulkOperationStatus enum.
83
+ * The object form allows key-value access, while the array form enables iteration and validation.
84
+ *
85
+ * @example
86
+ * ```typescript
87
+ * // Using the object form for key-value access
88
+ * const status = BULK_OPERATION_STATUS.SUCCESS;
89
+ *
90
+ * // Using the array form for iteration
91
+ * const allStatuses = BULK_OPERATION_STATUS_VALUES;
92
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
93
+ * ```
94
+ *
95
+ * @see {@link BulkOperationStatus} - The TypeScript type definition
96
+ */
97
+ export const BULK_OPERATION_STATUS = {
98
+ SUCCESS: "success",
99
+ FAILED: "failed",
100
+ } as const satisfies Record<string, BulkOperationStatus>;
101
+
102
+ /**
103
+ * Array of all BulkOperationStatus enum values
104
+ *
105
+ * @remarks
106
+ * This constant provides a array containing all valid BulkOperationStatus enum values.
107
+ * Useful for iteration, validation, and generating dynamic UI components.
108
+ *
109
+ * @example
110
+ * ```typescript
111
+ * // Iterating through all values
112
+ * for (const value of BULK_OPERATION_STATUS_VALUES) {
113
+ * console.log(`Processing: ${value}`);
114
+ * }
115
+ *
116
+ * // Validation
117
+ * const isValid = BULK_OPERATION_STATUS_VALUES.includes(someValue);
118
+ * ```
119
+ *
120
+ * @see {@link BulkOperationStatus} - The TypeScript type definition
121
+ * @see {@link BULK_OPERATION_STATUS} - The object form of this enum
122
+ */
123
+ export const BULK_OPERATION_STATUS_VALUES = [
124
+ 'success',
125
+ 'failed'
126
+ ] as const satisfies [string, ...string[]] | BulkOperationStatus[];
127
+
128
+ /**
129
+ * ContactRoleType. Auto-generated enum for ContactRoleType
130
+ *
131
+ * @remarks
132
+ * This constant provides both object and array forms for the ContactRoleType enum.
133
+ * The object form allows key-value access, while the array form enables iteration and validation.
134
+ *
135
+ * @example
136
+ * ```typescript
137
+ * // Using the object form for key-value access
138
+ * const status = CONTACT_ROLE_TYPE.SUCCESS;
139
+ *
140
+ * // Using the array form for iteration
141
+ * const allStatuses = CONTACT_ROLE_TYPE_VALUES;
142
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
143
+ * ```
144
+ *
145
+ * @see {@link ContactRoleType} - The TypeScript type definition
146
+ */
147
+ export const CONTACT_ROLE_TYPE = {
148
+ REGISTRANT: "registrant",
149
+ ADMIN: "admin",
150
+ TECH: "tech",
151
+ BILLING: "billing",
152
+ } as const satisfies Record<string, ContactRoleType>;
153
+
154
+ /**
155
+ * Array of all ContactRoleType enum values
156
+ *
157
+ * @remarks
158
+ * This constant provides a array containing all valid ContactRoleType enum values.
159
+ * Useful for iteration, validation, and generating dynamic UI components.
160
+ *
161
+ * @example
162
+ * ```typescript
163
+ * // Iterating through all values
164
+ * for (const value of CONTACT_ROLE_TYPE_VALUES) {
165
+ * console.log(`Processing: ${value}`);
166
+ * }
167
+ *
168
+ * // Validation
169
+ * const isValid = CONTACT_ROLE_TYPE_VALUES.includes(someValue);
170
+ * ```
171
+ *
172
+ * @see {@link ContactRoleType} - The TypeScript type definition
173
+ * @see {@link CONTACT_ROLE_TYPE} - The object form of this enum
174
+ */
175
+ export const CONTACT_ROLE_TYPE_VALUES = [
176
+ 'registrant',
177
+ 'admin',
178
+ 'tech',
179
+ 'billing'
180
+ ] as const satisfies [string, ...string[]] | ContactRoleType[];
181
+
182
+ /**
183
+ * ContactSortField. Auto-generated enum for ContactSortField
184
+ *
185
+ * @remarks
186
+ * This constant provides both object and array forms for the ContactSortField enum.
187
+ * The object form allows key-value access, while the array form enables iteration and validation.
188
+ *
189
+ * @example
190
+ * ```typescript
191
+ * // Using the object form for key-value access
192
+ * const status = CONTACT_SORT_FIELD.SUCCESS;
193
+ *
194
+ * // Using the array form for iteration
195
+ * const allStatuses = CONTACT_SORT_FIELD_VALUES;
196
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
197
+ * ```
198
+ *
199
+ * @see {@link ContactSortField} - The TypeScript type definition
200
+ */
201
+ export const CONTACT_SORT_FIELD = {
202
+ FIRST_NAME: "first_name",
203
+ LAST_NAME: "last_name",
204
+ EMAIL: "email",
205
+ CREATED_ON: "created_on",
206
+ } as const satisfies Record<string, ContactSortField>;
207
+
208
+ /**
209
+ * Array of all ContactSortField enum values
210
+ *
211
+ * @remarks
212
+ * This constant provides a array containing all valid ContactSortField enum values.
213
+ * Useful for iteration, validation, and generating dynamic UI components.
214
+ *
215
+ * @example
216
+ * ```typescript
217
+ * // Iterating through all values
218
+ * for (const value of CONTACT_SORT_FIELD_VALUES) {
219
+ * console.log(`Processing: ${value}`);
220
+ * }
221
+ *
222
+ * // Validation
223
+ * const isValid = CONTACT_SORT_FIELD_VALUES.includes(someValue);
224
+ * ```
225
+ *
226
+ * @see {@link ContactSortField} - The TypeScript type definition
227
+ * @see {@link CONTACT_SORT_FIELD} - The object form of this enum
228
+ */
229
+ export const CONTACT_SORT_FIELD_VALUES = [
230
+ 'first_name',
231
+ 'last_name',
232
+ 'email',
233
+ 'created_on'
234
+ ] as const satisfies [string, ...string[]] | ContactSortField[];
235
+
236
+ /**
237
+ * Currency. Auto-generated enum for Currency
238
+ *
239
+ * @remarks
240
+ * This constant provides both object and array forms for the Currency enum.
241
+ * The object form allows key-value access, while the array form enables iteration and validation.
242
+ *
243
+ * @example
244
+ * ```typescript
245
+ * // Using the object form for key-value access
246
+ * const status = CURRENCY.SUCCESS;
247
+ *
248
+ * // Using the array form for iteration
249
+ * const allStatuses = CURRENCY_VALUES;
250
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
251
+ * ```
252
+ *
253
+ * @see {@link Currency} - The TypeScript type definition
254
+ */
255
+ export const CURRENCY = {
256
+ USD: "USD",
257
+ EUR: "EUR",
258
+ } as const satisfies Record<string, Currency>;
259
+
260
+ /**
261
+ * Array of all Currency enum values
262
+ *
263
+ * @remarks
264
+ * This constant provides a array containing all valid Currency enum values.
265
+ * Useful for iteration, validation, and generating dynamic UI components.
266
+ *
267
+ * @example
268
+ * ```typescript
269
+ * // Iterating through all values
270
+ * for (const value of CURRENCY_VALUES) {
271
+ * console.log(`Processing: ${value}`);
272
+ * }
273
+ *
274
+ * // Validation
275
+ * const isValid = CURRENCY_VALUES.includes(someValue);
276
+ * ```
277
+ *
278
+ * @see {@link Currency} - The TypeScript type definition
279
+ * @see {@link CURRENCY} - The object form of this enum
280
+ */
281
+ export const CURRENCY_VALUES = [
282
+ 'USD',
283
+ 'EUR'
284
+ ] as const satisfies [string, ...string[]] | Currency[];
285
+
286
+ /**
287
+ * DeletePolicyType. Auto-generated enum for DeletePolicyType
288
+ *
289
+ * @remarks
290
+ * This constant provides both object and array forms for the DeletePolicyType enum.
291
+ * The object form allows key-value access, while the array form enables iteration and validation.
292
+ *
293
+ * @example
294
+ * ```typescript
295
+ * // Using the object form for key-value access
296
+ * const status = DELETE_POLICY_TYPE.SUCCESS;
297
+ *
298
+ * // Using the array form for iteration
299
+ * const allStatuses = DELETE_POLICY_TYPE_VALUES;
300
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
301
+ * ```
302
+ *
303
+ * @see {@link DeletePolicyType} - The TypeScript type definition
304
+ */
305
+ export const DELETE_POLICY_TYPE = {
306
+ IMMEDIATE: "immediate",
307
+ EXPIRATION: "expiration",
308
+ } as const satisfies Record<string, DeletePolicyType>;
309
+
310
+ /**
311
+ * Array of all DeletePolicyType enum values
312
+ *
313
+ * @remarks
314
+ * This constant provides a array containing all valid DeletePolicyType enum values.
315
+ * Useful for iteration, validation, and generating dynamic UI components.
316
+ *
317
+ * @example
318
+ * ```typescript
319
+ * // Iterating through all values
320
+ * for (const value of DELETE_POLICY_TYPE_VALUES) {
321
+ * console.log(`Processing: ${value}`);
322
+ * }
323
+ *
324
+ * // Validation
325
+ * const isValid = DELETE_POLICY_TYPE_VALUES.includes(someValue);
326
+ * ```
327
+ *
328
+ * @see {@link DeletePolicyType} - The TypeScript type definition
329
+ * @see {@link DELETE_POLICY_TYPE} - The object form of this enum
330
+ */
331
+ export const DELETE_POLICY_TYPE_VALUES = [
332
+ 'immediate',
333
+ 'expiration'
334
+ ] as const satisfies [string, ...string[]] | DeletePolicyType[];
335
+
336
+ /**
337
+ * DnsChangeAction. Auto-generated enum for DnsChangeAction
338
+ *
339
+ * @remarks
340
+ * This constant provides both object and array forms for the DnsChangeAction enum.
341
+ * The object form allows key-value access, while the array form enables iteration and validation.
342
+ *
343
+ * @example
344
+ * ```typescript
345
+ * // Using the object form for key-value access
346
+ * const status = DNS_CHANGE_ACTION.SUCCESS;
347
+ *
348
+ * // Using the array form for iteration
349
+ * const allStatuses = DNS_CHANGE_ACTION_VALUES;
350
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
351
+ * ```
352
+ *
353
+ * @see {@link DnsChangeAction} - The TypeScript type definition
354
+ */
355
+ export const DNS_CHANGE_ACTION = {
356
+ CREATE_ZONE: "create_zone",
357
+ DELETE_ZONE: "delete_zone",
358
+ CREATE_RECORD: "create_record",
359
+ DELETE_RECORD: "delete_record",
360
+ ENABLE_DNSSEC: "enable_dnssec",
361
+ DISABLE_DNSSEC: "disable_dnssec",
362
+ } as const satisfies Record<string, DnsChangeAction>;
363
+
364
+ /**
365
+ * Array of all DnsChangeAction enum values
366
+ *
367
+ * @remarks
368
+ * This constant provides a array containing all valid DnsChangeAction enum values.
369
+ * Useful for iteration, validation, and generating dynamic UI components.
370
+ *
371
+ * @example
372
+ * ```typescript
373
+ * // Iterating through all values
374
+ * for (const value of DNS_CHANGE_ACTION_VALUES) {
375
+ * console.log(`Processing: ${value}`);
376
+ * }
377
+ *
378
+ * // Validation
379
+ * const isValid = DNS_CHANGE_ACTION_VALUES.includes(someValue);
380
+ * ```
381
+ *
382
+ * @see {@link DnsChangeAction} - The TypeScript type definition
383
+ * @see {@link DNS_CHANGE_ACTION} - The object form of this enum
384
+ */
385
+ export const DNS_CHANGE_ACTION_VALUES = [
386
+ 'create_zone',
387
+ 'delete_zone',
388
+ 'create_record',
389
+ 'delete_record',
390
+ 'enable_dnssec',
391
+ 'disable_dnssec'
392
+ ] as const satisfies [string, ...string[]] | DnsChangeAction[];
393
+
394
+ /**
395
+ * DnsRrsetType. Auto-generated enum for DnsRrsetType
396
+ *
397
+ * @remarks
398
+ * This constant provides both object and array forms for the DnsRrsetType enum.
399
+ * The object form allows key-value access, while the array form enables iteration and validation.
400
+ *
401
+ * @example
402
+ * ```typescript
403
+ * // Using the object form for key-value access
404
+ * const status = DNS_RRSET_TYPE.SUCCESS;
405
+ *
406
+ * // Using the array form for iteration
407
+ * const allStatuses = DNS_RRSET_TYPE_VALUES;
408
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
409
+ * ```
410
+ *
411
+ * @see {@link DnsRrsetType} - The TypeScript type definition
412
+ */
413
+ export const DNS_RRSET_TYPE = {
414
+ A: "A",
415
+ AAAA: "AAAA",
416
+ ALIAS: "ALIAS",
417
+ CAA: "CAA",
418
+ CNAME: "CNAME",
419
+ DNSKEY: "DNSKEY",
420
+ DS: "DS",
421
+ MX: "MX",
422
+ NS: "NS",
423
+ PTR: "PTR",
424
+ TXT: "TXT",
425
+ SOA: "SOA",
426
+ SRV: "SRV",
427
+ } as const satisfies Record<string, DnsRrsetType>;
428
+
429
+ /**
430
+ * Array of all DnsRrsetType enum values
431
+ *
432
+ * @remarks
433
+ * This constant provides a array containing all valid DnsRrsetType enum values.
434
+ * Useful for iteration, validation, and generating dynamic UI components.
435
+ *
436
+ * @example
437
+ * ```typescript
438
+ * // Iterating through all values
439
+ * for (const value of DNS_RRSET_TYPE_VALUES) {
440
+ * console.log(`Processing: ${value}`);
441
+ * }
442
+ *
443
+ * // Validation
444
+ * const isValid = DNS_RRSET_TYPE_VALUES.includes(someValue);
445
+ * ```
446
+ *
447
+ * @see {@link DnsRrsetType} - The TypeScript type definition
448
+ * @see {@link DNS_RRSET_TYPE} - The object form of this enum
449
+ */
450
+ export const DNS_RRSET_TYPE_VALUES = [
451
+ 'A',
452
+ 'AAAA',
453
+ 'ALIAS',
454
+ 'CAA',
455
+ 'CNAME',
456
+ 'DNSKEY',
457
+ 'DS',
458
+ 'MX',
459
+ 'NS',
460
+ 'PTR',
461
+ 'TXT',
462
+ 'SOA',
463
+ 'SRV'
464
+ ] as const satisfies [string, ...string[]] | DnsRrsetType[];
465
+
466
+ /**
467
+ * DnssecAlgorithm. Auto-generated enum for DnssecAlgorithm
468
+ *
469
+ * @remarks
470
+ * This constant provides an array of integer values for the DnssecAlgorithm enum.
471
+ * Integer enums are represented as typed arrays for efficient iteration and validation.
472
+ *
473
+ * @example
474
+ * ```typescript
475
+ * // Using the array for iteration
476
+ * const algorithms = DNSSEC_ALGORITHM;
477
+ * console.log(`Available algorithms: ${algorithms.join(', ')}`);
478
+ * ```
479
+ *
480
+ * @see {@link DnssecAlgorithm} - The TypeScript type definition
481
+ */
482
+ export const DNSSEC_ALGORITHM = [
483
+ 1,
484
+ 2,
485
+ 3,
486
+ 4,
487
+ 5,
488
+ 6,
489
+ 7,
490
+ 8,
491
+ 10,
492
+ 12,
493
+ 13,
494
+ 14,
495
+ 15,
496
+ 16,
497
+ 17,
498
+ 23
499
+ ] as const satisfies DnssecAlgorithm[];
500
+
501
+ /**
502
+ * DnssecDigestType. Auto-generated enum for DnssecDigestType
503
+ *
504
+ * @remarks
505
+ * This constant provides an array of integer values for the DnssecDigestType enum.
506
+ * Integer enums are represented as typed arrays for efficient iteration and validation.
507
+ *
508
+ * @example
509
+ * ```typescript
510
+ * // Using the array for iteration
511
+ * const algorithms = DNSSEC_ALGORITHM;
512
+ * console.log(`Available algorithms: ${algorithms.join(', ')}`);
513
+ * ```
514
+ *
515
+ * @see {@link DnssecDigestType} - The TypeScript type definition
516
+ */
517
+ export const DNSSEC_DIGEST_TYPE = [
518
+ 1,
519
+ 2,
520
+ 3,
521
+ 4,
522
+ 5,
523
+ 6
524
+ ] as const satisfies DnssecDigestType[];
525
+
526
+ /**
527
+ * DnssecModeType. Auto-generated enum for DnssecModeType
528
+ *
529
+ * @remarks
530
+ * This constant provides both object and array forms for the DnssecModeType enum.
531
+ * The object form allows key-value access, while the array form enables iteration and validation.
532
+ *
533
+ * @example
534
+ * ```typescript
535
+ * // Using the object form for key-value access
536
+ * const status = DNSSEC_MODE_TYPE.SUCCESS;
537
+ *
538
+ * // Using the array form for iteration
539
+ * const allStatuses = DNSSEC_MODE_TYPE_VALUES;
540
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
541
+ * ```
542
+ *
543
+ * @see {@link DnssecModeType} - The TypeScript type definition
544
+ */
545
+ export const DNSSEC_MODE_TYPE = {
546
+ DS: "DS",
547
+ DNSKEY: "DNSKEY",
548
+ } as const satisfies Record<string, DnssecModeType>;
549
+
550
+ /**
551
+ * Array of all DnssecModeType enum values
552
+ *
553
+ * @remarks
554
+ * This constant provides a array containing all valid DnssecModeType enum values.
555
+ * Useful for iteration, validation, and generating dynamic UI components.
556
+ *
557
+ * @example
558
+ * ```typescript
559
+ * // Iterating through all values
560
+ * for (const value of DNSSEC_MODE_TYPE_VALUES) {
561
+ * console.log(`Processing: ${value}`);
562
+ * }
563
+ *
564
+ * // Validation
565
+ * const isValid = DNSSEC_MODE_TYPE_VALUES.includes(someValue);
566
+ * ```
567
+ *
568
+ * @see {@link DnssecModeType} - The TypeScript type definition
569
+ * @see {@link DNSSEC_MODE_TYPE} - The object form of this enum
570
+ */
571
+ export const DNSSEC_MODE_TYPE_VALUES = [
572
+ 'DS',
573
+ 'DNSKEY'
574
+ ] as const satisfies [string, ...string[]] | DnssecModeType[];
575
+
576
+ /**
577
+ * DnssecRecordType. Auto-generated enum for DnssecRecordType
578
+ *
579
+ * @remarks
580
+ * This constant provides both object and array forms for the DnssecRecordType enum.
581
+ * The object form allows key-value access, while the array form enables iteration and validation.
582
+ *
583
+ * @example
584
+ * ```typescript
585
+ * // Using the object form for key-value access
586
+ * const status = DNSSEC_RECORD_TYPE.SUCCESS;
587
+ *
588
+ * // Using the array form for iteration
589
+ * const allStatuses = DNSSEC_RECORD_TYPE_VALUES;
590
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
591
+ * ```
592
+ *
593
+ * @see {@link DnssecRecordType} - The TypeScript type definition
594
+ */
595
+ export const DNSSEC_RECORD_TYPE = {
596
+ DS_DATA: "ds_data",
597
+ KEY_DATA: "key_data",
598
+ } as const satisfies Record<string, DnssecRecordType>;
599
+
600
+ /**
601
+ * Array of all DnssecRecordType enum values
602
+ *
603
+ * @remarks
604
+ * This constant provides a array containing all valid DnssecRecordType enum values.
605
+ * Useful for iteration, validation, and generating dynamic UI components.
606
+ *
607
+ * @example
608
+ * ```typescript
609
+ * // Iterating through all values
610
+ * for (const value of DNSSEC_RECORD_TYPE_VALUES) {
611
+ * console.log(`Processing: ${value}`);
612
+ * }
613
+ *
614
+ * // Validation
615
+ * const isValid = DNSSEC_RECORD_TYPE_VALUES.includes(someValue);
616
+ * ```
617
+ *
618
+ * @see {@link DnssecRecordType} - The TypeScript type definition
619
+ * @see {@link DNSSEC_RECORD_TYPE} - The object form of this enum
620
+ */
621
+ export const DNSSEC_RECORD_TYPE_VALUES = [
622
+ 'ds_data',
623
+ 'key_data'
624
+ ] as const satisfies [string, ...string[]] | DnssecRecordType[];
625
+
626
+ /**
627
+ * DnssecStatus. Auto-generated enum for DnssecStatus
628
+ *
629
+ * @remarks
630
+ * This constant provides both object and array forms for the DnssecStatus enum.
631
+ * The object form allows key-value access, while the array form enables iteration and validation.
632
+ *
633
+ * @example
634
+ * ```typescript
635
+ * // Using the object form for key-value access
636
+ * const status = DNSSEC_STATUS.SUCCESS;
637
+ *
638
+ * // Using the array form for iteration
639
+ * const allStatuses = DNSSEC_STATUS_VALUES;
640
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
641
+ * ```
642
+ *
643
+ * @see {@link DnssecStatus} - The TypeScript type definition
644
+ */
645
+ export const DNSSEC_STATUS = {
646
+ ENABLED: "enabled",
647
+ DISABLED: "disabled",
648
+ } as const satisfies Record<string, DnssecStatus>;
649
+
650
+ /**
651
+ * Array of all DnssecStatus enum values
652
+ *
653
+ * @remarks
654
+ * This constant provides a array containing all valid DnssecStatus enum values.
655
+ * Useful for iteration, validation, and generating dynamic UI components.
656
+ *
657
+ * @example
658
+ * ```typescript
659
+ * // Iterating through all values
660
+ * for (const value of DNSSEC_STATUS_VALUES) {
661
+ * console.log(`Processing: ${value}`);
662
+ * }
663
+ *
664
+ * // Validation
665
+ * const isValid = DNSSEC_STATUS_VALUES.includes(someValue);
666
+ * ```
667
+ *
668
+ * @see {@link DnssecStatus} - The TypeScript type definition
669
+ * @see {@link DNSSEC_STATUS} - The object form of this enum
670
+ */
671
+ export const DNSSEC_STATUS_VALUES = [
672
+ 'enabled',
673
+ 'disabled'
674
+ ] as const satisfies [string, ...string[]] | DnssecStatus[];
675
+
676
+ /**
677
+ * DomainAvailabilityStatus. Auto-generated enum for DomainAvailabilityStatus
678
+ *
679
+ * @remarks
680
+ * This constant provides both object and array forms for the DomainAvailabilityStatus enum.
681
+ * The object form allows key-value access, while the array form enables iteration and validation.
682
+ *
683
+ * @example
684
+ * ```typescript
685
+ * // Using the object form for key-value access
686
+ * const status = DOMAIN_AVAILABILITY_STATUS.SUCCESS;
687
+ *
688
+ * // Using the array form for iteration
689
+ * const allStatuses = DOMAIN_AVAILABILITY_STATUS_VALUES;
690
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
691
+ * ```
692
+ *
693
+ * @see {@link DomainAvailabilityStatus} - The TypeScript type definition
694
+ */
695
+ export const DOMAIN_AVAILABILITY_STATUS = {
696
+ AVAILABLE: "available",
697
+ UNAVAILABLE: "unavailable",
698
+ MARKET_AVAILABLE: "market_available",
699
+ TMCH_CLAIM: "tmch_claim",
700
+ ERROR: "error",
701
+ } as const satisfies Record<string, DomainAvailabilityStatus>;
702
+
703
+ /**
704
+ * Array of all DomainAvailabilityStatus enum values
705
+ *
706
+ * @remarks
707
+ * This constant provides a array containing all valid DomainAvailabilityStatus enum values.
708
+ * Useful for iteration, validation, and generating dynamic UI components.
709
+ *
710
+ * @example
711
+ * ```typescript
712
+ * // Iterating through all values
713
+ * for (const value of DOMAIN_AVAILABILITY_STATUS_VALUES) {
714
+ * console.log(`Processing: ${value}`);
715
+ * }
716
+ *
717
+ * // Validation
718
+ * const isValid = DOMAIN_AVAILABILITY_STATUS_VALUES.includes(someValue);
719
+ * ```
720
+ *
721
+ * @see {@link DomainAvailabilityStatus} - The TypeScript type definition
722
+ * @see {@link DOMAIN_AVAILABILITY_STATUS} - The object form of this enum
723
+ */
724
+ export const DOMAIN_AVAILABILITY_STATUS_VALUES = [
725
+ 'available',
726
+ 'unavailable',
727
+ 'market_available',
728
+ 'tmch_claim',
729
+ 'error'
730
+ ] as const satisfies [string, ...string[]] | DomainAvailabilityStatus[];
731
+
732
+ /**
733
+ * DomainClientStatus. Auto-generated enum for DomainClientStatus
734
+ *
735
+ * @remarks
736
+ * This constant provides both object and array forms for the DomainClientStatus enum.
737
+ * The object form allows key-value access, while the array form enables iteration and validation.
738
+ *
739
+ * @example
740
+ * ```typescript
741
+ * // Using the object form for key-value access
742
+ * const status = DOMAIN_CLIENT_STATUS.SUCCESS;
743
+ *
744
+ * // Using the array form for iteration
745
+ * const allStatuses = DOMAIN_CLIENT_STATUS_VALUES;
746
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
747
+ * ```
748
+ *
749
+ * @see {@link DomainClientStatus} - The TypeScript type definition
750
+ */
751
+ export const DOMAIN_CLIENT_STATUS = {
752
+ CLIENT_TRANSFER_PROHIBITED: "clientTransferProhibited",
753
+ CLIENT_UPDATE_PROHIBITED: "clientUpdateProhibited",
754
+ CLIENT_DELETE_PROHIBITED: "clientDeleteProhibited",
755
+ CLIENT_RENEW_PROHIBITED: "clientRenewProhibited",
756
+ CLIENT_HOLD: "clientHold",
757
+ } as const satisfies Record<string, DomainClientStatus>;
758
+
759
+ /**
760
+ * Array of all DomainClientStatus enum values
761
+ *
762
+ * @remarks
763
+ * This constant provides a array containing all valid DomainClientStatus enum values.
764
+ * Useful for iteration, validation, and generating dynamic UI components.
765
+ *
766
+ * @example
767
+ * ```typescript
768
+ * // Iterating through all values
769
+ * for (const value of DOMAIN_CLIENT_STATUS_VALUES) {
770
+ * console.log(`Processing: ${value}`);
771
+ * }
772
+ *
773
+ * // Validation
774
+ * const isValid = DOMAIN_CLIENT_STATUS_VALUES.includes(someValue);
775
+ * ```
776
+ *
777
+ * @see {@link DomainClientStatus} - The TypeScript type definition
778
+ * @see {@link DOMAIN_CLIENT_STATUS} - The object form of this enum
779
+ */
780
+ export const DOMAIN_CLIENT_STATUS_VALUES = [
781
+ 'clientTransferProhibited',
782
+ 'clientUpdateProhibited',
783
+ 'clientDeleteProhibited',
784
+ 'clientRenewProhibited',
785
+ 'clientHold'
786
+ ] as const satisfies [string, ...string[]] | DomainClientStatus[];
787
+
788
+ /**
789
+ * DomainContactType. Auto-generated enum for DomainContactType
790
+ *
791
+ * @remarks
792
+ * This constant provides both object and array forms for the DomainContactType enum.
793
+ * The object form allows key-value access, while the array form enables iteration and validation.
794
+ *
795
+ * @example
796
+ * ```typescript
797
+ * // Using the object form for key-value access
798
+ * const status = DOMAIN_CONTACT_TYPE.SUCCESS;
799
+ *
800
+ * // Using the array form for iteration
801
+ * const allStatuses = DOMAIN_CONTACT_TYPE_VALUES;
802
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
803
+ * ```
804
+ *
805
+ * @see {@link DomainContactType} - The TypeScript type definition
806
+ */
807
+ export const DOMAIN_CONTACT_TYPE = {
808
+ REGISTRANT: "registrant",
809
+ ADMIN: "admin",
810
+ TECH: "tech",
811
+ BILLING: "billing",
812
+ } as const satisfies Record<string, DomainContactType>;
813
+
814
+ /**
815
+ * Array of all DomainContactType enum values
816
+ *
817
+ * @remarks
818
+ * This constant provides a array containing all valid DomainContactType enum values.
819
+ * Useful for iteration, validation, and generating dynamic UI components.
820
+ *
821
+ * @example
822
+ * ```typescript
823
+ * // Iterating through all values
824
+ * for (const value of DOMAIN_CONTACT_TYPE_VALUES) {
825
+ * console.log(`Processing: ${value}`);
826
+ * }
827
+ *
828
+ * // Validation
829
+ * const isValid = DOMAIN_CONTACT_TYPE_VALUES.includes(someValue);
830
+ * ```
831
+ *
832
+ * @see {@link DomainContactType} - The TypeScript type definition
833
+ * @see {@link DOMAIN_CONTACT_TYPE} - The object form of this enum
834
+ */
835
+ export const DOMAIN_CONTACT_TYPE_VALUES = [
836
+ 'registrant',
837
+ 'admin',
838
+ 'tech',
839
+ 'billing'
840
+ ] as const satisfies [string, ...string[]] | DomainContactType[];
841
+
842
+ /**
843
+ * DomainSortField. Auto-generated enum for DomainSortField
844
+ *
845
+ * @remarks
846
+ * This constant provides both object and array forms for the DomainSortField enum.
847
+ * The object form allows key-value access, while the array form enables iteration and validation.
848
+ *
849
+ * @example
850
+ * ```typescript
851
+ * // Using the object form for key-value access
852
+ * const status = DOMAIN_SORT_FIELD.SUCCESS;
853
+ *
854
+ * // Using the array form for iteration
855
+ * const allStatuses = DOMAIN_SORT_FIELD_VALUES;
856
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
857
+ * ```
858
+ *
859
+ * @see {@link DomainSortField} - The TypeScript type definition
860
+ */
861
+ export const DOMAIN_SORT_FIELD = {
862
+ NAME: "name",
863
+ CREATED_ON: "created_on",
864
+ UPDATED_ON: "updated_on",
865
+ EXPIRES_ON: "expires_on",
866
+ REGISTERED_ON: "registered_on",
867
+ } as const satisfies Record<string, DomainSortField>;
868
+
869
+ /**
870
+ * Array of all DomainSortField enum values
871
+ *
872
+ * @remarks
873
+ * This constant provides a array containing all valid DomainSortField enum values.
874
+ * Useful for iteration, validation, and generating dynamic UI components.
875
+ *
876
+ * @example
877
+ * ```typescript
878
+ * // Iterating through all values
879
+ * for (const value of DOMAIN_SORT_FIELD_VALUES) {
880
+ * console.log(`Processing: ${value}`);
881
+ * }
882
+ *
883
+ * // Validation
884
+ * const isValid = DOMAIN_SORT_FIELD_VALUES.includes(someValue);
885
+ * ```
886
+ *
887
+ * @see {@link DomainSortField} - The TypeScript type definition
888
+ * @see {@link DOMAIN_SORT_FIELD} - The object form of this enum
889
+ */
890
+ export const DOMAIN_SORT_FIELD_VALUES = [
891
+ 'name',
892
+ 'created_on',
893
+ 'updated_on',
894
+ 'expires_on',
895
+ 'registered_on'
896
+ ] as const satisfies [string, ...string[]] | DomainSortField[];
897
+
898
+ /**
899
+ * DomainStatus. Auto-generated enum for DomainStatus
900
+ *
901
+ * @remarks
902
+ * This constant provides both object and array forms for the DomainStatus enum.
903
+ * The object form allows key-value access, while the array form enables iteration and validation.
904
+ *
905
+ * @example
906
+ * ```typescript
907
+ * // Using the object form for key-value access
908
+ * const status = DOMAIN_STATUS.SUCCESS;
909
+ *
910
+ * // Using the array form for iteration
911
+ * const allStatuses = DOMAIN_STATUS_VALUES;
912
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
913
+ * ```
914
+ *
915
+ * @see {@link DomainStatus} - The TypeScript type definition
916
+ */
917
+ export const DOMAIN_STATUS = {
918
+ OK: "ok",
919
+ SERVER_TRANSFER_PROHIBITED: "serverTransferProhibited",
920
+ SERVER_UPDATE_PROHIBITED: "serverUpdateProhibited",
921
+ SERVER_DELETE_PROHIBITED: "serverDeleteProhibited",
922
+ SERVER_RENEW_PROHIBITED: "serverRenewProhibited",
923
+ SERVER_HOLD: "serverHold",
924
+ TRANSFER_PERIOD: "transferPeriod",
925
+ RENEW_PERIOD: "renewPeriod",
926
+ REDEMPTION_PERIOD: "redemptionPeriod",
927
+ PENDING_UPDATE: "pendingUpdate",
928
+ PENDING_TRANSFER: "pendingTransfer",
929
+ PENDING_RESTORE: "pendingRestore",
930
+ PENDING_RENEW: "pendingRenew",
931
+ PENDING_DELETE: "pendingDelete",
932
+ PENDING_CREATE: "pendingCreate",
933
+ INACTIVE: "inactive",
934
+ AUTO_RENEW_PERIOD: "autoRenewPeriod",
935
+ ADD_PERIOD: "addPeriod",
936
+ DELETED: "deleted",
937
+ CLIENT_TRANSFER_PROHIBITED: "clientTransferProhibited",
938
+ CLIENT_UPDATE_PROHIBITED: "clientUpdateProhibited",
939
+ CLIENT_DELETE_PROHIBITED: "clientDeleteProhibited",
940
+ CLIENT_RENEW_PROHIBITED: "clientRenewProhibited",
941
+ CLIENT_HOLD: "clientHold",
942
+ } as const satisfies Record<string, DomainStatus>;
943
+
944
+ /**
945
+ * Array of all DomainStatus enum values
946
+ *
947
+ * @remarks
948
+ * This constant provides a array containing all valid DomainStatus enum values.
949
+ * Useful for iteration, validation, and generating dynamic UI components.
950
+ *
951
+ * @example
952
+ * ```typescript
953
+ * // Iterating through all values
954
+ * for (const value of DOMAIN_STATUS_VALUES) {
955
+ * console.log(`Processing: ${value}`);
956
+ * }
957
+ *
958
+ * // Validation
959
+ * const isValid = DOMAIN_STATUS_VALUES.includes(someValue);
960
+ * ```
961
+ *
962
+ * @see {@link DomainStatus} - The TypeScript type definition
963
+ * @see {@link DOMAIN_STATUS} - The object form of this enum
964
+ */
965
+ export const DOMAIN_STATUS_VALUES = [
966
+ 'ok',
967
+ 'serverTransferProhibited',
968
+ 'serverUpdateProhibited',
969
+ 'serverDeleteProhibited',
970
+ 'serverRenewProhibited',
971
+ 'serverHold',
972
+ 'transferPeriod',
973
+ 'renewPeriod',
974
+ 'redemptionPeriod',
975
+ 'pendingUpdate',
976
+ 'pendingTransfer',
977
+ 'pendingRestore',
978
+ 'pendingRenew',
979
+ 'pendingDelete',
980
+ 'pendingCreate',
981
+ 'inactive',
982
+ 'autoRenewPeriod',
983
+ 'addPeriod',
984
+ 'deleted',
985
+ 'clientTransferProhibited',
986
+ 'clientUpdateProhibited',
987
+ 'clientDeleteProhibited',
988
+ 'clientRenewProhibited',
989
+ 'clientHold'
990
+ ] as const satisfies [string, ...string[]] | DomainStatus[];
991
+
992
+ /**
993
+ * EmailForwardStatus. Auto-generated enum for EmailForwardStatus
994
+ *
995
+ * @remarks
996
+ * This constant provides both object and array forms for the EmailForwardStatus enum.
997
+ * The object form allows key-value access, while the array form enables iteration and validation.
998
+ *
999
+ * @example
1000
+ * ```typescript
1001
+ * // Using the object form for key-value access
1002
+ * const status = EMAIL_FORWARD_STATUS.SUCCESS;
1003
+ *
1004
+ * // Using the array form for iteration
1005
+ * const allStatuses = EMAIL_FORWARD_STATUS_VALUES;
1006
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1007
+ * ```
1008
+ *
1009
+ * @see {@link EmailForwardStatus} - The TypeScript type definition
1010
+ */
1011
+ export const EMAIL_FORWARD_STATUS = {
1012
+ ACTIVE: "active",
1013
+ INACTIVE: "inactive",
1014
+ } as const satisfies Record<string, EmailForwardStatus>;
1015
+
1016
+ /**
1017
+ * Array of all EmailForwardStatus enum values
1018
+ *
1019
+ * @remarks
1020
+ * This constant provides a array containing all valid EmailForwardStatus enum values.
1021
+ * Useful for iteration, validation, and generating dynamic UI components.
1022
+ *
1023
+ * @example
1024
+ * ```typescript
1025
+ * // Iterating through all values
1026
+ * for (const value of EMAIL_FORWARD_STATUS_VALUES) {
1027
+ * console.log(`Processing: ${value}`);
1028
+ * }
1029
+ *
1030
+ * // Validation
1031
+ * const isValid = EMAIL_FORWARD_STATUS_VALUES.includes(someValue);
1032
+ * ```
1033
+ *
1034
+ * @see {@link EmailForwardStatus} - The TypeScript type definition
1035
+ * @see {@link EMAIL_FORWARD_STATUS} - The object form of this enum
1036
+ */
1037
+ export const EMAIL_FORWARD_STATUS_VALUES = [
1038
+ 'active',
1039
+ 'inactive'
1040
+ ] as const satisfies [string, ...string[]] | EmailForwardStatus[];
1041
+
1042
+ /**
1043
+ * EmailVerificationStatus. Auto-generated enum for EmailVerificationStatus
1044
+ *
1045
+ * @remarks
1046
+ * This constant provides both object and array forms for the EmailVerificationStatus enum.
1047
+ * The object form allows key-value access, while the array form enables iteration and validation.
1048
+ *
1049
+ * @example
1050
+ * ```typescript
1051
+ * // Using the object form for key-value access
1052
+ * const status = EMAIL_VERIFICATION_STATUS.SUCCESS;
1053
+ *
1054
+ * // Using the array form for iteration
1055
+ * const allStatuses = EMAIL_VERIFICATION_STATUS_VALUES;
1056
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1057
+ * ```
1058
+ *
1059
+ * @see {@link EmailVerificationStatus} - The TypeScript type definition
1060
+ */
1061
+ export const EMAIL_VERIFICATION_STATUS = {
1062
+ VERIFIED: "verified",
1063
+ PENDING: "pending",
1064
+ CANCELED: "canceled",
1065
+ } as const satisfies Record<string, EmailVerificationStatus>;
1066
+
1067
+ /**
1068
+ * Array of all EmailVerificationStatus enum values
1069
+ *
1070
+ * @remarks
1071
+ * This constant provides a array containing all valid EmailVerificationStatus enum values.
1072
+ * Useful for iteration, validation, and generating dynamic UI components.
1073
+ *
1074
+ * @example
1075
+ * ```typescript
1076
+ * // Iterating through all values
1077
+ * for (const value of EMAIL_VERIFICATION_STATUS_VALUES) {
1078
+ * console.log(`Processing: ${value}`);
1079
+ * }
1080
+ *
1081
+ * // Validation
1082
+ * const isValid = EMAIL_VERIFICATION_STATUS_VALUES.includes(someValue);
1083
+ * ```
1084
+ *
1085
+ * @see {@link EmailVerificationStatus} - The TypeScript type definition
1086
+ * @see {@link EMAIL_VERIFICATION_STATUS} - The object form of this enum
1087
+ */
1088
+ export const EMAIL_VERIFICATION_STATUS_VALUES = [
1089
+ 'verified',
1090
+ 'pending',
1091
+ 'canceled'
1092
+ ] as const satisfies [string, ...string[]] | EmailVerificationStatus[];
1093
+
1094
+ /**
1095
+ * EventObjectType. Auto-generated enum for EventObjectType
1096
+ *
1097
+ * @remarks
1098
+ * This constant provides both object and array forms for the EventObjectType enum.
1099
+ * The object form allows key-value access, while the array form enables iteration and validation.
1100
+ *
1101
+ * @example
1102
+ * ```typescript
1103
+ * // Using the object form for key-value access
1104
+ * const status = EVENT_OBJECT_TYPE.SUCCESS;
1105
+ *
1106
+ * // Using the array form for iteration
1107
+ * const allStatuses = EVENT_OBJECT_TYPE_VALUES;
1108
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1109
+ * ```
1110
+ *
1111
+ * @see {@link EventObjectType} - The TypeScript type definition
1112
+ */
1113
+ export const EVENT_OBJECT_TYPE = {
1114
+ DOMAIN: "DOMAIN",
1115
+ CONTACT: "CONTACT",
1116
+ HOST: "HOST",
1117
+ RAW: "RAW",
1118
+ UNKNOWN: "UNKNOWN",
1119
+ } as const satisfies Record<string, EventObjectType>;
1120
+
1121
+ /**
1122
+ * Array of all EventObjectType enum values
1123
+ *
1124
+ * @remarks
1125
+ * This constant provides a array containing all valid EventObjectType enum values.
1126
+ * Useful for iteration, validation, and generating dynamic UI components.
1127
+ *
1128
+ * @example
1129
+ * ```typescript
1130
+ * // Iterating through all values
1131
+ * for (const value of EVENT_OBJECT_TYPE_VALUES) {
1132
+ * console.log(`Processing: ${value}`);
1133
+ * }
1134
+ *
1135
+ * // Validation
1136
+ * const isValid = EVENT_OBJECT_TYPE_VALUES.includes(someValue);
1137
+ * ```
1138
+ *
1139
+ * @see {@link EventObjectType} - The TypeScript type definition
1140
+ * @see {@link EVENT_OBJECT_TYPE} - The object form of this enum
1141
+ */
1142
+ export const EVENT_OBJECT_TYPE_VALUES = [
1143
+ 'DOMAIN',
1144
+ 'CONTACT',
1145
+ 'HOST',
1146
+ 'RAW',
1147
+ 'UNKNOWN'
1148
+ ] as const satisfies [string, ...string[]] | EventObjectType[];
1149
+
1150
+ /**
1151
+ * EventSubtype. Auto-generated enum for EventSubtype
1152
+ *
1153
+ * @remarks
1154
+ * This constant provides both object and array forms for the EventSubtype enum.
1155
+ * The object form allows key-value access, while the array form enables iteration and validation.
1156
+ *
1157
+ * @example
1158
+ * ```typescript
1159
+ * // Using the object form for key-value access
1160
+ * const status = EVENT_SUBTYPE.SUCCESS;
1161
+ *
1162
+ * // Using the array form for iteration
1163
+ * const allStatuses = EVENT_SUBTYPE_VALUES;
1164
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1165
+ * ```
1166
+ *
1167
+ * @see {@link EventSubtype} - The TypeScript type definition
1168
+ */
1169
+ export const EVENT_SUBTYPE = {
1170
+ NOTIFICATION: "NOTIFICATION",
1171
+ SUCCESS: "SUCCESS",
1172
+ FAILURE: "FAILURE",
1173
+ CANCELED: "CANCELED",
1174
+ } as const satisfies Record<string, EventSubtype>;
1175
+
1176
+ /**
1177
+ * Array of all EventSubtype enum values
1178
+ *
1179
+ * @remarks
1180
+ * This constant provides a array containing all valid EventSubtype enum values.
1181
+ * Useful for iteration, validation, and generating dynamic UI components.
1182
+ *
1183
+ * @example
1184
+ * ```typescript
1185
+ * // Iterating through all values
1186
+ * for (const value of EVENT_SUBTYPE_VALUES) {
1187
+ * console.log(`Processing: ${value}`);
1188
+ * }
1189
+ *
1190
+ * // Validation
1191
+ * const isValid = EVENT_SUBTYPE_VALUES.includes(someValue);
1192
+ * ```
1193
+ *
1194
+ * @see {@link EventSubtype} - The TypeScript type definition
1195
+ * @see {@link EVENT_SUBTYPE} - The object form of this enum
1196
+ */
1197
+ export const EVENT_SUBTYPE_VALUES = [
1198
+ 'NOTIFICATION',
1199
+ 'SUCCESS',
1200
+ 'FAILURE',
1201
+ 'CANCELED'
1202
+ ] as const satisfies [string, ...string[]] | EventSubtype[];
1203
+
1204
+ /**
1205
+ * EventType. Auto-generated enum for EventType
1206
+ *
1207
+ * @remarks
1208
+ * This constant provides both object and array forms for the EventType enum.
1209
+ * The object form allows key-value access, while the array form enables iteration and validation.
1210
+ *
1211
+ * @example
1212
+ * ```typescript
1213
+ * // Using the object form for key-value access
1214
+ * const status = EVENT_TYPE.SUCCESS;
1215
+ *
1216
+ * // Using the array form for iteration
1217
+ * const allStatuses = EVENT_TYPE_VALUES;
1218
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1219
+ * ```
1220
+ *
1221
+ * @see {@link EventType} - The TypeScript type definition
1222
+ */
1223
+ export const EVENT_TYPE = {
1224
+ REGISTRATION: "REGISTRATION",
1225
+ RENEWAL: "RENEWAL",
1226
+ MODIFICATION: "MODIFICATION",
1227
+ DELETION: "DELETION",
1228
+ INBOUND_TRANSFER: "INBOUND_TRANSFER",
1229
+ OUTBOUND_TRANSFER: "OUTBOUND_TRANSFER",
1230
+ } as const satisfies Record<string, EventType>;
1231
+
1232
+ /**
1233
+ * Array of all EventType enum values
1234
+ *
1235
+ * @remarks
1236
+ * This constant provides a array containing all valid EventType enum values.
1237
+ * Useful for iteration, validation, and generating dynamic UI components.
1238
+ *
1239
+ * @example
1240
+ * ```typescript
1241
+ * // Iterating through all values
1242
+ * for (const value of EVENT_TYPE_VALUES) {
1243
+ * console.log(`Processing: ${value}`);
1244
+ * }
1245
+ *
1246
+ * // Validation
1247
+ * const isValid = EVENT_TYPE_VALUES.includes(someValue);
1248
+ * ```
1249
+ *
1250
+ * @see {@link EventType} - The TypeScript type definition
1251
+ * @see {@link EVENT_TYPE} - The object form of this enum
1252
+ */
1253
+ export const EVENT_TYPE_VALUES = [
1254
+ 'REGISTRATION',
1255
+ 'RENEWAL',
1256
+ 'MODIFICATION',
1257
+ 'DELETION',
1258
+ 'INBOUND_TRANSFER',
1259
+ 'OUTBOUND_TRANSFER'
1260
+ ] as const satisfies [string, ...string[]] | EventType[];
1261
+
1262
+ /**
1263
+ * GrantType. Auto-generated enum for GrantType
1264
+ *
1265
+ * @remarks
1266
+ * This constant provides both object and array forms for the GrantType enum.
1267
+ * The object form allows key-value access, while the array form enables iteration and validation.
1268
+ *
1269
+ * @example
1270
+ * ```typescript
1271
+ * // Using the object form for key-value access
1272
+ * const status = GRANT_TYPE.SUCCESS;
1273
+ *
1274
+ * // Using the array form for iteration
1275
+ * const allStatuses = GRANT_TYPE_VALUES;
1276
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1277
+ * ```
1278
+ *
1279
+ * @see {@link GrantType} - The TypeScript type definition
1280
+ */
1281
+ export const GRANT_TYPE = {
1282
+ CLIENT_CREDENTIALS: "client_credentials",
1283
+ PASSWORD: "password",
1284
+ REFRESH_TOKEN: "refresh_token",
1285
+ } as const satisfies Record<string, GrantType>;
1286
+
1287
+ /**
1288
+ * Array of all GrantType enum values
1289
+ *
1290
+ * @remarks
1291
+ * This constant provides a array containing all valid GrantType enum values.
1292
+ * Useful for iteration, validation, and generating dynamic UI components.
1293
+ *
1294
+ * @example
1295
+ * ```typescript
1296
+ * // Iterating through all values
1297
+ * for (const value of GRANT_TYPE_VALUES) {
1298
+ * console.log(`Processing: ${value}`);
1299
+ * }
1300
+ *
1301
+ * // Validation
1302
+ * const isValid = GRANT_TYPE_VALUES.includes(someValue);
1303
+ * ```
1304
+ *
1305
+ * @see {@link GrantType} - The TypeScript type definition
1306
+ * @see {@link GRANT_TYPE} - The object form of this enum
1307
+ */
1308
+ export const GRANT_TYPE_VALUES = [
1309
+ 'client_credentials',
1310
+ 'password',
1311
+ 'refresh_token'
1312
+ ] as const satisfies [string, ...string[]] | GrantType[];
1313
+
1314
+ /**
1315
+ * LaunchPhaseType. Auto-generated enum for LaunchPhaseType
1316
+ *
1317
+ * @remarks
1318
+ * This constant provides both object and array forms for the LaunchPhaseType enum.
1319
+ * The object form allows key-value access, while the array form enables iteration and validation.
1320
+ *
1321
+ * @example
1322
+ * ```typescript
1323
+ * // Using the object form for key-value access
1324
+ * const status = LAUNCH_PHASE_TYPE.SUCCESS;
1325
+ *
1326
+ * // Using the array form for iteration
1327
+ * const allStatuses = LAUNCH_PHASE_TYPE_VALUES;
1328
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1329
+ * ```
1330
+ *
1331
+ * @see {@link LaunchPhaseType} - The TypeScript type definition
1332
+ */
1333
+ export const LAUNCH_PHASE_TYPE = {
1334
+ SUNRISE: "sunrise",
1335
+ LANDRUSH: "landrush",
1336
+ EAP: "eap",
1337
+ } as const satisfies Record<string, LaunchPhaseType>;
1338
+
1339
+ /**
1340
+ * Array of all LaunchPhaseType enum values
1341
+ *
1342
+ * @remarks
1343
+ * This constant provides a array containing all valid LaunchPhaseType enum values.
1344
+ * Useful for iteration, validation, and generating dynamic UI components.
1345
+ *
1346
+ * @example
1347
+ * ```typescript
1348
+ * // Iterating through all values
1349
+ * for (const value of LAUNCH_PHASE_TYPE_VALUES) {
1350
+ * console.log(`Processing: ${value}`);
1351
+ * }
1352
+ *
1353
+ * // Validation
1354
+ * const isValid = LAUNCH_PHASE_TYPE_VALUES.includes(someValue);
1355
+ * ```
1356
+ *
1357
+ * @see {@link LaunchPhaseType} - The TypeScript type definition
1358
+ * @see {@link LAUNCH_PHASE_TYPE} - The object form of this enum
1359
+ */
1360
+ export const LAUNCH_PHASE_TYPE_VALUES = [
1361
+ 'sunrise',
1362
+ 'landrush',
1363
+ 'eap'
1364
+ ] as const satisfies [string, ...string[]] | LaunchPhaseType[];
1365
+
1366
+ /**
1367
+ * LocalPresenceRequirementType. Auto-generated enum for LocalPresenceRequirementType
1368
+ *
1369
+ * @remarks
1370
+ * This constant provides both object and array forms for the LocalPresenceRequirementType enum.
1371
+ * The object form allows key-value access, while the array form enables iteration and validation.
1372
+ *
1373
+ * @example
1374
+ * ```typescript
1375
+ * // Using the object form for key-value access
1376
+ * const status = LOCAL_PRESENCE_REQUIREMENT_TYPE.SUCCESS;
1377
+ *
1378
+ * // Using the array form for iteration
1379
+ * const allStatuses = LOCAL_PRESENCE_REQUIREMENT_TYPE_VALUES;
1380
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1381
+ * ```
1382
+ *
1383
+ * @see {@link LocalPresenceRequirementType} - The TypeScript type definition
1384
+ */
1385
+ export const LOCAL_PRESENCE_REQUIREMENT_TYPE = {
1386
+ PHYSICAL_ADDRESS: "physical_address",
1387
+ BUSINESS_ENTITY: "business_entity",
1388
+ } as const satisfies Record<string, LocalPresenceRequirementType>;
1389
+
1390
+ /**
1391
+ * Array of all LocalPresenceRequirementType enum values
1392
+ *
1393
+ * @remarks
1394
+ * This constant provides a array containing all valid LocalPresenceRequirementType enum values.
1395
+ * Useful for iteration, validation, and generating dynamic UI components.
1396
+ *
1397
+ * @example
1398
+ * ```typescript
1399
+ * // Iterating through all values
1400
+ * for (const value of LOCAL_PRESENCE_REQUIREMENT_TYPE_VALUES) {
1401
+ * console.log(`Processing: ${value}`);
1402
+ * }
1403
+ *
1404
+ * // Validation
1405
+ * const isValid = LOCAL_PRESENCE_REQUIREMENT_TYPE_VALUES.includes(someValue);
1406
+ * ```
1407
+ *
1408
+ * @see {@link LocalPresenceRequirementType} - The TypeScript type definition
1409
+ * @see {@link LOCAL_PRESENCE_REQUIREMENT_TYPE} - The object form of this enum
1410
+ */
1411
+ export const LOCAL_PRESENCE_REQUIREMENT_TYPE_VALUES = [
1412
+ 'physical_address',
1413
+ 'business_entity'
1414
+ ] as const satisfies [string, ...string[]] | LocalPresenceRequirementType[];
1415
+
1416
+ /**
1417
+ * OrganizationCredentialStatus. Auto-generated enum for OrganizationCredentialStatus
1418
+ *
1419
+ * @remarks
1420
+ * This constant provides both object and array forms for the OrganizationCredentialStatus enum.
1421
+ * The object form allows key-value access, while the array form enables iteration and validation.
1422
+ *
1423
+ * @example
1424
+ * ```typescript
1425
+ * // Using the object form for key-value access
1426
+ * const status = ORGANIZATION_CREDENTIAL_STATUS.SUCCESS;
1427
+ *
1428
+ * // Using the array form for iteration
1429
+ * const allStatuses = ORGANIZATION_CREDENTIAL_STATUS_VALUES;
1430
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1431
+ * ```
1432
+ *
1433
+ * @see {@link OrganizationCredentialStatus} - The TypeScript type definition
1434
+ */
1435
+ export const ORGANIZATION_CREDENTIAL_STATUS = {
1436
+ ACTIVE: "active",
1437
+ REVOKED: "revoked",
1438
+ } as const satisfies Record<string, OrganizationCredentialStatus>;
1439
+
1440
+ /**
1441
+ * Array of all OrganizationCredentialStatus enum values
1442
+ *
1443
+ * @remarks
1444
+ * This constant provides a array containing all valid OrganizationCredentialStatus enum values.
1445
+ * Useful for iteration, validation, and generating dynamic UI components.
1446
+ *
1447
+ * @example
1448
+ * ```typescript
1449
+ * // Iterating through all values
1450
+ * for (const value of ORGANIZATION_CREDENTIAL_STATUS_VALUES) {
1451
+ * console.log(`Processing: ${value}`);
1452
+ * }
1453
+ *
1454
+ * // Validation
1455
+ * const isValid = ORGANIZATION_CREDENTIAL_STATUS_VALUES.includes(someValue);
1456
+ * ```
1457
+ *
1458
+ * @see {@link OrganizationCredentialStatus} - The TypeScript type definition
1459
+ * @see {@link ORGANIZATION_CREDENTIAL_STATUS} - The object form of this enum
1460
+ */
1461
+ export const ORGANIZATION_CREDENTIAL_STATUS_VALUES = [
1462
+ 'active',
1463
+ 'revoked'
1464
+ ] as const satisfies [string, ...string[]] | OrganizationCredentialStatus[];
1465
+
1466
+ /**
1467
+ * OrganizationStatus. Auto-generated enum for OrganizationStatus
1468
+ *
1469
+ * @remarks
1470
+ * This constant provides both object and array forms for the OrganizationStatus enum.
1471
+ * The object form allows key-value access, while the array form enables iteration and validation.
1472
+ *
1473
+ * @example
1474
+ * ```typescript
1475
+ * // Using the object form for key-value access
1476
+ * const status = ORGANIZATION_STATUS.SUCCESS;
1477
+ *
1478
+ * // Using the array form for iteration
1479
+ * const allStatuses = ORGANIZATION_STATUS_VALUES;
1480
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1481
+ * ```
1482
+ *
1483
+ * @see {@link OrganizationStatus} - The TypeScript type definition
1484
+ */
1485
+ export const ORGANIZATION_STATUS = {
1486
+ ACTIVE: "active",
1487
+ INACTIVE: "inactive",
1488
+ } as const satisfies Record<string, OrganizationStatus>;
1489
+
1490
+ /**
1491
+ * Array of all OrganizationStatus enum values
1492
+ *
1493
+ * @remarks
1494
+ * This constant provides a array containing all valid OrganizationStatus enum values.
1495
+ * Useful for iteration, validation, and generating dynamic UI components.
1496
+ *
1497
+ * @example
1498
+ * ```typescript
1499
+ * // Iterating through all values
1500
+ * for (const value of ORGANIZATION_STATUS_VALUES) {
1501
+ * console.log(`Processing: ${value}`);
1502
+ * }
1503
+ *
1504
+ * // Validation
1505
+ * const isValid = ORGANIZATION_STATUS_VALUES.includes(someValue);
1506
+ * ```
1507
+ *
1508
+ * @see {@link OrganizationStatus} - The TypeScript type definition
1509
+ * @see {@link ORGANIZATION_STATUS} - The object form of this enum
1510
+ */
1511
+ export const ORGANIZATION_STATUS_VALUES = [
1512
+ 'active',
1513
+ 'inactive'
1514
+ ] as const satisfies [string, ...string[]] | OrganizationStatus[];
1515
+
1516
+ /**
1517
+ * PatchOp. Auto-generated enum for PatchOp
1518
+ *
1519
+ * @remarks
1520
+ * This constant provides both object and array forms for the PatchOp enum.
1521
+ * The object form allows key-value access, while the array form enables iteration and validation.
1522
+ *
1523
+ * @example
1524
+ * ```typescript
1525
+ * // Using the object form for key-value access
1526
+ * const status = PATCH_OP.SUCCESS;
1527
+ *
1528
+ * // Using the array form for iteration
1529
+ * const allStatuses = PATCH_OP_VALUES;
1530
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1531
+ * ```
1532
+ *
1533
+ * @see {@link PatchOp} - The TypeScript type definition
1534
+ */
1535
+ export const PATCH_OP = {
1536
+ UPSERT: "upsert",
1537
+ REMOVE: "remove",
1538
+ } as const satisfies Record<string, PatchOp>;
1539
+
1540
+ /**
1541
+ * Array of all PatchOp enum values
1542
+ *
1543
+ * @remarks
1544
+ * This constant provides a array containing all valid PatchOp enum values.
1545
+ * Useful for iteration, validation, and generating dynamic UI components.
1546
+ *
1547
+ * @example
1548
+ * ```typescript
1549
+ * // Iterating through all values
1550
+ * for (const value of PATCH_OP_VALUES) {
1551
+ * console.log(`Processing: ${value}`);
1552
+ * }
1553
+ *
1554
+ * // Validation
1555
+ * const isValid = PATCH_OP_VALUES.includes(someValue);
1556
+ * ```
1557
+ *
1558
+ * @see {@link PatchOp} - The TypeScript type definition
1559
+ * @see {@link PATCH_OP} - The object form of this enum
1560
+ */
1561
+ export const PATCH_OP_VALUES = [
1562
+ 'upsert',
1563
+ 'remove'
1564
+ ] as const satisfies [string, ...string[]] | PatchOp[];
1565
+
1566
+ /**
1567
+ * PeriodUnit. Auto-generated enum for PeriodUnit
1568
+ *
1569
+ * @remarks
1570
+ * This constant provides both object and array forms for the PeriodUnit enum.
1571
+ * The object form allows key-value access, while the array form enables iteration and validation.
1572
+ *
1573
+ * @example
1574
+ * ```typescript
1575
+ * // Using the object form for key-value access
1576
+ * const status = PERIOD_UNIT.SUCCESS;
1577
+ *
1578
+ * // Using the array form for iteration
1579
+ * const allStatuses = PERIOD_UNIT_VALUES;
1580
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1581
+ * ```
1582
+ *
1583
+ * @see {@link PeriodUnit} - The TypeScript type definition
1584
+ */
1585
+ export const PERIOD_UNIT = {
1586
+ Y: "y",
1587
+ M: "m",
1588
+ D: "d",
1589
+ } as const satisfies Record<string, PeriodUnit>;
1590
+
1591
+ /**
1592
+ * Array of all PeriodUnit enum values
1593
+ *
1594
+ * @remarks
1595
+ * This constant provides a array containing all valid PeriodUnit enum values.
1596
+ * Useful for iteration, validation, and generating dynamic UI components.
1597
+ *
1598
+ * @example
1599
+ * ```typescript
1600
+ * // Iterating through all values
1601
+ * for (const value of PERIOD_UNIT_VALUES) {
1602
+ * console.log(`Processing: ${value}`);
1603
+ * }
1604
+ *
1605
+ * // Validation
1606
+ * const isValid = PERIOD_UNIT_VALUES.includes(someValue);
1607
+ * ```
1608
+ *
1609
+ * @see {@link PeriodUnit} - The TypeScript type definition
1610
+ * @see {@link PERIOD_UNIT} - The object form of this enum
1611
+ */
1612
+ export const PERIOD_UNIT_VALUES = [
1613
+ 'y',
1614
+ 'm',
1615
+ 'd'
1616
+ ] as const satisfies [string, ...string[]] | PeriodUnit[];
1617
+
1618
+ /**
1619
+ * Permission. Auto-generated enum for Permission
1620
+ *
1621
+ * @remarks
1622
+ * This constant provides both object and array forms for the Permission enum.
1623
+ * The object form allows key-value access, while the array form enables iteration and validation.
1624
+ *
1625
+ * @example
1626
+ * ```typescript
1627
+ * // Using the object form for key-value access
1628
+ * const status = PERMISSION.SUCCESS;
1629
+ *
1630
+ * // Using the array form for iteration
1631
+ * const allStatuses = PERMISSION_VALUES;
1632
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1633
+ * ```
1634
+ *
1635
+ * @see {@link Permission} - The TypeScript type definition
1636
+ */
1637
+ export const PERMISSION = {
1638
+ ACKNOWLEDGE: "acknowledge",
1639
+ BULK_CREATE: "bulk_create",
1640
+ BULK_DELETE: "bulk_delete",
1641
+ BULK_RENEW_EXPIRE: "bulk_renew_expire",
1642
+ BULK_TRANSFER_TRADE: "bulk_transfer_trade",
1643
+ BULK_UPDATE: "bulk_update",
1644
+ CREATE: "create",
1645
+ DELETE: "delete",
1646
+ ENTERPRISE: "enterprise",
1647
+ MANAGE_API_KEYS: "manage_api_keys",
1648
+ MANAGE_BILLING: "manage_billing",
1649
+ MANAGE_CMS_CONTENT: "manage_cms_content",
1650
+ MANAGE_CONTACTS: "manage_contacts",
1651
+ MANAGE_DNS_ZONES: "manage_dns_zones",
1652
+ MANAGE_DOMAINS: "manage_domains",
1653
+ MANAGE_EMAIL_FORWARDS: "manage_email_forwards",
1654
+ MANAGE_OPUSDNS_API_KEYS: "manage_opusdns_api_keys",
1655
+ MANAGE_PRODUCTS: "manage_products",
1656
+ MANAGE_RESELLER: "manage_reseller",
1657
+ MANAGE_USER_RELATIONS: "manage_user_relations",
1658
+ MANAGE_USERS: "manage_users",
1659
+ PLAN_MANAGER: "plan_manager",
1660
+ PREMIUM: "premium",
1661
+ PREMIUM_RESELLER: "premium_reseller",
1662
+ RENEW_EXPIRE: "renew_expire",
1663
+ SIGN_ORG_TOS: "sign_org_tos",
1664
+ STARTER: "starter",
1665
+ TRANSFER_TRADE: "transfer_trade",
1666
+ UPDATE: "update",
1667
+ VERIFY: "verify",
1668
+ VIEW: "view",
1669
+ VIEW_AUDIT_LOGS: "view_audit_logs",
1670
+ } as const satisfies Record<string, Permission>;
1671
+
1672
+ /**
1673
+ * Array of all Permission enum values
1674
+ *
1675
+ * @remarks
1676
+ * This constant provides a array containing all valid Permission enum values.
1677
+ * Useful for iteration, validation, and generating dynamic UI components.
1678
+ *
1679
+ * @example
1680
+ * ```typescript
1681
+ * // Iterating through all values
1682
+ * for (const value of PERMISSION_VALUES) {
1683
+ * console.log(`Processing: ${value}`);
1684
+ * }
1685
+ *
1686
+ * // Validation
1687
+ * const isValid = PERMISSION_VALUES.includes(someValue);
1688
+ * ```
1689
+ *
1690
+ * @see {@link Permission} - The TypeScript type definition
1691
+ * @see {@link PERMISSION} - The object form of this enum
1692
+ */
1693
+ export const PERMISSION_VALUES = [
1694
+ 'acknowledge',
1695
+ 'bulk_create',
1696
+ 'bulk_delete',
1697
+ 'bulk_renew_expire',
1698
+ 'bulk_transfer_trade',
1699
+ 'bulk_update',
1700
+ 'create',
1701
+ 'delete',
1702
+ 'enterprise',
1703
+ 'manage_api_keys',
1704
+ 'manage_billing',
1705
+ 'manage_cms_content',
1706
+ 'manage_contacts',
1707
+ 'manage_dns_zones',
1708
+ 'manage_domains',
1709
+ 'manage_email_forwards',
1710
+ 'manage_opusdns_api_keys',
1711
+ 'manage_products',
1712
+ 'manage_reseller',
1713
+ 'manage_user_relations',
1714
+ 'manage_users',
1715
+ 'plan_manager',
1716
+ 'premium',
1717
+ 'premium_reseller',
1718
+ 'renew_expire',
1719
+ 'sign_org_tos',
1720
+ 'starter',
1721
+ 'transfer_trade',
1722
+ 'update',
1723
+ 'verify',
1724
+ 'view',
1725
+ 'view_audit_logs'
1726
+ ] as const satisfies [string, ...string[]] | Permission[];
1727
+
1728
+ /**
1729
+ * PlanRelation. Auto-generated enum for PlanRelation
1730
+ *
1731
+ * @remarks
1732
+ * This constant provides both object and array forms for the PlanRelation enum.
1733
+ * The object form allows key-value access, while the array form enables iteration and validation.
1734
+ *
1735
+ * @example
1736
+ * ```typescript
1737
+ * // Using the object form for key-value access
1738
+ * const status = PLAN_RELATION.SUCCESS;
1739
+ *
1740
+ * // Using the array form for iteration
1741
+ * const allStatuses = PLAN_RELATION_VALUES;
1742
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1743
+ * ```
1744
+ *
1745
+ * @see {@link PlanRelation} - The TypeScript type definition
1746
+ */
1747
+ export const PLAN_RELATION = {
1748
+ BASIC_PLAN: "basic_plan",
1749
+ ENTERPRISE_PLAN: "enterprise_plan",
1750
+ PREMIUM_PLAN: "premium_plan",
1751
+ STARTER_PLAN: "starter_plan",
1752
+ } as const satisfies Record<string, PlanRelation>;
1753
+
1754
+ /**
1755
+ * Array of all PlanRelation enum values
1756
+ *
1757
+ * @remarks
1758
+ * This constant provides a array containing all valid PlanRelation enum values.
1759
+ * Useful for iteration, validation, and generating dynamic UI components.
1760
+ *
1761
+ * @example
1762
+ * ```typescript
1763
+ * // Iterating through all values
1764
+ * for (const value of PLAN_RELATION_VALUES) {
1765
+ * console.log(`Processing: ${value}`);
1766
+ * }
1767
+ *
1768
+ * // Validation
1769
+ * const isValid = PLAN_RELATION_VALUES.includes(someValue);
1770
+ * ```
1771
+ *
1772
+ * @see {@link PlanRelation} - The TypeScript type definition
1773
+ * @see {@link PLAN_RELATION} - The object form of this enum
1774
+ */
1775
+ export const PLAN_RELATION_VALUES = [
1776
+ 'basic_plan',
1777
+ 'enterprise_plan',
1778
+ 'premium_plan',
1779
+ 'starter_plan'
1780
+ ] as const satisfies [string, ...string[]] | PlanRelation[];
1781
+
1782
+ /**
1783
+ * PostTransferRequirements. Auto-generated enum for PostTransferRequirements
1784
+ *
1785
+ * @remarks
1786
+ * This constant provides both object and array forms for the PostTransferRequirements enum.
1787
+ * The object form allows key-value access, while the array form enables iteration and validation.
1788
+ *
1789
+ * @example
1790
+ * ```typescript
1791
+ * // Using the object form for key-value access
1792
+ * const status = POST_TRANSFER_REQUIREMENTS.SUCCESS;
1793
+ *
1794
+ * // Using the array form for iteration
1795
+ * const allStatuses = POST_TRANSFER_REQUIREMENTS_VALUES;
1796
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1797
+ * ```
1798
+ *
1799
+ * @see {@link PostTransferRequirements} - The TypeScript type definition
1800
+ */
1801
+ export const POST_TRANSFER_REQUIREMENTS = {
1802
+ UPDATE_CONTACTS: "update_contacts",
1803
+ TLD_SPECIFIC: "tld_specific",
1804
+ } as const satisfies Record<string, PostTransferRequirements>;
1805
+
1806
+ /**
1807
+ * Array of all PostTransferRequirements enum values
1808
+ *
1809
+ * @remarks
1810
+ * This constant provides a array containing all valid PostTransferRequirements enum values.
1811
+ * Useful for iteration, validation, and generating dynamic UI components.
1812
+ *
1813
+ * @example
1814
+ * ```typescript
1815
+ * // Iterating through all values
1816
+ * for (const value of POST_TRANSFER_REQUIREMENTS_VALUES) {
1817
+ * console.log(`Processing: ${value}`);
1818
+ * }
1819
+ *
1820
+ * // Validation
1821
+ * const isValid = POST_TRANSFER_REQUIREMENTS_VALUES.includes(someValue);
1822
+ * ```
1823
+ *
1824
+ * @see {@link PostTransferRequirements} - The TypeScript type definition
1825
+ * @see {@link POST_TRANSFER_REQUIREMENTS} - The object form of this enum
1826
+ */
1827
+ export const POST_TRANSFER_REQUIREMENTS_VALUES = [
1828
+ 'update_contacts',
1829
+ 'tld_specific'
1830
+ ] as const satisfies [string, ...string[]] | PostTransferRequirements[];
1831
+
1832
+ /**
1833
+ * PostalAddressType. Auto-generated enum for PostalAddressType
1834
+ *
1835
+ * @remarks
1836
+ * This constant provides both object and array forms for the PostalAddressType enum.
1837
+ * The object form allows key-value access, while the array form enables iteration and validation.
1838
+ *
1839
+ * @example
1840
+ * ```typescript
1841
+ * // Using the object form for key-value access
1842
+ * const status = POSTAL_ADDRESS_TYPE.SUCCESS;
1843
+ *
1844
+ * // Using the array form for iteration
1845
+ * const allStatuses = POSTAL_ADDRESS_TYPE_VALUES;
1846
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1847
+ * ```
1848
+ *
1849
+ * @see {@link PostalAddressType} - The TypeScript type definition
1850
+ */
1851
+ export const POSTAL_ADDRESS_TYPE = {
1852
+ LOC: "loc",
1853
+ INT: "int",
1854
+ } as const satisfies Record<string, PostalAddressType>;
1855
+
1856
+ /**
1857
+ * Array of all PostalAddressType enum values
1858
+ *
1859
+ * @remarks
1860
+ * This constant provides a array containing all valid PostalAddressType enum values.
1861
+ * Useful for iteration, validation, and generating dynamic UI components.
1862
+ *
1863
+ * @example
1864
+ * ```typescript
1865
+ * // Iterating through all values
1866
+ * for (const value of POSTAL_ADDRESS_TYPE_VALUES) {
1867
+ * console.log(`Processing: ${value}`);
1868
+ * }
1869
+ *
1870
+ * // Validation
1871
+ * const isValid = POSTAL_ADDRESS_TYPE_VALUES.includes(someValue);
1872
+ * ```
1873
+ *
1874
+ * @see {@link PostalAddressType} - The TypeScript type definition
1875
+ * @see {@link POSTAL_ADDRESS_TYPE} - The object form of this enum
1876
+ */
1877
+ export const POSTAL_ADDRESS_TYPE_VALUES = [
1878
+ 'loc',
1879
+ 'int'
1880
+ ] as const satisfies [string, ...string[]] | PostalAddressType[];
1881
+
1882
+ /**
1883
+ * PremiumAffectsType. Auto-generated enum for PremiumAffectsType
1884
+ *
1885
+ * @remarks
1886
+ * This constant provides both object and array forms for the PremiumAffectsType enum.
1887
+ * The object form allows key-value access, while the array form enables iteration and validation.
1888
+ *
1889
+ * @example
1890
+ * ```typescript
1891
+ * // Using the object form for key-value access
1892
+ * const status = PREMIUM_AFFECTS_TYPE.SUCCESS;
1893
+ *
1894
+ * // Using the array form for iteration
1895
+ * const allStatuses = PREMIUM_AFFECTS_TYPE_VALUES;
1896
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1897
+ * ```
1898
+ *
1899
+ * @see {@link PremiumAffectsType} - The TypeScript type definition
1900
+ */
1901
+ export const PREMIUM_AFFECTS_TYPE = {
1902
+ REGISTRATION: "registration",
1903
+ RENEWAL: "renewal",
1904
+ } as const satisfies Record<string, PremiumAffectsType>;
1905
+
1906
+ /**
1907
+ * Array of all PremiumAffectsType enum values
1908
+ *
1909
+ * @remarks
1910
+ * This constant provides a array containing all valid PremiumAffectsType enum values.
1911
+ * Useful for iteration, validation, and generating dynamic UI components.
1912
+ *
1913
+ * @example
1914
+ * ```typescript
1915
+ * // Iterating through all values
1916
+ * for (const value of PREMIUM_AFFECTS_TYPE_VALUES) {
1917
+ * console.log(`Processing: ${value}`);
1918
+ * }
1919
+ *
1920
+ * // Validation
1921
+ * const isValid = PREMIUM_AFFECTS_TYPE_VALUES.includes(someValue);
1922
+ * ```
1923
+ *
1924
+ * @see {@link PremiumAffectsType} - The TypeScript type definition
1925
+ * @see {@link PREMIUM_AFFECTS_TYPE} - The object form of this enum
1926
+ */
1927
+ export const PREMIUM_AFFECTS_TYPE_VALUES = [
1928
+ 'registration',
1929
+ 'renewal'
1930
+ ] as const satisfies [string, ...string[]] | PremiumAffectsType[];
1931
+
1932
+ /**
1933
+ * PremiumSourceType. Auto-generated enum for PremiumSourceType
1934
+ *
1935
+ * @remarks
1936
+ * This constant provides both object and array forms for the PremiumSourceType enum.
1937
+ * The object form allows key-value access, while the array form enables iteration and validation.
1938
+ *
1939
+ * @example
1940
+ * ```typescript
1941
+ * // Using the object form for key-value access
1942
+ * const status = PREMIUM_SOURCE_TYPE.SUCCESS;
1943
+ *
1944
+ * // Using the array form for iteration
1945
+ * const allStatuses = PREMIUM_SOURCE_TYPE_VALUES;
1946
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1947
+ * ```
1948
+ *
1949
+ * @see {@link PremiumSourceType} - The TypeScript type definition
1950
+ */
1951
+ export const PREMIUM_SOURCE_TYPE = {
1952
+ EPP: "EPP",
1953
+ API: "API",
1954
+ CSV: "CSV",
1955
+ MANUAL: "manual",
1956
+ } as const satisfies Record<string, PremiumSourceType>;
1957
+
1958
+ /**
1959
+ * Array of all PremiumSourceType enum values
1960
+ *
1961
+ * @remarks
1962
+ * This constant provides a array containing all valid PremiumSourceType enum values.
1963
+ * Useful for iteration, validation, and generating dynamic UI components.
1964
+ *
1965
+ * @example
1966
+ * ```typescript
1967
+ * // Iterating through all values
1968
+ * for (const value of PREMIUM_SOURCE_TYPE_VALUES) {
1969
+ * console.log(`Processing: ${value}`);
1970
+ * }
1971
+ *
1972
+ * // Validation
1973
+ * const isValid = PREMIUM_SOURCE_TYPE_VALUES.includes(someValue);
1974
+ * ```
1975
+ *
1976
+ * @see {@link PremiumSourceType} - The TypeScript type definition
1977
+ * @see {@link PREMIUM_SOURCE_TYPE} - The object form of this enum
1978
+ */
1979
+ export const PREMIUM_SOURCE_TYPE_VALUES = [
1980
+ 'EPP',
1981
+ 'API',
1982
+ 'CSV',
1983
+ 'manual'
1984
+ ] as const satisfies [string, ...string[]] | PremiumSourceType[];
1985
+
1986
+ /**
1987
+ * RegistrantChangeType. Auto-generated enum for RegistrantChangeType
1988
+ *
1989
+ * @remarks
1990
+ * This constant provides both object and array forms for the RegistrantChangeType enum.
1991
+ * The object form allows key-value access, while the array form enables iteration and validation.
1992
+ *
1993
+ * @example
1994
+ * ```typescript
1995
+ * // Using the object form for key-value access
1996
+ * const status = REGISTRANT_CHANGE_TYPE.SUCCESS;
1997
+ *
1998
+ * // Using the array form for iteration
1999
+ * const allStatuses = REGISTRANT_CHANGE_TYPE_VALUES;
2000
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2001
+ * ```
2002
+ *
2003
+ * @see {@link RegistrantChangeType} - The TypeScript type definition
2004
+ */
2005
+ export const REGISTRANT_CHANGE_TYPE = {
2006
+ UPDATE: "update",
2007
+ TRADE: "trade",
2008
+ } as const satisfies Record<string, RegistrantChangeType>;
2009
+
2010
+ /**
2011
+ * Array of all RegistrantChangeType enum values
2012
+ *
2013
+ * @remarks
2014
+ * This constant provides a array containing all valid RegistrantChangeType enum values.
2015
+ * Useful for iteration, validation, and generating dynamic UI components.
2016
+ *
2017
+ * @example
2018
+ * ```typescript
2019
+ * // Iterating through all values
2020
+ * for (const value of REGISTRANT_CHANGE_TYPE_VALUES) {
2021
+ * console.log(`Processing: ${value}`);
2022
+ * }
2023
+ *
2024
+ * // Validation
2025
+ * const isValid = REGISTRANT_CHANGE_TYPE_VALUES.includes(someValue);
2026
+ * ```
2027
+ *
2028
+ * @see {@link RegistrantChangeType} - The TypeScript type definition
2029
+ * @see {@link REGISTRANT_CHANGE_TYPE} - The object form of this enum
2030
+ */
2031
+ export const REGISTRANT_CHANGE_TYPE_VALUES = [
2032
+ 'update',
2033
+ 'trade'
2034
+ ] as const satisfies [string, ...string[]] | RegistrantChangeType[];
2035
+
2036
+ /**
2037
+ * Relation. Auto-generated enum for Relation
2038
+ *
2039
+ * @remarks
2040
+ * This constant provides both object and array forms for the Relation enum.
2041
+ * The object form allows key-value access, while the array form enables iteration and validation.
2042
+ *
2043
+ * @example
2044
+ * ```typescript
2045
+ * // Using the object form for key-value access
2046
+ * const status = RELATION.SUCCESS;
2047
+ *
2048
+ * // Using the array form for iteration
2049
+ * const allStatuses = RELATION_VALUES;
2050
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2051
+ * ```
2052
+ *
2053
+ * @see {@link Relation} - The TypeScript type definition
2054
+ */
2055
+ export const RELATION = {
2056
+ ACCEPTED_TOS: "accepted_tos",
2057
+ ADMIN: "admin",
2058
+ API_ADMIN: "api_admin",
2059
+ BILLING_MANAGER: "billing_manager",
2060
+ CLIENT_API_KEY: "client_api_key",
2061
+ CMS_CONTENT_EDITOR: "cms_content_editor",
2062
+ CONTACT_MANAGER: "contact_manager",
2063
+ DOMAIN_MANAGER: "domain_manager",
2064
+ EMAIL_FORWARD_MANAGER: "email_forward_manager",
2065
+ MEMBER: "member",
2066
+ OPUSDNS_INTERNAL_API_KEY: "opusdns_internal_api_key",
2067
+ ORGANIZATION_MANAGER: "organization_manager",
2068
+ OWNER: "owner",
2069
+ PARENT: "parent",
2070
+ PRODUCT_MANAGER: "product_manager",
2071
+ RECIPIENT: "recipient",
2072
+ RESELLER_MANAGER: "reseller_manager",
2073
+ ROOT_ADMIN: "root_admin",
2074
+ SELF: "self",
2075
+ } as const satisfies Record<string, Relation>;
2076
+
2077
+ /**
2078
+ * Array of all Relation enum values
2079
+ *
2080
+ * @remarks
2081
+ * This constant provides a array containing all valid Relation enum values.
2082
+ * Useful for iteration, validation, and generating dynamic UI components.
2083
+ *
2084
+ * @example
2085
+ * ```typescript
2086
+ * // Iterating through all values
2087
+ * for (const value of RELATION_VALUES) {
2088
+ * console.log(`Processing: ${value}`);
2089
+ * }
2090
+ *
2091
+ * // Validation
2092
+ * const isValid = RELATION_VALUES.includes(someValue);
2093
+ * ```
2094
+ *
2095
+ * @see {@link Relation} - The TypeScript type definition
2096
+ * @see {@link RELATION} - The object form of this enum
2097
+ */
2098
+ export const RELATION_VALUES = [
2099
+ 'accepted_tos',
2100
+ 'admin',
2101
+ 'api_admin',
2102
+ 'billing_manager',
2103
+ 'client_api_key',
2104
+ 'cms_content_editor',
2105
+ 'contact_manager',
2106
+ 'domain_manager',
2107
+ 'email_forward_manager',
2108
+ 'member',
2109
+ 'opusdns_internal_api_key',
2110
+ 'organization_manager',
2111
+ 'owner',
2112
+ 'parent',
2113
+ 'product_manager',
2114
+ 'recipient',
2115
+ 'reseller_manager',
2116
+ 'root_admin',
2117
+ 'self'
2118
+ ] as const satisfies [string, ...string[]] | Relation[];
2119
+
2120
+ /**
2121
+ * RenewalMode. Auto-generated enum for RenewalMode
2122
+ *
2123
+ * @remarks
2124
+ * This constant provides both object and array forms for the RenewalMode enum.
2125
+ * The object form allows key-value access, while the array form enables iteration and validation.
2126
+ *
2127
+ * @example
2128
+ * ```typescript
2129
+ * // Using the object form for key-value access
2130
+ * const status = RENEWAL_MODE.SUCCESS;
2131
+ *
2132
+ * // Using the array form for iteration
2133
+ * const allStatuses = RENEWAL_MODE_VALUES;
2134
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2135
+ * ```
2136
+ *
2137
+ * @see {@link RenewalMode} - The TypeScript type definition
2138
+ */
2139
+ export const RENEWAL_MODE = {
2140
+ RENEW: "renew",
2141
+ EXPIRE: "expire",
2142
+ DELETE: "delete",
2143
+ } as const satisfies Record<string, RenewalMode>;
2144
+
2145
+ /**
2146
+ * Array of all RenewalMode enum values
2147
+ *
2148
+ * @remarks
2149
+ * This constant provides a array containing all valid RenewalMode enum values.
2150
+ * Useful for iteration, validation, and generating dynamic UI components.
2151
+ *
2152
+ * @example
2153
+ * ```typescript
2154
+ * // Iterating through all values
2155
+ * for (const value of RENEWAL_MODE_VALUES) {
2156
+ * console.log(`Processing: ${value}`);
2157
+ * }
2158
+ *
2159
+ * // Validation
2160
+ * const isValid = RENEWAL_MODE_VALUES.includes(someValue);
2161
+ * ```
2162
+ *
2163
+ * @see {@link RenewalMode} - The TypeScript type definition
2164
+ * @see {@link RENEWAL_MODE} - The object form of this enum
2165
+ */
2166
+ export const RENEWAL_MODE_VALUES = [
2167
+ 'renew',
2168
+ 'expire',
2169
+ 'delete'
2170
+ ] as const satisfies [string, ...string[]] | RenewalMode[];
2171
+
2172
+ /**
2173
+ * ReservedSourceType. Auto-generated enum for ReservedSourceType
2174
+ *
2175
+ * @remarks
2176
+ * This constant provides both object and array forms for the ReservedSourceType enum.
2177
+ * The object form allows key-value access, while the array form enables iteration and validation.
2178
+ *
2179
+ * @example
2180
+ * ```typescript
2181
+ * // Using the object form for key-value access
2182
+ * const status = RESERVED_SOURCE_TYPE.SUCCESS;
2183
+ *
2184
+ * // Using the array form for iteration
2185
+ * const allStatuses = RESERVED_SOURCE_TYPE_VALUES;
2186
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2187
+ * ```
2188
+ *
2189
+ * @see {@link ReservedSourceType} - The TypeScript type definition
2190
+ */
2191
+ export const RESERVED_SOURCE_TYPE = {
2192
+ API: "API",
2193
+ CSV: "CSV",
2194
+ MANUAL: "manual",
2195
+ } as const satisfies Record<string, ReservedSourceType>;
2196
+
2197
+ /**
2198
+ * Array of all ReservedSourceType enum values
2199
+ *
2200
+ * @remarks
2201
+ * This constant provides a array containing all valid ReservedSourceType enum values.
2202
+ * Useful for iteration, validation, and generating dynamic UI components.
2203
+ *
2204
+ * @example
2205
+ * ```typescript
2206
+ * // Iterating through all values
2207
+ * for (const value of RESERVED_SOURCE_TYPE_VALUES) {
2208
+ * console.log(`Processing: ${value}`);
2209
+ * }
2210
+ *
2211
+ * // Validation
2212
+ * const isValid = RESERVED_SOURCE_TYPE_VALUES.includes(someValue);
2213
+ * ```
2214
+ *
2215
+ * @see {@link ReservedSourceType} - The TypeScript type definition
2216
+ * @see {@link RESERVED_SOURCE_TYPE} - The object form of this enum
2217
+ */
2218
+ export const RESERVED_SOURCE_TYPE_VALUES = [
2219
+ 'API',
2220
+ 'CSV',
2221
+ 'manual'
2222
+ ] as const satisfies [string, ...string[]] | ReservedSourceType[];
2223
+
2224
+ /**
2225
+ * SortOrder. Auto-generated enum for SortOrder
2226
+ *
2227
+ * @remarks
2228
+ * This constant provides both object and array forms for the SortOrder enum.
2229
+ * The object form allows key-value access, while the array form enables iteration and validation.
2230
+ *
2231
+ * @example
2232
+ * ```typescript
2233
+ * // Using the object form for key-value access
2234
+ * const status = SORT_ORDER.SUCCESS;
2235
+ *
2236
+ * // Using the array form for iteration
2237
+ * const allStatuses = SORT_ORDER_VALUES;
2238
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2239
+ * ```
2240
+ *
2241
+ * @see {@link SortOrder} - The TypeScript type definition
2242
+ */
2243
+ export const SORT_ORDER = {
2244
+ ASC: "asc",
2245
+ DESC: "desc",
2246
+ } as const satisfies Record<string, SortOrder>;
2247
+
2248
+ /**
2249
+ * Array of all SortOrder enum values
2250
+ *
2251
+ * @remarks
2252
+ * This constant provides a array containing all valid SortOrder enum values.
2253
+ * Useful for iteration, validation, and generating dynamic UI components.
2254
+ *
2255
+ * @example
2256
+ * ```typescript
2257
+ * // Iterating through all values
2258
+ * for (const value of SORT_ORDER_VALUES) {
2259
+ * console.log(`Processing: ${value}`);
2260
+ * }
2261
+ *
2262
+ * // Validation
2263
+ * const isValid = SORT_ORDER_VALUES.includes(someValue);
2264
+ * ```
2265
+ *
2266
+ * @see {@link SortOrder} - The TypeScript type definition
2267
+ * @see {@link SORT_ORDER} - The object form of this enum
2268
+ */
2269
+ export const SORT_ORDER_VALUES = [
2270
+ 'asc',
2271
+ 'desc'
2272
+ ] as const satisfies [string, ...string[]] | SortOrder[];
2273
+
2274
+ /**
2275
+ * SyncOperationType. Auto-generated enum for SyncOperationType
2276
+ *
2277
+ * @remarks
2278
+ * This constant provides both object and array forms for the SyncOperationType enum.
2279
+ * The object form allows key-value access, while the array form enables iteration and validation.
2280
+ *
2281
+ * @example
2282
+ * ```typescript
2283
+ * // Using the object form for key-value access
2284
+ * const status = SYNC_OPERATION_TYPE.SUCCESS;
2285
+ *
2286
+ * // Using the array form for iteration
2287
+ * const allStatuses = SYNC_OPERATION_TYPE_VALUES;
2288
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2289
+ * ```
2290
+ *
2291
+ * @see {@link SyncOperationType} - The TypeScript type definition
2292
+ */
2293
+ export const SYNC_OPERATION_TYPE = {
2294
+ REGISTRATION: "registration",
2295
+ RENEWAL: "renewal",
2296
+ TRANSFER: "transfer",
2297
+ } as const satisfies Record<string, SyncOperationType>;
2298
+
2299
+ /**
2300
+ * Array of all SyncOperationType enum values
2301
+ *
2302
+ * @remarks
2303
+ * This constant provides a array containing all valid SyncOperationType enum values.
2304
+ * Useful for iteration, validation, and generating dynamic UI components.
2305
+ *
2306
+ * @example
2307
+ * ```typescript
2308
+ * // Iterating through all values
2309
+ * for (const value of SYNC_OPERATION_TYPE_VALUES) {
2310
+ * console.log(`Processing: ${value}`);
2311
+ * }
2312
+ *
2313
+ * // Validation
2314
+ * const isValid = SYNC_OPERATION_TYPE_VALUES.includes(someValue);
2315
+ * ```
2316
+ *
2317
+ * @see {@link SyncOperationType} - The TypeScript type definition
2318
+ * @see {@link SYNC_OPERATION_TYPE} - The object form of this enum
2319
+ */
2320
+ export const SYNC_OPERATION_TYPE_VALUES = [
2321
+ 'registration',
2322
+ 'renewal',
2323
+ 'transfer'
2324
+ ] as const satisfies [string, ...string[]] | SyncOperationType[];
2325
+
2326
+ /**
2327
+ * TLDType. Auto-generated enum for TLDType
2328
+ *
2329
+ * @remarks
2330
+ * This constant provides both object and array forms for the TLDType enum.
2331
+ * The object form allows key-value access, while the array form enables iteration and validation.
2332
+ *
2333
+ * @example
2334
+ * ```typescript
2335
+ * // Using the object form for key-value access
2336
+ * const status = TLD_TYPE.SUCCESS;
2337
+ *
2338
+ * // Using the array form for iteration
2339
+ * const allStatuses = TLD_TYPE_VALUES;
2340
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2341
+ * ```
2342
+ *
2343
+ * @see {@link TLDType} - The TypeScript type definition
2344
+ */
2345
+ export const TLD_TYPE = {
2346
+ G_TLD: "gTLD",
2347
+ CC_TLD: "ccTLD",
2348
+ } as const satisfies Record<string, TLDType>;
2349
+
2350
+ /**
2351
+ * Array of all TLDType enum values
2352
+ *
2353
+ * @remarks
2354
+ * This constant provides a array containing all valid TLDType enum values.
2355
+ * Useful for iteration, validation, and generating dynamic UI components.
2356
+ *
2357
+ * @example
2358
+ * ```typescript
2359
+ * // Iterating through all values
2360
+ * for (const value of TLD_TYPE_VALUES) {
2361
+ * console.log(`Processing: ${value}`);
2362
+ * }
2363
+ *
2364
+ * // Validation
2365
+ * const isValid = TLD_TYPE_VALUES.includes(someValue);
2366
+ * ```
2367
+ *
2368
+ * @see {@link TLDType} - The TypeScript type definition
2369
+ * @see {@link TLD_TYPE} - The object form of this enum
2370
+ */
2371
+ export const TLD_TYPE_VALUES = [
2372
+ 'gTLD',
2373
+ 'ccTLD'
2374
+ ] as const satisfies [string, ...string[]] | TLDType[];
2375
+
2376
+ /**
2377
+ * TransferAckType. Auto-generated enum for TransferAckType
2378
+ *
2379
+ * @remarks
2380
+ * This constant provides both object and array forms for the TransferAckType enum.
2381
+ * The object form allows key-value access, while the array form enables iteration and validation.
2382
+ *
2383
+ * @example
2384
+ * ```typescript
2385
+ * // Using the object form for key-value access
2386
+ * const status = TRANSFER_ACK_TYPE.SUCCESS;
2387
+ *
2388
+ * // Using the array form for iteration
2389
+ * const allStatuses = TRANSFER_ACK_TYPE_VALUES;
2390
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2391
+ * ```
2392
+ *
2393
+ * @see {@link TransferAckType} - The TypeScript type definition
2394
+ */
2395
+ export const TRANSFER_ACK_TYPE = {
2396
+ NONE: "none",
2397
+ REGISTRAR: "registrar",
2398
+ REGISTRANT: "registrant",
2399
+ BOTH: "both",
2400
+ } as const satisfies Record<string, TransferAckType>;
2401
+
2402
+ /**
2403
+ * Array of all TransferAckType enum values
2404
+ *
2405
+ * @remarks
2406
+ * This constant provides a array containing all valid TransferAckType enum values.
2407
+ * Useful for iteration, validation, and generating dynamic UI components.
2408
+ *
2409
+ * @example
2410
+ * ```typescript
2411
+ * // Iterating through all values
2412
+ * for (const value of TRANSFER_ACK_TYPE_VALUES) {
2413
+ * console.log(`Processing: ${value}`);
2414
+ * }
2415
+ *
2416
+ * // Validation
2417
+ * const isValid = TRANSFER_ACK_TYPE_VALUES.includes(someValue);
2418
+ * ```
2419
+ *
2420
+ * @see {@link TransferAckType} - The TypeScript type definition
2421
+ * @see {@link TRANSFER_ACK_TYPE} - The object form of this enum
2422
+ */
2423
+ export const TRANSFER_ACK_TYPE_VALUES = [
2424
+ 'none',
2425
+ 'registrar',
2426
+ 'registrant',
2427
+ 'both'
2428
+ ] as const satisfies [string, ...string[]] | TransferAckType[];
2429
+
2430
+ /**
2431
+ * UserNotificationStatus. Auto-generated enum for UserNotificationStatus
2432
+ *
2433
+ * @remarks
2434
+ * This constant provides both object and array forms for the UserNotificationStatus enum.
2435
+ * The object form allows key-value access, while the array form enables iteration and validation.
2436
+ *
2437
+ * @example
2438
+ * ```typescript
2439
+ * // Using the object form for key-value access
2440
+ * const status = USER_NOTIFICATION_STATUS.SUCCESS;
2441
+ *
2442
+ * // Using the array form for iteration
2443
+ * const allStatuses = USER_NOTIFICATION_STATUS_VALUES;
2444
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2445
+ * ```
2446
+ *
2447
+ * @see {@link UserNotificationStatus} - The TypeScript type definition
2448
+ */
2449
+ export const USER_NOTIFICATION_STATUS = {
2450
+ READ: "read",
2451
+ UNREAD: "unread",
2452
+ } as const satisfies Record<string, UserNotificationStatus>;
2453
+
2454
+ /**
2455
+ * Array of all UserNotificationStatus enum values
2456
+ *
2457
+ * @remarks
2458
+ * This constant provides a array containing all valid UserNotificationStatus enum values.
2459
+ * Useful for iteration, validation, and generating dynamic UI components.
2460
+ *
2461
+ * @example
2462
+ * ```typescript
2463
+ * // Iterating through all values
2464
+ * for (const value of USER_NOTIFICATION_STATUS_VALUES) {
2465
+ * console.log(`Processing: ${value}`);
2466
+ * }
2467
+ *
2468
+ * // Validation
2469
+ * const isValid = USER_NOTIFICATION_STATUS_VALUES.includes(someValue);
2470
+ * ```
2471
+ *
2472
+ * @see {@link UserNotificationStatus} - The TypeScript type definition
2473
+ * @see {@link USER_NOTIFICATION_STATUS} - The object form of this enum
2474
+ */
2475
+ export const USER_NOTIFICATION_STATUS_VALUES = [
2476
+ 'read',
2477
+ 'unread'
2478
+ ] as const satisfies [string, ...string[]] | UserNotificationStatus[];
2479
+
2480
+ /**
2481
+ * UserStatus. Auto-generated enum for UserStatus
2482
+ *
2483
+ * @remarks
2484
+ * This constant provides both object and array forms for the UserStatus enum.
2485
+ * The object form allows key-value access, while the array form enables iteration and validation.
2486
+ *
2487
+ * @example
2488
+ * ```typescript
2489
+ * // Using the object form for key-value access
2490
+ * const status = USER_STATUS.SUCCESS;
2491
+ *
2492
+ * // Using the array form for iteration
2493
+ * const allStatuses = USER_STATUS_VALUES;
2494
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2495
+ * ```
2496
+ *
2497
+ * @see {@link UserStatus} - The TypeScript type definition
2498
+ */
2499
+ export const USER_STATUS = {
2500
+ ACTIVE: "active",
2501
+ INACTIVE: "inactive",
2502
+ } as const satisfies Record<string, UserStatus>;
2503
+
2504
+ /**
2505
+ * Array of all UserStatus enum values
2506
+ *
2507
+ * @remarks
2508
+ * This constant provides a array containing all valid UserStatus enum values.
2509
+ * Useful for iteration, validation, and generating dynamic UI components.
2510
+ *
2511
+ * @example
2512
+ * ```typescript
2513
+ * // Iterating through all values
2514
+ * for (const value of USER_STATUS_VALUES) {
2515
+ * console.log(`Processing: ${value}`);
2516
+ * }
2517
+ *
2518
+ * // Validation
2519
+ * const isValid = USER_STATUS_VALUES.includes(someValue);
2520
+ * ```
2521
+ *
2522
+ * @see {@link UserStatus} - The TypeScript type definition
2523
+ * @see {@link USER_STATUS} - The object form of this enum
2524
+ */
2525
+ export const USER_STATUS_VALUES = [
2526
+ 'active',
2527
+ 'inactive'
2528
+ ] as const satisfies [string, ...string[]] | UserStatus[];
2529
+
2530
+ /**
2531
+ * VerificationType. Auto-generated enum for VerificationType
2532
+ *
2533
+ * @remarks
2534
+ * This constant provides both object and array forms for the VerificationType enum.
2535
+ * The object form allows key-value access, while the array form enables iteration and validation.
2536
+ *
2537
+ * @example
2538
+ * ```typescript
2539
+ * // Using the object form for key-value access
2540
+ * const status = VERIFICATION_TYPE.SUCCESS;
2541
+ *
2542
+ * // Using the array form for iteration
2543
+ * const allStatuses = VERIFICATION_TYPE_VALUES;
2544
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2545
+ * ```
2546
+ *
2547
+ * @see {@link VerificationType} - The TypeScript type definition
2548
+ */
2549
+ export const VERIFICATION_TYPE = {
2550
+ API: "api",
2551
+ EMAIL: "email",
2552
+ } as const satisfies Record<string, VerificationType>;
2553
+
2554
+ /**
2555
+ * Array of all VerificationType enum values
2556
+ *
2557
+ * @remarks
2558
+ * This constant provides a array containing all valid VerificationType enum values.
2559
+ * Useful for iteration, validation, and generating dynamic UI components.
2560
+ *
2561
+ * @example
2562
+ * ```typescript
2563
+ * // Iterating through all values
2564
+ * for (const value of VERIFICATION_TYPE_VALUES) {
2565
+ * console.log(`Processing: ${value}`);
2566
+ * }
2567
+ *
2568
+ * // Validation
2569
+ * const isValid = VERIFICATION_TYPE_VALUES.includes(someValue);
2570
+ * ```
2571
+ *
2572
+ * @see {@link VerificationType} - The TypeScript type definition
2573
+ * @see {@link VERIFICATION_TYPE} - The object form of this enum
2574
+ */
2575
+ export const VERIFICATION_TYPE_VALUES = [
2576
+ 'api',
2577
+ 'email'
2578
+ ] as const satisfies [string, ...string[]] | VerificationType[];
2579
+
2580
+ /**
2581
+ * ZoneSortField. Auto-generated enum for ZoneSortField
2582
+ *
2583
+ * @remarks
2584
+ * This constant provides both object and array forms for the ZoneSortField enum.
2585
+ * The object form allows key-value access, while the array form enables iteration and validation.
2586
+ *
2587
+ * @example
2588
+ * ```typescript
2589
+ * // Using the object form for key-value access
2590
+ * const status = ZONE_SORT_FIELD.SUCCESS;
2591
+ *
2592
+ * // Using the array form for iteration
2593
+ * const allStatuses = ZONE_SORT_FIELD_VALUES;
2594
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2595
+ * ```
2596
+ *
2597
+ * @see {@link ZoneSortField} - The TypeScript type definition
2598
+ */
2599
+ export const ZONE_SORT_FIELD = {
2600
+ NAME: "name",
2601
+ CREATED_ON: "created_on",
2602
+ UPDATED_ON: "updated_on",
2603
+ DNSSEC_STATUS: "dnssec_status",
2604
+ } as const satisfies Record<string, ZoneSortField>;
2605
+
2606
+ /**
2607
+ * Array of all ZoneSortField enum values
2608
+ *
2609
+ * @remarks
2610
+ * This constant provides a array containing all valid ZoneSortField enum values.
2611
+ * Useful for iteration, validation, and generating dynamic UI components.
2612
+ *
2613
+ * @example
2614
+ * ```typescript
2615
+ * // Iterating through all values
2616
+ * for (const value of ZONE_SORT_FIELD_VALUES) {
2617
+ * console.log(`Processing: ${value}`);
2618
+ * }
2619
+ *
2620
+ * // Validation
2621
+ * const isValid = ZONE_SORT_FIELD_VALUES.includes(someValue);
2622
+ * ```
2623
+ *
2624
+ * @see {@link ZoneSortField} - The TypeScript type definition
2625
+ * @see {@link ZONE_SORT_FIELD} - The object form of this enum
2626
+ */
2627
+ export const ZONE_SORT_FIELD_VALUES = [
2628
+ 'name',
2629
+ 'created_on',
2630
+ 'updated_on',
2631
+ 'dnssec_status'
2632
+ ] as const satisfies [string, ...string[]] | ZoneSortField[];
2633
+