@opusdns/api 1.173.0 → 1.175.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 +18 -27
- package/src/helpers/schemas.d.ts +3 -4
- package/src/openapi.yaml +14 -19
- package/src/schema.d.ts +11 -16
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 = {
|
|
@@ -265,6 +264,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE = {
|
|
|
265
264
|
WHITELABEL_BRANDING: "whitelabel_branding",
|
|
266
265
|
WHITELABEL_BRANDING_PLUS: "whitelabel_branding_plus",
|
|
267
266
|
RAS_DOMAIN_LIFECYCLE: "ras_domain_lifecycle",
|
|
267
|
+
AMS_DOMAIN_LIFECYCLE: "ams_domain_lifecycle",
|
|
268
268
|
} as const satisfies Record<string, BillingTransactionProductType>;
|
|
269
269
|
|
|
270
270
|
export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
@@ -277,6 +277,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
|
277
277
|
'whitelabel_branding',
|
|
278
278
|
'whitelabel_branding_plus',
|
|
279
279
|
'ras_domain_lifecycle',
|
|
280
|
+
'ams_domain_lifecycle',
|
|
280
281
|
] as const satisfies ReadonlyArray<BillingTransactionProductType>;
|
|
281
282
|
|
|
282
283
|
export const BILLING_TRANSACTION_SORT_FIELD = {
|
|
@@ -2370,15 +2371,25 @@ export const VERIFICATION_DEADLINE_TYPE_VALUES = [
|
|
|
2370
2371
|
'deletion',
|
|
2371
2372
|
] as const satisfies ReadonlyArray<VerificationDeadlineType>;
|
|
2372
2373
|
|
|
2373
|
-
export const
|
|
2374
|
+
export const VERIFICATION_POLICY_TYPE = {
|
|
2375
|
+
EMAIL_VERIFICATION: "email_verification",
|
|
2376
|
+
IDENTITY_VERIFICATION: "identity_verification",
|
|
2377
|
+
} as const satisfies Record<string, VerificationPolicyType>;
|
|
2378
|
+
|
|
2379
|
+
export const VERIFICATION_POLICY_TYPE_VALUES = [
|
|
2380
|
+
'email_verification',
|
|
2381
|
+
'identity_verification',
|
|
2382
|
+
] as const satisfies ReadonlyArray<VerificationPolicyType>;
|
|
2383
|
+
|
|
2384
|
+
export const VERIFICATION_TYPE = {
|
|
2374
2385
|
API: "api",
|
|
2375
2386
|
EMAIL: "email",
|
|
2376
|
-
} as const satisfies Record<string,
|
|
2387
|
+
} as const satisfies Record<string, VerificationType>;
|
|
2377
2388
|
|
|
2378
|
-
export const
|
|
2389
|
+
export const VERIFICATION_TYPE_VALUES = [
|
|
2379
2390
|
'api',
|
|
2380
2391
|
'email',
|
|
2381
|
-
] as const satisfies ReadonlyArray<
|
|
2392
|
+
] as const satisfies ReadonlyArray<VerificationType>;
|
|
2382
2393
|
|
|
2383
2394
|
export const WHITELABEL_BRANDING_TIER = {
|
|
2384
2395
|
BASE: "base",
|
|
@@ -2475,23 +2486,3 @@ export const ZONE_SORT_FIELD_VALUES = [
|
|
|
2475
2486
|
'updated_on',
|
|
2476
2487
|
'dnssec_status',
|
|
2477
2488
|
] 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
|
@@ -424,6 +424,7 @@ components:
|
|
|
424
424
|
- whitelabel_branding
|
|
425
425
|
- whitelabel_branding_plus
|
|
426
426
|
- ras_domain_lifecycle
|
|
427
|
+
- ams_domain_lifecycle
|
|
427
428
|
title: BillingTransactionProductType
|
|
428
429
|
type: string
|
|
429
430
|
BillingTransactionResponse:
|
|
@@ -1858,7 +1859,7 @@ components:
|
|
|
1858
1859
|
title: Token
|
|
1859
1860
|
type: string
|
|
1860
1861
|
type:
|
|
1861
|
-
$ref: '#/components/schemas/
|
|
1862
|
+
$ref: '#/components/schemas/VerificationType'
|
|
1862
1863
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
1863
1864
|
API, ''email'' for retrieving via email'
|
|
1864
1865
|
updated_on:
|
|
@@ -1924,7 +1925,7 @@ components:
|
|
|
1924
1925
|
default: pending
|
|
1925
1926
|
description: Current status of the email verification
|
|
1926
1927
|
type:
|
|
1927
|
-
$ref: '#/components/schemas/
|
|
1928
|
+
$ref: '#/components/schemas/VerificationType'
|
|
1928
1929
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
1929
1930
|
API, ''email'' for retrieving via email'
|
|
1930
1931
|
updated_on:
|
|
@@ -2015,7 +2016,7 @@ components:
|
|
|
2015
2016
|
default: pending
|
|
2016
2017
|
description: Current status of the email verification
|
|
2017
2018
|
type:
|
|
2018
|
-
$ref: '#/components/schemas/
|
|
2019
|
+
$ref: '#/components/schemas/VerificationType'
|
|
2019
2020
|
description: 'The type of verification: ''api'' for retrieving token via
|
|
2020
2021
|
API, ''email'' for retrieving via email'
|
|
2021
2022
|
updated_on:
|
|
@@ -14114,7 +14115,7 @@ components:
|
|
|
14114
14115
|
- additionalProperties:
|
|
14115
14116
|
$ref: '#/components/schemas/VerificationPolicy'
|
|
14116
14117
|
propertyNames:
|
|
14117
|
-
$ref: '#/components/schemas/
|
|
14118
|
+
$ref: '#/components/schemas/VerificationPolicyType'
|
|
14118
14119
|
type: object
|
|
14119
14120
|
- type: 'null'
|
|
14120
14121
|
description: Verification Policy Configuration
|
|
@@ -15682,6 +15683,12 @@ components:
|
|
|
15682
15683
|
anyOf:
|
|
15683
15684
|
- $ref: '#/components/schemas/EmailVerificationPolicy'
|
|
15684
15685
|
- $ref: '#/components/schemas/IdentityVerificationPolicy'
|
|
15686
|
+
VerificationPolicyType:
|
|
15687
|
+
enum:
|
|
15688
|
+
- email_verification
|
|
15689
|
+
- identity_verification
|
|
15690
|
+
title: VerificationPolicyType
|
|
15691
|
+
type: string
|
|
15685
15692
|
VerificationRegistrantDetails:
|
|
15686
15693
|
properties:
|
|
15687
15694
|
contact_id:
|
|
@@ -15717,7 +15724,7 @@ components:
|
|
|
15717
15724
|
- claims
|
|
15718
15725
|
title: VerificationResponse
|
|
15719
15726
|
type: object
|
|
15720
|
-
VerificationType
|
|
15727
|
+
VerificationType:
|
|
15721
15728
|
enum:
|
|
15722
15729
|
- api
|
|
15723
15730
|
- email
|
|
@@ -16651,18 +16658,6 @@ components:
|
|
|
16651
16658
|
- reason
|
|
16652
16659
|
title: DomainAvailabilityResponse
|
|
16653
16660
|
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
16661
|
securitySchemes:
|
|
16667
16662
|
APIKeyHeader:
|
|
16668
16663
|
in: header
|
|
@@ -16733,7 +16728,7 @@ info:
|
|
|
16733
16728
|
\n\n"
|
|
16734
16729
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
16735
16730
|
title: OpusDNS API
|
|
16736
|
-
version: 2026-09-
|
|
16731
|
+
version: 2026-09-14-085040
|
|
16737
16732
|
x-logo:
|
|
16738
16733
|
altText: OpusDNS API Reference
|
|
16739
16734
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -19967,7 +19962,7 @@ paths:
|
|
|
19967
19962
|
name: type
|
|
19968
19963
|
required: true
|
|
19969
19964
|
schema:
|
|
19970
|
-
$ref: '#/components/schemas/VerificationType
|
|
19965
|
+
$ref: '#/components/schemas/VerificationType'
|
|
19971
19966
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
19972
19967
|
responses:
|
|
19973
19968
|
'201':
|
package/src/schema.d.ts
CHANGED
|
@@ -3427,7 +3427,7 @@ export interface components {
|
|
|
3427
3427
|
* BillingTransactionProductType
|
|
3428
3428
|
* @enum {string}
|
|
3429
3429
|
*/
|
|
3430
|
-
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet" | "vanity_nameserver" | "whitelabel_branding" | "whitelabel_branding_plus" | "ras_domain_lifecycle";
|
|
3430
|
+
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet" | "vanity_nameserver" | "whitelabel_branding" | "whitelabel_branding_plus" | "ras_domain_lifecycle" | "ams_domain_lifecycle";
|
|
3431
3431
|
/** BillingTransactionResponse */
|
|
3432
3432
|
BillingTransactionResponse: {
|
|
3433
3433
|
/** @description The action performed in the transaction */
|
|
@@ -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
|
/**
|