@opusdns/api 1.32.0 → 1.34.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.32.0",
6
+ "version": "1.34.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -2277,6 +2277,7 @@ export const KEY_DOMAIN_REGISTERED_ON = 'registered_on' satisfies keyof Domain;
2277
2277
  export const KEY_DOMAIN_REGISTRY_ACCOUNT_ID = 'registry_account_id' satisfies keyof Domain;
2278
2278
  export const KEY_DOMAIN_REGISTRY_STATUSES = 'registry_statuses' satisfies keyof Domain;
2279
2279
  export const KEY_DOMAIN_RENEWAL_MODE = 'renewal_mode' satisfies keyof Domain;
2280
+ export const KEY_DOMAIN_RENEWAL_PERIOD = 'renewal_period' satisfies keyof Domain;
2280
2281
  export const KEY_DOMAIN_ROID = 'roid' satisfies keyof Domain;
2281
2282
  export const KEY_DOMAIN_SLD = 'sld' satisfies keyof Domain;
2282
2283
  export const KEY_DOMAIN_STATUS_TAGS = 'status_tags' satisfies keyof Domain;
@@ -2304,6 +2305,7 @@ export const KEYS_DOMAIN = [
2304
2305
  KEY_DOMAIN_REGISTRY_ACCOUNT_ID,
2305
2306
  KEY_DOMAIN_REGISTRY_STATUSES,
2306
2307
  KEY_DOMAIN_RENEWAL_MODE,
2308
+ KEY_DOMAIN_RENEWAL_PERIOD,
2307
2309
  KEY_DOMAIN_ROID,
2308
2310
  KEY_DOMAIN_SLD,
2309
2311
  KEY_DOMAIN_STATUS_TAGS,
package/src/openapi.yaml CHANGED
@@ -3576,8 +3576,8 @@ components:
3576
3576
  description: The renewal mode of the domain
3577
3577
  required:
3578
3578
  - name
3579
- - contacts
3580
3579
  - renewal_mode
3580
+ - contacts
3581
3581
  - period
3582
3582
  title: DomainCreate
3583
3583
  type: object
@@ -3825,8 +3825,8 @@ components:
3825
3825
  description: The renewal mode of the domain
3826
3826
  required:
3827
3827
  - name
3828
- - contacts
3829
3828
  - renewal_mode
3829
+ - contacts
3830
3830
  - period
3831
3831
  title: DomainCreatePayloadData
3832
3832
  type: object
@@ -5002,6 +5002,14 @@ components:
5002
5002
  renewal_mode:
5003
5003
  $ref: '#/components/schemas/RenewalMode'
5004
5004
  description: The renewal mode of the domain
5005
+ renewal_period:
5006
+ anyOf:
5007
+ - type: string
5008
+ - type: 'null'
5009
+ description: Renewal period of the domain as an ISO 8601 duration (e.g.
5010
+ 'P1M', 'P1Y'). Null when the domain is not set to renew (renewal mode
5011
+ 'expire') or has no active subscription.
5012
+ title: Renewal Period
5005
5013
  roid:
5006
5014
  description: The registry object id of the domain
5007
5015
  examples:
@@ -5515,7 +5523,8 @@ components:
5515
5523
  anyOf:
5516
5524
  - $ref: '#/components/schemas/DomainContactHandles'
5517
5525
  - $ref: '#/components/schemas/ContactIdList'
5518
- description: The contacts of the domain
5526
+ description: The contacts of the domain. Optional for transfers when all
5527
+ supported contact roles have a minimum of 0 in the TLD specification.
5519
5528
  title: Contacts
5520
5529
  create_zone:
5521
5530
  default: false
@@ -5551,7 +5560,6 @@ components:
5551
5560
  description: The renewal mode of the domain
5552
5561
  required:
5553
5562
  - name
5554
- - contacts
5555
5563
  - renewal_mode
5556
5564
  title: DomainTransferIn
5557
5565
  type: object
@@ -5579,7 +5587,8 @@ components:
5579
5587
  anyOf:
5580
5588
  - $ref: '#/components/schemas/DomainContactHandles'
5581
5589
  - $ref: '#/components/schemas/ContactIdList'
5582
- description: The contacts of the domain
5590
+ description: The contacts of the domain. Optional for transfers when all
5591
+ supported contact roles have a minimum of 0 in the TLD specification.
5583
5592
  title: Contacts
5584
5593
  create_zone:
5585
5594
  default: false
@@ -5615,7 +5624,6 @@ components:
5615
5624
  description: The renewal mode of the domain
5616
5625
  required:
5617
5626
  - name
5618
- - contacts
5619
5627
  - renewal_mode
5620
5628
  title: DomainTransferPayloadData
5621
5629
  type: object
@@ -13375,7 +13383,7 @@ info:
13375
13383
  \n\n"
13376
13384
  summary: OpusDNS - your gateway to a seamless domain management experience.
13377
13385
  title: OpusDNS API
13378
- version: 2026-06-24-105749
13386
+ version: 2026-06-24-161025
13379
13387
  x-logo:
13380
13388
  altText: OpusDNS API Reference
13381
13389
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -6061,6 +6061,11 @@ export interface components {
6061
6061
  registry_statuses?: string[];
6062
6062
  /** @description The renewal mode of the domain */
6063
6063
  renewal_mode?: components["schemas"]["RenewalMode"];
6064
+ /**
6065
+ * Renewal Period
6066
+ * @description Renewal period of the domain as an ISO 8601 duration (e.g. 'P1M', 'P1Y'). Null when the domain is not set to renew (renewal mode 'expire') or has no active subscription.
6067
+ */
6068
+ renewal_period?: string | null;
6064
6069
  /**
6065
6070
  * Roid
6066
6071
  * @description The registry object id of the domain
@@ -6388,9 +6393,9 @@ export interface components {
6388
6393
  auth_code?: string | null;
6389
6394
  /**
6390
6395
  * Contacts
6391
- * @description The contacts of the domain
6396
+ * @description The contacts of the domain. Optional for transfers when all supported contact roles have a minimum of 0 in the TLD specification.
6392
6397
  */
6393
- contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
6398
+ contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
6394
6399
  /**
6395
6400
  * Create Zone
6396
6401
  * @description Create a zone for the domain on OpusDNS nameserver infrastructure
@@ -6433,9 +6438,9 @@ export interface components {
6433
6438
  auth_code?: string | null;
6434
6439
  /**
6435
6440
  * Contacts
6436
- * @description The contacts of the domain
6441
+ * @description The contacts of the domain. Optional for transfers when all supported contact roles have a minimum of 0 in the TLD specification.
6437
6442
  */
6438
- contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
6443
+ contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
6439
6444
  /**
6440
6445
  * Create Zone
6441
6446
  * @description Create a zone for the domain on OpusDNS nameserver infrastructure