@opusdns/api 0.241.0 → 0.242.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers/keys.ts +497 -0
- package/src/helpers/schemas.d.ts +8 -40
- package/src/openapi.yaml +7 -128
- package/src/schema.d.ts +6 -89
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -111,6 +111,7 @@ import { DomainCreateBulkInstance } from './schemas';
|
|
|
111
111
|
import { DomainCreateBulkPayload } from './schemas';
|
|
112
112
|
import { DomainCreateBulkTemplate } from './schemas';
|
|
113
113
|
import { DomainCreateCommand } from './schemas';
|
|
114
|
+
import { DomainCreatePayloadData } from './schemas';
|
|
114
115
|
import { DomainCreateWorkerPayload } from './schemas';
|
|
115
116
|
import { DomainDnssecDataCreate } from './schemas';
|
|
116
117
|
import { DomainDnssecData } from './schemas';
|
|
@@ -156,6 +157,7 @@ import { DomainTransferBulkPayload } from './schemas';
|
|
|
156
157
|
import { DomainTransferBulkTemplate } from './schemas';
|
|
157
158
|
import { DomainTransferCommand } from './schemas';
|
|
158
159
|
import { DomainTransferIn } from './schemas';
|
|
160
|
+
import { DomainTransferPayloadData } from './schemas';
|
|
159
161
|
import { DomainTransferWorkerPayload } from './schemas';
|
|
160
162
|
import { DomainTransitRequest } from './schemas';
|
|
161
163
|
import { DomainTransit } from './schemas';
|
|
@@ -11578,6 +11580,240 @@ export const KEYS_DOMAIN_CREATE_COMMAND = [
|
|
|
11578
11580
|
KEY_DOMAIN_CREATE_COMMAND_VERSION,
|
|
11579
11581
|
] as const satisfies (keyof DomainCreateCommand)[];
|
|
11580
11582
|
|
|
11583
|
+
/**
|
|
11584
|
+
* Auth Code
|
|
11585
|
+
*
|
|
11586
|
+
* The auth code used for the domain
|
|
11587
|
+
*
|
|
11588
|
+
*
|
|
11589
|
+
*
|
|
11590
|
+
* @remarks
|
|
11591
|
+
* This key constant provides type-safe access to the `auth_code` property of DomainCreatePayloadData objects.
|
|
11592
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11593
|
+
*
|
|
11594
|
+
* @example
|
|
11595
|
+
* ```typescript
|
|
11596
|
+
* // Direct property access
|
|
11597
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE];
|
|
11598
|
+
*
|
|
11599
|
+
* // Dynamic property access
|
|
11600
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE;
|
|
11601
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11602
|
+
* ```
|
|
11603
|
+
*
|
|
11604
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11605
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11606
|
+
*/
|
|
11607
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE: keyof DomainCreatePayloadData = 'auth_code';
|
|
11608
|
+
/**
|
|
11609
|
+
* Contacts
|
|
11610
|
+
*
|
|
11611
|
+
* The contacts of the domain
|
|
11612
|
+
*
|
|
11613
|
+
*
|
|
11614
|
+
*
|
|
11615
|
+
* @remarks
|
|
11616
|
+
* This key constant provides type-safe access to the `contacts` property of DomainCreatePayloadData objects.
|
|
11617
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11618
|
+
*
|
|
11619
|
+
* @example
|
|
11620
|
+
* ```typescript
|
|
11621
|
+
* // Direct property access
|
|
11622
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS];
|
|
11623
|
+
*
|
|
11624
|
+
* // Dynamic property access
|
|
11625
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS;
|
|
11626
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11627
|
+
* ```
|
|
11628
|
+
*
|
|
11629
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11630
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11631
|
+
*/
|
|
11632
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS: keyof DomainCreatePayloadData = 'contacts';
|
|
11633
|
+
/**
|
|
11634
|
+
* Create Zone
|
|
11635
|
+
*
|
|
11636
|
+
* Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
11637
|
+
*
|
|
11638
|
+
* @type {boolean}
|
|
11639
|
+
*
|
|
11640
|
+
*
|
|
11641
|
+
* @remarks
|
|
11642
|
+
* This key constant provides type-safe access to the `create_zone` property of DomainCreatePayloadData objects.
|
|
11643
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11644
|
+
*
|
|
11645
|
+
* @example
|
|
11646
|
+
* ```typescript
|
|
11647
|
+
* // Direct property access
|
|
11648
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE];
|
|
11649
|
+
*
|
|
11650
|
+
* // Dynamic property access
|
|
11651
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE;
|
|
11652
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11653
|
+
* ```
|
|
11654
|
+
*
|
|
11655
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11656
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11657
|
+
*/
|
|
11658
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE: keyof DomainCreatePayloadData = 'create_zone';
|
|
11659
|
+
/**
|
|
11660
|
+
* Expected Price
|
|
11661
|
+
*
|
|
11662
|
+
* Expected price for premium domain confirmation
|
|
11663
|
+
*
|
|
11664
|
+
*
|
|
11665
|
+
*
|
|
11666
|
+
* @remarks
|
|
11667
|
+
* This key constant provides type-safe access to the `expected_price` property of DomainCreatePayloadData objects.
|
|
11668
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11669
|
+
*
|
|
11670
|
+
* @example
|
|
11671
|
+
* ```typescript
|
|
11672
|
+
* // Direct property access
|
|
11673
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE];
|
|
11674
|
+
*
|
|
11675
|
+
* // Dynamic property access
|
|
11676
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE;
|
|
11677
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11678
|
+
* ```
|
|
11679
|
+
*
|
|
11680
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11681
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11682
|
+
*/
|
|
11683
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE: keyof DomainCreatePayloadData = 'expected_price';
|
|
11684
|
+
/**
|
|
11685
|
+
* Name
|
|
11686
|
+
*
|
|
11687
|
+
* The domain to be created
|
|
11688
|
+
*
|
|
11689
|
+
* @type {string}
|
|
11690
|
+
*
|
|
11691
|
+
*
|
|
11692
|
+
* @remarks
|
|
11693
|
+
* This key constant provides type-safe access to the `name` property of DomainCreatePayloadData objects.
|
|
11694
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11695
|
+
*
|
|
11696
|
+
* @example
|
|
11697
|
+
* ```typescript
|
|
11698
|
+
* // Direct property access
|
|
11699
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME];
|
|
11700
|
+
*
|
|
11701
|
+
* // Dynamic property access
|
|
11702
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME;
|
|
11703
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11704
|
+
* ```
|
|
11705
|
+
*
|
|
11706
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11707
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11708
|
+
*/
|
|
11709
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME: keyof DomainCreatePayloadData = 'name';
|
|
11710
|
+
/**
|
|
11711
|
+
* Nameservers
|
|
11712
|
+
*
|
|
11713
|
+
* The name servers for the domain
|
|
11714
|
+
*
|
|
11715
|
+
*
|
|
11716
|
+
*
|
|
11717
|
+
* @remarks
|
|
11718
|
+
* This key constant provides type-safe access to the `nameservers` property of DomainCreatePayloadData objects.
|
|
11719
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11720
|
+
*
|
|
11721
|
+
* @example
|
|
11722
|
+
* ```typescript
|
|
11723
|
+
* // Direct property access
|
|
11724
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS];
|
|
11725
|
+
*
|
|
11726
|
+
* // Dynamic property access
|
|
11727
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS;
|
|
11728
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11729
|
+
* ```
|
|
11730
|
+
*
|
|
11731
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11732
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11733
|
+
*/
|
|
11734
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS: keyof DomainCreatePayloadData = 'nameservers';
|
|
11735
|
+
/**
|
|
11736
|
+
* period property
|
|
11737
|
+
*
|
|
11738
|
+
* The registration period of the domain
|
|
11739
|
+
*
|
|
11740
|
+
*
|
|
11741
|
+
*
|
|
11742
|
+
* @remarks
|
|
11743
|
+
* This key constant provides type-safe access to the `period` property of DomainCreatePayloadData objects.
|
|
11744
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11745
|
+
*
|
|
11746
|
+
* @example
|
|
11747
|
+
* ```typescript
|
|
11748
|
+
* // Direct property access
|
|
11749
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD];
|
|
11750
|
+
*
|
|
11751
|
+
* // Dynamic property access
|
|
11752
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD;
|
|
11753
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11754
|
+
* ```
|
|
11755
|
+
*
|
|
11756
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11757
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11758
|
+
*/
|
|
11759
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD: keyof DomainCreatePayloadData = 'period';
|
|
11760
|
+
/**
|
|
11761
|
+
* renewal_mode property
|
|
11762
|
+
*
|
|
11763
|
+
* The renewal mode of the domain
|
|
11764
|
+
*
|
|
11765
|
+
*
|
|
11766
|
+
*
|
|
11767
|
+
* @remarks
|
|
11768
|
+
* This key constant provides type-safe access to the `renewal_mode` property of DomainCreatePayloadData objects.
|
|
11769
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
11770
|
+
*
|
|
11771
|
+
* @example
|
|
11772
|
+
* ```typescript
|
|
11773
|
+
* // Direct property access
|
|
11774
|
+
* const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE];
|
|
11775
|
+
*
|
|
11776
|
+
* // Dynamic property access
|
|
11777
|
+
* const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE;
|
|
11778
|
+
* const value = domaincreatepayloaddata[propertyName];
|
|
11779
|
+
* ```
|
|
11780
|
+
*
|
|
11781
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11782
|
+
* @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
|
|
11783
|
+
*/
|
|
11784
|
+
export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE: keyof DomainCreatePayloadData = 'renewal_mode';
|
|
11785
|
+
|
|
11786
|
+
/**
|
|
11787
|
+
* Array of all DomainCreatePayloadData property keys
|
|
11788
|
+
*
|
|
11789
|
+
* @remarks
|
|
11790
|
+
* This constant provides a readonly array containing all valid property keys for DomainCreatePayloadData objects.
|
|
11791
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
11792
|
+
*
|
|
11793
|
+
* @example
|
|
11794
|
+
* ```typescript
|
|
11795
|
+
* // Iterating through all keys
|
|
11796
|
+
* for (const key of KEYS_DOMAIN_CREATE_PAYLOAD_DATA) {
|
|
11797
|
+
* console.log(`Property: ${key}, Value: ${domaincreatepayloaddata[key]}`);
|
|
11798
|
+
* }
|
|
11799
|
+
*
|
|
11800
|
+
* // Validation
|
|
11801
|
+
* const isValidKey = KEYS_DOMAIN_CREATE_PAYLOAD_DATA.includes(someKey);
|
|
11802
|
+
* ```
|
|
11803
|
+
*
|
|
11804
|
+
* @see {@link DomainCreatePayloadData} - The TypeScript type definition
|
|
11805
|
+
*/
|
|
11806
|
+
export const KEYS_DOMAIN_CREATE_PAYLOAD_DATA = [
|
|
11807
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE,
|
|
11808
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS,
|
|
11809
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE,
|
|
11810
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE,
|
|
11811
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME,
|
|
11812
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS,
|
|
11813
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD,
|
|
11814
|
+
KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE,
|
|
11815
|
+
] as const satisfies (keyof DomainCreatePayloadData)[];
|
|
11816
|
+
|
|
11581
11817
|
/**
|
|
11582
11818
|
* domain property
|
|
11583
11819
|
*
|
|
@@ -17205,6 +17441,267 @@ export const KEYS_DOMAIN_TRANSFER_IN = [
|
|
|
17205
17441
|
KEY_DOMAIN_TRANSFER_IN_RENEWAL_MODE,
|
|
17206
17442
|
] as const satisfies (keyof DomainTransferIn)[];
|
|
17207
17443
|
|
|
17444
|
+
/**
|
|
17445
|
+
* Attributes
|
|
17446
|
+
*
|
|
17447
|
+
* Additional attributes of the domain
|
|
17448
|
+
*
|
|
17449
|
+
*
|
|
17450
|
+
*
|
|
17451
|
+
* @remarks
|
|
17452
|
+
* This key constant provides type-safe access to the `attributes` property of DomainTransferPayloadData objects.
|
|
17453
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17454
|
+
*
|
|
17455
|
+
* @example
|
|
17456
|
+
* ```typescript
|
|
17457
|
+
* // Direct property access
|
|
17458
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES];
|
|
17459
|
+
*
|
|
17460
|
+
* // Dynamic property access
|
|
17461
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES;
|
|
17462
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17463
|
+
* ```
|
|
17464
|
+
*
|
|
17465
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17466
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17467
|
+
*/
|
|
17468
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES: keyof DomainTransferPayloadData = 'attributes';
|
|
17469
|
+
/**
|
|
17470
|
+
* Auth Code
|
|
17471
|
+
*
|
|
17472
|
+
* The auth code for the domain
|
|
17473
|
+
*
|
|
17474
|
+
* @type {string}
|
|
17475
|
+
*
|
|
17476
|
+
*
|
|
17477
|
+
* @remarks
|
|
17478
|
+
* This key constant provides type-safe access to the `auth_code` property of DomainTransferPayloadData objects.
|
|
17479
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17480
|
+
*
|
|
17481
|
+
* @example
|
|
17482
|
+
* ```typescript
|
|
17483
|
+
* // Direct property access
|
|
17484
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE];
|
|
17485
|
+
*
|
|
17486
|
+
* // Dynamic property access
|
|
17487
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE;
|
|
17488
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17489
|
+
* ```
|
|
17490
|
+
*
|
|
17491
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17492
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17493
|
+
*/
|
|
17494
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE: keyof DomainTransferPayloadData = 'auth_code';
|
|
17495
|
+
/**
|
|
17496
|
+
* Contacts
|
|
17497
|
+
*
|
|
17498
|
+
* The contacts of the domain
|
|
17499
|
+
*
|
|
17500
|
+
*
|
|
17501
|
+
*
|
|
17502
|
+
* @remarks
|
|
17503
|
+
* This key constant provides type-safe access to the `contacts` property of DomainTransferPayloadData objects.
|
|
17504
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17505
|
+
*
|
|
17506
|
+
* @example
|
|
17507
|
+
* ```typescript
|
|
17508
|
+
* // Direct property access
|
|
17509
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS];
|
|
17510
|
+
*
|
|
17511
|
+
* // Dynamic property access
|
|
17512
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS;
|
|
17513
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17514
|
+
* ```
|
|
17515
|
+
*
|
|
17516
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17517
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17518
|
+
*/
|
|
17519
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS: keyof DomainTransferPayloadData = 'contacts';
|
|
17520
|
+
/**
|
|
17521
|
+
* Create Zone
|
|
17522
|
+
*
|
|
17523
|
+
* Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
17524
|
+
*
|
|
17525
|
+
* @type {boolean}
|
|
17526
|
+
*
|
|
17527
|
+
*
|
|
17528
|
+
* @remarks
|
|
17529
|
+
* This key constant provides type-safe access to the `create_zone` property of DomainTransferPayloadData objects.
|
|
17530
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17531
|
+
*
|
|
17532
|
+
* @example
|
|
17533
|
+
* ```typescript
|
|
17534
|
+
* // Direct property access
|
|
17535
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE];
|
|
17536
|
+
*
|
|
17537
|
+
* // Dynamic property access
|
|
17538
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE;
|
|
17539
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17540
|
+
* ```
|
|
17541
|
+
*
|
|
17542
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17543
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17544
|
+
*/
|
|
17545
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE: keyof DomainTransferPayloadData = 'create_zone';
|
|
17546
|
+
/**
|
|
17547
|
+
* Expected Price
|
|
17548
|
+
*
|
|
17549
|
+
* Expected price for premium domain confirmation
|
|
17550
|
+
*
|
|
17551
|
+
*
|
|
17552
|
+
*
|
|
17553
|
+
* @remarks
|
|
17554
|
+
* This key constant provides type-safe access to the `expected_price` property of DomainTransferPayloadData objects.
|
|
17555
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17556
|
+
*
|
|
17557
|
+
* @example
|
|
17558
|
+
* ```typescript
|
|
17559
|
+
* // Direct property access
|
|
17560
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE];
|
|
17561
|
+
*
|
|
17562
|
+
* // Dynamic property access
|
|
17563
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE;
|
|
17564
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17565
|
+
* ```
|
|
17566
|
+
*
|
|
17567
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17568
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17569
|
+
*/
|
|
17570
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE: keyof DomainTransferPayloadData = 'expected_price';
|
|
17571
|
+
/**
|
|
17572
|
+
* Name
|
|
17573
|
+
*
|
|
17574
|
+
* The domain to be created
|
|
17575
|
+
*
|
|
17576
|
+
* @type {string}
|
|
17577
|
+
*
|
|
17578
|
+
*
|
|
17579
|
+
* @remarks
|
|
17580
|
+
* This key constant provides type-safe access to the `name` property of DomainTransferPayloadData objects.
|
|
17581
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17582
|
+
*
|
|
17583
|
+
* @example
|
|
17584
|
+
* ```typescript
|
|
17585
|
+
* // Direct property access
|
|
17586
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME];
|
|
17587
|
+
*
|
|
17588
|
+
* // Dynamic property access
|
|
17589
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME;
|
|
17590
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17591
|
+
* ```
|
|
17592
|
+
*
|
|
17593
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17594
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17595
|
+
*/
|
|
17596
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME: keyof DomainTransferPayloadData = 'name';
|
|
17597
|
+
/**
|
|
17598
|
+
* Nameservers
|
|
17599
|
+
*
|
|
17600
|
+
* The name servers for the domain
|
|
17601
|
+
*
|
|
17602
|
+
*
|
|
17603
|
+
*
|
|
17604
|
+
* @remarks
|
|
17605
|
+
* This key constant provides type-safe access to the `nameservers` property of DomainTransferPayloadData objects.
|
|
17606
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17607
|
+
*
|
|
17608
|
+
* @example
|
|
17609
|
+
* ```typescript
|
|
17610
|
+
* // Direct property access
|
|
17611
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS];
|
|
17612
|
+
*
|
|
17613
|
+
* // Dynamic property access
|
|
17614
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS;
|
|
17615
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17616
|
+
* ```
|
|
17617
|
+
*
|
|
17618
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17619
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17620
|
+
*/
|
|
17621
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS: keyof DomainTransferPayloadData = 'nameservers';
|
|
17622
|
+
/**
|
|
17623
|
+
* period property
|
|
17624
|
+
*
|
|
17625
|
+
* Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied.
|
|
17626
|
+
*
|
|
17627
|
+
*
|
|
17628
|
+
*
|
|
17629
|
+
* @remarks
|
|
17630
|
+
* This key constant provides type-safe access to the `period` property of DomainTransferPayloadData objects.
|
|
17631
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17632
|
+
*
|
|
17633
|
+
* @example
|
|
17634
|
+
* ```typescript
|
|
17635
|
+
* // Direct property access
|
|
17636
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD];
|
|
17637
|
+
*
|
|
17638
|
+
* // Dynamic property access
|
|
17639
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD;
|
|
17640
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17641
|
+
* ```
|
|
17642
|
+
*
|
|
17643
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17644
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17645
|
+
*/
|
|
17646
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD: keyof DomainTransferPayloadData = 'period';
|
|
17647
|
+
/**
|
|
17648
|
+
* renewal_mode property
|
|
17649
|
+
*
|
|
17650
|
+
* The renewal mode of the domain
|
|
17651
|
+
*
|
|
17652
|
+
*
|
|
17653
|
+
*
|
|
17654
|
+
* @remarks
|
|
17655
|
+
* This key constant provides type-safe access to the `renewal_mode` property of DomainTransferPayloadData objects.
|
|
17656
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17657
|
+
*
|
|
17658
|
+
* @example
|
|
17659
|
+
* ```typescript
|
|
17660
|
+
* // Direct property access
|
|
17661
|
+
* const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE];
|
|
17662
|
+
*
|
|
17663
|
+
* // Dynamic property access
|
|
17664
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE;
|
|
17665
|
+
* const value = domaintransferpayloaddata[propertyName];
|
|
17666
|
+
* ```
|
|
17667
|
+
*
|
|
17668
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17669
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
|
|
17670
|
+
*/
|
|
17671
|
+
export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE: keyof DomainTransferPayloadData = 'renewal_mode';
|
|
17672
|
+
|
|
17673
|
+
/**
|
|
17674
|
+
* Array of all DomainTransferPayloadData property keys
|
|
17675
|
+
*
|
|
17676
|
+
* @remarks
|
|
17677
|
+
* This constant provides a readonly array containing all valid property keys for DomainTransferPayloadData objects.
|
|
17678
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
17679
|
+
*
|
|
17680
|
+
* @example
|
|
17681
|
+
* ```typescript
|
|
17682
|
+
* // Iterating through all keys
|
|
17683
|
+
* for (const key of KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA) {
|
|
17684
|
+
* console.log(`Property: ${key}, Value: ${domaintransferpayloaddata[key]}`);
|
|
17685
|
+
* }
|
|
17686
|
+
*
|
|
17687
|
+
* // Validation
|
|
17688
|
+
* const isValidKey = KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA.includes(someKey);
|
|
17689
|
+
* ```
|
|
17690
|
+
*
|
|
17691
|
+
* @see {@link DomainTransferPayloadData} - The TypeScript type definition
|
|
17692
|
+
*/
|
|
17693
|
+
export const KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA = [
|
|
17694
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES,
|
|
17695
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE,
|
|
17696
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS,
|
|
17697
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE,
|
|
17698
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE,
|
|
17699
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME,
|
|
17700
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS,
|
|
17701
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD,
|
|
17702
|
+
KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE,
|
|
17703
|
+
] as const satisfies (keyof DomainTransferPayloadData)[];
|
|
17704
|
+
|
|
17208
17705
|
/**
|
|
17209
17706
|
* domain property
|
|
17210
17707
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -1790,34 +1790,18 @@ export type DomainCreateCommand = components['schemas']['DomainCreateCommand'];
|
|
|
1790
1790
|
* DomainCreatePayloadData
|
|
1791
1791
|
*
|
|
1792
1792
|
* @remarks
|
|
1793
|
-
* Type alias for the `DomainCreatePayloadData
|
|
1793
|
+
* Type alias for the `DomainCreatePayloadData` OpenAPI schema.
|
|
1794
1794
|
* This type represents domaincreatepayloaddata data structures used in API requests and responses.
|
|
1795
1795
|
*
|
|
1796
1796
|
* @example
|
|
1797
1797
|
* ```typescript
|
|
1798
|
-
* const response = await api.getDomainCreatePayloadData
|
|
1799
|
-
* const item: DomainCreatePayloadData
|
|
1798
|
+
* const response = await api.getDomainCreatePayloadData();
|
|
1799
|
+
* const item: DomainCreatePayloadData = response.results;
|
|
1800
1800
|
* ```
|
|
1801
1801
|
*
|
|
1802
1802
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1803
1803
|
*/
|
|
1804
|
-
export type DomainCreatePayloadData
|
|
1805
|
-
/**
|
|
1806
|
-
* DomainCreatePayloadData
|
|
1807
|
-
*
|
|
1808
|
-
* @remarks
|
|
1809
|
-
* Type alias for the `DomainCreatePayloadData-Output` OpenAPI schema.
|
|
1810
|
-
* This type represents domaincreatepayloaddata data structures used in API requests and responses.
|
|
1811
|
-
*
|
|
1812
|
-
* @example
|
|
1813
|
-
* ```typescript
|
|
1814
|
-
* const response = await api.getDomainCreatePayloadData-Output();
|
|
1815
|
-
* const item: DomainCreatePayloadData-Output = response.results;
|
|
1816
|
-
* ```
|
|
1817
|
-
*
|
|
1818
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
1819
|
-
*/
|
|
1820
|
-
export type DomainCreatePayloadData-Output = components['schemas']['DomainCreatePayloadData-Output'];
|
|
1804
|
+
export type DomainCreatePayloadData = components['schemas']['DomainCreatePayloadData'];
|
|
1821
1805
|
/**
|
|
1822
1806
|
* DomainCreateWorkerPayload
|
|
1823
1807
|
*
|
|
@@ -2606,34 +2590,18 @@ export type DomainTransferIn = components['schemas']['DomainTransferIn'];
|
|
|
2606
2590
|
* DomainTransferPayloadData
|
|
2607
2591
|
*
|
|
2608
2592
|
* @remarks
|
|
2609
|
-
* Type alias for the `DomainTransferPayloadData
|
|
2610
|
-
* This type represents domaintransferpayloaddata data structures used in API requests and responses.
|
|
2611
|
-
*
|
|
2612
|
-
* @example
|
|
2613
|
-
* ```typescript
|
|
2614
|
-
* const response = await api.getDomainTransferPayloadData-Input();
|
|
2615
|
-
* const item: DomainTransferPayloadData-Input = response.results;
|
|
2616
|
-
* ```
|
|
2617
|
-
*
|
|
2618
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2619
|
-
*/
|
|
2620
|
-
export type DomainTransferPayloadData-Input = components['schemas']['DomainTransferPayloadData-Input'];
|
|
2621
|
-
/**
|
|
2622
|
-
* DomainTransferPayloadData
|
|
2623
|
-
*
|
|
2624
|
-
* @remarks
|
|
2625
|
-
* Type alias for the `DomainTransferPayloadData-Output` OpenAPI schema.
|
|
2593
|
+
* Type alias for the `DomainTransferPayloadData` OpenAPI schema.
|
|
2626
2594
|
* This type represents domaintransferpayloaddata data structures used in API requests and responses.
|
|
2627
2595
|
*
|
|
2628
2596
|
* @example
|
|
2629
2597
|
* ```typescript
|
|
2630
|
-
* const response = await api.getDomainTransferPayloadData
|
|
2631
|
-
* const item: DomainTransferPayloadData
|
|
2598
|
+
* const response = await api.getDomainTransferPayloadData();
|
|
2599
|
+
* const item: DomainTransferPayloadData = response.results;
|
|
2632
2600
|
* ```
|
|
2633
2601
|
*
|
|
2634
2602
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2635
2603
|
*/
|
|
2636
|
-
export type DomainTransferPayloadData
|
|
2604
|
+
export type DomainTransferPayloadData = components['schemas']['DomainTransferPayloadData'];
|
|
2637
2605
|
/**
|
|
2638
2606
|
* DomainTransferWorkerPayload
|
|
2639
2607
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -2703,7 +2703,7 @@ components:
|
|
|
2703
2703
|
description: Idempotency key for this command
|
|
2704
2704
|
title: Idempotency Key
|
|
2705
2705
|
payload:
|
|
2706
|
-
$ref: '#/components/schemas/DomainCreatePayloadData
|
|
2706
|
+
$ref: '#/components/schemas/DomainCreatePayloadData'
|
|
2707
2707
|
description: Domain creation payload
|
|
2708
2708
|
version:
|
|
2709
2709
|
default: v1
|
|
@@ -2714,62 +2714,7 @@ components:
|
|
|
2714
2714
|
- payload
|
|
2715
2715
|
title: DomainCreateCommand
|
|
2716
2716
|
type: object
|
|
2717
|
-
DomainCreatePayloadData
|
|
2718
|
-
properties:
|
|
2719
|
-
auth_code:
|
|
2720
|
-
anyOf:
|
|
2721
|
-
- maxLength: 32
|
|
2722
|
-
minLength: 6
|
|
2723
|
-
type: string
|
|
2724
|
-
- type: 'null'
|
|
2725
|
-
description: The auth code used for the domain
|
|
2726
|
-
title: Auth Code
|
|
2727
|
-
contacts:
|
|
2728
|
-
anyOf:
|
|
2729
|
-
- $ref: '#/components/schemas/DomainContactHandles'
|
|
2730
|
-
- $ref: '#/components/schemas/ContactIdList'
|
|
2731
|
-
description: The contacts of the domain
|
|
2732
|
-
title: Contacts
|
|
2733
|
-
create_zone:
|
|
2734
|
-
default: false
|
|
2735
|
-
description: Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
2736
|
-
title: Create Zone
|
|
2737
|
-
type: boolean
|
|
2738
|
-
expected_price:
|
|
2739
|
-
anyOf:
|
|
2740
|
-
- minimum: 0.0
|
|
2741
|
-
type: number
|
|
2742
|
-
- pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
|
|
2743
|
-
type: string
|
|
2744
|
-
- type: 'null'
|
|
2745
|
-
description: Expected price for premium domain confirmation
|
|
2746
|
-
title: Expected Price
|
|
2747
|
-
name:
|
|
2748
|
-
description: The domain to be created
|
|
2749
|
-
title: Name
|
|
2750
|
-
type: string
|
|
2751
|
-
nameservers:
|
|
2752
|
-
anyOf:
|
|
2753
|
-
- items:
|
|
2754
|
-
$ref: '#/components/schemas/Nameserver'
|
|
2755
|
-
type: array
|
|
2756
|
-
- type: 'null'
|
|
2757
|
-
description: The name servers for the domain
|
|
2758
|
-
title: Nameservers
|
|
2759
|
-
period:
|
|
2760
|
-
$ref: '#/components/schemas/DomainPeriod'
|
|
2761
|
-
description: The registration period of the domain
|
|
2762
|
-
renewal_mode:
|
|
2763
|
-
$ref: '#/components/schemas/RenewalMode'
|
|
2764
|
-
description: The renewal mode of the domain
|
|
2765
|
-
required:
|
|
2766
|
-
- name
|
|
2767
|
-
- contacts
|
|
2768
|
-
- renewal_mode
|
|
2769
|
-
- period
|
|
2770
|
-
title: DomainCreatePayloadData
|
|
2771
|
-
type: object
|
|
2772
|
-
DomainCreatePayloadData-Output:
|
|
2717
|
+
DomainCreatePayloadData:
|
|
2773
2718
|
properties:
|
|
2774
2719
|
auth_code:
|
|
2775
2720
|
anyOf:
|
|
@@ -2825,7 +2770,7 @@ components:
|
|
|
2825
2770
|
DomainCreateWorkerPayload:
|
|
2826
2771
|
properties:
|
|
2827
2772
|
domain:
|
|
2828
|
-
$ref: '#/components/schemas/DomainCreatePayloadData
|
|
2773
|
+
$ref: '#/components/schemas/DomainCreatePayloadData'
|
|
2829
2774
|
operation:
|
|
2830
2775
|
title: Operation
|
|
2831
2776
|
type: string
|
|
@@ -4071,7 +4016,7 @@ components:
|
|
|
4071
4016
|
description: Idempotency key for this command
|
|
4072
4017
|
title: Idempotency Key
|
|
4073
4018
|
payload:
|
|
4074
|
-
$ref: '#/components/schemas/DomainTransferPayloadData
|
|
4019
|
+
$ref: '#/components/schemas/DomainTransferPayloadData'
|
|
4075
4020
|
description: Domain transfer payload
|
|
4076
4021
|
version:
|
|
4077
4022
|
default: v1
|
|
@@ -4148,73 +4093,7 @@ components:
|
|
|
4148
4093
|
- auth_code
|
|
4149
4094
|
title: DomainTransferIn
|
|
4150
4095
|
type: object
|
|
4151
|
-
DomainTransferPayloadData
|
|
4152
|
-
properties:
|
|
4153
|
-
attributes:
|
|
4154
|
-
anyOf:
|
|
4155
|
-
- additionalProperties:
|
|
4156
|
-
type: string
|
|
4157
|
-
propertyNames:
|
|
4158
|
-
$ref: '#/components/schemas/DomainAttributeKey'
|
|
4159
|
-
type: object
|
|
4160
|
-
- type: 'null'
|
|
4161
|
-
description: Additional attributes of the domain
|
|
4162
|
-
title: Attributes
|
|
4163
|
-
auth_code:
|
|
4164
|
-
description: The auth code for the domain
|
|
4165
|
-
maxLength: 32
|
|
4166
|
-
minLength: 6
|
|
4167
|
-
title: Auth Code
|
|
4168
|
-
type: string
|
|
4169
|
-
contacts:
|
|
4170
|
-
anyOf:
|
|
4171
|
-
- $ref: '#/components/schemas/DomainContactHandles'
|
|
4172
|
-
- $ref: '#/components/schemas/ContactIdList'
|
|
4173
|
-
description: The contacts of the domain
|
|
4174
|
-
title: Contacts
|
|
4175
|
-
create_zone:
|
|
4176
|
-
default: false
|
|
4177
|
-
description: Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
4178
|
-
title: Create Zone
|
|
4179
|
-
type: boolean
|
|
4180
|
-
expected_price:
|
|
4181
|
-
anyOf:
|
|
4182
|
-
- minimum: 0.0
|
|
4183
|
-
type: number
|
|
4184
|
-
- pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
|
|
4185
|
-
type: string
|
|
4186
|
-
- type: 'null'
|
|
4187
|
-
description: Expected price for premium domain confirmation
|
|
4188
|
-
title: Expected Price
|
|
4189
|
-
name:
|
|
4190
|
-
description: The domain to be created
|
|
4191
|
-
title: Name
|
|
4192
|
-
type: string
|
|
4193
|
-
nameservers:
|
|
4194
|
-
anyOf:
|
|
4195
|
-
- items:
|
|
4196
|
-
$ref: '#/components/schemas/Nameserver'
|
|
4197
|
-
type: array
|
|
4198
|
-
- type: 'null'
|
|
4199
|
-
description: The name servers for the domain
|
|
4200
|
-
title: Nameservers
|
|
4201
|
-
period:
|
|
4202
|
-
anyOf:
|
|
4203
|
-
- $ref: '#/components/schemas/DomainPeriod'
|
|
4204
|
-
- type: 'null'
|
|
4205
|
-
description: Additional registration period to add to the domain upon transfer
|
|
4206
|
-
completion. If omitted, the registry default policy will be applied.
|
|
4207
|
-
renewal_mode:
|
|
4208
|
-
$ref: '#/components/schemas/RenewalMode'
|
|
4209
|
-
description: The renewal mode of the domain
|
|
4210
|
-
required:
|
|
4211
|
-
- name
|
|
4212
|
-
- contacts
|
|
4213
|
-
- renewal_mode
|
|
4214
|
-
- auth_code
|
|
4215
|
-
title: DomainTransferPayloadData
|
|
4216
|
-
type: object
|
|
4217
|
-
DomainTransferPayloadData-Output:
|
|
4096
|
+
DomainTransferPayloadData:
|
|
4218
4097
|
properties:
|
|
4219
4098
|
attributes:
|
|
4220
4099
|
anyOf:
|
|
@@ -4281,7 +4160,7 @@ components:
|
|
|
4281
4160
|
DomainTransferWorkerPayload:
|
|
4282
4161
|
properties:
|
|
4283
4162
|
domain:
|
|
4284
|
-
$ref: '#/components/schemas/DomainTransferPayloadData
|
|
4163
|
+
$ref: '#/components/schemas/DomainTransferPayloadData'
|
|
4285
4164
|
operation:
|
|
4286
4165
|
title: Operation
|
|
4287
4166
|
type: string
|
|
@@ -9873,7 +9752,7 @@ info:
|
|
|
9873
9752
|
\n\n"
|
|
9874
9753
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9875
9754
|
title: OpusDNS API
|
|
9876
|
-
version: 2026-04-
|
|
9755
|
+
version: 2026-04-10-133524
|
|
9877
9756
|
x-logo:
|
|
9878
9757
|
altText: OpusDNS API Reference
|
|
9879
9758
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -4004,7 +4004,7 @@ export interface components {
|
|
|
4004
4004
|
*/
|
|
4005
4005
|
idempotency_key?: string | null;
|
|
4006
4006
|
/** @description Domain creation payload */
|
|
4007
|
-
payload: components["schemas"]["DomainCreatePayloadData
|
|
4007
|
+
payload: components["schemas"]["DomainCreatePayloadData"];
|
|
4008
4008
|
/**
|
|
4009
4009
|
* Version
|
|
4010
4010
|
* @description Command version
|
|
@@ -4013,45 +4013,7 @@ export interface components {
|
|
|
4013
4013
|
version: string;
|
|
4014
4014
|
};
|
|
4015
4015
|
/** DomainCreatePayloadData */
|
|
4016
|
-
|
|
4017
|
-
/**
|
|
4018
|
-
* Auth Code
|
|
4019
|
-
* @description The auth code used for the domain
|
|
4020
|
-
*/
|
|
4021
|
-
auth_code?: string | null;
|
|
4022
|
-
/**
|
|
4023
|
-
* Contacts
|
|
4024
|
-
* @description The contacts of the domain
|
|
4025
|
-
*/
|
|
4026
|
-
contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
|
|
4027
|
-
/**
|
|
4028
|
-
* Create Zone
|
|
4029
|
-
* @description Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
4030
|
-
* @default false
|
|
4031
|
-
*/
|
|
4032
|
-
create_zone: boolean;
|
|
4033
|
-
/**
|
|
4034
|
-
* Expected Price
|
|
4035
|
-
* @description Expected price for premium domain confirmation
|
|
4036
|
-
*/
|
|
4037
|
-
expected_price?: number | string | null;
|
|
4038
|
-
/**
|
|
4039
|
-
* Name
|
|
4040
|
-
* @description The domain to be created
|
|
4041
|
-
*/
|
|
4042
|
-
name: string;
|
|
4043
|
-
/**
|
|
4044
|
-
* Nameservers
|
|
4045
|
-
* @description The name servers for the domain
|
|
4046
|
-
*/
|
|
4047
|
-
nameservers?: components["schemas"]["Nameserver"][] | null;
|
|
4048
|
-
/** @description The registration period of the domain */
|
|
4049
|
-
period: components["schemas"]["DomainPeriod"];
|
|
4050
|
-
/** @description The renewal mode of the domain */
|
|
4051
|
-
renewal_mode: components["schemas"]["RenewalMode"];
|
|
4052
|
-
};
|
|
4053
|
-
/** DomainCreatePayloadData */
|
|
4054
|
-
"DomainCreatePayloadData-Output": {
|
|
4016
|
+
DomainCreatePayloadData: {
|
|
4055
4017
|
/**
|
|
4056
4018
|
* Auth Code
|
|
4057
4019
|
* @description The auth code used for the domain
|
|
@@ -4090,7 +4052,7 @@ export interface components {
|
|
|
4090
4052
|
};
|
|
4091
4053
|
/** DomainCreateWorkerPayload */
|
|
4092
4054
|
DomainCreateWorkerPayload: {
|
|
4093
|
-
domain: components["schemas"]["DomainCreatePayloadData
|
|
4055
|
+
domain: components["schemas"]["DomainCreatePayloadData"];
|
|
4094
4056
|
/** Operation */
|
|
4095
4057
|
operation: string;
|
|
4096
4058
|
/**
|
|
@@ -4882,7 +4844,7 @@ export interface components {
|
|
|
4882
4844
|
*/
|
|
4883
4845
|
idempotency_key?: string | null;
|
|
4884
4846
|
/** @description Domain transfer payload */
|
|
4885
|
-
payload: components["schemas"]["DomainTransferPayloadData
|
|
4847
|
+
payload: components["schemas"]["DomainTransferPayloadData"];
|
|
4886
4848
|
/**
|
|
4887
4849
|
* Version
|
|
4888
4850
|
* @description Command version
|
|
@@ -4936,52 +4898,7 @@ export interface components {
|
|
|
4936
4898
|
renewal_mode: components["schemas"]["RenewalMode"];
|
|
4937
4899
|
};
|
|
4938
4900
|
/** DomainTransferPayloadData */
|
|
4939
|
-
|
|
4940
|
-
/**
|
|
4941
|
-
* Attributes
|
|
4942
|
-
* @description Additional attributes of the domain
|
|
4943
|
-
*/
|
|
4944
|
-
attributes?: {
|
|
4945
|
-
[key: string]: string;
|
|
4946
|
-
} | null;
|
|
4947
|
-
/**
|
|
4948
|
-
* Auth Code
|
|
4949
|
-
* @description The auth code for the domain
|
|
4950
|
-
*/
|
|
4951
|
-
auth_code: string;
|
|
4952
|
-
/**
|
|
4953
|
-
* Contacts
|
|
4954
|
-
* @description The contacts of the domain
|
|
4955
|
-
*/
|
|
4956
|
-
contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
|
|
4957
|
-
/**
|
|
4958
|
-
* Create Zone
|
|
4959
|
-
* @description Create a zone for the domain on OpusDNS nameserver infrastructure
|
|
4960
|
-
* @default false
|
|
4961
|
-
*/
|
|
4962
|
-
create_zone: boolean;
|
|
4963
|
-
/**
|
|
4964
|
-
* Expected Price
|
|
4965
|
-
* @description Expected price for premium domain confirmation
|
|
4966
|
-
*/
|
|
4967
|
-
expected_price?: number | string | null;
|
|
4968
|
-
/**
|
|
4969
|
-
* Name
|
|
4970
|
-
* @description The domain to be created
|
|
4971
|
-
*/
|
|
4972
|
-
name: string;
|
|
4973
|
-
/**
|
|
4974
|
-
* Nameservers
|
|
4975
|
-
* @description The name servers for the domain
|
|
4976
|
-
*/
|
|
4977
|
-
nameservers?: components["schemas"]["Nameserver"][] | null;
|
|
4978
|
-
/** @description Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied. */
|
|
4979
|
-
period?: components["schemas"]["DomainPeriod"] | null;
|
|
4980
|
-
/** @description The renewal mode of the domain */
|
|
4981
|
-
renewal_mode: components["schemas"]["RenewalMode"];
|
|
4982
|
-
};
|
|
4983
|
-
/** DomainTransferPayloadData */
|
|
4984
|
-
"DomainTransferPayloadData-Output": {
|
|
4901
|
+
DomainTransferPayloadData: {
|
|
4985
4902
|
/**
|
|
4986
4903
|
* Attributes
|
|
4987
4904
|
* @description Additional attributes of the domain
|
|
@@ -5027,7 +4944,7 @@ export interface components {
|
|
|
5027
4944
|
};
|
|
5028
4945
|
/** DomainTransferWorkerPayload */
|
|
5029
4946
|
DomainTransferWorkerPayload: {
|
|
5030
|
-
domain: components["schemas"]["DomainTransferPayloadData
|
|
4947
|
+
domain: components["schemas"]["DomainTransferPayloadData"];
|
|
5031
4948
|
/** Operation */
|
|
5032
4949
|
operation: string;
|
|
5033
4950
|
/**
|