@opusdns/api 1.127.0 → 1.129.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 +129 -0
- package/src/helpers/requests.d.ts +1 -0
- package/src/helpers/schemas.d.ts +1 -0
- package/src/openapi.yaml +96 -1
- package/src/schema.d.ts +14 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -88,6 +88,7 @@ import type {
|
|
|
88
88
|
RedirectCode,
|
|
89
89
|
RegistrantChangeType,
|
|
90
90
|
RegistryHandleAttributeType,
|
|
91
|
+
RegistryServiceBackend,
|
|
91
92
|
RenewalMode,
|
|
92
93
|
RenewalModeDTO,
|
|
93
94
|
ReportStatus,
|
|
@@ -1705,6 +1706,132 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
|
1705
1706
|
'INTERNET_EE_IDENT_VALUE',
|
|
1706
1707
|
] as const satisfies ReadonlyArray<RegistryHandleAttributeType>;
|
|
1707
1708
|
|
|
1709
|
+
export const REGISTRY_SERVICE_BACKEND = {
|
|
1710
|
+
AFNIC: "afnic",
|
|
1711
|
+
CENTRALNIC: "centralnic",
|
|
1712
|
+
CIRA: "cira",
|
|
1713
|
+
SWITCH: "switch",
|
|
1714
|
+
NICAT: "nicat",
|
|
1715
|
+
VERISIGN: "verisign",
|
|
1716
|
+
PIR: "pir",
|
|
1717
|
+
GMO: "gmo",
|
|
1718
|
+
GOOGLE: "google",
|
|
1719
|
+
DENIC: "denic",
|
|
1720
|
+
IDENTITY_DIGITAL: "identity_digital",
|
|
1721
|
+
GODADDY: "godaddy",
|
|
1722
|
+
DNS_BELGIUM: "dns_belgium",
|
|
1723
|
+
EURID: "eurid",
|
|
1724
|
+
ROTLD: "rotld",
|
|
1725
|
+
NOMINET_UK: "nominet_uk",
|
|
1726
|
+
RADIX: "radix",
|
|
1727
|
+
SIDN: "sidn",
|
|
1728
|
+
SIDN_HELLO: "sidn_hello",
|
|
1729
|
+
TUCOWS: "tucows",
|
|
1730
|
+
DOT_UA: "dot_ua",
|
|
1731
|
+
NIC_IT: "nic_it",
|
|
1732
|
+
DNS_LU: "dns_lu",
|
|
1733
|
+
RESTENA_LU: "restena_lu",
|
|
1734
|
+
CZ_NIC: "cz_nic",
|
|
1735
|
+
RAS_MANUAL: "ras_manual",
|
|
1736
|
+
RAS_EXTERNAL: "ras_external",
|
|
1737
|
+
REGISTER_SI: "register_si",
|
|
1738
|
+
SK_NIC: "sk_nic",
|
|
1739
|
+
DOT_BLOG: "dot_blog",
|
|
1740
|
+
NIC_LV: "nic_lv",
|
|
1741
|
+
DOMREG_LT: "domreg_lt",
|
|
1742
|
+
NOR_ID: "nor_id",
|
|
1743
|
+
WEBSITE_WS: "website_ws",
|
|
1744
|
+
DNS_PT: "dns_pt",
|
|
1745
|
+
PUNKTUM_DK: "punktum_dk",
|
|
1746
|
+
NIC_MEXICO: "nic_mexico",
|
|
1747
|
+
INTERNET_EE: "internet_ee",
|
|
1748
|
+
CHANNEL_ISLES: "channel_isles",
|
|
1749
|
+
REGISTRY_SE: "registry_se",
|
|
1750
|
+
NASK: "nask",
|
|
1751
|
+
DNS_BELGIUM_GTLD: "dns_belgium_gtld",
|
|
1752
|
+
NOMINET_DRAGON: "nominet_dragon",
|
|
1753
|
+
RED_ES: "red_es",
|
|
1754
|
+
INTERNET_NZ: "internet_nz",
|
|
1755
|
+
ZACR: "zacr",
|
|
1756
|
+
TRAFICOM: "traficom",
|
|
1757
|
+
IE_REGISTRY: "ie_registry",
|
|
1758
|
+
NIC_IM: "nic_im",
|
|
1759
|
+
CN_NIC: "cn_nic",
|
|
1760
|
+
FORTH: "forth",
|
|
1761
|
+
DNS_HR: "dns_hr",
|
|
1762
|
+
NIXI: "nixi",
|
|
1763
|
+
IS_NIC: "is_nic",
|
|
1764
|
+
SG_NIC: "sg_nic",
|
|
1765
|
+
KE_NIC: "ke_nic",
|
|
1766
|
+
TLD_BOX: "tld_box",
|
|
1767
|
+
RYCE: "ryce",
|
|
1768
|
+
COCCA: "cocca",
|
|
1769
|
+
AMAZON: "amazon",
|
|
1770
|
+
} as const satisfies Record<string, RegistryServiceBackend>;
|
|
1771
|
+
|
|
1772
|
+
export const REGISTRY_SERVICE_BACKEND_VALUES = [
|
|
1773
|
+
'afnic',
|
|
1774
|
+
'centralnic',
|
|
1775
|
+
'cira',
|
|
1776
|
+
'switch',
|
|
1777
|
+
'nicat',
|
|
1778
|
+
'verisign',
|
|
1779
|
+
'pir',
|
|
1780
|
+
'gmo',
|
|
1781
|
+
'google',
|
|
1782
|
+
'denic',
|
|
1783
|
+
'identity_digital',
|
|
1784
|
+
'godaddy',
|
|
1785
|
+
'dns_belgium',
|
|
1786
|
+
'eurid',
|
|
1787
|
+
'rotld',
|
|
1788
|
+
'nominet_uk',
|
|
1789
|
+
'radix',
|
|
1790
|
+
'sidn',
|
|
1791
|
+
'sidn_hello',
|
|
1792
|
+
'tucows',
|
|
1793
|
+
'dot_ua',
|
|
1794
|
+
'nic_it',
|
|
1795
|
+
'dns_lu',
|
|
1796
|
+
'restena_lu',
|
|
1797
|
+
'cz_nic',
|
|
1798
|
+
'ras_manual',
|
|
1799
|
+
'ras_external',
|
|
1800
|
+
'register_si',
|
|
1801
|
+
'sk_nic',
|
|
1802
|
+
'dot_blog',
|
|
1803
|
+
'nic_lv',
|
|
1804
|
+
'domreg_lt',
|
|
1805
|
+
'nor_id',
|
|
1806
|
+
'website_ws',
|
|
1807
|
+
'dns_pt',
|
|
1808
|
+
'punktum_dk',
|
|
1809
|
+
'nic_mexico',
|
|
1810
|
+
'internet_ee',
|
|
1811
|
+
'channel_isles',
|
|
1812
|
+
'registry_se',
|
|
1813
|
+
'nask',
|
|
1814
|
+
'dns_belgium_gtld',
|
|
1815
|
+
'nominet_dragon',
|
|
1816
|
+
'red_es',
|
|
1817
|
+
'internet_nz',
|
|
1818
|
+
'zacr',
|
|
1819
|
+
'traficom',
|
|
1820
|
+
'ie_registry',
|
|
1821
|
+
'nic_im',
|
|
1822
|
+
'cn_nic',
|
|
1823
|
+
'forth',
|
|
1824
|
+
'dns_hr',
|
|
1825
|
+
'nixi',
|
|
1826
|
+
'is_nic',
|
|
1827
|
+
'sg_nic',
|
|
1828
|
+
'ke_nic',
|
|
1829
|
+
'tld_box',
|
|
1830
|
+
'ryce',
|
|
1831
|
+
'cocca',
|
|
1832
|
+
'amazon',
|
|
1833
|
+
] as const satisfies ReadonlyArray<RegistryServiceBackend>;
|
|
1834
|
+
|
|
1708
1835
|
export const RENEWAL_MODE = {
|
|
1709
1836
|
RENEW: "renew",
|
|
1710
1837
|
EXPIRE: "expire",
|
|
@@ -1831,6 +1958,7 @@ export const STATUS_TAG_TYPE = {
|
|
|
1831
1958
|
EXTERNAL: "EXTERNAL",
|
|
1832
1959
|
IMPORT_REQUESTED: "IMPORT_REQUESTED",
|
|
1833
1960
|
IMPORT_PENDING: "IMPORT_PENDING",
|
|
1961
|
+
DNSSEC_PENDING: "DNSSEC_PENDING",
|
|
1834
1962
|
} as const satisfies Record<string, StatusTagType>;
|
|
1835
1963
|
|
|
1836
1964
|
export const STATUS_TAG_TYPE_VALUES = [
|
|
@@ -1841,6 +1969,7 @@ export const STATUS_TAG_TYPE_VALUES = [
|
|
|
1841
1969
|
'EXTERNAL',
|
|
1842
1970
|
'IMPORT_REQUESTED',
|
|
1843
1971
|
'IMPORT_PENDING',
|
|
1972
|
+
'DNSSEC_PENDING',
|
|
1844
1973
|
] as const satisfies ReadonlyArray<StatusTagType>;
|
|
1845
1974
|
|
|
1846
1975
|
export const SYNC_OPERATION_TYPE = {
|
|
@@ -1051,6 +1051,7 @@ export type GET_Tlds_Request_Query = GET_Tlds_Request['parameters']['query'];
|
|
|
1051
1051
|
export type GET_TldsByTld_Request = {
|
|
1052
1052
|
parameters: operations['get_tld_spec_v1_tlds__tld__get']['parameters'];
|
|
1053
1053
|
};
|
|
1054
|
+
export type GET_TldsByTld_Request_Query = GET_TldsByTld_Request['parameters']['query'];
|
|
1054
1055
|
export type GET_TldsByTld_Request_Path = GET_TldsByTld_Request['parameters']['path'];
|
|
1055
1056
|
|
|
1056
1057
|
export type GET_TldsPortfolio_Request = {
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -490,6 +490,7 @@ export type RegistrarRecord = components['schemas']['RegistrarRecord'];
|
|
|
490
490
|
export type RegistrarZone = components['schemas']['RegistrarZone'];
|
|
491
491
|
export type RegistryHandleAttributeType = components['schemas']['RegistryHandleAttributeType'];
|
|
492
492
|
export type RegistryLockBase = components['schemas']['RegistryLockBase'];
|
|
493
|
+
export type RegistryServiceBackend = components['schemas']['RegistryServiceBackend'];
|
|
493
494
|
export type RenewalMode = components['schemas']['RenewalMode'];
|
|
494
495
|
export type RenewalModeDTO = components['schemas']['RenewalModeDTO'];
|
|
495
496
|
export type ReportStatus = components['schemas']['ReportStatus'];
|
package/src/openapi.yaml
CHANGED
|
@@ -12522,6 +12522,70 @@ components:
|
|
|
12522
12522
|
- supported
|
|
12523
12523
|
title: RegistryLockBase
|
|
12524
12524
|
type: object
|
|
12525
|
+
RegistryServiceBackend:
|
|
12526
|
+
enum:
|
|
12527
|
+
- afnic
|
|
12528
|
+
- centralnic
|
|
12529
|
+
- cira
|
|
12530
|
+
- switch
|
|
12531
|
+
- nicat
|
|
12532
|
+
- verisign
|
|
12533
|
+
- pir
|
|
12534
|
+
- gmo
|
|
12535
|
+
- google
|
|
12536
|
+
- denic
|
|
12537
|
+
- identity_digital
|
|
12538
|
+
- godaddy
|
|
12539
|
+
- dns_belgium
|
|
12540
|
+
- eurid
|
|
12541
|
+
- rotld
|
|
12542
|
+
- nominet_uk
|
|
12543
|
+
- radix
|
|
12544
|
+
- sidn
|
|
12545
|
+
- sidn_hello
|
|
12546
|
+
- tucows
|
|
12547
|
+
- dot_ua
|
|
12548
|
+
- nic_it
|
|
12549
|
+
- dns_lu
|
|
12550
|
+
- restena_lu
|
|
12551
|
+
- cz_nic
|
|
12552
|
+
- ras_manual
|
|
12553
|
+
- ras_external
|
|
12554
|
+
- register_si
|
|
12555
|
+
- sk_nic
|
|
12556
|
+
- dot_blog
|
|
12557
|
+
- nic_lv
|
|
12558
|
+
- domreg_lt
|
|
12559
|
+
- nor_id
|
|
12560
|
+
- website_ws
|
|
12561
|
+
- dns_pt
|
|
12562
|
+
- punktum_dk
|
|
12563
|
+
- nic_mexico
|
|
12564
|
+
- internet_ee
|
|
12565
|
+
- channel_isles
|
|
12566
|
+
- registry_se
|
|
12567
|
+
- nask
|
|
12568
|
+
- dns_belgium_gtld
|
|
12569
|
+
- nominet_dragon
|
|
12570
|
+
- red_es
|
|
12571
|
+
- internet_nz
|
|
12572
|
+
- zacr
|
|
12573
|
+
- traficom
|
|
12574
|
+
- ie_registry
|
|
12575
|
+
- nic_im
|
|
12576
|
+
- cn_nic
|
|
12577
|
+
- forth
|
|
12578
|
+
- dns_hr
|
|
12579
|
+
- nixi
|
|
12580
|
+
- is_nic
|
|
12581
|
+
- sg_nic
|
|
12582
|
+
- ke_nic
|
|
12583
|
+
- tld_box
|
|
12584
|
+
- ryce
|
|
12585
|
+
- cocca
|
|
12586
|
+
- amazon
|
|
12587
|
+
title: RegistryServiceBackend
|
|
12588
|
+
type: string
|
|
12525
12589
|
RenewalMode:
|
|
12526
12590
|
enum:
|
|
12527
12591
|
- renew
|
|
@@ -12808,6 +12872,7 @@ components:
|
|
|
12808
12872
|
- EXTERNAL
|
|
12809
12873
|
- IMPORT_REQUESTED
|
|
12810
12874
|
- IMPORT_PENDING
|
|
12875
|
+
- DNSSEC_PENDING
|
|
12811
12876
|
title: StatusTagType
|
|
12812
12877
|
type: string
|
|
12813
12878
|
StrictMoneyDecimal:
|
|
@@ -15634,7 +15699,7 @@ info:
|
|
|
15634
15699
|
\n\n"
|
|
15635
15700
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
15636
15701
|
title: OpusDNS API
|
|
15637
|
-
version: 2026-08-
|
|
15702
|
+
version: 2026-08-24-085051
|
|
15638
15703
|
x-logo:
|
|
15639
15704
|
altText: OpusDNS API Reference
|
|
15640
15705
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -31865,6 +31930,36 @@ paths:
|
|
|
31865
31930
|
schema:
|
|
31866
31931
|
title: Tld
|
|
31867
31932
|
type: string
|
|
31933
|
+
- description: Override the resolved account backend.
|
|
31934
|
+
in: query
|
|
31935
|
+
name: backend
|
|
31936
|
+
required: false
|
|
31937
|
+
schema:
|
|
31938
|
+
anyOf:
|
|
31939
|
+
- $ref: '#/components/schemas/RegistryServiceBackend'
|
|
31940
|
+
- type: 'null'
|
|
31941
|
+
description: Override the resolved account backend.
|
|
31942
|
+
title: Backend
|
|
31943
|
+
- description: Override the customer spec ref.
|
|
31944
|
+
in: query
|
|
31945
|
+
name: customer_spec_ref
|
|
31946
|
+
required: false
|
|
31947
|
+
schema:
|
|
31948
|
+
anyOf:
|
|
31949
|
+
- type: string
|
|
31950
|
+
- type: 'null'
|
|
31951
|
+
description: Override the customer spec ref.
|
|
31952
|
+
title: Customer Spec Ref
|
|
31953
|
+
- description: Override the spec version pin (or LATEST).
|
|
31954
|
+
in: query
|
|
31955
|
+
name: version
|
|
31956
|
+
required: false
|
|
31957
|
+
schema:
|
|
31958
|
+
anyOf:
|
|
31959
|
+
- type: string
|
|
31960
|
+
- type: 'null'
|
|
31961
|
+
description: Override the spec version pin (or LATEST).
|
|
31962
|
+
title: Version
|
|
31868
31963
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
31869
31964
|
responses:
|
|
31870
31965
|
'200':
|
package/src/schema.d.ts
CHANGED
|
@@ -11145,6 +11145,11 @@ export interface components {
|
|
|
11145
11145
|
*/
|
|
11146
11146
|
supported: boolean;
|
|
11147
11147
|
};
|
|
11148
|
+
/**
|
|
11149
|
+
* RegistryServiceBackend
|
|
11150
|
+
* @enum {string}
|
|
11151
|
+
*/
|
|
11152
|
+
RegistryServiceBackend: "afnic" | "centralnic" | "cira" | "switch" | "nicat" | "verisign" | "pir" | "gmo" | "google" | "denic" | "identity_digital" | "godaddy" | "dns_belgium" | "eurid" | "rotld" | "nominet_uk" | "radix" | "sidn" | "sidn_hello" | "tucows" | "dot_ua" | "nic_it" | "dns_lu" | "restena_lu" | "cz_nic" | "ras_manual" | "ras_external" | "register_si" | "sk_nic" | "dot_blog" | "nic_lv" | "domreg_lt" | "nor_id" | "website_ws" | "dns_pt" | "punktum_dk" | "nic_mexico" | "internet_ee" | "channel_isles" | "registry_se" | "nask" | "dns_belgium_gtld" | "nominet_dragon" | "red_es" | "internet_nz" | "zacr" | "traficom" | "ie_registry" | "nic_im" | "cn_nic" | "forth" | "dns_hr" | "nixi" | "is_nic" | "sg_nic" | "ke_nic" | "tld_box" | "ryce" | "cocca" | "amazon";
|
|
11148
11153
|
/**
|
|
11149
11154
|
* RenewalMode
|
|
11150
11155
|
* @enum {string}
|
|
@@ -11346,7 +11351,7 @@ export interface components {
|
|
|
11346
11351
|
* StatusTagType
|
|
11347
11352
|
* @enum {string}
|
|
11348
11353
|
*/
|
|
11349
|
-
StatusTagType: "VERIFICATION_REQUIRED" | "CREATE_REQUESTED" | "INBOUND_TRANSFER_PENDING" | "OUTBOUND_TRANSFER_PENDING" | "EXTERNAL" | "IMPORT_REQUESTED" | "IMPORT_PENDING";
|
|
11354
|
+
StatusTagType: "VERIFICATION_REQUIRED" | "CREATE_REQUESTED" | "INBOUND_TRANSFER_PENDING" | "OUTBOUND_TRANSFER_PENDING" | "EXTERNAL" | "IMPORT_REQUESTED" | "IMPORT_PENDING" | "DNSSEC_PENDING";
|
|
11350
11355
|
/** @example 12.50 */
|
|
11351
11356
|
StrictMoneyDecimal: string;
|
|
11352
11357
|
/** Support */
|
|
@@ -26536,7 +26541,14 @@ export interface operations {
|
|
|
26536
26541
|
};
|
|
26537
26542
|
get_tld_spec_v1_tlds__tld__get: {
|
|
26538
26543
|
parameters: {
|
|
26539
|
-
query?:
|
|
26544
|
+
query?: {
|
|
26545
|
+
/** @description Override the resolved account backend. */
|
|
26546
|
+
backend?: components["schemas"]["RegistryServiceBackend"] | null;
|
|
26547
|
+
/** @description Override the customer spec ref. */
|
|
26548
|
+
customer_spec_ref?: string | null;
|
|
26549
|
+
/** @description Override the spec version pin (or LATEST). */
|
|
26550
|
+
version?: string | null;
|
|
26551
|
+
};
|
|
26540
26552
|
header?: {
|
|
26541
26553
|
/**
|
|
26542
26554
|
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|