@composio/core 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{CustomTool-fYEFjSLM.mjs → CustomTool-B-_VjWpy.mjs} +1 -1
  2. package/dist/{CustomTool-B3m-188G.d.mts → CustomTool-BHOYxLZX.d.mts} +1 -1
  3. package/dist/{cancellation-Dwa9lGHA.mjs → cancellation-DV8CIi52.mjs} +1 -1
  4. package/dist/{composio-B36OXii1.d.mts → composio-BTZsFajb.d.mts} +464 -4
  5. package/dist/{customTool.types-C436M_D0.d.mts → customTool.types-D_w21L56.d.mts} +454 -59
  6. package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -1
  7. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -0
  8. package/dist/docs/reference/sdk-reference/typescript/meta.json +1 -0
  9. package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +83 -0
  10. package/dist/docs/reference/sdk-reference/typescript/session.mdx +29 -20
  11. package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +10 -4
  12. package/dist/{errors-D_A4b2c2.mjs → errors-Dyiu3ifQ.mjs} +10 -6
  13. package/dist/experimental/index.d.mts +2 -2
  14. package/dist/experimental/index.mjs +1 -1
  15. package/dist/index.d.mts +39 -26
  16. package/dist/index.mjs +1482 -1049
  17. package/dist/{types-Br3GBya5.d.mts → types-CgRsUGqm.d.mts} +2 -2
  18. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  19. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  20. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
  22. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  23. package/package.json +3 -1
  24. package/src/composio.ts +8 -0
  25. package/src/errors/ToolRouterErrors.ts +10 -6
  26. package/src/index.ts +2 -0
  27. package/src/lib/sessionConfigConflict.ts +43 -0
  28. package/src/lib/toolRouterParams.ts +34 -9
  29. package/src/lib/toolRouterSourceSessionConfig.ts +12 -0
  30. package/src/models/RemoteFile.ts +25 -8
  31. package/src/models/SessionConfigs.ts +117 -0
  32. package/src/models/ToolRouter.ts +19 -3
  33. package/src/models/ToolRouterSession.ts +45 -21
  34. package/src/models/Tools.ts +7 -5
  35. package/src/types/sessionConfigs.types.ts +81 -0
  36. package/src/types/tool.types.ts +2 -0
  37. package/src/types/toolRouter.types.ts +149 -7
  38. package/src/utils/safePath.ts +172 -0
  39. package/src/utils/transformers/sessionConfigs.ts +54 -0
  40. package/src/utils/transformers/toolRouterResponseTransform.ts +6 -0
@@ -53,13 +53,14 @@ const composio = new Composio({
53
53
  |------|------|-------------|
54
54
  | `authConfigs` | `AuthConfigs` | Manage authentication configurations for toolkits |
55
55
  | `connectedAccounts` | `ConnectedAccounts` | Manage authenticated connections |
56
- | `create` | `(userId: string, config: \{ authConfigs?: Record<string, string>; connectedAccounts?: Record<string, string \| ...[]>; experimental?: \{ assistivePrompt?: \{ userTimezone?: string \}; customToolkits?: CustomToolkit[]; customTools?: CustomTool[] \}; manageConnections?: boolean \| \{ callbackUrl?: string; enable?: boolean; waitForConnections?: boolean \}; mcp?: boolean; multiAccount?: \{ enable: boolean; maxAccountsPerToolkit?: number; requireExplicitSelection?: boolean \}; preload?: \{ tools?: ...[] \| 'all' \}; sandbox?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \}; sessionPreset?: 'direct_tools'; tags?: ... \| ... \| ... \| ...[] \| \{ disable?: ...[]; enable?: ...[] \}; toolkits?: string[] \| \{ disable: ...[] \} \| \{ enable: ...[] \}; tools?: Record<string, ...[] \| \{ enable: ... \} \| \{ disable: ... \} \| \{ tags: ... \}>; workbench?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \} \} & \{ mcp: true \}, requestOptions: ComposioRequestOptions) => Promise<Session>` | Creates a new tool router session for a user. Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools should be exposed directly; see `ToolRouterCreateSessionConfig`. |
56
+ | `create` | `(...) => Promise<Session>` | Creates a new tool router session for a user. Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools should be exposed directly; see `ToolRouterCreateSessionConfig`. |
57
57
  | `experimental` | `Experimental` | Experimental SDK methods whose shape may change in future releases. Prefer domain-specific mounts (for example `composio.connectedAccounts.updateAcl(...)`) when available; this namespace keeps compatibility aliases while APIs are experimental. Stateless experimental factories (e.g. `experimental_createTool`) stay at the top level. |
58
58
  | `files` | `Files` | Upload and download files |
59
59
  | `keyring` | `Keyring` | Public transfer keys of the organization's customer-managed keyring |
60
60
  | `logs` | `Logs` | Search and inspect tool-execution logs |
61
61
  | `mcp` | `MCP` | Model Context Protocol server management. |
62
62
  | `provider` | `TProvider` | The tool provider instance used for wrapping tools in framework-specific formats |
63
+ | `sessionConfigs` | `SessionConfigs` | Read the project's saved Session configs. Apply one with `experimental.sessionConfigId` on `sessions.create()` or `session.update()`. Requires Session configs to be enabled for the project. |
63
64
  | `sessions` | `Sessions` | Create and reuse Composio sessions. Prefer `composio.sessions.create(...)` for new code. The top-level `composio.create(...)` method is kept as an alias. |
64
65
  | `toolkits` | `Toolkits` | Retrieve toolkit metadata and authorize user connections |
65
66
  | `toolRouter` | `ToolRouter` | Legacy alias for `composio.sessions`. |
@@ -26,6 +26,7 @@ description: "Complete API reference for the Composio TypeScript SDK (@composio/
26
26
  | [`Session files`](/reference/sdk-reference/typescript/session-files) | File mount for a Composio session, reached via `session.experimental.files` |
27
27
  | [`Tools`](/reference/sdk-reference/typescript/tools) | This class is used to manage tools in the Composio SDK. |
28
28
  | [`Triggers`](/reference/sdk-reference/typescript/triggers) | Trigger (Instance) class |
29
+ | [`SessionConfigs`](/reference/sdk-reference/typescript/session-configs) | `composio.sessionConfigs` — saved, reusable Session configs. |
29
30
  | [`Usage`](/reference/sdk-reference/typescript/usage) | `composio.experimental.usage` — metering for the project the API key |
30
31
  | [`WebhookEndpoints`](/reference/sdk-reference/typescript/webhook-endpoints) | `composio.webhooks.endpoints` — inbound webhook endpoints. Each endpoint is |
31
32
  | [`Webhooks`](/reference/sdk-reference/typescript/webhooks) | `composio.webhooks` namespace. |
@@ -16,6 +16,7 @@
16
16
  "session-files",
17
17
  "tools",
18
18
  "triggers",
19
+ "session-configs",
19
20
  "usage",
20
21
  "webhook-endpoints",
21
22
  "webhooks",
@@ -0,0 +1,83 @@
1
+ ---
2
+ title: "SessionConfigs"
3
+ description: "`composio.sessionConfigs` — saved, reusable Session configs. A Session config is a named access policy (`sc_…`) built in the Composio Dashboard under Sessions → Configs. Pass its id as `experimental.sessionConfigId` to `composio.sessions.create()` or `session.update()` to apply it. These endpoints require Session configs to be enabled for the project; otherwise the backend returns 403."
4
+ ---
5
+
6
+ ## Usage
7
+
8
+ Access this class through the `composio.sessionConfigs` property:
9
+
10
+ ```typescript
11
+ const composio = new Composio({ apiKey: 'your-api-key' });
12
+ const result = await composio.sessionConfigs.list();
13
+ ```
14
+
15
+ ## Methods
16
+
17
+ ### get()
18
+
19
+ Retrieve one saved Session config with its description and access
20
+ policy. A missing or cross-project id surfaces as the backend's 404.
21
+
22
+ Requires Session configs to be enabled for the project.
23
+
24
+ ```typescript
25
+ async get(id: string, requestOptions?: ComposioRequestOptions): Promise<{ archived: boolean; config: { tags?: { disable?: ... | ... | ... | ...[]; enable?: ... | ... | ... | ...[] }; toolkits?: { enable: ...[] } | { disable: ...[] }; tools?: Record<string, { enable: ... } | { disable: ... } | { tags: ... }> }; createdAt: string; description: string | null; id: string; name: string; updatedAt: string }>
26
+ ```
27
+
28
+ **Parameters**
29
+
30
+ | Name | Type | Description |
31
+ |------|------|-------------|
32
+ | `id` | `string` | The `sc_…` id of the Session config |
33
+ | `requestOptions?` | `ComposioRequestOptions` | |
34
+
35
+ **Returns**
36
+
37
+ `Promise<\{ archived: boolean; config: \{ tags?: \{ disable?: ... \| ... \| ... \| ...[]; enable?: ... \| ... \| ... \| ...[] \}; toolkits?: \{ enable: ...[] \} \| \{ disable: ...[] \}; tools?: Record<string, \{ enable: ... \} \| \{ disable: ... \} \| \{ tags: ... \}> \}; createdAt: string; description: string \| null; id: string; name: string; updatedAt: string \}>` — The config and its policy
38
+
39
+ **Example**
40
+
41
+ ```typescript
42
+ const sessionConfig = await composio.sessionConfigs.get('sc_abc123');
43
+ console.log(sessionConfig.config.toolkits);
44
+ ```
45
+
46
+ ---
47
+
48
+ ### list()
49
+
50
+ List the project's saved Session configs with cursor pagination.
51
+
52
+ Omitting `archived` returns active configs; `archived: true` returns only
53
+ archived ones. The backend defaults `limit` to 20 and caps it at 100.
54
+
55
+ Requires Session configs to be enabled for the project.
56
+
57
+ ```typescript
58
+ async list(params?: { archived?: boolean; cursor?: string; limit?: number; search?: string }, requestOptions?: ComposioRequestOptions): Promise<{ items: { archived: boolean; createdAt: string; id: string; name: string; updatedAt: string }[]; nextCursor: string | null }>
59
+ ```
60
+
61
+ **Parameters**
62
+
63
+ | Name | Type | Description |
64
+ |------|------|-------------|
65
+ | `params?` | `\{ archived?: boolean; cursor?: string; limit?: number; search?: string \}` | `search`, `archived`, `limit` and `cursor` |
66
+ | `requestOptions?` | `ComposioRequestOptions` | |
67
+
68
+ **Returns**
69
+
70
+ `Promise<\{ items: \{ archived: boolean; createdAt: string; id: string; name: string; updatedAt: string \}[]; nextCursor: string \| null \}>` — Config summaries and the next cursor
71
+
72
+ **Example**
73
+
74
+ ```typescript
75
+ let cursor: string | undefined;
76
+ do {
77
+ const page = await composio.sessionConfigs.list({ cursor });
78
+ for (const item of page.items) console.log(item.id, item.name);
79
+ cursor = page.nextCursor ?? undefined;
80
+ } while (cursor);
81
+ ```
82
+
83
+ ---
@@ -7,8 +7,8 @@ description: "A Composio session — the object returned by `composio.sessions.c
7
7
 
8
8
  | Name | Type | Description |
9
9
  |------|------|-------------|
10
- | `config` | `Config` | Server-side session configuration (toolkit/tool allowlists, tags, preload, sandbox, manage_connections) as returned by the API. Refreshed in place by `update()`. |
11
- | `configVersion` | `number` | Version of the server-side configuration this object last observed. Refreshed in place by `update()`, which sends it as the `expected_config_version` precondition by default. |
10
+ | `config` | `Config` | The session's current configuration (policy snapshot and runtime settings). Refreshed in place by `update()`. For saved, reusable Session configs, see `composio.sessionConfigs`. |
11
+ | `configVersion` | `number` | Version of the server-side configuration this object last observed. Refreshed in place by `update()`. Pass it as `expectedConfigVersion` to make an update conditional. |
12
12
  | `experimental` | `SessionExperimental` | |
13
13
  | `mcp` | `\{ headers?: Record<string, string>; type: 'http' \| 'sse'; url: string \}` | Hosted MCP endpoint (`session.mcp.url` / `session.mcp.headers`). Exists on every session at runtime, but only surfaced in the type when the session is created with `\{ mcp: true \}` (which returns `Session`); the default `SessionWithoutMcp` omits `mcp`, so MCP is an explicit opt-in. See https://docs.composio.dev/docs/sessions-via-mcp |
14
14
  | `preload` | `\{ tools: string[] \| 'all' \}` | |
@@ -162,7 +162,7 @@ the session's custom tools and toolkits. Custom tools are executed
162
162
  in-process; remote tools are sent to the Composio backend.
163
163
 
164
164
  ```typescript
165
- async execute(toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions, requestOptions?: ComposioRequestOptions): Promise<{ data: Record<string, unknown>; error: string | null; logId: string }>
165
+ async execute(toolSlug: string, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteOptions, requestOptions?: ComposioRequestOptions): Promise<...>
166
166
  ```
167
167
 
168
168
  **Parameters**
@@ -176,7 +176,7 @@ async execute(toolSlug: string, arguments_?: Record<string, unknown>, options?:
176
176
 
177
177
  **Returns**
178
178
 
179
- `Promise<\{ data: Record<string, unknown>; error: string \| null; logId: string \}>` — The tool execution result
179
+ `Promise<...>` — The tool execution result
180
180
 
181
181
  ---
182
182
 
@@ -239,7 +239,7 @@ Search for tools by semantic use case.
239
239
  Returns relevant tools for the given query with schemas and guidance.
240
240
 
241
241
  ```typescript
242
- async search(params: { query: string; toolkits?: string[] }, requestOptions?: ComposioRequestOptions): Promise<{ error: string | null; nextStepsGuidance: string[]; results: { difficulty?: string; error?: string | null; executionGuidance?: string; index: number; knownPitfalls?: string[]; memory?: Record<string, ...[]>; planId?: string; primaryToolSlugs: string[]; recommendedPlanSteps?: string[]; referenceWorkbenchSnippets?: { code: ...; description: ... }[]; relatedToolSlugs: string[]; toolkits: string[]; useCase: string }[]; session: { generateId: boolean; id: string; instructions: string }; success: boolean; timeInfo: { currentTimeUtc: string; currentTimeUtcEpochSeconds: number; message: string }; toolkitConnectionStatuses: { connectionDetails?: Record<string, unknown>; currentUserInfo?: Record<string, unknown>; description: string; hasActiveConnection: boolean; statusMessage: string; toolkit: string }[]; toolSchemas: Record<string, { description?: string; hasFullSchema?: boolean; inputSchema?: Record<string, unknown>; outputSchema?: Record<string, unknown>; schemaRef?: { args: { toolSlugs: ... }; message?: string; tool: 'COMPOSIO_GET_TOOL_SCHEMAS' }; toolkit: string; toolSlug: string }> }>
242
+ async search(params: { query: string; toolkits?: string[] }, requestOptions?: ComposioRequestOptions): Promise<{ error: string | null; nextStepsGuidance: string[]; results: { difficulty?: string; error?: string | null; executionGuidance?: string; index: number; knownPitfalls?: string[]; memory?: Record<string, ...[]>; planId?: string; primaryToolSlugs: string[]; recommendedPlanSteps?: string[]; referenceWorkbenchSnippets?: { code: ...; description: ... }[]; relatedToolSlugs: string[]; toolkits: string[]; useCase: string }[]; session: { generateId: boolean; id: string; instructions: string }; success: boolean; timeInfo: { currentTimeUtc: string; currentTimeUtcEpochSeconds: number; message: string }; toolkitConnectionStatuses: { connectionDetails?: Record<string, unknown>; currentUserInfo?: Record<string, unknown>; description: string; hasActiveConnection: boolean; hostedAccount?: { allowedToolSlugs: ...[] }; statusMessage: string; toolkit: string }[]; toolSchemas: Record<string, { description?: string; hasFullSchema?: boolean; inputSchema?: Record<string, unknown>; outputSchema?: Record<string, unknown>; schemaRef?: { args: { toolSlugs: ... }; message?: string; tool: 'COMPOSIO_GET_TOOL_SCHEMAS' }; toolkit: string; toolSlug: string }> }>
243
243
  ```
244
244
 
245
245
  **Parameters**
@@ -251,7 +251,7 @@ async search(params: { query: string; toolkits?: string[] }, requestOptions?: Co
251
251
 
252
252
  **Returns**
253
253
 
254
- `Promise<\{ error: string \| null; nextStepsGuidance: string[]; results: \{ difficulty?: string; error?: string \| null; executionGuidance?: string; index: number; knownPitfalls?: string[]; memory?: Record<string, ...[]>; planId?: string; primaryToolSlugs: string[]; recommendedPlanSteps?: string[]; referenceWorkbenchSnippets?: \{ code: ...; description: ... \}[]; relatedToolSlugs: string[]; toolkits: string[]; useCase: string \}[]; session: \{ generateId: boolean; id: string; instructions: string \}; success: boolean; timeInfo: \{ currentTimeUtc: string; currentTimeUtcEpochSeconds: number; message: string \}; toolkitConnectionStatuses: \{ connectionDetails?: Record<string, unknown>; currentUserInfo?: Record<string, unknown>; description: string; hasActiveConnection: boolean; statusMessage: string; toolkit: string \}[]; toolSchemas: Record<string, \{ description?: string; hasFullSchema?: boolean; inputSchema?: Record<string, unknown>; outputSchema?: Record<string, unknown>; schemaRef?: \{ args: \{ toolSlugs: ... \}; message?: string; tool: 'COMPOSIO_GET_TOOL_SCHEMAS' \}; toolkit: string; toolSlug: string \}> \}>`
254
+ `Promise<\{ error: string \| null; nextStepsGuidance: string[]; results: \{ difficulty?: string; error?: string \| null; executionGuidance?: string; index: number; knownPitfalls?: string[]; memory?: Record<string, ...[]>; planId?: string; primaryToolSlugs: string[]; recommendedPlanSteps?: string[]; referenceWorkbenchSnippets?: \{ code: ...; description: ... \}[]; relatedToolSlugs: string[]; toolkits: string[]; useCase: string \}[]; session: \{ generateId: boolean; id: string; instructions: string \}; success: boolean; timeInfo: \{ currentTimeUtc: string; currentTimeUtcEpochSeconds: number; message: string \}; toolkitConnectionStatuses: \{ connectionDetails?: Record<string, unknown>; currentUserInfo?: Record<string, unknown>; description: string; hasActiveConnection: boolean; hostedAccount?: \{ allowedToolSlugs: ...[] \}; statusMessage: string; toolkit: string \}[]; toolSchemas: Record<string, \{ description?: string; hasFullSchema?: boolean; inputSchema?: Record<string, unknown>; outputSchema?: Record<string, unknown>; schemaRef?: \{ args: \{ toolSlugs: ... \}; message?: string; tool: 'COMPOSIO_GET_TOOL_SCHEMAS' \}; toolkit: string; toolSlug: string \}> \}>`
255
255
 
256
256
  ---
257
257
 
@@ -314,29 +314,38 @@ access: `toolkits: null` restores the unrestricted default, while
314
314
  map entirely. `manageConnections.callbackUrl: null` removes only the
315
315
  stored callback URL.
316
316
 
317
- The request carries the `configVersion` this object last observed as the
318
- `expected_config_version` precondition, so a concurrent change surfaces as
317
+ By default the request carries no precondition: the last writer wins.
318
+ Pass `expectedConfigVersion` (for example `session.configVersion`) to make
319
+ the update conditional: the API then applies it only when the stored
320
+ version still matches, and a concurrent change surfaces as
319
321
  ComposioSessionConfigConflictError (HTTP 409) instead of being
320
- overwritten. Pass `expectedConfigVersion` to send another version, or
321
- `expectedConfigVersion: false` to send no precondition (last writer
322
- wins). The PATCH is never retried by the transport, so a 409 is reported
323
- exactly once. On conflict this object is left unchanged: re-fetch the
324
- session with `sessions.use(sessionId)` and retry against the fresh
325
- `configVersion`.
326
-
327
- `config`, `configVersion`, `preload`, `sandbox` and `warnings` are
328
- refreshed in place only after a successful response, and the updated
329
- `config` is returned.
322
+ overwritten. The API must support the `expected_config_version` field;
323
+ otherwise it rejects the request with a 400. `expectedConfigVersion: false`
324
+ is the same as omitting it. The PATCH is never retried by the transport,
325
+ so a 409 is reported exactly once. On conflict this object is left
326
+ unchanged: re-fetch the session with `sessions.use(sessionId)` and retry
327
+ against the fresh `configVersion`.
328
+
329
+ `experimental.sessionConfigId` applies a saved Session config: it
330
+ replaces the session's toolkit, tool and tag access and cannot be combined
331
+ with `toolkits`, `tools` or `tags` (a `ValidationError` is thrown before
332
+ any request). A 409 while applying it means the session or the config
333
+ changed; re-fetch the session and retry. Backend 400, 403 and 404 errors,
334
+ for example for an archived or missing config, surface unchanged.
335
+
336
+ `config`, `configVersion`, `preload`, `sandbox`, `warnings` and
337
+ `experimental.sourceSessionConfig` are refreshed in place only after a
338
+ successful response, and the updated `config` is returned.
330
339
 
331
340
  ```typescript
332
- async update(config: { authConfigs?: Record<string, string> | null; connectedAccounts?: Record<string, string[]> | null; execute?: { enableMultiExecute?: boolean } | null; expectedConfigVersion?: number | false; experimental?: { fastMode?: boolean | null; linkUrlOverwrite?: string | null; permissions?: { default: ... | ... | ...; overrides?: Record<..., ...> } | null; sessionConfigId?: string; submitFeedback?: { enable: boolean } | null } | null; manageConnections?: boolean | { callbackUrl?: string | null; enable?: boolean; enableConnectionRemoval?: boolean | null; waitForConnections?: boolean } | null; multiAccount?: { enable?: boolean; maxAccountsPerToolkit?: number | null; requireExplicitSelection?: boolean } | null; preload?: { tools?: string[] | 'all' } | null; sandbox?: { autoOffloadThreshold?: number; enable?: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' } | null; search?: { enable?: boolean } | null; tags?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[] | { disable?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[]; enable?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[] } | null; toolkits?: string[] | { disable: string[] } | { enable: string[] } | null; tools?: Record<string, string[] | { enable: ...[] } | { disable: ...[] } | { tags: ... | ... }> | null; workbench?: { autoOffloadThreshold?: number; enable?: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' } | null }, requestOptions?: ComposioRequestOptions): Promise<Config>
341
+ async update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<Config>
333
342
  ```
334
343
 
335
344
  **Parameters**
336
345
 
337
346
  | Name | Type |
338
347
  |------|------|
339
- | `config` | `\{ authConfigs?: Record<string, string> \| null; connectedAccounts?: Record<string, string[]> \| null; execute?: \{ enableMultiExecute?: boolean \} \| null; expectedConfigVersion?: number \| false; experimental?: \{ fastMode?: boolean \| null; linkUrlOverwrite?: string \| null; permissions?: \{ default: ... \| ... \| ...; overrides?: Record<..., ...> \} \| null; sessionConfigId?: string; submitFeedback?: \{ enable: boolean \} \| null \} \| null; manageConnections?: boolean \| \{ callbackUrl?: string \| null; enable?: boolean; enableConnectionRemoval?: boolean \| null; waitForConnections?: boolean \} \| null; multiAccount?: \{ enable?: boolean; maxAccountsPerToolkit?: number \| null; requireExplicitSelection?: boolean \} \| null; preload?: \{ tools?: string[] \| 'all' \} \| null; sandbox?: \{ autoOffloadThreshold?: number; enable?: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \} \| null; search?: \{ enable?: boolean \} \| null; tags?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[] \| \{ disable?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[]; enable?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[] \} \| null; toolkits?: string[] \| \{ disable: string[] \} \| \{ enable: string[] \} \| null; tools?: Record<string, string[] \| \{ enable: ...[] \} \| \{ disable: ...[] \} \| \{ tags: ... \| ... \}> \| null; workbench?: \{ autoOffloadThreshold?: number; enable?: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \} \| null \}` |
348
+ | `config` | `ToolRouterUpdateSessionConfig` |
340
349
  | `requestOptions?` | `ComposioRequestOptions` |
341
350
 
342
351
  **Returns**
@@ -30,7 +30,7 @@ origins is logged, so native tools keep working.
30
30
  **Overload 1**
31
31
 
32
32
  ```typescript
33
- async create(userId: string, config: { authConfigs?: Record<string, string>; connectedAccounts?: Record<string, string | string[]>; experimental?: { assistivePrompt?: { userTimezone?: string }; customToolkits?: CustomToolkit[]; customTools?: CustomTool[] }; manageConnections?: boolean | { callbackUrl?: string; enable?: boolean; waitForConnections?: boolean }; mcp?: boolean; multiAccount?: { enable: boolean; maxAccountsPerToolkit?: number; requireExplicitSelection?: boolean }; preload?: { tools?: string[] | 'all' }; sandbox?: { autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' }; sessionPreset?: 'direct_tools'; tags?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[] | { disable?: ... | ... | ... | ...[]; enable?: ... | ... | ... | ...[] }; toolkits?: string[] | { disable: string[] } | { enable: string[] }; tools?: Record<string, string[] | { enable: ...[] } | { disable: ...[] } | { tags: ... | ... }>; workbench?: { autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' } } & { mcp: true }, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>
33
+ async create(userId: string, config: ToolRouterCreateSessionConfig & { mcp: true }, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>
34
34
  ```
35
35
 
36
36
  **Parameters**
@@ -38,7 +38,7 @@ async create(userId: string, config: { authConfigs?: Record<string, string>; con
38
38
  | Name | Type | Description |
39
39
  |------|------|-------------|
40
40
  | `userId` | `string` | \{string\} The user id to create the session for |
41
- | `config` | `\{ authConfigs?: Record<string, string>; connectedAccounts?: Record<string, string \| string[]>; experimental?: \{ assistivePrompt?: \{ userTimezone?: string \}; customToolkits?: CustomToolkit[]; customTools?: CustomTool[] \}; manageConnections?: boolean \| \{ callbackUrl?: string; enable?: boolean; waitForConnections?: boolean \}; mcp?: boolean; multiAccount?: \{ enable: boolean; maxAccountsPerToolkit?: number; requireExplicitSelection?: boolean \}; preload?: \{ tools?: string[] \| 'all' \}; sandbox?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \}; sessionPreset?: 'direct_tools'; tags?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[] \| \{ disable?: ... \| ... \| ... \| ...[]; enable?: ... \| ... \| ... \| ...[] \}; toolkits?: string[] \| \{ disable: string[] \} \| \{ enable: string[] \}; tools?: Record<string, string[] \| \{ enable: ...[] \} \| \{ disable: ...[] \} \| \{ tags: ... \| ... \}>; workbench?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \} \} & \{ mcp: true \}` | \{ToolRouterCreateSessionConfig\} The config for the tool router session |
41
+ | `config` | `ToolRouterCreateSessionConfig & \{ mcp: true \}` | \{ToolRouterCreateSessionConfig\} The config for the tool router session |
42
42
  | `requestOptions?` | `ComposioRequestOptions` | |
43
43
 
44
44
  **Returns**
@@ -48,7 +48,7 @@ async create(userId: string, config: { authConfigs?: Record<string, string>; con
48
48
  **Overload 2**
49
49
 
50
50
  ```typescript
51
- async create(userId: string, config?: { authConfigs?: Record<string, string>; connectedAccounts?: Record<string, string | string[]>; experimental?: { assistivePrompt?: { userTimezone?: string }; customToolkits?: CustomToolkit[]; customTools?: CustomTool[] }; manageConnections?: boolean | { callbackUrl?: string; enable?: boolean; waitForConnections?: boolean }; mcp?: boolean; multiAccount?: { enable: boolean; maxAccountsPerToolkit?: number; requireExplicitSelection?: boolean }; preload?: { tools?: string[] | 'all' }; sandbox?: { autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' }; sessionPreset?: 'direct_tools'; tags?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[] | { disable?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[]; enable?: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'[] }; toolkits?: string[] | { disable: string[] } | { enable: string[] }; tools?: Record<string, string[] | { enable: string[] } | { disable: string[] } | { tags: ...[] | { disable?: ...; enable?: ... } }>; workbench?: { autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge' } }, requestOptions?: ComposioRequestOptions): Promise<SessionWithoutMcp<TToolCollection, TTool, TProvider>>
51
+ async create(userId: string, config?: ToolRouterCreateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<SessionWithoutMcp<TToolCollection, TTool, TProvider>>
52
52
  ```
53
53
 
54
54
  **Parameters**
@@ -56,7 +56,7 @@ async create(userId: string, config?: { authConfigs?: Record<string, string>; co
56
56
  | Name | Type | Description |
57
57
  |------|------|-------------|
58
58
  | `userId` | `string` | \{string\} The user id to create the session for |
59
- | `config?` | `\{ authConfigs?: Record<string, string>; connectedAccounts?: Record<string, string \| string[]>; experimental?: \{ assistivePrompt?: \{ userTimezone?: string \}; customToolkits?: CustomToolkit[]; customTools?: CustomTool[] \}; manageConnections?: boolean \| \{ callbackUrl?: string; enable?: boolean; waitForConnections?: boolean \}; mcp?: boolean; multiAccount?: \{ enable: boolean; maxAccountsPerToolkit?: number; requireExplicitSelection?: boolean \}; preload?: \{ tools?: string[] \| 'all' \}; sandbox?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \}; sessionPreset?: 'direct_tools'; tags?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[] \| \{ disable?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[]; enable?: 'readOnlyHint' \| 'destructiveHint' \| 'idempotentHint' \| 'openWorldHint'[] \}; toolkits?: string[] \| \{ disable: string[] \} \| \{ enable: string[] \}; tools?: Record<string, string[] \| \{ enable: string[] \} \| \{ disable: string[] \} \| \{ tags: ...[] \| \{ disable?: ...; enable?: ... \} \}>; workbench?: \{ autoOffloadThreshold?: number; enable: boolean; enableProxyExecution?: boolean; sandboxSize?: 'standard' \| 'medium' \| 'large' \| 'xlarge' \} \}` | \{ToolRouterCreateSessionConfig\} The config for the tool router session |
59
+ | `config?` | `ToolRouterCreateSessionConfig` | \{ToolRouterCreateSessionConfig\} The config for the tool router session |
60
60
  | `requestOptions?` | `ComposioRequestOptions` | |
61
61
 
62
62
  **Returns**
@@ -78,6 +78,12 @@ const session = await composio.sessions.create('user_123', {
78
78
  customToolkits: [myToolkit],
79
79
  },
80
80
  });
81
+
82
+ // Start from a saved Session config instead of inline access fields
83
+ const configured = await composio.sessions.create('user_123', {
84
+ authConfigs: { github: 'ac_123' },
85
+ experimental: { sessionConfigId: 'sc_123' },
86
+ });
81
87
  ```
82
88
 
83
89
  ---
@@ -738,11 +738,15 @@ var ComposioMCPDestinationError = class extends ComposioError$1 {
738
738
  };
739
739
  /**
740
740
  * Thrown when a session update is rejected with HTTP 409 because the session
741
- * configuration changed since it was last read: the `expected_config_version`
742
- * precondition (the session's last observed `configVersion` by default) is
743
- * stale. The local session object is left as it was before the call.
744
- * Re-fetch the session with `sessions.use(sessionId)` and retry the update
745
- * against the fresh `configVersion`.
741
+ * configuration changed since it was last read, for example when an
742
+ * `expectedConfigVersion` precondition passed to `update()` is stale. The
743
+ * local session object is left as it was before the call. Re-fetch the session
744
+ * with `sessions.use(sessionId)` and retry the update against the fresh
745
+ * `configVersion`.
746
+ *
747
+ * Applying a saved Session config with `experimental.sessionConfigId` can
748
+ * also conflict when the session or the config changes while the update is
749
+ * applied; `meta.sessionConfigId` then names the config.
746
750
  */
747
751
  var ComposioSessionConfigConflictError = class extends ComposioError$1 {
748
752
  constructor(message = "The session configuration changed since it was last read; re-fetch the session and retry the update", options = {}) {
@@ -750,7 +754,7 @@ var ComposioSessionConfigConflictError = class extends ComposioError$1 {
750
754
  ...options,
751
755
  code: ToolRouterErrorCodes.SESSION_CONFIG_CONFLICT,
752
756
  statusCode: 409,
753
- possibleFixes: options.possibleFixes ?? ["Re-fetch the session with `composio.sessions.use(sessionId)` to observe the current configVersion, then retry the update", "Pass `expectedConfigVersion: false` to apply the update regardless of concurrent changes (last writer wins)"]
757
+ possibleFixes: options.possibleFixes ?? ["Re-fetch the session with `composio.sessions.use(sessionId)` to observe the current configVersion, then retry the update", "Omit `expectedConfigVersion` to apply the update regardless of concurrent changes (last writer wins)"]
754
758
  });
755
759
  this.name = "ComposioSessionConfigConflictError";
756
760
  }
@@ -1,3 +1,3 @@
1
- import { S as SessionContext, a as CreateCustomToolkitParams, c as CustomToolExecuteFn, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams } from "../customTool.types-C436M_D0.mjs";
2
- import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-B3m-188G.mjs";
1
+ import { S as SessionContext, a as CreateCustomToolkitParams, c as CustomToolExecuteFn, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams } from "../customTool.types-D_w21L56.mjs";
2
+ import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-BHOYxLZX.mjs";
3
3
  export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
@@ -1,3 +1,3 @@
1
- import { a as createCustomToolkit, i as createCustomTool } from "../CustomTool-fYEFjSLM.mjs";
1
+ import { a as createCustomToolkit, i as createCustomTool } from "../CustomTool-B-_VjWpy.mjs";
2
2
 
3
3
  export { createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as ToolRouterSessionEnsureConnectedOptions, $i as BeforeFileUploadSource, $n as UpdateConnectedAccountParamsSchema, $r as McpUpdateResponseSchema, $t as ToolRouterSessionFilesMountListOptionsSchema, A as SessionProxyExecuteParams, Aa as ToolProxyParamsSchema, Ai as Oauth1InactiveConnectionDataSchema, An as ConnectedAccountRevokedToken, Ar as MCPServerCreateResponse, At as ToolRouterToolsParamSchema, B as ToolRouterCreateSessionConfigSchema, Ba as ToolkitVersionSchema, Bi as Oauth2ExpiredConnectionDataSchema, Bn as CreateConnectedAccountLinkOptionsSchema, Br as MCPToolkitConfigSchema, Bt as ToolkitConnectionsDetailsSchema, C as MCPServerType, Ca as ToolExecuteResponseSchema, Ci as Oauth1ConnectionData, Cn as ConnectedAccountListResponseSchema, Cr as MCPGenerateURLParamsSchema, Ct as ToolRouterToolkitsEnabledConfigSchema, D as Session, Da as ToolListResponse, Di as Oauth1FailedConnectionData, Dn as ConnectedAccountRetrieveResponseSchema, Dr as MCPMultiAppServer, Dt as ToolRouterToolkitsParamSchema, E as SandboxSizeSchema, Ea as ToolListParamsSchema, Ei as Oauth1ExpiredConnectionDataSchema, En as ConnectedAccountRetrieveResponse, Er as MCPInstanceParams, Et as ToolRouterToolkitsOptionsSchema, F as ToolRouterConfigTags, Fa as ToolkitLatestVersionSchema, Fi as Oauth2ActiveConnectionData, Fn as ConnectedAccountStatuses, Fr as MCPServerUpdateParams, Ft as ToolRouterUpdateSessionConfig, G as ToolRouterSandboxConfigSchema, Gi as Oauth2InitiatedConnectionData, Gn as CreateConnectedAccountParams, Gr as McpListResponseSchema, Gt as FileListResponseSchema, H as ToolRouterMCPServerConfigSchema, Ha as ToolkitVersionsSchema, Hi as Oauth2FailedConnectionDataSchema, Hn as CreateConnectedAccountLinkResponseSchema, Hr as McpDeleteResponse, Ht as FileDeleteResponse, I as ToolRouterConfigTagsSchema, Ia as ToolkitSchema, Ii as Oauth2ActiveConnectionDataSchema, In as ConnectedAccountType, Ir as MCPServerUpdateParamsSchema, It as ToolRouterUpdateSessionConfigSchema, J as ToolRouterSessionConfigHistoryItem, Ji as Oauth2InitiatingConnectionDataSchema, Jn as CreateConnectedAccountResponseSchema, Jr as McpServerCreateResponse, Jt as ToolRouterSessionFilesMountDeleteOptions, K as ToolRouterSessionConfig, Ki as Oauth2InitiatedConnectionDataSchema, Kn as CreateConnectedAccountParamsSchema, Kr as McpRetrieveResponse, Kt as RemoteFileData, L as ToolRouterConfigTools, La as ToolkitVersion, Li as Oauth2ConnectionData, Ln as ConnectedAccountTypeSchema, Lr as MCPSingleAppServer, Lt as ToolkitConnectionState, M as SessionWithoutMcp, Ma as ToolSchema, Mi as Oauth1InitiatedConnectionDataSchema, Mn as ConnectedAccountStatus, Mr as MCPServerListResponse, Mt as ToolRouterUpdateExperimentalSchema, N as ToolRouterAuthorizeFn, Na as Toolkit, Ni as Oauth1InitiatingConnectionData, Nn as ConnectedAccountStatusEnum, Nr as MCPServerListResponseSchema, Nt as ToolRouterUpdateManageConnectionsConfig, O as SessionExperimental, Oa as ToolListResponseSchema, Oi as Oauth1FailedConnectionDataSchema, On as ConnectedAccountRevokeResponse, Or as MCPMultiAppServerSchema, Ot as ToolRouterToolsFn, P as ToolRouterConfigManageConnectionsSchema, Pa as ToolkitLatestVersion, Pi as Oauth1InitiatingConnectionDataSchema, Pn as ConnectedAccountStatusSchema, Pr as MCPServerSchema, Pt as ToolRouterUpdateManageConnectionsSchema, Q as ToolRouterSessionEnsureConnectedFn, Qi as AgenticToolOptions, Qn as UpdateConnectedAccountParams, Qr as McpUpdateResponse, Qt as ToolRouterSessionFilesMountListOptions, R as ToolRouterConfigToolsSchema, Ra as ToolkitVersionParam, Ri as Oauth2ConnectionDataSchema, Rn as ConnectedAccountTypes, Rr as MCPSingleAppServerSchema, Rt as ToolkitConnectionStateSchema, S as SessionContext, Sa as ToolExecuteResponse, Si as Oauth1ActiveConnectionDataSchema, Sn as ConnectedAccountListResponseItem, Sr as MCPGenerateURLParams, St as ToolRouterToolkitsDisabledConfigSchema, T as SandboxSize, Ta as ToolListParams, Ti as Oauth1ExpiredConnectionData, Tn as ConnectedAccountRefreshOptionsSchema, Tr as MCPGetServerParamsSchema, Tt as ToolRouterToolkitsOptions, U as ToolRouterManageConnectionsConfigSchema, Ui as Oauth2InactiveConnectionData, Un as CreateConnectedAccountOptions, Ur as McpDeleteResponseSchema, Ut as FileDeleteResponseSchema, V as ToolRouterMCPServerConfig, Va as ToolkitVersions, Vi as Oauth2FailedConnectionData, Vn as CreateConnectedAccountLinkResponse, Vr as MCPToolkitConfigsArraySchema, Vt as RemoteFile, W as ToolRouterSandboxConfig, Wi as Oauth2InactiveConnectionDataSchema, Wn as CreateConnectedAccountOptionsSchema, Wr as McpListResponse, Wt as FileListResponse, X as ToolRouterSessionDeleteResponse, Xi as Oauth2RevokedConnectionDataSchema, Xn as UpdateConnectedAccountAclParams, Xr as McpServerUrlInfo, Xt as ToolRouterSessionFilesMountDownloadOptions, Y as ToolRouterSessionDeleteFn, Yi as Oauth2RevokedConnectionData, Yn as DefaultCreateConnectedAccountParamsSchema, Yr as McpServerGetResponse, Yt as ToolRouterSessionFilesMountDeleteOptionsSchema, Z as ToolRouterSessionDeleteResponseSchema, Zi as RedirectableAuthSchemeSchema, Zn as UpdateConnectedAccountAclParamsSchema, Zr as McpToolkitConnectionStatus, Zt as ToolRouterSessionFilesMountDownloadOptionsSchema, _ as CustomToolsMapEntry, _a as Tool, _i as CustomOauth1ConnectionData, _n as ConnectedAccountExperimentalResponseSchema, _r as GenerateURLResponseSchema, _t as ToolRouterSessionUpdateFn, a as CreateCustomToolkitParams, aa as ToolOptions, ai as GlobalExecuteToolFn, an as ConnectedAccountAclConfig, ar as ComposioGenerateURLResponseSchema, at as ToolRouterSessionExecuteResponseSchema, b as RegisteredCustomTool, ba as ToolExecuteParams, bi as CustomOauth2ConnectionDataSchema, bn as ConnectedAccountListParamsSchema, br as MCPAuthOptionsSchema, bt as ToolRouterTagsEnableDisableSchema, c as CustomToolExecuteFn, ca as afterExecuteModifier, ci as ToolCallSession, cn as ConnectedAccountAclConfigSchema, cr as ComposioMcpRetrieveResponseSchema, ct as ToolRouterSessionListConfigHistoryOptionsSchema, d as CustomToolWireDefinition, da as beforeFileUploadModifier, di as ConnectionData, dn as ConnectedAccountCompleteAuthParams, dr as CustomCreateResponse, dt as ToolRouterSessionPreloadConfig, ea as ExecuteToolModifiers, ei as McpUrlResponse, en as ToolRouterSessionFilesMountUploadOptions, er as BaseAgenticProvider, et as ToolRouterSessionEnsureConnectedOptionsSchema, f as CustomToolkit, fa as CustomAuthParams, fi as ConnectionDataSchema, fn as ConnectedAccountCompleteAuthParamsSchema, fr as CustomCreateResponseSchema, ft as ToolRouterSessionProxyExecuteFn, g as CustomToolsMap, ga as SchemaModifierOptions, gi as CustomConnectionDataSchema, gn as ConnectedAccountExperimentalResponse, gr as GenerateURLResponse, gt as ToolRouterSessionSearchResponseSchema, h as CustomToolkitWireDefinition, ha as JSONSchemaPropertySchema, hi as CustomConnectionData, hn as ConnectedAccountExperimental, hr as GenerateURLParamsSchema, ht as ToolRouterSessionSearchResponse, i as CreateCustomToolkitBaseSchema, ia as SessionMetaToolOptions, ii as ExecuteToolFnOptions, in as ConnectionRequestState, ir as ComposioGenerateURLParamsSchema, it as ToolRouterSessionExecuteResponse, j as SessionProxyExecuteParamsSchema, ja as ToolRetrievalOptions, ji as Oauth1InitiatedConnectionData, jn as ConnectedAccountRevokedTokenSchema, jr as MCPServerCreateResponseSchema, jt as ToolRouterUpdateExperimentalConfig, k as SessionPreset, ka as ToolProxyParams, ki as Oauth1InactiveConnectionData, kn as ConnectedAccountRevokeResponseSchema, kr as MCPServer, kt as ToolRouterToolsParam, l as CustomToolResponse, la as beforeExecuteMetaModifier, li as BaseConnectionFields, ln as ConnectedAccountAuthConfig, lr as ComposioMcpUpdateResponseSchema, lt as ToolRouterSessionListConfigHistoryResponse, m as CustomToolkitResponse, ma as JSONSchemaProperty, mi as ConnectionStatuses, mn as ConnectedAccountCompleteAuthResponseSchema, mr as GenerateURLParams, mt as ToolRouterSessionSearchFn, n as CreateCustomToolBaseSchema, na as ProviderOptions, ni as McpUserConnectionStatus, nn as ComposioRequestOptions, nr as BaseNonAgenticProvider, nt as ToolRouterSessionExecuteFn, o as CustomTool, oa as TransformToolSchemaModifier, oi as Provider, on as ConnectedAccountAclConfigResponse, or as ComposioMcpDeleteResponseSchema, ot as ToolRouterSessionListConfigHistoryFn, p as CustomToolkitDefinition, pa as CustomAuthParamsSchema, pi as ConnectionStatusEnum, pn as ConnectedAccountCompleteAuthResponse, pr as CustomCreateResponseValidated, pt as ToolRouterSessionProxyExecuteResponse, q as ToolRouterSessionConfigHistoryConfig, qi as Oauth2InitiatingConnectionData, qn as CreateConnectedAccountResponse, qr as McpRetrieveResponseSchema, qt as RemoteFileDataSchema, r as CreateCustomToolParams, ra as SessionExecuteMetaModifiers, ri as ExecuteToolFn, rn as ConnectionRequest, rr as ComposioCustomCreateResponseSchema, rt as ToolRouterSessionExecuteOptions, s as CustomToolDefinition, sa as afterExecuteMetaModifier, si as ToolCallExecutionTarget, sn as ConnectedAccountAclConfigResponseSchema, sr as ComposioMcpListResponseSchema, st as ToolRouterSessionListConfigHistoryOptions, t as AnyZodSchema, ta as MetaToolArguments, ti as McpUrlResponseCamelCase, tn as ToolRouterSessionFilesMountUploadOptionsSchema, tr as BaseComposioProvider, tt as ToolRouterSessionEnsureConnectedResult, u as CustomToolSlugSchema, ua as beforeExecuteModifier, ui as BillcomAuthConnectionDataSchema, un as ConnectedAccountAuthConfigSchema, ur as ConnectionStatus, ut as ToolRouterSessionMetadata, v as InferZodSchema, va as ToolExecuteMetaParams, vi as CustomOauth1ConnectionDataSchema, vn as ConnectedAccountExperimentalSchema, vr as GenerateURLResponseValidated, vt as ToolRouterSessionWarning, w as MCPServerTypeSchema, wa as ToolList, wi as Oauth1ConnectionDataSchema, wn as ConnectedAccountRefreshOptions, wr as MCPGetServerParams, wt as ToolRouterToolkitsFn, x as RegisteredCustomToolkit, xa as ToolExecuteParamsSchema, xi as Oauth1ActiveConnectionData, xn as ConnectedAccountListResponse, xr as MCPCreateMethodResponse, xt as ToolRouterTagsParamSchema, y as InlineCustomToolsWirePayload, ya as ToolExecuteMetaParamsSchema, yi as CustomOauth2ConnectionData, yn as ConnectedAccountListParams, yr as MCPAuthOptions, yt as ToolRouterSessionWorkbenchConfig, z as ToolRouterCreateSessionConfig, za as ToolkitVersionParamSchema, zi as Oauth2ExpiredConnectionData, zn as CreateConnectedAccountLinkOptions, zr as MCPToolkitConfig, zt as ToolkitConnectionsDetails } from "./customTool.types-C436M_D0.mjs";
2
- import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-B3m-188G.mjs";
3
- import { $ as WebhookSubscriptionEventTypeSchema, $n as AuthConfigToolAccessConfigSchema, $r as ToolkitRetrieveResponseSchema, $t as TriggerEvent, A as ToolExecutionLogParentSchema, An as VerifyWebhookParamsSchema, Ar as ToolkitChangelogItemSchema, At as UsageBreakdownGroup, B as WebhookEndpointListItemSchema, Bn as WebhookRequestLike, Br as ToolkitListGrantContextsParamsSchema, Bt as UsageOrderBySchema, C as LogSearchResponseSchema, Cn as TriggerTypeSchema, Cr as ToolkitAuthField, Ct as CustomToolkitSyncResponse, D as ToolExecutionLogDetail, Dn as TriggersTypeListResponseSchema, Dr as ToolkitCategory, Dt as CustomToolkitUpsertResponse, E as ToolExecutionLog, En as TriggersTypeListResponse, Er as ToolkitAuthFieldsResponseSchema, Et as CustomToolkitUpsertParamsSchema, F as Webhooks, Fn as WebhookPayloadV1Schema, Fr as ToolkitGetManyParams, Ft as UsageBreakdownResponseSchema, G as WebhookEndpointReplaceParams, Gn as WebhookVersions, Gr as ToolkitMangedByEnumSchema, Gt as UsageSummaryResponseSchema, H as WebhookEndpointListParamsSchema, Hn as WebhookTriggerPayloadV3, Hr as ToolkitListGrantContextsResponseSchema, Ht as UsageSummaryParams, I as WebhookEndpoint, In as WebhookPayloadV2, Ir as ToolkitGetManySlugsSchema, It as UsageEntitySummary, J as WebhookEndpointUpdateParams, Jn as AuthConfigListParamsSchema, Jr as ToolkitRecommendScopesResponse, Jt as IncomingTriggerPayloadSchema, K as WebhookEndpointReplaceParamsSchema, Kn as AuthConfigCreationToolAccessConfigSchema, Kr as ToolkitRecommendScopesParams, Kt as DefaultWebhookSubscriptionEvents, L as WebhookEndpointCreateParams, Ln as WebhookPayloadV2Schema, Lr as ToolkitGrantContextDimension, Lt as UsageEntitySummarySchema, M as ToolExecutionLogStatusSchema, Mn as WebhookPayload, Mr as ToolkitChangelogResponseSchema, Mt as UsageBreakdownParams, N as WebhookEndpoints, Nn as WebhookPayloadSchema, Nr as ToolkitConditionalScope, Nt as UsageBreakdownParamsSchema, O as ToolExecutionLogDetailSchema, On as TriggersTypeRetrieveResponse, Or as ToolkitCategorySchema, Ot as CustomToolkitUpsertResponseSchema, P as WebhookSubscriptions, Pn as WebhookPayloadV1, Pr as ToolkitConditionalScopeSchema, Pt as UsageBreakdownResponse, Q as WebhookSubscriptionEventType, Qn as AuthConfigRetrieveResponseSchema, Qr as ToolkitRetrieveResponse, Qt as TriggerData, R as WebhookEndpointCreateParamsSchema, Rn as WebhookPayloadV3, Rr as ToolkitGrantContextDimensionSchema, Rt as UsageFilters, S as LogSearchResponse, Sn as TriggerType, Sr as ToolkitAuthConfigDetailsSchema, St as CustomToolkitSyncParamsSchema, T as LogSearchTimeRangeSchema, Tn as TriggersTypeListParamsSchema, Tr as ToolkitAuthFieldsResponse, Tt as CustomToolkitUpsertParams, U as WebhookEndpointListResponse, Un as WebhookTriggerPayloadV3Schema, Ur as ToolkitListParams, Ut as UsageSummaryParamsSchema, V as WebhookEndpointListParams, Vn as WebhookSubscription, Vr as ToolkitListGrantContextsResponse, Vt as UsageOrderDirectionSchema, W as WebhookEndpointListResponseSchema, Wn as WebhookVersion, Wr as ToolkitMangedByEnum, Wt as UsageSummaryResponse, X as WebhookSubscriptionDeleteResponse, Xn as AuthConfigListResponseSchema, Xr as ToolkitRetrieveCategoriesResponse, Xt as SetWebhookSubscriptionParams, Y as WebhookEndpointUpdateParamsSchema, Yn as AuthConfigListResponse, Yr as ToolkitRecommendScopesResponseSchema, Yt as ParseWebhookOptions, Z as WebhookSubscriptionDeleteResponseSchema, Zn as AuthConfigRetrieveResponse, Zr as ToolkitRetrieveCategoriesResponseSchema, Zt as SetWebhookSubscriptionParamsSchema, _ as LogSearchFilterOperator, _n as TriggerStatusEnum, _r as ToolKitListResponse, _t as CustomToolkitAuthScheme, a as ComposioLogger, ai as ToolkitsListParamsSchema, an as TriggerInstanceListActiveResponseItemSchema, ar as AuthDefaultConfigUpdateParamsSchema, at as WebhookSubscriptionListResponseSchema, b as LogSearchParams, bn as TriggerSubscribeParamSchema, br as ToolKitMetaSchema, bt as CustomToolkitDeleteResponseSchema, c as Keyring, cn as TriggerInstanceManageDeleteResponseSchema, cr as AuthSchemeTypes, ct as WebhookSubscriptionSchema, d as KeyringTransferKeysResponse, dn as TriggerInstanceManageUpdateResponse, dr as CreateAuthConfigResponse, dt as WebhookSubscriptionUpdateParams, ei as ToolkitSortByEnum, en as TriggerEventData, er as AuthConfigType, et as WebhookSubscriptionEventTypesResponse, f as KeyringTransferKeysResponseSchema, fn as TriggerInstanceManageUpdateResponseSchema, fr as CreateAuthConfigResponseSchema, ft as WebhookSubscriptionUpdateParamsSchema, g as LogSearchFilterFieldSchema, gn as TriggerInstanceUpsertResponseSchema, gr as ToolKitItemSchema, gt as CustomToolkits, h as LogSearchFilterField, hn as TriggerInstanceUpsertResponse, hr as ToolKitItem, ht as Experimental, i as OpenAIProvider, ii as ToolkitsGetManyParamsSchema, in as TriggerInstanceListActiveResponseItem, ir as AuthCustomConfigUpdateParamsSchema, it as WebhookSubscriptionListResponse, j as ToolExecutionLogSchema, jn as VerifyWebhookResult, jr as ToolkitChangelogResponse, jt as UsageBreakdownGroupSchema, k as ToolExecutionLogLevelSchema, kn as VerifyWebhookParams, kr as ToolkitChangelogItem, kt as Usage, l as KeyringTransferKey, ln as TriggerInstanceManageUpdateParams, lr as CreateAuthConfigParams, lt as WebhookSubscriptionSetParams, m as LogSearchFilter, mn as TriggerInstanceUpsertParamsSchema, mr as CreateCustomAuthConfigParamsSchema, mt as MCP, n as ComposioConfig, ni as ToolkitVersionChangelog, nn as TriggerInstanceListActiveParamsSchema, nr as AuthConfigUpdateParams, nt as WebhookSubscriptionListParams, o as LogLevel, on as TriggerInstanceListActiveResponseSchema, or as AuthSchemeEnum, ot as WebhookSubscriptionRotateSecretResponse, p as Logs, pn as TriggerInstanceUpsertParams, pr as CreateComposioManagedAuthConfigParamsSchema, pt as WebhookVersionSchema, q as WebhookEndpointSchema, qn as AuthConfigListParams, qr as ToolkitRecommendScopesParamsSchema, qt as IncomingTriggerPayload, r as Sessions, ri as ToolkitVersionChangelogSchema, rn as TriggerInstanceListActiveResponse, rr as AuthConfigUpdateParamsSchema, rt as WebhookSubscriptionListParamsSchema, s as logger, sn as TriggerInstanceManageDeleteResponse, sr as AuthSchemeType, st as WebhookSubscriptionRotateSecretResponseSchema, t as Composio, ti as ToolkitSortByEnumSchema, tn as TriggerInstanceListActiveParams, tr as AuthConfigTypes, tt as WebhookSubscriptionEventTypesResponseSchema, u as KeyringTransferKeySchema, un as TriggerInstanceManageUpdateParamsSchema, ur as CreateAuthConfigParamsSchema, ut as WebhookSubscriptionSetParamsSchema, v as LogSearchFilterOperatorSchema, vn as TriggerStatusType, vr as ToolKitListResponseSchema, vt as CustomToolkitAuthSchemeSchema, w as LogSearchTimeRange, wn as TriggersTypeListParams, wr as ToolkitAuthFieldSchema, wt as CustomToolkitSyncResponseSchema, x as LogSearchParamsSchema, xn as TriggerSubscribeParams, xr as ToolkitAuthConfigDetails, xt as CustomToolkitSyncParams, y as LogSearchFilterSchema, yn as TriggerStatuses, yr as ToolKitMeta, yt as CustomToolkitDeleteResponse, z as WebhookEndpointListItem, zn as WebhookPayloadV3Schema, zr as ToolkitListGrantContextsParams, zt as UsageFiltersSchema } from "./composio-B36OXii1.mjs";
1
+ import { $ as ToolRouterSessionDeleteResponseSchema, $i as RedirectableAuthSchemeSchema, $n as UpdateConnectedAccountAclParamsSchema, $r as McpToolkitConnectionStatus, $t as ToolRouterSessionFilesMountDownloadOptionsSchema, A as SessionProxyExecuteParams, Aa as ToolListResponseSchema, Ai as Oauth1FailedConnectionDataSchema, An as ConnectedAccountRevokeResponse, Ar as MCPMultiAppServerSchema, At as ToolRouterToolsFn, B as ToolRouterCreateSessionConfigSchema, Ba as ToolkitVersionParam, Bi as Oauth2ConnectionDataSchema, Bn as ConnectedAccountTypes, Br as MCPSingleAppServerSchema, Bt as ToolkitConnectionStateSchema, C as MCPServerType, Ca as ToolExecuteParamsSchema, Ci as Oauth1ActiveConnectionData, Cn as ConnectedAccountListResponse, Cr as MCPCreateMethodResponse, Ct as ToolRouterTagsParamSchema, D as Session, Da as ToolListParams, Di as Oauth1ExpiredConnectionData, Dn as ConnectedAccountRefreshOptionsSchema, Dr as MCPGetServerParamsSchema, Dt as ToolRouterToolkitsOptions, E as SandboxSizeSchema, Ea as ToolList, Ei as Oauth1ConnectionDataSchema, En as ConnectedAccountRefreshOptions, Er as MCPGetServerParams, Et as ToolRouterToolkitsFn, F as ToolRouterConfigTags, Fa as Toolkit, Fi as Oauth1InitiatingConnectionData, Fn as ConnectedAccountStatusEnum, Fr as MCPServerListResponseSchema, Ft as ToolRouterUpdateManageConnectionsConfig, G as ToolRouterPremiumUsageSchema, Gi as Oauth2InactiveConnectionData, Gn as CreateConnectedAccountOptions, Gr as McpDeleteResponseSchema, Gt as FileDeleteResponseSchema, H as ToolRouterMCPServerConfigSchema, Ha as ToolkitVersionSchema, Hi as Oauth2ExpiredConnectionDataSchema, Hn as CreateConnectedAccountLinkOptionsSchema, Hr as MCPToolkitConfigSchema, Ht as ToolkitConnectionsDetailsSchema, I as ToolRouterConfigTagsSchema, Ia as ToolkitLatestVersion, Ii as Oauth1InitiatingConnectionDataSchema, In as ConnectedAccountStatusSchema, Ir as MCPServerSchema, It as ToolRouterUpdateManageConnectionsSchema, J as ToolRouterSessionConfig, Ji as Oauth2InitiatedConnectionDataSchema, Jn as CreateConnectedAccountParamsSchema, Jr as McpRetrieveResponse, Jt as RemoteFileData, K as ToolRouterSandboxConfig, Ki as Oauth2InactiveConnectionDataSchema, Kn as CreateConnectedAccountOptionsSchema, Kr as McpListResponse, Kt as FileListResponse, L as ToolRouterConfigTools, La as ToolkitLatestVersionSchema, Li as Oauth2ActiveConnectionData, Ln as ConnectedAccountStatuses, Lr as MCPServerUpdateParams, Lt as ToolRouterUpdateSessionConfig, M as SessionWithoutMcp, Ma as ToolProxyParamsSchema, Mi as Oauth1InactiveConnectionDataSchema, Mn as ConnectedAccountRevokedToken, Mr as MCPServerCreateResponse, Mt as ToolRouterToolsParamSchema, N as ToolRouterAuthorizeFn, Na as ToolRetrievalOptions, Ni as Oauth1InitiatedConnectionData, Nn as ConnectedAccountRevokedTokenSchema, Nr as MCPServerCreateResponseSchema, Nt as ToolRouterUpdateExperimentalConfig, O as SessionExperimental, Oa as ToolListParamsSchema, Oi as Oauth1ExpiredConnectionDataSchema, On as ConnectedAccountRetrieveResponse, Or as MCPInstanceParams, Ot as ToolRouterToolkitsOptionsSchema, P as ToolRouterConfigManageConnectionsSchema, Pa as ToolSchema, Pi as Oauth1InitiatedConnectionDataSchema, Pn as ConnectedAccountStatus, Pr as MCPServerListResponse, Pt as ToolRouterUpdateExperimentalSchema, Q as ToolRouterSessionDeleteResponse, Qi as Oauth2RevokedConnectionDataSchema, Qn as UpdateConnectedAccountAclParams, Qr as McpServerUrlInfo, Qt as ToolRouterSessionFilesMountDownloadOptions, R as ToolRouterConfigToolsSchema, Ra as ToolkitSchema, Ri as Oauth2ActiveConnectionDataSchema, Rn as ConnectedAccountType, Rr as MCPServerUpdateParamsSchema, Rt as ToolRouterUpdateSessionConfigSchema, S as SessionContext, Sa as ToolExecuteParams, Si as CustomOauth2ConnectionDataSchema, Sn as ConnectedAccountListParamsSchema, Sr as MCPAuthOptionsSchema, St as ToolRouterTagsEnableDisableSchema, T as SandboxSize, Ta as ToolExecuteResponseSchema, Ti as Oauth1ConnectionData, Tn as ConnectedAccountListResponseSchema, Tr as MCPGenerateURLParamsSchema, Tt as ToolRouterToolkitsEnabledConfigSchema, U as ToolRouterManageConnectionsConfigSchema, Ua as ToolkitVersions, Ui as Oauth2FailedConnectionData, Un as CreateConnectedAccountLinkResponse, Ur as MCPToolkitConfigsArraySchema, Ut as RemoteFile, V as ToolRouterMCPServerConfig, Va as ToolkitVersionParamSchema, Vi as Oauth2ExpiredConnectionData, Vn as CreateConnectedAccountLinkOptions, Vr as MCPToolkitConfig, Vt as ToolkitConnectionsDetails, W as ToolRouterPremiumUsage, Wa as ToolkitVersionsSchema, Wi as Oauth2FailedConnectionDataSchema, Wn as CreateConnectedAccountLinkResponseSchema, Wr as McpDeleteResponse, Wt as FileDeleteResponse, X as ToolRouterSessionConfigHistoryItem, Xi as Oauth2InitiatingConnectionDataSchema, Xn as CreateConnectedAccountResponseSchema, Xr as McpServerCreateResponse, Xt as ToolRouterSessionFilesMountDeleteOptions, Y as ToolRouterSessionConfigHistoryConfig, Yi as Oauth2InitiatingConnectionData, Yn as CreateConnectedAccountResponse, Yr as McpRetrieveResponseSchema, Yt as RemoteFileDataSchema, Z as ToolRouterSessionDeleteFn, Zi as Oauth2RevokedConnectionData, Zn as DefaultCreateConnectedAccountParamsSchema, Zr as McpServerGetResponse, Zt as ToolRouterSessionFilesMountDeleteOptionsSchema, _ as CustomToolsMapEntry, _a as JSONSchemaPropertySchema, _i as CustomConnectionData, _n as ConnectedAccountExperimental, _r as GenerateURLParamsSchema, _t as ToolRouterSessionSearchResponse, a as CreateCustomToolkitParams, aa as SessionExecuteMetaModifiers, ai as ExecuteToolFn, an as ConnectionRequest, ar as ComposioCustomCreateResponseSchema, at as ToolRouterSessionExecuteOptions, b as RegisteredCustomTool, ba as ToolExecuteMetaParams, bi as CustomOauth1ConnectionDataSchema, bn as ConnectedAccountExperimentalSchema, br as GenerateURLResponseValidated, bt as ToolRouterSessionWarning, c as CustomToolExecuteFn, ca as TransformToolSchemaModifier, ci as Provider, cn as ConnectedAccountAclConfigResponse, cr as ComposioMcpDeleteResponseSchema, ct as ToolRouterSessionListConfigHistoryFn, d as CustomToolWireDefinition, da as beforeExecuteMetaModifier, di as BaseConnectionFields, dn as ConnectedAccountAuthConfig, dr as ComposioMcpUpdateResponseSchema, dt as ToolRouterSessionListConfigHistoryResponse, ea as AgenticToolOptions, ei as McpUpdateResponse, en as ToolRouterSessionFilesMountListOptions, er as UpdateConnectedAccountParams, et as ToolRouterSessionEnsureConnectedFn, f as CustomToolkit, fa as beforeExecuteModifier, fi as BillcomAuthConnectionDataSchema, fn as ConnectedAccountAuthConfigSchema, fr as ConnectionStatus, ft as ToolRouterSessionMetadata, g as CustomToolsMap, ga as JSONSchemaProperty, gi as ConnectionStatuses, gn as ConnectedAccountCompleteAuthResponseSchema, gr as GenerateURLParams, gt as ToolRouterSessionSearchFn, h as CustomToolkitWireDefinition, ha as CustomAuthParamsSchema, hi as ConnectionStatusEnum, hn as ConnectedAccountCompleteAuthResponse, hr as CustomCreateResponseValidated, ht as ToolRouterSessionProxyExecuteResponse, i as CreateCustomToolkitBaseSchema, ia as ProviderOptions, ii as McpUserConnectionStatus, in as ComposioRequestOptions, ir as BaseNonAgenticProvider, it as ToolRouterSessionExecuteFn, j as SessionProxyExecuteParamsSchema, ja as ToolProxyParams, ji as Oauth1InactiveConnectionData, jn as ConnectedAccountRevokeResponseSchema, jr as MCPServer, jt as ToolRouterToolsParam, k as SessionPreset, ka as ToolListResponse, ki as Oauth1FailedConnectionData, kn as ConnectedAccountRetrieveResponseSchema, kr as MCPMultiAppServer, kt as ToolRouterToolkitsParamSchema, l as CustomToolResponse, la as afterExecuteMetaModifier, li as ToolCallExecutionTarget, ln as ConnectedAccountAclConfigResponseSchema, lr as ComposioMcpListResponseSchema, lt as ToolRouterSessionListConfigHistoryOptions, m as CustomToolkitResponse, ma as CustomAuthParams, mi as ConnectionDataSchema, mn as ConnectedAccountCompleteAuthParamsSchema, mr as CustomCreateResponseSchema, mt as ToolRouterSessionProxyExecuteFn, n as CreateCustomToolBaseSchema, na as ExecuteToolModifiers, ni as McpUrlResponse, nn as ToolRouterSessionFilesMountUploadOptions, nr as BaseAgenticProvider, nt as ToolRouterSessionEnsureConnectedOptionsSchema, o as CustomTool, oa as SessionMetaToolOptions, oi as ExecuteToolFnOptions, on as ConnectionRequestState, or as ComposioGenerateURLParamsSchema, ot as ToolRouterSessionExecuteResponse, p as CustomToolkitDefinition, pa as beforeFileUploadModifier, pi as ConnectionData, pn as ConnectedAccountCompleteAuthParams, pr as CustomCreateResponse, pt as ToolRouterSessionPreloadConfig, q as ToolRouterSandboxConfigSchema, qi as Oauth2InitiatedConnectionData, qn as CreateConnectedAccountParams, qr as McpListResponseSchema, qt as FileListResponseSchema, r as CreateCustomToolParams, ra as MetaToolArguments, ri as McpUrlResponseCamelCase, rn as ToolRouterSessionFilesMountUploadOptionsSchema, rr as BaseComposioProvider, rt as ToolRouterSessionEnsureConnectedResult, s as CustomToolDefinition, sa as ToolOptions, si as GlobalExecuteToolFn, sn as ConnectedAccountAclConfig, sr as ComposioGenerateURLResponseSchema, st as ToolRouterSessionExecuteResponseSchema, t as AnyZodSchema, ta as BeforeFileUploadSource, ti as McpUpdateResponseSchema, tn as ToolRouterSessionFilesMountListOptionsSchema, tr as UpdateConnectedAccountParamsSchema, tt as ToolRouterSessionEnsureConnectedOptions, u as CustomToolSlugSchema, ua as afterExecuteModifier, ui as ToolCallSession, un as ConnectedAccountAclConfigSchema, ur as ComposioMcpRetrieveResponseSchema, ut as ToolRouterSessionListConfigHistoryOptionsSchema, v as InferZodSchema, va as SchemaModifierOptions, vi as CustomConnectionDataSchema, vn as ConnectedAccountExperimentalResponse, vr as GenerateURLResponse, vt as ToolRouterSessionSearchResponseSchema, w as MCPServerTypeSchema, wa as ToolExecuteResponse, wi as Oauth1ActiveConnectionDataSchema, wn as ConnectedAccountListResponseItem, wr as MCPGenerateURLParams, wt as ToolRouterToolkitsDisabledConfigSchema, x as RegisteredCustomToolkit, xa as ToolExecuteMetaParamsSchema, xi as CustomOauth2ConnectionData, xn as ConnectedAccountListParams, xr as MCPAuthOptions, xt as ToolRouterSessionWorkbenchConfig, y as InlineCustomToolsWirePayload, ya as Tool, yi as CustomOauth1ConnectionData, yn as ConnectedAccountExperimentalResponseSchema, yr as GenerateURLResponseSchema, yt as ToolRouterSessionUpdateFn, z as ToolRouterCreateSessionConfig, za as ToolkitVersion, zi as Oauth2ConnectionData, zn as ConnectedAccountTypeSchema, zr as MCPSingleAppServer, zt as ToolkitConnectionState } from "./customTool.types-D_w21L56.mjs";
2
+ import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-BHOYxLZX.mjs";
3
+ import { $ as WebhookEndpointListParamsSchema, $n as WebhookTriggerPayloadV3, $r as ToolkitListGrantContextsResponseSchema, $t as UsageSummaryParams, A as LogSearchFilterSchema, An as TriggerStatuses, Ar as ToolKitMeta, At as CustomToolkitDeleteResponse, B as ToolExecutionLogLevelSchema, Bn as VerifyWebhookParams, Br as ToolkitChangelogItem, Bt as Usage, C as SessionConfigSummarySchema, Cn as TriggerInstanceManageUpdateResponseSchema, Cr as CreateAuthConfigResponseSchema, Ct as WebhookSubscriptionUpdateParamsSchema, D as LogSearchFilterFieldSchema, Dn as TriggerInstanceUpsertResponseSchema, Dr as ToolKitItemSchema, Dt as CustomToolkits, E as LogSearchFilterField, En as TriggerInstanceUpsertResponse, Er as ToolKitItem, Et as Experimental, F as LogSearchTimeRange, Fn as TriggersTypeListParams, Fr as ToolkitAuthFieldSchema, Ft as CustomToolkitSyncResponseSchema, G as WebhookSubscriptions, Gn as WebhookPayloadV1, Gr as ToolkitConditionalScopeSchema, Gt as UsageBreakdownResponse, H as ToolExecutionLogSchema, Hn as VerifyWebhookResult, Hr as ToolkitChangelogResponse, Ht as UsageBreakdownGroupSchema, I as LogSearchTimeRangeSchema, In as TriggersTypeListParamsSchema, Ir as ToolkitAuthFieldsResponse, It as CustomToolkitUpsertParams, J as WebhookEndpointCreateParams, Jn as WebhookPayloadV2Schema, Jr as ToolkitGrantContextDimension, Jt as UsageEntitySummarySchema, K as Webhooks, Kn as WebhookPayloadV1Schema, Kr as ToolkitGetManyParams, Kt as UsageBreakdownResponseSchema, L as ToolExecutionLog, Ln as TriggersTypeListResponse, Lr as ToolkitAuthFieldsResponseSchema, Lt as CustomToolkitUpsertParamsSchema, M as LogSearchParamsSchema, Mn as TriggerSubscribeParams, Mr as ToolkitAuthConfigDetails, Mt as CustomToolkitSyncParams, N as LogSearchResponse, Nn as TriggerType, Nr as ToolkitAuthConfigDetailsSchema, Nt as CustomToolkitSyncParamsSchema, O as LogSearchFilterOperator, On as TriggerStatusEnum, Or as ToolKitListResponse, Ot as CustomToolkitAuthScheme, P as LogSearchResponseSchema, Pn as TriggerTypeSchema, Pr as ToolkitAuthField, Pt as CustomToolkitSyncResponse, Q as WebhookEndpointListParams, Qn as WebhookSubscription, Qr as ToolkitListGrantContextsResponse, Qt as UsageOrderDirectionSchema, R as ToolExecutionLogDetail, Rn as TriggersTypeListResponseSchema, Rr as ToolkitCategory, Rt as CustomToolkitUpsertResponse, S as SessionConfigSummary, Sn as TriggerInstanceManageUpdateResponse, Sr as CreateAuthConfigResponse, St as WebhookSubscriptionUpdateParams, T as LogSearchFilter, Tn as TriggerInstanceUpsertParamsSchema, Tr as CreateCustomAuthConfigParamsSchema, Tt as MCP, U as ToolExecutionLogStatusSchema, Un as WebhookPayload, Ur as ToolkitChangelogResponseSchema, Ut as UsageBreakdownParams, V as ToolExecutionLogParentSchema, Vn as VerifyWebhookParamsSchema, Vr as ToolkitChangelogItemSchema, Vt as UsageBreakdownGroup, W as WebhookEndpoints, Wn as WebhookPayloadSchema, Wr as ToolkitConditionalScope, Wt as UsageBreakdownParamsSchema, X as WebhookEndpointListItem, Xn as WebhookPayloadV3Schema, Xr as ToolkitListGrantContextsParams, Xt as UsageFiltersSchema, Y as WebhookEndpointCreateParamsSchema, Yn as WebhookPayloadV3, Yr as ToolkitGrantContextDimensionSchema, Yt as UsageFilters, Z as WebhookEndpointListItemSchema, Zn as WebhookRequestLike, Zr as ToolkitListGrantContextsParamsSchema, Zt as UsageOrderBySchema, _ as SessionConfigListResponse, _n as TriggerInstanceListActiveResponseSchema, _r as AuthSchemeEnum, _t as WebhookSubscriptionRotateSecretResponse, a as ComposioLogger, ai as ToolkitRecommendScopesResponse, an as IncomingTriggerPayloadSchema, ar as AuthConfigListParamsSchema, at as WebhookEndpointUpdateParams, b as SessionConfigPolicySchema, bn as TriggerInstanceManageUpdateParams, br as CreateAuthConfigParams, bt as WebhookSubscriptionSetParams, c as Keyring, ci as ToolkitRetrieveCategoriesResponseSchema, cn as SetWebhookSubscriptionParamsSchema, cr as AuthConfigRetrieveResponse, ct as WebhookSubscriptionDeleteResponseSchema, d as KeyringTransferKeysResponse, di as ToolkitSortByEnum, dn as TriggerEventData, dr as AuthConfigType, dt as WebhookSubscriptionEventTypesResponse, ei as ToolkitListParams, en as UsageSummaryParamsSchema, er as WebhookTriggerPayloadV3Schema, et as WebhookEndpointListResponse, f as KeyringTransferKeysResponseSchema, fi as ToolkitSortByEnumSchema, fn as TriggerInstanceListActiveParams, fr as AuthConfigTypes, ft as WebhookSubscriptionEventTypesResponseSchema, g as SessionConfigListParamsSchema, gi as ToolkitsListParamsSchema, gn as TriggerInstanceListActiveResponseItemSchema, gr as AuthDefaultConfigUpdateParamsSchema, gt as WebhookSubscriptionListResponseSchema, h as SessionConfigListParams, hi as ToolkitsGetManyParamsSchema, hn as TriggerInstanceListActiveResponseItem, hr as AuthCustomConfigUpdateParamsSchema, ht as WebhookSubscriptionListResponse, i as OpenAIProvider, ii as ToolkitRecommendScopesParamsSchema, in as IncomingTriggerPayload, ir as AuthConfigListParams, it as WebhookEndpointSchema, j as LogSearchParams, jn as TriggerSubscribeParamSchema, jr as ToolKitMetaSchema, jt as CustomToolkitDeleteResponseSchema, k as LogSearchFilterOperatorSchema, kn as TriggerStatusType, kr as ToolKitListResponseSchema, kt as CustomToolkitAuthSchemeSchema, l as KeyringTransferKey, li as ToolkitRetrieveResponse, ln as TriggerData, lr as AuthConfigRetrieveResponseSchema, lt as WebhookSubscriptionEventType, m as SessionConfig, mi as ToolkitVersionChangelogSchema, mn as TriggerInstanceListActiveResponse, mr as AuthConfigUpdateParamsSchema, mt as WebhookSubscriptionListParamsSchema, n as ComposioConfig, ni as ToolkitMangedByEnumSchema, nn as UsageSummaryResponseSchema, nr as WebhookVersions, nt as WebhookEndpointReplaceParams, o as LogLevel, oi as ToolkitRecommendScopesResponseSchema, on as ParseWebhookOptions, or as AuthConfigListResponse, ot as WebhookEndpointUpdateParamsSchema, p as SessionConfigs, pi as ToolkitVersionChangelog, pn as TriggerInstanceListActiveParamsSchema, pr as AuthConfigUpdateParams, pt as WebhookSubscriptionListParams, q as WebhookEndpoint, qn as WebhookPayloadV2, qr as ToolkitGetManySlugsSchema, qt as UsageEntitySummary, r as Sessions, ri as ToolkitRecommendScopesParams, rn as DefaultWebhookSubscriptionEvents, rr as AuthConfigCreationToolAccessConfigSchema, rt as WebhookEndpointReplaceParamsSchema, s as logger, si as ToolkitRetrieveCategoriesResponse, sn as SetWebhookSubscriptionParams, sr as AuthConfigListResponseSchema, st as WebhookSubscriptionDeleteResponse, t as Composio, ti as ToolkitMangedByEnum, tn as UsageSummaryResponse, tr as WebhookVersion, tt as WebhookEndpointListResponseSchema, u as KeyringTransferKeySchema, ui as ToolkitRetrieveResponseSchema, un as TriggerEvent, ur as AuthConfigToolAccessConfigSchema, ut as WebhookSubscriptionEventTypeSchema, v as SessionConfigListResponseSchema, vn as TriggerInstanceManageDeleteResponse, vr as AuthSchemeType, vt as WebhookSubscriptionRotateSecretResponseSchema, w as Logs, wn as TriggerInstanceUpsertParams, wr as CreateComposioManagedAuthConfigParamsSchema, wt as WebhookVersionSchema, x as SessionConfigSchema, xn as TriggerInstanceManageUpdateParamsSchema, xr as CreateAuthConfigParamsSchema, xt as WebhookSubscriptionSetParamsSchema, y as SessionConfigPolicy, yn as TriggerInstanceManageDeleteResponseSchema, yr as AuthSchemeTypes, yt as WebhookSubscriptionSchema, z as ToolExecutionLogDetailSchema, zn as TriggersTypeRetrieveResponse, zr as ToolkitCategorySchema, zt as CustomToolkitUpsertResponseSchema } from "./composio-BTZsFajb.mjs";
4
4
  import { n as FileUploadData, t as FileDownloadData } from "./files.types-DeMC_mAW.mjs";
5
5
  import ComposioClient, { Composio as Composio$1 } from "@composio/client";
6
6
  import { z as z$1 } from "zod/v3";
@@ -554,9 +554,9 @@ export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends
554
554
  readonly mcp: ToolRouterMCPServerConfig;
555
555
  readonly experimental: SessionExperimental;
556
556
  /**
557
- * Server-side session configuration (toolkit/tool allowlists, tags, preload,
558
- * sandbox, manage_connections) as returned by the API. Refreshed in place by
559
- * `update()`.
557
+ * The session's current configuration (policy snapshot and runtime
558
+ * settings). Refreshed in place by `update()`. For saved, reusable Session
559
+ * configs, see `composio.sessionConfigs`.
560
560
  */
561
561
  config: ToolRouterSessionConfig;
562
562
  preload: ToolRouterSessionPreloadConfig;
@@ -564,8 +564,8 @@ export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends
564
564
  sandbox?: ToolRouterSessionWorkbenchConfig;
565
565
  /**
566
566
  * Version of the server-side configuration this object last observed.
567
- * Refreshed in place by `update()`, which sends it as the
568
- * `expected_config_version` precondition by default.
567
+ * Refreshed in place by `update()`. Pass it as `expectedConfigVersion` to
568
+ * make an update conditional.
569
569
  */
570
570
  configVersion?: number;
571
571
  warnings: ToolRouterSessionWarning[];
@@ -573,7 +573,7 @@ export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends
573
573
  private readonly inlineCustomToolsPayload;
574
574
  /** Singleton session context — shared across all custom tool executions */
575
575
  private readonly sessionContext?;
576
- constructor(client: Composio$1, sdkConfig: ComposioConfig<TProvider> | undefined, sessionId: string, mcp: ToolRouterMCPServerConfig, experimentalOverrides?: Pick<SessionExperimental, 'assistivePrompt'>, customToolsMap?: CustomToolsMap | undefined, userId?: string | undefined, metadata?: ToolRouterSessionMetadata);
576
+ constructor(client: Composio$1, sdkConfig: ComposioConfig<TProvider> | undefined, sessionId: string, mcp: ToolRouterMCPServerConfig, experimentalOverrides?: Pick<SessionExperimental, 'assistivePrompt' | 'sourceSessionConfig'>, customToolsMap?: CustomToolsMap | undefined, userId?: string | undefined, metadata?: ToolRouterSessionMetadata);
577
577
  /**
578
578
  * Resolved sandbox config for the session.
579
579
  *
@@ -733,19 +733,28 @@ export declare class ToolRouterSession<TToolCollection, TTool, TProvider extends
733
733
  * map entirely. `manageConnections.callbackUrl: null` removes only the
734
734
  * stored callback URL.
735
735
  *
736
- * The request carries the `configVersion` this object last observed as the
737
- * `expected_config_version` precondition, so a concurrent change surfaces as
736
+ * By default the request carries no precondition: the last writer wins.
737
+ * Pass `expectedConfigVersion` (for example `session.configVersion`) to make
738
+ * the update conditional: the API then applies it only when the stored
739
+ * version still matches, and a concurrent change surfaces as
738
740
  * {@link ComposioSessionConfigConflictError} (HTTP 409) instead of being
739
- * overwritten. Pass `expectedConfigVersion` to send another version, or
740
- * `expectedConfigVersion: false` to send no precondition (last writer
741
- * wins). The PATCH is never retried by the transport, so a 409 is reported
742
- * exactly once. On conflict this object is left unchanged: re-fetch the
743
- * session with `sessions.use(sessionId)` and retry against the fresh
744
- * `configVersion`.
741
+ * overwritten. The API must support the `expected_config_version` field;
742
+ * otherwise it rejects the request with a 400. `expectedConfigVersion: false`
743
+ * is the same as omitting it. The PATCH is never retried by the transport,
744
+ * so a 409 is reported exactly once. On conflict this object is left
745
+ * unchanged: re-fetch the session with `sessions.use(sessionId)` and retry
746
+ * against the fresh `configVersion`.
745
747
  *
746
- * `config`, `configVersion`, `preload`, `sandbox` and `warnings` are
747
- * refreshed in place only after a successful response, and the updated
748
- * `config` is returned.
748
+ * `experimental.sessionConfigId` applies a saved Session config: it
749
+ * replaces the session's toolkit, tool and tag access and cannot be combined
750
+ * with `toolkits`, `tools` or `tags` (a `ValidationError` is thrown before
751
+ * any request). A 409 while applying it means the session or the config
752
+ * changed; re-fetch the session and retry. Backend 400, 403 and 404 errors,
753
+ * for example for an archived or missing config, surface unchanged.
754
+ *
755
+ * `config`, `configVersion`, `preload`, `sandbox`, `warnings` and
756
+ * `experimental.sourceSessionConfig` are refreshed in place only after a
757
+ * successful response, and the updated `config` is returned.
749
758
  */
750
759
  update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionConfig>;
751
760
  /**
@@ -6631,14 +6640,18 @@ export declare class ComposioMCPDestinationError extends ComposioError {
6631
6640
  }
6632
6641
  /**
6633
6642
  * Thrown when a session update is rejected with HTTP 409 because the session
6634
- * configuration changed since it was last read: the `expected_config_version`
6635
- * precondition (the session's last observed `configVersion` by default) is
6636
- * stale. The local session object is left as it was before the call.
6637
- * Re-fetch the session with `sessions.use(sessionId)` and retry the update
6638
- * against the fresh `configVersion`.
6643
+ * configuration changed since it was last read, for example when an
6644
+ * `expectedConfigVersion` precondition passed to `update()` is stale. The
6645
+ * local session object is left as it was before the call. Re-fetch the session
6646
+ * with `sessions.use(sessionId)` and retry the update against the fresh
6647
+ * `configVersion`.
6648
+ *
6649
+ * Applying a saved Session config with `experimental.sessionConfigId` can
6650
+ * also conflict when the session or the config changes while the update is
6651
+ * applied; `meta.sessionConfigId` then names the config.
6639
6652
  */
6640
6653
  export declare class ComposioSessionConfigConflictError extends ComposioError {
6641
6654
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
6642
6655
  }
6643
6656
  //#endregion
6644
- export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioCustomCreateResponseSchema, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, type ComposioLogger, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioRequestOptions, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountCompleteAuthParams, ConnectedAccountCompleteAuthParamsSchema, ConnectedAccountCompleteAuthResponse, ConnectedAccountCompleteAuthResponseSchema, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountRevokeResponse, ConnectedAccountRevokeResponseSchema, ConnectedAccountRevokedToken, ConnectedAccountRevokedTokenSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestState, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitAuthScheme, CustomToolkitAuthSchemeSchema, CustomToolkitDefinition, CustomToolkitDeleteResponse, CustomToolkitDeleteResponseSchema, CustomToolkitResponse, CustomToolkitSyncParams, CustomToolkitSyncParamsSchema, CustomToolkitSyncResponse, CustomToolkitSyncResponseSchema, CustomToolkitUpsertParams, CustomToolkitUpsertParamsSchema, CustomToolkitUpsertResponse, CustomToolkitUpsertResponseSchema, CustomToolkitWireDefinition, CustomToolkits, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, type KeyMapping, type KeySanitizationPolicy, Keyring, KeyringTransferKey, KeyringTransferKeySchema, KeyringTransferKeysResponse, KeyringTransferKeysResponseSchema, type LogLevel, LogSearchFilter, LogSearchFilterField, LogSearchFilterFieldSchema, LogSearchFilterOperator, LogSearchFilterOperatorSchema, LogSearchFilterSchema, LogSearchParams, LogSearchParamsSchema, LogSearchResponse, LogSearchResponseSchema, LogSearchTimeRange, LogSearchTimeRangeSchema, Logs, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, type StrictJsonSchemaResult, type StrictSchemaChange, type StrictSchemaChangeReason, type StrictSchemaIncompatibility, Tool, ToolCallExecutionTarget, ToolCallSession, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolExecutionLog, ToolExecutionLogDetail, ToolExecutionLogDetailSchema, ToolExecutionLogLevelSchema, ToolExecutionLogParentSchema, ToolExecutionLogSchema, ToolExecutionLogStatusSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSessionConfig, ToolRouterSessionConfigHistoryConfig, ToolRouterSessionConfigHistoryItem, ToolRouterSessionDeleteFn, ToolRouterSessionDeleteResponse, ToolRouterSessionDeleteResponseSchema, ToolRouterSessionEnsureConnectedFn, ToolRouterSessionEnsureConnectedOptions, ToolRouterSessionEnsureConnectedOptionsSchema, ToolRouterSessionEnsureConnectedResult, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionListConfigHistoryFn, ToolRouterSessionListConfigHistoryOptions, ToolRouterSessionListConfigHistoryOptionsSchema, ToolRouterSessionListConfigHistoryResponse, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateExperimentalConfig, ToolRouterUpdateExperimentalSchema, ToolRouterUpdateManageConnectionsConfig, ToolRouterUpdateManageConnectionsSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitChangelogItem, ToolkitChangelogItemSchema, ToolkitChangelogResponse, ToolkitChangelogResponseSchema, ToolkitConditionalScope, ToolkitConditionalScopeSchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitGetManyParams, ToolkitGetManySlugsSchema, ToolkitGrantContextDimension, ToolkitGrantContextDimensionSchema, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListGrantContextsParams, ToolkitListGrantContextsParamsSchema, ToolkitListGrantContextsResponse, ToolkitListGrantContextsResponseSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRecommendScopesParams, ToolkitRecommendScopesParamsSchema, ToolkitRecommendScopesResponse, ToolkitRecommendScopesResponseSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionChangelog, ToolkitVersionChangelogSchema, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsGetManyParamsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, Usage, UsageBreakdownGroup, UsageBreakdownGroupSchema, UsageBreakdownParams, UsageBreakdownParamsSchema, UsageBreakdownResponse, UsageBreakdownResponseSchema, UsageEntitySummary, UsageEntitySummarySchema, UsageFilters, UsageFiltersSchema, UsageOrderBySchema, UsageOrderDirectionSchema, UsageSummaryParams, UsageSummaryParamsSchema, UsageSummaryResponse, UsageSummaryResponseSchema, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookEndpoint, WebhookEndpointCreateParams, WebhookEndpointCreateParamsSchema, WebhookEndpointListItem, WebhookEndpointListItemSchema, WebhookEndpointListParams, WebhookEndpointListParamsSchema, WebhookEndpointListResponse, WebhookEndpointListResponseSchema, WebhookEndpointReplaceParams, WebhookEndpointReplaceParamsSchema, WebhookEndpointSchema, WebhookEndpointUpdateParams, WebhookEndpointUpdateParamsSchema, WebhookEndpoints, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookSubscriptionDeleteResponse, WebhookSubscriptionDeleteResponseSchema, WebhookSubscriptionEventType, WebhookSubscriptionEventTypeSchema, WebhookSubscriptionEventTypesResponse, WebhookSubscriptionEventTypesResponseSchema, WebhookSubscriptionListParams, WebhookSubscriptionListParamsSchema, WebhookSubscriptionListResponse, WebhookSubscriptionListResponseSchema, WebhookSubscriptionRotateSecretResponse, WebhookSubscriptionRotateSecretResponseSchema, WebhookSubscriptionSchema, WebhookSubscriptionSetParams, WebhookSubscriptionSetParamsSchema, WebhookSubscriptionUpdateParams, WebhookSubscriptionUpdateParamsSchema, WebhookSubscriptions, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersionSchema, WebhookVersions, Webhooks, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, logger };
6657
+ export { AgenticToolOptions, AnyZodSchema, AuthConfigCreationToolAccessConfigSchema, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BeforeFileUploadSource, BillcomAuthConnectionDataSchema, Composio, ComposioCustomCreateResponseSchema, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, type ComposioLogger, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioRequestOptions, ConnectedAccountAclConfig, ConnectedAccountAclConfigResponse, ConnectedAccountAclConfigResponseSchema, ConnectedAccountAclConfigSchema, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountCompleteAuthParams, ConnectedAccountCompleteAuthParamsSchema, ConnectedAccountCompleteAuthResponse, ConnectedAccountCompleteAuthResponseSchema, ConnectedAccountExperimental, ConnectedAccountExperimentalResponse, ConnectedAccountExperimentalResponseSchema, ConnectedAccountExperimentalSchema, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountRevokeResponse, ConnectedAccountRevokeResponseSchema, ConnectedAccountRevokedToken, ConnectedAccountRevokedTokenSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectedAccountType, ConnectedAccountTypeSchema, ConnectedAccountTypes, ConnectionData, ConnectionDataSchema, ConnectionRequest, ConnectionRequestState, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolResponse, CustomToolSlugSchema, CustomToolWireDefinition, CustomToolkit, CustomToolkitAuthScheme, CustomToolkitAuthSchemeSchema, CustomToolkitDefinition, CustomToolkitDeleteResponse, CustomToolkitDeleteResponseSchema, CustomToolkitResponse, CustomToolkitSyncParams, CustomToolkitSyncParamsSchema, CustomToolkitSyncResponse, CustomToolkitSyncResponseSchema, CustomToolkitUpsertParams, CustomToolkitUpsertParamsSchema, CustomToolkitUpsertResponse, CustomToolkitUpsertResponseSchema, CustomToolkitWireDefinition, CustomToolkits, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, DefaultWebhookSubscriptionEvents, type DereferenceJsonSchemaOptions, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, Experimental, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InferZodSchema, InlineCustomToolsWirePayload, JSONSchemaProperty, JSONSchemaPropertySchema, type KeyMapping, type KeySanitizationPolicy, Keyring, KeyringTransferKey, KeyringTransferKeySchema, KeyringTransferKeysResponse, KeyringTransferKeysResponseSchema, type LogLevel, LogSearchFilter, LogSearchFilterField, LogSearchFilterFieldSchema, LogSearchFilterOperator, LogSearchFilterOperatorSchema, LogSearchFilterSchema, LogSearchParams, LogSearchParamsSchema, LogSearchResponse, LogSearchResponseSchema, LogSearchTimeRange, LogSearchTimeRangeSchema, Logs, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, Oauth2RevokedConnectionData, Oauth2RevokedConnectionDataSchema, OpenAIProvider, ParseWebhookOptions, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, SandboxSize, SandboxSizeSchema, SchemaModifierOptions, Session, SessionConfig, SessionConfigListParams, SessionConfigListParamsSchema, SessionConfigListResponse, SessionConfigListResponseSchema, SessionConfigPolicy, SessionConfigPolicySchema, SessionConfigSchema, SessionConfigSummary, SessionConfigSummarySchema, SessionConfigs, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionPreset, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SessionWithoutMcp, Sessions, SetWebhookSubscriptionParams, SetWebhookSubscriptionParamsSchema, type StrictJsonSchemaResult, type StrictSchemaChange, type StrictSchemaChangeReason, type StrictSchemaIncompatibility, Tool, ToolCallExecutionTarget, ToolCallSession, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolExecutionLog, ToolExecutionLogDetail, ToolExecutionLogDetailSchema, ToolExecutionLogLevelSchema, ToolExecutionLogParentSchema, ToolExecutionLogSchema, ToolExecutionLogStatusSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterPremiumUsage, ToolRouterPremiumUsageSchema, ToolRouterSandboxConfig, ToolRouterSandboxConfigSchema, ToolRouterSessionConfig, ToolRouterSessionConfigHistoryConfig, ToolRouterSessionConfigHistoryItem, ToolRouterSessionDeleteFn, ToolRouterSessionDeleteResponse, ToolRouterSessionDeleteResponseSchema, ToolRouterSessionEnsureConnectedFn, ToolRouterSessionEnsureConnectedOptions, ToolRouterSessionEnsureConnectedOptionsSchema, ToolRouterSessionEnsureConnectedResult, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteOptions, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionListConfigHistoryFn, ToolRouterSessionListConfigHistoryOptions, ToolRouterSessionListConfigHistoryOptionsSchema, ToolRouterSessionListConfigHistoryResponse, ToolRouterSessionMetadata, ToolRouterSessionPreloadConfig, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterSessionUpdateFn, ToolRouterSessionWarning, ToolRouterSessionWorkbenchConfig, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolRouterUpdateExperimentalConfig, ToolRouterUpdateExperimentalSchema, ToolRouterUpdateManageConnectionsConfig, ToolRouterUpdateManageConnectionsSchema, ToolRouterUpdateSessionConfig, ToolRouterUpdateSessionConfigSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitChangelogItem, ToolkitChangelogItemSchema, ToolkitChangelogResponse, ToolkitChangelogResponseSchema, ToolkitConditionalScope, ToolkitConditionalScopeSchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitGetManyParams, ToolkitGetManySlugsSchema, ToolkitGrantContextDimension, ToolkitGrantContextDimensionSchema, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListGrantContextsParams, ToolkitListGrantContextsParamsSchema, ToolkitListGrantContextsResponse, ToolkitListGrantContextsResponseSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRecommendScopesParams, ToolkitRecommendScopesParamsSchema, ToolkitRecommendScopesResponse, ToolkitRecommendScopesResponseSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionChangelog, ToolkitVersionChangelogSchema, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsGetManyParamsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, type UnresolvedRefReason, type UnresolvedRefStrategy, UpdateConnectedAccountAclParams, UpdateConnectedAccountAclParamsSchema, type UpdateConnectedAccountParams, UpdateConnectedAccountParamsSchema, Usage, UsageBreakdownGroup, UsageBreakdownGroupSchema, UsageBreakdownParams, UsageBreakdownParamsSchema, UsageBreakdownResponse, UsageBreakdownResponseSchema, UsageEntitySummary, UsageEntitySummarySchema, UsageFilters, UsageFiltersSchema, UsageOrderBySchema, UsageOrderDirectionSchema, UsageSummaryParams, UsageSummaryParamsSchema, UsageSummaryResponse, UsageSummaryResponseSchema, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookEndpoint, WebhookEndpointCreateParams, WebhookEndpointCreateParamsSchema, WebhookEndpointListItem, WebhookEndpointListItemSchema, WebhookEndpointListParams, WebhookEndpointListParamsSchema, WebhookEndpointListResponse, WebhookEndpointListResponseSchema, WebhookEndpointReplaceParams, WebhookEndpointReplaceParamsSchema, WebhookEndpointSchema, WebhookEndpointUpdateParams, WebhookEndpointUpdateParamsSchema, WebhookEndpoints, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookRequestLike, WebhookSubscription, WebhookSubscriptionDeleteResponse, WebhookSubscriptionDeleteResponseSchema, WebhookSubscriptionEventType, WebhookSubscriptionEventTypeSchema, WebhookSubscriptionEventTypesResponse, WebhookSubscriptionEventTypesResponseSchema, WebhookSubscriptionListParams, WebhookSubscriptionListParamsSchema, WebhookSubscriptionListResponse, WebhookSubscriptionListResponseSchema, WebhookSubscriptionRotateSecretResponse, WebhookSubscriptionRotateSecretResponseSchema, WebhookSubscriptionSchema, WebhookSubscriptionSetParams, WebhookSubscriptionSetParamsSchema, WebhookSubscriptionUpdateParams, WebhookSubscriptionUpdateParamsSchema, WebhookSubscriptions, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersionSchema, WebhookVersions, Webhooks, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, beforeFileUploadModifier, constants_d_exports as constants, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, logger };