@opusdns/api 1.109.0 → 1.110.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": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.109.0",
6
+ "version": "1.110.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -5995,6 +5995,7 @@ export const KEYS_DOMAIN_AVAILABILITY_LIST = [
5995
5995
  export const KEY_DOMAIN_AVAILABILITY_CHECK_AVAILABLE = 'available' satisfies keyof DomainAvailabilityCheck;
5996
5996
  export const KEY_DOMAIN_AVAILABILITY_CHECK_CLAIMS_KEY = 'claims_key' satisfies keyof DomainAvailabilityCheck;
5997
5997
  export const KEY_DOMAIN_AVAILABILITY_CHECK_DOMAIN = 'domain' satisfies keyof DomainAvailabilityCheck;
5998
+ export const KEY_DOMAIN_AVAILABILITY_CHECK_ERROR = 'error' satisfies keyof DomainAvailabilityCheck;
5998
5999
  export const KEY_DOMAIN_AVAILABILITY_CHECK_IS_PREMIUM = 'is_premium' satisfies keyof DomainAvailabilityCheck;
5999
6000
  export const KEY_DOMAIN_AVAILABILITY_CHECK_PREMIUM_PRICING = 'premium_pricing' satisfies keyof DomainAvailabilityCheck;
6000
6001
  export const KEY_DOMAIN_AVAILABILITY_CHECK_REASON = 'reason' satisfies keyof DomainAvailabilityCheck;
@@ -6003,6 +6004,7 @@ export const KEYS_DOMAIN_AVAILABILITY_CHECK = [
6003
6004
  KEY_DOMAIN_AVAILABILITY_CHECK_AVAILABLE,
6004
6005
  KEY_DOMAIN_AVAILABILITY_CHECK_CLAIMS_KEY,
6005
6006
  KEY_DOMAIN_AVAILABILITY_CHECK_DOMAIN,
6007
+ KEY_DOMAIN_AVAILABILITY_CHECK_ERROR,
6006
6008
  KEY_DOMAIN_AVAILABILITY_CHECK_IS_PREMIUM,
6007
6009
  KEY_DOMAIN_AVAILABILITY_CHECK_PREMIUM_PRICING,
6008
6010
  KEY_DOMAIN_AVAILABILITY_CHECK_REASON,
package/src/openapi.yaml CHANGED
@@ -15071,6 +15071,13 @@ components:
15071
15071
  - example.com
15072
15072
  title: Domain
15073
15073
  type: string
15074
+ error:
15075
+ anyOf:
15076
+ - $ref: '#/components/schemas/DomainAvailabilityError'
15077
+ - type: 'null'
15078
+ description: 'Error that prevented this domain from being checked: `validation_error`
15079
+ if the domain name is invalid or its TLD is not supported, `check_error`
15080
+ if the registry check failed.'
15074
15081
  is_premium:
15075
15082
  default: false
15076
15083
  description: True if the registry classifies this domain as premium (non-standard
@@ -15088,8 +15095,8 @@ components:
15088
15095
  - type: string
15089
15096
  - type: 'null'
15090
15097
  description: Registry-supplied reason the domain is unavailable (e.g. 'Domain
15091
- exists', 'Reserved', 'In Use'). May be null when the domain is available,
15092
- or when the registry did not provide a reason.
15098
+ exists', 'Reserved', 'In Use'). Null if the domain is available, failed
15099
+ prechecks, or no reason was returned by the registry.
15093
15100
  examples:
15094
15101
  - Domain exists
15095
15102
  title: Reason
@@ -15169,7 +15176,7 @@ info:
15169
15176
  \n\n"
15170
15177
  summary: OpusDNS - your gateway to a seamless domain management experience.
15171
15178
  title: OpusDNS API
15172
- version: 2026-08-12-074946
15179
+ version: 2026-08-12-133338
15173
15180
  x-logo:
15174
15181
  altText: OpusDNS API Reference
15175
15182
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23312,7 +23319,9 @@ paths:
23312
23319
 
23313
23320
  '
23314
23321
  items:
23322
+ maxLength: 1024
23315
23323
  type: string
23324
+ maxItems: 500
23316
23325
  title: Domains
23317
23326
  type: array
23318
23327
  - $ref: '#/components/parameters/DatetimeFormatHeader'
package/src/schema.d.ts CHANGED
@@ -12943,6 +12943,8 @@ export interface components {
12943
12943
  * @example example.com
12944
12944
  */
12945
12945
  domain: string;
12946
+ /** @description Error that prevented this domain from being checked: `validation_error` if the domain name is invalid or its TLD is not supported, `check_error` if the registry check failed. */
12947
+ error?: components["schemas"]["DomainAvailabilityError"] | null;
12946
12948
  /**
12947
12949
  * Is Premium
12948
12950
  * @description True if the registry classifies this domain as premium (non-standard pricing)
@@ -12953,7 +12955,7 @@ export interface components {
12953
12955
  premium_pricing?: components["schemas"]["PremiumPricingResponse"] | null;
12954
12956
  /**
12955
12957
  * Reason
12956
- * @description Registry-supplied reason the domain is unavailable (e.g. 'Domain exists', 'Reserved', 'In Use'). May be null when the domain is available, or when the registry did not provide a reason.
12958
+ * @description Registry-supplied reason the domain is unavailable (e.g. 'Domain exists', 'Reserved', 'In Use'). Null if the domain is available, failed prechecks, or no reason was returned by the registry.
12957
12959
  * @example Domain exists
12958
12960
  */
12959
12961
  reason: string | null;