@opusdns/api 0.108.0 → 0.109.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": "^0.9.1"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.108.0",
6
+ "version": "0.109.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -268,6 +268,31 @@ export const KEYS_ALLOWED_NUMBER_OF_NAMESERVER_BASE = [
268
268
  * @see {@link KEYS_BILLING_METADATA} - Array of all keys for this type
269
269
  */
270
270
  export const KEY_BILLING_METADATA_BILLING_MODEL = 'billing_model' as keyof BillingMetadata;
271
+ /**
272
+ * Credit Limit
273
+ *
274
+ * Credit limit for the organization.
275
+ *
276
+ *
277
+ *
278
+ * @remarks
279
+ * This key constant provides type-safe access to the `credit_limit` property of BillingMetadata objects.
280
+ * Use this constant when you need to access properties dynamically or ensure type safety.
281
+ *
282
+ * @example
283
+ * ```typescript
284
+ * // Direct property access
285
+ * const value = billingmetadata[KEY_BILLING_METADATA_CREDIT_LIMIT];
286
+ *
287
+ * // Dynamic property access
288
+ * const propertyName = KEY_BILLING_METADATA_CREDIT_LIMIT;
289
+ * const value = billingmetadata[propertyName];
290
+ * ```
291
+ *
292
+ * @see {@link BillingMetadata} - The TypeScript type definition
293
+ * @see {@link KEYS_BILLING_METADATA} - Array of all keys for this type
294
+ */
295
+ export const KEY_BILLING_METADATA_CREDIT_LIMIT = 'credit_limit' as keyof BillingMetadata;
271
296
  /**
272
297
  * Customer Number
273
298
  *
@@ -316,6 +341,7 @@ export const KEY_BILLING_METADATA_CUSTOMER_NUMBER = 'customer_number' as keyof B
316
341
  */
317
342
  export const KEYS_BILLING_METADATA = [
318
343
  KEY_BILLING_METADATA_BILLING_MODEL,
344
+ KEY_BILLING_METADATA_CREDIT_LIMIT,
319
345
  KEY_BILLING_METADATA_CUSTOMER_NUMBER,
320
346
  ] as const satisfies (keyof BillingMetadata)[];
321
347
 
package/src/openapi.yaml CHANGED
@@ -39,6 +39,12 @@ components:
39
39
  - type: 'null'
40
40
  description: Payment terms for the organization.
41
41
  title: Billing Model
42
+ credit_limit:
43
+ anyOf:
44
+ - type: integer
45
+ - type: 'null'
46
+ description: Credit limit for the organization.
47
+ title: Credit Limit
42
48
  customer_number:
43
49
  anyOf:
44
50
  - type: integer
@@ -5602,7 +5608,7 @@ info:
5602
5608
  '
5603
5609
  summary: OpusDNS - your gateway to a seamless domain management experience.
5604
5610
  title: OpusDNS API
5605
- version: 2025-12-03-100606
5611
+ version: 2025-12-04-003158
5606
5612
  x-logo:
5607
5613
  altText: OpusDNS API Reference
5608
5614
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -1419,6 +1419,11 @@ export interface components {
1419
1419
  * @description Payment terms for the organization.
1420
1420
  */
1421
1421
  billing_model?: string | null;
1422
+ /**
1423
+ * Credit Limit
1424
+ * @description Credit limit for the organization.
1425
+ */
1426
+ credit_limit?: number | null;
1422
1427
  /**
1423
1428
  * Customer Number
1424
1429
  * @description Customer account number for the organization.