@replicated/portal-components 0.0.18 → 0.0.20

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 (250) hide show
  1. package/components/metadata/registry.json +2 -2
  2. package/components/metadata/registry.md +2 -2
  3. package/dist/actions/change-team.d.mts +10 -0
  4. package/dist/actions/change-team.d.ts +10 -0
  5. package/dist/actions/change-team.js +458 -0
  6. package/dist/actions/change-team.js.map +1 -0
  7. package/dist/actions/index.d.mts +4 -1
  8. package/dist/actions/index.d.ts +4 -1
  9. package/dist/actions/index.js +1232 -430
  10. package/dist/actions/index.js.map +1 -1
  11. package/dist/actions/install-actions.d.mts +4 -0
  12. package/dist/actions/install-actions.d.ts +4 -0
  13. package/dist/actions/install-actions.js +680 -0
  14. package/dist/actions/install-actions.js.map +1 -0
  15. package/dist/actions/service-account.d.mts +4 -0
  16. package/dist/actions/service-account.d.ts +4 -0
  17. package/dist/actions/service-account.js +373 -0
  18. package/dist/actions/service-account.js.map +1 -0
  19. package/dist/actions/support-bundles.d.mts +4 -0
  20. package/dist/actions/support-bundles.d.ts +4 -0
  21. package/dist/actions/support-bundles.js +659 -0
  22. package/dist/actions/support-bundles.js.map +1 -0
  23. package/dist/actions/team-settings.d.mts +4 -0
  24. package/dist/actions/team-settings.d.ts +4 -0
  25. package/dist/actions/team-settings.js +1040 -0
  26. package/dist/actions/team-settings.js.map +1 -0
  27. package/dist/actions/trial-signup.d.mts +24 -0
  28. package/dist/actions/trial-signup.d.ts +24 -0
  29. package/dist/actions/trial-signup.js +482 -0
  30. package/dist/actions/trial-signup.js.map +1 -0
  31. package/dist/actions/user-settings.d.mts +4 -0
  32. package/dist/actions/user-settings.d.ts +4 -0
  33. package/dist/actions/user-settings.js +621 -0
  34. package/dist/actions/user-settings.js.map +1 -0
  35. package/dist/airgap-instances.d.mts +4 -1
  36. package/dist/airgap-instances.d.ts +4 -1
  37. package/dist/airgap-instances.js +177 -32
  38. package/dist/airgap-instances.js.map +1 -1
  39. package/dist/branding-BsMSywts.d.mts +36 -0
  40. package/dist/branding-BsMSywts.d.ts +36 -0
  41. package/dist/error-page.js +10 -2
  42. package/dist/error-page.js.map +1 -1
  43. package/dist/error.js +10 -2
  44. package/dist/error.js.map +1 -1
  45. package/dist/esm/actions/change-team.js +455 -0
  46. package/dist/esm/actions/change-team.js.map +1 -0
  47. package/dist/esm/actions/index.js +1200 -428
  48. package/dist/esm/actions/index.js.map +1 -1
  49. package/dist/esm/actions/install-actions.js +673 -0
  50. package/dist/esm/actions/install-actions.js.map +1 -0
  51. package/dist/esm/actions/service-account.js +371 -0
  52. package/dist/esm/actions/service-account.js.map +1 -0
  53. package/dist/esm/actions/support-bundles.js +654 -0
  54. package/dist/esm/actions/support-bundles.js.map +1 -0
  55. package/dist/esm/actions/team-settings.js +1026 -0
  56. package/dist/esm/actions/team-settings.js.map +1 -0
  57. package/dist/esm/actions/trial-signup.js +478 -0
  58. package/dist/esm/actions/trial-signup.js.map +1 -0
  59. package/dist/esm/actions/user-settings.js +615 -0
  60. package/dist/esm/actions/user-settings.js.map +1 -0
  61. package/dist/esm/airgap-instances.js +176 -32
  62. package/dist/esm/airgap-instances.js.map +1 -1
  63. package/dist/esm/error-page.js +10 -2
  64. package/dist/esm/error-page.js.map +1 -1
  65. package/dist/esm/error.js +10 -2
  66. package/dist/esm/error.js.map +1 -1
  67. package/dist/esm/helm-install-wizard.js +127 -81
  68. package/dist/esm/helm-install-wizard.js.map +1 -1
  69. package/dist/esm/index.js +706 -438
  70. package/dist/esm/index.js.map +1 -1
  71. package/dist/esm/install-actions.js +40 -5
  72. package/dist/esm/install-actions.js.map +1 -1
  73. package/dist/esm/install-card.js +9 -6
  74. package/dist/esm/install-card.js.map +1 -1
  75. package/dist/esm/install-targets.js +9 -2
  76. package/dist/esm/install-targets.js.map +1 -1
  77. package/dist/esm/instance-card.js +175 -31
  78. package/dist/esm/instance-card.js.map +1 -1
  79. package/dist/esm/join-team.js +9 -3
  80. package/dist/esm/join-team.js.map +1 -1
  81. package/dist/esm/license-card.js +24 -22
  82. package/dist/esm/license-card.js.map +1 -1
  83. package/dist/esm/license-details.js +128 -334
  84. package/dist/esm/license-details.js.map +1 -1
  85. package/dist/esm/linux-install-wizard.js +219 -133
  86. package/dist/esm/linux-install-wizard.js.map +1 -1
  87. package/dist/esm/login.js +20 -4
  88. package/dist/esm/login.js.map +1 -1
  89. package/dist/esm/middleware.js +33 -0
  90. package/dist/esm/middleware.js.map +1 -0
  91. package/dist/esm/online-instance-list.js +176 -32
  92. package/dist/esm/online-instance-list.js.map +1 -1
  93. package/dist/esm/pending-installations.js +4 -3
  94. package/dist/esm/pending-installations.js.map +1 -1
  95. package/dist/esm/release-history-panel.js +27 -14
  96. package/dist/esm/release-history-panel.js.map +1 -1
  97. package/dist/esm/saml-callback-client.js +82 -0
  98. package/dist/esm/saml-callback-client.js.map +1 -0
  99. package/dist/esm/saml-handlers.js +138 -0
  100. package/dist/esm/saml-handlers.js.map +1 -0
  101. package/dist/esm/security-card.js +53 -38
  102. package/dist/esm/security-card.js.map +1 -1
  103. package/dist/esm/service-accounts-tab.js +800 -0
  104. package/dist/esm/service-accounts-tab.js.map +1 -0
  105. package/dist/esm/support-bundle-collection-card.js +55 -25
  106. package/dist/esm/support-bundle-collection-card.js.map +1 -1
  107. package/dist/esm/support-bundles-card.js +10 -5
  108. package/dist/esm/support-bundles-card.js.map +1 -1
  109. package/dist/esm/support-card.js +37 -5
  110. package/dist/esm/support-card.js.map +1 -1
  111. package/dist/esm/team-selection.js +5 -1
  112. package/dist/esm/team-selection.js.map +1 -1
  113. package/dist/esm/team-settings-card.js +5 -2
  114. package/dist/esm/team-settings-card.js.map +1 -1
  115. package/dist/esm/team-settings.js +7 -2
  116. package/dist/esm/team-settings.js.map +1 -1
  117. package/dist/esm/top-nav-user-menu.js +5 -1
  118. package/dist/esm/top-nav-user-menu.js.map +1 -1
  119. package/dist/esm/top-nav.js +175 -62
  120. package/dist/esm/top-nav.js.map +1 -1
  121. package/dist/esm/trial-signup.js +256 -0
  122. package/dist/esm/trial-signup.js.map +1 -0
  123. package/dist/esm/update-layout.js +175 -62
  124. package/dist/esm/update-layout.js.map +1 -1
  125. package/dist/esm/updates-card.js +15 -4
  126. package/dist/esm/updates-card.js.map +1 -1
  127. package/dist/esm/upload-support-bundle-modal.js +9 -4
  128. package/dist/esm/upload-support-bundle-modal.js.map +1 -1
  129. package/dist/esm/user-settings-card.js +5 -2
  130. package/dist/esm/user-settings-card.js.map +1 -1
  131. package/dist/esm/user-settings.js +12 -6
  132. package/dist/esm/user-settings.js.map +1 -1
  133. package/dist/esm/utils/index.js +204 -13
  134. package/dist/esm/utils/index.js.map +1 -1
  135. package/dist/fetch-license-iTyF7_GY.d.mts +81 -0
  136. package/dist/fetch-license-iTyF7_GY.d.ts +81 -0
  137. package/dist/helm-install-wizard.d.mts +12 -3
  138. package/dist/helm-install-wizard.d.ts +12 -3
  139. package/dist/helm-install-wizard.js +127 -81
  140. package/dist/helm-install-wizard.js.map +1 -1
  141. package/dist/{index-DkjaogsF.d.ts → index-DyzJ0yKD.d.mts} +194 -49
  142. package/dist/{index-DkjaogsF.d.mts → index-sMbq94M7.d.ts} +194 -49
  143. package/dist/index.d.mts +9 -2
  144. package/dist/index.d.ts +9 -2
  145. package/dist/index.js +726 -438
  146. package/dist/index.js.map +1 -1
  147. package/dist/install-actions.d.mts +5 -2
  148. package/dist/install-actions.d.ts +5 -2
  149. package/dist/install-actions.js +40 -5
  150. package/dist/install-actions.js.map +1 -1
  151. package/dist/install-card.d.mts +2 -2
  152. package/dist/install-card.d.ts +2 -2
  153. package/dist/install-card.js +9 -6
  154. package/dist/install-card.js.map +1 -1
  155. package/dist/install-targets.js +9 -2
  156. package/dist/install-targets.js.map +1 -1
  157. package/dist/instance-card.d.mts +4 -1
  158. package/dist/instance-card.d.ts +4 -1
  159. package/dist/instance-card.js +176 -31
  160. package/dist/instance-card.js.map +1 -1
  161. package/dist/join-team.js +9 -3
  162. package/dist/join-team.js.map +1 -1
  163. package/dist/license-card.d.mts +2 -2
  164. package/dist/license-card.d.ts +2 -2
  165. package/dist/license-card.js +24 -22
  166. package/dist/license-card.js.map +1 -1
  167. package/dist/license-details.js +128 -334
  168. package/dist/license-details.js.map +1 -1
  169. package/dist/linux-install-wizard.d.mts +12 -6
  170. package/dist/linux-install-wizard.d.ts +12 -6
  171. package/dist/linux-install-wizard.js +219 -133
  172. package/dist/linux-install-wizard.js.map +1 -1
  173. package/dist/login.d.mts +4 -0
  174. package/dist/login.d.ts +4 -0
  175. package/dist/login.js +20 -4
  176. package/dist/login.js.map +1 -1
  177. package/dist/middleware.d.mts +13 -0
  178. package/dist/middleware.d.ts +13 -0
  179. package/dist/middleware.js +35 -0
  180. package/dist/middleware.js.map +1 -0
  181. package/dist/online-instance-list.d.mts +4 -1
  182. package/dist/online-instance-list.d.ts +4 -1
  183. package/dist/online-instance-list.js +177 -32
  184. package/dist/online-instance-list.js.map +1 -1
  185. package/dist/pending-installations.d.mts +8 -3
  186. package/dist/pending-installations.d.ts +8 -3
  187. package/dist/pending-installations.js +4 -3
  188. package/dist/pending-installations.js.map +1 -1
  189. package/dist/release-history-panel.js +27 -14
  190. package/dist/release-history-panel.js.map +1 -1
  191. package/dist/saml-callback-client.d.mts +36 -0
  192. package/dist/saml-callback-client.d.ts +36 -0
  193. package/dist/saml-callback-client.js +88 -0
  194. package/dist/saml-callback-client.js.map +1 -0
  195. package/dist/saml-handlers.d.mts +50 -0
  196. package/dist/saml-handlers.d.ts +50 -0
  197. package/dist/saml-handlers.js +141 -0
  198. package/dist/saml-handlers.js.map +1 -0
  199. package/dist/security-card.d.mts +4 -1
  200. package/dist/security-card.d.ts +4 -1
  201. package/dist/security-card.js +53 -38
  202. package/dist/security-card.js.map +1 -1
  203. package/dist/service-accounts-tab.d.mts +51 -0
  204. package/dist/service-accounts-tab.d.ts +51 -0
  205. package/dist/service-accounts-tab.js +802 -0
  206. package/dist/service-accounts-tab.js.map +1 -0
  207. package/dist/styles.css +380 -143
  208. package/dist/support-bundle-collection-card.d.mts +1 -1
  209. package/dist/support-bundle-collection-card.d.ts +1 -1
  210. package/dist/support-bundle-collection-card.js +54 -24
  211. package/dist/support-bundle-collection-card.js.map +1 -1
  212. package/dist/support-bundles-card.d.mts +5 -2
  213. package/dist/support-bundles-card.d.ts +5 -2
  214. package/dist/support-bundles-card.js +10 -5
  215. package/dist/support-bundles-card.js.map +1 -1
  216. package/dist/support-card.js +37 -5
  217. package/dist/support-card.js.map +1 -1
  218. package/dist/team-selection.js +5 -1
  219. package/dist/team-selection.js.map +1 -1
  220. package/dist/team-settings-card.js +5 -2
  221. package/dist/team-settings-card.js.map +1 -1
  222. package/dist/team-settings.js +7 -2
  223. package/dist/team-settings.js.map +1 -1
  224. package/dist/{top-nav-IRIn66wS.d.ts → top-nav-BUQAGoG1.d.mts} +14 -2
  225. package/dist/{top-nav-IRIn66wS.d.mts → top-nav-CEqw0KpO.d.ts} +14 -2
  226. package/dist/top-nav-user-menu.js +5 -1
  227. package/dist/top-nav-user-menu.js.map +1 -1
  228. package/dist/top-nav.d.mts +2 -1
  229. package/dist/top-nav.d.ts +2 -1
  230. package/dist/top-nav.js +175 -62
  231. package/dist/top-nav.js.map +1 -1
  232. package/dist/trial-signup.d.mts +31 -0
  233. package/dist/trial-signup.d.ts +31 -0
  234. package/dist/trial-signup.js +258 -0
  235. package/dist/trial-signup.js.map +1 -0
  236. package/dist/update-layout.js +175 -62
  237. package/dist/update-layout.js.map +1 -1
  238. package/dist/updates-card.js +15 -4
  239. package/dist/updates-card.js.map +1 -1
  240. package/dist/upload-support-bundle-modal.js +9 -4
  241. package/dist/upload-support-bundle-modal.js.map +1 -1
  242. package/dist/user-settings-card.js +5 -2
  243. package/dist/user-settings-card.js.map +1 -1
  244. package/dist/user-settings.js +12 -6
  245. package/dist/user-settings.js.map +1 -1
  246. package/dist/utils/index.d.mts +74 -16
  247. package/dist/utils/index.d.ts +74 -16
  248. package/dist/utils/index.js +215 -12
  249. package/dist/utils/index.js.map +1 -1
  250. package/package.json +67 -1
@@ -1,3 +1,7 @@
1
+ import { L as License } from './fetch-license-iTyF7_GY.mjs';
2
+ import './actions/change-team.mjs';
3
+ import './actions/trial-signup.mjs';
4
+
1
5
  /**
2
6
  * Install-related server actions for the Linux and Helm installation wizards.
3
7
  *
@@ -251,12 +255,168 @@ interface DiscardInstallationResult {
251
255
  */
252
256
  declare function discardInstallation(input: DiscardInstallationInput, context?: PortalActionContext): Promise<DiscardInstallationResult>;
253
257
 
258
+ declare const fetchPendingInstallationsAction: () => Promise<FetchPendingInstallationsResult>;
259
+ declare const fetchChannelReleasesAction: (token: string, channelId?: string | undefined) => Promise<FetchChannelReleasesResult>;
260
+ declare const createInstallOptionsAction: (input: {
261
+ token: string;
262
+ installType: InstallType;
263
+ instanceName: string;
264
+ serviceAccountId: string;
265
+ networkAvailability: NetworkAvailability;
266
+ isMultiNode?: boolean;
267
+ channelId?: string;
268
+ channelReleaseSequence?: number;
269
+ registryAvailability?: RegistryAvailability;
270
+ kubernetesDistribution?: KubernetesDistribution;
271
+ }) => Promise<CreateInstallOptionsResult>;
272
+ declare const getInstallOptionsAction: (input: {
273
+ token: string;
274
+ installOptionsId: string;
275
+ includeInstructions?: boolean;
276
+ privateRegistryHostname?: string;
277
+ proxyUrl?: string;
278
+ }) => Promise<GetInstallOptionsResult>;
279
+ declare const updateInstallOptionsAction: (input: {
280
+ token: string;
281
+ installOptionsId: string;
282
+ installType?: InstallType;
283
+ channelId?: string;
284
+ channelReleaseSequence?: number;
285
+ networkAvailability?: NetworkAvailability;
286
+ registryAvailability?: RegistryAvailability;
287
+ kubernetesDistribution?: KubernetesDistribution;
288
+ isMultiNode?: boolean;
289
+ serviceAccountId?: string;
290
+ adminConsoleUrl?: string | null;
291
+ includeInstructions?: boolean;
292
+ privateRegistryHostname?: string;
293
+ proxyUrl?: string;
294
+ }) => Promise<UpdateInstallOptionsResult>;
295
+ declare const discardInstallationAction: (installOptionsId: string) => Promise<DiscardInstallationResult>;
296
+
297
+ declare const createServiceAccountAction$1: (name: string, token: string) => Promise<CreateServiceAccountResult>;
298
+
299
+ interface AppInfo {
300
+ appName: string;
301
+ channelName: string;
302
+ }
303
+ declare const fetchAppInfo: () => Promise<AppInfo>;
304
+
305
+ declare const fetchTeamUsersAction: (limit?: number | undefined, offset?: number | undefined) => Promise<{
306
+ users: TeamUser[];
307
+ total: number;
308
+ currentUserEmail: string | undefined;
309
+ }>;
310
+ declare const inviteUserAction: (email: string) => Promise<{
311
+ success: boolean;
312
+ }>;
313
+ declare const deleteUserAction: (id: string, isPendingInvite: boolean) => Promise<{
314
+ success: boolean;
315
+ }>;
316
+ declare const fetchServiceAccountsAction: (limit?: number | undefined, offset?: number | undefined, includeRevoked?: boolean | undefined) => Promise<{
317
+ serviceAccounts: ServiceAccount[];
318
+ total: number;
319
+ }>;
320
+ declare const createServiceAccountAction: (name: string) => Promise<{
321
+ serviceAccount: {
322
+ id: string;
323
+ accountName: string;
324
+ };
325
+ token: string;
326
+ }>;
327
+ declare const revokeServiceAccountAction: (accountId: string) => Promise<{
328
+ success: boolean;
329
+ }>;
330
+ declare const rotateServiceAccountTokenAction: (accountId: string) => Promise<{
331
+ serviceAccount: ServiceAccount;
332
+ helmLoginCommand: string;
333
+ redeployHelm: string[];
334
+ }>;
335
+ declare const fetchInstancesAction: () => Promise<Instance[]>;
336
+ declare const fetchSamlConfigAction: () => Promise<SAMLConfig>;
337
+ declare const updateSamlConfigAction: (idpMetadataXml: string, idpPublicCert: string) => Promise<{
338
+ success: boolean;
339
+ }>;
340
+ declare const toggleSamlEnabledAction: (enabled: boolean) => Promise<{
341
+ success: boolean;
342
+ samlEnabled: boolean;
343
+ }>;
344
+ declare const deprovisionSamlAction: () => Promise<{
345
+ success: boolean;
346
+ }>;
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>;
358
+
359
+ declare const fetchCurrentUserAction: () => Promise<UserProfile>;
360
+ declare const updateUserAction: (data: {
361
+ firstName?: string;
362
+ lastName?: string;
363
+ }) => Promise<{
364
+ success: boolean;
365
+ }>;
366
+ declare const fetchNotificationsAction: (customerId: string) => Promise<NotificationSetting[]>;
367
+ declare const updateNotificationsAction: (customerId: string, notifications: NotificationSetting[]) => Promise<NotificationSetting[]>;
368
+ interface TeamForUserSettings {
369
+ id: string;
370
+ name: string;
371
+ appId: string;
372
+ appName: string;
373
+ appSlug: string;
374
+ }
375
+ declare const fetchTeamsForUserSettings: () => Promise<{
376
+ teams: TeamForUserSettings[];
377
+ currentCustomerId: string | undefined;
378
+ }>;
379
+
380
+ interface ActionResult {
381
+ success: boolean;
382
+ error?: string;
383
+ signedUrl?: string;
384
+ }
385
+ interface UploadSupportBundleResult$1 {
386
+ success: boolean;
387
+ error?: string;
388
+ bundleId?: string;
389
+ bundleSlug?: string;
390
+ }
391
+ interface ListBundlesResult {
392
+ success: boolean;
393
+ error?: string;
394
+ bundles?: SupportBundleSummary[];
395
+ totalCount?: number;
396
+ }
397
+ declare const downloadSupportBundleAction: (bundleId: string) => Promise<ActionResult>;
398
+ declare const deleteSupportBundleAction: (bundleId: string) => Promise<ActionResult>;
399
+ declare const uploadSupportBundleAction: (formData: FormData) => Promise<UploadSupportBundleResult$1>;
400
+ declare const listSupportBundlesAction: () => Promise<ListBundlesResult>;
401
+
402
+ interface UserPermissions {
403
+ canViewSecurity: boolean;
404
+ }
405
+ interface UserContext {
406
+ permissions?: UserPermissions;
407
+ }
408
+ interface UserResult {
409
+ context?: UserContext;
410
+ }
411
+ declare const fetchUser: () => Promise<UserResult>;
412
+
254
413
  /**
255
414
  * Light-weight type helpers for defining Server Actions that align with the
256
415
  * enterprise portal guardrails. The component library does not implement
257
416
  * specific actions, but it exports helpers so downstream portals can describe
258
417
  * their actions with consistent metadata.
259
418
  */
419
+
260
420
  /**
261
421
  * Gets the base API origin from environment, with trailing slashes removed.
262
422
  */
@@ -331,26 +491,6 @@ interface CustomBrandingResponse {
331
491
  brandingData: string;
332
492
  documentation: unknown;
333
493
  }
334
- interface PortalLicenseField {
335
- key: string;
336
- label: string;
337
- value: string | null;
338
- isSecret?: boolean;
339
- }
340
- interface PortalLicenseDetails {
341
- id?: string;
342
- status?: string;
343
- statusLabel?: string;
344
- environment?: string;
345
- expiresAt?: string | null;
346
- releaseChannels?: string[];
347
- installMethods?: string[];
348
- installNotes?: string;
349
- customerName?: string;
350
- customerId?: string;
351
- customerOrganization?: string;
352
- fields: PortalLicenseField[];
353
- }
354
494
  interface ListSupportBundlesInput {
355
495
  token: string;
356
496
  }
@@ -406,27 +546,10 @@ interface UploadSupportBundleCompleteResult {
406
546
  bundleId: string;
407
547
  slug: string;
408
548
  }
409
- interface FetchLicenseDetailsInput {
410
- token: string;
411
- }
412
- interface FetchLicenseDetailsResult {
413
- license: PortalLicenseDetails;
414
- raw: unknown;
415
- }
416
- interface FetchInstallOptionsInput {
417
- token: string;
418
- }
419
- interface FetchInstallOptionsResult {
420
- showLinux: boolean;
421
- showHelm: boolean;
422
- }
423
- interface FetchLicenseSummaryInput {
424
- token: string;
425
- }
426
- interface FetchLicenseSummaryResult {
427
- type: string;
428
- expiresAt: string | null;
549
+
550
+ interface FetchLicenseInput {
429
551
  }
552
+ type FetchLicenseResult = License;
430
553
  interface FetchCustomersInput {
431
554
  token: string;
432
555
  }
@@ -448,12 +571,37 @@ interface SwitchCustomerInput {
448
571
  interface SwitchCustomerResult {
449
572
  token: string;
450
573
  }
451
- interface ListReleasesInput {
452
- 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;
453
601
  }
454
602
  interface ListReleasesResult {
455
- status: number;
456
- body: string | null;
603
+ releases: DownloadPortalRelease[];
604
+ totalCount: number;
457
605
  }
458
606
  /**
459
607
  * Fetches custom branding for the portal.
@@ -475,10 +623,7 @@ declare const uploadSupportBundle: PortalServerActionDefinition<UploadSupportBun
475
623
  * Use this when you need progress indication - call this to get the URL, then upload directly from client.
476
624
  */
477
625
  declare const getSupportBundleUploadUrl: (appId: string) => string;
478
- declare const listReleases: PortalServerActionDefinition<ListReleasesInput, ListReleasesResult>;
479
- declare const fetchLicenseDetails: PortalServerActionDefinition<FetchLicenseDetailsInput, FetchLicenseDetailsResult>;
480
- declare const fetchInstallOptions: PortalServerActionDefinition<FetchInstallOptionsInput, FetchInstallOptionsResult>;
481
- declare const fetchLicenseSummary: PortalServerActionDefinition<FetchLicenseSummaryInput, FetchLicenseSummaryResult>;
626
+ declare const listReleases: () => Promise<ListReleasesResult>;
482
627
  declare const fetchCustomers: PortalServerActionDefinition<FetchCustomersInput, FetchCustomersResult>;
483
628
  declare const switchCustomer: PortalServerActionDefinition<SwitchCustomerInput, SwitchCustomerResult>;
484
629
  type SecurityInstallType = "linux" | "helm";
@@ -888,4 +1033,4 @@ interface RefreshInviteResult {
888
1033
  */
889
1034
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
890
1035
 
891
- 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, type FetchLicenseSummaryInput 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, getApiOrigin as aX, type UploadSupportBundleInput as aY, type UploadSupportBundleResult as aZ, type FetchInstallOptionsInput 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 FetchCustomersInput as b0, type Customer as b1, type FetchCustomersResult as b2, type SwitchCustomerInput as b3, type SwitchCustomerResult as b4, fetchInstallOptions as b5, fetchLicenseSummary as b6, fetchCustomers as b7, switchCustomer as b8, type FetchTeamStatsInput as b9, type UpdateSamlConfigInput as bA, type UpdateSamlConfigResult as bB, type ToggleSamlEnabledInput as bC, type ToggleSamlEnabledResult as bD, type DeprovisionSamlInput as bE, type DeprovisionSamlResult as bF, fetchTeamUsers as bG, inviteUser as bH, deleteUser as bI, fetchServiceAccounts as bJ, revokeServiceAccount as bK, rotateServiceAccountToken as bL, fetchInstances as bM, fetchSamlConfig as bN, updateSamlConfig as bO, toggleSamlEnabled as bP, deprovisionSaml as bQ, type AcceptInviteInput as bR, type AcceptInviteResult as bS, type AcceptInviteError as bT, acceptInvite as bU, type RefreshInviteInput as bV, type RefreshInviteResult as bW, refreshInvite as bX, type TeamUser as ba, type ServiceAccountSummary as bb, type FetchTeamStatsResult as bc, type FetchDashboardInstancesInput as bd, type FetchDashboardInstancesResult as be, fetchTeamStats as bf, fetchDashboardInstances as bg, type FetchTeamUsersInput as bh, type FetchTeamUsersResult as bi, type InviteUserInput as bj, type InviteUserResult as bk, type DeleteUserInput as bl, type DeleteUserResult as bm, type ServiceAccount as bn, type FetchServiceAccountsInput as bo, type FetchServiceAccountsResult as bp, type RevokeServiceAccountInput as bq, type RevokeServiceAccountResult as br, type RotateServiceAccountTokenInput as bs, type RotateServiceAccountTokenResult as bt, type Instance as bu, type FetchInstancesInput as bv, type FetchInstancesResult as bw, type SAMLConfig as bx, type FetchSamlConfigInput as by, type FetchSamlConfigResult as bz, type CreateInstallOptionsResult as c, 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,3 +1,7 @@
1
+ import { L as License } from './fetch-license-iTyF7_GY.js';
2
+ import './actions/change-team.js';
3
+ import './actions/trial-signup.js';
4
+
1
5
  /**
2
6
  * Install-related server actions for the Linux and Helm installation wizards.
3
7
  *
@@ -251,12 +255,168 @@ interface DiscardInstallationResult {
251
255
  */
252
256
  declare function discardInstallation(input: DiscardInstallationInput, context?: PortalActionContext): Promise<DiscardInstallationResult>;
253
257
 
258
+ declare const fetchPendingInstallationsAction: () => Promise<FetchPendingInstallationsResult>;
259
+ declare const fetchChannelReleasesAction: (token: string, channelId?: string | undefined) => Promise<FetchChannelReleasesResult>;
260
+ declare const createInstallOptionsAction: (input: {
261
+ token: string;
262
+ installType: InstallType;
263
+ instanceName: string;
264
+ serviceAccountId: string;
265
+ networkAvailability: NetworkAvailability;
266
+ isMultiNode?: boolean;
267
+ channelId?: string;
268
+ channelReleaseSequence?: number;
269
+ registryAvailability?: RegistryAvailability;
270
+ kubernetesDistribution?: KubernetesDistribution;
271
+ }) => Promise<CreateInstallOptionsResult>;
272
+ declare const getInstallOptionsAction: (input: {
273
+ token: string;
274
+ installOptionsId: string;
275
+ includeInstructions?: boolean;
276
+ privateRegistryHostname?: string;
277
+ proxyUrl?: string;
278
+ }) => Promise<GetInstallOptionsResult>;
279
+ declare const updateInstallOptionsAction: (input: {
280
+ token: string;
281
+ installOptionsId: string;
282
+ installType?: InstallType;
283
+ channelId?: string;
284
+ channelReleaseSequence?: number;
285
+ networkAvailability?: NetworkAvailability;
286
+ registryAvailability?: RegistryAvailability;
287
+ kubernetesDistribution?: KubernetesDistribution;
288
+ isMultiNode?: boolean;
289
+ serviceAccountId?: string;
290
+ adminConsoleUrl?: string | null;
291
+ includeInstructions?: boolean;
292
+ privateRegistryHostname?: string;
293
+ proxyUrl?: string;
294
+ }) => Promise<UpdateInstallOptionsResult>;
295
+ declare const discardInstallationAction: (installOptionsId: string) => Promise<DiscardInstallationResult>;
296
+
297
+ declare const createServiceAccountAction$1: (name: string, token: string) => Promise<CreateServiceAccountResult>;
298
+
299
+ interface AppInfo {
300
+ appName: string;
301
+ channelName: string;
302
+ }
303
+ declare const fetchAppInfo: () => Promise<AppInfo>;
304
+
305
+ declare const fetchTeamUsersAction: (limit?: number | undefined, offset?: number | undefined) => Promise<{
306
+ users: TeamUser[];
307
+ total: number;
308
+ currentUserEmail: string | undefined;
309
+ }>;
310
+ declare const inviteUserAction: (email: string) => Promise<{
311
+ success: boolean;
312
+ }>;
313
+ declare const deleteUserAction: (id: string, isPendingInvite: boolean) => Promise<{
314
+ success: boolean;
315
+ }>;
316
+ declare const fetchServiceAccountsAction: (limit?: number | undefined, offset?: number | undefined, includeRevoked?: boolean | undefined) => Promise<{
317
+ serviceAccounts: ServiceAccount[];
318
+ total: number;
319
+ }>;
320
+ declare const createServiceAccountAction: (name: string) => Promise<{
321
+ serviceAccount: {
322
+ id: string;
323
+ accountName: string;
324
+ };
325
+ token: string;
326
+ }>;
327
+ declare const revokeServiceAccountAction: (accountId: string) => Promise<{
328
+ success: boolean;
329
+ }>;
330
+ declare const rotateServiceAccountTokenAction: (accountId: string) => Promise<{
331
+ serviceAccount: ServiceAccount;
332
+ helmLoginCommand: string;
333
+ redeployHelm: string[];
334
+ }>;
335
+ declare const fetchInstancesAction: () => Promise<Instance[]>;
336
+ declare const fetchSamlConfigAction: () => Promise<SAMLConfig>;
337
+ declare const updateSamlConfigAction: (idpMetadataXml: string, idpPublicCert: string) => Promise<{
338
+ success: boolean;
339
+ }>;
340
+ declare const toggleSamlEnabledAction: (enabled: boolean) => Promise<{
341
+ success: boolean;
342
+ samlEnabled: boolean;
343
+ }>;
344
+ declare const deprovisionSamlAction: () => Promise<{
345
+ success: boolean;
346
+ }>;
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>;
358
+
359
+ declare const fetchCurrentUserAction: () => Promise<UserProfile>;
360
+ declare const updateUserAction: (data: {
361
+ firstName?: string;
362
+ lastName?: string;
363
+ }) => Promise<{
364
+ success: boolean;
365
+ }>;
366
+ declare const fetchNotificationsAction: (customerId: string) => Promise<NotificationSetting[]>;
367
+ declare const updateNotificationsAction: (customerId: string, notifications: NotificationSetting[]) => Promise<NotificationSetting[]>;
368
+ interface TeamForUserSettings {
369
+ id: string;
370
+ name: string;
371
+ appId: string;
372
+ appName: string;
373
+ appSlug: string;
374
+ }
375
+ declare const fetchTeamsForUserSettings: () => Promise<{
376
+ teams: TeamForUserSettings[];
377
+ currentCustomerId: string | undefined;
378
+ }>;
379
+
380
+ interface ActionResult {
381
+ success: boolean;
382
+ error?: string;
383
+ signedUrl?: string;
384
+ }
385
+ interface UploadSupportBundleResult$1 {
386
+ success: boolean;
387
+ error?: string;
388
+ bundleId?: string;
389
+ bundleSlug?: string;
390
+ }
391
+ interface ListBundlesResult {
392
+ success: boolean;
393
+ error?: string;
394
+ bundles?: SupportBundleSummary[];
395
+ totalCount?: number;
396
+ }
397
+ declare const downloadSupportBundleAction: (bundleId: string) => Promise<ActionResult>;
398
+ declare const deleteSupportBundleAction: (bundleId: string) => Promise<ActionResult>;
399
+ declare const uploadSupportBundleAction: (formData: FormData) => Promise<UploadSupportBundleResult$1>;
400
+ declare const listSupportBundlesAction: () => Promise<ListBundlesResult>;
401
+
402
+ interface UserPermissions {
403
+ canViewSecurity: boolean;
404
+ }
405
+ interface UserContext {
406
+ permissions?: UserPermissions;
407
+ }
408
+ interface UserResult {
409
+ context?: UserContext;
410
+ }
411
+ declare const fetchUser: () => Promise<UserResult>;
412
+
254
413
  /**
255
414
  * Light-weight type helpers for defining Server Actions that align with the
256
415
  * enterprise portal guardrails. The component library does not implement
257
416
  * specific actions, but it exports helpers so downstream portals can describe
258
417
  * their actions with consistent metadata.
259
418
  */
419
+
260
420
  /**
261
421
  * Gets the base API origin from environment, with trailing slashes removed.
262
422
  */
@@ -331,26 +491,6 @@ interface CustomBrandingResponse {
331
491
  brandingData: string;
332
492
  documentation: unknown;
333
493
  }
334
- interface PortalLicenseField {
335
- key: string;
336
- label: string;
337
- value: string | null;
338
- isSecret?: boolean;
339
- }
340
- interface PortalLicenseDetails {
341
- id?: string;
342
- status?: string;
343
- statusLabel?: string;
344
- environment?: string;
345
- expiresAt?: string | null;
346
- releaseChannels?: string[];
347
- installMethods?: string[];
348
- installNotes?: string;
349
- customerName?: string;
350
- customerId?: string;
351
- customerOrganization?: string;
352
- fields: PortalLicenseField[];
353
- }
354
494
  interface ListSupportBundlesInput {
355
495
  token: string;
356
496
  }
@@ -406,27 +546,10 @@ interface UploadSupportBundleCompleteResult {
406
546
  bundleId: string;
407
547
  slug: string;
408
548
  }
409
- interface FetchLicenseDetailsInput {
410
- token: string;
411
- }
412
- interface FetchLicenseDetailsResult {
413
- license: PortalLicenseDetails;
414
- raw: unknown;
415
- }
416
- interface FetchInstallOptionsInput {
417
- token: string;
418
- }
419
- interface FetchInstallOptionsResult {
420
- showLinux: boolean;
421
- showHelm: boolean;
422
- }
423
- interface FetchLicenseSummaryInput {
424
- token: string;
425
- }
426
- interface FetchLicenseSummaryResult {
427
- type: string;
428
- expiresAt: string | null;
549
+
550
+ interface FetchLicenseInput {
429
551
  }
552
+ type FetchLicenseResult = License;
430
553
  interface FetchCustomersInput {
431
554
  token: string;
432
555
  }
@@ -448,12 +571,37 @@ interface SwitchCustomerInput {
448
571
  interface SwitchCustomerResult {
449
572
  token: string;
450
573
  }
451
- interface ListReleasesInput {
452
- 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;
453
601
  }
454
602
  interface ListReleasesResult {
455
- status: number;
456
- body: string | null;
603
+ releases: DownloadPortalRelease[];
604
+ totalCount: number;
457
605
  }
458
606
  /**
459
607
  * Fetches custom branding for the portal.
@@ -475,10 +623,7 @@ declare const uploadSupportBundle: PortalServerActionDefinition<UploadSupportBun
475
623
  * Use this when you need progress indication - call this to get the URL, then upload directly from client.
476
624
  */
477
625
  declare const getSupportBundleUploadUrl: (appId: string) => string;
478
- declare const listReleases: PortalServerActionDefinition<ListReleasesInput, ListReleasesResult>;
479
- declare const fetchLicenseDetails: PortalServerActionDefinition<FetchLicenseDetailsInput, FetchLicenseDetailsResult>;
480
- declare const fetchInstallOptions: PortalServerActionDefinition<FetchInstallOptionsInput, FetchInstallOptionsResult>;
481
- declare const fetchLicenseSummary: PortalServerActionDefinition<FetchLicenseSummaryInput, FetchLicenseSummaryResult>;
626
+ declare const listReleases: () => Promise<ListReleasesResult>;
482
627
  declare const fetchCustomers: PortalServerActionDefinition<FetchCustomersInput, FetchCustomersResult>;
483
628
  declare const switchCustomer: PortalServerActionDefinition<SwitchCustomerInput, SwitchCustomerResult>;
484
629
  type SecurityInstallType = "linux" | "helm";
@@ -888,4 +1033,4 @@ interface RefreshInviteResult {
888
1033
  */
889
1034
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
890
1035
 
891
- 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, type FetchLicenseSummaryInput 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, getApiOrigin as aX, type UploadSupportBundleInput as aY, type UploadSupportBundleResult as aZ, type FetchInstallOptionsInput 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 FetchCustomersInput as b0, type Customer as b1, type FetchCustomersResult as b2, type SwitchCustomerInput as b3, type SwitchCustomerResult as b4, fetchInstallOptions as b5, fetchLicenseSummary as b6, fetchCustomers as b7, switchCustomer as b8, type FetchTeamStatsInput as b9, type UpdateSamlConfigInput as bA, type UpdateSamlConfigResult as bB, type ToggleSamlEnabledInput as bC, type ToggleSamlEnabledResult as bD, type DeprovisionSamlInput as bE, type DeprovisionSamlResult as bF, fetchTeamUsers as bG, inviteUser as bH, deleteUser as bI, fetchServiceAccounts as bJ, revokeServiceAccount as bK, rotateServiceAccountToken as bL, fetchInstances as bM, fetchSamlConfig as bN, updateSamlConfig as bO, toggleSamlEnabled as bP, deprovisionSaml as bQ, type AcceptInviteInput as bR, type AcceptInviteResult as bS, type AcceptInviteError as bT, acceptInvite as bU, type RefreshInviteInput as bV, type RefreshInviteResult as bW, refreshInvite as bX, type TeamUser as ba, type ServiceAccountSummary as bb, type FetchTeamStatsResult as bc, type FetchDashboardInstancesInput as bd, type FetchDashboardInstancesResult as be, fetchTeamStats as bf, fetchDashboardInstances as bg, type FetchTeamUsersInput as bh, type FetchTeamUsersResult as bi, type InviteUserInput as bj, type InviteUserResult as bk, type DeleteUserInput as bl, type DeleteUserResult as bm, type ServiceAccount as bn, type FetchServiceAccountsInput as bo, type FetchServiceAccountsResult as bp, type RevokeServiceAccountInput as bq, type RevokeServiceAccountResult as br, type RotateServiceAccountTokenInput as bs, type RotateServiceAccountTokenResult as bt, type Instance as bu, type FetchInstancesInput as bv, type FetchInstancesResult as bw, type SAMLConfig as bx, type FetchSamlConfigInput as by, type FetchSamlConfigResult as bz, type CreateInstallOptionsResult as c, 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 };