@opusdns/api 1.31.0 → 1.32.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": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.31.0",
6
+ "version": "1.32.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -150,6 +150,7 @@ export const ATTRIBUTE_TYPE = {
150
150
  DATETIME: "datetime",
151
151
  INTEGER: "integer",
152
152
  COUNTRY_CODE: "country_code",
153
+ URI_TEMPLATE: "uri_template",
153
154
  } as const satisfies Record<string, AttributeType>;
154
155
 
155
156
  export const ATTRIBUTE_TYPE_VALUES = [
@@ -159,6 +160,7 @@ export const ATTRIBUTE_TYPE_VALUES = [
159
160
  'datetime',
160
161
  'integer',
161
162
  'country_code',
163
+ 'uri_template',
162
164
  ] as const satisfies ReadonlyArray<AttributeType>;
163
165
 
164
166
  export const BATCH_SORT_FIELD = {
@@ -591,6 +593,8 @@ export const DOMAIN_ATTRIBUTE_KEY = {
591
593
  NIC_IT_COMPLIANCE_CONFIRMATION: "nic_it_compliance_confirmation",
592
594
  TRAVEL_INDUSTRY_ACKNOWLEDGEMENT: "travel_industry_acknowledgement",
593
595
  VERIFICATION_REQUIRED: "verification_required",
596
+ DE_GENERAL_REQUEST_CONTACT: "de_general_request_contact",
597
+ DE_ABUSE_CONTACT: "de_abuse_contact",
594
598
  } as const satisfies Record<string, DomainAttributeKey>;
595
599
 
596
600
  export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
@@ -599,6 +603,8 @@ export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
599
603
  'nic_it_compliance_confirmation',
600
604
  'travel_industry_acknowledgement',
601
605
  'verification_required',
606
+ 'de_general_request_contact',
607
+ 'de_abuse_contact',
602
608
  ] as const satisfies ReadonlyArray<DomainAttributeKey>;
603
609
 
604
610
  export const DOMAIN_AVAILABILITY_STATUS = {
@@ -1457,6 +1463,8 @@ export const REGISTRANT_CHANGE_TYPE_VALUES = [
1457
1463
  export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
1458
1464
  AT_EXT_CONTACT_TYPE: "at-ext-contact:type",
1459
1465
  DE_CONTACT_TYPE: "DE_CONTACT_TYPE",
1466
+ DE_GENERAL_REQUEST_URI_TEMPLATE: "DE_GENERAL_REQUEST_URI_TEMPLATE",
1467
+ DE_ABUSE_URI_TEMPLATE: "DE_ABUSE_URI_TEMPLATE",
1460
1468
  DNSBE_TYPE: "dnsbe:type",
1461
1469
  EURID_TYPE: "eurid:type",
1462
1470
  AFNIC_CONTACT_TYPE: "AFNIC_CONTACT_TYPE",
@@ -1504,6 +1512,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
1504
1512
  export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
1505
1513
  'at-ext-contact:type',
1506
1514
  'DE_CONTACT_TYPE',
1515
+ 'DE_GENERAL_REQUEST_URI_TEMPLATE',
1516
+ 'DE_ABUSE_URI_TEMPLATE',
1507
1517
  'dnsbe:type',
1508
1518
  'eurid:type',
1509
1519
  'AFNIC_CONTACT_TYPE',
@@ -2550,6 +2550,7 @@ export const KEYS_DOMAIN_TRANSIT = [
2550
2550
  KEY_DOMAIN_TRANSIT_SUCCESS,
2551
2551
  ] as const satisfies (keyof DomainTransit)[];
2552
2552
 
2553
+ export const KEY_DOMAIN_UPDATE_ATTRIBUTES = 'attributes' satisfies keyof DomainUpdate;
2553
2554
  export const KEY_DOMAIN_UPDATE_AUTH_CODE = 'auth_code' satisfies keyof DomainUpdate;
2554
2555
  export const KEY_DOMAIN_UPDATE_CONTACTS = 'contacts' satisfies keyof DomainUpdate;
2555
2556
  export const KEY_DOMAIN_UPDATE_NAMESERVERS = 'nameservers' satisfies keyof DomainUpdate;
@@ -2558,6 +2559,7 @@ export const KEY_DOMAIN_UPDATE_STATUS_CHANGES = 'status_changes' satisfies keyof
2558
2559
  export const KEY_DOMAIN_UPDATE_STATUSES = 'statuses' satisfies keyof DomainUpdate;
2559
2560
 
2560
2561
  export const KEYS_DOMAIN_UPDATE = [
2562
+ KEY_DOMAIN_UPDATE_ATTRIBUTES,
2561
2563
  KEY_DOMAIN_UPDATE_AUTH_CODE,
2562
2564
  KEY_DOMAIN_UPDATE_CONTACTS,
2563
2565
  KEY_DOMAIN_UPDATE_NAMESERVERS,
@@ -2632,6 +2634,7 @@ export const KEYS_DOMAIN_UPDATE_COMMAND = [
2632
2634
  KEY_DOMAIN_UPDATE_COMMAND_VERSION,
2633
2635
  ] as const satisfies (keyof DomainUpdateCommand)[];
2634
2636
 
2637
+ export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_ATTRIBUTES = 'attributes' satisfies keyof DomainUpdatePayloadData;
2635
2638
  export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_AUTH_CODE = 'auth_code' satisfies keyof DomainUpdatePayloadData;
2636
2639
  export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_CONTACTS = 'contacts' satisfies keyof DomainUpdatePayloadData;
2637
2640
  export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_DOMAIN_ID = 'domain_id' satisfies keyof DomainUpdatePayloadData;
@@ -2641,6 +2644,7 @@ export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_STATUS_CHANGES = 'status_changes' sa
2641
2644
  export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_STATUSES = 'statuses' satisfies keyof DomainUpdatePayloadData;
2642
2645
 
2643
2646
  export const KEYS_DOMAIN_UPDATE_PAYLOAD_DATA = [
2647
+ KEY_DOMAIN_UPDATE_PAYLOAD_DATA_ATTRIBUTES,
2644
2648
  KEY_DOMAIN_UPDATE_PAYLOAD_DATA_AUTH_CODE,
2645
2649
  KEY_DOMAIN_UPDATE_PAYLOAD_DATA_CONTACTS,
2646
2650
  KEY_DOMAIN_UPDATE_PAYLOAD_DATA_DOMAIN_ID,
package/src/openapi.yaml CHANGED
@@ -62,6 +62,7 @@ components:
62
62
  - datetime
63
63
  - integer
64
64
  - country_code
65
+ - uri_template
65
66
  title: AttributeType
66
67
  type: string
67
68
  BatchSortField:
@@ -3402,6 +3403,8 @@ components:
3402
3403
  - nic_it_compliance_confirmation
3403
3404
  - travel_industry_acknowledgement
3404
3405
  - verification_required
3406
+ - de_general_request_contact
3407
+ - de_abuse_contact
3405
3408
  title: DomainAttributeKey
3406
3409
  type: string
3407
3410
  DomainAvailability:
@@ -5663,6 +5666,16 @@ components:
5663
5666
  type: object
5664
5667
  DomainUpdate:
5665
5668
  properties:
5669
+ attributes:
5670
+ anyOf:
5671
+ - additionalProperties:
5672
+ type: string
5673
+ propertyNames:
5674
+ $ref: '#/components/schemas/DomainAttributeKey'
5675
+ type: object
5676
+ - type: 'null'
5677
+ description: Additional attributes of the domain
5678
+ title: Attributes
5666
5679
  auth_code:
5667
5680
  anyOf:
5668
5681
  - maxLength: 255
@@ -5871,6 +5884,16 @@ components:
5871
5884
  type: object
5872
5885
  DomainUpdatePayloadData:
5873
5886
  properties:
5887
+ attributes:
5888
+ anyOf:
5889
+ - additionalProperties:
5890
+ type: string
5891
+ propertyNames:
5892
+ $ref: '#/components/schemas/DomainAttributeKey'
5893
+ type: object
5894
+ - type: 'null'
5895
+ description: Additional attributes of the domain
5896
+ title: Attributes
5874
5897
  auth_code:
5875
5898
  anyOf:
5876
5899
  - maxLength: 255
@@ -10889,6 +10912,8 @@ components:
10889
10912
  enum:
10890
10913
  - at-ext-contact:type
10891
10914
  - DE_CONTACT_TYPE
10915
+ - DE_GENERAL_REQUEST_URI_TEMPLATE
10916
+ - DE_ABUSE_URI_TEMPLATE
10892
10917
  - dnsbe:type
10893
10918
  - eurid:type
10894
10919
  - AFNIC_CONTACT_TYPE
@@ -13350,7 +13375,7 @@ info:
13350
13375
  \n\n"
13351
13376
  summary: OpusDNS - your gateway to a seamless domain management experience.
13352
13377
  title: OpusDNS API
13353
- version: 2026-06-23-185512
13378
+ version: 2026-06-24-105749
13354
13379
  x-logo:
13355
13380
  altText: OpusDNS API Reference
13356
13381
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2778,7 +2778,7 @@ export interface components {
2778
2778
  * AttributeType
2779
2779
  * @enum {string}
2780
2780
  */
2781
- AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer" | "country_code";
2781
+ AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer" | "country_code" | "uri_template";
2782
2782
  /**
2783
2783
  * BatchSortField
2784
2784
  * @enum {string}
@@ -5013,7 +5013,7 @@ export interface components {
5013
5013
  * DomainAttributeKey
5014
5014
  * @enum {string}
5015
5015
  */
5016
- DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required";
5016
+ DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required" | "de_general_request_contact" | "de_abuse_contact";
5017
5017
  /** DomainAvailability */
5018
5018
  DomainAvailability: {
5019
5019
  /** Domain */
@@ -6496,6 +6496,13 @@ export interface components {
6496
6496
  };
6497
6497
  /** DomainUpdate */
6498
6498
  DomainUpdate: {
6499
+ /**
6500
+ * Attributes
6501
+ * @description Additional attributes of the domain
6502
+ */
6503
+ attributes?: {
6504
+ [key: string]: string;
6505
+ } | null;
6499
6506
  /**
6500
6507
  * Auth Code
6501
6508
  * @description The new auth code for the domain
@@ -6634,6 +6641,13 @@ export interface components {
6634
6641
  };
6635
6642
  /** DomainUpdatePayloadData */
6636
6643
  DomainUpdatePayloadData: {
6644
+ /**
6645
+ * Attributes
6646
+ * @description Additional attributes of the domain
6647
+ */
6648
+ attributes?: {
6649
+ [key: string]: string;
6650
+ } | null;
6637
6651
  /**
6638
6652
  * Auth Code
6639
6653
  * @description The new auth code for the domain
@@ -9971,7 +9985,7 @@ export interface components {
9971
9985
  * @description Registry handle attribute types for type-safe attribute key access.
9972
9986
  * @enum {string}
9973
9987
  */
9974
- 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_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE";
9988
+ RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "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_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE";
9975
9989
  /** RegistryLockBase */
9976
9990
  RegistryLockBase: {
9977
9991
  /**