@opusdns/api 0.267.0 → 0.268.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.267.0",
6
+ "version": "0.268.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1363,37 +1363,37 @@ export type DELETE_DnsZoneName_Request_Path = DELETE_DnsZoneName_Request['parame
1363
1363
  */
1364
1364
  export type GET_DnsZoneName_Request = {
1365
1365
  parameters: {
1366
+ query: operations['get_zone_v1_dns__zone_name__get']['parameters']['query'];
1366
1367
  path: operations['get_zone_v1_dns__zone_name__get']['parameters']['path'];
1367
1368
  };
1368
- requestBody: unknown;
1369
1369
  }
1370
1370
  /**
1371
- * Path parameters for GET /v1/dns/{zone_name}
1371
+ * Query parameters for GET /v1/dns/{zone_name}
1372
1372
  *
1373
1373
  * @remarks
1374
- * This type defines the path parameters for the GET /v1/dns/{zone_name} endpoint.
1375
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
1374
+ * This type defines the query parameters for the GET /v1/dns/{zone_name} endpoint.
1375
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
1376
1376
  *
1377
1377
  * @example
1378
- * Use this type to ensure type safety for path parameters.
1378
+ * Use this type to ensure type safety for query parameters.
1379
1379
  *
1380
1380
  * @path /v1/dns/{zone_name}
1381
- * @param zone_name (path) - DNS zone name (trailing dot optional)
1382
1381
  */
1383
- export type GET_DnsZoneName_Request_Path = GET_DnsZoneName_Request['parameters']['path'];
1382
+ export type GET_DnsZoneName_Request_Query = GET_DnsZoneName_Request['parameters']['query'];
1384
1383
  /**
1385
- * Request body for GET /v1/dns/{zone_name}
1384
+ * Path parameters for GET /v1/dns/{zone_name}
1386
1385
  *
1387
1386
  * @remarks
1388
- * This type defines the request body structure for the GET /v1/dns/{zone_name} endpoint.
1389
- * It provides type safety for the request body as defined in the OpenAPI specification.
1387
+ * This type defines the path parameters for the GET /v1/dns/{zone_name} endpoint.
1388
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1390
1389
  *
1391
1390
  * @example
1392
- * Use this type to ensure type safety for request body structure.
1391
+ * Use this type to ensure type safety for path parameters.
1393
1392
  *
1394
1393
  * @path /v1/dns/{zone_name}
1394
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1395
1395
  */
1396
- export type GET_DnsZoneName_Request_Body = GET_DnsZoneName_Request['requestBody'];
1396
+ export type GET_DnsZoneName_Request_Path = GET_DnsZoneName_Request['parameters']['path'];
1397
1397
 
1398
1398
  /**
1399
1399
  * Request type for POST DnsZoneNameDnssecDisable endpoint
package/src/openapi.yaml CHANGED
@@ -10126,7 +10126,7 @@ info:
10126
10126
  \n\n"
10127
10127
  summary: OpusDNS - your gateway to a seamless domain management experience.
10128
10128
  title: OpusDNS API
10129
- version: 2026-04-24-122704
10129
+ version: 2026-04-24-152800
10130
10130
  x-logo:
10131
10131
  altText: OpusDNS API Reference
10132
10132
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -12690,16 +12690,16 @@ paths:
12690
12690
  description: DNS zone name (trailing dot optional)
12691
12691
  title: Zone Name
12692
12692
  type: string
12693
- requestBody:
12694
- content:
12695
- application/json:
12696
- schema:
12697
- anyOf:
12698
- - items:
12699
- $ref: '#/components/schemas/ZoneIncludeField'
12700
- type: array
12701
- - type: 'null'
12702
- title: Include
12693
+ - in: query
12694
+ name: include
12695
+ required: false
12696
+ schema:
12697
+ anyOf:
12698
+ - items:
12699
+ $ref: '#/components/schemas/ZoneIncludeField'
12700
+ type: array
12701
+ - type: 'null'
12702
+ title: Include
12703
12703
  responses:
12704
12704
  '200':
12705
12705
  content:
package/src/schema.d.ts CHANGED
@@ -10633,7 +10633,9 @@ export interface operations {
10633
10633
  };
10634
10634
  get_zone_v1_dns__zone_name__get: {
10635
10635
  parameters: {
10636
- query?: never;
10636
+ query?: {
10637
+ include?: components["schemas"]["ZoneIncludeField"][] | null;
10638
+ };
10637
10639
  header?: never;
10638
10640
  path: {
10639
10641
  /** @description DNS zone name (trailing dot optional) */
@@ -10641,11 +10643,7 @@ export interface operations {
10641
10643
  };
10642
10644
  cookie?: never;
10643
10645
  };
10644
- requestBody?: {
10645
- content: {
10646
- "application/json": components["schemas"]["ZoneIncludeField"][] | null;
10647
- };
10648
- };
10646
+ requestBody?: never;
10649
10647
  responses: {
10650
10648
  /** @description Successful Response */
10651
10649
  200: {