@opusdns/api 0.154.0 → 0.155.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.154.0",
6
+ "version": "0.155.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -12485,6 +12485,57 @@ export const KEYS_EMAIL_FORWARD_ZONE = [
12485
12485
  KEY_EMAIL_FORWARD_ZONE_ZONE_NAME,
12486
12486
  ] as const satisfies (keyof EmailForwardZone)[];
12487
12487
 
12488
+ /**
12489
+ * Acknowledged On
12490
+ *
12491
+ * When the event was acknowledged
12492
+ *
12493
+ *
12494
+ *
12495
+ * @remarks
12496
+ * This key constant provides type-safe access to the `acknowledged_on` property of EventResponse objects.
12497
+ * Use this constant when you need to access properties dynamically or ensure type safety.
12498
+ *
12499
+ * @example
12500
+ * ```typescript
12501
+ * // Direct property access
12502
+ * const value = eventresponse[KEY_EVENT_RESPONSE_ACKNOWLEDGED_ON];
12503
+ *
12504
+ * // Dynamic property access
12505
+ * const propertyName = KEY_EVENT_RESPONSE_ACKNOWLEDGED_ON;
12506
+ * const value = eventresponse[propertyName];
12507
+ * ```
12508
+ *
12509
+ * @see {@link EventResponse} - The TypeScript type definition
12510
+ * @see {@link KEYS_EVENT_RESPONSE} - Array of all keys for this type
12511
+ */
12512
+ export const KEY_EVENT_RESPONSE_ACKNOWLEDGED_ON: keyof EventResponse = 'acknowledged_on';
12513
+ /**
12514
+ * Created On
12515
+ *
12516
+ * When the event was created
12517
+ *
12518
+ * @type {string}
12519
+ *
12520
+ *
12521
+ * @remarks
12522
+ * This key constant provides type-safe access to the `created_on` property of EventResponse objects.
12523
+ * Use this constant when you need to access properties dynamically or ensure type safety.
12524
+ *
12525
+ * @example
12526
+ * ```typescript
12527
+ * // Direct property access
12528
+ * const value = eventresponse[KEY_EVENT_RESPONSE_CREATED_ON];
12529
+ *
12530
+ * // Dynamic property access
12531
+ * const propertyName = KEY_EVENT_RESPONSE_CREATED_ON;
12532
+ * const value = eventresponse[propertyName];
12533
+ * ```
12534
+ *
12535
+ * @see {@link EventResponse} - The TypeScript type definition
12536
+ * @see {@link KEYS_EVENT_RESPONSE} - Array of all keys for this type
12537
+ */
12538
+ export const KEY_EVENT_RESPONSE_CREATED_ON: keyof EventResponse = 'created_on';
12488
12539
  /**
12489
12540
  * Event Data
12490
12541
  *
@@ -12657,6 +12708,8 @@ export const KEY_EVENT_RESPONSE_TYPE: keyof EventResponse = 'type';
12657
12708
  * @see {@link EventResponse} - The TypeScript type definition
12658
12709
  */
12659
12710
  export const KEYS_EVENT_RESPONSE = [
12711
+ KEY_EVENT_RESPONSE_ACKNOWLEDGED_ON,
12712
+ KEY_EVENT_RESPONSE_CREATED_ON,
12660
12713
  KEY_EVENT_RESPONSE_EVENT_DATA,
12661
12714
  KEY_EVENT_RESPONSE_EVENT_ID,
12662
12715
  KEY_EVENT_RESPONSE_OBJECT_ID,
package/src/openapi.yaml CHANGED
@@ -3005,6 +3005,18 @@ components:
3005
3005
  type: string
3006
3006
  EventResponse:
3007
3007
  properties:
3008
+ acknowledged_on:
3009
+ anyOf:
3010
+ - format: date-time
3011
+ type: string
3012
+ - type: 'null'
3013
+ description: When the event was acknowledged
3014
+ title: Acknowledged On
3015
+ created_on:
3016
+ description: When the event was created
3017
+ format: date-time
3018
+ title: Created On
3019
+ type: string
3008
3020
  event_data:
3009
3021
  additionalProperties: true
3010
3022
  title: Event Data
@@ -3042,6 +3054,7 @@ components:
3042
3054
  (e.g., 'ACCOUNT_CREATE', 'DOMAIN_MODIFICATION')
3043
3055
  required:
3044
3056
  - event_data
3057
+ - created_on
3045
3058
  title: EventResponse
3046
3059
  type: object
3047
3060
  EventSchema:
@@ -6537,7 +6550,7 @@ info:
6537
6550
  '
6538
6551
  summary: OpusDNS - your gateway to a seamless domain management experience.
6539
6552
  title: OpusDNS API
6540
- version: 2026-01-12-195219
6553
+ version: 2026-01-13-160651
6541
6554
  x-logo:
6542
6555
  altText: OpusDNS API Reference
6543
6556
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3742,6 +3742,17 @@ export interface components {
3742
3742
  EventObjectType: "DOMAIN" | "CONTACT" | "HOST" | "RAW" | "UNKNOWN";
3743
3743
  /** EventResponse */
3744
3744
  EventResponse: {
3745
+ /**
3746
+ * Acknowledged On
3747
+ * @description When the event was acknowledged
3748
+ */
3749
+ acknowledged_on?: Date | null;
3750
+ /**
3751
+ * Created On
3752
+ * Format: date-time
3753
+ * @description When the event was created
3754
+ */
3755
+ created_on: Date;
3745
3756
  /** Event Data */
3746
3757
  event_data: {
3747
3758
  [key: string]: unknown;