@tangle-network/agent-integrations 0.9.0 → 0.14.0

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/dist/index.d.ts CHANGED
@@ -1,3 +1,58 @@
1
+ type IntegrationSupportTier = 'catalogOnly' | 'setupReady' | 'gatewayExecutable' | 'firstPartyExecutable' | 'sandboxExecutable';
2
+ interface IntegrationCatalogSource {
3
+ id: string;
4
+ connectors: IntegrationConnector[];
5
+ precedence?: number;
6
+ }
7
+ interface IntegrationRegistrySourceRef {
8
+ sourceId: string;
9
+ providerId: string;
10
+ connectorId: string;
11
+ supportTier: IntegrationSupportTier;
12
+ actionCount: number;
13
+ triggerCount: number;
14
+ }
15
+ interface IntegrationRegistryConflict {
16
+ field: 'auth' | 'category';
17
+ values: Array<{
18
+ value: string;
19
+ sourceId: string;
20
+ connectorId: string;
21
+ }>;
22
+ }
23
+ interface IntegrationRegistryEntry {
24
+ canonicalId: string;
25
+ connector: IntegrationConnector;
26
+ aliases: string[];
27
+ supportTier: IntegrationSupportTier;
28
+ sources: IntegrationRegistrySourceRef[];
29
+ conflicts: IntegrationRegistryConflict[];
30
+ }
31
+ interface IntegrationRegistry {
32
+ entries: IntegrationRegistryEntry[];
33
+ connectors: IntegrationConnector[];
34
+ byId: Map<string, IntegrationRegistryEntry>;
35
+ }
36
+ interface IntegrationRegistrySummary {
37
+ totalEntries: number;
38
+ totalSources: number;
39
+ toolBindableEntries: number;
40
+ conflictEntries: number;
41
+ bySupportTier: Record<IntegrationSupportTier, number>;
42
+ }
43
+ interface ComposeIntegrationRegistryOptions {
44
+ aliases?: Record<string, string>;
45
+ sourcePrecedence?: Record<string, number>;
46
+ }
47
+ declare function buildDefaultIntegrationRegistry(options?: {
48
+ includeSpecs?: boolean;
49
+ includeActivepieces?: boolean;
50
+ }): IntegrationRegistry;
51
+ declare function composeIntegrationRegistry(sources: IntegrationCatalogSource[], options?: ComposeIntegrationRegistryOptions): IntegrationRegistry;
52
+ declare function summarizeIntegrationRegistry(registry: IntegrationRegistry): IntegrationRegistrySummary;
53
+ declare function canonicalConnectorId(id: string, aliases?: Record<string, string>): string;
54
+ declare function inferIntegrationSupportTier(connector: IntegrationConnector): IntegrationSupportTier;
55
+
1
56
  /**
2
57
  * Connector primitives — the contract a concrete first-party integration
3
58
  * (Google Calendar, HubSpot, Stripe, ...) implements. Lower level than the
@@ -1183,6 +1238,291 @@ declare function importOpenApiConnector(document: OpenApiDocument, options: Impo
1183
1238
  declare function importGraphqlConnector(operations: GraphqlOperationSpec[], options: ImportCatalogOptions): IntegrationConnector;
1184
1239
  declare function importMcpConnector(catalog: McpCatalog, options: ImportCatalogOptions): IntegrationConnector;
1185
1240
 
1241
+ interface GatewayCatalogProviderOptions {
1242
+ id: string;
1243
+ kind: Extract<IntegrationProviderKind, 'nango' | 'pipedream' | 'activepieces' | 'zapier' | 'executor' | 'custom'>;
1244
+ fetchCatalog: () => Promise<GatewayCatalogEntry[]> | GatewayCatalogEntry[];
1245
+ startAuth?: (request: StartAuthRequest) => Promise<StartAuthResult> | StartAuthResult;
1246
+ completeAuth?: (request: CompleteAuthRequest) => Promise<IntegrationConnection> | IntegrationConnection;
1247
+ invokeAction?: (connection: IntegrationConnection, request: IntegrationActionRequest) => Promise<IntegrationActionResult> | IntegrationActionResult;
1248
+ cacheTtlMs?: number;
1249
+ now?: () => Date;
1250
+ }
1251
+ interface GatewayCatalogEntry {
1252
+ id?: string;
1253
+ key?: string;
1254
+ name?: string;
1255
+ title?: string;
1256
+ category?: string;
1257
+ auth?: 'oauth2' | 'api_key' | 'none' | 'custom' | string;
1258
+ scopes?: string[];
1259
+ actions?: GatewayCatalogAction[];
1260
+ triggers?: GatewayCatalogTrigger[];
1261
+ metadata?: Record<string, unknown>;
1262
+ }
1263
+ interface GatewayCatalogAction {
1264
+ id?: string;
1265
+ key?: string;
1266
+ name?: string;
1267
+ title?: string;
1268
+ description?: string;
1269
+ risk?: 'read' | 'write' | 'destructive' | string;
1270
+ scopes?: string[];
1271
+ requiredScopes?: string[];
1272
+ dataClass?: IntegrationDataClass | string;
1273
+ approvalRequired?: boolean;
1274
+ inputSchema?: unknown;
1275
+ outputSchema?: unknown;
1276
+ }
1277
+ interface GatewayCatalogTrigger {
1278
+ id?: string;
1279
+ key?: string;
1280
+ name?: string;
1281
+ title?: string;
1282
+ description?: string;
1283
+ scopes?: string[];
1284
+ requiredScopes?: string[];
1285
+ dataClass?: IntegrationDataClass | string;
1286
+ payloadSchema?: unknown;
1287
+ }
1288
+ declare function createGatewayCatalogProvider(options: GatewayCatalogProviderOptions): IntegrationProvider;
1289
+ declare function normalizeGatewayCatalog(entries: GatewayCatalogEntry[], options: {
1290
+ providerId: string;
1291
+ providerKind: IntegrationProviderKind;
1292
+ }): IntegrationConnector[];
1293
+
1294
+ interface ActivepiecesCatalogEntry {
1295
+ id: string;
1296
+ title: string;
1297
+ description: string;
1298
+ npmPackage?: string;
1299
+ version?: string;
1300
+ category: IntegrationConnectorCategory;
1301
+ auth: IntegrationConnector['auth'];
1302
+ domains: string[];
1303
+ actions: Array<{
1304
+ id: string;
1305
+ title: string;
1306
+ risk: IntegrationActionRisk;
1307
+ }>;
1308
+ triggers: Array<{
1309
+ id: string;
1310
+ title: string;
1311
+ }>;
1312
+ source: {
1313
+ repository: string;
1314
+ path: string;
1315
+ license: 'MIT';
1316
+ };
1317
+ }
1318
+ declare function listActivepiecesCatalogEntries(): ActivepiecesCatalogEntry[];
1319
+ declare function buildActivepiecesConnectors(options?: {
1320
+ providerId?: string;
1321
+ includeCatalogActions?: boolean;
1322
+ }): IntegrationConnector[];
1323
+
1324
+ interface ActivepiecesPieceOverride {
1325
+ category?: IntegrationConnectorCategory;
1326
+ actionRisks?: Record<string, IntegrationActionRisk>;
1327
+ approvalRequired?: Record<string, boolean>;
1328
+ }
1329
+ declare const ACTIVEPIECES_OVERRIDES: Record<string, ActivepiecesPieceOverride>;
1330
+ declare function getActivepiecesOverride(id: string): ActivepiecesPieceOverride | undefined;
1331
+
1332
+ type IntegrationRequirementMode = 'read' | 'write' | 'trigger';
1333
+ type IntegrationRequirementStatus = 'ready' | 'missing_connection' | 'not_executable' | 'unknown_connector';
1334
+ interface IntegrationRequirement {
1335
+ id: string;
1336
+ connectorId: string;
1337
+ reason: string;
1338
+ mode: IntegrationRequirementMode;
1339
+ requiredActions?: string[];
1340
+ requiredTriggers?: string[];
1341
+ requiredScopes?: string[];
1342
+ optional?: boolean;
1343
+ }
1344
+ interface IntegrationManifest {
1345
+ id: string;
1346
+ title?: string;
1347
+ owner?: IntegrationActor;
1348
+ requirements: IntegrationRequirement[];
1349
+ metadata?: Record<string, unknown>;
1350
+ }
1351
+ interface IntegrationRequirementResolution {
1352
+ requirement: IntegrationRequirement;
1353
+ status: IntegrationRequirementStatus;
1354
+ connector?: IntegrationConnector;
1355
+ registryEntry?: IntegrationRegistryEntry;
1356
+ connection?: IntegrationConnection;
1357
+ missingScopes: string[];
1358
+ missingActions: string[];
1359
+ missingTriggers: string[];
1360
+ message: string;
1361
+ }
1362
+ interface IntegrationManifestResolution {
1363
+ manifest: IntegrationManifest;
1364
+ owner: IntegrationActor;
1365
+ ready: IntegrationRequirementResolution[];
1366
+ missing: IntegrationRequirementResolution[];
1367
+ optionalMissing: IntegrationRequirementResolution[];
1368
+ }
1369
+ interface IntegrationGrant {
1370
+ id: string;
1371
+ manifestId: string;
1372
+ requirementId: string;
1373
+ owner: IntegrationActor;
1374
+ grantee: IntegrationActor;
1375
+ connectionId: string;
1376
+ connectorId: string;
1377
+ scopes: string[];
1378
+ allowedActions: string[];
1379
+ allowedTriggers: string[];
1380
+ status: 'active' | 'revoked';
1381
+ createdAt: string;
1382
+ updatedAt: string;
1383
+ metadata?: Record<string, unknown>;
1384
+ }
1385
+ interface IntegrationGrantStore {
1386
+ get(grantId: string): Promise<IntegrationGrant | undefined> | IntegrationGrant | undefined;
1387
+ put(grant: IntegrationGrant): Promise<void> | void;
1388
+ listByManifest(manifestId: string, grantee?: IntegrationActor): Promise<IntegrationGrant[]> | IntegrationGrant[];
1389
+ listByGrantee(grantee: IntegrationActor): Promise<IntegrationGrant[]> | IntegrationGrant[];
1390
+ delete?(grantId: string): Promise<void> | void;
1391
+ }
1392
+ interface IntegrationCapabilityBinding {
1393
+ requirementId: string;
1394
+ connectorId: string;
1395
+ connectionId: string;
1396
+ grantId: string;
1397
+ scopes: string[];
1398
+ allowedActions: string[];
1399
+ allowedTriggers: string[];
1400
+ capability: IssuedIntegrationCapability;
1401
+ }
1402
+ interface IntegrationSandboxBundle {
1403
+ manifestId: string;
1404
+ subject: IntegrationActor;
1405
+ capabilities: IntegrationCapabilityBinding[];
1406
+ connectors: IntegrationConnector[];
1407
+ tools: IntegrationToolDefinition[];
1408
+ expiresAt: string;
1409
+ }
1410
+ interface IntegrationRuntimeHub {
1411
+ listRegistry(): Promise<IntegrationRegistry> | IntegrationRegistry;
1412
+ listConnections(owner: IntegrationActor): Promise<IntegrationConnection[]> | IntegrationConnection[];
1413
+ issueCapability(input: {
1414
+ subject: IntegrationActor;
1415
+ connectionId: string;
1416
+ scopes: string[];
1417
+ allowedActions: string[];
1418
+ ttlMs: number;
1419
+ metadata?: Record<string, unknown>;
1420
+ }): Promise<IssuedIntegrationCapability> | IssuedIntegrationCapability;
1421
+ }
1422
+ interface IntegrationRuntimeOptions {
1423
+ hub: IntegrationRuntimeHub;
1424
+ grants?: IntegrationGrantStore;
1425
+ now?: () => Date;
1426
+ }
1427
+ declare class InMemoryIntegrationGrantStore implements IntegrationGrantStore {
1428
+ private readonly grants;
1429
+ get(grantId: string): IntegrationGrant | undefined;
1430
+ put(grant: IntegrationGrant): void;
1431
+ listByManifest(manifestId: string, grantee?: IntegrationActor): IntegrationGrant[];
1432
+ listByGrantee(grantee: IntegrationActor): IntegrationGrant[];
1433
+ delete(grantId: string): void;
1434
+ }
1435
+ declare class IntegrationRuntime {
1436
+ private readonly hub;
1437
+ private readonly grants;
1438
+ private readonly now;
1439
+ constructor(options: IntegrationRuntimeOptions);
1440
+ registry(): Promise<IntegrationRegistry>;
1441
+ resolveManifest(manifest: IntegrationManifest, owner: IntegrationActor): Promise<IntegrationManifestResolution>;
1442
+ createGrants(input: {
1443
+ manifest: IntegrationManifest;
1444
+ owner: IntegrationActor;
1445
+ grantee: IntegrationActor;
1446
+ metadata?: Record<string, unknown>;
1447
+ }): Promise<IntegrationGrant[]>;
1448
+ buildSandboxBundle(input: {
1449
+ manifestId: string;
1450
+ subject: IntegrationActor;
1451
+ ttlMs: number;
1452
+ grantee?: IntegrationActor;
1453
+ }): Promise<IntegrationSandboxBundle>;
1454
+ }
1455
+ declare function createIntegrationRuntime(options: IntegrationRuntimeOptions): IntegrationRuntime;
1456
+
1457
+ interface IntegrationWorkflowDefinition {
1458
+ id: string;
1459
+ title?: string;
1460
+ manifest: IntegrationManifest;
1461
+ trigger: {
1462
+ requirementId: string;
1463
+ triggerId: string;
1464
+ targetUrl?: string;
1465
+ };
1466
+ metadata?: Record<string, unknown>;
1467
+ }
1468
+ interface InstalledIntegrationWorkflow {
1469
+ id: string;
1470
+ workflowId: string;
1471
+ manifestId: string;
1472
+ owner: IntegrationActor;
1473
+ grantee: IntegrationActor;
1474
+ triggerGrantId: string;
1475
+ subscription: IntegrationTriggerSubscription;
1476
+ status: 'active' | 'paused' | 'error';
1477
+ createdAt: string;
1478
+ metadata?: Record<string, unknown>;
1479
+ }
1480
+ interface IntegrationWorkflowStore {
1481
+ put(workflow: InstalledIntegrationWorkflow): Promise<void> | void;
1482
+ get(id: string): Promise<InstalledIntegrationWorkflow | undefined> | InstalledIntegrationWorkflow | undefined;
1483
+ list(): Promise<InstalledIntegrationWorkflow[]> | InstalledIntegrationWorkflow[];
1484
+ listByWorkflow(workflowId: string): Promise<InstalledIntegrationWorkflow[]> | InstalledIntegrationWorkflow[];
1485
+ listByOwner(owner: IntegrationActor): Promise<InstalledIntegrationWorkflow[]> | InstalledIntegrationWorkflow[];
1486
+ }
1487
+ interface IntegrationWorkflowRuntimeHub {
1488
+ subscribeTrigger(connectionId: string, trigger: string, targetUrl?: string): Promise<IntegrationTriggerSubscription> | IntegrationTriggerSubscription;
1489
+ }
1490
+ interface IntegrationWorkflowRuntimeOptions {
1491
+ runtime: IntegrationRuntime;
1492
+ hub: IntegrationWorkflowRuntimeHub;
1493
+ grants: IntegrationGrantStore;
1494
+ store?: IntegrationWorkflowStore;
1495
+ now?: () => Date;
1496
+ }
1497
+ declare class InMemoryIntegrationWorkflowStore implements IntegrationWorkflowStore {
1498
+ private readonly workflows;
1499
+ put(workflow: InstalledIntegrationWorkflow): void;
1500
+ get(id: string): InstalledIntegrationWorkflow | undefined;
1501
+ list(): InstalledIntegrationWorkflow[];
1502
+ listByWorkflow(workflowId: string): InstalledIntegrationWorkflow[];
1503
+ listByOwner(owner: IntegrationActor): InstalledIntegrationWorkflow[];
1504
+ }
1505
+ declare class IntegrationWorkflowRuntime {
1506
+ private readonly runtime;
1507
+ private readonly hub;
1508
+ private readonly grants;
1509
+ private readonly store;
1510
+ private readonly now;
1511
+ constructor(options: IntegrationWorkflowRuntimeOptions);
1512
+ install(input: {
1513
+ workflow: IntegrationWorkflowDefinition;
1514
+ owner: IntegrationActor;
1515
+ grantee: IntegrationActor;
1516
+ }): Promise<InstalledIntegrationWorkflow>;
1517
+ dispatchEvent<T = unknown>(event: IntegrationTriggerEvent<T>, handler: (input: {
1518
+ event: IntegrationTriggerEvent<T>;
1519
+ workflows: InstalledIntegrationWorkflow[];
1520
+ }) => Promise<void> | void): Promise<{
1521
+ matched: InstalledIntegrationWorkflow[];
1522
+ }>;
1523
+ }
1524
+ declare function createIntegrationWorkflowRuntime(options: IntegrationWorkflowRuntimeOptions): IntegrationWorkflowRuntime;
1525
+
1186
1526
  type IntegrationCoveragePriority = 'tier_0' | 'tier_1' | 'tier_2' | 'long_tail';
1187
1527
  interface IntegrationCoverageSpec {
1188
1528
  id: string;
@@ -1393,7 +1733,7 @@ type IntegrationConnectorCategory = 'email' | 'calendar' | 'chat' | 'crm' | 'sto
1393
1733
  type IntegrationActionRisk = 'read' | 'write' | 'destructive';
1394
1734
  type IntegrationDataClass = 'public' | 'internal' | 'private' | 'sensitive' | 'secret';
1395
1735
  interface IntegrationActor {
1396
- type: 'user' | 'team' | 'agent' | 'sandbox' | 'system';
1736
+ type: 'user' | 'team' | 'app' | 'agent' | 'sandbox' | 'system';
1397
1737
  id: string;
1398
1738
  }
1399
1739
  interface IntegrationConnectorAction {
@@ -1662,9 +2002,11 @@ declare class IntegrationHub {
1662
2002
  private readonly now;
1663
2003
  constructor(options: IntegrationHubOptions);
1664
2004
  listConnectors(): Promise<IntegrationConnector[]>;
2005
+ listRegistry(options?: ComposeIntegrationRegistryOptions): Promise<IntegrationRegistry>;
1665
2006
  startAuth(providerId: string, request: StartAuthRequest): Promise<StartAuthResult>;
1666
2007
  completeAuth(providerId: string, request: CompleteAuthRequest): Promise<IntegrationConnection>;
1667
2008
  upsertConnection(connection: IntegrationConnection): Promise<IntegrationConnection>;
2009
+ listConnections(owner: IntegrationActor): Promise<IntegrationConnection[]>;
1668
2010
  issueCapability(request: IssueCapabilityRequest): Promise<IssuedIntegrationCapability>;
1669
2011
  verifyCapability(token: string): IntegrationCapability;
1670
2012
  invokeWithCapability(token: string, request: InvokeWithCapabilityRequest): Promise<IntegrationActionResult>;
@@ -1684,4 +2026,4 @@ declare function createHttpIntegrationProvider(options: HttpIntegrationProviderO
1684
2026
  declare function signCapability(capability: IntegrationCapability, secret: string): string;
1685
2027
  declare function verifyCapabilityToken(token: string, secret: string): IntegrationCapability;
1686
2028
 
1687
- export { type ApiKeyAuthSpec, type AuthSpec, type CASStrategy, type Capability, type CapabilityClass, type CapabilityMutation, type CapabilityMutationResult, type CapabilityParameterSchema, type CapabilityRead, type CapabilityReadResult, type CompleteAuthRequest, type ConnectorAdapter, type ConnectorAdapterProviderOptions, type ConnectorCredentials, type ConnectorInvocation, type ConnectorManifest, type ConnectorManifestValidationIssue, type ConnectorManifestValidationResult, type ConsistencyModel, type ConsoleStep, type CredentialFieldSpec, type CredentialValidationInput, type CredentialValidationResult, CredentialsExpired, type CustomAuthSpec, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, type DataSourceMetadata, type EventHandlerResult, type ExchangeCodeInput, type GenericHmacVerifyOptions, type GoogleCalendarOptions, type GoogleSheetsOptions, type GraphqlOperationSpec, type HealthcheckPlan, type HealthcheckSpec, type HmacAuthSpec, type HttpIntegrationProviderOptions, type HubSpotOptions, INTEGRATION_FAMILIES, type ImportCatalogOptions, InMemoryConnectionStore, InMemoryOAuthFlowStore, type InboundEvent, type IntegrationActionGuard, type IntegrationActionPack, type IntegrationActionRequest, type IntegrationActionResult, type IntegrationActionRisk, type IntegrationActor, type IntegrationApprovalRequest, type IntegrationApprovalResolution, type IntegrationAuthMode, type IntegrationAuthSpec, type IntegrationCapability, type IntegrationConnection, type IntegrationConnectionStore, type IntegrationConnector, type IntegrationConnectorAction, type IntegrationConnectorCategory, type IntegrationConnectorTrigger, type IntegrationCoveragePriority, type IntegrationCoverageSpec, type IntegrationDataClass, IntegrationError, type IntegrationFamilyId, type IntegrationFamilySpec, type IntegrationGuardContext, IntegrationHub, type IntegrationHubOptions, type IntegrationInvocationEnvelope, type IntegrationInvocationEnvelopeValidationOptions, type IntegrationLifecycleSpec, type IntegrationPlannerHints, type IntegrationPolicyDecision, type IntegrationPolicyEffect, type IntegrationPolicyEngine, type IntegrationPolicyRule, type IntegrationProvider, type IntegrationProviderKind, type IntegrationSetupSpec, type IntegrationSpec, type IntegrationSpecStatus, type IntegrationSpecValidationIssue, type IntegrationSpecValidationResult, type IntegrationToolDefinition, type IntegrationToolSearchFilters, type IntegrationToolSearchResult, type IntegrationTriggerEvent, type IntegrationTriggerSubscription, type InvokeWithCapabilityRequest, type IssueCapabilityRequest, type IssuedIntegrationCapability, type McpCatalog, type McpCatalogTool, type McpToolDefinition, type MicrosoftCalendarOptions, type NoneAuthSpec, type NormalizedIntegrationResult, type NormalizedPermission, type NotionDatabaseOptions, type OAuth2AuthSpec, type OAuthFlowStore, type OAuthTokens, type OpenApiDocument, type OpenApiOperation, type ParsedStripeSignatureHeader, type PendingOAuthFlow, type PermissionDescriptor, type PostSetupCheck, type Quirk, type RateLimitSpec, type RefreshInput, type RenderSpecOptions, type RenderedConsoleStep, type ResolvedDataSource, ResourceContention, type RestConnectorSpec, type RestCredentialPlacement, type RestOperationSpec, type RestRequestSpec, type ScopeDescriptor, type SecretRef, type SlackOptions, type SlackVerifyOptions, type StartAuthRequest, type StartAuthResult, type StartOAuthInput, type StartOAuthOutput, StaticIntegrationPolicyEngine, type StaticIntegrationPolicyOptions, type StripeVerifyOptions, type TwilioVerifyOptions, _resetPendingFlowsForTests, airtableConnector, asanaConnector, assertValidConnectorManifest, assertValidIntegrationSpec, buildApprovalRequest, buildHealthcheckPlan, buildIntegrationCoverageConnectors, buildIntegrationInvocationEnvelope, buildIntegrationToolCatalog, consoleStepsToText, consumePendingFlow, createConnectorAdapterProvider, createDefaultIntegrationPolicyEngine, createHttpIntegrationProvider, createMockIntegrationProvider, declarativeRestConnector, exchangeAuthorizationCode, firstHeader, getIntegrationFamily, getIntegrationSpec, githubConnector, gitlabConnector, googleCalendar, googleSheets, hubspot, importGraphqlConnector, importMcpConnector, importOpenApiConnector, integrationCoverageChecklistMarkdown, integrationSpecToConnector, integrationToolName, invocationRequestFromEnvelope, listExecutableIntegrationSpecs, listIntegrationCoverageSpecs, listIntegrationSpecs, manifestToConnector, microsoftCalendar, normalizeIntegrationResult, notionDatabase, parseIntegrationToolName, parseStripeSignatureHeader, redactApprovalRequest, redactCapability, redactInvocationEnvelope, refreshAccessToken, renderAgentToolDescription, renderConsoleSteps, renderRunbookMarkdown, salesforceConnector, sanitizeConnection, searchIntegrationTools, signCapability, slack, slackEventsConnector, specAuthToConnectorAuth, startOAuthFlow, stripePackConnector, stripeWebhookReceiverConnector, toMcpTools, twilioSmsConnector, validateConnectorManifest, validateCredentialFormat, validateCredentialSet, validateIntegrationInvocationEnvelope, validateIntegrationSpec, verifyCapabilityToken, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature, webhookConnector };
2029
+ export { ACTIVEPIECES_OVERRIDES, type ActivepiecesCatalogEntry, type ActivepiecesPieceOverride, type ApiKeyAuthSpec, type AuthSpec, type CASStrategy, type Capability, type CapabilityClass, type CapabilityMutation, type CapabilityMutationResult, type CapabilityParameterSchema, type CapabilityRead, type CapabilityReadResult, type CompleteAuthRequest, type ComposeIntegrationRegistryOptions, type ConnectorAdapter, type ConnectorAdapterProviderOptions, type ConnectorCredentials, type ConnectorInvocation, type ConnectorManifest, type ConnectorManifestValidationIssue, type ConnectorManifestValidationResult, type ConsistencyModel, type ConsoleStep, type CredentialFieldSpec, type CredentialValidationInput, type CredentialValidationResult, CredentialsExpired, type CustomAuthSpec, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, type DataSourceMetadata, type EventHandlerResult, type ExchangeCodeInput, type GatewayCatalogAction, type GatewayCatalogEntry, type GatewayCatalogProviderOptions, type GatewayCatalogTrigger, type GenericHmacVerifyOptions, type GoogleCalendarOptions, type GoogleSheetsOptions, type GraphqlOperationSpec, type HealthcheckPlan, type HealthcheckSpec, type HmacAuthSpec, type HttpIntegrationProviderOptions, type HubSpotOptions, INTEGRATION_FAMILIES, type ImportCatalogOptions, InMemoryConnectionStore, InMemoryIntegrationGrantStore, InMemoryIntegrationWorkflowStore, InMemoryOAuthFlowStore, type InboundEvent, type InstalledIntegrationWorkflow, type IntegrationActionGuard, type IntegrationActionPack, type IntegrationActionRequest, type IntegrationActionResult, type IntegrationActionRisk, type IntegrationActor, type IntegrationApprovalRequest, type IntegrationApprovalResolution, type IntegrationAuthMode, type IntegrationAuthSpec, type IntegrationCapability, type IntegrationCapabilityBinding, type IntegrationCatalogSource, type IntegrationConnection, type IntegrationConnectionStore, type IntegrationConnector, type IntegrationConnectorAction, type IntegrationConnectorCategory, type IntegrationConnectorTrigger, type IntegrationCoveragePriority, type IntegrationCoverageSpec, type IntegrationDataClass, IntegrationError, type IntegrationFamilyId, type IntegrationFamilySpec, type IntegrationGrant, type IntegrationGrantStore, type IntegrationGuardContext, IntegrationHub, type IntegrationHubOptions, type IntegrationInvocationEnvelope, type IntegrationInvocationEnvelopeValidationOptions, type IntegrationLifecycleSpec, type IntegrationManifest, type IntegrationManifestResolution, type IntegrationPlannerHints, type IntegrationPolicyDecision, type IntegrationPolicyEffect, type IntegrationPolicyEngine, type IntegrationPolicyRule, type IntegrationProvider, type IntegrationProviderKind, type IntegrationRegistry, type IntegrationRegistryConflict, type IntegrationRegistryEntry, type IntegrationRegistrySourceRef, type IntegrationRegistrySummary, type IntegrationRequirement, type IntegrationRequirementMode, type IntegrationRequirementResolution, type IntegrationRequirementStatus, IntegrationRuntime, type IntegrationRuntimeHub, type IntegrationRuntimeOptions, type IntegrationSandboxBundle, type IntegrationSetupSpec, type IntegrationSpec, type IntegrationSpecStatus, type IntegrationSpecValidationIssue, type IntegrationSpecValidationResult, type IntegrationSupportTier, type IntegrationToolDefinition, type IntegrationToolSearchFilters, type IntegrationToolSearchResult, type IntegrationTriggerEvent, type IntegrationTriggerSubscription, type IntegrationWorkflowDefinition, IntegrationWorkflowRuntime, type IntegrationWorkflowRuntimeHub, type IntegrationWorkflowRuntimeOptions, type IntegrationWorkflowStore, type InvokeWithCapabilityRequest, type IssueCapabilityRequest, type IssuedIntegrationCapability, type McpCatalog, type McpCatalogTool, type McpToolDefinition, type MicrosoftCalendarOptions, type NoneAuthSpec, type NormalizedIntegrationResult, type NormalizedPermission, type NotionDatabaseOptions, type OAuth2AuthSpec, type OAuthFlowStore, type OAuthTokens, type OpenApiDocument, type OpenApiOperation, type ParsedStripeSignatureHeader, type PendingOAuthFlow, type PermissionDescriptor, type PostSetupCheck, type Quirk, type RateLimitSpec, type RefreshInput, type RenderSpecOptions, type RenderedConsoleStep, type ResolvedDataSource, ResourceContention, type RestConnectorSpec, type RestCredentialPlacement, type RestOperationSpec, type RestRequestSpec, type ScopeDescriptor, type SecretRef, type SlackOptions, type SlackVerifyOptions, type StartAuthRequest, type StartAuthResult, type StartOAuthInput, type StartOAuthOutput, StaticIntegrationPolicyEngine, type StaticIntegrationPolicyOptions, type StripeVerifyOptions, type TwilioVerifyOptions, _resetPendingFlowsForTests, airtableConnector, asanaConnector, assertValidConnectorManifest, assertValidIntegrationSpec, buildActivepiecesConnectors, buildApprovalRequest, buildDefaultIntegrationRegistry, buildHealthcheckPlan, buildIntegrationCoverageConnectors, buildIntegrationInvocationEnvelope, buildIntegrationToolCatalog, canonicalConnectorId, composeIntegrationRegistry, consoleStepsToText, consumePendingFlow, createConnectorAdapterProvider, createDefaultIntegrationPolicyEngine, createGatewayCatalogProvider, createHttpIntegrationProvider, createIntegrationRuntime, createIntegrationWorkflowRuntime, createMockIntegrationProvider, declarativeRestConnector, exchangeAuthorizationCode, firstHeader, getActivepiecesOverride, getIntegrationFamily, getIntegrationSpec, githubConnector, gitlabConnector, googleCalendar, googleSheets, hubspot, importGraphqlConnector, importMcpConnector, importOpenApiConnector, inferIntegrationSupportTier, integrationCoverageChecklistMarkdown, integrationSpecToConnector, integrationToolName, invocationRequestFromEnvelope, listActivepiecesCatalogEntries, listExecutableIntegrationSpecs, listIntegrationCoverageSpecs, listIntegrationSpecs, manifestToConnector, microsoftCalendar, normalizeGatewayCatalog, normalizeIntegrationResult, notionDatabase, parseIntegrationToolName, parseStripeSignatureHeader, redactApprovalRequest, redactCapability, redactInvocationEnvelope, refreshAccessToken, renderAgentToolDescription, renderConsoleSteps, renderRunbookMarkdown, salesforceConnector, sanitizeConnection, searchIntegrationTools, signCapability, slack, slackEventsConnector, specAuthToConnectorAuth, startOAuthFlow, stripePackConnector, stripeWebhookReceiverConnector, summarizeIntegrationRegistry, toMcpTools, twilioSmsConnector, validateConnectorManifest, validateCredentialFormat, validateCredentialSet, validateIntegrationInvocationEnvelope, validateIntegrationSpec, verifyCapabilityToken, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature, webhookConnector };