@opusdns/api 0.300.0 → 0.302.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.300.0",
6
+ "version": "0.302.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -2124,6 +2124,7 @@ export const EVENT_OBJECT_TYPE = {
2124
2124
  DOMAIN: "DOMAIN",
2125
2125
  CONTACT: "CONTACT",
2126
2126
  HOST: "HOST",
2127
+ ACCOUNT: "ACCOUNT",
2127
2128
  RAW: "RAW",
2128
2129
  UNKNOWN: "UNKNOWN",
2129
2130
  } as const satisfies Record<string, EventObjectType>;
@@ -2153,6 +2154,7 @@ export const EVENT_OBJECT_TYPE_VALUES = [
2153
2154
  'DOMAIN',
2154
2155
  'CONTACT',
2155
2156
  'HOST',
2157
+ 'ACCOUNT',
2156
2158
  'RAW',
2157
2159
  'UNKNOWN'
2158
2160
  ] as const satisfies [string, ...string[]] | EventObjectType[];
@@ -2290,6 +2292,7 @@ export const EVENT_TYPE = {
2290
2292
  TRANSIT: "TRANSIT",
2291
2293
  WITHDRAW: "WITHDRAW",
2292
2294
  VERIFICATION: "VERIFICATION",
2295
+ BALANCE: "BALANCE",
2293
2296
  } as const satisfies Record<string, EventType>;
2294
2297
 
2295
2298
  /**
@@ -2322,7 +2325,8 @@ export const EVENT_TYPE_VALUES = [
2322
2325
  'OUTBOUND_TRANSFER',
2323
2326
  'TRANSIT',
2324
2327
  'WITHDRAW',
2325
- 'VERIFICATION'
2328
+ 'VERIFICATION',
2329
+ 'BALANCE'
2326
2330
  ] as const satisfies [string, ...string[]] | EventType[];
2327
2331
 
2328
2332
  /**
@@ -12939,6 +12939,31 @@ export const KEYS_DOMAIN_CREATE_BULK_COMMAND = [
12939
12939
  KEY_DOMAIN_CREATE_BULK_COMMAND_VERSION,
12940
12940
  ] as const satisfies (keyof DomainCreateBulkCommand)[];
12941
12941
 
12942
+ /**
12943
+ * Attributes
12944
+ *
12945
+ * Override attributes for this domain
12946
+ *
12947
+ *
12948
+ *
12949
+ * @remarks
12950
+ * This key constant provides type-safe access to the `attributes` property of DomainCreateBulkInstance objects.
12951
+ * Use this constant when you need to access properties dynamically or ensure type safety.
12952
+ *
12953
+ * @example
12954
+ * ```typescript
12955
+ * // Direct property access
12956
+ * const value = domaincreatebulkinstance[KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES];
12957
+ *
12958
+ * // Dynamic property access
12959
+ * const propertyName = KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES;
12960
+ * const value = domaincreatebulkinstance[propertyName];
12961
+ * ```
12962
+ *
12963
+ * @see {@link DomainCreateBulkInstance} - The TypeScript type definition
12964
+ * @see {@link KEYS_DOMAIN_CREATE_BULK_INSTANCE} - Array of all keys for this type
12965
+ */
12966
+ export const KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES: keyof DomainCreateBulkInstance = 'attributes';
12942
12967
  /**
12943
12968
  * Auth Code
12944
12969
  *
@@ -13162,6 +13187,7 @@ export const KEY_DOMAIN_CREATE_BULK_INSTANCE_RENEWAL_MODE: keyof DomainCreateBul
13162
13187
  * @see {@link DomainCreateBulkInstance} - The TypeScript type definition
13163
13188
  */
13164
13189
  export const KEYS_DOMAIN_CREATE_BULK_INSTANCE = [
13190
+ KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES,
13165
13191
  KEY_DOMAIN_CREATE_BULK_INSTANCE_AUTH_CODE,
13166
13192
  KEY_DOMAIN_CREATE_BULK_INSTANCE_CONTACTS,
13167
13193
  KEY_DOMAIN_CREATE_BULK_INSTANCE_CREATE_ZONE,
@@ -13249,6 +13275,31 @@ export const KEYS_DOMAIN_CREATE_BULK_PAYLOAD = [
13249
13275
  KEY_DOMAIN_CREATE_BULK_PAYLOAD_TEMPLATE,
13250
13276
  ] as const satisfies (keyof DomainCreateBulkPayload)[];
13251
13277
 
13278
+ /**
13279
+ * Attributes
13280
+ *
13281
+ * Additional attributes of the domain
13282
+ *
13283
+ *
13284
+ *
13285
+ * @remarks
13286
+ * This key constant provides type-safe access to the `attributes` property of DomainCreateBulkTemplate objects.
13287
+ * Use this constant when you need to access properties dynamically or ensure type safety.
13288
+ *
13289
+ * @example
13290
+ * ```typescript
13291
+ * // Direct property access
13292
+ * const value = domaincreatebulktemplate[KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES];
13293
+ *
13294
+ * // Dynamic property access
13295
+ * const propertyName = KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES;
13296
+ * const value = domaincreatebulktemplate[propertyName];
13297
+ * ```
13298
+ *
13299
+ * @see {@link DomainCreateBulkTemplate} - The TypeScript type definition
13300
+ * @see {@link KEYS_DOMAIN_CREATE_BULK_TEMPLATE} - Array of all keys for this type
13301
+ */
13302
+ export const KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES: keyof DomainCreateBulkTemplate = 'attributes';
13252
13303
  /**
13253
13304
  * Auth Code
13254
13305
  *
@@ -13421,6 +13472,7 @@ export const KEY_DOMAIN_CREATE_BULK_TEMPLATE_RENEWAL_MODE: keyof DomainCreateBul
13421
13472
  * @see {@link DomainCreateBulkTemplate} - The TypeScript type definition
13422
13473
  */
13423
13474
  export const KEYS_DOMAIN_CREATE_BULK_TEMPLATE = [
13475
+ KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES,
13424
13476
  KEY_DOMAIN_CREATE_BULK_TEMPLATE_AUTH_CODE,
13425
13477
  KEY_DOMAIN_CREATE_BULK_TEMPLATE_CONTACTS,
13426
13478
  KEY_DOMAIN_CREATE_BULK_TEMPLATE_CREATE_ZONE,
package/src/openapi.yaml CHANGED
@@ -3113,6 +3113,16 @@ components:
3113
3113
  type: object
3114
3114
  DomainCreateBulkInstance:
3115
3115
  properties:
3116
+ attributes:
3117
+ anyOf:
3118
+ - additionalProperties:
3119
+ type: string
3120
+ propertyNames:
3121
+ $ref: '#/components/schemas/DomainAttributeKey'
3122
+ type: object
3123
+ - type: 'null'
3124
+ description: Override attributes for this domain
3125
+ title: Attributes
3116
3126
  auth_code:
3117
3127
  anyOf:
3118
3128
  - maxLength: 32
@@ -3185,6 +3195,16 @@ components:
3185
3195
  type: object
3186
3196
  DomainCreateBulkTemplate:
3187
3197
  properties:
3198
+ attributes:
3199
+ anyOf:
3200
+ - additionalProperties:
3201
+ type: string
3202
+ propertyNames:
3203
+ $ref: '#/components/schemas/DomainAttributeKey'
3204
+ type: object
3205
+ - type: 'null'
3206
+ description: Additional attributes of the domain
3207
+ title: Attributes
3188
3208
  auth_code:
3189
3209
  anyOf:
3190
3210
  - maxLength: 32
@@ -5693,6 +5713,7 @@ components:
5693
5713
  - DOMAIN
5694
5714
  - CONTACT
5695
5715
  - HOST
5716
+ - ACCOUNT
5696
5717
  - RAW
5697
5718
  - UNKNOWN
5698
5719
  title: EventObjectType
@@ -5774,6 +5795,7 @@ components:
5774
5795
  - TRANSIT
5775
5796
  - WITHDRAW
5776
5797
  - VERIFICATION
5798
+ - BALANCE
5777
5799
  title: EventType
5778
5800
  type: string
5779
5801
  EventVersion:
@@ -11325,7 +11347,7 @@ info:
11325
11347
  \n\n"
11326
11348
  summary: OpusDNS - your gateway to a seamless domain management experience.
11327
11349
  title: OpusDNS API
11328
- version: 2026-05-14-142832
11350
+ version: 2026-05-15-120103
11329
11351
  x-logo:
11330
11352
  altText: OpusDNS API Reference
11331
11353
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -4552,6 +4552,13 @@ export interface components {
4552
4552
  };
4553
4553
  /** DomainCreateBulkInstance */
4554
4554
  DomainCreateBulkInstance: {
4555
+ /**
4556
+ * Attributes
4557
+ * @description Override attributes for this domain
4558
+ */
4559
+ attributes?: {
4560
+ [key: string]: string;
4561
+ } | null;
4555
4562
  /**
4556
4563
  * Auth Code
4557
4564
  * @description Override auth code for this domain
@@ -4593,6 +4600,13 @@ export interface components {
4593
4600
  };
4594
4601
  /** DomainCreateBulkTemplate */
4595
4602
  DomainCreateBulkTemplate: {
4603
+ /**
4604
+ * Attributes
4605
+ * @description Additional attributes of the domain
4606
+ */
4607
+ attributes?: {
4608
+ [key: string]: string;
4609
+ } | null;
4596
4610
  /**
4597
4611
  * Auth Code
4598
4612
  * @description The auth code used for the domain
@@ -6263,7 +6277,7 @@ export interface components {
6263
6277
  * EventObjectType
6264
6278
  * @enum {string}
6265
6279
  */
6266
- EventObjectType: "DOMAIN" | "CONTACT" | "HOST" | "RAW" | "UNKNOWN";
6280
+ EventObjectType: "DOMAIN" | "CONTACT" | "HOST" | "ACCOUNT" | "RAW" | "UNKNOWN";
6267
6281
  /** EventResponse */
6268
6282
  EventResponse: {
6269
6283
  /**
@@ -6313,7 +6327,7 @@ export interface components {
6313
6327
  * EventType
6314
6328
  * @enum {string}
6315
6329
  */
6316
- EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION";
6330
+ EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION" | "BALANCE";
6317
6331
  /**
6318
6332
  * EventVersion
6319
6333
  * @enum {string}