@opusdns/api 0.56.0 → 0.57.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.56.0",
11
+ "version": "0.57.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -403,6 +403,31 @@ export const KEY_BILLING_PLAN_NAME = 'name' as keyof BillingPlan;
403
403
  * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
404
404
  */
405
405
  export const KEY_BILLING_PLAN_PLAN_ID = 'plan_id' as keyof BillingPlan;
406
+ /**
407
+ * Plan Level
408
+ *
409
+ * Plan level such as 'basic', 'premium' or 'enterprise'.
410
+ *
411
+ *
412
+ *
413
+ * @remarks
414
+ * This key constant provides type-safe access to the `plan_level` property of BillingPlan objects.
415
+ * Use this constant when you need to access properties dynamically or ensure type safety.
416
+ *
417
+ * @example
418
+ * ```typescript
419
+ * // Direct property access
420
+ * const value = billingplan[KEY_BILLING_PLAN_PLAN_LEVEL];
421
+ *
422
+ * // Dynamic property access
423
+ * const propertyName = KEY_BILLING_PLAN_PLAN_LEVEL;
424
+ * const value = billingplan[propertyName];
425
+ * ```
426
+ *
427
+ * @see {@link BillingPlan} - The TypeScript type definition
428
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
429
+ */
430
+ export const KEY_BILLING_PLAN_PLAN_LEVEL = 'plan_level' as keyof BillingPlan;
406
431
  /**
407
432
  * Type
408
433
  *
@@ -454,6 +479,7 @@ export const KEYS_BILLING_PLAN = [
454
479
  KEY_BILLING_PLAN_CURRENCY,
455
480
  KEY_BILLING_PLAN_NAME,
456
481
  KEY_BILLING_PLAN_PLAN_ID,
482
+ KEY_BILLING_PLAN_PLAN_LEVEL,
457
483
  KEY_BILLING_PLAN_TYPE,
458
484
  ] as const satisfies (keyof BillingPlan)[];
459
485
 
package/src/openapi.yaml CHANGED
@@ -69,6 +69,12 @@ components:
69
69
  - type: 'null'
70
70
  description: Billing plan ID for the organization.
71
71
  title: Plan Id
72
+ plan_level:
73
+ anyOf:
74
+ - type: string
75
+ - type: 'null'
76
+ description: Plan level such as 'basic', 'premium' or 'enterprise'.
77
+ title: Plan Level
72
78
  type:
73
79
  anyOf:
74
80
  - type: string
@@ -4902,7 +4908,7 @@ info:
4902
4908
  '
4903
4909
  summary: OpusDNS - your gateway to a seamless domain management experience.
4904
4910
  title: OpusDNS API
4905
- version: 2025-09-20-150413
4911
+ version: 2025-09-20-161341
4906
4912
  x-logo:
4907
4913
  altText: OpusDNS API Reference
4908
4914
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -1166,6 +1166,11 @@ export interface components {
1166
1166
  * @description Billing plan ID for the organization.
1167
1167
  */
1168
1168
  plan_id?: string | null;
1169
+ /**
1170
+ * Plan Level
1171
+ * @description Plan level such as 'basic', 'premium' or 'enterprise'.
1172
+ */
1173
+ plan_level?: string | null;
1169
1174
  /**
1170
1175
  * Type
1171
1176
  * @description Plan type or billing interval.