@opusdns/api 0.162.0 → 0.164.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.162.0",
6
+ "version": "0.164.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -3203,6 +3203,9 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
3203
3203
  AFNIC_REACHABLE_MEDIA: "AFNIC_REACHABLE_MEDIA",
3204
3204
  AFNIC_REACHABLE_STATUS: "AFNIC_REACHABLE_STATUS",
3205
3205
  AFNIC_RESTRICTED_PUBLICATION: "AFNIC_RESTRICTED_PUBLICATION",
3206
+ ROTLD_CONTACT_TYPE: "ROTLD_CONTACT_TYPE",
3207
+ ROTLD_FISCAL_CODE: "ROTLD_FISCAL_CODE",
3208
+ ROTLD_REGISTRATION_NUMBER: "ROTLD_REGISTRATION_NUMBER",
3206
3209
  } as const satisfies Record<string, RegistryHandleAttributeType>;
3207
3210
 
3208
3211
  /**
@@ -3247,7 +3250,10 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
3247
3250
  'AFNIC_ID_STATUS',
3248
3251
  'AFNIC_REACHABLE_MEDIA',
3249
3252
  'AFNIC_REACHABLE_STATUS',
3250
- 'AFNIC_RESTRICTED_PUBLICATION'
3253
+ 'AFNIC_RESTRICTED_PUBLICATION',
3254
+ 'ROTLD_CONTACT_TYPE',
3255
+ 'ROTLD_FISCAL_CODE',
3256
+ 'ROTLD_REGISTRATION_NUMBER'
3251
3257
  ] as const satisfies [string, ...string[]] | RegistryHandleAttributeType[];
3252
3258
 
3253
3259
  /**
@@ -4420,6 +4420,32 @@ export const KEYS_DNS_RECORD_PATCH_OP = [
4420
4420
  KEY_DNS_RECORD_PATCH_OP_RECORD,
4421
4421
  ] as const satisfies (keyof DnsRecordPatchOp)[];
4422
4422
 
4423
+ /**
4424
+ * Protected
4425
+ *
4426
+ * Whether the record is protected
4427
+ *
4428
+ * @type {boolean}
4429
+ *
4430
+ *
4431
+ * @remarks
4432
+ * This key constant provides type-safe access to the `protected` property of DnsRecord objects.
4433
+ * Use this constant when you need to access properties dynamically or ensure type safety.
4434
+ *
4435
+ * @example
4436
+ * ```typescript
4437
+ * // Direct property access
4438
+ * const value = dnsrecord[KEY_DNS_RECORD_PROTECTED];
4439
+ *
4440
+ * // Dynamic property access
4441
+ * const propertyName = KEY_DNS_RECORD_PROTECTED;
4442
+ * const value = dnsrecord[propertyName];
4443
+ * ```
4444
+ *
4445
+ * @see {@link DnsRecord} - The TypeScript type definition
4446
+ * @see {@link KEYS_DNS_RECORD} - Array of all keys for this type
4447
+ */
4448
+ export const KEY_DNS_RECORD_PROTECTED: keyof DnsRecord = 'protected';
4423
4449
  /**
4424
4450
  * Rdata
4425
4451
  *
@@ -4467,6 +4493,7 @@ export const KEY_DNS_RECORD_RDATA: keyof DnsRecord = 'rdata';
4467
4493
  * @see {@link DnsRecord} - The TypeScript type definition
4468
4494
  */
4469
4495
  export const KEYS_DNS_RECORD = [
4496
+ KEY_DNS_RECORD_PROTECTED,
4470
4497
  KEY_DNS_RECORD_RDATA,
4471
4498
  ] as const satisfies (keyof DnsRecord)[];
4472
4499
 
package/src/openapi.yaml CHANGED
@@ -1059,6 +1059,11 @@ components:
1059
1059
  type: object
1060
1060
  DnsRecordResponse:
1061
1061
  properties:
1062
+ protected:
1063
+ default: false
1064
+ description: Whether the record is protected
1065
+ title: Protected
1066
+ type: boolean
1062
1067
  rdata:
1063
1068
  title: Rdata
1064
1069
  type: string
@@ -5302,6 +5307,9 @@ components:
5302
5307
  - AFNIC_REACHABLE_MEDIA
5303
5308
  - AFNIC_REACHABLE_STATUS
5304
5309
  - AFNIC_RESTRICTED_PUBLICATION
5310
+ - ROTLD_CONTACT_TYPE
5311
+ - ROTLD_FISCAL_CODE
5312
+ - ROTLD_REGISTRATION_NUMBER
5305
5313
  title: RegistryHandleAttributeType
5306
5314
  type: string
5307
5315
  RegistryLockBase:
@@ -6747,7 +6755,7 @@ info:
6747
6755
  '
6748
6756
  summary: OpusDNS - your gateway to a seamless domain management experience.
6749
6757
  title: OpusDNS API
6750
- version: 2026-01-20-154711
6758
+ version: 2026-01-21-134818
6751
6759
  x-logo:
6752
6760
  altText: OpusDNS API Reference
6753
6761
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8369,14 +8377,17 @@ paths:
8369
8377
  rrsets:
8370
8378
  - name: example.com.
8371
8379
  records:
8372
- - rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
8380
+ - protected: false
8381
+ rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
8373
8382
  10800 3600 604800 300
8374
8383
  ttl: 3600
8375
8384
  type: SOA
8376
8385
  - name: example.com.
8377
8386
  records:
8378
- - rdata: ns1.opusdns.com.
8379
- - rdata: ns2.opusdns.net.
8387
+ - protected: false
8388
+ rdata: ns1.opusdns.com.
8389
+ - protected: false
8390
+ rdata: ns2.opusdns.net.
8380
8391
  ttl: 3600
8381
8392
  type: NS
8382
8393
  updated_on: '2025-11-18T12:43:35Z'
package/src/schema.d.ts CHANGED
@@ -2537,6 +2537,12 @@ export interface components {
2537
2537
  };
2538
2538
  /** DnsRecordResponse */
2539
2539
  DnsRecordResponse: {
2540
+ /**
2541
+ * Protected
2542
+ * @description Whether the record is protected
2543
+ * @default false
2544
+ */
2545
+ protected: boolean;
2540
2546
  /** Rdata */
2541
2547
  rdata: string;
2542
2548
  };
@@ -5243,7 +5249,7 @@ export interface components {
5243
5249
  * @description Registry handle attribute types for type-safe attribute key access.
5244
5250
  * @enum {string}
5245
5251
  */
5246
- RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION";
5252
+ RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_FISCAL_CODE" | "ROTLD_REGISTRATION_NUMBER";
5247
5253
  /** RegistryLockBase */
5248
5254
  RegistryLockBase: {
5249
5255
  /**