@opusdns/api 1.108.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.108.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
@@ -5492,8 +5492,8 @@ components:
5492
5492
  $ref: '#/components/schemas/StatusTagResponse'
5493
5493
  type: array
5494
5494
  - type: 'null'
5495
- description: Status tags assigned to this domain. Only included when ?include=tags
5496
- is specified.
5495
+ description: Status tags assigned to this domain. Null unless `include=tags`
5496
+ is requested.
5497
5497
  title: Status Tags
5498
5498
  tags:
5499
5499
  anyOf:
@@ -5501,8 +5501,8 @@ components:
5501
5501
  $ref: '#/components/schemas/TagEnrichedResponse'
5502
5502
  type: array
5503
5503
  - type: 'null'
5504
- description: User tags assigned to this domain. Only included when ?include=tags
5505
- is specified.
5504
+ description: User tags assigned to this domain. Null unless `include=tags`
5505
+ is requested.
5506
5506
  title: Tags
5507
5507
  tld:
5508
5508
  description: The top level domain of the domain
@@ -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-10-192446
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
@@ -22833,7 +22840,7 @@ paths:
22833
22840
  - domain_search
22834
22841
  /v1/domains:
22835
22842
  get:
22836
- description: Retrieves a paginated list of all active domains
22843
+ description: Retrieves a paginated list of all active domains.
22837
22844
  operationId: get_domains_v1_domains_get
22838
22845
  parameters:
22839
22846
  - in: query
@@ -23088,8 +23095,9 @@ paths:
23088
23095
  description: Filter domains by registry status. Can be specified multiple
23089
23096
  times (union of all provided values).
23090
23097
  title: Registry Statuses
23091
- - description: Include additional data in the response. Can be specified multiple
23092
- times.
23098
+ - description: Extra data to include in each result. `tags` populates the `tags`
23099
+ (user tags) and `status_tags` fields, which are otherwise null; filtering
23100
+ by `tag_ids` or `status_tags` alone does not populate them.
23093
23101
  in: query
23094
23102
  name: include
23095
23103
  required: false
@@ -23099,8 +23107,9 @@ paths:
23099
23107
  $ref: '#/components/schemas/DomainListIncludeField'
23100
23108
  type: array
23101
23109
  - type: 'null'
23102
- description: Include additional data in the response. Can be specified multiple
23103
- times.
23110
+ description: Extra data to include in each result. `tags` populates the
23111
+ `tags` (user tags) and `status_tags` fields, which are otherwise null;
23112
+ filtering by `tag_ids` or `status_tags` alone does not populate them.
23104
23113
  title: Include
23105
23114
  - $ref: '#/components/parameters/DatetimeFormatHeader'
23106
23115
  responses:
@@ -23310,7 +23319,9 @@ paths:
23310
23319
 
23311
23320
  '
23312
23321
  items:
23322
+ maxLength: 1024
23313
23323
  type: string
23324
+ maxItems: 500
23314
23325
  title: Domains
23315
23326
  type: array
23316
23327
  - $ref: '#/components/parameters/DatetimeFormatHeader'
@@ -24502,7 +24513,7 @@ paths:
24502
24513
  x-required-permissions:
24503
24514
  - domains:delete
24504
24515
  get:
24505
- description: Retrieves a single active domain by either its name or id
24516
+ description: Retrieves a single active domain by either its name or id.
24506
24517
  operationId: get_domain_v1_domains__domain_reference__get
24507
24518
  parameters:
24508
24519
  - in: path
@@ -24518,7 +24529,9 @@ paths:
24518
24529
  x-typeid-prefix: domain
24519
24530
  - type: string
24520
24531
  title: Domain Reference
24521
- - description: Include additional data in the response.
24532
+ - description: Extra data to include in the response. `tags` populates the `tags`
24533
+ and `status_tags` fields, which are otherwise null. `renewal_price` resolves
24534
+ the domain's renewal price.
24522
24535
  in: query
24523
24536
  name: include
24524
24537
  required: false
@@ -24528,7 +24541,9 @@ paths:
24528
24541
  $ref: '#/components/schemas/DomainIncludeField'
24529
24542
  type: array
24530
24543
  - type: 'null'
24531
- description: Include additional data in the response.
24544
+ description: Extra data to include in the response. `tags` populates the
24545
+ `tags` and `status_tags` fields, which are otherwise null. `renewal_price`
24546
+ resolves the domain's renewal price.
24532
24547
  title: Include
24533
24548
  - $ref: '#/components/parameters/DatetimeFormatHeader'
24534
24549
  responses:
package/src/schema.d.ts CHANGED
@@ -1083,7 +1083,7 @@ export interface paths {
1083
1083
  };
1084
1084
  /**
1085
1085
  * List all domains
1086
- * @description Retrieves a paginated list of all active domains
1086
+ * @description Retrieves a paginated list of all active domains.
1087
1087
  */
1088
1088
  get: operations["get_domains_v1_domains_get"];
1089
1089
  put?: never;
@@ -1419,7 +1419,7 @@ export interface paths {
1419
1419
  };
1420
1420
  /**
1421
1421
  * Retrieve a domain
1422
- * @description Retrieves a single active domain by either its name or id
1422
+ * @description Retrieves a single active domain by either its name or id.
1423
1423
  */
1424
1424
  get: operations["get_domain_v1_domains__domain_reference__get"];
1425
1425
  put?: never;
@@ -6539,12 +6539,12 @@ export interface components {
6539
6539
  sld: string;
6540
6540
  /**
6541
6541
  * Status Tags
6542
- * @description Status tags assigned to this domain. Only included when ?include=tags is specified.
6542
+ * @description Status tags assigned to this domain. Null unless `include=tags` is requested.
6543
6543
  */
6544
6544
  status_tags?: components["schemas"]["StatusTagResponse"][] | null;
6545
6545
  /**
6546
6546
  * Tags
6547
- * @description User tags assigned to this domain. Only included when ?include=tags is specified.
6547
+ * @description User tags assigned to this domain. Null unless `include=tags` is requested.
6548
6548
  */
6549
6549
  tags?: components["schemas"]["TagEnrichedResponse"][] | null;
6550
6550
  /**
@@ -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;
@@ -18903,7 +18905,7 @@ export interface operations {
18903
18905
  transferred_before?: Date | null;
18904
18906
  /** @description Filter domains by registry status. Can be specified multiple times (union of all provided values). */
18905
18907
  registry_statuses?: string[] | null;
18906
- /** @description Include additional data in the response. Can be specified multiple times. */
18908
+ /** @description Extra data to include in each result. `tags` populates the `tags` (user tags) and `status_tags` fields, which are otherwise null; filtering by `tag_ids` or `status_tags` alone does not populate them. */
18907
18909
  include?: components["schemas"]["DomainListIncludeField"][] | null;
18908
18910
  };
18909
18911
  header?: {
@@ -20187,7 +20189,7 @@ export interface operations {
20187
20189
  get_domain_v1_domains__domain_reference__get: {
20188
20190
  parameters: {
20189
20191
  query?: {
20190
- /** @description Include additional data in the response. */
20192
+ /** @description Extra data to include in the response. `tags` populates the `tags` and `status_tags` fields, which are otherwise null. `renewal_price` resolves the domain's renewal price. */
20191
20193
  include?: components["schemas"]["DomainIncludeField"][] | null;
20192
20194
  };
20193
20195
  header?: {