@opusdns/api 1.90.0 → 1.92.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 +4 -0
- package/src/helpers/keys.ts +11 -0
- package/src/helpers/schemas.d.ts +1 -0
- package/src/openapi.yaml +30 -2
- package/src/schema.d.ts +17 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -621,6 +621,8 @@ export const DOMAIN_ATTRIBUTE_KEY = {
|
|
|
621
621
|
NOR_ID_APPLICANT_ACCEPT_DATE: "nor_id_applicant_accept_date",
|
|
622
622
|
NOR_ID_DECLARATION: "nor_id_declaration",
|
|
623
623
|
NOR_ID_DECLARATION_TOKEN: "nor_id_declaration_token",
|
|
624
|
+
PUNKTUM_DK_TERMS_ACCEPTANCE: "punktum_dk_terms_acceptance",
|
|
625
|
+
PUNKTUM_DK_TRACKING_NO: "punktum_dk_tracking_no",
|
|
624
626
|
} as const satisfies Record<string, DomainAttributeKey>;
|
|
625
627
|
|
|
626
628
|
export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
|
|
@@ -636,6 +638,8 @@ export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
|
|
|
636
638
|
'nor_id_applicant_accept_date',
|
|
637
639
|
'nor_id_declaration',
|
|
638
640
|
'nor_id_declaration_token',
|
|
641
|
+
'punktum_dk_terms_acceptance',
|
|
642
|
+
'punktum_dk_tracking_no',
|
|
639
643
|
] as const satisfies ReadonlyArray<DomainAttributeKey>;
|
|
640
644
|
|
|
641
645
|
export const DOMAIN_AVAILABILITY_STATUS = {
|
package/src/helpers/keys.ts
CHANGED
|
@@ -112,6 +112,7 @@ import type {
|
|
|
112
112
|
DnsZoneUpdateWorkerPayload,
|
|
113
113
|
DnsZoneVanitySetUpdateRes,
|
|
114
114
|
DomainAvailability,
|
|
115
|
+
DomainAvailabilityError,
|
|
115
116
|
DomainAvailabilityMeta,
|
|
116
117
|
DomainAvailabilityRequest,
|
|
117
118
|
DomainCheck,
|
|
@@ -1804,13 +1805,23 @@ export const KEYS_DNS_ZONE_VANITY_SET_UPDATE_RES = [
|
|
|
1804
1805
|
] as const satisfies (keyof DnsZoneVanitySetUpdateRes)[];
|
|
1805
1806
|
|
|
1806
1807
|
export const KEY_DOMAIN_AVAILABILITY_DOMAIN = 'domain' satisfies keyof DomainAvailability;
|
|
1808
|
+
export const KEY_DOMAIN_AVAILABILITY_ERROR = 'error' satisfies keyof DomainAvailability;
|
|
1807
1809
|
export const KEY_DOMAIN_AVAILABILITY_STATUS = 'status' satisfies keyof DomainAvailability;
|
|
1808
1810
|
|
|
1809
1811
|
export const KEYS_DOMAIN_AVAILABILITY = [
|
|
1810
1812
|
KEY_DOMAIN_AVAILABILITY_DOMAIN,
|
|
1813
|
+
KEY_DOMAIN_AVAILABILITY_ERROR,
|
|
1811
1814
|
KEY_DOMAIN_AVAILABILITY_STATUS,
|
|
1812
1815
|
] as const satisfies (keyof DomainAvailability)[];
|
|
1813
1816
|
|
|
1817
|
+
export const KEY_DOMAIN_AVAILABILITY_ERROR_MESSAGE = 'message' satisfies keyof DomainAvailabilityError;
|
|
1818
|
+
export const KEY_DOMAIN_AVAILABILITY_ERROR_TYPE = 'type' satisfies keyof DomainAvailabilityError;
|
|
1819
|
+
|
|
1820
|
+
export const KEYS_DOMAIN_AVAILABILITY_ERROR = [
|
|
1821
|
+
KEY_DOMAIN_AVAILABILITY_ERROR_MESSAGE,
|
|
1822
|
+
KEY_DOMAIN_AVAILABILITY_ERROR_TYPE,
|
|
1823
|
+
] as const satisfies (keyof DomainAvailabilityError)[];
|
|
1824
|
+
|
|
1814
1825
|
export const KEY_DOMAIN_AVAILABILITY_META_PROCESSING_TIME_MS = 'processing_time_ms' satisfies keyof DomainAvailabilityMeta;
|
|
1815
1826
|
export const KEY_DOMAIN_AVAILABILITY_META_TOTAL = 'total' satisfies keyof DomainAvailabilityMeta;
|
|
1816
1827
|
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export type DnssecRecordType = components['schemas']['DnssecRecordType'];
|
|
|
146
146
|
export type DnssecStatus = components['schemas']['DnssecStatus'];
|
|
147
147
|
export type DomainAttributeKey = components['schemas']['DomainAttributeKey'];
|
|
148
148
|
export type DomainAvailability = components['schemas']['DomainAvailability'];
|
|
149
|
+
export type DomainAvailabilityError = components['schemas']['DomainAvailabilityError'];
|
|
149
150
|
export type DomainAvailabilityMeta = components['schemas']['DomainAvailabilityMeta'];
|
|
150
151
|
export type DomainAvailabilityRequest = components['schemas']['DomainAvailabilityRequest'];
|
|
151
152
|
export type DomainAvailabilityStatus = components['schemas']['DomainAvailabilityStatus'];
|
package/src/openapi.yaml
CHANGED
|
@@ -3638,6 +3638,8 @@ components:
|
|
|
3638
3638
|
- nor_id_applicant_accept_date
|
|
3639
3639
|
- nor_id_declaration
|
|
3640
3640
|
- nor_id_declaration_token
|
|
3641
|
+
- punktum_dk_terms_acceptance
|
|
3642
|
+
- punktum_dk_tracking_no
|
|
3641
3643
|
title: DomainAttributeKey
|
|
3642
3644
|
type: string
|
|
3643
3645
|
DomainAvailability:
|
|
@@ -3645,6 +3647,12 @@ components:
|
|
|
3645
3647
|
domain:
|
|
3646
3648
|
title: Domain
|
|
3647
3649
|
type: string
|
|
3650
|
+
error:
|
|
3651
|
+
anyOf:
|
|
3652
|
+
- $ref: '#/components/schemas/DomainAvailabilityError'
|
|
3653
|
+
- type: 'null'
|
|
3654
|
+
description: Error details when status is 'error', e.g. why a domain is
|
|
3655
|
+
invalid
|
|
3648
3656
|
status:
|
|
3649
3657
|
$ref: '#/components/schemas/DomainAvailabilityStatus'
|
|
3650
3658
|
required:
|
|
@@ -3652,6 +3660,21 @@ components:
|
|
|
3652
3660
|
- status
|
|
3653
3661
|
title: DomainAvailability
|
|
3654
3662
|
type: object
|
|
3663
|
+
DomainAvailabilityError:
|
|
3664
|
+
properties:
|
|
3665
|
+
message:
|
|
3666
|
+
description: Human-readable error message
|
|
3667
|
+
title: Message
|
|
3668
|
+
type: string
|
|
3669
|
+
type:
|
|
3670
|
+
description: Error type identifier, e.g. validation_error or check_error
|
|
3671
|
+
title: Type
|
|
3672
|
+
type: string
|
|
3673
|
+
required:
|
|
3674
|
+
- type
|
|
3675
|
+
- message
|
|
3676
|
+
title: DomainAvailabilityError
|
|
3677
|
+
type: object
|
|
3655
3678
|
DomainAvailabilityMeta:
|
|
3656
3679
|
properties:
|
|
3657
3680
|
processing_time_ms:
|
|
@@ -3669,6 +3692,7 @@ components:
|
|
|
3669
3692
|
properties:
|
|
3670
3693
|
domains:
|
|
3671
3694
|
items:
|
|
3695
|
+
maxLength: 1024
|
|
3672
3696
|
type: string
|
|
3673
3697
|
maxItems: 1000
|
|
3674
3698
|
minItems: 1
|
|
@@ -14952,7 +14976,7 @@ info:
|
|
|
14952
14976
|
\n\n"
|
|
14953
14977
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
14954
14978
|
title: OpusDNS API
|
|
14955
|
-
version: 2026-07-
|
|
14979
|
+
version: 2026-07-31-115412
|
|
14956
14980
|
x-logo:
|
|
14957
14981
|
altText: OpusDNS API Reference
|
|
14958
14982
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -16928,7 +16952,9 @@ paths:
|
|
|
16928
16952
|
- authentication
|
|
16929
16953
|
/v1/availability:
|
|
16930
16954
|
get:
|
|
16931
|
-
description: Check the availability of one or more domains.
|
|
16955
|
+
description: Check the availability of one or more domains. Invalid domains
|
|
16956
|
+
are reported per domain (status 'error' with error details) instead of failing
|
|
16957
|
+
the whole request.
|
|
16932
16958
|
operationId: bulk_availability_v1_availability_get
|
|
16933
16959
|
parameters:
|
|
16934
16960
|
- description: '
|
|
@@ -16952,6 +16978,7 @@ paths:
|
|
|
16952
16978
|
|
|
16953
16979
|
'
|
|
16954
16980
|
items:
|
|
16981
|
+
maxLength: 1024
|
|
16955
16982
|
type: string
|
|
16956
16983
|
maxItems: 50
|
|
16957
16984
|
title: Domains
|
|
@@ -17016,6 +17043,7 @@ paths:
|
|
|
17016
17043
|
|
|
17017
17044
|
'
|
|
17018
17045
|
items:
|
|
17046
|
+
maxLength: 1024
|
|
17019
17047
|
type: string
|
|
17020
17048
|
maxItems: 1000
|
|
17021
17049
|
title: Domains
|
package/src/schema.d.ts
CHANGED
|
@@ -301,7 +301,7 @@ export interface paths {
|
|
|
301
301
|
};
|
|
302
302
|
/**
|
|
303
303
|
* Check domain availability
|
|
304
|
-
* @description Check the availability of one or more domains.
|
|
304
|
+
* @description Check the availability of one or more domains. Invalid domains are reported per domain (status 'error' with error details) instead of failing the whole request.
|
|
305
305
|
*/
|
|
306
306
|
get: operations["bulk_availability_v1_availability_get"];
|
|
307
307
|
put?: never;
|
|
@@ -5266,13 +5266,28 @@ export interface components {
|
|
|
5266
5266
|
* DomainAttributeKey
|
|
5267
5267
|
* @enum {string}
|
|
5268
5268
|
*/
|
|
5269
|
-
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required" | "de_general_request_contact" | "de_abuse_contact" | "nor_id_applicant_version" | "nor_id_applicant_accept_name" | "nor_id_applicant_accept_date" | "nor_id_declaration" | "nor_id_declaration_token";
|
|
5269
|
+
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required" | "de_general_request_contact" | "de_abuse_contact" | "nor_id_applicant_version" | "nor_id_applicant_accept_name" | "nor_id_applicant_accept_date" | "nor_id_declaration" | "nor_id_declaration_token" | "punktum_dk_terms_acceptance" | "punktum_dk_tracking_no";
|
|
5270
5270
|
/** DomainAvailability */
|
|
5271
5271
|
DomainAvailability: {
|
|
5272
5272
|
/** Domain */
|
|
5273
5273
|
domain: string;
|
|
5274
|
+
/** @description Error details when status is 'error', e.g. why a domain is invalid */
|
|
5275
|
+
error?: components["schemas"]["DomainAvailabilityError"] | null;
|
|
5274
5276
|
status: components["schemas"]["DomainAvailabilityStatus"];
|
|
5275
5277
|
};
|
|
5278
|
+
/** DomainAvailabilityError */
|
|
5279
|
+
DomainAvailabilityError: {
|
|
5280
|
+
/**
|
|
5281
|
+
* Message
|
|
5282
|
+
* @description Human-readable error message
|
|
5283
|
+
*/
|
|
5284
|
+
message: string;
|
|
5285
|
+
/**
|
|
5286
|
+
* Type
|
|
5287
|
+
* @description Error type identifier, e.g. validation_error or check_error
|
|
5288
|
+
*/
|
|
5289
|
+
type: string;
|
|
5290
|
+
};
|
|
5276
5291
|
/** DomainAvailabilityMeta */
|
|
5277
5292
|
DomainAvailabilityMeta: {
|
|
5278
5293
|
/** Processing Time Ms */
|