@opusdns/api 1.100.0 → 1.101.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/keys.ts +8 -4
- package/src/openapi.yaml +48 -16
- package/src/schema.d.ts +22 -12
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -5788,21 +5788,25 @@ export const KEYS_VISITS_BY_KEY_BUCKET = [
|
|
|
5788
5788
|
KEY_VISITS_BY_KEY_BUCKET_UNIQUE,
|
|
5789
5789
|
] as const satisfies (keyof VisitsByKeyBucket)[];
|
|
5790
5790
|
|
|
5791
|
-
export const
|
|
5791
|
+
export const KEY_WHITELABEL_BRANDING_CREATE_AUTH_SUBDOMAIN = 'auth_subdomain' satisfies keyof WhitelabelBrandingCreate;
|
|
5792
|
+
export const KEY_WHITELABEL_BRANDING_CREATE_DASHBOARD_SUBDOMAIN = 'dashboard_subdomain' satisfies keyof WhitelabelBrandingCreate;
|
|
5792
5793
|
export const KEY_WHITELABEL_BRANDING_CREATE_HOSTNAME = 'hostname' satisfies keyof WhitelabelBrandingCreate;
|
|
5793
5794
|
export const KEY_WHITELABEL_BRANDING_CREATE_PERIOD = 'period' satisfies keyof WhitelabelBrandingCreate;
|
|
5794
5795
|
|
|
5795
5796
|
export const KEYS_WHITELABEL_BRANDING_CREATE = [
|
|
5796
|
-
|
|
5797
|
+
KEY_WHITELABEL_BRANDING_CREATE_AUTH_SUBDOMAIN,
|
|
5798
|
+
KEY_WHITELABEL_BRANDING_CREATE_DASHBOARD_SUBDOMAIN,
|
|
5797
5799
|
KEY_WHITELABEL_BRANDING_CREATE_HOSTNAME,
|
|
5798
5800
|
KEY_WHITELABEL_BRANDING_CREATE_PERIOD,
|
|
5799
5801
|
] as const satisfies (keyof WhitelabelBrandingCreate)[];
|
|
5800
5802
|
|
|
5801
|
-
export const
|
|
5803
|
+
export const KEY_WHITELABEL_BRANDING_RECHECK_AUTH_SUBDOMAIN = 'auth_subdomain' satisfies keyof WhitelabelBrandingRecheck;
|
|
5804
|
+
export const KEY_WHITELABEL_BRANDING_RECHECK_DASHBOARD_SUBDOMAIN = 'dashboard_subdomain' satisfies keyof WhitelabelBrandingRecheck;
|
|
5802
5805
|
export const KEY_WHITELABEL_BRANDING_RECHECK_HOSTNAME = 'hostname' satisfies keyof WhitelabelBrandingRecheck;
|
|
5803
5806
|
|
|
5804
5807
|
export const KEYS_WHITELABEL_BRANDING_RECHECK = [
|
|
5805
|
-
|
|
5808
|
+
KEY_WHITELABEL_BRANDING_RECHECK_AUTH_SUBDOMAIN,
|
|
5809
|
+
KEY_WHITELABEL_BRANDING_RECHECK_DASHBOARD_SUBDOMAIN,
|
|
5806
5810
|
KEY_WHITELABEL_BRANDING_RECHECK_HOSTNAME,
|
|
5807
5811
|
] as const satisfies (keyof WhitelabelBrandingRecheck)[];
|
|
5808
5812
|
|
package/src/openapi.yaml
CHANGED
|
@@ -14470,23 +14470,39 @@ components:
|
|
|
14470
14470
|
title: VisitsByKeyBucket
|
|
14471
14471
|
type: object
|
|
14472
14472
|
WhitelabelBrandingCreate:
|
|
14473
|
-
description: 'Public create request body. The
|
|
14474
|
-
|
|
14473
|
+
description: 'Public create request body. The customer supplies their domain
|
|
14474
|
+
plus the subdomains the
|
|
14475
|
+
|
|
14476
|
+
two whitelabel hosts live on; the full hostnames are composed here. `dashboard_subdomain`
|
|
14477
|
+
|
|
14478
|
+
is optional - omitted, the dashboard is served on `hostname` itself (the zone
|
|
14479
|
+
apex when
|
|
14475
14480
|
|
|
14476
|
-
`
|
|
14481
|
+
`hostname` is the bare domain). The owning org comes from auth context, and
|
|
14477
14482
|
|
|
14478
|
-
|
|
14483
|
+
`verification_domain` is derived server-side (the registrable domain of the
|
|
14484
|
+
composed
|
|
14479
14485
|
|
|
14480
|
-
|
|
14486
|
+
dashboard host), so neither is accepted here.'
|
|
14481
14487
|
properties:
|
|
14482
|
-
|
|
14483
|
-
description:
|
|
14488
|
+
auth_subdomain:
|
|
14489
|
+
description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
|
|
14484
14490
|
maxLength: 255
|
|
14485
14491
|
minLength: 1
|
|
14486
|
-
title: Auth
|
|
14492
|
+
title: Auth Subdomain
|
|
14487
14493
|
type: string
|
|
14494
|
+
dashboard_subdomain:
|
|
14495
|
+
anyOf:
|
|
14496
|
+
- maxLength: 255
|
|
14497
|
+
minLength: 1
|
|
14498
|
+
type: string
|
|
14499
|
+
- type: 'null'
|
|
14500
|
+
description: Subdomain the dashboard is served on (e.g. dash -> dash.customer.com);
|
|
14501
|
+
omit for the apex
|
|
14502
|
+
title: Dashboard Subdomain
|
|
14488
14503
|
hostname:
|
|
14489
|
-
description:
|
|
14504
|
+
description: Domain the whitelabel runs under (e.g. customer.com); must
|
|
14505
|
+
be an OpusDNS-hosted zone
|
|
14490
14506
|
maxLength: 255
|
|
14491
14507
|
minLength: 1
|
|
14492
14508
|
title: Hostname
|
|
@@ -14497,7 +14513,7 @@ components:
|
|
|
14497
14513
|
year'
|
|
14498
14514
|
required:
|
|
14499
14515
|
- hostname
|
|
14500
|
-
-
|
|
14516
|
+
- auth_subdomain
|
|
14501
14517
|
- period
|
|
14502
14518
|
title: WhitelabelBrandingCreate
|
|
14503
14519
|
type: object
|
|
@@ -14505,18 +14521,28 @@ components:
|
|
|
14505
14521
|
description: 'Public recheck body. Empty = re-run onboarding against the stored
|
|
14506
14522
|
hosts (retry after
|
|
14507
14523
|
|
|
14508
|
-
fixing DNS).
|
|
14509
|
-
|
|
14524
|
+
fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before
|
|
14525
|
+
re-running
|
|
14510
14526
|
|
|
14511
|
-
only; server rejects once a Keycloak client exists).
|
|
14527
|
+
(pre-provisioning only; server rejects once a Keycloak client exists). Same
|
|
14528
|
+
composition
|
|
14529
|
+
|
|
14530
|
+
rules as WhitelabelBrandingCreate.'
|
|
14512
14531
|
properties:
|
|
14513
|
-
|
|
14532
|
+
auth_subdomain:
|
|
14514
14533
|
anyOf:
|
|
14515
14534
|
- maxLength: 255
|
|
14516
14535
|
minLength: 1
|
|
14517
14536
|
type: string
|
|
14518
14537
|
- type: 'null'
|
|
14519
|
-
title: Auth
|
|
14538
|
+
title: Auth Subdomain
|
|
14539
|
+
dashboard_subdomain:
|
|
14540
|
+
anyOf:
|
|
14541
|
+
- maxLength: 255
|
|
14542
|
+
minLength: 1
|
|
14543
|
+
type: string
|
|
14544
|
+
- type: 'null'
|
|
14545
|
+
title: Dashboard Subdomain
|
|
14520
14546
|
hostname:
|
|
14521
14547
|
anyOf:
|
|
14522
14548
|
- maxLength: 255
|
|
@@ -14990,7 +15016,7 @@ info:
|
|
|
14990
15016
|
\n\n"
|
|
14991
15017
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
14992
15018
|
title: OpusDNS API
|
|
14993
|
-
version: 2026-08-
|
|
15019
|
+
version: 2026-08-07-130930
|
|
14994
15020
|
x-logo:
|
|
14995
15021
|
altText: OpusDNS API Reference
|
|
14996
15022
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -32319,6 +32345,12 @@ tags:
|
|
|
32319
32345
|
x-displayName: Vanity Nameservers
|
|
32320
32346
|
- description: 'Endpoints for managing an organization''s whitelabel branding configuration.
|
|
32321
32347
|
|
|
32348
|
+
|
|
32349
|
+
The create body carries the customer''s domain plus subdomains: `{"hostname":
|
|
32350
|
+
"customer.com", "dashboard_subdomain": "dash", "auth_subdomain": "auth"}` composes
|
|
32351
|
+
`dash.customer.com` and `auth.customer.com`; omitting `dashboard_subdomain` serves
|
|
32352
|
+
the dashboard on the domain apex itself.
|
|
32353
|
+
|
|
32322
32354
|
'
|
|
32323
32355
|
name: whitelabel
|
|
32324
32356
|
x-displayName: Whitelabel Branding
|
package/src/schema.d.ts
CHANGED
|
@@ -12476,20 +12476,27 @@ export interface components {
|
|
|
12476
12476
|
};
|
|
12477
12477
|
/**
|
|
12478
12478
|
* WhitelabelBrandingCreate
|
|
12479
|
-
* @description Public create request body. The
|
|
12480
|
-
*
|
|
12481
|
-
*
|
|
12482
|
-
*
|
|
12479
|
+
* @description Public create request body. The customer supplies their domain plus the subdomains the
|
|
12480
|
+
* two whitelabel hosts live on; the full hostnames are composed here. `dashboard_subdomain`
|
|
12481
|
+
* is optional - omitted, the dashboard is served on `hostname` itself (the zone apex when
|
|
12482
|
+
* `hostname` is the bare domain). The owning org comes from auth context, and
|
|
12483
|
+
* `verification_domain` is derived server-side (the registrable domain of the composed
|
|
12484
|
+
* dashboard host), so neither is accepted here.
|
|
12483
12485
|
*/
|
|
12484
12486
|
WhitelabelBrandingCreate: {
|
|
12485
12487
|
/**
|
|
12486
|
-
* Auth
|
|
12487
|
-
* @description
|
|
12488
|
+
* Auth Subdomain
|
|
12489
|
+
* @description Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
|
|
12488
12490
|
*/
|
|
12489
|
-
|
|
12491
|
+
auth_subdomain: string;
|
|
12492
|
+
/**
|
|
12493
|
+
* Dashboard Subdomain
|
|
12494
|
+
* @description Subdomain the dashboard is served on (e.g. dash -> dash.customer.com); omit for the apex
|
|
12495
|
+
*/
|
|
12496
|
+
dashboard_subdomain?: string | null;
|
|
12490
12497
|
/**
|
|
12491
12498
|
* Hostname
|
|
12492
|
-
* @description
|
|
12499
|
+
* @description Domain the whitelabel runs under (e.g. customer.com); must be an OpusDNS-hosted zone
|
|
12493
12500
|
*/
|
|
12494
12501
|
hostname: string;
|
|
12495
12502
|
/** @description Billing period for the subscription; offered: 1 month or 1 year */
|
|
@@ -12498,12 +12505,15 @@ export interface components {
|
|
|
12498
12505
|
/**
|
|
12499
12506
|
* WhitelabelBrandingRecheck
|
|
12500
12507
|
* @description Public recheck body. Empty = re-run onboarding against the stored hosts (retry after
|
|
12501
|
-
* fixing DNS).
|
|
12502
|
-
* only; server rejects once a Keycloak client exists).
|
|
12508
|
+
* fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before re-running
|
|
12509
|
+
* (pre-provisioning only; server rejects once a Keycloak client exists). Same composition
|
|
12510
|
+
* rules as WhitelabelBrandingCreate.
|
|
12503
12511
|
*/
|
|
12504
12512
|
WhitelabelBrandingRecheck: {
|
|
12505
|
-
/** Auth
|
|
12506
|
-
|
|
12513
|
+
/** Auth Subdomain */
|
|
12514
|
+
auth_subdomain?: string | null;
|
|
12515
|
+
/** Dashboard Subdomain */
|
|
12516
|
+
dashboard_subdomain?: string | null;
|
|
12507
12517
|
/** Hostname */
|
|
12508
12518
|
hostname?: string | null;
|
|
12509
12519
|
};
|