@opusdns/api 0.77.0 → 0.78.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
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.77.0",
11
+ "version": "0.78.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -311,12 +311,13 @@ export type POST_AuthLogout_Response_401 = Problem
311
311
  * @path /v1/auth/signup
312
312
  *
313
313
  * @see {@link POST_AuthSignup_Response_200} - 200 response type
314
+ * @see {@link POST_AuthSignup_Response_403} - 403 response type
314
315
  * @see {@link POST_AuthSignup_Response_409} - 409 response type
315
316
  * @see {@link POST_AuthSignup_Response_422} - 422 response type
316
317
  *
317
318
 
318
319
  */
319
- export type POST_AuthSignup_Response = POST_AuthSignup_Response_200 | POST_AuthSignup_Response_409 | POST_AuthSignup_Response_422;
320
+ export type POST_AuthSignup_Response = POST_AuthSignup_Response_200 | POST_AuthSignup_Response_403 | POST_AuthSignup_Response_409 | POST_AuthSignup_Response_422;
320
321
 
321
322
  /**
322
323
  * 200 response for POST AuthSignup endpoint
@@ -335,6 +336,23 @@ export type POST_AuthSignup_Response = POST_AuthSignup_Response_200 | POST_AuthS
335
336
  */
336
337
  export type POST_AuthSignup_Response_200 = Signup
337
338
 
339
+ /**
340
+ * 403 response for POST AuthSignup endpoint
341
+ *
342
+ * @remarks
343
+ * This type defines the response structure for the 403 status code
344
+ * of the POST AuthSignup endpoint.
345
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
346
+ *
347
+
348
+ *
349
+ * @path /v1/auth/signup
350
+ *
351
+ * @see {@link POST_AuthSignup_Response} - The main response type definition
352
+ * @see {@link Problem} - The actual schema type definition
353
+ */
354
+ export type POST_AuthSignup_Response_403 = Problem
355
+
338
356
  /**
339
357
  * 409 response for POST AuthSignup endpoint
340
358
  *
package/src/openapi.yaml CHANGED
@@ -5236,7 +5236,7 @@ info:
5236
5236
  '
5237
5237
  summary: OpusDNS - your gateway to a seamless domain management experience.
5238
5238
  title: OpusDNS API
5239
- version: 2025-09-30-180117
5239
+ version: 2025-10-02-163917
5240
5240
  x-logo:
5241
5241
  altText: OpusDNS API Reference
5242
5242
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -5435,6 +5435,18 @@ paths:
5435
5435
  schema:
5436
5436
  $ref: '#/components/schemas/SignupResponse'
5437
5437
  description: Successful Response
5438
+ '403':
5439
+ content:
5440
+ application/problem+json:
5441
+ example:
5442
+ code: ERROR_SIGNUP_NOT_ALLOWED
5443
+ detail: Additional error context.
5444
+ status: 403
5445
+ title: Organization Management Error
5446
+ type: signup-not-allowed
5447
+ schema:
5448
+ $ref: '#/components/schemas/Problem'
5449
+ description: Forbidden
5438
5450
  '409':
5439
5451
  content:
5440
5452
  application/problem+json:
package/src/schema.d.ts CHANGED
@@ -4935,6 +4935,22 @@ export interface operations {
4935
4935
  "application/json": components["schemas"]["SignupResponse"];
4936
4936
  };
4937
4937
  };
4938
+ /** @description Forbidden */
4939
+ 403: {
4940
+ headers: {
4941
+ [name: string]: unknown;
4942
+ };
4943
+ content: {
4944
+ /** @example {
4945
+ * "code": "ERROR_SIGNUP_NOT_ALLOWED",
4946
+ * "detail": "Additional error context.",
4947
+ * "status": 403,
4948
+ * "title": "Organization Management Error",
4949
+ * "type": "signup-not-allowed"
4950
+ * } */
4951
+ "application/problem+json": components["schemas"]["Problem"];
4952
+ };
4953
+ };
4938
4954
  /** @description Conflict */
4939
4955
  409: {
4940
4956
  headers: {