@opusdns/api 1.121.0 → 1.122.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.121.0",
6
+ "version": "1.122.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -5974,12 +5974,14 @@ export const KEYS_WHITELABEL_PLUS_CREATE = [
5974
5974
 
5975
5975
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_EXPIRES_ON = 'expires_on' satisfies keyof WhitelabelSubscriptionInfo;
5976
5976
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_GRACE_PERIOD_ENDS_AT = 'grace_period_ends_at' satisfies keyof WhitelabelSubscriptionInfo;
5977
+ export const KEY_WHITELABEL_SUBSCRIPTION_INFO_PERIOD = 'period' satisfies keyof WhitelabelSubscriptionInfo;
5977
5978
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEW_SCHEDULED_AT = 'renew_scheduled_at' satisfies keyof WhitelabelSubscriptionInfo;
5978
5979
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEWAL_MODE = 'renewal_mode' satisfies keyof WhitelabelSubscriptionInfo;
5979
5980
 
5980
5981
  export const KEYS_WHITELABEL_SUBSCRIPTION_INFO = [
5981
5982
  KEY_WHITELABEL_SUBSCRIPTION_INFO_EXPIRES_ON,
5982
5983
  KEY_WHITELABEL_SUBSCRIPTION_INFO_GRACE_PERIOD_ENDS_AT,
5984
+ KEY_WHITELABEL_SUBSCRIPTION_INFO_PERIOD,
5983
5985
  KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEW_SCHEDULED_AT,
5984
5986
  KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEWAL_MODE,
5985
5987
  ] as const satisfies (keyof WhitelabelSubscriptionInfo)[];
package/src/openapi.yaml CHANGED
@@ -14724,6 +14724,8 @@ components:
14724
14724
  description: 'Billing period; offered: 1 month or 1 year'
14725
14725
  tier:
14726
14726
  const: base
14727
+ description: Tier discriminator; base = served on a managed subdomain of
14728
+ an OpusDNS-owned zone
14727
14729
  title: Tier
14728
14730
  type: string
14729
14731
  required:
@@ -14778,8 +14780,8 @@ components:
14778
14780
  fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before
14779
14781
  re-running
14780
14782
 
14781
- (pre-provisioning only; server rejects once a Keycloak client exists). Plus
14782
- tier only - a
14783
+ (pre-provisioning only; server rejects once an authentication client exists).
14784
+ Plus tier only - a
14783
14785
 
14784
14786
  base whitelabel is re-labelled through PATCH instead.'
14785
14787
  properties:
@@ -14789,6 +14791,7 @@ components:
14789
14791
  minLength: 1
14790
14792
  type: string
14791
14793
  - type: 'null'
14794
+ description: Subdomain the login is served on; required together with hostname
14792
14795
  title: Auth Subdomain
14793
14796
  dashboard_subdomain:
14794
14797
  anyOf:
@@ -14796,6 +14799,8 @@ components:
14796
14799
  minLength: 1
14797
14800
  type: string
14798
14801
  - type: 'null'
14802
+ description: Subdomain the dashboard is served on; omit for apex. Only together
14803
+ with hostname.
14799
14804
  title: Dashboard Subdomain
14800
14805
  hostname:
14801
14806
  anyOf:
@@ -14803,6 +14808,8 @@ components:
14803
14808
  minLength: 1
14804
14809
  type: string
14805
14810
  - type: 'null'
14811
+ description: New domain to run the whitelabel under; omit to re-run against
14812
+ the stored hosts
14806
14813
  title: Hostname
14807
14814
  title: WhitelabelBrandingRecheck
14808
14815
  type: object
@@ -14810,11 +14817,15 @@ components:
14810
14817
  description: Public read shape for an organization's whitelabel branding config.
14811
14818
  properties:
14812
14819
  auth_hostname:
14820
+ description: Auth/login hostname served by the authentication system (e.g.
14821
+ auth.customer.com)
14813
14822
  maxLength: 255
14814
14823
  minLength: 1
14815
14824
  title: Auth Hostname
14816
14825
  type: string
14817
14826
  base_label:
14827
+ description: Managed-subdomain label; served on the base tier, reserved
14828
+ on plus
14818
14829
  maxLength: 255
14819
14830
  minLength: 1
14820
14831
  title: Base Label
@@ -14825,16 +14836,21 @@ components:
14825
14836
  type: string
14826
14837
  enabled:
14827
14838
  default: true
14839
+ description: Whether this whitelabel is served; false freezes serving but
14840
+ keeps the config
14828
14841
  title: Enabled
14829
14842
  type: boolean
14830
14843
  failure_code:
14831
14844
  anyOf:
14832
14845
  - $ref: '#/components/schemas/WhitelabelOnboardingFailureCode'
14833
14846
  - type: 'null'
14847
+ description: Stable code of the last terminal onboarding failure
14834
14848
  failure_detail:
14835
14849
  anyOf:
14836
14850
  - type: string
14837
14851
  - type: 'null'
14852
+ description: Free-text detail of the last onboarding failure (support/debugging,
14853
+ not for customer display)
14838
14854
  title: Failure Detail
14839
14855
  failure_type:
14840
14856
  anyOf:
@@ -14842,6 +14858,7 @@ components:
14842
14858
  - type: 'null'
14843
14859
  readOnly: true
14844
14860
  hostname:
14861
+ description: Dashboard hostname being served (e.g. app.customer.com)
14845
14862
  maxLength: 255
14846
14863
  minLength: 1
14847
14864
  title: Hostname
@@ -14852,9 +14869,12 @@ components:
14852
14869
  minLength: 1
14853
14870
  type: string
14854
14871
  - type: 'null'
14872
+ description: Authentication-system client provisioned for this whitelabel;
14873
+ null until provisioning
14855
14874
  title: Keycloak Client Id
14856
14875
  onboarding_status:
14857
14876
  $ref: '#/components/schemas/WhitelabelOnboardingStatus'
14877
+ description: Onboarding lifecycle state
14858
14878
  organization_id:
14859
14879
  examples:
14860
14880
  - organization_01h45ytscbebyvny4gc8cr8ma2
@@ -14867,13 +14887,18 @@ components:
14867
14887
  anyOf:
14868
14888
  - $ref: '#/components/schemas/WhitelabelSubscriptionInfo'
14869
14889
  - type: 'null'
14890
+ description: Billing-lifecycle block; null when the config has no live subscription
14891
+ (provisioning or terminated)
14870
14892
  tier:
14871
14893
  $ref: '#/components/schemas/WhitelabelBrandingTier'
14894
+ description: 'Tier this config is on: base (managed subdomain) or plus (customer''s
14895
+ own domain)'
14872
14896
  updated_on:
14873
14897
  format: date-time
14874
14898
  title: Updated On
14875
14899
  type: string
14876
14900
  verification_domain:
14901
+ description: Registrable domain of the served hostname
14877
14902
  maxLength: 255
14878
14903
  minLength: 1
14879
14904
  title: Verification Domain
@@ -14965,7 +14990,7 @@ components:
14965
14990
  subdomain (kept for the redirect/downgrade).'
14966
14991
  properties:
14967
14992
  auth_subdomain:
14968
- description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
14993
+ description: Subdomain the login is served on (e.g. auth -> auth.customer.com)
14969
14994
  maxLength: 255
14970
14995
  minLength: 1
14971
14996
  title: Auth Subdomain
@@ -14997,6 +15022,7 @@ components:
14997
15022
  description: 'Billing period; offered: 1 month or 1 year'
14998
15023
  tier:
14999
15024
  const: plus
15025
+ description: Tier discriminator; plus = served on the customer's own domain
15000
15026
  title: Tier
15001
15027
  type: string
15002
15028
  required:
@@ -15043,23 +15069,35 @@ components:
15043
15069
  - format: date-time
15044
15070
  type: string
15045
15071
  - type: 'null'
15072
+ description: End of the current paid term; on an expiring config, when serving
15073
+ stops
15046
15074
  title: Expires On
15047
15075
  grace_period_ends_at:
15048
15076
  anyOf:
15049
15077
  - format: date-time
15050
15078
  type: string
15051
15079
  - type: 'null'
15080
+ description: End of the grace period, if the subscription is in one
15052
15081
  title: Grace Period Ends At
15082
+ period:
15083
+ $ref: '#/components/schemas/Period'
15084
+ description: Billing period the subscription renews on (same shape as the
15085
+ create body's period)
15053
15086
  renew_scheduled_at:
15054
15087
  anyOf:
15055
15088
  - format: date-time
15056
15089
  type: string
15057
15090
  - type: 'null'
15091
+ description: When the next automatic renewal runs; only surfaced on a renewing
15092
+ config
15058
15093
  title: Renew Scheduled At
15059
15094
  renewal_mode:
15060
15095
  $ref: '#/components/schemas/WhitelabelRenewalMode'
15096
+ description: Whether the subscription auto-renews (renew) or lapses at period
15097
+ end (expire, i.e. cancelled)
15061
15098
  required:
15062
15099
  - renewal_mode
15100
+ - period
15063
15101
  title: WhitelabelSubscriptionInfo
15064
15102
  type: object
15065
15103
  WhitelabelUpgradeToPlus:
@@ -15079,7 +15117,7 @@ components:
15079
15117
  instead - so this body only ever moves to plus (no tier field, no period).'
15080
15118
  properties:
15081
15119
  auth_subdomain:
15082
- description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
15120
+ description: Subdomain the login is served on (e.g. auth -> auth.customer.com)
15083
15121
  maxLength: 255
15084
15122
  minLength: 1
15085
15123
  title: Auth Subdomain
@@ -15547,7 +15585,7 @@ info:
15547
15585
  \n\n"
15548
15586
  summary: OpusDNS - your gateway to a seamless domain management experience.
15549
15587
  title: OpusDNS API
15550
- version: 2026-08-18-162915
15588
+ version: 2026-08-19-080746
15551
15589
  x-logo:
15552
15590
  altText: OpusDNS API Reference
15553
15591
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -12717,7 +12717,7 @@ export interface components {
12717
12717
  /** @description Billing period; offered: 1 month or 1 year */
12718
12718
  period: components["schemas"]["Period"];
12719
12719
  /**
12720
- * @description discriminator enum property added by openapi-typescript
12720
+ * @description Tier discriminator; base = served on a managed subdomain of an OpusDNS-owned zone (enum property replaced by openapi-typescript)
12721
12721
  * @enum {string}
12722
12722
  */
12723
12723
  tier: "base";
@@ -12748,15 +12748,24 @@ export interface components {
12748
12748
  * WhitelabelBrandingRecheck
12749
12749
  * @description Public recheck body. Empty = re-run onboarding against the stored hosts (retry after
12750
12750
  * fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before re-running
12751
- * (pre-provisioning only; server rejects once a Keycloak client exists). Plus tier only - a
12751
+ * (pre-provisioning only; server rejects once an authentication client exists). Plus tier only - a
12752
12752
  * base whitelabel is re-labelled through PATCH instead.
12753
12753
  */
12754
12754
  WhitelabelBrandingRecheck: {
12755
- /** Auth Subdomain */
12755
+ /**
12756
+ * Auth Subdomain
12757
+ * @description Subdomain the login is served on; required together with hostname
12758
+ */
12756
12759
  auth_subdomain?: string | null;
12757
- /** Dashboard Subdomain */
12760
+ /**
12761
+ * Dashboard Subdomain
12762
+ * @description Subdomain the dashboard is served on; omit for apex. Only together with hostname.
12763
+ */
12758
12764
  dashboard_subdomain?: string | null;
12759
- /** Hostname */
12765
+ /**
12766
+ * Hostname
12767
+ * @description New domain to run the whitelabel under; omit to re-run against the stored hosts
12768
+ */
12760
12769
  hostname?: string | null;
12761
12770
  };
12762
12771
  /**
@@ -12764,9 +12773,15 @@ export interface components {
12764
12773
  * @description Public read shape for an organization's whitelabel branding config.
12765
12774
  */
12766
12775
  WhitelabelBrandingResponse: {
12767
- /** Auth Hostname */
12776
+ /**
12777
+ * Auth Hostname
12778
+ * @description Auth/login hostname served by the authentication system (e.g. auth.customer.com)
12779
+ */
12768
12780
  auth_hostname: string;
12769
- /** Base Label */
12781
+ /**
12782
+ * Base Label
12783
+ * @description Managed-subdomain label; served on the base tier, reserved on plus
12784
+ */
12770
12785
  base_label: string;
12771
12786
  /**
12772
12787
  * Created On
@@ -12775,17 +12790,29 @@ export interface components {
12775
12790
  created_on: Date;
12776
12791
  /**
12777
12792
  * Enabled
12793
+ * @description Whether this whitelabel is served; false freezes serving but keeps the config
12778
12794
  * @default true
12779
12795
  */
12780
12796
  enabled: boolean;
12797
+ /** @description Stable code of the last terminal onboarding failure */
12781
12798
  failure_code?: components["schemas"]["WhitelabelOnboardingFailureCode"] | null;
12782
- /** Failure Detail */
12799
+ /**
12800
+ * Failure Detail
12801
+ * @description Free-text detail of the last onboarding failure (support/debugging, not for customer display)
12802
+ */
12783
12803
  failure_detail?: string | null;
12784
12804
  readonly failure_type: components["schemas"]["WhitelabelOnboardingFailureType"] | null;
12785
- /** Hostname */
12805
+ /**
12806
+ * Hostname
12807
+ * @description Dashboard hostname being served (e.g. app.customer.com)
12808
+ */
12786
12809
  hostname: string;
12787
- /** Keycloak Client Id */
12810
+ /**
12811
+ * Keycloak Client Id
12812
+ * @description Authentication-system client provisioned for this whitelabel; null until provisioning
12813
+ */
12788
12814
  keycloak_client_id: string | null;
12815
+ /** @description Onboarding lifecycle state */
12789
12816
  onboarding_status: components["schemas"]["WhitelabelOnboardingStatus"];
12790
12817
  /**
12791
12818
  * Organization Id
@@ -12793,14 +12820,19 @@ export interface components {
12793
12820
  * @example organization_01h45ytscbebyvny4gc8cr8ma2
12794
12821
  */
12795
12822
  organization_id: TypeId<"organization">;
12823
+ /** @description Billing-lifecycle block; null when the config has no live subscription (provisioning or terminated) */
12796
12824
  subscription?: components["schemas"]["WhitelabelSubscriptionInfo"] | null;
12825
+ /** @description Tier this config is on: base (managed subdomain) or plus (customer's own domain) */
12797
12826
  tier: components["schemas"]["WhitelabelBrandingTier"];
12798
12827
  /**
12799
12828
  * Updated On
12800
12829
  * Format: date-time
12801
12830
  */
12802
12831
  updated_on: Date;
12803
- /** Verification Domain */
12832
+ /**
12833
+ * Verification Domain
12834
+ * @description Registrable domain of the served hostname
12835
+ */
12804
12836
  verification_domain: string;
12805
12837
  /**
12806
12838
  * Whitelabel Branding Id
@@ -12846,7 +12878,7 @@ export interface components {
12846
12878
  WhitelabelPlusCreate: {
12847
12879
  /**
12848
12880
  * Auth Subdomain
12849
- * @description Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
12881
+ * @description Subdomain the login is served on (e.g. auth -> auth.customer.com)
12850
12882
  */
12851
12883
  auth_subdomain: string;
12852
12884
  /**
@@ -12867,7 +12899,7 @@ export interface components {
12867
12899
  /** @description Billing period; offered: 1 month or 1 year */
12868
12900
  period: components["schemas"]["Period"];
12869
12901
  /**
12870
- * @description discriminator enum property added by openapi-typescript
12902
+ * @description Tier discriminator; plus = served on the customer's own domain (enum property replaced by openapi-typescript)
12871
12903
  * @enum {string}
12872
12904
  */
12873
12905
  tier: "plus";
@@ -12890,12 +12922,24 @@ export interface components {
12890
12922
  * cancelled whitelabel reads: "cancelled, served until expires_on".
12891
12923
  */
12892
12924
  WhitelabelSubscriptionInfo: {
12893
- /** Expires On */
12925
+ /**
12926
+ * Expires On
12927
+ * @description End of the current paid term; on an expiring config, when serving stops
12928
+ */
12894
12929
  expires_on?: Date | null;
12895
- /** Grace Period Ends At */
12930
+ /**
12931
+ * Grace Period Ends At
12932
+ * @description End of the grace period, if the subscription is in one
12933
+ */
12896
12934
  grace_period_ends_at?: Date | null;
12897
- /** Renew Scheduled At */
12935
+ /** @description Billing period the subscription renews on (same shape as the create body's period) */
12936
+ period: components["schemas"]["Period"];
12937
+ /**
12938
+ * Renew Scheduled At
12939
+ * @description When the next automatic renewal runs; only surfaced on a renewing config
12940
+ */
12898
12941
  renew_scheduled_at?: Date | null;
12942
+ /** @description Whether the subscription auto-renews (renew) or lapses at period end (expire, i.e. cancelled) */
12899
12943
  renewal_mode: components["schemas"]["WhitelabelRenewalMode"];
12900
12944
  };
12901
12945
  /**
@@ -12909,7 +12953,7 @@ export interface components {
12909
12953
  WhitelabelUpgradeToPlus: {
12910
12954
  /**
12911
12955
  * Auth Subdomain
12912
- * @description Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
12956
+ * @description Subdomain the login is served on (e.g. auth -> auth.customer.com)
12913
12957
  */
12914
12958
  auth_subdomain: string;
12915
12959
  /**