@opusdns/api 0.297.0 → 0.298.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 +1 -1
- package/src/helpers/keys.ts +28 -1
- package/src/openapi.yaml +9 -2
- package/src/schema.d.ts +8 -1
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -18480,6 +18480,32 @@ export const KEYS_DOMAIN_STATUSES_BASE = [
|
|
|
18480
18480
|
KEY_DOMAIN_STATUSES_BASE_SUPPORTED_STATUSES,
|
|
18481
18481
|
] as const satisfies (keyof DomainStatusesBase)[];
|
|
18482
18482
|
|
|
18483
|
+
/**
|
|
18484
|
+
* By Organization
|
|
18485
|
+
*
|
|
18486
|
+
* Domain counts by organization name (name: count)
|
|
18487
|
+
*
|
|
18488
|
+
* @type {object}
|
|
18489
|
+
*
|
|
18490
|
+
*
|
|
18491
|
+
* @remarks
|
|
18492
|
+
* This key constant provides type-safe access to the `by_organization` property of DomainSummaryData objects.
|
|
18493
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
18494
|
+
*
|
|
18495
|
+
* @example
|
|
18496
|
+
* ```typescript
|
|
18497
|
+
* // Direct property access
|
|
18498
|
+
* const value = domainsummarydata[KEY_DOMAIN_SUMMARY_DATA_BY_ORGANIZATION];
|
|
18499
|
+
*
|
|
18500
|
+
* // Dynamic property access
|
|
18501
|
+
* const propertyName = KEY_DOMAIN_SUMMARY_DATA_BY_ORGANIZATION;
|
|
18502
|
+
* const value = domainsummarydata[propertyName];
|
|
18503
|
+
* ```
|
|
18504
|
+
*
|
|
18505
|
+
* @see {@link DomainSummaryData} - The TypeScript type definition
|
|
18506
|
+
* @see {@link KEYS_DOMAIN_SUMMARY_DATA} - Array of all keys for this type
|
|
18507
|
+
*/
|
|
18508
|
+
export const KEY_DOMAIN_SUMMARY_DATA_BY_ORGANIZATION: keyof DomainSummaryData = 'by_organization';
|
|
18483
18509
|
/**
|
|
18484
18510
|
* By Status
|
|
18485
18511
|
*
|
|
@@ -18560,7 +18586,7 @@ export const KEY_DOMAIN_SUMMARY_DATA_EXPIRING_SOON: keyof DomainSummaryData = 'e
|
|
|
18560
18586
|
/**
|
|
18561
18587
|
* Total Count
|
|
18562
18588
|
*
|
|
18563
|
-
* Total number of domains
|
|
18589
|
+
* Total number of domains including sub-organizations
|
|
18564
18590
|
*
|
|
18565
18591
|
* @type {integer}
|
|
18566
18592
|
*
|
|
@@ -18605,6 +18631,7 @@ export const KEY_DOMAIN_SUMMARY_DATA_TOTAL_COUNT: keyof DomainSummaryData = 'tot
|
|
|
18605
18631
|
* @see {@link DomainSummaryData} - The TypeScript type definition
|
|
18606
18632
|
*/
|
|
18607
18633
|
export const KEYS_DOMAIN_SUMMARY_DATA = [
|
|
18634
|
+
KEY_DOMAIN_SUMMARY_DATA_BY_ORGANIZATION,
|
|
18608
18635
|
KEY_DOMAIN_SUMMARY_DATA_BY_STATUS,
|
|
18609
18636
|
KEY_DOMAIN_SUMMARY_DATA_BY_TLD,
|
|
18610
18637
|
KEY_DOMAIN_SUMMARY_DATA_EXPIRING_SOON,
|
package/src/openapi.yaml
CHANGED
|
@@ -4370,6 +4370,12 @@ components:
|
|
|
4370
4370
|
type: object
|
|
4371
4371
|
DomainSummaryData:
|
|
4372
4372
|
properties:
|
|
4373
|
+
by_organization:
|
|
4374
|
+
additionalProperties:
|
|
4375
|
+
type: integer
|
|
4376
|
+
description: 'Domain counts by organization name (name: count)'
|
|
4377
|
+
title: By Organization
|
|
4378
|
+
type: object
|
|
4373
4379
|
by_status:
|
|
4374
4380
|
additionalProperties:
|
|
4375
4381
|
type: integer
|
|
@@ -4386,13 +4392,14 @@ components:
|
|
|
4386
4392
|
$ref: '#/components/schemas/DomainsExpiringSoon'
|
|
4387
4393
|
description: Domains expiring soon
|
|
4388
4394
|
total_count:
|
|
4389
|
-
description: Total number of domains
|
|
4395
|
+
description: Total number of domains including sub-organizations
|
|
4390
4396
|
title: Total Count
|
|
4391
4397
|
type: integer
|
|
4392
4398
|
required:
|
|
4393
4399
|
- total_count
|
|
4394
4400
|
- by_status
|
|
4395
4401
|
- by_tld
|
|
4402
|
+
- by_organization
|
|
4396
4403
|
- expiring_soon
|
|
4397
4404
|
title: DomainSummaryData
|
|
4398
4405
|
type: object
|
|
@@ -11209,7 +11216,7 @@ info:
|
|
|
11209
11216
|
\n\n"
|
|
11210
11217
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11211
11218
|
title: OpusDNS API
|
|
11212
|
-
version: 2026-05-
|
|
11219
|
+
version: 2026-05-13-081105
|
|
11213
11220
|
x-logo:
|
|
11214
11221
|
altText: OpusDNS API Reference
|
|
11215
11222
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -5338,6 +5338,13 @@ export interface components {
|
|
|
5338
5338
|
};
|
|
5339
5339
|
/** DomainSummaryData */
|
|
5340
5340
|
DomainSummaryData: {
|
|
5341
|
+
/**
|
|
5342
|
+
* By Organization
|
|
5343
|
+
* @description Domain counts by organization name (name: count)
|
|
5344
|
+
*/
|
|
5345
|
+
by_organization: {
|
|
5346
|
+
[key: string]: number;
|
|
5347
|
+
};
|
|
5341
5348
|
/**
|
|
5342
5349
|
* By Status
|
|
5343
5350
|
* @description Domain counts by status (status: count)
|
|
@@ -5356,7 +5363,7 @@ export interface components {
|
|
|
5356
5363
|
expiring_soon: components["schemas"]["DomainsExpiringSoon"];
|
|
5357
5364
|
/**
|
|
5358
5365
|
* Total Count
|
|
5359
|
-
* @description Total number of domains
|
|
5366
|
+
* @description Total number of domains including sub-organizations
|
|
5360
5367
|
*/
|
|
5361
5368
|
total_count: number;
|
|
5362
5369
|
};
|