@opusdns/api 1.52.0 → 1.54.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/constants.ts +2 -0
- package/src/helpers/keys.ts +9 -0
- package/src/helpers/schemas.d.ts +1 -0
- package/src/openapi.yaml +17 -2
- package/src/schema.d.ts +15 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1611,6 +1611,7 @@ export const REPORT_TYPE = {
|
|
|
1611
1611
|
REGISTRAR_PORTFOLIO_PDF: "registrar_portfolio_pdf",
|
|
1612
1612
|
BILLING_TRANSACTIONS: "billing_transactions",
|
|
1613
1613
|
BILLING_TRANSACTIONS_MONTHLY: "billing_transactions_monthly",
|
|
1614
|
+
BILLING_ROLLUP_MONTHLY: "billing_rollup_monthly",
|
|
1614
1615
|
} as const satisfies Record<string, ReportType>;
|
|
1615
1616
|
|
|
1616
1617
|
export const REPORT_TYPE_VALUES = [
|
|
@@ -1623,6 +1624,7 @@ export const REPORT_TYPE_VALUES = [
|
|
|
1623
1624
|
'registrar_portfolio_pdf',
|
|
1624
1625
|
'billing_transactions',
|
|
1625
1626
|
'billing_transactions_monthly',
|
|
1627
|
+
'billing_rollup_monthly',
|
|
1626
1628
|
] as const satisfies ReadonlyArray<ReportType>;
|
|
1627
1629
|
|
|
1628
1630
|
export const REQUEST_HISTORY_SORT_FIELD = {
|
package/src/helpers/keys.ts
CHANGED
|
@@ -337,6 +337,7 @@ import type {
|
|
|
337
337
|
ReferrerStatsBucket,
|
|
338
338
|
RegistrarContact,
|
|
339
339
|
RegistrarDomain,
|
|
340
|
+
RegistrarNameserver,
|
|
340
341
|
RegistrarRRSet,
|
|
341
342
|
RegistrarRecord,
|
|
342
343
|
RegistrarZone,
|
|
@@ -4561,6 +4562,14 @@ export const KEYS_REGISTRAR_DOMAIN = [
|
|
|
4561
4562
|
KEY_REGISTRAR_DOMAIN_ZONE,
|
|
4562
4563
|
] as const satisfies (keyof RegistrarDomain)[];
|
|
4563
4564
|
|
|
4565
|
+
export const KEY_REGISTRAR_NAMESERVER_HOSTNAME = 'hostname' satisfies keyof RegistrarNameserver;
|
|
4566
|
+
export const KEY_REGISTRAR_NAMESERVER_IP_ADDRESSES = 'ip_addresses' satisfies keyof RegistrarNameserver;
|
|
4567
|
+
|
|
4568
|
+
export const KEYS_REGISTRAR_NAMESERVER = [
|
|
4569
|
+
KEY_REGISTRAR_NAMESERVER_HOSTNAME,
|
|
4570
|
+
KEY_REGISTRAR_NAMESERVER_IP_ADDRESSES,
|
|
4571
|
+
] as const satisfies (keyof RegistrarNameserver)[];
|
|
4572
|
+
|
|
4564
4573
|
export const KEY_REGISTRAR_RR_SET_NAME = 'name' satisfies keyof RegistrarRRSet;
|
|
4565
4574
|
export const KEY_REGISTRAR_RR_SET_PRIORITY = 'priority' satisfies keyof RegistrarRRSet;
|
|
4566
4575
|
export const KEY_REGISTRAR_RR_SET_RECORD = 'record' satisfies keyof RegistrarRRSet;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -449,6 +449,7 @@ export type ReferrerStatsBucket = components['schemas']['ReferrerStatsBucket'];
|
|
|
449
449
|
export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
|
|
450
450
|
export type RegistrarContact = components['schemas']['RegistrarContact'];
|
|
451
451
|
export type RegistrarDomain = components['schemas']['RegistrarDomain'];
|
|
452
|
+
export type RegistrarNameserver = components['schemas']['RegistrarNameserver'];
|
|
452
453
|
export type RegistrarRRSet = components['schemas']['RegistrarRRSet'];
|
|
453
454
|
export type RegistrarRecord = components['schemas']['RegistrarRecord'];
|
|
454
455
|
export type RegistrarZone = components['schemas']['RegistrarZone'];
|
package/src/openapi.yaml
CHANGED
|
@@ -11247,7 +11247,7 @@ components:
|
|
|
11247
11247
|
nameservers:
|
|
11248
11248
|
default: []
|
|
11249
11249
|
items:
|
|
11250
|
-
|
|
11250
|
+
$ref: '#/components/schemas/RegistrarNameserver'
|
|
11251
11251
|
title: Nameservers
|
|
11252
11252
|
type: array
|
|
11253
11253
|
registrar:
|
|
@@ -11269,6 +11269,20 @@ components:
|
|
|
11269
11269
|
- name
|
|
11270
11270
|
title: RegistrarDomain
|
|
11271
11271
|
type: object
|
|
11272
|
+
RegistrarNameserver:
|
|
11273
|
+
properties:
|
|
11274
|
+
hostname:
|
|
11275
|
+
default: ''
|
|
11276
|
+
title: Hostname
|
|
11277
|
+
type: string
|
|
11278
|
+
ip_addresses:
|
|
11279
|
+
default: []
|
|
11280
|
+
items:
|
|
11281
|
+
type: string
|
|
11282
|
+
title: Ip Addresses
|
|
11283
|
+
type: array
|
|
11284
|
+
title: RegistrarNameserver
|
|
11285
|
+
type: object
|
|
11272
11286
|
RegistrarRRSet:
|
|
11273
11287
|
properties:
|
|
11274
11288
|
name:
|
|
@@ -11437,6 +11451,7 @@ components:
|
|
|
11437
11451
|
- registrar_portfolio_pdf
|
|
11438
11452
|
- billing_transactions
|
|
11439
11453
|
- billing_transactions_monthly
|
|
11454
|
+
- billing_rollup_monthly
|
|
11440
11455
|
title: ReportType
|
|
11441
11456
|
type: string
|
|
11442
11457
|
RequestHistory:
|
|
@@ -13852,7 +13867,7 @@ info:
|
|
|
13852
13867
|
\n\n"
|
|
13853
13868
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13854
13869
|
title: OpusDNS API
|
|
13855
|
-
version: 2026-07-
|
|
13870
|
+
version: 2026-07-14-135722
|
|
13856
13871
|
x-logo:
|
|
13857
13872
|
altText: OpusDNS API Reference
|
|
13858
13873
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -10145,7 +10145,7 @@ export interface components {
|
|
|
10145
10145
|
* Nameservers
|
|
10146
10146
|
* @default []
|
|
10147
10147
|
*/
|
|
10148
|
-
nameservers:
|
|
10148
|
+
nameservers: components["schemas"]["RegistrarNameserver"][];
|
|
10149
10149
|
/** Registrar */
|
|
10150
10150
|
registrar?: string | null;
|
|
10151
10151
|
/**
|
|
@@ -10155,6 +10155,19 @@ export interface components {
|
|
|
10155
10155
|
statuses: string[];
|
|
10156
10156
|
zone?: components["schemas"]["RegistrarZone"] | null;
|
|
10157
10157
|
};
|
|
10158
|
+
/** RegistrarNameserver */
|
|
10159
|
+
RegistrarNameserver: {
|
|
10160
|
+
/**
|
|
10161
|
+
* Hostname
|
|
10162
|
+
* @default
|
|
10163
|
+
*/
|
|
10164
|
+
hostname: string;
|
|
10165
|
+
/**
|
|
10166
|
+
* Ip Addresses
|
|
10167
|
+
* @default []
|
|
10168
|
+
*/
|
|
10169
|
+
ip_addresses: string[];
|
|
10170
|
+
};
|
|
10158
10171
|
/** RegistrarRRSet */
|
|
10159
10172
|
RegistrarRRSet: {
|
|
10160
10173
|
/** Name */
|
|
@@ -10234,7 +10247,7 @@ export interface components {
|
|
|
10234
10247
|
* ReportType
|
|
10235
10248
|
* @enum {string}
|
|
10236
10249
|
*/
|
|
10237
|
-
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "domain_forwards" | "expiring_domains" | "email_forwards" | "registrar_portfolio_pdf" | "billing_transactions" | "billing_transactions_monthly";
|
|
10250
|
+
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "domain_forwards" | "expiring_domains" | "email_forwards" | "registrar_portfolio_pdf" | "billing_transactions" | "billing_transactions_monthly" | "billing_rollup_monthly";
|
|
10238
10251
|
/** RequestHistory */
|
|
10239
10252
|
RequestHistory: {
|
|
10240
10253
|
/**
|