@tangle-network/agent-integrations 0.25.7 → 0.26.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/README.md +11 -2
- package/dist/bin/tangle-catalog-runtime.js +3 -2
- package/dist/bin/tangle-catalog-runtime.js.map +1 -1
- package/dist/catalog.d.ts +1 -1
- package/dist/catalog.js +3 -2
- package/dist/chunk-2TW2QKGZ.js +94 -0
- package/dist/chunk-2TW2QKGZ.js.map +1 -0
- package/dist/{chunk-A5I3EYU5.js → chunk-ALCIWTIR.js} +96 -1
- package/dist/chunk-ALCIWTIR.js.map +1 -0
- package/dist/{chunk-WC63AI4Q.js → chunk-GA4VTE3U.js} +1249 -169
- package/dist/chunk-GA4VTE3U.js.map +1 -0
- package/dist/connectors/adapters/index.d.ts +1 -1
- package/dist/connectors/adapters/index.js +8 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +14 -6
- package/dist/{index-BQY5ry2s.d.ts → index-D4D4CEKX.d.ts} +177 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -7
- package/dist/registry.d.ts +139 -2
- package/dist/registry.js +3 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +3 -2
- package/dist/specs.d.ts +1 -1
- package/dist/tangle-catalog-runtime.d.ts +1 -1
- package/dist/tangle-catalog-runtime.js +3 -2
- package/dist/webhooks/index.d.ts +193 -0
- package/dist/webhooks/index.js +285 -0
- package/dist/webhooks/index.js.map +1 -0
- package/examples/discover-capabilities.ts +46 -0
- package/examples/webhook-router.ts +56 -0
- package/package.json +15 -12
- package/dist/chunk-A5I3EYU5.js.map +0 -1
- package/dist/chunk-WC63AI4Q.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { G as GoogleCalendarOptions,
|
|
1
|
+
export { p as DocuSealOptions, G as GmailOptions, q as GoogleCalendarOptions, r as GoogleDriveOptions, s as GoogleSheetsOptions, H as HubSpotOptions, M as MicrosoftCalendarOptions, N as NotionDatabaseOptions, v as RestConnectorSpec, w as RestCredentialPlacement, x as RestOperationSpec, y as RestRequestSpec, S as SlackOptions, z as airtableConnector, B as asanaConnector, J as declarativeRestConnector, K as docuseal, L as githubConnector, O as gitlabConnector, P as gmail, Q as googleCalendar, T as googleDrive, U as googleSheets, V as hubspot, W as microsoftCalendar, X as notionDatabase, Y as salesforceConnector, Z as slack, _ as slackEventsConnector, $ as stripePackConnector, a0 as stripeWebhookReceiverConnector, a1 as twilioSmsConnector, a3 as webhookConnector } from '../../index-D4D4CEKX.js';
|
|
@@ -2,9 +2,12 @@ import {
|
|
|
2
2
|
airtableConnector,
|
|
3
3
|
asanaConnector,
|
|
4
4
|
declarativeRestConnector,
|
|
5
|
+
docuseal,
|
|
5
6
|
githubConnector,
|
|
6
7
|
gitlabConnector,
|
|
8
|
+
gmail,
|
|
7
9
|
googleCalendar,
|
|
10
|
+
googleDrive,
|
|
8
11
|
googleSheets,
|
|
9
12
|
hubspot,
|
|
10
13
|
microsoftCalendar,
|
|
@@ -16,14 +19,18 @@ import {
|
|
|
16
19
|
stripeWebhookReceiverConnector,
|
|
17
20
|
twilioSmsConnector,
|
|
18
21
|
webhookConnector
|
|
19
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-GA4VTE3U.js";
|
|
23
|
+
import "../../chunk-2TW2QKGZ.js";
|
|
20
24
|
export {
|
|
21
25
|
airtableConnector,
|
|
22
26
|
asanaConnector,
|
|
23
27
|
declarativeRestConnector,
|
|
28
|
+
docuseal,
|
|
24
29
|
githubConnector,
|
|
25
30
|
gitlabConnector,
|
|
31
|
+
gmail,
|
|
26
32
|
googleCalendar,
|
|
33
|
+
googleDrive,
|
|
27
34
|
googleSheets,
|
|
28
35
|
hubspot,
|
|
29
36
|
microsoftCalendar,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, C as ConnectorAdapter, a as ConnectorCredentials, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, E as EventHandlerResult, G as GoogleCalendarOptions,
|
|
1
|
+
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, C as ConnectorAdapter, a as ConnectorCredentials, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, p as DocuSealOptions, E as EventHandlerResult, G as GmailOptions, q as GoogleCalendarOptions, r as GoogleDriveOptions, s as GoogleSheetsOptions, H as HubSpotOptions, I as InboundEvent, M as MicrosoftCalendarOptions, N as NotionDatabaseOptions, t as RateLimitSpec, R as ResolvedDataSource, u as ResourceContention, v as RestConnectorSpec, w as RestCredentialPlacement, x as RestOperationSpec, y as RestRequestSpec, S as SlackOptions, z as airtableConnector, B as asanaConnector, F as assertValidConnectorManifest, J as declarativeRestConnector, K as docuseal, L as githubConnector, O as gitlabConnector, P as gmail, Q as googleCalendar, T as googleDrive, U as googleSheets, V as hubspot, W as microsoftCalendar, X as notionDatabase, Y as salesforceConnector, Z as slack, _ as slackEventsConnector, $ as stripePackConnector, a0 as stripeWebhookReceiverConnector, a1 as twilioSmsConnector, a2 as validateConnectorManifest, a3 as webhookConnector } from '../index-D4D4CEKX.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Generic OAuth2 helper used by every oauth-shaped connector (Google
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "../chunk-376UBTNB.js";
|
|
2
2
|
import {
|
|
3
3
|
CredentialsExpired,
|
|
4
|
-
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
5
4
|
InMemoryOAuthFlowStore,
|
|
6
5
|
ResourceContention,
|
|
7
6
|
_resetPendingFlowsForTests,
|
|
@@ -10,16 +9,17 @@ import {
|
|
|
10
9
|
assertValidConnectorManifest,
|
|
11
10
|
consumePendingFlow,
|
|
12
11
|
declarativeRestConnector,
|
|
12
|
+
docuseal,
|
|
13
13
|
exchangeAuthorizationCode,
|
|
14
|
-
firstHeader,
|
|
15
14
|
githubConnector,
|
|
16
15
|
gitlabConnector,
|
|
16
|
+
gmail,
|
|
17
17
|
googleCalendar,
|
|
18
|
+
googleDrive,
|
|
18
19
|
googleSheets,
|
|
19
20
|
hubspot,
|
|
20
21
|
microsoftCalendar,
|
|
21
22
|
notionDatabase,
|
|
22
|
-
parseStripeSignatureHeader,
|
|
23
23
|
refreshAccessToken,
|
|
24
24
|
salesforceConnector,
|
|
25
25
|
slack,
|
|
@@ -29,12 +29,17 @@ import {
|
|
|
29
29
|
stripeWebhookReceiverConnector,
|
|
30
30
|
twilioSmsConnector,
|
|
31
31
|
validateConnectorManifest,
|
|
32
|
+
webhookConnector
|
|
33
|
+
} from "../chunk-GA4VTE3U.js";
|
|
34
|
+
import {
|
|
35
|
+
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
36
|
+
firstHeader,
|
|
37
|
+
parseStripeSignatureHeader,
|
|
32
38
|
verifyHmacSignature,
|
|
33
39
|
verifySlackSignature,
|
|
34
40
|
verifyStripeSignature,
|
|
35
|
-
verifyTwilioSignature
|
|
36
|
-
|
|
37
|
-
} from "../chunk-WC63AI4Q.js";
|
|
41
|
+
verifyTwilioSignature
|
|
42
|
+
} from "../chunk-2TW2QKGZ.js";
|
|
38
43
|
export {
|
|
39
44
|
CredentialsExpired,
|
|
40
45
|
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
@@ -46,11 +51,14 @@ export {
|
|
|
46
51
|
assertValidConnectorManifest,
|
|
47
52
|
consumePendingFlow,
|
|
48
53
|
declarativeRestConnector,
|
|
54
|
+
docuseal,
|
|
49
55
|
exchangeAuthorizationCode,
|
|
50
56
|
firstHeader,
|
|
51
57
|
githubConnector,
|
|
52
58
|
gitlabConnector,
|
|
59
|
+
gmail,
|
|
53
60
|
googleCalendar,
|
|
61
|
+
googleDrive,
|
|
54
62
|
googleSheets,
|
|
55
63
|
hubspot,
|
|
56
64
|
microsoftCalendar,
|
|
@@ -432,6 +432,60 @@ interface GoogleCalendarOptions {
|
|
|
432
432
|
}
|
|
433
433
|
declare function googleCalendar(opts: GoogleCalendarOptions): ConnectorAdapter;
|
|
434
434
|
|
|
435
|
+
/**
|
|
436
|
+
* @stable Google Drive connector — doc-flow-in for legal/tax/creative agents.
|
|
437
|
+
*
|
|
438
|
+
* Three capabilities, picked to cover "agent pulls a document the user
|
|
439
|
+
* dropped in a folder" without trying to expose all of Drive's surface:
|
|
440
|
+
*
|
|
441
|
+
* list_files(folderId?, query?, pageSize?)
|
|
442
|
+
* → {files: [{id, name, mimeType, modifiedTime, size?, md5Checksum?}], nextPageToken?}
|
|
443
|
+
* Read. files.list with a `'<folder>' in parents` clause when folderId
|
|
444
|
+
* is provided, otherwise the user's whole Drive scoped by Drive query.
|
|
445
|
+
*
|
|
446
|
+
* read_file(fileId, format?)
|
|
447
|
+
* → {name, mimeType, content: string | base64, encoding: 'utf-8' | 'base64'}
|
|
448
|
+
* Read. For Google-native types (Docs/Sheets/Slides) we use
|
|
449
|
+
* `files.export` with the requested export mime; for binary types
|
|
450
|
+
* (PDF, images, .docx) we use `files.get?alt=media` and base64 the
|
|
451
|
+
* bytes. Caller decides what to do with each.
|
|
452
|
+
*
|
|
453
|
+
* watch_folder(folderId, channelId, address, ttlMs?)
|
|
454
|
+
* → {channelId, resourceId, expiration}
|
|
455
|
+
* Mutation (creates a push notification channel). CAS: native-idempotency
|
|
456
|
+
* by way of the caller-supplied `channelId` — re-issuing the same
|
|
457
|
+
* channelId returns 409, which we surface as `idempotentReplay: true`
|
|
458
|
+
* after pulling the existing channel's `resourceId` from
|
|
459
|
+
* `DataSource.metadata.watchedChannels[channelId]`.
|
|
460
|
+
*
|
|
461
|
+
* Auth: OAuth2 with `drive.readonly` (list/read) + `drive` (watch). We
|
|
462
|
+
* scope to readonly by default and require the operator to opt into the
|
|
463
|
+
* full-write scope only if they intend to use watch_folder. The
|
|
464
|
+
* `requiredScopes` field on each capability gates this in the agent's
|
|
465
|
+
* tool registry — the agent never sees `watch_folder` unless the grant
|
|
466
|
+
* carries `drive`.
|
|
467
|
+
*
|
|
468
|
+
* Why no upload capability in v1: upload is a multi-part / resumable
|
|
469
|
+
* dance that's properly its own connector pack (write-doc workflows
|
|
470
|
+
* need an authoritative consistency model, a separate review path,
|
|
471
|
+
* etc.). Doc-flow-in is the load-bearing case for the five product
|
|
472
|
+
* agents — doc-flow-out lives in the appropriate kind-specific pack
|
|
473
|
+
* (e.g., docuseal-out, gmail send_reply, sheets update_row).
|
|
474
|
+
*/
|
|
475
|
+
|
|
476
|
+
/** OAuth client config the factory closes over. */
|
|
477
|
+
interface GoogleDriveOptions {
|
|
478
|
+
clientId: string;
|
|
479
|
+
clientSecret: string;
|
|
480
|
+
/** When true, request the broader `drive` scope at connect-time so
|
|
481
|
+
* the operator can use watch_folder. Default false — request only
|
|
482
|
+
* `drive.readonly` and gate watch_folder via `requiredScopes`. */
|
|
483
|
+
includeWatchScope?: boolean;
|
|
484
|
+
/** Default request timeout in ms. Applied per-fetch via AbortSignal. */
|
|
485
|
+
timeoutMs?: number;
|
|
486
|
+
}
|
|
487
|
+
declare function googleDrive(opts: GoogleDriveOptions): ConnectorAdapter;
|
|
488
|
+
|
|
435
489
|
/**
|
|
436
490
|
* Google Sheets connector — live KB source + writable rows.
|
|
437
491
|
*
|
|
@@ -471,6 +525,60 @@ interface GoogleSheetsOptions {
|
|
|
471
525
|
}
|
|
472
526
|
declare function googleSheets(opts: GoogleSheetsOptions): ConnectorAdapter;
|
|
473
527
|
|
|
528
|
+
/**
|
|
529
|
+
* @stable Gmail connector — email-triggered agent workflows.
|
|
530
|
+
*
|
|
531
|
+
* Four capabilities, picked to cover "agent reads inbox, replies, and
|
|
532
|
+
* watches a label" without exposing all of Gmail's surface:
|
|
533
|
+
*
|
|
534
|
+
* list_messages(labelIds?, query?, maxResults?)
|
|
535
|
+
* → {messages: [{id, threadId, snippet, internalDate, from, to, subject, labelIds}], nextPageToken?}
|
|
536
|
+
* Read. `users.messages.list` + a parallel `users.messages.get` for
|
|
537
|
+
* each id with `format=metadata` so the agent gets actionable header
|
|
538
|
+
* fields, not just ids.
|
|
539
|
+
*
|
|
540
|
+
* read_message(id, format?)
|
|
541
|
+
* → {id, threadId, from, to, subject, internalDate, body: {text?, html?}, attachments: [{filename, mimeType, attachmentId}]}
|
|
542
|
+
* Read. `users.messages.get?format=full` then a small MIME walker that
|
|
543
|
+
* extracts `text/plain` + `text/html` + a flat attachment manifest.
|
|
544
|
+
* Attachment bodies are NOT inlined (could be huge) — the caller can
|
|
545
|
+
* follow up with `get_attachment` if needed.
|
|
546
|
+
*
|
|
547
|
+
* send_reply(threadId, body, replyAll?, cc?)
|
|
548
|
+
* → {id, threadId, labelIds}
|
|
549
|
+
* Mutation. `users.messages.send` with In-Reply-To/References headers
|
|
550
|
+
* pulled from the most recent message in the thread. CAS: native-
|
|
551
|
+
* idempotency. Gmail does not honor an explicit idempotency-key
|
|
552
|
+
* header, so we encode the agent's idempotency key into a
|
|
553
|
+
* `X-Tangle-Idempotency-Key` header AND we annotate the thread with
|
|
554
|
+
* a custom label `tangle-sent-<key>` on success — a retry can list
|
|
555
|
+
* the label and short-circuit without re-sending. The MutationGuard
|
|
556
|
+
* above the connector still short-circuits the common retry case
|
|
557
|
+
* before any upstream call.
|
|
558
|
+
*
|
|
559
|
+
* watch_label(labelIds, topicName, ttlMs?)
|
|
560
|
+
* → {historyId, expiration}
|
|
561
|
+
* Mutation. `users.watch` registers a Cloud Pub/Sub topic that
|
|
562
|
+
* receives a notification on label changes. Caller owns the Pub/Sub
|
|
563
|
+
* topic and routes pushes into the webhook router. Note: Gmail
|
|
564
|
+
* forces re-registration every 7 days; we surface the upstream
|
|
565
|
+
* `expiration` so the caller can schedule a refresh.
|
|
566
|
+
*
|
|
567
|
+
* Auth: OAuth2 with `gmail.readonly` (list/read), `gmail.send` (send),
|
|
568
|
+
* `gmail.modify` (watch). Caller toggles which to include via the
|
|
569
|
+
* `scopes` option.
|
|
570
|
+
*/
|
|
571
|
+
|
|
572
|
+
interface GmailOptions {
|
|
573
|
+
clientId: string;
|
|
574
|
+
clientSecret: string;
|
|
575
|
+
/** Scopes requested at connect-time. Default: read + send + modify. */
|
|
576
|
+
scopes?: string[];
|
|
577
|
+
/** Default request timeout in ms. */
|
|
578
|
+
timeoutMs?: number;
|
|
579
|
+
}
|
|
580
|
+
declare function gmail(opts: GmailOptions): ConnectorAdapter;
|
|
581
|
+
|
|
474
582
|
/**
|
|
475
583
|
* Microsoft Graph Calendar connector — the Outlook half of the
|
|
476
584
|
* voice-agent's "book me a slot" surface.
|
|
@@ -619,6 +727,62 @@ interface NotionDatabaseOptions {
|
|
|
619
727
|
}
|
|
620
728
|
declare function notionDatabase(opts: NotionDatabaseOptions): ConnectorAdapter;
|
|
621
729
|
|
|
730
|
+
/**
|
|
731
|
+
* @stable DocuSeal connector — e-signature flows for legal/tax agents.
|
|
732
|
+
*
|
|
733
|
+
* Three capabilities + inbound webhook surface:
|
|
734
|
+
*
|
|
735
|
+
* create_submission(templateId, submitters, sendEmail?)
|
|
736
|
+
* → {submissionId, submitters: [{email, slug, url}], status: 'pending'}
|
|
737
|
+
* Mutation. POST /api/submissions with an explicit
|
|
738
|
+
* `external_id = idempotencyKey` so DocuSeal will dedupe the
|
|
739
|
+
* submission across our retries (verified against DocuSeal's
|
|
740
|
+
* external_id uniqueness behavior).
|
|
741
|
+
*
|
|
742
|
+
* get_submission(submissionId)
|
|
743
|
+
* → {submissionId, status, completedAt?, submitters: [{email, status, completedAt?, slug, url}]}
|
|
744
|
+
* Read. GET /api/submissions/:id, normalized so the agent doesn't
|
|
745
|
+
* have to map DocuSeal's per-submitter status (`awaiting`, `sent`,
|
|
746
|
+
* `opened`, `completed`, `declined`) onto a smaller taxonomy.
|
|
747
|
+
*
|
|
748
|
+
* void_submission(submissionId, reason?)
|
|
749
|
+
* → {submissionId, status: 'voided', voidedAt}
|
|
750
|
+
* Mutation. DELETE /api/submissions/:id with `reason` carried as a
|
|
751
|
+
* header. CAS: etag-if-match — DocuSeal emits an updated_at value we
|
|
752
|
+
* thread through as ETag so two concurrent voids don't race.
|
|
753
|
+
*
|
|
754
|
+
* handleInboundEvent (webhook surface)
|
|
755
|
+
* DocuSeal pushes events to a customer-configured URL. We verify a
|
|
756
|
+
* HMAC-SHA256 signature over the raw body keyed by the per-account
|
|
757
|
+
* webhook secret (`X-Docuseal-Signature` header, lowercase hex). The
|
|
758
|
+
* adapter parses the event shape and emits a normalized
|
|
759
|
+
* `InboundEvent` row (eventType = `docuseal.submission.completed`,
|
|
760
|
+
* etc.). Replay protection: DocuSeal does not currently sign a
|
|
761
|
+
* timestamp, so we recommend the receiver pin a per-event-id idempotency
|
|
762
|
+
* row (the `event_id` field on every push payload).
|
|
763
|
+
*
|
|
764
|
+
* Auth: API key (DocuSeal personal API key — every endpoint requires it
|
|
765
|
+
* via the `X-Auth-Token` header). Webhook secret is a separate
|
|
766
|
+
* credential delivered via the same DataSource — we accept either
|
|
767
|
+
* `kind: 'api-key'` (action surface) or `kind: 'custom'` carrying
|
|
768
|
+
* `apiKey` + `webhookSecret` (action + webhook on one connection).
|
|
769
|
+
*
|
|
770
|
+
* Error taxonomy (mapped via integrations/errors.ts):
|
|
771
|
+
* 401 → provider_auth_failed (CredentialsExpired)
|
|
772
|
+
* 404 → action_not_found (Error) — submission id is unknown
|
|
773
|
+
* 409 → action_denied / ResourceContention when status guards
|
|
774
|
+
* 429 → provider_rate_limited (status: 'rate-limited' result)
|
|
775
|
+
* 5xx → provider_unavailable
|
|
776
|
+
*/
|
|
777
|
+
|
|
778
|
+
interface DocuSealOptions {
|
|
779
|
+
/** Override the DocuSeal API base URL (self-hosted deployments). */
|
|
780
|
+
baseUrl?: string;
|
|
781
|
+
/** Default request timeout in ms. */
|
|
782
|
+
timeoutMs?: number;
|
|
783
|
+
}
|
|
784
|
+
declare function docuseal(opts?: DocuSealOptions): ConnectorAdapter;
|
|
785
|
+
|
|
622
786
|
type RestCredentialPlacement = {
|
|
623
787
|
kind: 'bearer';
|
|
624
788
|
} | {
|
|
@@ -694,14 +858,18 @@ declare function declarativeRestConnector(spec: RestConnectorSpec): ConnectorAda
|
|
|
694
858
|
declare const twilioSmsConnector: ConnectorAdapter;
|
|
695
859
|
|
|
696
860
|
/**
|
|
697
|
-
* Stripe pack connector — single connector kind packing
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
* `stripe-customers`,
|
|
701
|
-
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
*
|
|
861
|
+
* Stripe pack connector — single connector kind packing customer +
|
|
862
|
+
* invoice + checkout + subscription management capabilities, validating
|
|
863
|
+
* the "connector pack" concept (one auth handshake, multiple related
|
|
864
|
+
* capabilities) without exploding the registry into `stripe-customers`,
|
|
865
|
+
* `stripe-checkout`, `stripe-invoices`, `stripe-subscriptions` n-tuples.
|
|
866
|
+
*
|
|
867
|
+
* find_customer(email) → read; CAS n/a
|
|
868
|
+
* list_subscriptions(customerId, status?) → read; CAS n/a
|
|
869
|
+
* create_invoice(customerId, items) → mutation; cas: 'native-idempotency'
|
|
870
|
+
* create_checkout_session(...) → mutation; cas: 'native-idempotency'
|
|
871
|
+
* cancel_subscription(subscriptionId, atPeriodEnd?) → mutation; cas: 'native-idempotency'
|
|
872
|
+
* create_billing_portal_session(customerId, returnUrl) → mutation; cas: 'native-idempotency'
|
|
705
873
|
*
|
|
706
874
|
* Auth: API key (Stripe restricted key). Operator pastes the key into
|
|
707
875
|
* the Connections UI. We never see their account password / OAuth flow;
|
|
@@ -805,4 +973,4 @@ declare const asanaConnector: ConnectorAdapter;
|
|
|
805
973
|
|
|
806
974
|
declare const salesforceConnector: ConnectorAdapter;
|
|
807
975
|
|
|
808
|
-
export { type AuthSpec as A,
|
|
976
|
+
export { stripePackConnector as $, type AuthSpec as A, asanaConnector as B, type ConnectorAdapter as C, type DataSourceMetadata as D, type EventHandlerResult as E, assertValidConnectorManifest as F, type GmailOptions as G, type HubSpotOptions as H, type InboundEvent as I, declarativeRestConnector as J, docuseal as K, githubConnector as L, type MicrosoftCalendarOptions as M, type NotionDatabaseOptions as N, gitlabConnector as O, gmail as P, googleCalendar as Q, type ResolvedDataSource as R, type SlackOptions as S, googleDrive as T, googleSheets as U, hubspot as V, microsoftCalendar as W, notionDatabase as X, salesforceConnector as Y, slack as Z, slackEventsConnector as _, type ConnectorCredentials as a, stripeWebhookReceiverConnector as a0, twilioSmsConnector as a1, validateConnectorManifest as a2, webhookConnector as a3, type CASStrategy as b, type Capability as c, type CapabilityClass as d, type CapabilityMutation as e, type CapabilityMutationResult as f, type CapabilityParameterSchema as g, type CapabilityRead as h, type CapabilityReadResult as i, type ConnectorInvocation as j, type ConnectorManifest as k, type ConnectorManifestValidationIssue as l, type ConnectorManifestValidationResult as m, type ConsistencyModel as n, CredentialsExpired as o, type DocuSealOptions as p, type GoogleCalendarOptions as q, type GoogleDriveOptions as r, type GoogleSheetsOptions as s, type RateLimitSpec as t, ResourceContention as u, type RestConnectorSpec as v, type RestCredentialPlacement as w, type RestOperationSpec as x, type RestRequestSpec as y, airtableConnector as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aB as ACTIVEPIECES_OVERRIDES, aC as ACTIVEPIECES_PUBLIC_CATALOG_URL, aD as ACTIVEPIECES_RUNTIME_SIGNATURE_HEADER, aE as ActivepiecesCatalogAuthField, aF as ActivepiecesCatalogEntry, aG as ActivepiecesExecutorInvocation, aH as ActivepiecesExecutorProviderOptions, aI as ActivepiecesHttpExecutorOptions, aJ as ActivepiecesPieceOverride, aK as ActivepiecesRuntimeRequest, U as ApiKeyAuthSpec, aL as ApprovalBackedPolicyEngine, aM as ApprovalBackedPolicyOptions, aN as CANONICAL_INTEGRATION_ACTIONS, aO as CanonicalIntegrationActionId, aP as CanonicalLaunchConnectorOptions, aQ as CatalogExecutorInvocation, aR as CatalogExecutorProviderOptions, aS as CompleteAuthRequest, ComposeIntegrationRegistryOptions, aT as ConnectionCredentialResolverOptions, aU as ConnectorAdapterProviderOptions, aV as ConsentSummary, V as ConsoleStep, W as CredentialFieldSpec, X as CredentialValidationInput, Y as CredentialValidationResult, Z as CustomAuthSpec, aW as DEFAULT_INTEGRATION_BRIDGE_ENV, aX as DefaultIntegrationActionGuard, aY as GatewayCatalogAction, aZ as GatewayCatalogEntry, a_ as GatewayCatalogProviderOptions, a$ as GatewayCatalogTrigger, b0 as GraphqlOperationSpec, _ as HealthcheckPlan, $ as HealthcheckSpec, a0 as HmacAuthSpec, b1 as HttpIntegrationProviderOptions, a1 as INTEGRATION_FAMILIES, b2 as ImportCatalogOptions, b3 as InMemoryConnectionStore, b4 as InMemoryIntegrationApprovalStore, b5 as InMemoryIntegrationAuditStore, b6 as InMemoryIntegrationEventStore, f as InMemoryIntegrationGrantStore, b7 as InMemoryIntegrationHealthcheckStore, b8 as InMemoryIntegrationIdempotencyStore, b9 as InMemoryIntegrationSecretStore, ba as InMemoryIntegrationWorkflowStore, bb as InferIntegrationRequirementsOptions, bc as InstalledIntegrationWorkflow, bd as IntegrationActionGuard, be as IntegrationActionPack, bf as IntegrationActionRequest, bg as IntegrationActionResult, bh as IntegrationActionRisk, bi as IntegrationActor, bj as IntegrationApprovalFilter, bk as IntegrationApprovalRecord, bl as IntegrationApprovalRequest, bm as IntegrationApprovalResolution, bn as IntegrationApprovalStatus, bo as IntegrationApprovalStore, bp as IntegrationAuditEvent, bq as IntegrationAuditEventType, br as IntegrationAuditFilter, bs as IntegrationAuditSink, bt as IntegrationAuditStore, a2 as IntegrationAuthMode, a3 as IntegrationAuthSpec, bu as IntegrationBridgePayload, bv as IntegrationBridgeToolBinding, bw as IntegrationCapability, g as IntegrationCapabilityBinding, bx as IntegrationCatalogFreshnessOptions, by as IntegrationCatalogFreshnessResult, IntegrationCatalogSource, I as IntegrationCatalogView, bz as IntegrationConnection, bA as IntegrationConnectionStore, bB as IntegrationConnector, bC as IntegrationConnectorAction, bD as IntegrationConnectorCategory, bE as IntegrationConnectorTrigger, bF as IntegrationCoveragePriority, bG as IntegrationCoverageSpec, bH as IntegrationDataClass, bI as IntegrationError, bJ as IntegrationErrorCode, bK as IntegrationEventStore, a4 as IntegrationFamilyId, a5 as IntegrationFamilySpec, h as IntegrationGrant, j as IntegrationGrantStore, bL as IntegrationGuardContext, bM as IntegrationHealthcheckCheck, bN as IntegrationHealthcheckResult, bO as IntegrationHealthcheckStatus, bP as IntegrationHealthcheckStore, bQ as IntegrationHub, bR as IntegrationHubOptions, bS as IntegrationIdempotencyRecord, bT as IntegrationIdempotencyStore, bU as IntegrationInvocationEnvelope, bV as IntegrationInvocationEnvelopeValidationOptions, a6 as IntegrationLifecycleSpec, k as IntegrationManifest, l as IntegrationManifestResolution, a7 as IntegrationPlannerHints, bW as IntegrationPolicyDecision, bX as IntegrationPolicyEffect, bY as IntegrationPolicyEngine, bZ as IntegrationPolicyRule, b_ as IntegrationProvider, b$ as IntegrationProviderKind, c0 as IntegrationRateLimitDecision, c1 as IntegrationRateLimiter, IntegrationRegistry, IntegrationRegistryConflict, IntegrationRegistryEntry, IntegrationRegistrySourceRef, IntegrationRegistrySummary, m as IntegrationRequirement, n as IntegrationRequirementMode, o as IntegrationRequirementResolution, q as IntegrationRequirementStatus, r as IntegrationRuntime, c2 as IntegrationRuntimeError, u as IntegrationRuntimeHub, v as IntegrationRuntimeOptions, w as IntegrationSandboxBundle, c3 as IntegrationSandboxHost, c4 as IntegrationSandboxHostHub, c5 as IntegrationSandboxHostOptions, c6 as IntegrationSecretStore, a8 as IntegrationSetupSpec, a9 as IntegrationSpec, aa as IntegrationSpecStatus, ab as IntegrationSpecValidationIssue, ac as IntegrationSpecValidationResult, IntegrationSupportTier, a as IntegrationToolDefinition, b as IntegrationToolSearchFilters, c as IntegrationToolSearchResult, c7 as IntegrationTriggerEvent, c8 as IntegrationTriggerSubscription, c9 as IntegrationUserAction, ca as IntegrationWebhookReceiverResult, cb as IntegrationWorkflowDefinition, cc as IntegrationWorkflowRuntime, cd as IntegrationWorkflowRuntimeHub, ce as IntegrationWorkflowRuntimeOptions, cf as IntegrationWorkflowStore, cg as InvokeWithCapabilityRequest, ch as IssueCapabilityRequest, ci as IssuedIntegrationCapability, cj as ManifestValidationIssue, ck as ManifestValidationResult, cl as McpCatalog, cm as McpCatalogTool, M as McpToolDefinition, cn as MissingRequirementExplanation, ad as NoneAuthSpec, co as NormalizedIntegrationError, cp as NormalizedIntegrationResult, ae as NormalizedPermission, af as OAuth2AuthSpec, cq as OpenApiDocument, cr as OpenApiOperation, cs as PROVIDER_PASSTHROUGH_ACTION, ag as PermissionDescriptor, ct as PlatformIntegrationPolicyPresetOptions, ah as PostSetupCheck, cu as ProviderHttpRequestInput, cv as ProviderPassthroughPolicy, ai as Quirk, cw as RenderConsentOptions, aj as RenderSpecOptions, ak as RenderedConsoleStep, al as ScopeDescriptor, cx as SecretRef, cy as StartAuthRequest, cz as StartAuthResult, cA as StartedTangleCatalogRuntimeNodeServer, cB as StaticIntegrationPolicyEngine, cC as StaticIntegrationPolicyOptions, cD as StoredIntegrationEvent, T as TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER, cE as TANGLE_INTEGRATIONS_CATALOG_PROVIDER_ID, cF as TANGLE_INTEGRATIONS_CATALOG_SOURCE, y as TangleCatalogAuthResolverOptions, cG as TangleCatalogExecutorInvocation, cH as TangleCatalogExecutorProviderOptions, z as TangleCatalogHttpAuthResolverOptions, A as TangleCatalogHttpAuthResolverRequest, cI as TangleCatalogHttpExecutorInvocation, cJ as TangleCatalogHttpExecutorOptions, B as TangleCatalogInstalledPackageExecutorOptions, cK as TangleCatalogRuntimeActionRequest, C as TangleCatalogRuntimeHandlerOptions, D as TangleCatalogRuntimeHttpRequest, E as TangleCatalogRuntimeHttpResponse, F as TangleCatalogRuntimeInvocation, G as TangleCatalogRuntimeModuleAction, cL as TangleCatalogRuntimeNodeServerOptions, H as TangleCatalogRuntimePackageCoverageOptions, J as TangleCatalogRuntimePackageCoverageRow, cM as TangleCatalogRuntimePackageManifest, cN as TangleCatalogRuntimePackageManifestOptions, cO as TangleCatalogRuntimePiece, cP as TangleCatalogRuntimeRequest, cQ as TangleCatalogTriggerInvocation, cR as TangleIntegrationCatalogEntry, cS as TangleIntegrationCatalogFreshnessOptions, cT as TangleIntegrationCatalogFreshnessResult, cU as TangleIntegrationContract, cV as TangleIntegrationContractStatus, cW as TangleIntegrationImplementationKind, cX as TangleIntegrationInvokeInput, cY as TangleIntegrationInvokeResult, cZ as TangleIntegrationsClient, c_ as TangleIntegrationsClientOptions, c$ as adapterManifestsToConnectors, d0 as assertValidIntegrationManifest, am as assertValidIntegrationSpec, d1 as auditIntegrationCatalogFreshness, K as auditTangleCatalogRuntimePackages, d2 as auditTangleIntegrationCatalogFreshness, d3 as buildActivepiecesConnectors, d4 as buildActivepiecesRuntimeRequest, d5 as buildApprovalRequest, d6 as buildCanonicalLaunchConnectors, buildDefaultIntegrationRegistry, an as buildHealthcheckPlan, d7 as buildIntegrationBridgeEnvironment, d8 as buildIntegrationBridgePayload, d as buildIntegrationCatalogView, d9 as buildIntegrationCoverageConnectors, da as buildIntegrationInvocationEnvelope, e as buildIntegrationToolCatalog, db as buildTangleCatalogRuntimePackageManifest, dc as buildTangleCatalogRuntimeRequest, dd as buildTangleIntegrationCatalogConnectors, de as calendarExercisePlannerManifest, df as canonicalActionConnectorId, canonicalConnectorId, composeIntegrationRegistry, ao as consoleStepsToText, dg as createActivepiecesExecutorProvider, dh as createActivepiecesHttpExecutor, di as createApprovalBackedPolicyEngine, dj as createAuditingActionGuard, dk as createCatalogExecutorProvider, dl as createConnectionCredentialResolver, dm as createConnectorAdapterCatalogSource, dn as createConnectorAdapterProvider, dp as createCredentialBackedAdapterProvider, dq as createDefaultIntegrationActionGuard, dr as createDefaultIntegrationPolicyEngine, ds as createGatewayCatalogProvider, dt as createHttpIntegrationProvider, du as createIntegrationAuditEvent, x as createIntegrationRuntime, dv as createIntegrationWorkflowRuntime, dw as createMockIntegrationProvider, dx as createPlatformIntegrationPolicyPreset, L as createTangleCatalogCredentialAuthResolver, dy as createTangleCatalogExecutorProvider, N as createTangleCatalogHttpAuthResolver, dz as createTangleCatalogHttpExecutor, O as createTangleCatalogInstalledPackageExecutor, P as createTangleCatalogRuntimeHandler, dA as createTangleCatalogRuntimeNodeRequestListener, dB as createTangleIntegrationsClient, dC as decodeIntegrationBridgePayload, dD as dispatchIntegrationInvocation, dE as encodeIntegrationBridgePayload, dF as explainMissingRequirements, dG as extractActivepiecesPublicPieceCount, dH as extractExternalCatalogPublicCount, dI as getActivepiecesOverride, ap as getIntegrationFamily, aq as getIntegrationSpec, dJ as healthcheckRequest, dK as importGraphqlConnector, dL as importMcpConnector, dM as importOpenApiConnector, dN as inferIntegrationManifestFromTools, inferIntegrationSupportTier, dO as integrationCoverageChecklistMarkdown, ar as integrationSpecToConnector, i as integrationToolName, dP as invocationRequestFromEnvelope, dQ as listActivepiecesCatalogEntries, as as listExecutableIntegrationSpecs, dR as listIntegrationCoverageSpecs, at as listIntegrationSpecs, dS as listTangleIntegrationCatalogEntries, dT as listTangleIntegrationCatalogRuntimePackages, dU as listTangleIntegrationContracts, dV as manifestToConnector, dW as normalizeGatewayCatalog, dX as normalizeIntegrationError, dY as normalizeIntegrationResult, dZ as parseIntegrationBridgeEnvironment, p as parseIntegrationToolName, d_ as receiveIntegrationWebhook, d$ as redactApprovalRequest, e0 as redactCapability, e1 as redactIntegrationBridgePayload, e2 as redactInvocationEnvelope, au as renderAgentToolDescription, e3 as renderApprovalCopy, e4 as renderConsentSummary, av as renderConsoleSteps, aw as renderRunbookMarkdown, e5 as renderTangleCatalogRuntimePnpmAddCommand, e6 as resolveConnectionCredentials, e7 as resolveIntegrationApproval, e8 as revokeConnection, e9 as runIntegrationHealthcheck, ea as runIntegrationHealthchecks, eb as sanitizeAuditConnection, ec as sanitizeConnection, s as searchIntegrationTools, ed as signActivepiecesRuntimeRequest, ee as signCapability, Q as signTangleCatalogRuntimeRequest, ax as specAuthToConnectorAuth, ef as startTangleCatalogRuntimeNodeServer, eg as statusForCode, eh as storedEventToTriggerEvent, summarizeIntegrationRegistry, R as tangleCatalogAuthValue, t as toMcpTools, ay as validateCredentialFormat, az as validateCredentialSet, ei as validateIntegrationInvocationEnvelope, ej as validateIntegrationManifest, aA as validateIntegrationSpec, ek as validateProviderPassthroughRequest, el as verifyActivepiecesRuntimeSignature, em as verifyCapabilityToken, S as verifyTangleCatalogRuntimeSignature } from './registry.js';
|
|
2
|
-
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, C as ConnectorAdapter, a as ConnectorCredentials, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, E as EventHandlerResult, G as GoogleCalendarOptions,
|
|
1
|
+
export { aB as ACTIVEPIECES_OVERRIDES, aC as ACTIVEPIECES_PUBLIC_CATALOG_URL, aD as ACTIVEPIECES_RUNTIME_SIGNATURE_HEADER, aE as ActivepiecesCatalogAuthField, aF as ActivepiecesCatalogEntry, aG as ActivepiecesExecutorInvocation, aH as ActivepiecesExecutorProviderOptions, aI as ActivepiecesHttpExecutorOptions, aJ as ActivepiecesPieceOverride, aK as ActivepiecesRuntimeRequest, U as ApiKeyAuthSpec, aL as ApprovalBackedPolicyEngine, aM as ApprovalBackedPolicyOptions, aN as CANONICAL_INTEGRATION_ACTIONS, aO as CanonicalIntegrationActionId, aP as CanonicalLaunchConnectorOptions, aQ as CatalogExecutorInvocation, aR as CatalogExecutorProviderOptions, aS as CompleteAuthRequest, ComposeIntegrationRegistryOptions, aT as ConnectionCredentialResolverOptions, aU as ConnectorAdapterProviderOptions, aV as ConsentSummary, V as ConsoleStep, W as CredentialFieldSpec, X as CredentialValidationInput, Y as CredentialValidationResult, Z as CustomAuthSpec, aW as DEFAULT_INTEGRATION_BRIDGE_ENV, aX as DefaultIntegrationActionGuard, aY as DiscoverWorkspaceCapabilitiesInput, aZ as GatewayCatalogAction, a_ as GatewayCatalogEntry, a$ as GatewayCatalogProviderOptions, b0 as GatewayCatalogTrigger, b1 as GraphqlOperationSpec, _ as HealthcheckPlan, $ as HealthcheckSpec, a0 as HmacAuthSpec, b2 as HttpIntegrationProviderOptions, a1 as INTEGRATION_FAMILIES, b3 as ImportCatalogOptions, b4 as InMemoryConnectionStore, b5 as InMemoryIntegrationApprovalStore, b6 as InMemoryIntegrationAuditStore, b7 as InMemoryIntegrationEventStore, f as InMemoryIntegrationGrantStore, b8 as InMemoryIntegrationHealthcheckStore, b9 as InMemoryIntegrationIdempotencyStore, ba as InMemoryIntegrationSecretStore, bb as InMemoryIntegrationWorkflowStore, bc as InferIntegrationRequirementsOptions, bd as InstalledIntegrationWorkflow, be as IntegrationActionGuard, bf as IntegrationActionPack, bg as IntegrationActionRequest, bh as IntegrationActionResult, bi as IntegrationActionRisk, bj as IntegrationActor, bk as IntegrationApprovalFilter, bl as IntegrationApprovalRecord, bm as IntegrationApprovalRequest, bn as IntegrationApprovalResolution, bo as IntegrationApprovalStatus, bp as IntegrationApprovalStore, bq as IntegrationAuditEvent, br as IntegrationAuditEventType, bs as IntegrationAuditFilter, bt as IntegrationAuditSink, bu as IntegrationAuditStore, a2 as IntegrationAuthMode, a3 as IntegrationAuthSpec, bv as IntegrationBridgePayload, bw as IntegrationBridgeToolBinding, bx as IntegrationCapability, g as IntegrationCapabilityBinding, by as IntegrationCatalogFreshnessOptions, bz as IntegrationCatalogFreshnessResult, IntegrationCatalogSource, I as IntegrationCatalogView, bA as IntegrationConnection, bB as IntegrationConnectionStore, bC as IntegrationConnector, bD as IntegrationConnectorAction, bE as IntegrationConnectorCategory, bF as IntegrationConnectorTrigger, bG as IntegrationCoveragePriority, bH as IntegrationCoverageSpec, bI as IntegrationDataClass, bJ as IntegrationError, bK as IntegrationErrorCode, bL as IntegrationEventStore, a4 as IntegrationFamilyId, a5 as IntegrationFamilySpec, h as IntegrationGrant, j as IntegrationGrantStore, bM as IntegrationGuardContext, bN as IntegrationHealthcheckCheck, bO as IntegrationHealthcheckResult, bP as IntegrationHealthcheckStatus, bQ as IntegrationHealthcheckStore, bR as IntegrationHub, bS as IntegrationHubOptions, bT as IntegrationIdempotencyRecord, bU as IntegrationIdempotencyStore, bV as IntegrationInvocationEnvelope, bW as IntegrationInvocationEnvelopeValidationOptions, a6 as IntegrationLifecycleSpec, k as IntegrationManifest, l as IntegrationManifestResolution, a7 as IntegrationPlannerHints, bX as IntegrationPolicyDecision, bY as IntegrationPolicyEffect, bZ as IntegrationPolicyEngine, b_ as IntegrationPolicyRule, b$ as IntegrationProvider, c0 as IntegrationProviderKind, c1 as IntegrationRateLimitDecision, c2 as IntegrationRateLimiter, IntegrationRegistry, IntegrationRegistryConflict, IntegrationRegistryEntry, IntegrationRegistrySourceRef, IntegrationRegistrySummary, m as IntegrationRequirement, n as IntegrationRequirementMode, o as IntegrationRequirementResolution, q as IntegrationRequirementStatus, r as IntegrationRuntime, c3 as IntegrationRuntimeError, u as IntegrationRuntimeHub, v as IntegrationRuntimeOptions, w as IntegrationSandboxBundle, c4 as IntegrationSandboxHost, c5 as IntegrationSandboxHostHub, c6 as IntegrationSandboxHostOptions, c7 as IntegrationSecretStore, a8 as IntegrationSetupSpec, a9 as IntegrationSpec, aa as IntegrationSpecStatus, ab as IntegrationSpecValidationIssue, ac as IntegrationSpecValidationResult, IntegrationSupportTier, a as IntegrationToolDefinition, b as IntegrationToolSearchFilters, c as IntegrationToolSearchResult, c8 as IntegrationTriggerEvent, c9 as IntegrationTriggerSubscription, ca as IntegrationUserAction, cb as IntegrationWebhookReceiverResult, cc as IntegrationWorkflowDefinition, cd as IntegrationWorkflowRuntime, ce as IntegrationWorkflowRuntimeHub, cf as IntegrationWorkflowRuntimeOptions, cg as IntegrationWorkflowStore, ch as InvokeWithCapabilityRequest, ci as IssueCapabilityRequest, cj as IssuedIntegrationCapability, ck as ManifestValidationIssue, cl as ManifestValidationResult, cm as McpCatalog, cn as McpCatalogTool, M as McpToolDefinition, co as MissingRequirementExplanation, ad as NoneAuthSpec, cp as NormalizedIntegrationError, cq as NormalizedIntegrationResult, ae as NormalizedPermission, af as OAuth2AuthSpec, cr as OpenApiDocument, cs as OpenApiOperation, ct as PROVIDER_PASSTHROUGH_ACTION, ag as PermissionDescriptor, cu as PlatformIntegrationPolicyPresetOptions, ah as PostSetupCheck, cv as ProviderHttpRequestInput, cw as ProviderPassthroughPolicy, ai as Quirk, cx as RenderConsentOptions, aj as RenderSpecOptions, ak as RenderedConsoleStep, al as ScopeDescriptor, cy as SecretRef, cz as StartAuthRequest, cA as StartAuthResult, cB as StartedTangleCatalogRuntimeNodeServer, cC as StaticIntegrationPolicyEngine, cD as StaticIntegrationPolicyOptions, cE as StoredIntegrationEvent, T as TANGLE_CATALOG_RUNTIME_SIGNATURE_HEADER, cF as TANGLE_INTEGRATIONS_CATALOG_PROVIDER_ID, cG as TANGLE_INTEGRATIONS_CATALOG_SOURCE, y as TangleCatalogAuthResolverOptions, cH as TangleCatalogExecutorInvocation, cI as TangleCatalogExecutorProviderOptions, z as TangleCatalogHttpAuthResolverOptions, A as TangleCatalogHttpAuthResolverRequest, cJ as TangleCatalogHttpExecutorInvocation, cK as TangleCatalogHttpExecutorOptions, B as TangleCatalogInstalledPackageExecutorOptions, cL as TangleCatalogRuntimeActionRequest, C as TangleCatalogRuntimeHandlerOptions, D as TangleCatalogRuntimeHttpRequest, E as TangleCatalogRuntimeHttpResponse, F as TangleCatalogRuntimeInvocation, G as TangleCatalogRuntimeModuleAction, cM as TangleCatalogRuntimeNodeServerOptions, H as TangleCatalogRuntimePackageCoverageOptions, J as TangleCatalogRuntimePackageCoverageRow, cN as TangleCatalogRuntimePackageManifest, cO as TangleCatalogRuntimePackageManifestOptions, cP as TangleCatalogRuntimePiece, cQ as TangleCatalogRuntimeRequest, cR as TangleCatalogTriggerInvocation, cS as TangleIntegrationCatalogEntry, cT as TangleIntegrationCatalogFreshnessOptions, cU as TangleIntegrationCatalogFreshnessResult, cV as TangleIntegrationContract, cW as TangleIntegrationContractStatus, cX as TangleIntegrationImplementationKind, cY as TangleIntegrationInvokeInput, cZ as TangleIntegrationInvokeResult, c_ as TangleIntegrationsClient, c$ as TangleIntegrationsClientOptions, d0 as WorkspaceCapability, d1 as WorkspaceCapabilityDiscovery, d2 as WorkspaceToolSchema, d3 as WorkspaceTrigger, d4 as adapterManifestsToConnectors, d5 as assertValidIntegrationManifest, am as assertValidIntegrationSpec, d6 as auditIntegrationCatalogFreshness, K as auditTangleCatalogRuntimePackages, d7 as auditTangleIntegrationCatalogFreshness, d8 as buildActivepiecesConnectors, d9 as buildActivepiecesRuntimeRequest, da as buildApprovalRequest, db as buildCanonicalLaunchConnectors, buildDefaultIntegrationRegistry, an as buildHealthcheckPlan, dc as buildIntegrationBridgeEnvironment, dd as buildIntegrationBridgePayload, d as buildIntegrationCatalogView, de as buildIntegrationCoverageConnectors, df as buildIntegrationInvocationEnvelope, e as buildIntegrationToolCatalog, dg as buildTangleCatalogRuntimePackageManifest, dh as buildTangleCatalogRuntimeRequest, di as buildTangleIntegrationCatalogConnectors, dj as calendarExercisePlannerManifest, dk as canonicalActionConnectorId, canonicalConnectorId, composeIntegrationRegistry, ao as consoleStepsToText, dl as createActivepiecesExecutorProvider, dm as createActivepiecesHttpExecutor, dn as createApprovalBackedPolicyEngine, dp as createAuditingActionGuard, dq as createCatalogExecutorProvider, dr as createConnectionCredentialResolver, ds as createConnectorAdapterCatalogSource, dt as createConnectorAdapterProvider, du as createCredentialBackedAdapterProvider, dv as createDefaultIntegrationActionGuard, dw as createDefaultIntegrationPolicyEngine, dx as createGatewayCatalogProvider, dy as createHttpIntegrationProvider, dz as createIntegrationAuditEvent, x as createIntegrationRuntime, dA as createIntegrationWorkflowRuntime, dB as createMockIntegrationProvider, dC as createPlatformIntegrationPolicyPreset, L as createTangleCatalogCredentialAuthResolver, dD as createTangleCatalogExecutorProvider, N as createTangleCatalogHttpAuthResolver, dE as createTangleCatalogHttpExecutor, O as createTangleCatalogInstalledPackageExecutor, P as createTangleCatalogRuntimeHandler, dF as createTangleCatalogRuntimeNodeRequestListener, dG as createTangleIntegrationsClient, dH as decodeIntegrationBridgePayload, dI as discoverWorkspaceCapabilities, dJ as dispatchIntegrationInvocation, dK as encodeIntegrationBridgePayload, dL as explainMissingRequirements, dM as extractActivepiecesPublicPieceCount, dN as extractExternalCatalogPublicCount, dO as getActivepiecesOverride, ap as getIntegrationFamily, aq as getIntegrationSpec, dP as healthcheckRequest, dQ as importGraphqlConnector, dR as importMcpConnector, dS as importOpenApiConnector, dT as inferIntegrationManifestFromTools, inferIntegrationSupportTier, dU as integrationCoverageChecklistMarkdown, ar as integrationSpecToConnector, i as integrationToolName, dV as invocationRequestFromEnvelope, dW as listActivepiecesCatalogEntries, as as listExecutableIntegrationSpecs, dX as listIntegrationCoverageSpecs, at as listIntegrationSpecs, dY as listTangleIntegrationCatalogEntries, dZ as listTangleIntegrationCatalogRuntimePackages, d_ as listTangleIntegrationContracts, d$ as manifestToConnector, e0 as normalizeGatewayCatalog, e1 as normalizeIntegrationError, e2 as normalizeIntegrationResult, e3 as parseIntegrationBridgeEnvironment, p as parseIntegrationToolName, e4 as receiveIntegrationWebhook, e5 as redactApprovalRequest, e6 as redactCapability, e7 as redactIntegrationBridgePayload, e8 as redactInvocationEnvelope, au as renderAgentToolDescription, e9 as renderApprovalCopy, ea as renderConsentSummary, av as renderConsoleSteps, aw as renderRunbookMarkdown, eb as renderTangleCatalogRuntimePnpmAddCommand, ec as resolveConnectionCredentials, ed as resolveIntegrationApproval, ee as revokeConnection, ef as runIntegrationHealthcheck, eg as runIntegrationHealthchecks, eh as sanitizeAuditConnection, ei as sanitizeConnection, s as searchIntegrationTools, ej as signActivepiecesRuntimeRequest, ek as signCapability, Q as signTangleCatalogRuntimeRequest, ax as specAuthToConnectorAuth, el as startTangleCatalogRuntimeNodeServer, em as statusForCode, en as storedEventToTriggerEvent, summarizeIntegrationRegistry, R as tangleCatalogAuthValue, t as toMcpTools, ay as validateCredentialFormat, az as validateCredentialSet, eo as validateIntegrationInvocationEnvelope, ep as validateIntegrationManifest, aA as validateIntegrationSpec, eq as validateProviderPassthroughRequest, er as verifyActivepiecesRuntimeSignature, es as verifyCapabilityToken, S as verifyTangleCatalogRuntimeSignature } from './registry.js';
|
|
2
|
+
export { A as AuthSpec, b as CASStrategy, c as Capability, d as CapabilityClass, e as CapabilityMutation, f as CapabilityMutationResult, g as CapabilityParameterSchema, h as CapabilityRead, i as CapabilityReadResult, C as ConnectorAdapter, a as ConnectorCredentials, j as ConnectorInvocation, k as ConnectorManifest, l as ConnectorManifestValidationIssue, m as ConnectorManifestValidationResult, n as ConsistencyModel, o as CredentialsExpired, D as DataSourceMetadata, p as DocuSealOptions, E as EventHandlerResult, G as GmailOptions, q as GoogleCalendarOptions, r as GoogleDriveOptions, s as GoogleSheetsOptions, H as HubSpotOptions, I as InboundEvent, M as MicrosoftCalendarOptions, N as NotionDatabaseOptions, t as RateLimitSpec, R as ResolvedDataSource, u as ResourceContention, v as RestConnectorSpec, w as RestCredentialPlacement, x as RestOperationSpec, y as RestRequestSpec, S as SlackOptions, z as airtableConnector, B as asanaConnector, F as assertValidConnectorManifest, J as declarativeRestConnector, K as docuseal, L as githubConnector, O as gitlabConnector, P as gmail, Q as googleCalendar, T as googleDrive, U as googleSheets, V as hubspot, W as microsoftCalendar, X as notionDatabase, Y as salesforceConnector, Z as slack, _ as slackEventsConnector, $ as stripePackConnector, a0 as stripeWebhookReceiverConnector, a1 as twilioSmsConnector, a2 as validateConnectorManifest, a3 as webhookConnector } from './index-D4D4CEKX.js';
|
|
3
3
|
export { DEFAULT_SIGNATURE_TOLERANCE_SECONDS, ExchangeCodeInput, GenericHmacVerifyOptions, InMemoryOAuthFlowStore, OAuthFlowStore, OAuthTokens, ParsedStripeSignatureHeader, PendingOAuthFlow, RefreshInput, SlackVerifyOptions, StartOAuthInput, StartOAuthOutput, StripeVerifyOptions, TwilioVerifyOptions, _resetPendingFlowsForTests, consumePendingFlow, exchangeAuthorizationCode, firstHeader, parseStripeSignatureHeader, refreshAccessToken, startOAuthFlow, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature } from './connectors/index.js';
|
|
4
4
|
import 'node:http';
|
package/dist/index.js
CHANGED
|
@@ -76,6 +76,7 @@ import {
|
|
|
76
76
|
createTangleCatalogRuntimeNodeRequestListener,
|
|
77
77
|
createTangleIntegrationsClient,
|
|
78
78
|
decodeIntegrationBridgePayload,
|
|
79
|
+
discoverWorkspaceCapabilities,
|
|
79
80
|
dispatchIntegrationInvocation,
|
|
80
81
|
encodeIntegrationBridgePayload,
|
|
81
82
|
explainMissingRequirements,
|
|
@@ -131,7 +132,7 @@ import {
|
|
|
131
132
|
verifyActivepiecesRuntimeSignature,
|
|
132
133
|
verifyCapabilityToken,
|
|
133
134
|
verifyTangleCatalogRuntimeSignature
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-ALCIWTIR.js";
|
|
135
136
|
import {
|
|
136
137
|
INTEGRATION_FAMILIES,
|
|
137
138
|
assertValidIntegrationSpec,
|
|
@@ -156,7 +157,6 @@ import {
|
|
|
156
157
|
import "./chunk-376UBTNB.js";
|
|
157
158
|
import {
|
|
158
159
|
CredentialsExpired,
|
|
159
|
-
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
160
160
|
InMemoryOAuthFlowStore,
|
|
161
161
|
ResourceContention,
|
|
162
162
|
_resetPendingFlowsForTests,
|
|
@@ -165,16 +165,17 @@ import {
|
|
|
165
165
|
assertValidConnectorManifest,
|
|
166
166
|
consumePendingFlow,
|
|
167
167
|
declarativeRestConnector,
|
|
168
|
+
docuseal,
|
|
168
169
|
exchangeAuthorizationCode,
|
|
169
|
-
firstHeader,
|
|
170
170
|
githubConnector,
|
|
171
171
|
gitlabConnector,
|
|
172
|
+
gmail,
|
|
172
173
|
googleCalendar,
|
|
174
|
+
googleDrive,
|
|
173
175
|
googleSheets,
|
|
174
176
|
hubspot,
|
|
175
177
|
microsoftCalendar,
|
|
176
178
|
notionDatabase,
|
|
177
|
-
parseStripeSignatureHeader,
|
|
178
179
|
refreshAccessToken,
|
|
179
180
|
salesforceConnector,
|
|
180
181
|
slack,
|
|
@@ -184,12 +185,17 @@ import {
|
|
|
184
185
|
stripeWebhookReceiverConnector,
|
|
185
186
|
twilioSmsConnector,
|
|
186
187
|
validateConnectorManifest,
|
|
188
|
+
webhookConnector
|
|
189
|
+
} from "./chunk-GA4VTE3U.js";
|
|
190
|
+
import {
|
|
191
|
+
DEFAULT_SIGNATURE_TOLERANCE_SECONDS,
|
|
192
|
+
firstHeader,
|
|
193
|
+
parseStripeSignatureHeader,
|
|
187
194
|
verifyHmacSignature,
|
|
188
195
|
verifySlackSignature,
|
|
189
196
|
verifyStripeSignature,
|
|
190
|
-
verifyTwilioSignature
|
|
191
|
-
|
|
192
|
-
} from "./chunk-WC63AI4Q.js";
|
|
197
|
+
verifyTwilioSignature
|
|
198
|
+
} from "./chunk-2TW2QKGZ.js";
|
|
193
199
|
export {
|
|
194
200
|
ACTIVEPIECES_OVERRIDES,
|
|
195
201
|
ACTIVEPIECES_PUBLIC_CATALOG_URL,
|
|
@@ -283,7 +289,9 @@ export {
|
|
|
283
289
|
createTangleIntegrationsClient,
|
|
284
290
|
declarativeRestConnector,
|
|
285
291
|
decodeIntegrationBridgePayload,
|
|
292
|
+
discoverWorkspaceCapabilities,
|
|
286
293
|
dispatchIntegrationInvocation,
|
|
294
|
+
docuseal,
|
|
287
295
|
encodeIntegrationBridgePayload,
|
|
288
296
|
exchangeAuthorizationCode,
|
|
289
297
|
explainMissingRequirements,
|
|
@@ -295,7 +303,9 @@ export {
|
|
|
295
303
|
getIntegrationSpec,
|
|
296
304
|
githubConnector,
|
|
297
305
|
gitlabConnector,
|
|
306
|
+
gmail,
|
|
298
307
|
googleCalendar,
|
|
308
|
+
googleDrive,
|
|
299
309
|
googleSheets,
|
|
300
310
|
healthcheckRequest,
|
|
301
311
|
hubspot,
|