@opusdns/api 1.121.0 → 1.123.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.123.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1811,6 +1811,7 @@ export const STATUS_TAG_TYPE = {
1811
1811
  CREATE_REQUESTED: "CREATE_REQUESTED",
1812
1812
  INBOUND_TRANSFER_PENDING: "INBOUND_TRANSFER_PENDING",
1813
1813
  OUTBOUND_TRANSFER_PENDING: "OUTBOUND_TRANSFER_PENDING",
1814
+ EXTERNAL: "EXTERNAL",
1814
1815
  } as const satisfies Record<string, StatusTagType>;
1815
1816
 
1816
1817
  export const STATUS_TAG_TYPE_VALUES = [
@@ -1818,6 +1819,7 @@ export const STATUS_TAG_TYPE_VALUES = [
1818
1819
  'CREATE_REQUESTED',
1819
1820
  'INBOUND_TRANSFER_PENDING',
1820
1821
  'OUTBOUND_TRANSFER_PENDING',
1822
+ 'EXTERNAL',
1821
1823
  ] as const satisfies ReadonlyArray<StatusTagType>;
1822
1824
 
1823
1825
  export const SYNC_OPERATION_TYPE = {
@@ -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
@@ -12759,6 +12759,7 @@ components:
12759
12759
  - CREATE_REQUESTED
12760
12760
  - INBOUND_TRANSFER_PENDING
12761
12761
  - OUTBOUND_TRANSFER_PENDING
12762
+ - EXTERNAL
12762
12763
  title: StatusTagType
12763
12764
  type: string
12764
12765
  StrictMoneyDecimal:
@@ -14724,6 +14725,8 @@ components:
14724
14725
  description: 'Billing period; offered: 1 month or 1 year'
14725
14726
  tier:
14726
14727
  const: base
14728
+ description: Tier discriminator; base = served on a managed subdomain of
14729
+ an OpusDNS-owned zone
14727
14730
  title: Tier
14728
14731
  type: string
14729
14732
  required:
@@ -14778,8 +14781,8 @@ components:
14778
14781
  fixing DNS). hostname + auth_subdomain present = re-point a wrong domain before
14779
14782
  re-running
14780
14783
 
14781
- (pre-provisioning only; server rejects once a Keycloak client exists). Plus
14782
- tier only - a
14784
+ (pre-provisioning only; server rejects once an authentication client exists).
14785
+ Plus tier only - a
14783
14786
 
14784
14787
  base whitelabel is re-labelled through PATCH instead.'
14785
14788
  properties:
@@ -14789,6 +14792,7 @@ components:
14789
14792
  minLength: 1
14790
14793
  type: string
14791
14794
  - type: 'null'
14795
+ description: Subdomain the login is served on; required together with hostname
14792
14796
  title: Auth Subdomain
14793
14797
  dashboard_subdomain:
14794
14798
  anyOf:
@@ -14796,6 +14800,8 @@ components:
14796
14800
  minLength: 1
14797
14801
  type: string
14798
14802
  - type: 'null'
14803
+ description: Subdomain the dashboard is served on; omit for apex. Only together
14804
+ with hostname.
14799
14805
  title: Dashboard Subdomain
14800
14806
  hostname:
14801
14807
  anyOf:
@@ -14803,6 +14809,8 @@ components:
14803
14809
  minLength: 1
14804
14810
  type: string
14805
14811
  - type: 'null'
14812
+ description: New domain to run the whitelabel under; omit to re-run against
14813
+ the stored hosts
14806
14814
  title: Hostname
14807
14815
  title: WhitelabelBrandingRecheck
14808
14816
  type: object
@@ -14810,11 +14818,15 @@ components:
14810
14818
  description: Public read shape for an organization's whitelabel branding config.
14811
14819
  properties:
14812
14820
  auth_hostname:
14821
+ description: Auth/login hostname served by the authentication system (e.g.
14822
+ auth.customer.com)
14813
14823
  maxLength: 255
14814
14824
  minLength: 1
14815
14825
  title: Auth Hostname
14816
14826
  type: string
14817
14827
  base_label:
14828
+ description: Managed-subdomain label; served on the base tier, reserved
14829
+ on plus
14818
14830
  maxLength: 255
14819
14831
  minLength: 1
14820
14832
  title: Base Label
@@ -14825,16 +14837,21 @@ components:
14825
14837
  type: string
14826
14838
  enabled:
14827
14839
  default: true
14840
+ description: Whether this whitelabel is served; false freezes serving but
14841
+ keeps the config
14828
14842
  title: Enabled
14829
14843
  type: boolean
14830
14844
  failure_code:
14831
14845
  anyOf:
14832
14846
  - $ref: '#/components/schemas/WhitelabelOnboardingFailureCode'
14833
14847
  - type: 'null'
14848
+ description: Stable code of the last terminal onboarding failure
14834
14849
  failure_detail:
14835
14850
  anyOf:
14836
14851
  - type: string
14837
14852
  - type: 'null'
14853
+ description: Free-text detail of the last onboarding failure (support/debugging,
14854
+ not for customer display)
14838
14855
  title: Failure Detail
14839
14856
  failure_type:
14840
14857
  anyOf:
@@ -14842,6 +14859,7 @@ components:
14842
14859
  - type: 'null'
14843
14860
  readOnly: true
14844
14861
  hostname:
14862
+ description: Dashboard hostname being served (e.g. app.customer.com)
14845
14863
  maxLength: 255
14846
14864
  minLength: 1
14847
14865
  title: Hostname
@@ -14852,9 +14870,12 @@ components:
14852
14870
  minLength: 1
14853
14871
  type: string
14854
14872
  - type: 'null'
14873
+ description: Authentication-system client provisioned for this whitelabel;
14874
+ null until provisioning
14855
14875
  title: Keycloak Client Id
14856
14876
  onboarding_status:
14857
14877
  $ref: '#/components/schemas/WhitelabelOnboardingStatus'
14878
+ description: Onboarding lifecycle state
14858
14879
  organization_id:
14859
14880
  examples:
14860
14881
  - organization_01h45ytscbebyvny4gc8cr8ma2
@@ -14867,13 +14888,18 @@ components:
14867
14888
  anyOf:
14868
14889
  - $ref: '#/components/schemas/WhitelabelSubscriptionInfo'
14869
14890
  - type: 'null'
14891
+ description: Billing-lifecycle block; null when the config has no live subscription
14892
+ (provisioning or terminated)
14870
14893
  tier:
14871
14894
  $ref: '#/components/schemas/WhitelabelBrandingTier'
14895
+ description: 'Tier this config is on: base (managed subdomain) or plus (customer''s
14896
+ own domain)'
14872
14897
  updated_on:
14873
14898
  format: date-time
14874
14899
  title: Updated On
14875
14900
  type: string
14876
14901
  verification_domain:
14902
+ description: Registrable domain of the served hostname
14877
14903
  maxLength: 255
14878
14904
  minLength: 1
14879
14905
  title: Verification Domain
@@ -14965,7 +14991,7 @@ components:
14965
14991
  subdomain (kept for the redirect/downgrade).'
14966
14992
  properties:
14967
14993
  auth_subdomain:
14968
- description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
14994
+ description: Subdomain the login is served on (e.g. auth -> auth.customer.com)
14969
14995
  maxLength: 255
14970
14996
  minLength: 1
14971
14997
  title: Auth Subdomain
@@ -14997,6 +15023,7 @@ components:
14997
15023
  description: 'Billing period; offered: 1 month or 1 year'
14998
15024
  tier:
14999
15025
  const: plus
15026
+ description: Tier discriminator; plus = served on the customer's own domain
15000
15027
  title: Tier
15001
15028
  type: string
15002
15029
  required:
@@ -15043,23 +15070,35 @@ components:
15043
15070
  - format: date-time
15044
15071
  type: string
15045
15072
  - type: 'null'
15073
+ description: End of the current paid term; on an expiring config, when serving
15074
+ stops
15046
15075
  title: Expires On
15047
15076
  grace_period_ends_at:
15048
15077
  anyOf:
15049
15078
  - format: date-time
15050
15079
  type: string
15051
15080
  - type: 'null'
15081
+ description: End of the grace period, if the subscription is in one
15052
15082
  title: Grace Period Ends At
15083
+ period:
15084
+ $ref: '#/components/schemas/Period'
15085
+ description: Billing period the subscription renews on (same shape as the
15086
+ create body's period)
15053
15087
  renew_scheduled_at:
15054
15088
  anyOf:
15055
15089
  - format: date-time
15056
15090
  type: string
15057
15091
  - type: 'null'
15092
+ description: When the next automatic renewal runs; only surfaced on a renewing
15093
+ config
15058
15094
  title: Renew Scheduled At
15059
15095
  renewal_mode:
15060
15096
  $ref: '#/components/schemas/WhitelabelRenewalMode'
15097
+ description: Whether the subscription auto-renews (renew) or lapses at period
15098
+ end (expire, i.e. cancelled)
15061
15099
  required:
15062
15100
  - renewal_mode
15101
+ - period
15063
15102
  title: WhitelabelSubscriptionInfo
15064
15103
  type: object
15065
15104
  WhitelabelUpgradeToPlus:
@@ -15079,7 +15118,7 @@ components:
15079
15118
  instead - so this body only ever moves to plus (no tier field, no period).'
15080
15119
  properties:
15081
15120
  auth_subdomain:
15082
- description: Subdomain the Keycloak login is served on (e.g. auth -> auth.customer.com)
15121
+ description: Subdomain the login is served on (e.g. auth -> auth.customer.com)
15083
15122
  maxLength: 255
15084
15123
  minLength: 1
15085
15124
  title: Auth Subdomain
@@ -15547,7 +15586,7 @@ info:
15547
15586
  \n\n"
15548
15587
  summary: OpusDNS - your gateway to a seamless domain management experience.
15549
15588
  title: OpusDNS API
15550
- version: 2026-08-18-162915
15589
+ version: 2026-08-19-212332
15551
15590
  x-logo:
15552
15591
  altText: OpusDNS API Reference
15553
15592
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -11325,7 +11325,7 @@ export interface components {
11325
11325
  * StatusTagType
11326
11326
  * @enum {string}
11327
11327
  */
11328
- StatusTagType: "VERIFICATION_REQUIRED" | "CREATE_REQUESTED" | "INBOUND_TRANSFER_PENDING" | "OUTBOUND_TRANSFER_PENDING";
11328
+ StatusTagType: "VERIFICATION_REQUIRED" | "CREATE_REQUESTED" | "INBOUND_TRANSFER_PENDING" | "OUTBOUND_TRANSFER_PENDING" | "EXTERNAL";
11329
11329
  /** @example 12.50 */
11330
11330
  StrictMoneyDecimal: string;
11331
11331
  /** Support */
@@ -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
  /**