@opusdns/api 1.100.0 → 1.102.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.102.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1555,6 +1555,7 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
1555
1555
  SIDN_LEGAL_FORM: "SIDN_LEGAL_FORM",
1556
1556
  SIDN_LEGAL_REG_NO: "SIDN_LEGAL_REG_NO",
1557
1557
  SIDN_REGISTRANT_TYPE: "SIDN_REGISTRANT_TYPE",
1558
+ SIDN_REGISTRATION_NUMBER: "SIDN_REGISTRATION_NUMBER",
1558
1559
  US_NEXUS_CATEGORY: "US_NEXUS_CATEGORY",
1559
1560
  US_NEXUS_COUNTRY_CODE: "US_NEXUS_COUNTRY_CODE",
1560
1561
  US_APP_PURPOSE: "US_APP_PURPOSE",
@@ -1628,6 +1629,7 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
1628
1629
  'SIDN_LEGAL_FORM',
1629
1630
  'SIDN_LEGAL_REG_NO',
1630
1631
  'SIDN_REGISTRANT_TYPE',
1632
+ 'SIDN_REGISTRATION_NUMBER',
1631
1633
  'US_NEXUS_CATEGORY',
1632
1634
  'US_NEXUS_COUNTRY_CODE',
1633
1635
  'US_APP_PURPOSE',
@@ -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
@@ -12181,6 +12181,7 @@ components:
12181
12181
  - SIDN_LEGAL_FORM
12182
12182
  - SIDN_LEGAL_REG_NO
12183
12183
  - SIDN_REGISTRANT_TYPE
12184
+ - SIDN_REGISTRATION_NUMBER
12184
12185
  - US_NEXUS_CATEGORY
12185
12186
  - US_NEXUS_COUNTRY_CODE
12186
12187
  - US_APP_PURPOSE
@@ -14470,23 +14471,39 @@ components:
14470
14471
  title: VisitsByKeyBucket
14471
14472
  type: object
14472
14473
  WhitelabelBrandingCreate:
14473
- description: 'Public create request body. The owning org comes from auth context,
14474
- and
14474
+ description: 'Public create request body. The customer supplies their domain
14475
+ plus the subdomains the
14476
+
14477
+ two whitelabel hosts live on; the full hostnames are composed here. `dashboard_subdomain`
14478
+
14479
+ is optional - omitted, the dashboard is served on `hostname` itself (the zone
14480
+ apex when
14475
14481
 
14476
- `verification_domain` is derived server-side (the registrable domain of `hostname`),
14482
+ `hostname` is the bare domain). The owning org comes from auth context, and
14477
14483
 
14478
- so neither is accepted here. Both hostnames must resolve to the same registrable
14484
+ `verification_domain` is derived server-side (the registrable domain of the
14485
+ composed
14479
14486
 
14480
- domain (checked server-side in WhitelabelBrandingService.create).'
14487
+ dashboard host), so neither is accepted here.'
14481
14488
  properties:
14482
- auth_hostname:
14483
- description: Auth/login hostname served by Keycloak (e.g. auth.customer.com)
14489
+ auth_subdomain:
14490
+ description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
14484
14491
  maxLength: 255
14485
14492
  minLength: 1
14486
- title: Auth Hostname
14493
+ title: Auth Subdomain
14487
14494
  type: string
14495
+ dashboard_subdomain:
14496
+ anyOf:
14497
+ - maxLength: 255
14498
+ minLength: 1
14499
+ type: string
14500
+ - type: 'null'
14501
+ description: Subdomain the dashboard is served on (e.g. dash -> dash.customer.com);
14502
+ omit for the apex
14503
+ title: Dashboard Subdomain
14488
14504
  hostname:
14489
- description: Dashboard hostname the customer wants to brand (e.g. dash.customer.com)
14505
+ description: Domain the whitelabel runs under (e.g. customer.com); must
14506
+ be an OpusDNS-hosted zone
14490
14507
  maxLength: 255
14491
14508
  minLength: 1
14492
14509
  title: Hostname
@@ -14497,7 +14514,7 @@ components:
14497
14514
  year'
14498
14515
  required:
14499
14516
  - hostname
14500
- - auth_hostname
14517
+ - auth_subdomain
14501
14518
  - period
14502
14519
  title: WhitelabelBrandingCreate
14503
14520
  type: object
@@ -14505,18 +14522,28 @@ components:
14505
14522
  description: 'Public recheck body. Empty = re-run onboarding against the stored
14506
14523
  hosts (retry after
14507
14524
 
14508
- fixing DNS). Both hosts present = re-point a wrong domain before re-running
14509
- (pre-provisioning
14525
+ fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before
14526
+ re-running
14510
14527
 
14511
- only; server rejects once a Keycloak client exists).'
14528
+ (pre-provisioning only; server rejects once a Keycloak client exists). Same
14529
+ composition
14530
+
14531
+ rules as WhitelabelBrandingCreate.'
14512
14532
  properties:
14513
- auth_hostname:
14533
+ auth_subdomain:
14514
14534
  anyOf:
14515
14535
  - maxLength: 255
14516
14536
  minLength: 1
14517
14537
  type: string
14518
14538
  - type: 'null'
14519
- title: Auth Hostname
14539
+ title: Auth Subdomain
14540
+ dashboard_subdomain:
14541
+ anyOf:
14542
+ - maxLength: 255
14543
+ minLength: 1
14544
+ type: string
14545
+ - type: 'null'
14546
+ title: Dashboard Subdomain
14520
14547
  hostname:
14521
14548
  anyOf:
14522
14549
  - maxLength: 255
@@ -14990,7 +15017,7 @@ info:
14990
15017
  \n\n"
14991
15018
  summary: OpusDNS - your gateway to a seamless domain management experience.
14992
15019
  title: OpusDNS API
14993
- version: 2026-08-06-121126
15020
+ version: 2026-08-07-155232
14994
15021
  x-logo:
14995
15022
  altText: OpusDNS API Reference
14996
15023
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -32319,6 +32346,12 @@ tags:
32319
32346
  x-displayName: Vanity Nameservers
32320
32347
  - description: 'Endpoints for managing an organization''s whitelabel branding configuration.
32321
32348
 
32349
+
32350
+ The create body carries the customer''s domain plus subdomains: `{"hostname":
32351
+ "customer.com", "dashboard_subdomain": "dash", "auth_subdomain": "auth"}` composes
32352
+ `dash.customer.com` and `auth.customer.com`; omitting `dashboard_subdomain` serves
32353
+ the dashboard on the domain apex itself.
32354
+
32322
32355
  '
32323
32356
  name: whitelabel
32324
32357
  x-displayName: Whitelabel Branding
package/src/schema.d.ts CHANGED
@@ -10875,7 +10875,7 @@ export interface components {
10875
10875
  * @description Registry handle attribute types for type-safe attribute key access.
10876
10876
  * @enum {string}
10877
10877
  */
10878
- RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "SIDN_REGISTRANT_TYPE" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE" | "NIC_LV_REG_NR" | "NIC_LV_VAT_NR" | "DOMREG_LT_CONTACT_ROLE" | "DOMREG_LT_ORG_CODE" | "NOR_ID_CONTACT_TYPE" | "NOR_ID_IDENTITY_TYPE" | "NOR_ID_IDENTITY_VALUE" | "REGISTRY_SE_ORG_NO" | "REGISTRY_SE_VAT_NO" | "DNS_PT_VAT" | "DNS_PT_MOBILE" | "DNS_PT_NIS2_VALIDATED" | "DNS_PT_NIS2_VALIDATED_DATE" | "PUNKTUM_DK_USER_TYPE" | "PUNKTUM_DK_CVR" | "PUNKTUM_DK_PNUMBER" | "PUNKTUM_DK_EAN" | "PUNKTUM_DK_SECONDARY_EMAIL" | "PUNKTUM_DK_MOBILEPHONE" | "PUNKTUM_DK_SOLE_PROPRIETORSHIP" | "INTERNET_EE_IDENT_TYPE" | "INTERNET_EE_IDENT_CC" | "INTERNET_EE_IDENT_VALUE";
10878
+ RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "SIDN_REGISTRANT_TYPE" | "SIDN_REGISTRATION_NUMBER" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE" | "NIC_LV_REG_NR" | "NIC_LV_VAT_NR" | "DOMREG_LT_CONTACT_ROLE" | "DOMREG_LT_ORG_CODE" | "NOR_ID_CONTACT_TYPE" | "NOR_ID_IDENTITY_TYPE" | "NOR_ID_IDENTITY_VALUE" | "REGISTRY_SE_ORG_NO" | "REGISTRY_SE_VAT_NO" | "DNS_PT_VAT" | "DNS_PT_MOBILE" | "DNS_PT_NIS2_VALIDATED" | "DNS_PT_NIS2_VALIDATED_DATE" | "PUNKTUM_DK_USER_TYPE" | "PUNKTUM_DK_CVR" | "PUNKTUM_DK_PNUMBER" | "PUNKTUM_DK_EAN" | "PUNKTUM_DK_SECONDARY_EMAIL" | "PUNKTUM_DK_MOBILEPHONE" | "PUNKTUM_DK_SOLE_PROPRIETORSHIP" | "INTERNET_EE_IDENT_TYPE" | "INTERNET_EE_IDENT_CC" | "INTERNET_EE_IDENT_VALUE";
10879
10879
  /** RegistryLockBase */
10880
10880
  RegistryLockBase: {
10881
10881
  /**
@@ -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
  };