meyi-insight-ui-dev 1.0.20 → 1.0.22

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.
@@ -1,32 +1,7 @@
1
1
  import { Connector } from './types.js';
2
- export declare const topologyApi: import('axios').AxiosInstance;
3
2
  export declare const connectorService: {
4
- /**
5
- * GET /connectors
6
- * Returns all AWS account connectors for the current tenant.
7
- */
8
- list: () => Promise<{
3
+ list(): Promise<{
9
4
  connectors: Connector[];
10
- total: number;
11
5
  }>;
12
- /**
13
- * GET /connectors/:id
14
- * Returns a specific AWS account connector by ID or Account ID.
15
- */
16
- getById: (id: string) => Promise<Connector | null>;
17
- /**
18
- * GET /status/:connectorId
19
- * Gets the topology discovery status from the topology API.
20
- */
21
- getDiscoveryStatus: (connectorId: string) => Promise<string | null>;
22
- /**
23
- * POST /discover
24
- * Manually trigger a topology discovery for the given connector.
25
- */
26
- triggerDiscovery: (connectorId: string) => Promise<boolean>;
27
- /**
28
- * GET /export/:connectorId
29
- * Export the complete topology map as JSON for the given connector.
30
- */
31
- exportTopology: (connectorId: string) => Promise<Blob | null>;
6
+ getById(id: string): Promise<Connector | null>;
32
7
  };
@@ -1,26 +1,17 @@
1
- export type AccessStatus = 'Active' | 'Inactive' | 'Failed';
2
- export type ConnectionStatus = 'PENDING' | 'CONNECTED' | 'FAILED';
3
1
  export interface Connector {
4
2
  id: string;
5
3
  tenantId: string;
6
4
  accountId: string;
5
+ managementAccountId?: string;
7
6
  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;
7
+ email?: string | null;
8
+ accessStatus: string;
9
+ connectionStatus: string;
16
10
  roleName: string;
17
11
  roleArn: string;
18
- /** Whether this account has monitoring/billing enabled */
19
12
  selected: boolean;
20
- joinedMethod: string | null;
21
- connectedAt: string | null;
13
+ joinedMethod?: string | null;
14
+ connectedAt?: string | null;
22
15
  createdAt: string;
23
16
  updatedAt: string;
24
- /** Async status from topology discovery (e.g. queued, running, completed, failed) */
25
- discoveryStatus?: string;
26
17
  }
@@ -1,4 +1,4 @@
1
- type SettingsTab = "notifications" | "providers";
1
+ type SettingsTab = "notifications";
2
2
  export declare function InsightSettingsPage({ initialTab }: {
3
3
  initialTab?: SettingsTab;
4
4
  }): import("react/jsx-runtime").JSX.Element;