@opusdns/api 0.41.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 -1
- package/src/schema.d.ts +12 -0
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
|
@@ -1039,6 +1039,11 @@ components:
|
|
|
1039
1039
|
type: object
|
|
1040
1040
|
DnsZoneResponse:
|
|
1041
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
|
|
1042
1047
|
dnssec_status:
|
|
1043
1048
|
$ref: '#/components/schemas/DnssecStatus'
|
|
1044
1049
|
default: disabled
|
|
@@ -1052,6 +1057,11 @@ components:
|
|
|
1052
1057
|
$ref: '#/components/schemas/DnsRrsetResponse'
|
|
1053
1058
|
title: Rrsets
|
|
1054
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
|
|
1055
1065
|
required:
|
|
1056
1066
|
- name
|
|
1057
1067
|
title: DnsZoneResponse
|
|
@@ -5258,7 +5268,7 @@ info:
|
|
|
5258
5268
|
'
|
|
5259
5269
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5260
5270
|
title: OpusDNS API
|
|
5261
|
-
version: 2025-09-13-
|
|
5271
|
+
version: 2025-09-13-213944
|
|
5262
5272
|
x-logo:
|
|
5263
5273
|
altText: OpusDNS API Reference
|
|
5264
5274
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1905,6 +1905,12 @@ export interface components {
|
|
|
1905
1905
|
};
|
|
1906
1906
|
/** DnsZoneResponse */
|
|
1907
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;
|
|
1908
1914
|
/** @default disabled */
|
|
1909
1915
|
dnssec_status: components["schemas"]["DnssecStatus"];
|
|
1910
1916
|
domain_parts?: components["schemas"]["DomainNameParts"];
|
|
@@ -1912,6 +1918,12 @@ export interface components {
|
|
|
1912
1918
|
name: string;
|
|
1913
1919
|
/** Rrsets */
|
|
1914
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;
|
|
1915
1927
|
};
|
|
1916
1928
|
/** DnsZoneRrsetsCreate */
|
|
1917
1929
|
DnsZoneRrsetsCreate: {
|