@opusdns/api 0.188.0 → 0.190.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.190.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'
@@ -5643,6 +5648,8 @@ components:
5643
5648
  anyOf:
5644
5649
  - additionalProperties: true
5645
5650
  type: object
5651
+ - items: {}
5652
+ type: array
5646
5653
  - type: 'null'
5647
5654
  description: Request body
5648
5655
  title: Request Body
@@ -5660,6 +5667,8 @@ components:
5660
5667
  anyOf:
5661
5668
  - additionalProperties: true
5662
5669
  type: object
5670
+ - items: {}
5671
+ type: array
5663
5672
  - type: 'null'
5664
5673
  description: Response body
5665
5674
  title: Response Body
@@ -6990,7 +6999,7 @@ info:
6990
6999
  '
6991
7000
  summary: OpusDNS - your gateway to a seamless domain management experience.
6992
7001
  title: OpusDNS API
6993
- version: 2026-02-12-143602
7002
+ version: 2026-02-16-130939
6994
7003
  x-logo:
6995
7004
  altText: OpusDNS API Reference
6996
7005
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8612,6 +8621,7 @@ paths:
8612
8621
  name: example.com.
8613
8622
  rrsets:
8614
8623
  - name: example.com.
8624
+ protected: false
8615
8625
  records:
8616
8626
  - protected: false
8617
8627
  rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
@@ -8619,6 +8629,7 @@ paths:
8619
8629
  ttl: 3600
8620
8630
  type: SOA
8621
8631
  - name: example.com.
8632
+ protected: false
8622
8633
  records:
8623
8634
  - protected: false
8624
8635
  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 */
@@ -5563,7 +5569,7 @@ export interface components {
5563
5569
  */
5564
5570
  request_body?: {
5565
5571
  [key: string]: unknown;
5566
- } | null;
5572
+ } | unknown[] | null;
5567
5573
  /**
5568
5574
  * Request Completed At
5569
5575
  * Format: date-time
@@ -5582,7 +5588,7 @@ export interface components {
5582
5588
  */
5583
5589
  response_body?: {
5584
5590
  [key: string]: unknown;
5585
- } | null;
5591
+ } | unknown[] | null;
5586
5592
  /**
5587
5593
  * Server Request Id
5588
5594
  * @description Unique ID of the request