@opusdns/api 0.213.0 → 0.214.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.213.0",
6
+ "version": "0.214.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -10268,12 +10268,30 @@ export type POST_Users_Response_422 = HTTPValidationError
10268
10268
  *
10269
10269
  * @path /v1/users/{user_id}
10270
10270
  *
10271
+ * @see {@link DELETE_UsersByUserId_Response_403} - 403 response type
10271
10272
  * @see {@link DELETE_UsersByUserId_Response_409} - 409 response type
10272
10273
  * @see {@link DELETE_UsersByUserId_Response_422} - 422 response type
10273
10274
  *
10274
10275
 
10275
10276
  */
10276
- export type DELETE_UsersByUserId_Response = DELETE_UsersByUserId_Response_409 | DELETE_UsersByUserId_Response_422;
10277
+ export type DELETE_UsersByUserId_Response = DELETE_UsersByUserId_Response_403 | DELETE_UsersByUserId_Response_409 | DELETE_UsersByUserId_Response_422;
10278
+
10279
+ /**
10280
+ * 403 response for DELETE UsersByUserId endpoint
10281
+ *
10282
+ * @remarks
10283
+ * This type defines the response structure for the 403 status code
10284
+ * of the DELETE UsersByUserId endpoint.
10285
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
10286
+ *
10287
+
10288
+ *
10289
+ * @path /v1/users/{user_id}
10290
+ *
10291
+ * @see {@link DELETE_UsersByUserId_Response} - The main response type definition
10292
+ * @see {@link Problem} - The actual schema type definition
10293
+ */
10294
+ export type DELETE_UsersByUserId_Response_403 = Problem
10277
10295
 
10278
10296
  /**
10279
10297
  * 409 response for DELETE UsersByUserId endpoint
package/src/openapi.yaml CHANGED
@@ -7277,7 +7277,7 @@ info:
7277
7277
  '
7278
7278
  summary: OpusDNS - your gateway to a seamless domain management experience.
7279
7279
  title: OpusDNS API
7280
- version: 2026-03-03-135652
7280
+ version: 2026-03-06-182612
7281
7281
  x-logo:
7282
7282
  altText: OpusDNS API Reference
7283
7283
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -17122,6 +17122,18 @@ paths:
17122
17122
  responses:
17123
17123
  '204':
17124
17124
  description: Successful Response
17125
+ '403':
17126
+ content:
17127
+ application/problem+json:
17128
+ example:
17129
+ code: ERROR_USER_CANNOT_DELETE_SELF
17130
+ detail: Additional error context.
17131
+ status: 403
17132
+ title: User Management Error
17133
+ type: user-cannot-delete-self
17134
+ schema:
17135
+ $ref: '#/components/schemas/Problem'
17136
+ description: Forbidden
17125
17137
  '409':
17126
17138
  content:
17127
17139
  application/problem+json:
package/src/schema.d.ts CHANGED
@@ -14389,6 +14389,22 @@ export interface operations {
14389
14389
  };
14390
14390
  content?: never;
14391
14391
  };
14392
+ /** @description Forbidden */
14393
+ 403: {
14394
+ headers: {
14395
+ [name: string]: unknown;
14396
+ };
14397
+ content: {
14398
+ /** @example {
14399
+ * "code": "ERROR_USER_CANNOT_DELETE_SELF",
14400
+ * "detail": "Additional error context.",
14401
+ * "status": 403,
14402
+ * "title": "User Management Error",
14403
+ * "type": "user-cannot-delete-self"
14404
+ * } */
14405
+ "application/problem+json": components["schemas"]["Problem"];
14406
+ };
14407
+ };
14392
14408
  /** @description Conflict */
14393
14409
  409: {
14394
14410
  headers: {