@opusdns/api 0.41.0 → 0.43.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
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.41.0",
11
+ "version": "0.43.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -538,6 +538,9 @@ export const DNS_RRSET_TYPE = {
538
538
  TXT: "TXT",
539
539
  SOA: "SOA",
540
540
  SRV: "SRV",
541
+ SMIMEA: "SMIMEA",
542
+ TLSA: "TLSA",
543
+ URI: "URI",
541
544
  } as const satisfies Record<string, DnsRrsetType>;
542
545
 
543
546
  /**
@@ -574,7 +577,10 @@ export const DNS_RRSET_TYPE_VALUES = [
574
577
  'PTR',
575
578
  'TXT',
576
579
  'SOA',
577
- 'SRV'
580
+ 'SRV',
581
+ 'SMIMEA',
582
+ 'TLSA',
583
+ 'URI'
578
584
  ] as const satisfies [string, ...string[]] | DnsRrsetType[];
579
585
 
580
586
  /**
@@ -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
@@ -987,6 +987,9 @@ components:
987
987
  - TXT
988
988
  - SOA
989
989
  - SRV
990
+ - SMIMEA
991
+ - TLSA
992
+ - URI
990
993
  title: DnsRrsetType
991
994
  type: string
992
995
  DnsRrsetWithOneRecordPatch:
@@ -1039,6 +1042,11 @@ components:
1039
1042
  type: object
1040
1043
  DnsZoneResponse:
1041
1044
  properties:
1045
+ created_on:
1046
+ description: The date/time the entry was created on
1047
+ format: date-time
1048
+ title: Created On
1049
+ type: string
1042
1050
  dnssec_status:
1043
1051
  $ref: '#/components/schemas/DnssecStatus'
1044
1052
  default: disabled
@@ -1052,6 +1060,11 @@ components:
1052
1060
  $ref: '#/components/schemas/DnsRrsetResponse'
1053
1061
  title: Rrsets
1054
1062
  type: array
1063
+ updated_on:
1064
+ description: The date/time the entry was last updated on
1065
+ format: date-time
1066
+ title: Updated On
1067
+ type: string
1055
1068
  required:
1056
1069
  - name
1057
1070
  title: DnsZoneResponse
@@ -5258,7 +5271,7 @@ info:
5258
5271
  '
5259
5272
  summary: OpusDNS - your gateway to a seamless domain management experience.
5260
5273
  title: OpusDNS API
5261
- version: 2025-09-13-065122
5274
+ version: 2025-09-15-073932
5262
5275
  x-logo:
5263
5276
  altText: OpusDNS API Reference
5264
5277
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -1878,7 +1878,7 @@ export interface components {
1878
1878
  * DnsRrsetType
1879
1879
  * @enum {string}
1880
1880
  */
1881
- DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "DNSKEY" | "DS" | "MX" | "NS" | "PTR" | "TXT" | "SOA" | "SRV";
1881
+ DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "DNSKEY" | "DS" | "MX" | "NS" | "PTR" | "TXT" | "SOA" | "SRV" | "SMIMEA" | "TLSA" | "URI";
1882
1882
  /** DnsRrsetWithOneRecordPatch */
1883
1883
  DnsRrsetWithOneRecordPatch: {
1884
1884
  /** Name */
@@ -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: {