@opusdns/api 1.120.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.120.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",
@@ -2597,6 +2597,7 @@ export const KEY_DOMAIN_IS_PREMIUM = 'is_premium' satisfies keyof Domain;
2597
2597
  export const KEY_DOMAIN_NAME = 'name' satisfies keyof Domain;
2598
2598
  export const KEY_DOMAIN_NAMESERVERS = 'nameservers' satisfies keyof Domain;
2599
2599
  export const KEY_DOMAIN_OWNER_ID = 'owner_id' satisfies keyof Domain;
2600
+ export const KEY_DOMAIN_READ_ONLY = 'read_only' satisfies keyof Domain;
2600
2601
  export const KEY_DOMAIN_REGISTERED_ON = 'registered_on' satisfies keyof Domain;
2601
2602
  export const KEY_DOMAIN_REGISTRY_ACCOUNT_ID = 'registry_account_id' satisfies keyof Domain;
2602
2603
  export const KEY_DOMAIN_REGISTRY_STATUSES = 'registry_statuses' satisfies keyof Domain;
@@ -2627,6 +2628,7 @@ export const KEYS_DOMAIN = [
2627
2628
  KEY_DOMAIN_NAME,
2628
2629
  KEY_DOMAIN_NAMESERVERS,
2629
2630
  KEY_DOMAIN_OWNER_ID,
2631
+ KEY_DOMAIN_READ_ONLY,
2630
2632
  KEY_DOMAIN_REGISTERED_ON,
2631
2633
  KEY_DOMAIN_REGISTRY_ACCOUNT_ID,
2632
2634
  KEY_DOMAIN_REGISTRY_STATUSES,
@@ -5972,12 +5974,14 @@ export const KEYS_WHITELABEL_PLUS_CREATE = [
5972
5974
 
5973
5975
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_EXPIRES_ON = 'expires_on' satisfies keyof WhitelabelSubscriptionInfo;
5974
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;
5975
5978
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEW_SCHEDULED_AT = 'renew_scheduled_at' satisfies keyof WhitelabelSubscriptionInfo;
5976
5979
  export const KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEWAL_MODE = 'renewal_mode' satisfies keyof WhitelabelSubscriptionInfo;
5977
5980
 
5978
5981
  export const KEYS_WHITELABEL_SUBSCRIPTION_INFO = [
5979
5982
  KEY_WHITELABEL_SUBSCRIPTION_INFO_EXPIRES_ON,
5980
5983
  KEY_WHITELABEL_SUBSCRIPTION_INFO_GRACE_PERIOD_ENDS_AT,
5984
+ KEY_WHITELABEL_SUBSCRIPTION_INFO_PERIOD,
5981
5985
  KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEW_SCHEDULED_AT,
5982
5986
  KEY_WHITELABEL_SUBSCRIPTION_INFO_RENEWAL_MODE,
5983
5987
  ] as const satisfies (keyof WhitelabelSubscriptionInfo)[];
package/src/openapi.yaml CHANGED
@@ -5579,6 +5579,15 @@ components:
5579
5579
  title: Owner Id
5580
5580
  type: string
5581
5581
  x-typeid-prefix: organization
5582
+ read_only:
5583
+ default: false
5584
+ description: "Whether the domain is read-only in OpusDNS. When `true`, the\
5585
+ \ domain is listed in your portfolio but cannot be managed \u2014 for\
5586
+ \ example while it awaits a migration, is locked for legal reasons, or\
5587
+ \ is managed at an external registrar. The flag is set and removed by\
5588
+ \ OpusDNS; it cannot be changed through the API."
5589
+ title: Read Only
5590
+ type: boolean
5582
5591
  registered_on:
5583
5592
  anyOf:
5584
5593
  - format: date-time
@@ -14715,6 +14724,8 @@ components:
14715
14724
  description: 'Billing period; offered: 1 month or 1 year'
14716
14725
  tier:
14717
14726
  const: base
14727
+ description: Tier discriminator; base = served on a managed subdomain of
14728
+ an OpusDNS-owned zone
14718
14729
  title: Tier
14719
14730
  type: string
14720
14731
  required:
@@ -14769,8 +14780,8 @@ components:
14769
14780
  fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before
14770
14781
  re-running
14771
14782
 
14772
- (pre-provisioning only; server rejects once a Keycloak client exists). Plus
14773
- tier only - a
14783
+ (pre-provisioning only; server rejects once an authentication client exists).
14784
+ Plus tier only - a
14774
14785
 
14775
14786
  base whitelabel is re-labelled through PATCH instead.'
14776
14787
  properties:
@@ -14780,6 +14791,7 @@ components:
14780
14791
  minLength: 1
14781
14792
  type: string
14782
14793
  - type: 'null'
14794
+ description: Subdomain the login is served on; required together with hostname
14783
14795
  title: Auth Subdomain
14784
14796
  dashboard_subdomain:
14785
14797
  anyOf:
@@ -14787,6 +14799,8 @@ components:
14787
14799
  minLength: 1
14788
14800
  type: string
14789
14801
  - type: 'null'
14802
+ description: Subdomain the dashboard is served on; omit for apex. Only together
14803
+ with hostname.
14790
14804
  title: Dashboard Subdomain
14791
14805
  hostname:
14792
14806
  anyOf:
@@ -14794,6 +14808,8 @@ components:
14794
14808
  minLength: 1
14795
14809
  type: string
14796
14810
  - type: 'null'
14811
+ description: New domain to run the whitelabel under; omit to re-run against
14812
+ the stored hosts
14797
14813
  title: Hostname
14798
14814
  title: WhitelabelBrandingRecheck
14799
14815
  type: object
@@ -14801,11 +14817,15 @@ components:
14801
14817
  description: Public read shape for an organization's whitelabel branding config.
14802
14818
  properties:
14803
14819
  auth_hostname:
14820
+ description: Auth/login hostname served by the authentication system (e.g.
14821
+ auth.customer.com)
14804
14822
  maxLength: 255
14805
14823
  minLength: 1
14806
14824
  title: Auth Hostname
14807
14825
  type: string
14808
14826
  base_label:
14827
+ description: Managed-subdomain label; served on the base tier, reserved
14828
+ on plus
14809
14829
  maxLength: 255
14810
14830
  minLength: 1
14811
14831
  title: Base Label
@@ -14816,16 +14836,21 @@ components:
14816
14836
  type: string
14817
14837
  enabled:
14818
14838
  default: true
14839
+ description: Whether this whitelabel is served; false freezes serving but
14840
+ keeps the config
14819
14841
  title: Enabled
14820
14842
  type: boolean
14821
14843
  failure_code:
14822
14844
  anyOf:
14823
14845
  - $ref: '#/components/schemas/WhitelabelOnboardingFailureCode'
14824
14846
  - type: 'null'
14847
+ description: Stable code of the last terminal onboarding failure
14825
14848
  failure_detail:
14826
14849
  anyOf:
14827
14850
  - type: string
14828
14851
  - type: 'null'
14852
+ description: Free-text detail of the last onboarding failure (support/debugging,
14853
+ not for customer display)
14829
14854
  title: Failure Detail
14830
14855
  failure_type:
14831
14856
  anyOf:
@@ -14833,6 +14858,7 @@ components:
14833
14858
  - type: 'null'
14834
14859
  readOnly: true
14835
14860
  hostname:
14861
+ description: Dashboard hostname being served (e.g. app.customer.com)
14836
14862
  maxLength: 255
14837
14863
  minLength: 1
14838
14864
  title: Hostname
@@ -14843,9 +14869,12 @@ components:
14843
14869
  minLength: 1
14844
14870
  type: string
14845
14871
  - type: 'null'
14872
+ description: Authentication-system client provisioned for this whitelabel;
14873
+ null until provisioning
14846
14874
  title: Keycloak Client Id
14847
14875
  onboarding_status:
14848
14876
  $ref: '#/components/schemas/WhitelabelOnboardingStatus'
14877
+ description: Onboarding lifecycle state
14849
14878
  organization_id:
14850
14879
  examples:
14851
14880
  - organization_01h45ytscbebyvny4gc8cr8ma2
@@ -14858,13 +14887,18 @@ components:
14858
14887
  anyOf:
14859
14888
  - $ref: '#/components/schemas/WhitelabelSubscriptionInfo'
14860
14889
  - type: 'null'
14890
+ description: Billing-lifecycle block; null when the config has no live subscription
14891
+ (provisioning or terminated)
14861
14892
  tier:
14862
14893
  $ref: '#/components/schemas/WhitelabelBrandingTier'
14894
+ description: 'Tier this config is on: base (managed subdomain) or plus (customer''s
14895
+ own domain)'
14863
14896
  updated_on:
14864
14897
  format: date-time
14865
14898
  title: Updated On
14866
14899
  type: string
14867
14900
  verification_domain:
14901
+ description: Registrable domain of the served hostname
14868
14902
  maxLength: 255
14869
14903
  minLength: 1
14870
14904
  title: Verification Domain
@@ -14956,7 +14990,7 @@ components:
14956
14990
  subdomain (kept for the redirect/downgrade).'
14957
14991
  properties:
14958
14992
  auth_subdomain:
14959
- 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)
14960
14994
  maxLength: 255
14961
14995
  minLength: 1
14962
14996
  title: Auth Subdomain
@@ -14988,6 +15022,7 @@ components:
14988
15022
  description: 'Billing period; offered: 1 month or 1 year'
14989
15023
  tier:
14990
15024
  const: plus
15025
+ description: Tier discriminator; plus = served on the customer's own domain
14991
15026
  title: Tier
14992
15027
  type: string
14993
15028
  required:
@@ -15034,23 +15069,35 @@ components:
15034
15069
  - format: date-time
15035
15070
  type: string
15036
15071
  - type: 'null'
15072
+ description: End of the current paid term; on an expiring config, when serving
15073
+ stops
15037
15074
  title: Expires On
15038
15075
  grace_period_ends_at:
15039
15076
  anyOf:
15040
15077
  - format: date-time
15041
15078
  type: string
15042
15079
  - type: 'null'
15080
+ description: End of the grace period, if the subscription is in one
15043
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)
15044
15086
  renew_scheduled_at:
15045
15087
  anyOf:
15046
15088
  - format: date-time
15047
15089
  type: string
15048
15090
  - type: 'null'
15091
+ description: When the next automatic renewal runs; only surfaced on a renewing
15092
+ config
15049
15093
  title: Renew Scheduled At
15050
15094
  renewal_mode:
15051
15095
  $ref: '#/components/schemas/WhitelabelRenewalMode'
15096
+ description: Whether the subscription auto-renews (renew) or lapses at period
15097
+ end (expire, i.e. cancelled)
15052
15098
  required:
15053
15099
  - renewal_mode
15100
+ - period
15054
15101
  title: WhitelabelSubscriptionInfo
15055
15102
  type: object
15056
15103
  WhitelabelUpgradeToPlus:
@@ -15070,7 +15117,7 @@ components:
15070
15117
  instead - so this body only ever moves to plus (no tier field, no period).'
15071
15118
  properties:
15072
15119
  auth_subdomain:
15073
- 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)
15074
15121
  maxLength: 255
15075
15122
  minLength: 1
15076
15123
  title: Auth Subdomain
@@ -15538,7 +15585,7 @@ info:
15538
15585
  \n\n"
15539
15586
  summary: OpusDNS - your gateway to a seamless domain management experience.
15540
15587
  title: OpusDNS API
15541
- version: 2026-08-18-144629
15588
+ version: 2026-08-19-080746
15542
15589
  x-logo:
15543
15590
  altText: OpusDNS API Reference
15544
15591
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23349,6 +23396,14 @@ paths:
23349
23396
  - type: boolean
23350
23397
  - type: 'null'
23351
23398
  title: Transfer Lock
23399
+ - in: query
23400
+ name: read_only
23401
+ required: false
23402
+ schema:
23403
+ anyOf:
23404
+ - type: boolean
23405
+ - type: 'null'
23406
+ title: Read Only
23352
23407
  - in: query
23353
23408
  name: is_premium
23354
23409
  required: false
package/src/schema.d.ts CHANGED
@@ -6613,6 +6613,12 @@ export interface components {
6613
6613
  * @example organization_01h45ytscbebyvny4gc8cr8ma2
6614
6614
  */
6615
6615
  owner_id: TypeId<"organization">;
6616
+ /**
6617
+ * Read Only
6618
+ * @description Whether the domain is read-only in OpusDNS. When `true`, the domain is listed in your portfolio but cannot be managed — for example while it awaits a migration, is locked for legal reasons, or is managed at an external registrar. The flag is set and removed by OpusDNS; it cannot be changed through the API.
6619
+ * @default false
6620
+ */
6621
+ read_only: boolean;
6616
6622
  /**
6617
6623
  * Registered On
6618
6624
  * @description When the domain was registered
@@ -12711,7 +12717,7 @@ export interface components {
12711
12717
  /** @description Billing period; offered: 1 month or 1 year */
12712
12718
  period: components["schemas"]["Period"];
12713
12719
  /**
12714
- * @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)
12715
12721
  * @enum {string}
12716
12722
  */
12717
12723
  tier: "base";
@@ -12742,15 +12748,24 @@ export interface components {
12742
12748
  * WhitelabelBrandingRecheck
12743
12749
  * @description Public recheck body. Empty = re-run onboarding against the stored hosts (retry after
12744
12750
  * fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before re-running
12745
- * (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
12746
12752
  * base whitelabel is re-labelled through PATCH instead.
12747
12753
  */
12748
12754
  WhitelabelBrandingRecheck: {
12749
- /** Auth Subdomain */
12755
+ /**
12756
+ * Auth Subdomain
12757
+ * @description Subdomain the login is served on; required together with hostname
12758
+ */
12750
12759
  auth_subdomain?: string | null;
12751
- /** Dashboard Subdomain */
12760
+ /**
12761
+ * Dashboard Subdomain
12762
+ * @description Subdomain the dashboard is served on; omit for apex. Only together with hostname.
12763
+ */
12752
12764
  dashboard_subdomain?: string | null;
12753
- /** Hostname */
12765
+ /**
12766
+ * Hostname
12767
+ * @description New domain to run the whitelabel under; omit to re-run against the stored hosts
12768
+ */
12754
12769
  hostname?: string | null;
12755
12770
  };
12756
12771
  /**
@@ -12758,9 +12773,15 @@ export interface components {
12758
12773
  * @description Public read shape for an organization's whitelabel branding config.
12759
12774
  */
12760
12775
  WhitelabelBrandingResponse: {
12761
- /** Auth Hostname */
12776
+ /**
12777
+ * Auth Hostname
12778
+ * @description Auth/login hostname served by the authentication system (e.g. auth.customer.com)
12779
+ */
12762
12780
  auth_hostname: string;
12763
- /** Base Label */
12781
+ /**
12782
+ * Base Label
12783
+ * @description Managed-subdomain label; served on the base tier, reserved on plus
12784
+ */
12764
12785
  base_label: string;
12765
12786
  /**
12766
12787
  * Created On
@@ -12769,17 +12790,29 @@ export interface components {
12769
12790
  created_on: Date;
12770
12791
  /**
12771
12792
  * Enabled
12793
+ * @description Whether this whitelabel is served; false freezes serving but keeps the config
12772
12794
  * @default true
12773
12795
  */
12774
12796
  enabled: boolean;
12797
+ /** @description Stable code of the last terminal onboarding failure */
12775
12798
  failure_code?: components["schemas"]["WhitelabelOnboardingFailureCode"] | null;
12776
- /** Failure Detail */
12799
+ /**
12800
+ * Failure Detail
12801
+ * @description Free-text detail of the last onboarding failure (support/debugging, not for customer display)
12802
+ */
12777
12803
  failure_detail?: string | null;
12778
12804
  readonly failure_type: components["schemas"]["WhitelabelOnboardingFailureType"] | null;
12779
- /** Hostname */
12805
+ /**
12806
+ * Hostname
12807
+ * @description Dashboard hostname being served (e.g. app.customer.com)
12808
+ */
12780
12809
  hostname: string;
12781
- /** Keycloak Client Id */
12810
+ /**
12811
+ * Keycloak Client Id
12812
+ * @description Authentication-system client provisioned for this whitelabel; null until provisioning
12813
+ */
12782
12814
  keycloak_client_id: string | null;
12815
+ /** @description Onboarding lifecycle state */
12783
12816
  onboarding_status: components["schemas"]["WhitelabelOnboardingStatus"];
12784
12817
  /**
12785
12818
  * Organization Id
@@ -12787,14 +12820,19 @@ export interface components {
12787
12820
  * @example organization_01h45ytscbebyvny4gc8cr8ma2
12788
12821
  */
12789
12822
  organization_id: TypeId<"organization">;
12823
+ /** @description Billing-lifecycle block; null when the config has no live subscription (provisioning or terminated) */
12790
12824
  subscription?: components["schemas"]["WhitelabelSubscriptionInfo"] | null;
12825
+ /** @description Tier this config is on: base (managed subdomain) or plus (customer's own domain) */
12791
12826
  tier: components["schemas"]["WhitelabelBrandingTier"];
12792
12827
  /**
12793
12828
  * Updated On
12794
12829
  * Format: date-time
12795
12830
  */
12796
12831
  updated_on: Date;
12797
- /** Verification Domain */
12832
+ /**
12833
+ * Verification Domain
12834
+ * @description Registrable domain of the served hostname
12835
+ */
12798
12836
  verification_domain: string;
12799
12837
  /**
12800
12838
  * Whitelabel Branding Id
@@ -12840,7 +12878,7 @@ export interface components {
12840
12878
  WhitelabelPlusCreate: {
12841
12879
  /**
12842
12880
  * Auth Subdomain
12843
- * @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)
12844
12882
  */
12845
12883
  auth_subdomain: string;
12846
12884
  /**
@@ -12861,7 +12899,7 @@ export interface components {
12861
12899
  /** @description Billing period; offered: 1 month or 1 year */
12862
12900
  period: components["schemas"]["Period"];
12863
12901
  /**
12864
- * @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)
12865
12903
  * @enum {string}
12866
12904
  */
12867
12905
  tier: "plus";
@@ -12884,12 +12922,24 @@ export interface components {
12884
12922
  * cancelled whitelabel reads: "cancelled, served until expires_on".
12885
12923
  */
12886
12924
  WhitelabelSubscriptionInfo: {
12887
- /** Expires On */
12925
+ /**
12926
+ * Expires On
12927
+ * @description End of the current paid term; on an expiring config, when serving stops
12928
+ */
12888
12929
  expires_on?: Date | null;
12889
- /** Grace Period Ends At */
12930
+ /**
12931
+ * Grace Period Ends At
12932
+ * @description End of the grace period, if the subscription is in one
12933
+ */
12890
12934
  grace_period_ends_at?: Date | null;
12891
- /** 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
+ */
12892
12941
  renew_scheduled_at?: Date | null;
12942
+ /** @description Whether the subscription auto-renews (renew) or lapses at period end (expire, i.e. cancelled) */
12893
12943
  renewal_mode: components["schemas"]["WhitelabelRenewalMode"];
12894
12944
  };
12895
12945
  /**
@@ -12903,7 +12953,7 @@ export interface components {
12903
12953
  WhitelabelUpgradeToPlus: {
12904
12954
  /**
12905
12955
  * Auth Subdomain
12906
- * @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)
12907
12957
  */
12908
12958
  auth_subdomain: string;
12909
12959
  /**
@@ -19126,6 +19176,7 @@ export interface operations {
19126
19176
  tld?: string[] | null;
19127
19177
  sld?: string | null;
19128
19178
  transfer_lock?: boolean | null;
19179
+ read_only?: boolean | null;
19129
19180
  is_premium?: boolean | null;
19130
19181
  created_after?: Date | null;
19131
19182
  created_before?: Date | null;