@burdenoff/microfe-integrations 2026.525.2 → 2026.525.3
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/package.json +1 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -1645
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/integrations/IntegrationsAdminRoot.d.ts +0 -19
- package/dist/integrations/IntegrationsAdminRoot.d.ts.map +0 -1
- package/dist/integrations/IntegrationsAdminRoutes.d.ts +0 -8
- package/dist/integrations/IntegrationsAdminRoutes.d.ts.map +0 -1
- package/dist/integrations/IntegrationsRoot.d.ts +0 -33
- package/dist/integrations/IntegrationsRoot.d.ts.map +0 -1
- package/dist/integrations/IntegrationsRoutes.d.ts +0 -17
- package/dist/integrations/IntegrationsRoutes.d.ts.map +0 -1
- package/dist/integrations/IntegrationsUserRoutes.d.ts +0 -8
- package/dist/integrations/IntegrationsUserRoutes.d.ts.map +0 -1
- package/dist/integrations/components/AddConnectionDialog.d.ts +0 -22
- package/dist/integrations/components/AddConnectionDialog.d.ts.map +0 -1
- package/dist/integrations/components/ConfirmDialog.d.ts +0 -17
- package/dist/integrations/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/integrations/components/ConnectionCard.d.ts +0 -14
- package/dist/integrations/components/ConnectionCard.d.ts.map +0 -1
- package/dist/integrations/components/ConnectionStatusBadge.d.ts +0 -14
- package/dist/integrations/components/ConnectionStatusBadge.d.ts.map +0 -1
- package/dist/integrations/components/CredentialStorageSelector.d.ts +0 -16
- package/dist/integrations/components/CredentialStorageSelector.d.ts.map +0 -1
- package/dist/integrations/components/ProviderCard.d.ts +0 -16
- package/dist/integrations/components/ProviderCard.d.ts.map +0 -1
- package/dist/integrations/components/ProviderIcon.d.ts +0 -19
- package/dist/integrations/components/ProviderIcon.d.ts.map +0 -1
- package/dist/integrations/components/ui.d.ts +0 -6
- package/dist/integrations/components/ui.d.ts.map +0 -1
- package/dist/integrations/constants/enums.d.ts +0 -70
- package/dist/integrations/constants/enums.d.ts.map +0 -1
- package/dist/integrations/constants/featureFlags.d.ts +0 -7
- package/dist/integrations/constants/featureFlags.d.ts.map +0 -1
- package/dist/integrations/constants/permissions.d.ts +0 -22
- package/dist/integrations/constants/permissions.d.ts.map +0 -1
- package/dist/integrations/events/integrations-events.d.ts +0 -36
- package/dist/integrations/events/integrations-events.d.ts.map +0 -1
- package/dist/integrations/events/useIntegrationsEventBus.d.ts +0 -11
- package/dist/integrations/events/useIntegrationsEventBus.d.ts.map +0 -1
- package/dist/integrations/hooks/useConnections.d.ts +0 -84
- package/dist/integrations/hooks/useConnections.d.ts.map +0 -1
- package/dist/integrations/hooks/useCredentialVaults.d.ts +0 -15
- package/dist/integrations/hooks/useCredentialVaults.d.ts.map +0 -1
- package/dist/integrations/hooks/useLogs.d.ts +0 -27
- package/dist/integrations/hooks/useLogs.d.ts.map +0 -1
- package/dist/integrations/hooks/useProviders.d.ts +0 -97
- package/dist/integrations/hooks/useProviders.d.ts.map +0 -1
- package/dist/integrations/index.d.ts +0 -33
- package/dist/integrations/index.d.ts.map +0 -1
- package/dist/integrations/pages/AddConnectionWizard.d.ts +0 -14
- package/dist/integrations/pages/AddConnectionWizard.d.ts.map +0 -1
- package/dist/integrations/pages/ConnectionDetail.d.ts +0 -5
- package/dist/integrations/pages/ConnectionDetail.d.ts.map +0 -1
- package/dist/integrations/pages/ConnectionLogs.d.ts +0 -5
- package/dist/integrations/pages/ConnectionLogs.d.ts.map +0 -1
- package/dist/integrations/pages/ConnectionsList.d.ts +0 -5
- package/dist/integrations/pages/ConnectionsList.d.ts.map +0 -1
- package/dist/integrations/pages/IntegrationsAdminLandingPage.d.ts +0 -11
- package/dist/integrations/pages/IntegrationsAdminLandingPage.d.ts.map +0 -1
- package/dist/integrations/pages/IntegrationsLandingPage.d.ts +0 -9
- package/dist/integrations/pages/IntegrationsLandingPage.d.ts.map +0 -1
- package/dist/integrations/pages/IntegrationsOverview.d.ts +0 -5
- package/dist/integrations/pages/IntegrationsOverview.d.ts.map +0 -1
- package/dist/integrations/pages/IntegrationsSettings.d.ts +0 -5
- package/dist/integrations/pages/IntegrationsSettings.d.ts.map +0 -1
- package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts +0 -11
- package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts.map +0 -1
- package/dist/integrations/pages/ProviderCatalog.d.ts +0 -9
- package/dist/integrations/pages/ProviderCatalog.d.ts.map +0 -1
- package/dist/integrations/pages/ProviderDetail.d.ts +0 -5
- package/dist/integrations/pages/ProviderDetail.d.ts.map +0 -1
- package/dist/integrations/pages/ProviderEditorPage.d.ts +0 -2
- package/dist/integrations/pages/ProviderEditorPage.d.ts.map +0 -1
- package/dist/integrations/providers/IntegrationsProvider.d.ts +0 -13
- package/dist/integrations/providers/IntegrationsProvider.d.ts.map +0 -1
- package/dist/integrations/store/integrationsStore.d.ts +0 -21
- package/dist/integrations/store/integrationsStore.d.ts.map +0 -1
- package/dist/integrations/types/index.d.ts +0 -217
- package/dist/integrations/types/index.d.ts.map +0 -1
- package/dist/integrations/utils/appearance.d.ts +0 -14
- package/dist/integrations/utils/appearance.d.ts.map +0 -1
- package/dist/integrations/utils/cn.d.ts +0 -8
- package/dist/integrations/utils/cn.d.ts.map +0 -1
- package/dist/integrations/utils/constants.d.ts +0 -194
- package/dist/integrations/utils/constants.d.ts.map +0 -1
- package/dist/integrations/utils/i18n.d.ts +0 -6
- package/dist/integrations/utils/i18n.d.ts.map +0 -1
- package/dist/integrations/utils/integrationsHelpers.d.ts +0 -39
- package/dist/integrations/utils/integrationsHelpers.d.ts.map +0 -1
- package/dist/integrations/utils/mappers.d.ts +0 -15
- package/dist/integrations/utils/mappers.d.ts.map +0 -1
- package/dist/integrations/utils/navigation.d.ts +0 -18
- package/dist/integrations/utils/navigation.d.ts.map +0 -1
- package/dist/integrations/utils/oauthPopup.d.ts +0 -16
- package/dist/integrations/utils/oauthPopup.d.ts.map +0 -1
- package/dist/integrations/utils/paths.d.ts +0 -5
- package/dist/integrations/utils/paths.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IntegrationsRootProps } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Admin root component for the Integrations microfrontend.
|
|
6
|
-
*
|
|
7
|
-
* This is the admin entry point that admin-app imports and renders.
|
|
8
|
-
* It sets up providers and renders admin-only routing (settings,
|
|
9
|
-
* future admin features).
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* import { IntegrationsAdminRoot } from '@burdenoff/micro-fe/integrations';
|
|
14
|
-
*
|
|
15
|
-
* <IntegrationsAdminRoot basePath="/integrations" {...adminProps} />
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare const IntegrationsAdminRoot: FC<IntegrationsRootProps>;
|
|
19
|
-
//# sourceMappingURL=IntegrationsAdminRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationsAdminRoot.d.ts","sourceRoot":"","sources":["../../src/integrations/IntegrationsAdminRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAW,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAI9D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CA6D3D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Admin-facing routes for the Integrations microfrontend.
|
|
3
|
-
*
|
|
4
|
-
* Includes: Settings (module configuration).
|
|
5
|
-
* Excludes user features: Overview, Providers, Connections, Activity Logs.
|
|
6
|
-
*/
|
|
7
|
-
export declare function IntegrationsAdminRoutes(): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
-
//# sourceMappingURL=IntegrationsAdminRoutes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationsAdminRoutes.d.ts","sourceRoot":"","sources":["../../src/integrations/IntegrationsAdminRoutes.tsx"],"names":[],"mappings":"AAsFA;;;;;GAKG;AACH,wBAAgB,uBAAuB,mDAkCtC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IntegrationsRootProps } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Root component for the Integrations microfrontend.
|
|
6
|
-
*
|
|
7
|
-
* This is the main entry point that host applications import and render.
|
|
8
|
-
* It sets up the necessary providers and renders the internal routing.
|
|
9
|
-
* Automatically registers navigation items with the shell if registration functions are provided.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* import { IntegrationsRoot, type IntegrationsRootProps } from '@burdenoff/micro-fe/integrations';
|
|
14
|
-
*
|
|
15
|
-
* function App() {
|
|
16
|
-
* const props: IntegrationsRootProps = {
|
|
17
|
-
* basePath: '/integrations',
|
|
18
|
-
* navigate: (path) => router.push(path),
|
|
19
|
-
* currentUser: { id: '1', email: 'user@example.com', firstName: 'John', lastName: 'Doe' },
|
|
20
|
-
* workspaceId: 'ws-123',
|
|
21
|
-
* apiGatewayUrl: 'https://api.example.com',
|
|
22
|
-
* authToken: 'token',
|
|
23
|
-
* onConnectionSelect: (conn) => console.log('Connection selected:', conn),
|
|
24
|
-
* onProviderSelect: (provider) => console.log('Provider selected:', provider),
|
|
25
|
-
* registerNavItems: (items) => { return () => {}; },
|
|
26
|
-
* };
|
|
27
|
-
*
|
|
28
|
-
* return <IntegrationsRoot {...props} />;
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare const IntegrationsRoot: FC<IntegrationsRootProps>;
|
|
33
|
-
//# sourceMappingURL=IntegrationsRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationsRoot.d.ts","sourceRoot":"","sources":["../../src/integrations/IntegrationsRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAW,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAI9D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0FtD,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Internal router for the Integrations microfrontend.
|
|
3
|
-
* This component handles routing within the microfrontend using React Router v7.
|
|
4
|
-
*
|
|
5
|
-
* Routes (relative to basePath, e.g., /integrations):
|
|
6
|
-
* - / → Overview dashboard
|
|
7
|
-
* - /providers → Provider catalog
|
|
8
|
-
* - /providers/:providerId → Provider detail page
|
|
9
|
-
* - /connections → Connections list
|
|
10
|
-
* - /connections/add → Add connection wizard
|
|
11
|
-
* - /connections/add/:providerId → Add connection with pre-selected provider
|
|
12
|
-
* - /connections/:connectionId → Connection detail page
|
|
13
|
-
* - /logs → Activity logs
|
|
14
|
-
* - /settings → Module settings
|
|
15
|
-
*/
|
|
16
|
-
export declare function IntegrationsRoutes(): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=IntegrationsRoutes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationsRoutes.d.ts","sourceRoot":"","sources":["../../src/integrations/IntegrationsRoutes.tsx"],"names":[],"mappings":"AA+FA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,4CA+BjC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User-facing routes for the Integrations microfrontend.
|
|
3
|
-
*
|
|
4
|
-
* Includes: Overview, Providers, Connections, Activity Logs.
|
|
5
|
-
* Excludes admin features: Settings.
|
|
6
|
-
*/
|
|
7
|
-
export declare function IntegrationsUserRoutes(): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
-
//# sourceMappingURL=IntegrationsUserRoutes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationsUserRoutes.d.ts","sourceRoot":"","sources":["../../src/integrations/IntegrationsUserRoutes.tsx"],"names":[],"mappings":"AA+FA;;;;;GAKG;AACH,wBAAgB,sBAAsB,mDA2CrC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AddConnectionDialog -- n8n-style popup for creating new connections.
|
|
3
|
-
*
|
|
4
|
-
* Replaces the full-page AddConnectionWizard with an inline modal dialog.
|
|
5
|
-
* Uses the same hooks and GraphQL operations that already exist in
|
|
6
|
-
* microfe-integrations (useCreateConnection, useInitiateOAuth, etc.).
|
|
7
|
-
*
|
|
8
|
-
* Opens from any page via Zustand store state, so there is no navigation
|
|
9
|
-
* to /connections/add — the dialog overlays the current page.
|
|
10
|
-
*/
|
|
11
|
-
export interface AddConnectionDialogProps {
|
|
12
|
-
/** Whether the dialog is open */
|
|
13
|
-
open: boolean;
|
|
14
|
-
/** Callback to close the dialog */
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
/** Pre-selected provider ID (skips provider picker step) */
|
|
17
|
-
preselectedProviderId?: string | null;
|
|
18
|
-
/** Callback when a connection is successfully created */
|
|
19
|
-
onConnectionCreated?: (connectionId: string) => void;
|
|
20
|
-
}
|
|
21
|
-
export declare function AddConnectionDialog({ open, onClose, preselectedProviderId, onConnectionCreated, }: AddConnectionDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
22
|
-
//# sourceMappingURL=AddConnectionDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddConnectionDialog.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/AddConnectionDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA2CH,MAAM,WAAW,wBAAwB;IACvC,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4DAA4D;IAC5D,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,yDAAyD;IACzD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD;AAQD,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,qBAAqB,EACrB,mBAAmB,GACpB,EAAE,wBAAwB,kDAoxB1B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface ConfirmDialogProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
confirmLabel: string;
|
|
8
|
-
cancelLabel: string;
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
destructive?: boolean;
|
|
11
|
-
icon?: ReactNode;
|
|
12
|
-
onConfirm: () => void;
|
|
13
|
-
onCancel: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function ConfirmDialog({ open, title, description, confirmLabel, cancelLabel, loading, destructive, icon, onConfirm, onCancel, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,kBAAkB;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,KAAK,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,OAAe,EACf,WAAmB,EACnB,IAAI,EACJ,SAAS,EACT,QAAQ,GACT,EAAE,kBAAkB,kDAyDpB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IntegrationConnection } from '../types';
|
|
3
|
-
|
|
4
|
-
interface ConnectionCardProps {
|
|
5
|
-
connection: IntegrationConnection;
|
|
6
|
-
displayMode?: 'grid' | 'list';
|
|
7
|
-
onClick?: (connection: IntegrationConnection) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Card showing connection info (provider icon, connection name, account email, status badge, last used).
|
|
11
|
-
*/
|
|
12
|
-
export declare const ConnectionCard: FC<ConnectionCardProps>;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=ConnectionCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionCard.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ConnectionCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAItD,UAAU,mBAAmB;IAC3B,UAAU,EAAE,qBAAqB,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACvD;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAwGlD,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ConnectionStatus } from '../types';
|
|
3
|
-
|
|
4
|
-
interface ConnectionStatusBadgeProps {
|
|
5
|
-
status: ConnectionStatus;
|
|
6
|
-
size?: 'sm' | 'md';
|
|
7
|
-
showDot?: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Badge showing colored status (ACTIVE=green, ERROR=red, EXPIRED=yellow, etc).
|
|
11
|
-
*/
|
|
12
|
-
export declare const ConnectionStatusBadge: FC<ConnectionStatusBadgeProps>;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=ConnectionStatusBadge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionStatusBadge.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ConnectionStatusBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,UAAU,0BAA0B;IAClC,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAyBhE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface CredentialStorageState {
|
|
4
|
-
mode: 'managed' | 'existing';
|
|
5
|
-
vaultId: string;
|
|
6
|
-
secretId: string;
|
|
7
|
-
managedSecretName: string;
|
|
8
|
-
}
|
|
9
|
-
interface CredentialStorageSelectorProps {
|
|
10
|
-
value: CredentialStorageState;
|
|
11
|
-
onChange: Dispatch<SetStateAction<CredentialStorageState>>;
|
|
12
|
-
providerAuthType?: string | null;
|
|
13
|
-
}
|
|
14
|
-
export declare function CredentialStorageSelector({ value, onChange, providerAuthType, }: CredentialStorageSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=CredentialStorageSelector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialStorageSelector.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/CredentialStorageSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAMtD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,SAAS,GAAG,UAAU,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,8BAA8B;IACtC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,wBAAgB,yBAAyB,CAAC,EACxC,KAAK,EACL,QAAQ,EACR,gBAAgB,GACjB,EAAE,8BAA8B,2CAsJhC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IntegrationProvider } from '../types';
|
|
3
|
-
|
|
4
|
-
interface ProviderCardProps {
|
|
5
|
-
provider: IntegrationProvider;
|
|
6
|
-
displayMode?: 'grid' | 'list';
|
|
7
|
-
onConnect?: (provider: IntegrationProvider) => void;
|
|
8
|
-
onClick?: (provider: IntegrationProvider) => void;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Card component showing provider info (icon, name, category, auth type, connection count).
|
|
12
|
-
* Has a "Connect" button.
|
|
13
|
-
*/
|
|
14
|
-
export declare const ProviderCard: FC<ProviderCardProps>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=ProviderCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderCard.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ProviderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACpD,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACnD;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAyN9C,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IntegrationProvider } from '../types';
|
|
3
|
-
|
|
4
|
-
interface ProviderIconProps {
|
|
5
|
-
provider: IntegrationProvider;
|
|
6
|
-
size?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders provider icon using @iconify/react — same icons as fluidgrids-fe-sdk.
|
|
11
|
-
*
|
|
12
|
-
* Priority:
|
|
13
|
-
* 1. If icon looks like a URL → render <img>
|
|
14
|
-
* 2. Match icon/key against PROVIDER_ICONS → render Iconify brand icon
|
|
15
|
-
* 3. Fallback → category-based Iconify icon
|
|
16
|
-
*/
|
|
17
|
-
export declare const ProviderIcon: FC<ProviderIconProps>;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=ProviderIcon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderIcon.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ProviderIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,mBAAmB,EAAoB,MAAM,UAAU,CAAC;AAGtE,UAAU,iBAAiB;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAiD9C,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UI Component re-exports from @burdenoff/fe-libs
|
|
3
|
-
* All styled components are imported from the shared fe-libs package
|
|
4
|
-
*/
|
|
5
|
-
export { Button, Badge, Card, CardContent, Input, Skeleton, Separator, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Tabs, TabsList, TabsTrigger, TabsContent, } from '@burdenoff/fe-libs/ui';
|
|
6
|
-
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/ui.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,WAAW,GACZ,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mirror of GraphQL enums as JavaScript const objects with type exports.
|
|
3
|
-
* These match the server-side enum definitions in wspace-integrations-svc.
|
|
4
|
-
*/
|
|
5
|
-
export declare const ProviderCategory: {
|
|
6
|
-
readonly COMMUNICATION: "communication";
|
|
7
|
-
readonly PROJECT_MANAGEMENT: "project_management";
|
|
8
|
-
readonly CLOUD_STORAGE: "cloud_storage";
|
|
9
|
-
readonly CRM: "crm";
|
|
10
|
-
readonly ANALYTICS: "analytics";
|
|
11
|
-
readonly DEVELOPER_TOOLS: "developer_tools";
|
|
12
|
-
readonly MARKETING: "marketing";
|
|
13
|
-
readonly FINANCE: "finance";
|
|
14
|
-
readonly HR: "hr";
|
|
15
|
-
readonly SUPPORT: "support";
|
|
16
|
-
readonly SOCIAL: "social";
|
|
17
|
-
readonly AI: "ai";
|
|
18
|
-
readonly OTHER: "other";
|
|
19
|
-
};
|
|
20
|
-
export type ProviderCategoryValue = (typeof ProviderCategory)[keyof typeof ProviderCategory];
|
|
21
|
-
export declare const AuthType: {
|
|
22
|
-
readonly OAUTH2: "oauth2";
|
|
23
|
-
readonly API_KEY: "api_key";
|
|
24
|
-
readonly BASIC_AUTH: "basic_auth";
|
|
25
|
-
readonly BEARER_TOKEN: "bearer_token";
|
|
26
|
-
};
|
|
27
|
-
export type AuthTypeValue = (typeof AuthType)[keyof typeof AuthType];
|
|
28
|
-
export declare const ConnectionStatus: {
|
|
29
|
-
readonly ACTIVE: "active";
|
|
30
|
-
readonly INACTIVE: "inactive";
|
|
31
|
-
readonly ERROR: "error";
|
|
32
|
-
readonly EXPIRED: "expired";
|
|
33
|
-
readonly PENDING_AUTH: "pending_auth";
|
|
34
|
-
readonly REVOKED: "revoked";
|
|
35
|
-
};
|
|
36
|
-
export type ConnectionStatusValue = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
37
|
-
export declare const PluginStatus: {
|
|
38
|
-
readonly AVAILABLE: "available";
|
|
39
|
-
readonly INSTALLED: "installed";
|
|
40
|
-
readonly UPDATE_AVAILABLE: "update_available";
|
|
41
|
-
readonly DEPRECATED: "deprecated";
|
|
42
|
-
};
|
|
43
|
-
export type PluginStatusValue = (typeof PluginStatus)[keyof typeof PluginStatus];
|
|
44
|
-
export declare const LogLevel: {
|
|
45
|
-
readonly DEBUG: "debug";
|
|
46
|
-
readonly INFO: "info";
|
|
47
|
-
readonly WARN: "warn";
|
|
48
|
-
readonly ERROR: "error";
|
|
49
|
-
};
|
|
50
|
-
export type LogLevelValue = (typeof LogLevel)[keyof typeof LogLevel];
|
|
51
|
-
export declare const LogAction: {
|
|
52
|
-
readonly CONNECTION_CREATED: "connection_created";
|
|
53
|
-
readonly CONNECTION_UPDATED: "connection_updated";
|
|
54
|
-
readonly CONNECTION_DELETED: "connection_deleted";
|
|
55
|
-
readonly CONNECTION_TESTED: "connection_tested";
|
|
56
|
-
readonly TOKEN_REFRESHED: "token_refreshed";
|
|
57
|
-
readonly TOKEN_REVOKED: "token_revoked";
|
|
58
|
-
readonly OAUTH_INITIATED: "oauth_initiated";
|
|
59
|
-
readonly OAUTH_COMPLETED: "oauth_completed";
|
|
60
|
-
readonly OAUTH_FAILED: "oauth_failed";
|
|
61
|
-
readonly API_REQUEST: "api_request";
|
|
62
|
-
readonly API_ERROR: "api_error";
|
|
63
|
-
readonly PLUGIN_INSTALLED: "plugin_installed";
|
|
64
|
-
readonly PLUGIN_UPDATED: "plugin_updated";
|
|
65
|
-
readonly PLUGIN_UNINSTALLED: "plugin_uninstalled";
|
|
66
|
-
readonly PROVIDER_ENABLED: "provider_enabled";
|
|
67
|
-
readonly PROVIDER_DISABLED: "provider_disabled";
|
|
68
|
-
};
|
|
69
|
-
export type LogActionValue = (typeof LogAction)[keyof typeof LogAction];
|
|
70
|
-
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/integrations/constants/enums.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAcnB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE7F,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;;;;;CAOnB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE7F,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAEjF,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAErE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBZ,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const INTEGRATION_FEATURE_FLAGS: {
|
|
2
|
-
readonly CSV_EXPORT: "integrations.csv-export";
|
|
3
|
-
readonly OAUTH_REFRESH: "integrations.oauth-refresh";
|
|
4
|
-
readonly TAG_MANAGEMENT: "integrations.tag-management";
|
|
5
|
-
readonly MANAGED_CREDENTIALS: "integrations.managed-credentials";
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=featureFlags.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../../src/integrations/constants/featureFlags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;;CAK5B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations Permission Constants
|
|
3
|
-
*
|
|
4
|
-
* Usage: hasPermission(INTEGRATION_PERMISSIONS.CONNECTION_CREATE)
|
|
5
|
-
*/
|
|
6
|
-
export declare const INTEGRATION_PERMISSIONS: {
|
|
7
|
-
readonly INTEGRATION_READ: "integration:read";
|
|
8
|
-
readonly INTEGRATION_CREATE: "integration:create";
|
|
9
|
-
readonly INTEGRATION_WRITE: "integration:write";
|
|
10
|
-
readonly INTEGRATION_DELETE: "integration:delete";
|
|
11
|
-
readonly CONNECTION_READ: "integration-connection:read";
|
|
12
|
-
readonly CONNECTION_CREATE: "integration-connection:create";
|
|
13
|
-
readonly CONNECTION_UPDATE: "integration-connection:update";
|
|
14
|
-
readonly CONNECTION_DELETE: "integration-connection:delete";
|
|
15
|
-
readonly PROVIDER_READ: "integration-provider:read";
|
|
16
|
-
readonly PROVIDER_CREATE: "integration-provider:create";
|
|
17
|
-
readonly PROVIDER_UPDATE: "integration-provider:update";
|
|
18
|
-
readonly PROVIDER_DELETE: "integration-provider:delete";
|
|
19
|
-
readonly LOG_READ: "integration-log:read";
|
|
20
|
-
};
|
|
21
|
-
export type IntegrationPermission = (typeof INTEGRATION_PERMISSIONS)[keyof typeof INTEGRATION_PERMISSIONS];
|
|
22
|
-
//# sourceMappingURL=permissions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/integrations/constants/permissions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;CAuB1B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integration domain events emitted by the MFE.
|
|
3
|
-
* Components can import this type to type-safely subscribe to integration events.
|
|
4
|
-
*/
|
|
5
|
-
export interface IntegrationsEventMap {
|
|
6
|
-
'integrations:connection-created': {
|
|
7
|
-
connectionId: string;
|
|
8
|
-
providerKey: string;
|
|
9
|
-
};
|
|
10
|
-
'integrations:connection-updated': {
|
|
11
|
-
connectionId: string;
|
|
12
|
-
};
|
|
13
|
-
'integrations:connection-deleted': {
|
|
14
|
-
connectionId: string;
|
|
15
|
-
};
|
|
16
|
-
'integrations:oauth-started': {
|
|
17
|
-
connectionId: string;
|
|
18
|
-
providerKey: string;
|
|
19
|
-
};
|
|
20
|
-
'integrations:oauth-completed': {
|
|
21
|
-
connectionId: string;
|
|
22
|
-
providerKey: string;
|
|
23
|
-
};
|
|
24
|
-
'integrations:oauth-failed': {
|
|
25
|
-
connectionId: string;
|
|
26
|
-
providerKey: string;
|
|
27
|
-
error?: string;
|
|
28
|
-
};
|
|
29
|
-
'integrations:token-refreshed': {
|
|
30
|
-
connectionId: string;
|
|
31
|
-
};
|
|
32
|
-
'integrations:token-revoked': {
|
|
33
|
-
connectionId: string;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=integrations-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-events.d.ts","sourceRoot":"","sources":["../../../src/integrations/events/integrations-events.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,iCAAiC,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IACjF,iCAAiC,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,iCAAiC,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,4BAA4B,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5E,8BAA8B,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,2BAA2B,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3F,8BAA8B,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,4BAA4B,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;CACxD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IntegrationsEventMap } from './integrations-events';
|
|
2
|
-
|
|
3
|
-
type EventKey = keyof IntegrationsEventMap;
|
|
4
|
-
interface EventState {
|
|
5
|
-
subscribers: Partial<Record<EventKey, Set<(payload: IntegrationsEventMap[EventKey]) => void>>>;
|
|
6
|
-
emit<K extends EventKey>(event: K, payload: IntegrationsEventMap[K]): void;
|
|
7
|
-
on<K extends EventKey>(event: K, handler: (payload: IntegrationsEventMap[K]) => void): () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const useIntegrationsEventBus: import('zustand').UseBoundStore<import('zustand').StoreApi<EventState>>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=useIntegrationsEventBus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIntegrationsEventBus.d.ts","sourceRoot":"","sources":["../../../src/integrations/events/useIntegrationsEventBus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,KAAK,QAAQ,GAAG,MAAM,oBAAoB,CAAC;AAE3C,UAAU,UAAU;IAClB,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,oBAAoB,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;IAC/F,IAAI,CAAC,CAAC,SAAS,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAC3E,EAAE,CAAC,CAAC,SAAS,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CACnG;AAED,eAAO,MAAM,uBAAuB,yEA4BjC,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { IntegrationConnection, ConnectionStatus, OAuthInitiationResult, ConnectionTestResult } from '../types';
|
|
2
|
-
|
|
3
|
-
interface ConnectionFilterOptions {
|
|
4
|
-
status?: ConnectionStatus;
|
|
5
|
-
providerId?: string;
|
|
6
|
-
search?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function useConnections(filter?: ConnectionFilterOptions): {
|
|
9
|
-
connections: IntegrationConnection[];
|
|
10
|
-
total: any;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
13
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetConnectionsQuery>>;
|
|
14
|
-
};
|
|
15
|
-
export declare function useConnection(id: string): {
|
|
16
|
-
connection: IntegrationConnection | null;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
19
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetConnectionQuery>>;
|
|
20
|
-
};
|
|
21
|
-
export declare function useConnectionsByProvider(providerId: string): {
|
|
22
|
-
connections: IntegrationConnection[];
|
|
23
|
-
total: any;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
26
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetConnectionsByProviderQuery>>;
|
|
27
|
-
};
|
|
28
|
-
export declare function useCreateConnection(): {
|
|
29
|
-
createConnection: (input: {
|
|
30
|
-
name: string;
|
|
31
|
-
description?: string;
|
|
32
|
-
providerId: string;
|
|
33
|
-
vaultId?: string;
|
|
34
|
-
credentialSecretId?: string;
|
|
35
|
-
managedSecretName?: string;
|
|
36
|
-
config?: Record<string, unknown>;
|
|
37
|
-
}) => Promise<string | undefined>;
|
|
38
|
-
loading: boolean;
|
|
39
|
-
};
|
|
40
|
-
export declare function useUpdateConnection(): {
|
|
41
|
-
updateConnection: (id: string, input: {
|
|
42
|
-
name?: string;
|
|
43
|
-
description?: string;
|
|
44
|
-
}) => Promise<any>;
|
|
45
|
-
loading: boolean;
|
|
46
|
-
};
|
|
47
|
-
export declare function useDeleteConnection(): {
|
|
48
|
-
deleteConnection: (id: string, deleteVaultSecret?: boolean) => Promise<void>;
|
|
49
|
-
loading: boolean;
|
|
50
|
-
};
|
|
51
|
-
export declare function useInitiateOAuth(): {
|
|
52
|
-
initiateOAuth: (connectionId: string, redirectUri: string, providerKey: string, scopes?: string[]) => Promise<OAuthInitiationResult | null>;
|
|
53
|
-
loading: boolean;
|
|
54
|
-
};
|
|
55
|
-
export declare function useCompleteOAuth(): {
|
|
56
|
-
completeOAuth: (connectionId: string, code: string, state: string, redirectUri: string, providerKey: string) => Promise<any>;
|
|
57
|
-
loading: boolean;
|
|
58
|
-
};
|
|
59
|
-
export declare function useAuthenticateWithApiKey(): {
|
|
60
|
-
authenticateWithApiKey: (connectionId: string, apiKey: string) => Promise<any>;
|
|
61
|
-
loading: boolean;
|
|
62
|
-
};
|
|
63
|
-
export declare function useAuthenticateWithBasicAuth(): {
|
|
64
|
-
authenticateWithBasicAuth: (connectionId: string, username: string, password: string) => Promise<any>;
|
|
65
|
-
loading: boolean;
|
|
66
|
-
};
|
|
67
|
-
export declare function useAuthenticateWithBearerToken(): {
|
|
68
|
-
authenticateWithBearerToken: (connectionId: string, token: string) => Promise<any>;
|
|
69
|
-
loading: boolean;
|
|
70
|
-
};
|
|
71
|
-
export declare function useRefreshToken(): {
|
|
72
|
-
refreshToken: (connectionId: string) => Promise<any>;
|
|
73
|
-
loading: boolean;
|
|
74
|
-
};
|
|
75
|
-
export declare function useRevokeConnection(): {
|
|
76
|
-
revokeConnection: (connectionId: string) => Promise<any>;
|
|
77
|
-
loading: boolean;
|
|
78
|
-
};
|
|
79
|
-
export declare function useTestConnection(): {
|
|
80
|
-
testConnection: (connectionId: string) => Promise<ConnectionTestResult | null>;
|
|
81
|
-
loading: boolean;
|
|
82
|
-
};
|
|
83
|
-
export {};
|
|
84
|
-
//# sourceMappingURL=useConnections.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useConnections.d.ts","sourceRoot":"","sources":["../../../src/integrations/hooks/useConnections.ts"],"names":[],"mappings":"AAAA;;GAEG;AAsBH,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAIlB,UAAU,uBAAuB;IAC/B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,uBAAuB;;;;;;EAa9D;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM;;;;;EAavC;AAED,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,MAAM;;;;;;EAmB1D;AAID,wBAAgB,mBAAmB;8BAOjB;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClC;;EAeJ;AAED,wBAAgB,mBAAmB;2BAMpB,MAAM,SAAS;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;EAQpE;AAED,wBAAgB,mBAAmB;2BAOpB,MAAM;;EAQpB;AAED,wBAAgB,gBAAgB;kCAMZ,MAAM,eACP,MAAM,eACN,MAAM,WACV,MAAM,EAAE,KAChB,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC;;EAgB3C;AAED,wBAAgB,gBAAgB;kCAQZ,MAAM,QACd,MAAM,SACL,MAAM,eACA,MAAM,eACN,MAAM;;EAoBxB;AAED,wBAAgB,yBAAyB;2CAMhB,MAAM,UAAU,MAAM;;EAQ9C;AAED,wBAAgB,4BAA4B;8CAMnB,MAAM,YAAY,MAAM,YAAY,MAAM;;EAQlE;AAED,wBAAgB,8BAA8B;gDAMrB,MAAM,SAAS,MAAM;;EAQ7C;AAED,wBAAgB,eAAe;iCAON,MAAM;;EAW9B;AAED,wBAAgB,mBAAmB;qCAOV,MAAM;;EAW9B;AAED,wBAAgB,iBAAiB;mCAIR,MAAM,KAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;;EAQrE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function useCredentialVaults(): {
|
|
2
|
-
vaults: any;
|
|
3
|
-
total: number;
|
|
4
|
-
loading: boolean;
|
|
5
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
6
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetVaultsForIntegrationsQuery>>;
|
|
7
|
-
};
|
|
8
|
-
export declare function useVaultSecrets(vaultId: string | null, authType?: string | null): {
|
|
9
|
-
secrets: any;
|
|
10
|
-
total: number;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
13
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetVaultSecretsForIntegrationsQuery>>;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=useCredentialVaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCredentialVaults.d.ts","sourceRoot":"","sources":["../../../src/integrations/hooks/useCredentialVaults.ts"],"names":[],"mappings":"AA+BA,wBAAgB,mBAAmB;;;;;;EAwBlC;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;;;;;;EA2C/E"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IntegrationLog, LogLevel, LogAction } from '../types';
|
|
2
|
-
|
|
3
|
-
interface LogFilterOptions {
|
|
4
|
-
level?: LogLevel;
|
|
5
|
-
action?: LogAction;
|
|
6
|
-
page?: number;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
skip?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function useConnectionLogs(connectionId: string, filter?: LogFilterOptions): {
|
|
11
|
-
logs: IntegrationLog[];
|
|
12
|
-
total: any;
|
|
13
|
-
hasMore: any;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
16
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetConnectionLogsQuery>>;
|
|
17
|
-
};
|
|
18
|
-
export declare function useIntegrationLogs(filter?: LogFilterOptions): {
|
|
19
|
-
logs: IntegrationLog[];
|
|
20
|
-
total: any;
|
|
21
|
-
hasMore: any;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
error: import('@apollo/client').ErrorLike | undefined;
|
|
24
|
-
refetch: (variables?: any) => Promise<import("@apollo/client").ApolloClient.QueryResult<Types.GetIntegrationLogsQuery>>;
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=useLogs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLogs.d.ts","sourceRoot":"","sources":["../../../src/integrations/hooks/useLogs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAKpE,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB;;;;;;;EAiChF;AAED,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,gBAAgB;;;;;;;EAgC3D"}
|