@replicated/portal-components 0.0.19 → 0.0.21

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.
Files changed (244) hide show
  1. package/components/metadata/registry.json +2 -2
  2. package/components/metadata/registry.md +2 -2
  3. package/dist/actions/change-team.js +66 -7
  4. package/dist/actions/change-team.js.map +1 -1
  5. package/dist/actions/index.d.mts +3 -1
  6. package/dist/actions/index.d.ts +3 -1
  7. package/dist/actions/index.js +182 -465
  8. package/dist/actions/index.js.map +1 -1
  9. package/dist/actions/install-actions.d.mts +3 -1
  10. package/dist/actions/install-actions.d.ts +3 -1
  11. package/dist/actions/install-actions.js +58 -5
  12. package/dist/actions/install-actions.js.map +1 -1
  13. package/dist/actions/service-account.d.mts +3 -1
  14. package/dist/actions/service-account.d.ts +3 -1
  15. package/dist/actions/service-account.js +58 -5
  16. package/dist/actions/service-account.js.map +1 -1
  17. package/dist/actions/support-bundles.d.mts +3 -1
  18. package/dist/actions/support-bundles.d.ts +3 -1
  19. package/dist/actions/support-bundles.js +58 -5
  20. package/dist/actions/support-bundles.js.map +1 -1
  21. package/dist/actions/team-settings.d.mts +3 -1
  22. package/dist/actions/team-settings.d.ts +3 -1
  23. package/dist/actions/team-settings.js +91 -27
  24. package/dist/actions/team-settings.js.map +1 -1
  25. package/dist/actions/trial-signup.d.mts +24 -0
  26. package/dist/actions/trial-signup.d.ts +24 -0
  27. package/dist/actions/trial-signup.js +482 -0
  28. package/dist/actions/trial-signup.js.map +1 -0
  29. package/dist/actions/user-settings.d.mts +3 -1
  30. package/dist/actions/user-settings.d.ts +3 -1
  31. package/dist/actions/user-settings.js +58 -5
  32. package/dist/actions/user-settings.js.map +1 -1
  33. package/dist/airgap-instances.d.mts +3 -1
  34. package/dist/airgap-instances.d.ts +3 -1
  35. package/dist/airgap-instances.js +41 -112
  36. package/dist/airgap-instances.js.map +1 -1
  37. package/dist/branding-BsMSywts.d.mts +36 -0
  38. package/dist/branding-BsMSywts.d.ts +36 -0
  39. package/dist/error-page.js +10 -2
  40. package/dist/error-page.js.map +1 -1
  41. package/dist/error.js +10 -2
  42. package/dist/error.js.map +1 -1
  43. package/dist/esm/actions/change-team.js +66 -7
  44. package/dist/esm/actions/change-team.js.map +1 -1
  45. package/dist/esm/actions/index.js +181 -462
  46. package/dist/esm/actions/index.js.map +1 -1
  47. package/dist/esm/actions/install-actions.js +58 -5
  48. package/dist/esm/actions/install-actions.js.map +1 -1
  49. package/dist/esm/actions/service-account.js +58 -5
  50. package/dist/esm/actions/service-account.js.map +1 -1
  51. package/dist/esm/actions/support-bundles.js +58 -5
  52. package/dist/esm/actions/support-bundles.js.map +1 -1
  53. package/dist/esm/actions/team-settings.js +91 -27
  54. package/dist/esm/actions/team-settings.js.map +1 -1
  55. package/dist/esm/actions/trial-signup.js +478 -0
  56. package/dist/esm/actions/trial-signup.js.map +1 -0
  57. package/dist/esm/actions/user-settings.js +58 -5
  58. package/dist/esm/actions/user-settings.js.map +1 -1
  59. package/dist/esm/airgap-instances.js +40 -112
  60. package/dist/esm/airgap-instances.js.map +1 -1
  61. package/dist/esm/error-page.js +10 -2
  62. package/dist/esm/error-page.js.map +1 -1
  63. package/dist/esm/error.js +10 -2
  64. package/dist/esm/error.js.map +1 -1
  65. package/dist/esm/helm-install-wizard.js +118 -79
  66. package/dist/esm/helm-install-wizard.js.map +1 -1
  67. package/dist/esm/index.js +706 -438
  68. package/dist/esm/index.js.map +1 -1
  69. package/dist/esm/install-actions.js +40 -5
  70. package/dist/esm/install-actions.js.map +1 -1
  71. package/dist/esm/install-card.js +9 -6
  72. package/dist/esm/install-card.js.map +1 -1
  73. package/dist/esm/install-targets.js +9 -2
  74. package/dist/esm/install-targets.js.map +1 -1
  75. package/dist/esm/instance-card.js +39 -111
  76. package/dist/esm/instance-card.js.map +1 -1
  77. package/dist/esm/join-team.js +9 -3
  78. package/dist/esm/join-team.js.map +1 -1
  79. package/dist/esm/license-card.js +24 -22
  80. package/dist/esm/license-card.js.map +1 -1
  81. package/dist/esm/license-details.js +128 -334
  82. package/dist/esm/license-details.js.map +1 -1
  83. package/dist/esm/linux-install-wizard.js +95 -41
  84. package/dist/esm/linux-install-wizard.js.map +1 -1
  85. package/dist/esm/login.js +20 -4
  86. package/dist/esm/login.js.map +1 -1
  87. package/dist/esm/middleware.js +33 -0
  88. package/dist/esm/middleware.js.map +1 -0
  89. package/dist/esm/online-instance-list.js +40 -112
  90. package/dist/esm/online-instance-list.js.map +1 -1
  91. package/dist/esm/release-history-panel.js +27 -14
  92. package/dist/esm/release-history-panel.js.map +1 -1
  93. package/dist/esm/saml-callback-client.js +82 -0
  94. package/dist/esm/saml-callback-client.js.map +1 -0
  95. package/dist/esm/saml-handlers.js +138 -0
  96. package/dist/esm/saml-handlers.js.map +1 -0
  97. package/dist/esm/security-card.js +53 -38
  98. package/dist/esm/security-card.js.map +1 -1
  99. package/dist/esm/service-accounts-tab.js +800 -0
  100. package/dist/esm/service-accounts-tab.js.map +1 -0
  101. package/dist/esm/support-bundle-collection-card.js +48 -24
  102. package/dist/esm/support-bundle-collection-card.js.map +1 -1
  103. package/dist/esm/support-bundles-card.js +10 -5
  104. package/dist/esm/support-bundles-card.js.map +1 -1
  105. package/dist/esm/support-card.js +37 -5
  106. package/dist/esm/support-card.js.map +1 -1
  107. package/dist/esm/team-selection.js +5 -1
  108. package/dist/esm/team-selection.js.map +1 -1
  109. package/dist/esm/team-settings-card.js +5 -2
  110. package/dist/esm/team-settings-card.js.map +1 -1
  111. package/dist/esm/team-settings.js +7 -2
  112. package/dist/esm/team-settings.js.map +1 -1
  113. package/dist/esm/top-nav-user-menu.js +5 -1
  114. package/dist/esm/top-nav-user-menu.js.map +1 -1
  115. package/dist/esm/top-nav.js +175 -62
  116. package/dist/esm/top-nav.js.map +1 -1
  117. package/dist/esm/trial-signup.js +256 -0
  118. package/dist/esm/trial-signup.js.map +1 -0
  119. package/dist/esm/update-layout.js +175 -62
  120. package/dist/esm/update-layout.js.map +1 -1
  121. package/dist/esm/updates-card.js +15 -4
  122. package/dist/esm/updates-card.js.map +1 -1
  123. package/dist/esm/upload-support-bundle-modal.js +9 -4
  124. package/dist/esm/upload-support-bundle-modal.js.map +1 -1
  125. package/dist/esm/user-settings-card.js +5 -2
  126. package/dist/esm/user-settings-card.js.map +1 -1
  127. package/dist/esm/user-settings.js +12 -6
  128. package/dist/esm/user-settings.js.map +1 -1
  129. package/dist/esm/utils/index.js +204 -13
  130. package/dist/esm/utils/index.js.map +1 -1
  131. package/dist/fetch-license-iTyF7_GY.d.mts +81 -0
  132. package/dist/fetch-license-iTyF7_GY.d.ts +81 -0
  133. package/dist/helm-install-wizard.d.mts +11 -3
  134. package/dist/helm-install-wizard.d.ts +11 -3
  135. package/dist/helm-install-wizard.js +118 -79
  136. package/dist/helm-install-wizard.js.map +1 -1
  137. package/dist/{index-BAiVrSSR.d.mts → index-DyzJ0yKD.d.mts} +48 -50
  138. package/dist/{index-DWt-N5od.d.ts → index-sMbq94M7.d.ts} +48 -50
  139. package/dist/index.d.mts +8 -2
  140. package/dist/index.d.ts +8 -2
  141. package/dist/index.js +726 -438
  142. package/dist/index.js.map +1 -1
  143. package/dist/install-actions.d.mts +4 -2
  144. package/dist/install-actions.d.ts +4 -2
  145. package/dist/install-actions.js +40 -5
  146. package/dist/install-actions.js.map +1 -1
  147. package/dist/install-card.d.mts +2 -3
  148. package/dist/install-card.d.ts +2 -3
  149. package/dist/install-card.js +9 -6
  150. package/dist/install-card.js.map +1 -1
  151. package/dist/install-targets.js +9 -2
  152. package/dist/install-targets.js.map +1 -1
  153. package/dist/instance-card.d.mts +3 -1
  154. package/dist/instance-card.d.ts +3 -1
  155. package/dist/instance-card.js +40 -111
  156. package/dist/instance-card.js.map +1 -1
  157. package/dist/join-team.js +9 -3
  158. package/dist/join-team.js.map +1 -1
  159. package/dist/license-card.d.mts +2 -3
  160. package/dist/license-card.d.ts +2 -3
  161. package/dist/license-card.js +24 -22
  162. package/dist/license-card.js.map +1 -1
  163. package/dist/license-details.js +128 -334
  164. package/dist/license-details.js.map +1 -1
  165. package/dist/linux-install-wizard.d.mts +9 -3
  166. package/dist/linux-install-wizard.d.ts +9 -3
  167. package/dist/linux-install-wizard.js +95 -41
  168. package/dist/linux-install-wizard.js.map +1 -1
  169. package/dist/login.d.mts +4 -0
  170. package/dist/login.d.ts +4 -0
  171. package/dist/login.js +20 -4
  172. package/dist/login.js.map +1 -1
  173. package/dist/middleware.d.mts +13 -0
  174. package/dist/middleware.d.ts +13 -0
  175. package/dist/middleware.js +35 -0
  176. package/dist/middleware.js.map +1 -0
  177. package/dist/online-instance-list.d.mts +3 -1
  178. package/dist/online-instance-list.d.ts +3 -1
  179. package/dist/online-instance-list.js +41 -112
  180. package/dist/online-instance-list.js.map +1 -1
  181. package/dist/pending-installations.d.mts +3 -1
  182. package/dist/pending-installations.d.ts +3 -1
  183. package/dist/release-history-panel.js +27 -14
  184. package/dist/release-history-panel.js.map +1 -1
  185. package/dist/saml-callback-client.d.mts +36 -0
  186. package/dist/saml-callback-client.d.ts +36 -0
  187. package/dist/saml-callback-client.js +88 -0
  188. package/dist/saml-callback-client.js.map +1 -0
  189. package/dist/saml-handlers.d.mts +50 -0
  190. package/dist/saml-handlers.d.ts +50 -0
  191. package/dist/saml-handlers.js +141 -0
  192. package/dist/saml-handlers.js.map +1 -0
  193. package/dist/security-card.d.mts +3 -1
  194. package/dist/security-card.d.ts +3 -1
  195. package/dist/security-card.js +53 -38
  196. package/dist/security-card.js.map +1 -1
  197. package/dist/service-accounts-tab.d.mts +51 -0
  198. package/dist/service-accounts-tab.d.ts +51 -0
  199. package/dist/service-accounts-tab.js +802 -0
  200. package/dist/service-accounts-tab.js.map +1 -0
  201. package/dist/styles.css +375 -127
  202. package/dist/support-bundle-collection-card.d.mts +1 -1
  203. package/dist/support-bundle-collection-card.d.ts +1 -1
  204. package/dist/support-bundle-collection-card.js +47 -23
  205. package/dist/support-bundle-collection-card.js.map +1 -1
  206. package/dist/support-bundles-card.d.mts +4 -2
  207. package/dist/support-bundles-card.d.ts +4 -2
  208. package/dist/support-bundles-card.js +10 -5
  209. package/dist/support-bundles-card.js.map +1 -1
  210. package/dist/support-card.js +37 -5
  211. package/dist/support-card.js.map +1 -1
  212. package/dist/team-selection.js +5 -1
  213. package/dist/team-selection.js.map +1 -1
  214. package/dist/team-settings-card.js +5 -2
  215. package/dist/team-settings-card.js.map +1 -1
  216. package/dist/team-settings.js +7 -2
  217. package/dist/team-settings.js.map +1 -1
  218. package/dist/{top-nav-IRIn66wS.d.ts → top-nav-BUQAGoG1.d.mts} +14 -2
  219. package/dist/{top-nav-IRIn66wS.d.mts → top-nav-CEqw0KpO.d.ts} +14 -2
  220. package/dist/top-nav-user-menu.js +5 -1
  221. package/dist/top-nav-user-menu.js.map +1 -1
  222. package/dist/top-nav.d.mts +2 -1
  223. package/dist/top-nav.d.ts +2 -1
  224. package/dist/top-nav.js +175 -62
  225. package/dist/top-nav.js.map +1 -1
  226. package/dist/trial-signup.d.mts +31 -0
  227. package/dist/trial-signup.d.ts +31 -0
  228. package/dist/trial-signup.js +258 -0
  229. package/dist/trial-signup.js.map +1 -0
  230. package/dist/update-layout.js +175 -62
  231. package/dist/update-layout.js.map +1 -1
  232. package/dist/updates-card.js +15 -4
  233. package/dist/updates-card.js.map +1 -1
  234. package/dist/upload-support-bundle-modal.js +9 -4
  235. package/dist/upload-support-bundle-modal.js.map +1 -1
  236. package/dist/user-settings-card.js +5 -2
  237. package/dist/user-settings-card.js.map +1 -1
  238. package/dist/user-settings.js +12 -6
  239. package/dist/user-settings.js.map +1 -1
  240. package/dist/utils/index.d.mts +74 -16
  241. package/dist/utils/index.d.ts +74 -16
  242. package/dist/utils/index.js +215 -12
  243. package/dist/utils/index.js.map +1 -1
  244. package/package.json +37 -2
@@ -1,4 +1,6 @@
1
+ import { L as License } from './fetch-license-iTyF7_GY.mjs';
1
2
  import './actions/change-team.mjs';
3
+ import './actions/trial-signup.mjs';
2
4
 
3
5
  /**
4
6
  * Install-related server actions for the Linux and Helm installation wizards.
@@ -342,7 +344,17 @@ declare const toggleSamlEnabledAction: (enabled: boolean) => Promise<{
342
344
  declare const deprovisionSamlAction: () => Promise<{
343
345
  success: boolean;
344
346
  }>;
345
- declare const getSamlFeatureEnabled: () => Promise<boolean>;
347
+ interface AppFeatures {
348
+ epEnabled: boolean;
349
+ trialSignupEnabled: boolean;
350
+ trialExpirationDays: number;
351
+ licenseType: string;
352
+ termsAndConditionsUrl: string;
353
+ epSecurityCenterEnabled: boolean;
354
+ epSamlAuthEnabled: boolean;
355
+ epHideSupportBundleUploadEnabled: boolean;
356
+ }
357
+ declare const fetchAppFeatures: () => Promise<AppFeatures>;
346
358
 
347
359
  declare const fetchCurrentUserAction: () => Promise<UserProfile>;
348
360
  declare const updateUserAction: (data: {
@@ -404,6 +416,7 @@ declare const fetchUser: () => Promise<UserResult>;
404
416
  * specific actions, but it exports helpers so downstream portals can describe
405
417
  * their actions with consistent metadata.
406
418
  */
419
+
407
420
  /**
408
421
  * Gets the base API origin from environment, with trailing slashes removed.
409
422
  */
@@ -478,26 +491,6 @@ interface CustomBrandingResponse {
478
491
  brandingData: string;
479
492
  documentation: unknown;
480
493
  }
481
- interface PortalLicenseField {
482
- key: string;
483
- label: string;
484
- value: string | null;
485
- isSecret?: boolean;
486
- }
487
- interface PortalLicenseDetails {
488
- id?: string;
489
- status?: string;
490
- statusLabel?: string;
491
- environment?: string;
492
- expiresAt?: string | null;
493
- releaseChannels?: string[];
494
- installMethods?: string[];
495
- installNotes?: string;
496
- customerName?: string;
497
- customerId?: string;
498
- customerOrganization?: string;
499
- fields: PortalLicenseField[];
500
- }
501
494
  interface ListSupportBundlesInput {
502
495
  token: string;
503
496
  }
@@ -553,27 +546,10 @@ interface UploadSupportBundleCompleteResult {
553
546
  bundleId: string;
554
547
  slug: string;
555
548
  }
556
- interface FetchLicenseDetailsInput {
557
- token: string;
558
- }
559
- interface FetchLicenseDetailsResult {
560
- license: PortalLicenseDetails;
561
- raw: unknown;
562
- }
563
- interface FetchInstallOptionsInput {
564
- token: string;
565
- }
566
- interface FetchInstallOptionsResult {
567
- showLinux: boolean;
568
- showHelm: boolean;
569
- }
570
- interface FetchLicenseSummaryInput {
571
- token: string;
572
- }
573
- interface FetchLicenseSummaryResult {
574
- type: string;
575
- expiresAt: string | null;
549
+
550
+ interface FetchLicenseInput {
576
551
  }
552
+ type FetchLicenseResult = License;
577
553
  interface FetchCustomersInput {
578
554
  token: string;
579
555
  }
@@ -595,12 +571,37 @@ interface SwitchCustomerInput {
595
571
  interface SwitchCustomerResult {
596
572
  token: string;
597
573
  }
598
- interface ListReleasesInput {
599
- token: string;
574
+ interface ReleaseHelmChart {
575
+ name: string;
576
+ version: string;
577
+ error?: string;
578
+ is_kots_installer_only?: boolean;
579
+ }
580
+ interface DownloadPortalRelease {
581
+ channel_sequence: number;
582
+ release_sequence: number;
583
+ is_required: boolean;
584
+ has_kurl_installer: boolean;
585
+ release_date: string;
586
+ label: string;
587
+ release_notes: string;
588
+ download_link: string;
589
+ build_status: string;
590
+ last_update_time: string;
591
+ checksum: string;
592
+ airgap_bundle_images: string[];
593
+ helm_images: string[];
594
+ helm_charts: ReleaseHelmChart[];
595
+ target_kots_version: string;
596
+ embedded_cluster_airgap_bundle_url: string;
597
+ has_ec_installer: boolean;
598
+ ec_version: string;
599
+ ec_replicated_app_domain: string;
600
+ ec_proxy_registry_domain: string;
600
601
  }
601
602
  interface ListReleasesResult {
602
- status: number;
603
- body: string | null;
603
+ releases: DownloadPortalRelease[];
604
+ totalCount: number;
604
605
  }
605
606
  /**
606
607
  * Fetches custom branding for the portal.
@@ -622,10 +623,7 @@ declare const uploadSupportBundle: PortalServerActionDefinition<UploadSupportBun
622
623
  * Use this when you need progress indication - call this to get the URL, then upload directly from client.
623
624
  */
624
625
  declare const getSupportBundleUploadUrl: (appId: string) => string;
625
- declare const listReleases: PortalServerActionDefinition<ListReleasesInput, ListReleasesResult>;
626
- declare const fetchLicenseDetails: PortalServerActionDefinition<FetchLicenseDetailsInput, FetchLicenseDetailsResult>;
627
- declare const fetchInstallOptions: PortalServerActionDefinition<FetchInstallOptionsInput, FetchInstallOptionsResult>;
628
- declare const fetchLicenseSummary: PortalServerActionDefinition<FetchLicenseSummaryInput, FetchLicenseSummaryResult>;
626
+ declare const listReleases: () => Promise<ListReleasesResult>;
629
627
  declare const fetchCustomers: PortalServerActionDefinition<FetchCustomersInput, FetchCustomersResult>;
630
628
  declare const switchCustomer: PortalServerActionDefinition<SwitchCustomerInput, SwitchCustomerResult>;
631
629
  type SecurityInstallType = "linux" | "helm";
@@ -1035,4 +1033,4 @@ interface RefreshInviteResult {
1035
1033
  */
1036
1034
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
1037
1035
 
1038
- export { type PortalServerActionDefinition as $, downloadSupportBundle as A, deleteSupportBundle as B, type ChannelRelease as C, type DiscardInstallationResult as D, uploadSupportBundle as E, type FetchChannelReleasesResult as F, type GetSecurityInfoDiffResult as G, getSupportBundleUploadUrl as H, type InstallOptions as I, decodeJwtPayload as J, getCustomerIdFromToken as K, verifyMagicLink as L, fetchDashboardComposite as M, type NetworkAvailability as N, getSecurityInfo as O, type PendingInstallation as P, getSecurityInfoDiff as Q, getSecurityInfoSBOM as R, type SecurityReleaseImage as S, downloadSecuritySBOM as T, type UpdateInstallOptionsInput as U, fetchCurrentUser as V, updateUser as W, fetchNotifications as X, updateNotifications as Y, type PortalActionContext as Z, type PortalActionVisibility as _, type CreateServiceAccountResult as a, updateInstallOptionsAction as a$, type CustomBrandingResponse as a0, type FetchLicenseDetailsInput as a1, type FetchLicenseDetailsResult as a2, type ListReleasesInput as a3, type ListReleasesResult as a4, type PortalLicenseDetails as a5, type PortalLicenseField as a6, type InitiateLoginInput as a7, type InitiateLoginResult as a8, type VerifyMagicLinkInput as a9, type UpdateUserResult as aA, type NotificationSetting as aB, type FetchNotificationsInput as aC, type FetchNotificationsResult as aD, type UpdateNotificationsInput as aE, type UpdateNotificationsResult as aF, fetchPendingInstallations as aG, discardInstallation as aH, getUpdateInstructions as aI, filterHelmReleases as aJ, type EmbeddedClusterInstallationType as aK, type HelmInstallationType as aL, type InstallationTypes as aM, type FetchChannelReleasesInput as aN, type InstallType as aO, type RegistryAvailability as aP, type KubernetesDistribution as aQ, type InstallStatus as aR, type FetchPendingInstallationsInput as aS, type DiscardInstallationInput as aT, type GetUpdateInstructionsInput as aU, type GetUpdateInstructionsResult as aV, type UpdateInstructions as aW, fetchPendingInstallationsAction as aX, fetchChannelReleasesAction as aY, createInstallOptionsAction as aZ, getInstallOptionsAction as a_, type VerifyMagicLinkResult as aa, type VerifyMagicLinkError as ab, type ListSupportBundlesInput as ac, type ListSupportBundlesResult as ad, type SupportBundleInsight as ae, type DownloadSupportBundleInput as af, type DownloadSupportBundleResult as ag, type DeleteSupportBundleInput as ah, type DeleteSupportBundleResult as ai, type UploadSupportBundleCompleteInput as aj, type UploadSupportBundleCompleteResult as ak, type SecurityInstallType as al, type SecurityScanSummary as am, type SecurityScanWrapper as an, type GetSecurityInfoInput as ao, type GetSecurityInfoResult as ap, type SecurityInfoDiff as aq, type GetSecurityInfoDiffInput as ar, type SBOMMetadata as as, type GetSecurityInfoSBOMInput as at, type GetSecurityInfoSBOMResult as au, type DownloadSBOMInput as av, type FetchCurrentUserInput as aw, type FetchCurrentUserResult as ax, type UserProfile as ay, type UpdateUserInput as az, type CreateInstallOptionsInput as b, type RotateServiceAccountTokenInput as b$, discardInstallationAction as b0, createServiceAccountAction$1 as b1, fetchTeamUsersAction as b2, inviteUserAction as b3, deleteUserAction as b4, fetchServiceAccountsAction as b5, createServiceAccountAction as b6, revokeServiceAccountAction as b7, rotateServiceAccountTokenAction as b8, fetchInstancesAction as b9, type FetchLicenseSummaryInput as bA, type FetchCustomersInput as bB, type Customer as bC, type FetchCustomersResult as bD, type SwitchCustomerInput as bE, type SwitchCustomerResult as bF, fetchInstallOptions as bG, fetchLicenseSummary as bH, fetchCustomers as bI, switchCustomer as bJ, type FetchTeamStatsInput as bK, type ServiceAccountSummary as bL, type FetchTeamStatsResult as bM, type FetchDashboardInstancesInput as bN, type FetchDashboardInstancesResult as bO, fetchTeamStats as bP, fetchDashboardInstances as bQ, type FetchTeamUsersInput as bR, type FetchTeamUsersResult as bS, type InviteUserInput as bT, type InviteUserResult as bU, type DeleteUserInput as bV, type DeleteUserResult as bW, type FetchServiceAccountsInput as bX, type FetchServiceAccountsResult as bY, type RevokeServiceAccountInput as bZ, type RevokeServiceAccountResult as b_, fetchSamlConfigAction as ba, updateSamlConfigAction as bb, toggleSamlEnabledAction as bc, deprovisionSamlAction as bd, getSamlFeatureEnabled as be, type SAMLConfig as bf, type ServiceAccount as bg, type Instance as bh, type TeamUser as bi, fetchCurrentUserAction as bj, updateUserAction as bk, fetchNotificationsAction as bl, updateNotificationsAction as bm, type TeamForUserSettings as bn, fetchTeamsForUserSettings as bo, type ActionResult as bp, type UploadSupportBundleResult$1 as bq, type ListBundlesResult as br, downloadSupportBundleAction as bs, deleteSupportBundleAction as bt, uploadSupportBundleAction as bu, listSupportBundlesAction as bv, getApiOrigin as bw, type UploadSupportBundleInput as bx, type UploadSupportBundleResult as by, type FetchInstallOptionsInput as bz, type CreateInstallOptionsResult as c, type RotateServiceAccountTokenResult as c0, type FetchInstancesInput as c1, type FetchInstancesResult as c2, type FetchSamlConfigInput as c3, type FetchSamlConfigResult as c4, type UpdateSamlConfigInput as c5, type UpdateSamlConfigResult as c6, type ToggleSamlEnabledInput as c7, type ToggleSamlEnabledResult as c8, type DeprovisionSamlInput as c9, type DeprovisionSamlResult as ca, fetchTeamUsers as cb, inviteUser as cc, deleteUser as cd, fetchServiceAccounts as ce, revokeServiceAccount as cf, rotateServiceAccountToken as cg, fetchInstances as ch, fetchSamlConfig as ci, updateSamlConfig as cj, toggleSamlEnabled as ck, deprovisionSaml as cl, type AcceptInviteInput as cm, type AcceptInviteResult as cn, type AcceptInviteError as co, acceptInvite as cp, type RefreshInviteInput as cq, type RefreshInviteResult as cr, refreshInvite as cs, fetchAppInfo as ct, fetchUser as cu, type UserResult as cv, type UserContext as cw, type UserPermissions as cx, type GetInstallOptionsInput as d, type GetInstallOptionsResult as e, type UpdateInstallOptionsResult as f, createServiceAccount as g, type CreateServiceAccountInput as h, type ServiceAccountData as i, type FetchInstallOptionsResult as j, type FetchLicenseSummaryResult as k, fetchChannelReleases as l, createInstallOptions as m, getInstallOptions as n, filterEmbeddedClusterReleases as o, type InstallInstructions as p, type InstallStep as q, type FetchPendingInstallationsResult as r, type SupportBundleSummary as s, defineServerAction as t, updateInstallOptions as u, fetchCustomBranding as v, fetchLicenseDetails as w, listReleases as x, initiateLogin as y, listSupportBundles as z };
1036
+ export { type FetchLicenseResult as $, getSupportBundleUploadUrl as A, decodeJwtPayload as B, type ChannelRelease as C, type DiscardInstallationResult as D, getCustomerIdFromToken as E, type FetchChannelReleasesResult as F, type GetSecurityInfoDiffResult as G, verifyMagicLink as H, type InstallOptions as I, fetchDashboardComposite as J, getSecurityInfo as K, getSecurityInfoDiff as L, getSecurityInfoSBOM as M, type NetworkAvailability as N, downloadSecuritySBOM as O, type PendingInstallation as P, fetchCurrentUser as Q, updateUser as R, type SecurityReleaseImage as S, fetchNotifications as T, type UpdateInstallOptionsInput as U, updateNotifications as V, type PortalActionContext as W, type PortalActionVisibility as X, type PortalServerActionDefinition as Y, type CustomBrandingResponse as Z, type FetchLicenseInput as _, type CreateServiceAccountResult as a, inviteUserAction as a$, type ReleaseHelmChart as a0, type DownloadPortalRelease as a1, type ListReleasesResult as a2, type InitiateLoginInput as a3, type InitiateLoginResult as a4, type VerifyMagicLinkInput as a5, type VerifyMagicLinkResult as a6, type VerifyMagicLinkError as a7, type ListSupportBundlesInput as a8, type ListSupportBundlesResult as a9, type UpdateNotificationsInput as aA, type UpdateNotificationsResult as aB, fetchPendingInstallations as aC, discardInstallation as aD, getUpdateInstructions as aE, filterHelmReleases as aF, type EmbeddedClusterInstallationType as aG, type HelmInstallationType as aH, type InstallationTypes as aI, type FetchChannelReleasesInput as aJ, type InstallType as aK, type RegistryAvailability as aL, type KubernetesDistribution as aM, type InstallStatus as aN, type FetchPendingInstallationsInput as aO, type DiscardInstallationInput as aP, type GetUpdateInstructionsInput as aQ, type GetUpdateInstructionsResult as aR, type UpdateInstructions as aS, fetchPendingInstallationsAction as aT, fetchChannelReleasesAction as aU, createInstallOptionsAction as aV, getInstallOptionsAction as aW, updateInstallOptionsAction as aX, discardInstallationAction as aY, createServiceAccountAction$1 as aZ, fetchTeamUsersAction as a_, type SupportBundleInsight as aa, type DownloadSupportBundleInput as ab, type DownloadSupportBundleResult as ac, type DeleteSupportBundleInput as ad, type DeleteSupportBundleResult as ae, type UploadSupportBundleCompleteInput as af, type UploadSupportBundleCompleteResult as ag, type SecurityInstallType as ah, type SecurityScanSummary as ai, type SecurityScanWrapper as aj, type GetSecurityInfoInput as ak, type GetSecurityInfoResult as al, type SecurityInfoDiff as am, type GetSecurityInfoDiffInput as an, type SBOMMetadata as ao, type GetSecurityInfoSBOMInput as ap, type GetSecurityInfoSBOMResult as aq, type DownloadSBOMInput as ar, type FetchCurrentUserInput as as, type FetchCurrentUserResult as at, type UserProfile as au, type UpdateUserInput as av, type UpdateUserResult as aw, type NotificationSetting as ax, type FetchNotificationsInput as ay, type FetchNotificationsResult as az, type CreateInstallOptionsInput as b, type UpdateSamlConfigResult as b$, deleteUserAction as b0, fetchServiceAccountsAction as b1, createServiceAccountAction as b2, revokeServiceAccountAction as b3, rotateServiceAccountTokenAction as b4, fetchInstancesAction as b5, fetchSamlConfigAction as b6, updateSamlConfigAction as b7, toggleSamlEnabledAction as b8, deprovisionSamlAction as b9, type SwitchCustomerResult as bA, fetchCustomers as bB, switchCustomer as bC, type FetchTeamStatsInput as bD, type ServiceAccountSummary as bE, type FetchTeamStatsResult as bF, type FetchDashboardInstancesInput as bG, type FetchDashboardInstancesResult as bH, fetchTeamStats as bI, fetchDashboardInstances as bJ, type FetchTeamUsersInput as bK, type FetchTeamUsersResult as bL, type InviteUserInput as bM, type InviteUserResult as bN, type DeleteUserInput as bO, type DeleteUserResult as bP, type FetchServiceAccountsInput as bQ, type FetchServiceAccountsResult as bR, type RevokeServiceAccountInput as bS, type RevokeServiceAccountResult as bT, type RotateServiceAccountTokenInput as bU, type RotateServiceAccountTokenResult as bV, type FetchInstancesInput as bW, type FetchInstancesResult as bX, type FetchSamlConfigInput as bY, type FetchSamlConfigResult as bZ, type UpdateSamlConfigInput as b_, type AppFeatures as ba, fetchAppFeatures as bb, type SAMLConfig as bc, type ServiceAccount as bd, type Instance as be, type TeamUser as bf, fetchCurrentUserAction as bg, updateUserAction as bh, fetchNotificationsAction as bi, updateNotificationsAction as bj, type TeamForUserSettings as bk, fetchTeamsForUserSettings as bl, type ActionResult as bm, type UploadSupportBundleResult$1 as bn, type ListBundlesResult as bo, downloadSupportBundleAction as bp, deleteSupportBundleAction as bq, uploadSupportBundleAction as br, listSupportBundlesAction as bs, getApiOrigin as bt, type UploadSupportBundleInput as bu, type UploadSupportBundleResult as bv, type FetchCustomersInput as bw, type Customer as bx, type FetchCustomersResult as by, type SwitchCustomerInput as bz, type CreateInstallOptionsResult as c, type ToggleSamlEnabledInput as c0, type ToggleSamlEnabledResult as c1, type DeprovisionSamlInput as c2, type DeprovisionSamlResult as c3, fetchTeamUsers as c4, inviteUser as c5, deleteUser as c6, fetchServiceAccounts as c7, revokeServiceAccount as c8, rotateServiceAccountToken as c9, fetchInstances as ca, fetchSamlConfig as cb, updateSamlConfig as cc, toggleSamlEnabled as cd, deprovisionSaml as ce, type AcceptInviteInput as cf, type AcceptInviteResult as cg, type AcceptInviteError as ch, acceptInvite as ci, type RefreshInviteInput as cj, type RefreshInviteResult as ck, refreshInvite as cl, fetchAppInfo as cm, fetchUser as cn, type UserResult as co, type UserContext as cp, type UserPermissions as cq, type GetInstallOptionsInput as d, type GetInstallOptionsResult as e, type UpdateInstallOptionsResult as f, createServiceAccount as g, type CreateServiceAccountInput as h, type ServiceAccountData as i, fetchChannelReleases as j, createInstallOptions as k, getInstallOptions as l, filterEmbeddedClusterReleases as m, type InstallInstructions as n, type InstallStep as o, type FetchPendingInstallationsResult as p, type SupportBundleSummary as q, defineServerAction as r, fetchCustomBranding as s, listReleases as t, updateInstallOptions as u, initiateLogin as v, listSupportBundles as w, downloadSupportBundle as x, deleteSupportBundle as y, uploadSupportBundle as z };
@@ -1,4 +1,6 @@
1
+ import { L as License } from './fetch-license-iTyF7_GY.js';
1
2
  import './actions/change-team.js';
3
+ import './actions/trial-signup.js';
2
4
 
3
5
  /**
4
6
  * Install-related server actions for the Linux and Helm installation wizards.
@@ -342,7 +344,17 @@ declare const toggleSamlEnabledAction: (enabled: boolean) => Promise<{
342
344
  declare const deprovisionSamlAction: () => Promise<{
343
345
  success: boolean;
344
346
  }>;
345
- declare const getSamlFeatureEnabled: () => Promise<boolean>;
347
+ interface AppFeatures {
348
+ epEnabled: boolean;
349
+ trialSignupEnabled: boolean;
350
+ trialExpirationDays: number;
351
+ licenseType: string;
352
+ termsAndConditionsUrl: string;
353
+ epSecurityCenterEnabled: boolean;
354
+ epSamlAuthEnabled: boolean;
355
+ epHideSupportBundleUploadEnabled: boolean;
356
+ }
357
+ declare const fetchAppFeatures: () => Promise<AppFeatures>;
346
358
 
347
359
  declare const fetchCurrentUserAction: () => Promise<UserProfile>;
348
360
  declare const updateUserAction: (data: {
@@ -404,6 +416,7 @@ declare const fetchUser: () => Promise<UserResult>;
404
416
  * specific actions, but it exports helpers so downstream portals can describe
405
417
  * their actions with consistent metadata.
406
418
  */
419
+
407
420
  /**
408
421
  * Gets the base API origin from environment, with trailing slashes removed.
409
422
  */
@@ -478,26 +491,6 @@ interface CustomBrandingResponse {
478
491
  brandingData: string;
479
492
  documentation: unknown;
480
493
  }
481
- interface PortalLicenseField {
482
- key: string;
483
- label: string;
484
- value: string | null;
485
- isSecret?: boolean;
486
- }
487
- interface PortalLicenseDetails {
488
- id?: string;
489
- status?: string;
490
- statusLabel?: string;
491
- environment?: string;
492
- expiresAt?: string | null;
493
- releaseChannels?: string[];
494
- installMethods?: string[];
495
- installNotes?: string;
496
- customerName?: string;
497
- customerId?: string;
498
- customerOrganization?: string;
499
- fields: PortalLicenseField[];
500
- }
501
494
  interface ListSupportBundlesInput {
502
495
  token: string;
503
496
  }
@@ -553,27 +546,10 @@ interface UploadSupportBundleCompleteResult {
553
546
  bundleId: string;
554
547
  slug: string;
555
548
  }
556
- interface FetchLicenseDetailsInput {
557
- token: string;
558
- }
559
- interface FetchLicenseDetailsResult {
560
- license: PortalLicenseDetails;
561
- raw: unknown;
562
- }
563
- interface FetchInstallOptionsInput {
564
- token: string;
565
- }
566
- interface FetchInstallOptionsResult {
567
- showLinux: boolean;
568
- showHelm: boolean;
569
- }
570
- interface FetchLicenseSummaryInput {
571
- token: string;
572
- }
573
- interface FetchLicenseSummaryResult {
574
- type: string;
575
- expiresAt: string | null;
549
+
550
+ interface FetchLicenseInput {
576
551
  }
552
+ type FetchLicenseResult = License;
577
553
  interface FetchCustomersInput {
578
554
  token: string;
579
555
  }
@@ -595,12 +571,37 @@ interface SwitchCustomerInput {
595
571
  interface SwitchCustomerResult {
596
572
  token: string;
597
573
  }
598
- interface ListReleasesInput {
599
- token: string;
574
+ interface ReleaseHelmChart {
575
+ name: string;
576
+ version: string;
577
+ error?: string;
578
+ is_kots_installer_only?: boolean;
579
+ }
580
+ interface DownloadPortalRelease {
581
+ channel_sequence: number;
582
+ release_sequence: number;
583
+ is_required: boolean;
584
+ has_kurl_installer: boolean;
585
+ release_date: string;
586
+ label: string;
587
+ release_notes: string;
588
+ download_link: string;
589
+ build_status: string;
590
+ last_update_time: string;
591
+ checksum: string;
592
+ airgap_bundle_images: string[];
593
+ helm_images: string[];
594
+ helm_charts: ReleaseHelmChart[];
595
+ target_kots_version: string;
596
+ embedded_cluster_airgap_bundle_url: string;
597
+ has_ec_installer: boolean;
598
+ ec_version: string;
599
+ ec_replicated_app_domain: string;
600
+ ec_proxy_registry_domain: string;
600
601
  }
601
602
  interface ListReleasesResult {
602
- status: number;
603
- body: string | null;
603
+ releases: DownloadPortalRelease[];
604
+ totalCount: number;
604
605
  }
605
606
  /**
606
607
  * Fetches custom branding for the portal.
@@ -622,10 +623,7 @@ declare const uploadSupportBundle: PortalServerActionDefinition<UploadSupportBun
622
623
  * Use this when you need progress indication - call this to get the URL, then upload directly from client.
623
624
  */
624
625
  declare const getSupportBundleUploadUrl: (appId: string) => string;
625
- declare const listReleases: PortalServerActionDefinition<ListReleasesInput, ListReleasesResult>;
626
- declare const fetchLicenseDetails: PortalServerActionDefinition<FetchLicenseDetailsInput, FetchLicenseDetailsResult>;
627
- declare const fetchInstallOptions: PortalServerActionDefinition<FetchInstallOptionsInput, FetchInstallOptionsResult>;
628
- declare const fetchLicenseSummary: PortalServerActionDefinition<FetchLicenseSummaryInput, FetchLicenseSummaryResult>;
626
+ declare const listReleases: () => Promise<ListReleasesResult>;
629
627
  declare const fetchCustomers: PortalServerActionDefinition<FetchCustomersInput, FetchCustomersResult>;
630
628
  declare const switchCustomer: PortalServerActionDefinition<SwitchCustomerInput, SwitchCustomerResult>;
631
629
  type SecurityInstallType = "linux" | "helm";
@@ -1035,4 +1033,4 @@ interface RefreshInviteResult {
1035
1033
  */
1036
1034
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
1037
1035
 
1038
- export { type PortalServerActionDefinition as $, downloadSupportBundle as A, deleteSupportBundle as B, type ChannelRelease as C, type DiscardInstallationResult as D, uploadSupportBundle as E, type FetchChannelReleasesResult as F, type GetSecurityInfoDiffResult as G, getSupportBundleUploadUrl as H, type InstallOptions as I, decodeJwtPayload as J, getCustomerIdFromToken as K, verifyMagicLink as L, fetchDashboardComposite as M, type NetworkAvailability as N, getSecurityInfo as O, type PendingInstallation as P, getSecurityInfoDiff as Q, getSecurityInfoSBOM as R, type SecurityReleaseImage as S, downloadSecuritySBOM as T, type UpdateInstallOptionsInput as U, fetchCurrentUser as V, updateUser as W, fetchNotifications as X, updateNotifications as Y, type PortalActionContext as Z, type PortalActionVisibility as _, type CreateServiceAccountResult as a, updateInstallOptionsAction as a$, type CustomBrandingResponse as a0, type FetchLicenseDetailsInput as a1, type FetchLicenseDetailsResult as a2, type ListReleasesInput as a3, type ListReleasesResult as a4, type PortalLicenseDetails as a5, type PortalLicenseField as a6, type InitiateLoginInput as a7, type InitiateLoginResult as a8, type VerifyMagicLinkInput as a9, type UpdateUserResult as aA, type NotificationSetting as aB, type FetchNotificationsInput as aC, type FetchNotificationsResult as aD, type UpdateNotificationsInput as aE, type UpdateNotificationsResult as aF, fetchPendingInstallations as aG, discardInstallation as aH, getUpdateInstructions as aI, filterHelmReleases as aJ, type EmbeddedClusterInstallationType as aK, type HelmInstallationType as aL, type InstallationTypes as aM, type FetchChannelReleasesInput as aN, type InstallType as aO, type RegistryAvailability as aP, type KubernetesDistribution as aQ, type InstallStatus as aR, type FetchPendingInstallationsInput as aS, type DiscardInstallationInput as aT, type GetUpdateInstructionsInput as aU, type GetUpdateInstructionsResult as aV, type UpdateInstructions as aW, fetchPendingInstallationsAction as aX, fetchChannelReleasesAction as aY, createInstallOptionsAction as aZ, getInstallOptionsAction as a_, type VerifyMagicLinkResult as aa, type VerifyMagicLinkError as ab, type ListSupportBundlesInput as ac, type ListSupportBundlesResult as ad, type SupportBundleInsight as ae, type DownloadSupportBundleInput as af, type DownloadSupportBundleResult as ag, type DeleteSupportBundleInput as ah, type DeleteSupportBundleResult as ai, type UploadSupportBundleCompleteInput as aj, type UploadSupportBundleCompleteResult as ak, type SecurityInstallType as al, type SecurityScanSummary as am, type SecurityScanWrapper as an, type GetSecurityInfoInput as ao, type GetSecurityInfoResult as ap, type SecurityInfoDiff as aq, type GetSecurityInfoDiffInput as ar, type SBOMMetadata as as, type GetSecurityInfoSBOMInput as at, type GetSecurityInfoSBOMResult as au, type DownloadSBOMInput as av, type FetchCurrentUserInput as aw, type FetchCurrentUserResult as ax, type UserProfile as ay, type UpdateUserInput as az, type CreateInstallOptionsInput as b, type RotateServiceAccountTokenInput as b$, discardInstallationAction as b0, createServiceAccountAction$1 as b1, fetchTeamUsersAction as b2, inviteUserAction as b3, deleteUserAction as b4, fetchServiceAccountsAction as b5, createServiceAccountAction as b6, revokeServiceAccountAction as b7, rotateServiceAccountTokenAction as b8, fetchInstancesAction as b9, type FetchLicenseSummaryInput as bA, type FetchCustomersInput as bB, type Customer as bC, type FetchCustomersResult as bD, type SwitchCustomerInput as bE, type SwitchCustomerResult as bF, fetchInstallOptions as bG, fetchLicenseSummary as bH, fetchCustomers as bI, switchCustomer as bJ, type FetchTeamStatsInput as bK, type ServiceAccountSummary as bL, type FetchTeamStatsResult as bM, type FetchDashboardInstancesInput as bN, type FetchDashboardInstancesResult as bO, fetchTeamStats as bP, fetchDashboardInstances as bQ, type FetchTeamUsersInput as bR, type FetchTeamUsersResult as bS, type InviteUserInput as bT, type InviteUserResult as bU, type DeleteUserInput as bV, type DeleteUserResult as bW, type FetchServiceAccountsInput as bX, type FetchServiceAccountsResult as bY, type RevokeServiceAccountInput as bZ, type RevokeServiceAccountResult as b_, fetchSamlConfigAction as ba, updateSamlConfigAction as bb, toggleSamlEnabledAction as bc, deprovisionSamlAction as bd, getSamlFeatureEnabled as be, type SAMLConfig as bf, type ServiceAccount as bg, type Instance as bh, type TeamUser as bi, fetchCurrentUserAction as bj, updateUserAction as bk, fetchNotificationsAction as bl, updateNotificationsAction as bm, type TeamForUserSettings as bn, fetchTeamsForUserSettings as bo, type ActionResult as bp, type UploadSupportBundleResult$1 as bq, type ListBundlesResult as br, downloadSupportBundleAction as bs, deleteSupportBundleAction as bt, uploadSupportBundleAction as bu, listSupportBundlesAction as bv, getApiOrigin as bw, type UploadSupportBundleInput as bx, type UploadSupportBundleResult as by, type FetchInstallOptionsInput as bz, type CreateInstallOptionsResult as c, type RotateServiceAccountTokenResult as c0, type FetchInstancesInput as c1, type FetchInstancesResult as c2, type FetchSamlConfigInput as c3, type FetchSamlConfigResult as c4, type UpdateSamlConfigInput as c5, type UpdateSamlConfigResult as c6, type ToggleSamlEnabledInput as c7, type ToggleSamlEnabledResult as c8, type DeprovisionSamlInput as c9, type DeprovisionSamlResult as ca, fetchTeamUsers as cb, inviteUser as cc, deleteUser as cd, fetchServiceAccounts as ce, revokeServiceAccount as cf, rotateServiceAccountToken as cg, fetchInstances as ch, fetchSamlConfig as ci, updateSamlConfig as cj, toggleSamlEnabled as ck, deprovisionSaml as cl, type AcceptInviteInput as cm, type AcceptInviteResult as cn, type AcceptInviteError as co, acceptInvite as cp, type RefreshInviteInput as cq, type RefreshInviteResult as cr, refreshInvite as cs, fetchAppInfo as ct, fetchUser as cu, type UserResult as cv, type UserContext as cw, type UserPermissions as cx, type GetInstallOptionsInput as d, type GetInstallOptionsResult as e, type UpdateInstallOptionsResult as f, createServiceAccount as g, type CreateServiceAccountInput as h, type ServiceAccountData as i, type FetchInstallOptionsResult as j, type FetchLicenseSummaryResult as k, fetchChannelReleases as l, createInstallOptions as m, getInstallOptions as n, filterEmbeddedClusterReleases as o, type InstallInstructions as p, type InstallStep as q, type FetchPendingInstallationsResult as r, type SupportBundleSummary as s, defineServerAction as t, updateInstallOptions as u, fetchCustomBranding as v, fetchLicenseDetails as w, listReleases as x, initiateLogin as y, listSupportBundles as z };
1036
+ export { type FetchLicenseResult as $, getSupportBundleUploadUrl as A, decodeJwtPayload as B, type ChannelRelease as C, type DiscardInstallationResult as D, getCustomerIdFromToken as E, type FetchChannelReleasesResult as F, type GetSecurityInfoDiffResult as G, verifyMagicLink as H, type InstallOptions as I, fetchDashboardComposite as J, getSecurityInfo as K, getSecurityInfoDiff as L, getSecurityInfoSBOM as M, type NetworkAvailability as N, downloadSecuritySBOM as O, type PendingInstallation as P, fetchCurrentUser as Q, updateUser as R, type SecurityReleaseImage as S, fetchNotifications as T, type UpdateInstallOptionsInput as U, updateNotifications as V, type PortalActionContext as W, type PortalActionVisibility as X, type PortalServerActionDefinition as Y, type CustomBrandingResponse as Z, type FetchLicenseInput as _, type CreateServiceAccountResult as a, inviteUserAction as a$, type ReleaseHelmChart as a0, type DownloadPortalRelease as a1, type ListReleasesResult as a2, type InitiateLoginInput as a3, type InitiateLoginResult as a4, type VerifyMagicLinkInput as a5, type VerifyMagicLinkResult as a6, type VerifyMagicLinkError as a7, type ListSupportBundlesInput as a8, type ListSupportBundlesResult as a9, type UpdateNotificationsInput as aA, type UpdateNotificationsResult as aB, fetchPendingInstallations as aC, discardInstallation as aD, getUpdateInstructions as aE, filterHelmReleases as aF, type EmbeddedClusterInstallationType as aG, type HelmInstallationType as aH, type InstallationTypes as aI, type FetchChannelReleasesInput as aJ, type InstallType as aK, type RegistryAvailability as aL, type KubernetesDistribution as aM, type InstallStatus as aN, type FetchPendingInstallationsInput as aO, type DiscardInstallationInput as aP, type GetUpdateInstructionsInput as aQ, type GetUpdateInstructionsResult as aR, type UpdateInstructions as aS, fetchPendingInstallationsAction as aT, fetchChannelReleasesAction as aU, createInstallOptionsAction as aV, getInstallOptionsAction as aW, updateInstallOptionsAction as aX, discardInstallationAction as aY, createServiceAccountAction$1 as aZ, fetchTeamUsersAction as a_, type SupportBundleInsight as aa, type DownloadSupportBundleInput as ab, type DownloadSupportBundleResult as ac, type DeleteSupportBundleInput as ad, type DeleteSupportBundleResult as ae, type UploadSupportBundleCompleteInput as af, type UploadSupportBundleCompleteResult as ag, type SecurityInstallType as ah, type SecurityScanSummary as ai, type SecurityScanWrapper as aj, type GetSecurityInfoInput as ak, type GetSecurityInfoResult as al, type SecurityInfoDiff as am, type GetSecurityInfoDiffInput as an, type SBOMMetadata as ao, type GetSecurityInfoSBOMInput as ap, type GetSecurityInfoSBOMResult as aq, type DownloadSBOMInput as ar, type FetchCurrentUserInput as as, type FetchCurrentUserResult as at, type UserProfile as au, type UpdateUserInput as av, type UpdateUserResult as aw, type NotificationSetting as ax, type FetchNotificationsInput as ay, type FetchNotificationsResult as az, type CreateInstallOptionsInput as b, type UpdateSamlConfigResult as b$, deleteUserAction as b0, fetchServiceAccountsAction as b1, createServiceAccountAction as b2, revokeServiceAccountAction as b3, rotateServiceAccountTokenAction as b4, fetchInstancesAction as b5, fetchSamlConfigAction as b6, updateSamlConfigAction as b7, toggleSamlEnabledAction as b8, deprovisionSamlAction as b9, type SwitchCustomerResult as bA, fetchCustomers as bB, switchCustomer as bC, type FetchTeamStatsInput as bD, type ServiceAccountSummary as bE, type FetchTeamStatsResult as bF, type FetchDashboardInstancesInput as bG, type FetchDashboardInstancesResult as bH, fetchTeamStats as bI, fetchDashboardInstances as bJ, type FetchTeamUsersInput as bK, type FetchTeamUsersResult as bL, type InviteUserInput as bM, type InviteUserResult as bN, type DeleteUserInput as bO, type DeleteUserResult as bP, type FetchServiceAccountsInput as bQ, type FetchServiceAccountsResult as bR, type RevokeServiceAccountInput as bS, type RevokeServiceAccountResult as bT, type RotateServiceAccountTokenInput as bU, type RotateServiceAccountTokenResult as bV, type FetchInstancesInput as bW, type FetchInstancesResult as bX, type FetchSamlConfigInput as bY, type FetchSamlConfigResult as bZ, type UpdateSamlConfigInput as b_, type AppFeatures as ba, fetchAppFeatures as bb, type SAMLConfig as bc, type ServiceAccount as bd, type Instance as be, type TeamUser as bf, fetchCurrentUserAction as bg, updateUserAction as bh, fetchNotificationsAction as bi, updateNotificationsAction as bj, type TeamForUserSettings as bk, fetchTeamsForUserSettings as bl, type ActionResult as bm, type UploadSupportBundleResult$1 as bn, type ListBundlesResult as bo, downloadSupportBundleAction as bp, deleteSupportBundleAction as bq, uploadSupportBundleAction as br, listSupportBundlesAction as bs, getApiOrigin as bt, type UploadSupportBundleInput as bu, type UploadSupportBundleResult as bv, type FetchCustomersInput as bw, type Customer as bx, type FetchCustomersResult as by, type SwitchCustomerInput as bz, type CreateInstallOptionsResult as c, type ToggleSamlEnabledInput as c0, type ToggleSamlEnabledResult as c1, type DeprovisionSamlInput as c2, type DeprovisionSamlResult as c3, fetchTeamUsers as c4, inviteUser as c5, deleteUser as c6, fetchServiceAccounts as c7, revokeServiceAccount as c8, rotateServiceAccountToken as c9, fetchInstances as ca, fetchSamlConfig as cb, updateSamlConfig as cc, toggleSamlEnabled as cd, deprovisionSaml as ce, type AcceptInviteInput as cf, type AcceptInviteResult as cg, type AcceptInviteError as ch, acceptInvite as ci, type RefreshInviteInput as cj, type RefreshInviteResult as ck, refreshInvite as cl, fetchAppInfo as cm, fetchUser as cn, type UserResult as co, type UserContext as cp, type UserPermissions as cq, type GetInstallOptionsInput as d, type GetInstallOptionsResult as e, type UpdateInstallOptionsResult as f, createServiceAccount as g, type CreateServiceAccountInput as h, type ServiceAccountData as i, fetchChannelReleases as j, createInstallOptions as k, getInstallOptions as l, filterEmbeddedClusterReleases as m, type InstallInstructions as n, type InstallStep as o, type FetchPendingInstallationsResult as p, type SupportBundleSummary as q, defineServerAction as r, fetchCustomBranding as s, listReleases as t, updateInstallOptions as u, initiateLogin as v, listSupportBundles as w, downloadSupportBundle as x, deleteSupportBundle as y, uploadSupportBundle as z };
package/dist/index.d.mts CHANGED
@@ -2,17 +2,23 @@ export { PortalThemeOverrides, PortalThemeTokens, createPortalTheme, portalTheme
2
2
  import * as react from 'react';
3
3
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  export { LicenseDetails, LicenseDetailsProps } from './license-details.mjs';
5
- export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-IRIn66wS.mjs';
5
+ export { C as Customer, c as TopNav, a as TopNavBranding, T as TopNavLink, b as TopNavProps, d as defaultTopNavLinks } from './top-nav-BUQAGoG1.mjs';
6
6
  export { a as UpdatesCard, U as UpdatesCardProps } from './updates-card-BbubBrVR.mjs';
7
7
  export { SupportCard } from './support-card.mjs';
8
8
  export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSettingsProps, UserSettingsTeam, UserSettingsUser } from './user-settings.mjs';
9
9
  export { UserSettingsCard } from './user-settings-card.mjs';
10
10
  export { a as TeamSettingsCard, T as TeamSettingsCardProps } from './team-settings-card-Dq1d9b5c.mjs';
11
11
  export { UpdateLayout } from './update-layout.mjs';
12
- export { C as ChannelRelease, a0 as CustomBrandingResponse, ah as DeleteSupportBundleInput, ai as DeleteSupportBundleResult, av as DownloadSBOMInput, af as DownloadSupportBundleInput, ag as DownloadSupportBundleResult, F as FetchChannelReleasesResult, aw as FetchCurrentUserInput, ax as FetchCurrentUserResult, a1 as FetchLicenseDetailsInput, a2 as FetchLicenseDetailsResult, aC as FetchNotificationsInput, aD as FetchNotificationsResult, ar as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ao as GetSecurityInfoInput, ap as GetSecurityInfoResult, at as GetSecurityInfoSBOMInput, au as GetSecurityInfoSBOMResult, a7 as InitiateLoginInput, a8 as InitiateLoginResult, a3 as ListReleasesInput, a4 as ListReleasesResult, ac as ListSupportBundlesInput, ad as ListSupportBundlesResult, aB as NotificationSetting, Z as PortalActionContext, _ as PortalActionVisibility, a5 as PortalLicenseDetails, a6 as PortalLicenseField, $ as PortalServerActionDefinition, as as SBOMMetadata, aq as SecurityInfoDiff, al as SecurityInstallType, S as SecurityReleaseImage, am as SecurityScanSummary, an as SecurityScanWrapper, ae as SupportBundleInsight, s as SupportBundleSummary, aE as UpdateNotificationsInput, aF as UpdateNotificationsResult, az as UpdateUserInput, aA as UpdateUserResult, aj as UploadSupportBundleCompleteInput, ak as UploadSupportBundleCompleteResult, ay as UserProfile, ab as VerifyMagicLinkError, a9 as VerifyMagicLinkInput, aa as VerifyMagicLinkResult, J as decodeJwtPayload, t as defineServerAction, B as deleteSupportBundle, T as downloadSecuritySBOM, A as downloadSupportBundle, V as fetchCurrentUser, v as fetchCustomBranding, M as fetchDashboardComposite, w as fetchLicenseDetails, X as fetchNotifications, K as getCustomerIdFromToken, O as getSecurityInfo, Q as getSecurityInfoDiff, R as getSecurityInfoSBOM, H as getSupportBundleUploadUrl, y as initiateLogin, x as listReleases, z as listSupportBundles, Y as updateNotifications, W as updateUser, E as uploadSupportBundle, L as verifyMagicLink } from './index-BAiVrSSR.mjs';
12
+ export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, deleteSessionCookie, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.mjs';
13
+ export { d as decodeBranding, n as normalizeColor, s as sanitizeUrlForCss } from './branding-BsMSywts.mjs';
14
+ export { SetSamlSessionResult, handleSamlAcs, setSamlSessionImpl } from './saml-handlers.mjs';
15
+ export { C as ChannelRelease, Z as CustomBrandingResponse, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, a0 as ReleaseHelmChart, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, aa as SupportBundleInsight, q as SupportBundleSummary, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, au as UserProfile, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, O as downloadSecuritySBOM, x as downloadSupportBundle, Q as fetchCurrentUser, s as fetchCustomBranding, J as fetchDashboardComposite, T as fetchNotifications, E as getCustomerIdFromToken, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, t as listReleases, w as listSupportBundles, V as updateNotifications, R as updateUser, z as uploadSupportBundle, H as verifyMagicLink } from './index-DyzJ0yKD.mjs';
13
16
  export { InitialSecurityData } from './security-card.mjs';
17
+ export { C as CustomHostnameOverrides, E as EntitlementField, b as EntitlementValue, L as License, a as LicenseChannel, P as PortalLicenseField, f as fetchLicense } from './fetch-license-iTyF7_GY.mjs';
14
18
  import 'react/jsx-runtime';
19
+ import './release-history-panel.mjs';
15
20
  import './actions/change-team.mjs';
21
+ import './actions/trial-signup.mjs';
16
22
 
17
23
  /**
18
24
  * Types that describe the metadata schema documented in
package/dist/index.d.ts CHANGED
@@ -2,17 +2,23 @@ export { PortalThemeOverrides, PortalThemeTokens, createPortalTheme, portalTheme
2
2
  import * as react from 'react';
3
3
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  export { LicenseDetails, LicenseDetailsProps } from './license-details.js';
5
- export { C as Customer, b as TopNav, T as TopNavLink, a as TopNavProps, d as defaultTopNavLinks } from './top-nav-IRIn66wS.js';
5
+ export { C as Customer, c as TopNav, a as TopNavBranding, T as TopNavLink, b as TopNavProps, d as defaultTopNavLinks } from './top-nav-CEqw0KpO.js';
6
6
  export { a as UpdatesCard, U as UpdatesCardProps } from './updates-card-BbubBrVR.js';
7
7
  export { SupportCard } from './support-card.js';
8
8
  export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSettingsProps, UserSettingsTeam, UserSettingsUser } from './user-settings.js';
9
9
  export { UserSettingsCard } from './user-settings-card.js';
10
10
  export { a as TeamSettingsCard, T as TeamSettingsCardProps } from './team-settings-card-Dq1d9b5c.js';
11
11
  export { UpdateLayout } from './update-layout.js';
12
- export { C as ChannelRelease, a0 as CustomBrandingResponse, ah as DeleteSupportBundleInput, ai as DeleteSupportBundleResult, av as DownloadSBOMInput, af as DownloadSupportBundleInput, ag as DownloadSupportBundleResult, F as FetchChannelReleasesResult, aw as FetchCurrentUserInput, ax as FetchCurrentUserResult, a1 as FetchLicenseDetailsInput, a2 as FetchLicenseDetailsResult, aC as FetchNotificationsInput, aD as FetchNotificationsResult, ar as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ao as GetSecurityInfoInput, ap as GetSecurityInfoResult, at as GetSecurityInfoSBOMInput, au as GetSecurityInfoSBOMResult, a7 as InitiateLoginInput, a8 as InitiateLoginResult, a3 as ListReleasesInput, a4 as ListReleasesResult, ac as ListSupportBundlesInput, ad as ListSupportBundlesResult, aB as NotificationSetting, Z as PortalActionContext, _ as PortalActionVisibility, a5 as PortalLicenseDetails, a6 as PortalLicenseField, $ as PortalServerActionDefinition, as as SBOMMetadata, aq as SecurityInfoDiff, al as SecurityInstallType, S as SecurityReleaseImage, am as SecurityScanSummary, an as SecurityScanWrapper, ae as SupportBundleInsight, s as SupportBundleSummary, aE as UpdateNotificationsInput, aF as UpdateNotificationsResult, az as UpdateUserInput, aA as UpdateUserResult, aj as UploadSupportBundleCompleteInput, ak as UploadSupportBundleCompleteResult, ay as UserProfile, ab as VerifyMagicLinkError, a9 as VerifyMagicLinkInput, aa as VerifyMagicLinkResult, J as decodeJwtPayload, t as defineServerAction, B as deleteSupportBundle, T as downloadSecuritySBOM, A as downloadSupportBundle, V as fetchCurrentUser, v as fetchCustomBranding, M as fetchDashboardComposite, w as fetchLicenseDetails, X as fetchNotifications, K as getCustomerIdFromToken, O as getSecurityInfo, Q as getSecurityInfoDiff, R as getSecurityInfoSBOM, H as getSupportBundleUploadUrl, y as initiateLogin, x as listReleases, z as listSupportBundles, Y as updateNotifications, W as updateUser, E as uploadSupportBundle, L as verifyMagicLink } from './index-DWt-N5od.js';
12
+ export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, deleteSessionCookie, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.js';
13
+ export { d as decodeBranding, n as normalizeColor, s as sanitizeUrlForCss } from './branding-BsMSywts.js';
14
+ export { SetSamlSessionResult, handleSamlAcs, setSamlSessionImpl } from './saml-handlers.js';
15
+ export { C as ChannelRelease, Z as CustomBrandingResponse, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, a0 as ReleaseHelmChart, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, aa as SupportBundleInsight, q as SupportBundleSummary, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, au as UserProfile, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, O as downloadSecuritySBOM, x as downloadSupportBundle, Q as fetchCurrentUser, s as fetchCustomBranding, J as fetchDashboardComposite, T as fetchNotifications, E as getCustomerIdFromToken, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, t as listReleases, w as listSupportBundles, V as updateNotifications, R as updateUser, z as uploadSupportBundle, H as verifyMagicLink } from './index-sMbq94M7.js';
13
16
  export { InitialSecurityData } from './security-card.js';
17
+ export { C as CustomHostnameOverrides, E as EntitlementField, b as EntitlementValue, L as License, a as LicenseChannel, P as PortalLicenseField, f as fetchLicense } from './fetch-license-iTyF7_GY.js';
14
18
  import 'react/jsx-runtime';
19
+ import './release-history-panel.js';
15
20
  import './actions/change-team.js';
21
+ import './actions/trial-signup.js';
16
22
 
17
23
  /**
18
24
  * Types that describe the metadata schema documented in