@opusdns/api 0.283.0 → 0.285.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 +266 -7
- package/src/helpers/requests.d.ts +19 -3
- package/src/helpers/responses.d.ts +24 -4
- package/src/helpers/schemas.d.ts +48 -0
- package/src/openapi.yaml +133 -13
- package/src/schema.d.ts +73 -11
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -52,6 +52,7 @@ import { ContactCreateBulkTemplate } from './schemas';
|
|
|
52
52
|
import { ContactCreateCommand } from './schemas';
|
|
53
53
|
import { ContactCreatePayloadData } from './schemas';
|
|
54
54
|
import { ContactCreateWorkerPayload } from './schemas';
|
|
55
|
+
import { ContactCreateWorkerResult } from './schemas';
|
|
55
56
|
import { ContactHandle } from './schemas';
|
|
56
57
|
import { Contact } from './schemas';
|
|
57
58
|
import { ContactSchema } from './schemas';
|
|
@@ -87,6 +88,7 @@ import { DnsZoneCreateBulkTemplate } from './schemas';
|
|
|
87
88
|
import { DnsZoneCreateCommand } from './schemas';
|
|
88
89
|
import { DnsZoneCreatePayloadData } from './schemas';
|
|
89
90
|
import { DnsZoneCreateWorkerPayload } from './schemas';
|
|
91
|
+
import { DnsZoneCreateWorkerResult } from './schemas';
|
|
90
92
|
import { DnsZonePatchRecordsBulkCommand } from './schemas';
|
|
91
93
|
import { DnsZonePatchRecordsBulkInstance } from './schemas';
|
|
92
94
|
import { DnsZonePatchRecordsBulkPayload } from './schemas';
|
|
@@ -120,6 +122,7 @@ import { DomainCreateBulkTemplate } from './schemas';
|
|
|
120
122
|
import { DomainCreateCommand } from './schemas';
|
|
121
123
|
import { DomainCreatePayloadData } from './schemas';
|
|
122
124
|
import { DomainCreateWorkerPayload } from './schemas';
|
|
125
|
+
import { DomainCreateWorkerResult } from './schemas';
|
|
123
126
|
import { DomainDnssecDataCreate } from './schemas';
|
|
124
127
|
import { DomainDnssecData } from './schemas';
|
|
125
128
|
import { DomainForward } from './schemas';
|
|
@@ -4266,6 +4269,82 @@ export const KEYS_CONTACT_CREATE_WORKER_PAYLOAD = [
|
|
|
4266
4269
|
KEY_CONTACT_CREATE_WORKER_PAYLOAD_TYPE,
|
|
4267
4270
|
] as const satisfies (keyof ContactCreateWorkerPayload)[];
|
|
4268
4271
|
|
|
4272
|
+
/**
|
|
4273
|
+
* Contact Id
|
|
4274
|
+
*
|
|
4275
|
+
*
|
|
4276
|
+
* @type {string}
|
|
4277
|
+
*
|
|
4278
|
+
*
|
|
4279
|
+
* @remarks
|
|
4280
|
+
* This key constant provides type-safe access to the `contact_id` property of ContactCreateWorkerResult objects.
|
|
4281
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
4282
|
+
*
|
|
4283
|
+
* @example
|
|
4284
|
+
* ```typescript
|
|
4285
|
+
* // Direct property access
|
|
4286
|
+
* const value = contactcreateworkerresult[KEY_CONTACT_CREATE_WORKER_RESULT_CONTACT_ID];
|
|
4287
|
+
*
|
|
4288
|
+
* // Dynamic property access
|
|
4289
|
+
* const propertyName = KEY_CONTACT_CREATE_WORKER_RESULT_CONTACT_ID;
|
|
4290
|
+
* const value = contactcreateworkerresult[propertyName];
|
|
4291
|
+
* ```
|
|
4292
|
+
*
|
|
4293
|
+
* @see {@link ContactCreateWorkerResult} - The TypeScript type definition
|
|
4294
|
+
* @see {@link KEYS_CONTACT_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
4295
|
+
*/
|
|
4296
|
+
export const KEY_CONTACT_CREATE_WORKER_RESULT_CONTACT_ID: keyof ContactCreateWorkerResult = 'contact_id';
|
|
4297
|
+
/**
|
|
4298
|
+
* Type
|
|
4299
|
+
*
|
|
4300
|
+
*
|
|
4301
|
+
* @type {string}
|
|
4302
|
+
*
|
|
4303
|
+
*
|
|
4304
|
+
* @remarks
|
|
4305
|
+
* This key constant provides type-safe access to the `type` property of ContactCreateWorkerResult objects.
|
|
4306
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
4307
|
+
*
|
|
4308
|
+
* @example
|
|
4309
|
+
* ```typescript
|
|
4310
|
+
* // Direct property access
|
|
4311
|
+
* const value = contactcreateworkerresult[KEY_CONTACT_CREATE_WORKER_RESULT_TYPE];
|
|
4312
|
+
*
|
|
4313
|
+
* // Dynamic property access
|
|
4314
|
+
* const propertyName = KEY_CONTACT_CREATE_WORKER_RESULT_TYPE;
|
|
4315
|
+
* const value = contactcreateworkerresult[propertyName];
|
|
4316
|
+
* ```
|
|
4317
|
+
*
|
|
4318
|
+
* @see {@link ContactCreateWorkerResult} - The TypeScript type definition
|
|
4319
|
+
* @see {@link KEYS_CONTACT_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
4320
|
+
*/
|
|
4321
|
+
export const KEY_CONTACT_CREATE_WORKER_RESULT_TYPE: keyof ContactCreateWorkerResult = 'type';
|
|
4322
|
+
|
|
4323
|
+
/**
|
|
4324
|
+
* Array of all ContactCreateWorkerResult property keys
|
|
4325
|
+
*
|
|
4326
|
+
* @remarks
|
|
4327
|
+
* This constant provides a readonly array containing all valid property keys for ContactCreateWorkerResult objects.
|
|
4328
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
4329
|
+
*
|
|
4330
|
+
* @example
|
|
4331
|
+
* ```typescript
|
|
4332
|
+
* // Iterating through all keys
|
|
4333
|
+
* for (const key of KEYS_CONTACT_CREATE_WORKER_RESULT) {
|
|
4334
|
+
* console.log(`Property: ${key}, Value: ${contactcreateworkerresult[key]}`);
|
|
4335
|
+
* }
|
|
4336
|
+
*
|
|
4337
|
+
* // Validation
|
|
4338
|
+
* const isValidKey = KEYS_CONTACT_CREATE_WORKER_RESULT.includes(someKey);
|
|
4339
|
+
* ```
|
|
4340
|
+
*
|
|
4341
|
+
* @see {@link ContactCreateWorkerResult} - The TypeScript type definition
|
|
4342
|
+
*/
|
|
4343
|
+
export const KEYS_CONTACT_CREATE_WORKER_RESULT = [
|
|
4344
|
+
KEY_CONTACT_CREATE_WORKER_RESULT_CONTACT_ID,
|
|
4345
|
+
KEY_CONTACT_CREATE_WORKER_RESULT_TYPE,
|
|
4346
|
+
] as const satisfies (keyof ContactCreateWorkerResult)[];
|
|
4347
|
+
|
|
4269
4348
|
/**
|
|
4270
4349
|
* Attributes
|
|
4271
4350
|
*
|
|
@@ -9736,6 +9815,82 @@ export const KEYS_DNS_ZONE_CREATE_WORKER_PAYLOAD = [
|
|
|
9736
9815
|
KEY_DNS_ZONE_CREATE_WORKER_PAYLOAD_ZONE,
|
|
9737
9816
|
] as const satisfies (keyof DnsZoneCreateWorkerPayload)[];
|
|
9738
9817
|
|
|
9818
|
+
/**
|
|
9819
|
+
* Type
|
|
9820
|
+
*
|
|
9821
|
+
*
|
|
9822
|
+
* @type {string}
|
|
9823
|
+
*
|
|
9824
|
+
*
|
|
9825
|
+
* @remarks
|
|
9826
|
+
* This key constant provides type-safe access to the `type` property of DnsZoneCreateWorkerResult objects.
|
|
9827
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9828
|
+
*
|
|
9829
|
+
* @example
|
|
9830
|
+
* ```typescript
|
|
9831
|
+
* // Direct property access
|
|
9832
|
+
* const value = dnszonecreateworkerresult[KEY_DNS_ZONE_CREATE_WORKER_RESULT_TYPE];
|
|
9833
|
+
*
|
|
9834
|
+
* // Dynamic property access
|
|
9835
|
+
* const propertyName = KEY_DNS_ZONE_CREATE_WORKER_RESULT_TYPE;
|
|
9836
|
+
* const value = dnszonecreateworkerresult[propertyName];
|
|
9837
|
+
* ```
|
|
9838
|
+
*
|
|
9839
|
+
* @see {@link DnsZoneCreateWorkerResult} - The TypeScript type definition
|
|
9840
|
+
* @see {@link KEYS_DNS_ZONE_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
9841
|
+
*/
|
|
9842
|
+
export const KEY_DNS_ZONE_CREATE_WORKER_RESULT_TYPE: keyof DnsZoneCreateWorkerResult = 'type';
|
|
9843
|
+
/**
|
|
9844
|
+
* Zone Name
|
|
9845
|
+
*
|
|
9846
|
+
*
|
|
9847
|
+
* @type {string}
|
|
9848
|
+
*
|
|
9849
|
+
*
|
|
9850
|
+
* @remarks
|
|
9851
|
+
* This key constant provides type-safe access to the `zone_name` property of DnsZoneCreateWorkerResult objects.
|
|
9852
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9853
|
+
*
|
|
9854
|
+
* @example
|
|
9855
|
+
* ```typescript
|
|
9856
|
+
* // Direct property access
|
|
9857
|
+
* const value = dnszonecreateworkerresult[KEY_DNS_ZONE_CREATE_WORKER_RESULT_ZONE_NAME];
|
|
9858
|
+
*
|
|
9859
|
+
* // Dynamic property access
|
|
9860
|
+
* const propertyName = KEY_DNS_ZONE_CREATE_WORKER_RESULT_ZONE_NAME;
|
|
9861
|
+
* const value = dnszonecreateworkerresult[propertyName];
|
|
9862
|
+
* ```
|
|
9863
|
+
*
|
|
9864
|
+
* @see {@link DnsZoneCreateWorkerResult} - The TypeScript type definition
|
|
9865
|
+
* @see {@link KEYS_DNS_ZONE_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
9866
|
+
*/
|
|
9867
|
+
export const KEY_DNS_ZONE_CREATE_WORKER_RESULT_ZONE_NAME: keyof DnsZoneCreateWorkerResult = 'zone_name';
|
|
9868
|
+
|
|
9869
|
+
/**
|
|
9870
|
+
* Array of all DnsZoneCreateWorkerResult property keys
|
|
9871
|
+
*
|
|
9872
|
+
* @remarks
|
|
9873
|
+
* This constant provides a readonly array containing all valid property keys for DnsZoneCreateWorkerResult objects.
|
|
9874
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
9875
|
+
*
|
|
9876
|
+
* @example
|
|
9877
|
+
* ```typescript
|
|
9878
|
+
* // Iterating through all keys
|
|
9879
|
+
* for (const key of KEYS_DNS_ZONE_CREATE_WORKER_RESULT) {
|
|
9880
|
+
* console.log(`Property: ${key}, Value: ${dnszonecreateworkerresult[key]}`);
|
|
9881
|
+
* }
|
|
9882
|
+
*
|
|
9883
|
+
* // Validation
|
|
9884
|
+
* const isValidKey = KEYS_DNS_ZONE_CREATE_WORKER_RESULT.includes(someKey);
|
|
9885
|
+
* ```
|
|
9886
|
+
*
|
|
9887
|
+
* @see {@link DnsZoneCreateWorkerResult} - The TypeScript type definition
|
|
9888
|
+
*/
|
|
9889
|
+
export const KEYS_DNS_ZONE_CREATE_WORKER_RESULT = [
|
|
9890
|
+
KEY_DNS_ZONE_CREATE_WORKER_RESULT_TYPE,
|
|
9891
|
+
KEY_DNS_ZONE_CREATE_WORKER_RESULT_ZONE_NAME,
|
|
9892
|
+
] as const satisfies (keyof DnsZoneCreateWorkerResult)[];
|
|
9893
|
+
|
|
9739
9894
|
/**
|
|
9740
9895
|
* Command
|
|
9741
9896
|
*
|
|
@@ -13351,6 +13506,82 @@ export const KEYS_DOMAIN_CREATE_WORKER_PAYLOAD = [
|
|
|
13351
13506
|
KEY_DOMAIN_CREATE_WORKER_PAYLOAD_TYPE,
|
|
13352
13507
|
] as const satisfies (keyof DomainCreateWorkerPayload)[];
|
|
13353
13508
|
|
|
13509
|
+
/**
|
|
13510
|
+
* Domain Id
|
|
13511
|
+
*
|
|
13512
|
+
*
|
|
13513
|
+
* @type {string}
|
|
13514
|
+
*
|
|
13515
|
+
*
|
|
13516
|
+
* @remarks
|
|
13517
|
+
* This key constant provides type-safe access to the `domain_id` property of DomainCreateWorkerResult objects.
|
|
13518
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
13519
|
+
*
|
|
13520
|
+
* @example
|
|
13521
|
+
* ```typescript
|
|
13522
|
+
* // Direct property access
|
|
13523
|
+
* const value = domaincreateworkerresult[KEY_DOMAIN_CREATE_WORKER_RESULT_DOMAIN_ID];
|
|
13524
|
+
*
|
|
13525
|
+
* // Dynamic property access
|
|
13526
|
+
* const propertyName = KEY_DOMAIN_CREATE_WORKER_RESULT_DOMAIN_ID;
|
|
13527
|
+
* const value = domaincreateworkerresult[propertyName];
|
|
13528
|
+
* ```
|
|
13529
|
+
*
|
|
13530
|
+
* @see {@link DomainCreateWorkerResult} - The TypeScript type definition
|
|
13531
|
+
* @see {@link KEYS_DOMAIN_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
13532
|
+
*/
|
|
13533
|
+
export const KEY_DOMAIN_CREATE_WORKER_RESULT_DOMAIN_ID: keyof DomainCreateWorkerResult = 'domain_id';
|
|
13534
|
+
/**
|
|
13535
|
+
* Type
|
|
13536
|
+
*
|
|
13537
|
+
*
|
|
13538
|
+
* @type {string}
|
|
13539
|
+
*
|
|
13540
|
+
*
|
|
13541
|
+
* @remarks
|
|
13542
|
+
* This key constant provides type-safe access to the `type` property of DomainCreateWorkerResult objects.
|
|
13543
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
13544
|
+
*
|
|
13545
|
+
* @example
|
|
13546
|
+
* ```typescript
|
|
13547
|
+
* // Direct property access
|
|
13548
|
+
* const value = domaincreateworkerresult[KEY_DOMAIN_CREATE_WORKER_RESULT_TYPE];
|
|
13549
|
+
*
|
|
13550
|
+
* // Dynamic property access
|
|
13551
|
+
* const propertyName = KEY_DOMAIN_CREATE_WORKER_RESULT_TYPE;
|
|
13552
|
+
* const value = domaincreateworkerresult[propertyName];
|
|
13553
|
+
* ```
|
|
13554
|
+
*
|
|
13555
|
+
* @see {@link DomainCreateWorkerResult} - The TypeScript type definition
|
|
13556
|
+
* @see {@link KEYS_DOMAIN_CREATE_WORKER_RESULT} - Array of all keys for this type
|
|
13557
|
+
*/
|
|
13558
|
+
export const KEY_DOMAIN_CREATE_WORKER_RESULT_TYPE: keyof DomainCreateWorkerResult = 'type';
|
|
13559
|
+
|
|
13560
|
+
/**
|
|
13561
|
+
* Array of all DomainCreateWorkerResult property keys
|
|
13562
|
+
*
|
|
13563
|
+
* @remarks
|
|
13564
|
+
* This constant provides a readonly array containing all valid property keys for DomainCreateWorkerResult objects.
|
|
13565
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
13566
|
+
*
|
|
13567
|
+
* @example
|
|
13568
|
+
* ```typescript
|
|
13569
|
+
* // Iterating through all keys
|
|
13570
|
+
* for (const key of KEYS_DOMAIN_CREATE_WORKER_RESULT) {
|
|
13571
|
+
* console.log(`Property: ${key}, Value: ${domaincreateworkerresult[key]}`);
|
|
13572
|
+
* }
|
|
13573
|
+
*
|
|
13574
|
+
* // Validation
|
|
13575
|
+
* const isValidKey = KEYS_DOMAIN_CREATE_WORKER_RESULT.includes(someKey);
|
|
13576
|
+
* ```
|
|
13577
|
+
*
|
|
13578
|
+
* @see {@link DomainCreateWorkerResult} - The TypeScript type definition
|
|
13579
|
+
*/
|
|
13580
|
+
export const KEYS_DOMAIN_CREATE_WORKER_RESULT = [
|
|
13581
|
+
KEY_DOMAIN_CREATE_WORKER_RESULT_DOMAIN_ID,
|
|
13582
|
+
KEY_DOMAIN_CREATE_WORKER_RESULT_TYPE,
|
|
13583
|
+
] as const satisfies (keyof DomainCreateWorkerResult)[];
|
|
13584
|
+
|
|
13354
13585
|
/**
|
|
13355
13586
|
* algorithm property
|
|
13356
13587
|
*
|
|
@@ -26665,6 +26896,31 @@ export const KEY_JOB_PAYLOAD: keyof Job = 'payload';
|
|
|
26665
26896
|
* @see {@link KEYS_JOB} - Array of all keys for this type
|
|
26666
26897
|
*/
|
|
26667
26898
|
export const KEY_JOB_RESOURCE_KEY: keyof Job = 'resource_key';
|
|
26899
|
+
/**
|
|
26900
|
+
* Result
|
|
26901
|
+
*
|
|
26902
|
+
* Structured result data from successful job execution (e.g. created entity IDs). Typed when the worker emits a known `type` discriminator; raw dict otherwise.
|
|
26903
|
+
*
|
|
26904
|
+
*
|
|
26905
|
+
*
|
|
26906
|
+
* @remarks
|
|
26907
|
+
* This key constant provides type-safe access to the `result` property of Job objects.
|
|
26908
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
26909
|
+
*
|
|
26910
|
+
* @example
|
|
26911
|
+
* ```typescript
|
|
26912
|
+
* // Direct property access
|
|
26913
|
+
* const value = job[KEY_JOB_RESULT];
|
|
26914
|
+
*
|
|
26915
|
+
* // Dynamic property access
|
|
26916
|
+
* const propertyName = KEY_JOB_RESULT;
|
|
26917
|
+
* const value = job[propertyName];
|
|
26918
|
+
* ```
|
|
26919
|
+
*
|
|
26920
|
+
* @see {@link Job} - The TypeScript type definition
|
|
26921
|
+
* @see {@link KEYS_JOB} - Array of all keys for this type
|
|
26922
|
+
*/
|
|
26923
|
+
export const KEY_JOB_RESULT: keyof Job = 'result';
|
|
26668
26924
|
/**
|
|
26669
26925
|
* Started At
|
|
26670
26926
|
*
|
|
@@ -26750,6 +27006,7 @@ export const KEYS_JOB = [
|
|
|
26750
27006
|
KEY_JOB_PAUSED_AT,
|
|
26751
27007
|
KEY_JOB_PAYLOAD,
|
|
26752
27008
|
KEY_JOB_RESOURCE_KEY,
|
|
27009
|
+
KEY_JOB_RESULT,
|
|
26753
27010
|
KEY_JOB_STARTED_AT,
|
|
26754
27011
|
KEY_JOB_STATUS,
|
|
26755
27012
|
] as const satisfies (keyof Job)[];
|
|
@@ -34681,7 +34938,7 @@ export const KEYS_PREMIUM_PRICE_ENTRY_RES = [
|
|
|
34681
34938
|
/**
|
|
34682
34939
|
* Action
|
|
34683
34940
|
*
|
|
34684
|
-
* The action (e.g., create, renew, transfer)
|
|
34941
|
+
* The action this price applies to (e.g., create, renew, transfer)
|
|
34685
34942
|
*
|
|
34686
34943
|
* @type {string}
|
|
34687
34944
|
*
|
|
@@ -34707,7 +34964,7 @@ export const KEY_PREMIUM_PRICING_ACTION_ACTION: keyof PremiumPricingAction = 'ac
|
|
|
34707
34964
|
/**
|
|
34708
34965
|
* Currency
|
|
34709
34966
|
*
|
|
34710
|
-
*
|
|
34967
|
+
* ISO 4217 currency code
|
|
34711
34968
|
*
|
|
34712
34969
|
* @type {string}
|
|
34713
34970
|
*
|
|
@@ -34733,7 +34990,7 @@ export const KEY_PREMIUM_PRICING_ACTION_CURRENCY: keyof PremiumPricingAction = '
|
|
|
34733
34990
|
/**
|
|
34734
34991
|
* Price
|
|
34735
34992
|
*
|
|
34736
|
-
*
|
|
34993
|
+
* Price for the action
|
|
34737
34994
|
*
|
|
34738
34995
|
* @type {string}
|
|
34739
34996
|
*
|
|
@@ -41799,6 +42056,7 @@ export const KEYS_DOMAIN_AVAILABILITY_LIST = [
|
|
|
41799
42056
|
/**
|
|
41800
42057
|
* Available
|
|
41801
42058
|
*
|
|
42059
|
+
* True if the domain is available for registration
|
|
41802
42060
|
*
|
|
41803
42061
|
* @type {boolean}
|
|
41804
42062
|
*
|
|
@@ -41824,7 +42082,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_AVAILABLE: keyof DomainAvailabilityCh
|
|
|
41824
42082
|
/**
|
|
41825
42083
|
* Claims Key
|
|
41826
42084
|
*
|
|
41827
|
-
*
|
|
42085
|
+
* Trademark claims key returned when the TLD is in its claims phase and the domain matches a TMCH-registered mark. When present, the corresponding claims notice must be retrieved and acknowledged before registration.
|
|
41828
42086
|
*
|
|
41829
42087
|
*
|
|
41830
42088
|
*
|
|
@@ -41849,7 +42107,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_CLAIMS_KEY: keyof DomainAvailabilityC
|
|
|
41849
42107
|
/**
|
|
41850
42108
|
* Domain
|
|
41851
42109
|
*
|
|
41852
|
-
* The domain name
|
|
42110
|
+
* The domain name that was checked
|
|
41853
42111
|
*
|
|
41854
42112
|
* @type {string}
|
|
41855
42113
|
*
|
|
@@ -41875,7 +42133,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_DOMAIN: keyof DomainAvailabilityCheck
|
|
|
41875
42133
|
/**
|
|
41876
42134
|
* Is Premium
|
|
41877
42135
|
*
|
|
41878
|
-
*
|
|
42136
|
+
* True if the registry classifies this domain as premium (non-standard pricing)
|
|
41879
42137
|
*
|
|
41880
42138
|
* @type {boolean}
|
|
41881
42139
|
*
|
|
@@ -41901,7 +42159,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_IS_PREMIUM: keyof DomainAvailabilityC
|
|
|
41901
42159
|
/**
|
|
41902
42160
|
* premium_pricing property
|
|
41903
42161
|
*
|
|
41904
|
-
* Premium pricing
|
|
42162
|
+
* Premium pricing per action (create / renew / transfer / restore). Present only when `is_premium` is true and the registry returned pricing.
|
|
41905
42163
|
*
|
|
41906
42164
|
*
|
|
41907
42165
|
*
|
|
@@ -41926,6 +42184,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_PREMIUM_PRICING: keyof DomainAvailabi
|
|
|
41926
42184
|
/**
|
|
41927
42185
|
* Reason
|
|
41928
42186
|
*
|
|
42187
|
+
* Registry-supplied reason the domain is unavailable (e.g. 'Domain exists', 'Reserved', 'In Use'). May be null when the domain is available, or when the registry did not provide a reason.
|
|
41929
42188
|
*
|
|
41930
42189
|
*
|
|
41931
42190
|
*
|
|
@@ -3407,7 +3407,15 @@ export type POST_Domains_Request_Body = POST_Domains_Request['requestBody'];
|
|
|
3407
3407
|
/**
|
|
3408
3408
|
* Request type for GET DomainsCheck endpoint
|
|
3409
3409
|
*
|
|
3410
|
-
* Check domain availability
|
|
3410
|
+
* Check domain availability and registration metadata
|
|
3411
|
+
* Performs a real-time check against the authoritative registry for each domain and returns availability plus any registry-specific metadata needed to register it.
|
|
3412
|
+
|
|
3413
|
+
For each domain the response includes:
|
|
3414
|
+
- **Availability** — whether the domain can be registered, and the registry's reason if not.
|
|
3415
|
+
- **Trademark claims (TMCH)** — when the TLD is in its claims phase and the domain matches a trademark in the Trademark Clearinghouse, a `claims_key` is returned. The corresponding claims notice must be retrieved and acknowledged before the domain can be registered. See the [Trademarked domains](/products/domains/trademarked-domains) guide for the full workflow.
|
|
3416
|
+
- **Premium status and pricing** — whether the domain is classified as premium by the registry, and if so, the price per action (create / renew / transfer / restore). See the [Premium domains](/products/domains/premium) guide for background on how premium domains are priced and registered.
|
|
3417
|
+
|
|
3418
|
+
Domains are queried in parallel, grouped by registry connection. Availability and metadata reflect the registry's state at the moment of the call and are not cached.
|
|
3411
3419
|
*
|
|
3412
3420
|
* @remarks
|
|
3413
3421
|
* This type defines the complete request structure for the GET DomainsCheck endpoint.
|
|
@@ -3419,7 +3427,11 @@ export type POST_Domains_Request_Body = POST_Domains_Request['requestBody'];
|
|
|
3419
3427
|
*
|
|
3420
3428
|
* @path /v1/domains/check
|
|
3421
3429
|
* @param domains (query) -
|
|
3422
|
-
|
|
3430
|
+
One or more fully-qualified domain names to check at the registry.
|
|
3431
|
+
|
|
3432
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
3433
|
+
trademark claims information and premium pricing. The list of domains may
|
|
3434
|
+
include a mix of TLDs.
|
|
3423
3435
|
|
|
3424
3436
|
*
|
|
3425
3437
|
* @see {@link GET_DomainsCheck_Request_Query} - Query parameters type
|
|
@@ -3443,7 +3455,11 @@ export type GET_DomainsCheck_Request = {
|
|
|
3443
3455
|
*
|
|
3444
3456
|
* @path /v1/domains/check
|
|
3445
3457
|
* @param domains (query) -
|
|
3446
|
-
|
|
3458
|
+
One or more fully-qualified domain names to check at the registry.
|
|
3459
|
+
|
|
3460
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
3461
|
+
trademark claims information and premium pricing. The list of domains may
|
|
3462
|
+
include a mix of TLDs.
|
|
3447
3463
|
|
|
3448
3464
|
*/
|
|
3449
3465
|
export type GET_DomainsCheck_Request_Query = GET_DomainsCheck_Request['parameters']['query'];
|
|
@@ -7597,7 +7597,15 @@ export type DELETE_DomainsByDomainReferenceTransfer_Response_422 = HTTPValidatio
|
|
|
7597
7597
|
/**
|
|
7598
7598
|
* Response types for GET DomainsCheck endpoint
|
|
7599
7599
|
*
|
|
7600
|
-
* Check domain availability
|
|
7600
|
+
* Check domain availability and registration metadata
|
|
7601
|
+
* Performs a real-time check against the authoritative registry for each domain and returns availability plus any registry-specific metadata needed to register it.
|
|
7602
|
+
|
|
7603
|
+
For each domain the response includes:
|
|
7604
|
+
- **Availability** — whether the domain can be registered, and the registry's reason if not.
|
|
7605
|
+
- **Trademark claims (TMCH)** — when the TLD is in its claims phase and the domain matches a trademark in the Trademark Clearinghouse, a `claims_key` is returned. The corresponding claims notice must be retrieved and acknowledged before the domain can be registered. See the [Trademarked domains](/products/domains/trademarked-domains) guide for the full workflow.
|
|
7606
|
+
- **Premium status and pricing** — whether the domain is classified as premium by the registry, and if so, the price per action (create / renew / transfer / restore). See the [Premium domains](/products/domains/premium) guide for background on how premium domains are priced and registered.
|
|
7607
|
+
|
|
7608
|
+
Domains are queried in parallel, grouped by registry connection. Availability and metadata reflect the registry's state at the moment of the call and are not cached.
|
|
7601
7609
|
*
|
|
7602
7610
|
* @remarks
|
|
7603
7611
|
* This type defines all possible response structures for the GET DomainsCheck endpoint.
|
|
@@ -7608,7 +7616,11 @@ export type DELETE_DomainsByDomainReferenceTransfer_Response_422 = HTTPValidatio
|
|
|
7608
7616
|
*
|
|
7609
7617
|
* @path /v1/domains/check
|
|
7610
7618
|
* @param domains (query) -
|
|
7611
|
-
|
|
7619
|
+
One or more fully-qualified domain names to check at the registry.
|
|
7620
|
+
|
|
7621
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
7622
|
+
trademark claims information and premium pricing. The list of domains may
|
|
7623
|
+
include a mix of TLDs.
|
|
7612
7624
|
|
|
7613
7625
|
*
|
|
7614
7626
|
* @see {@link GET_DomainsCheck_Response_200} - 200 response type
|
|
@@ -7630,7 +7642,11 @@ export type GET_DomainsCheck_Response = GET_DomainsCheck_Response_200 | GET_Doma
|
|
|
7630
7642
|
*
|
|
7631
7643
|
* @path /v1/domains/check
|
|
7632
7644
|
* @param domains (query) -
|
|
7633
|
-
|
|
7645
|
+
One or more fully-qualified domain names to check at the registry.
|
|
7646
|
+
|
|
7647
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
7648
|
+
trademark claims information and premium pricing. The list of domains may
|
|
7649
|
+
include a mix of TLDs.
|
|
7634
7650
|
|
|
7635
7651
|
*
|
|
7636
7652
|
* @see {@link GET_DomainsCheck_Response} - The main response type definition
|
|
@@ -7650,7 +7666,11 @@ export type GET_DomainsCheck_Response_200 = DomainCheck
|
|
|
7650
7666
|
*
|
|
7651
7667
|
* @path /v1/domains/check
|
|
7652
7668
|
* @param domains (query) -
|
|
7653
|
-
|
|
7669
|
+
One or more fully-qualified domain names to check at the registry.
|
|
7670
|
+
|
|
7671
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
7672
|
+
trademark claims information and premium pricing. The list of domains may
|
|
7673
|
+
include a mix of TLDs.
|
|
7654
7674
|
|
|
7655
7675
|
*
|
|
7656
7676
|
* @see {@link GET_DomainsCheck_Response} - The main response type definition
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -570,6 +570,22 @@ export type ContactCreatePayloadData = components['schemas']['ContactCreatePaylo
|
|
|
570
570
|
* @see {@link components} - The OpenAPI components schema definition
|
|
571
571
|
*/
|
|
572
572
|
export type ContactCreateWorkerPayload = components['schemas']['ContactCreateWorkerPayload'];
|
|
573
|
+
/**
|
|
574
|
+
* ContactCreateWorkerResult
|
|
575
|
+
*
|
|
576
|
+
* @remarks
|
|
577
|
+
* Type alias for the `ContactCreateWorkerResult` OpenAPI schema.
|
|
578
|
+
* This type represents contactcreateworkerresult data structures used in API requests and responses.
|
|
579
|
+
*
|
|
580
|
+
* @example
|
|
581
|
+
* ```typescript
|
|
582
|
+
* const response = await api.getContactCreateWorkerResult();
|
|
583
|
+
* const item: ContactCreateWorkerResult = response.results;
|
|
584
|
+
* ```
|
|
585
|
+
*
|
|
586
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
587
|
+
*/
|
|
588
|
+
export type ContactCreateWorkerResult = components['schemas']['ContactCreateWorkerResult'];
|
|
573
589
|
/**
|
|
574
590
|
* ContactHandle
|
|
575
591
|
*
|
|
@@ -1258,6 +1274,22 @@ export type DnsZoneCreatePayloadData = components['schemas']['DnsZoneCreatePaylo
|
|
|
1258
1274
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1259
1275
|
*/
|
|
1260
1276
|
export type DnsZoneCreateWorkerPayload = components['schemas']['DnsZoneCreateWorkerPayload'];
|
|
1277
|
+
/**
|
|
1278
|
+
* DnsZoneCreateWorkerResult
|
|
1279
|
+
*
|
|
1280
|
+
* @remarks
|
|
1281
|
+
* Type alias for the `DnsZoneCreateWorkerResult` OpenAPI schema.
|
|
1282
|
+
* This type represents dnszonecreateworkerresult data structures used in API requests and responses.
|
|
1283
|
+
*
|
|
1284
|
+
* @example
|
|
1285
|
+
* ```typescript
|
|
1286
|
+
* const response = await api.getDnsZoneCreateWorkerResult();
|
|
1287
|
+
* const item: DnsZoneCreateWorkerResult = response.results;
|
|
1288
|
+
* ```
|
|
1289
|
+
*
|
|
1290
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1291
|
+
*/
|
|
1292
|
+
export type DnsZoneCreateWorkerResult = components['schemas']['DnsZoneCreateWorkerResult'];
|
|
1261
1293
|
/**
|
|
1262
1294
|
* DnsZonePatchRecordsBulkCommand
|
|
1263
1295
|
*
|
|
@@ -1946,6 +1978,22 @@ export type DomainCreatePayloadData = components['schemas']['DomainCreatePayload
|
|
|
1946
1978
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1947
1979
|
*/
|
|
1948
1980
|
export type DomainCreateWorkerPayload = components['schemas']['DomainCreateWorkerPayload'];
|
|
1981
|
+
/**
|
|
1982
|
+
* DomainCreateWorkerResult
|
|
1983
|
+
*
|
|
1984
|
+
* @remarks
|
|
1985
|
+
* Type alias for the `DomainCreateWorkerResult` OpenAPI schema.
|
|
1986
|
+
* This type represents domaincreateworkerresult data structures used in API requests and responses.
|
|
1987
|
+
*
|
|
1988
|
+
* @example
|
|
1989
|
+
* ```typescript
|
|
1990
|
+
* const response = await api.getDomainCreateWorkerResult();
|
|
1991
|
+
* const item: DomainCreateWorkerResult = response.results;
|
|
1992
|
+
* ```
|
|
1993
|
+
*
|
|
1994
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1995
|
+
*/
|
|
1996
|
+
export type DomainCreateWorkerResult = components['schemas']['DomainCreateWorkerResult'];
|
|
1949
1997
|
/**
|
|
1950
1998
|
* DomainDnssecDataCreate
|
|
1951
1999
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -1035,6 +1035,22 @@ components:
|
|
|
1035
1035
|
- contact
|
|
1036
1036
|
title: ContactCreateWorkerPayload
|
|
1037
1037
|
type: object
|
|
1038
|
+
ContactCreateWorkerResult:
|
|
1039
|
+
properties:
|
|
1040
|
+
contact_id:
|
|
1041
|
+
title: Contact Id
|
|
1042
|
+
type: string
|
|
1043
|
+
type:
|
|
1044
|
+
enum:
|
|
1045
|
+
- contact_create
|
|
1046
|
+
- contact_create_bulk
|
|
1047
|
+
title: Type
|
|
1048
|
+
type: string
|
|
1049
|
+
required:
|
|
1050
|
+
- type
|
|
1051
|
+
- contact_id
|
|
1052
|
+
title: ContactCreateWorkerResult
|
|
1053
|
+
type: object
|
|
1038
1054
|
ContactHandle:
|
|
1039
1055
|
properties:
|
|
1040
1056
|
attributes:
|
|
@@ -2301,6 +2317,22 @@ components:
|
|
|
2301
2317
|
- zone
|
|
2302
2318
|
title: DnsZoneCreateWorkerPayload
|
|
2303
2319
|
type: object
|
|
2320
|
+
DnsZoneCreateWorkerResult:
|
|
2321
|
+
properties:
|
|
2322
|
+
type:
|
|
2323
|
+
enum:
|
|
2324
|
+
- dns_zone_create
|
|
2325
|
+
- dns_zone_create_bulk
|
|
2326
|
+
title: Type
|
|
2327
|
+
type: string
|
|
2328
|
+
zone_name:
|
|
2329
|
+
title: Zone Name
|
|
2330
|
+
type: string
|
|
2331
|
+
required:
|
|
2332
|
+
- type
|
|
2333
|
+
- zone_name
|
|
2334
|
+
title: DnsZoneCreateWorkerResult
|
|
2335
|
+
type: object
|
|
2304
2336
|
DnsZonePatchRecordsBulkCommand:
|
|
2305
2337
|
properties:
|
|
2306
2338
|
command:
|
|
@@ -3168,6 +3200,22 @@ components:
|
|
|
3168
3200
|
- domain
|
|
3169
3201
|
title: DomainCreateWorkerPayload
|
|
3170
3202
|
type: object
|
|
3203
|
+
DomainCreateWorkerResult:
|
|
3204
|
+
properties:
|
|
3205
|
+
domain_id:
|
|
3206
|
+
title: Domain Id
|
|
3207
|
+
type: string
|
|
3208
|
+
type:
|
|
3209
|
+
enum:
|
|
3210
|
+
- domain_create
|
|
3211
|
+
- domain_create_bulk
|
|
3212
|
+
title: Type
|
|
3213
|
+
type: string
|
|
3214
|
+
required:
|
|
3215
|
+
- type
|
|
3216
|
+
- domain_id
|
|
3217
|
+
title: DomainCreateWorkerResult
|
|
3218
|
+
type: object
|
|
3171
3219
|
DomainDnssecDataCreate:
|
|
3172
3220
|
properties:
|
|
3173
3221
|
algorithm:
|
|
@@ -6406,6 +6454,28 @@ components:
|
|
|
6406
6454
|
- type: 'null'
|
|
6407
6455
|
description: Resource identifier for this job
|
|
6408
6456
|
title: Resource Key
|
|
6457
|
+
result:
|
|
6458
|
+
anyOf:
|
|
6459
|
+
- discriminator:
|
|
6460
|
+
mapping:
|
|
6461
|
+
contact_create: '#/components/schemas/ContactCreateWorkerResult'
|
|
6462
|
+
contact_create_bulk: '#/components/schemas/ContactCreateWorkerResult'
|
|
6463
|
+
dns_zone_create: '#/components/schemas/DnsZoneCreateWorkerResult'
|
|
6464
|
+
dns_zone_create_bulk: '#/components/schemas/DnsZoneCreateWorkerResult'
|
|
6465
|
+
domain_create: '#/components/schemas/DomainCreateWorkerResult'
|
|
6466
|
+
domain_create_bulk: '#/components/schemas/DomainCreateWorkerResult'
|
|
6467
|
+
propertyName: type
|
|
6468
|
+
oneOf:
|
|
6469
|
+
- $ref: '#/components/schemas/ContactCreateWorkerResult'
|
|
6470
|
+
- $ref: '#/components/schemas/DomainCreateWorkerResult'
|
|
6471
|
+
- $ref: '#/components/schemas/DnsZoneCreateWorkerResult'
|
|
6472
|
+
- additionalProperties: true
|
|
6473
|
+
type: object
|
|
6474
|
+
- type: 'null'
|
|
6475
|
+
description: Structured result data from successful job execution (e.g.
|
|
6476
|
+
created entity IDs). Typed when the worker emits a known `type` discriminator;
|
|
6477
|
+
raw dict otherwise.
|
|
6478
|
+
title: Result
|
|
6409
6479
|
started_at:
|
|
6410
6480
|
anyOf:
|
|
6411
6481
|
- format: date-time
|
|
@@ -8704,15 +8774,21 @@ components:
|
|
|
8704
8774
|
PremiumPricingAction:
|
|
8705
8775
|
properties:
|
|
8706
8776
|
action:
|
|
8707
|
-
description: The action (e.g., create, renew, transfer)
|
|
8777
|
+
description: The action this price applies to (e.g., create, renew, transfer)
|
|
8778
|
+
examples:
|
|
8779
|
+
- create
|
|
8708
8780
|
title: Action
|
|
8709
8781
|
type: string
|
|
8710
8782
|
currency:
|
|
8711
|
-
description:
|
|
8783
|
+
description: ISO 4217 currency code
|
|
8784
|
+
examples:
|
|
8785
|
+
- EUR
|
|
8712
8786
|
title: Currency
|
|
8713
8787
|
type: string
|
|
8714
8788
|
price:
|
|
8715
|
-
description:
|
|
8789
|
+
description: Price for the action
|
|
8790
|
+
examples:
|
|
8791
|
+
- '625.00'
|
|
8716
8792
|
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
|
|
8717
8793
|
title: Price
|
|
8718
8794
|
type: string
|
|
@@ -10566,35 +10642,47 @@ components:
|
|
|
10566
10642
|
common__models__domain__domain__DomainAvailabilityResponse:
|
|
10567
10643
|
properties:
|
|
10568
10644
|
available:
|
|
10645
|
+
description: True if the domain is available for registration
|
|
10569
10646
|
title: Available
|
|
10570
10647
|
type: boolean
|
|
10571
10648
|
claims_key:
|
|
10572
10649
|
anyOf:
|
|
10573
10650
|
- type: string
|
|
10574
10651
|
- type: 'null'
|
|
10575
|
-
description:
|
|
10652
|
+
description: Trademark claims key returned when the TLD is in its claims
|
|
10653
|
+
phase and the domain matches a TMCH-registered mark. When present, the
|
|
10654
|
+
corresponding claims notice must be retrieved and acknowledged before
|
|
10655
|
+
registration.
|
|
10656
|
+
examples:
|
|
10657
|
+
- 2013041500/2/6/9/rJ1NrDO92vDsAzf7EQzgjX4R0000000001
|
|
10576
10658
|
title: Claims Key
|
|
10577
10659
|
domain:
|
|
10578
|
-
description: The domain name
|
|
10660
|
+
description: The domain name that was checked
|
|
10579
10661
|
examples:
|
|
10580
10662
|
- example.com
|
|
10581
10663
|
title: Domain
|
|
10582
10664
|
type: string
|
|
10583
10665
|
is_premium:
|
|
10584
10666
|
default: false
|
|
10585
|
-
description:
|
|
10667
|
+
description: True if the registry classifies this domain as premium (non-standard
|
|
10668
|
+
pricing)
|
|
10586
10669
|
title: Is Premium
|
|
10587
10670
|
type: boolean
|
|
10588
10671
|
premium_pricing:
|
|
10589
10672
|
anyOf:
|
|
10590
10673
|
- $ref: '#/components/schemas/PremiumPricingResponse'
|
|
10591
10674
|
- type: 'null'
|
|
10592
|
-
description: Premium pricing
|
|
10593
|
-
|
|
10675
|
+
description: Premium pricing per action (create / renew / transfer / restore).
|
|
10676
|
+
Present only when `is_premium` is true and the registry returned pricing.
|
|
10594
10677
|
reason:
|
|
10595
10678
|
anyOf:
|
|
10596
10679
|
- type: string
|
|
10597
10680
|
- type: 'null'
|
|
10681
|
+
description: Registry-supplied reason the domain is unavailable (e.g. 'Domain
|
|
10682
|
+
exists', 'Reserved', 'In Use'). May be null when the domain is available,
|
|
10683
|
+
or when the registry did not provide a reason.
|
|
10684
|
+
examples:
|
|
10685
|
+
- Domain exists
|
|
10598
10686
|
title: Reason
|
|
10599
10687
|
required:
|
|
10600
10688
|
- domain
|
|
@@ -10672,7 +10760,7 @@ info:
|
|
|
10672
10760
|
\n\n"
|
|
10673
10761
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
10674
10762
|
title: OpusDNS API
|
|
10675
|
-
version: 2026-05-05-
|
|
10763
|
+
version: 2026-05-05-223247
|
|
10676
10764
|
x-logo:
|
|
10677
10765
|
altText: OpusDNS API Reference
|
|
10678
10766
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -17919,16 +18007,39 @@ paths:
|
|
|
17919
18007
|
- domain
|
|
17920
18008
|
/v1/domains/check:
|
|
17921
18009
|
get:
|
|
18010
|
+
description: "Performs a real-time check against the authoritative registry\
|
|
18011
|
+
\ for each domain and returns availability plus any registry-specific metadata\
|
|
18012
|
+
\ needed to register it.\n\nFor each domain the response includes:\n- **Availability**\
|
|
18013
|
+
\ \u2014 whether the domain can be registered, and the registry's reason if\
|
|
18014
|
+
\ not.\n- **Trademark claims (TMCH)** \u2014 when the TLD is in its claims\
|
|
18015
|
+
\ phase and the domain matches a trademark in the Trademark Clearinghouse,\
|
|
18016
|
+
\ a `claims_key` is returned. The corresponding claims notice must be retrieved\
|
|
18017
|
+
\ and acknowledged before the domain can be registered. See the [Trademarked\
|
|
18018
|
+
\ domains](/products/domains/trademarked-domains) guide for the full workflow.\n\
|
|
18019
|
+
- **Premium status and pricing** \u2014 whether the domain is classified as\
|
|
18020
|
+
\ premium by the registry, and if so, the price per action (create / renew\
|
|
18021
|
+
\ / transfer / restore). See the [Premium domains](/products/domains/premium)\
|
|
18022
|
+
\ guide for background on how premium domains are priced and registered.\n\
|
|
18023
|
+
\nDomains are queried in parallel, grouped by registry connection. Availability\
|
|
18024
|
+
\ and metadata reflect the registry's state at the moment of the call and\
|
|
18025
|
+
\ are not cached."
|
|
17922
18026
|
operationId: epp_check_domain_v1_domains_check_get
|
|
17923
18027
|
parameters:
|
|
17924
18028
|
- description: '
|
|
17925
18029
|
|
|
17926
|
-
|
|
18030
|
+
One or more fully-qualified domain names to check at the registry.
|
|
18031
|
+
|
|
18032
|
+
|
|
18033
|
+
Each domain is checked for availability and, when applicable, enriched with
|
|
18034
|
+
|
|
18035
|
+
trademark claims information and premium pricing. The list of domains may
|
|
18036
|
+
|
|
18037
|
+
include a mix of TLDs.
|
|
17927
18038
|
|
|
17928
18039
|
'
|
|
17929
18040
|
examples:
|
|
17930
18041
|
list:
|
|
17931
|
-
summary: A list of
|
|
18042
|
+
summary: A list of domain names to check
|
|
17932
18043
|
value:
|
|
17933
18044
|
- example.com
|
|
17934
18045
|
- example.org
|
|
@@ -17938,7 +18049,16 @@ paths:
|
|
|
17938
18049
|
schema:
|
|
17939
18050
|
description: '
|
|
17940
18051
|
|
|
17941
|
-
|
|
18052
|
+
One or more fully-qualified domain names to check at the registry.
|
|
18053
|
+
|
|
18054
|
+
|
|
18055
|
+
Each domain is checked for availability and, when applicable, enriched
|
|
18056
|
+
with
|
|
18057
|
+
|
|
18058
|
+
trademark claims information and premium pricing. The list of domains
|
|
18059
|
+
may
|
|
18060
|
+
|
|
18061
|
+
include a mix of TLDs.
|
|
17942
18062
|
|
|
17943
18063
|
'
|
|
17944
18064
|
items:
|
|
@@ -17961,7 +18081,7 @@ paths:
|
|
|
17961
18081
|
security:
|
|
17962
18082
|
- OAuth2PasswordBearer: []
|
|
17963
18083
|
- APIKeyHeader: []
|
|
17964
|
-
summary: Check domain availability
|
|
18084
|
+
summary: Check domain availability and registration metadata
|
|
17965
18085
|
tags:
|
|
17966
18086
|
- domain
|
|
17967
18087
|
/v1/domains/summary:
|
package/src/schema.d.ts
CHANGED
|
@@ -1028,7 +1028,17 @@ export interface paths {
|
|
|
1028
1028
|
path?: never;
|
|
1029
1029
|
cookie?: never;
|
|
1030
1030
|
};
|
|
1031
|
-
/**
|
|
1031
|
+
/**
|
|
1032
|
+
* Check domain availability and registration metadata
|
|
1033
|
+
* @description Performs a real-time check against the authoritative registry for each domain and returns availability plus any registry-specific metadata needed to register it.
|
|
1034
|
+
*
|
|
1035
|
+
* For each domain the response includes:
|
|
1036
|
+
* - **Availability** — whether the domain can be registered, and the registry's reason if not.
|
|
1037
|
+
* - **Trademark claims (TMCH)** — when the TLD is in its claims phase and the domain matches a trademark in the Trademark Clearinghouse, a `claims_key` is returned. The corresponding claims notice must be retrieved and acknowledged before the domain can be registered. See the [Trademarked domains](/products/domains/trademarked-domains) guide for the full workflow.
|
|
1038
|
+
* - **Premium status and pricing** — whether the domain is classified as premium by the registry, and if so, the price per action (create / renew / transfer / restore). See the [Premium domains](/products/domains/premium) guide for background on how premium domains are priced and registered.
|
|
1039
|
+
*
|
|
1040
|
+
* Domains are queried in parallel, grouped by registry connection. Availability and metadata reflect the registry's state at the moment of the call and are not cached.
|
|
1041
|
+
*/
|
|
1032
1042
|
get: operations["epp_check_domain_v1_domains_check_get"];
|
|
1033
1043
|
put?: never;
|
|
1034
1044
|
post?: never;
|
|
@@ -3105,6 +3115,16 @@ export interface components {
|
|
|
3105
3115
|
*/
|
|
3106
3116
|
type: "contact_create" | "contact_create_bulk";
|
|
3107
3117
|
};
|
|
3118
|
+
/** ContactCreateWorkerResult */
|
|
3119
|
+
ContactCreateWorkerResult: {
|
|
3120
|
+
/** Contact Id */
|
|
3121
|
+
contact_id: string;
|
|
3122
|
+
/**
|
|
3123
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3124
|
+
* @enum {string}
|
|
3125
|
+
*/
|
|
3126
|
+
type: "contact_create" | "contact_create_bulk";
|
|
3127
|
+
};
|
|
3108
3128
|
/** ContactHandle */
|
|
3109
3129
|
ContactHandle: {
|
|
3110
3130
|
/**
|
|
@@ -3977,6 +3997,16 @@ export interface components {
|
|
|
3977
3997
|
type: "dns_zone_create" | "dns_zone_create_bulk";
|
|
3978
3998
|
zone: components["schemas"]["DnsZoneCreatePayloadData"];
|
|
3979
3999
|
};
|
|
4000
|
+
/** DnsZoneCreateWorkerResult */
|
|
4001
|
+
DnsZoneCreateWorkerResult: {
|
|
4002
|
+
/**
|
|
4003
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4004
|
+
* @enum {string}
|
|
4005
|
+
*/
|
|
4006
|
+
type: "dns_zone_create" | "dns_zone_create_bulk";
|
|
4007
|
+
/** Zone Name */
|
|
4008
|
+
zone_name: string;
|
|
4009
|
+
};
|
|
3980
4010
|
/** DnsZonePatchRecordsBulkCommand */
|
|
3981
4011
|
DnsZonePatchRecordsBulkCommand: {
|
|
3982
4012
|
/**
|
|
@@ -4538,6 +4568,16 @@ export interface components {
|
|
|
4538
4568
|
*/
|
|
4539
4569
|
type: "domain_create" | "domain_create_bulk";
|
|
4540
4570
|
};
|
|
4571
|
+
/** DomainCreateWorkerResult */
|
|
4572
|
+
DomainCreateWorkerResult: {
|
|
4573
|
+
/** Domain Id */
|
|
4574
|
+
domain_id: string;
|
|
4575
|
+
/**
|
|
4576
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4577
|
+
* @enum {string}
|
|
4578
|
+
*/
|
|
4579
|
+
type: "domain_create" | "domain_create_bulk";
|
|
4580
|
+
};
|
|
4541
4581
|
/** DomainDnssecDataCreate */
|
|
4542
4582
|
DomainDnssecDataCreate: {
|
|
4543
4583
|
/** @description DNSSEC algorithm used */
|
|
@@ -6720,6 +6760,13 @@ export interface components {
|
|
|
6720
6760
|
* @description Resource identifier for this job
|
|
6721
6761
|
*/
|
|
6722
6762
|
resource_key?: string | null;
|
|
6763
|
+
/**
|
|
6764
|
+
* Result
|
|
6765
|
+
* @description Structured result data from successful job execution (e.g. created entity IDs). Typed when the worker emits a known `type` discriminator; raw dict otherwise.
|
|
6766
|
+
*/
|
|
6767
|
+
result?: (components["schemas"]["ContactCreateWorkerResult"] | components["schemas"]["DomainCreateWorkerResult"] | components["schemas"]["DnsZoneCreateWorkerResult"]) | {
|
|
6768
|
+
[key: string]: unknown;
|
|
6769
|
+
} | null;
|
|
6723
6770
|
/**
|
|
6724
6771
|
* Started At
|
|
6725
6772
|
* @description Timestamp when job execution began (UTC)
|
|
@@ -8209,17 +8256,20 @@ export interface components {
|
|
|
8209
8256
|
PremiumPricingAction: {
|
|
8210
8257
|
/**
|
|
8211
8258
|
* Action
|
|
8212
|
-
* @description The action (e.g., create, renew, transfer)
|
|
8259
|
+
* @description The action this price applies to (e.g., create, renew, transfer)
|
|
8260
|
+
* @example create
|
|
8213
8261
|
*/
|
|
8214
8262
|
action: string;
|
|
8215
8263
|
/**
|
|
8216
8264
|
* Currency
|
|
8217
|
-
* @description
|
|
8265
|
+
* @description ISO 4217 currency code
|
|
8266
|
+
* @example EUR
|
|
8218
8267
|
*/
|
|
8219
8268
|
currency: string;
|
|
8220
8269
|
/**
|
|
8221
8270
|
* Price
|
|
8222
|
-
* @description
|
|
8271
|
+
* @description Price for the action
|
|
8272
|
+
* @example 625.00
|
|
8223
8273
|
*/
|
|
8224
8274
|
price: string;
|
|
8225
8275
|
};
|
|
@@ -9482,28 +9532,36 @@ export interface components {
|
|
|
9482
9532
|
};
|
|
9483
9533
|
/** DomainAvailabilityResponse */
|
|
9484
9534
|
common__models__domain__domain__DomainAvailabilityResponse: {
|
|
9485
|
-
/**
|
|
9535
|
+
/**
|
|
9536
|
+
* Available
|
|
9537
|
+
* @description True if the domain is available for registration
|
|
9538
|
+
*/
|
|
9486
9539
|
available: boolean;
|
|
9487
9540
|
/**
|
|
9488
9541
|
* Claims Key
|
|
9489
|
-
* @description
|
|
9542
|
+
* @description Trademark claims key returned when the TLD is in its claims phase and the domain matches a TMCH-registered mark. When present, the corresponding claims notice must be retrieved and acknowledged before registration.
|
|
9543
|
+
* @example 2013041500/2/6/9/rJ1NrDO92vDsAzf7EQzgjX4R0000000001
|
|
9490
9544
|
*/
|
|
9491
9545
|
claims_key?: string | null;
|
|
9492
9546
|
/**
|
|
9493
9547
|
* Domain
|
|
9494
|
-
* @description The domain name
|
|
9548
|
+
* @description The domain name that was checked
|
|
9495
9549
|
* @example example.com
|
|
9496
9550
|
*/
|
|
9497
9551
|
domain: string;
|
|
9498
9552
|
/**
|
|
9499
9553
|
* Is Premium
|
|
9500
|
-
* @description
|
|
9554
|
+
* @description True if the registry classifies this domain as premium (non-standard pricing)
|
|
9501
9555
|
* @default false
|
|
9502
9556
|
*/
|
|
9503
9557
|
is_premium: boolean;
|
|
9504
|
-
/** @description Premium pricing
|
|
9558
|
+
/** @description Premium pricing per action (create / renew / transfer / restore). Present only when `is_premium` is true and the registry returned pricing. */
|
|
9505
9559
|
premium_pricing?: components["schemas"]["PremiumPricingResponse"] | null;
|
|
9506
|
-
/**
|
|
9560
|
+
/**
|
|
9561
|
+
* Reason
|
|
9562
|
+
* @description Registry-supplied reason the domain is unavailable (e.g. 'Domain exists', 'Reserved', 'In Use'). May be null when the domain is available, or when the registry did not provide a reason.
|
|
9563
|
+
* @example Domain exists
|
|
9564
|
+
*/
|
|
9507
9565
|
reason: string | null;
|
|
9508
9566
|
};
|
|
9509
9567
|
};
|
|
@@ -14625,7 +14683,11 @@ export interface operations {
|
|
|
14625
14683
|
parameters: {
|
|
14626
14684
|
query: {
|
|
14627
14685
|
/** @description
|
|
14628
|
-
*
|
|
14686
|
+
* One or more fully-qualified domain names to check at the registry.
|
|
14687
|
+
*
|
|
14688
|
+
* Each domain is checked for availability and, when applicable, enriched with
|
|
14689
|
+
* trademark claims information and premium pricing. The list of domains may
|
|
14690
|
+
* include a mix of TLDs.
|
|
14629
14691
|
* */
|
|
14630
14692
|
domains: string[];
|
|
14631
14693
|
};
|