@opusdns/api 0.239.0 → 0.241.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.239.0",
6
+ "version": "0.241.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -111,7 +111,6 @@ 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';
115
114
  import { DomainCreateWorkerPayload } from './schemas';
116
115
  import { DomainDnssecDataCreate } from './schemas';
117
116
  import { DomainDnssecData } from './schemas';
@@ -157,7 +156,6 @@ import { DomainTransferBulkPayload } from './schemas';
157
156
  import { DomainTransferBulkTemplate } from './schemas';
158
157
  import { DomainTransferCommand } from './schemas';
159
158
  import { DomainTransferIn } from './schemas';
160
- import { DomainTransferPayloadData } from './schemas';
161
159
  import { DomainTransferWorkerPayload } from './schemas';
162
160
  import { DomainTransitRequest } from './schemas';
163
161
  import { DomainTransit } from './schemas';
@@ -10699,6 +10697,31 @@ export const KEY_DOMAIN_CREATE_CONTACTS: keyof DomainCreate = 'contacts';
10699
10697
  * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
10700
10698
  */
10701
10699
  export const KEY_DOMAIN_CREATE_CREATE_ZONE: keyof DomainCreate = 'create_zone';
10700
+ /**
10701
+ * Expected Price
10702
+ *
10703
+ * Expected price for premium domain confirmation
10704
+ *
10705
+ *
10706
+ *
10707
+ * @remarks
10708
+ * This key constant provides type-safe access to the `expected_price` property of DomainCreate objects.
10709
+ * Use this constant when you need to access properties dynamically or ensure type safety.
10710
+ *
10711
+ * @example
10712
+ * ```typescript
10713
+ * // Direct property access
10714
+ * const value = domaincreate[KEY_DOMAIN_CREATE_EXPECTED_PRICE];
10715
+ *
10716
+ * // Dynamic property access
10717
+ * const propertyName = KEY_DOMAIN_CREATE_EXPECTED_PRICE;
10718
+ * const value = domaincreate[propertyName];
10719
+ * ```
10720
+ *
10721
+ * @see {@link DomainCreate} - The TypeScript type definition
10722
+ * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
10723
+ */
10724
+ export const KEY_DOMAIN_CREATE_EXPECTED_PRICE: keyof DomainCreate = 'expected_price';
10702
10725
  /**
10703
10726
  * Name
10704
10727
  *
@@ -10825,6 +10848,7 @@ export const KEYS_DOMAIN_CREATE = [
10825
10848
  KEY_DOMAIN_CREATE_AUTH_CODE,
10826
10849
  KEY_DOMAIN_CREATE_CONTACTS,
10827
10850
  KEY_DOMAIN_CREATE_CREATE_ZONE,
10851
+ KEY_DOMAIN_CREATE_EXPECTED_PRICE,
10828
10852
  KEY_DOMAIN_CREATE_NAME,
10829
10853
  KEY_DOMAIN_CREATE_NAMESERVERS,
10830
10854
  KEY_DOMAIN_CREATE_PERIOD,
@@ -11554,214 +11578,6 @@ export const KEYS_DOMAIN_CREATE_COMMAND = [
11554
11578
  KEY_DOMAIN_CREATE_COMMAND_VERSION,
11555
11579
  ] as const satisfies (keyof DomainCreateCommand)[];
11556
11580
 
11557
- /**
11558
- * Auth Code
11559
- *
11560
- * The auth code used for the domain
11561
- *
11562
- *
11563
- *
11564
- * @remarks
11565
- * This key constant provides type-safe access to the `auth_code` property of DomainCreatePayloadData objects.
11566
- * Use this constant when you need to access properties dynamically or ensure type safety.
11567
- *
11568
- * @example
11569
- * ```typescript
11570
- * // Direct property access
11571
- * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE];
11572
- *
11573
- * // Dynamic property access
11574
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE;
11575
- * const value = domaincreatepayloaddata[propertyName];
11576
- * ```
11577
- *
11578
- * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11579
- * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11580
- */
11581
- export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE: keyof DomainCreatePayloadData = 'auth_code';
11582
- /**
11583
- * Contacts
11584
- *
11585
- * The contacts of the domain
11586
- *
11587
- *
11588
- *
11589
- * @remarks
11590
- * This key constant provides type-safe access to the `contacts` property of DomainCreatePayloadData objects.
11591
- * Use this constant when you need to access properties dynamically or ensure type safety.
11592
- *
11593
- * @example
11594
- * ```typescript
11595
- * // Direct property access
11596
- * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS];
11597
- *
11598
- * // Dynamic property access
11599
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS;
11600
- * const value = domaincreatepayloaddata[propertyName];
11601
- * ```
11602
- *
11603
- * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11604
- * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11605
- */
11606
- export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS: keyof DomainCreatePayloadData = 'contacts';
11607
- /**
11608
- * Create Zone
11609
- *
11610
- * Create a zone for the domain on OpusDNS nameserver infrastructure
11611
- *
11612
- * @type {boolean}
11613
- *
11614
- *
11615
- * @remarks
11616
- * This key constant provides type-safe access to the `create_zone` 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_CREATE_ZONE];
11623
- *
11624
- * // Dynamic property access
11625
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE;
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_CREATE_ZONE: keyof DomainCreatePayloadData = 'create_zone';
11633
- /**
11634
- * Name
11635
- *
11636
- * The domain to be created
11637
- *
11638
- * @type {string}
11639
- *
11640
- *
11641
- * @remarks
11642
- * This key constant provides type-safe access to the `name` 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_NAME];
11649
- *
11650
- * // Dynamic property access
11651
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME;
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_NAME: keyof DomainCreatePayloadData = 'name';
11659
- /**
11660
- * Nameservers
11661
- *
11662
- * The name servers for the domain
11663
- *
11664
- *
11665
- *
11666
- * @remarks
11667
- * This key constant provides type-safe access to the `nameservers` 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_NAMESERVERS];
11674
- *
11675
- * // Dynamic property access
11676
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS;
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_NAMESERVERS: keyof DomainCreatePayloadData = 'nameservers';
11684
- /**
11685
- * period property
11686
- *
11687
- * The registration period of the domain
11688
- *
11689
- *
11690
- *
11691
- * @remarks
11692
- * This key constant provides type-safe access to the `period` property of DomainCreatePayloadData objects.
11693
- * Use this constant when you need to access properties dynamically or ensure type safety.
11694
- *
11695
- * @example
11696
- * ```typescript
11697
- * // Direct property access
11698
- * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD];
11699
- *
11700
- * // Dynamic property access
11701
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD;
11702
- * const value = domaincreatepayloaddata[propertyName];
11703
- * ```
11704
- *
11705
- * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11706
- * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11707
- */
11708
- export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD: keyof DomainCreatePayloadData = 'period';
11709
- /**
11710
- * renewal_mode property
11711
- *
11712
- * The renewal mode of the domain
11713
- *
11714
- *
11715
- *
11716
- * @remarks
11717
- * This key constant provides type-safe access to the `renewal_mode` property of DomainCreatePayloadData objects.
11718
- * Use this constant when you need to access properties dynamically or ensure type safety.
11719
- *
11720
- * @example
11721
- * ```typescript
11722
- * // Direct property access
11723
- * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE];
11724
- *
11725
- * // Dynamic property access
11726
- * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE;
11727
- * const value = domaincreatepayloaddata[propertyName];
11728
- * ```
11729
- *
11730
- * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11731
- * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11732
- */
11733
- export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE: keyof DomainCreatePayloadData = 'renewal_mode';
11734
-
11735
- /**
11736
- * Array of all DomainCreatePayloadData property keys
11737
- *
11738
- * @remarks
11739
- * This constant provides a readonly array containing all valid property keys for DomainCreatePayloadData objects.
11740
- * Useful for iteration, validation, and generating dynamic UI components.
11741
- *
11742
- * @example
11743
- * ```typescript
11744
- * // Iterating through all keys
11745
- * for (const key of KEYS_DOMAIN_CREATE_PAYLOAD_DATA) {
11746
- * console.log(`Property: ${key}, Value: ${domaincreatepayloaddata[key]}`);
11747
- * }
11748
- *
11749
- * // Validation
11750
- * const isValidKey = KEYS_DOMAIN_CREATE_PAYLOAD_DATA.includes(someKey);
11751
- * ```
11752
- *
11753
- * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11754
- */
11755
- export const KEYS_DOMAIN_CREATE_PAYLOAD_DATA = [
11756
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE,
11757
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS,
11758
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE,
11759
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME,
11760
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS,
11761
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD,
11762
- KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE,
11763
- ] as const satisfies (keyof DomainCreatePayloadData)[];
11764
-
11765
11581
  /**
11766
11582
  * domain property
11767
11583
  *
@@ -14640,6 +14456,31 @@ export const KEYS_DOMAIN_PERIOD = [
14640
14456
  * @see {@link KEYS_DOMAIN_RENEW_REQUEST} - Array of all keys for this type
14641
14457
  */
14642
14458
  export const KEY_DOMAIN_RENEW_REQUEST_CURRENT_EXPIRY_DATE: keyof DomainRenewRequest = 'current_expiry_date';
14459
+ /**
14460
+ * Expected Price
14461
+ *
14462
+ * Expected price for premium domain confirmation
14463
+ *
14464
+ *
14465
+ *
14466
+ * @remarks
14467
+ * This key constant provides type-safe access to the `expected_price` property of DomainRenewRequest objects.
14468
+ * Use this constant when you need to access properties dynamically or ensure type safety.
14469
+ *
14470
+ * @example
14471
+ * ```typescript
14472
+ * // Direct property access
14473
+ * const value = domainrenewrequest[KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE];
14474
+ *
14475
+ * // Dynamic property access
14476
+ * const propertyName = KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE;
14477
+ * const value = domainrenewrequest[propertyName];
14478
+ * ```
14479
+ *
14480
+ * @see {@link DomainRenewRequest} - The TypeScript type definition
14481
+ * @see {@link KEYS_DOMAIN_RENEW_REQUEST} - Array of all keys for this type
14482
+ */
14483
+ export const KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE: keyof DomainRenewRequest = 'expected_price';
14643
14484
  /**
14644
14485
  * period property
14645
14486
  *
@@ -14688,6 +14529,7 @@ export const KEY_DOMAIN_RENEW_REQUEST_PERIOD: keyof DomainRenewRequest = 'period
14688
14529
  */
14689
14530
  export const KEYS_DOMAIN_RENEW_REQUEST = [
14690
14531
  KEY_DOMAIN_RENEW_REQUEST_CURRENT_EXPIRY_DATE,
14532
+ KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE,
14691
14533
  KEY_DOMAIN_RENEW_REQUEST_PERIOD,
14692
14534
  ] as const satisfies (keyof DomainRenewRequest)[];
14693
14535
 
@@ -15023,6 +14865,32 @@ export const KEY_DOMAIN_EXPIRES_ON: keyof Domain = 'expires_on';
15023
14865
  * @see {@link KEYS_DOMAIN} - Array of all keys for this type
15024
14866
  */
15025
14867
  export const KEY_DOMAIN_HOSTS: keyof Domain = 'hosts';
14868
+ /**
14869
+ * Is Premium
14870
+ *
14871
+ * Whether this is a premium domain
14872
+ *
14873
+ * @type {boolean}
14874
+ *
14875
+ *
14876
+ * @remarks
14877
+ * This key constant provides type-safe access to the `is_premium` property of Domain objects.
14878
+ * Use this constant when you need to access properties dynamically or ensure type safety.
14879
+ *
14880
+ * @example
14881
+ * ```typescript
14882
+ * // Direct property access
14883
+ * const value = domain[KEY_DOMAIN_IS_PREMIUM];
14884
+ *
14885
+ * // Dynamic property access
14886
+ * const propertyName = KEY_DOMAIN_IS_PREMIUM;
14887
+ * const value = domain[propertyName];
14888
+ * ```
14889
+ *
14890
+ * @see {@link Domain} - The TypeScript type definition
14891
+ * @see {@link KEYS_DOMAIN} - Array of all keys for this type
14892
+ */
14893
+ export const KEY_DOMAIN_IS_PREMIUM: keyof Domain = 'is_premium';
15026
14894
  /**
15027
14895
  * Name
15028
14896
  *
@@ -15363,6 +15231,7 @@ export const KEYS_DOMAIN = [
15363
15231
  KEY_DOMAIN_DOMAIN_ID,
15364
15232
  KEY_DOMAIN_EXPIRES_ON,
15365
15233
  KEY_DOMAIN_HOSTS,
15234
+ KEY_DOMAIN_IS_PREMIUM,
15366
15235
  KEY_DOMAIN_NAME,
15367
15236
  KEY_DOMAIN_NAMESERVERS,
15368
15237
  KEY_DOMAIN_OWNER_ID,
@@ -15402,6 +15271,31 @@ export const KEYS_DOMAIN = [
15402
15271
  * @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
15403
15272
  */
15404
15273
  export const KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO: keyof DomainRestoreRequest = 'additional_info';
15274
+ /**
15275
+ * Expected Price
15276
+ *
15277
+ * Expected price for premium domain confirmation
15278
+ *
15279
+ *
15280
+ *
15281
+ * @remarks
15282
+ * This key constant provides type-safe access to the `expected_price` property of DomainRestoreRequest objects.
15283
+ * Use this constant when you need to access properties dynamically or ensure type safety.
15284
+ *
15285
+ * @example
15286
+ * ```typescript
15287
+ * // Direct property access
15288
+ * const value = domainrestorerequest[KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE];
15289
+ *
15290
+ * // Dynamic property access
15291
+ * const propertyName = KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE;
15292
+ * const value = domainrestorerequest[propertyName];
15293
+ * ```
15294
+ *
15295
+ * @see {@link DomainRestoreRequest} - The TypeScript type definition
15296
+ * @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
15297
+ */
15298
+ export const KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE: keyof DomainRestoreRequest = 'expected_price';
15405
15299
  /**
15406
15300
  * Reason
15407
15301
  *
@@ -15450,6 +15344,7 @@ export const KEY_DOMAIN_RESTORE_REQUEST_REASON: keyof DomainRestoreRequest = 're
15450
15344
  */
15451
15345
  export const KEYS_DOMAIN_RESTORE_REQUEST = [
15452
15346
  KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO,
15347
+ KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE,
15453
15348
  KEY_DOMAIN_RESTORE_REQUEST_REASON,
15454
15349
  ] as const satisfies (keyof DomainRestoreRequest)[];
15455
15350
 
@@ -17151,6 +17046,31 @@ export const KEY_DOMAIN_TRANSFER_IN_CONTACTS: keyof DomainTransferIn = 'contacts
17151
17046
  * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
17152
17047
  */
17153
17048
  export const KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE: keyof DomainTransferIn = 'create_zone';
17049
+ /**
17050
+ * Expected Price
17051
+ *
17052
+ * Expected price for premium domain confirmation
17053
+ *
17054
+ *
17055
+ *
17056
+ * @remarks
17057
+ * This key constant provides type-safe access to the `expected_price` property of DomainTransferIn objects.
17058
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17059
+ *
17060
+ * @example
17061
+ * ```typescript
17062
+ * // Direct property access
17063
+ * const value = domaintransferin[KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE];
17064
+ *
17065
+ * // Dynamic property access
17066
+ * const propertyName = KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE;
17067
+ * const value = domaintransferin[propertyName];
17068
+ * ```
17069
+ *
17070
+ * @see {@link DomainTransferIn} - The TypeScript type definition
17071
+ * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
17072
+ */
17073
+ export const KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE: keyof DomainTransferIn = 'expected_price';
17154
17074
  /**
17155
17075
  * Name
17156
17076
  *
@@ -17278,247 +17198,13 @@ export const KEYS_DOMAIN_TRANSFER_IN = [
17278
17198
  KEY_DOMAIN_TRANSFER_IN_AUTH_CODE,
17279
17199
  KEY_DOMAIN_TRANSFER_IN_CONTACTS,
17280
17200
  KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE,
17201
+ KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE,
17281
17202
  KEY_DOMAIN_TRANSFER_IN_NAME,
17282
17203
  KEY_DOMAIN_TRANSFER_IN_NAMESERVERS,
17283
17204
  KEY_DOMAIN_TRANSFER_IN_PERIOD,
17284
17205
  KEY_DOMAIN_TRANSFER_IN_RENEWAL_MODE,
17285
17206
  ] as const satisfies (keyof DomainTransferIn)[];
17286
17207
 
17287
- /**
17288
- * Attributes
17289
- *
17290
- * Additional attributes of the domain
17291
- *
17292
- *
17293
- *
17294
- * @remarks
17295
- * This key constant provides type-safe access to the `attributes` property of DomainTransferPayloadData objects.
17296
- * Use this constant when you need to access properties dynamically or ensure type safety.
17297
- *
17298
- * @example
17299
- * ```typescript
17300
- * // Direct property access
17301
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES];
17302
- *
17303
- * // Dynamic property access
17304
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES;
17305
- * const value = domaintransferpayloaddata[propertyName];
17306
- * ```
17307
- *
17308
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17309
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17310
- */
17311
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES: keyof DomainTransferPayloadData = 'attributes';
17312
- /**
17313
- * Auth Code
17314
- *
17315
- * The auth code for the domain
17316
- *
17317
- * @type {string}
17318
- *
17319
- *
17320
- * @remarks
17321
- * This key constant provides type-safe access to the `auth_code` property of DomainTransferPayloadData objects.
17322
- * Use this constant when you need to access properties dynamically or ensure type safety.
17323
- *
17324
- * @example
17325
- * ```typescript
17326
- * // Direct property access
17327
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE];
17328
- *
17329
- * // Dynamic property access
17330
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE;
17331
- * const value = domaintransferpayloaddata[propertyName];
17332
- * ```
17333
- *
17334
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17335
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17336
- */
17337
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE: keyof DomainTransferPayloadData = 'auth_code';
17338
- /**
17339
- * Contacts
17340
- *
17341
- * The contacts of the domain
17342
- *
17343
- *
17344
- *
17345
- * @remarks
17346
- * This key constant provides type-safe access to the `contacts` property of DomainTransferPayloadData objects.
17347
- * Use this constant when you need to access properties dynamically or ensure type safety.
17348
- *
17349
- * @example
17350
- * ```typescript
17351
- * // Direct property access
17352
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS];
17353
- *
17354
- * // Dynamic property access
17355
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS;
17356
- * const value = domaintransferpayloaddata[propertyName];
17357
- * ```
17358
- *
17359
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17360
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17361
- */
17362
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS: keyof DomainTransferPayloadData = 'contacts';
17363
- /**
17364
- * Create Zone
17365
- *
17366
- * Create a zone for the domain on OpusDNS nameserver infrastructure
17367
- *
17368
- * @type {boolean}
17369
- *
17370
- *
17371
- * @remarks
17372
- * This key constant provides type-safe access to the `create_zone` property of DomainTransferPayloadData objects.
17373
- * Use this constant when you need to access properties dynamically or ensure type safety.
17374
- *
17375
- * @example
17376
- * ```typescript
17377
- * // Direct property access
17378
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE];
17379
- *
17380
- * // Dynamic property access
17381
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE;
17382
- * const value = domaintransferpayloaddata[propertyName];
17383
- * ```
17384
- *
17385
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17386
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17387
- */
17388
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE: keyof DomainTransferPayloadData = 'create_zone';
17389
- /**
17390
- * Name
17391
- *
17392
- * The domain to be created
17393
- *
17394
- * @type {string}
17395
- *
17396
- *
17397
- * @remarks
17398
- * This key constant provides type-safe access to the `name` property of DomainTransferPayloadData objects.
17399
- * Use this constant when you need to access properties dynamically or ensure type safety.
17400
- *
17401
- * @example
17402
- * ```typescript
17403
- * // Direct property access
17404
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME];
17405
- *
17406
- * // Dynamic property access
17407
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME;
17408
- * const value = domaintransferpayloaddata[propertyName];
17409
- * ```
17410
- *
17411
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17412
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17413
- */
17414
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME: keyof DomainTransferPayloadData = 'name';
17415
- /**
17416
- * Nameservers
17417
- *
17418
- * The name servers for the domain
17419
- *
17420
- *
17421
- *
17422
- * @remarks
17423
- * This key constant provides type-safe access to the `nameservers` property of DomainTransferPayloadData objects.
17424
- * Use this constant when you need to access properties dynamically or ensure type safety.
17425
- *
17426
- * @example
17427
- * ```typescript
17428
- * // Direct property access
17429
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS];
17430
- *
17431
- * // Dynamic property access
17432
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS;
17433
- * const value = domaintransferpayloaddata[propertyName];
17434
- * ```
17435
- *
17436
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17437
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17438
- */
17439
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS: keyof DomainTransferPayloadData = 'nameservers';
17440
- /**
17441
- * period property
17442
- *
17443
- * Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied.
17444
- *
17445
- *
17446
- *
17447
- * @remarks
17448
- * This key constant provides type-safe access to the `period` property of DomainTransferPayloadData objects.
17449
- * Use this constant when you need to access properties dynamically or ensure type safety.
17450
- *
17451
- * @example
17452
- * ```typescript
17453
- * // Direct property access
17454
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD];
17455
- *
17456
- * // Dynamic property access
17457
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD;
17458
- * const value = domaintransferpayloaddata[propertyName];
17459
- * ```
17460
- *
17461
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17462
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17463
- */
17464
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD: keyof DomainTransferPayloadData = 'period';
17465
- /**
17466
- * renewal_mode property
17467
- *
17468
- * The renewal mode of the domain
17469
- *
17470
- *
17471
- *
17472
- * @remarks
17473
- * This key constant provides type-safe access to the `renewal_mode` property of DomainTransferPayloadData objects.
17474
- * Use this constant when you need to access properties dynamically or ensure type safety.
17475
- *
17476
- * @example
17477
- * ```typescript
17478
- * // Direct property access
17479
- * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE];
17480
- *
17481
- * // Dynamic property access
17482
- * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE;
17483
- * const value = domaintransferpayloaddata[propertyName];
17484
- * ```
17485
- *
17486
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17487
- * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17488
- */
17489
- export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE: keyof DomainTransferPayloadData = 'renewal_mode';
17490
-
17491
- /**
17492
- * Array of all DomainTransferPayloadData property keys
17493
- *
17494
- * @remarks
17495
- * This constant provides a readonly array containing all valid property keys for DomainTransferPayloadData objects.
17496
- * Useful for iteration, validation, and generating dynamic UI components.
17497
- *
17498
- * @example
17499
- * ```typescript
17500
- * // Iterating through all keys
17501
- * for (const key of KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA) {
17502
- * console.log(`Property: ${key}, Value: ${domaintransferpayloaddata[key]}`);
17503
- * }
17504
- *
17505
- * // Validation
17506
- * const isValidKey = KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA.includes(someKey);
17507
- * ```
17508
- *
17509
- * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17510
- */
17511
- export const KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA = [
17512
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_ATTRIBUTES,
17513
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE,
17514
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS,
17515
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE,
17516
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME,
17517
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS,
17518
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD,
17519
- KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_RENEWAL_MODE,
17520
- ] as const satisfies (keyof DomainTransferPayloadData)[];
17521
-
17522
17208
  /**
17523
17209
  * domain property
17524
17210
  *
@@ -1790,18 +1790,34 @@ export type DomainCreateCommand = components['schemas']['DomainCreateCommand'];
1790
1790
  * DomainCreatePayloadData
1791
1791
  *
1792
1792
  * @remarks
1793
- * Type alias for the `DomainCreatePayloadData` OpenAPI schema.
1793
+ * Type alias for the `DomainCreatePayloadData-Input` 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 = response.results;
1798
+ * const response = await api.getDomainCreatePayloadData-Input();
1799
+ * const item: DomainCreatePayloadData-Input = response.results;
1800
1800
  * ```
1801
1801
  *
1802
1802
  * @see {@link components} - The OpenAPI components schema definition
1803
1803
  */
1804
- export type DomainCreatePayloadData = components['schemas']['DomainCreatePayloadData'];
1804
+ export type DomainCreatePayloadData-Input = components['schemas']['DomainCreatePayloadData-Input'];
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'];
1805
1821
  /**
1806
1822
  * DomainCreateWorkerPayload
1807
1823
  *
@@ -2590,18 +2606,34 @@ export type DomainTransferIn = components['schemas']['DomainTransferIn'];
2590
2606
  * DomainTransferPayloadData
2591
2607
  *
2592
2608
  * @remarks
2593
- * Type alias for the `DomainTransferPayloadData` OpenAPI schema.
2609
+ * Type alias for the `DomainTransferPayloadData-Input` OpenAPI schema.
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.
2594
2626
  * This type represents domaintransferpayloaddata data structures used in API requests and responses.
2595
2627
  *
2596
2628
  * @example
2597
2629
  * ```typescript
2598
- * const response = await api.getDomainTransferPayloadData();
2599
- * const item: DomainTransferPayloadData = response.results;
2630
+ * const response = await api.getDomainTransferPayloadData-Output();
2631
+ * const item: DomainTransferPayloadData-Output = response.results;
2600
2632
  * ```
2601
2633
  *
2602
2634
  * @see {@link components} - The OpenAPI components schema definition
2603
2635
  */
2604
- export type DomainTransferPayloadData = components['schemas']['DomainTransferPayloadData'];
2636
+ export type DomainTransferPayloadData-Output = components['schemas']['DomainTransferPayloadData-Output'];
2605
2637
  /**
2606
2638
  * DomainTransferWorkerPayload
2607
2639
  *
package/src/openapi.yaml CHANGED
@@ -2522,6 +2522,15 @@ components:
2522
2522
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
2523
2523
  title: Create Zone
2524
2524
  type: boolean
2525
+ expected_price:
2526
+ anyOf:
2527
+ - minimum: 0.0
2528
+ type: number
2529
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2530
+ type: string
2531
+ - type: 'null'
2532
+ description: Expected price for premium domain confirmation
2533
+ title: Expected Price
2525
2534
  name:
2526
2535
  description: The domain to be created
2527
2536
  title: Name
@@ -2694,7 +2703,7 @@ components:
2694
2703
  description: Idempotency key for this command
2695
2704
  title: Idempotency Key
2696
2705
  payload:
2697
- $ref: '#/components/schemas/DomainCreatePayloadData'
2706
+ $ref: '#/components/schemas/DomainCreatePayloadData-Input'
2698
2707
  description: Domain creation payload
2699
2708
  version:
2700
2709
  default: v1
@@ -2705,7 +2714,7 @@ components:
2705
2714
  - payload
2706
2715
  title: DomainCreateCommand
2707
2716
  type: object
2708
- DomainCreatePayloadData:
2717
+ DomainCreatePayloadData-Input:
2709
2718
  properties:
2710
2719
  auth_code:
2711
2720
  anyOf:
@@ -2726,6 +2735,68 @@ components:
2726
2735
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
2727
2736
  title: Create Zone
2728
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:
2773
+ properties:
2774
+ auth_code:
2775
+ anyOf:
2776
+ - maxLength: 32
2777
+ minLength: 6
2778
+ type: string
2779
+ - type: 'null'
2780
+ description: The auth code used for the domain
2781
+ title: Auth Code
2782
+ contacts:
2783
+ anyOf:
2784
+ - $ref: '#/components/schemas/DomainContactHandles'
2785
+ - $ref: '#/components/schemas/ContactIdList'
2786
+ description: The contacts of the domain
2787
+ title: Contacts
2788
+ create_zone:
2789
+ default: false
2790
+ description: Create a zone for the domain on OpusDNS nameserver infrastructure
2791
+ title: Create Zone
2792
+ type: boolean
2793
+ expected_price:
2794
+ anyOf:
2795
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2796
+ type: string
2797
+ - type: 'null'
2798
+ description: Expected price for premium domain confirmation
2799
+ title: Expected Price
2729
2800
  name:
2730
2801
  description: The domain to be created
2731
2802
  title: Name
@@ -2754,7 +2825,7 @@ components:
2754
2825
  DomainCreateWorkerPayload:
2755
2826
  properties:
2756
2827
  domain:
2757
- $ref: '#/components/schemas/DomainCreatePayloadData'
2828
+ $ref: '#/components/schemas/DomainCreatePayloadData-Output'
2758
2829
  operation:
2759
2830
  title: Operation
2760
2831
  type: string
@@ -3409,6 +3480,15 @@ components:
3409
3480
  format: date-time
3410
3481
  title: Current Expiry Date
3411
3482
  type: string
3483
+ expected_price:
3484
+ anyOf:
3485
+ - minimum: 0.0
3486
+ type: number
3487
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3488
+ type: string
3489
+ - type: 'null'
3490
+ description: Expected price for premium domain confirmation
3491
+ title: Expected Price
3412
3492
  period:
3413
3493
  $ref: '#/components/schemas/DomainPeriod'
3414
3494
  description: How long to extend the domain registration
@@ -3499,6 +3579,11 @@ components:
3499
3579
  $ref: '#/components/schemas/DomainHostResponse'
3500
3580
  title: Hosts
3501
3581
  type: array
3582
+ is_premium:
3583
+ default: false
3584
+ description: Whether this is a premium domain
3585
+ title: Is Premium
3586
+ type: boolean
3502
3587
  name:
3503
3588
  description: The domain name
3504
3589
  examples:
@@ -3591,6 +3676,15 @@ components:
3591
3676
  - type: 'null'
3592
3677
  description: Additional information to include in the restore operation
3593
3678
  title: Additional Info
3679
+ expected_price:
3680
+ anyOf:
3681
+ - minimum: 0.0
3682
+ type: number
3683
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3684
+ type: string
3685
+ - type: 'null'
3686
+ description: Expected price for premium domain confirmation
3687
+ title: Expected Price
3594
3688
  reason:
3595
3689
  anyOf:
3596
3690
  - type: string
@@ -3977,7 +4071,7 @@ components:
3977
4071
  description: Idempotency key for this command
3978
4072
  title: Idempotency Key
3979
4073
  payload:
3980
- $ref: '#/components/schemas/DomainTransferPayloadData'
4074
+ $ref: '#/components/schemas/DomainTransferPayloadData-Input'
3981
4075
  description: Domain transfer payload
3982
4076
  version:
3983
4077
  default: v1
@@ -4017,6 +4111,15 @@ components:
4017
4111
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
4018
4112
  title: Create Zone
4019
4113
  type: boolean
4114
+ expected_price:
4115
+ anyOf:
4116
+ - minimum: 0.0
4117
+ type: number
4118
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4119
+ type: string
4120
+ - type: 'null'
4121
+ description: Expected price for premium domain confirmation
4122
+ title: Expected Price
4020
4123
  name:
4021
4124
  description: The domain to be created
4022
4125
  title: Name
@@ -4045,7 +4148,7 @@ components:
4045
4148
  - auth_code
4046
4149
  title: DomainTransferIn
4047
4150
  type: object
4048
- DomainTransferPayloadData:
4151
+ DomainTransferPayloadData-Input:
4049
4152
  properties:
4050
4153
  attributes:
4051
4154
  anyOf:
@@ -4074,6 +4177,79 @@ components:
4074
4177
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
4075
4178
  title: Create Zone
4076
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:
4218
+ properties:
4219
+ attributes:
4220
+ anyOf:
4221
+ - additionalProperties:
4222
+ type: string
4223
+ propertyNames:
4224
+ $ref: '#/components/schemas/DomainAttributeKey'
4225
+ type: object
4226
+ - type: 'null'
4227
+ description: Additional attributes of the domain
4228
+ title: Attributes
4229
+ auth_code:
4230
+ description: The auth code for the domain
4231
+ maxLength: 32
4232
+ minLength: 6
4233
+ title: Auth Code
4234
+ type: string
4235
+ contacts:
4236
+ anyOf:
4237
+ - $ref: '#/components/schemas/DomainContactHandles'
4238
+ - $ref: '#/components/schemas/ContactIdList'
4239
+ description: The contacts of the domain
4240
+ title: Contacts
4241
+ create_zone:
4242
+ default: false
4243
+ description: Create a zone for the domain on OpusDNS nameserver infrastructure
4244
+ title: Create Zone
4245
+ type: boolean
4246
+ expected_price:
4247
+ anyOf:
4248
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4249
+ type: string
4250
+ - type: 'null'
4251
+ description: Expected price for premium domain confirmation
4252
+ title: Expected Price
4077
4253
  name:
4078
4254
  description: The domain to be created
4079
4255
  title: Name
@@ -4105,7 +4281,7 @@ components:
4105
4281
  DomainTransferWorkerPayload:
4106
4282
  properties:
4107
4283
  domain:
4108
- $ref: '#/components/schemas/DomainTransferPayloadData'
4284
+ $ref: '#/components/schemas/DomainTransferPayloadData-Output'
4109
4285
  operation:
4110
4286
  title: Operation
4111
4287
  type: string
@@ -9697,7 +9873,7 @@ info:
9697
9873
  \n\n"
9698
9874
  summary: OpusDNS - your gateway to a seamless domain management experience.
9699
9875
  title: OpusDNS API
9700
- version: 2026-04-08-180509
9876
+ version: 2026-04-09-205352
9701
9877
  x-logo:
9702
9878
  altText: OpusDNS API Reference
9703
9879
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3880,6 +3880,11 @@ export interface components {
3880
3880
  * @default false
3881
3881
  */
3882
3882
  create_zone: boolean;
3883
+ /**
3884
+ * Expected Price
3885
+ * @description Expected price for premium domain confirmation
3886
+ */
3887
+ expected_price?: number | string | null;
3883
3888
  /**
3884
3889
  * Name
3885
3890
  * @description The domain to be created
@@ -3999,7 +4004,7 @@ export interface components {
3999
4004
  */
4000
4005
  idempotency_key?: string | null;
4001
4006
  /** @description Domain creation payload */
4002
- payload: components["schemas"]["DomainCreatePayloadData"];
4007
+ payload: components["schemas"]["DomainCreatePayloadData-Input"];
4003
4008
  /**
4004
4009
  * Version
4005
4010
  * @description Command version
@@ -4008,7 +4013,7 @@ export interface components {
4008
4013
  version: string;
4009
4014
  };
4010
4015
  /** DomainCreatePayloadData */
4011
- DomainCreatePayloadData: {
4016
+ "DomainCreatePayloadData-Input": {
4012
4017
  /**
4013
4018
  * Auth Code
4014
4019
  * @description The auth code used for the domain
@@ -4025,6 +4030,49 @@ export interface components {
4025
4030
  * @default false
4026
4031
  */
4027
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": {
4055
+ /**
4056
+ * Auth Code
4057
+ * @description The auth code used for the domain
4058
+ */
4059
+ auth_code?: string | null;
4060
+ /**
4061
+ * Contacts
4062
+ * @description The contacts of the domain
4063
+ */
4064
+ contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
4065
+ /**
4066
+ * Create Zone
4067
+ * @description Create a zone for the domain on OpusDNS nameserver infrastructure
4068
+ * @default false
4069
+ */
4070
+ create_zone: boolean;
4071
+ /**
4072
+ * Expected Price
4073
+ * @description Expected price for premium domain confirmation
4074
+ */
4075
+ expected_price?: string | null;
4028
4076
  /**
4029
4077
  * Name
4030
4078
  * @description The domain to be created
@@ -4042,7 +4090,7 @@ export interface components {
4042
4090
  };
4043
4091
  /** DomainCreateWorkerPayload */
4044
4092
  DomainCreateWorkerPayload: {
4045
- domain: components["schemas"]["DomainCreatePayloadData"];
4093
+ domain: components["schemas"]["DomainCreatePayloadData-Output"];
4046
4094
  /** Operation */
4047
4095
  operation: string;
4048
4096
  /**
@@ -4429,6 +4477,11 @@ export interface components {
4429
4477
  * @description Current expiration date of the domain for validation
4430
4478
  */
4431
4479
  current_expiry_date: Date;
4480
+ /**
4481
+ * Expected Price
4482
+ * @description Expected price for premium domain confirmation
4483
+ */
4484
+ expected_price?: number | string | null;
4432
4485
  /** @description How long to extend the domain registration */
4433
4486
  period: components["schemas"]["DomainPeriod"];
4434
4487
  };
@@ -4497,6 +4550,12 @@ export interface components {
4497
4550
  * @description The subordinate hosts of the domain
4498
4551
  */
4499
4552
  hosts?: components["schemas"]["DomainHostResponse"][];
4553
+ /**
4554
+ * Is Premium
4555
+ * @description Whether this is a premium domain
4556
+ * @default false
4557
+ */
4558
+ is_premium: boolean;
4500
4559
  /**
4501
4560
  * Name
4502
4561
  * @description The domain name
@@ -4573,6 +4632,11 @@ export interface components {
4573
4632
  * @description Additional information to include in the restore operation
4574
4633
  */
4575
4634
  additional_info?: string | null;
4635
+ /**
4636
+ * Expected Price
4637
+ * @description Expected price for premium domain confirmation
4638
+ */
4639
+ expected_price?: number | string | null;
4576
4640
  /**
4577
4641
  * Reason
4578
4642
  * @description Reason for restoring the domain
@@ -4818,7 +4882,7 @@ export interface components {
4818
4882
  */
4819
4883
  idempotency_key?: string | null;
4820
4884
  /** @description Domain transfer payload */
4821
- payload: components["schemas"]["DomainTransferPayloadData"];
4885
+ payload: components["schemas"]["DomainTransferPayloadData-Input"];
4822
4886
  /**
4823
4887
  * Version
4824
4888
  * @description Command version
@@ -4851,6 +4915,56 @@ export interface components {
4851
4915
  * @default false
4852
4916
  */
4853
4917
  create_zone: boolean;
4918
+ /**
4919
+ * Expected Price
4920
+ * @description Expected price for premium domain confirmation
4921
+ */
4922
+ expected_price?: number | string | null;
4923
+ /**
4924
+ * Name
4925
+ * @description The domain to be created
4926
+ */
4927
+ name: string;
4928
+ /**
4929
+ * Nameservers
4930
+ * @description The name servers for the domain
4931
+ */
4932
+ nameservers?: components["schemas"]["Nameserver"][] | null;
4933
+ /** @description Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied. */
4934
+ period?: components["schemas"]["DomainPeriod"] | null;
4935
+ /** @description The renewal mode of the domain */
4936
+ renewal_mode: components["schemas"]["RenewalMode"];
4937
+ };
4938
+ /** DomainTransferPayloadData */
4939
+ "DomainTransferPayloadData-Input": {
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;
4854
4968
  /**
4855
4969
  * Name
4856
4970
  * @description The domain to be created
@@ -4867,7 +4981,7 @@ export interface components {
4867
4981
  renewal_mode: components["schemas"]["RenewalMode"];
4868
4982
  };
4869
4983
  /** DomainTransferPayloadData */
4870
- DomainTransferPayloadData: {
4984
+ "DomainTransferPayloadData-Output": {
4871
4985
  /**
4872
4986
  * Attributes
4873
4987
  * @description Additional attributes of the domain
@@ -4891,6 +5005,11 @@ export interface components {
4891
5005
  * @default false
4892
5006
  */
4893
5007
  create_zone: boolean;
5008
+ /**
5009
+ * Expected Price
5010
+ * @description Expected price for premium domain confirmation
5011
+ */
5012
+ expected_price?: string | null;
4894
5013
  /**
4895
5014
  * Name
4896
5015
  * @description The domain to be created
@@ -4908,7 +5027,7 @@ export interface components {
4908
5027
  };
4909
5028
  /** DomainTransferWorkerPayload */
4910
5029
  DomainTransferWorkerPayload: {
4911
- domain: components["schemas"]["DomainTransferPayloadData"];
5030
+ domain: components["schemas"]["DomainTransferPayloadData-Output"];
4912
5031
  /** Operation */
4913
5032
  operation: string;
4914
5033
  /**