@burdenoff/microfe-integrations 2026.703.1 → 2026.715.2

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 (97) hide show
  1. package/dist/dev/main.d.ts +2 -0
  2. package/dist/dev/main.d.ts.map +1 -0
  3. package/dist/generated/global-operations.d.ts +2 -0
  4. package/dist/generated/global-operations.d.ts.map +1 -0
  5. package/dist/generated/global-types.d.ts +23527 -0
  6. package/dist/generated/global-types.d.ts.map +1 -0
  7. package/dist/generated/wspace-operations.d.ts +1645 -0
  8. package/dist/generated/wspace-operations.d.ts.map +1 -0
  9. package/dist/generated/wspace-types.d.ts +57851 -0
  10. package/dist/generated/wspace-types.d.ts.map +1 -0
  11. package/dist/index.d.ts +6 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/integrations/IntegrationsAdminRoot.d.ts +19 -0
  14. package/dist/integrations/IntegrationsAdminRoot.d.ts.map +1 -0
  15. package/dist/integrations/IntegrationsAdminRoutes.d.ts +8 -0
  16. package/dist/integrations/IntegrationsAdminRoutes.d.ts.map +1 -0
  17. package/dist/integrations/IntegrationsRoot.d.ts +33 -0
  18. package/dist/integrations/IntegrationsRoot.d.ts.map +1 -0
  19. package/dist/integrations/IntegrationsUserRoutes.d.ts +8 -0
  20. package/dist/integrations/IntegrationsUserRoutes.d.ts.map +1 -0
  21. package/dist/integrations/components/AddConnectionDialog.d.ts +22 -0
  22. package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -0
  23. package/dist/integrations/components/ConfirmDialog.d.ts +17 -0
  24. package/dist/integrations/components/ConfirmDialog.d.ts.map +1 -0
  25. package/dist/integrations/components/ConnectionCard.d.ts +14 -0
  26. package/dist/integrations/components/ConnectionCard.d.ts.map +1 -0
  27. package/dist/integrations/components/ConnectionStatusBadge.d.ts +14 -0
  28. package/dist/integrations/components/ConnectionStatusBadge.d.ts.map +1 -0
  29. package/dist/integrations/components/CredentialStorageSelector.d.ts +16 -0
  30. package/dist/integrations/components/CredentialStorageSelector.d.ts.map +1 -0
  31. package/dist/integrations/components/ProviderCard.d.ts +16 -0
  32. package/dist/integrations/components/ProviderCard.d.ts.map +1 -0
  33. package/dist/integrations/components/ProviderIcon.d.ts +19 -0
  34. package/dist/integrations/components/ProviderIcon.d.ts.map +1 -0
  35. package/dist/integrations/constants/featureFlags.d.ts +7 -0
  36. package/dist/integrations/constants/featureFlags.d.ts.map +1 -0
  37. package/dist/integrations/constants/permissions.d.ts +22 -0
  38. package/dist/integrations/constants/permissions.d.ts.map +1 -0
  39. package/dist/integrations/events/integrations-events.d.ts +36 -0
  40. package/dist/integrations/events/integrations-events.d.ts.map +1 -0
  41. package/dist/integrations/events/useIntegrationsEventBus.d.ts +11 -0
  42. package/dist/integrations/events/useIntegrationsEventBus.d.ts.map +1 -0
  43. package/dist/integrations/hooks/useConnections.d.ts +95 -0
  44. package/dist/integrations/hooks/useConnections.d.ts.map +1 -0
  45. package/dist/integrations/hooks/useCredentialVaults.d.ts +21 -0
  46. package/dist/integrations/hooks/useCredentialVaults.d.ts.map +1 -0
  47. package/dist/integrations/hooks/useLogs.d.ts +22 -0
  48. package/dist/integrations/hooks/useLogs.d.ts.map +1 -0
  49. package/dist/integrations/hooks/useProviders.d.ts +99 -0
  50. package/dist/integrations/hooks/useProviders.d.ts.map +1 -0
  51. package/dist/integrations/index.d.ts +33 -0
  52. package/dist/integrations/index.d.ts.map +1 -0
  53. package/dist/integrations/pages/AddConnectionWizard.d.ts +14 -0
  54. package/dist/integrations/pages/AddConnectionWizard.d.ts.map +1 -0
  55. package/dist/integrations/pages/ConnectionDetail.d.ts +5 -0
  56. package/dist/integrations/pages/ConnectionDetail.d.ts.map +1 -0
  57. package/dist/integrations/pages/ConnectionLogs.d.ts +5 -0
  58. package/dist/integrations/pages/ConnectionLogs.d.ts.map +1 -0
  59. package/dist/integrations/pages/ConnectionsList.d.ts +5 -0
  60. package/dist/integrations/pages/ConnectionsList.d.ts.map +1 -0
  61. package/dist/integrations/pages/IntegrationsOverview.d.ts +5 -0
  62. package/dist/integrations/pages/IntegrationsOverview.d.ts.map +1 -0
  63. package/dist/integrations/pages/IntegrationsSettings.d.ts +5 -0
  64. package/dist/integrations/pages/IntegrationsSettings.d.ts.map +1 -0
  65. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts +11 -0
  66. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts.map +1 -0
  67. package/dist/integrations/pages/ProviderCatalog.d.ts +9 -0
  68. package/dist/integrations/pages/ProviderCatalog.d.ts.map +1 -0
  69. package/dist/integrations/pages/ProviderDetail.d.ts +5 -0
  70. package/dist/integrations/pages/ProviderDetail.d.ts.map +1 -0
  71. package/dist/integrations/pages/ProviderEditorPage.d.ts +2 -0
  72. package/dist/integrations/pages/ProviderEditorPage.d.ts.map +1 -0
  73. package/dist/integrations/providers/IntegrationsProvider.d.ts +13 -0
  74. package/dist/integrations/providers/IntegrationsProvider.d.ts.map +1 -0
  75. package/dist/integrations/store/integrationsStore.d.ts +21 -0
  76. package/dist/integrations/store/integrationsStore.d.ts.map +1 -0
  77. package/dist/integrations/types/index.d.ts +217 -0
  78. package/dist/integrations/types/index.d.ts.map +1 -0
  79. package/dist/integrations/utils/appearance.d.ts +14 -0
  80. package/dist/integrations/utils/appearance.d.ts.map +1 -0
  81. package/dist/integrations/utils/cn.d.ts +8 -0
  82. package/dist/integrations/utils/cn.d.ts.map +1 -0
  83. package/dist/integrations/utils/constants.d.ts +190 -0
  84. package/dist/integrations/utils/constants.d.ts.map +1 -0
  85. package/dist/integrations/utils/integrationsHelpers.d.ts +31 -0
  86. package/dist/integrations/utils/integrationsHelpers.d.ts.map +1 -0
  87. package/dist/integrations/utils/mappers.d.ts +15 -0
  88. package/dist/integrations/utils/mappers.d.ts.map +1 -0
  89. package/dist/integrations/utils/navigation.d.ts +18 -0
  90. package/dist/integrations/utils/navigation.d.ts.map +1 -0
  91. package/dist/integrations/utils/oauthPopup.d.ts +16 -0
  92. package/dist/integrations/utils/oauthPopup.d.ts.map +1 -0
  93. package/dist/integrations/utils/paths.d.ts +5 -0
  94. package/dist/integrations/utils/paths.d.ts.map +1 -0
  95. package/dist/utils/nativeBridge.d.ts +3 -0
  96. package/dist/utils/nativeBridge.d.ts.map +1 -0
  97. package/package.json +2 -2
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Integrations Microfrontend
3
+ *
4
+ * Provides a plugin-based integration provider and connection management interface
5
+ * for connecting workspaces to third-party services via OAuth, API keys, and more.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import { IntegrationsRoot, type IntegrationsRootProps } from '@burdenoff/micro-fe/integrations';
10
+ *
11
+ * function App() {
12
+ * const props: IntegrationsRootProps = {
13
+ * basePath: '/integrations',
14
+ * navigate: (path) => router.push(path),
15
+ * currentUser: { id: '1', email: 'user@example.com' },
16
+ * workspaceId: 'ws-123',
17
+ * apiGatewayUrl: 'https://api.example.com',
18
+ * authToken: 'token',
19
+ * };
20
+ *
21
+ * return <IntegrationsRoot {...props} />;
22
+ * }
23
+ * ```
24
+ */
25
+ export { IntegrationsRoot } from './IntegrationsRoot';
26
+ export { IntegrationsAdminRoot } from './IntegrationsAdminRoot';
27
+ export type { IntegrationsRootProps, IntegrationProvider, IntegrationConnection } from './types';
28
+ export { useIntegrations } from './providers/IntegrationsProvider';
29
+ export { useIntegrationsStore } from './store/integrationsStore';
30
+ export { AddConnectionWizard } from './pages/AddConnectionWizard';
31
+ export { INTEGRATION_PERMISSIONS } from './constants/permissions';
32
+ export type { IntegrationPermission } from './constants/permissions';
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Add Connection Wizard — multi-step wizard for creating new connections.
3
+ *
4
+ * Supports an optional "botlit channel flow" activated by URL search params:
5
+ * ?providerKey=slack-user&returnTo=<url>&channelId=<id>
6
+ *
7
+ * In this flow:
8
+ * - The provider is pre-selected by key (not UUID) and the wizard skips directly to configure.
9
+ * - OAuth redirectUri is set to the backend callback so the backend can exchange the token
10
+ * and redirect back to `returnTo?integrationConnectionId=<id>`.
11
+ * - On success, a "Link to bot channel" button navigates to returnTo with the connectionId.
12
+ */
13
+ export declare function AddConnectionWizard(): import("react").JSX.Element;
14
+ //# sourceMappingURL=AddConnectionWizard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddConnectionWizard.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/AddConnectionWizard.tsx"],"names":[],"mappings":"AA2CA;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,gCAgyBlC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Connection Detail — Single connection view with info, scopes, and action buttons.
3
+ */
4
+ export declare function ConnectionDetail(): import("react").JSX.Element;
5
+ //# sourceMappingURL=ConnectionDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionDetail.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ConnectionDetail.tsx"],"names":[],"mappings":"AA0DA;;GAEG;AACH,wBAAgB,gBAAgB,gCAylB/B"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Connection Logs — activity log view with filtering and pagination.
3
+ */
4
+ export declare function ConnectionLogs(): import("react").JSX.Element;
5
+ //# sourceMappingURL=ConnectionLogs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionLogs.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ConnectionLogs.tsx"],"names":[],"mappings":"AA8FA;;GAEG;AACH,wBAAgB,cAAc,gCAqW7B"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Connections List — list of all connections with search and status filter.
3
+ */
4
+ export declare function ConnectionsList(): import("react").JSX.Element;
5
+ //# sourceMappingURL=ConnectionsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionsList.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ConnectionsList.tsx"],"names":[],"mappings":"AA0BA;;GAEG;AACH,wBAAgB,eAAe,gCA6W9B"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Integrations Overview — Dashboard page with stats, recent connections, and quick actions.
3
+ */
4
+ export declare function IntegrationsOverview(): import("react").JSX.Element;
5
+ //# sourceMappingURL=IntegrationsOverview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntegrationsOverview.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/IntegrationsOverview.tsx"],"names":[],"mappings":"AAmMA;;GAEG;AACH,wBAAgB,oBAAoB,gCAwYnC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Integrations Settings — module configuration page.
3
+ */
4
+ export declare function IntegrationsSettings(): import("react").JSX.Element;
5
+ //# sourceMappingURL=IntegrationsSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntegrationsSettings.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/IntegrationsSettings.tsx"],"names":[],"mappings":"AAoBA;;GAEG;AACH,wBAAgB,oBAAoB,gCA0RnC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * IntegrationsUserLandingPage
3
+ *
4
+ * User-facing tabbed landing page for the Integrations microfrontend.
5
+ * Renders user sub-pages (overview, providers, connections, logs) inside a
6
+ * Tabs container. The active tab is reflected in the `?tab=` URL search param.
7
+ *
8
+ * Excludes admin features: Settings.
9
+ */
10
+ export declare function IntegrationsUserLandingPage(): import("react").JSX.Element;
11
+ //# sourceMappingURL=IntegrationsUserLandingPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntegrationsUserLandingPage.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/IntegrationsUserLandingPage.tsx"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,gCA4C1C"}
@@ -0,0 +1,9 @@
1
+ interface ProviderCatalogProps {
2
+ showCreateProviderButton?: boolean;
3
+ }
4
+ /**
5
+ * Provider Catalog — Grid/list view of available providers with filtering.
6
+ */
7
+ export declare function ProviderCatalog({ showCreateProviderButton }: ProviderCatalogProps): import("react").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=ProviderCatalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProviderCatalog.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ProviderCatalog.tsx"],"names":[],"mappings":"AAyBA,UAAU,oBAAoB;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,wBAAgC,EAAE,EAAE,oBAAoB,+BAqfzF"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Provider Detail — Single provider view with info, connections, and actions.
3
+ */
4
+ export declare function ProviderDetail(): import("react").JSX.Element;
5
+ //# sourceMappingURL=ProviderDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProviderDetail.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ProviderDetail.tsx"],"names":[],"mappings":"AAmDA;;GAEG;AACH,wBAAgB,cAAc,gCAyc7B"}
@@ -0,0 +1,2 @@
1
+ export declare function ProviderEditorPage(): import("react").JSX.Element;
2
+ //# sourceMappingURL=ProviderEditorPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProviderEditorPage.d.ts","sourceRoot":"","sources":["../../../src/integrations/pages/ProviderEditorPage.tsx"],"names":[],"mappings":"AAoFA,wBAAgB,kBAAkB,gCAkfjC"}
@@ -0,0 +1,13 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { IntegrationsRootProps } from '../types';
3
+
4
+ /**
5
+ * Hook to access Integrations context
6
+ */
7
+ export declare const useIntegrations: () => IntegrationsRootProps;
8
+ /**
9
+ * Provider component for Integrations microfrontend
10
+ * Sets up routing, context, Apollo Client, and React Query client
11
+ */
12
+ export declare const IntegrationsProvider: FC<PropsWithChildren<IntegrationsRootProps>>;
13
+ //# sourceMappingURL=IntegrationsProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntegrationsProvider.d.ts","sourceRoot":"","sources":["../../../src/integrations/providers/IntegrationsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAgBnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAgCtD;;GAEG;AACH,eAAO,MAAM,eAAe,6BAM3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAgN7E,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { IntegrationProvider, IntegrationsDisplayMode, ConnectionFilter, ProviderFilter } from '../types';
2
+
3
+ interface IntegrationsState {
4
+ viewMode: IntegrationsDisplayMode;
5
+ selectedProvider: IntegrationProvider | null;
6
+ connectionFilter: ConnectionFilter;
7
+ providerFilter: ProviderFilter;
8
+ addConnectionDialogOpen: boolean;
9
+ addConnectionProviderId: string | null;
10
+ setViewMode: (mode: IntegrationsDisplayMode) => void;
11
+ setSelectedProvider: (provider: IntegrationProvider | null) => void;
12
+ updateConnectionFilter: (filter: Partial<ConnectionFilter>) => void;
13
+ resetConnectionFilter: () => void;
14
+ updateProviderFilter: (filter: Partial<ProviderFilter>) => void;
15
+ resetProviderFilter: () => void;
16
+ openAddConnectionDialog: (providerId?: string | null) => void;
17
+ closeAddConnectionDialog: () => void;
18
+ }
19
+ export declare const useIntegrationsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<IntegrationsState>>;
20
+ export {};
21
+ //# sourceMappingURL=integrationsStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationsStore.d.ts","sourceRoot":"","sources":["../../../src/integrations/store/integrationsStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,cAAc,EACf,MAAM,UAAU,CAAC;AAElB,UAAU,iBAAiB;IAEzB,QAAQ,EAAE,uBAAuB,CAAC;IAClC,gBAAgB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAG7C,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,cAAc,EAAE,cAAc,CAAC;IAG/B,uBAAuB,EAAE,OAAO,CAAC;IACjC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvC,WAAW,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACrD,mBAAmB,EAAE,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,sBAAsB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACpE,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAChE,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC;AAeD,eAAO,MAAM,oBAAoB,gFA0B9B,CAAC"}
@@ -0,0 +1,217 @@
1
+ /**
2
+ * Navigation item for shell integration
3
+ */
4
+ export interface NavItem {
5
+ id: string;
6
+ label: string;
7
+ path: string;
8
+ icon?: React.ReactNode;
9
+ badge?: number;
10
+ order?: number;
11
+ group?: string;
12
+ visible?: boolean;
13
+ /** Nested children items for dropdown menus */
14
+ children?: NavItem[];
15
+ }
16
+ /**
17
+ * Footer item for shell integration
18
+ */
19
+ export interface FooterItem {
20
+ id: string;
21
+ label: string;
22
+ type: 'status' | 'action';
23
+ order?: number;
24
+ section: 'left' | 'center' | 'right';
25
+ }
26
+ /** Base microfrontend root props */
27
+ export type MicrofrontendRootProps = Record<string, unknown>;
28
+ /**
29
+ * Props for the IntegrationsRoot component
30
+ */
31
+ export interface IntegrationsRootProps extends MicrofrontendRootProps {
32
+ /** Base path for the integrations microfrontend */
33
+ basePath?: string;
34
+ /** Workspace ID for scoping operations */
35
+ workspaceId?: string;
36
+ /** API Gateway URL for GraphQL requests */
37
+ apiGatewayUrl?: string;
38
+ /** Authentication token for API requests (platform identity JWT) */
39
+ authToken?: string;
40
+ /**
41
+ * Workspace token for workspace-scoped API requests (workspace access JWT).
42
+ * The gateway requires both authToken (Authorization) and workspaceToken
43
+ * (X-Workspace-Authorization) for workspace operations.
44
+ */
45
+ workspaceToken?: string;
46
+ /** Navigation function provided by the shell */
47
+ navigate?: (path: string) => void;
48
+ /** Optional callback to obtain a fresh workspace token on demand */
49
+ getWorkspaceToken?: () => Promise<string | null>;
50
+ /** Current user information */
51
+ currentUser?: {
52
+ id: string;
53
+ email: string;
54
+ firstName?: string;
55
+ lastName?: string;
56
+ };
57
+ /** Optional function to register navigation items with the shell */
58
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
59
+ /** Optional function to register footer items with the shell */
60
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
61
+ /** Optional callback when a connection is selected */
62
+ onConnectionSelect?: (connection: IntegrationConnection) => void;
63
+ /** Optional callback when a provider is selected */
64
+ onProviderSelect?: (provider: IntegrationProvider) => void;
65
+ /** True when rendered by admin-app rather than an end-user product shell */
66
+ adminMode?: boolean;
67
+ }
68
+ /** Provider category classification */
69
+ export type ProviderCategory = 'communication' | 'project_management' | 'cloud_storage' | 'crm' | 'analytics' | 'developer_tools' | 'marketing' | 'finance' | 'hr' | 'support' | 'social' | 'ai' | 'email' | 'calendar' | 'productivity' | 'other';
70
+ /** Authentication type supported by a provider */
71
+ export type AuthType = 'oauth2' | 'api_key' | 'basic_auth' | 'bearer_token' | 'service_account';
72
+ /** Connection status */
73
+ export type ConnectionStatus = 'active' | 'inactive' | 'error' | 'expired' | 'pending_auth' | 'revoked';
74
+ /** Plugin installation status */
75
+ export type PluginStatus = 'available' | 'installed' | 'update_available' | 'deprecated';
76
+ /** Log severity level */
77
+ export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
78
+ /** Log action type */
79
+ export type LogAction = 'connection_created' | 'connection_updated' | 'connection_deleted' | 'connection_tested' | 'token_refreshed' | 'token_revoked' | 'oauth_initiated' | 'oauth_completed' | 'oauth_failed' | 'api_request' | 'api_error' | 'plugin_installed' | 'plugin_updated' | 'plugin_uninstalled' | 'provider_enabled' | 'provider_disabled';
80
+ /**
81
+ * Integration provider — an installable plugin representing a third-party service
82
+ */
83
+ export interface IntegrationProvider {
84
+ id: string;
85
+ key: string;
86
+ name: string;
87
+ description: string;
88
+ category: ProviderCategory;
89
+ authType: AuthType;
90
+ icon: string;
91
+ color: string;
92
+ website: string;
93
+ docsUrl: string;
94
+ oauthConfig?: Record<string, unknown> | null;
95
+ defaultScopes?: string[];
96
+ availableScopes?: Record<string, unknown> | null;
97
+ baseUrl?: string;
98
+ apiVersion?: string;
99
+ rateLimitConfig?: Record<string, unknown> | null;
100
+ pluginStatus: PluginStatus;
101
+ pluginVersion: string;
102
+ pluginAuthor: string;
103
+ pluginRepository?: string;
104
+ isBuiltIn: boolean;
105
+ isEnabled: boolean;
106
+ displayOrder: number;
107
+ supportedFeatures: string[];
108
+ configSchema?: Record<string, unknown> | null;
109
+ connectionCount: number;
110
+ createdAt: string;
111
+ updatedAt: string;
112
+ }
113
+ /**
114
+ * Integration connection — a configured link to an external service via a provider
115
+ */
116
+ export interface IntegrationConnection {
117
+ id: string;
118
+ name: string;
119
+ description: string;
120
+ provider: IntegrationProvider;
121
+ status: ConnectionStatus;
122
+ lastHealthCheck: string | null;
123
+ lastUsedAt: string | null;
124
+ errorMessage: string | null;
125
+ externalAccountId: string | null;
126
+ externalAccountEmail: string | null;
127
+ externalAccountName: string | null;
128
+ grantedScopes: string[];
129
+ config: Record<string, unknown>;
130
+ metadata: Record<string, unknown>;
131
+ vaultId?: string | null;
132
+ credentialSecretId?: string | null;
133
+ credentialSecretName?: string | null;
134
+ createdBy: string;
135
+ createdAt: string;
136
+ updatedAt: string;
137
+ tagAssignments?: IntegrationConnectionTagAssignment[];
138
+ }
139
+ /**
140
+ * Tag assignment for a connection via wspace-tags-svc
141
+ */
142
+ export interface IntegrationConnectionTagAssignment {
143
+ id: string;
144
+ tagId: string;
145
+ tag?: {
146
+ id: string;
147
+ } | null;
148
+ entityType: string;
149
+ entityId: string;
150
+ source: string;
151
+ assignedBy?: string | null;
152
+ assignedAt?: string | null;
153
+ }
154
+ export interface VaultSummary {
155
+ id: string;
156
+ name: string;
157
+ description?: string | null;
158
+ status: string;
159
+ secretCount: number;
160
+ }
161
+ export interface VaultSecretSummary {
162
+ id: string;
163
+ vaultId: string;
164
+ name: string;
165
+ key: string;
166
+ description?: string | null;
167
+ type: string;
168
+ status: string;
169
+ }
170
+ /**
171
+ * Integration activity log entry
172
+ */
173
+ export interface IntegrationLog {
174
+ id: string;
175
+ connectionId: string | null;
176
+ action: LogAction;
177
+ level: LogLevel;
178
+ message: string;
179
+ requestUrl: string | null;
180
+ requestMethod: string | null;
181
+ responseStatus: number | null;
182
+ metadata: Record<string, unknown>;
183
+ createdAt: string;
184
+ }
185
+ /**
186
+ * Result of initiating an OAuth flow
187
+ */
188
+ export interface OAuthInitiationResult {
189
+ redirectUrl: string;
190
+ state: string;
191
+ }
192
+ /**
193
+ * Result of testing a connection's health
194
+ */
195
+ export interface ConnectionTestResult {
196
+ success: boolean;
197
+ message: string;
198
+ latencyMs: number;
199
+ }
200
+ /** Available views in the integrations module */
201
+ export type IntegrationsView = 'overview' | 'providers' | 'connections' | 'logs' | 'settings';
202
+ /** Display mode for card grids */
203
+ export type IntegrationsDisplayMode = 'grid' | 'list';
204
+ /** Filter criteria for connections */
205
+ export interface ConnectionFilter {
206
+ search: string;
207
+ status: ConnectionStatus | 'all';
208
+ providerId: string | null;
209
+ category: ProviderCategory | 'all';
210
+ }
211
+ /** Filter criteria for providers */
212
+ export interface ProviderFilter {
213
+ search: string;
214
+ category: ProviderCategory | 'all';
215
+ pluginStatus: PluginStatus | 'all';
216
+ }
217
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ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AoC;AACpC,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,gBAAgB,GAAG,KAAK,CAAC;IACnC,YAAY,EAAE,YAAY,GAAG,KAAK,CAAC;CACpC"}
@@ -0,0 +1,14 @@
1
+ import { IntegrationProvider } from '../types';
2
+
3
+ type AccentTone = 'primary' | 'success' | 'warning' | 'info' | 'neutral';
4
+ interface AccentClasses {
5
+ icon: string;
6
+ surface: string;
7
+ softSurface: string;
8
+ text: string;
9
+ button: string;
10
+ }
11
+ export declare function getAccentClasses(tone: AccentTone): AccentClasses;
12
+ export declare function getProviderAccent(provider: Pick<IntegrationProvider, 'category'>): AccentTone;
13
+ export {};
14
+ //# sourceMappingURL=appearance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzE,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AA2CD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,aAAa,CAEhE;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,UAAU,CAwB7F"}
@@ -0,0 +1,8 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ /**
4
+ * Utility function to merge Tailwind CSS classes
5
+ * Combines clsx for conditional classes and tailwind-merge for deduplication
6
+ */
7
+ export declare function cn(...inputs: ClassValue[]): string;
8
+ //# sourceMappingURL=cn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,190 @@
1
+ /**
2
+ * Provider category options
3
+ */
4
+ export declare const PROVIDER_CATEGORIES: readonly [{
5
+ readonly value: "communication";
6
+ readonly label: "Communication";
7
+ }, {
8
+ readonly value: "project_management";
9
+ readonly label: "Project Management";
10
+ }, {
11
+ readonly value: "cloud_storage";
12
+ readonly label: "Cloud Storage";
13
+ }, {
14
+ readonly value: "crm";
15
+ readonly label: "CRM";
16
+ }, {
17
+ readonly value: "analytics";
18
+ readonly label: "Analytics";
19
+ }, {
20
+ readonly value: "developer_tools";
21
+ readonly label: "Developer Tools";
22
+ }, {
23
+ readonly value: "marketing";
24
+ readonly label: "Marketing";
25
+ }, {
26
+ readonly value: "finance";
27
+ readonly label: "Finance";
28
+ }, {
29
+ readonly value: "hr";
30
+ readonly label: "Human Resources";
31
+ }, {
32
+ readonly value: "support";
33
+ readonly label: "Support";
34
+ }, {
35
+ readonly value: "social";
36
+ readonly label: "Social";
37
+ }, {
38
+ readonly value: "ai";
39
+ readonly label: "AI & ML";
40
+ }, {
41
+ readonly value: "other";
42
+ readonly label: "Other";
43
+ }];
44
+ /**
45
+ * Authentication type options
46
+ */
47
+ export declare const AUTH_TYPE_OPTIONS: readonly [{
48
+ readonly value: "oauth2";
49
+ readonly label: "OAuth 2.0";
50
+ }, {
51
+ readonly value: "api_key";
52
+ readonly label: "API Key";
53
+ }, {
54
+ readonly value: "basic_auth";
55
+ readonly label: "Basic Auth";
56
+ }, {
57
+ readonly value: "bearer_token";
58
+ readonly label: "Bearer Token";
59
+ }, {
60
+ readonly value: "service_account";
61
+ readonly label: "Service Account";
62
+ }];
63
+ /**
64
+ * Connection status options
65
+ */
66
+ export declare const CONNECTION_STATUS_OPTIONS: readonly [{
67
+ readonly value: "active";
68
+ readonly label: "Active";
69
+ }, {
70
+ readonly value: "inactive";
71
+ readonly label: "Inactive";
72
+ }, {
73
+ readonly value: "error";
74
+ readonly label: "Error";
75
+ }, {
76
+ readonly value: "expired";
77
+ readonly label: "Expired";
78
+ }, {
79
+ readonly value: "pending_auth";
80
+ readonly label: "Pending Auth";
81
+ }, {
82
+ readonly value: "revoked";
83
+ readonly label: "Revoked";
84
+ }];
85
+ /**
86
+ * Plugin status options
87
+ */
88
+ export declare const PLUGIN_STATUS_OPTIONS: readonly [{
89
+ readonly value: "available";
90
+ readonly label: "Available";
91
+ }, {
92
+ readonly value: "installed";
93
+ readonly label: "Installed";
94
+ }, {
95
+ readonly value: "update_available";
96
+ readonly label: "Update Available";
97
+ }, {
98
+ readonly value: "deprecated";
99
+ readonly label: "Deprecated";
100
+ }];
101
+ /**
102
+ * Log level options
103
+ */
104
+ export declare const LOG_LEVEL_OPTIONS: readonly [{
105
+ readonly value: "debug";
106
+ readonly label: "Debug";
107
+ }, {
108
+ readonly value: "info";
109
+ readonly label: "Info";
110
+ }, {
111
+ readonly value: "warn";
112
+ readonly label: "Warning";
113
+ }, {
114
+ readonly value: "error";
115
+ readonly label: "Error";
116
+ }];
117
+ /**
118
+ * Log action options
119
+ */
120
+ export declare const LOG_ACTION_OPTIONS: readonly [{
121
+ readonly value: "connection_created";
122
+ readonly label: "Connection Created";
123
+ }, {
124
+ readonly value: "connection_updated";
125
+ readonly label: "Connection Updated";
126
+ }, {
127
+ readonly value: "connection_deleted";
128
+ readonly label: "Connection Deleted";
129
+ }, {
130
+ readonly value: "connection_tested";
131
+ readonly label: "Connection Tested";
132
+ }, {
133
+ readonly value: "token_refreshed";
134
+ readonly label: "Token Refreshed";
135
+ }, {
136
+ readonly value: "token_revoked";
137
+ readonly label: "Token Revoked";
138
+ }, {
139
+ readonly value: "oauth_initiated";
140
+ readonly label: "OAuth Initiated";
141
+ }, {
142
+ readonly value: "oauth_completed";
143
+ readonly label: "OAuth Completed";
144
+ }, {
145
+ readonly value: "oauth_failed";
146
+ readonly label: "OAuth Failed";
147
+ }, {
148
+ readonly value: "api_request";
149
+ readonly label: "API Request";
150
+ }, {
151
+ readonly value: "api_error";
152
+ readonly label: "API Error";
153
+ }, {
154
+ readonly value: "plugin_installed";
155
+ readonly label: "Plugin Installed";
156
+ }, {
157
+ readonly value: "plugin_updated";
158
+ readonly label: "Plugin Updated";
159
+ }, {
160
+ readonly value: "plugin_uninstalled";
161
+ readonly label: "Plugin Uninstalled";
162
+ }, {
163
+ readonly value: "provider_enabled";
164
+ readonly label: "Provider Enabled";
165
+ }, {
166
+ readonly value: "provider_disabled";
167
+ readonly label: "Provider Disabled";
168
+ }];
169
+ /**
170
+ * Default page size for paginated lists
171
+ */
172
+ export declare const DEFAULT_PAGE_SIZE = 20;
173
+ /**
174
+ * Built-in provider catalog allowlist.
175
+ *
176
+ * Applies to **built-in** providers only: a built-in provider is shown in the
177
+ * catalog and add-connection picker only if its `key` is listed here. Custom
178
+ * (non-built-in) providers created via the admin catalog are always shown, so
179
+ * the allowlist never hides user-created providers.
180
+ *
181
+ * The backend still seeds all built-in providers
182
+ * (see `wspace-integrations-svc/src/utils/auto-seed.ts`); this list controls
183
+ * what users actually see, so unused built-ins can be hidden without any
184
+ * backend/data change.
185
+ *
186
+ * To re-enable a built-in provider later, just add its `key` back to this list.
187
+ * Set to `null` to show every provider (disable the allowlist entirely).
188
+ */
189
+ export declare const VISIBLE_PROVIDER_KEYS: readonly string[] | null;
190
+ //# sourceMappingURL=constants.d.ts.map