@opusdns/api 1.173.0 → 1.174.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 +16 -27
- package/src/helpers/schemas.d.ts +3 -4
- package/src/openapi.yaml +13 -19
- package/src/schema.d.ts +10 -15
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -123,7 +123,8 @@ import type {
|
|
|
123
123
|
VanityNsCheckSummaryState,
|
|
124
124
|
VerificationClaimType,
|
|
125
125
|
VerificationDeadlineType,
|
|
126
|
-
|
|
126
|
+
VerificationPolicyType,
|
|
127
|
+
VerificationType,
|
|
127
128
|
WhitelabelBrandingTier,
|
|
128
129
|
WhitelabelOnboardingFailureCode,
|
|
129
130
|
WhitelabelOnboardingFailureType,
|
|
@@ -131,8 +132,6 @@ import type {
|
|
|
131
132
|
WhitelabelRenewalMode,
|
|
132
133
|
ZoneIncludeField,
|
|
133
134
|
ZoneSortField,
|
|
134
|
-
VerificationType,
|
|
135
|
-
VerificationType2,
|
|
136
135
|
} from './schemas';
|
|
137
136
|
|
|
138
137
|
export const AGREEMENT_TYPE = {
|
|
@@ -2370,15 +2369,25 @@ export const VERIFICATION_DEADLINE_TYPE_VALUES = [
|
|
|
2370
2369
|
'deletion',
|
|
2371
2370
|
] as const satisfies ReadonlyArray<VerificationDeadlineType>;
|
|
2372
2371
|
|
|
2373
|
-
export const
|
|
2372
|
+
export const VERIFICATION_POLICY_TYPE = {
|
|
2373
|
+
EMAIL_VERIFICATION: "email_verification",
|
|
2374
|
+
IDENTITY_VERIFICATION: "identity_verification",
|
|
2375
|
+
} as const satisfies Record<string, VerificationPolicyType>;
|
|
2376
|
+
|
|
2377
|
+
export const VERIFICATION_POLICY_TYPE_VALUES = [
|
|
2378
|
+
'email_verification',
|
|
2379
|
+
'identity_verification',
|
|
2380
|
+
] as const satisfies ReadonlyArray<VerificationPolicyType>;
|
|
2381
|
+
|
|
2382
|
+
export const VERIFICATION_TYPE = {
|
|
2374
2383
|
API: "api",
|
|
2375
2384
|
EMAIL: "email",
|
|
2376
|
-
} as const satisfies Record<string,
|
|
2385
|
+
} as const satisfies Record<string, VerificationType>;
|
|
2377
2386
|
|
|
2378
|
-
export const
|
|
2387
|
+
export const VERIFICATION_TYPE_VALUES = [
|
|
2379
2388
|
'api',
|
|
2380
2389
|
'email',
|
|
2381
|
-
] as const satisfies ReadonlyArray<
|
|
2390
|
+
] as const satisfies ReadonlyArray<VerificationType>;
|
|
2382
2391
|
|
|
2383
2392
|
export const WHITELABEL_BRANDING_TIER = {
|
|
2384
2393
|
BASE: "base",
|
|
@@ -2475,23 +2484,3 @@ export const ZONE_SORT_FIELD_VALUES = [
|
|
|
2475
2484
|
'updated_on',
|
|
2476
2485
|
'dnssec_status',
|
|
2477
2486
|
] as const satisfies ReadonlyArray<ZoneSortField>;
|
|
2478
|
-
|
|
2479
|
-
export const COMMON_MODELS_EMAIL_VERIFICATION_EMAIL_VERIFICATION_VERIFICATION_TYPE = {
|
|
2480
|
-
API: "api",
|
|
2481
|
-
EMAIL: "email",
|
|
2482
|
-
} as const satisfies Record<string, VerificationType>;
|
|
2483
|
-
|
|
2484
|
-
export const COMMON_MODELS_EMAIL_VERIFICATION_EMAIL_VERIFICATION_VERIFICATION_TYPE_VALUES = [
|
|
2485
|
-
'api',
|
|
2486
|
-
'email',
|
|
2487
|
-
] as const satisfies ReadonlyArray<VerificationType>;
|
|
2488
|
-
|
|
2489
|
-
export const COMMON_SERVICES_DOMAIN_TLD_CONFIGURATION_VERIFICATION_POLICY_BASE_VERIFICATION_TYPE = {
|
|
2490
|
-
EMAIL_VERIFICATION: "email_verification",
|
|
2491
|
-
IDENTITY_VERIFICATION: "identity_verification",
|
|
2492
|
-
} as const satisfies Record<string, VerificationType2>;
|
|
2493
|
-
|
|
2494
|
-
export const COMMON_SERVICES_DOMAIN_TLD_CONFIGURATION_VERIFICATION_POLICY_BASE_VERIFICATION_TYPE_VALUES = [
|
|
2495
|
-
'email_verification',
|
|
2496
|
-
'identity_verification',
|
|
2497
|
-
] as const satisfies ReadonlyArray<VerificationType2>;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -592,9 +592,10 @@ export type VerificationClaimType = components['schemas']['VerificationClaimType
|
|
|
592
592
|
export type VerificationDeadline = components['schemas']['VerificationDeadline'];
|
|
593
593
|
export type VerificationDeadlineType = components['schemas']['VerificationDeadlineType'];
|
|
594
594
|
export type VerificationPolicy = components['schemas']['VerificationPolicy'];
|
|
595
|
+
export type VerificationPolicyType = components['schemas']['VerificationPolicyType'];
|
|
595
596
|
export type VerificationRegistrantDetails = components['schemas']['VerificationRegistrantDetails'];
|
|
596
597
|
export type Verification = components['schemas']['VerificationResponse'];
|
|
597
|
-
export type
|
|
598
|
+
export type VerificationType = components['schemas']['VerificationType'];
|
|
598
599
|
export type VisitsByKeyBucket = components['schemas']['VisitsByKeyBucket'];
|
|
599
600
|
export type WhitelabelBaseCreate = components['schemas']['WhitelabelBaseCreate'];
|
|
600
601
|
export type WhitelabelBrandingPatch = components['schemas']['WhitelabelBrandingPatch'];
|
|
@@ -624,6 +625,4 @@ export type RequestAuthcode7 = components['schemas']['api__domain__tld_specific_
|
|
|
624
625
|
export type RequestAuthcode8 = components['schemas']['api__domain__tld_specific__se__models__RequestAuthcodeResponse'];
|
|
625
626
|
export type RequestAuthcode9 = components['schemas']['api__domain__tld_specific__wales__models__RequestAuthcodeResponse'];
|
|
626
627
|
export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
|
|
627
|
-
export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
|
|
628
|
-
export type VerificationType = components['schemas']['common__models__email_verification__email_verification__VerificationType'];
|
|
629
|
-
export type VerificationType2 = components['schemas']['common__services__domain__tld_configuration__VerificationPolicyBase__VerificationType'];
|
|
628
|
+
export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
|
package/src/openapi.yaml
CHANGED
|
@@ -1858,7 +1858,7 @@ components:
|
|
|
1858
1858
|
title: Token
|
|
1859
1859
|
type: string
|
|
1860
1860
|
type:
|
|
1861
|
-
$ref: '#/components/schemas/
|
|
1861
|
+
$ref: '#/components/schemas/VerificationType'
|
|
1862
1862
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
1863
1863
|
API, ''email'' for retrieving via email'
|
|
1864
1864
|
updated_on:
|
|
@@ -1924,7 +1924,7 @@ components:
|
|
|
1924
1924
|
default: pending
|
|
1925
1925
|
description: Current status of the email verification
|
|
1926
1926
|
type:
|
|
1927
|
-
$ref: '#/components/schemas/
|
|
1927
|
+
$ref: '#/components/schemas/VerificationType'
|
|
1928
1928
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
1929
1929
|
API, ''email'' for retrieving via email'
|
|
1930
1930
|
updated_on:
|
|
@@ -2015,7 +2015,7 @@ components:
|
|
|
2015
2015
|
default: pending
|
|
2016
2016
|
description: Current status of the email verification
|
|
2017
2017
|
type:
|
|
2018
|
-
$ref: '#/components/schemas/
|
|
2018
|
+
$ref: '#/components/schemas/VerificationType'
|
|
2019
2019
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
2020
2020
|
API, ''email'' for retrieving via email'
|
|
2021
2021
|
updated_on:
|
|
@@ -14114,7 +14114,7 @@ components:
|
|
|
14114
14114
|
- additionalProperties:
|
|
14115
14115
|
$ref: '#/components/schemas/VerificationPolicy'
|
|
14116
14116
|
propertyNames:
|
|
14117
|
-
$ref: '#/components/schemas/
|
|
14117
|
+
$ref: '#/components/schemas/VerificationPolicyType'
|
|
14118
14118
|
type: object
|
|
14119
14119
|
- type: 'null'
|
|
14120
14120
|
description: Verification Policy Configuration
|
|
@@ -15682,6 +15682,12 @@ components:
|
|
|
15682
15682
|
anyOf:
|
|
15683
15683
|
- $ref: '#/components/schemas/EmailVerificationPolicy'
|
|
15684
15684
|
- $ref: '#/components/schemas/IdentityVerificationPolicy'
|
|
15685
|
+
VerificationPolicyType:
|
|
15686
|
+
enum:
|
|
15687
|
+
- email_verification
|
|
15688
|
+
- identity_verification
|
|
15689
|
+
title: VerificationPolicyType
|
|
15690
|
+
type: string
|
|
15685
15691
|
VerificationRegistrantDetails:
|
|
15686
15692
|
properties:
|
|
15687
15693
|
contact_id:
|
|
@@ -15717,7 +15723,7 @@ components:
|
|
|
15717
15723
|
- claims
|
|
15718
15724
|
title: VerificationResponse
|
|
15719
15725
|
type: object
|
|
15720
|
-
VerificationType
|
|
15726
|
+
VerificationType:
|
|
15721
15727
|
enum:
|
|
15722
15728
|
- api
|
|
15723
15729
|
- email
|
|
@@ -16651,18 +16657,6 @@ components:
|
|
|
16651
16657
|
- reason
|
|
16652
16658
|
title: DomainAvailabilityResponse
|
|
16653
16659
|
type: object
|
|
16654
|
-
common__models__email_verification__email_verification__VerificationType:
|
|
16655
|
-
enum:
|
|
16656
|
-
- api
|
|
16657
|
-
- email
|
|
16658
|
-
title: VerificationType
|
|
16659
|
-
type: string
|
|
16660
|
-
common__services__domain__tld_configuration__VerificationPolicyBase__VerificationType:
|
|
16661
|
-
enum:
|
|
16662
|
-
- email_verification
|
|
16663
|
-
- identity_verification
|
|
16664
|
-
title: VerificationType
|
|
16665
|
-
type: string
|
|
16666
16660
|
securitySchemes:
|
|
16667
16661
|
APIKeyHeader:
|
|
16668
16662
|
in: header
|
|
@@ -16733,7 +16727,7 @@ info:
|
|
|
16733
16727
|
\n\n"
|
|
16734
16728
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
16735
16729
|
title: OpusDNS API
|
|
16736
|
-
version: 2026-09-
|
|
16730
|
+
version: 2026-09-13-202947
|
|
16737
16731
|
x-logo:
|
|
16738
16732
|
altText: OpusDNS API Reference
|
|
16739
16733
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -19967,7 +19961,7 @@ paths:
|
|
|
19967
19961
|
name: type
|
|
19968
19962
|
required: true
|
|
19969
19963
|
schema:
|
|
19970
|
-
$ref: '#/components/schemas/VerificationType
|
|
19964
|
+
$ref: '#/components/schemas/VerificationType'
|
|
19971
19965
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
19972
19966
|
responses:
|
|
19973
19967
|
'201':
|
package/src/schema.d.ts
CHANGED
|
@@ -4439,7 +4439,7 @@ export interface components {
|
|
|
4439
4439
|
*/
|
|
4440
4440
|
token: string;
|
|
4441
4441
|
/** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
|
|
4442
|
-
type: components["schemas"]["
|
|
4442
|
+
type: components["schemas"]["VerificationType"];
|
|
4443
4443
|
/**
|
|
4444
4444
|
* Updated On
|
|
4445
4445
|
* Format: date-time
|
|
@@ -4490,7 +4490,7 @@ export interface components {
|
|
|
4490
4490
|
*/
|
|
4491
4491
|
status: components["schemas"]["EmailVerificationStatus"];
|
|
4492
4492
|
/** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
|
|
4493
|
-
type: components["schemas"]["
|
|
4493
|
+
type: components["schemas"]["VerificationType"];
|
|
4494
4494
|
/**
|
|
4495
4495
|
* Updated On
|
|
4496
4496
|
* Format: date-time
|
|
@@ -4546,7 +4546,7 @@ export interface components {
|
|
|
4546
4546
|
*/
|
|
4547
4547
|
status: components["schemas"]["EmailVerificationStatus"];
|
|
4548
4548
|
/** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
|
|
4549
|
-
type: components["schemas"]["
|
|
4549
|
+
type: components["schemas"]["VerificationType"];
|
|
4550
4550
|
/**
|
|
4551
4551
|
* Updated On
|
|
4552
4552
|
* Format: date-time
|
|
@@ -13580,6 +13580,11 @@ export interface components {
|
|
|
13580
13580
|
*/
|
|
13581
13581
|
VerificationDeadlineType: "dedelegation" | "deletion";
|
|
13582
13582
|
VerificationPolicy: components["schemas"]["EmailVerificationPolicy"] | components["schemas"]["IdentityVerificationPolicy"];
|
|
13583
|
+
/**
|
|
13584
|
+
* VerificationPolicyType
|
|
13585
|
+
* @enum {string}
|
|
13586
|
+
*/
|
|
13587
|
+
VerificationPolicyType: "email_verification" | "identity_verification";
|
|
13583
13588
|
/** VerificationRegistrantDetails */
|
|
13584
13589
|
VerificationRegistrantDetails: {
|
|
13585
13590
|
/** Contact Id */
|
|
@@ -13606,7 +13611,7 @@ export interface components {
|
|
|
13606
13611
|
* VerificationType
|
|
13607
13612
|
* @enum {string}
|
|
13608
13613
|
*/
|
|
13609
|
-
|
|
13614
|
+
VerificationType: "api" | "email";
|
|
13610
13615
|
/** VisitsByKeyBucket */
|
|
13611
13616
|
VisitsByKeyBucket: {
|
|
13612
13617
|
/** Key */
|
|
@@ -14236,16 +14241,6 @@ export interface components {
|
|
|
14236
14241
|
*/
|
|
14237
14242
|
reason: string | null;
|
|
14238
14243
|
};
|
|
14239
|
-
/**
|
|
14240
|
-
* VerificationType
|
|
14241
|
-
* @enum {string}
|
|
14242
|
-
*/
|
|
14243
|
-
common__models__email_verification__email_verification__VerificationType: "api" | "email";
|
|
14244
|
-
/**
|
|
14245
|
-
* VerificationType
|
|
14246
|
-
* @enum {string}
|
|
14247
|
-
*/
|
|
14248
|
-
common__services__domain__tld_configuration__VerificationPolicyBase__VerificationType: "email_verification" | "identity_verification";
|
|
14249
14244
|
};
|
|
14250
14245
|
responses: never;
|
|
14251
14246
|
parameters: {
|
|
@@ -17089,7 +17084,7 @@ export interface operations {
|
|
|
17089
17084
|
start_contact_verification_v1_contacts__contact_id__verification_post: {
|
|
17090
17085
|
parameters: {
|
|
17091
17086
|
query: {
|
|
17092
|
-
type: components["schemas"]["VerificationType
|
|
17087
|
+
type: components["schemas"]["VerificationType"];
|
|
17093
17088
|
};
|
|
17094
17089
|
header?: {
|
|
17095
17090
|
/**
|