@opusdns/api 0.45.0 → 0.47.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.45.0",
11
+ "version": "0.47.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -1733,11 +1733,12 @@ export const PERMISSION = {
1733
1733
  MANAGE_DNS_ZONES: "manage_dns_zones",
1734
1734
  MANAGE_DOMAINS: "manage_domains",
1735
1735
  MANAGE_EMAIL_FORWARDS: "manage_email_forwards",
1736
+ MANAGE_EVENTS: "manage_events",
1736
1737
  MANAGE_OPUSDNS_API_KEYS: "manage_opusdns_api_keys",
1737
1738
  MANAGE_PRODUCTS: "manage_products",
1738
1739
  MANAGE_RESELLER: "manage_reseller",
1739
- MANAGE_USER_RELATIONS: "manage_user_relations",
1740
1740
  MANAGE_USERS: "manage_users",
1741
+ MANAGE_USER_RELATIONS: "manage_user_relations",
1741
1742
  PLAN_MANAGER: "plan_manager",
1742
1743
  PREMIUM_PLAN: "premium_plan",
1743
1744
  RENEW_EXPIRE: "renew_expire",
@@ -1747,6 +1748,7 @@ export const PERMISSION = {
1747
1748
  VERIFY: "verify",
1748
1749
  VIEW: "view",
1749
1750
  VIEW_AUDIT_LOGS: "view_audit_logs",
1751
+ VIEW_EVENTS: "view_events",
1750
1752
  } as const satisfies Record<string, Permission>;
1751
1753
 
1752
1754
  /**
@@ -1789,11 +1791,12 @@ export const PERMISSION_VALUES = [
1789
1791
  'manage_dns_zones',
1790
1792
  'manage_domains',
1791
1793
  'manage_email_forwards',
1794
+ 'manage_events',
1792
1795
  'manage_opusdns_api_keys',
1793
1796
  'manage_products',
1794
1797
  'manage_reseller',
1795
- 'manage_user_relations',
1796
1798
  'manage_users',
1799
+ 'manage_user_relations',
1797
1800
  'plan_manager',
1798
1801
  'premium_plan',
1799
1802
  'renew_expire',
@@ -1802,7 +1805,8 @@ export const PERMISSION_VALUES = [
1802
1805
  'update',
1803
1806
  'verify',
1804
1807
  'view',
1805
- 'view_audit_logs'
1808
+ 'view_audit_logs',
1809
+ 'view_events'
1806
1810
  ] as const satisfies [string, ...string[]] | Permission[];
1807
1811
 
1808
1812
  /**
@@ -2136,6 +2140,7 @@ export const RELATION = {
2136
2140
  CONTACT_MANAGER: "contact_manager",
2137
2141
  DOMAIN_MANAGER: "domain_manager",
2138
2142
  EMAIL_FORWARD_MANAGER: "email_forward_manager",
2143
+ EVENTS_MANAGER: "events_manager",
2139
2144
  MEMBER: "member",
2140
2145
  OPUSDNS_INTERNAL_API_KEY: "opusdns_internal_api_key",
2141
2146
  ORGANIZATION_MANAGER: "organization_manager",
@@ -2179,6 +2184,7 @@ export const RELATION_VALUES = [
2179
2184
  'contact_manager',
2180
2185
  'domain_manager',
2181
2186
  'email_forward_manager',
2187
+ 'events_manager',
2182
2188
  'member',
2183
2189
  'opusdns_internal_api_key',
2184
2190
  'organization_manager',
@@ -16280,6 +16280,32 @@ export const KEYS_TERMS_OF_SERVICE_ACCEPT = [
16280
16280
  * @see {@link KEYS_TLD_BASE} - Array of all keys for this type
16281
16281
  */
16282
16282
  export const KEY_TLD_BASE_NAME = 'name' as keyof TldBase;
16283
+ /**
16284
+ * Third Level Structure
16285
+ *
16286
+ * Name of the third levels (name and overrides)
16287
+ *
16288
+ * @type {array}
16289
+ *
16290
+ *
16291
+ * @remarks
16292
+ * This key constant provides type-safe access to the `third_level_structure` property of TldBase objects.
16293
+ * Use this constant when you need to access properties dynamically or ensure type safety.
16294
+ *
16295
+ * @example
16296
+ * ```typescript
16297
+ * // Direct property access
16298
+ * const value = tldbase[KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE];
16299
+ *
16300
+ * // Dynamic property access
16301
+ * const propertyName = KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE;
16302
+ * const value = tldbase[propertyName];
16303
+ * ```
16304
+ *
16305
+ * @see {@link TldBase} - The TypeScript type definition
16306
+ * @see {@link KEYS_TLD_BASE} - Array of all keys for this type
16307
+ */
16308
+ export const KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE = 'third_level_structure' as keyof TldBase;
16283
16309
  /**
16284
16310
  * type property
16285
16311
  *
@@ -16328,6 +16354,7 @@ export const KEY_TLD_BASE_TYPE = 'type' as keyof TldBase;
16328
16354
  */
16329
16355
  export const KEYS_TLD_BASE = [
16330
16356
  KEY_TLD_BASE_NAME,
16357
+ KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE,
16331
16358
  KEY_TLD_BASE_TYPE,
16332
16359
  ] as const satisfies (keyof TldBase)[];
16333
16360
 
package/src/openapi.yaml CHANGED
@@ -3793,11 +3793,12 @@ components:
3793
3793
  - manage_dns_zones
3794
3794
  - manage_domains
3795
3795
  - manage_email_forwards
3796
+ - manage_events
3796
3797
  - manage_opusdns_api_keys
3797
3798
  - manage_products
3798
3799
  - manage_reseller
3799
- - manage_user_relations
3800
3800
  - manage_users
3801
+ - manage_user_relations
3801
3802
  - plan_manager
3802
3803
  - premium_plan
3803
3804
  - renew_expire
@@ -3807,6 +3808,7 @@ components:
3807
3808
  - verify
3808
3809
  - view
3809
3810
  - view_audit_logs
3811
+ - view_events
3810
3812
  title: Permission
3811
3813
  type: string
3812
3814
  PermissionSet:
@@ -4021,6 +4023,7 @@ components:
4021
4023
  - contact_manager
4022
4024
  - domain_manager
4023
4025
  - email_forward_manager
4026
+ - events_manager
4024
4027
  - member
4025
4028
  - opusdns_internal_api_key
4026
4029
  - organization_manager
@@ -4200,6 +4203,13 @@ components:
4200
4203
  description: The TLD being configured
4201
4204
  title: Name
4202
4205
  type: string
4206
+ third_level_structure:
4207
+ default: []
4208
+ description: Name of the third levels (name and overrides)
4209
+ items:
4210
+ type: string
4211
+ title: Third Level Structure
4212
+ type: array
4203
4213
  type:
4204
4214
  $ref: '#/components/schemas/TLDType'
4205
4215
  description: The type of the TLD (e.g., gTLD, ccTLD)
@@ -5324,7 +5334,7 @@ info:
5324
5334
  '
5325
5335
  summary: OpusDNS - your gateway to a seamless domain management experience.
5326
5336
  title: OpusDNS API
5327
- version: 2025-09-16-171129
5337
+ version: 2025-09-16-223203
5328
5338
  x-logo:
5329
5339
  altText: OpusDNS API Reference
5330
5340
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3739,7 +3739,7 @@ export interface components {
3739
3739
  * Permission
3740
3740
  * @enum {string}
3741
3741
  */
3742
- Permission: "acknowledge" | "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "enterprise_plan" | "has_accepted_tos" | "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_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs";
3742
+ Permission: "acknowledge" | "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_email_forwards" | "manage_events" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs" | "view_events";
3743
3743
  /** PermissionSet */
3744
3744
  PermissionSet: {
3745
3745
  /** Permissions */
@@ -3883,7 +3883,7 @@ export interface components {
3883
3883
  * Relation
3884
3884
  * @enum {string}
3885
3885
  */
3886
- Relation: "accepted_tos" | "admin" | "api_admin" | "billing_manager" | "client_api_key" | "cms_content_editor" | "contact_manager" | "domain_manager" | "email_forward_manager" | "member" | "opusdns_internal_api_key" | "organization_manager" | "owner" | "parent" | "product_manager" | "recipient" | "reseller_manager" | "root_admin" | "self";
3886
+ Relation: "accepted_tos" | "admin" | "api_admin" | "billing_manager" | "client_api_key" | "cms_content_editor" | "contact_manager" | "domain_manager" | "email_forward_manager" | "events_manager" | "member" | "opusdns_internal_api_key" | "organization_manager" | "owner" | "parent" | "product_manager" | "recipient" | "reseller_manager" | "root_admin" | "self";
3887
3887
  /** RelationSet */
3888
3888
  RelationSet: {
3889
3889
  /** Relations */
@@ -4001,6 +4001,12 @@ export interface components {
4001
4001
  * @description The TLD being configured
4002
4002
  */
4003
4003
  name: string;
4004
+ /**
4005
+ * Third Level Structure
4006
+ * @description Name of the third levels (name and overrides)
4007
+ * @default []
4008
+ */
4009
+ third_level_structure: string[];
4004
4010
  /** @description The type of the TLD (e.g., gTLD, ccTLD) */
4005
4011
  type: components["schemas"]["TLDType"];
4006
4012
  };