@tangle-network/agent-integrations 0.60.1 → 0.61.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +1 -0
  2. package/data/bundled-adapter-manifests.json +1 -1
  3. package/dist/{adapters-CqJ5RFh6.js → adapters-Dp5h7mF-.js} +3960 -107
  4. package/dist/{adapters-CqJ5RFh6.js.map → adapters-Dp5h7mF-.js.map} +1 -1
  5. package/dist/{bundled-manifest-data-DUWA4K9P.js → bundled-manifest-data-D8W3xNyQ.js} +5701 -1
  6. package/dist/{bundled-manifest-data-DUWA4K9P.js.map → bundled-manifest-data-D8W3xNyQ.js.map} +1 -1
  7. package/dist/connectors/adapters/index.d.ts +2 -2
  8. package/dist/connectors/adapters/index.js +2 -2
  9. package/dist/connectors/index.d.ts +3 -3
  10. package/dist/connectors/index.js +3 -3
  11. package/dist/{consumer-CcTc6QRQ.d.ts → consumer-DYpMLeNG.d.ts} +2 -2
  12. package/dist/{consumer-CcTc6QRQ.d.ts.map → consumer-DYpMLeNG.d.ts.map} +1 -1
  13. package/dist/consumer.d.ts +1 -1
  14. package/dist/consumer.js +2 -1
  15. package/dist/consumer.js.map +1 -1
  16. package/dist/coverage-catalog-DlfNsiGZ.d.ts.map +1 -1
  17. package/dist/coverage-catalog.js +74 -0
  18. package/dist/coverage-catalog.js.map +1 -1
  19. package/dist/{index-ClTbIO8u.d.ts → index-BXhHnxfA.d.ts} +155 -6
  20. package/dist/index-BXhHnxfA.d.ts.map +1 -0
  21. package/dist/{index-CgeaeuJe.d.ts → index-Bb---RDI.d.ts} +2 -2
  22. package/dist/{index-CgeaeuJe.d.ts.map → index-Bb---RDI.d.ts.map} +1 -1
  23. package/dist/index.d.ts +4 -4
  24. package/dist/index.js +5 -5
  25. package/dist/internal/bundled-manifest-runtime.js +1 -1
  26. package/dist/mcp.d.ts +1 -1
  27. package/dist/mcp.d.ts.map +1 -1
  28. package/dist/mcp.js +3 -2
  29. package/dist/mcp.js.map +1 -1
  30. package/dist/registry.js +1 -1
  31. package/dist/runtime.d.ts +1 -1
  32. package/dist/sandbox.d.ts +1 -1
  33. package/dist/{specs-CFGt95KY.js → specs-ElJzHwc7.js} +2 -2
  34. package/dist/{specs-CFGt95KY.js.map → specs-ElJzHwc7.js.map} +1 -1
  35. package/dist/specs.js +1 -1
  36. package/dist/{src-yZCgbWPm.js → src-91m6v5vV.js} +7 -5
  37. package/dist/src-91m6v5vV.js.map +1 -0
  38. package/docs/amazon-ads.md +23 -0
  39. package/docs/linkedin-ads.md +25 -0
  40. package/docs/meta-ads.md +17 -0
  41. package/docs/microsoft-ads.md +21 -0
  42. package/docs/paid-advertising.md +26 -0
  43. package/docs/pinterest-ads.md +18 -0
  44. package/docs/reddit-ads.md +25 -0
  45. package/docs/snapchat-ads.md +18 -0
  46. package/docs/tiktok-ads.md +25 -0
  47. package/docs/x-ads.md +29 -0
  48. package/package.json +1 -1
  49. package/dist/index-ClTbIO8u.d.ts.map +0 -1
  50. package/dist/src-yZCgbWPm.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { $ as uscreenConnector, $a as openaiConnector, $c as harvestConnector, $d as buttondownConnector, $i as campaignMonitorConnector, $l as codaConnector, $n as mailerooConnector, $o as zohoBooksConnector, $r as mailercheckConnector, $s as parquetFilesConnector, $t as postizConnector, $u as opsgenieConnector, A as bettercontactConnector, Aa as altTextAiConnector, Ac as microsoftCalendar, Ad as elevenlabsConnector, Ai as copyAiConnector, Al as flowluConnector, An as instasentConnector, Ao as digitalOceanConnector, Ar as joggAiConnector, As as sageIntacctConnector, At as sendinblueConnector, Au as amazonCloudWatchConnector, B as woocommerceConnector, Ba as airOpsConnector, Bc as kafkaConnector, Bd as contiguityConnector, Bi as clockifyConnector, Bl as dialpadConnector, Bn as gptzeroDetectAiConnector, Bo as smartleadConnector, Br as hashiCorpVaultConnector, Bs as rssConnector, Bt as retableConnector, Bu as videoaskConnector, C as serperConnector, Ca as apitableConnector, Cc as microsoftPowerBiConnector, Cd as genderApiConnector, Ci as descriptConnector, Cl as googleApiError, Cn as nocodbConnector, Co as createMySqlConnector, Cr as koFiConnector, Cs as todoistConnector, Ct as simplybookmeConnector, Cu as auth0Connector, D as snovIoConnector, Da as amazonTextractConnector, Dc as microsoftExcel365Connector, Dd as featheryConnector, Di as customgptConnector, Dl as freshsalesConnector, Dn as loopsConnector, Do as googleBigqueryConnector, Dr as kimaiConnector, Ds as stripePackConnector, Dt as serviceNowConnector, Du as amazonSnsConnector, E as wizaConnector, Ea as apitemplateIoConnector, Ec as microsoftGraph, Ed as fellowConnector, Ei as deepseekConnector, El as frontConnector, En as mailchainConnector, Eo as hightouchConnector, Er as kissflowConnector, Es as tallyConnector, Et as signrequestConnector, Eu as amazonSqsConnector, F as zeplinConnector, Fa as aipriseConnector, Fc as linkedinConnector, Fd as digitalPilotConnector, Fi as cometapiConnector, Fl as fireberryConnector, Fn as humeAiConnector, Fo as TELEGRAM_FILE_DOWNLOAD_ROOT, Fr as instantlyAiConnector, Fs as savvycalConnector, Ft as sardisConnector, Fu as adobeSignConnector, G as webscrapingAiConnector, Ga as bamboohrConnector, Gc as ironcladConnector, Gd as claudeConnector, Gi as chatbaseConnector, Gl as circleConnector, Gn as missiveConnector, Go as lemlistConnector, Gr as greenptConnector, Gs as postgresConnector, Gt as raiaAiConnector, Gu as sendpulseConnector, H as wonderchatConnector, Ha as activecampaignConnector, Hc as justcallConnector, Hd as codyConnector, Hi as chatnodeConnector, Hl as docuseal, Hn as glideConnector, Ho as outreachConnector, Hr as hastewireConnector, Hs as rampConnector, Ht as reoonVerifierConnector, Hu as tenzoConnector, I as youcanbookmeConnector, Ia as acumbamailConnector, Ic as linearConnector, Id as detectingAiConnector, Ii as cohereConnector, Il as fathomConnector, In as hedyConnector, Io as telegramConnector, Ir as huggingFaceConnector, Is as saleorConnector, It as saasticConnector, Iu as zuoraConnector, J as vtigerConnector, Ja as weaviateConnector, Jc as instagramBusinessConnector, Jd as chaindeskConnector, Ji as cannyConnector, Jl as recurlyConnector, Jn as mindeeConnector, Jo as brazeConnector, Jr as ghostcmsConnector, Js as createRedisConnector, Jt as pushoverConnector, Ju as reddit, K as whatConvertsConnector, Ka as qdrantConnector, Kc as invoiceninjaConnector, Kd as chatsistantConnector, Ki as chatlingConnector, Kl as cashfreePaymentsConnector, Kn as mixpanelConnector, Ko as klaviyoConnector, Kr as googleSearchConnector, Ks as createRedshiftConnector, Kt as quadernoConnector, Ku as sanityConnector, L as wufooConnector, La as aidbaseConnector, Lc as lemonSqueezyConnector, Ld as deepgramConnector, Li as cognitoFormsConnector, Ll as etsyConnector, Ln as heartbeatConnector, Lo as mattermostConnector, Lr as influencersClubConnector, Ls as createSftpConnector, Lt as runwareConnector, Lu as zoominfoConnector, M as lagrowthmachineConnector, Ma as airtopConnector, Mc as microsoft365PeopleConnector, Md as dripConnector, Mi as convertkitConnector, Ml as figmaConnector, Mn as imapConnector, Mo as datadogConnector, Mr as jiraDataCenterConnector, Ms as signNowConnector, Mt as seekTableConnector, Mu as amplitudeConnector, N as heyreachConnector, Na as amazonSecretsManagerConnector, Nc as makeConnector, Nd as docsbotConnector, Ni as crispConnector, Nl as figjamConnector, Nn as ibmCognoseConnector, No as baserowConnector, Nr as jinaAiConnector, Ns as shippoConnector, Nt as scrapelessConnector, Nu as affinityConnector, O as findymailConnector, Oa as amazonSesConnector, Oc as microsoftDynamicsCrmConnector, Od as everhourConnector, Oi as cryptolensConnector, Ol as freshdeskConnector, On as knockConnector, Oo as firebaseConnector, Or as kapsoConnector, Os as squareConnector, Ot as serpstatConnector, Ou as amazonS3Connector, P as amplemarketConnector, Pa as amazonBedrockConnector, Pc as createLinkedinConnector, Pd as duckdbConnector, Pi as comfyicuConnector, Pl as firefliesAiConnector, Pn as hystructConnector, Po as airtableConnector, Pr as imageRouterConnector, Ps as sharepoint, Pt as scrapegraphaiConnector, Pu as aircallConnector, Q as vboutConnector, Qa as anthropicConnector, Qc as helpscoutConnector, Qd as cambAiConnector, Qi as braveSearchConnector, Ql as confluenceConnector, Qn as messagebirdConnector, Qo as zohoCampaignsConnector, Qr as frameConnector, Qs as quickbooksConnector, Qt as posthogConnector, Qu as pagerdutyConnector, R as writesonicBulkConnector, Ra as afforaiConnector, Rc as leadConnectorConnector, Rd as dappierConnector, Ri as clearoutConnector, Rl as ebayConnector, Rn as griptapeConnector, Ro as matrixConnector, Rr as housecallProConnector, Rs as sftpConnector, Rt as robollyConnector, Ru as workdayConnector, S as warmlyConnector, Sa as aminosConnector, Sc as microsoftTodoConnector, Sd as generatebannersConnector, Si as datocmsConnector, Sl as classifyGoogleReason, Sn as ntfyConnector, So as segmentConnector, Sr as kudosityConnector, Ss as trelloConnector, St as smartsheetConnector, Su as acuitySchedulingConnector, T as commonRoomConnector, Ta as ampecoConnector, Tc as microsoftTeams, Td as flowParserConnector, Ti as denserAiConnector, Tl as googleTestFailureReason, Tn as medullarConnector, To as metabaseConnector, Tr as klentyConnector, Ts as ticktickConnector, Tt as shortIoConnector, Tu as asanaConnector, U as whatsscaleConnector, Ua as smooveConnector, Uc as jotformConnector, Ud as clickfunnelsConnector, Ui as chatDataConnector, Ul as chessComConnector, Un as googleVertexaiConnector, Uo as marketoConnector, Ur as guideliteConnector, Us as recallAiConnector, Ut as reachinboxConnector, Uu as teableConnector, V as woodpeckerConnector, Va as kustomerConnector, Vc as publicKafkaSocketFactory, Vd as contextualAiConnector, Vi as clockodoConnector, Vl as docusignConnector, Vn as gotifyConnector, Vo as salesloftConnector, Vr as heygenConnector, Vs as ringcentralConnector, Vt as replyIoConnector, Vu as vercelConnector, W as whatsappConnector, Wa as greenhouseConnector, Wc as jiraCloudConnector, Wd as clearoutphoneConnector, Wi as chartlyConnector, Wl as checkoutConnector, Wn as exaConnector, Wo as mailchimpConnector, Wr as greipConnector, Ws as createPostgresConnector, Wt as rapidtextAiConnector, Wu as snowflakeConnector, X as vlmRunConnector, Xa as geminiConnector, Xc as httpConnector, Xd as csvFilesConnector, Xi as certopusConnector, Xl as copperConnector, Xn as memConnector, Xo as zohoMailConnector, Xr as gameballConnector, Xs as createRabbitMqConnector, Xt as productboardConnector, Xu as pushbulletConnector, Y as vtexConnector, Ya as huggingfaceConnector, Yc as intercomConnector, Yd as chainAwareConnector, Yi as chainalysisApiConnector, Yl as chargebeeConnector, Yn as millionverifierConnector, Yo as apolloConnector, Yr as freshserviceConnector, Ys as redisConnector, Yt as proxycurlConnector, Yu as redditConnector, Z as vidlab7Connector, Za as googleGeminiConnector, Zc as hubspot, Zd as cartloomConnector, Zi as captainDataConnector, Zl as contentfulConnector, Zn as mauticConnector, Zo as zohoInvoiceConnector, Zr as fragmentConnector, Zs as rabbitMqConnector, Zt as predictLeadsConnector, Zu as paychexConnector, _ as phantombusterConnector, _a as ashbyConnector, _c as mondayConnector, _d as bexioConnector, _f as phonyConnector, _i as dubConnector, _l as googleCalendar, _n as opportifyConnector, _o as neverbounceConnector, _r as linkupConnector, _s as tiktokConnector, _t as swarmnodeConnector, _u as azureEventGridConnector, a as linqConnector, aa as bonjoroConnector, ac as outlookMail, ad as gustoConnector, af as apifyConnector, ai as facebookLeadsConnector, al as googleSheets, an as perplexityAiConnector, ao as quickzuConnector, ar as mailerLiteConnector, as as zoomConnector, at as twinLabsConnector, au as calendlyConnector, b as crustdataConnector, ba as semrushConnector, bc as meetgeekAiConnector, bd as modelslabConnector, bi as documergeConnector, bl as gmail, bn as omniCoConnector, bo as builtwithConnector, br as kommoConnector, bs as typeformConnector, bt as smsmodeConnector, bu as avalaraConnector, c as factorsAiConnector, ca as bettermodeConnector, cc as openPhoneConnector, cd as formstackConnector, cf as aianswerConnector, ci as firecrawlConnector, cl as googleMeetConnector, cn as parseurConnector, co as githubConnector, cr as logsnagConnector, cs as youtubeDataConnector, ct as togglTrackConnector, cu as billplzConnector, d as signwellConnector, da as barcodeLookupConnector, dc as n8nConnector, dd as constantContactConnector, df as pingIdentityConnector, di as emailoctopusConnector, dl as googleDocs, dn as pastefyConnector, do as gtmAgentConnector, dr as magicalApiConnector, ds as webflowConnector, dt as textcortexAiConnector, du as baremetricsConnector, ea as brilliantDirectoriesConnector, ec as pipedriveConnector, ed as niftyConnector, ef as bikaConnector, ei as fountainConnector, el as hellosign, en as pollybotAiConnector, eo as sentryConnector, er as mailgunConnector, es as zohoCrmConnector, et as umamiConnector, eu as cloudinaryConnector, f as polytomicConnector, fa as autocallsConnector, fc as notion, fd as cloudconvertConnector, ff as oneloginConnector, fi as dustConnector, fl as googleContactsConnector, fn as paperformConnector, fo as webhookConnector, fr as llmrailsConnector, fs as xeroConnector, ft as telnyxConnector, fu as boxConnector, g as zenrowsConnector, ga as assemblyaiConnector, gc as mongodbConnector, gd as bigcommerceConnector, gf as createPhonyConnector, gi as documentproConnector, gl as googleAnalyticsConnector, gn as openmicAiConnector, go as theirstackConnector, gr as letsCalendarConnector, gs as tiktok, gt as stripeConnector, gu as azureServiceBusConnector, h as oceanIoConnector, ha as avianConnector, hc as createMongoDbConnector, hd as canvaConnector, hf as declarativeRestConnector, hi as elasticEmailConnector, hl as googleAdsConnector, hn as opnformConnector, ho as zerobounceConnector, hr as linkaConnector, hs as twilioSmsConnector, ht as systemeIoConnector, hu as basecampConnector, i as linqWhatsappConnector, ia as blueskyConnector, ic as pandadoc, id as instaChartsConnector, if as askHandleConnector, ii as flowiseConnector, il as googleSlidesConnector, in as personalAiConnector, io as zagomailConnector, ir as luxuryPresenceConnector, is as zohoBookingsConnector, it as twilioConnector, iu as capsuleCrmConnector, j as saleshandyConnector, ja as alaiConnector, jc as microsoft365PlannerConnector, jd as echowinConnector, ji as dashworksConnector, jl as filloutFormsConnector, jn as insightoAiConnector, jo as discourseConnector, jr as justInvoiceConnector, js as slack, jt as skyprepConnector, ju as amazonEventBridgeConnector, k as contactoutConnector, ka as alttextifyConnector, kc as microsoftDynamics365BusinessCentralConnector, kd as excelFilesConnector, ki as datafuelConnector, kl as folkConnector, kn as kallabotAiConnector, ko as clicksendConnector, kr as kizeoFormsConnector, ks as shopifyConnector, kt as senjaConnector, ku as amazonLambdaConnector, l as modjoConnector, la as beamerConnector, lc as ninjapipeConnector, ld as discordConnector, lf as actualbudgetConnector, li as esignaturesConnector, ll as googleForms, ln as paywhirlConnector, lo as slackEventsConnector, lr as logrocketConnector, ls as wrikeConnector, lt as timelinesAiConnector, lu as billComConnector, m as seamlessAiConnector, ma as asknewsConnector, mc as mycaseConnector, md as clicdataConnector, mf as oktaConnector, mi as edenAiConnector, ml as googleCloudStorageConnector, mn as orimonConnector, mo as resolveConnectorAdapterFactoryOptions, mr as localaiConnector, ms as voucheryIoConnector, mt as tableauConnector, mu as backblazeConnector, n as sendblueConnector, na as bookedinConnector, nc as plaidConnector, nd as lightfunnelsConnector, nf as base44Connector, ni as formbricksConnector, nl as googlechatConnector, nn as plausibleConnector, no as sendgridConnector, nr as matomoConnector, ns as pricelabsConnector, nt as vapiConnector, nu as clickupConnector, o as inkboxConnector, oa as bitlyConnector, oc as oneSpanSignConnector, od as giteaConnector, of as anyhookWebsocketConnector, oi as enrichlayerConnector, ol as googleSearchConsoleConnector, on as peekshotConnector, oo as facebookPagesConnector, or as lushaConnector, os as zendeskConnector, ot as typefullyConnector, ou as calCom, p as usergemsConnector, pa as azureCommunicationServicesConnector, pc as notionConnector, pd as clioConnector, pf as clientCredentialsRestConnector, pi as easyPeasyAiConnector, pl as googlePubSubConnector, pn as oracleDatabaseConnector, po as CONNECTOR_ADAPTER_FACTORIES, pr as lobstermailConnector, ps as whatsappBusiness, pt as talkableConnector, pu as biginByZohoConnector, q as wafeqConnector, qa as pineconeConnector, qc as insightlyConnector, qd as chatAidConnector, qi as chargekeepConnector, ql as taxjarConnector, qn as mixmaxConnector, qo as customerIoConnector, qr as gistlyConnector, qs as redshiftConnector, qt as qawafelConnector, qu as ripplingConnector, r as resendConnector, ra as bolnaConnector, rc as paddleConnector, rd as leverConnector, rf as bannerbearConnector, ri as flipandoConnector, rl as googleTasksConnector, rn as placidConnector, ro as zendeskSellConnector, rr as lucidyaConnector, rs as cloudbedsConnector, rt as upgradechatConnector, ru as closeConnector, s as getresponseConnector, sa as blandAiConnector, sc as oneDrive, sd as freeAgentConnector, sf as airparserConnector, si as fathomAnalyticsConnector, sl as googleMyBusinessConnector, sn as pdfmonkeyConnector, so as gitlabConnector, sr as loftyConnector, ss as zapierConnector, st as totalcmsConnector, su as calComConnector, ta as browseAiConnector, tc as pipedreamConnector, td as netlifyConnector, tf as beehiivConnector, ti as foreplayCoConnector, tl as granolaConnector, tn as pocketbaseConnector, to as postmarkConnector, tr as manychatConnector, ts as zohoDeskConnector, tt as validatedmailsConnector, tu as cloudflareConnector, u as nooksConnector, ua as azureOpenaiConnector, uc as netsuiteConnector, ud as demandbaseConnector, uf as scimConnector, ui as emailitConnector, ul as googleDrive, un as pinchPaymentsConnector, uo as stripeWebhookReceiverConnector, ur as lokaliseConnector, us as wordpressConnector, ut as timeOpsConnector, uu as brexConnector, v as brightdataConnector, va as clayConnector, vc as miroConnector, vd as adpConnector, vi as dumplingAiConnector, vl as gorgiasConnector, vn as openRouterConnector, vo as hunterConnector, vr as lettaConnector, vs as twitter, vt as supadataConnector, vu as azureBlobStorageConnector, w as leadfeederConnector, wa as appfollowConnector, wc as microsoftOnenoteConnector, wd as gammaConnector, wi as devinConnector, wl as googleErrorReason, wn as mindStudioConnector, wo as mysqlConnector, wr as knackConnector, ws as tlDvConnector, wt as simplirouteConnector, wu as attioConnector, x as autoboundConnector, xa as similarwebConnector, xc as mastodonConnector, xd as giftbitConnector, xi as dittofeedConnector, xl as classifyGoogleError, xn as odooConnector, xo as supabaseConnector, xr as leapAiConnector, xs as twentyConnector, xt as smartsuiteConnector, xu as avomaConnector, y as leadmagicConnector, ya as cognismConnector, yc as mollieConnector, yd as adobeCreativeCloudConnector, yi as doctlyConnector, yl as gongConnector, yn as omnihrConnector, yo as fullenrichConnector, yr as leexiConnector, ys as twitterConnector, yt as socialkitConnector, yu as azureAdConnector, z as workableConnector, za as agentxConnector, zc as createKafkaConnector, zd as couchbaseConnector, zi as cloutlyConnector, zl as dropboxConnector, zn as gristConnector, zo as chatwootConnector, zr as heymarketSmsConnector, zs as salesforceConnector, zt as retellAiConnector, zu as wootricConnector } from "../adapters-CqJ5RFh6.js";
1
+ import { $ as uscreenConnector, $a as openaiConnector, $c as harvestConnector, $d as clearoutphoneConnector, $i as campaignMonitorConnector, $l as checkoutConnector, $n as mailerooConnector, $o as zohoBooksConnector, $r as mailercheckConnector, $s as parquetFilesConnector, $t as postizConnector, $u as snowflakeConnector, A as bettercontactConnector, Aa as altTextAiConnector, Ac as microsoftCalendar, Ad as giftbitConnector, Ai as copyAiConnector, Al as classifyGoogleError, An as instasentConnector, Ao as digitalOceanConnector, Ar as joggAiConnector, As as sageIntacctConnector, At as sendinblueConnector, Au as avomaConnector, B as woocommerceConnector, Ba as airOpsConnector, Bc as kafkaConnector, Bd as echowinConnector, Bi as clockifyConnector, Bl as filloutFormsConnector, Bn as gptzeroDetectAiConnector, Bo as smartleadConnector, Br as hashiCorpVaultConnector, Bs as rssConnector, Bt as retableConnector, Bu as amazonEventBridgeConnector, C as serperConnector, Ca as apitableConnector, Cc as microsoftPowerBiConnector, Cd as clicdataConnector, Cf as oktaConnector, Ci as descriptConnector, Cl as metaAdsConnector, Cn as nocodbConnector, Co as createMySqlConnector, Cr as koFiConnector, Cs as todoistConnector, Ct as simplybookmeConnector, Cu as backblazeConnector, D as snovIoConnector, Da as amazonTextractConnector, Dc as microsoftExcel365Connector, Dd as adpConnector, Di as customgptConnector, Dl as gorgiasConnector, Dn as loopsConnector, Do as googleBigqueryConnector, Dr as kimaiConnector, Ds as stripePackConnector, Dt as serviceNowConnector, Du as azureBlobStorageConnector, E as wizaConnector, Ea as apitemplateIoConnector, Ec as microsoftGraph, Ed as bexioConnector, Ef as phonyConnector, Ei as deepseekConnector, El as googleCalendar, En as mailchainConnector, Eo as hightouchConnector, Er as kissflowConnector, Es as tallyConnector, Et as signrequestConnector, Eu as azureEventGridConnector, F as zeplinConnector, Fa as aipriseConnector, Fc as linkedinConnector, Fd as fellowConnector, Fi as cometapiConnector, Fl as frontConnector, Fn as humeAiConnector, Fo as TELEGRAM_FILE_DOWNLOAD_ROOT, Fr as instantlyAiConnector, Fs as savvycalConnector, Ft as sardisConnector, Fu as amazonSqsConnector, G as webscrapingAiConnector, Ga as bamboohrConnector, Gc as ironcladConnector, Gd as detectingAiConnector, Gi as chatbaseConnector, Gl as fathomConnector, Gn as missiveConnector, Go as lemlistConnector, Gr as greenptConnector, Gs as postgresConnector, Gt as raiaAiConnector, Gu as zuoraConnector, H as wonderchatConnector, Ha as activecampaignConnector, Hc as justcallConnector, Hd as docsbotConnector, Hi as chatnodeConnector, Hl as figjamConnector, Hn as glideConnector, Ho as outreachConnector, Hr as hastewireConnector, Hs as rampConnector, Ht as reoonVerifierConnector, Hu as affinityConnector, I as youcanbookmeConnector, Ia as acumbamailConnector, Ic as linearConnector, Id as featheryConnector, Ii as cohereConnector, Il as freshsalesConnector, In as hedyConnector, Io as telegramConnector, Ir as huggingFaceConnector, Is as saleorConnector, It as saasticConnector, Iu as amazonSnsConnector, J as vtigerConnector, Ja as weaviateConnector, Jc as instagramBusinessConnector, Jd as couchbaseConnector, Ji as cannyConnector, Jl as dropboxConnector, Jn as mindeeConnector, Jo as brazeConnector, Jr as ghostcmsConnector, Js as createRedisConnector, Jt as pushoverConnector, Ju as wootricConnector, K as whatConvertsConnector, Ka as qdrantConnector, Kc as invoiceninjaConnector, Kd as deepgramConnector, Ki as chatlingConnector, Kl as etsyConnector, Kn as mixpanelConnector, Ko as klaviyoConnector, Kr as googleSearchConnector, Ks as createRedshiftConnector, Kt as quadernoConnector, Ku as zoominfoConnector, L as wufooConnector, La as aidbaseConnector, Lc as lemonSqueezyConnector, Ld as everhourConnector, Li as cognitoFormsConnector, Ll as freshdeskConnector, Ln as heartbeatConnector, Lo as mattermostConnector, Lr as influencersClubConnector, Ls as createSftpConnector, Lt as runwareConnector, Lu as amazonS3Connector, M as lagrowthmachineConnector, Ma as airtopConnector, Mc as microsoft365PeopleConnector, Md as genderApiConnector, Mi as convertkitConnector, Ml as googleApiError, Mn as imapConnector, Mo as datadogConnector, Mr as jiraDataCenterConnector, Ms as signNowConnector, Mt as seekTableConnector, Mu as auth0Connector, N as heyreachConnector, Na as amazonSecretsManagerConnector, Nc as makeConnector, Nd as gammaConnector, Ni as crispConnector, Nl as googleErrorReason, Nn as ibmCognoseConnector, No as baserowConnector, Nr as jinaAiConnector, Ns as shippoConnector, Nt as scrapelessConnector, Nu as attioConnector, O as findymailConnector, Oa as amazonSesConnector, Oc as microsoftDynamicsCrmConnector, Od as adobeCreativeCloudConnector, Oi as cryptolensConnector, Ol as gongConnector, On as knockConnector, Oo as firebaseConnector, Or as kapsoConnector, Os as squareConnector, Ot as serpstatConnector, Ou as azureAdConnector, P as amplemarketConnector, Pa as amazonBedrockConnector, Pc as createLinkedinConnector, Pd as flowParserConnector, Pi as comfyicuConnector, Pl as googleTestFailureReason, Pn as hystructConnector, Po as airtableConnector, Pr as imageRouterConnector, Ps as sharepoint, Pt as scrapegraphaiConnector, Pu as asanaConnector, Q as vboutConnector, Qa as anthropicConnector, Qc as helpscoutConnector, Qd as clickfunnelsConnector, Qi as braveSearchConnector, Ql as chessComConnector, Qn as messagebirdConnector, Qo as zohoCampaignsConnector, Qr as frameConnector, Qs as quickbooksConnector, Qt as posthogConnector, Qu as teableConnector, R as writesonicBulkConnector, Ra as afforaiConnector, Rc as leadConnectorConnector, Rd as excelFilesConnector, Ri as clearoutConnector, Rl as folkConnector, Rn as griptapeConnector, Ro as matrixConnector, Rr as housecallProConnector, Rs as sftpConnector, Rt as robollyConnector, Ru as amazonLambdaConnector, S as warmlyConnector, Sa as aminosConnector, Sc as microsoftTodoConnector, Sd as clioConnector, Sf as clientCredentialsRestConnector, Si as datocmsConnector, Sl as xAdsConnector, Sn as ntfyConnector, So as segmentConnector, Sr as kudosityConnector, Ss as trelloConnector, St as smartsheetConnector, Su as biginByZohoConnector, T as commonRoomConnector, Ta as ampecoConnector, Tc as microsoftTeams, Td as bigcommerceConnector, Tf as createPhonyConnector, Ti as denserAiConnector, Tl as googleAnalyticsConnector, Tn as medullarConnector, To as metabaseConnector, Tr as klentyConnector, Ts as ticktickConnector, Tt as shortIoConnector, Tu as azureServiceBusConnector, U as whatsscaleConnector, Ua as smooveConnector, Uc as jotformConnector, Ud as duckdbConnector, Ui as chatDataConnector, Ul as firefliesAiConnector, Un as googleVertexaiConnector, Uo as marketoConnector, Ur as guideliteConnector, Us as recallAiConnector, Ut as reachinboxConnector, Uu as aircallConnector, V as woodpeckerConnector, Va as kustomerConnector, Vc as publicKafkaSocketFactory, Vd as dripConnector, Vi as clockodoConnector, Vl as figmaConnector, Vn as gotifyConnector, Vo as salesloftConnector, Vr as heygenConnector, Vs as ringcentralConnector, Vt as replyIoConnector, Vu as amplitudeConnector, W as whatsappConnector, Wa as greenhouseConnector, Wc as jiraCloudConnector, Wd as digitalPilotConnector, Wi as chartlyConnector, Wl as fireberryConnector, Wn as exaConnector, Wo as mailchimpConnector, Wr as greipConnector, Ws as createPostgresConnector, Wt as rapidtextAiConnector, Wu as adobeSignConnector, X as vlmRunConnector, Xa as geminiConnector, Xc as httpConnector, Xd as contextualAiConnector, Xi as certopusConnector, Xl as docusignConnector, Xn as memConnector, Xo as zohoMailConnector, Xr as gameballConnector, Xs as createRabbitMqConnector, Xt as productboardConnector, Xu as vercelConnector, Y as vtexConnector, Ya as huggingfaceConnector, Yc as intercomConnector, Yd as contiguityConnector, Yi as chainalysisApiConnector, Yl as dialpadConnector, Yn as millionverifierConnector, Yo as apolloConnector, Yr as freshserviceConnector, Ys as redisConnector, Yt as proxycurlConnector, Yu as videoaskConnector, Z as vidlab7Connector, Za as googleGeminiConnector, Zc as hubspot, Zd as codyConnector, Zi as captainDataConnector, Zl as docuseal, Zn as mauticConnector, Zo as zohoInvoiceConnector, Zr as fragmentConnector, Zs as rabbitMqConnector, Zt as predictLeadsConnector, Zu as tenzoConnector, _ as phantombusterConnector, _a as ashbyConnector, _c as mondayConnector, _d as formstackConnector, _f as aianswerConnector, _i as dubConnector, _l as pinterestAdsConnector, _n as opportifyConnector, _o as neverbounceConnector, _r as linkupConnector, _s as tiktokConnector, _t as swarmnodeConnector, _u as billplzConnector, a as linqConnector, aa as bonjoroConnector, ac as outlookMail, ad as pushbulletConnector, af as csvFilesConnector, ai as facebookLeadsConnector, al as googleSheets, an as perplexityAiConnector, ao as quickzuConnector, ar as mailerLiteConnector, as as zoomConnector, at as twinLabsConnector, au as copperConnector, b as crustdataConnector, ba as semrushConnector, bc as meetgeekAiConnector, bd as constantContactConnector, bf as pingIdentityConnector, bi as documergeConnector, bl as linkedinAdsConnector, bn as omniCoConnector, bo as builtwithConnector, br as kommoConnector, bs as typeformConnector, bt as smsmodeConnector, bu as baremetricsConnector, c as factorsAiConnector, ca as bettermodeConnector, cc as openPhoneConnector, cd as opsgenieConnector, cf as buttondownConnector, ci as firecrawlConnector, cl as googleMeetConnector, cn as parseurConnector, co as githubConnector, cr as logsnagConnector, cs as youtubeDataConnector, ct as togglTrackConnector, cu as codaConnector, d as signwellConnector, da as barcodeLookupConnector, dc as n8nConnector, dd as lightfunnelsConnector, df as base44Connector, di as emailoctopusConnector, dl as googleDocs, dn as pastefyConnector, do as gtmAgentConnector, dr as magicalApiConnector, ds as webflowConnector, dt as textcortexAiConnector, du as clickupConnector, ea as brilliantDirectoriesConnector, ec as pipedriveConnector, ed as sendpulseConnector, ef as claudeConnector, ei as fountainConnector, el as hellosign, en as pollybotAiConnector, eo as sentryConnector, er as mailgunConnector, es as zohoCrmConnector, et as umamiConnector, eu as circleConnector, f as polytomicConnector, fa as autocallsConnector, fc as notion, fd as leverConnector, ff as bannerbearConnector, fi as dustConnector, fl as googleContactsConnector, fn as paperformConnector, fo as webhookConnector, fr as llmrailsConnector, fs as xeroConnector, ft as telnyxConnector, fu as closeConnector, g as zenrowsConnector, ga as assemblyaiConnector, gc as mongodbConnector, gd as freeAgentConnector, gf as airparserConnector, gi as documentproConnector, gl as createMicrosoftAdsConnector, gn as openmicAiConnector, go as theirstackConnector, gr as letsCalendarConnector, gs as tiktok, gt as stripeConnector, gu as calComConnector, h as oceanIoConnector, ha as avianConnector, hc as createMongoDbConnector, hd as giteaConnector, hf as anyhookWebsocketConnector, hi as elasticEmailConnector, hl as createAmazonAdsConnector, hn as opnformConnector, ho as zerobounceConnector, hr as linkaConnector, hs as twilioSmsConnector, ht as systemeIoConnector, hu as calCom, i as linqWhatsappConnector, ia as blueskyConnector, ic as pandadoc, id as redditConnector, if as chainAwareConnector, ii as flowiseConnector, il as googleSlidesConnector, in as personalAiConnector, io as zagomailConnector, ir as luxuryPresenceConnector, is as zohoBookingsConnector, it as twilioConnector, iu as chargebeeConnector, j as saleshandyConnector, ja as alaiConnector, jc as microsoft365PlannerConnector, jd as generatebannersConnector, ji as dashworksConnector, jl as classifyGoogleReason, jn as insightoAiConnector, jo as discourseConnector, jr as justInvoiceConnector, js as slack, jt as skyprepConnector, ju as acuitySchedulingConnector, k as contactoutConnector, ka as alttextifyConnector, kc as microsoftDynamics365BusinessCentralConnector, kd as modelslabConnector, ki as datafuelConnector, kl as gmail, kn as kallabotAiConnector, ko as clicksendConnector, kr as kizeoFormsConnector, ks as shopifyConnector, kt as senjaConnector, ku as avalaraConnector, l as modjoConnector, la as beamerConnector, lc as ninjapipeConnector, ld as niftyConnector, lf as bikaConnector, li as esignaturesConnector, ll as googleForms, ln as paywhirlConnector, lo as slackEventsConnector, lr as logrocketConnector, ls as wrikeConnector, lt as timelinesAiConnector, lu as cloudinaryConnector, m as seamlessAiConnector, ma as asknewsConnector, mc as mycaseConnector, md as gustoConnector, mf as apifyConnector, mi as edenAiConnector, ml as googleCloudStorageConnector, mn as orimonConnector, mo as resolveConnectorAdapterFactoryOptions, mr as localaiConnector, ms as voucheryIoConnector, mt as tableauConnector, mu as calendlyConnector, n as sendblueConnector, na as bookedinConnector, nc as plaidConnector, nd as ripplingConnector, nf as chatAidConnector, ni as formbricksConnector, nl as googlechatConnector, nn as plausibleConnector, no as sendgridConnector, nr as matomoConnector, ns as pricelabsConnector, nt as vapiConnector, nu as taxjarConnector, o as inkboxConnector, oa as bitlyConnector, oc as oneSpanSignConnector, od as paychexConnector, of as cartloomConnector, oi as enrichlayerConnector, ol as googleSearchConsoleConnector, on as peekshotConnector, oo as facebookPagesConnector, or as lushaConnector, os as zendeskConnector, ot as typefullyConnector, ou as contentfulConnector, p as usergemsConnector, pa as azureCommunicationServicesConnector, pc as notionConnector, pd as instaChartsConnector, pf as askHandleConnector, pi as easyPeasyAiConnector, pl as googlePubSubConnector, pn as oracleDatabaseConnector, po as CONNECTOR_ADAPTER_FACTORIES, pr as lobstermailConnector, ps as whatsappBusiness, pt as talkableConnector, pu as capsuleCrmConnector, q as wafeqConnector, qa as pineconeConnector, qc as insightlyConnector, qd as dappierConnector, qi as chargekeepConnector, ql as ebayConnector, qn as mixmaxConnector, qo as customerIoConnector, qr as gistlyConnector, qs as redshiftConnector, qt as qawafelConnector, qu as workdayConnector, r as resendConnector, ra as bolnaConnector, rc as paddleConnector, rd as reddit, rf as chaindeskConnector, ri as flipandoConnector, rl as googleTasksConnector, rn as placidConnector, ro as zendeskSellConnector, rr as lucidyaConnector, rs as cloudbedsConnector, rt as upgradechatConnector, ru as recurlyConnector, s as getresponseConnector, sa as blandAiConnector, sc as oneDrive, sd as pagerdutyConnector, sf as cambAiConnector, si as fathomAnalyticsConnector, sl as googleMyBusinessConnector, sn as pdfmonkeyConnector, so as gitlabConnector, sr as loftyConnector, ss as zapierConnector, st as totalcmsConnector, su as confluenceConnector, ta as browseAiConnector, tc as pipedreamConnector, td as sanityConnector, tf as chatsistantConnector, ti as foreplayCoConnector, tl as granolaConnector, tn as pocketbaseConnector, to as postmarkConnector, tr as manychatConnector, ts as zohoDeskConnector, tt as validatedmailsConnector, tu as cashfreePaymentsConnector, u as nooksConnector, ua as azureOpenaiConnector, uc as netsuiteConnector, ud as netlifyConnector, uf as beehiivConnector, ui as emailitConnector, ul as googleDrive, un as pinchPaymentsConnector, uo as stripeWebhookReceiverConnector, ur as lokaliseConnector, us as wordpressConnector, ut as timeOpsConnector, uu as cloudflareConnector, v as brightdataConnector, va as clayConnector, vc as miroConnector, vd as discordConnector, vf as actualbudgetConnector, vi as dumplingAiConnector, vl as snapchatAdsConnector, vn as openRouterConnector, vo as hunterConnector, vr as lettaConnector, vs as twitter, vt as supadataConnector, vu as billComConnector, w as leadfeederConnector, wa as appfollowConnector, wc as microsoftOnenoteConnector, wd as canvaConnector, wf as declarativeRestConnector, wi as devinConnector, wl as googleAdsConnector, wn as mindStudioConnector, wo as mysqlConnector, wr as knackConnector, ws as tlDvConnector, wt as simplirouteConnector, wu as basecampConnector, x as autoboundConnector, xa as similarwebConnector, xc as mastodonConnector, xd as cloudconvertConnector, xf as oneloginConnector, xi as dittofeedConnector, xl as tiktokAdsConnector, xn as odooConnector, xo as supabaseConnector, xr as leapAiConnector, xs as twentyConnector, xt as smartsuiteConnector, xu as boxConnector, y as leadmagicConnector, ya as cognismConnector, yc as mollieConnector, yd as demandbaseConnector, yf as scimConnector, yi as doctlyConnector, yl as redditAdsConnector, yn as omnihrConnector, yo as fullenrichConnector, yr as leexiConnector, ys as twitterConnector, yt as socialkitConnector, yu as brexConnector, z as workableConnector, za as agentxConnector, zc as createKafkaConnector, zd as elevenlabsConnector, zi as cloutlyConnector, zl as flowluConnector, zn as gristConnector, zo as chatwootConnector, zr as heymarketSmsConnector, zs as salesforceConnector, zt as retellAiConnector, zu as amazonCloudWatchConnector } from "../adapters-Dp5h7mF-.js";
2
2
  import { a as TangleIdentityUnreachableError, c as CredentialsExpired, d as ResourceContention, f as assertValidConnectorManifest, i as TANGLE_SERVICE_TOKEN_PREFIX, l as ProviderConfigError, n as TANGLE_API_KEY_PREFIX, o as createTangleIdentityClient, p as validateConnectorManifest, s as tangleIdentity, t as DEFAULT_TANGLE_PLATFORM_URL, u as ProviderRateLimited } from "../tangle-id-S6oooMWh.js";
3
3
  import { InMemoryOAuthFlowStore, _resetPendingFlowsForTests, consumePendingFlow, createOAuthBasicAuthorizationHeader, createOAuthTokenRequestHeaders, exchangeAuthorizationCode, formEncodeOAuthClientCredential, oauthClientCredentialRedactionValues, redactOAuthSensitiveText, refreshAccessToken, startOAuthFlow } from "./oauth.js";
4
4
  import { a as verifyHmacSignature, c as verifyTwilioSignature, i as verifyEmailSignature, n as firstHeader, o as verifySlackSignature, r as parseStripeSignatureHeader, s as verifyStripeSignature, t as DEFAULT_SIGNATURE_TOLERANCE_SECONDS } from "../webhooks-FsjqRN_0.js";
5
- import { a as getBundledAdapterManifest, c as listBundledAdapterManifests, i as bundledOAuth2AuthContract, n as bundledAuthMode, o as hasBundledAdapter, r as bundledOAuth2Auth, s as listBundledAdapterKinds, t as bundledApiKeyHint } from "../bundled-manifest-data-DUWA4K9P.js";
5
+ import { a as getBundledAdapterManifest, c as listBundledAdapterManifests, i as bundledOAuth2AuthContract, n as bundledAuthMode, o as hasBundledAdapter, r as bundledOAuth2Auth, s as listBundledAdapterKinds, t as bundledApiKeyHint } from "../bundled-manifest-data-D8W3xNyQ.js";
6
6
  import { listBundledConnectorAdapters } from "../internal/bundled-manifest-runtime.js";
7
- export { CONNECTOR_ADAPTER_FACTORIES, CredentialsExpired, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, DEFAULT_TANGLE_PLATFORM_URL, InMemoryOAuthFlowStore, ProviderConfigError, ProviderRateLimited, ResourceContention, TANGLE_API_KEY_PREFIX, TANGLE_SERVICE_TOKEN_PREFIX, TELEGRAM_FILE_DOWNLOAD_ROOT, TangleIdentityUnreachableError, _resetPendingFlowsForTests, activecampaignConnector, actualbudgetConnector, acuitySchedulingConnector, acumbamailConnector, adobeCreativeCloudConnector, adobeSignConnector, adpConnector, affinityConnector, afforaiConnector, agentxConnector, aianswerConnector, aidbaseConnector, aipriseConnector, airOpsConnector, aircallConnector, airparserConnector, airtableConnector, airtopConnector, alaiConnector, altTextAiConnector, alttextifyConnector, amazonBedrockConnector, amazonCloudWatchConnector, amazonEventBridgeConnector, amazonLambdaConnector, amazonS3Connector, amazonSecretsManagerConnector, amazonSesConnector, amazonSnsConnector, amazonSqsConnector, amazonTextractConnector, aminosConnector, ampecoConnector, amplemarketConnector, amplitudeConnector, anthropicConnector, anyhookWebsocketConnector, apifyConnector, apitableConnector, apitemplateIoConnector, apolloConnector, appfollowConnector, asanaConnector, ashbyConnector, askHandleConnector, asknewsConnector, assemblyaiConnector, assertValidConnectorManifest, attioConnector, auth0Connector, autoboundConnector, autocallsConnector, avalaraConnector, avianConnector, avomaConnector, azureAdConnector, azureBlobStorageConnector, azureCommunicationServicesConnector, azureEventGridConnector, azureOpenaiConnector, azureServiceBusConnector, backblazeConnector, bamboohrConnector, bannerbearConnector, barcodeLookupConnector, baremetricsConnector, base44Connector, basecampConnector, baserowConnector, beamerConnector, beehiivConnector, bettercontactConnector, bettermodeConnector, bexioConnector, bigcommerceConnector, biginByZohoConnector, bikaConnector, billComConnector, billplzConnector, bitlyConnector, blandAiConnector, blueskyConnector, bolnaConnector, bonjoroConnector, bookedinConnector, boxConnector, braveSearchConnector, brazeConnector, brexConnector, brightdataConnector, brilliantDirectoriesConnector, browseAiConnector, builtwithConnector, bundledApiKeyHint, bundledAuthMode, bundledOAuth2Auth, bundledOAuth2AuthContract, buttondownConnector, calCom, calComConnector, calendlyConnector, cambAiConnector, campaignMonitorConnector, cannyConnector, canvaConnector, capsuleCrmConnector, captainDataConnector, cartloomConnector, cashfreePaymentsConnector, certopusConnector, chainAwareConnector, chainalysisApiConnector, chaindeskConnector, chargebeeConnector, chargekeepConnector, chartlyConnector, chatAidConnector, chatDataConnector, chatbaseConnector, chatlingConnector, chatnodeConnector, chatsistantConnector, chatwootConnector, checkoutConnector, chessComConnector, circleConnector, classifyGoogleError, classifyGoogleReason, claudeConnector, clayConnector, clearoutConnector, clearoutphoneConnector, clicdataConnector, clickfunnelsConnector, clicksendConnector, clickupConnector, clientCredentialsRestConnector, clioConnector, clockifyConnector, clockodoConnector, closeConnector, cloudbedsConnector, cloudconvertConnector, cloudflareConnector, cloudinaryConnector, cloutlyConnector, codaConnector, codyConnector, cognismConnector, cognitoFormsConnector, cohereConnector, cometapiConnector, comfyicuConnector, commonRoomConnector, confluenceConnector, constantContactConnector, consumePendingFlow, contactoutConnector, contentfulConnector, contextualAiConnector, contiguityConnector, convertkitConnector, copperConnector, copyAiConnector, couchbaseConnector, createKafkaConnector, createLinkedinConnector, createMongoDbConnector, createMySqlConnector, createOAuthBasicAuthorizationHeader, createOAuthTokenRequestHeaders, createPhonyConnector, createPostgresConnector, createRabbitMqConnector, createRedisConnector, createRedshiftConnector, createSftpConnector, createTangleIdentityClient, crispConnector, crustdataConnector, cryptolensConnector, csvFilesConnector, customerIoConnector, customgptConnector, dappierConnector, dashworksConnector, datadogConnector, datafuelConnector, datocmsConnector, declarativeRestConnector, deepgramConnector, deepseekConnector, demandbaseConnector, denserAiConnector, descriptConnector, detectingAiConnector, devinConnector, dialpadConnector, digitalOceanConnector, digitalPilotConnector, discordConnector, discourseConnector, dittofeedConnector, docsbotConnector, doctlyConnector, documentproConnector, documergeConnector, docuseal, docusignConnector, dripConnector, dropboxConnector, dubConnector, duckdbConnector, dumplingAiConnector, dustConnector, easyPeasyAiConnector, ebayConnector, echowinConnector, edenAiConnector, elasticEmailConnector, elevenlabsConnector, emailitConnector, emailoctopusConnector, enrichlayerConnector, esignaturesConnector, etsyConnector, everhourConnector, exaConnector, excelFilesConnector, exchangeAuthorizationCode, facebookLeadsConnector, facebookPagesConnector, factorsAiConnector, fathomAnalyticsConnector, fathomConnector, featheryConnector, fellowConnector, figjamConnector, figmaConnector, filloutFormsConnector, findymailConnector, firebaseConnector, fireberryConnector, firecrawlConnector, firefliesAiConnector, firstHeader, flipandoConnector, flowParserConnector, flowiseConnector, flowluConnector, folkConnector, foreplayCoConnector, formEncodeOAuthClientCredential, formbricksConnector, formstackConnector, fountainConnector, fragmentConnector, frameConnector, freeAgentConnector, freshdeskConnector, freshsalesConnector, freshserviceConnector, frontConnector, fullenrichConnector, gameballConnector, gammaConnector, geminiConnector, genderApiConnector, generatebannersConnector, getBundledAdapterManifest, getresponseConnector, ghostcmsConnector, giftbitConnector, gistlyConnector, giteaConnector, githubConnector, gitlabConnector, glideConnector, gmail, gongConnector, googleAdsConnector, googleAnalyticsConnector, googleApiError, googleBigqueryConnector, googleCalendar, googleCloudStorageConnector, googleContactsConnector, googleDocs, googleDrive, googleErrorReason, googleForms, googleGeminiConnector, googleMeetConnector, googleMyBusinessConnector, googlePubSubConnector, googleSearchConnector, googleSearchConsoleConnector, googleSheets, googleSlidesConnector, googleTasksConnector, googleTestFailureReason, googleVertexaiConnector, googlechatConnector, gorgiasConnector, gotifyConnector, gptzeroDetectAiConnector, granolaConnector, greenhouseConnector, greenptConnector, greipConnector, griptapeConnector, gristConnector, gtmAgentConnector, guideliteConnector, gustoConnector, harvestConnector, hasBundledAdapter, hashiCorpVaultConnector, hastewireConnector, heartbeatConnector, hedyConnector, hellosign, helpscoutConnector, heygenConnector, heymarketSmsConnector, heyreachConnector, hightouchConnector, housecallProConnector, httpConnector, hubspot, huggingFaceConnector, huggingfaceConnector, humeAiConnector, hunterConnector, hystructConnector, ibmCognoseConnector, imageRouterConnector, imapConnector, influencersClubConnector, inkboxConnector, insightlyConnector, insightoAiConnector, instaChartsConnector, instagramBusinessConnector, instantlyAiConnector, instasentConnector, intercomConnector, invoiceninjaConnector, ironcladConnector, jinaAiConnector, jiraCloudConnector, jiraDataCenterConnector, joggAiConnector, jotformConnector, justInvoiceConnector, justcallConnector, kafkaConnector, kallabotAiConnector, kapsoConnector, kimaiConnector, kissflowConnector, kizeoFormsConnector, klaviyoConnector, klentyConnector, knackConnector, knockConnector, koFiConnector, kommoConnector, kudosityConnector, kustomerConnector, lagrowthmachineConnector, leadConnectorConnector, leadfeederConnector, leadmagicConnector, leapAiConnector, leexiConnector, lemlistConnector, lemonSqueezyConnector, letsCalendarConnector, lettaConnector, leverConnector, lightfunnelsConnector, linearConnector, linkaConnector, linkedinConnector, linkupConnector, linqConnector, linqWhatsappConnector, listBundledAdapterKinds, listBundledAdapterManifests, listBundledConnectorAdapters, llmrailsConnector, lobstermailConnector, localaiConnector, loftyConnector, logrocketConnector, logsnagConnector, lokaliseConnector, loopsConnector, lucidyaConnector, lushaConnector, luxuryPresenceConnector, magicalApiConnector, mailchainConnector, mailchimpConnector, mailerLiteConnector, mailercheckConnector, mailerooConnector, mailgunConnector, makeConnector, manychatConnector, marketoConnector, mastodonConnector, matomoConnector, matrixConnector, mattermostConnector, mauticConnector, medullarConnector, meetgeekAiConnector, memConnector, messagebirdConnector, metabaseConnector, microsoft365PeopleConnector, microsoft365PlannerConnector, microsoftCalendar, microsoftDynamics365BusinessCentralConnector, microsoftDynamicsCrmConnector, microsoftExcel365Connector, microsoftGraph, microsoftOnenoteConnector, microsoftPowerBiConnector, microsoftTeams, microsoftTodoConnector, millionverifierConnector, mindStudioConnector, mindeeConnector, miroConnector, missiveConnector, mixmaxConnector, mixpanelConnector, modelslabConnector, modjoConnector, mollieConnector, mondayConnector, mongodbConnector, mycaseConnector, mysqlConnector, n8nConnector, netlifyConnector, netsuiteConnector, neverbounceConnector, niftyConnector, ninjapipeConnector, nocodbConnector, nooksConnector, notion, notionConnector, ntfyConnector, oauthClientCredentialRedactionValues, oceanIoConnector, odooConnector, oktaConnector, omniCoConnector, omnihrConnector, oneDrive, oneSpanSignConnector, oneloginConnector, openPhoneConnector, openRouterConnector, openaiConnector, openmicAiConnector, opnformConnector, opportifyConnector, opsgenieConnector, oracleDatabaseConnector, orimonConnector, outlookMail, outreachConnector, paddleConnector, pagerdutyConnector, pandadoc, paperformConnector, parquetFilesConnector, parseStripeSignatureHeader, parseurConnector, pastefyConnector, paychexConnector, paywhirlConnector, pdfmonkeyConnector, peekshotConnector, perplexityAiConnector, personalAiConnector, phantombusterConnector, phonyConnector, pinchPaymentsConnector, pineconeConnector, pingIdentityConnector, pipedreamConnector, pipedriveConnector, placidConnector, plaidConnector, plausibleConnector, pocketbaseConnector, pollybotAiConnector, polytomicConnector, postgresConnector, posthogConnector, postizConnector, postmarkConnector, predictLeadsConnector, pricelabsConnector, productboardConnector, proxycurlConnector, publicKafkaSocketFactory, pushbulletConnector, pushoverConnector, qawafelConnector, qdrantConnector, quadernoConnector, quickbooksConnector, quickzuConnector, rabbitMqConnector, raiaAiConnector, rampConnector, rapidtextAiConnector, reachinboxConnector, recallAiConnector, recurlyConnector, redactOAuthSensitiveText, reddit, redditConnector, redisConnector, redshiftConnector, refreshAccessToken, reoonVerifierConnector, replyIoConnector, resendConnector, resolveConnectorAdapterFactoryOptions, retableConnector, retellAiConnector, ringcentralConnector, ripplingConnector, robollyConnector, rssConnector, runwareConnector, saasticConnector, sageIntacctConnector, saleorConnector, salesforceConnector, saleshandyConnector, salesloftConnector, sanityConnector, sardisConnector, savvycalConnector, scimConnector, scrapegraphaiConnector, scrapelessConnector, seamlessAiConnector, seekTableConnector, segmentConnector, semrushConnector, sendblueConnector, sendgridConnector, sendinblueConnector, sendpulseConnector, senjaConnector, sentryConnector, serperConnector, serpstatConnector, serviceNowConnector, sftpConnector, sharepoint, shippoConnector, shopifyConnector, shortIoConnector, signNowConnector, signrequestConnector, signwellConnector, similarwebConnector, simplirouteConnector, simplybookmeConnector, skyprepConnector, slack, slackEventsConnector, smartleadConnector, smartsheetConnector, smartsuiteConnector, smooveConnector, smsmodeConnector, snovIoConnector, snowflakeConnector, socialkitConnector, squareConnector, startOAuthFlow, stripeConnector, stripePackConnector, stripeWebhookReceiverConnector, supabaseConnector, supadataConnector, swarmnodeConnector, systemeIoConnector, tableauConnector, talkableConnector, tallyConnector, tangleIdentity, taxjarConnector, teableConnector, telegramConnector, telnyxConnector, tenzoConnector, textcortexAiConnector, theirstackConnector, ticktickConnector, tiktok, tiktokConnector, timeOpsConnector, timelinesAiConnector, tlDvConnector, todoistConnector, togglTrackConnector, totalcmsConnector, trelloConnector, twentyConnector, twilioConnector, twilioSmsConnector, twinLabsConnector, twitter, twitterConnector, typeformConnector, typefullyConnector, umamiConnector, upgradechatConnector, uscreenConnector, usergemsConnector, validateConnectorManifest, validatedmailsConnector, vapiConnector, vboutConnector, vercelConnector, verifyEmailSignature, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature, videoaskConnector, vidlab7Connector, vlmRunConnector, voucheryIoConnector, vtexConnector, vtigerConnector, wafeqConnector, warmlyConnector, weaviateConnector, webflowConnector, webhookConnector, webscrapingAiConnector, whatConvertsConnector, whatsappBusiness, whatsappConnector, whatsscaleConnector, wizaConnector, wonderchatConnector, woocommerceConnector, woodpeckerConnector, wootricConnector, wordpressConnector, workableConnector, workdayConnector, wrikeConnector, writesonicBulkConnector, wufooConnector, xeroConnector, youcanbookmeConnector, youtubeDataConnector, zagomailConnector, zapierConnector, zendeskConnector, zendeskSellConnector, zenrowsConnector, zeplinConnector, zerobounceConnector, zohoBookingsConnector, zohoBooksConnector, zohoCampaignsConnector, zohoCrmConnector, zohoDeskConnector, zohoInvoiceConnector, zohoMailConnector, zoomConnector, zoominfoConnector, zuoraConnector };
7
+ export { CONNECTOR_ADAPTER_FACTORIES, CredentialsExpired, DEFAULT_SIGNATURE_TOLERANCE_SECONDS, DEFAULT_TANGLE_PLATFORM_URL, InMemoryOAuthFlowStore, ProviderConfigError, ProviderRateLimited, ResourceContention, TANGLE_API_KEY_PREFIX, TANGLE_SERVICE_TOKEN_PREFIX, TELEGRAM_FILE_DOWNLOAD_ROOT, TangleIdentityUnreachableError, _resetPendingFlowsForTests, activecampaignConnector, actualbudgetConnector, acuitySchedulingConnector, acumbamailConnector, adobeCreativeCloudConnector, adobeSignConnector, adpConnector, affinityConnector, afforaiConnector, agentxConnector, aianswerConnector, aidbaseConnector, aipriseConnector, airOpsConnector, aircallConnector, airparserConnector, airtableConnector, airtopConnector, alaiConnector, altTextAiConnector, alttextifyConnector, amazonBedrockConnector, amazonCloudWatchConnector, amazonEventBridgeConnector, amazonLambdaConnector, amazonS3Connector, amazonSecretsManagerConnector, amazonSesConnector, amazonSnsConnector, amazonSqsConnector, amazonTextractConnector, aminosConnector, ampecoConnector, amplemarketConnector, amplitudeConnector, anthropicConnector, anyhookWebsocketConnector, apifyConnector, apitableConnector, apitemplateIoConnector, apolloConnector, appfollowConnector, asanaConnector, ashbyConnector, askHandleConnector, asknewsConnector, assemblyaiConnector, assertValidConnectorManifest, attioConnector, auth0Connector, autoboundConnector, autocallsConnector, avalaraConnector, avianConnector, avomaConnector, azureAdConnector, azureBlobStorageConnector, azureCommunicationServicesConnector, azureEventGridConnector, azureOpenaiConnector, azureServiceBusConnector, backblazeConnector, bamboohrConnector, bannerbearConnector, barcodeLookupConnector, baremetricsConnector, base44Connector, basecampConnector, baserowConnector, beamerConnector, beehiivConnector, bettercontactConnector, bettermodeConnector, bexioConnector, bigcommerceConnector, biginByZohoConnector, bikaConnector, billComConnector, billplzConnector, bitlyConnector, blandAiConnector, blueskyConnector, bolnaConnector, bonjoroConnector, bookedinConnector, boxConnector, braveSearchConnector, brazeConnector, brexConnector, brightdataConnector, brilliantDirectoriesConnector, browseAiConnector, builtwithConnector, bundledApiKeyHint, bundledAuthMode, bundledOAuth2Auth, bundledOAuth2AuthContract, buttondownConnector, calCom, calComConnector, calendlyConnector, cambAiConnector, campaignMonitorConnector, cannyConnector, canvaConnector, capsuleCrmConnector, captainDataConnector, cartloomConnector, cashfreePaymentsConnector, certopusConnector, chainAwareConnector, chainalysisApiConnector, chaindeskConnector, chargebeeConnector, chargekeepConnector, chartlyConnector, chatAidConnector, chatDataConnector, chatbaseConnector, chatlingConnector, chatnodeConnector, chatsistantConnector, chatwootConnector, checkoutConnector, chessComConnector, circleConnector, classifyGoogleError, classifyGoogleReason, claudeConnector, clayConnector, clearoutConnector, clearoutphoneConnector, clicdataConnector, clickfunnelsConnector, clicksendConnector, clickupConnector, clientCredentialsRestConnector, clioConnector, clockifyConnector, clockodoConnector, closeConnector, cloudbedsConnector, cloudconvertConnector, cloudflareConnector, cloudinaryConnector, cloutlyConnector, codaConnector, codyConnector, cognismConnector, cognitoFormsConnector, cohereConnector, cometapiConnector, comfyicuConnector, commonRoomConnector, confluenceConnector, constantContactConnector, consumePendingFlow, contactoutConnector, contentfulConnector, contextualAiConnector, contiguityConnector, convertkitConnector, copperConnector, copyAiConnector, couchbaseConnector, createAmazonAdsConnector, createKafkaConnector, createLinkedinConnector, createMicrosoftAdsConnector, createMongoDbConnector, createMySqlConnector, createOAuthBasicAuthorizationHeader, createOAuthTokenRequestHeaders, createPhonyConnector, createPostgresConnector, createRabbitMqConnector, createRedisConnector, createRedshiftConnector, createSftpConnector, createTangleIdentityClient, crispConnector, crustdataConnector, cryptolensConnector, csvFilesConnector, customerIoConnector, customgptConnector, dappierConnector, dashworksConnector, datadogConnector, datafuelConnector, datocmsConnector, declarativeRestConnector, deepgramConnector, deepseekConnector, demandbaseConnector, denserAiConnector, descriptConnector, detectingAiConnector, devinConnector, dialpadConnector, digitalOceanConnector, digitalPilotConnector, discordConnector, discourseConnector, dittofeedConnector, docsbotConnector, doctlyConnector, documentproConnector, documergeConnector, docuseal, docusignConnector, dripConnector, dropboxConnector, dubConnector, duckdbConnector, dumplingAiConnector, dustConnector, easyPeasyAiConnector, ebayConnector, echowinConnector, edenAiConnector, elasticEmailConnector, elevenlabsConnector, emailitConnector, emailoctopusConnector, enrichlayerConnector, esignaturesConnector, etsyConnector, everhourConnector, exaConnector, excelFilesConnector, exchangeAuthorizationCode, facebookLeadsConnector, facebookPagesConnector, factorsAiConnector, fathomAnalyticsConnector, fathomConnector, featheryConnector, fellowConnector, figjamConnector, figmaConnector, filloutFormsConnector, findymailConnector, firebaseConnector, fireberryConnector, firecrawlConnector, firefliesAiConnector, firstHeader, flipandoConnector, flowParserConnector, flowiseConnector, flowluConnector, folkConnector, foreplayCoConnector, formEncodeOAuthClientCredential, formbricksConnector, formstackConnector, fountainConnector, fragmentConnector, frameConnector, freeAgentConnector, freshdeskConnector, freshsalesConnector, freshserviceConnector, frontConnector, fullenrichConnector, gameballConnector, gammaConnector, geminiConnector, genderApiConnector, generatebannersConnector, getBundledAdapterManifest, getresponseConnector, ghostcmsConnector, giftbitConnector, gistlyConnector, giteaConnector, githubConnector, gitlabConnector, glideConnector, gmail, gongConnector, googleAdsConnector, googleAnalyticsConnector, googleApiError, googleBigqueryConnector, googleCalendar, googleCloudStorageConnector, googleContactsConnector, googleDocs, googleDrive, googleErrorReason, googleForms, googleGeminiConnector, googleMeetConnector, googleMyBusinessConnector, googlePubSubConnector, googleSearchConnector, googleSearchConsoleConnector, googleSheets, googleSlidesConnector, googleTasksConnector, googleTestFailureReason, googleVertexaiConnector, googlechatConnector, gorgiasConnector, gotifyConnector, gptzeroDetectAiConnector, granolaConnector, greenhouseConnector, greenptConnector, greipConnector, griptapeConnector, gristConnector, gtmAgentConnector, guideliteConnector, gustoConnector, harvestConnector, hasBundledAdapter, hashiCorpVaultConnector, hastewireConnector, heartbeatConnector, hedyConnector, hellosign, helpscoutConnector, heygenConnector, heymarketSmsConnector, heyreachConnector, hightouchConnector, housecallProConnector, httpConnector, hubspot, huggingFaceConnector, huggingfaceConnector, humeAiConnector, hunterConnector, hystructConnector, ibmCognoseConnector, imageRouterConnector, imapConnector, influencersClubConnector, inkboxConnector, insightlyConnector, insightoAiConnector, instaChartsConnector, instagramBusinessConnector, instantlyAiConnector, instasentConnector, intercomConnector, invoiceninjaConnector, ironcladConnector, jinaAiConnector, jiraCloudConnector, jiraDataCenterConnector, joggAiConnector, jotformConnector, justInvoiceConnector, justcallConnector, kafkaConnector, kallabotAiConnector, kapsoConnector, kimaiConnector, kissflowConnector, kizeoFormsConnector, klaviyoConnector, klentyConnector, knackConnector, knockConnector, koFiConnector, kommoConnector, kudosityConnector, kustomerConnector, lagrowthmachineConnector, leadConnectorConnector, leadfeederConnector, leadmagicConnector, leapAiConnector, leexiConnector, lemlistConnector, lemonSqueezyConnector, letsCalendarConnector, lettaConnector, leverConnector, lightfunnelsConnector, linearConnector, linkaConnector, linkedinAdsConnector, linkedinConnector, linkupConnector, linqConnector, linqWhatsappConnector, listBundledAdapterKinds, listBundledAdapterManifests, listBundledConnectorAdapters, llmrailsConnector, lobstermailConnector, localaiConnector, loftyConnector, logrocketConnector, logsnagConnector, lokaliseConnector, loopsConnector, lucidyaConnector, lushaConnector, luxuryPresenceConnector, magicalApiConnector, mailchainConnector, mailchimpConnector, mailerLiteConnector, mailercheckConnector, mailerooConnector, mailgunConnector, makeConnector, manychatConnector, marketoConnector, mastodonConnector, matomoConnector, matrixConnector, mattermostConnector, mauticConnector, medullarConnector, meetgeekAiConnector, memConnector, messagebirdConnector, metaAdsConnector, metabaseConnector, microsoft365PeopleConnector, microsoft365PlannerConnector, microsoftCalendar, microsoftDynamics365BusinessCentralConnector, microsoftDynamicsCrmConnector, microsoftExcel365Connector, microsoftGraph, microsoftOnenoteConnector, microsoftPowerBiConnector, microsoftTeams, microsoftTodoConnector, millionverifierConnector, mindStudioConnector, mindeeConnector, miroConnector, missiveConnector, mixmaxConnector, mixpanelConnector, modelslabConnector, modjoConnector, mollieConnector, mondayConnector, mongodbConnector, mycaseConnector, mysqlConnector, n8nConnector, netlifyConnector, netsuiteConnector, neverbounceConnector, niftyConnector, ninjapipeConnector, nocodbConnector, nooksConnector, notion, notionConnector, ntfyConnector, oauthClientCredentialRedactionValues, oceanIoConnector, odooConnector, oktaConnector, omniCoConnector, omnihrConnector, oneDrive, oneSpanSignConnector, oneloginConnector, openPhoneConnector, openRouterConnector, openaiConnector, openmicAiConnector, opnformConnector, opportifyConnector, opsgenieConnector, oracleDatabaseConnector, orimonConnector, outlookMail, outreachConnector, paddleConnector, pagerdutyConnector, pandadoc, paperformConnector, parquetFilesConnector, parseStripeSignatureHeader, parseurConnector, pastefyConnector, paychexConnector, paywhirlConnector, pdfmonkeyConnector, peekshotConnector, perplexityAiConnector, personalAiConnector, phantombusterConnector, phonyConnector, pinchPaymentsConnector, pineconeConnector, pingIdentityConnector, pinterestAdsConnector, pipedreamConnector, pipedriveConnector, placidConnector, plaidConnector, plausibleConnector, pocketbaseConnector, pollybotAiConnector, polytomicConnector, postgresConnector, posthogConnector, postizConnector, postmarkConnector, predictLeadsConnector, pricelabsConnector, productboardConnector, proxycurlConnector, publicKafkaSocketFactory, pushbulletConnector, pushoverConnector, qawafelConnector, qdrantConnector, quadernoConnector, quickbooksConnector, quickzuConnector, rabbitMqConnector, raiaAiConnector, rampConnector, rapidtextAiConnector, reachinboxConnector, recallAiConnector, recurlyConnector, redactOAuthSensitiveText, reddit, redditAdsConnector, redditConnector, redisConnector, redshiftConnector, refreshAccessToken, reoonVerifierConnector, replyIoConnector, resendConnector, resolveConnectorAdapterFactoryOptions, retableConnector, retellAiConnector, ringcentralConnector, ripplingConnector, robollyConnector, rssConnector, runwareConnector, saasticConnector, sageIntacctConnector, saleorConnector, salesforceConnector, saleshandyConnector, salesloftConnector, sanityConnector, sardisConnector, savvycalConnector, scimConnector, scrapegraphaiConnector, scrapelessConnector, seamlessAiConnector, seekTableConnector, segmentConnector, semrushConnector, sendblueConnector, sendgridConnector, sendinblueConnector, sendpulseConnector, senjaConnector, sentryConnector, serperConnector, serpstatConnector, serviceNowConnector, sftpConnector, sharepoint, shippoConnector, shopifyConnector, shortIoConnector, signNowConnector, signrequestConnector, signwellConnector, similarwebConnector, simplirouteConnector, simplybookmeConnector, skyprepConnector, slack, slackEventsConnector, smartleadConnector, smartsheetConnector, smartsuiteConnector, smooveConnector, smsmodeConnector, snapchatAdsConnector, snovIoConnector, snowflakeConnector, socialkitConnector, squareConnector, startOAuthFlow, stripeConnector, stripePackConnector, stripeWebhookReceiverConnector, supabaseConnector, supadataConnector, swarmnodeConnector, systemeIoConnector, tableauConnector, talkableConnector, tallyConnector, tangleIdentity, taxjarConnector, teableConnector, telegramConnector, telnyxConnector, tenzoConnector, textcortexAiConnector, theirstackConnector, ticktickConnector, tiktok, tiktokAdsConnector, tiktokConnector, timeOpsConnector, timelinesAiConnector, tlDvConnector, todoistConnector, togglTrackConnector, totalcmsConnector, trelloConnector, twentyConnector, twilioConnector, twilioSmsConnector, twinLabsConnector, twitter, twitterConnector, typeformConnector, typefullyConnector, umamiConnector, upgradechatConnector, uscreenConnector, usergemsConnector, validateConnectorManifest, validatedmailsConnector, vapiConnector, vboutConnector, vercelConnector, verifyEmailSignature, verifyHmacSignature, verifySlackSignature, verifyStripeSignature, verifyTwilioSignature, videoaskConnector, vidlab7Connector, vlmRunConnector, voucheryIoConnector, vtexConnector, vtigerConnector, wafeqConnector, warmlyConnector, weaviateConnector, webflowConnector, webhookConnector, webscrapingAiConnector, whatConvertsConnector, whatsappBusiness, whatsappConnector, whatsscaleConnector, wizaConnector, wonderchatConnector, woocommerceConnector, woodpeckerConnector, wootricConnector, wordpressConnector, workableConnector, workdayConnector, wrikeConnector, writesonicBulkConnector, wufooConnector, xAdsConnector, xeroConnector, youcanbookmeConnector, youtubeDataConnector, zagomailConnector, zapierConnector, zendeskConnector, zendeskSellConnector, zenrowsConnector, zeplinConnector, zerobounceConnector, zohoBookingsConnector, zohoBooksConnector, zohoCampaignsConnector, zohoCrmConnector, zohoDeskConnector, zohoInvoiceConnector, zohoMailConnector, zoomConnector, zoominfoConnector, zuoraConnector };
@@ -4,7 +4,7 @@ import { i as IntegrationRegistryEntry, n as IntegrationRegistry, o as Integrati
4
4
  import { n as IntegrationToolDefinition } from "./catalog-CrEDB-gP.js";
5
5
  import "./billing-access-policy-CtvuHvM8.js";
6
6
  import "./index-CJBkqBWQ.js";
7
- import "./index-CgeaeuJe.js";
7
+ import "./index-Bb---RDI.js";
8
8
  import { a as StaticIntegrationPolicyOptions, b as IntegrationAuditSink, i as StaticIntegrationPolicyEngine } from "./policy-DCRcxl7B.js";
9
9
  //#region src/core-error.d.ts
10
10
  /**
@@ -1547,4 +1547,4 @@ declare class IntegrationHubClient {
1547
1547
  declare function createIntegrationHubClient(options: IntegrationHubClientOptions): IntegrationHubClient;
1548
1548
  //#endregion
1549
1549
  export { getActivepiecesOverride as $, TangleAppsClient as $n, IntegrationHealthcheckStatus as $t, TangleIntegrationContract as A, createCredentialBackedAdapterProvider as An, buildCanonicalLaunchConnectors as Ar, redactInvocationEnvelope as At, listTangleIntegrationContracts as B, RenderConsentOptions as Bn, resolveIntegrationApproval as Br, validateProviderPassthroughRequest as Bt, TangleCatalogExecutorProviderOptions as C, discoverWorkspaceCapabilities as Cn, IntegrationRuntimeHub as Cr, IntegrationSandboxHostOptions as Ct, TangleIntegrationCatalogEntry as D, InMemoryIntegrationOAuthStateStore as Dn, CANONICAL_INTEGRATION_ACTIONS as Dr, invocationRequestFromEnvelope as Dt, TangleCatalogTriggerInvocation as E, CredentialBackedAdapterProviderOptions as En, createIntegrationRuntime as Er, dispatchIntegrationInvocation as Et, buildTangleIntegrationCatalogConnectors as F, adapterManifestsToConnectors as Fn, IntegrationApprovalFilter as Fr, PlatformIntegrationPolicyPresetOptions as Ft, IntegrationCatalogFreshnessResult as G, TangleIntegrationsClient as Gn, assertValidIntegrationManifest as Gt, renderTangleCatalogRuntimePnpmAddCommand as H, renderConsentSummary as Hn, IntegrationErrorRuntimeCode as Hr, ManifestValidationIssue as Ht, createTangleCatalogExecutorProvider as I, createConnectorAdapterCatalogSource as In, IntegrationApprovalRecord as Ir, createPlatformIntegrationPolicyPreset as It, ActivepiecesExecutorInvocation as J, AppSummary as Jn, inferIntegrationManifestFromTools as Jt, auditIntegrationCatalogFreshness as K, TangleIntegrationsClientOptions as Kn, calendarExercisePlannerManifest as Kt, extractExternalCatalogPublicCount as L, createConnectorAdapterProvider as Ln, IntegrationApprovalStatus as Lr, PROVIDER_PASSTHROUGH_ACTION as Lt, TangleIntegrationImplementationKind as M, revokeConnection as Mn, ApprovalBackedPolicyEngine as Mr, CatalogExecutorInvocation as Mt, auditTangleIntegrationCatalogFreshness as N, ConnectorAdapterProviderOptions as Nn, ApprovalBackedPolicyOptions as Nr, CatalogExecutorProviderOptions as Nt, TangleIntegrationCatalogFreshnessOptions as O, InMemoryIntegrationSecretStore as On, CanonicalIntegrationActionId as Or, normalizeIntegrationResult as Ot, buildTangleCatalogRuntimePackageManifest as P, OAuthClientCredentials as Pn, InMemoryIntegrationApprovalStore as Pr, createCatalogExecutorProvider as Pt, ActivepiecesPieceOverride as Q, RegisteredApp as Qn, IntegrationHealthcheckResult as Qt, listTangleIntegrationCatalogEntries as R, manifestToConnector as Rn, IntegrationApprovalStore as Rr, ProviderHttpRequestInput as Rt, TangleCatalogExecutorInvocation as S, WorkspaceTrigger as Sn, IntegrationRuntime as Sr, IntegrationSandboxHostHub as St, TangleCatalogRuntimePackageManifestOptions as T, ConnectionCredentialResolverOptions as Tn, IntegrationSandboxBundle as Tr, buildIntegrationInvocationEnvelope as Tt, ACTIVEPIECES_PUBLIC_CATALOG_URL as U, TangleIntegrationInvokeInput as Un, ManifestValidationResult as Ut, listTangleNativeAdapterIds as V, renderApprovalCopy as Vn, IntegrationError as Vr, InferIntegrationRequirementsOptions as Vt, IntegrationCatalogFreshnessOptions as W, TangleIntegrationInvokeResult as Wn, MissingRequirementExplanation as Wt, createActivepiecesExecutorProvider as X, BrokerToken as Xn, InMemoryIntegrationHealthcheckStore as Xt, ActivepiecesExecutorProviderOptions as Y, AppsOwnerPolicy as Yn, validateIntegrationManifest as Yt, ACTIVEPIECES_OVERRIDES as Z, RegisterAppInput as Zn, IntegrationHealthcheckCheck as Zt, sanitizeConnection as _, createIntegrationWorkflowRuntime as _n, IntegrationManifestResolution as _r, importMcpConnector as _t, IntegrationHubAuth as a, IntegrationEventStore as an, IntegrationBridgeToolBinding as ar, GatewayCatalogEntry as at, TANGLE_INTEGRATIONS_CATALOG_PROVIDER_ID as b, WorkspaceCapabilityDiscovery as bn, IntegrationRequirementResolution as br, IntegrationInvocationEnvelopeValidationOptions as bt, IntegrationHubRequestError as c, receiveIntegrationWebhook as cn, decodeIntegrationBridgePayload as cr, createGatewayCatalogProvider as ct, MintCapabilityBundleInput as d, InstalledIntegrationWorkflow as dn, redactIntegrationBridgePayload as dr, ImportCatalogOptions as dt, IntegrationHealthcheckStore as en, TangleAppsClientOptions as er, ActivepiecesCatalogAuthField as et, ResolveManifestInput as f, IntegrationWorkflowDefinition as fn, InMemoryIntegrationGrantStore as fr, McpCatalog as ft, createMockIntegrationProvider as g, IntegrationWorkflowStore as gn, IntegrationManifest as gr, importGraphqlConnector as gt, createHttpIntegrationProvider as h, IntegrationWorkflowRuntimeOptions as hn, IntegrationGrantStore as hr, OpenApiOperation as ht, CreateGrantsInput as i, InMemoryIntegrationEventStore as in, IntegrationBridgePayload as ir, GatewayCatalogAction as it, TangleIntegrationContractStatus as j, resolveConnectionCredentials as jn, canonicalActionConnectorId as jr, validateIntegrationInvocationEnvelope as jt, TangleIntegrationCatalogFreshnessResult as k, createConnectionCredentialResolver as kn, CanonicalLaunchConnectorOptions as kr, redactCapability as kt, IntegrationOwnerPolicy as l, storedEventToTriggerEvent as ln, encodeIntegrationBridgePayload as lr, normalizeGatewayCatalog as lt, InMemoryConnectionStore as m, IntegrationWorkflowRuntimeHub as mn, IntegrationGrant as mr, OpenApiDocument as mt, CheckConnectorInput as n, runIntegrationHealthcheck as nn, requireBrokerGrantReceipt as nr, buildActivepiecesConnectors as nt, IntegrationHubClient as o, IntegrationWebhookReceiverResult as on, buildIntegrationBridgeEnvironment as or, GatewayCatalogProviderOptions as ot, createIntegrationHubClient as p, IntegrationWorkflowRuntime as pn, IntegrationCapabilityBinding as pr, McpCatalogTool as pt, extractActivepiecesPublicPieceCount as q, createTangleIntegrationsClient as qn, explainMissingRequirements as qt, CheckConnectorResult as r, runIntegrationHealthchecks as rn, DEFAULT_INTEGRATION_BRIDGE_ENV as rr, listActivepiecesCatalogEntries as rt, IntegrationHubClientOptions as s, StoredIntegrationEvent as sn, buildIntegrationBridgePayload as sr, GatewayCatalogTrigger as st, CapabilityBundleResult as t, healthcheckRequest as tn, createTangleAppsClient as tr, ActivepiecesCatalogEntry as tt, ListGrantsInput as u, InMemoryIntegrationWorkflowStore as un, parseIntegrationBridgeEnvironment as ur, GraphqlOperationSpec as ut, INTEGRATION_KIND_ALIASES as v, DiscoverWorkspaceCapabilitiesInput as vn, IntegrationRequirement as vr, importOpenApiConnector as vt, TangleCatalogRuntimePackageManifest as w, filterDiscoveryByWorkspaceScopes as wn, IntegrationRuntimeOptions as wr, NormalizedIntegrationResult as wt, TANGLE_INTEGRATIONS_CATALOG_SOURCE as x, WorkspaceToolSchema as xn, IntegrationRequirementStatus as xr, IntegrationSandboxHost as xt, canonicalIntegrationKind as y, WorkspaceCapability as yn, IntegrationRequirementMode as yr, IntegrationInvocationEnvelope as yt, listTangleIntegrationCatalogRuntimePackages as z, ConsentSummary as zn, createApprovalBackedPolicyEngine as zr, ProviderPassthroughPolicy as zt };
1550
- //# sourceMappingURL=consumer-CcTc6QRQ.d.ts.map
1550
+ //# sourceMappingURL=consumer-DYpMLeNG.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consumer-CcTc6QRQ.d.ts","names":["_$__core_types_js0.IntegrationProvider"],"sources":["../src/core-error.ts","../src/approval.ts","../src/actions.ts","../src/runtime.ts","../src/bridge.ts","../src/apps.ts","../src/client.ts","../src/consent.ts","../src/adapter-provider.ts","../src/credentials.ts","../src/discovery.ts","../src/workflow.ts","../src/events.ts","../src/healthcheck.ts","../src/manifest.ts","../src/passthrough.ts","../src/presets.ts","../src/catalog-executor.ts","../src/sandbox.ts","../src/importers.ts","../src/gateway-catalog.ts","../src/activepieces-catalog.ts","../src/activepieces-overrides.ts","../src/activepieces-provider.ts","../src/catalog-freshness.ts","../src/tangle-catalog.ts","../src/integration-kind-aliases.ts","../src/index.ts","../src/consumer.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;KAYY;cAiBC,yBAAyB;WAGzB,MAAM;EAFjB,YACE,iBACS,MAAM;;;;KCrBP;UAEK;EACf;EACA,SAAS;EACT,QAAQ;EACR;EACA;EACA,aAAa;EACb;EACA;EACA,WAAW;;UAGI;EACf,IAAI,qBAAqB,QAAQ,yCAAyC;EAC1E,I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AAU;;EAEV;;UAGe;EACf,QAAQ;;;EAGR,KAAK;;UAGU;;EAEf;;EAEA;;EAEA,OAAO;EACP;EACA;;UAGe;;EAEf;;EAEA,aAAa;;EAEb,YAAY;;;;;;cAOD;mBACM;mBACA;mBACA;mBACA;mBACA;mBACA;mBACA;EAEjB,YAAY,SAAS;;;;;;;EAuCf,gBAAgB,OAAO,uBAAuB,QAAQ;;;;;;EAetD,eAAe,OAAO,sBAAsB,QAAQ;;;;EAyCpD,aAAa,OAAO,oBAAoB,QAAQ;;EAgBhD,WAAW,OAAO,kBAAkB,QAAQ;;;;EAgB5C,qBAAqB,OAAO,4BAA4B,QAAQ;;EAgBhE,gBAAgB;IAAS;MAAmB,QAAQ;UAUlD;UAaM;;iBAkGA,2BACd,SAAS,8BACR"}
1
+ {"version":3,"file":"consumer-DYpMLeNG.d.ts","names":["_$__core_types_js0.IntegrationProvider"],"sources":["../src/core-error.ts","../src/approval.ts","../src/actions.ts","../src/runtime.ts","../src/bridge.ts","../src/apps.ts","../src/client.ts","../src/consent.ts","../src/adapter-provider.ts","../src/credentials.ts","../src/discovery.ts","../src/workflow.ts","../src/events.ts","../src/healthcheck.ts","../src/manifest.ts","../src/passthrough.ts","../src/presets.ts","../src/catalog-executor.ts","../src/sandbox.ts","../src/importers.ts","../src/gateway-catalog.ts","../src/activepieces-catalog.ts","../src/activepieces-overrides.ts","../src/activepieces-provider.ts","../src/catalog-freshness.ts","../src/tangle-catalog.ts","../src/integration-kind-aliases.ts","../src/index.ts","../src/consumer.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;KAYY;cAiBC,yBAAyB;WAGzB,MAAM;EAFjB,YACE,iBACS,MAAM;;;;KCrBP;UAEK;EACf;EACA,SAAS;EACT,QAAQ;EACR;EACA;EACA,aAAa;EACb;EACA;EACA,WAAW;;UAGI;EACf,IAAI,qBAAqB,QAAQ,yCAAyC;EAC1E,IAAI,QAAQ,4BAA4B;EACxC,KAAK,SAAS,4BAA4B,QAAQ,+BAA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;EAEA;;EAEA,OAAO;EACP;EACA;;UAGe;;EAEf;;EAEA,aAAa;;EAEb,YAAY;;;;;;cAOD;mBACM;mBACA;mBACA;mBACA;mBACA;mBACA;mBACA;EAEjB,YAAY,SAAS;;;;;;;EA0Cf,gBAAgB,OAAO,uBAAuB,QAAQ;;;;;;EAetD,eAAe,OAAO,sBAAsB,QAAQ;;;;EAyCpD,aAAa,OAAO,oBAAoB,QAAQ;;EAgBhD,WAAW,OAAO,kBAAkB,QAAQ;;;;EAgB5C,qBAAqB,OAAO,4BAA4B,QAAQ;;EAgBhE,gBAAgB;IAAS;MAAmB,QAAQ;UAUlD;UAaM;;iBAkGA,2BACd,SAAS,8BACR"}
@@ -1,2 +1,2 @@
1
- import { a as IntegrationHubAuth, c as IntegrationHubRequestError, d as MintCapabilityBundleInput, f as ResolveManifestInput, i as CreateGrantsInput, l as IntegrationOwnerPolicy, n as CheckConnectorInput, o as IntegrationHubClient, p as createIntegrationHubClient, r as CheckConnectorResult, s as IntegrationHubClientOptions, t as CapabilityBundleResult, u as ListGrantsInput } from "./consumer-CcTc6QRQ.js";
1
+ import { a as IntegrationHubAuth, c as IntegrationHubRequestError, d as MintCapabilityBundleInput, f as ResolveManifestInput, i as CreateGrantsInput, l as IntegrationOwnerPolicy, n as CheckConnectorInput, o as IntegrationHubClient, p as createIntegrationHubClient, r as CheckConnectorResult, s as IntegrationHubClientOptions, t as CapabilityBundleResult, u as ListGrantsInput } from "./consumer-DYpMLeNG.js";
2
2
  export { CapabilityBundleResult, CheckConnectorInput, CheckConnectorResult, CreateGrantsInput, IntegrationHubAuth, IntegrationHubClient, IntegrationHubClientOptions, IntegrationHubRequestError, IntegrationOwnerPolicy, ListGrantsInput, MintCapabilityBundleInput, ResolveManifestInput, createIntegrationHubClient };
package/dist/consumer.js CHANGED
@@ -55,7 +55,8 @@ var IntegrationHubClient = class {
55
55
  this.endpoint = (options.endpoint ?? "https://id.tangle.tools").replace(/\/+$/, "");
56
56
  this.product = options.product.trim();
57
57
  this.auth = options.auth;
58
- this.fetchImpl = options.fetchImpl ?? fetch;
58
+ const fetchImpl = options.fetchImpl ?? fetch;
59
+ this.fetchImpl = (input, init) => fetchImpl(input, init);
59
60
  this.timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
60
61
  this.maxAttempts = Math.max(1, options.maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
61
62
  this.ownerPolicy = options.ownerPolicy ?? { authorize: ({ authMode, serviceName }) => authMode === "service" && Boolean(serviceName?.trim()) };
@@ -1 +1 @@
1
- {"version":3,"file":"consumer.js","names":[],"sources":["../src/consumer.ts"],"sourcesContent":["/**\n * @stable Integration Hub consumer client.\n *\n * The third client-shaped surface a product needs, alongside the two that\n * already ship:\n *\n * - `createTangleIntegrationsClient` (`client.ts`) — the *invoke* client.\n * Capability-token auth, runs INSIDE a sandbox / generated app, single\n * endpoint `/v1/integrations/invoke`.\n * - `startConnectFlow` / `finishConnectFlow` (`connect/index.ts`) — the\n * *user-consent* flow, mirrors `/cross-site/*`.\n * - **this** — the S2S *management* client. A product BACKEND (blueprint-\n * agent, sandbox, gtm-agent, tax-agent, legal-agent, evals, …) drives the\n * `/v1/integrations/{resolve-manifest,grants,capabilities/bundle,\n * healthchecks/run}` management surface on `id.tangle.tools` on behalf of\n * an identified user.\n *\n * Every consumer needs the identical client — the wire protocol, the\n * `{ success, data }` envelope, the auth header shape are all platform-owned.\n * Re-implementing a bespoke fetch loop per product forks the protocol and the\n * copies drift. This module is that shared implementation. It mirrors the\n * `connect/index.ts` design rule one-for-one: DO NOT invent the wire protocol\n * — speak exactly what `products/platform/api/src/routes/integrations.ts`\n * serves.\n *\n * Two auth modes — the route layer (`authMiddleware`) accepts either:\n *\n * - `service` — a `svc_*` service token + `X-Service-Name`. The acting\n * user travels in `X-Platform-User-Id`. The platform honors that header\n * only for service tokens whose `SERVICE_SCOPES` set contains\n * `impersonate:user`; a token without it is rejected (403). Reaches the\n * four management paths the platform allowlists for service tokens.\n * - `user-key` — a per-user `sk-tan-*` API key (minted via the connect\n * flow). The key identifies the user; no impersonation header. Reaches\n * every route the user themselves can.\n *\n * The capability-token `invoke` endpoint is intentionally NOT exposed here —\n * that is `createTangleIntegrationsClient`'s job and uses a different auth.\n */\n\nimport type { IntegrationActor, IntegrationConnection } from './index.js'\nimport type {\n IntegrationGrant,\n IntegrationManifest,\n IntegrationManifestResolution,\n IntegrationRequirementMode,\n IntegrationRequirementResolution,\n IntegrationSandboxBundle,\n} from './runtime.js'\nimport type { IntegrationHealthcheckResult } from './healthcheck.js'\nimport { DEFAULT_TANGLE_PLATFORM_URL } from './connectors/adapters/tangle-id.js'\nimport {\n TANGLE_API_KEY_PREFIX,\n TANGLE_BROKER_TOKEN_PREFIX,\n TANGLE_SERVICE_TOKEN_PREFIX,\n} from './connectors/adapters/tangle-id.js'\n\n/** Matches the platform's `PLATFORM_USER_ID_PATTERN` (`auth.ts`). A user id\n * that fails this is rejected client-side before the request leaves. */\nconst PLATFORM_USER_ID_PATTERN = /^[A-Za-z0-9_-]{1,128}$/\n\nconst DEFAULT_TIMEOUT_MS = 10_000\nconst DEFAULT_MAX_ATTEMPTS = 2\n/** HTTP statuses worth a retry — transient platform/edge failures only.\n * 4xx is deterministic and never retried. */\nconst RETRYABLE_STATUSES = new Set([502, 503, 504])\n\nexport type IntegrationHubAuth =\n | {\n mode: 'service'\n /** The `svc_*` token issued to this product. */\n serviceToken: string\n /** Registered service name — sent as `X-Service-Name`. Required\n * because one token may be shared across services, in which case the\n * platform demands the header to disambiguate. */\n serviceName: string\n }\n | {\n mode: 'user-key'\n /** A per-user `sk-tan-*` key bound to the acting user. */\n apiKey: string\n }\n\nexport interface IntegrationHubClientOptions {\n /** The product / consumer identifier (e.g. `blueprint-agent`). Sent as the\n * `product` field of resolve-manifest calls; recorded platform-side. */\n product: string\n /** Service-token or per-user-key auth. */\n auth: IntegrationHubAuth\n /** Platform base URL. Defaults to `https://id.tangle.tools`. */\n endpoint?: string\n /** Injected for tests. Defaults to the global `fetch`. */\n fetchImpl?: typeof fetch\n /** Per-request timeout in ms. Default 10_000. */\n timeoutMs?: number\n /** Max attempts on transient (network / 502 / 503 / 504) failures.\n * Default 2 — i.e. one retry. */\n maxAttempts?: number\n /**\n * Authoritative owner check for caller-supplied user ids. Service-token\n * requests may use the Platform's authenticated named-service context; a\n * user-key request must provide a Platform-backed policy.\n */\n ownerPolicy?: IntegrationOwnerPolicy\n}\n\nexport interface IntegrationOwnerPolicy {\n authorize(input: {\n userId: string\n product: string\n authMode: IntegrationHubAuth['mode']\n serviceName?: string\n }): Promise<boolean> | boolean\n}\n\n/** Thrown for every non-2xx response and every transport failure. Carries the\n * HTTP status and the platform error code so callers can branch precisely\n * (`403` + `impersonate` → the service token lacks the scope; `409` /\n * `missing_connection` → prompt the user to connect). */\nexport class IntegrationHubRequestError extends Error {\n readonly name = 'IntegrationHubRequestError'\n /** HTTP status, or 0 for a network-level failure. */\n readonly status: number\n /** Platform error code (`VALIDATION_ERROR`, `scope_missing`, …) or\n * `network_error` / `http_error` when no structured code was returned. */\n readonly code: string\n /** `METHOD /path` the request targeted. */\n readonly endpoint: string\n /** True when the failure class is transient and a retry could succeed. */\n readonly retryable: boolean\n\n constructor(input: {\n status: number\n code: string\n message: string\n endpoint: string\n retryable: boolean\n }) {\n super(input.message)\n this.status = input.status\n this.code = input.code\n this.endpoint = input.endpoint\n this.retryable = input.retryable\n }\n}\n\nexport interface ResolveManifestInput {\n /** The acting user — the connection owner. */\n userId: string\n manifest: IntegrationManifest\n /** Overrides the client-level `product` for this call. */\n product?: string\n}\n\nexport interface CreateGrantsInput {\n /** The acting user — the connection owner. */\n userId: string\n /** Who the grant is FOR (the sandbox / agent / app that will invoke). */\n grantee: IntegrationActor\n manifest: IntegrationManifest\n metadata?: Record<string, unknown>\n}\n\nexport interface ListGrantsInput {\n /** The acting user — the connection owner. */\n userId: string\n /** Optional grantee filter; both fields travel together as query params. */\n grantee?: IntegrationActor\n}\n\nexport interface MintCapabilityBundleInput {\n /** The acting user — must own every connection behind the grants. */\n userId: string\n /** Who the capability bundle is issued TO (the sandbox / agent process). */\n subject: IntegrationActor\n /** Mint from every grant of a manifest … */\n manifestId?: string\n /** … or from an explicit grant id list. Exactly one of the two is required. */\n grantIds?: string[]\n grantee?: IntegrationActor\n /** Bundle TTL in ms. Platform clamps to [1s, 60m]; default 15m. */\n ttlMs?: number\n}\n\nexport interface CapabilityBundleResult {\n bundle: IntegrationSandboxBundle\n /** Bridge environment variables to inject into the sandbox process —\n * `buildIntegrationBridgeEnvironment(bundle)`, computed platform-side. */\n env: Record<string, string>\n}\n\nexport interface CheckConnectorInput {\n /** The acting user. */\n userId: string\n /** Connector to probe — `github`, `google-calendar`, `tangle-id`, … */\n connectorId: string\n /** Defaults to `read`. */\n mode?: IntegrationRequirementMode\n requiredScopes?: string[]\n requiredActions?: string[]\n}\n\nexport interface CheckConnectorResult {\n /** True when the user has an active connection satisfying the requirement. */\n connected: boolean\n /** The satisfying connection, present iff `connected`. */\n connection?: IntegrationConnection\n /** The full requirement resolution — status, missing scopes/actions, message. */\n resolution: IntegrationRequirementResolution\n}\n\n/**\n * S2S management client for the `id.tangle.tools` integration hub. One per\n * product; methods are stateless and safe to call concurrently.\n */\nexport class IntegrationHubClient {\n private readonly endpoint: string\n private readonly product: string\n private readonly auth: IntegrationHubAuth\n private readonly fetchImpl: typeof fetch\n private readonly timeoutMs: number\n private readonly maxAttempts: number\n private readonly ownerPolicy: IntegrationOwnerPolicy\n\n constructor(options: IntegrationHubClientOptions) {\n if (!options.product?.trim()) {\n throw new Error('IntegrationHubClient: product is required')\n }\n if (\n options.auth.mode === 'service' &&\n (!options.auth.serviceToken?.startsWith(TANGLE_SERVICE_TOKEN_PREFIX) ||\n options.auth.serviceToken.length <= TANGLE_SERVICE_TOKEN_PREFIX.length)\n ) {\n throw new Error('IntegrationHubClient: service auth requires a serviceToken')\n }\n if (options.auth.mode === 'service' && !options.auth.serviceName?.trim()) {\n throw new Error('IntegrationHubClient: service auth requires a serviceName')\n }\n if (\n options.auth.mode === 'user-key' &&\n (!options.auth.apiKey?.startsWith(TANGLE_API_KEY_PREFIX) ||\n options.auth.apiKey.startsWith(TANGLE_BROKER_TOKEN_PREFIX) ||\n options.auth.apiKey.length <= TANGLE_API_KEY_PREFIX.length)\n ) {\n throw new Error('IntegrationHubClient: user-key auth requires an apiKey')\n }\n this.endpoint = (options.endpoint ?? DEFAULT_TANGLE_PLATFORM_URL).replace(/\\/+$/, '')\n this.product = options.product.trim()\n this.auth = options.auth\n this.fetchImpl = options.fetchImpl ?? fetch\n this.timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS\n this.maxAttempts = Math.max(1, options.maxAttempts ?? DEFAULT_MAX_ATTEMPTS)\n this.ownerPolicy = options.ownerPolicy ?? {\n authorize: ({ authMode, serviceName }) => authMode === 'service' && Boolean(serviceName?.trim()),\n }\n }\n\n /**\n * Resolve a manifest against a user's connections. The returned\n * `ready` / `missing` split is the canonical way to ask \"does this user\n * have the connections this work needs\" — the raw connection list is not\n * reachable by a service token by design.\n */\n async resolveManifest(input: ResolveManifestInput): Promise<IntegrationManifestResolution> {\n const product = input.product?.trim() ?? this.product\n if (!product) throw new Error('IntegrationHubClient: per-call product is required')\n return this.request<IntegrationManifestResolution>('POST', '/resolve-manifest', input.userId, {\n product,\n manifest: input.manifest,\n ownerUserId: input.userId,\n })\n }\n\n /**\n * Convenience over {@link resolveManifest} — probe a single connector and\n * get back a boolean plus the satisfying connection. The Surface-A quest\n * primitive (\"is the user's GitHub linked?\").\n */\n async checkConnector(input: CheckConnectorInput): Promise<CheckConnectorResult> {\n const requirementId = input.connectorId\n const resolution = await this.resolveManifest({\n userId: input.userId,\n manifest: {\n id: `connectivity-check:${input.connectorId}`,\n requirements: [\n {\n id: requirementId,\n connectorId: input.connectorId,\n reason: `Connectivity check for ${input.connectorId}`,\n mode: input.mode ?? 'read',\n ...(input.requiredScopes ? { requiredScopes: input.requiredScopes } : {}),\n ...(input.requiredActions ? { requiredActions: input.requiredActions } : {}),\n },\n ],\n },\n })\n const requirement =\n resolution.ready.find((r) => r.requirement.id === requirementId) ??\n resolution.missing.find((r) => r.requirement.id === requirementId) ??\n resolution.optionalMissing.find((r) => r.requirement.id === requirementId)\n if (!requirement) {\n throw new IntegrationHubRequestError({\n status: 0,\n code: 'malformed_response',\n message: `resolve-manifest returned no resolution for requirement ${requirementId}`,\n endpoint: 'POST /resolve-manifest',\n retryable: false,\n })\n }\n return {\n connected: requirement.status === 'ready',\n ...(requirement.connection ? { connection: requirement.connection } : {}),\n resolution: requirement,\n }\n }\n\n /** Create grants for every satisfiable requirement of a manifest. The\n * platform rejects the call if any non-optional requirement is missing a\n * connection. */\n async createGrants(input: CreateGrantsInput): Promise<IntegrationGrant[]> {\n const data = await this.request<{ grants: IntegrationGrant[] }>(\n 'POST',\n '/grants',\n input.userId,\n {\n grantee: input.grantee,\n manifest: input.manifest,\n ownerUserId: input.userId,\n ...(input.metadata ? { metadata: input.metadata } : {}),\n },\n )\n return data.grants\n }\n\n /** List the acting user's grants, optionally filtered to one grantee. */\n async listGrants(input: ListGrantsInput): Promise<IntegrationGrant[]> {\n const query =\n input.grantee !== undefined\n ? `?granteeType=${encodeURIComponent(input.grantee.type)}&granteeId=${encodeURIComponent(input.grantee.id)}`\n : ''\n const data = await this.request<{ grants: IntegrationGrant[] }>(\n 'GET',\n `/grants${query}`,\n input.userId,\n )\n return data.grants\n }\n\n /** Mint a short-lived capability bundle for a sandbox / agent process.\n * Provider credentials never leave the platform — the bundle carries only\n * scoped, expiring capability tokens. */\n async mintCapabilityBundle(input: MintCapabilityBundleInput): Promise<CapabilityBundleResult> {\n if (!input.manifestId && !(input.grantIds && input.grantIds.length > 0)) {\n throw new Error(\n 'IntegrationHubClient.mintCapabilityBundle: manifestId or a non-empty grantIds is required',\n )\n }\n return this.request<CapabilityBundleResult>('POST', '/capabilities/bundle', input.userId, {\n subject: input.subject,\n ...(input.manifestId ? { manifestId: input.manifestId } : {}),\n ...(input.grantIds ? { grantIds: input.grantIds } : {}),\n ...(input.grantee ? { grantee: input.grantee } : {}),\n ...(input.ttlMs !== undefined ? { ttlMs: input.ttlMs } : {}),\n })\n }\n\n /** Run live healthchecks across all of the acting user's connections. */\n async runHealthchecks(input: { userId: string }): Promise<IntegrationHealthcheckResult[]> {\n const data = await this.request<{ healthchecks: IntegrationHealthcheckResult[] }>(\n 'POST',\n '/healthchecks/run',\n input.userId,\n { ownerUserId: input.userId },\n )\n return data.healthchecks\n }\n\n private buildHeaders(userId: string, hasBody: boolean): Headers {\n const headers = new Headers({ accept: 'application/json' })\n if (hasBody) headers.set('content-type', 'application/json')\n if (this.auth.mode === 'service') {\n headers.set('authorization', `Bearer ${this.auth.serviceToken}`)\n headers.set('x-service-name', this.auth.serviceName)\n headers.set('x-platform-user-id', userId)\n } else {\n headers.set('authorization', `Bearer ${this.auth.apiKey}`)\n }\n return headers\n }\n\n private async request<T>(\n method: 'GET' | 'POST',\n path: string,\n userId: string,\n body?: Record<string, unknown>,\n ): Promise<T> {\n if (!PLATFORM_USER_ID_PATTERN.test(userId)) {\n throw new IntegrationHubRequestError({\n status: 0,\n code: 'invalid_user_id',\n message: `userId ${JSON.stringify(userId)} is not a valid platform user id`,\n endpoint: `${method} ${path}`,\n retryable: false,\n })\n }\n const requestedProduct =\n body && typeof body.product === 'string' && body.product.trim() ? body.product.trim() : this.product\n const ownerAllowed = await this.ownerPolicy.authorize({\n userId,\n product: requestedProduct,\n authMode: this.auth.mode,\n ...(this.auth.mode === 'service' ? { serviceName: this.auth.serviceName } : {}),\n })\n if (!ownerAllowed) {\n throw new IntegrationHubRequestError({\n status: 403,\n code: 'owner_policy_denied',\n message: `${method} ${path} rejected: Platform owner policy did not authorize user ${userId}`,\n endpoint: `${method} ${path}`,\n retryable: false,\n })\n }\n const url = `${this.endpoint}/v1/integrations${path}`\n const endpointLabel = `${method} /v1/integrations${path}`\n const headers = this.buildHeaders(userId, body !== undefined)\n const init: RequestInit = {\n method,\n headers,\n ...(body !== undefined ? { body: JSON.stringify(body) } : {}),\n }\n\n let lastError: IntegrationHubRequestError | undefined\n for (let attempt = 1; attempt <= this.maxAttempts; attempt++) {\n let response: Response\n try {\n response = await this.fetchImpl(url, {\n ...init,\n signal: AbortSignal.timeout(this.timeoutMs),\n })\n } catch (error) {\n lastError = new IntegrationHubRequestError({\n status: 0,\n code: 'network_error',\n message: `${endpointLabel} failed: ${error instanceof Error ? error.message : String(error)}`,\n endpoint: endpointLabel,\n retryable: true,\n })\n if (attempt < this.maxAttempts) {\n await delay(attempt)\n continue\n }\n throw lastError\n }\n\n const payload = await readJson(response)\n if (response.ok && isSuccessEnvelope(payload)) {\n return payload.data as T\n }\n\n const retryable = RETRYABLE_STATUSES.has(response.status)\n lastError = new IntegrationHubRequestError({\n status: response.status,\n code: errorCode(payload, response.status),\n message: errorMessage(payload, endpointLabel, response.status),\n endpoint: endpointLabel,\n retryable,\n })\n if (retryable && attempt < this.maxAttempts) {\n await delay(attempt)\n continue\n }\n throw lastError\n }\n // Unreachable — the loop always returns or throws — but satisfies the\n // type checker and fails loud if the invariant is ever broken.\n throw (\n lastError ??\n new IntegrationHubRequestError({\n status: 0,\n code: 'unknown',\n message: `${endpointLabel} exhausted retries without a result`,\n endpoint: endpointLabel,\n retryable: false,\n })\n )\n }\n}\n\nexport function createIntegrationHubClient(\n options: IntegrationHubClientOptions,\n): IntegrationHubClient {\n return new IntegrationHubClient(options)\n}\n\ninterface SuccessEnvelope {\n success: true\n data: unknown\n}\n\nfunction isSuccessEnvelope(payload: unknown): payload is SuccessEnvelope {\n return (\n typeof payload === 'object' &&\n payload !== null &&\n (payload as { success?: unknown }).success === true &&\n 'data' in payload\n )\n}\n\nasync function readJson(response: Response): Promise<unknown> {\n const text = await response.text().catch(() => '')\n if (!text) return undefined\n try {\n return JSON.parse(text)\n } catch {\n // Hono `HTTPException` (auth-middleware rejections) renders the message\n // as a plain-text body, not the `{ success, error }` envelope. Preserve\n // it so the error message stays actionable.\n return { __text: text }\n }\n}\n\nfunction errorCode(payload: unknown, status: number): string {\n if (typeof payload === 'object' && payload !== null) {\n const error = (payload as { error?: { code?: unknown } }).error\n if (error && typeof error.code === 'string') return error.code\n }\n return status === 0 ? 'network_error' : 'http_error'\n}\n\nfunction errorMessage(payload: unknown, endpointLabel: string, status: number): string {\n if (typeof payload === 'object' && payload !== null) {\n const record = payload as { error?: { message?: unknown }; __text?: unknown }\n if (record.error && typeof record.error.message === 'string') {\n return `${endpointLabel} → ${status}: ${record.error.message}`\n }\n if (typeof record.__text === 'string' && record.__text.length > 0) {\n return `${endpointLabel} → ${status}: ${record.__text.slice(0, 300)}`\n }\n }\n return `${endpointLabel} → ${status}`\n}\n\n/** Linear backoff — 200ms, 400ms, … — capped implicitly by `maxAttempts`. */\nfunction delay(attempt: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, attempt * 200))\n}\n"],"mappings":";;;;AA2DA,MAAM,2BAA2B;AAEjC,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;;;AAG7B,MAAM,qCAAqB,IAAI,IAAI;CAAC;CAAK;CAAK;AAAG,CAAC;;;;;AAsDlD,IAAa,6BAAb,cAAgD,MAAM;CACpD,OAAgB;;CAEhB;;;CAGA;;CAEA;;CAEA;CAEA,YAAY,OAMT;EACD,MAAM,MAAM,OAAO;EACnB,KAAK,SAAS,MAAM;EACpB,KAAK,OAAO,MAAM;EAClB,KAAK,WAAW,MAAM;EACtB,KAAK,YAAY,MAAM;CACzB;AACF;;;;;AAuEA,IAAa,uBAAb,MAAkC;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CAEA,YAAY,SAAsC;EAChD,IAAI,CAAC,QAAQ,SAAS,KAAK,GACzB,MAAM,IAAI,MAAM,2CAA2C;EAE7D,IACE,QAAQ,KAAK,SAAS,cACrB,CAAC,QAAQ,KAAK,cAAc,WAAA,MAAsC,KACjE,QAAQ,KAAK,aAAa,UAAA,IAE5B,MAAM,IAAI,MAAM,4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;GACN,SAAS,GAAG,cAAc;GAC1B,UAAU;GACV,WAAW;EACb,CAAC;CAEL;AACF;AAEA,SAAgB,2BACd,SACsB;CACtB,OAAO,IAAI,qBAAqB,OAAO;AACzC;AAOA,SAAS,kBAAkB,SAA8C;CACvE,OACE,OAAO,YAAY,YACnB,YAAY,QACX,QAAkC,YAAY,QAC/C,UAAU;AAEd;AAEA,eAAe,SAAS,UAAsC;CAC5D,MAAM,OAAO,MAAM,SAAS,KAAK,CAAC,CAAC,YAAY,EAAE;CACjD,IAAI,CAAC,MAAM,OAAO,KAAA;CAClB,IAAI;EACF,OAAO,KAAK,MAAM,IAAI;CACxB,QAAQ;EAIN,OAAO,EAAE,QAAQ,KAAK;CACxB;AACF;AAEA,SAAS,UAAU,SAAkB,QAAwB;CAC3D,IAAI,OAAO,YAAY,YAAY,YAAY,MAAM;EACnD,MAAM,QAAS,QAA2C;EAC1D,IAAI,SAAS,OAAO,MAAM,SAAS,UAAU,OAAO,MAAM;CAC5D;CACA,OAAO,WAAW,IAAI,kBAAkB;AAC1C;AAEA,SAAS,aAAa,SAAkB,eAAuB,QAAwB;CACrF,IAAI,OAAO,YAAY,YAAY,YAAY,MAAM;EACnD,MAAM,SAAS;EACf,IAAI,OAAO,SAAS,OAAO,OAAO,MAAM,YAAY,UAClD,OAAO,GAAG,cAAc,KAAK,OAAO,IAAI,OAAO,MAAM;EAEvD,IAAI,OAAO,OAAO,WAAW,YAAY,OAAO,OAAO,SAAS,GAC9D,OAAO,GAAG,cAAc,KAAK,OAAO,IAAI,OAAO,OAAO,MAAM,GAAG,GAAG;CAEtE;CACA,OAAO,GAAG,cAAc,KAAK;AAC/B;;AAGA,SAAS,MAAM,SAAgC;CAC7C,OAAO,IAAI,SAAS,YAAY,WAAW,SAAS,UAAU,GAAG,CAAC;AACpE"}
1
+ {"version":3,"file":"consumer.js","names":[],"sources":["../src/consumer.ts"],"sourcesContent":["/**\n * @stable Integration Hub consumer client.\n *\n * The third client-shaped surface a product needs, alongside the two that\n * already ship:\n *\n * - `createTangleIntegrationsClient` (`client.ts`) — the *invoke* client.\n * Capability-token auth, runs INSIDE a sandbox / generated app, single\n * endpoint `/v1/integrations/invoke`.\n * - `startConnectFlow` / `finishConnectFlow` (`connect/index.ts`) — the\n * *user-consent* flow, mirrors `/cross-site/*`.\n * - **this** — the S2S *management* client. A product BACKEND (blueprint-\n * agent, sandbox, gtm-agent, tax-agent, legal-agent, evals, …) drives the\n * `/v1/integrations/{resolve-manifest,grants,capabilities/bundle,\n * healthchecks/run}` management surface on `id.tangle.tools` on behalf of\n * an identified user.\n *\n * Every consumer needs the identical client — the wire protocol, the\n * `{ success, data }` envelope, the auth header shape are all platform-owned.\n * Re-implementing a bespoke fetch loop per product forks the protocol and the\n * copies drift. This module is that shared implementation. It mirrors the\n * `connect/index.ts` design rule one-for-one: DO NOT invent the wire protocol\n * — speak exactly what `products/platform/api/src/routes/integrations.ts`\n * serves.\n *\n * Two auth modes — the route layer (`authMiddleware`) accepts either:\n *\n * - `service` — a `svc_*` service token + `X-Service-Name`. The acting\n * user travels in `X-Platform-User-Id`. The platform honors that header\n * only for service tokens whose `SERVICE_SCOPES` set contains\n * `impersonate:user`; a token without it is rejected (403). Reaches the\n * four management paths the platform allowlists for service tokens.\n * - `user-key` — a per-user `sk-tan-*` API key (minted via the connect\n * flow). The key identifies the user; no impersonation header. Reaches\n * every route the user themselves can.\n *\n * The capability-token `invoke` endpoint is intentionally NOT exposed here —\n * that is `createTangleIntegrationsClient`'s job and uses a different auth.\n */\n\nimport type { IntegrationActor, IntegrationConnection } from './index.js'\nimport type {\n IntegrationGrant,\n IntegrationManifest,\n IntegrationManifestResolution,\n IntegrationRequirementMode,\n IntegrationRequirementResolution,\n IntegrationSandboxBundle,\n} from './runtime.js'\nimport type { IntegrationHealthcheckResult } from './healthcheck.js'\nimport { DEFAULT_TANGLE_PLATFORM_URL } from './connectors/adapters/tangle-id.js'\nimport {\n TANGLE_API_KEY_PREFIX,\n TANGLE_BROKER_TOKEN_PREFIX,\n TANGLE_SERVICE_TOKEN_PREFIX,\n} from './connectors/adapters/tangle-id.js'\n\n/** Matches the platform's `PLATFORM_USER_ID_PATTERN` (`auth.ts`). A user id\n * that fails this is rejected client-side before the request leaves. */\nconst PLATFORM_USER_ID_PATTERN = /^[A-Za-z0-9_-]{1,128}$/\n\nconst DEFAULT_TIMEOUT_MS = 10_000\nconst DEFAULT_MAX_ATTEMPTS = 2\n/** HTTP statuses worth a retry — transient platform/edge failures only.\n * 4xx is deterministic and never retried. */\nconst RETRYABLE_STATUSES = new Set([502, 503, 504])\n\nexport type IntegrationHubAuth =\n | {\n mode: 'service'\n /** The `svc_*` token issued to this product. */\n serviceToken: string\n /** Registered service name — sent as `X-Service-Name`. Required\n * because one token may be shared across services, in which case the\n * platform demands the header to disambiguate. */\n serviceName: string\n }\n | {\n mode: 'user-key'\n /** A per-user `sk-tan-*` key bound to the acting user. */\n apiKey: string\n }\n\nexport interface IntegrationHubClientOptions {\n /** The product / consumer identifier (e.g. `blueprint-agent`). Sent as the\n * `product` field of resolve-manifest calls; recorded platform-side. */\n product: string\n /** Service-token or per-user-key auth. */\n auth: IntegrationHubAuth\n /** Platform base URL. Defaults to `https://id.tangle.tools`. */\n endpoint?: string\n /** Injected for tests. Defaults to the global `fetch`. */\n fetchImpl?: typeof fetch\n /** Per-request timeout in ms. Default 10_000. */\n timeoutMs?: number\n /** Max attempts on transient (network / 502 / 503 / 504) failures.\n * Default 2 — i.e. one retry. */\n maxAttempts?: number\n /**\n * Authoritative owner check for caller-supplied user ids. Service-token\n * requests may use the Platform's authenticated named-service context; a\n * user-key request must provide a Platform-backed policy.\n */\n ownerPolicy?: IntegrationOwnerPolicy\n}\n\nexport interface IntegrationOwnerPolicy {\n authorize(input: {\n userId: string\n product: string\n authMode: IntegrationHubAuth['mode']\n serviceName?: string\n }): Promise<boolean> | boolean\n}\n\n/** Thrown for every non-2xx response and every transport failure. Carries the\n * HTTP status and the platform error code so callers can branch precisely\n * (`403` + `impersonate` → the service token lacks the scope; `409` /\n * `missing_connection` → prompt the user to connect). */\nexport class IntegrationHubRequestError extends Error {\n readonly name = 'IntegrationHubRequestError'\n /** HTTP status, or 0 for a network-level failure. */\n readonly status: number\n /** Platform error code (`VALIDATION_ERROR`, `scope_missing`, …) or\n * `network_error` / `http_error` when no structured code was returned. */\n readonly code: string\n /** `METHOD /path` the request targeted. */\n readonly endpoint: string\n /** True when the failure class is transient and a retry could succeed. */\n readonly retryable: boolean\n\n constructor(input: {\n status: number\n code: string\n message: string\n endpoint: string\n retryable: boolean\n }) {\n super(input.message)\n this.status = input.status\n this.code = input.code\n this.endpoint = input.endpoint\n this.retryable = input.retryable\n }\n}\n\nexport interface ResolveManifestInput {\n /** The acting user — the connection owner. */\n userId: string\n manifest: IntegrationManifest\n /** Overrides the client-level `product` for this call. */\n product?: string\n}\n\nexport interface CreateGrantsInput {\n /** The acting user — the connection owner. */\n userId: string\n /** Who the grant is FOR (the sandbox / agent / app that will invoke). */\n grantee: IntegrationActor\n manifest: IntegrationManifest\n metadata?: Record<string, unknown>\n}\n\nexport interface ListGrantsInput {\n /** The acting user — the connection owner. */\n userId: string\n /** Optional grantee filter; both fields travel together as query params. */\n grantee?: IntegrationActor\n}\n\nexport interface MintCapabilityBundleInput {\n /** The acting user — must own every connection behind the grants. */\n userId: string\n /** Who the capability bundle is issued TO (the sandbox / agent process). */\n subject: IntegrationActor\n /** Mint from every grant of a manifest … */\n manifestId?: string\n /** … or from an explicit grant id list. Exactly one of the two is required. */\n grantIds?: string[]\n grantee?: IntegrationActor\n /** Bundle TTL in ms. Platform clamps to [1s, 60m]; default 15m. */\n ttlMs?: number\n}\n\nexport interface CapabilityBundleResult {\n bundle: IntegrationSandboxBundle\n /** Bridge environment variables to inject into the sandbox process —\n * `buildIntegrationBridgeEnvironment(bundle)`, computed platform-side. */\n env: Record<string, string>\n}\n\nexport interface CheckConnectorInput {\n /** The acting user. */\n userId: string\n /** Connector to probe — `github`, `google-calendar`, `tangle-id`, … */\n connectorId: string\n /** Defaults to `read`. */\n mode?: IntegrationRequirementMode\n requiredScopes?: string[]\n requiredActions?: string[]\n}\n\nexport interface CheckConnectorResult {\n /** True when the user has an active connection satisfying the requirement. */\n connected: boolean\n /** The satisfying connection, present iff `connected`. */\n connection?: IntegrationConnection\n /** The full requirement resolution — status, missing scopes/actions, message. */\n resolution: IntegrationRequirementResolution\n}\n\n/**\n * S2S management client for the `id.tangle.tools` integration hub. One per\n * product; methods are stateless and safe to call concurrently.\n */\nexport class IntegrationHubClient {\n private readonly endpoint: string\n private readonly product: string\n private readonly auth: IntegrationHubAuth\n private readonly fetchImpl: typeof fetch\n private readonly timeoutMs: number\n private readonly maxAttempts: number\n private readonly ownerPolicy: IntegrationOwnerPolicy\n\n constructor(options: IntegrationHubClientOptions) {\n if (!options.product?.trim()) {\n throw new Error('IntegrationHubClient: product is required')\n }\n if (\n options.auth.mode === 'service' &&\n (!options.auth.serviceToken?.startsWith(TANGLE_SERVICE_TOKEN_PREFIX) ||\n options.auth.serviceToken.length <= TANGLE_SERVICE_TOKEN_PREFIX.length)\n ) {\n throw new Error('IntegrationHubClient: service auth requires a serviceToken')\n }\n if (options.auth.mode === 'service' && !options.auth.serviceName?.trim()) {\n throw new Error('IntegrationHubClient: service auth requires a serviceName')\n }\n if (\n options.auth.mode === 'user-key' &&\n (!options.auth.apiKey?.startsWith(TANGLE_API_KEY_PREFIX) ||\n options.auth.apiKey.startsWith(TANGLE_BROKER_TOKEN_PREFIX) ||\n options.auth.apiKey.length <= TANGLE_API_KEY_PREFIX.length)\n ) {\n throw new Error('IntegrationHubClient: user-key auth requires an apiKey')\n }\n this.endpoint = (options.endpoint ?? DEFAULT_TANGLE_PLATFORM_URL).replace(/\\/+$/, '')\n this.product = options.product.trim()\n this.auth = options.auth\n // Call fetch as a plain function: Workers throw \"Illegal invocation\" when\n // fetch runs with the client as its receiver (this.fetchImpl(...)).\n const fetchImpl = options.fetchImpl ?? fetch\n this.fetchImpl = (input, init) => fetchImpl(input, init)\n this.timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS\n this.maxAttempts = Math.max(1, options.maxAttempts ?? DEFAULT_MAX_ATTEMPTS)\n this.ownerPolicy = options.ownerPolicy ?? {\n authorize: ({ authMode, serviceName }) => authMode === 'service' && Boolean(serviceName?.trim()),\n }\n }\n\n /**\n * Resolve a manifest against a user's connections. The returned\n * `ready` / `missing` split is the canonical way to ask \"does this user\n * have the connections this work needs\" — the raw connection list is not\n * reachable by a service token by design.\n */\n async resolveManifest(input: ResolveManifestInput): Promise<IntegrationManifestResolution> {\n const product = input.product?.trim() ?? this.product\n if (!product) throw new Error('IntegrationHubClient: per-call product is required')\n return this.request<IntegrationManifestResolution>('POST', '/resolve-manifest', input.userId, {\n product,\n manifest: input.manifest,\n ownerUserId: input.userId,\n })\n }\n\n /**\n * Convenience over {@link resolveManifest} — probe a single connector and\n * get back a boolean plus the satisfying connection. The Surface-A quest\n * primitive (\"is the user's GitHub linked?\").\n */\n async checkConnector(input: CheckConnectorInput): Promise<CheckConnectorResult> {\n const requirementId = input.connectorId\n const resolution = await this.resolveManifest({\n userId: input.userId,\n manifest: {\n id: `connectivity-check:${input.connectorId}`,\n requirements: [\n {\n id: requirementId,\n connectorId: input.connectorId,\n reason: `Connectivity check for ${input.connectorId}`,\n mode: input.mode ?? 'read',\n ...(input.requiredScopes ? { requiredScopes: input.requiredScopes } : {}),\n ...(input.requiredActions ? { requiredActions: input.requiredActions } : {}),\n },\n ],\n },\n })\n const requirement =\n resolution.ready.find((r) => r.requirement.id === requirementId) ??\n resolution.missing.find((r) => r.requirement.id === requirementId) ??\n resolution.optionalMissing.find((r) => r.requirement.id === requirementId)\n if (!requirement) {\n throw new IntegrationHubRequestError({\n status: 0,\n code: 'malformed_response',\n message: `resolve-manifest returned no resolution for requirement ${requirementId}`,\n endpoint: 'POST /resolve-manifest',\n retryable: false,\n })\n }\n return {\n connected: requirement.status === 'ready',\n ...(requirement.connection ? { connection: requirement.connection } : {}),\n resolution: requirement,\n }\n }\n\n /** Create grants for every satisfiable requirement of a manifest. The\n * platform rejects the call if any non-optional requirement is missing a\n * connection. */\n async createGrants(input: CreateGrantsInput): Promise<IntegrationGrant[]> {\n const data = await this.request<{ grants: IntegrationGrant[] }>(\n 'POST',\n '/grants',\n input.userId,\n {\n grantee: input.grantee,\n manifest: input.manifest,\n ownerUserId: input.userId,\n ...(input.metadata ? { metadata: input.metadata } : {}),\n },\n )\n return data.grants\n }\n\n /** List the acting user's grants, optionally filtered to one grantee. */\n async listGrants(input: ListGrantsInput): Promise<IntegrationGrant[]> {\n const query =\n input.grantee !== undefined\n ? `?granteeType=${encodeURIComponent(input.grantee.type)}&granteeId=${encodeURIComponent(input.grantee.id)}`\n : ''\n const data = await this.request<{ grants: IntegrationGrant[] }>(\n 'GET',\n `/grants${query}`,\n input.userId,\n )\n return data.grants\n }\n\n /** Mint a short-lived capability bundle for a sandbox / agent process.\n * Provider credentials never leave the platform — the bundle carries only\n * scoped, expiring capability tokens. */\n async mintCapabilityBundle(input: MintCapabilityBundleInput): Promise<CapabilityBundleResult> {\n if (!input.manifestId && !(input.grantIds && input.grantIds.length > 0)) {\n throw new Error(\n 'IntegrationHubClient.mintCapabilityBundle: manifestId or a non-empty grantIds is required',\n )\n }\n return this.request<CapabilityBundleResult>('POST', '/capabilities/bundle', input.userId, {\n subject: input.subject,\n ...(input.manifestId ? { manifestId: input.manifestId } : {}),\n ...(input.grantIds ? { grantIds: input.grantIds } : {}),\n ...(input.grantee ? { grantee: input.grantee } : {}),\n ...(input.ttlMs !== undefined ? { ttlMs: input.ttlMs } : {}),\n })\n }\n\n /** Run live healthchecks across all of the acting user's connections. */\n async runHealthchecks(input: { userId: string }): Promise<IntegrationHealthcheckResult[]> {\n const data = await this.request<{ healthchecks: IntegrationHealthcheckResult[] }>(\n 'POST',\n '/healthchecks/run',\n input.userId,\n { ownerUserId: input.userId },\n )\n return data.healthchecks\n }\n\n private buildHeaders(userId: string, hasBody: boolean): Headers {\n const headers = new Headers({ accept: 'application/json' })\n if (hasBody) headers.set('content-type', 'application/json')\n if (this.auth.mode === 'service') {\n headers.set('authorization', `Bearer ${this.auth.serviceToken}`)\n headers.set('x-service-name', this.auth.serviceName)\n headers.set('x-platform-user-id', userId)\n } else {\n headers.set('authorization', `Bearer ${this.auth.apiKey}`)\n }\n return headers\n }\n\n private async request<T>(\n method: 'GET' | 'POST',\n path: string,\n userId: string,\n body?: Record<string, unknown>,\n ): Promise<T> {\n if (!PLATFORM_USER_ID_PATTERN.test(userId)) {\n throw new IntegrationHubRequestError({\n status: 0,\n code: 'invalid_user_id',\n message: `userId ${JSON.stringify(userId)} is not a valid platform user id`,\n endpoint: `${method} ${path}`,\n retryable: false,\n })\n }\n const requestedProduct =\n body && typeof body.product === 'string' && body.product.trim() ? body.product.trim() : this.product\n const ownerAllowed = await this.ownerPolicy.authorize({\n userId,\n product: requestedProduct,\n authMode: this.auth.mode,\n ...(this.auth.mode === 'service' ? { serviceName: this.auth.serviceName } : {}),\n })\n if (!ownerAllowed) {\n throw new IntegrationHubRequestError({\n status: 403,\n code: 'owner_policy_denied',\n message: `${method} ${path} rejected: Platform owner policy did not authorize user ${userId}`,\n endpoint: `${method} ${path}`,\n retryable: false,\n })\n }\n const url = `${this.endpoint}/v1/integrations${path}`\n const endpointLabel = `${method} /v1/integrations${path}`\n const headers = this.buildHeaders(userId, body !== undefined)\n const init: RequestInit = {\n method,\n headers,\n ...(body !== undefined ? { body: JSON.stringify(body) } : {}),\n }\n\n let lastError: IntegrationHubRequestError | undefined\n for (let attempt = 1; attempt <= this.maxAttempts; attempt++) {\n let response: Response\n try {\n response = await this.fetchImpl(url, {\n ...init,\n signal: AbortSignal.timeout(this.timeoutMs),\n })\n } catch (error) {\n lastError = new IntegrationHubRequestError({\n status: 0,\n code: 'network_error',\n message: `${endpointLabel} failed: ${error instanceof Error ? error.message : String(error)}`,\n endpoint: endpointLabel,\n retryable: true,\n })\n if (attempt < this.maxAttempts) {\n await delay(attempt)\n continue\n }\n throw lastError\n }\n\n const payload = await readJson(response)\n if (response.ok && isSuccessEnvelope(payload)) {\n return payload.data as T\n }\n\n const retryable = RETRYABLE_STATUSES.has(response.status)\n lastError = new IntegrationHubRequestError({\n status: response.status,\n code: errorCode(payload, response.status),\n message: errorMessage(payload, endpointLabel, response.status),\n endpoint: endpointLabel,\n retryable,\n })\n if (retryable && attempt < this.maxAttempts) {\n await delay(attempt)\n continue\n }\n throw lastError\n }\n // Unreachable — the loop always returns or throws — but satisfies the\n // type checker and fails loud if the invariant is ever broken.\n throw (\n lastError ??\n new IntegrationHubRequestError({\n status: 0,\n code: 'unknown',\n message: `${endpointLabel} exhausted retries without a result`,\n endpoint: endpointLabel,\n retryable: false,\n })\n )\n }\n}\n\nexport function createIntegrationHubClient(\n options: IntegrationHubClientOptions,\n): IntegrationHubClient {\n return new IntegrationHubClient(options)\n}\n\ninterface SuccessEnvelope {\n success: true\n data: unknown\n}\n\nfunction isSuccessEnvelope(payload: unknown): payload is SuccessEnvelope {\n return (\n typeof payload === 'object' &&\n payload !== null &&\n (payload as { success?: unknown }).success === true &&\n 'data' in payload\n )\n}\n\nasync function readJson(response: Response): Promise<unknown> {\n const text = await response.text().catch(() => '')\n if (!text) return undefined\n try {\n return JSON.parse(text)\n } catch {\n // Hono `HTTPException` (auth-middleware rejections) renders the message\n // as a plain-text body, not the `{ success, error }` envelope. Preserve\n // it so the error message stays actionable.\n return { __text: text }\n }\n}\n\nfunction errorCode(payload: unknown, status: number): string {\n if (typeof payload === 'object' && payload !== null) {\n const error = (payload as { error?: { code?: unknown } }).error\n if (error && typeof error.code === 'string') return error.code\n }\n return status === 0 ? 'network_error' : 'http_error'\n}\n\nfunction errorMessage(payload: unknown, endpointLabel: string, status: number): string {\n if (typeof payload === 'object' && payload !== null) {\n const record = payload as { error?: { message?: unknown }; __text?: unknown }\n if (record.error && typeof record.error.message === 'string') {\n return `${endpointLabel} → ${status}: ${record.error.message}`\n }\n if (typeof record.__text === 'string' && record.__text.length > 0) {\n return `${endpointLabel} → ${status}: ${record.__text.slice(0, 300)}`\n }\n }\n return `${endpointLabel} → ${status}`\n}\n\n/** Linear backoff — 200ms, 400ms, … — capped implicitly by `maxAttempts`. */\nfunction delay(attempt: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, attempt * 200))\n}\n"],"mappings":";;;;AA2DA,MAAM,2BAA2B;AAEjC,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;;;AAG7B,MAAM,qCAAqB,IAAI,IAAI;CAAC;CAAK;CAAK;AAAG,CAAC;;;;;AAsDlD,IAAa,6BAAb,cAAgD,MAAM;CACpD,OAAgB;;CAEhB;;;CAGA;;CAEA;;CAEA;CAEA,YAAY,OAMT;EACD,MAAM,MAAM,OAAO;EACnB,KAAK,SAAS,MAAM;EACpB,KAAK,OAAO,MAAM;EAClB,KAAK,WAAW,MAAM;EACtB,KAAK,YAAY,MAAM;CACzB;AACF;;;;;AAuEA,IAAa,uBAAb,MAAkC;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CAEA,YAAY,SAAsC;EAChD,IAAI,CAAC,QAAQ,SAAS,KAAK,GACzB,MAAM,IAAI,MAAM,2CAA2C;EAE7D,IACE,QAAQ,KAAK,SAAS,cACrB,CAAC,QAAQ,KAAK,cAAc,WAAA,MAAsC,KACjE,QAAQ,KAAK,aAAa,UAAA,IAE5B,MAAM,IAAI,MAAM,4DAA4D;EAE9E,IAAI,QAAQ,KAAK,SAAS,aAAa,CAAC,QAAQ,KAAK,aAAa,KAAK,GACrE,MAAM,IAAI,MAAM,2DAA2D;EAE7E,IACE,QAAQ,KAAK,SAAS,eACrB,CAAC,QAAQ,KAAK,QAAQ,WAAA,SAAgC,KACrD,QAAQ,KAAK,OAAO,WAAA,gBAAqC,KACzD,QAAQ,KAAK,OAAO,UAAA,IAEtB,MAAM,IAAI,MAAM,wDAAwD;EAE1E,KAAK,YAAY,QAAQ,YAAA,0BAAA,CAAyC,QAAQ,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CAAC,CAAC,YAAY,EAAE;CACjD,IAAI,CAAC,MAAM,OAAO,KAAA;CAClB,IAAI;EACF,OAAO,KAAK,MAAM,IAAI;CACxB,QAAQ;EAIN,OAAO,EAAE,QAAQ,KAAK;CACxB;AACF;AAEA,SAAS,UAAU,SAAkB,QAAwB;CAC3D,IAAI,OAAO,YAAY,YAAY,YAAY,MAAM;EACnD,MAAM,QAAS,QAA2C;EAC1D,IAAI,SAAS,OAAO,MAAM,SAAS,UAAU,OAAO,MAAM;CAC5D;CACA,OAAO,WAAW,IAAI,kBAAkB;AAC1C;AAEA,SAAS,aAAa,SAAkB,eAAuB,QAAwB;CACrF,IAAI,OAAO,YAAY,YAAY,YAAY,MAAM;EACnD,MAAM,SAAS;EACf,IAAI,OAAO,SAAS,OAAO,OAAO,MAAM,YAAY,UAClD,OAAO,GAAG,cAAc,KAAK,OAAO,IAAI,OAAO,MAAM;EAEvD,IAAI,OAAO,OAAO,WAAW,YAAY,OAAO,OAAO,SAAS,GAC9D,OAAO,GAAG,cAAc,KAAK,OAAO,IAAI,OAAO,OAAO,MAAM,GAAG,GAAG;CAEtE;CACA,OAAO,GAAG,cAAc,KAAK;AAC/B;;AAGA,SAAS,MAAM,SAAgC;CAC7C,OAAO,IAAI,SAAS,YAAY,WAAW,SAAS,UAAU,GAAG,CAAC;AACpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"coverage-catalog-DlfNsiGZ.d.ts","names":[],"sources":["../src/coverage-catalog.ts"],"mappings":";;KAQY;UAEK;EACf;EACA;EACA,UAAU;EACV,MAAM;EACN,UAAU;EACV,eAAe;EACf;EACA,YAAY;EACZ;;KAGU;iBAoSI,gCAAgC;iBAchC,mCAAmC;EACjD;EACA,aAAa;EACb,aAAa;EACb,cAAc;IACP;iBASO"}
1
+ {"version":3,"file":"coverage-catalog-DlfNsiGZ.d.ts","names":[],"sources":["../src/coverage-catalog.ts"],"mappings":";;KAQY;UAEK;EACf;EACA;EACA,UAAU;EACV,MAAM;EACN,UAAU;EACV,eAAe;EACf;EACA,YAAY;EACZ;;KAGU;iBA6SI,gCAAgC;iBAchC,mCAAmC;EACjD;EACA,aAAa;EACb,aAAa;EACb,cAAc;IACP;iBASO"}
@@ -915,6 +915,80 @@ const COVERAGE_SPECS = [
915
915
  "tier_0",
916
916
  "ads,google,marketing,paid-search"
917
917
  ],
918
+ [
919
+ "meta-ads",
920
+ "Meta Ads",
921
+ "workflow",
922
+ "marketing",
923
+ "tier_0",
924
+ "ads,facebook,instagram,meta,paid-social"
925
+ ],
926
+ [
927
+ "x-ads",
928
+ "X Ads",
929
+ "workflow",
930
+ "marketing",
931
+ "tier_0",
932
+ "ads,x,twitter,paid-social",
933
+ "api_key"
934
+ ],
935
+ [
936
+ "tiktok-ads",
937
+ "TikTok Ads",
938
+ "workflow",
939
+ "marketing",
940
+ "tier_0",
941
+ "ads,tiktok,video,paid-social",
942
+ "api_key"
943
+ ],
944
+ [
945
+ "linkedin-ads",
946
+ "LinkedIn Ads",
947
+ "workflow",
948
+ "marketing",
949
+ "tier_0",
950
+ "ads,linkedin,b2b,paid-social"
951
+ ],
952
+ [
953
+ "microsoft-ads",
954
+ "Microsoft Advertising",
955
+ "workflow",
956
+ "marketing",
957
+ "tier_1",
958
+ "ads,microsoft,bing,paid-search"
959
+ ],
960
+ [
961
+ "reddit-ads",
962
+ "Reddit Ads",
963
+ "workflow",
964
+ "marketing",
965
+ "tier_1",
966
+ "ads,reddit,communities,paid-social"
967
+ ],
968
+ [
969
+ "pinterest-ads",
970
+ "Pinterest Ads",
971
+ "workflow",
972
+ "marketing",
973
+ "tier_1",
974
+ "ads,pinterest,shopping,paid-social"
975
+ ],
976
+ [
977
+ "snapchat-ads",
978
+ "Snapchat Ads",
979
+ "workflow",
980
+ "marketing",
981
+ "tier_1",
982
+ "ads,snapchat,snap,video,paid-social"
983
+ ],
984
+ [
985
+ "amazon-ads",
986
+ "Amazon Ads",
987
+ "workflow",
988
+ "marketing",
989
+ "tier_1",
990
+ "ads,amazon,commerce,sponsored-products"
991
+ ],
918
992
  [
919
993
  "google-analytics",
920
994
  "Google Analytics",