@opusdns/api 1.226.0 → 1.227.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 +1 -1
- package/src/helpers/keys.ts +13 -0
- package/src/helpers/schemas.d.ts +1 -0
- package/src/openapi.yaml +36 -2
- package/src/schema.d.ts +24 -1
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -325,6 +325,7 @@ import type {
|
|
|
325
325
|
NorIdDeclaration,
|
|
326
326
|
NorIdResellerDeclarationRequest,
|
|
327
327
|
ObjectLog,
|
|
328
|
+
ObjectLogChange,
|
|
328
329
|
ObjectTagChanges,
|
|
329
330
|
ObjectTagChanges2,
|
|
330
331
|
Organization,
|
|
@@ -4533,6 +4534,7 @@ export const KEYS_NOR_ID_RESELLER_DECLARATION_REQUEST = [
|
|
|
4533
4534
|
] as const satisfies (keyof NorIdResellerDeclarationRequest)[];
|
|
4534
4535
|
|
|
4535
4536
|
export const KEY_OBJECT_LOG_ACTION = 'action' satisfies keyof ObjectLog;
|
|
4537
|
+
export const KEY_OBJECT_LOG_CHANGES = 'changes' satisfies keyof ObjectLog;
|
|
4536
4538
|
export const KEY_OBJECT_LOG_CREATED_ON = 'created_on' satisfies keyof ObjectLog;
|
|
4537
4539
|
export const KEY_OBJECT_LOG_DETAILS = 'details' satisfies keyof ObjectLog;
|
|
4538
4540
|
export const KEY_OBJECT_LOG_OBJECT_ID = 'object_id' satisfies keyof ObjectLog;
|
|
@@ -4544,6 +4546,7 @@ export const KEY_OBJECT_LOG_SERVER_REQUEST_ID = 'server_request_id' satisfies ke
|
|
|
4544
4546
|
|
|
4545
4547
|
export const KEYS_OBJECT_LOG = [
|
|
4546
4548
|
KEY_OBJECT_LOG_ACTION,
|
|
4549
|
+
KEY_OBJECT_LOG_CHANGES,
|
|
4547
4550
|
KEY_OBJECT_LOG_CREATED_ON,
|
|
4548
4551
|
KEY_OBJECT_LOG_DETAILS,
|
|
4549
4552
|
KEY_OBJECT_LOG_OBJECT_ID,
|
|
@@ -4554,6 +4557,16 @@ export const KEYS_OBJECT_LOG = [
|
|
|
4554
4557
|
KEY_OBJECT_LOG_SERVER_REQUEST_ID,
|
|
4555
4558
|
] as const satisfies (keyof ObjectLog)[];
|
|
4556
4559
|
|
|
4560
|
+
export const KEY_OBJECT_LOG_CHANGE_FIELD = 'field' satisfies keyof ObjectLogChange;
|
|
4561
|
+
export const KEY_OBJECT_LOG_CHANGE_NEW_VALUE = 'new_value' satisfies keyof ObjectLogChange;
|
|
4562
|
+
export const KEY_OBJECT_LOG_CHANGE_OLD_VALUE = 'old_value' satisfies keyof ObjectLogChange;
|
|
4563
|
+
|
|
4564
|
+
export const KEYS_OBJECT_LOG_CHANGE = [
|
|
4565
|
+
KEY_OBJECT_LOG_CHANGE_FIELD,
|
|
4566
|
+
KEY_OBJECT_LOG_CHANGE_NEW_VALUE,
|
|
4567
|
+
KEY_OBJECT_LOG_CHANGE_OLD_VALUE,
|
|
4568
|
+
] as const satisfies (keyof ObjectLogChange)[];
|
|
4569
|
+
|
|
4557
4570
|
export const KEY_OBJECT_TAG_CHANGES_ADD = 'add' satisfies keyof ObjectTagChanges;
|
|
4558
4571
|
export const KEY_OBJECT_TAG_CHANGES_REMOVE = 'remove' satisfies keyof ObjectTagChanges;
|
|
4559
4572
|
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -414,6 +414,7 @@ export type NorIdDeclarationStatus = components['schemas']['NorIdDeclarationStat
|
|
|
414
414
|
export type NorIdResellerDeclarationRequest = components['schemas']['NorIdResellerDeclarationRequest'];
|
|
415
415
|
export type ObjectEventType = components['schemas']['ObjectEventType'];
|
|
416
416
|
export type ObjectLog = components['schemas']['ObjectLog'];
|
|
417
|
+
export type ObjectLogChange = components['schemas']['ObjectLogChange'];
|
|
417
418
|
export type ObjectLogSortField = components['schemas']['ObjectLogSortField'];
|
|
418
419
|
export type ObjectTagChanges = components['schemas']['ObjectTagChanges'];
|
|
419
420
|
export type ObjectTagChanges2 = components['schemas']['ObjectTagChangesResponse'];
|
package/src/openapi.yaml
CHANGED
|
@@ -18380,6 +18380,19 @@ components:
|
|
|
18380
18380
|
action:
|
|
18381
18381
|
$ref: '#/components/schemas/ObjectEventType'
|
|
18382
18382
|
description: Action performed
|
|
18383
|
+
changes:
|
|
18384
|
+
anyOf:
|
|
18385
|
+
- items:
|
|
18386
|
+
$ref: '#/components/schemas/ObjectLogChange'
|
|
18387
|
+
type: array
|
|
18388
|
+
- type: 'null'
|
|
18389
|
+
description: 'Fields that differ from the object''s previous log in the
|
|
18390
|
+
same organization. Empty when nothing changed; `null` when there was no
|
|
18391
|
+
previous log to compare with: the object''s first log in the organization,
|
|
18392
|
+
or a log written before changes were recorded. `updated_on` is not compared,
|
|
18393
|
+
arrays are compared regardless of order and reported whole, and sensitive
|
|
18394
|
+
values such as `auth_code` read `***REDACTED***`.'
|
|
18395
|
+
title: Changes
|
|
18383
18396
|
created_on:
|
|
18384
18397
|
description: Timestamp when the log was created
|
|
18385
18398
|
format: date-time
|
|
@@ -18390,7 +18403,8 @@ components:
|
|
|
18390
18403
|
- additionalProperties: true
|
|
18391
18404
|
type: object
|
|
18392
18405
|
- type: 'null'
|
|
18393
|
-
description:
|
|
18406
|
+
description: Snapshot of the whole object after the action; its shape depends
|
|
18407
|
+
on `object_type`
|
|
18394
18408
|
title: Details
|
|
18395
18409
|
object_id:
|
|
18396
18410
|
description: ID of the object
|
|
@@ -18429,6 +18443,26 @@ components:
|
|
|
18429
18443
|
- created_on
|
|
18430
18444
|
title: ObjectLog
|
|
18431
18445
|
type: object
|
|
18446
|
+
ObjectLogChange:
|
|
18447
|
+
properties:
|
|
18448
|
+
field:
|
|
18449
|
+
description: Dot-separated path of the field in the object, for example
|
|
18450
|
+
`renewal_mode` or `contacts.registrant`
|
|
18451
|
+
title: Field
|
|
18452
|
+
type: string
|
|
18453
|
+
new_value:
|
|
18454
|
+
description: Value of the field in this log; `null` when the field was absent
|
|
18455
|
+
title: New Value
|
|
18456
|
+
old_value:
|
|
18457
|
+
description: Value of the field in the object's previous log; `null` when
|
|
18458
|
+
the field was absent
|
|
18459
|
+
title: Old Value
|
|
18460
|
+
required:
|
|
18461
|
+
- field
|
|
18462
|
+
- old_value
|
|
18463
|
+
- new_value
|
|
18464
|
+
title: ObjectLogChange
|
|
18465
|
+
type: object
|
|
18432
18466
|
ObjectLogSortField:
|
|
18433
18467
|
enum:
|
|
18434
18468
|
- object_log_id
|
|
@@ -25072,7 +25106,7 @@ info:
|
|
|
25072
25106
|
\n\n"
|
|
25073
25107
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
25074
25108
|
title: OpusDNS API
|
|
25075
|
-
version: 2026-10-
|
|
25109
|
+
version: 2026-10-15-094627
|
|
25076
25110
|
x-logo:
|
|
25077
25111
|
altText: OpusDNS API Reference
|
|
25078
25112
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -16304,6 +16304,11 @@ export interface components {
|
|
|
16304
16304
|
ObjectLog: {
|
|
16305
16305
|
/** @description Action performed */
|
|
16306
16306
|
action: components["schemas"]["ObjectEventType"];
|
|
16307
|
+
/**
|
|
16308
|
+
* Changes
|
|
16309
|
+
* @description Fields that differ from the object's previous log in the same organization. Empty when nothing changed; `null` when there was no previous log to compare with: the object's first log in the organization, or a log written before changes were recorded. `updated_on` is not compared, arrays are compared regardless of order and reported whole, and sensitive values such as `auth_code` read `***REDACTED***`.
|
|
16310
|
+
*/
|
|
16311
|
+
changes?: components["schemas"]["ObjectLogChange"][] | null;
|
|
16307
16312
|
/**
|
|
16308
16313
|
* Created On
|
|
16309
16314
|
* Format: date-time
|
|
@@ -16312,7 +16317,7 @@ export interface components {
|
|
|
16312
16317
|
created_on: Date;
|
|
16313
16318
|
/**
|
|
16314
16319
|
* Details
|
|
16315
|
-
* @description
|
|
16320
|
+
* @description Snapshot of the whole object after the action; its shape depends on `object_type`
|
|
16316
16321
|
*/
|
|
16317
16322
|
details?: {
|
|
16318
16323
|
[key: string]: unknown;
|
|
@@ -16345,6 +16350,24 @@ export interface components {
|
|
|
16345
16350
|
*/
|
|
16346
16351
|
server_request_id?: string | null;
|
|
16347
16352
|
};
|
|
16353
|
+
/** ObjectLogChange */
|
|
16354
|
+
ObjectLogChange: {
|
|
16355
|
+
/**
|
|
16356
|
+
* Field
|
|
16357
|
+
* @description Dot-separated path of the field in the object, for example `renewal_mode` or `contacts.registrant`
|
|
16358
|
+
*/
|
|
16359
|
+
field: string;
|
|
16360
|
+
/**
|
|
16361
|
+
* New Value
|
|
16362
|
+
* @description Value of the field in this log; `null` when the field was absent
|
|
16363
|
+
*/
|
|
16364
|
+
new_value: unknown;
|
|
16365
|
+
/**
|
|
16366
|
+
* Old Value
|
|
16367
|
+
* @description Value of the field in the object's previous log; `null` when the field was absent
|
|
16368
|
+
*/
|
|
16369
|
+
old_value: unknown;
|
|
16370
|
+
};
|
|
16348
16371
|
/**
|
|
16349
16372
|
* ObjectLogSortField
|
|
16350
16373
|
* @enum {string}
|