@opusdns/api 0.281.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 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.281.0",
6
+ "version": "0.282.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -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
@@ -10279,7 +10279,7 @@ info:
10279
10279
  \n\n"
10280
10280
  summary: OpusDNS - your gateway to a seamless domain management experience.
10281
10281
  title: OpusDNS API
10282
- version: 2026-04-30-152802
10282
+ version: 2026-04-30-202536
10283
10283
  x-logo:
10284
10284
  altText: OpusDNS API Reference
10285
10285
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -16697,6 +16697,15 @@ paths:
16697
16697
  title: Domain Management Error
16698
16698
  tld: Additional error context.
16699
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
16700
16709
  Domain Transfer Error:
16701
16710
  value:
16702
16711
  code: ERROR_DOMAIN_TRANSFER
@@ -16709,6 +16718,20 @@ paths:
16709
16718
  schema:
16710
16719
  $ref: '#/components/schemas/Problem'
16711
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
16712
16735
  '404':
16713
16736
  content:
16714
16737
  application/problem+json:
@@ -16725,13 +16748,34 @@ paths:
16725
16748
  '409':
16726
16749
  content:
16727
16750
  application/problem+json:
16728
- example:
16729
- code: ERROR_DOMAIN_EXISTS
16730
- detail: Domain already exists
16731
- domain_name: Additional error context.
16732
- status: 409
16733
- title: Domain Management Error
16734
- type: domain-exists
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
16735
16779
  schema:
16736
16780
  $ref: '#/components/schemas/Problem'
16737
16781
  description: Conflict
package/src/schema.d.ts CHANGED
@@ -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
  };