@opusdns/api 0.116.0 → 0.117.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.9.1"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.116.0",
6
+ "version": "0.117.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -4747,12 +4747,13 @@ export type POST_DomainsTldSpecificAtByDomainReferenceWithdraw_Response_422 = HT
4747
4747
  * @path /v1/domains/tld-specific/be/{domain_reference}/auth_code/request
4748
4748
  *
4749
4749
  * @see {@link POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_200} - 200 response type
4750
+ * @see {@link POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_400} - 400 response type
4750
4751
  * @see {@link POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_404} - 404 response type
4751
4752
  * @see {@link POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_422} - 422 response type
4752
4753
  *
4753
4754
 
4754
4755
  */
4755
- export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_422;
4756
+ export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_422;
4756
4757
 
4757
4758
  /**
4758
4759
  * 200 response for POST DomainsTldSpecificBeByDomainReferenceAuthCodeRequest endpoint
@@ -4771,6 +4772,23 @@ export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response =
4771
4772
  */
4772
4773
  export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode
4773
4774
 
4775
+ /**
4776
+ * 400 response for POST DomainsTldSpecificBeByDomainReferenceAuthCodeRequest endpoint
4777
+ *
4778
+ * @remarks
4779
+ * This type defines the response structure for the 400 status code
4780
+ * of the POST DomainsTldSpecificBeByDomainReferenceAuthCodeRequest endpoint.
4781
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
4782
+ *
4783
+
4784
+ *
4785
+ * @path /v1/domains/tld-specific/be/{domain_reference}/auth_code/request
4786
+ *
4787
+ * @see {@link POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response} - The main response type definition
4788
+ * @see {@link Problem} - The actual schema type definition
4789
+ */
4790
+ export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_400 = Problem
4791
+
4774
4792
  /**
4775
4793
  * 404 response for POST DomainsTldSpecificBeByDomainReferenceAuthCodeRequest endpoint
4776
4794
  *
package/src/openapi.yaml CHANGED
@@ -5921,7 +5921,7 @@ info:
5921
5921
  '
5922
5922
  summary: OpusDNS - your gateway to a seamless domain management experience.
5923
5923
  title: OpusDNS API
5924
- version: 2025-12-08-144347
5924
+ version: 2025-12-08-162155
5925
5925
  x-logo:
5926
5926
  altText: OpusDNS API Reference
5927
5927
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -10047,6 +10047,20 @@ paths:
10047
10047
  schema:
10048
10048
  $ref: '#/components/schemas/RequestAuthcodeResponse'
10049
10049
  description: Successful Response
10050
+ '400':
10051
+ content:
10052
+ application/problem+json:
10053
+ example:
10054
+ code: ERROR_DOMAIN_TRANSFER
10055
+ detail: There was an error transferring the domain
10056
+ domain_name: Additional error context.
10057
+ reason: An unspecified error occurred
10058
+ status: 400
10059
+ title: Domain Transfer Error
10060
+ type: domain-transfer
10061
+ schema:
10062
+ $ref: '#/components/schemas/Problem'
10063
+ description: Bad Request
10050
10064
  '404':
10051
10065
  content:
10052
10066
  application/problem+json:
package/src/schema.d.ts CHANGED
@@ -8460,6 +8460,24 @@ export interface operations {
8460
8460
  "application/json": components["schemas"]["RequestAuthcodeResponse"];
8461
8461
  };
8462
8462
  };
8463
+ /** @description Bad Request */
8464
+ 400: {
8465
+ headers: {
8466
+ [name: string]: unknown;
8467
+ };
8468
+ content: {
8469
+ /** @example {
8470
+ * "code": "ERROR_DOMAIN_TRANSFER",
8471
+ * "detail": "There was an error transferring the domain",
8472
+ * "domain_name": "Additional error context.",
8473
+ * "reason": "An unspecified error occurred",
8474
+ * "status": 400,
8475
+ * "title": "Domain Transfer Error",
8476
+ * "type": "domain-transfer"
8477
+ * } */
8478
+ "application/problem+json": components["schemas"]["Problem"];
8479
+ };
8480
+ };
8463
8481
  /** @description Not Found */
8464
8482
  404: {
8465
8483
  headers: {