@opusdns/api 0.266.0 → 0.267.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.266.0",
6
+ "version": "0.267.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -61,7 +61,6 @@ import { ContactVerification } from './schemas';
61
61
  import { ContactsBase } from './schemas';
62
62
  import { CreateJobBatch } from './schemas';
63
63
  import { CreateReportReq } from './schemas';
64
- import { DeletedEvent } from './schemas';
65
64
  import { DnsChange } from './schemas';
66
65
  import { DnsChanges } from './schemas';
67
66
  import { DnsConfigurationBase } from './schemas';
@@ -270,7 +269,6 @@ import { RdapBase } from './schemas';
270
269
  import { ReferrerStatsBucket } from './schemas';
271
270
  import { RegistryLockBase } from './schemas';
272
271
  import { RelationSet } from './schemas';
273
- import { RenewalEvent } from './schemas';
274
272
  import { RequestHistory } from './schemas';
275
273
  import { ReservedDomainsBase } from './schemas';
276
274
  import { RgpOperations } from './schemas';
@@ -287,7 +285,6 @@ import { TldBase } from './schemas';
287
285
  import { TldResponseShort } from './schemas';
288
286
  import { TldSpecification } from './schemas';
289
287
  import { TrademarkClaimsBase } from './schemas';
290
- import { TransferEvent } from './schemas';
291
288
  import { TransferLockPolicyBase } from './schemas';
292
289
  import { TransferPoliciesBase } from './schemas';
293
290
  import { User } from './schemas';
@@ -6460,55 +6457,6 @@ export const KEYS_CREATE_REPORT_REQ = [
6460
6457
  KEY_CREATE_REPORT_REQ_REPORT_TYPE,
6461
6458
  ] as const satisfies (keyof CreateReportReq)[];
6462
6459
 
6463
- /**
6464
- * date property
6465
- *
6466
- *
6467
- *
6468
- *
6469
- * @remarks
6470
- * This key constant provides type-safe access to the `date` property of DeletedEvent objects.
6471
- * Use this constant when you need to access properties dynamically or ensure type safety.
6472
- *
6473
- * @example
6474
- * ```typescript
6475
- * // Direct property access
6476
- * const value = deletedevent[KEY_DELETED_EVENT_DATE];
6477
- *
6478
- * // Dynamic property access
6479
- * const propertyName = KEY_DELETED_EVENT_DATE;
6480
- * const value = deletedevent[propertyName];
6481
- * ```
6482
- *
6483
- * @see {@link DeletedEvent} - The TypeScript type definition
6484
- * @see {@link KEYS_DELETED_EVENT} - Array of all keys for this type
6485
- */
6486
- export const KEY_DELETED_EVENT_DATE: keyof DeletedEvent = 'date';
6487
-
6488
- /**
6489
- * Array of all DeletedEvent property keys
6490
- *
6491
- * @remarks
6492
- * This constant provides a readonly array containing all valid property keys for DeletedEvent objects.
6493
- * Useful for iteration, validation, and generating dynamic UI components.
6494
- *
6495
- * @example
6496
- * ```typescript
6497
- * // Iterating through all keys
6498
- * for (const key of KEYS_DELETED_EVENT) {
6499
- * console.log(`Property: ${key}, Value: ${deletedevent[key]}`);
6500
- * }
6501
- *
6502
- * // Validation
6503
- * const isValidKey = KEYS_DELETED_EVENT.includes(someKey);
6504
- * ```
6505
- *
6506
- * @see {@link DeletedEvent} - The TypeScript type definition
6507
- */
6508
- export const KEYS_DELETED_EVENT = [
6509
- KEY_DELETED_EVENT_DATE,
6510
- ] as const satisfies (keyof DeletedEvent)[];
6511
-
6512
6460
  /**
6513
6461
  * action property
6514
6462
  *
@@ -33899,57 +33847,6 @@ export const KEYS_RELATION_SET = [
33899
33847
  KEY_RELATION_SET_RELATIONS,
33900
33848
  ] as const satisfies (keyof RelationSet)[];
33901
33849
 
33902
- /**
33903
- * Registration Expiration Date
33904
- *
33905
- * The new expiration date/time after the domain has been renewed
33906
- *
33907
- * @type {string}
33908
- *
33909
- *
33910
- * @remarks
33911
- * This key constant provides type-safe access to the `registration_expiration_date` property of RenewalEvent objects.
33912
- * Use this constant when you need to access properties dynamically or ensure type safety.
33913
- *
33914
- * @example
33915
- * ```typescript
33916
- * // Direct property access
33917
- * const value = renewalevent[KEY_RENEWAL_EVENT_REGISTRATION_EXPIRATION_DATE];
33918
- *
33919
- * // Dynamic property access
33920
- * const propertyName = KEY_RENEWAL_EVENT_REGISTRATION_EXPIRATION_DATE;
33921
- * const value = renewalevent[propertyName];
33922
- * ```
33923
- *
33924
- * @see {@link RenewalEvent} - The TypeScript type definition
33925
- * @see {@link KEYS_RENEWAL_EVENT} - Array of all keys for this type
33926
- */
33927
- export const KEY_RENEWAL_EVENT_REGISTRATION_EXPIRATION_DATE: keyof RenewalEvent = 'registration_expiration_date';
33928
-
33929
- /**
33930
- * Array of all RenewalEvent property keys
33931
- *
33932
- * @remarks
33933
- * This constant provides a readonly array containing all valid property keys for RenewalEvent objects.
33934
- * Useful for iteration, validation, and generating dynamic UI components.
33935
- *
33936
- * @example
33937
- * ```typescript
33938
- * // Iterating through all keys
33939
- * for (const key of KEYS_RENEWAL_EVENT) {
33940
- * console.log(`Property: ${key}, Value: ${renewalevent[key]}`);
33941
- * }
33942
- *
33943
- * // Validation
33944
- * const isValidKey = KEYS_RENEWAL_EVENT.includes(someKey);
33945
- * ```
33946
- *
33947
- * @see {@link RenewalEvent} - The TypeScript type definition
33948
- */
33949
- export const KEYS_RENEWAL_EVENT = [
33950
- KEY_RENEWAL_EVENT_REGISTRATION_EXPIRATION_DATE,
33951
- ] as const satisfies (keyof RenewalEvent)[];
33952
-
33953
33850
  /**
33954
33851
  * Client Ip
33955
33852
  *
@@ -36205,158 +36102,6 @@ export const KEYS_TRADEMARK_CLAIMS_BASE = [
36205
36102
  KEY_TRADEMARK_CLAIMS_BASE_TMCH_REQUIRED,
36206
36103
  ] as const satisfies (keyof TrademarkClaimsBase)[];
36207
36104
 
36208
- /**
36209
- * Current Registrar
36210
- *
36211
- *
36212
- * @type {string}
36213
- *
36214
- *
36215
- * @remarks
36216
- * This key constant provides type-safe access to the `current_registrar` property of TransferEvent objects.
36217
- * Use this constant when you need to access properties dynamically or ensure type safety.
36218
- *
36219
- * @example
36220
- * ```typescript
36221
- * // Direct property access
36222
- * const value = transferevent[KEY_TRANSFER_EVENT_CURRENT_REGISTRAR];
36223
- *
36224
- * // Dynamic property access
36225
- * const propertyName = KEY_TRANSFER_EVENT_CURRENT_REGISTRAR;
36226
- * const value = transferevent[propertyName];
36227
- * ```
36228
- *
36229
- * @see {@link TransferEvent} - The TypeScript type definition
36230
- * @see {@link KEYS_TRANSFER_EVENT} - Array of all keys for this type
36231
- */
36232
- export const KEY_TRANSFER_EVENT_CURRENT_REGISTRAR: keyof TransferEvent = 'current_registrar';
36233
- /**
36234
- * execution_date property
36235
- *
36236
- *
36237
- *
36238
- *
36239
- * @remarks
36240
- * This key constant provides type-safe access to the `execution_date` property of TransferEvent objects.
36241
- * Use this constant when you need to access properties dynamically or ensure type safety.
36242
- *
36243
- * @example
36244
- * ```typescript
36245
- * // Direct property access
36246
- * const value = transferevent[KEY_TRANSFER_EVENT_EXECUTION_DATE];
36247
- *
36248
- * // Dynamic property access
36249
- * const propertyName = KEY_TRANSFER_EVENT_EXECUTION_DATE;
36250
- * const value = transferevent[propertyName];
36251
- * ```
36252
- *
36253
- * @see {@link TransferEvent} - The TypeScript type definition
36254
- * @see {@link KEYS_TRANSFER_EVENT} - Array of all keys for this type
36255
- */
36256
- export const KEY_TRANSFER_EVENT_EXECUTION_DATE: keyof TransferEvent = 'execution_date';
36257
- /**
36258
- * expiration_date property
36259
- *
36260
- *
36261
- *
36262
- *
36263
- * @remarks
36264
- * This key constant provides type-safe access to the `expiration_date` property of TransferEvent objects.
36265
- * Use this constant when you need to access properties dynamically or ensure type safety.
36266
- *
36267
- * @example
36268
- * ```typescript
36269
- * // Direct property access
36270
- * const value = transferevent[KEY_TRANSFER_EVENT_EXPIRATION_DATE];
36271
- *
36272
- * // Dynamic property access
36273
- * const propertyName = KEY_TRANSFER_EVENT_EXPIRATION_DATE;
36274
- * const value = transferevent[propertyName];
36275
- * ```
36276
- *
36277
- * @see {@link TransferEvent} - The TypeScript type definition
36278
- * @see {@link KEYS_TRANSFER_EVENT} - Array of all keys for this type
36279
- */
36280
- export const KEY_TRANSFER_EVENT_EXPIRATION_DATE: keyof TransferEvent = 'expiration_date';
36281
- /**
36282
- * Message
36283
- *
36284
- *
36285
- * @type {string}
36286
- *
36287
- *
36288
- * @remarks
36289
- * This key constant provides type-safe access to the `message` property of TransferEvent objects.
36290
- * Use this constant when you need to access properties dynamically or ensure type safety.
36291
- *
36292
- * @example
36293
- * ```typescript
36294
- * // Direct property access
36295
- * const value = transferevent[KEY_TRANSFER_EVENT_MESSAGE];
36296
- *
36297
- * // Dynamic property access
36298
- * const propertyName = KEY_TRANSFER_EVENT_MESSAGE;
36299
- * const value = transferevent[propertyName];
36300
- * ```
36301
- *
36302
- * @see {@link TransferEvent} - The TypeScript type definition
36303
- * @see {@link KEYS_TRANSFER_EVENT} - Array of all keys for this type
36304
- */
36305
- export const KEY_TRANSFER_EVENT_MESSAGE: keyof TransferEvent = 'message';
36306
- /**
36307
- * Requesting Registrar
36308
- *
36309
- *
36310
- * @type {string}
36311
- *
36312
- *
36313
- * @remarks
36314
- * This key constant provides type-safe access to the `requesting_registrar` property of TransferEvent objects.
36315
- * Use this constant when you need to access properties dynamically or ensure type safety.
36316
- *
36317
- * @example
36318
- * ```typescript
36319
- * // Direct property access
36320
- * const value = transferevent[KEY_TRANSFER_EVENT_REQUESTING_REGISTRAR];
36321
- *
36322
- * // Dynamic property access
36323
- * const propertyName = KEY_TRANSFER_EVENT_REQUESTING_REGISTRAR;
36324
- * const value = transferevent[propertyName];
36325
- * ```
36326
- *
36327
- * @see {@link TransferEvent} - The TypeScript type definition
36328
- * @see {@link KEYS_TRANSFER_EVENT} - Array of all keys for this type
36329
- */
36330
- export const KEY_TRANSFER_EVENT_REQUESTING_REGISTRAR: keyof TransferEvent = 'requesting_registrar';
36331
-
36332
- /**
36333
- * Array of all TransferEvent property keys
36334
- *
36335
- * @remarks
36336
- * This constant provides a readonly array containing all valid property keys for TransferEvent objects.
36337
- * Useful for iteration, validation, and generating dynamic UI components.
36338
- *
36339
- * @example
36340
- * ```typescript
36341
- * // Iterating through all keys
36342
- * for (const key of KEYS_TRANSFER_EVENT) {
36343
- * console.log(`Property: ${key}, Value: ${transferevent[key]}`);
36344
- * }
36345
- *
36346
- * // Validation
36347
- * const isValidKey = KEYS_TRANSFER_EVENT.includes(someKey);
36348
- * ```
36349
- *
36350
- * @see {@link TransferEvent} - The TypeScript type definition
36351
- */
36352
- export const KEYS_TRANSFER_EVENT = [
36353
- KEY_TRANSFER_EVENT_CURRENT_REGISTRAR,
36354
- KEY_TRANSFER_EVENT_EXECUTION_DATE,
36355
- KEY_TRANSFER_EVENT_EXPIRATION_DATE,
36356
- KEY_TRANSFER_EVENT_MESSAGE,
36357
- KEY_TRANSFER_EVENT_REQUESTING_REGISTRAR,
36358
- ] as const satisfies (keyof TransferEvent)[];
36359
-
36360
36105
  /**
36361
36106
  * Supported By Registrar
36362
36107
  *
@@ -778,22 +778,6 @@ export type Currency = components['schemas']['Currency'];
778
778
  * @see {@link components} - The OpenAPI components schema definition
779
779
  */
780
780
  export type DeletePolicyType = components['schemas']['DeletePolicyType'];
781
- /**
782
- * DeletedEvent
783
- *
784
- * @remarks
785
- * Type alias for the `DeletedEvent` OpenAPI schema.
786
- * This type represents deletedevent data structures used in API requests and responses.
787
- *
788
- * @example
789
- * ```typescript
790
- * const response = await api.getDeletedEvent();
791
- * const item: DeletedEvent = response.results;
792
- * ```
793
- *
794
- * @see {@link components} - The OpenAPI components schema definition
795
- */
796
- export type DeletedEvent = components['schemas']['DeletedEvent'];
797
781
  /**
798
782
  * DnsChangeAction
799
783
  *
@@ -3130,38 +3114,6 @@ export type EmailForwardZoneSortField = components['schemas']['EmailForwardZoneS
3130
3114
  * @see {@link components} - The OpenAPI components schema definition
3131
3115
  */
3132
3116
  export type EmailVerificationStatus = components['schemas']['EmailVerificationStatus'];
3133
- /**
3134
- * EmptyEvent
3135
- *
3136
- * @remarks
3137
- * Type alias for the `EmptyEvent` OpenAPI schema.
3138
- * This type represents emptyevent data structures used in API requests and responses.
3139
- *
3140
- * @example
3141
- * ```typescript
3142
- * const response = await api.getEmptyEvent();
3143
- * const item: EmptyEvent = response.results;
3144
- * ```
3145
- *
3146
- * @see {@link components} - The OpenAPI components schema definition
3147
- */
3148
- export type EmptyEvent = components['schemas']['EmptyEvent'];
3149
- /**
3150
- * EppDateTime
3151
- *
3152
- * @remarks
3153
- * Type alias for the `EppDateTime` OpenAPI schema.
3154
- * This type represents eppdatetime data structures used in API requests and responses.
3155
- *
3156
- * @example
3157
- * ```typescript
3158
- * const response = await api.getEppDateTime();
3159
- * const item: EppDateTime = response.results;
3160
- * ```
3161
- *
3162
- * @see {@link components} - The OpenAPI components schema definition
3163
- */
3164
- export type EppDateTime = components['schemas']['EppDateTime'];
3165
3117
  /**
3166
3118
  * EventObjectType
3167
3119
  *
@@ -5444,22 +5396,6 @@ export type Relation = components['schemas']['Relation'];
5444
5396
  * @see {@link components} - The OpenAPI components schema definition
5445
5397
  */
5446
5398
  export type RelationSet = components['schemas']['RelationSet'];
5447
- /**
5448
- * RenewalEvent
5449
- *
5450
- * @remarks
5451
- * Type alias for the `RenewalEvent` OpenAPI schema.
5452
- * This type represents renewalevent data structures used in API requests and responses.
5453
- *
5454
- * @example
5455
- * ```typescript
5456
- * const response = await api.getRenewalEvent();
5457
- * const item: RenewalEvent = response.results;
5458
- * ```
5459
- *
5460
- * @see {@link components} - The OpenAPI components schema definition
5461
- */
5462
- export type RenewalEvent = components['schemas']['RenewalEvent'];
5463
5399
  /**
5464
5400
  * RenewalMode
5465
5401
  *
@@ -5972,22 +5908,6 @@ export type TrademarkClaimsBase = components['schemas']['TrademarkClaimsBase'];
5972
5908
  * @see {@link components} - The OpenAPI components schema definition
5973
5909
  */
5974
5910
  export type TransferAckType = components['schemas']['TransferAckType'];
5975
- /**
5976
- * TransferEvent
5977
- *
5978
- * @remarks
5979
- * Type alias for the `TransferEvent` OpenAPI schema.
5980
- * This type represents transferevent data structures used in API requests and responses.
5981
- *
5982
- * @example
5983
- * ```typescript
5984
- * const response = await api.getTransferEvent();
5985
- * const item: TransferEvent = response.results;
5986
- * ```
5987
- *
5988
- * @see {@link components} - The OpenAPI components schema definition
5989
- */
5990
- export type TransferEvent = components['schemas']['TransferEvent'];
5991
5911
  /**
5992
5912
  * TransferLockPolicyBase
5993
5913
  *
package/src/openapi.yaml CHANGED
@@ -1602,14 +1602,6 @@ components:
1602
1602
  - expiration
1603
1603
  title: DeletePolicyType
1604
1604
  type: string
1605
- DeletedEvent:
1606
- properties:
1607
- date:
1608
- $ref: '#/components/schemas/EppDateTime'
1609
- required:
1610
- - date
1611
- title: DeletedEvent
1612
- type: object
1613
1605
  DnsChangeAction:
1614
1606
  enum:
1615
1607
  - create_zone
@@ -5073,15 +5065,6 @@ components:
5073
5065
  - canceled
5074
5066
  title: EmailVerificationStatus
5075
5067
  type: string
5076
- EmptyEvent:
5077
- properties: {}
5078
- title: EmptyEvent
5079
- type: object
5080
- EppDateTime:
5081
- anyOf:
5082
- - format: date-time
5083
- type: string
5084
- - type: string
5085
5068
  EventObjectType:
5086
5069
  enum:
5087
5070
  - DOMAIN
@@ -5141,7 +5124,6 @@ components:
5141
5124
  description: The type of the event - indicates the kind of operation occurring
5142
5125
  (e.g., 'ACCOUNT_CREATE', 'DOMAIN_MODIFICATION')
5143
5126
  required:
5144
- - event_data
5145
5127
  - created_on
5146
5128
  title: EventResponse
5147
5129
  type: object
@@ -8554,17 +8536,6 @@ components:
8554
8536
  type: array
8555
8537
  title: RelationSet
8556
8538
  type: object
8557
- RenewalEvent:
8558
- properties:
8559
- registration_expiration_date:
8560
- description: The new expiration date/time after the domain has been renewed
8561
- format: date-time
8562
- title: Registration Expiration Date
8563
- type: string
8564
- required:
8565
- - registration_expiration_date
8566
- title: RenewalEvent
8567
- type: object
8568
8539
  RenewalMode:
8569
8540
  enum:
8570
8541
  - renew
@@ -9172,31 +9143,6 @@ components:
9172
9143
  - both
9173
9144
  title: TransferAckType
9174
9145
  type: string
9175
- TransferEvent:
9176
- properties:
9177
- current_registrar:
9178
- title: Current Registrar
9179
- type: string
9180
- execution_date:
9181
- $ref: '#/components/schemas/EppDateTime'
9182
- expiration_date:
9183
- anyOf:
9184
- - $ref: '#/components/schemas/EppDateTime'
9185
- - type: 'null'
9186
- message:
9187
- title: Message
9188
- type: string
9189
- requesting_registrar:
9190
- title: Requesting Registrar
9191
- type: string
9192
- required:
9193
- - execution_date
9194
- - message
9195
- - requesting_registrar
9196
- - current_registrar
9197
- - expiration_date
9198
- title: TransferEvent
9199
- type: object
9200
9146
  TransferLockPolicyBase:
9201
9147
  properties:
9202
9148
  supported_by_registrar:
@@ -10180,7 +10126,7 @@ info:
10180
10126
  \n\n"
10181
10127
  summary: OpusDNS - your gateway to a seamless domain management experience.
10182
10128
  title: OpusDNS API
10183
- version: 2026-04-24-085952
10129
+ version: 2026-04-24-122704
10184
10130
  x-logo:
10185
10131
  altText: OpusDNS API Reference
10186
10132
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3396,10 +3396,6 @@ export interface components {
3396
3396
  * @enum {string}
3397
3397
  */
3398
3398
  DeletePolicyType: "immediate" | "expiration";
3399
- /** DeletedEvent */
3400
- DeletedEvent: {
3401
- date: components["schemas"]["EppDateTime"];
3402
- };
3403
3399
  /**
3404
3400
  * DnsChangeAction
3405
3401
  * @enum {string}
@@ -5674,9 +5670,6 @@ export interface components {
5674
5670
  * @enum {string}
5675
5671
  */
5676
5672
  EmailVerificationStatus: "verified" | "pending" | "canceled";
5677
- /** EmptyEvent */
5678
- EmptyEvent: Record<string, never>;
5679
- EppDateTime: Date | string;
5680
5673
  /**
5681
5674
  * EventObjectType
5682
5675
  * @enum {string}
@@ -5696,7 +5689,7 @@ export interface components {
5696
5689
  */
5697
5690
  created_on: Date;
5698
5691
  /** Event Data */
5699
- event_data: {
5692
+ event_data?: {
5700
5693
  [key: string]: unknown;
5701
5694
  };
5702
5695
  /**
@@ -7922,15 +7915,6 @@ export interface components {
7922
7915
  /** Relations */
7923
7916
  relations?: components["schemas"]["Relation"][];
7924
7917
  };
7925
- /** RenewalEvent */
7926
- RenewalEvent: {
7927
- /**
7928
- * Registration Expiration Date
7929
- * Format: date-time
7930
- * @description The new expiration date/time after the domain has been renewed
7931
- */
7932
- registration_expiration_date: Date;
7933
- };
7934
7918
  /**
7935
7919
  * RenewalMode
7936
7920
  * @enum {string}
@@ -8347,17 +8331,6 @@ export interface components {
8347
8331
  * @enum {string}
8348
8332
  */
8349
8333
  TransferAckType: "none" | "registrar" | "registrant" | "both";
8350
- /** TransferEvent */
8351
- TransferEvent: {
8352
- /** Current Registrar */
8353
- current_registrar: string;
8354
- execution_date: components["schemas"]["EppDateTime"];
8355
- expiration_date: components["schemas"]["EppDateTime"] | null;
8356
- /** Message */
8357
- message: string;
8358
- /** Requesting Registrar */
8359
- requesting_registrar: string;
8360
- };
8361
8334
  /** TransferLockPolicyBase */
8362
8335
  TransferLockPolicyBase: {
8363
8336
  /**