@opusdns/api 0.188.0 → 0.189.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
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.188.0",
6
+ "version": "0.189.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -4857,6 +4857,32 @@ export const KEYS_DNS_RRSET_PATCH_OP = [
4857
4857
  * @see {@link KEYS_DNS_RRSET} - Array of all keys for this type
4858
4858
  */
4859
4859
  export const KEY_DNS_RRSET_NAME: keyof DnsRrset = 'name';
4860
+ /**
4861
+ * Protected
4862
+ *
4863
+ * Whether the RRset is protected
4864
+ *
4865
+ * @type {boolean}
4866
+ *
4867
+ *
4868
+ * @remarks
4869
+ * This key constant provides type-safe access to the `protected` property of DnsRrset objects.
4870
+ * Use this constant when you need to access properties dynamically or ensure type safety.
4871
+ *
4872
+ * @example
4873
+ * ```typescript
4874
+ * // Direct property access
4875
+ * const value = dnsrrset[KEY_DNS_RRSET_PROTECTED];
4876
+ *
4877
+ * // Dynamic property access
4878
+ * const propertyName = KEY_DNS_RRSET_PROTECTED;
4879
+ * const value = dnsrrset[propertyName];
4880
+ * ```
4881
+ *
4882
+ * @see {@link DnsRrset} - The TypeScript type definition
4883
+ * @see {@link KEYS_DNS_RRSET} - Array of all keys for this type
4884
+ */
4885
+ export const KEY_DNS_RRSET_PROTECTED: keyof DnsRrset = 'protected';
4860
4886
  /**
4861
4887
  * Records
4862
4888
  *
@@ -4954,6 +4980,7 @@ export const KEY_DNS_RRSET_TYPE: keyof DnsRrset = 'type';
4954
4980
  */
4955
4981
  export const KEYS_DNS_RRSET = [
4956
4982
  KEY_DNS_RRSET_NAME,
4983
+ KEY_DNS_RRSET_PROTECTED,
4957
4984
  KEY_DNS_RRSET_RECORDS,
4958
4985
  KEY_DNS_RRSET_TTL,
4959
4986
  KEY_DNS_RRSET_TYPE,
package/src/openapi.yaml CHANGED
@@ -1137,6 +1137,11 @@ components:
1137
1137
  name:
1138
1138
  title: Name
1139
1139
  type: string
1140
+ protected:
1141
+ default: false
1142
+ description: Whether the RRset is protected
1143
+ title: Protected
1144
+ type: boolean
1140
1145
  records:
1141
1146
  items:
1142
1147
  $ref: '#/components/schemas/DnsRecordResponse'
@@ -6990,7 +6995,7 @@ info:
6990
6995
  '
6991
6996
  summary: OpusDNS - your gateway to a seamless domain management experience.
6992
6997
  title: OpusDNS API
6993
- version: 2026-02-12-143602
6998
+ version: 2026-02-16-094947
6994
6999
  x-logo:
6995
7000
  altText: OpusDNS API Reference
6996
7001
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8612,6 +8617,7 @@ paths:
8612
8617
  name: example.com.
8613
8618
  rrsets:
8614
8619
  - name: example.com.
8620
+ protected: false
8615
8621
  records:
8616
8622
  - protected: false
8617
8623
  rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
@@ -8619,6 +8625,7 @@ paths:
8619
8625
  ttl: 3600
8620
8626
  type: SOA
8621
8627
  - name: example.com.
8628
+ protected: false
8622
8629
  records:
8623
8630
  - protected: false
8624
8631
  rdata: ns1.opusdns.com.
package/src/schema.d.ts CHANGED
@@ -2655,6 +2655,12 @@ export interface components {
2655
2655
  DnsRrsetResponse: {
2656
2656
  /** Name */
2657
2657
  name: string;
2658
+ /**
2659
+ * Protected
2660
+ * @description Whether the RRset is protected
2661
+ * @default false
2662
+ */
2663
+ protected: boolean;
2658
2664
  /** Records */
2659
2665
  records?: components["schemas"]["DnsRecordResponse"][];
2660
2666
  /** Ttl */