@opusdns/api 0.23.0 → 0.25.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
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.23.0",
11
+ "version": "0.25.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -1570,7 +1570,6 @@ export const PERMISSION = {
1570
1570
  PREMIUM: "premium",
1571
1571
  PREMIUM_RESELLER: "premium_reseller",
1572
1572
  RENEW_EXPIRE: "renew_expire",
1573
- SIGN_ORG_TOS: "sign_org_tos",
1574
1573
  STARTER: "starter",
1575
1574
  TRANSFER_TRADE: "transfer_trade",
1576
1575
  UPDATE: "update",
@@ -1626,7 +1625,6 @@ export const PERMISSION_VALUES = [
1626
1625
  'premium',
1627
1626
  'premium_reseller',
1628
1627
  'renew_expire',
1629
- 'sign_org_tos',
1630
1628
  'starter',
1631
1629
  'transfer_trade',
1632
1630
  'update',
@@ -7305,11 +7305,10 @@ export const KEYS_DOMAIN_SUMMARY = [
7305
7305
  */
7306
7306
  export const KEY_DOMAIN_TRANSFER_IN_AUTH_CODE = 'auth_code' as keyof DomainTransferIn;
7307
7307
  /**
7308
- * Contacts
7308
+ * contacts property
7309
7309
  *
7310
7310
  * The contacts of the domain
7311
7311
  *
7312
- * @type {object}
7313
7312
  *
7314
7313
  *
7315
7314
  * @remarks
@@ -7333,7 +7332,7 @@ export const KEY_DOMAIN_TRANSFER_IN_CONTACTS = 'contacts' as keyof DomainTransfe
7333
7332
  /**
7334
7333
  * Name
7335
7334
  *
7336
- * The domain name
7335
+ * The domain to be created
7337
7336
  *
7338
7337
  * @type {string}
7339
7338
  *
@@ -7384,6 +7383,7 @@ export const KEY_DOMAIN_TRANSFER_IN_NAMESERVERS = 'nameservers' as keyof DomainT
7384
7383
  /**
7385
7384
  * renewal_mode property
7386
7385
  *
7386
+ * The renewal mode of the domain
7387
7387
  *
7388
7388
  *
7389
7389
  *
package/src/openapi.yaml CHANGED
@@ -1159,9 +1159,9 @@ components:
1159
1159
  description: The renewal mode of the domain
1160
1160
  required:
1161
1161
  - name
1162
- - period
1163
1162
  - contacts
1164
1163
  - renewal_mode
1164
+ - period
1165
1165
  title: DomainCreate
1166
1166
  type: object
1167
1167
  DomainDnssecDataCreate:
@@ -1776,27 +1776,10 @@ components:
1776
1776
  title: Auth Code
1777
1777
  type: string
1778
1778
  contacts:
1779
- additionalProperties:
1780
- examples:
1781
- - contact_01h45ytscbebyvny4gc8cr8ma2
1782
- format: typeid
1783
- pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
1784
- type: string
1785
- x-typeid-prefix: contact
1779
+ $ref: '#/components/schemas/ContactIdList'
1786
1780
  description: The contacts of the domain
1787
- examples:
1788
- - admin: contact_01h45ytscbebyvny4gc8cr8ma2
1789
- billing: contact_01h45ytscbebyvny4gc8cr8ma2
1790
- registrant: contact_01h45ytscbebyvny4gc8cr8ma2
1791
- tech: contact_01h45ytscbebyvny4gc8cr8ma2
1792
- propertyNames:
1793
- $ref: '#/components/schemas/DomainContactType'
1794
- title: Contacts
1795
- type: object
1796
1781
  name:
1797
- description: The domain name
1798
- examples:
1799
- - example.com
1782
+ description: The domain to be created
1800
1783
  title: Name
1801
1784
  type: string
1802
1785
  nameservers:
@@ -1809,10 +1792,12 @@ components:
1809
1792
  title: Nameservers
1810
1793
  renewal_mode:
1811
1794
  $ref: '#/components/schemas/RenewalMode'
1795
+ description: The renewal mode of the domain
1812
1796
  required:
1813
1797
  - name
1814
- - auth_code
1798
+ - contacts
1815
1799
  - renewal_mode
1800
+ - auth_code
1816
1801
  title: DomainTransferIn
1817
1802
  type: object
1818
1803
  DomainUpdate:
@@ -3566,7 +3551,6 @@ components:
3566
3551
  - premium
3567
3552
  - premium_reseller
3568
3553
  - renew_expire
3569
- - sign_org_tos
3570
3554
  - starter
3571
3555
  - transfer_trade
3572
3556
  - update
@@ -4800,7 +4784,7 @@ info:
4800
4784
  '
4801
4785
  summary: OpusDNS - your gateway to a seamless domain management experience.
4802
4786
  title: OpusDNS API
4803
- version: 2025-08-21-124715
4787
+ version: 2025-08-27-172550
4804
4788
  x-logo:
4805
4789
  altText: OpusDNS API Reference
4806
4790
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2227,16 +2227,11 @@ export interface components {
2227
2227
  * @description The auth code for the domain
2228
2228
  */
2229
2229
  auth_code: string;
2230
- /**
2231
- * Contacts
2232
- * @description The contacts of the domain
2233
- */
2234
- contacts?: {
2235
- [key: string]: TypeID<"contact">;
2236
- };
2230
+ /** @description The contacts of the domain */
2231
+ contacts: components["schemas"]["ContactIdList"];
2237
2232
  /**
2238
2233
  * Name
2239
- * @description The domain name
2234
+ * @description The domain to be created
2240
2235
  */
2241
2236
  name: string;
2242
2237
  /**
@@ -2244,6 +2239,7 @@ export interface components {
2244
2239
  * @description The name servers for the domain
2245
2240
  */
2246
2241
  nameservers?: components["schemas"]["Nameserver"][] | null;
2242
+ /** @description The renewal mode of the domain */
2247
2243
  renewal_mode: components["schemas"]["RenewalMode"];
2248
2244
  };
2249
2245
  /** DomainUpdate */
@@ -3427,7 +3423,7 @@ export interface components {
3427
3423
  * Permission
3428
3424
  * @enum {string}
3429
3425
  */
3430
- Permission: "acknowledge" | "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "create" | "delete" | "enterprise" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_email_forwards" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_user_relations" | "manage_users" | "plan_manager" | "premium" | "premium_reseller" | "renew_expire" | "sign_org_tos" | "starter" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs";
3426
+ Permission: "acknowledge" | "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "create" | "delete" | "enterprise" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_email_forwards" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_user_relations" | "manage_users" | "plan_manager" | "premium" | "premium_reseller" | "renew_expire" | "starter" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs";
3431
3427
  /** PermissionSet */
3432
3428
  PermissionSet: {
3433
3429
  /** Permissions */