@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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.100.0",
6
+ "version": "1.101.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -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 KEY_WHITELABEL_BRANDING_CREATE_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBrandingCreate;
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
- KEY_WHITELABEL_BRANDING_CREATE_AUTH_HOSTNAME,
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 KEY_WHITELABEL_BRANDING_RECHECK_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBrandingRecheck;
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
- KEY_WHITELABEL_BRANDING_RECHECK_AUTH_HOSTNAME,
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 owning org comes from auth context,
14474
- and
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
- `verification_domain` is derived server-side (the registrable domain of `hostname`),
14481
+ `hostname` is the bare domain). The owning org comes from auth context, and
14477
14482
 
14478
- so neither is accepted here. Both hostnames must resolve to the same registrable
14483
+ `verification_domain` is derived server-side (the registrable domain of the
14484
+ composed
14479
14485
 
14480
- domain (checked server-side in WhitelabelBrandingService.create).'
14486
+ dashboard host), so neither is accepted here.'
14481
14487
  properties:
14482
- auth_hostname:
14483
- description: Auth/login hostname served by Keycloak (e.g. auth.customer.com)
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 Hostname
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: Dashboard hostname the customer wants to brand (e.g. dash.customer.com)
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
- - auth_hostname
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). Both hosts present = re-point a wrong domain before re-running
14509
- (pre-provisioning
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
- auth_hostname:
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 Hostname
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-06-121126
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 owning org comes from auth context, and
12480
- * `verification_domain` is derived server-side (the registrable domain of `hostname`),
12481
- * so neither is accepted here. Both hostnames must resolve to the same registrable
12482
- * domain (checked server-side in WhitelabelBrandingService.create).
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 Hostname
12487
- * @description Auth/login hostname served by Keycloak (e.g. auth.customer.com)
12488
+ * Auth Subdomain
12489
+ * @description Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
12488
12490
  */
12489
- auth_hostname: string;
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 Dashboard hostname the customer wants to brand (e.g. dash.customer.com)
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). Both hosts present = re-point a wrong domain before re-running (pre-provisioning
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 Hostname */
12506
- auth_hostname?: string | null;
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
  };