meyi-insight-ui-dev 1.0.9 → 1.0.11

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.
@@ -0,0 +1,6 @@
1
+ import { Connector } from './types.js';
2
+ interface ConnectorCardProps {
3
+ connector: Connector;
4
+ }
5
+ export declare function ConnectorCard({ connector }: ConnectorCardProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ import { Connector } from './types.js';
2
+ export declare const connectorService: {
3
+ /**
4
+ * GET /connectors
5
+ * Returns all AWS account connectors for the current tenant.
6
+ */
7
+ list: () => Promise<{
8
+ connectors: Connector[];
9
+ total: number;
10
+ }>;
11
+ };
@@ -0,0 +1 @@
1
+ export declare function InsightConnectorsPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ export type AccessStatus = 'Active' | 'Inactive' | 'Failed';
2
+ export type ConnectionStatus = 'PENDING' | 'CONNECTED' | 'FAILED';
3
+ export interface Connector {
4
+ id: string;
5
+ tenantId: string;
6
+ accountId: string;
7
+ accountName: string;
8
+ email: string | null;
9
+ /** STS access verification result per-account */
10
+ accessStatus: AccessStatus;
11
+ /** Overall connection status from the parent aws_connections row */
12
+ connectionStatus: ConnectionStatus;
13
+ connectionId: string;
14
+ managementAccountId: string | null;
15
+ externalId: string;
16
+ roleName: string;
17
+ roleArn: string;
18
+ /** Whether this account has monitoring/billing enabled */
19
+ selected: boolean;
20
+ joinedMethod: string | null;
21
+ connectedAt: string | null;
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ }