@opusdns/api 0.91.0 → 0.92.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/requests.d.ts +4 -0
- package/src/helpers/responses.d.ts +4 -0
- package/src/openapi.yaml +9 -5
- package/src/schema.d.ts +10 -2
package/package.json
CHANGED
|
@@ -1143,6 +1143,8 @@ export type PATCH_DomainForwardsZoneNameDisable_Request_Path = PATCH_DomainForwa
|
|
|
1143
1143
|
*
|
|
1144
1144
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
1145
1145
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1146
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
1147
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
1146
1148
|
*
|
|
1147
1149
|
* @see {@link PATCH_DomainForwardsZoneNameEnable_Request_Query} - Query parameters type
|
|
1148
1150
|
* @see {@link PATCH_DomainForwardsZoneNameEnable_Request_Path} - Path parameters type
|
|
@@ -1165,6 +1167,8 @@ export type PATCH_DomainForwardsZoneNameEnable_Request = {
|
|
|
1165
1167
|
* Use this type to ensure type safety for query parameters.
|
|
1166
1168
|
*
|
|
1167
1169
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
1170
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
1171
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
1168
1172
|
*/
|
|
1169
1173
|
export type PATCH_DomainForwardsZoneNameEnable_Request_Query = PATCH_DomainForwardsZoneNameEnable_Request['parameters']['query'];
|
|
1170
1174
|
/**
|
|
@@ -2094,6 +2094,8 @@ export type PATCH_DomainForwardsByZoneNameDisable_Response_422 = HTTPValidationE
|
|
|
2094
2094
|
*
|
|
2095
2095
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
2096
2096
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
2097
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2098
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
2097
2099
|
*
|
|
2098
2100
|
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response_422} - 422 response type
|
|
2099
2101
|
*
|
|
@@ -2113,6 +2115,8 @@ export type PATCH_DomainForwardsByZoneNameEnable_Response = PATCH_DomainForwards
|
|
|
2113
2115
|
*
|
|
2114
2116
|
* @path /v1/domain-forwards/{zone_name}/enable
|
|
2115
2117
|
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
2118
|
+
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2119
|
+
* @param wildcard (query) - Wildcard domain forwarding
|
|
2116
2120
|
*
|
|
2117
2121
|
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response} - The main response type definition
|
|
2118
2122
|
* @see {@link HTTPValidationError} - The actual schema type definition
|
package/src/openapi.yaml
CHANGED
|
@@ -1549,13 +1549,13 @@ components:
|
|
|
1549
1549
|
title: Updated On
|
|
1550
1550
|
type: string
|
|
1551
1551
|
wildcard:
|
|
1552
|
+
default: false
|
|
1552
1553
|
title: Wildcard
|
|
1553
1554
|
type: boolean
|
|
1554
1555
|
zone_name:
|
|
1555
1556
|
title: Zone Name
|
|
1556
1557
|
type: string
|
|
1557
1558
|
required:
|
|
1558
|
-
- wildcard
|
|
1559
1559
|
- redirects
|
|
1560
1560
|
- zone_name
|
|
1561
1561
|
- request_protocol
|
|
@@ -1615,10 +1615,10 @@ components:
|
|
|
1615
1615
|
title: Redirects
|
|
1616
1616
|
type: array
|
|
1617
1617
|
wildcard:
|
|
1618
|
+
default: false
|
|
1618
1619
|
title: Wildcard
|
|
1619
1620
|
type: boolean
|
|
1620
1621
|
required:
|
|
1621
|
-
- wildcard
|
|
1622
1622
|
- redirects
|
|
1623
1623
|
title: DomainForwardRequest
|
|
1624
1624
|
type: object
|
|
@@ -5108,7 +5108,7 @@ info:
|
|
|
5108
5108
|
'
|
|
5109
5109
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5110
5110
|
title: OpusDNS API
|
|
5111
|
-
version: 2025-10-31-
|
|
5111
|
+
version: 2025-10-31-165358
|
|
5112
5112
|
x-logo:
|
|
5113
5113
|
altText: OpusDNS API Reference
|
|
5114
5114
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -6777,18 +6777,22 @@ paths:
|
|
|
6777
6777
|
description: DNS zone name (trailing dot optional)
|
|
6778
6778
|
title: Zone Name
|
|
6779
6779
|
type: string
|
|
6780
|
-
-
|
|
6780
|
+
- description: Auto create zone if it doesn't exist
|
|
6781
|
+
in: query
|
|
6781
6782
|
name: auto_create_zone
|
|
6782
6783
|
required: false
|
|
6783
6784
|
schema:
|
|
6784
6785
|
default: false
|
|
6786
|
+
description: Auto create zone if it doesn't exist
|
|
6785
6787
|
title: Auto Create Zone
|
|
6786
6788
|
type: boolean
|
|
6787
|
-
-
|
|
6789
|
+
- description: Wildcard domain forwarding
|
|
6790
|
+
in: query
|
|
6788
6791
|
name: wildcard
|
|
6789
6792
|
required: false
|
|
6790
6793
|
schema:
|
|
6791
6794
|
default: false
|
|
6795
|
+
description: Wildcard domain forwarding
|
|
6792
6796
|
title: Wildcard
|
|
6793
6797
|
type: boolean
|
|
6794
6798
|
responses:
|
package/src/schema.d.ts
CHANGED
|
@@ -2284,7 +2284,10 @@ export interface components {
|
|
|
2284
2284
|
* Format: date-time
|
|
2285
2285
|
*/
|
|
2286
2286
|
updated_on: Date;
|
|
2287
|
-
/**
|
|
2287
|
+
/**
|
|
2288
|
+
* Wildcard
|
|
2289
|
+
* @default false
|
|
2290
|
+
*/
|
|
2288
2291
|
wildcard: boolean;
|
|
2289
2292
|
/** Zone Name */
|
|
2290
2293
|
zone_name: string;
|
|
@@ -2312,7 +2315,10 @@ export interface components {
|
|
|
2312
2315
|
DomainForwardRequest: {
|
|
2313
2316
|
/** Redirects */
|
|
2314
2317
|
redirects: components["schemas"]["HttpRedirect"][];
|
|
2315
|
-
/**
|
|
2318
|
+
/**
|
|
2319
|
+
* Wildcard
|
|
2320
|
+
* @default false
|
|
2321
|
+
*/
|
|
2316
2322
|
wildcard: boolean;
|
|
2317
2323
|
};
|
|
2318
2324
|
/** DomainForwardZone */
|
|
@@ -5969,7 +5975,9 @@ export interface operations {
|
|
|
5969
5975
|
enable_domain_forward_v1_domain_forwards__zone_name__enable_patch: {
|
|
5970
5976
|
parameters: {
|
|
5971
5977
|
query?: {
|
|
5978
|
+
/** @description Auto create zone if it doesn't exist */
|
|
5972
5979
|
auto_create_zone?: boolean;
|
|
5980
|
+
/** @description Wildcard domain forwarding */
|
|
5973
5981
|
wildcard?: boolean;
|
|
5974
5982
|
};
|
|
5975
5983
|
header?: never;
|