@opusdns/api 0.239.0 → 0.240.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.239.0",
6
+ "version": "0.240.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -15023,6 +15023,32 @@ export const KEY_DOMAIN_EXPIRES_ON: keyof Domain = 'expires_on';
15023
15023
  * @see {@link KEYS_DOMAIN} - Array of all keys for this type
15024
15024
  */
15025
15025
  export const KEY_DOMAIN_HOSTS: keyof Domain = 'hosts';
15026
+ /**
15027
+ * Is Premium
15028
+ *
15029
+ * Whether this is a premium domain
15030
+ *
15031
+ * @type {boolean}
15032
+ *
15033
+ *
15034
+ * @remarks
15035
+ * This key constant provides type-safe access to the `is_premium` property of Domain objects.
15036
+ * Use this constant when you need to access properties dynamically or ensure type safety.
15037
+ *
15038
+ * @example
15039
+ * ```typescript
15040
+ * // Direct property access
15041
+ * const value = domain[KEY_DOMAIN_IS_PREMIUM];
15042
+ *
15043
+ * // Dynamic property access
15044
+ * const propertyName = KEY_DOMAIN_IS_PREMIUM;
15045
+ * const value = domain[propertyName];
15046
+ * ```
15047
+ *
15048
+ * @see {@link Domain} - The TypeScript type definition
15049
+ * @see {@link KEYS_DOMAIN} - Array of all keys for this type
15050
+ */
15051
+ export const KEY_DOMAIN_IS_PREMIUM: keyof Domain = 'is_premium';
15026
15052
  /**
15027
15053
  * Name
15028
15054
  *
@@ -15363,6 +15389,7 @@ export const KEYS_DOMAIN = [
15363
15389
  KEY_DOMAIN_DOMAIN_ID,
15364
15390
  KEY_DOMAIN_EXPIRES_ON,
15365
15391
  KEY_DOMAIN_HOSTS,
15392
+ KEY_DOMAIN_IS_PREMIUM,
15366
15393
  KEY_DOMAIN_NAME,
15367
15394
  KEY_DOMAIN_NAMESERVERS,
15368
15395
  KEY_DOMAIN_OWNER_ID,
package/src/openapi.yaml CHANGED
@@ -3499,6 +3499,11 @@ components:
3499
3499
  $ref: '#/components/schemas/DomainHostResponse'
3500
3500
  title: Hosts
3501
3501
  type: array
3502
+ is_premium:
3503
+ default: false
3504
+ description: Whether this is a premium domain
3505
+ title: Is Premium
3506
+ type: boolean
3502
3507
  name:
3503
3508
  description: The domain name
3504
3509
  examples:
@@ -9697,7 +9702,7 @@ info:
9697
9702
  \n\n"
9698
9703
  summary: OpusDNS - your gateway to a seamless domain management experience.
9699
9704
  title: OpusDNS API
9700
- version: 2026-04-08-180509
9705
+ version: 2026-04-09-170030
9701
9706
  x-logo:
9702
9707
  altText: OpusDNS API Reference
9703
9708
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -4497,6 +4497,12 @@ export interface components {
4497
4497
  * @description The subordinate hosts of the domain
4498
4498
  */
4499
4499
  hosts?: components["schemas"]["DomainHostResponse"][];
4500
+ /**
4501
+ * Is Premium
4502
+ * @description Whether this is a premium domain
4503
+ * @default false
4504
+ */
4505
+ is_premium: boolean;
4500
4506
  /**
4501
4507
  * Name
4502
4508
  * @description The domain name