@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.
- package/components/metadata/registry.json +2 -2
- package/components/metadata/registry.md +2 -2
- package/dist/actions/change-team.d.mts +10 -0
- package/dist/actions/change-team.d.ts +10 -0
- package/dist/actions/change-team.js +458 -0
- package/dist/actions/change-team.js.map +1 -0
- package/dist/actions/index.d.mts +4 -1
- package/dist/actions/index.d.ts +4 -1
- package/dist/actions/index.js +1232 -430
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/install-actions.d.mts +4 -0
- package/dist/actions/install-actions.d.ts +4 -0
- package/dist/actions/install-actions.js +680 -0
- package/dist/actions/install-actions.js.map +1 -0
- package/dist/actions/service-account.d.mts +4 -0
- package/dist/actions/service-account.d.ts +4 -0
- package/dist/actions/service-account.js +373 -0
- package/dist/actions/service-account.js.map +1 -0
- package/dist/actions/support-bundles.d.mts +4 -0
- package/dist/actions/support-bundles.d.ts +4 -0
- package/dist/actions/support-bundles.js +659 -0
- package/dist/actions/support-bundles.js.map +1 -0
- package/dist/actions/team-settings.d.mts +4 -0
- package/dist/actions/team-settings.d.ts +4 -0
- package/dist/actions/team-settings.js +1040 -0
- package/dist/actions/team-settings.js.map +1 -0
- package/dist/actions/trial-signup.d.mts +24 -0
- package/dist/actions/trial-signup.d.ts +24 -0
- package/dist/actions/trial-signup.js +482 -0
- package/dist/actions/trial-signup.js.map +1 -0
- package/dist/actions/user-settings.d.mts +4 -0
- package/dist/actions/user-settings.d.ts +4 -0
- package/dist/actions/user-settings.js +621 -0
- package/dist/actions/user-settings.js.map +1 -0
- package/dist/airgap-instances.d.mts +4 -1
- package/dist/airgap-instances.d.ts +4 -1
- package/dist/airgap-instances.js +177 -32
- package/dist/airgap-instances.js.map +1 -1
- package/dist/branding-BsMSywts.d.mts +36 -0
- package/dist/branding-BsMSywts.d.ts +36 -0
- package/dist/error-page.js +10 -2
- package/dist/error-page.js.map +1 -1
- package/dist/error.js +10 -2
- package/dist/error.js.map +1 -1
- package/dist/esm/actions/change-team.js +455 -0
- package/dist/esm/actions/change-team.js.map +1 -0
- package/dist/esm/actions/index.js +1200 -428
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/actions/install-actions.js +673 -0
- package/dist/esm/actions/install-actions.js.map +1 -0
- package/dist/esm/actions/service-account.js +371 -0
- package/dist/esm/actions/service-account.js.map +1 -0
- package/dist/esm/actions/support-bundles.js +654 -0
- package/dist/esm/actions/support-bundles.js.map +1 -0
- package/dist/esm/actions/team-settings.js +1026 -0
- package/dist/esm/actions/team-settings.js.map +1 -0
- package/dist/esm/actions/trial-signup.js +478 -0
- package/dist/esm/actions/trial-signup.js.map +1 -0
- package/dist/esm/actions/user-settings.js +615 -0
- package/dist/esm/actions/user-settings.js.map +1 -0
- package/dist/esm/airgap-instances.js +176 -32
- package/dist/esm/airgap-instances.js.map +1 -1
- package/dist/esm/error-page.js +10 -2
- package/dist/esm/error-page.js.map +1 -1
- package/dist/esm/error.js +10 -2
- package/dist/esm/error.js.map +1 -1
- package/dist/esm/helm-install-wizard.js +127 -81
- package/dist/esm/helm-install-wizard.js.map +1 -1
- package/dist/esm/index.js +706 -438
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/install-actions.js +40 -5
- package/dist/esm/install-actions.js.map +1 -1
- package/dist/esm/install-card.js +9 -6
- package/dist/esm/install-card.js.map +1 -1
- package/dist/esm/install-targets.js +9 -2
- package/dist/esm/install-targets.js.map +1 -1
- package/dist/esm/instance-card.js +175 -31
- package/dist/esm/instance-card.js.map +1 -1
- package/dist/esm/join-team.js +9 -3
- package/dist/esm/join-team.js.map +1 -1
- package/dist/esm/license-card.js +24 -22
- package/dist/esm/license-card.js.map +1 -1
- package/dist/esm/license-details.js +128 -334
- package/dist/esm/license-details.js.map +1 -1
- package/dist/esm/linux-install-wizard.js +219 -133
- package/dist/esm/linux-install-wizard.js.map +1 -1
- package/dist/esm/login.js +20 -4
- package/dist/esm/login.js.map +1 -1
- package/dist/esm/middleware.js +33 -0
- package/dist/esm/middleware.js.map +1 -0
- package/dist/esm/online-instance-list.js +176 -32
- package/dist/esm/online-instance-list.js.map +1 -1
- package/dist/esm/pending-installations.js +4 -3
- package/dist/esm/pending-installations.js.map +1 -1
- package/dist/esm/release-history-panel.js +27 -14
- package/dist/esm/release-history-panel.js.map +1 -1
- package/dist/esm/saml-callback-client.js +82 -0
- package/dist/esm/saml-callback-client.js.map +1 -0
- package/dist/esm/saml-handlers.js +138 -0
- package/dist/esm/saml-handlers.js.map +1 -0
- package/dist/esm/security-card.js +53 -38
- package/dist/esm/security-card.js.map +1 -1
- package/dist/esm/service-accounts-tab.js +800 -0
- package/dist/esm/service-accounts-tab.js.map +1 -0
- package/dist/esm/support-bundle-collection-card.js +55 -25
- package/dist/esm/support-bundle-collection-card.js.map +1 -1
- package/dist/esm/support-bundles-card.js +10 -5
- package/dist/esm/support-bundles-card.js.map +1 -1
- package/dist/esm/support-card.js +37 -5
- package/dist/esm/support-card.js.map +1 -1
- package/dist/esm/team-selection.js +5 -1
- package/dist/esm/team-selection.js.map +1 -1
- package/dist/esm/team-settings-card.js +5 -2
- package/dist/esm/team-settings-card.js.map +1 -1
- package/dist/esm/team-settings.js +7 -2
- package/dist/esm/team-settings.js.map +1 -1
- package/dist/esm/top-nav-user-menu.js +5 -1
- package/dist/esm/top-nav-user-menu.js.map +1 -1
- package/dist/esm/top-nav.js +175 -62
- package/dist/esm/top-nav.js.map +1 -1
- package/dist/esm/trial-signup.js +256 -0
- package/dist/esm/trial-signup.js.map +1 -0
- package/dist/esm/update-layout.js +175 -62
- package/dist/esm/update-layout.js.map +1 -1
- package/dist/esm/updates-card.js +15 -4
- package/dist/esm/updates-card.js.map +1 -1
- package/dist/esm/upload-support-bundle-modal.js +9 -4
- package/dist/esm/upload-support-bundle-modal.js.map +1 -1
- package/dist/esm/user-settings-card.js +5 -2
- package/dist/esm/user-settings-card.js.map +1 -1
- package/dist/esm/user-settings.js +12 -6
- package/dist/esm/user-settings.js.map +1 -1
- package/dist/esm/utils/index.js +204 -13
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/fetch-license-iTyF7_GY.d.mts +81 -0
- package/dist/fetch-license-iTyF7_GY.d.ts +81 -0
- package/dist/helm-install-wizard.d.mts +12 -3
- package/dist/helm-install-wizard.d.ts +12 -3
- package/dist/helm-install-wizard.js +127 -81
- package/dist/helm-install-wizard.js.map +1 -1
- package/dist/{index-DkjaogsF.d.ts → index-DyzJ0yKD.d.mts} +194 -49
- package/dist/{index-DkjaogsF.d.mts → index-sMbq94M7.d.ts} +194 -49
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +726 -438
- package/dist/index.js.map +1 -1
- package/dist/install-actions.d.mts +5 -2
- package/dist/install-actions.d.ts +5 -2
- package/dist/install-actions.js +40 -5
- package/dist/install-actions.js.map +1 -1
- package/dist/install-card.d.mts +2 -2
- package/dist/install-card.d.ts +2 -2
- package/dist/install-card.js +9 -6
- package/dist/install-card.js.map +1 -1
- package/dist/install-targets.js +9 -2
- package/dist/install-targets.js.map +1 -1
- package/dist/instance-card.d.mts +4 -1
- package/dist/instance-card.d.ts +4 -1
- package/dist/instance-card.js +176 -31
- package/dist/instance-card.js.map +1 -1
- package/dist/join-team.js +9 -3
- package/dist/join-team.js.map +1 -1
- package/dist/license-card.d.mts +2 -2
- package/dist/license-card.d.ts +2 -2
- package/dist/license-card.js +24 -22
- package/dist/license-card.js.map +1 -1
- package/dist/license-details.js +128 -334
- package/dist/license-details.js.map +1 -1
- package/dist/linux-install-wizard.d.mts +12 -6
- package/dist/linux-install-wizard.d.ts +12 -6
- package/dist/linux-install-wizard.js +219 -133
- package/dist/linux-install-wizard.js.map +1 -1
- package/dist/login.d.mts +4 -0
- package/dist/login.d.ts +4 -0
- package/dist/login.js +20 -4
- package/dist/login.js.map +1 -1
- package/dist/middleware.d.mts +13 -0
- package/dist/middleware.d.ts +13 -0
- package/dist/middleware.js +35 -0
- package/dist/middleware.js.map +1 -0
- package/dist/online-instance-list.d.mts +4 -1
- package/dist/online-instance-list.d.ts +4 -1
- package/dist/online-instance-list.js +177 -32
- package/dist/online-instance-list.js.map +1 -1
- package/dist/pending-installations.d.mts +8 -3
- package/dist/pending-installations.d.ts +8 -3
- package/dist/pending-installations.js +4 -3
- package/dist/pending-installations.js.map +1 -1
- package/dist/release-history-panel.js +27 -14
- package/dist/release-history-panel.js.map +1 -1
- package/dist/saml-callback-client.d.mts +36 -0
- package/dist/saml-callback-client.d.ts +36 -0
- package/dist/saml-callback-client.js +88 -0
- package/dist/saml-callback-client.js.map +1 -0
- package/dist/saml-handlers.d.mts +50 -0
- package/dist/saml-handlers.d.ts +50 -0
- package/dist/saml-handlers.js +141 -0
- package/dist/saml-handlers.js.map +1 -0
- package/dist/security-card.d.mts +4 -1
- package/dist/security-card.d.ts +4 -1
- package/dist/security-card.js +53 -38
- package/dist/security-card.js.map +1 -1
- package/dist/service-accounts-tab.d.mts +51 -0
- package/dist/service-accounts-tab.d.ts +51 -0
- package/dist/service-accounts-tab.js +802 -0
- package/dist/service-accounts-tab.js.map +1 -0
- package/dist/styles.css +380 -143
- package/dist/support-bundle-collection-card.d.mts +1 -1
- package/dist/support-bundle-collection-card.d.ts +1 -1
- package/dist/support-bundle-collection-card.js +54 -24
- package/dist/support-bundle-collection-card.js.map +1 -1
- package/dist/support-bundles-card.d.mts +5 -2
- package/dist/support-bundles-card.d.ts +5 -2
- package/dist/support-bundles-card.js +10 -5
- package/dist/support-bundles-card.js.map +1 -1
- package/dist/support-card.js +37 -5
- package/dist/support-card.js.map +1 -1
- package/dist/team-selection.js +5 -1
- package/dist/team-selection.js.map +1 -1
- package/dist/team-settings-card.js +5 -2
- package/dist/team-settings-card.js.map +1 -1
- package/dist/team-settings.js +7 -2
- package/dist/team-settings.js.map +1 -1
- package/dist/{top-nav-IRIn66wS.d.ts → top-nav-BUQAGoG1.d.mts} +14 -2
- package/dist/{top-nav-IRIn66wS.d.mts → top-nav-CEqw0KpO.d.ts} +14 -2
- package/dist/top-nav-user-menu.js +5 -1
- package/dist/top-nav-user-menu.js.map +1 -1
- package/dist/top-nav.d.mts +2 -1
- package/dist/top-nav.d.ts +2 -1
- package/dist/top-nav.js +175 -62
- package/dist/top-nav.js.map +1 -1
- package/dist/trial-signup.d.mts +31 -0
- package/dist/trial-signup.d.ts +31 -0
- package/dist/trial-signup.js +258 -0
- package/dist/trial-signup.js.map +1 -0
- package/dist/update-layout.js +175 -62
- package/dist/update-layout.js.map +1 -1
- package/dist/updates-card.js +15 -4
- package/dist/updates-card.js.map +1 -1
- package/dist/upload-support-bundle-modal.js +9 -4
- package/dist/upload-support-bundle-modal.js.map +1 -1
- package/dist/user-settings-card.js +5 -2
- package/dist/user-settings-card.js.map +1 -1
- package/dist/user-settings.js +12 -6
- package/dist/user-settings.js.map +1 -1
- package/dist/utils/index.d.mts +74 -16
- package/dist/utils/index.d.ts +74 -16
- package/dist/utils/index.js +215 -12
- package/dist/utils/index.js.map +1 -1
- 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
|
-
|
|
410
|
-
|
|
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
|
|
452
|
-
|
|
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
|
-
|
|
456
|
-
|
|
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:
|
|
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
|
|
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
|
-
|
|
410
|
-
|
|
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
|
|
452
|
-
|
|
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
|
-
|
|
456
|
-
|
|
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:
|
|
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
|
|
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 };
|