@opusdns/api 0.40.0 → 0.42.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 +54 -0
- package/src/openapi.yaml +11 -2
- package/src/schema.d.ts +13 -2
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -4453,6 +4453,32 @@ export const KEYS_DNS_ZONE_RECORDS_PATCH_OPS = [
|
|
|
4453
4453
|
KEY_DNS_ZONE_RECORDS_PATCH_OPS_OPS,
|
|
4454
4454
|
] as const satisfies (keyof DnsZoneRecordsPatchOps)[];
|
|
4455
4455
|
|
|
4456
|
+
/**
|
|
4457
|
+
* Created On
|
|
4458
|
+
*
|
|
4459
|
+
* The date/time the entry was created on
|
|
4460
|
+
*
|
|
4461
|
+
* @type {string}
|
|
4462
|
+
*
|
|
4463
|
+
*
|
|
4464
|
+
* @remarks
|
|
4465
|
+
* This key constant provides type-safe access to the `created_on` property of DnsZone objects.
|
|
4466
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
4467
|
+
*
|
|
4468
|
+
* @example
|
|
4469
|
+
* ```typescript
|
|
4470
|
+
* // Direct property access
|
|
4471
|
+
* const value = dnszone[KEY_DNS_ZONE_CREATED_ON];
|
|
4472
|
+
*
|
|
4473
|
+
* // Dynamic property access
|
|
4474
|
+
* const propertyName = KEY_DNS_ZONE_CREATED_ON;
|
|
4475
|
+
* const value = dnszone[propertyName];
|
|
4476
|
+
* ```
|
|
4477
|
+
*
|
|
4478
|
+
* @see {@link DnsZone} - The TypeScript type definition
|
|
4479
|
+
* @see {@link KEYS_DNS_ZONE} - Array of all keys for this type
|
|
4480
|
+
*/
|
|
4481
|
+
export const KEY_DNS_ZONE_CREATED_ON = 'created_on' as keyof DnsZone;
|
|
4456
4482
|
/**
|
|
4457
4483
|
* dnssec_status property
|
|
4458
4484
|
*
|
|
@@ -4551,6 +4577,32 @@ export const KEY_DNS_ZONE_NAME = 'name' as keyof DnsZone;
|
|
|
4551
4577
|
* @see {@link KEYS_DNS_ZONE} - Array of all keys for this type
|
|
4552
4578
|
*/
|
|
4553
4579
|
export const KEY_DNS_ZONE_RRSETS = 'rrsets' as keyof DnsZone;
|
|
4580
|
+
/**
|
|
4581
|
+
* Updated On
|
|
4582
|
+
*
|
|
4583
|
+
* The date/time the entry was last updated on
|
|
4584
|
+
*
|
|
4585
|
+
* @type {string}
|
|
4586
|
+
*
|
|
4587
|
+
*
|
|
4588
|
+
* @remarks
|
|
4589
|
+
* This key constant provides type-safe access to the `updated_on` property of DnsZone objects.
|
|
4590
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
4591
|
+
*
|
|
4592
|
+
* @example
|
|
4593
|
+
* ```typescript
|
|
4594
|
+
* // Direct property access
|
|
4595
|
+
* const value = dnszone[KEY_DNS_ZONE_UPDATED_ON];
|
|
4596
|
+
*
|
|
4597
|
+
* // Dynamic property access
|
|
4598
|
+
* const propertyName = KEY_DNS_ZONE_UPDATED_ON;
|
|
4599
|
+
* const value = dnszone[propertyName];
|
|
4600
|
+
* ```
|
|
4601
|
+
*
|
|
4602
|
+
* @see {@link DnsZone} - The TypeScript type definition
|
|
4603
|
+
* @see {@link KEYS_DNS_ZONE} - Array of all keys for this type
|
|
4604
|
+
*/
|
|
4605
|
+
export const KEY_DNS_ZONE_UPDATED_ON = 'updated_on' as keyof DnsZone;
|
|
4554
4606
|
|
|
4555
4607
|
/**
|
|
4556
4608
|
* Array of all DnsZone property keys
|
|
@@ -4573,10 +4625,12 @@ export const KEY_DNS_ZONE_RRSETS = 'rrsets' as keyof DnsZone;
|
|
|
4573
4625
|
* @see {@link DnsZone} - The TypeScript type definition
|
|
4574
4626
|
*/
|
|
4575
4627
|
export const KEYS_DNS_ZONE = [
|
|
4628
|
+
KEY_DNS_ZONE_CREATED_ON,
|
|
4576
4629
|
KEY_DNS_ZONE_DNSSEC_STATUS,
|
|
4577
4630
|
KEY_DNS_ZONE_DOMAIN_PARTS,
|
|
4578
4631
|
KEY_DNS_ZONE_NAME,
|
|
4579
4632
|
KEY_DNS_ZONE_RRSETS,
|
|
4633
|
+
KEY_DNS_ZONE_UPDATED_ON,
|
|
4580
4634
|
] as const satisfies (keyof DnsZone)[];
|
|
4581
4635
|
|
|
4582
4636
|
/**
|
package/src/openapi.yaml
CHANGED
|
@@ -49,7 +49,6 @@ components:
|
|
|
49
49
|
BillingPlan:
|
|
50
50
|
properties:
|
|
51
51
|
amount:
|
|
52
|
-
default: '0.00'
|
|
53
52
|
description: Price of the billing plan.
|
|
54
53
|
title: Amount
|
|
55
54
|
type: string
|
|
@@ -1040,6 +1039,11 @@ components:
|
|
|
1040
1039
|
type: object
|
|
1041
1040
|
DnsZoneResponse:
|
|
1042
1041
|
properties:
|
|
1042
|
+
created_on:
|
|
1043
|
+
description: The date/time the entry was created on
|
|
1044
|
+
format: date-time
|
|
1045
|
+
title: Created On
|
|
1046
|
+
type: string
|
|
1043
1047
|
dnssec_status:
|
|
1044
1048
|
$ref: '#/components/schemas/DnssecStatus'
|
|
1045
1049
|
default: disabled
|
|
@@ -1053,6 +1057,11 @@ components:
|
|
|
1053
1057
|
$ref: '#/components/schemas/DnsRrsetResponse'
|
|
1054
1058
|
title: Rrsets
|
|
1055
1059
|
type: array
|
|
1060
|
+
updated_on:
|
|
1061
|
+
description: The date/time the entry was last updated on
|
|
1062
|
+
format: date-time
|
|
1063
|
+
title: Updated On
|
|
1064
|
+
type: string
|
|
1056
1065
|
required:
|
|
1057
1066
|
- name
|
|
1058
1067
|
title: DnsZoneResponse
|
|
@@ -5259,7 +5268,7 @@ info:
|
|
|
5259
5268
|
'
|
|
5260
5269
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5261
5270
|
title: OpusDNS API
|
|
5262
|
-
version: 2025-09-13-
|
|
5271
|
+
version: 2025-09-13-213944
|
|
5263
5272
|
x-logo:
|
|
5264
5273
|
altText: OpusDNS API Reference
|
|
5265
5274
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1232,9 +1232,8 @@ export interface components {
|
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Amount
|
|
1234
1234
|
* @description Price of the billing plan.
|
|
1235
|
-
* @default 0.00
|
|
1236
1235
|
*/
|
|
1237
|
-
amount
|
|
1236
|
+
amount?: string;
|
|
1238
1237
|
/** @description Currency of the billing plan. */
|
|
1239
1238
|
currency?: components["schemas"]["Currency"] | null;
|
|
1240
1239
|
/**
|
|
@@ -1906,6 +1905,12 @@ export interface components {
|
|
|
1906
1905
|
};
|
|
1907
1906
|
/** DnsZoneResponse */
|
|
1908
1907
|
DnsZoneResponse: {
|
|
1908
|
+
/**
|
|
1909
|
+
* Created On
|
|
1910
|
+
* Format: date-time
|
|
1911
|
+
* @description The date/time the entry was created on
|
|
1912
|
+
*/
|
|
1913
|
+
created_on?: Date;
|
|
1909
1914
|
/** @default disabled */
|
|
1910
1915
|
dnssec_status: components["schemas"]["DnssecStatus"];
|
|
1911
1916
|
domain_parts?: components["schemas"]["DomainNameParts"];
|
|
@@ -1913,6 +1918,12 @@ export interface components {
|
|
|
1913
1918
|
name: string;
|
|
1914
1919
|
/** Rrsets */
|
|
1915
1920
|
rrsets?: components["schemas"]["DnsRrsetResponse"][];
|
|
1921
|
+
/**
|
|
1922
|
+
* Updated On
|
|
1923
|
+
* Format: date-time
|
|
1924
|
+
* @description The date/time the entry was last updated on
|
|
1925
|
+
*/
|
|
1926
|
+
updated_on?: Date;
|
|
1916
1927
|
};
|
|
1917
1928
|
/** DnsZoneRrsetsCreate */
|
|
1918
1929
|
DnsZoneRrsetsCreate: {
|