@opusdns/api 0.254.0 → 0.256.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 +20 -2
- package/src/openapi.yaml +115 -1
- package/src/schema.d.ts +3 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -100,6 +100,7 @@ export const ATTRIBUTE_TYPE = {
|
|
|
100
100
|
BOOLEAN: "boolean",
|
|
101
101
|
DATETIME: "datetime",
|
|
102
102
|
INTEGER: "integer",
|
|
103
|
+
COUNTRY_CODE: "country_code",
|
|
103
104
|
} as const satisfies Record<string, AttributeType>;
|
|
104
105
|
|
|
105
106
|
/**
|
|
@@ -128,7 +129,8 @@ export const ATTRIBUTE_TYPE_VALUES = [
|
|
|
128
129
|
'string',
|
|
129
130
|
'boolean',
|
|
130
131
|
'datetime',
|
|
131
|
-
'integer'
|
|
132
|
+
'integer',
|
|
133
|
+
'country_code'
|
|
132
134
|
] as const satisfies [string, ...string[]] | AttributeType[];
|
|
133
135
|
|
|
134
136
|
/**
|
|
@@ -917,16 +919,21 @@ export const DNS_RRSET_TYPE = {
|
|
|
917
919
|
AAAA: "AAAA",
|
|
918
920
|
ALIAS: "ALIAS",
|
|
919
921
|
CAA: "CAA",
|
|
922
|
+
CERT: "CERT",
|
|
920
923
|
CNAME: "CNAME",
|
|
921
924
|
DNSKEY: "DNSKEY",
|
|
922
925
|
DS: "DS",
|
|
926
|
+
HTTPS: "HTTPS",
|
|
923
927
|
MX: "MX",
|
|
928
|
+
NAPTR: "NAPTR",
|
|
924
929
|
NS: "NS",
|
|
925
930
|
PTR: "PTR",
|
|
926
931
|
TXT: "TXT",
|
|
927
932
|
SOA: "SOA",
|
|
928
933
|
SRV: "SRV",
|
|
929
934
|
SMIMEA: "SMIMEA",
|
|
935
|
+
SSHFP: "SSHFP",
|
|
936
|
+
SVCB: "SVCB",
|
|
930
937
|
TLSA: "TLSA",
|
|
931
938
|
URI: "URI",
|
|
932
939
|
} as const satisfies Record<string, DnsRrsetType>;
|
|
@@ -957,16 +964,21 @@ export const DNS_RRSET_TYPE_VALUES = [
|
|
|
957
964
|
'AAAA',
|
|
958
965
|
'ALIAS',
|
|
959
966
|
'CAA',
|
|
967
|
+
'CERT',
|
|
960
968
|
'CNAME',
|
|
961
969
|
'DNSKEY',
|
|
962
970
|
'DS',
|
|
971
|
+
'HTTPS',
|
|
963
972
|
'MX',
|
|
973
|
+
'NAPTR',
|
|
964
974
|
'NS',
|
|
965
975
|
'PTR',
|
|
966
976
|
'TXT',
|
|
967
977
|
'SOA',
|
|
968
978
|
'SRV',
|
|
969
979
|
'SMIMEA',
|
|
980
|
+
'SSHFP',
|
|
981
|
+
'SVCB',
|
|
970
982
|
'TLSA',
|
|
971
983
|
'URI'
|
|
972
984
|
] as const satisfies [string, ...string[]] | DnsRrsetType[];
|
|
@@ -3837,6 +3849,9 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
|
3837
3849
|
CIRA_CPR: "CIRA_CPR",
|
|
3838
3850
|
SIDN_LEGAL_FORM: "SIDN_LEGAL_FORM",
|
|
3839
3851
|
SIDN_LEGAL_REG_NO: "SIDN_LEGAL_REG_NO",
|
|
3852
|
+
US_NEXUS_CATEGORY: "US_NEXUS_CATEGORY",
|
|
3853
|
+
US_NEXUS_COUNTRY_CODE: "US_NEXUS_COUNTRY_CODE",
|
|
3854
|
+
US_APP_PURPOSE: "US_APP_PURPOSE",
|
|
3840
3855
|
} as const satisfies Record<string, RegistryHandleAttributeType>;
|
|
3841
3856
|
|
|
3842
3857
|
/**
|
|
@@ -3892,7 +3907,10 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
|
3892
3907
|
'NOMINET_TRAD_NAME',
|
|
3893
3908
|
'CIRA_CPR',
|
|
3894
3909
|
'SIDN_LEGAL_FORM',
|
|
3895
|
-
'SIDN_LEGAL_REG_NO'
|
|
3910
|
+
'SIDN_LEGAL_REG_NO',
|
|
3911
|
+
'US_NEXUS_CATEGORY',
|
|
3912
|
+
'US_NEXUS_COUNTRY_CODE',
|
|
3913
|
+
'US_APP_PURPOSE'
|
|
3896
3914
|
] as const satisfies [string, ...string[]] | RegistryHandleAttributeType[];
|
|
3897
3915
|
|
|
3898
3916
|
/**
|
package/src/openapi.yaml
CHANGED
|
@@ -52,6 +52,7 @@ components:
|
|
|
52
52
|
- boolean
|
|
53
53
|
- datetime
|
|
54
54
|
- integer
|
|
55
|
+
- country_code
|
|
55
56
|
title: AttributeType
|
|
56
57
|
type: string
|
|
57
58
|
BatchSortField:
|
|
@@ -1806,16 +1807,21 @@ components:
|
|
|
1806
1807
|
- AAAA
|
|
1807
1808
|
- ALIAS
|
|
1808
1809
|
- CAA
|
|
1810
|
+
- CERT
|
|
1809
1811
|
- CNAME
|
|
1810
1812
|
- DNSKEY
|
|
1811
1813
|
- DS
|
|
1814
|
+
- HTTPS
|
|
1812
1815
|
- MX
|
|
1816
|
+
- NAPTR
|
|
1813
1817
|
- NS
|
|
1814
1818
|
- PTR
|
|
1815
1819
|
- TXT
|
|
1816
1820
|
- SOA
|
|
1817
1821
|
- SRV
|
|
1818
1822
|
- SMIMEA
|
|
1823
|
+
- SSHFP
|
|
1824
|
+
- SVCB
|
|
1819
1825
|
- TLSA
|
|
1820
1826
|
- URI
|
|
1821
1827
|
title: DnsRrsetType
|
|
@@ -8320,6 +8326,9 @@ components:
|
|
|
8320
8326
|
- CIRA_CPR
|
|
8321
8327
|
- SIDN_LEGAL_FORM
|
|
8322
8328
|
- SIDN_LEGAL_REG_NO
|
|
8329
|
+
- US_NEXUS_CATEGORY
|
|
8330
|
+
- US_NEXUS_COUNTRY_CODE
|
|
8331
|
+
- US_APP_PURPOSE
|
|
8323
8332
|
title: RegistryHandleAttributeType
|
|
8324
8333
|
type: string
|
|
8325
8334
|
RegistryLockBase:
|
|
@@ -9853,7 +9862,7 @@ info:
|
|
|
9853
9862
|
\n\n"
|
|
9854
9863
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9855
9864
|
title: OpusDNS API
|
|
9856
|
-
version: 2026-04-
|
|
9865
|
+
version: 2026-04-20-134700
|
|
9857
9866
|
x-logo:
|
|
9858
9867
|
altText: OpusDNS API Reference
|
|
9859
9868
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -11858,6 +11867,39 @@ paths:
|
|
|
11858
11867
|
content:
|
|
11859
11868
|
application/json:
|
|
11860
11869
|
examples:
|
|
11870
|
+
advanced_services_setup:
|
|
11871
|
+
description: A zone using HTTPS, SVCB, NAPTR, SSHFP, and CERT record
|
|
11872
|
+
types
|
|
11873
|
+
summary: Advanced service binding and security record types
|
|
11874
|
+
value:
|
|
11875
|
+
dnssec_status: disabled
|
|
11876
|
+
name: example.com
|
|
11877
|
+
rrsets:
|
|
11878
|
+
- name: _443._https
|
|
11879
|
+
records:
|
|
11880
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
11881
|
+
ttl: 300
|
|
11882
|
+
type: HTTPS
|
|
11883
|
+
- name: svc
|
|
11884
|
+
records:
|
|
11885
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
11886
|
+
ttl: 300
|
|
11887
|
+
type: SVCB
|
|
11888
|
+
- name: sip
|
|
11889
|
+
records:
|
|
11890
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
11891
|
+
ttl: 300
|
|
11892
|
+
type: NAPTR
|
|
11893
|
+
- name: host
|
|
11894
|
+
records:
|
|
11895
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
11896
|
+
ttl: 300
|
|
11897
|
+
type: SSHFP
|
|
11898
|
+
- name: cert
|
|
11899
|
+
records:
|
|
11900
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
11901
|
+
ttl: 300
|
|
11902
|
+
type: CERT
|
|
11861
11903
|
business_setup:
|
|
11862
11904
|
description: A comprehensive setup for a business with multiple subdomains
|
|
11863
11905
|
and services
|
|
@@ -12803,6 +12845,47 @@ paths:
|
|
|
12803
12845
|
records: []
|
|
12804
12846
|
ttl: 300
|
|
12805
12847
|
type: A
|
|
12848
|
+
upsert_advanced_rrsets:
|
|
12849
|
+
description: Add HTTPS, SVCB, NAPTR, SSHFP, and CERT records in a
|
|
12850
|
+
single patch
|
|
12851
|
+
summary: Upsert advanced service binding and security RRsets
|
|
12852
|
+
value:
|
|
12853
|
+
ops:
|
|
12854
|
+
- op: upsert
|
|
12855
|
+
rrset:
|
|
12856
|
+
name: _443._https
|
|
12857
|
+
records:
|
|
12858
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
12859
|
+
ttl: 300
|
|
12860
|
+
type: HTTPS
|
|
12861
|
+
- op: upsert
|
|
12862
|
+
rrset:
|
|
12863
|
+
name: svc
|
|
12864
|
+
records:
|
|
12865
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
12866
|
+
ttl: 300
|
|
12867
|
+
type: SVCB
|
|
12868
|
+
- op: upsert
|
|
12869
|
+
rrset:
|
|
12870
|
+
name: sip
|
|
12871
|
+
records:
|
|
12872
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
12873
|
+
ttl: 300
|
|
12874
|
+
type: NAPTR
|
|
12875
|
+
- op: upsert
|
|
12876
|
+
rrset:
|
|
12877
|
+
name: host
|
|
12878
|
+
records:
|
|
12879
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
12880
|
+
ttl: 300
|
|
12881
|
+
type: SSHFP
|
|
12882
|
+
- op: upsert
|
|
12883
|
+
rrset:
|
|
12884
|
+
name: cert
|
|
12885
|
+
records:
|
|
12886
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
12887
|
+
ttl: 300
|
|
12888
|
+
type: CERT
|
|
12806
12889
|
upsert_and_remove:
|
|
12807
12890
|
description: Change www from CNAME to A record with multiple IPs (remove
|
|
12808
12891
|
CNAME, add A records)
|
|
@@ -12906,6 +12989,37 @@ paths:
|
|
|
12906
12989
|
- rdata: 203.0.113.10
|
|
12907
12990
|
ttl: 300
|
|
12908
12991
|
type: A
|
|
12992
|
+
update_advanced_rrsets:
|
|
12993
|
+
description: Replace all RRsets with HTTPS, SVCB, NAPTR, SSHFP, and
|
|
12994
|
+
CERT records
|
|
12995
|
+
summary: Update with advanced service binding and security RRsets
|
|
12996
|
+
value:
|
|
12997
|
+
rrsets:
|
|
12998
|
+
- name: _443._https
|
|
12999
|
+
records:
|
|
13000
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
13001
|
+
ttl: 300
|
|
13002
|
+
type: HTTPS
|
|
13003
|
+
- name: svc
|
|
13004
|
+
records:
|
|
13005
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
13006
|
+
ttl: 300
|
|
13007
|
+
type: SVCB
|
|
13008
|
+
- name: sip
|
|
13009
|
+
records:
|
|
13010
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
13011
|
+
ttl: 300
|
|
13012
|
+
type: NAPTR
|
|
13013
|
+
- name: host
|
|
13014
|
+
records:
|
|
13015
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
13016
|
+
ttl: 300
|
|
13017
|
+
type: SSHFP
|
|
13018
|
+
- name: cert
|
|
13019
|
+
records:
|
|
13020
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
13021
|
+
ttl: 300
|
|
13022
|
+
type: CERT
|
|
12909
13023
|
update_multiple_rrsets:
|
|
12910
13024
|
description: Replace all RRsets with multiple record sets (A, CNAME,
|
|
12911
13025
|
MX)
|
package/src/schema.d.ts
CHANGED
|
@@ -2144,7 +2144,7 @@ export interface components {
|
|
|
2144
2144
|
* AttributeType
|
|
2145
2145
|
* @enum {string}
|
|
2146
2146
|
*/
|
|
2147
|
-
AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer";
|
|
2147
|
+
AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer" | "country_code";
|
|
2148
2148
|
/**
|
|
2149
2149
|
* BatchSortField
|
|
2150
2150
|
* @enum {string}
|
|
@@ -3426,7 +3426,7 @@ export interface components {
|
|
|
3426
3426
|
* DnsRrsetType
|
|
3427
3427
|
* @enum {string}
|
|
3428
3428
|
*/
|
|
3429
|
-
DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "DNSKEY" | "DS" | "MX" | "NS" | "PTR" | "TXT" | "SOA" | "SRV" | "SMIMEA" | "TLSA" | "URI";
|
|
3429
|
+
DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CERT" | "CNAME" | "DNSKEY" | "DS" | "HTTPS" | "MX" | "NAPTR" | "NS" | "PTR" | "TXT" | "SOA" | "SRV" | "SMIMEA" | "SSHFP" | "SVCB" | "TLSA" | "URI";
|
|
3430
3430
|
/** DnsRrsetWithOneRecordPatch */
|
|
3431
3431
|
DnsRrsetWithOneRecordPatch: {
|
|
3432
3432
|
/** Name */
|
|
@@ -7708,7 +7708,7 @@ export interface components {
|
|
|
7708
7708
|
* @description Registry handle attribute types for type-safe attribute key access.
|
|
7709
7709
|
* @enum {string}
|
|
7710
7710
|
*/
|
|
7711
|
-
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";
|
|
7711
|
+
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";
|
|
7712
7712
|
/** RegistryLockBase */
|
|
7713
7713
|
RegistryLockBase: {
|
|
7714
7714
|
/**
|