@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 +1 -1
- package/src/helpers/constants.ts +2 -0
- package/src/helpers/keys.ts +8 -4
- package/src/openapi.yaml +49 -16
- package/src/schema.d.ts +23 -13
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -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',
|
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
|
@@ -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
|
|
14474
|
-
|
|
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
|
-
`
|
|
14482
|
+
`hostname` is the bare domain). The owning org comes from auth context, and
|
|
14477
14483
|
|
|
14478
|
-
|
|
14484
|
+
`verification_domain` is derived server-side (the registrable domain of the
|
|
14485
|
+
composed
|
|
14479
14486
|
|
|
14480
|
-
|
|
14487
|
+
dashboard host), so neither is accepted here.'
|
|
14481
14488
|
properties:
|
|
14482
|
-
|
|
14483
|
-
description:
|
|
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
|
|
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:
|
|
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
|
-
-
|
|
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).
|
|
14509
|
-
|
|
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
|
-
|
|
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
|
|
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-
|
|
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
|
|
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
|
};
|