agenttwin 0.3.21 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.js +2113 -609
- package/dist/dashboard/assets/dashboard/agent-home.css +7 -7
- package/dist/dashboard/assets/dashboard/bay-morning.webp +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-afternoon.webp +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-portrait.webp +0 -0
- package/dist/dashboard/assets/dashboard/moonlit-coast.webp +0 -0
- package/dist/dashboard/assets/next/static/chunks/{1250-7571b1a697f6bb4a.js → 1250-a3c859fd20517500.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/{2743-a0efd6f4aeb11cc5.js → 2743-72610a5d5a3f8462.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/5663-403316746afad10e.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/{page-9c11295678539a5f.js → page-0e0392368e0a891e.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-4981ea4966b19e3e.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-dd4ac0f5f36e6bfa.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/{page-34574448d210c775.js → page-de0fe6d84be21e6a.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-360cbffc57981f6b.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-fc4df4912ce3af44.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{webpack-40324749d289e4a5.js → webpack-9e40ef55e5f2fb53.js} +1 -1
- package/dist/dashboard/assets/next/static/css/{42045de5f39b50ca.css → 37d81e1d2804cc5f.css} +1 -1
- package/dist/dashboard/assets/next/static/css/69ec1bae997c3bb0.css +1 -0
- package/dist/dashboard/assets/next/static/css/ad85402a1595e56e.css +1 -0
- package/dist/dashboard/assets/next/static/css/{4bbe78c2fe206b92.css → da981fb878a02b8c.css} +1 -1
- package/dist/dashboard/assets/next/static/media/bay-morning.82669113.webp +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-afternoon.0aa49492.webp +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-portrait.89fc667a.webp +0 -0
- package/dist/dashboard/assets/next/static/media/moonlit-coast.09739ef4.webp +0 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +6386 -4974
- package/dist/gateway.js +2194 -604
- package/dist/twins/catalog.json +6020 -0
- package/dist/twins/engine/v2/THIRD-PARTY.txt +25 -0
- package/dist/twins/engine/v2/chunks/2CHBP57N.mjs +8 -0
- package/dist/twins/engine/v2/chunks/4CPL6MPF.mjs +30 -0
- package/dist/twins/engine/v2/chunks/OYLYKZGD.mjs +2 -0
- package/dist/twins/engine/v2/chunks/SQSP35HM.mjs +38 -0
- package/dist/twins/engine/v2/chunks/YSJQQVUM.mjs +2 -0
- package/dist/twins/engine/v2/react-dom_client.mjs +272 -0
- package/dist/twins/engine/v2/react-dom_server.mjs +263 -0
- package/dist/twins/engine/v2/react.mjs +2 -0
- package/dist/twins/engine/v2/react_jsx-runtime.mjs +31 -0
- package/dist/twins/engine/v2/volter_world-core.mjs +195 -0
- package/dist/twins/engine/v2/volter_world-core_app-route.mjs +2 -0
- package/dist/twins/engine/v2/volter_world-core_network-policy.mjs +2 -0
- package/dist/twins/engine/v3/THIRD-PARTY.txt +65 -0
- package/dist/twins/engine/v3/chunks/2CHBP57N.mjs +8 -0
- package/dist/twins/engine/v3/chunks/2YSSPA5O.mjs +65 -0
- package/dist/twins/engine/v3/chunks/5PWRY4UK.mjs +154 -0
- package/dist/twins/engine/v3/chunks/7XRKSFFJ.mjs +2 -0
- package/dist/twins/engine/v3/chunks/AWOWH2H5.mjs +2 -0
- package/dist/twins/engine/v3/chunks/C46M5U3Q.mjs +2 -0
- package/dist/twins/engine/v3/chunks/MFH2VZPP.mjs +2 -0
- package/dist/twins/engine/v3/chunks/MWCO5UV3.mjs +2 -0
- package/dist/twins/engine/v3/chunks/N5BL5RDF.mjs +313 -0
- package/dist/twins/engine/v3/chunks/O7HGPMXG.mjs +2 -0
- package/dist/twins/engine/v3/chunks/OYLYKZGD.mjs +2 -0
- package/dist/twins/engine/v3/chunks/PLB7HTON.mjs +8 -0
- package/dist/twins/engine/v3/chunks/TY4LDBVH.mjs +7 -0
- package/dist/twins/engine/v3/chunks/VDIRUSCM.mjs +2 -0
- package/dist/twins/engine/v3/chunks/WGUCFQK6.mjs +2 -0
- package/dist/twins/engine/v3/chunks/WPATONSC.mjs +2 -0
- package/dist/twins/engine/v3/react_jsx-runtime.mjs +2 -0
- package/dist/twins/engine/v3/volter_world-core.mjs +2 -0
- package/dist/twins/engine/v3/volter_world-ui.mjs +559 -0
- package/dist/twins/packs/ahrefs/LICENSE +202 -0
- package/dist/twins/packs/ahrefs/NOTICE +7 -0
- package/dist/twins/packs/ahrefs/index.mjs +2 -0
- package/dist/twins/packs/ai-gateway/LICENSE +202 -0
- package/dist/twins/packs/ai-gateway/NOTICE +7 -0
- package/dist/twins/packs/ai-gateway/index.mjs +14 -0
- package/dist/twins/packs/airtable/LICENSE +202 -0
- package/dist/twins/packs/airtable/NOTICE +7 -0
- package/dist/twins/packs/airtable/index.mjs +2 -0
- package/dist/twins/packs/algolia/LICENSE +202 -0
- package/dist/twins/packs/algolia/NOTICE +7 -0
- package/dist/twins/packs/algolia/index.mjs +2 -0
- package/dist/twins/packs/ambientcg/LICENSE +202 -0
- package/dist/twins/packs/ambientcg/NOTICE +7 -0
- package/dist/twins/packs/ambientcg/index.mjs +2 -0
- package/dist/twins/packs/anthropic/LICENSE +202 -0
- package/dist/twins/packs/anthropic/NOTICE +7 -0
- package/dist/twins/packs/anthropic/index.mjs +18 -0
- package/dist/twins/packs/assemblyai/LICENSE +202 -0
- package/dist/twins/packs/assemblyai/NOTICE +7 -0
- package/dist/twins/packs/assemblyai/index.mjs +11 -0
- package/dist/twins/packs/aws/LICENSE +202 -0
- package/dist/twins/packs/aws/NOTICE +7 -0
- package/dist/twins/packs/aws/index.mjs +2 -0
- package/dist/twins/packs/azure/LICENSE +202 -0
- package/dist/twins/packs/azure/NOTICE +7 -0
- package/dist/twins/packs/azure/index.mjs +38 -0
- package/dist/twins/packs/azureformrecognizer/LICENSE +202 -0
- package/dist/twins/packs/azureformrecognizer/NOTICE +7 -0
- package/dist/twins/packs/azureformrecognizer/index.mjs +3 -0
- package/dist/twins/packs/bitly/LICENSE +202 -0
- package/dist/twins/packs/bitly/NOTICE +7 -0
- package/dist/twins/packs/bitly/index.mjs +2 -0
- package/dist/twins/packs/bluesky/LICENSE +202 -0
- package/dist/twins/packs/bluesky/NOTICE +7 -0
- package/dist/twins/packs/bluesky/index.mjs +30 -0
- package/dist/twins/packs/calcom/LICENSE +202 -0
- package/dist/twins/packs/calcom/NOTICE +7 -0
- package/dist/twins/packs/calcom/index.mjs +2 -0
- package/dist/twins/packs/clerk/LICENSE +202 -0
- package/dist/twins/packs/clerk/NOTICE +7 -0
- package/dist/twins/packs/clerk/index.mjs +5 -0
- package/dist/twins/packs/cloudflare/LICENSE +202 -0
- package/dist/twins/packs/cloudflare/NOTICE +7 -0
- package/dist/twins/packs/cloudflare/index.mjs +79 -0
- package/dist/twins/packs/cohere/LICENSE +202 -0
- package/dist/twins/packs/cohere/NOTICE +7 -0
- package/dist/twins/packs/cohere/index.mjs +2 -0
- package/dist/twins/packs/datadog/LICENSE +202 -0
- package/dist/twins/packs/datadog/NOTICE +7 -0
- package/dist/twins/packs/datadog/index.mjs +3 -0
- package/dist/twins/packs/deepinfra/LICENSE +202 -0
- package/dist/twins/packs/deepinfra/NOTICE +7 -0
- package/dist/twins/packs/deepinfra/index.mjs +13 -0
- package/dist/twins/packs/deepseek/LICENSE +202 -0
- package/dist/twins/packs/deepseek/NOTICE +7 -0
- package/dist/twins/packs/deepseek/index.mjs +12 -0
- package/dist/twins/packs/discord/LICENSE +202 -0
- package/dist/twins/packs/discord/NOTICE +7 -0
- package/dist/twins/packs/discord/index.mjs +2 -0
- package/dist/twins/packs/duckduckgo/LICENSE +202 -0
- package/dist/twins/packs/duckduckgo/NOTICE +7 -0
- package/dist/twins/packs/duckduckgo/index.mjs +532 -0
- package/dist/twins/packs/dynadot/LICENSE +202 -0
- package/dist/twins/packs/dynadot/NOTICE +7 -0
- package/dist/twins/packs/dynadot/index.mjs +2 -0
- package/dist/twins/packs/e2b/LICENSE +202 -0
- package/dist/twins/packs/e2b/NOTICE +7 -0
- package/dist/twins/packs/e2b/index.mjs +2 -0
- package/dist/twins/packs/elevenlabs/LICENSE +202 -0
- package/dist/twins/packs/elevenlabs/NOTICE +7 -0
- package/dist/twins/packs/elevenlabs/index.mjs +4 -0
- package/dist/twins/packs/expo/LICENSE +202 -0
- package/dist/twins/packs/expo/NOTICE +7 -0
- package/dist/twins/packs/expo/index.mjs +2 -0
- package/dist/twins/packs/fal/LICENSE +202 -0
- package/dist/twins/packs/fal/NOTICE +7 -0
- package/dist/twins/packs/fal/index.mjs +2 -0
- package/dist/twins/packs/figma/LICENSE +202 -0
- package/dist/twins/packs/figma/NOTICE +7 -0
- package/dist/twins/packs/figma/index.mjs +2 -0
- package/dist/twins/packs/firecrawl/LICENSE +202 -0
- package/dist/twins/packs/firecrawl/NOTICE +7 -0
- package/dist/twins/packs/firecrawl/index.mjs +9 -0
- package/dist/twins/packs/fireworks/LICENSE +202 -0
- package/dist/twins/packs/fireworks/NOTICE +7 -0
- package/dist/twins/packs/fireworks/index.mjs +13 -0
- package/dist/twins/packs/fly/LICENSE +202 -0
- package/dist/twins/packs/fly/NOTICE +7 -0
- package/dist/twins/packs/fly/index.mjs +2 -0
- package/dist/twins/packs/gcs/LICENSE +202 -0
- package/dist/twins/packs/gcs/NOTICE +7 -0
- package/dist/twins/packs/gcs/index.mjs +8 -0
- package/dist/twins/packs/gemini/LICENSE +202 -0
- package/dist/twins/packs/gemini/NOTICE +7 -0
- package/dist/twins/packs/gemini/index.mjs +7 -0
- package/dist/twins/packs/github/LICENSE +202 -0
- package/dist/twins/packs/github/NOTICE +7 -0
- package/dist/twins/packs/github/index.mjs +75153 -0
- package/dist/twins/packs/googleads/LICENSE +202 -0
- package/dist/twins/packs/googleads/NOTICE +7 -0
- package/dist/twins/packs/googleads/index.mjs +3 -0
- package/dist/twins/packs/googlemaps/LICENSE +202 -0
- package/dist/twins/packs/googlemaps/NOTICE +7 -0
- package/dist/twins/packs/googlemaps/index.mjs +2 -0
- package/dist/twins/packs/googleoauth/LICENSE +202 -0
- package/dist/twins/packs/googleoauth/NOTICE +7 -0
- package/dist/twins/packs/googleoauth/index.mjs +2 -0
- package/dist/twins/packs/hackernews/LICENSE +202 -0
- package/dist/twins/packs/hackernews/NOTICE +7 -0
- package/dist/twins/packs/hackernews/index.mjs +35 -0
- package/dist/twins/packs/huggingface/LICENSE +202 -0
- package/dist/twins/packs/huggingface/NOTICE +7 -0
- package/dist/twins/packs/huggingface/index.mjs +9 -0
- package/dist/twins/packs/inngest/LICENSE +202 -0
- package/dist/twins/packs/inngest/NOTICE +7 -0
- package/dist/twins/packs/inngest/index.mjs +2 -0
- package/dist/twins/packs/instagram/LICENSE +202 -0
- package/dist/twins/packs/instagram/NOTICE +7 -0
- package/dist/twins/packs/instagram/index.mjs +2 -0
- package/dist/twins/packs/jira/LICENSE +202 -0
- package/dist/twins/packs/jira/NOTICE +7 -0
- package/dist/twins/packs/jira/index.mjs +2 -0
- package/dist/twins/packs/langfuse/LICENSE +202 -0
- package/dist/twins/packs/langfuse/NOTICE +7 -0
- package/dist/twins/packs/langfuse/index.mjs +2 -0
- package/dist/twins/packs/linear/LICENSE +202 -0
- package/dist/twins/packs/linear/NOTICE +7 -0
- package/dist/twins/packs/linear/index.mjs +52866 -0
- package/dist/twins/packs/linkedin/LICENSE +202 -0
- package/dist/twins/packs/linkedin/NOTICE +7 -0
- package/dist/twins/packs/linkedin/index.mjs +78 -0
- package/dist/twins/packs/livekit/LICENSE +202 -0
- package/dist/twins/packs/livekit/NOTICE +7 -0
- package/dist/twins/packs/livekit/index.mjs +2 -0
- package/dist/twins/packs/mailgun/LICENSE +202 -0
- package/dist/twins/packs/mailgun/NOTICE +7 -0
- package/dist/twins/packs/mailgun/index.mjs +13 -0
- package/dist/twins/packs/mapbox/LICENSE +202 -0
- package/dist/twins/packs/mapbox/NOTICE +7 -0
- package/dist/twins/packs/mapbox/index.mjs +2 -0
- package/dist/twins/packs/merge/LICENSE +202 -0
- package/dist/twins/packs/merge/NOTICE +7 -0
- package/dist/twins/packs/merge/index.mjs +4 -0
- package/dist/twins/packs/mistral/LICENSE +202 -0
- package/dist/twins/packs/mistral/NOTICE +7 -0
- package/dist/twins/packs/mistral/index.mjs +6 -0
- package/dist/twins/packs/mixpanel/LICENSE +202 -0
- package/dist/twins/packs/mixpanel/NOTICE +8 -0
- package/dist/twins/packs/mixpanel/index.mjs +2 -0
- package/dist/twins/packs/mongodb/LICENSE +202 -0
- package/dist/twins/packs/mongodb/NOTICE +7 -0
- package/dist/twins/packs/mongodb/index.mjs +8 -0
- package/dist/twins/packs/moonshot/LICENSE +202 -0
- package/dist/twins/packs/moonshot/NOTICE +7 -0
- package/dist/twins/packs/moonshot/index.mjs +18 -0
- package/dist/twins/packs/notion/LICENSE +202 -0
- package/dist/twins/packs/notion/NOTICE +7 -0
- package/dist/twins/packs/notion/index.mjs +2 -0
- package/dist/twins/packs/npm-registry/LICENSE +202 -0
- package/dist/twins/packs/npm-registry/NOTICE +7 -0
- package/dist/twins/packs/npm-registry/index.mjs +2 -0
- package/dist/twins/packs/oa-treasury/LICENSE +202 -0
- package/dist/twins/packs/oa-treasury/NOTICE +8 -0
- package/dist/twins/packs/oa-treasury/index.mjs +16 -0
- package/dist/twins/packs/openai/LICENSE +202 -0
- package/dist/twins/packs/openai/NOTICE +7 -0
- package/dist/twins/packs/openai/index.mjs +3473 -0
- package/dist/twins/packs/openrouter/LICENSE +202 -0
- package/dist/twins/packs/openrouter/NOTICE +7 -0
- package/dist/twins/packs/openrouter/index.mjs +2 -0
- package/dist/twins/packs/openweather/LICENSE +202 -0
- package/dist/twins/packs/openweather/NOTICE +7 -0
- package/dist/twins/packs/openweather/index.mjs +2 -0
- package/dist/twins/packs/paypal/LICENSE +202 -0
- package/dist/twins/packs/paypal/NOTICE +7 -0
- package/dist/twins/packs/paypal/index.mjs +51 -0
- package/dist/twins/packs/pinecone/LICENSE +202 -0
- package/dist/twins/packs/pinecone/NOTICE +7 -0
- package/dist/twins/packs/pinecone/index.mjs +2 -0
- package/dist/twins/packs/plain/LICENSE +202 -0
- package/dist/twins/packs/plain/NOTICE +8 -0
- package/dist/twins/packs/plain/index.mjs +18426 -0
- package/dist/twins/packs/planetscale/LICENSE +202 -0
- package/dist/twins/packs/planetscale/NOTICE +7 -0
- package/dist/twins/packs/planetscale/index.mjs +18 -0
- package/dist/twins/packs/polar/LICENSE +202 -0
- package/dist/twins/packs/polar/NOTICE +7 -0
- package/dist/twins/packs/polar/index.mjs +2 -0
- package/dist/twins/packs/polyhaven/LICENSE +202 -0
- package/dist/twins/packs/polyhaven/NOTICE +7 -0
- package/dist/twins/packs/polyhaven/index.mjs +3 -0
- package/dist/twins/packs/postmark/LICENSE +202 -0
- package/dist/twins/packs/postmark/NOTICE +7 -0
- package/dist/twins/packs/postmark/index.mjs +12 -0
- package/dist/twins/packs/reddit/LICENSE +202 -0
- package/dist/twins/packs/reddit/NOTICE +7 -0
- package/dist/twins/packs/reddit/index.mjs +324 -0
- package/dist/twins/packs/redis/LICENSE +202 -0
- package/dist/twins/packs/redis/NOTICE +7 -0
- package/dist/twins/packs/redis/index.mjs +2 -0
- package/dist/twins/packs/replicate/LICENSE +202 -0
- package/dist/twins/packs/replicate/NOTICE +7 -0
- package/dist/twins/packs/replicate/index.mjs +2 -0
- package/dist/twins/packs/resend/LICENSE +202 -0
- package/dist/twins/packs/resend/NOTICE +7 -0
- package/dist/twins/packs/resend/index.mjs +139 -0
- package/dist/twins/packs/runhuman/LICENSE +202 -0
- package/dist/twins/packs/runhuman/NOTICE +7 -0
- package/dist/twins/packs/runhuman/index.mjs +3 -0
- package/dist/twins/packs/scrapecreators/LICENSE +202 -0
- package/dist/twins/packs/scrapecreators/NOTICE +7 -0
- package/dist/twins/packs/scrapecreators/index.mjs +2 -0
- package/dist/twins/packs/segment/LICENSE +202 -0
- package/dist/twins/packs/segment/NOTICE +8 -0
- package/dist/twins/packs/segment/index.mjs +2 -0
- package/dist/twins/packs/sendblue/LICENSE +202 -0
- package/dist/twins/packs/sendblue/NOTICE +7 -0
- package/dist/twins/packs/sendblue/index.mjs +2 -0
- package/dist/twins/packs/sendgrid/LICENSE +202 -0
- package/dist/twins/packs/sendgrid/NOTICE +8 -0
- package/dist/twins/packs/sendgrid/index.mjs +4 -0
- package/dist/twins/packs/sentry/LICENSE +202 -0
- package/dist/twins/packs/sentry/NOTICE +7 -0
- package/dist/twins/packs/sentry/index.mjs +5 -0
- package/dist/twins/packs/sigstore/LICENSE +202 -0
- package/dist/twins/packs/sigstore/NOTICE +7 -0
- package/dist/twins/packs/sigstore/index.mjs +12 -0
- package/dist/twins/packs/slack/LICENSE +202 -0
- package/dist/twins/packs/slack/NOTICE +7 -0
- package/dist/twins/packs/slack/index.mjs +66 -0
- package/dist/twins/packs/smtp/LICENSE +202 -0
- package/dist/twins/packs/smtp/NOTICE +7 -0
- package/dist/twins/packs/smtp/index.mjs +3 -0
- package/dist/twins/packs/snowflake/LICENSE +202 -0
- package/dist/twins/packs/snowflake/NOTICE +8 -0
- package/dist/twins/packs/snowflake/index.mjs +30 -0
- package/dist/twins/packs/stigg/LICENSE +202 -0
- package/dist/twins/packs/stigg/NOTICE +8 -0
- package/dist/twins/packs/stigg/index.mjs +22194 -0
- package/dist/twins/packs/stream/LICENSE +202 -0
- package/dist/twins/packs/stream/NOTICE +7 -0
- package/dist/twins/packs/stream/index.mjs +2 -0
- package/dist/twins/packs/stripe/LICENSE +202 -0
- package/dist/twins/packs/stripe/NOTICE +7 -0
- package/dist/twins/packs/stripe/index.mjs +211 -0
- package/dist/twins/packs/supabase/LICENSE +202 -0
- package/dist/twins/packs/supabase/NOTICE +7 -0
- package/dist/twins/packs/supabase/index.mjs +2 -0
- package/dist/twins/packs/supermemory/LICENSE +202 -0
- package/dist/twins/packs/supermemory/NOTICE +7 -0
- package/dist/twins/packs/supermemory/index.mjs +2 -0
- package/dist/twins/packs/svix/LICENSE +202 -0
- package/dist/twins/packs/svix/NOTICE +7 -0
- package/dist/twins/packs/svix/index.mjs +2 -0
- package/dist/twins/packs/tavily/LICENSE +202 -0
- package/dist/twins/packs/tavily/NOTICE +7 -0
- package/dist/twins/packs/tavily/index.mjs +2 -0
- package/dist/twins/packs/telegram/LICENSE +202 -0
- package/dist/twins/packs/telegram/NOTICE +7 -0
- package/dist/twins/packs/telegram/index.mjs +11 -0
- package/dist/twins/packs/temporal/LICENSE +202 -0
- package/dist/twins/packs/temporal/NOTICE +7 -0
- package/dist/twins/packs/temporal/index.mjs +44 -0
- package/dist/twins/packs/tiktok/LICENSE +202 -0
- package/dist/twins/packs/tiktok/NOTICE +7 -0
- package/dist/twins/packs/tiktok/index.mjs +2 -0
- package/dist/twins/packs/tinybird/LICENSE +202 -0
- package/dist/twins/packs/tinybird/NOTICE +7 -0
- package/dist/twins/packs/tinybird/index.mjs +50 -0
- package/dist/twins/packs/togetherai/LICENSE +202 -0
- package/dist/twins/packs/togetherai/NOTICE +7 -0
- package/dist/twins/packs/togetherai/index.mjs +11 -0
- package/dist/twins/packs/tremendous/LICENSE +202 -0
- package/dist/twins/packs/tremendous/NOTICE +7 -0
- package/dist/twins/packs/tremendous/index.mjs +2 -0
- package/dist/twins/packs/tripo/LICENSE +202 -0
- package/dist/twins/packs/tripo/NOTICE +7 -0
- package/dist/twins/packs/tripo/index.mjs +9 -0
- package/dist/twins/packs/tunnel/LICENSE +202 -0
- package/dist/twins/packs/tunnel/NOTICE +7 -0
- package/dist/twins/packs/tunnel/index.mjs +2 -0
- package/dist/twins/packs/twelvelabs/LICENSE +202 -0
- package/dist/twins/packs/twelvelabs/NOTICE +7 -0
- package/dist/twins/packs/twelvelabs/index.mjs +5 -0
- package/dist/twins/packs/twilio/LICENSE +202 -0
- package/dist/twins/packs/twilio/NOTICE +7 -0
- package/dist/twins/packs/twilio/index.mjs +2 -0
- package/dist/twins/packs/twitch/LICENSE +202 -0
- package/dist/twins/packs/twitch/NOTICE +7 -0
- package/dist/twins/packs/twitch/index.mjs +68 -0
- package/dist/twins/packs/upstash/LICENSE +202 -0
- package/dist/twins/packs/upstash/NOTICE +7 -0
- package/dist/twins/packs/upstash/index.mjs +14 -0
- package/dist/twins/packs/upstashvector/LICENSE +202 -0
- package/dist/twins/packs/upstashvector/NOTICE +7 -0
- package/dist/twins/packs/upstashvector/index.mjs +3 -0
- package/dist/twins/packs/vercel/LICENSE +202 -0
- package/dist/twins/packs/vercel/NOTICE +7 -0
- package/dist/twins/packs/vercel/index.mjs +10 -0
- package/dist/twins/packs/veriff/LICENSE +202 -0
- package/dist/twins/packs/veriff/NOTICE +7 -0
- package/dist/twins/packs/veriff/index.mjs +2 -0
- package/dist/twins/packs/vgauth/LICENSE +202 -0
- package/dist/twins/packs/vgauth/NOTICE +7 -0
- package/dist/twins/packs/vgauth/index.mjs +2 -0
- package/dist/twins/packs/vital/LICENSE +202 -0
- package/dist/twins/packs/vital/NOTICE +7 -0
- package/dist/twins/packs/vital/index.mjs +2 -0
- package/dist/twins/packs/volteridentity/LICENSE +202 -0
- package/dist/twins/packs/volteridentity/NOTICE +7 -0
- package/dist/twins/packs/volteridentity/index.mjs +2 -0
- package/dist/twins/packs/webrisk/LICENSE +202 -0
- package/dist/twins/packs/webrisk/NOTICE +7 -0
- package/dist/twins/packs/webrisk/index.mjs +2 -0
- package/dist/twins/packs/worldlabs/LICENSE +202 -0
- package/dist/twins/packs/worldlabs/NOTICE +7 -0
- package/dist/twins/packs/worldlabs/index.mjs +2 -0
- package/dist/twins/packs/x/LICENSE +202 -0
- package/dist/twins/packs/x/NOTICE +7 -0
- package/dist/twins/packs/x/index.mjs +63 -0
- package/dist/twins/packs/xai/LICENSE +202 -0
- package/dist/twins/packs/xai/NOTICE +7 -0
- package/dist/twins/packs/xai/index.mjs +4 -0
- package/dist/twins/packs/xidentity/LICENSE +202 -0
- package/dist/twins/packs/xidentity/NOTICE +8 -0
- package/dist/twins/packs/xidentity/index.mjs +209 -0
- package/dist/twins/packs/youtube/LICENSE +202 -0
- package/dist/twins/packs/youtube/NOTICE +7 -0
- package/dist/twins/packs/youtube/index.mjs +5 -0
- package/dist/worker.js +442 -18
- package/dist/world-host.js +928 -91
- package/package.json +6 -5
- package/dist/dashboard/assets/dashboard/bay-morning.png +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-afternoon.png +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-portrait.png +0 -0
- package/dist/dashboard/assets/dashboard/moonlit-coast.png +0 -0
- package/dist/dashboard/assets/next/static/chunks/2868-424d32cfc8ae81c9.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-f9fca2c08f779fa0.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-bc480c9258e5cc4d.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-f04c0b236abaead3.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-07c8054d57c9089b.js +0 -1
- package/dist/dashboard/assets/next/static/css/4af3c8ca0da0f48b.css +0 -1
- package/dist/dashboard/assets/next/static/css/6b8edde77e493a51.css +0 -1
- package/dist/dashboard/assets/next/static/media/bay-morning.1a9f358c.png +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-afternoon.3e7cea58.png +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-portrait.7941528f.png +0 -0
- package/dist/dashboard/assets/next/static/media/moonlit-coast.bbe901a1.png +0 -0
- /package/dist/dashboard/assets/next/static/{5ub3D2yzS8DE7w2qZd1nv → GTd0IQ6HYyhE_2HqcgFno}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{5ub3D2yzS8DE7w2qZd1nv → GTd0IQ6HYyhE_2HqcgFno}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@agenttwin/twin-mixpanel
|
|
2
|
+
|
|
3
|
+
Contains @volter/twin-mixpanel 0.1.37 by Volter (https://github.com/volter-ai),
|
|
4
|
+
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
8
|
+
The upstream package declares Apache-2.0 but ships no LICENSE file; LICENSE is the license's standard text.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as __atReq}from'node:module';const require=__atReq(import.meta.url);
|
|
2
|
+
var f=[{id:"list_all_annotations_for_project",area:"retrieve_annotations",method:"GET",path:"/api/app/projects/{projectId}/annotations",summary:"List Annotations",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:[{date:"2022-02-15 12:00:00",description:"Something interesting happened!",id:0,user:{id:0,first_name:"John",last_name:"Smith"},tags:[{id:null,name:null}]}]},specFile:"annotations.json"},{id:"create_annotation",area:"create_annotations",method:"POST",path:"/api/app/projects/{projectId}/annotations",summary:"Create Annotations",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:201,responseSkeleton:{status:"ok",results:{date:"2022-02-15 12:00:00",description:"Something interesting happened!",id:0,user:{id:0,first_name:"John",last_name:"Smith"},tags:[{id:0,name:"string"}]}},specFile:"annotations.json"},{id:"get_annotation",area:"retrieve_annotations",method:"GET",path:"/api/app/projects/{projectId}/annotations/{annotationId}",summary:"Get Annotation",pathParams:["projectId","annotationId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{date:"2022-02-15 12:00:00",description:"Something interesting happened!",id:0,user:{id:0,first_name:"John",last_name:"Smith"},tags:[{id:0,name:"string"}]}},specFile:"annotations.json"},{id:"patch_annotation",area:"patch_annotation",method:"PATCH",path:"/api/app/projects/{projectId}/annotations/{annotationId}",summary:"Patch Annotation",pathParams:["projectId","annotationId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{date:"2022-02-15 12:00:00",description:"Something interesting happened!",id:0,user:{id:0,first_name:"John",last_name:"Smith"},tags:[{id:0,name:"string"}]}},specFile:"annotations.json"},{id:"delete_annotation",area:"delete_annotation",method:"DELETE",path:"/api/app/projects/{projectId}/annotations/{annotationId}",summary:"Delete Annotation",pathParams:["projectId","annotationId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{id:0}},specFile:"annotations.json"},{id:"get_annotation_tags",area:"get_annotation_tags",method:"GET",path:"/api/app/projects/{projectId}/annotations/tags",summary:"Get Annotation Tags",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:[{id:0,name:"string",project_id:0,has_annotations:!1}],specFile:"annotations.json"},{id:"create_annotation_tag",area:"create_annotation_tag",method:"POST",path:"/api/app/projects/{projectId}/annotations/tags",summary:"Create Annotation Tag",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{id:0,name:"string",project_id:0,has_annotations:!1},specFile:"annotations.json"},{id:"list_warehouse_pipeline_jobs",area:"retrieve_pipelines",method:"GET",path:"/api/2.0/nessie/pipeline/jobs",summary:"List Pipelines",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"create_warehouse_pipeline",area:"create_pipelines",method:"POST",path:"/api/2.0/nessie/pipeline/create",summary:"Create Pipeline",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"edit_warehouse_pipeline",area:"edit_pipelines",method:"POST",path:"/api/2.0/nessie/pipeline/edit",summary:"Edit Pipeline",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"cancel_warehouse_pipeline",area:"delete_pipelines",method:"POST",path:"/api/2.0/nessie/pipeline/cancel",summary:"Delete Pipeline",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"pause_warehouse_pipeline",area:"pause_pipelines",method:"POST",path:"/api/2.0/nessie/pipeline/pause",summary:"Pause Pipeline",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"resume_warehouse_pipeline",area:"resume_pipelines",method:"POST",path:"/api/2.0/nessie/pipeline/resume",summary:"Resume Pipeline",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"get_warehouse_pipeline_status",area:"retrieve_pipelines",method:"GET",path:"/api/2.0/nessie/pipeline/status",summary:"Get Pipeline",pathParams:[],requiredQuery:["project_id","name"],requiredBody:[],successStatus:200,responseSkeleton:{canceled:[{project_id:0,name:"string",state:"string",last_finish:"string",run_at:"string",from_date:"string",to_date:"string"}],retried:[{project_id:0,name:"string",state:"string",last_finish:"string",run_at:"string",from_date:"string",to_date:"string"}],succeeded:[{project_id:0,name:"string",state:"string",last_finish:"string",run_at:"string",from_date:"string",to_date:"string"}]},specFile:"data-pipelines.json"},{id:"list_warehouse_pipeline_sync_dates",area:"retrieve_pipelines",method:"GET",path:"/api/2.0/nessie/pipeline/timeline",summary:"List Pipeline Logs",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"data-pipelines.json"},{id:"list_experiments",area:"experiment_management",method:"GET",path:"/api/app/workspaces/{workspace_id}/experiments",summary:"List Experiments",pathParams:["workspace_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:[{id:"string",name:"string",content_type:"string",description:null,created:"string",creator_id:null,creator_name:null,creator_email:null,modified:"string",deleted:null,is_favorited:!1,pinned_date:null,tags:[null],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}]},specFile:"experiments.json"},{id:"create_experiment",area:"experiment_management",method:"POST",path:"/api/app/workspaces/{workspace_id}/experiments",summary:"Create Experiment",pathParams:["workspace_id"],requiredQuery:[],requiredBody:["name"],successStatus:201,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"get_experiment",area:"experiment_management",method:"GET",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}",summary:"Get Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"update_experiment",area:"experiment_management",method:"PATCH",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}",summary:"Update Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"delete_experiment",area:"experiment_management",method:"DELETE",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}",summary:"Delete Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{}},specFile:"experiments.json"},{id:"archive_experiment",area:"experiment_actions",method:"POST",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}/archive",summary:"Archive Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{}},specFile:"experiments.json"},{id:"unarchive_experiment",area:"experiment_actions",method:"DELETE",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}/archive",summary:"Unarchive Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"decide_experiment",area:"experiment_actions",method:"PATCH",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}/decide",summary:"Decide Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:["success"],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"force_conclude_experiment",area:"experiment_actions",method:"PUT",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}/force_conclude",summary:"Force Conclude Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"launch_experiment",area:"experiment_actions",method:"PUT",path:"/api/app/workspaces/{workspace_id}/experiments/{experiment_id}/launch",summary:"Launch Experiment",pathParams:["workspace_id","experiment_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{id:"string",name:"string",content_type:"string",description:"string",created:"string",creator_id:0,creator_name:"string",creator_email:"string",modified:"string",deleted:"string",is_favorited:!1,pinned_date:"string",tags:["string"],last_modified_by_id:0,last_modified_by_name:"string",last_modified_by_email:"string",can_view:!1,can_update_basic:!1,can_update_restricted:!1,can_update_visibility:!1,is_superadmin:!1,allow_staff_override:!1,can_share:!1,is_shared_with_project:!1}},specFile:"experiments.json"},{id:"raw_event_export",area:"export",method:"GET",path:"/api/2.0/export",summary:"Download Data",pathParams:[],requiredQuery:["from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"export.json"},{id:"list_feature_flags",area:"flag_management",method:"GET",path:"/api/app/projects/{project_id}/workspaces/{workspace_id}/feature-flags",summary:"List Feature Flags",pathParams:["project_id","workspace_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:[{can_update_basic:!1,is_superadmin:!1,allow_staff_override:!1,can_view:!1,can_share:!1,can_pin:!1,is_shared_with_project:!1,name:"string",key:"string",description:null,tags:[null],experiment_id:null,status:"enabled",context:"string",data_group_id:null,serving_method:"client",ruleset:{variants:null,rollout:null,test:null},workspace_id:null,is_experiment_active:null,hash_salt:null,reset_hash_salt:null,id:"string",project_id:0,content_type:"string"}]},specFile:"feature-flags-management.json"},{id:"create_feature_flag",area:"flag_management",method:"POST",path:"/api/app/projects/{project_id}/workspaces/{workspace_id}/feature-flags",summary:"Create Feature Flag",pathParams:["project_id","workspace_id"],requiredQuery:[],requiredBody:["name","key","tags","context","serving_method","ruleset"],successStatus:200,responseSkeleton:{status:"string",results:{can_update_basic:!1,is_superadmin:!1,allow_staff_override:!1,can_view:!1,can_share:!1,can_pin:!1,is_shared_with_project:!1,name:"string",key:"string",description:null,tags:["string"],experiment_id:null,status:"enabled",context:"string",data_group_id:null,serving_method:"client",ruleset:{variants:[null],rollout:[null],test:null},workspace_id:null,is_experiment_active:null,hash_salt:null,reset_hash_salt:null,id:"string",project_id:0,content_type:"string"}},specFile:"feature-flags-management.json"},{id:"get_feature_flag",area:"flag_management",method:"GET",path:"/api/app/projects/{project_id}/workspaces/{workspace_id}/feature-flags/{flag_id}",summary:"Get Feature Flag",pathParams:["project_id","workspace_id","flag_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{can_update_basic:!1,is_superadmin:!1,allow_staff_override:!1,can_view:!1,can_share:!1,can_pin:!1,is_shared_with_project:!1,name:"string",key:"string",description:null,tags:["string"],experiment_id:null,status:"enabled",context:"string",data_group_id:null,serving_method:"client",ruleset:{variants:[null],rollout:[null],test:null},workspace_id:null,is_experiment_active:null,hash_salt:null,reset_hash_salt:null,id:"string",project_id:0,content_type:"string"}},specFile:"feature-flags-management.json"},{id:"update_feature_flag",area:"flag_management",method:"PUT",path:"/api/app/projects/{project_id}/workspaces/{workspace_id}/feature-flags/{flag_id}",summary:"Update Feature Flag",pathParams:["project_id","workspace_id","flag_id"],requiredQuery:[],requiredBody:["name","key","tags","context","serving_method","ruleset"],successStatus:200,responseSkeleton:{status:"string",results:{can_update_basic:!1,is_superadmin:!1,allow_staff_override:!1,can_view:!1,can_share:!1,can_pin:!1,is_shared_with_project:!1,name:"string",key:"string",description:null,tags:["string"],experiment_id:null,status:"enabled",context:"string",data_group_id:null,serving_method:"client",ruleset:{variants:[null],rollout:[null],test:null},workspace_id:null,is_experiment_active:null,hash_salt:null,reset_hash_salt:null,id:"string",project_id:0,content_type:"string"}},specFile:"feature-flags-management.json"},{id:"delete_feature_flag",area:"flag_management",method:"DELETE",path:"/api/app/projects/{project_id}/workspaces/{workspace_id}/feature-flags/{flag_id}",summary:"Delete Feature Flag",pathParams:["project_id","workspace_id","flag_id"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{}},specFile:"feature-flags-management.json"},{id:"get_variant_assignments",area:"get_variant_assignments",method:"GET",path:"/flags",summary:"Evaluate Feature Flags (GET)",pathParams:[],requiredQuery:["context"],requiredBody:[],successStatus:200,responseSkeleton:{flags:{new_checkout_flow:{variant_key:"treatment",variant_value:!0,experiment_id:"exp_123",is_experiment_active:!0}}},specFile:"feature-flags.json"},{id:"get_flag_definitions",area:"get_flag_definitions",method:"GET",path:"/flags/definitions",summary:"Get Feature Flag Definitions",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{flags:[{id:"flag_abc123",name:"New Checkout Flow",key:"new_checkout_flow",status:"enabled",project_id:12345,workspace_id:67890,ruleset:{variants:[null],rollout:[null],test:{users:null}},context:"device_id",experiment_id:"exp_123",is_experiment_active:!0}]},specFile:"feature-flags.json"},{id:"create_retrieval",area:"create_a_retrieval",method:"POST",path:"/api/app/data-retrievals/v3.0",summary:"Create a Retrieval",pathParams:[],requiredQuery:["token"],requiredBody:[],successStatus:201,responseSkeleton:{status:"ok",results:{task_id:"job-tracking-id"}},specFile:"gdpr.json"},{id:"get_retrieval",area:"check_status_of_retrieval",method:"GET",path:"/api/app/data-retrievals/v3.0/{tracking_id}",summary:"Check Status of Retrieval",pathParams:["tracking_id"],requiredQuery:["token"],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{status:"SUCCESS",results:"linktoexportfile.com/9871287366712",distinct_ids:["distinct_id_1","distinct_id_2","distinct_id_3"]}},specFile:"gdpr.json"},{id:"create_deletion",area:"create_a_deletion",method:"POST",path:"/api/app/data-deletions/v3.0",summary:"Create a Deletion",pathParams:[],requiredQuery:["token"],requiredBody:[],successStatus:201,responseSkeleton:{status:"ok",results:{task_id:"job-tracking-id"}},specFile:"gdpr.json"},{id:"get_deletion",area:"check_status_of_deletion",method:"GET",path:"/api/app/data-deletions/v3.0/{tracking_id}",summary:"Check Status of Deletion",pathParams:["tracking_id"],requiredQuery:["token"],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{tracking_id:"job tracking_id",status:"SUCCESS",requesting_user:"user@mail.com",compliance_type:"GDPR",project_id:"your project ID",date_requested:"YYYY-MM-DDTHH:MM:SS",distinct_ids:["distinct_id_1","distinct_id_2"]}},specFile:"gdpr.json"},{id:"delete_deletion",area:"cancel_a_deletion",method:"DELETE",path:"/api/app/data-deletions/v3.0/{tracking_id}",summary:"Cancel a Deletion",pathParams:["tracking_id"],requiredQuery:["token"],requiredBody:[],successStatus:204,responseSkeleton:null,specFile:"gdpr.json"},{id:"create_identity",area:"identities",method:"POST",path:"/track#create-identity",summary:"Create Identity",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"identity.json"},{id:"identity_create_alias",area:"identities",method:"POST",path:"/track#identity-create-alias",summary:"Create Alias",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"identity.json"},{id:"identity_merge",area:"identities",method:"POST",path:"/import",summary:"Merge Identities",pathParams:[],requiredQuery:["strict"],requiredBody:[],successStatus:200,responseSkeleton:{code:200,num_records_imported:2e3,status:"OK"},specFile:"identity.json"},{id:"import_events",area:"events",method:"POST",path:"/import",summary:"Import Events",pathParams:[],requiredQuery:["strict","project_id"],requiredBody:[],successStatus:200,responseSkeleton:{code:200,num_records_imported:2e3,status:"OK"},specFile:"ingestion.json"},{id:"track_event",area:"events",method:"POST",path:"/track",summary:"Track Events",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_set",area:"user_profiles",method:"POST",path:"/engage#profile-set",summary:"Set Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_set_property_once",area:"user_profiles",method:"POST",path:"/engage#profile-set-once",summary:"Set Property Once",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_numerical_add",area:"user_profiles",method:"POST",path:"/engage#profile-numerical-add",summary:"Increment Numerical Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"user_profile_union",area:"user_profiles",method:"POST",path:"/engage#profile-union",summary:"Union To List Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_append_to_list_property",area:"user_profiles",method:"POST",path:"/engage#profile-list-append",summary:"Append to List Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_remove_from_list_property",area:"user_profiles",method:"POST",path:"/engage#profile-list-remove",summary:"Remove from List Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_delete_property",area:"user_profiles",method:"POST",path:"/engage#profile-unset",summary:"Delete Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"profile_batch_update",area:"user_profiles",method:"POST",path:"/engage#profile-batch-update",summary:"Update Multiple Profiles",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"delete_profile",area:"user_profiles",method:"POST",path:"/engage#profile-delete",summary:"Delete Profile",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_set_property",area:"group_profiles",method:"POST",path:"/groups#group-set",summary:"Update Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_set_property_once",area:"group_profiles",method:"POST",path:"/groups#group-set-once",summary:"Set Property Once",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_delete_property",area:"group_profiles",method:"POST",path:"/groups#group-unset",summary:"Delete Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_remove_from_list_property",area:"group_profiles",method:"POST",path:"/groups#group-remove-from-list",summary:"Remove from List Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_union",area:"group_profiles",method:"POST",path:"/groups#group-union",summary:"Union To List Property",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"group_batch_update",area:"group_profiles",method:"POST",path:"/groups#group-batch-update",summary:"Batch Update Group Profiles",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"delete_group",area:"group_profiles",method:"POST",path:"/groups#group-delete",summary:"Delete Group",pathParams:[],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:null,specFile:"ingestion.json"},{id:"list_lookup_tables",area:"lookup_tables",method:"GET",path:"/lookup-tables",summary:"List Lookup Tables",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:{code:200,status:"OK",results:[{id:"55b4fb2b-e8de-466c-930f-8b36640b9b5e",name:"Accounts"},{id:"1297297a-43a7-4cac-82b0-635d2bd88aac",name:"Product Catalog"}]},specFile:"ingestion.json"},{id:"replace_lookup_table",area:"lookup_tables",method:"PUT",path:"/lookup-tables/{id}",summary:"Replace a Lookup Table",pathParams:["id"],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:{code:200,status:"OK"},specFile:"ingestion.json"},{id:"list_all_schemas_for_project",area:"retrieve_schemas",method:"GET",path:"/api/app/projects/{projectId}/schemas",summary:"List Schemas",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:[{entityType:"event",name:"string",schemaJson:{description:"string",properties:{},metadata:{"com.mixpanel":null}}}],status:"ok"},specFile:"lexicon-schemas.json"},{id:"upload_schemas_for_project",area:"create_schemas",method:"POST",path:"/api/app/projects/{projectId}/schemas",summary:"Create/Replace Multiple",pathParams:["projectId"],requiredQuery:[],requiredBody:["entries"],successStatus:200,responseSkeleton:{results:{added:0,deleted:0},status:"ok"},specFile:"lexicon-schemas.json"},{id:"delete_all_schemas_in_project",area:"delete_schemas",method:"DELETE",path:"/api/app/projects/{projectId}/schemas",summary:"Delete all Schemas",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:{delete_count:0},status:"ok"},specFile:"lexicon-schemas.json"},{id:"list_schemas_for_entity",area:"retrieve_schemas",method:"GET",path:"/api/app/projects/{projectId}/schemas/{entityType}",summary:"List for Entity",pathParams:["projectId","entityType"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:[{entityType:"event",name:"string",schemaJson:{description:"string",properties:{},metadata:{"com.mixpanel":null}}}],status:"ok"},specFile:"lexicon-schemas.json"},{id:"delete_schemas_for_entity",area:"delete_schemas",method:"DELETE",path:"/api/app/projects/{projectId}/schemas/{entityType}",summary:"Delete for Entity",pathParams:["projectId","entityType"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:{delete_count:0},status:"ok"},specFile:"lexicon-schemas.json"},{id:"list_schemas_by_entity_and_name",area:"retrieve_schemas",method:"GET",path:"/api/app/projects/{projectId}/schemas/{entityType}/{name}",summary:"List for Entity and Name",pathParams:["projectId","entityType","name"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{description:"string",properties:{},metadata:{"com.mixpanel":{$source:"string",displayName:"string",tags:["string"],hidden:!1,dropped:!1,contacts:["string"],teamContacts:["string"]}}},specFile:"lexicon-schemas.json"},{id:"upload_schema_by_entity_and_name",area:"create_schemas",method:"POST",path:"/api/app/projects/{projectId}/schemas/{entityType}/{name}",summary:"Create/Replace One",pathParams:["projectId","entityType","name"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok"},specFile:"lexicon-schemas.json"},{id:"delete_schema_by_entity_and_name",area:"delete_schemas",method:"DELETE",path:"/api/app/projects/{projectId}/schemas/{entityType}/{name}",summary:"Delete for Entity and Name",pathParams:["projectId","entityType","name"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:{delete_count:0},status:"ok"},specFile:"lexicon-schemas.json"},{id:"insights_query",area:"insights",method:"GET",path:"/api/query/insights",summary:"Query Saved Report",pathParams:[],requiredQuery:["project_id","bookmark_id"],requiredBody:[],successStatus:200,responseSkeleton:{computed_at:"string",date_range:{from_date:"string",to_date:"string"},headers:["string"],series:{}},specFile:"query.json"},{id:"funnels_query",area:"funnels",method:"GET",path:"/api/query/funnels",summary:"Query Saved Report",pathParams:[],requiredQuery:["project_id","funnel_id","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{meta:{dates:["string"]},data:{}},specFile:"query.json"},{id:"funnels_list_saved",area:"funnels",method:"GET",path:"/api/query/funnels/list",summary:"List Saved Funnels",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:[{funnel_id:0,name:"string"}],specFile:"query.json"},{id:"retention_query",area:"retention",method:"GET",path:"/api/query/retention",summary:"Query Retention Report",pathParams:[],requiredQuery:["project_id","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{},specFile:"query.json"},{id:"retention_frequency_query",area:"retention",method:"GET",path:"/api/query/retention/addiction",summary:"Query Frequency Report",pathParams:[],requiredQuery:["project_id","from_date","to_date","unit","addiction_unit"],requiredBody:[],successStatus:200,responseSkeleton:{data:{}},specFile:"query.json"},{id:"segmentation_query",area:"segmentation",method:"GET",path:"/api/query/segmentation",summary:"Query Segmentation Report",pathParams:[],requiredQuery:["project_id","event","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{data:{series:["string"],values:{}},legend_size:0},specFile:"query.json"},{id:"segmentation_numeric_query",area:"segmentation",method:"GET",path:"/api/query/segmentation/numeric",summary:"Numerically Bucket",pathParams:[],requiredQuery:["project_id","event","from_date","to_date","on"],requiredBody:[],successStatus:200,responseSkeleton:{data:{series:["string"],values:{}},legend_size:0},specFile:"query.json"},{id:"segmentation_sum_query",area:"segmentation",method:"GET",path:"/api/query/segmentation/sum",summary:"Numerically Sum",pathParams:[],requiredQuery:["project_id","event","from_date","to_date","on"],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",computed_at:"string",results:{}},specFile:"query.json"},{id:"segmentation_query_average",area:"segmentation",method:"GET",path:"/api/query/segmentation/average",summary:"Numerically Average",pathParams:[],requiredQuery:["project_id","event","from_date","to_date","on"],requiredBody:[],successStatus:200,responseSkeleton:{results:{},status:"string"},specFile:"query.json"},{id:"activity_stream_query",area:"activity_feed",method:"GET",path:"/api/query/stream/query",summary:"Profile Event Activity",pathParams:[],requiredQuery:["project_id","distinct_ids","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{status:"string",results:{events:[{event:"string",properties:{}}]}},specFile:"query.json"},{id:"cohorts_list",area:"cohorts",method:"POST",path:"/api/query/cohorts/list",summary:"List Saved Cohorts",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:[{count:0,is_visible:0,description:"string",created:"string",project_id:0,id:0,name:"string"}],specFile:"query.json"},{id:"engage_query",area:"engage",method:"POST",path:"/api/query/engage",summary:"Query Profiles",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:{page:0,page_size:0,session_id:"string",status:"string",total:0,results:[{$distinct_id:0,$properties:{}}]},specFile:"query.json"},{id:"list_recent_events",area:"event_breakdown",method:"GET",path:"/api/query/events",summary:"Aggregate Event Counts",pathParams:[],requiredQuery:["project_id","event","type","unit","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{data:{series:["string"],values:{}},legend_size:0},specFile:"query.json"},{id:"query_top_events",area:"event_breakdown",method:"GET",path:"/api/query/events/top",summary:"Today's Top Events",pathParams:[],requiredQuery:["project_id","type"],requiredBody:[],successStatus:200,responseSkeleton:{events:[{amount:0,event:"string",percent_change:0}],type:"string"},specFile:"query.json"},{id:"query_months_top_event_names",area:"event_breakdown",method:"GET",path:"/api/query/events/names",summary:"Top Events",pathParams:[],requiredQuery:["project_id","type"],requiredBody:[],successStatus:200,responseSkeleton:["Viewed page"],specFile:"query.json"},{id:"query_event_properties",area:"event_breakdown",method:"GET",path:"/api/query/events/properties",summary:"Aggregrated Event Property Values",pathParams:[],requiredQuery:["project_id","event","name","type","unit","from_date","to_date"],requiredBody:[],successStatus:200,responseSkeleton:{data:{series:["string"],values:{}},legend_size:0},specFile:"query.json"},{id:"query_events_top_properties",area:"event_breakdown",method:"GET",path:"/api/query/events/properties/top",summary:"Top Event Properties",pathParams:[],requiredQuery:["project_id","event"],requiredBody:[],successStatus:200,responseSkeleton:{},specFile:"query.json"},{id:"query_events_top_property_values",area:"event_breakdown",method:"GET",path:"/api/query/events/properties/values",summary:"Top Event Property Values",pathParams:[],requiredQuery:["project_id","event","name"],requiredBody:[],successStatus:200,responseSkeleton:["string"],specFile:"query.json"},{id:"query_jql",area:"jql",method:"POST",path:"/api/query/jql",summary:"Custom JQL Query",pathParams:[],requiredQuery:["project_id"],requiredBody:[],successStatus:200,responseSkeleton:[{}],specFile:"query.json"},{id:"list_service_accounts",area:"retrieve_service_accounts",method:"GET",path:"/api/app/organizations/{organizationId}/service-accounts",summary:"List Service Accounts",pathParams:["organizationId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:[{id:0,username:"string",last_used:"2026-01-01T00:00:00Z",expires:"2026-01-01T00:00:00Z",creator:0,created:"2026-01-01T00:00:00Z",user:0}],status:"ok"},specFile:"service-accounts.json"},{id:"create_service_account",area:"create_service_accounts",method:"POST",path:"/api/app/organizations/{organizationId}/service-accounts",summary:"Create Service Account",pathParams:["organizationId"],requiredQuery:[],requiredBody:["username"],successStatus:201,responseSkeleton:{results:{token:"string"},status:"ok"},specFile:"service-accounts.json"},{id:"get_service_account",area:"retrieve_service_accounts",method:"GET",path:"/api/app/organizations/{organizationId}/service-accounts/{serviceAccountId}",summary:"Get Service Account",pathParams:["organizationId","serviceAccountId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{id:0,username:"string",last_used:"2026-01-01T00:00:00Z",expires:"2026-01-01T00:00:00Z",creator:0,created:"2026-01-01T00:00:00Z",user:0},specFile:"service-accounts.json"},{id:"delete_service_account",area:"delete_service_accounts",method:"DELETE",path:"/api/app/organizations/{organizationId}/service-accounts/{serviceAccountId}",summary:"Delete Service Account",pathParams:["organizationId","serviceAccountId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok"},specFile:"service-accounts.json"},{id:"list_project_service_accounts",area:"project_membership",method:"GET",path:"/api/app/projects/{projectId}/service-accounts",summary:"List Service Accounts For Project",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{results:[{id:0,username:"string",last_used:"2026-01-01T00:00:00Z",expires:"2026-01-01T00:00:00Z",creator:0,created:"2026-01-01T00:00:00Z",user:0}],status:"ok"},specFile:"service-accounts.json"},{id:"add_service_accounts_to_projects",area:"project_membership",method:"POST",path:"/api/app/organizations/{organizationId}/service-accounts/add-to-project",summary:"Add Service Accounts To Projects",pathParams:["organizationId"],requiredQuery:[],requiredBody:["projects","service_account_ids"],successStatus:200,responseSkeleton:{status:"ok"},specFile:"service-accounts.json"},{id:"remove_service_accounts_from_projects",area:"project_membership",method:"POST",path:"/api/app/organizations/{organizationId}/service-accounts/remove-from-project",summary:"Remove Service Accounts From Projects",pathParams:["organizationId"],requiredQuery:[],requiredBody:["projects"],successStatus:200,responseSkeleton:{status:"ok"},specFile:"service-accounts.json"},{id:"list_warehouse_imports",area:"warehouse_imports",method:"GET",path:"/api/app/projects/{projectId}/warehouse-sources/imports",summary:"List all warehouse imports",pathParams:["projectId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:[{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}]},specFile:"warehouse-connectors.json"},{id:"get_warehouse_import",area:"warehouse_imports",method:"GET",path:"/api/app/projects/{projectId}/warehouse-sources/imports/{importId}",summary:"Get a specific warehouse import",pathParams:["projectId","importId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"update_warehouse_import",area:"warehouse_imports",method:"PATCH",path:"/api/app/projects/{projectId}/warehouse-sources/imports/{importId}",summary:"Update a warehouse import",pathParams:["projectId","importId"],requiredQuery:[],requiredBody:["paused","run_every"],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"delete_warehouse_import",area:"warehouse_imports",method:"DELETE",path:"/api/app/projects/{projectId}/warehouse-sources/imports/{importId}",summary:"Delete a warehouse import",pathParams:["projectId","importId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok"},specFile:"warehouse-connectors.json"},{id:"create_event_stream_import",area:"warehouse_imports",method:"POST",path:"/api/app/projects/{projectId}/warehouse-sources/imports/event-stream",summary:"Create an event stream import",pathParams:["projectId"],requiredQuery:[],requiredBody:["import_type","warehouse_source_id","table_params","time_column_name","sync_mode"],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"create_people_import",area:"warehouse_imports",method:"POST",path:"/api/app/projects/{projectId}/warehouse-sources/imports/people",summary:"Create a people (user profiles) import",pathParams:["projectId"],requiredQuery:[],requiredBody:["import_type","warehouse_source_id","table_params","user_column_name","sync_mode"],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"create_groups_import",area:"warehouse_imports",method:"POST",path:"/api/app/projects/{projectId}/warehouse-sources/imports/groups",summary:"Create a groups import",pathParams:["projectId"],requiredQuery:[],requiredBody:["import_type","warehouse_source_id","table_params","group_key","group_id_column","sync_mode"],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"create_lookup_table_import",area:"warehouse_imports",method:"POST",path:"/api/app/projects/{projectId}/warehouse-sources/imports/lookup-table",summary:"Create a lookup table import",pathParams:["projectId"],requiredQuery:[],requiredBody:["import_type","warehouse_source_id","table_params","mixpanel_property","property_key_column_name","sync_mode"],successStatus:200,responseSkeleton:{status:"ok",results:{id:0,import_type:"event_sync",sync_mode:"time_based",created:"2026-01-01T00:00:00Z",creator_id:0,creator_name:"string",creator_email:"string",warehouse_source_id:0,table_params:{},paused:!1,run_every:0,last_dispatch:0,is_deleted:!1}},specFile:"warehouse-connectors.json"},{id:"run_an_import",area:"warehouse_imports",method:"PUT",path:"/api/app/projects/{projectId}/warehouse-sources/imports/{importId}/manual-sync",summary:"Run an import",pathParams:["projectId","importId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{run_id:"string"}},specFile:"warehouse-connectors.json"},{id:"get_import_history",area:"warehouse_imports",method:"GET",path:"/api/app/projects/{projectId}/warehouse-sources/imports/{importId}/history",summary:"Get import job history",pathParams:["projectId","importId"],requiredQuery:[],requiredBody:[],successStatus:200,responseSkeleton:{status:"ok",results:{runs:[{status:"RUNNING",start_time:0,end_time:0,num_events_imported:0}]}},specFile:"warehouse-connectors.json"}];var y=(e,t)=>({errors:[{message:e,...t?{field:t}:{},help:null}]}),J=f.map(e=>({op:e,re:new RegExp("^"+e.path.replace(/[.*+?^$()|[\]\\]/g,"\\$&").replace(/\{([^}]+)\}/g,"(?<$1>[^/]+)")+"$")}));function k(e){let t=new URL(e.path,"http://twin.local"),r=J.find(s=>s.op.method===e.method.toUpperCase()&&s.re.test(t.pathname));if(r)return{op:r.op,params:{...r.re.exec(t.pathname)?.groups??{}},query:t.searchParams}}function q(e,t,r){for(let s of e.requiredQuery)if(!t.has(s))return s;for(let s of e.requiredBody)if(!r||typeof r!="object"||r[s]===void 0)return s}import{applyTwinWriteAtomic as M,projectResources as H,worldNow as K}from"../../engine/v2/volter_world-core.mjs";var E="mixpanel",v=e=>H(E,e);function I(e){return v(e).filter(t=>t.type==="event").sort((t,r)=>Number(t.seq??0)-Number(r.seq??0))}function B(e){return v(e).filter(t=>t.type==="profile")}function F(e){return v(e).filter(t=>t.type==="identity")}function Q(e){return v(e).filter(t=>t.type==="alias")}function R(e){let t=e.trim();if(t.startsWith("{")||t.startsWith("["))return JSON.parse(t);let r=Uint8Array.from(atob(t),s=>s.charCodeAt(0));return JSON.parse(new TextDecoder("utf-8",{fatal:!0}).decode(r))}function N(e){let t;try{let r=e.query.get("data");if(r!==null)t=R(r);else{if(e.body===void 0||e.body==="")return;if(/^data=/.test(e.body)||/x-www-form-urlencoded/i.test(e.contentType??"")){let s=new URLSearchParams(e.body).get("data");if(s===null)return;t=R(s)}else t=JSON.parse(e.body)}}catch{return}if(Array.isArray(t))return!t.length||!t.every(r=>r&&typeof r=="object"&&!Array.isArray(r))?void 0:{records:t,batched:t.length>1};if(t&&typeof t=="object")return{records:[t],batched:!1}}var V=e=>e.split("#")[0],Y=e=>e.length>1?e.replace(/\/+$/,""):e,ee=f.map(e=>({op:e,re:new RegExp("^"+V(e.path).replace(/[.*+?^$()|[\]\\]/g,"\\$&").replace(/\{([^}]+)\}/g,"(?<$1>[^/]+)")+"$")}));function L(e,t){let r=e.toUpperCase(),s=a=>a===r||a==="POST"&&r==="GET";return ee.filter(a=>s(a.op.method)&&a.re.test(t)).map(a=>({op:a.op,params:{...a.re.exec(t)?.groups??{}}}))}var te=[["$set","profile_set","group_set_property"],["$set_once","profile_set_property_once","group_set_property_once"],["$add","profile_numerical_add",""],["$union","user_profile_union","group_union"],["$append","profile_append_to_list_property",""],["$remove","profile_remove_from_list_property","group_remove_from_list_property"],["$unset","profile_delete_property","group_delete_property"],["$delete","delete_profile","delete_group"]];function A(e,t,r){let s=t.records[0]??{};if(e==="/track"){let a=typeof s.event=="string"?s.event:void 0;return a==="$identify"?"create_identity":a==="$create_alias"?"identity_create_alias":"track_event"}if(e==="/engage"||e==="/groups"){let a=e==="/engage"?1:2;if(t.batched)return e==="/engage"?"profile_batch_update":"group_batch_update";for(let i of te){let n=i[a];if(n&&Object.hasOwn(s,i[0]))return n}return}}function _(e,t,r){return e.get("verbose")==="1"?{status:200,body:{status:t?1:0,error:t?null:r??"Bad Request"},headers:{"content-type":"application/json"}}:{status:200,body:t?1:0,headers:{"content-type":"text/plain"}}}var o=e=>typeof e=="string"&&e!==""?e:void 0,m=e=>e&&typeof e=="object"&&!Array.isArray(e)?e:void 0;function w(e){if(!o(e.event))return"'event' is invalid: must be a non-empty string";if(!m(e.properties))return"'properties' is invalid: must be an object"}function se(e){let t=m(e.properties);if(!o(t.$identified_id))return"'properties.$identified_id' is invalid: must be a non-empty string";if(!o(t.$anon_id))return"'properties.$anon_id' is invalid: must be a non-empty string"}function re(e){let t=m(e.properties);if(!o(t.distinct_id))return"'properties.distinct_id' is invalid: must be a non-empty string";if(!o(t.alias))return"'properties.alias' is invalid: must be a non-empty string"}function ae(e,t){if(!o(e.$token))return"'$token' is invalid: must be a non-empty string";if(!o(e.$distinct_id))return"'$distinct_id' is invalid: must be a non-empty string";if(!m(e[t]))return`'${t}' is invalid: must be an object`}function ie(e,t){let r="";for(let s=0;r.length<t;s+=1){let a=2166136261,i=`${s}:${e}`;for(let n=0;n<i.length;n+=1)a^=i.charCodeAt(n),a=Math.imul(a,16777619)>>>0;r+=a.toString(16).padStart(8,"0")}return r.slice(0,t)}var ne=(e,t,r)=>{let s=o(e.$insert_id);if(s)return s;let a=ie(`event:${t}:${r}`,32);return`${a.slice(0,8)}-${a.slice(8,12)}-${a.slice(12,16)}-${a.slice(16,20)}-${a.slice(20,32)}`},b=(e,t)=>e.reduce((r,s)=>s.type===t?Math.max(r,Number(s.seq??0)):r,0)+1;async function P(e,t,r,s,a){let i=m(e.properties),{value:n}=await M(E,p=>{let d=b(p,"event"),u=ne(i,s,d),l={event:e.event,distinctId:o(i.distinct_id)??null,token:o(i.token)??null,insertId:o(i.$insert_id)??null,time:i.time??null,endpoint:t,properties:i,seq:d},c=a?.(p)??[];return{kind:"write",value:u,write:{operation:"set.event",subjectType:"event",subjectId:u,occurredAt:s,fields:l,...c.length?{projection:{creates:[{type:"event",id:u,fields:l},...c]}}:{},actor:{kind:"agent"},uniqueness:u}}},r);return n}var oe={track_event:{invalid:w,fold:async(e,t,r)=>{await P(e,"/track",t,r)}},create_identity:{invalid:e=>w(e)??se(e),fold:async(e,t,r)=>{let s=m(e.properties),a=o(s.$anon_id),i=o(s.$identified_id);await P(e,"/track",t,r,n=>[{type:"identity",id:a,fields:{anonId:a,identifiedId:i,token:o(s.token)??null,seq:b(n,"identity")}}])}},identity_create_alias:{invalid:e=>w(e)??re(e),fold:async(e,t,r)=>{let s=m(e.properties),a=o(s.alias),i=o(s.distinct_id);await P(e,"/track",t,r,n=>[{type:"alias",id:a,fields:{alias:a,distinctId:i,token:o(s.token)??null,seq:b(n,"alias")}}])}}},x=async({query:e,body:t,root:r,occurredAt:s})=>{let a=t,i=[];for(let n of a.records){let p=A("/track",{records:[n],batched:!1},e),d=p?oe[p]:void 0;if(!d)return _(e,!1,"no declared /track operation matches this payload");let u=d.invalid(n);if(u)return _(e,!1,u);i.push({rec:n,impl:d})}for(let{rec:n,impl:p}of i)await p.fold(n,r,s);return _(e,!0)},S={track_event:x,create_identity:x,identity_create_alias:x,profile_set:async({query:e,body:t,root:r,occurredAt:s})=>{let a=t;for(let i of a.records){let n=ae(i,"$set");if(n)return _(e,!1,n)}for(let i of a.records){let n=o(i.$distinct_id),p=m(i.$set);await M(E,d=>{let u=d.find(c=>c.type==="profile"&&c.id===n),l={...m(u?.properties)??{},...p};return{kind:"write",value:l,write:{operation:"set.profile",subjectType:"profile",subjectId:n,fields:{distinctId:n,properties:l,token:o(i.$token)??null,rev:Number(u?.rev??0)+1},occurredAt:s,actor:{kind:"agent"}}}},r)}return _(e,!0)}},pe=new Set(["/track","/engage","/groups"]);async function O(e){let t=e.occurredAt??K(),r=new URL(e.path,"http://twin.local"),s=Y(r.pathname),a=r.searchParams;if(pe.has(s)){let c=L(e.method,s);if(!c.length)return{status:404,body:y(`unknown endpoint: ${e.method} ${s}`)};let j=N({query:a,body:e.body,contentType:e.contentType});if(!j)return _(a,!1,"Unable to decode the data payload");let Z=A(s,j,a),h=c.find(X=>X.op.id===Z);if(!h)return _(a,!1,`no declared ${s} operation matches this payload`);let G=S[h.op.id];return G?G({op:h.op,params:h.params,query:a,body:j,root:e.root,occurredAt:t}):T(h.op,s)}if(s==="/import"){let c=L(e.method,s)[0];if(c&&!S[c.op.id])return T(c.op,s)}let i=k({method:e.method,path:s+r.search,body:e.body});if(!i)return{status:404,body:y(`unknown endpoint: ${e.method} ${s}`)};let{op:n,params:p}=i,d=S[n.id];if(!d)return T(n,s);let u;if(e.body)try{u=JSON.parse(e.body)}catch{return{status:400,body:y("invalid JSON in request body")}}let l=q(n,i.query,u);return l?{status:400,body:y(`missing required: ${l}`,l)}:d({op:n,params:p,query:i.query,body:u,root:e.root,occurredAt:t})}function T(e,t){return{status:404,body:y(`[twin gap] ${e.method} ${e.path} (${e.id}) is in the vendor's spec but not yet modeled in the mixpanel twin \u2014 failing loudly instead of faking success`+(e.path.includes("#")?` (wire path ${t}; this operation is discriminated by request body, not by URL)`:""))}}import{serveHttp as Pe,withRequestScopes as de}from"../../engine/v2/volter_world-core.mjs";import{statefulTwinManifest as ue,worldNow as ce}from"../../engine/v2/volter_world-core.mjs";var C=ue({vendor:"mixpanel",twinOf:"the Mixpanel ingestion and query API",stores:"tracked events, people profiles, $identify links and $create_alias records"}),D={events:I,profiles:B,identities:F,aliases:Q},U=Object.keys(D).sort(),le={...C,stores:U,doors:{...C.doors,store:"GET /twin/store/<name>"}};function z(e={}){return de(async function(r){let s=new URL(r.url),a=s.pathname.replace(/\/+$/,"")||"/";if(r.method==="GET"&&a==="/twin")return Response.json(le);if(r.method==="GET"&&a.startsWith("/twin/store/")){let p=a.slice(12),d=D[p];return d?Response.json(d(e.root)):Response.json({error:"unknown store",store:p,stores:U},{status:404})}let i=await O({method:r.method,path:s.pathname+s.search,body:r.method==="GET"||r.method==="HEAD"?void 0:await r.text(),contentType:r.headers.get("content-type")??void 0,occurredAt:ce(),root:e.root});if(i.body===null||i.body===void 0)return new Response(null,{status:i.status,headers:i.headers});let n=i.headers?.["content-type"]??i.headers?.["Content-Type"];return typeof n=="string"&&n.startsWith("text/")?new Response(String(i.body),{status:i.status,headers:i.headers}):Response.json(i.body,{status:i.status,headers:i.headers})},{refuse:()=>new Response("0",{status:200,headers:{"content-type":"text/plain"}})})}import{assertBudgetGuardIntact as $e,confirmAction as Ge,pendingActions as Re,syncPull as Le}from"../../engine/v2/volter_world-core.mjs";import{declareRateBudget as me,rateBudgetPath as Ie,rateBudgetWeight as Be,RateBudget as Fe}from"../../engine/v2/volter_world-core.mjs";import{RateBudgetError as ge}from"../../engine/v2/volter_world-core.mjs";var _e="mixpanel",ye=6e4,W=60,he=300,g={ingestion:2,bulkImport:3,query:6,other:2},$={windowMs:ye,ceiling:W,defaultWeight:g.other,maxRetryAfterSeconds:he,rules:[{match:"^(POST|GET) /(track|engage|groups)/?$",weight:g.ingestion},{match:"^POST /import/?$",weight:g.bulkImport},{match:"^(GET|POST) /(export|jql|insights|funnels|retention|segmentation|events|cohorts|stream)(/.*)?$",weight:g.query}],reason:"Mixpanel publishes NO single scalar request limit: ingestion (/track, /engage, /groups) is metered by bytes per minute (~2GB/min), /import likewise plus an API-secret requirement, while the Query and Export APIs are limited per HOUR in the tens of queries with a small concurrency cap. Those figures are operator knowledge, NOT verified offline and not live-fetched during this build. Because no honest single number follows from them, this declaration claims NO extra permissiveness over the kernel fallback: 60 weighted units / 60s at defaultWeight 2 is exactly the fallback's shape (30 calls/min, same burst). The vendor's real cost structure appears only in the relative weights, all at or above the default \u2014 ingestion 2, /import 3, Query/Export 6 \u2014 so a runaway analysis loop halts three times sooner than a runaway ingestion loop. That 3:6 ratio is a judgement call about relative risk, not a published cost."};me(_e,$);export{z as createTwinFetch};
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@agenttwin/twin-mongodb
|
|
2
|
+
|
|
3
|
+
Contains @volter/twin-mongodb 0.1.37 by Volter (https://github.com/volter-ai),
|
|
4
|
+
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|