@opusdns/api 1.80.0 → 1.81.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 +36 -0
- package/src/helpers/keys.ts +6 -2
- package/src/helpers/schemas.d.ts +2 -0
- package/src/openapi.yaml +36 -4
- package/src/schema.d.ts +16 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -114,6 +114,8 @@ import type {
|
|
|
114
114
|
VerificationClaimType,
|
|
115
115
|
VerificationDeadlineType,
|
|
116
116
|
VerificationType,
|
|
117
|
+
WhitelabelOnboardingFailureCode,
|
|
118
|
+
WhitelabelOnboardingFailureType,
|
|
117
119
|
WhitelabelOnboardingStatus,
|
|
118
120
|
ZoneIncludeField,
|
|
119
121
|
ZoneSortField,
|
|
@@ -1992,6 +1994,40 @@ export const VERIFICATION_TYPE_VALUES = [
|
|
|
1992
1994
|
'email',
|
|
1993
1995
|
] as const satisfies ReadonlyArray<VerificationType>;
|
|
1994
1996
|
|
|
1997
|
+
export const WHITELABEL_ONBOARDING_FAILURE_CODE = {
|
|
1998
|
+
ZONE_NOT_OWNED: "zone_not_owned",
|
|
1999
|
+
DELEGATION_MISSING: "delegation_missing",
|
|
2000
|
+
DELEGATION_MISMATCH: "delegation_mismatch",
|
|
2001
|
+
DNS_RECORD_REJECTED: "dns_record_rejected",
|
|
2002
|
+
AUTH_CLIENT_REJECTED: "auth_client_rejected",
|
|
2003
|
+
BRANDING_REJECTED: "branding_rejected",
|
|
2004
|
+
RETRIES_EXHAUSTED: "retries_exhausted",
|
|
2005
|
+
} as const satisfies Record<string, WhitelabelOnboardingFailureCode>;
|
|
2006
|
+
|
|
2007
|
+
export const WHITELABEL_ONBOARDING_FAILURE_CODE_VALUES = [
|
|
2008
|
+
'zone_not_owned',
|
|
2009
|
+
'delegation_missing',
|
|
2010
|
+
'delegation_mismatch',
|
|
2011
|
+
'dns_record_rejected',
|
|
2012
|
+
'auth_client_rejected',
|
|
2013
|
+
'branding_rejected',
|
|
2014
|
+
'retries_exhausted',
|
|
2015
|
+
] as const satisfies ReadonlyArray<WhitelabelOnboardingFailureCode>;
|
|
2016
|
+
|
|
2017
|
+
export const WHITELABEL_ONBOARDING_FAILURE_TYPE = {
|
|
2018
|
+
DNS: "dns",
|
|
2019
|
+
AUTH: "auth",
|
|
2020
|
+
BRANDING: "branding",
|
|
2021
|
+
SYSTEM: "system",
|
|
2022
|
+
} as const satisfies Record<string, WhitelabelOnboardingFailureType>;
|
|
2023
|
+
|
|
2024
|
+
export const WHITELABEL_ONBOARDING_FAILURE_TYPE_VALUES = [
|
|
2025
|
+
'dns',
|
|
2026
|
+
'auth',
|
|
2027
|
+
'branding',
|
|
2028
|
+
'system',
|
|
2029
|
+
] as const satisfies ReadonlyArray<WhitelabelOnboardingFailureType>;
|
|
2030
|
+
|
|
1995
2031
|
export const WHITELABEL_ONBOARDING_STATUS = {
|
|
1996
2032
|
PENDING_DOMAIN_VERIFICATION: "pending_domain_verification",
|
|
1997
2033
|
VERIFYING: "verifying",
|
package/src/helpers/keys.ts
CHANGED
|
@@ -5765,7 +5765,9 @@ export const KEYS_WHITELABEL_BRANDING_CREATE = [
|
|
|
5765
5765
|
|
|
5766
5766
|
export const KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBranding;
|
|
5767
5767
|
export const KEY_WHITELABEL_BRANDING_CREATED_ON = 'created_on' satisfies keyof WhitelabelBranding;
|
|
5768
|
-
export const
|
|
5768
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_CODE = 'failure_code' satisfies keyof WhitelabelBranding;
|
|
5769
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_DETAIL = 'failure_detail' satisfies keyof WhitelabelBranding;
|
|
5770
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_TYPE = 'failure_type' satisfies keyof WhitelabelBranding;
|
|
5769
5771
|
export const KEY_WHITELABEL_BRANDING_HOSTNAME = 'hostname' satisfies keyof WhitelabelBranding;
|
|
5770
5772
|
export const KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID = 'keycloak_client_id' satisfies keyof WhitelabelBranding;
|
|
5771
5773
|
export const KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS = 'onboarding_status' satisfies keyof WhitelabelBranding;
|
|
@@ -5777,7 +5779,9 @@ export const KEY_WHITELABEL_BRANDING_WHITELABEL_BRANDING_ID = 'whitelabel_brandi
|
|
|
5777
5779
|
export const KEYS_WHITELABEL_BRANDING = [
|
|
5778
5780
|
KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME,
|
|
5779
5781
|
KEY_WHITELABEL_BRANDING_CREATED_ON,
|
|
5780
|
-
|
|
5782
|
+
KEY_WHITELABEL_BRANDING_FAILURE_CODE,
|
|
5783
|
+
KEY_WHITELABEL_BRANDING_FAILURE_DETAIL,
|
|
5784
|
+
KEY_WHITELABEL_BRANDING_FAILURE_TYPE,
|
|
5781
5785
|
KEY_WHITELABEL_BRANDING_HOSTNAME,
|
|
5782
5786
|
KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID,
|
|
5783
5787
|
KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS,
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -565,6 +565,8 @@ export type VerificationType = components['schemas']['VerificationType'];
|
|
|
565
565
|
export type VisitsByKeyBucket = components['schemas']['VisitsByKeyBucket'];
|
|
566
566
|
export type WhitelabelBrandingCreate = components['schemas']['WhitelabelBrandingCreate'];
|
|
567
567
|
export type WhitelabelBranding = components['schemas']['WhitelabelBrandingResponse'];
|
|
568
|
+
export type WhitelabelOnboardingFailureCode = components['schemas']['WhitelabelOnboardingFailureCode'];
|
|
569
|
+
export type WhitelabelOnboardingFailureType = components['schemas']['WhitelabelOnboardingFailureType'];
|
|
568
570
|
export type WhitelabelOnboardingStatus = components['schemas']['WhitelabelOnboardingStatus'];
|
|
569
571
|
export type WhoisBase = components['schemas']['WhoisBase'];
|
|
570
572
|
export type ZoneIncludeField = components['schemas']['ZoneIncludeField'];
|
package/src/openapi.yaml
CHANGED
|
@@ -14401,11 +14401,20 @@ components:
|
|
|
14401
14401
|
format: date-time
|
|
14402
14402
|
title: Created On
|
|
14403
14403
|
type: string
|
|
14404
|
-
|
|
14404
|
+
failure_code:
|
|
14405
|
+
anyOf:
|
|
14406
|
+
- $ref: '#/components/schemas/WhitelabelOnboardingFailureCode'
|
|
14407
|
+
- type: 'null'
|
|
14408
|
+
failure_detail:
|
|
14405
14409
|
anyOf:
|
|
14406
14410
|
- type: string
|
|
14407
14411
|
- type: 'null'
|
|
14408
|
-
title: Failure
|
|
14412
|
+
title: Failure Detail
|
|
14413
|
+
failure_type:
|
|
14414
|
+
anyOf:
|
|
14415
|
+
- $ref: '#/components/schemas/WhitelabelOnboardingFailureType'
|
|
14416
|
+
- type: 'null'
|
|
14417
|
+
readOnly: true
|
|
14409
14418
|
hostname:
|
|
14410
14419
|
maxLength: 255
|
|
14411
14420
|
minLength: 1
|
|
@@ -14453,11 +14462,34 @@ components:
|
|
|
14453
14462
|
- auth_hostname
|
|
14454
14463
|
- verification_domain
|
|
14455
14464
|
- keycloak_client_id
|
|
14456
|
-
- failure_reason
|
|
14457
14465
|
- created_on
|
|
14458
14466
|
- updated_on
|
|
14467
|
+
- failure_type
|
|
14459
14468
|
title: WhitelabelBrandingResponse
|
|
14460
14469
|
type: object
|
|
14470
|
+
WhitelabelOnboardingFailureCode:
|
|
14471
|
+
description: 'Stable, frontend-facing reason a terminal onboarding failure happened.
|
|
14472
|
+
The free-text
|
|
14473
|
+
|
|
14474
|
+
detail that accompanies it is for support/debugging, never for customer display.'
|
|
14475
|
+
enum:
|
|
14476
|
+
- zone_not_owned
|
|
14477
|
+
- delegation_missing
|
|
14478
|
+
- delegation_mismatch
|
|
14479
|
+
- dns_record_rejected
|
|
14480
|
+
- auth_client_rejected
|
|
14481
|
+
- branding_rejected
|
|
14482
|
+
- retries_exhausted
|
|
14483
|
+
title: WhitelabelOnboardingFailureCode
|
|
14484
|
+
type: string
|
|
14485
|
+
WhitelabelOnboardingFailureType:
|
|
14486
|
+
enum:
|
|
14487
|
+
- dns
|
|
14488
|
+
- auth
|
|
14489
|
+
- branding
|
|
14490
|
+
- system
|
|
14491
|
+
title: WhitelabelOnboardingFailureType
|
|
14492
|
+
type: string
|
|
14461
14493
|
WhitelabelOnboardingStatus:
|
|
14462
14494
|
enum:
|
|
14463
14495
|
- pending_domain_verification
|
|
@@ -14793,7 +14825,7 @@ info:
|
|
|
14793
14825
|
\n\n"
|
|
14794
14826
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
14795
14827
|
title: OpusDNS API
|
|
14796
|
-
version: 2026-07-
|
|
14828
|
+
version: 2026-07-27-074918
|
|
14797
14829
|
x-logo:
|
|
14798
14830
|
altText: OpusDNS API Reference
|
|
14799
14831
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -12423,8 +12423,10 @@ export interface components {
|
|
|
12423
12423
|
* Format: date-time
|
|
12424
12424
|
*/
|
|
12425
12425
|
created_on: Date;
|
|
12426
|
-
|
|
12427
|
-
|
|
12426
|
+
failure_code?: components["schemas"]["WhitelabelOnboardingFailureCode"] | null;
|
|
12427
|
+
/** Failure Detail */
|
|
12428
|
+
failure_detail?: string | null;
|
|
12429
|
+
readonly failure_type: components["schemas"]["WhitelabelOnboardingFailureType"] | null;
|
|
12428
12430
|
/** Hostname */
|
|
12429
12431
|
hostname: string;
|
|
12430
12432
|
/** Keycloak Client Id */
|
|
@@ -12450,6 +12452,18 @@ export interface components {
|
|
|
12450
12452
|
*/
|
|
12451
12453
|
whitelabel_branding_id: TypeId<"wlb">;
|
|
12452
12454
|
};
|
|
12455
|
+
/**
|
|
12456
|
+
* WhitelabelOnboardingFailureCode
|
|
12457
|
+
* @description Stable, frontend-facing reason a terminal onboarding failure happened. The free-text
|
|
12458
|
+
* detail that accompanies it is for support/debugging, never for customer display.
|
|
12459
|
+
* @enum {string}
|
|
12460
|
+
*/
|
|
12461
|
+
WhitelabelOnboardingFailureCode: "zone_not_owned" | "delegation_missing" | "delegation_mismatch" | "dns_record_rejected" | "auth_client_rejected" | "branding_rejected" | "retries_exhausted";
|
|
12462
|
+
/**
|
|
12463
|
+
* WhitelabelOnboardingFailureType
|
|
12464
|
+
* @enum {string}
|
|
12465
|
+
*/
|
|
12466
|
+
WhitelabelOnboardingFailureType: "dns" | "auth" | "branding" | "system";
|
|
12453
12467
|
/**
|
|
12454
12468
|
* WhitelabelOnboardingStatus
|
|
12455
12469
|
* @enum {string}
|