veryfront 0.1.762 → 0.1.764
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/esm/deno.js +1 -1
- package/esm/src/extensions/content/content-processor.d.ts +3 -3
- package/esm/src/integrations/_data.d.ts.map +1 -1
- package/esm/src/integrations/_data.js +43014 -20480
- package/esm/src/integrations/_tool_summaries.d.ts.map +1 -1
- package/esm/src/integrations/_tool_summaries.js +596 -0
- package/esm/src/integrations/feature-flags.d.ts +1 -1
- package/esm/src/integrations/feature-flags.d.ts.map +1 -1
- package/esm/src/integrations/feature-flags.js +71 -0
- package/esm/src/integrations/schema.d.ts +41 -5
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +88 -1
- package/esm/src/rendering/orchestrator/html-project-css.d.ts +3 -3
- package/esm/src/rendering/orchestrator/html-project-css.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/html-project-css.js +9 -18
- package/esm/src/security/http/response/security-handler.d.ts.map +1 -1
- package/esm/src/security/http/response/security-handler.js +15 -10
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const EXPERIMENTAL_INTEGRATIONS_ENV = "VERYFRONT_EXPERIMENTAL_INTEGRATIONS";
|
|
2
2
|
export declare const SUPPORTED_INTEGRATION_NAMES: readonly ["airtable", "asana", "calendar", "confluence", "docs-google", "drive", "figma", "github", "gitlab", "gmail", "harvest", "hubspot", "jira", "linear", "notion", "onedrive", "outlook", "sentry", "sharepoint", "sheets", "slack", "teams"];
|
|
3
|
-
export declare const DECLARED_INTEGRATION_NAMES: readonly ["gmail", "slack", "github", "calendar", "jira", "notion", "servicenow", "confluence", "linear", "gitlab", "outlook", "teams", "figma", "sap", "sheets", "airtable", "supabase", "neon", "sharepoint", "stripe", "salesforce", "twitter", "onedrive", "bitbucket", "sentry", "posthog", "persona", "zendesk", "asana", "harvest", "monday", "zoom", "trello", "box", "shopify", "clickup", "intercom", "pipedrive", "mailchimp", "webex", "freshdesk", "quickbooks", "xero", "drive", "docs-google", "snowflake", "mixpanel", "twilio", "anthropic", "aws", "hubspot", "openai", "todoist", "calendly", "google-analytics", "klaviyo", "datadog", "paypal", "activecampaign", "algolia", "amplitude", "apollo", "ashby", "attio", "basecamp", "brevo", "circleci", "close", "cloudflare", "coda", "dialpad", "digitalocean", "exa", "fathom", "firecrawl", "fireflies", "folk", "gemini", "gong", "google-chat", "gusto", "jotform", "lever", "metabase", "mistral", "pagerduty", "perplexity", "productboard", "razorpay", "resend", "salesflare", "segment", "sendgrid", "shortcut", "square", "tavily", "typeform", "apify", "assemblyai", "axiom", "betterstack", "browserbase", "buildkite", "checkly", "clickhouse", "cohere", "deepgram", "elevenlabs", "fal", "fireworks-ai", "fly-io", "grafana-cloud", "groq", "heroku", "huggingface", "langfuse", "langsmith", "launchdarkly", "mongodb-atlas", "netlify", "new-relic", "openrouter", "pinecone", "planetscale", "qdrant", "railway", "redis-cloud", "render", "replicate", "snyk", "stability-ai", "together-ai", "vercel", "weaviate"];
|
|
3
|
+
export declare const DECLARED_INTEGRATION_NAMES: readonly ["gmail", "slack", "github", "calendar", "jira", "notion", "servicenow", "confluence", "linear", "gitlab", "outlook", "teams", "figma", "sap", "sheets", "airtable", "supabase", "neon", "sharepoint", "stripe", "salesforce", "twitter", "onedrive", "bitbucket", "sentry", "posthog", "persona", "zendesk", "asana", "harvest", "monday", "zoom", "trello", "box", "shopify", "clickup", "intercom", "pipedrive", "mailchimp", "webex", "freshdesk", "quickbooks", "xero", "drive", "docs-google", "snowflake", "mixpanel", "twilio", "anthropic", "aws", "hubspot", "openai", "todoist", "calendly", "google-analytics", "klaviyo", "datadog", "paypal", "activecampaign", "algolia", "amplitude", "apollo", "ashby", "attio", "basecamp", "brevo", "circleci", "close", "cloudflare", "coda", "dialpad", "digitalocean", "exa", "fathom", "firecrawl", "fireflies", "folk", "gemini", "gong", "google-chat", "gusto", "jotform", "lever", "metabase", "mistral", "pagerduty", "perplexity", "productboard", "razorpay", "resend", "salesflare", "segment", "sendgrid", "shortcut", "square", "tavily", "typeform", "apify", "assemblyai", "axiom", "betterstack", "browserbase", "buildkite", "checkly", "clickhouse", "cohere", "deepgram", "elevenlabs", "fal", "fireworks-ai", "fly-io", "grafana-cloud", "groq", "heroku", "huggingface", "langfuse", "langsmith", "launchdarkly", "mongodb-atlas", "netlify", "new-relic", "openrouter", "pinecone", "planetscale", "qdrant", "railway", "redis-cloud", "render", "replicate", "snyk", "stability-ai", "together-ai", "vercel", "weaviate", "bamboohr", "cal-com", "customer-io", "discord", "docusign", "gocardless", "google-bigquery", "google-contacts", "help-scout", "telegram", "whatsapp", "woocommerce", "zoho-crm", "adyen", "azure-blob-storage", "bigcommerce", "brave-search", "chargebee", "databricks", "deel", "front", "google-cloud-storage", "google-forms", "gorgias", "greenhouse", "guru", "mollie", "paddle", "pandadoc", "personio", "portkey", "power-bi", "ramp", "rippling", "serpapi", "shopware", "surveymonkey", "tally", "wix", "workable", "azure", "azure-document-intelligence", "billbee", "cleverreach", "datev", "factorial", "finapi", "gcp", "hetzner", "ionos", "klarna", "lexoffice", "mindee", "moss", "neo4j", "north-data", "qonto", "sendcloud", "sevdesk", "skribble", "stackit", "trusted-shops", "unstructured", "unzer", "voyage-ai", "xentral", "alphavantage", "daytona", "e2b", "polygon", "sprites"];
|
|
4
4
|
export declare function isDeclaredIntegration(name: string | null | undefined): boolean;
|
|
5
5
|
export declare function isSupportedIntegration(name: string | null | undefined): boolean;
|
|
6
6
|
export declare function isExperimentalIntegrationEnabled(name: string | null | undefined): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/feature-flags.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,6BAA6B,wCAAwC,CAAC;AAEnF,eAAO,MAAM,2BAA2B,qPAuB9B,CAAC;AAEX,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/feature-flags.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,6BAA6B,wCAAwC,CAAC;AAEnF,eAAO,MAAM,2BAA2B,qPAuB9B,CAAC;AAEX,eAAO,MAAM,0BAA0B,63EA8M7B,CAAC;AAqBX,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE9E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE/E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAezF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE7E;AAED,wBAAgB,yBAAyB,CAAC,CAAC,SAAS;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,EAChF,YAAY,EAAE,SAAS,CAAC,EAAE,GACzB,CAAC,EAAE,CAIL"}
|
|
@@ -159,6 +159,77 @@ export const DECLARED_INTEGRATION_NAMES = [
|
|
|
159
159
|
"together-ai",
|
|
160
160
|
"vercel",
|
|
161
161
|
"weaviate",
|
|
162
|
+
"bamboohr",
|
|
163
|
+
"cal-com",
|
|
164
|
+
"customer-io",
|
|
165
|
+
"discord",
|
|
166
|
+
"docusign",
|
|
167
|
+
"gocardless",
|
|
168
|
+
"google-bigquery",
|
|
169
|
+
"google-contacts",
|
|
170
|
+
"help-scout",
|
|
171
|
+
"telegram",
|
|
172
|
+
"whatsapp",
|
|
173
|
+
"woocommerce",
|
|
174
|
+
"zoho-crm",
|
|
175
|
+
"adyen",
|
|
176
|
+
"azure-blob-storage",
|
|
177
|
+
"bigcommerce",
|
|
178
|
+
"brave-search",
|
|
179
|
+
"chargebee",
|
|
180
|
+
"databricks",
|
|
181
|
+
"deel",
|
|
182
|
+
"front",
|
|
183
|
+
"google-cloud-storage",
|
|
184
|
+
"google-forms",
|
|
185
|
+
"gorgias",
|
|
186
|
+
"greenhouse",
|
|
187
|
+
"guru",
|
|
188
|
+
"mollie",
|
|
189
|
+
"paddle",
|
|
190
|
+
"pandadoc",
|
|
191
|
+
"personio",
|
|
192
|
+
"portkey",
|
|
193
|
+
"power-bi",
|
|
194
|
+
"ramp",
|
|
195
|
+
"rippling",
|
|
196
|
+
"serpapi",
|
|
197
|
+
"shopware",
|
|
198
|
+
"surveymonkey",
|
|
199
|
+
"tally",
|
|
200
|
+
"wix",
|
|
201
|
+
"workable",
|
|
202
|
+
"azure",
|
|
203
|
+
"azure-document-intelligence",
|
|
204
|
+
"billbee",
|
|
205
|
+
"cleverreach",
|
|
206
|
+
"datev",
|
|
207
|
+
"factorial",
|
|
208
|
+
"finapi",
|
|
209
|
+
"gcp",
|
|
210
|
+
"hetzner",
|
|
211
|
+
"ionos",
|
|
212
|
+
"klarna",
|
|
213
|
+
"lexoffice",
|
|
214
|
+
"mindee",
|
|
215
|
+
"moss",
|
|
216
|
+
"neo4j",
|
|
217
|
+
"north-data",
|
|
218
|
+
"qonto",
|
|
219
|
+
"sendcloud",
|
|
220
|
+
"sevdesk",
|
|
221
|
+
"skribble",
|
|
222
|
+
"stackit",
|
|
223
|
+
"trusted-shops",
|
|
224
|
+
"unstructured",
|
|
225
|
+
"unzer",
|
|
226
|
+
"voyage-ai",
|
|
227
|
+
"xentral",
|
|
228
|
+
"alphavantage",
|
|
229
|
+
"daytona",
|
|
230
|
+
"e2b",
|
|
231
|
+
"polygon",
|
|
232
|
+
"sprites",
|
|
162
233
|
];
|
|
163
234
|
const supportedIntegrations = new Set(SUPPORTED_INTEGRATION_NAMES);
|
|
164
235
|
const declaredIntegrations = new Set(DECLARED_INTEGRATION_NAMES);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { InferSchema } from "../extensions/schema/index.js";
|
|
2
|
-
export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "segment" | "zoom" | "twitter" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate">;
|
|
2
|
+
export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "polygon" | "segment" | "zoom" | "twitter" | "azure" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "sprites">;
|
|
3
3
|
/** Zod schema for integration name. */
|
|
4
|
-
export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "segment" | "zoom" | "twitter" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate">;
|
|
4
|
+
export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "polygon" | "segment" | "zoom" | "twitter" | "azure" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "sprites">;
|
|
5
5
|
/**
|
|
6
6
|
* Every registered integration name. The single source of truth for catalog
|
|
7
7
|
* surfaces (CLI validation, MCP listings) — derive from this instead of
|
|
8
8
|
* maintaining parallel name lists.
|
|
9
9
|
*/
|
|
10
|
-
export declare const ALL_INTEGRATION_NAMES: readonly ["gmail", "slack", "github", "calendar", "jira", "notion", "servicenow", "confluence", "linear", "gitlab", "outlook", "teams", "figma", "sap", "sheets", "airtable", "supabase", "neon", "sharepoint", "stripe", "salesforce", "twitter", "onedrive", "bitbucket", "sentry", "posthog", "persona", "zendesk", "asana", "harvest", "hubspot", "monday", "zoom", "trello", "box", "shopify", "clickup", "intercom", "pipedrive", "mailchimp", "webex", "freshdesk", "quickbooks", "xero", "drive", "docs-google", "snowflake", "mixpanel", "twilio", "anthropic", "aws", "openai", "todoist", "calendly", "google-analytics", "klaviyo", "datadog", "paypal", "activecampaign", "algolia", "amplitude", "apollo", "ashby", "attio", "basecamp", "brevo", "circleci", "close", "cloudflare", "coda", "dialpad", "digitalocean", "exa", "fathom", "firecrawl", "fireflies", "folk", "gemini", "gong", "google-chat", "gusto", "jotform", "lever", "metabase", "mistral", "pagerduty", "perplexity", "productboard", "razorpay", "resend", "salesflare", "segment", "sendgrid", "shortcut", "square", "tavily", "typeform", "apify", "assemblyai", "axiom", "betterstack", "browserbase", "buildkite", "checkly", "clickhouse", "cohere", "deepgram", "elevenlabs", "fal", "fireworks-ai", "fly-io", "grafana-cloud", "groq", "heroku", "huggingface", "langfuse", "langsmith", "launchdarkly", "mongodb-atlas", "netlify", "new-relic", "openrouter", "pinecone", "planetscale", "qdrant", "railway", "redis-cloud", "render", "replicate", "snyk", "stability-ai", "together-ai", "vercel", "weaviate"];
|
|
10
|
+
export declare const ALL_INTEGRATION_NAMES: readonly ["gmail", "slack", "github", "calendar", "jira", "notion", "servicenow", "confluence", "linear", "gitlab", "outlook", "teams", "figma", "sap", "sheets", "airtable", "supabase", "neon", "sharepoint", "stripe", "salesforce", "twitter", "onedrive", "bitbucket", "sentry", "posthog", "persona", "zendesk", "asana", "harvest", "hubspot", "monday", "zoom", "trello", "box", "shopify", "clickup", "intercom", "pipedrive", "mailchimp", "webex", "freshdesk", "quickbooks", "xero", "drive", "docs-google", "snowflake", "mixpanel", "twilio", "anthropic", "aws", "openai", "todoist", "calendly", "google-analytics", "klaviyo", "datadog", "paypal", "activecampaign", "algolia", "amplitude", "apollo", "ashby", "attio", "basecamp", "brevo", "circleci", "close", "cloudflare", "coda", "dialpad", "digitalocean", "exa", "fathom", "firecrawl", "fireflies", "folk", "gemini", "gong", "google-chat", "gusto", "jotform", "lever", "metabase", "mistral", "pagerduty", "perplexity", "productboard", "razorpay", "resend", "salesflare", "segment", "sendgrid", "shortcut", "square", "tavily", "typeform", "apify", "assemblyai", "axiom", "betterstack", "browserbase", "buildkite", "checkly", "clickhouse", "cohere", "deepgram", "elevenlabs", "fal", "fireworks-ai", "fly-io", "grafana-cloud", "groq", "heroku", "huggingface", "langfuse", "langsmith", "launchdarkly", "mongodb-atlas", "netlify", "new-relic", "openrouter", "pinecone", "planetscale", "qdrant", "railway", "redis-cloud", "render", "replicate", "snyk", "stability-ai", "together-ai", "vercel", "weaviate", "bamboohr", "cal-com", "customer-io", "discord", "docusign", "gocardless", "google-bigquery", "google-contacts", "help-scout", "telegram", "whatsapp", "woocommerce", "zoho-crm", "adyen", "azure-blob-storage", "bigcommerce", "brave-search", "chargebee", "databricks", "deel", "front", "google-cloud-storage", "google-forms", "gorgias", "greenhouse", "guru", "mollie", "paddle", "pandadoc", "personio", "portkey", "power-bi", "ramp", "rippling", "serpapi", "shopware", "surveymonkey", "tally", "wix", "workable", "azure", "azure-document-intelligence", "billbee", "cleverreach", "datev", "factorial", "finapi", "gcp", "hetzner", "ionos", "klarna", "lexoffice", "mindee", "moss", "neo4j", "north-data", "qonto", "sendcloud", "sevdesk", "skribble", "stackit", "trusted-shops", "unstructured", "unzer", "voyage-ai", "xentral", "alphavantage", "daytona", "e2b", "polygon", "sprites"];
|
|
11
11
|
export declare const getEnvVarSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
12
12
|
name: import("../internal-agents/schema.js").Schema<string>;
|
|
13
13
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -89,6 +89,11 @@ export declare const getOAuthConfigSchema: () => import("../internal-agents/sche
|
|
|
89
89
|
* DD-APPLICATION-KEY → DD_APP_KEY).
|
|
90
90
|
*/
|
|
91
91
|
additionalHeaders: import("../internal-agents/schema.js").Schema<Record<string, string> | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* api-key: send the credential as this query parameter instead of a header,
|
|
94
|
+
* for providers without header auth (e.g. SerpApi's api_key).
|
|
95
|
+
*/
|
|
96
|
+
queryParamName: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
92
97
|
/** basic: project env vars holding the HTTP Basic username and password. */
|
|
93
98
|
usernameKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
94
99
|
passwordKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -141,6 +146,11 @@ export declare const OAuthConfigSchema: import("../internal-agents/schema.js").S
|
|
|
141
146
|
* DD-APPLICATION-KEY → DD_APP_KEY).
|
|
142
147
|
*/
|
|
143
148
|
additionalHeaders: import("../internal-agents/schema.js").Schema<Record<string, string> | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* api-key: send the credential as this query parameter instead of a header,
|
|
151
|
+
* for providers without header auth (e.g. SerpApi's api_key).
|
|
152
|
+
*/
|
|
153
|
+
queryParamName: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
144
154
|
/** basic: project env vars holding the HTTP Basic username and password. */
|
|
145
155
|
usernameKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
146
156
|
passwordKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -172,12 +182,16 @@ export declare const getIntegrationEndpointBodyFieldSchema: () => import("../int
|
|
|
172
182
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
173
183
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
174
184
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
185
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
186
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
175
187
|
}>>;
|
|
176
188
|
export declare const IntegrationEndpointBodyFieldSchema: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
177
189
|
type: import("../internal-agents/schema.js").Schema<string>;
|
|
178
190
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
179
191
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
180
192
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
193
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
194
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
181
195
|
}>>;
|
|
182
196
|
export declare const getIntegrationEndpointResponseEnrichmentSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
183
197
|
type: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -255,6 +269,8 @@ export declare const getIntegrationEndpointSchema: () => import("../internal-age
|
|
|
255
269
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
256
270
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
257
271
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
272
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
273
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
258
274
|
}>> | undefined>;
|
|
259
275
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
260
276
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -305,6 +321,8 @@ export declare const IntegrationEndpointSchema: import("../internal-agents/schem
|
|
|
305
321
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
306
322
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
307
323
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
324
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
325
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
308
326
|
}>> | undefined>;
|
|
309
327
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
310
328
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -361,6 +379,8 @@ export declare const getIntegrationToolSchema: () => import("../internal-agents/
|
|
|
361
379
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
362
380
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
363
381
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
382
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
383
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
364
384
|
}>> | undefined>;
|
|
365
385
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
366
386
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -419,6 +439,8 @@ export declare const IntegrationToolSchema: import("../internal-agents/schema.js
|
|
|
419
439
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
420
440
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
421
441
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
442
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
443
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
422
444
|
}>> | undefined>;
|
|
423
445
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
424
446
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -493,7 +515,7 @@ export declare const IntegrationPromptSchema: import("../internal-agents/schema.
|
|
|
493
515
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
494
516
|
}>>;
|
|
495
517
|
export declare const getIntegrationConfigSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
496
|
-
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "segment" | "zoom" | "twitter" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate">;
|
|
518
|
+
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "polygon" | "segment" | "zoom" | "twitter" | "azure" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "sprites">;
|
|
497
519
|
displayName: import("../internal-agents/schema.js").Schema<string>;
|
|
498
520
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
499
521
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -542,6 +564,11 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
|
|
|
542
564
|
* DD-APPLICATION-KEY → DD_APP_KEY).
|
|
543
565
|
*/
|
|
544
566
|
additionalHeaders: import("../internal-agents/schema.js").Schema<Record<string, string> | undefined>;
|
|
567
|
+
/**
|
|
568
|
+
* api-key: send the credential as this query parameter instead of a header,
|
|
569
|
+
* for providers without header auth (e.g. SerpApi's api_key).
|
|
570
|
+
*/
|
|
571
|
+
queryParamName: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
545
572
|
/** basic: project env vars holding the HTTP Basic username and password. */
|
|
546
573
|
usernameKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
547
574
|
passwordKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -591,6 +618,8 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
|
|
|
591
618
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
592
619
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
593
620
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
621
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
622
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
594
623
|
}>> | undefined>;
|
|
595
624
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
596
625
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -648,7 +677,7 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
|
|
|
648
677
|
}>>;
|
|
649
678
|
/** Zod schema for integration config. */
|
|
650
679
|
export declare const IntegrationConfigSchema: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
651
|
-
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "segment" | "zoom" | "twitter" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate">;
|
|
680
|
+
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "polygon" | "segment" | "zoom" | "twitter" | "azure" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "sprites">;
|
|
652
681
|
displayName: import("../internal-agents/schema.js").Schema<string>;
|
|
653
682
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
654
683
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -697,6 +726,11 @@ export declare const IntegrationConfigSchema: import("../internal-agents/schema.
|
|
|
697
726
|
* DD-APPLICATION-KEY → DD_APP_KEY).
|
|
698
727
|
*/
|
|
699
728
|
additionalHeaders: import("../internal-agents/schema.js").Schema<Record<string, string> | undefined>;
|
|
729
|
+
/**
|
|
730
|
+
* api-key: send the credential as this query parameter instead of a header,
|
|
731
|
+
* for providers without header auth (e.g. SerpApi's api_key).
|
|
732
|
+
*/
|
|
733
|
+
queryParamName: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
700
734
|
/** basic: project env vars holding the HTTP Basic username and password. */
|
|
701
735
|
usernameKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
702
736
|
passwordKey: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -746,6 +780,8 @@ export declare const IntegrationConfigSchema: import("../internal-agents/schema.
|
|
|
746
780
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
747
781
|
required: import("../internal-agents/schema.js").Schema<boolean | undefined>;
|
|
748
782
|
default: import("../internal-agents/schema.js").Schema<unknown>;
|
|
783
|
+
encoding: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
784
|
+
partFilenameField: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
749
785
|
}>> | undefined>;
|
|
750
786
|
bodyMode: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
751
787
|
contentType: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -134,6 +134,77 @@ const integrationNames = [
|
|
|
134
134
|
"together-ai",
|
|
135
135
|
"vercel",
|
|
136
136
|
"weaviate",
|
|
137
|
+
"bamboohr",
|
|
138
|
+
"cal-com",
|
|
139
|
+
"customer-io",
|
|
140
|
+
"discord",
|
|
141
|
+
"docusign",
|
|
142
|
+
"gocardless",
|
|
143
|
+
"google-bigquery",
|
|
144
|
+
"google-contacts",
|
|
145
|
+
"help-scout",
|
|
146
|
+
"telegram",
|
|
147
|
+
"whatsapp",
|
|
148
|
+
"woocommerce",
|
|
149
|
+
"zoho-crm",
|
|
150
|
+
"adyen",
|
|
151
|
+
"azure-blob-storage",
|
|
152
|
+
"bigcommerce",
|
|
153
|
+
"brave-search",
|
|
154
|
+
"chargebee",
|
|
155
|
+
"databricks",
|
|
156
|
+
"deel",
|
|
157
|
+
"front",
|
|
158
|
+
"google-cloud-storage",
|
|
159
|
+
"google-forms",
|
|
160
|
+
"gorgias",
|
|
161
|
+
"greenhouse",
|
|
162
|
+
"guru",
|
|
163
|
+
"mollie",
|
|
164
|
+
"paddle",
|
|
165
|
+
"pandadoc",
|
|
166
|
+
"personio",
|
|
167
|
+
"portkey",
|
|
168
|
+
"power-bi",
|
|
169
|
+
"ramp",
|
|
170
|
+
"rippling",
|
|
171
|
+
"serpapi",
|
|
172
|
+
"shopware",
|
|
173
|
+
"surveymonkey",
|
|
174
|
+
"tally",
|
|
175
|
+
"wix",
|
|
176
|
+
"workable",
|
|
177
|
+
"azure",
|
|
178
|
+
"azure-document-intelligence",
|
|
179
|
+
"billbee",
|
|
180
|
+
"cleverreach",
|
|
181
|
+
"datev",
|
|
182
|
+
"factorial",
|
|
183
|
+
"finapi",
|
|
184
|
+
"gcp",
|
|
185
|
+
"hetzner",
|
|
186
|
+
"ionos",
|
|
187
|
+
"klarna",
|
|
188
|
+
"lexoffice",
|
|
189
|
+
"mindee",
|
|
190
|
+
"moss",
|
|
191
|
+
"neo4j",
|
|
192
|
+
"north-data",
|
|
193
|
+
"qonto",
|
|
194
|
+
"sendcloud",
|
|
195
|
+
"sevdesk",
|
|
196
|
+
"skribble",
|
|
197
|
+
"stackit",
|
|
198
|
+
"trusted-shops",
|
|
199
|
+
"unstructured",
|
|
200
|
+
"unzer",
|
|
201
|
+
"voyage-ai",
|
|
202
|
+
"xentral",
|
|
203
|
+
"alphavantage",
|
|
204
|
+
"daytona",
|
|
205
|
+
"e2b",
|
|
206
|
+
"polygon",
|
|
207
|
+
"sprites",
|
|
137
208
|
];
|
|
138
209
|
export const getIntegrationNameSchema = defineSchema((v) => v.enum(integrationNames));
|
|
139
210
|
/** Zod schema for integration name. */
|
|
@@ -201,6 +272,11 @@ export const getOAuthConfigSchema = defineSchema((v) => v.object({
|
|
|
201
272
|
* DD-APPLICATION-KEY → DD_APP_KEY).
|
|
202
273
|
*/
|
|
203
274
|
additionalHeaders: v.record(v.string(), v.string()).optional(),
|
|
275
|
+
/**
|
|
276
|
+
* api-key: send the credential as this query parameter instead of a header,
|
|
277
|
+
* for providers without header auth (e.g. SerpApi's api_key).
|
|
278
|
+
*/
|
|
279
|
+
queryParamName: v.string().optional(),
|
|
204
280
|
/** basic: project env vars holding the HTTP Basic username and password. */
|
|
205
281
|
usernameKey: v.string().optional(),
|
|
206
282
|
passwordKey: v.string().optional(),
|
|
@@ -232,6 +308,13 @@ export const getIntegrationEndpointBodyFieldSchema = defineSchema((v) => v.objec
|
|
|
232
308
|
description: v.string(),
|
|
233
309
|
required: v.boolean().optional(),
|
|
234
310
|
default: v.unknown().optional(),
|
|
311
|
+
// "base64": the string value is base64-decoded before sending. With
|
|
312
|
+
// bodyMode "form-data" the field becomes a binary part; with "raw" the
|
|
313
|
+
// decoded bytes become the request body.
|
|
314
|
+
encoding: v.enum(["base64"]).optional(),
|
|
315
|
+
// For form-data binary parts: the name of the body field that holds the
|
|
316
|
+
// part's filename. That field is consumed (not sent as its own part).
|
|
317
|
+
partFilenameField: v.string().optional(),
|
|
235
318
|
}));
|
|
236
319
|
export const IntegrationEndpointBodyFieldSchema = lazySchema(getIntegrationEndpointBodyFieldSchema);
|
|
237
320
|
export const getIntegrationEndpointResponseEnrichmentSchema = defineSchema((v) => v.object({
|
|
@@ -268,7 +351,11 @@ export const getIntegrationEndpointSchema = defineSchema((v) => v.object({
|
|
|
268
351
|
// sent as the entire request body. For APIs that take arbitrary flat payloads
|
|
269
352
|
// (e.g. Salesforce sObject writes, ServiceNow table records). Default: each
|
|
270
353
|
// body field becomes a key of a JSON object.
|
|
271
|
-
|
|
354
|
+
// "form-data": body fields are sent as multipart/form-data parts in
|
|
355
|
+
// declaration order; fields with encoding "base64" become binary parts.
|
|
356
|
+
// "raw": body declares exactly one field whose value is sent verbatim as
|
|
357
|
+
// the request body (base64-decoded when encoding is set), with contentType.
|
|
358
|
+
bodyMode: v.enum(["passthrough", "form-data", "raw"]).optional(),
|
|
272
359
|
contentType: v.string().optional(),
|
|
273
360
|
response: v.object({
|
|
274
361
|
transform: v.string().optional(),
|
|
@@ -5,7 +5,7 @@ import { warmPreparedCSSArtifactFromFiles } from "../../html/styles-builder/css-
|
|
|
5
5
|
import { resolveStyleContentVersion } from "../../html/styles-builder/content-version.js";
|
|
6
6
|
import { createStyleScopeProfile } from "../../html/styles-builder/style-scope-profile.js";
|
|
7
7
|
import type { RuntimeAdapter } from "../../platform/adapters/base.js";
|
|
8
|
-
import {
|
|
8
|
+
import { getProjectCandidates } from "./css-candidate-manifest.js";
|
|
9
9
|
import type { HTMLGenerationContext } from "./html-types.js";
|
|
10
10
|
export type ProjectCSSResult = Awaited<ReturnType<typeof getProjectCSS>> | null;
|
|
11
11
|
interface ProjectCssConfig {
|
|
@@ -18,7 +18,7 @@ interface ProjectCssDeps {
|
|
|
18
18
|
createStyleScopeProfile?: typeof createStyleScopeProfile;
|
|
19
19
|
getProjectCSS?: typeof getProjectCSS;
|
|
20
20
|
getProjectContentVersion?: (config: Pick<ProjectCssConfig, "adapter" | "mode">) => string | undefined;
|
|
21
|
-
|
|
21
|
+
getProjectCandidates?: typeof getProjectCandidates;
|
|
22
22
|
resolveStyleContentVersion?: typeof resolveStyleContentVersion;
|
|
23
23
|
warmPreparedCSSArtifactFromFiles?: typeof warmPreparedCSSArtifactFromFiles;
|
|
24
24
|
}
|
|
@@ -26,6 +26,6 @@ export declare function buildRouteManifestKey(pagePath: string, projectDir: stri
|
|
|
26
26
|
export declare function getProjectContentVersion(config: Pick<ProjectCssConfig, "adapter" | "mode">, deps?: Pick<ProjectCssDeps, "resolveStyleContentVersion">): string | undefined;
|
|
27
27
|
export declare function startProjectCSSPreparation(context: HTMLGenerationContext, htmlOptions: HTMLGenerationOptions, deps?: Pick<ProjectCssDeps, "getProjectCSS">): Promise<ProjectCSSResult> | undefined;
|
|
28
28
|
export declare function startPreparedCSSWarmup(config: ProjectCssConfig, context: HTMLGenerationContext, htmlOptions: HTMLGenerationOptions, deps?: Pick<ProjectCssDeps, "createStyleScopeProfile" | "getProjectContentVersion" | "warmPreparedCSSArtifactFromFiles">): void;
|
|
29
|
-
export declare function extractProjectClassesForRoute(config: ProjectCssConfig, context: HTMLGenerationContext,
|
|
29
|
+
export declare function extractProjectClassesForRoute(config: ProjectCssConfig, context: HTMLGenerationContext, _appComponentPath?: string, deps?: Pick<ProjectCssDeps, "createStyleScopeProfile" | "getProjectContentVersion" | "getProjectCandidates">): Promise<Set<string>>;
|
|
30
30
|
export {};
|
|
31
31
|
//# sourceMappingURL=html-project-css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-project-css.d.ts","sourceRoot":"","sources":["../../../../src/src/rendering/orchestrator/html-project-css.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAOtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"html-project-css.d.ts","sourceRoot":"","sources":["../../../../src/src/rendering/orchestrator/html-project-css.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAOtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAI7D,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,GAAG,IAAI,CAAC;AAEhF,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;IACxB,IAAI,EAAE,aAAa,GAAG,YAAY,CAAC;CACpC;AAED,UAAU,cAAc;IACtB,uBAAuB,CAAC,EAAE,OAAO,uBAAuB,CAAC;IACzD,aAAa,CAAC,EAAE,OAAO,aAAa,CAAC;IACrC,wBAAwB,CAAC,EAAE,CACzB,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAAC,KAC/C,MAAM,GAAG,SAAS,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,oBAAoB,CAAC;IACnD,0BAA0B,CAAC,EAAE,OAAO,0BAA0B,CAAC;IAC/D,gCAAgC,CAAC,EAAE,OAAO,gCAAgC,CAAC;CAC5E;AAeD,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAKlF;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAAC,EAClD,IAAI,GAAE,IAAI,CAAC,cAAc,EAAE,4BAA4B,CAAM,GAC5D,MAAM,GAAG,SAAS,CAiBpB;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,qBAAqB,EAC9B,WAAW,EAAE,qBAAqB,EAClC,IAAI,GAAE,IAAI,CAAC,cAAc,EAAE,eAAe,CAAM,GAC/C,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAkBvC;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,qBAAqB,EAC9B,WAAW,EAAE,qBAAqB,EAClC,IAAI,GAAE,IAAI,CACR,cAAc,EACd,yBAAyB,GAAG,0BAA0B,GAAG,kCAAkC,CACvF,GACL,IAAI,CAyCN;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,qBAAqB,EAC9B,iBAAiB,CAAC,EAAE,MAAM,EAC1B,IAAI,GAAE,IAAI,CACR,cAAc,EACd,yBAAyB,GAAG,0BAA0B,GAAG,sBAAsB,CAC3E,GACL,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAsCtB"}
|
|
@@ -4,7 +4,7 @@ import { resolveStyleContentVersion } from "../../html/styles-builder/content-ve
|
|
|
4
4
|
import { createStyleScopeProfile } from "../../html/styles-builder/style-scope-profile.js";
|
|
5
5
|
import { rendererLogger } from "../../utils/index.js";
|
|
6
6
|
import { extractRelativePath } from "../../utils/route-path-utils.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getProjectCandidates } from "./css-candidate-manifest.js";
|
|
8
8
|
const logger = rendererLogger.component("html-project-css");
|
|
9
9
|
function hasUnderlyingAdapter(fs) {
|
|
10
10
|
return typeof fs.getUnderlyingAdapter === "function";
|
|
@@ -84,7 +84,7 @@ export function startPreparedCSSWarmup(config, context, htmlOptions, deps = {})
|
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
export async function extractProjectClassesForRoute(config, context,
|
|
87
|
+
export async function extractProjectClassesForRoute(config, context, _appComponentPath, deps = {}) {
|
|
88
88
|
const classes = new Set();
|
|
89
89
|
const fsAdapter = getUnderlyingFsAdapter(config.adapter);
|
|
90
90
|
if (typeof fsAdapter?.getAllSourceFiles !== "function")
|
|
@@ -95,33 +95,24 @@ export async function extractProjectClassesForRoute(config, context, appComponen
|
|
|
95
95
|
const resolveProjectContentVersion = deps.getProjectContentVersion ?? getProjectContentVersion;
|
|
96
96
|
const projectVersion = resolveProjectContentVersion(config) ??
|
|
97
97
|
(config.mode === "development" ? "dev" : "unknown");
|
|
98
|
-
const routeKey = buildRouteManifestKey(context.pageInfo.entity.path, config.projectDir);
|
|
99
|
-
const routeLayoutPaths = context.nestedLayouts
|
|
100
|
-
.map((layout) => layout.componentPath || layout.path)
|
|
101
|
-
.filter((path) => Boolean(path));
|
|
102
|
-
const routeFilePaths = [
|
|
103
|
-
context.pageInfo.entity.path,
|
|
104
|
-
...routeLayoutPaths,
|
|
105
|
-
...(appComponentPath ? [appComponentPath] : []),
|
|
106
|
-
];
|
|
107
98
|
const createStyleProfile = deps.createStyleScopeProfile ?? createStyleScopeProfile;
|
|
108
|
-
const
|
|
109
|
-
|
|
99
|
+
const getProjectCssCandidates = deps.getProjectCandidates ?? getProjectCandidates;
|
|
100
|
+
// Candidates must come from the full source scan, not the route-module
|
|
101
|
+
// manifest: the manifest is populated per pod from request history, so
|
|
102
|
+
// route-scoped candidates omit shared components the pod has not yet
|
|
103
|
+
// observed and produce divergent CSS across replicas for the same page.
|
|
104
|
+
const projectCandidates = getProjectCssCandidates({
|
|
110
105
|
projectScope,
|
|
111
106
|
projectVersion,
|
|
112
107
|
projectDir: config.projectDir,
|
|
113
108
|
styleProfile: createStyleProfile(config.config),
|
|
114
|
-
routeKey,
|
|
115
|
-
routeFilePaths,
|
|
116
109
|
files,
|
|
117
110
|
developmentMode: config.mode === "development",
|
|
118
111
|
});
|
|
119
|
-
for (const cls of
|
|
112
|
+
for (const cls of projectCandidates)
|
|
120
113
|
classes.add(cls);
|
|
121
114
|
logger.debug("extractProjectClasses", {
|
|
122
115
|
filesProcessed: files.length,
|
|
123
|
-
routeKey,
|
|
124
|
-
routeFileCount: routeFilePaths.length,
|
|
125
116
|
totalClasses: classes.size,
|
|
126
117
|
});
|
|
127
118
|
return classes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-handler.d.ts","sourceRoot":"","sources":["../../../../../src/src/security/http/response/security-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAQjD,wBAAgB,aAAa,IAAI,MAAM,CAItC;
|
|
1
|
+
{"version":3,"file":"security-handler.d.ts","sourceRoot":"","sources":["../../../../../src/src/security/http/response/security-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAQjD,wBAAgB,aAAa,IAAI,MAAM,CAItC;AA8ED,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,cAAc,CAAC,KAAK,CAAC,EAC1B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,GAAG,IAAI,CAef;AAED,wBAAgB,QAAQ,CACtB,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,EAC9B,OAAO,CAAC,EAAE,cAAc,EACxB,iBAAiB,CAAC,EAAE,OAAO,GAC1B,MAAM,CAiBR;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,MAAM,CAMR;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,EAC9B,OAAO,CAAC,EAAE,cAAc,EACxB,iBAAiB,CAAC,EAAE,OAAO,GAC1B,IAAI,CAqEN"}
|