@opusdns/api 0.295.0 → 0.297.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.295.0",
6
+ "version": "0.297.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -43430,6 +43430,55 @@ export const KEYS_USER_WITH_RELATION_PERMISSIONS = [
43430
43430
  KEY_USER_WITH_RELATION_PERMISSIONS_USERNAME,
43431
43431
  ] as const satisfies (keyof UserWithRelationPermissions)[];
43432
43432
 
43433
+ /**
43434
+ * Context
43435
+ *
43436
+ *
43437
+ * @type {object}
43438
+ *
43439
+ *
43440
+ * @remarks
43441
+ * This key constant provides type-safe access to the `ctx` property of ValidationError objects.
43442
+ * Use this constant when you need to access properties dynamically or ensure type safety.
43443
+ *
43444
+ * @example
43445
+ * ```typescript
43446
+ * // Direct property access
43447
+ * const value = validationerror[KEY_VALIDATION_ERROR_CTX];
43448
+ *
43449
+ * // Dynamic property access
43450
+ * const propertyName = KEY_VALIDATION_ERROR_CTX;
43451
+ * const value = validationerror[propertyName];
43452
+ * ```
43453
+ *
43454
+ * @see {@link ValidationError} - The TypeScript type definition
43455
+ * @see {@link KEYS_VALIDATION_ERROR} - Array of all keys for this type
43456
+ */
43457
+ export const KEY_VALIDATION_ERROR_CTX: keyof ValidationError = 'ctx';
43458
+ /**
43459
+ * Input
43460
+ *
43461
+ *
43462
+ *
43463
+ *
43464
+ * @remarks
43465
+ * This key constant provides type-safe access to the `input` property of ValidationError objects.
43466
+ * Use this constant when you need to access properties dynamically or ensure type safety.
43467
+ *
43468
+ * @example
43469
+ * ```typescript
43470
+ * // Direct property access
43471
+ * const value = validationerror[KEY_VALIDATION_ERROR_INPUT];
43472
+ *
43473
+ * // Dynamic property access
43474
+ * const propertyName = KEY_VALIDATION_ERROR_INPUT;
43475
+ * const value = validationerror[propertyName];
43476
+ * ```
43477
+ *
43478
+ * @see {@link ValidationError} - The TypeScript type definition
43479
+ * @see {@link KEYS_VALIDATION_ERROR} - Array of all keys for this type
43480
+ */
43481
+ export const KEY_VALIDATION_ERROR_INPUT: keyof ValidationError = 'input';
43433
43482
  /**
43434
43483
  * Location
43435
43484
  *
@@ -43527,6 +43576,8 @@ export const KEY_VALIDATION_ERROR_TYPE: keyof ValidationError = 'type';
43527
43576
  * @see {@link ValidationError} - The TypeScript type definition
43528
43577
  */
43529
43578
  export const KEYS_VALIDATION_ERROR = [
43579
+ KEY_VALIDATION_ERROR_CTX,
43580
+ KEY_VALIDATION_ERROR_INPUT,
43530
43581
  KEY_VALIDATION_ERROR_LOC,
43531
43582
  KEY_VALIDATION_ERROR_MSG,
43532
43583
  KEY_VALIDATION_ERROR_TYPE,
package/src/openapi.yaml CHANGED
@@ -10905,6 +10905,11 @@ components:
10905
10905
  type: object
10906
10906
  ValidationError:
10907
10907
  properties:
10908
+ ctx:
10909
+ title: Context
10910
+ type: object
10911
+ input:
10912
+ title: Input
10908
10913
  loc:
10909
10914
  items:
10910
10915
  anyOf:
@@ -11204,7 +11209,7 @@ info:
11204
11209
  \n\n"
11205
11210
  summary: OpusDNS - your gateway to a seamless domain management experience.
11206
11211
  title: OpusDNS API
11207
- version: 2026-05-11-205618
11212
+ version: 2026-05-12-201002
11208
11213
  x-logo:
11209
11214
  altText: OpusDNS API Reference
11210
11215
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -19039,6 +19044,16 @@ paths:
19039
19044
  status: 409
19040
19045
  title: Domain Transfer Error
19041
19046
  type: domain-transfer-rejected
19047
+ Domain Transfer Internal Not Supported:
19048
+ value:
19049
+ code: ERROR_DOMAIN_TRANSFER_INTERNAL_NOT_SUPPORTED
19050
+ detail: There was an error transferring the domain
19051
+ domain_name: Additional error context.
19052
+ reason: Domain is already managed by this registrar; internal
19053
+ transfers are not supported
19054
+ status: 409
19055
+ title: Domain Transfer Internal Not Supported
19056
+ type: domain-transfer-internal-not-supported
19042
19057
  schema:
19043
19058
  $ref: '#/components/schemas/Problem'
19044
19059
  description: Conflict
package/src/schema.d.ts CHANGED
@@ -9722,6 +9722,10 @@ export interface components {
9722
9722
  };
9723
9723
  /** ValidationError */
9724
9724
  ValidationError: {
9725
+ /** Context */
9726
+ ctx?: Record<string, never>;
9727
+ /** Input */
9728
+ input?: unknown;
9725
9729
  /** Location */
9726
9730
  loc: (string | number)[];
9727
9731
  /** Message */