@opusdns/api 0.280.0 → 0.282.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/constants.ts +3 -1
- package/src/helpers/responses.d.ts +19 -1
- package/src/openapi.yaml +53 -8
- package/src/schema.d.ts +19 -9
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1263,6 +1263,7 @@ export const DNSSEC_STATUS_VALUES = [
|
|
|
1263
1263
|
export const DOMAIN_ATTRIBUTE_KEY = {
|
|
1264
1264
|
AUTO_RENEW_PERIOD: "auto_renew_period",
|
|
1265
1265
|
MUSIC_REGISTRANT_ATTESTATION: "music_registrant_attestation",
|
|
1266
|
+
TRAVEL_INDUSTRY_ACKNOWLEDGEMENT: "travel_industry_acknowledgement",
|
|
1266
1267
|
} as const satisfies Record<string, DomainAttributeKey>;
|
|
1267
1268
|
|
|
1268
1269
|
/**
|
|
@@ -1288,7 +1289,8 @@ export const DOMAIN_ATTRIBUTE_KEY = {
|
|
|
1288
1289
|
*/
|
|
1289
1290
|
export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
|
|
1290
1291
|
'auto_renew_period',
|
|
1291
|
-
'music_registrant_attestation'
|
|
1292
|
+
'music_registrant_attestation',
|
|
1293
|
+
'travel_industry_acknowledgement'
|
|
1292
1294
|
] as const satisfies [string, ...string[]] | DomainAttributeKey[];
|
|
1293
1295
|
|
|
1294
1296
|
/**
|
|
@@ -6434,13 +6434,14 @@ This process can take up to 5 days, until the transfer is approved
|
|
|
6434
6434
|
*
|
|
6435
6435
|
* @see {@link POST_DomainsTransfer_Response_201} - 201 response type
|
|
6436
6436
|
* @see {@link POST_DomainsTransfer_Response_400} - 400 response type
|
|
6437
|
+
* @see {@link POST_DomainsTransfer_Response_403} - 403 response type
|
|
6437
6438
|
* @see {@link POST_DomainsTransfer_Response_404} - 404 response type
|
|
6438
6439
|
* @see {@link POST_DomainsTransfer_Response_409} - 409 response type
|
|
6439
6440
|
* @see {@link POST_DomainsTransfer_Response_422} - 422 response type
|
|
6440
6441
|
*
|
|
6441
6442
|
|
|
6442
6443
|
*/
|
|
6443
|
-
export type POST_DomainsTransfer_Response = POST_DomainsTransfer_Response_201 | POST_DomainsTransfer_Response_400 | POST_DomainsTransfer_Response_404 | POST_DomainsTransfer_Response_409 | POST_DomainsTransfer_Response_422;
|
|
6444
|
+
export type POST_DomainsTransfer_Response = POST_DomainsTransfer_Response_201 | POST_DomainsTransfer_Response_400 | POST_DomainsTransfer_Response_403 | POST_DomainsTransfer_Response_404 | POST_DomainsTransfer_Response_409 | POST_DomainsTransfer_Response_422;
|
|
6444
6445
|
|
|
6445
6446
|
/**
|
|
6446
6447
|
* 201 response for POST DomainsTransfer endpoint
|
|
@@ -6476,6 +6477,23 @@ export type POST_DomainsTransfer_Response_201 = Domain
|
|
|
6476
6477
|
*/
|
|
6477
6478
|
export type POST_DomainsTransfer_Response_400 = Problem
|
|
6478
6479
|
|
|
6480
|
+
/**
|
|
6481
|
+
* 403 response for POST DomainsTransfer endpoint
|
|
6482
|
+
*
|
|
6483
|
+
* @remarks
|
|
6484
|
+
* This type defines the response structure for the 403 status code
|
|
6485
|
+
* of the POST DomainsTransfer endpoint.
|
|
6486
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
6487
|
+
*
|
|
6488
|
+
|
|
6489
|
+
*
|
|
6490
|
+
* @path /v1/domains/transfer
|
|
6491
|
+
*
|
|
6492
|
+
* @see {@link POST_DomainsTransfer_Response} - The main response type definition
|
|
6493
|
+
* @see {@link Problem} - The actual schema type definition
|
|
6494
|
+
*/
|
|
6495
|
+
export type POST_DomainsTransfer_Response_403 = Problem
|
|
6496
|
+
|
|
6479
6497
|
/**
|
|
6480
6498
|
* 404 response for POST DomainsTransfer endpoint
|
|
6481
6499
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -2561,6 +2561,7 @@ components:
|
|
|
2561
2561
|
enum:
|
|
2562
2562
|
- auto_renew_period
|
|
2563
2563
|
- music_registrant_attestation
|
|
2564
|
+
- travel_industry_acknowledgement
|
|
2564
2565
|
title: DomainAttributeKey
|
|
2565
2566
|
type: string
|
|
2566
2567
|
DomainAvailability:
|
|
@@ -10278,7 +10279,7 @@ info:
|
|
|
10278
10279
|
\n\n"
|
|
10279
10280
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
10280
10281
|
title: OpusDNS API
|
|
10281
|
-
version: 2026-04-30-
|
|
10282
|
+
version: 2026-04-30-202536
|
|
10282
10283
|
x-logo:
|
|
10283
10284
|
altText: OpusDNS API Reference
|
|
10284
10285
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -16696,6 +16697,15 @@ paths:
|
|
|
16696
16697
|
title: Domain Management Error
|
|
16697
16698
|
tld: Additional error context.
|
|
16698
16699
|
type: domain-tld-not-available
|
|
16700
|
+
Domain Transfer AuthInfo Malformed:
|
|
16701
|
+
value:
|
|
16702
|
+
code: ERROR_DOMAIN_TRANSFER_AUTHINFO_MALFORMED
|
|
16703
|
+
detail: There was an error transferring the domain
|
|
16704
|
+
domain_name: Additional error context.
|
|
16705
|
+
reason: 'Domain transfer failed: AuthInfo is missing or malformed'
|
|
16706
|
+
status: 400
|
|
16707
|
+
title: Domain Transfer AuthInfo Malformed
|
|
16708
|
+
type: domain-transfer-auth-info-malformed
|
|
16699
16709
|
Domain Transfer Error:
|
|
16700
16710
|
value:
|
|
16701
16711
|
code: ERROR_DOMAIN_TRANSFER
|
|
@@ -16708,6 +16718,20 @@ paths:
|
|
|
16708
16718
|
schema:
|
|
16709
16719
|
$ref: '#/components/schemas/Problem'
|
|
16710
16720
|
description: Bad Request
|
|
16721
|
+
'403':
|
|
16722
|
+
content:
|
|
16723
|
+
application/problem+json:
|
|
16724
|
+
example:
|
|
16725
|
+
code: ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE
|
|
16726
|
+
detail: There was an error transferring the domain
|
|
16727
|
+
domain_name: Additional error context.
|
|
16728
|
+
reason: Domain transfer failed, invalid auth code provided
|
|
16729
|
+
status: 403
|
|
16730
|
+
title: Domain Transfer Error
|
|
16731
|
+
type: domain-transfer-invalid-auth
|
|
16732
|
+
schema:
|
|
16733
|
+
$ref: '#/components/schemas/Problem'
|
|
16734
|
+
description: Forbidden
|
|
16711
16735
|
'404':
|
|
16712
16736
|
content:
|
|
16713
16737
|
application/problem+json:
|
|
@@ -16724,13 +16748,34 @@ paths:
|
|
|
16724
16748
|
'409':
|
|
16725
16749
|
content:
|
|
16726
16750
|
application/problem+json:
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
|
|
16751
|
+
examples:
|
|
16752
|
+
Domain Management Error:
|
|
16753
|
+
value:
|
|
16754
|
+
code: ERROR_DOMAIN_EXISTS
|
|
16755
|
+
detail: Domain already exists
|
|
16756
|
+
domain_name: Additional error context.
|
|
16757
|
+
status: 409
|
|
16758
|
+
title: Domain Management Error
|
|
16759
|
+
type: domain-exists
|
|
16760
|
+
Domain Transfer Already Owned:
|
|
16761
|
+
value:
|
|
16762
|
+
code: ERROR_DOMAIN_TRANSFER_ALREADY_OWNED
|
|
16763
|
+
detail: There was an error transferring the domain
|
|
16764
|
+
domain_name: Additional error context.
|
|
16765
|
+
reason: Domain is already managed by your registry account; transfer
|
|
16766
|
+
is not applicable
|
|
16767
|
+
status: 409
|
|
16768
|
+
title: Domain Transfer Already Owned
|
|
16769
|
+
type: domain-transfer-already-owned
|
|
16770
|
+
Domain Transfer Error:
|
|
16771
|
+
value:
|
|
16772
|
+
code: ERROR_DOMAIN_TRANSFER_NOT_ALLOWED
|
|
16773
|
+
detail: There was an error transferring the domain
|
|
16774
|
+
domain_name: Additional error context.
|
|
16775
|
+
reason: Domain transfer was rejected by the registry
|
|
16776
|
+
status: 409
|
|
16777
|
+
title: Domain Transfer Error
|
|
16778
|
+
type: domain-transfer-rejected
|
|
16734
16779
|
schema:
|
|
16735
16780
|
$ref: '#/components/schemas/Problem'
|
|
16736
16781
|
description: Conflict
|
package/src/schema.d.ts
CHANGED
|
@@ -3983,7 +3983,7 @@ export interface components {
|
|
|
3983
3983
|
* DomainAttributeKey
|
|
3984
3984
|
* @enum {string}
|
|
3985
3985
|
*/
|
|
3986
|
-
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation";
|
|
3986
|
+
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "travel_industry_acknowledgement";
|
|
3987
3987
|
/** DomainAvailability */
|
|
3988
3988
|
DomainAvailability: {
|
|
3989
3989
|
/** Domain */
|
|
@@ -13324,6 +13324,24 @@ export interface operations {
|
|
|
13324
13324
|
"application/problem+json": components["schemas"]["Problem"];
|
|
13325
13325
|
};
|
|
13326
13326
|
};
|
|
13327
|
+
/** @description Forbidden */
|
|
13328
|
+
403: {
|
|
13329
|
+
headers: {
|
|
13330
|
+
[name: string]: unknown;
|
|
13331
|
+
};
|
|
13332
|
+
content: {
|
|
13333
|
+
/** @example {
|
|
13334
|
+
* "code": "ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE",
|
|
13335
|
+
* "detail": "There was an error transferring the domain",
|
|
13336
|
+
* "domain_name": "Additional error context.",
|
|
13337
|
+
* "reason": "Domain transfer failed, invalid auth code provided",
|
|
13338
|
+
* "status": 403,
|
|
13339
|
+
* "title": "Domain Transfer Error",
|
|
13340
|
+
* "type": "domain-transfer-invalid-auth"
|
|
13341
|
+
* } */
|
|
13342
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
13343
|
+
};
|
|
13344
|
+
};
|
|
13327
13345
|
/** @description Not Found */
|
|
13328
13346
|
404: {
|
|
13329
13347
|
headers: {
|
|
@@ -13347,14 +13365,6 @@ export interface operations {
|
|
|
13347
13365
|
[name: string]: unknown;
|
|
13348
13366
|
};
|
|
13349
13367
|
content: {
|
|
13350
|
-
/** @example {
|
|
13351
|
-
* "code": "ERROR_DOMAIN_EXISTS",
|
|
13352
|
-
* "detail": "Domain already exists",
|
|
13353
|
-
* "domain_name": "Additional error context.",
|
|
13354
|
-
* "status": 409,
|
|
13355
|
-
* "title": "Domain Management Error",
|
|
13356
|
-
* "type": "domain-exists"
|
|
13357
|
-
* } */
|
|
13358
13368
|
"application/problem+json": components["schemas"]["Problem"];
|
|
13359
13369
|
};
|
|
13360
13370
|
};
|