@opusdns/api 0.255.0 → 0.257.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 +12 -0
- package/src/openapi.yaml +112 -1
- package/src/schema.d.ts +2 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -919,16 +919,21 @@ export const DNS_RRSET_TYPE = {
|
|
|
919
919
|
AAAA: "AAAA",
|
|
920
920
|
ALIAS: "ALIAS",
|
|
921
921
|
CAA: "CAA",
|
|
922
|
+
CERT: "CERT",
|
|
922
923
|
CNAME: "CNAME",
|
|
923
924
|
DNSKEY: "DNSKEY",
|
|
924
925
|
DS: "DS",
|
|
926
|
+
HTTPS: "HTTPS",
|
|
925
927
|
MX: "MX",
|
|
928
|
+
NAPTR: "NAPTR",
|
|
926
929
|
NS: "NS",
|
|
927
930
|
PTR: "PTR",
|
|
928
931
|
TXT: "TXT",
|
|
929
932
|
SOA: "SOA",
|
|
930
933
|
SRV: "SRV",
|
|
931
934
|
SMIMEA: "SMIMEA",
|
|
935
|
+
SSHFP: "SSHFP",
|
|
936
|
+
SVCB: "SVCB",
|
|
932
937
|
TLSA: "TLSA",
|
|
933
938
|
URI: "URI",
|
|
934
939
|
} as const satisfies Record<string, DnsRrsetType>;
|
|
@@ -959,16 +964,21 @@ export const DNS_RRSET_TYPE_VALUES = [
|
|
|
959
964
|
'AAAA',
|
|
960
965
|
'ALIAS',
|
|
961
966
|
'CAA',
|
|
967
|
+
'CERT',
|
|
962
968
|
'CNAME',
|
|
963
969
|
'DNSKEY',
|
|
964
970
|
'DS',
|
|
971
|
+
'HTTPS',
|
|
965
972
|
'MX',
|
|
973
|
+
'NAPTR',
|
|
966
974
|
'NS',
|
|
967
975
|
'PTR',
|
|
968
976
|
'TXT',
|
|
969
977
|
'SOA',
|
|
970
978
|
'SRV',
|
|
971
979
|
'SMIMEA',
|
|
980
|
+
'SSHFP',
|
|
981
|
+
'SVCB',
|
|
972
982
|
'TLSA',
|
|
973
983
|
'URI'
|
|
974
984
|
] as const satisfies [string, ...string[]] | DnsRrsetType[];
|
|
@@ -4168,6 +4178,7 @@ export const REPORT_TYPE = {
|
|
|
4168
4178
|
DOMAIN_INVENTORY: "domain_inventory",
|
|
4169
4179
|
DNS_ZONE_SUMMARY: "dns_zone_summary",
|
|
4170
4180
|
DNS_ZONE_RECORDS: "dns_zone_records",
|
|
4181
|
+
DOMAIN_FORWARDS: "domain_forwards",
|
|
4171
4182
|
BILLING_TRANSACTIONS: "billing_transactions",
|
|
4172
4183
|
BILLING_TRANSACTIONS_MONTHLY: "billing_transactions_monthly",
|
|
4173
4184
|
} as const satisfies Record<string, ReportType>;
|
|
@@ -4197,6 +4208,7 @@ export const REPORT_TYPE_VALUES = [
|
|
|
4197
4208
|
'domain_inventory',
|
|
4198
4209
|
'dns_zone_summary',
|
|
4199
4210
|
'dns_zone_records',
|
|
4211
|
+
'domain_forwards',
|
|
4200
4212
|
'billing_transactions',
|
|
4201
4213
|
'billing_transactions_monthly'
|
|
4202
4214
|
] as const satisfies [string, ...string[]] | ReportType[];
|
package/src/openapi.yaml
CHANGED
|
@@ -1807,16 +1807,21 @@ components:
|
|
|
1807
1807
|
- AAAA
|
|
1808
1808
|
- ALIAS
|
|
1809
1809
|
- CAA
|
|
1810
|
+
- CERT
|
|
1810
1811
|
- CNAME
|
|
1811
1812
|
- DNSKEY
|
|
1812
1813
|
- DS
|
|
1814
|
+
- HTTPS
|
|
1813
1815
|
- MX
|
|
1816
|
+
- NAPTR
|
|
1814
1817
|
- NS
|
|
1815
1818
|
- PTR
|
|
1816
1819
|
- TXT
|
|
1817
1820
|
- SOA
|
|
1818
1821
|
- SRV
|
|
1819
1822
|
- SMIMEA
|
|
1823
|
+
- SSHFP
|
|
1824
|
+
- SVCB
|
|
1820
1825
|
- TLSA
|
|
1821
1826
|
- URI
|
|
1822
1827
|
title: DnsRrsetType
|
|
@@ -8426,6 +8431,7 @@ components:
|
|
|
8426
8431
|
- domain_inventory
|
|
8427
8432
|
- dns_zone_summary
|
|
8428
8433
|
- dns_zone_records
|
|
8434
|
+
- domain_forwards
|
|
8429
8435
|
- billing_transactions
|
|
8430
8436
|
- billing_transactions_monthly
|
|
8431
8437
|
title: ReportType
|
|
@@ -9857,7 +9863,7 @@ info:
|
|
|
9857
9863
|
\n\n"
|
|
9858
9864
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9859
9865
|
title: OpusDNS API
|
|
9860
|
-
version: 2026-04-20-
|
|
9866
|
+
version: 2026-04-20-173548
|
|
9861
9867
|
x-logo:
|
|
9862
9868
|
altText: OpusDNS API Reference
|
|
9863
9869
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -11862,6 +11868,39 @@ paths:
|
|
|
11862
11868
|
content:
|
|
11863
11869
|
application/json:
|
|
11864
11870
|
examples:
|
|
11871
|
+
advanced_services_setup:
|
|
11872
|
+
description: A zone using HTTPS, SVCB, NAPTR, SSHFP, and CERT record
|
|
11873
|
+
types
|
|
11874
|
+
summary: Advanced service binding and security record types
|
|
11875
|
+
value:
|
|
11876
|
+
dnssec_status: disabled
|
|
11877
|
+
name: example.com
|
|
11878
|
+
rrsets:
|
|
11879
|
+
- name: _443._https
|
|
11880
|
+
records:
|
|
11881
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
11882
|
+
ttl: 300
|
|
11883
|
+
type: HTTPS
|
|
11884
|
+
- name: svc
|
|
11885
|
+
records:
|
|
11886
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
11887
|
+
ttl: 300
|
|
11888
|
+
type: SVCB
|
|
11889
|
+
- name: sip
|
|
11890
|
+
records:
|
|
11891
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
11892
|
+
ttl: 300
|
|
11893
|
+
type: NAPTR
|
|
11894
|
+
- name: host
|
|
11895
|
+
records:
|
|
11896
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
11897
|
+
ttl: 300
|
|
11898
|
+
type: SSHFP
|
|
11899
|
+
- name: cert
|
|
11900
|
+
records:
|
|
11901
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
11902
|
+
ttl: 300
|
|
11903
|
+
type: CERT
|
|
11865
11904
|
business_setup:
|
|
11866
11905
|
description: A comprehensive setup for a business with multiple subdomains
|
|
11867
11906
|
and services
|
|
@@ -12807,6 +12846,47 @@ paths:
|
|
|
12807
12846
|
records: []
|
|
12808
12847
|
ttl: 300
|
|
12809
12848
|
type: A
|
|
12849
|
+
upsert_advanced_rrsets:
|
|
12850
|
+
description: Add HTTPS, SVCB, NAPTR, SSHFP, and CERT records in a
|
|
12851
|
+
single patch
|
|
12852
|
+
summary: Upsert advanced service binding and security RRsets
|
|
12853
|
+
value:
|
|
12854
|
+
ops:
|
|
12855
|
+
- op: upsert
|
|
12856
|
+
rrset:
|
|
12857
|
+
name: _443._https
|
|
12858
|
+
records:
|
|
12859
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
12860
|
+
ttl: 300
|
|
12861
|
+
type: HTTPS
|
|
12862
|
+
- op: upsert
|
|
12863
|
+
rrset:
|
|
12864
|
+
name: svc
|
|
12865
|
+
records:
|
|
12866
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
12867
|
+
ttl: 300
|
|
12868
|
+
type: SVCB
|
|
12869
|
+
- op: upsert
|
|
12870
|
+
rrset:
|
|
12871
|
+
name: sip
|
|
12872
|
+
records:
|
|
12873
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
12874
|
+
ttl: 300
|
|
12875
|
+
type: NAPTR
|
|
12876
|
+
- op: upsert
|
|
12877
|
+
rrset:
|
|
12878
|
+
name: host
|
|
12879
|
+
records:
|
|
12880
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
12881
|
+
ttl: 300
|
|
12882
|
+
type: SSHFP
|
|
12883
|
+
- op: upsert
|
|
12884
|
+
rrset:
|
|
12885
|
+
name: cert
|
|
12886
|
+
records:
|
|
12887
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
12888
|
+
ttl: 300
|
|
12889
|
+
type: CERT
|
|
12810
12890
|
upsert_and_remove:
|
|
12811
12891
|
description: Change www from CNAME to A record with multiple IPs (remove
|
|
12812
12892
|
CNAME, add A records)
|
|
@@ -12910,6 +12990,37 @@ paths:
|
|
|
12910
12990
|
- rdata: 203.0.113.10
|
|
12911
12991
|
ttl: 300
|
|
12912
12992
|
type: A
|
|
12993
|
+
update_advanced_rrsets:
|
|
12994
|
+
description: Replace all RRsets with HTTPS, SVCB, NAPTR, SSHFP, and
|
|
12995
|
+
CERT records
|
|
12996
|
+
summary: Update with advanced service binding and security RRsets
|
|
12997
|
+
value:
|
|
12998
|
+
rrsets:
|
|
12999
|
+
- name: _443._https
|
|
13000
|
+
records:
|
|
13001
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
13002
|
+
ttl: 300
|
|
13003
|
+
type: HTTPS
|
|
13004
|
+
- name: svc
|
|
13005
|
+
records:
|
|
13006
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
13007
|
+
ttl: 300
|
|
13008
|
+
type: SVCB
|
|
13009
|
+
- name: sip
|
|
13010
|
+
records:
|
|
13011
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
13012
|
+
ttl: 300
|
|
13013
|
+
type: NAPTR
|
|
13014
|
+
- name: host
|
|
13015
|
+
records:
|
|
13016
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
13017
|
+
ttl: 300
|
|
13018
|
+
type: SSHFP
|
|
13019
|
+
- name: cert
|
|
13020
|
+
records:
|
|
13021
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
13022
|
+
ttl: 300
|
|
13023
|
+
type: CERT
|
|
12913
13024
|
update_multiple_rrsets:
|
|
12914
13025
|
description: Replace all RRsets with multiple record sets (A, CNAME,
|
|
12915
13026
|
MX)
|
package/src/schema.d.ts
CHANGED
|
@@ -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 */
|
|
@@ -7770,7 +7770,7 @@ export interface components {
|
|
|
7770
7770
|
* ReportType
|
|
7771
7771
|
* @enum {string}
|
|
7772
7772
|
*/
|
|
7773
|
-
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "billing_transactions" | "billing_transactions_monthly";
|
|
7773
|
+
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "domain_forwards" | "billing_transactions" | "billing_transactions_monthly";
|
|
7774
7774
|
/** RequestHistory */
|
|
7775
7775
|
RequestHistory: {
|
|
7776
7776
|
/**
|