@opusdns/api 1.31.0 → 1.33.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 +1 -1
- package/src/helpers/constants.ts +10 -0
- package/src/helpers/keys.ts +6 -0
- package/src/openapi.yaml +34 -1
- package/src/schema.d.ts +22 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -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',
|
package/src/helpers/keys.ts
CHANGED
|
@@ -2277,6 +2277,7 @@ export const KEY_DOMAIN_REGISTERED_ON = 'registered_on' satisfies keyof Domain;
|
|
|
2277
2277
|
export const KEY_DOMAIN_REGISTRY_ACCOUNT_ID = 'registry_account_id' satisfies keyof Domain;
|
|
2278
2278
|
export const KEY_DOMAIN_REGISTRY_STATUSES = 'registry_statuses' satisfies keyof Domain;
|
|
2279
2279
|
export const KEY_DOMAIN_RENEWAL_MODE = 'renewal_mode' satisfies keyof Domain;
|
|
2280
|
+
export const KEY_DOMAIN_RENEWAL_PERIOD = 'renewal_period' satisfies keyof Domain;
|
|
2280
2281
|
export const KEY_DOMAIN_ROID = 'roid' satisfies keyof Domain;
|
|
2281
2282
|
export const KEY_DOMAIN_SLD = 'sld' satisfies keyof Domain;
|
|
2282
2283
|
export const KEY_DOMAIN_STATUS_TAGS = 'status_tags' satisfies keyof Domain;
|
|
@@ -2304,6 +2305,7 @@ export const KEYS_DOMAIN = [
|
|
|
2304
2305
|
KEY_DOMAIN_REGISTRY_ACCOUNT_ID,
|
|
2305
2306
|
KEY_DOMAIN_REGISTRY_STATUSES,
|
|
2306
2307
|
KEY_DOMAIN_RENEWAL_MODE,
|
|
2308
|
+
KEY_DOMAIN_RENEWAL_PERIOD,
|
|
2307
2309
|
KEY_DOMAIN_ROID,
|
|
2308
2310
|
KEY_DOMAIN_SLD,
|
|
2309
2311
|
KEY_DOMAIN_STATUS_TAGS,
|
|
@@ -2550,6 +2552,7 @@ export const KEYS_DOMAIN_TRANSIT = [
|
|
|
2550
2552
|
KEY_DOMAIN_TRANSIT_SUCCESS,
|
|
2551
2553
|
] as const satisfies (keyof DomainTransit)[];
|
|
2552
2554
|
|
|
2555
|
+
export const KEY_DOMAIN_UPDATE_ATTRIBUTES = 'attributes' satisfies keyof DomainUpdate;
|
|
2553
2556
|
export const KEY_DOMAIN_UPDATE_AUTH_CODE = 'auth_code' satisfies keyof DomainUpdate;
|
|
2554
2557
|
export const KEY_DOMAIN_UPDATE_CONTACTS = 'contacts' satisfies keyof DomainUpdate;
|
|
2555
2558
|
export const KEY_DOMAIN_UPDATE_NAMESERVERS = 'nameservers' satisfies keyof DomainUpdate;
|
|
@@ -2558,6 +2561,7 @@ export const KEY_DOMAIN_UPDATE_STATUS_CHANGES = 'status_changes' satisfies keyof
|
|
|
2558
2561
|
export const KEY_DOMAIN_UPDATE_STATUSES = 'statuses' satisfies keyof DomainUpdate;
|
|
2559
2562
|
|
|
2560
2563
|
export const KEYS_DOMAIN_UPDATE = [
|
|
2564
|
+
KEY_DOMAIN_UPDATE_ATTRIBUTES,
|
|
2561
2565
|
KEY_DOMAIN_UPDATE_AUTH_CODE,
|
|
2562
2566
|
KEY_DOMAIN_UPDATE_CONTACTS,
|
|
2563
2567
|
KEY_DOMAIN_UPDATE_NAMESERVERS,
|
|
@@ -2632,6 +2636,7 @@ export const KEYS_DOMAIN_UPDATE_COMMAND = [
|
|
|
2632
2636
|
KEY_DOMAIN_UPDATE_COMMAND_VERSION,
|
|
2633
2637
|
] as const satisfies (keyof DomainUpdateCommand)[];
|
|
2634
2638
|
|
|
2639
|
+
export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_ATTRIBUTES = 'attributes' satisfies keyof DomainUpdatePayloadData;
|
|
2635
2640
|
export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_AUTH_CODE = 'auth_code' satisfies keyof DomainUpdatePayloadData;
|
|
2636
2641
|
export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_CONTACTS = 'contacts' satisfies keyof DomainUpdatePayloadData;
|
|
2637
2642
|
export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_DOMAIN_ID = 'domain_id' satisfies keyof DomainUpdatePayloadData;
|
|
@@ -2641,6 +2646,7 @@ export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_STATUS_CHANGES = 'status_changes' sa
|
|
|
2641
2646
|
export const KEY_DOMAIN_UPDATE_PAYLOAD_DATA_STATUSES = 'statuses' satisfies keyof DomainUpdatePayloadData;
|
|
2642
2647
|
|
|
2643
2648
|
export const KEYS_DOMAIN_UPDATE_PAYLOAD_DATA = [
|
|
2649
|
+
KEY_DOMAIN_UPDATE_PAYLOAD_DATA_ATTRIBUTES,
|
|
2644
2650
|
KEY_DOMAIN_UPDATE_PAYLOAD_DATA_AUTH_CODE,
|
|
2645
2651
|
KEY_DOMAIN_UPDATE_PAYLOAD_DATA_CONTACTS,
|
|
2646
2652
|
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:
|
|
@@ -4999,6 +5002,14 @@ components:
|
|
|
4999
5002
|
renewal_mode:
|
|
5000
5003
|
$ref: '#/components/schemas/RenewalMode'
|
|
5001
5004
|
description: The renewal mode of the domain
|
|
5005
|
+
renewal_period:
|
|
5006
|
+
anyOf:
|
|
5007
|
+
- type: string
|
|
5008
|
+
- type: 'null'
|
|
5009
|
+
description: Renewal period of the domain as an ISO 8601 duration (e.g.
|
|
5010
|
+
'P1M', 'P1Y'). Null when the domain is not set to renew (renewal mode
|
|
5011
|
+
'expire') or has no active subscription.
|
|
5012
|
+
title: Renewal Period
|
|
5002
5013
|
roid:
|
|
5003
5014
|
description: The registry object id of the domain
|
|
5004
5015
|
examples:
|
|
@@ -5663,6 +5674,16 @@ components:
|
|
|
5663
5674
|
type: object
|
|
5664
5675
|
DomainUpdate:
|
|
5665
5676
|
properties:
|
|
5677
|
+
attributes:
|
|
5678
|
+
anyOf:
|
|
5679
|
+
- additionalProperties:
|
|
5680
|
+
type: string
|
|
5681
|
+
propertyNames:
|
|
5682
|
+
$ref: '#/components/schemas/DomainAttributeKey'
|
|
5683
|
+
type: object
|
|
5684
|
+
- type: 'null'
|
|
5685
|
+
description: Additional attributes of the domain
|
|
5686
|
+
title: Attributes
|
|
5666
5687
|
auth_code:
|
|
5667
5688
|
anyOf:
|
|
5668
5689
|
- maxLength: 255
|
|
@@ -5871,6 +5892,16 @@ components:
|
|
|
5871
5892
|
type: object
|
|
5872
5893
|
DomainUpdatePayloadData:
|
|
5873
5894
|
properties:
|
|
5895
|
+
attributes:
|
|
5896
|
+
anyOf:
|
|
5897
|
+
- additionalProperties:
|
|
5898
|
+
type: string
|
|
5899
|
+
propertyNames:
|
|
5900
|
+
$ref: '#/components/schemas/DomainAttributeKey'
|
|
5901
|
+
type: object
|
|
5902
|
+
- type: 'null'
|
|
5903
|
+
description: Additional attributes of the domain
|
|
5904
|
+
title: Attributes
|
|
5874
5905
|
auth_code:
|
|
5875
5906
|
anyOf:
|
|
5876
5907
|
- maxLength: 255
|
|
@@ -10889,6 +10920,8 @@ components:
|
|
|
10889
10920
|
enum:
|
|
10890
10921
|
- at-ext-contact:type
|
|
10891
10922
|
- DE_CONTACT_TYPE
|
|
10923
|
+
- DE_GENERAL_REQUEST_URI_TEMPLATE
|
|
10924
|
+
- DE_ABUSE_URI_TEMPLATE
|
|
10892
10925
|
- dnsbe:type
|
|
10893
10926
|
- eurid:type
|
|
10894
10927
|
- AFNIC_CONTACT_TYPE
|
|
@@ -13350,7 +13383,7 @@ info:
|
|
|
13350
13383
|
\n\n"
|
|
13351
13384
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13352
13385
|
title: OpusDNS API
|
|
13353
|
-
version: 2026-06-
|
|
13386
|
+
version: 2026-06-24-134115
|
|
13354
13387
|
x-logo:
|
|
13355
13388
|
altText: OpusDNS API Reference
|
|
13356
13389
|
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 */
|
|
@@ -6061,6 +6061,11 @@ export interface components {
|
|
|
6061
6061
|
registry_statuses?: string[];
|
|
6062
6062
|
/** @description The renewal mode of the domain */
|
|
6063
6063
|
renewal_mode?: components["schemas"]["RenewalMode"];
|
|
6064
|
+
/**
|
|
6065
|
+
* Renewal Period
|
|
6066
|
+
* @description Renewal period of the domain as an ISO 8601 duration (e.g. 'P1M', 'P1Y'). Null when the domain is not set to renew (renewal mode 'expire') or has no active subscription.
|
|
6067
|
+
*/
|
|
6068
|
+
renewal_period?: string | null;
|
|
6064
6069
|
/**
|
|
6065
6070
|
* Roid
|
|
6066
6071
|
* @description The registry object id of the domain
|
|
@@ -6496,6 +6501,13 @@ export interface components {
|
|
|
6496
6501
|
};
|
|
6497
6502
|
/** DomainUpdate */
|
|
6498
6503
|
DomainUpdate: {
|
|
6504
|
+
/**
|
|
6505
|
+
* Attributes
|
|
6506
|
+
* @description Additional attributes of the domain
|
|
6507
|
+
*/
|
|
6508
|
+
attributes?: {
|
|
6509
|
+
[key: string]: string;
|
|
6510
|
+
} | null;
|
|
6499
6511
|
/**
|
|
6500
6512
|
* Auth Code
|
|
6501
6513
|
* @description The new auth code for the domain
|
|
@@ -6634,6 +6646,13 @@ export interface components {
|
|
|
6634
6646
|
};
|
|
6635
6647
|
/** DomainUpdatePayloadData */
|
|
6636
6648
|
DomainUpdatePayloadData: {
|
|
6649
|
+
/**
|
|
6650
|
+
* Attributes
|
|
6651
|
+
* @description Additional attributes of the domain
|
|
6652
|
+
*/
|
|
6653
|
+
attributes?: {
|
|
6654
|
+
[key: string]: string;
|
|
6655
|
+
} | null;
|
|
6637
6656
|
/**
|
|
6638
6657
|
* Auth Code
|
|
6639
6658
|
* @description The new auth code for the domain
|
|
@@ -9971,7 +9990,7 @@ export interface components {
|
|
|
9971
9990
|
* @description Registry handle attribute types for type-safe attribute key access.
|
|
9972
9991
|
* @enum {string}
|
|
9973
9992
|
*/
|
|
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";
|
|
9993
|
+
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
9994
|
/** RegistryLockBase */
|
|
9976
9995
|
RegistryLockBase: {
|
|
9977
9996
|
/**
|