@opusdns/api 0.89.0 → 0.90.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/responses.d.ts +25 -6
- package/src/openapi.yaml +22 -12
- package/src/schema.d.ts +25 -9
package/package.json
CHANGED
|
@@ -1676,11 +1676,30 @@ export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
|
1676
1676
|
* @path /v1/domain-forwards/{zone_name}/{request_protocol}
|
|
1677
1677
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1678
1678
|
*
|
|
1679
|
+
* @see {@link DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_404} - 404 response type
|
|
1679
1680
|
* @see {@link DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_422} - 422 response type
|
|
1680
1681
|
*
|
|
1681
1682
|
|
|
1682
1683
|
*/
|
|
1683
|
-
export type DELETE_DomainForwardsByZoneNameByRequestProtocol_Response = DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_422;
|
|
1684
|
+
export type DELETE_DomainForwardsByZoneNameByRequestProtocol_Response = DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_404 | DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_422;
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* 404 response for DELETE DomainForwardsByZoneNameByRequestProtocol endpoint
|
|
1688
|
+
*
|
|
1689
|
+
* @remarks
|
|
1690
|
+
* This type defines the response structure for the 404 status code
|
|
1691
|
+
* of the DELETE DomainForwardsByZoneNameByRequestProtocol endpoint.
|
|
1692
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1693
|
+
*
|
|
1694
|
+
|
|
1695
|
+
*
|
|
1696
|
+
* @path /v1/domain-forwards/{zone_name}/{request_protocol}
|
|
1697
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1698
|
+
*
|
|
1699
|
+
* @see {@link DELETE_DomainForwardsByZoneNameByRequestProtocol_Response} - The main response type definition
|
|
1700
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1701
|
+
*/
|
|
1702
|
+
export type DELETE_DomainForwardsByZoneNameByRequestProtocol_Response_404 = Problem
|
|
1684
1703
|
|
|
1685
1704
|
/**
|
|
1686
1705
|
* 422 response for DELETE DomainForwardsByZoneNameByRequestProtocol endpoint
|
|
@@ -1851,12 +1870,12 @@ export type POST_DomainForwardsByZoneNameByRequestProtocol_Response_422 = HTTPVa
|
|
|
1851
1870
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1852
1871
|
*
|
|
1853
1872
|
* @see {@link PUT_DomainForwardsByZoneNameByRequestProtocol_Response_200} - 200 response type
|
|
1854
|
-
* @see {@link
|
|
1873
|
+
* @see {@link PUT_DomainForwardsByZoneNameByRequestProtocol_Response_404} - 404 response type
|
|
1855
1874
|
* @see {@link PUT_DomainForwardsByZoneNameByRequestProtocol_Response_422} - 422 response type
|
|
1856
1875
|
*
|
|
1857
1876
|
|
|
1858
1877
|
*/
|
|
1859
|
-
export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response = PUT_DomainForwardsByZoneNameByRequestProtocol_Response_200 |
|
|
1878
|
+
export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response = PUT_DomainForwardsByZoneNameByRequestProtocol_Response_200 | PUT_DomainForwardsByZoneNameByRequestProtocol_Response_404 | PUT_DomainForwardsByZoneNameByRequestProtocol_Response_422;
|
|
1860
1879
|
|
|
1861
1880
|
/**
|
|
1862
1881
|
* 200 response for PUT DomainForwardsByZoneNameByRequestProtocol endpoint
|
|
@@ -1877,10 +1896,10 @@ export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response = PUT_DomainF
|
|
|
1877
1896
|
export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response_200 = DomainForward
|
|
1878
1897
|
|
|
1879
1898
|
/**
|
|
1880
|
-
*
|
|
1899
|
+
* 404 response for PUT DomainForwardsByZoneNameByRequestProtocol endpoint
|
|
1881
1900
|
*
|
|
1882
1901
|
* @remarks
|
|
1883
|
-
* This type defines the response structure for the
|
|
1902
|
+
* This type defines the response structure for the 404 status code
|
|
1884
1903
|
* of the PUT DomainForwardsByZoneNameByRequestProtocol endpoint.
|
|
1885
1904
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1886
1905
|
*
|
|
@@ -1892,7 +1911,7 @@ export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response_200 = DomainF
|
|
|
1892
1911
|
* @see {@link PUT_DomainForwardsByZoneNameByRequestProtocol_Response} - The main response type definition
|
|
1893
1912
|
* @see {@link Problem} - The actual schema type definition
|
|
1894
1913
|
*/
|
|
1895
|
-
export type
|
|
1914
|
+
export type PUT_DomainForwardsByZoneNameByRequestProtocol_Response_404 = Problem
|
|
1896
1915
|
|
|
1897
1916
|
/**
|
|
1898
1917
|
* 422 response for PUT DomainForwardsByZoneNameByRequestProtocol endpoint
|
package/src/openapi.yaml
CHANGED
|
@@ -5005,7 +5005,7 @@ info:
|
|
|
5005
5005
|
'
|
|
5006
5006
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5007
5007
|
title: OpusDNS API
|
|
5008
|
-
version: 2025-10-29-
|
|
5008
|
+
version: 2025-10-29-163217
|
|
5009
5009
|
x-logo:
|
|
5010
5010
|
altText: OpusDNS API Reference
|
|
5011
5011
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -6562,6 +6562,18 @@ paths:
|
|
|
6562
6562
|
responses:
|
|
6563
6563
|
'204':
|
|
6564
6564
|
description: Successful Response
|
|
6565
|
+
'404':
|
|
6566
|
+
content:
|
|
6567
|
+
application/problem+json:
|
|
6568
|
+
example:
|
|
6569
|
+
code: ERROR_DOMAIN_FORWARD_NOT_EXISTS
|
|
6570
|
+
detail: Domain forward not found
|
|
6571
|
+
status: 404
|
|
6572
|
+
title: Domain Forward Error
|
|
6573
|
+
type: domain-forward-not-found
|
|
6574
|
+
schema:
|
|
6575
|
+
$ref: '#/components/schemas/Problem'
|
|
6576
|
+
description: Not Found
|
|
6565
6577
|
'422':
|
|
6566
6578
|
content:
|
|
6567
6579
|
application/problem+json:
|
|
@@ -6640,12 +6652,11 @@ paths:
|
|
|
6640
6652
|
content:
|
|
6641
6653
|
application/problem+json:
|
|
6642
6654
|
example:
|
|
6643
|
-
code:
|
|
6644
|
-
detail:
|
|
6645
|
-
e, r, r, o, r, , c, o, n, t, e, x, t, .
|
|
6655
|
+
code: ERROR_DOMAIN_FORWARD_ALREADY_EXISTS
|
|
6656
|
+
detail: Domain forward already exists
|
|
6646
6657
|
status: 409
|
|
6647
6658
|
title: Domain Forward Error
|
|
6648
|
-
type: domain-forward-
|
|
6659
|
+
type: domain-forward-already-exists
|
|
6649
6660
|
schema:
|
|
6650
6661
|
$ref: '#/components/schemas/Problem'
|
|
6651
6662
|
description: Conflict
|
|
@@ -6689,19 +6700,18 @@ paths:
|
|
|
6689
6700
|
schema:
|
|
6690
6701
|
$ref: '#/components/schemas/DomainForward'
|
|
6691
6702
|
description: Successful Response
|
|
6692
|
-
'
|
|
6703
|
+
'404':
|
|
6693
6704
|
content:
|
|
6694
6705
|
application/problem+json:
|
|
6695
6706
|
example:
|
|
6696
|
-
code:
|
|
6697
|
-
detail:
|
|
6698
|
-
|
|
6699
|
-
status: 409
|
|
6707
|
+
code: ERROR_DOMAIN_FORWARD_NOT_EXISTS
|
|
6708
|
+
detail: Domain forward not found
|
|
6709
|
+
status: 404
|
|
6700
6710
|
title: Domain Forward Error
|
|
6701
|
-
type: domain-forward-
|
|
6711
|
+
type: domain-forward-not-found
|
|
6702
6712
|
schema:
|
|
6703
6713
|
$ref: '#/components/schemas/Problem'
|
|
6704
|
-
description:
|
|
6714
|
+
description: Not Found
|
|
6705
6715
|
'422':
|
|
6706
6716
|
content:
|
|
6707
6717
|
application/problem+json:
|
package/src/schema.d.ts
CHANGED
|
@@ -5903,18 +5903,18 @@ export interface operations {
|
|
|
5903
5903
|
"application/json": components["schemas"]["DomainForward"];
|
|
5904
5904
|
};
|
|
5905
5905
|
};
|
|
5906
|
-
/** @description
|
|
5907
|
-
|
|
5906
|
+
/** @description Not Found */
|
|
5907
|
+
404: {
|
|
5908
5908
|
headers: {
|
|
5909
5909
|
[name: string]: unknown;
|
|
5910
5910
|
};
|
|
5911
5911
|
content: {
|
|
5912
5912
|
/** @example {
|
|
5913
|
-
* "code": "
|
|
5914
|
-
* "detail": "
|
|
5915
|
-
* "status":
|
|
5913
|
+
* "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
|
|
5914
|
+
* "detail": "Domain forward not found",
|
|
5915
|
+
* "status": 404,
|
|
5916
5916
|
* "title": "Domain Forward Error",
|
|
5917
|
-
* "type": "domain-forward-
|
|
5917
|
+
* "type": "domain-forward-not-found"
|
|
5918
5918
|
* } */
|
|
5919
5919
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5920
5920
|
};
|
|
@@ -5963,11 +5963,11 @@ export interface operations {
|
|
|
5963
5963
|
};
|
|
5964
5964
|
content: {
|
|
5965
5965
|
/** @example {
|
|
5966
|
-
* "code": "
|
|
5967
|
-
* "detail": "
|
|
5966
|
+
* "code": "ERROR_DOMAIN_FORWARD_ALREADY_EXISTS",
|
|
5967
|
+
* "detail": "Domain forward already exists",
|
|
5968
5968
|
* "status": 409,
|
|
5969
5969
|
* "title": "Domain Forward Error",
|
|
5970
|
-
* "type": "domain-forward-
|
|
5970
|
+
* "type": "domain-forward-already-exists"
|
|
5971
5971
|
* } */
|
|
5972
5972
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5973
5973
|
};
|
|
@@ -6003,6 +6003,22 @@ export interface operations {
|
|
|
6003
6003
|
};
|
|
6004
6004
|
content?: never;
|
|
6005
6005
|
};
|
|
6006
|
+
/** @description Not Found */
|
|
6007
|
+
404: {
|
|
6008
|
+
headers: {
|
|
6009
|
+
[name: string]: unknown;
|
|
6010
|
+
};
|
|
6011
|
+
content: {
|
|
6012
|
+
/** @example {
|
|
6013
|
+
* "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
|
|
6014
|
+
* "detail": "Domain forward not found",
|
|
6015
|
+
* "status": 404,
|
|
6016
|
+
* "title": "Domain Forward Error",
|
|
6017
|
+
* "type": "domain-forward-not-found"
|
|
6018
|
+
* } */
|
|
6019
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6020
|
+
};
|
|
6021
|
+
};
|
|
6006
6022
|
/** @description Validation Error */
|
|
6007
6023
|
422: {
|
|
6008
6024
|
headers: {
|