@composio/core 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseProvider-CVbQxTNa.d.cts → BaseProvider-BBnsv9kS.d.mts} +139 -92
- package/dist/CustomTool-DEB4BQPl.mjs +468 -0
- package/dist/{CustomTool-C-IUByoU.d.cts → CustomTool-DH18rVQu.d.mts} +2 -4
- package/dist/{FileModifierErrors-C7z16Dfi.mjs → FileModifierErrors-3fSwIWoa.mjs} +35 -36
- package/dist/{Telemetry-DQax33Gh.mjs → Telemetry-DhGI_J4G.mjs} +15 -15
- package/dist/{composio-pcA13w87.d.cts → composio-CHnEggnv.d.mts} +394 -349
- package/dist/{customTool.types-QtkAZQma.d.cts → customTool.types-DpIdOJjL.d.mts} +171 -192
- package/dist/{CustomTool-D5s-aADw.mjs → errors-D5f4pfvI.mjs} +70 -457
- package/dist/experimental/index.d.mts +2 -3
- package/dist/experimental/index.mjs +1 -3
- package/dist/{fileUtils.node-Dq7ebZPC.mjs → fileUtils.node-BiO1JQsJ.mjs} +26 -25
- package/dist/index.d.mts +1685 -2400
- package/dist/index.mjs +2238 -1912
- package/dist/jsonSchema-daqF3S3d.mjs +251 -0
- package/dist/models/Files.node.d.mts +1 -2
- package/dist/models/Files.node.mjs +3 -4
- package/dist/models/Files.workerd.d.mts +0 -1
- package/dist/platform/node.d.mts +1 -2
- package/dist/platform/workerd.d.mts +1 -2
- package/dist/{chunk-CWQeghP5.mjs → rolldown-runtime-w6R9maHv.mjs} +3 -5
- package/dist/{types-J2KCXP8R.d.mts → types-CaI5Z4PA.d.mts} +2 -3
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -4
- package/dist/utils/config-defaults/ConfigDefaults.workerd.mjs +3 -0
- package/dist/utils/json-schema.d.mts +2 -0
- package/dist/utils/json-schema.mjs +3 -0
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +3 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +44 -24
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +3 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
- package/package.json +39 -88
- package/dist/BaseProvider-BvHvJLXc.d.mts +0 -29378
- package/dist/CustomTool-CChQSp44.d.mts +0 -76
- package/dist/CustomTool-D3-NreIm.cjs +0 -1341
- package/dist/FileModifierErrors-BYJBHiay.cjs +0 -554
- package/dist/FileToolModifier.utils.neutral-DSBQs9-i.cjs +0 -96
- package/dist/Telemetry-BQ_pl5AK.cjs +0 -360
- package/dist/buffer-BjWptbNH.cjs +0 -63
- package/dist/chunk-CQwRTUmo.cjs +0 -53
- package/dist/composio-BlASKqjQ.d.mts +0 -5437
- package/dist/customTool.types-DLIORcYN.d.mts +0 -2475
- package/dist/experimental/index.cjs +0 -5
- package/dist/experimental/index.d.cts +0 -3
- package/dist/fileUtils.node-DtnSRMWa.cjs +0 -462
- package/dist/files.types-lo4zZd87.d.cts +0 -17
- package/dist/index.cjs +0 -8523
- package/dist/index.d.cts +0 -6065
- package/dist/models/Files.node.cjs +0 -55
- package/dist/models/Files.node.d.cts +0 -56
- package/dist/models/Files.workerd.cjs +0 -29
- package/dist/models/Files.workerd.d.cts +0 -13
- package/dist/platform/node.cjs +0 -55
- package/dist/platform/node.d.cts +0 -11
- package/dist/platform/workerd.cjs +0 -42
- package/dist/platform/workerd.d.cts +0 -12
- package/dist/types-DRG5qLxI.d.cts +0 -13
- package/dist/types-pDNm1lYs.d.cts +0 -69
- package/dist/utils/config-defaults/ConfigDefaults.node.cjs +0 -10
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +0 -7
- package/dist/utils/config-defaults/ConfigDefaults.workerd.cjs +0 -10
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +0 -7
- package/dist/utils/modifiers/FileToolModifier.node.cjs +0 -224
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +0 -22
- package/dist/utils/modifiers/FileToolModifier.workerd.cjs +0 -27
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +0 -20
- /package/dist/{FileToolModifier.utils.neutral-BpSceNK8.mjs → FileToolModifier.utils.neutral-B5rT711M.mjs} +0 -0
- /package/dist/{buffer-yOtEsT4J.mjs → buffer-PcbMMsgm.mjs} +0 -0
- /package/dist/{files.types-BXDWA_zS.d.mts → files.types-DeMC_mAW.d.mts} +0 -0
- /package/dist/{types-HpJQ8K9l.d.mts → types-DdoCRzLj.d.mts} +0 -0
|
@@ -1,16 +1,55 @@
|
|
|
1
|
-
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-
|
|
2
|
-
import {
|
|
1
|
+
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-BBnsv9kS.mjs";
|
|
2
|
+
import { $t as ConnectedAccountRetrieveResponse, D as Session, Jt as ConnectedAccountListResponse, Kt as ConnectedAccountListParams, Pt as ConnectionRequest, R as ToolRouterCreateSessionConfig, Zt as ConnectedAccountRefreshOptions, cn as CreateConnectedAccountLinkOptions, f as CustomToolkit, fn as CreateConnectedAccountOptions, o as CustomTool, xn as UpdateConnectedAccountParams, yn as UpdateConnectedAccountAclParams } from "./customTool.types-DpIdOJjL.mjs";
|
|
3
|
+
import ComposioClient, { Composio } from "@composio/client";
|
|
3
4
|
import z$1, { z } from "zod/v3";
|
|
5
|
+
import { OpenAI } from "openai";
|
|
6
|
+
import { Files } from "#files";
|
|
4
7
|
import { ConnectedAccountDeleteResponse, ConnectedAccountPatchResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
|
|
5
|
-
import ComposioClient, { Composio } from "@composio/client";
|
|
6
8
|
import { SessionExecuteParams } from "@composio/client/resources/tool-router/session/session.mjs";
|
|
7
9
|
import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
|
|
8
10
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
|
|
9
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
10
|
-
import { OpenAI } from "openai";
|
|
11
12
|
import { Stream } from "openai/streaming";
|
|
12
|
-
import { Files } from "#files";
|
|
13
13
|
|
|
14
|
+
//#region src/types/requestOptions.types.d.ts
|
|
15
|
+
/**
|
|
16
|
+
* Per-request transport options for cancelling an SDK call.
|
|
17
|
+
*
|
|
18
|
+
* For `tools.get` and `tools.execute`, pass `signal` directly in the
|
|
19
|
+
* options bag (3rd argument) alongside any modifiers or provider options.
|
|
20
|
+
* For other methods (e.g. `toolkits.get`, `authConfigs.list`), pass as a
|
|
21
|
+
* trailing argument. Forwarded to the underlying `@composio/client` request.
|
|
22
|
+
*
|
|
23
|
+
* If the underlying request is aborted via this signal, the SDK throws a
|
|
24
|
+
* {@link ComposioRequestCancelledError} so callers can `instanceof`-detect
|
|
25
|
+
* cancellation without unwrapping nested causes.
|
|
26
|
+
*
|
|
27
|
+
* @example Timeout after 5 seconds
|
|
28
|
+
* ```typescript
|
|
29
|
+
* await composio.tools.execute(
|
|
30
|
+
* 'HACKERNEWS_GET_FRONTPAGE',
|
|
31
|
+
* { userId: 'default', arguments: {} },
|
|
32
|
+
* { signal: AbortSignal.timeout(5_000) }
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @example Combine signal with modifiers
|
|
37
|
+
* ```typescript
|
|
38
|
+
* await composio.tools.execute('TOOL', body, {
|
|
39
|
+
* signal: AbortSignal.timeout(10_000),
|
|
40
|
+
* beforeExecute: ({ params }) => params,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
type ComposioRequestOptions = {
|
|
45
|
+
/**
|
|
46
|
+
* An `AbortSignal` used to cancel the in-flight HTTP request. When the
|
|
47
|
+
* signal aborts, the underlying fetch is aborted and the SDK throws a
|
|
48
|
+
* {@link ComposioRequestCancelledError} (subclass of {@link ComposioError}).
|
|
49
|
+
*/
|
|
50
|
+
signal?: AbortSignal;
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
14
53
|
//#region src/models/Tools.d.ts
|
|
15
54
|
type ToolRouterSessionExecuteOptions = {
|
|
16
55
|
experimental?: SessionExecuteParams.Experimental;
|
|
@@ -152,7 +191,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
152
191
|
* });
|
|
153
192
|
* ```
|
|
154
193
|
*/
|
|
155
|
-
getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
194
|
+
getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions, requestOptions?: ComposioRequestOptions): Promise<ToolList>;
|
|
156
195
|
/**
|
|
157
196
|
* Fetches tools exposed by a tool router session.
|
|
158
197
|
* This includes helper/meta tools plus any tools preloaded into the session.
|
|
@@ -169,7 +208,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
169
208
|
* console.log(sessionTools);
|
|
170
209
|
* ```
|
|
171
210
|
*/
|
|
172
|
-
getRawToolRouterSessionTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
|
|
211
|
+
getRawToolRouterSessionTools(sessionId: string, options?: SchemaModifierOptions, requestOptions?: ComposioRequestOptions): Promise<ToolList>;
|
|
173
212
|
/**
|
|
174
213
|
* Retrieves a specific tool by its slug from the Composio API.
|
|
175
214
|
*
|
|
@@ -220,14 +259,14 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
220
259
|
* });
|
|
221
260
|
* ```
|
|
222
261
|
*/
|
|
223
|
-
getRawComposioToolBySlug(slug: string, options?: ToolRetrievalOptions): Promise<Tool>;
|
|
262
|
+
getRawComposioToolBySlug(slug: string, options?: ToolRetrievalOptions, requestOptions?: ComposioRequestOptions): Promise<Tool>;
|
|
224
263
|
/**
|
|
225
264
|
* Get a list of tools from Composio based on filters.
|
|
226
265
|
* This method fetches the tools from the Composio API and wraps them using the provider.
|
|
227
266
|
*
|
|
228
267
|
* @param {string} userId - The user id to get the tools for
|
|
229
268
|
* @param {ToolListParams} filters - The filters to apply when fetching tools
|
|
230
|
-
* @param {ProviderOptions<TProvider>} [options] -
|
|
269
|
+
* @param {ProviderOptions<TProvider> & ComposioRequestOptions} [options] - Provider options, modifiers, and/or AbortSignal
|
|
231
270
|
* @returns {Promise<ReturnType<T['wrapTools']>>} The wrapped tools collection
|
|
232
271
|
*
|
|
233
272
|
* @example
|
|
@@ -238,32 +277,20 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
238
277
|
* limit: 10
|
|
239
278
|
* });
|
|
240
279
|
*
|
|
241
|
-
* //
|
|
242
|
-
* const
|
|
243
|
-
* search: '
|
|
244
|
-
*
|
|
245
|
-
* });
|
|
246
|
-
*
|
|
247
|
-
* // Get a specific tool by slug
|
|
248
|
-
* const hackerNewsUserTool = await composio.tools.get('default', 'HACKERNEWS_GET_USER');
|
|
249
|
-
*
|
|
250
|
-
* // Get a tool with schema modifications
|
|
251
|
-
* const tool = await composio.tools.get('default', 'GITHUB_GET_REPOS', {
|
|
252
|
-
* modifySchema: (toolSlug, toolkitSlug, schema) => {
|
|
253
|
-
* // Customize the tool schema
|
|
254
|
-
* return {...schema, description: 'Custom description'};
|
|
255
|
-
* }
|
|
256
|
-
* });
|
|
280
|
+
* // Timeout a slow search after 5s
|
|
281
|
+
* const emailTools = await composio.tools.get('default', {
|
|
282
|
+
* search: 'send email',
|
|
283
|
+
* }, { signal: AbortSignal.timeout(5_000) });
|
|
257
284
|
* ```
|
|
258
285
|
*/
|
|
259
|
-
get<T extends TProvider>(userId: string, filters: ToolListParams, options?: ProviderOptions<TProvider>): Promise<ReturnType<T['wrapTools']>>;
|
|
286
|
+
get<T extends TProvider>(userId: string, filters: ToolListParams, options?: ProviderOptions<TProvider> & ComposioRequestOptions): Promise<ReturnType<T['wrapTools']>>;
|
|
260
287
|
/**
|
|
261
288
|
* Get a specific tool by its slug.
|
|
262
289
|
* This method fetches the tool from the Composio API and wraps it using the provider.
|
|
263
290
|
*
|
|
264
291
|
* @param {string} userId - The user id to get the tool for
|
|
265
292
|
* @param {string} slug - The slug of the tool to fetch
|
|
266
|
-
* @param {ProviderOptions<TProvider>} [options] - Optional provider options including modifiers
|
|
293
|
+
* @param {ProviderOptions<TProvider> & ComposioRequestOptions} [options] - Optional provider options including modifiers and signal
|
|
267
294
|
* @returns {Promise<ReturnType<T['wrapTools']>>} The wrapped tool
|
|
268
295
|
*
|
|
269
296
|
* @example
|
|
@@ -278,9 +305,14 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
278
305
|
* return {...schema, description: 'Custom description'};
|
|
279
306
|
* }
|
|
280
307
|
* });
|
|
308
|
+
*
|
|
309
|
+
* // Timeout after 5s
|
|
310
|
+
* const tools = await composio.tools.get('user_1', { search: 'email' }, {
|
|
311
|
+
* signal: AbortSignal.timeout(5_000)
|
|
312
|
+
* });
|
|
281
313
|
* ```
|
|
282
314
|
*/
|
|
283
|
-
get<T extends TProvider>(userId: string, slug: string, options?: ProviderOptions<TProvider>): Promise<ReturnType<T['wrapTools']>>;
|
|
315
|
+
get<T extends TProvider>(userId: string, slug: string, options?: ProviderOptions<TProvider> & ComposioRequestOptions): Promise<ReturnType<T['wrapTools']>>;
|
|
284
316
|
/**
|
|
285
317
|
* @internal
|
|
286
318
|
* Creates a global execute tool function.
|
|
@@ -354,8 +386,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
354
386
|
* @param {string} [body.userId] - The user ID to execute the tool for
|
|
355
387
|
* @param {string} [body.connectedAccountId] - The connected account ID to use for authenticated tools
|
|
356
388
|
* @param {Record<string, unknown>} [body.arguments] - The arguments to pass to the tool
|
|
357
|
-
* @param {ExecuteToolModifiers} [
|
|
358
|
-
* @returns {Promise<ToolExecuteResponse>}
|
|
389
|
+
* @param {ExecuteToolModifiers & ComposioRequestOptions} [options] - Optional modifiers and request options
|
|
390
|
+
* @returns {Promise<ToolExecuteResponse>} The response from the tool execution
|
|
359
391
|
*
|
|
360
392
|
* @throws {ComposioConnectedAccountNotFoundError} If the connected account is not found
|
|
361
393
|
* @throws {ComposioToolNotFoundError} If the tool with the given slug is not found
|
|
@@ -407,8 +439,17 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
407
439
|
* }
|
|
408
440
|
* });
|
|
409
441
|
* ```
|
|
442
|
+
*
|
|
443
|
+
* @example Execute with timeout
|
|
444
|
+
* ```typescript
|
|
445
|
+
* const result = await composio.tools.execute('HACKERNEWS_GET_FRONTPAGE', {
|
|
446
|
+
* userId: 'default',
|
|
447
|
+
* arguments: {},
|
|
448
|
+
* dangerouslySkipVersionCheck: true,
|
|
449
|
+
* }, { signal: AbortSignal.timeout(5_000) });
|
|
450
|
+
* ```
|
|
410
451
|
*/
|
|
411
|
-
execute(slug: string, body: ToolExecuteParams,
|
|
452
|
+
execute(slug: string, body: ToolExecuteParams, options?: ExecuteToolModifiers & ComposioRequestOptions): Promise<ToolExecuteResponse>;
|
|
412
453
|
/**
|
|
413
454
|
* Executes a tool based on a tool router session.
|
|
414
455
|
*
|
|
@@ -420,7 +461,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
420
461
|
* @param {Tool} tool - Optional tool schema used to resolve toolkit metadata for modifiers
|
|
421
462
|
* @returns {Promise<ToolExecuteResponse>} The response from the tool execution
|
|
422
463
|
*/
|
|
423
|
-
executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse>;
|
|
464
|
+
executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions, requestOptions?: ComposioRequestOptions): Promise<ToolExecuteResponse>;
|
|
424
465
|
/**
|
|
425
466
|
* Fetches the list of all available tools in the Composio SDK.
|
|
426
467
|
*
|
|
@@ -435,7 +476,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
435
476
|
* console.log(toolsEnum.items);
|
|
436
477
|
* ```
|
|
437
478
|
*/
|
|
438
|
-
getToolsEnum(): Promise<ToolRetrieveEnumResponse>;
|
|
479
|
+
getToolsEnum(requestOptions?: ComposioRequestOptions): Promise<ToolRetrieveEnumResponse>;
|
|
439
480
|
/**
|
|
440
481
|
* Fetches the input parameters for a given tool.
|
|
441
482
|
*
|
|
@@ -454,7 +495,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
454
495
|
* console.log(inputParams.schema);
|
|
455
496
|
* ```
|
|
456
497
|
*/
|
|
457
|
-
getInput(slug: string, body: ToolGetInputParams): Promise<ToolGetInputResponse>;
|
|
498
|
+
getInput(slug: string, body: ToolGetInputParams, requestOptions?: ComposioRequestOptions): Promise<ToolGetInputResponse>;
|
|
458
499
|
/**
|
|
459
500
|
* Proxies a custom request to a toolkit/integration.
|
|
460
501
|
*
|
|
@@ -478,7 +519,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
478
519
|
* console.log(response.data);
|
|
479
520
|
* ```
|
|
480
521
|
*/
|
|
481
|
-
proxyExecute(body: ToolProxyParams): Promise<ToolProxyResponse>;
|
|
522
|
+
proxyExecute(body: ToolProxyParams, requestOptions?: ComposioRequestOptions): Promise<ToolProxyResponse>;
|
|
482
523
|
}
|
|
483
524
|
//#endregion
|
|
484
525
|
//#region src/types/toolkit.types.d.ts
|
|
@@ -494,14 +535,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
|
|
|
494
535
|
cursor: z.ZodOptional<z.ZodString>;
|
|
495
536
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
496
537
|
}, "strip", z.ZodTypeAny, {
|
|
497
|
-
limit?: number | undefined;
|
|
498
538
|
cursor?: string | undefined;
|
|
539
|
+
limit?: number | undefined;
|
|
499
540
|
category?: string | undefined;
|
|
500
541
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
501
542
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
502
543
|
}, {
|
|
503
|
-
limit?: number | undefined;
|
|
504
544
|
cursor?: string | undefined;
|
|
545
|
+
limit?: number | undefined;
|
|
505
546
|
category?: string | undefined;
|
|
506
547
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
507
548
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -532,10 +573,11 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
532
573
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
533
574
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
534
575
|
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
|
|
576
|
+
createdAt?: string | undefined;
|
|
577
|
+
updatedAt?: string | undefined;
|
|
536
578
|
logo?: string | undefined;
|
|
579
|
+
description?: string | undefined;
|
|
537
580
|
availableVersions?: string[] | undefined;
|
|
538
|
-
createdAt?: string | undefined;
|
|
539
581
|
categories?: {
|
|
540
582
|
name: string;
|
|
541
583
|
slug: string;
|
|
@@ -543,12 +585,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
543
585
|
appUrl?: string | undefined;
|
|
544
586
|
toolsCount?: number | undefined;
|
|
545
587
|
triggersCount?: number | undefined;
|
|
546
|
-
updatedAt?: string | undefined;
|
|
547
588
|
}, {
|
|
548
|
-
|
|
589
|
+
createdAt?: string | undefined;
|
|
590
|
+
updatedAt?: string | undefined;
|
|
549
591
|
logo?: string | undefined;
|
|
592
|
+
description?: string | undefined;
|
|
550
593
|
availableVersions?: string[] | undefined;
|
|
551
|
-
createdAt?: string | undefined;
|
|
552
594
|
categories?: {
|
|
553
595
|
name: string;
|
|
554
596
|
slug: string;
|
|
@@ -556,7 +598,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
|
|
|
556
598
|
appUrl?: string | undefined;
|
|
557
599
|
toolsCount?: number | undefined;
|
|
558
600
|
triggersCount?: number | undefined;
|
|
559
|
-
updatedAt?: string | undefined;
|
|
560
601
|
}>;
|
|
561
602
|
declare const ToolKitItemSchema: z.ZodObject<{
|
|
562
603
|
name: z.ZodString;
|
|
@@ -581,10 +622,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
581
622
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
582
623
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
583
624
|
}, "strip", z.ZodTypeAny, {
|
|
584
|
-
|
|
625
|
+
createdAt?: string | undefined;
|
|
626
|
+
updatedAt?: string | undefined;
|
|
585
627
|
logo?: string | undefined;
|
|
628
|
+
description?: string | undefined;
|
|
586
629
|
availableVersions?: string[] | undefined;
|
|
587
|
-
createdAt?: string | undefined;
|
|
588
630
|
categories?: {
|
|
589
631
|
name: string;
|
|
590
632
|
slug: string;
|
|
@@ -592,12 +634,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
592
634
|
appUrl?: string | undefined;
|
|
593
635
|
toolsCount?: number | undefined;
|
|
594
636
|
triggersCount?: number | undefined;
|
|
595
|
-
updatedAt?: string | undefined;
|
|
596
637
|
}, {
|
|
597
|
-
|
|
638
|
+
createdAt?: string | undefined;
|
|
639
|
+
updatedAt?: string | undefined;
|
|
598
640
|
logo?: string | undefined;
|
|
641
|
+
description?: string | undefined;
|
|
599
642
|
availableVersions?: string[] | undefined;
|
|
600
|
-
createdAt?: string | undefined;
|
|
601
643
|
categories?: {
|
|
602
644
|
name: string;
|
|
603
645
|
slug: string;
|
|
@@ -605,7 +647,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
605
647
|
appUrl?: string | undefined;
|
|
606
648
|
toolsCount?: number | undefined;
|
|
607
649
|
triggersCount?: number | undefined;
|
|
608
|
-
updatedAt?: string | undefined;
|
|
609
650
|
}>;
|
|
610
651
|
isLocalToolkit: z.ZodBoolean;
|
|
611
652
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -615,10 +656,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
615
656
|
name: string;
|
|
616
657
|
slug: string;
|
|
617
658
|
meta: {
|
|
618
|
-
|
|
659
|
+
createdAt?: string | undefined;
|
|
660
|
+
updatedAt?: string | undefined;
|
|
619
661
|
logo?: string | undefined;
|
|
662
|
+
description?: string | undefined;
|
|
620
663
|
availableVersions?: string[] | undefined;
|
|
621
|
-
createdAt?: string | undefined;
|
|
622
664
|
categories?: {
|
|
623
665
|
name: string;
|
|
624
666
|
slug: string;
|
|
@@ -626,7 +668,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
626
668
|
appUrl?: string | undefined;
|
|
627
669
|
toolsCount?: number | undefined;
|
|
628
670
|
triggersCount?: number | undefined;
|
|
629
|
-
updatedAt?: string | undefined;
|
|
630
671
|
};
|
|
631
672
|
isLocalToolkit: boolean;
|
|
632
673
|
authSchemes?: string[] | undefined;
|
|
@@ -636,10 +677,11 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
636
677
|
name: string;
|
|
637
678
|
slug: string;
|
|
638
679
|
meta: {
|
|
639
|
-
|
|
680
|
+
createdAt?: string | undefined;
|
|
681
|
+
updatedAt?: string | undefined;
|
|
640
682
|
logo?: string | undefined;
|
|
683
|
+
description?: string | undefined;
|
|
641
684
|
availableVersions?: string[] | undefined;
|
|
642
|
-
createdAt?: string | undefined;
|
|
643
685
|
categories?: {
|
|
644
686
|
name: string;
|
|
645
687
|
slug: string;
|
|
@@ -647,7 +689,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
|
|
|
647
689
|
appUrl?: string | undefined;
|
|
648
690
|
toolsCount?: number | undefined;
|
|
649
691
|
triggersCount?: number | undefined;
|
|
650
|
-
updatedAt?: string | undefined;
|
|
651
692
|
};
|
|
652
693
|
isLocalToolkit: boolean;
|
|
653
694
|
authSchemes?: string[] | undefined;
|
|
@@ -677,10 +718,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
677
718
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
678
719
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
679
720
|
}, "strip", z.ZodTypeAny, {
|
|
680
|
-
|
|
721
|
+
createdAt?: string | undefined;
|
|
722
|
+
updatedAt?: string | undefined;
|
|
681
723
|
logo?: string | undefined;
|
|
724
|
+
description?: string | undefined;
|
|
682
725
|
availableVersions?: string[] | undefined;
|
|
683
|
-
createdAt?: string | undefined;
|
|
684
726
|
categories?: {
|
|
685
727
|
name: string;
|
|
686
728
|
slug: string;
|
|
@@ -688,12 +730,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
688
730
|
appUrl?: string | undefined;
|
|
689
731
|
toolsCount?: number | undefined;
|
|
690
732
|
triggersCount?: number | undefined;
|
|
691
|
-
updatedAt?: string | undefined;
|
|
692
733
|
}, {
|
|
693
|
-
|
|
734
|
+
createdAt?: string | undefined;
|
|
735
|
+
updatedAt?: string | undefined;
|
|
694
736
|
logo?: string | undefined;
|
|
737
|
+
description?: string | undefined;
|
|
695
738
|
availableVersions?: string[] | undefined;
|
|
696
|
-
createdAt?: string | undefined;
|
|
697
739
|
categories?: {
|
|
698
740
|
name: string;
|
|
699
741
|
slug: string;
|
|
@@ -701,7 +743,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
701
743
|
appUrl?: string | undefined;
|
|
702
744
|
toolsCount?: number | undefined;
|
|
703
745
|
triggersCount?: number | undefined;
|
|
704
|
-
updatedAt?: string | undefined;
|
|
705
746
|
}>;
|
|
706
747
|
isLocalToolkit: z.ZodBoolean;
|
|
707
748
|
authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -711,10 +752,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
711
752
|
name: string;
|
|
712
753
|
slug: string;
|
|
713
754
|
meta: {
|
|
714
|
-
|
|
755
|
+
createdAt?: string | undefined;
|
|
756
|
+
updatedAt?: string | undefined;
|
|
715
757
|
logo?: string | undefined;
|
|
758
|
+
description?: string | undefined;
|
|
716
759
|
availableVersions?: string[] | undefined;
|
|
717
|
-
createdAt?: string | undefined;
|
|
718
760
|
categories?: {
|
|
719
761
|
name: string;
|
|
720
762
|
slug: string;
|
|
@@ -722,7 +764,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
722
764
|
appUrl?: string | undefined;
|
|
723
765
|
toolsCount?: number | undefined;
|
|
724
766
|
triggersCount?: number | undefined;
|
|
725
|
-
updatedAt?: string | undefined;
|
|
726
767
|
};
|
|
727
768
|
isLocalToolkit: boolean;
|
|
728
769
|
authSchemes?: string[] | undefined;
|
|
@@ -732,10 +773,11 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
732
773
|
name: string;
|
|
733
774
|
slug: string;
|
|
734
775
|
meta: {
|
|
735
|
-
|
|
776
|
+
createdAt?: string | undefined;
|
|
777
|
+
updatedAt?: string | undefined;
|
|
736
778
|
logo?: string | undefined;
|
|
779
|
+
description?: string | undefined;
|
|
737
780
|
availableVersions?: string[] | undefined;
|
|
738
|
-
createdAt?: string | undefined;
|
|
739
781
|
categories?: {
|
|
740
782
|
name: string;
|
|
741
783
|
slug: string;
|
|
@@ -743,7 +785,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
743
785
|
appUrl?: string | undefined;
|
|
744
786
|
toolsCount?: number | undefined;
|
|
745
787
|
triggersCount?: number | undefined;
|
|
746
|
-
updatedAt?: string | undefined;
|
|
747
788
|
};
|
|
748
789
|
isLocalToolkit: boolean;
|
|
749
790
|
authSchemes?: string[] | undefined;
|
|
@@ -764,16 +805,16 @@ declare const ToolkitAuthFieldSchema: z.ZodObject<{
|
|
|
764
805
|
type: z.ZodString;
|
|
765
806
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
766
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
+
type: string;
|
|
767
809
|
name: string;
|
|
768
810
|
description: string;
|
|
769
|
-
type: string;
|
|
770
811
|
required: boolean;
|
|
771
812
|
displayName: string;
|
|
772
813
|
default?: string | null | undefined;
|
|
773
814
|
}, {
|
|
815
|
+
type: string;
|
|
774
816
|
name: string;
|
|
775
817
|
description: string;
|
|
776
|
-
type: string;
|
|
777
818
|
required: boolean;
|
|
778
819
|
displayName: string;
|
|
779
820
|
default?: string | null | undefined;
|
|
@@ -791,16 +832,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
791
832
|
type: z.ZodString;
|
|
792
833
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
834
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
+
type: string;
|
|
794
836
|
name: string;
|
|
795
837
|
description: string;
|
|
796
|
-
type: string;
|
|
797
838
|
required: boolean;
|
|
798
839
|
displayName: string;
|
|
799
840
|
default?: string | null | undefined;
|
|
800
841
|
}, {
|
|
842
|
+
type: string;
|
|
801
843
|
name: string;
|
|
802
844
|
description: string;
|
|
803
|
-
type: string;
|
|
804
845
|
required: boolean;
|
|
805
846
|
displayName: string;
|
|
806
847
|
default?: string | null | undefined;
|
|
@@ -813,50 +854,50 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
813
854
|
type: z.ZodString;
|
|
814
855
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
815
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
+
type: string;
|
|
816
858
|
name: string;
|
|
817
859
|
description: string;
|
|
818
|
-
type: string;
|
|
819
860
|
required: boolean;
|
|
820
861
|
displayName: string;
|
|
821
862
|
default?: string | null | undefined;
|
|
822
863
|
}, {
|
|
864
|
+
type: string;
|
|
823
865
|
name: string;
|
|
824
866
|
description: string;
|
|
825
|
-
type: string;
|
|
826
867
|
required: boolean;
|
|
827
868
|
displayName: string;
|
|
828
869
|
default?: string | null | undefined;
|
|
829
870
|
}>, "many">;
|
|
830
871
|
}, "strip", z.ZodTypeAny, {
|
|
831
872
|
required: {
|
|
873
|
+
type: string;
|
|
832
874
|
name: string;
|
|
833
875
|
description: string;
|
|
834
|
-
type: string;
|
|
835
876
|
required: boolean;
|
|
836
877
|
displayName: string;
|
|
837
878
|
default?: string | null | undefined;
|
|
838
879
|
}[];
|
|
839
880
|
optional: {
|
|
881
|
+
type: string;
|
|
840
882
|
name: string;
|
|
841
883
|
description: string;
|
|
842
|
-
type: string;
|
|
843
884
|
required: boolean;
|
|
844
885
|
displayName: string;
|
|
845
886
|
default?: string | null | undefined;
|
|
846
887
|
}[];
|
|
847
888
|
}, {
|
|
848
889
|
required: {
|
|
890
|
+
type: string;
|
|
849
891
|
name: string;
|
|
850
892
|
description: string;
|
|
851
|
-
type: string;
|
|
852
893
|
required: boolean;
|
|
853
894
|
displayName: string;
|
|
854
895
|
default?: string | null | undefined;
|
|
855
896
|
}[];
|
|
856
897
|
optional: {
|
|
898
|
+
type: string;
|
|
857
899
|
name: string;
|
|
858
900
|
description: string;
|
|
859
|
-
type: string;
|
|
860
901
|
required: boolean;
|
|
861
902
|
displayName: string;
|
|
862
903
|
default?: string | null | undefined;
|
|
@@ -871,16 +912,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
871
912
|
type: z.ZodString;
|
|
872
913
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
914
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
type: string;
|
|
874
916
|
name: string;
|
|
875
917
|
description: string;
|
|
876
|
-
type: string;
|
|
877
918
|
required: boolean;
|
|
878
919
|
displayName: string;
|
|
879
920
|
default?: string | null | undefined;
|
|
880
921
|
}, {
|
|
922
|
+
type: string;
|
|
881
923
|
name: string;
|
|
882
924
|
description: string;
|
|
883
|
-
type: string;
|
|
884
925
|
required: boolean;
|
|
885
926
|
displayName: string;
|
|
886
927
|
default?: string | null | undefined;
|
|
@@ -893,50 +934,50 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
893
934
|
type: z.ZodString;
|
|
894
935
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
895
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
+
type: string;
|
|
896
938
|
name: string;
|
|
897
939
|
description: string;
|
|
898
|
-
type: string;
|
|
899
940
|
required: boolean;
|
|
900
941
|
displayName: string;
|
|
901
942
|
default?: string | null | undefined;
|
|
902
943
|
}, {
|
|
944
|
+
type: string;
|
|
903
945
|
name: string;
|
|
904
946
|
description: string;
|
|
905
|
-
type: string;
|
|
906
947
|
required: boolean;
|
|
907
948
|
displayName: string;
|
|
908
949
|
default?: string | null | undefined;
|
|
909
950
|
}>, "many">;
|
|
910
951
|
}, "strip", z.ZodTypeAny, {
|
|
911
952
|
required: {
|
|
953
|
+
type: string;
|
|
912
954
|
name: string;
|
|
913
955
|
description: string;
|
|
914
|
-
type: string;
|
|
915
956
|
required: boolean;
|
|
916
957
|
displayName: string;
|
|
917
958
|
default?: string | null | undefined;
|
|
918
959
|
}[];
|
|
919
960
|
optional: {
|
|
961
|
+
type: string;
|
|
920
962
|
name: string;
|
|
921
963
|
description: string;
|
|
922
|
-
type: string;
|
|
923
964
|
required: boolean;
|
|
924
965
|
displayName: string;
|
|
925
966
|
default?: string | null | undefined;
|
|
926
967
|
}[];
|
|
927
968
|
}, {
|
|
928
969
|
required: {
|
|
970
|
+
type: string;
|
|
929
971
|
name: string;
|
|
930
972
|
description: string;
|
|
931
|
-
type: string;
|
|
932
973
|
required: boolean;
|
|
933
974
|
displayName: string;
|
|
934
975
|
default?: string | null | undefined;
|
|
935
976
|
}[];
|
|
936
977
|
optional: {
|
|
978
|
+
type: string;
|
|
937
979
|
name: string;
|
|
938
980
|
description: string;
|
|
939
|
-
type: string;
|
|
940
981
|
required: boolean;
|
|
941
982
|
displayName: string;
|
|
942
983
|
default?: string | null | undefined;
|
|
@@ -945,17 +986,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
945
986
|
}, "strip", z.ZodTypeAny, {
|
|
946
987
|
authConfigCreation: {
|
|
947
988
|
required: {
|
|
989
|
+
type: string;
|
|
948
990
|
name: string;
|
|
949
991
|
description: string;
|
|
950
|
-
type: string;
|
|
951
992
|
required: boolean;
|
|
952
993
|
displayName: string;
|
|
953
994
|
default?: string | null | undefined;
|
|
954
995
|
}[];
|
|
955
996
|
optional: {
|
|
997
|
+
type: string;
|
|
956
998
|
name: string;
|
|
957
999
|
description: string;
|
|
958
|
-
type: string;
|
|
959
1000
|
required: boolean;
|
|
960
1001
|
displayName: string;
|
|
961
1002
|
default?: string | null | undefined;
|
|
@@ -963,17 +1004,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
963
1004
|
};
|
|
964
1005
|
connectedAccountInitiation: {
|
|
965
1006
|
required: {
|
|
1007
|
+
type: string;
|
|
966
1008
|
name: string;
|
|
967
1009
|
description: string;
|
|
968
|
-
type: string;
|
|
969
1010
|
required: boolean;
|
|
970
1011
|
displayName: string;
|
|
971
1012
|
default?: string | null | undefined;
|
|
972
1013
|
}[];
|
|
973
1014
|
optional: {
|
|
1015
|
+
type: string;
|
|
974
1016
|
name: string;
|
|
975
1017
|
description: string;
|
|
976
|
-
type: string;
|
|
977
1018
|
required: boolean;
|
|
978
1019
|
displayName: string;
|
|
979
1020
|
default?: string | null | undefined;
|
|
@@ -982,17 +1023,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
982
1023
|
}, {
|
|
983
1024
|
authConfigCreation: {
|
|
984
1025
|
required: {
|
|
1026
|
+
type: string;
|
|
985
1027
|
name: string;
|
|
986
1028
|
description: string;
|
|
987
|
-
type: string;
|
|
988
1029
|
required: boolean;
|
|
989
1030
|
displayName: string;
|
|
990
1031
|
default?: string | null | undefined;
|
|
991
1032
|
}[];
|
|
992
1033
|
optional: {
|
|
1034
|
+
type: string;
|
|
993
1035
|
name: string;
|
|
994
1036
|
description: string;
|
|
995
|
-
type: string;
|
|
996
1037
|
required: boolean;
|
|
997
1038
|
displayName: string;
|
|
998
1039
|
default?: string | null | undefined;
|
|
@@ -1000,17 +1041,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1000
1041
|
};
|
|
1001
1042
|
connectedAccountInitiation: {
|
|
1002
1043
|
required: {
|
|
1044
|
+
type: string;
|
|
1003
1045
|
name: string;
|
|
1004
1046
|
description: string;
|
|
1005
|
-
type: string;
|
|
1006
1047
|
required: boolean;
|
|
1007
1048
|
displayName: string;
|
|
1008
1049
|
default?: string | null | undefined;
|
|
1009
1050
|
}[];
|
|
1010
1051
|
optional: {
|
|
1052
|
+
type: string;
|
|
1011
1053
|
name: string;
|
|
1012
1054
|
description: string;
|
|
1013
|
-
type: string;
|
|
1014
1055
|
required: boolean;
|
|
1015
1056
|
displayName: string;
|
|
1016
1057
|
default?: string | null | undefined;
|
|
@@ -1030,17 +1071,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1030
1071
|
fields: {
|
|
1031
1072
|
authConfigCreation: {
|
|
1032
1073
|
required: {
|
|
1074
|
+
type: string;
|
|
1033
1075
|
name: string;
|
|
1034
1076
|
description: string;
|
|
1035
|
-
type: string;
|
|
1036
1077
|
required: boolean;
|
|
1037
1078
|
displayName: string;
|
|
1038
1079
|
default?: string | null | undefined;
|
|
1039
1080
|
}[];
|
|
1040
1081
|
optional: {
|
|
1082
|
+
type: string;
|
|
1041
1083
|
name: string;
|
|
1042
1084
|
description: string;
|
|
1043
|
-
type: string;
|
|
1044
1085
|
required: boolean;
|
|
1045
1086
|
displayName: string;
|
|
1046
1087
|
default?: string | null | undefined;
|
|
@@ -1048,17 +1089,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1048
1089
|
};
|
|
1049
1090
|
connectedAccountInitiation: {
|
|
1050
1091
|
required: {
|
|
1092
|
+
type: string;
|
|
1051
1093
|
name: string;
|
|
1052
1094
|
description: string;
|
|
1053
|
-
type: string;
|
|
1054
1095
|
required: boolean;
|
|
1055
1096
|
displayName: string;
|
|
1056
1097
|
default?: string | null | undefined;
|
|
1057
1098
|
}[];
|
|
1058
1099
|
optional: {
|
|
1100
|
+
type: string;
|
|
1059
1101
|
name: string;
|
|
1060
1102
|
description: string;
|
|
1061
|
-
type: string;
|
|
1062
1103
|
required: boolean;
|
|
1063
1104
|
displayName: string;
|
|
1064
1105
|
default?: string | null | undefined;
|
|
@@ -1074,17 +1115,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1074
1115
|
fields: {
|
|
1075
1116
|
authConfigCreation: {
|
|
1076
1117
|
required: {
|
|
1118
|
+
type: string;
|
|
1077
1119
|
name: string;
|
|
1078
1120
|
description: string;
|
|
1079
|
-
type: string;
|
|
1080
1121
|
required: boolean;
|
|
1081
1122
|
displayName: string;
|
|
1082
1123
|
default?: string | null | undefined;
|
|
1083
1124
|
}[];
|
|
1084
1125
|
optional: {
|
|
1126
|
+
type: string;
|
|
1085
1127
|
name: string;
|
|
1086
1128
|
description: string;
|
|
1087
|
-
type: string;
|
|
1088
1129
|
required: boolean;
|
|
1089
1130
|
displayName: string;
|
|
1090
1131
|
default?: string | null | undefined;
|
|
@@ -1092,17 +1133,17 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
|
|
|
1092
1133
|
};
|
|
1093
1134
|
connectedAccountInitiation: {
|
|
1094
1135
|
required: {
|
|
1136
|
+
type: string;
|
|
1095
1137
|
name: string;
|
|
1096
1138
|
description: string;
|
|
1097
|
-
type: string;
|
|
1098
1139
|
required: boolean;
|
|
1099
1140
|
displayName: string;
|
|
1100
1141
|
default?: string | null | undefined;
|
|
1101
1142
|
}[];
|
|
1102
1143
|
optional: {
|
|
1144
|
+
type: string;
|
|
1103
1145
|
name: string;
|
|
1104
1146
|
description: string;
|
|
1105
|
-
type: string;
|
|
1106
1147
|
required: boolean;
|
|
1107
1148
|
displayName: string;
|
|
1108
1149
|
default?: string | null | undefined;
|
|
@@ -1136,10 +1177,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1136
1177
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1137
1178
|
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1138
1179
|
}, "strip", z.ZodTypeAny, {
|
|
1139
|
-
|
|
1180
|
+
createdAt?: string | undefined;
|
|
1181
|
+
updatedAt?: string | undefined;
|
|
1140
1182
|
logo?: string | undefined;
|
|
1183
|
+
description?: string | undefined;
|
|
1141
1184
|
availableVersions?: string[] | undefined;
|
|
1142
|
-
createdAt?: string | undefined;
|
|
1143
1185
|
categories?: {
|
|
1144
1186
|
name: string;
|
|
1145
1187
|
slug: string;
|
|
@@ -1147,12 +1189,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1147
1189
|
appUrl?: string | undefined;
|
|
1148
1190
|
toolsCount?: number | undefined;
|
|
1149
1191
|
triggersCount?: number | undefined;
|
|
1150
|
-
updatedAt?: string | undefined;
|
|
1151
1192
|
}, {
|
|
1152
|
-
|
|
1193
|
+
createdAt?: string | undefined;
|
|
1194
|
+
updatedAt?: string | undefined;
|
|
1153
1195
|
logo?: string | undefined;
|
|
1196
|
+
description?: string | undefined;
|
|
1154
1197
|
availableVersions?: string[] | undefined;
|
|
1155
|
-
createdAt?: string | undefined;
|
|
1156
1198
|
categories?: {
|
|
1157
1199
|
name: string;
|
|
1158
1200
|
slug: string;
|
|
@@ -1160,7 +1202,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1160
1202
|
appUrl?: string | undefined;
|
|
1161
1203
|
toolsCount?: number | undefined;
|
|
1162
1204
|
triggersCount?: number | undefined;
|
|
1163
|
-
updatedAt?: string | undefined;
|
|
1164
1205
|
}>;
|
|
1165
1206
|
isLocalToolkit: z.ZodBoolean;
|
|
1166
1207
|
composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1177,16 +1218,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1177
1218
|
type: z.ZodString;
|
|
1178
1219
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1179
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
type: string;
|
|
1180
1222
|
name: string;
|
|
1181
1223
|
description: string;
|
|
1182
|
-
type: string;
|
|
1183
1224
|
required: boolean;
|
|
1184
1225
|
displayName: string;
|
|
1185
1226
|
default?: string | null | undefined;
|
|
1186
1227
|
}, {
|
|
1228
|
+
type: string;
|
|
1187
1229
|
name: string;
|
|
1188
1230
|
description: string;
|
|
1189
|
-
type: string;
|
|
1190
1231
|
required: boolean;
|
|
1191
1232
|
displayName: string;
|
|
1192
1233
|
default?: string | null | undefined;
|
|
@@ -1199,50 +1240,50 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1199
1240
|
type: z.ZodString;
|
|
1200
1241
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1201
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
type: string;
|
|
1202
1244
|
name: string;
|
|
1203
1245
|
description: string;
|
|
1204
|
-
type: string;
|
|
1205
1246
|
required: boolean;
|
|
1206
1247
|
displayName: string;
|
|
1207
1248
|
default?: string | null | undefined;
|
|
1208
1249
|
}, {
|
|
1250
|
+
type: string;
|
|
1209
1251
|
name: string;
|
|
1210
1252
|
description: string;
|
|
1211
|
-
type: string;
|
|
1212
1253
|
required: boolean;
|
|
1213
1254
|
displayName: string;
|
|
1214
1255
|
default?: string | null | undefined;
|
|
1215
1256
|
}>, "many">;
|
|
1216
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1217
1258
|
required: {
|
|
1259
|
+
type: string;
|
|
1218
1260
|
name: string;
|
|
1219
1261
|
description: string;
|
|
1220
|
-
type: string;
|
|
1221
1262
|
required: boolean;
|
|
1222
1263
|
displayName: string;
|
|
1223
1264
|
default?: string | null | undefined;
|
|
1224
1265
|
}[];
|
|
1225
1266
|
optional: {
|
|
1267
|
+
type: string;
|
|
1226
1268
|
name: string;
|
|
1227
1269
|
description: string;
|
|
1228
|
-
type: string;
|
|
1229
1270
|
required: boolean;
|
|
1230
1271
|
displayName: string;
|
|
1231
1272
|
default?: string | null | undefined;
|
|
1232
1273
|
}[];
|
|
1233
1274
|
}, {
|
|
1234
1275
|
required: {
|
|
1276
|
+
type: string;
|
|
1235
1277
|
name: string;
|
|
1236
1278
|
description: string;
|
|
1237
|
-
type: string;
|
|
1238
1279
|
required: boolean;
|
|
1239
1280
|
displayName: string;
|
|
1240
1281
|
default?: string | null | undefined;
|
|
1241
1282
|
}[];
|
|
1242
1283
|
optional: {
|
|
1284
|
+
type: string;
|
|
1243
1285
|
name: string;
|
|
1244
1286
|
description: string;
|
|
1245
|
-
type: string;
|
|
1246
1287
|
required: boolean;
|
|
1247
1288
|
displayName: string;
|
|
1248
1289
|
default?: string | null | undefined;
|
|
@@ -1257,16 +1298,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1257
1298
|
type: z.ZodString;
|
|
1258
1299
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1259
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
type: string;
|
|
1260
1302
|
name: string;
|
|
1261
1303
|
description: string;
|
|
1262
|
-
type: string;
|
|
1263
1304
|
required: boolean;
|
|
1264
1305
|
displayName: string;
|
|
1265
1306
|
default?: string | null | undefined;
|
|
1266
1307
|
}, {
|
|
1308
|
+
type: string;
|
|
1267
1309
|
name: string;
|
|
1268
1310
|
description: string;
|
|
1269
|
-
type: string;
|
|
1270
1311
|
required: boolean;
|
|
1271
1312
|
displayName: string;
|
|
1272
1313
|
default?: string | null | undefined;
|
|
@@ -1279,50 +1320,50 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1279
1320
|
type: z.ZodString;
|
|
1280
1321
|
default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
1322
|
}, "strip", z.ZodTypeAny, {
|
|
1323
|
+
type: string;
|
|
1282
1324
|
name: string;
|
|
1283
1325
|
description: string;
|
|
1284
|
-
type: string;
|
|
1285
1326
|
required: boolean;
|
|
1286
1327
|
displayName: string;
|
|
1287
1328
|
default?: string | null | undefined;
|
|
1288
1329
|
}, {
|
|
1330
|
+
type: string;
|
|
1289
1331
|
name: string;
|
|
1290
1332
|
description: string;
|
|
1291
|
-
type: string;
|
|
1292
1333
|
required: boolean;
|
|
1293
1334
|
displayName: string;
|
|
1294
1335
|
default?: string | null | undefined;
|
|
1295
1336
|
}>, "many">;
|
|
1296
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1297
1338
|
required: {
|
|
1339
|
+
type: string;
|
|
1298
1340
|
name: string;
|
|
1299
1341
|
description: string;
|
|
1300
|
-
type: string;
|
|
1301
1342
|
required: boolean;
|
|
1302
1343
|
displayName: string;
|
|
1303
1344
|
default?: string | null | undefined;
|
|
1304
1345
|
}[];
|
|
1305
1346
|
optional: {
|
|
1347
|
+
type: string;
|
|
1306
1348
|
name: string;
|
|
1307
1349
|
description: string;
|
|
1308
|
-
type: string;
|
|
1309
1350
|
required: boolean;
|
|
1310
1351
|
displayName: string;
|
|
1311
1352
|
default?: string | null | undefined;
|
|
1312
1353
|
}[];
|
|
1313
1354
|
}, {
|
|
1314
1355
|
required: {
|
|
1356
|
+
type: string;
|
|
1315
1357
|
name: string;
|
|
1316
1358
|
description: string;
|
|
1317
|
-
type: string;
|
|
1318
1359
|
required: boolean;
|
|
1319
1360
|
displayName: string;
|
|
1320
1361
|
default?: string | null | undefined;
|
|
1321
1362
|
}[];
|
|
1322
1363
|
optional: {
|
|
1364
|
+
type: string;
|
|
1323
1365
|
name: string;
|
|
1324
1366
|
description: string;
|
|
1325
|
-
type: string;
|
|
1326
1367
|
required: boolean;
|
|
1327
1368
|
displayName: string;
|
|
1328
1369
|
default?: string | null | undefined;
|
|
@@ -1331,17 +1372,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1331
1372
|
}, "strip", z.ZodTypeAny, {
|
|
1332
1373
|
authConfigCreation: {
|
|
1333
1374
|
required: {
|
|
1375
|
+
type: string;
|
|
1334
1376
|
name: string;
|
|
1335
1377
|
description: string;
|
|
1336
|
-
type: string;
|
|
1337
1378
|
required: boolean;
|
|
1338
1379
|
displayName: string;
|
|
1339
1380
|
default?: string | null | undefined;
|
|
1340
1381
|
}[];
|
|
1341
1382
|
optional: {
|
|
1383
|
+
type: string;
|
|
1342
1384
|
name: string;
|
|
1343
1385
|
description: string;
|
|
1344
|
-
type: string;
|
|
1345
1386
|
required: boolean;
|
|
1346
1387
|
displayName: string;
|
|
1347
1388
|
default?: string | null | undefined;
|
|
@@ -1349,17 +1390,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1349
1390
|
};
|
|
1350
1391
|
connectedAccountInitiation: {
|
|
1351
1392
|
required: {
|
|
1393
|
+
type: string;
|
|
1352
1394
|
name: string;
|
|
1353
1395
|
description: string;
|
|
1354
|
-
type: string;
|
|
1355
1396
|
required: boolean;
|
|
1356
1397
|
displayName: string;
|
|
1357
1398
|
default?: string | null | undefined;
|
|
1358
1399
|
}[];
|
|
1359
1400
|
optional: {
|
|
1401
|
+
type: string;
|
|
1360
1402
|
name: string;
|
|
1361
1403
|
description: string;
|
|
1362
|
-
type: string;
|
|
1363
1404
|
required: boolean;
|
|
1364
1405
|
displayName: string;
|
|
1365
1406
|
default?: string | null | undefined;
|
|
@@ -1368,17 +1409,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1368
1409
|
}, {
|
|
1369
1410
|
authConfigCreation: {
|
|
1370
1411
|
required: {
|
|
1412
|
+
type: string;
|
|
1371
1413
|
name: string;
|
|
1372
1414
|
description: string;
|
|
1373
|
-
type: string;
|
|
1374
1415
|
required: boolean;
|
|
1375
1416
|
displayName: string;
|
|
1376
1417
|
default?: string | null | undefined;
|
|
1377
1418
|
}[];
|
|
1378
1419
|
optional: {
|
|
1420
|
+
type: string;
|
|
1379
1421
|
name: string;
|
|
1380
1422
|
description: string;
|
|
1381
|
-
type: string;
|
|
1382
1423
|
required: boolean;
|
|
1383
1424
|
displayName: string;
|
|
1384
1425
|
default?: string | null | undefined;
|
|
@@ -1386,17 +1427,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1386
1427
|
};
|
|
1387
1428
|
connectedAccountInitiation: {
|
|
1388
1429
|
required: {
|
|
1430
|
+
type: string;
|
|
1389
1431
|
name: string;
|
|
1390
1432
|
description: string;
|
|
1391
|
-
type: string;
|
|
1392
1433
|
required: boolean;
|
|
1393
1434
|
displayName: string;
|
|
1394
1435
|
default?: string | null | undefined;
|
|
1395
1436
|
}[];
|
|
1396
1437
|
optional: {
|
|
1438
|
+
type: string;
|
|
1397
1439
|
name: string;
|
|
1398
1440
|
description: string;
|
|
1399
|
-
type: string;
|
|
1400
1441
|
required: boolean;
|
|
1401
1442
|
displayName: string;
|
|
1402
1443
|
default?: string | null | undefined;
|
|
@@ -1416,17 +1457,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1416
1457
|
fields: {
|
|
1417
1458
|
authConfigCreation: {
|
|
1418
1459
|
required: {
|
|
1460
|
+
type: string;
|
|
1419
1461
|
name: string;
|
|
1420
1462
|
description: string;
|
|
1421
|
-
type: string;
|
|
1422
1463
|
required: boolean;
|
|
1423
1464
|
displayName: string;
|
|
1424
1465
|
default?: string | null | undefined;
|
|
1425
1466
|
}[];
|
|
1426
1467
|
optional: {
|
|
1468
|
+
type: string;
|
|
1427
1469
|
name: string;
|
|
1428
1470
|
description: string;
|
|
1429
|
-
type: string;
|
|
1430
1471
|
required: boolean;
|
|
1431
1472
|
displayName: string;
|
|
1432
1473
|
default?: string | null | undefined;
|
|
@@ -1434,17 +1475,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1434
1475
|
};
|
|
1435
1476
|
connectedAccountInitiation: {
|
|
1436
1477
|
required: {
|
|
1478
|
+
type: string;
|
|
1437
1479
|
name: string;
|
|
1438
1480
|
description: string;
|
|
1439
|
-
type: string;
|
|
1440
1481
|
required: boolean;
|
|
1441
1482
|
displayName: string;
|
|
1442
1483
|
default?: string | null | undefined;
|
|
1443
1484
|
}[];
|
|
1444
1485
|
optional: {
|
|
1486
|
+
type: string;
|
|
1445
1487
|
name: string;
|
|
1446
1488
|
description: string;
|
|
1447
|
-
type: string;
|
|
1448
1489
|
required: boolean;
|
|
1449
1490
|
displayName: string;
|
|
1450
1491
|
default?: string | null | undefined;
|
|
@@ -1460,17 +1501,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1460
1501
|
fields: {
|
|
1461
1502
|
authConfigCreation: {
|
|
1462
1503
|
required: {
|
|
1504
|
+
type: string;
|
|
1463
1505
|
name: string;
|
|
1464
1506
|
description: string;
|
|
1465
|
-
type: string;
|
|
1466
1507
|
required: boolean;
|
|
1467
1508
|
displayName: string;
|
|
1468
1509
|
default?: string | null | undefined;
|
|
1469
1510
|
}[];
|
|
1470
1511
|
optional: {
|
|
1512
|
+
type: string;
|
|
1471
1513
|
name: string;
|
|
1472
1514
|
description: string;
|
|
1473
|
-
type: string;
|
|
1474
1515
|
required: boolean;
|
|
1475
1516
|
displayName: string;
|
|
1476
1517
|
default?: string | null | undefined;
|
|
@@ -1478,17 +1519,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1478
1519
|
};
|
|
1479
1520
|
connectedAccountInitiation: {
|
|
1480
1521
|
required: {
|
|
1522
|
+
type: string;
|
|
1481
1523
|
name: string;
|
|
1482
1524
|
description: string;
|
|
1483
|
-
type: string;
|
|
1484
1525
|
required: boolean;
|
|
1485
1526
|
displayName: string;
|
|
1486
1527
|
default?: string | null | undefined;
|
|
1487
1528
|
}[];
|
|
1488
1529
|
optional: {
|
|
1530
|
+
type: string;
|
|
1489
1531
|
name: string;
|
|
1490
1532
|
description: string;
|
|
1491
|
-
type: string;
|
|
1492
1533
|
required: boolean;
|
|
1493
1534
|
displayName: string;
|
|
1494
1535
|
default?: string | null | undefined;
|
|
@@ -1506,10 +1547,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1506
1547
|
name: string;
|
|
1507
1548
|
slug: string;
|
|
1508
1549
|
meta: {
|
|
1509
|
-
|
|
1550
|
+
createdAt?: string | undefined;
|
|
1551
|
+
updatedAt?: string | undefined;
|
|
1510
1552
|
logo?: string | undefined;
|
|
1553
|
+
description?: string | undefined;
|
|
1511
1554
|
availableVersions?: string[] | undefined;
|
|
1512
|
-
createdAt?: string | undefined;
|
|
1513
1555
|
categories?: {
|
|
1514
1556
|
name: string;
|
|
1515
1557
|
slug: string;
|
|
@@ -1517,7 +1559,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1517
1559
|
appUrl?: string | undefined;
|
|
1518
1560
|
toolsCount?: number | undefined;
|
|
1519
1561
|
triggersCount?: number | undefined;
|
|
1520
|
-
updatedAt?: string | undefined;
|
|
1521
1562
|
};
|
|
1522
1563
|
isLocalToolkit: boolean;
|
|
1523
1564
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -1528,17 +1569,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1528
1569
|
fields: {
|
|
1529
1570
|
authConfigCreation: {
|
|
1530
1571
|
required: {
|
|
1572
|
+
type: string;
|
|
1531
1573
|
name: string;
|
|
1532
1574
|
description: string;
|
|
1533
|
-
type: string;
|
|
1534
1575
|
required: boolean;
|
|
1535
1576
|
displayName: string;
|
|
1536
1577
|
default?: string | null | undefined;
|
|
1537
1578
|
}[];
|
|
1538
1579
|
optional: {
|
|
1580
|
+
type: string;
|
|
1539
1581
|
name: string;
|
|
1540
1582
|
description: string;
|
|
1541
|
-
type: string;
|
|
1542
1583
|
required: boolean;
|
|
1543
1584
|
displayName: string;
|
|
1544
1585
|
default?: string | null | undefined;
|
|
@@ -1546,17 +1587,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1546
1587
|
};
|
|
1547
1588
|
connectedAccountInitiation: {
|
|
1548
1589
|
required: {
|
|
1590
|
+
type: string;
|
|
1549
1591
|
name: string;
|
|
1550
1592
|
description: string;
|
|
1551
|
-
type: string;
|
|
1552
1593
|
required: boolean;
|
|
1553
1594
|
displayName: string;
|
|
1554
1595
|
default?: string | null | undefined;
|
|
1555
1596
|
}[];
|
|
1556
1597
|
optional: {
|
|
1598
|
+
type: string;
|
|
1557
1599
|
name: string;
|
|
1558
1600
|
description: string;
|
|
1559
|
-
type: string;
|
|
1560
1601
|
required: boolean;
|
|
1561
1602
|
displayName: string;
|
|
1562
1603
|
default?: string | null | undefined;
|
|
@@ -1573,10 +1614,11 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1573
1614
|
name: string;
|
|
1574
1615
|
slug: string;
|
|
1575
1616
|
meta: {
|
|
1576
|
-
|
|
1617
|
+
createdAt?: string | undefined;
|
|
1618
|
+
updatedAt?: string | undefined;
|
|
1577
1619
|
logo?: string | undefined;
|
|
1620
|
+
description?: string | undefined;
|
|
1578
1621
|
availableVersions?: string[] | undefined;
|
|
1579
|
-
createdAt?: string | undefined;
|
|
1580
1622
|
categories?: {
|
|
1581
1623
|
name: string;
|
|
1582
1624
|
slug: string;
|
|
@@ -1584,7 +1626,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1584
1626
|
appUrl?: string | undefined;
|
|
1585
1627
|
toolsCount?: number | undefined;
|
|
1586
1628
|
triggersCount?: number | undefined;
|
|
1587
|
-
updatedAt?: string | undefined;
|
|
1588
1629
|
};
|
|
1589
1630
|
isLocalToolkit: boolean;
|
|
1590
1631
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
@@ -1595,17 +1636,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1595
1636
|
fields: {
|
|
1596
1637
|
authConfigCreation: {
|
|
1597
1638
|
required: {
|
|
1639
|
+
type: string;
|
|
1598
1640
|
name: string;
|
|
1599
1641
|
description: string;
|
|
1600
|
-
type: string;
|
|
1601
1642
|
required: boolean;
|
|
1602
1643
|
displayName: string;
|
|
1603
1644
|
default?: string | null | undefined;
|
|
1604
1645
|
}[];
|
|
1605
1646
|
optional: {
|
|
1647
|
+
type: string;
|
|
1606
1648
|
name: string;
|
|
1607
1649
|
description: string;
|
|
1608
|
-
type: string;
|
|
1609
1650
|
required: boolean;
|
|
1610
1651
|
displayName: string;
|
|
1611
1652
|
default?: string | null | undefined;
|
|
@@ -1613,17 +1654,17 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
|
|
|
1613
1654
|
};
|
|
1614
1655
|
connectedAccountInitiation: {
|
|
1615
1656
|
required: {
|
|
1657
|
+
type: string;
|
|
1616
1658
|
name: string;
|
|
1617
1659
|
description: string;
|
|
1618
|
-
type: string;
|
|
1619
1660
|
required: boolean;
|
|
1620
1661
|
displayName: string;
|
|
1621
1662
|
default?: string | null | undefined;
|
|
1622
1663
|
}[];
|
|
1623
1664
|
optional: {
|
|
1665
|
+
type: string;
|
|
1624
1666
|
name: string;
|
|
1625
1667
|
description: string;
|
|
1626
|
-
type: string;
|
|
1627
1668
|
required: boolean;
|
|
1628
1669
|
displayName: string;
|
|
1629
1670
|
default?: string | null | undefined;
|
|
@@ -1692,16 +1733,16 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1692
1733
|
} & {
|
|
1693
1734
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1694
1735
|
}, "strip", z.ZodTypeAny, {
|
|
1736
|
+
type: string;
|
|
1695
1737
|
name: string;
|
|
1696
1738
|
description: string;
|
|
1697
|
-
type: string;
|
|
1698
1739
|
displayName: string;
|
|
1699
1740
|
required?: boolean | undefined;
|
|
1700
1741
|
default?: string | null | undefined;
|
|
1701
1742
|
}, {
|
|
1743
|
+
type: string;
|
|
1702
1744
|
name: string;
|
|
1703
1745
|
description: string;
|
|
1704
|
-
type: string;
|
|
1705
1746
|
displayName: string;
|
|
1706
1747
|
required?: boolean | undefined;
|
|
1707
1748
|
default?: string | null | undefined;
|
|
@@ -1947,13 +1988,13 @@ declare const CreateAuthConfigResponseSchema: z.ZodObject<{
|
|
|
1947
1988
|
toolkit: z.ZodString;
|
|
1948
1989
|
}, "strip", z.ZodTypeAny, {
|
|
1949
1990
|
toolkit: string;
|
|
1950
|
-
authScheme: string;
|
|
1951
1991
|
id: string;
|
|
1992
|
+
authScheme: string;
|
|
1952
1993
|
isComposioManaged: boolean;
|
|
1953
1994
|
}, {
|
|
1954
1995
|
toolkit: string;
|
|
1955
|
-
authScheme: string;
|
|
1956
1996
|
id: string;
|
|
1997
|
+
authScheme: string;
|
|
1957
1998
|
isComposioManaged: boolean;
|
|
1958
1999
|
}>;
|
|
1959
2000
|
type CreateAuthConfigResponse = z.infer<typeof CreateAuthConfigResponseSchema>;
|
|
@@ -1972,7 +2013,6 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
1972
2013
|
}>;
|
|
1973
2014
|
noOfConnections: z.ZodNumber;
|
|
1974
2015
|
status: z.ZodEnum<["ENABLED", "DISABLED"]>;
|
|
1975
|
-
uuid: z.ZodString;
|
|
1976
2016
|
authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
1977
2017
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1978
2018
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -1996,15 +2036,15 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
1996
2036
|
toolsAvailableForExecution?: string[] | undefined;
|
|
1997
2037
|
}>>;
|
|
1998
2038
|
}, "strip", z.ZodTypeAny, {
|
|
1999
|
-
name: string;
|
|
2000
|
-
status: "ENABLED" | "DISABLED";
|
|
2001
2039
|
toolkit: {
|
|
2002
2040
|
slug: string;
|
|
2003
2041
|
logo: string;
|
|
2004
2042
|
};
|
|
2043
|
+
status: "ENABLED" | "DISABLED";
|
|
2044
|
+
name: string;
|
|
2005
2045
|
id: string;
|
|
2006
2046
|
noOfConnections: number;
|
|
2007
|
-
|
|
2047
|
+
createdAt?: string | undefined;
|
|
2008
2048
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2009
2049
|
isComposioManaged?: boolean | undefined;
|
|
2010
2050
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2016,18 +2056,17 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2016
2056
|
expectedInputFields?: unknown[] | undefined;
|
|
2017
2057
|
restrictToFollowingTools?: string[] | undefined;
|
|
2018
2058
|
createdBy?: string | undefined;
|
|
2019
|
-
createdAt?: string | undefined;
|
|
2020
2059
|
lastUpdatedAt?: string | undefined;
|
|
2021
2060
|
}, {
|
|
2022
|
-
name: string;
|
|
2023
|
-
status: "ENABLED" | "DISABLED";
|
|
2024
2061
|
toolkit: {
|
|
2025
2062
|
slug: string;
|
|
2026
2063
|
logo: string;
|
|
2027
2064
|
};
|
|
2065
|
+
status: "ENABLED" | "DISABLED";
|
|
2066
|
+
name: string;
|
|
2028
2067
|
id: string;
|
|
2029
2068
|
noOfConnections: number;
|
|
2030
|
-
|
|
2069
|
+
createdAt?: string | undefined;
|
|
2031
2070
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2032
2071
|
isComposioManaged?: boolean | undefined;
|
|
2033
2072
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2039,7 +2078,6 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
2039
2078
|
expectedInputFields?: unknown[] | undefined;
|
|
2040
2079
|
restrictToFollowingTools?: string[] | undefined;
|
|
2041
2080
|
createdBy?: string | undefined;
|
|
2042
|
-
createdAt?: string | undefined;
|
|
2043
2081
|
lastUpdatedAt?: string | undefined;
|
|
2044
2082
|
}>;
|
|
2045
2083
|
type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
|
|
@@ -2047,17 +2085,23 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
|
|
|
2047
2085
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2048
2086
|
isComposioManaged: z.ZodOptional<z.ZodBoolean>;
|
|
2049
2087
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2088
|
+
search: z.ZodOptional<z.ZodString>;
|
|
2089
|
+
showDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
2050
2090
|
toolkit: z.ZodOptional<z.ZodString>;
|
|
2051
2091
|
}, "strip", z.ZodTypeAny, {
|
|
2052
2092
|
toolkit?: string | undefined;
|
|
2093
|
+
cursor?: string | undefined;
|
|
2053
2094
|
limit?: number | undefined;
|
|
2095
|
+
search?: string | undefined;
|
|
2054
2096
|
isComposioManaged?: boolean | undefined;
|
|
2055
|
-
|
|
2097
|
+
showDisabled?: boolean | undefined;
|
|
2056
2098
|
}, {
|
|
2057
2099
|
toolkit?: string | undefined;
|
|
2100
|
+
cursor?: string | undefined;
|
|
2058
2101
|
limit?: number | undefined;
|
|
2102
|
+
search?: string | undefined;
|
|
2059
2103
|
isComposioManaged?: boolean | undefined;
|
|
2060
|
-
|
|
2104
|
+
showDisabled?: boolean | undefined;
|
|
2061
2105
|
}>;
|
|
2062
2106
|
type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
|
|
2063
2107
|
declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
@@ -2076,7 +2120,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2076
2120
|
}>;
|
|
2077
2121
|
noOfConnections: z.ZodNumber;
|
|
2078
2122
|
status: z.ZodEnum<["ENABLED", "DISABLED"]>;
|
|
2079
|
-
uuid: z.ZodString;
|
|
2080
2123
|
authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
2081
2124
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2082
2125
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -2100,15 +2143,15 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2100
2143
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2101
2144
|
}>>;
|
|
2102
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2103
|
-
name: string;
|
|
2104
|
-
status: "ENABLED" | "DISABLED";
|
|
2105
2146
|
toolkit: {
|
|
2106
2147
|
slug: string;
|
|
2107
2148
|
logo: string;
|
|
2108
2149
|
};
|
|
2150
|
+
status: "ENABLED" | "DISABLED";
|
|
2151
|
+
name: string;
|
|
2109
2152
|
id: string;
|
|
2110
2153
|
noOfConnections: number;
|
|
2111
|
-
|
|
2154
|
+
createdAt?: string | undefined;
|
|
2112
2155
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2113
2156
|
isComposioManaged?: boolean | undefined;
|
|
2114
2157
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2120,18 +2163,17 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2120
2163
|
expectedInputFields?: unknown[] | undefined;
|
|
2121
2164
|
restrictToFollowingTools?: string[] | undefined;
|
|
2122
2165
|
createdBy?: string | undefined;
|
|
2123
|
-
createdAt?: string | undefined;
|
|
2124
2166
|
lastUpdatedAt?: string | undefined;
|
|
2125
2167
|
}, {
|
|
2126
|
-
name: string;
|
|
2127
|
-
status: "ENABLED" | "DISABLED";
|
|
2128
2168
|
toolkit: {
|
|
2129
2169
|
slug: string;
|
|
2130
2170
|
logo: string;
|
|
2131
2171
|
};
|
|
2172
|
+
status: "ENABLED" | "DISABLED";
|
|
2173
|
+
name: string;
|
|
2132
2174
|
id: string;
|
|
2133
2175
|
noOfConnections: number;
|
|
2134
|
-
|
|
2176
|
+
createdAt?: string | undefined;
|
|
2135
2177
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2136
2178
|
isComposioManaged?: boolean | undefined;
|
|
2137
2179
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2143,22 +2185,21 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2143
2185
|
expectedInputFields?: unknown[] | undefined;
|
|
2144
2186
|
restrictToFollowingTools?: string[] | undefined;
|
|
2145
2187
|
createdBy?: string | undefined;
|
|
2146
|
-
createdAt?: string | undefined;
|
|
2147
2188
|
lastUpdatedAt?: string | undefined;
|
|
2148
2189
|
}>, "many">;
|
|
2149
2190
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2150
2191
|
totalPages: z.ZodNumber;
|
|
2151
2192
|
}, "strip", z.ZodTypeAny, {
|
|
2152
2193
|
items: {
|
|
2153
|
-
name: string;
|
|
2154
|
-
status: "ENABLED" | "DISABLED";
|
|
2155
2194
|
toolkit: {
|
|
2156
2195
|
slug: string;
|
|
2157
2196
|
logo: string;
|
|
2158
2197
|
};
|
|
2198
|
+
status: "ENABLED" | "DISABLED";
|
|
2199
|
+
name: string;
|
|
2159
2200
|
id: string;
|
|
2160
2201
|
noOfConnections: number;
|
|
2161
|
-
|
|
2202
|
+
createdAt?: string | undefined;
|
|
2162
2203
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2163
2204
|
isComposioManaged?: boolean | undefined;
|
|
2164
2205
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2170,22 +2211,21 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2170
2211
|
expectedInputFields?: unknown[] | undefined;
|
|
2171
2212
|
restrictToFollowingTools?: string[] | undefined;
|
|
2172
2213
|
createdBy?: string | undefined;
|
|
2173
|
-
createdAt?: string | undefined;
|
|
2174
2214
|
lastUpdatedAt?: string | undefined;
|
|
2175
2215
|
}[];
|
|
2176
2216
|
nextCursor: string | null;
|
|
2177
2217
|
totalPages: number;
|
|
2178
2218
|
}, {
|
|
2179
2219
|
items: {
|
|
2180
|
-
name: string;
|
|
2181
|
-
status: "ENABLED" | "DISABLED";
|
|
2182
2220
|
toolkit: {
|
|
2183
2221
|
slug: string;
|
|
2184
2222
|
logo: string;
|
|
2185
2223
|
};
|
|
2224
|
+
status: "ENABLED" | "DISABLED";
|
|
2225
|
+
name: string;
|
|
2186
2226
|
id: string;
|
|
2187
2227
|
noOfConnections: number;
|
|
2188
|
-
|
|
2228
|
+
createdAt?: string | undefined;
|
|
2189
2229
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2190
2230
|
isComposioManaged?: boolean | undefined;
|
|
2191
2231
|
credentials?: Record<string, unknown> | undefined;
|
|
@@ -2197,7 +2237,6 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
2197
2237
|
expectedInputFields?: unknown[] | undefined;
|
|
2198
2238
|
restrictToFollowingTools?: string[] | undefined;
|
|
2199
2239
|
createdBy?: string | undefined;
|
|
2200
|
-
createdAt?: string | undefined;
|
|
2201
2240
|
lastUpdatedAt?: string | undefined;
|
|
2202
2241
|
}[];
|
|
2203
2242
|
nextCursor: string | null;
|
|
@@ -2418,7 +2457,7 @@ declare class Toolkits {
|
|
|
2418
2457
|
*
|
|
2419
2458
|
* @private
|
|
2420
2459
|
*/
|
|
2421
|
-
protected getToolkitBySlug(slug: string): Promise<ToolkitRetrieveResponse>;
|
|
2460
|
+
protected getToolkitBySlug(slug: string, requestOptions?: ComposioRequestOptions): Promise<ToolkitRetrieveResponse>;
|
|
2422
2461
|
/**
|
|
2423
2462
|
* Retrieves a specific toolkit by its slug identifier.
|
|
2424
2463
|
*
|
|
@@ -2434,7 +2473,7 @@ declare class Toolkits {
|
|
|
2434
2473
|
* console.log(githubToolkit.authConfigDetails); // Authentication configuration details
|
|
2435
2474
|
* ```
|
|
2436
2475
|
*/
|
|
2437
|
-
get(slug: string): Promise<ToolkitRetrieveResponse>;
|
|
2476
|
+
get(slug: string, requestOptions?: ComposioRequestOptions): Promise<ToolkitRetrieveResponse>;
|
|
2438
2477
|
/**
|
|
2439
2478
|
* Retrieves a list of toolkits based on the provided query parameters.
|
|
2440
2479
|
*
|
|
@@ -2457,7 +2496,7 @@ declare class Toolkits {
|
|
|
2457
2496
|
* });
|
|
2458
2497
|
* ```
|
|
2459
2498
|
*/
|
|
2460
|
-
get(query?: ToolkitListParams): Promise<ToolKitListResponse>;
|
|
2499
|
+
get(query?: ToolkitListParams, requestOptions?: ComposioRequestOptions): Promise<ToolKitListResponse>;
|
|
2461
2500
|
private getAuthConfigFields;
|
|
2462
2501
|
/**
|
|
2463
2502
|
* Retrieves the fields required for creating an auth config for a toolkit.
|
|
@@ -2498,7 +2537,7 @@ declare class Toolkits {
|
|
|
2498
2537
|
* console.log(categories.items); // Array of category objects
|
|
2499
2538
|
* ```
|
|
2500
2539
|
*/
|
|
2501
|
-
listCategories(): Promise<ToolkitRetrieveCategoriesResponse>;
|
|
2540
|
+
listCategories(requestOptions?: ComposioRequestOptions): Promise<ToolkitRetrieveCategoriesResponse>;
|
|
2502
2541
|
/**
|
|
2503
2542
|
* Authorizes a user to use a toolkit.
|
|
2504
2543
|
* This method will create an auth config if one doesn't exist and initiate a connection request.
|
|
@@ -2512,7 +2551,7 @@ declare class Toolkits {
|
|
|
2512
2551
|
* ```
|
|
2513
2552
|
*
|
|
2514
2553
|
*/
|
|
2515
|
-
authorize(userId: string, toolkitSlug: string, authConfigId?: string): Promise<ConnectionRequest>;
|
|
2554
|
+
authorize(userId: string, toolkitSlug: string, authConfigId?: string, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
2516
2555
|
}
|
|
2517
2556
|
//#endregion
|
|
2518
2557
|
//#region src/types/triggers.types.d.ts
|
|
@@ -2531,19 +2570,19 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
|
|
|
2531
2570
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2532
2571
|
userId: z.ZodOptional<z.ZodString>;
|
|
2533
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2573
|
+
authConfigId?: string | undefined;
|
|
2574
|
+
userId?: string | undefined;
|
|
2534
2575
|
toolkits?: string[] | undefined;
|
|
2535
2576
|
connectedAccountId?: string | undefined;
|
|
2536
|
-
userId?: string | undefined;
|
|
2537
2577
|
triggerId?: string | undefined;
|
|
2538
|
-
authConfigId?: string | undefined;
|
|
2539
2578
|
triggerSlug?: string[] | undefined;
|
|
2540
2579
|
triggerData?: string | undefined;
|
|
2541
2580
|
}, {
|
|
2581
|
+
authConfigId?: string | undefined;
|
|
2582
|
+
userId?: string | undefined;
|
|
2542
2583
|
toolkits?: string[] | undefined;
|
|
2543
2584
|
connectedAccountId?: string | undefined;
|
|
2544
|
-
userId?: string | undefined;
|
|
2545
2585
|
triggerId?: string | undefined;
|
|
2546
|
-
authConfigId?: string | undefined;
|
|
2547
2586
|
triggerSlug?: string[] | undefined;
|
|
2548
2587
|
triggerData?: string | undefined;
|
|
2549
2588
|
}>;
|
|
@@ -2557,18 +2596,18 @@ declare const TriggerInstanceListActiveParamsSchema: z.ZodObject<{
|
|
|
2557
2596
|
triggerIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2558
2597
|
triggerNames: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2559
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2560
|
-
|
|
2599
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2561
2600
|
authConfigIds?: string[] | null | undefined;
|
|
2562
2601
|
cursor?: string | undefined;
|
|
2563
|
-
|
|
2602
|
+
limit?: number | undefined;
|
|
2564
2603
|
showDisabled?: boolean | null | undefined;
|
|
2565
2604
|
triggerIds?: string[] | null | undefined;
|
|
2566
2605
|
triggerNames?: string[] | null | undefined;
|
|
2567
2606
|
}, {
|
|
2568
|
-
|
|
2607
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2569
2608
|
authConfigIds?: string[] | null | undefined;
|
|
2570
2609
|
cursor?: string | undefined;
|
|
2571
|
-
|
|
2610
|
+
limit?: number | undefined;
|
|
2572
2611
|
showDisabled?: boolean | null | undefined;
|
|
2573
2612
|
triggerIds?: string[] | null | undefined;
|
|
2574
2613
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2585,9 +2624,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
2585
2624
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2586
2625
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2587
2626
|
}, "strip", z.ZodTypeAny, {
|
|
2588
|
-
connectedAccountId: string;
|
|
2589
2627
|
id: string;
|
|
2590
2628
|
updatedAt: string;
|
|
2629
|
+
connectedAccountId: string;
|
|
2591
2630
|
disabledAt: string | null;
|
|
2592
2631
|
state: Record<string, unknown>;
|
|
2593
2632
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2595,9 +2634,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
|
|
|
2595
2634
|
uuid?: string | undefined;
|
|
2596
2635
|
triggerData?: string | undefined;
|
|
2597
2636
|
}, {
|
|
2598
|
-
connectedAccountId: string;
|
|
2599
2637
|
id: string;
|
|
2600
2638
|
updatedAt: string;
|
|
2639
|
+
connectedAccountId: string;
|
|
2601
2640
|
disabledAt: string | null;
|
|
2602
2641
|
state: Record<string, unknown>;
|
|
2603
2642
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2617,9 +2656,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2617
2656
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
2618
2657
|
uuid: z.ZodOptional<z.ZodString>;
|
|
2619
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2620
|
-
connectedAccountId: string;
|
|
2621
2659
|
id: string;
|
|
2622
2660
|
updatedAt: string;
|
|
2661
|
+
connectedAccountId: string;
|
|
2623
2662
|
disabledAt: string | null;
|
|
2624
2663
|
state: Record<string, unknown>;
|
|
2625
2664
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2627,9 +2666,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2627
2666
|
uuid?: string | undefined;
|
|
2628
2667
|
triggerData?: string | undefined;
|
|
2629
2668
|
}, {
|
|
2630
|
-
connectedAccountId: string;
|
|
2631
2669
|
id: string;
|
|
2632
2670
|
updatedAt: string;
|
|
2671
|
+
connectedAccountId: string;
|
|
2633
2672
|
disabledAt: string | null;
|
|
2634
2673
|
state: Record<string, unknown>;
|
|
2635
2674
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2641,9 +2680,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2641
2680
|
totalPages: z.ZodNumber;
|
|
2642
2681
|
}, "strip", z.ZodTypeAny, {
|
|
2643
2682
|
items: {
|
|
2644
|
-
connectedAccountId: string;
|
|
2645
2683
|
id: string;
|
|
2646
2684
|
updatedAt: string;
|
|
2685
|
+
connectedAccountId: string;
|
|
2647
2686
|
disabledAt: string | null;
|
|
2648
2687
|
state: Record<string, unknown>;
|
|
2649
2688
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2655,9 +2694,9 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
|
|
|
2655
2694
|
totalPages: number;
|
|
2656
2695
|
}, {
|
|
2657
2696
|
items: {
|
|
2658
|
-
connectedAccountId: string;
|
|
2659
2697
|
id: string;
|
|
2660
2698
|
updatedAt: string;
|
|
2699
|
+
connectedAccountId: string;
|
|
2661
2700
|
disabledAt: string | null;
|
|
2662
2701
|
state: Record<string, unknown>;
|
|
2663
2702
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2692,9 +2731,9 @@ type TriggerInstanceUpsertResponse = z.infer<typeof TriggerInstanceUpsertRespons
|
|
|
2692
2731
|
declare const TriggerInstanceManageUpdateParamsSchema: z.ZodObject<{
|
|
2693
2732
|
status: z.ZodEnum<["enable", "disable"]>;
|
|
2694
2733
|
}, "strip", z.ZodTypeAny, {
|
|
2695
|
-
status: "
|
|
2734
|
+
status: "disable" | "enable";
|
|
2696
2735
|
}, {
|
|
2697
|
-
status: "
|
|
2736
|
+
status: "disable" | "enable";
|
|
2698
2737
|
}>;
|
|
2699
2738
|
type TriggerInstanceManageUpdateParams = z.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
|
|
2700
2739
|
declare const TriggerInstanceManageUpdateResponseSchema: z.ZodObject<{
|
|
@@ -2736,69 +2775,69 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2736
2775
|
userId: z.ZodString;
|
|
2737
2776
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2738
2777
|
}, "strip", z.ZodTypeAny, {
|
|
2778
|
+
authConfigId: string;
|
|
2739
2779
|
status: "ACTIVE" | "INACTIVE";
|
|
2740
2780
|
userId: string;
|
|
2741
|
-
id: string;
|
|
2742
2781
|
uuid: string;
|
|
2743
|
-
|
|
2782
|
+
id: string;
|
|
2744
2783
|
authConfigUUID: string;
|
|
2745
2784
|
}, {
|
|
2785
|
+
authConfigId: string;
|
|
2746
2786
|
status: "ACTIVE" | "INACTIVE";
|
|
2747
2787
|
userId: string;
|
|
2748
|
-
id: string;
|
|
2749
2788
|
uuid: string;
|
|
2750
|
-
|
|
2789
|
+
id: string;
|
|
2751
2790
|
authConfigUUID: string;
|
|
2752
2791
|
}>;
|
|
2753
2792
|
}, "strip", z.ZodTypeAny, {
|
|
2754
|
-
|
|
2793
|
+
uuid: string;
|
|
2755
2794
|
id: string;
|
|
2795
|
+
toolkitSlug: string;
|
|
2756
2796
|
connectedAccount: {
|
|
2797
|
+
authConfigId: string;
|
|
2757
2798
|
status: "ACTIVE" | "INACTIVE";
|
|
2758
2799
|
userId: string;
|
|
2759
|
-
id: string;
|
|
2760
2800
|
uuid: string;
|
|
2761
|
-
|
|
2801
|
+
id: string;
|
|
2762
2802
|
authConfigUUID: string;
|
|
2763
2803
|
};
|
|
2764
|
-
uuid: string;
|
|
2765
2804
|
triggerSlug: string;
|
|
2766
2805
|
triggerConfig: Record<string, unknown>;
|
|
2767
2806
|
triggerData?: string | undefined;
|
|
2768
2807
|
}, {
|
|
2769
|
-
|
|
2808
|
+
uuid: string;
|
|
2770
2809
|
id: string;
|
|
2810
|
+
toolkitSlug: string;
|
|
2771
2811
|
connectedAccount: {
|
|
2812
|
+
authConfigId: string;
|
|
2772
2813
|
status: "ACTIVE" | "INACTIVE";
|
|
2773
2814
|
userId: string;
|
|
2774
|
-
id: string;
|
|
2775
2815
|
uuid: string;
|
|
2776
|
-
|
|
2816
|
+
id: string;
|
|
2777
2817
|
authConfigUUID: string;
|
|
2778
2818
|
};
|
|
2779
|
-
uuid: string;
|
|
2780
2819
|
triggerSlug: string;
|
|
2781
2820
|
triggerConfig: Record<string, unknown>;
|
|
2782
2821
|
triggerData?: string | undefined;
|
|
2783
2822
|
}>;
|
|
2784
2823
|
}, "strip", z.ZodTypeAny, {
|
|
2785
|
-
toolkitSlug: string;
|
|
2786
2824
|
userId: string;
|
|
2787
|
-
id: string;
|
|
2788
2825
|
uuid: string;
|
|
2826
|
+
id: string;
|
|
2827
|
+
toolkitSlug: string;
|
|
2789
2828
|
triggerSlug: string;
|
|
2790
2829
|
metadata: {
|
|
2791
|
-
|
|
2830
|
+
uuid: string;
|
|
2792
2831
|
id: string;
|
|
2832
|
+
toolkitSlug: string;
|
|
2793
2833
|
connectedAccount: {
|
|
2834
|
+
authConfigId: string;
|
|
2794
2835
|
status: "ACTIVE" | "INACTIVE";
|
|
2795
2836
|
userId: string;
|
|
2796
|
-
id: string;
|
|
2797
2837
|
uuid: string;
|
|
2798
|
-
|
|
2838
|
+
id: string;
|
|
2799
2839
|
authConfigUUID: string;
|
|
2800
2840
|
};
|
|
2801
|
-
uuid: string;
|
|
2802
2841
|
triggerSlug: string;
|
|
2803
2842
|
triggerConfig: Record<string, unknown>;
|
|
2804
2843
|
triggerData?: string | undefined;
|
|
@@ -2806,23 +2845,23 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
2806
2845
|
payload?: Record<string, unknown> | undefined;
|
|
2807
2846
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2808
2847
|
}, {
|
|
2809
|
-
toolkitSlug: string;
|
|
2810
2848
|
userId: string;
|
|
2811
|
-
id: string;
|
|
2812
2849
|
uuid: string;
|
|
2850
|
+
id: string;
|
|
2851
|
+
toolkitSlug: string;
|
|
2813
2852
|
triggerSlug: string;
|
|
2814
2853
|
metadata: {
|
|
2815
|
-
|
|
2854
|
+
uuid: string;
|
|
2816
2855
|
id: string;
|
|
2856
|
+
toolkitSlug: string;
|
|
2817
2857
|
connectedAccount: {
|
|
2858
|
+
authConfigId: string;
|
|
2818
2859
|
status: "ACTIVE" | "INACTIVE";
|
|
2819
2860
|
userId: string;
|
|
2820
|
-
id: string;
|
|
2821
2861
|
uuid: string;
|
|
2822
|
-
|
|
2862
|
+
id: string;
|
|
2823
2863
|
authConfigUUID: string;
|
|
2824
2864
|
};
|
|
2825
|
-
uuid: string;
|
|
2826
2865
|
triggerSlug: string;
|
|
2827
2866
|
triggerConfig: Record<string, unknown>;
|
|
2828
2867
|
triggerData?: string | undefined;
|
|
@@ -2858,12 +2897,12 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
|
|
|
2858
2897
|
toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2859
2898
|
}, "strip", z.ZodTypeAny, {
|
|
2860
2899
|
toolkits?: string[] | null | undefined;
|
|
2861
|
-
limit?: number | null | undefined;
|
|
2862
2900
|
cursor?: string | undefined;
|
|
2901
|
+
limit?: number | null | undefined;
|
|
2863
2902
|
}, {
|
|
2864
2903
|
toolkits?: string[] | null | undefined;
|
|
2865
|
-
limit?: number | null | undefined;
|
|
2866
2904
|
cursor?: string | undefined;
|
|
2905
|
+
limit?: number | null | undefined;
|
|
2867
2906
|
}>;
|
|
2868
2907
|
type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
|
|
2869
2908
|
declare const TriggerTypeSchema: z.ZodObject<{
|
|
@@ -2888,29 +2927,29 @@ declare const TriggerTypeSchema: z.ZodObject<{
|
|
|
2888
2927
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2889
2928
|
version: z.ZodOptional<z.ZodString>;
|
|
2890
2929
|
}, "strip", z.ZodTypeAny, {
|
|
2891
|
-
name: string;
|
|
2892
|
-
description: string;
|
|
2893
|
-
slug: string;
|
|
2894
2930
|
toolkit: {
|
|
2895
2931
|
name: string;
|
|
2896
2932
|
slug: string;
|
|
2897
2933
|
logo: string;
|
|
2898
2934
|
};
|
|
2899
|
-
|
|
2935
|
+
name: string;
|
|
2900
2936
|
config: Record<string, unknown>;
|
|
2937
|
+
slug: string;
|
|
2938
|
+
description: string;
|
|
2939
|
+
payload: Record<string, unknown>;
|
|
2901
2940
|
version?: string | undefined;
|
|
2902
2941
|
instructions?: string | undefined;
|
|
2903
2942
|
}, {
|
|
2904
|
-
name: string;
|
|
2905
|
-
description: string;
|
|
2906
|
-
slug: string;
|
|
2907
2943
|
toolkit: {
|
|
2908
2944
|
name: string;
|
|
2909
2945
|
slug: string;
|
|
2910
2946
|
logo: string;
|
|
2911
2947
|
};
|
|
2912
|
-
|
|
2948
|
+
name: string;
|
|
2913
2949
|
config: Record<string, unknown>;
|
|
2950
|
+
slug: string;
|
|
2951
|
+
description: string;
|
|
2952
|
+
payload: Record<string, unknown>;
|
|
2914
2953
|
version?: string | undefined;
|
|
2915
2954
|
instructions?: string | undefined;
|
|
2916
2955
|
}>;
|
|
@@ -2938,29 +2977,29 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
2938
2977
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2939
2978
|
version: z.ZodOptional<z.ZodString>;
|
|
2940
2979
|
}, "strip", z.ZodTypeAny, {
|
|
2941
|
-
name: string;
|
|
2942
|
-
description: string;
|
|
2943
|
-
slug: string;
|
|
2944
2980
|
toolkit: {
|
|
2945
2981
|
name: string;
|
|
2946
2982
|
slug: string;
|
|
2947
2983
|
logo: string;
|
|
2948
2984
|
};
|
|
2949
|
-
|
|
2985
|
+
name: string;
|
|
2950
2986
|
config: Record<string, unknown>;
|
|
2987
|
+
slug: string;
|
|
2988
|
+
description: string;
|
|
2989
|
+
payload: Record<string, unknown>;
|
|
2951
2990
|
version?: string | undefined;
|
|
2952
2991
|
instructions?: string | undefined;
|
|
2953
2992
|
}, {
|
|
2954
|
-
name: string;
|
|
2955
|
-
description: string;
|
|
2956
|
-
slug: string;
|
|
2957
2993
|
toolkit: {
|
|
2958
2994
|
name: string;
|
|
2959
2995
|
slug: string;
|
|
2960
2996
|
logo: string;
|
|
2961
2997
|
};
|
|
2962
|
-
|
|
2998
|
+
name: string;
|
|
2963
2999
|
config: Record<string, unknown>;
|
|
3000
|
+
slug: string;
|
|
3001
|
+
description: string;
|
|
3002
|
+
payload: Record<string, unknown>;
|
|
2964
3003
|
version?: string | undefined;
|
|
2965
3004
|
instructions?: string | undefined;
|
|
2966
3005
|
}>, "many">;
|
|
@@ -2968,16 +3007,16 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
2968
3007
|
totalPages: z.ZodNumber;
|
|
2969
3008
|
}, "strip", z.ZodTypeAny, {
|
|
2970
3009
|
items: {
|
|
2971
|
-
name: string;
|
|
2972
|
-
description: string;
|
|
2973
|
-
slug: string;
|
|
2974
3010
|
toolkit: {
|
|
2975
3011
|
name: string;
|
|
2976
3012
|
slug: string;
|
|
2977
3013
|
logo: string;
|
|
2978
3014
|
};
|
|
2979
|
-
|
|
3015
|
+
name: string;
|
|
2980
3016
|
config: Record<string, unknown>;
|
|
3017
|
+
slug: string;
|
|
3018
|
+
description: string;
|
|
3019
|
+
payload: Record<string, unknown>;
|
|
2981
3020
|
version?: string | undefined;
|
|
2982
3021
|
instructions?: string | undefined;
|
|
2983
3022
|
}[];
|
|
@@ -2985,16 +3024,16 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
|
|
|
2985
3024
|
nextCursor?: string | null | undefined;
|
|
2986
3025
|
}, {
|
|
2987
3026
|
items: {
|
|
2988
|
-
name: string;
|
|
2989
|
-
description: string;
|
|
2990
|
-
slug: string;
|
|
2991
3027
|
toolkit: {
|
|
2992
3028
|
name: string;
|
|
2993
3029
|
slug: string;
|
|
2994
3030
|
logo: string;
|
|
2995
3031
|
};
|
|
2996
|
-
|
|
3032
|
+
name: string;
|
|
2997
3033
|
config: Record<string, unknown>;
|
|
3034
|
+
slug: string;
|
|
3035
|
+
description: string;
|
|
3036
|
+
payload: Record<string, unknown>;
|
|
2998
3037
|
version?: string | undefined;
|
|
2999
3038
|
instructions?: string | undefined;
|
|
3000
3039
|
}[];
|
|
@@ -3107,14 +3146,14 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
|
|
|
3107
3146
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3108
3147
|
}, "strip", z.ZodTypeAny, {
|
|
3109
3148
|
type: string;
|
|
3110
|
-
data: Record<string, unknown>;
|
|
3111
3149
|
id: string;
|
|
3150
|
+
data: Record<string, unknown>;
|
|
3112
3151
|
metadata: Record<string, unknown>;
|
|
3113
3152
|
timestamp: string;
|
|
3114
3153
|
}, {
|
|
3115
3154
|
type: string;
|
|
3116
|
-
data: Record<string, unknown>;
|
|
3117
3155
|
id: string;
|
|
3156
|
+
data: Record<string, unknown>;
|
|
3118
3157
|
metadata: Record<string, unknown>;
|
|
3119
3158
|
timestamp: string;
|
|
3120
3159
|
}>;
|
|
@@ -3149,8 +3188,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3149
3188
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3150
3189
|
}, "strip", z.ZodTypeAny, {
|
|
3151
3190
|
type: string;
|
|
3152
|
-
data: Record<string, unknown>;
|
|
3153
3191
|
id: string;
|
|
3192
|
+
data: Record<string, unknown>;
|
|
3154
3193
|
metadata: {
|
|
3155
3194
|
trigger_id: string;
|
|
3156
3195
|
log_id: string;
|
|
@@ -3164,8 +3203,8 @@ declare const WebhookTriggerPayloadV3Schema: z.ZodObject<{
|
|
|
3164
3203
|
timestamp: string;
|
|
3165
3204
|
}, {
|
|
3166
3205
|
type: string;
|
|
3167
|
-
data: Record<string, unknown>;
|
|
3168
3206
|
id: string;
|
|
3207
|
+
data: Record<string, unknown>;
|
|
3169
3208
|
metadata: {
|
|
3170
3209
|
trigger_id: string;
|
|
3171
3210
|
log_id: string;
|
|
@@ -3188,14 +3227,14 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3188
3227
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3189
3228
|
}, "strip", z.ZodTypeAny, {
|
|
3190
3229
|
type: string;
|
|
3191
|
-
data: Record<string, unknown>;
|
|
3192
3230
|
id: string;
|
|
3231
|
+
data: Record<string, unknown>;
|
|
3193
3232
|
metadata: Record<string, unknown>;
|
|
3194
3233
|
timestamp: string;
|
|
3195
3234
|
}, {
|
|
3196
3235
|
type: string;
|
|
3197
|
-
data: Record<string, unknown>;
|
|
3198
3236
|
id: string;
|
|
3237
|
+
data: Record<string, unknown>;
|
|
3199
3238
|
metadata: Record<string, unknown>;
|
|
3200
3239
|
timestamp: string;
|
|
3201
3240
|
}>, z.ZodObject<{
|
|
@@ -3282,10 +3321,8 @@ declare const VerifyWebhookParamsSchema: z.ZodObject<{
|
|
|
3282
3321
|
* The webhook message ID from the 'webhook-id' header.
|
|
3283
3322
|
* Format: 'msg_xxx'
|
|
3284
3323
|
*/
|
|
3285
|
-
id: z.ZodString;
|
|
3286
|
-
/** The
|
|
3287
|
-
payload: z.ZodString;
|
|
3288
|
-
/** The webhook secret used to sign the payload (from Composio dashboard) */
|
|
3324
|
+
id: z.ZodString; /** The raw webhook payload as a string (request body) */
|
|
3325
|
+
payload: z.ZodString; /** The webhook secret used to sign the payload (from Composio dashboard) */
|
|
3289
3326
|
secret: z.ZodString;
|
|
3290
3327
|
/**
|
|
3291
3328
|
* The signature from the 'webhook-signature' header.
|
|
@@ -3325,11 +3362,8 @@ type VerifyWebhookParams = z.input<typeof VerifyWebhookParamsSchema>;
|
|
|
3325
3362
|
* Contains the parsed payload along with version information.
|
|
3326
3363
|
*/
|
|
3327
3364
|
type VerifyWebhookResult = {
|
|
3328
|
-
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
|
|
3329
|
-
|
|
3330
|
-
/** The parsed and normalized webhook payload */
|
|
3331
|
-
payload: IncomingTriggerPayload;
|
|
3332
|
-
/** The raw parsed payload before normalization */
|
|
3365
|
+
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */version: WebhookVersion; /** The parsed and normalized webhook payload */
|
|
3366
|
+
payload: IncomingTriggerPayload; /** The raw parsed payload before normalization */
|
|
3333
3367
|
rawPayload: WebhookPayload;
|
|
3334
3368
|
};
|
|
3335
3369
|
//#endregion
|
|
@@ -3361,7 +3395,7 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3361
3395
|
* });
|
|
3362
3396
|
* ```
|
|
3363
3397
|
*/
|
|
3364
|
-
listActive(query?: TriggerInstanceListActiveParams): Promise<TriggerInstanceListActiveResponse>;
|
|
3398
|
+
listActive(query?: TriggerInstanceListActiveParams, requestOptions?: ComposioRequestOptions): Promise<TriggerInstanceListActiveResponse>;
|
|
3365
3399
|
/**
|
|
3366
3400
|
* Create a new trigger instance for a user
|
|
3367
3401
|
* If the connected account id is not provided, the first connected account for the user and toolkit will be used
|
|
@@ -3371,7 +3405,7 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3371
3405
|
* @param {TriggerInstanceUpsertParams} body - The parameters to create the trigger instance
|
|
3372
3406
|
* @returns {Promise<TriggerInstanceUpsertResponse>} The created trigger instance
|
|
3373
3407
|
*/
|
|
3374
|
-
create(userId: string, slug: string, body?: TriggerInstanceUpsertParams): Promise<TriggerInstanceUpsertResponse>;
|
|
3408
|
+
create(userId: string, slug: string, body?: TriggerInstanceUpsertParams, requestOptions?: ComposioRequestOptions): Promise<TriggerInstanceUpsertResponse>;
|
|
3375
3409
|
/**
|
|
3376
3410
|
* Update an existing trigger instance
|
|
3377
3411
|
*
|
|
@@ -3379,28 +3413,28 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3379
3413
|
* @param {TriggerInstanceManageUpdateParams} body - The parameters to update the trigger instance
|
|
3380
3414
|
* @returns {Promise<TriggerInstanceManageUpdateResponse>} The updated trigger instance response
|
|
3381
3415
|
*/
|
|
3382
|
-
update(triggerId: string, body: TriggerInstanceManageUpdateParams): Promise<TriggerInstanceManageUpdateResponse>;
|
|
3416
|
+
update(triggerId: string, body: TriggerInstanceManageUpdateParams, requestOptions?: ComposioRequestOptions): Promise<TriggerInstanceManageUpdateResponse>;
|
|
3383
3417
|
/**
|
|
3384
3418
|
* Delete a trigger instance
|
|
3385
3419
|
*
|
|
3386
3420
|
* @param {string} triggerId - The slug of the trigger instance
|
|
3387
3421
|
* @returns
|
|
3388
3422
|
*/
|
|
3389
|
-
delete(triggerId: string): Promise<TriggerInstanceManageDeleteResponse>;
|
|
3423
|
+
delete(triggerId: string, requestOptions?: ComposioRequestOptions): Promise<TriggerInstanceManageDeleteResponse>;
|
|
3390
3424
|
/**
|
|
3391
3425
|
* Disable a trigger instance
|
|
3392
3426
|
*
|
|
3393
3427
|
* @param {string} triggerId - The id of the trigger instance
|
|
3394
3428
|
* @returns {Promise<TriggerInstanceUpsertResponse>} The updated trigger instance
|
|
3395
3429
|
*/
|
|
3396
|
-
disable(triggerId: string): Promise<ComposioClient.TriggerInstances.Manage.ManageUpdateResponse>;
|
|
3430
|
+
disable(triggerId: string, requestOptions?: ComposioRequestOptions): Promise<ComposioClient.TriggerInstances.Manage.ManageUpdateResponse>;
|
|
3397
3431
|
/**
|
|
3398
3432
|
* Enable a trigger instance
|
|
3399
3433
|
*
|
|
3400
3434
|
* @param {string} triggerId - The id of the trigger instance
|
|
3401
3435
|
* @returns {Promise<TriggerInstanceUpsertResponse>} The updated trigger instance
|
|
3402
3436
|
*/
|
|
3403
|
-
enable(triggerId: string): Promise<ComposioClient.TriggerInstances.Manage.ManageUpdateResponse>;
|
|
3437
|
+
enable(triggerId: string, requestOptions?: ComposioRequestOptions): Promise<ComposioClient.TriggerInstances.Manage.ManageUpdateResponse>;
|
|
3404
3438
|
/**
|
|
3405
3439
|
* @TODO Learn about trigger types
|
|
3406
3440
|
*/
|
|
@@ -3411,7 +3445,7 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3411
3445
|
* @param {RequestOptions} options - Request options
|
|
3412
3446
|
* @returns {Promise<TriggersTypeListResponse>} The list of trigger types
|
|
3413
3447
|
*/
|
|
3414
|
-
listTypes(query?: TriggersTypeListParams): Promise<TriggersTypeListResponse>;
|
|
3448
|
+
listTypes(query?: TriggersTypeListParams, requestOptions?: ComposioRequestOptions): Promise<TriggersTypeListResponse>;
|
|
3415
3449
|
/**
|
|
3416
3450
|
* Retrieve a trigger type by its slug for the provided version of the app
|
|
3417
3451
|
* Use the global toolkit versions param when initializing composio to pass a toolkitversion
|
|
@@ -3419,14 +3453,14 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
3419
3453
|
* @param {string} slug - The slug of the trigger type
|
|
3420
3454
|
* @returns {Promise<TriggersTypeRetrieveResponse>} The trigger type object
|
|
3421
3455
|
*/
|
|
3422
|
-
getType(slug: string): Promise<TriggersTypeRetrieveResponse>;
|
|
3456
|
+
getType(slug: string, requestOptions?: ComposioRequestOptions): Promise<TriggersTypeRetrieveResponse>;
|
|
3423
3457
|
/**
|
|
3424
3458
|
* Fetches the list of all the available trigger enums
|
|
3425
3459
|
*
|
|
3426
3460
|
* This method is used by the CLI where filters are not required.
|
|
3427
3461
|
* @returns
|
|
3428
3462
|
*/
|
|
3429
|
-
listEnum(): Promise<TriggersTypeRetrieveEnumResponse>;
|
|
3463
|
+
listEnum(requestOptions?: ComposioRequestOptions): Promise<TriggersTypeRetrieveEnumResponse>;
|
|
3430
3464
|
/**
|
|
3431
3465
|
* Applies compound filters to the trigger data
|
|
3432
3466
|
* @param data data to apply filters to
|
|
@@ -3593,13 +3627,19 @@ declare class AuthConfigs {
|
|
|
3593
3627
|
* toolkit: 'github'
|
|
3594
3628
|
* });
|
|
3595
3629
|
*
|
|
3630
|
+
* // Search auth configs by name or id
|
|
3631
|
+
* const searchedConfigs = await composio.authConfigs.list({
|
|
3632
|
+
* search: 'github',
|
|
3633
|
+
* showDisabled: true
|
|
3634
|
+
* });
|
|
3635
|
+
*
|
|
3596
3636
|
* // List Composio-managed auth configs
|
|
3597
3637
|
* const managedConfigs = await composio.authConfigs.list({
|
|
3598
3638
|
* isComposioManaged: true
|
|
3599
3639
|
* });
|
|
3600
3640
|
* ```
|
|
3601
3641
|
*/
|
|
3602
|
-
list(query?: AuthConfigListParams): Promise<AuthConfigListResponse>;
|
|
3642
|
+
list(query?: AuthConfigListParams, requestOptions?: ComposioRequestOptions): Promise<AuthConfigListResponse>;
|
|
3603
3643
|
/**
|
|
3604
3644
|
* Create a new auth config
|
|
3605
3645
|
* @param {string} toolkit - Unique identifier of the toolkit
|
|
@@ -3618,7 +3658,7 @@ declare class AuthConfigs {
|
|
|
3618
3658
|
*
|
|
3619
3659
|
* @link https://docs.composio.dev/reference/auth-configs/create-auth-config
|
|
3620
3660
|
*/
|
|
3621
|
-
create(toolkit: string, options?: CreateAuthConfigParams): Promise<CreateAuthConfigResponse>;
|
|
3661
|
+
create(toolkit: string, options?: CreateAuthConfigParams, requestOptions?: ComposioRequestOptions): Promise<CreateAuthConfigResponse>;
|
|
3622
3662
|
/**
|
|
3623
3663
|
* Retrieves a specific authentication configuration by its ID.
|
|
3624
3664
|
*
|
|
@@ -3638,7 +3678,7 @@ declare class AuthConfigs {
|
|
|
3638
3678
|
* console.log(authConfig.toolkit.slug); // e.g., 'github'
|
|
3639
3679
|
* ```
|
|
3640
3680
|
*/
|
|
3641
|
-
get(nanoid: string): Promise<AuthConfigRetrieveResponse>;
|
|
3681
|
+
get(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigRetrieveResponse>;
|
|
3642
3682
|
/**
|
|
3643
3683
|
* Updates an existing authentication configuration.
|
|
3644
3684
|
*
|
|
@@ -3669,7 +3709,7 @@ declare class AuthConfigs {
|
|
|
3669
3709
|
* });
|
|
3670
3710
|
* ```
|
|
3671
3711
|
*/
|
|
3672
|
-
update(nanoid: string, data: AuthConfigUpdateParams): Promise<AuthConfigUpdateResponse>;
|
|
3712
|
+
update(nanoid: string, data: AuthConfigUpdateParams, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateResponse>;
|
|
3673
3713
|
/**
|
|
3674
3714
|
* Deletes an authentication configuration.
|
|
3675
3715
|
*
|
|
@@ -3687,7 +3727,7 @@ declare class AuthConfigs {
|
|
|
3687
3727
|
* await composio.authConfigs.delete('auth_abc123');
|
|
3688
3728
|
* ```
|
|
3689
3729
|
*/
|
|
3690
|
-
delete(nanoid: string): Promise<AuthConfigDeleteResponse>;
|
|
3730
|
+
delete(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigDeleteResponse>;
|
|
3691
3731
|
/**
|
|
3692
3732
|
* Updates the status of an authentication configuration.
|
|
3693
3733
|
*
|
|
@@ -3709,7 +3749,7 @@ declare class AuthConfigs {
|
|
|
3709
3749
|
* await composio.authConfigs.updateStatus('ENABLED', 'auth_abc123');
|
|
3710
3750
|
* ```
|
|
3711
3751
|
*/
|
|
3712
|
-
updateStatus(status: 'ENABLED' | 'DISABLED', nanoid: string): Promise<AuthConfigUpdateStatusResponse>;
|
|
3752
|
+
updateStatus(status: 'ENABLED' | 'DISABLED', nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
|
|
3713
3753
|
/**
|
|
3714
3754
|
* Enables an authentication configuration.
|
|
3715
3755
|
*
|
|
@@ -3727,7 +3767,7 @@ declare class AuthConfigs {
|
|
|
3727
3767
|
* await composio.authConfigs.enable('auth_abc123');
|
|
3728
3768
|
* ```
|
|
3729
3769
|
*/
|
|
3730
|
-
enable(nanoid: string): Promise<AuthConfigUpdateStatusResponse>;
|
|
3770
|
+
enable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
|
|
3731
3771
|
/**
|
|
3732
3772
|
* Disables an authentication configuration.
|
|
3733
3773
|
*
|
|
@@ -3745,7 +3785,7 @@ declare class AuthConfigs {
|
|
|
3745
3785
|
* await composio.authConfigs.disable('auth_abc123');
|
|
3746
3786
|
* ```
|
|
3747
3787
|
*/
|
|
3748
|
-
disable(nanoid: string): Promise<AuthConfigUpdateStatusResponse>;
|
|
3788
|
+
disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<AuthConfigUpdateStatusResponse>;
|
|
3749
3789
|
}
|
|
3750
3790
|
//#endregion
|
|
3751
3791
|
//#region src/models/ConnectedAccounts.d.ts
|
|
@@ -3782,7 +3822,7 @@ declare class ConnectedAccounts {
|
|
|
3782
3822
|
* });
|
|
3783
3823
|
* ```
|
|
3784
3824
|
*/
|
|
3785
|
-
list(query?: ConnectedAccountListParams): Promise<ConnectedAccountListResponse>;
|
|
3825
|
+
list(query?: ConnectedAccountListParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountListResponse>;
|
|
3786
3826
|
/**
|
|
3787
3827
|
* Compound function to create a new connected account.
|
|
3788
3828
|
* This function creates a new connected account and returns a connection request.
|
|
@@ -3850,7 +3890,7 @@ declare class ConnectedAccounts {
|
|
|
3850
3890
|
*
|
|
3851
3891
|
* @link https://docs.composio.dev/reference/connected-accounts/create-connected-account
|
|
3852
3892
|
*/
|
|
3853
|
-
initiate(userId: string, authConfigId: string, options?: CreateConnectedAccountOptions): Promise<ConnectionRequest>;
|
|
3893
|
+
initiate(userId: string, authConfigId: string, options?: CreateConnectedAccountOptions, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
3854
3894
|
/**
|
|
3855
3895
|
* @description Create a Composio Connect Link for a user to connect their account to a given auth config. This method will return an external link which you can use the user to connect their account.
|
|
3856
3896
|
*
|
|
@@ -3886,7 +3926,7 @@ declare class ConnectedAccounts {
|
|
|
3886
3926
|
* const connectedAccount = await composio.connectedAccounts.waitForConnection(connectionRequest.id);
|
|
3887
3927
|
* ```
|
|
3888
3928
|
*/
|
|
3889
|
-
link(userId: string, authConfigId: string, options?: CreateConnectedAccountLinkOptions): Promise<ConnectionRequest>;
|
|
3929
|
+
link(userId: string, authConfigId: string, options?: CreateConnectedAccountLinkOptions, requestOptions?: ComposioRequestOptions): Promise<ConnectionRequest>;
|
|
3890
3930
|
/**
|
|
3891
3931
|
* Waits for a connection request to complete and become active.
|
|
3892
3932
|
*
|
|
@@ -3928,7 +3968,7 @@ declare class ConnectedAccounts {
|
|
|
3928
3968
|
* console.log(account.toolkit.slug); // e.g., 'github'
|
|
3929
3969
|
* ```
|
|
3930
3970
|
*/
|
|
3931
|
-
get(nanoid: string): Promise<ConnectedAccountRetrieveResponse>;
|
|
3971
|
+
get(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountRetrieveResponse>;
|
|
3932
3972
|
/**
|
|
3933
3973
|
* Deletes a connected account.
|
|
3934
3974
|
*
|
|
@@ -3945,7 +3985,7 @@ declare class ConnectedAccounts {
|
|
|
3945
3985
|
* await composio.connectedAccounts.delete('conn_abc123');
|
|
3946
3986
|
* ```
|
|
3947
3987
|
*/
|
|
3948
|
-
delete(nanoid: string): Promise<ConnectedAccountDeleteResponse>;
|
|
3988
|
+
delete(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountDeleteResponse>;
|
|
3949
3989
|
/**
|
|
3950
3990
|
* Refreshes a connected account's authentication credentials.
|
|
3951
3991
|
*
|
|
@@ -3962,7 +4002,7 @@ declare class ConnectedAccounts {
|
|
|
3962
4002
|
* const refreshedAccount = await composio.connectedAccounts.refresh('conn_abc123');
|
|
3963
4003
|
* ```
|
|
3964
4004
|
*/
|
|
3965
|
-
refresh(nanoid: string, options?: ConnectedAccountRefreshOptions): Promise<ConnectedAccountRefreshResponse>;
|
|
4005
|
+
refresh(nanoid: string, options?: ConnectedAccountRefreshOptions, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountRefreshResponse>;
|
|
3966
4006
|
/**
|
|
3967
4007
|
* Update the status of a connected account
|
|
3968
4008
|
* @param {string} nanoid - Unique identifier of the connected account
|
|
@@ -3983,7 +4023,7 @@ declare class ConnectedAccounts {
|
|
|
3983
4023
|
* });
|
|
3984
4024
|
* ```
|
|
3985
4025
|
*/
|
|
3986
|
-
updateStatus(nanoid: string, params: ConnectedAccountUpdateStatusParams): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4026
|
+
updateStatus(nanoid: string, params: ConnectedAccountUpdateStatusParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
3987
4027
|
/**
|
|
3988
4028
|
* Enable a connected account
|
|
3989
4029
|
* @param {string} nanoid - Unique identifier of the connected account
|
|
@@ -3996,7 +4036,7 @@ declare class ConnectedAccounts {
|
|
|
3996
4036
|
* console.log(enabledAccount.isDisabled); // false
|
|
3997
4037
|
* ```
|
|
3998
4038
|
*/
|
|
3999
|
-
enable(nanoid: string): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4039
|
+
enable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4000
4040
|
/**
|
|
4001
4041
|
* Disable a connected account
|
|
4002
4042
|
* @param {string} nanoid - Unique identifier of the connected account
|
|
@@ -4015,7 +4055,7 @@ declare class ConnectedAccounts {
|
|
|
4015
4055
|
* // });
|
|
4016
4056
|
* ```
|
|
4017
4057
|
*/
|
|
4018
|
-
disable(nanoid: string): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4058
|
+
disable(nanoid: string, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4019
4059
|
/**
|
|
4020
4060
|
* Enable or disable a connected account. Accepts `{ enabled: boolean }`.
|
|
4021
4061
|
*
|
|
@@ -4032,7 +4072,7 @@ declare class ConnectedAccounts {
|
|
|
4032
4072
|
* await composio.connectedAccounts.update('ca_abc123', { enabled: false });
|
|
4033
4073
|
* ```
|
|
4034
4074
|
*/
|
|
4035
|
-
update(nanoid: string, params: UpdateConnectedAccountParams): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4075
|
+
update(nanoid: string, params: UpdateConnectedAccountParams, requestOptions?: ComposioRequestOptions): Promise<ConnectedAccountUpdateStatusResponse>;
|
|
4036
4076
|
}
|
|
4037
4077
|
//#endregion
|
|
4038
4078
|
//#region src/models/Experimental.d.ts
|
|
@@ -4113,20 +4153,20 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
|
|
|
4113
4153
|
allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4114
4154
|
authConfigs: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4115
4155
|
}, "strip", z$1.ZodTypeAny, {
|
|
4116
|
-
name: string;
|
|
4117
4156
|
type: "streamable_http";
|
|
4118
|
-
userId: string;
|
|
4119
|
-
id: string;
|
|
4120
4157
|
allowedTools: string[];
|
|
4158
|
+
userId: string;
|
|
4121
4159
|
url: string;
|
|
4160
|
+
name: string;
|
|
4161
|
+
id: string;
|
|
4122
4162
|
authConfigs: string[];
|
|
4123
4163
|
}, {
|
|
4124
|
-
name: string;
|
|
4125
4164
|
type: "streamable_http";
|
|
4126
|
-
userId: string;
|
|
4127
|
-
id: string;
|
|
4128
4165
|
allowedTools: string[];
|
|
4166
|
+
userId: string;
|
|
4129
4167
|
url: string;
|
|
4168
|
+
name: string;
|
|
4169
|
+
id: string;
|
|
4130
4170
|
authConfigs: string[];
|
|
4131
4171
|
}>;
|
|
4132
4172
|
type MCPServerInstance = z$1.infer<typeof MCPServerInstanceSchema>;
|
|
@@ -4193,12 +4233,12 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4193
4233
|
*/
|
|
4194
4234
|
windsurf: z$1.ZodString;
|
|
4195
4235
|
}, "strip", z$1.ZodTypeAny, {
|
|
4196
|
-
cursor: string;
|
|
4197
4236
|
claude: string;
|
|
4237
|
+
cursor: string;
|
|
4198
4238
|
windsurf: string;
|
|
4199
4239
|
}, {
|
|
4200
|
-
cursor: string;
|
|
4201
4240
|
claude: string;
|
|
4241
|
+
cursor: string;
|
|
4202
4242
|
windsurf: string;
|
|
4203
4243
|
}>;
|
|
4204
4244
|
/**
|
|
@@ -4206,24 +4246,24 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
|
|
|
4206
4246
|
*/
|
|
4207
4247
|
MCPUrl: z$1.ZodString;
|
|
4208
4248
|
}, "strip", z$1.ZodTypeAny, {
|
|
4249
|
+
allowedTools: string[];
|
|
4209
4250
|
name: string;
|
|
4210
|
-
authConfigIds: string[];
|
|
4211
4251
|
id: string;
|
|
4212
|
-
|
|
4252
|
+
authConfigIds: string[];
|
|
4213
4253
|
commands: {
|
|
4214
|
-
cursor: string;
|
|
4215
4254
|
claude: string;
|
|
4255
|
+
cursor: string;
|
|
4216
4256
|
windsurf: string;
|
|
4217
4257
|
};
|
|
4218
4258
|
MCPUrl: string;
|
|
4219
4259
|
}, {
|
|
4260
|
+
allowedTools: string[];
|
|
4220
4261
|
name: string;
|
|
4221
|
-
authConfigIds: string[];
|
|
4222
4262
|
id: string;
|
|
4223
|
-
|
|
4263
|
+
authConfigIds: string[];
|
|
4224
4264
|
commands: {
|
|
4225
|
-
cursor: string;
|
|
4226
4265
|
claude: string;
|
|
4266
|
+
cursor: string;
|
|
4227
4267
|
windsurf: string;
|
|
4228
4268
|
};
|
|
4229
4269
|
MCPUrl: string;
|
|
@@ -4253,15 +4293,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
|
|
|
4253
4293
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4254
4294
|
}, "strip", z$1.ZodTypeAny, {
|
|
4255
4295
|
toolkits: string[];
|
|
4256
|
-
limit: number;
|
|
4257
4296
|
page: number;
|
|
4297
|
+
limit: number;
|
|
4258
4298
|
authConfigs: string[];
|
|
4259
4299
|
name?: string | undefined;
|
|
4260
4300
|
}, {
|
|
4261
4301
|
name?: string | undefined;
|
|
4262
4302
|
toolkits?: string[] | undefined;
|
|
4263
|
-
limit?: number | undefined;
|
|
4264
4303
|
page?: number | undefined;
|
|
4304
|
+
limit?: number | undefined;
|
|
4265
4305
|
authConfigs?: string[] | undefined;
|
|
4266
4306
|
}>;
|
|
4267
4307
|
type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
|
|
@@ -4299,12 +4339,12 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4299
4339
|
*/
|
|
4300
4340
|
windsurf: z$1.ZodString;
|
|
4301
4341
|
}, "strip", z$1.ZodTypeAny, {
|
|
4302
|
-
cursor: string;
|
|
4303
4342
|
claude: string;
|
|
4343
|
+
cursor: string;
|
|
4304
4344
|
windsurf: string;
|
|
4305
4345
|
}, {
|
|
4306
|
-
cursor: string;
|
|
4307
4346
|
claude: string;
|
|
4347
|
+
cursor: string;
|
|
4308
4348
|
windsurf: string;
|
|
4309
4349
|
}>;
|
|
4310
4350
|
/**
|
|
@@ -4316,28 +4356,28 @@ declare const MCPItemSchema: z$1.ZodObject<{
|
|
|
4316
4356
|
serverInstanceCount: z$1.ZodNumber;
|
|
4317
4357
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4318
4358
|
}, "strip", z$1.ZodTypeAny, {
|
|
4359
|
+
allowedTools: string[];
|
|
4319
4360
|
name: string;
|
|
4320
4361
|
toolkits: string[];
|
|
4321
|
-
authConfigIds: string[];
|
|
4322
4362
|
id: string;
|
|
4323
|
-
|
|
4363
|
+
authConfigIds: string[];
|
|
4324
4364
|
commands: {
|
|
4325
|
-
cursor: string;
|
|
4326
4365
|
claude: string;
|
|
4366
|
+
cursor: string;
|
|
4327
4367
|
windsurf: string;
|
|
4328
4368
|
};
|
|
4329
4369
|
MCPUrl: string;
|
|
4330
4370
|
toolkitIcons: Record<string, string>;
|
|
4331
4371
|
serverInstanceCount: number;
|
|
4332
4372
|
}, {
|
|
4373
|
+
allowedTools: string[];
|
|
4333
4374
|
name: string;
|
|
4334
4375
|
toolkits: string[];
|
|
4335
|
-
authConfigIds: string[];
|
|
4336
4376
|
id: string;
|
|
4337
|
-
|
|
4377
|
+
authConfigIds: string[];
|
|
4338
4378
|
commands: {
|
|
4339
|
-
cursor: string;
|
|
4340
4379
|
claude: string;
|
|
4380
|
+
cursor: string;
|
|
4341
4381
|
windsurf: string;
|
|
4342
4382
|
};
|
|
4343
4383
|
MCPUrl: string;
|
|
@@ -4380,12 +4420,12 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4380
4420
|
*/
|
|
4381
4421
|
windsurf: z$1.ZodString;
|
|
4382
4422
|
}, "strip", z$1.ZodTypeAny, {
|
|
4383
|
-
cursor: string;
|
|
4384
4423
|
claude: string;
|
|
4424
|
+
cursor: string;
|
|
4385
4425
|
windsurf: string;
|
|
4386
4426
|
}, {
|
|
4387
|
-
cursor: string;
|
|
4388
4427
|
claude: string;
|
|
4428
|
+
cursor: string;
|
|
4389
4429
|
windsurf: string;
|
|
4390
4430
|
}>;
|
|
4391
4431
|
/**
|
|
@@ -4397,28 +4437,28 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4397
4437
|
serverInstanceCount: z$1.ZodNumber;
|
|
4398
4438
|
toolkits: z$1.ZodArray<z$1.ZodString, "many">;
|
|
4399
4439
|
}, "strip", z$1.ZodTypeAny, {
|
|
4440
|
+
allowedTools: string[];
|
|
4400
4441
|
name: string;
|
|
4401
4442
|
toolkits: string[];
|
|
4402
|
-
authConfigIds: string[];
|
|
4403
4443
|
id: string;
|
|
4404
|
-
|
|
4444
|
+
authConfigIds: string[];
|
|
4405
4445
|
commands: {
|
|
4406
|
-
cursor: string;
|
|
4407
4446
|
claude: string;
|
|
4447
|
+
cursor: string;
|
|
4408
4448
|
windsurf: string;
|
|
4409
4449
|
};
|
|
4410
4450
|
MCPUrl: string;
|
|
4411
4451
|
toolkitIcons: Record<string, string>;
|
|
4412
4452
|
serverInstanceCount: number;
|
|
4413
4453
|
}, {
|
|
4454
|
+
allowedTools: string[];
|
|
4414
4455
|
name: string;
|
|
4415
4456
|
toolkits: string[];
|
|
4416
|
-
authConfigIds: string[];
|
|
4417
4457
|
id: string;
|
|
4418
|
-
|
|
4458
|
+
authConfigIds: string[];
|
|
4419
4459
|
commands: {
|
|
4420
|
-
cursor: string;
|
|
4421
4460
|
claude: string;
|
|
4461
|
+
cursor: string;
|
|
4422
4462
|
windsurf: string;
|
|
4423
4463
|
};
|
|
4424
4464
|
MCPUrl: string;
|
|
@@ -4429,14 +4469,14 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4429
4469
|
totalPages: z$1.ZodNumber;
|
|
4430
4470
|
}, "strip", z$1.ZodTypeAny, {
|
|
4431
4471
|
items: {
|
|
4472
|
+
allowedTools: string[];
|
|
4432
4473
|
name: string;
|
|
4433
4474
|
toolkits: string[];
|
|
4434
|
-
authConfigIds: string[];
|
|
4435
4475
|
id: string;
|
|
4436
|
-
|
|
4476
|
+
authConfigIds: string[];
|
|
4437
4477
|
commands: {
|
|
4438
|
-
cursor: string;
|
|
4439
4478
|
claude: string;
|
|
4479
|
+
cursor: string;
|
|
4440
4480
|
windsurf: string;
|
|
4441
4481
|
};
|
|
4442
4482
|
MCPUrl: string;
|
|
@@ -4447,14 +4487,14 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
|
|
|
4447
4487
|
currentPage: number;
|
|
4448
4488
|
}, {
|
|
4449
4489
|
items: {
|
|
4490
|
+
allowedTools: string[];
|
|
4450
4491
|
name: string;
|
|
4451
4492
|
toolkits: string[];
|
|
4452
|
-
authConfigIds: string[];
|
|
4453
4493
|
id: string;
|
|
4454
|
-
|
|
4494
|
+
authConfigIds: string[];
|
|
4455
4495
|
commands: {
|
|
4456
|
-
cursor: string;
|
|
4457
4496
|
claude: string;
|
|
4497
|
+
cursor: string;
|
|
4458
4498
|
windsurf: string;
|
|
4459
4499
|
};
|
|
4460
4500
|
MCPUrl: string;
|
|
@@ -4480,20 +4520,20 @@ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
|
|
|
4480
4520
|
allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
4481
4521
|
manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4482
4522
|
}, "strip", z$1.ZodTypeAny, {
|
|
4523
|
+
allowedTools?: string[] | undefined;
|
|
4483
4524
|
name?: string | undefined;
|
|
4484
4525
|
toolkits?: (string | {
|
|
4485
4526
|
toolkit?: string | undefined;
|
|
4486
4527
|
authConfigId?: string | undefined;
|
|
4487
4528
|
})[] | undefined;
|
|
4488
|
-
allowedTools?: string[] | undefined;
|
|
4489
4529
|
manuallyManageConnections?: boolean | undefined;
|
|
4490
4530
|
}, {
|
|
4531
|
+
allowedTools?: string[] | undefined;
|
|
4491
4532
|
name?: string | undefined;
|
|
4492
4533
|
toolkits?: (string | {
|
|
4493
4534
|
toolkit?: string | undefined;
|
|
4494
4535
|
authConfigId?: string | undefined;
|
|
4495
4536
|
})[] | undefined;
|
|
4496
|
-
allowedTools?: string[] | undefined;
|
|
4497
4537
|
manuallyManageConnections?: boolean | undefined;
|
|
4498
4538
|
}>;
|
|
4499
4539
|
type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
|
|
@@ -4533,7 +4573,7 @@ declare class MCP {
|
|
|
4533
4573
|
* });
|
|
4534
4574
|
* ```
|
|
4535
4575
|
*/
|
|
4536
|
-
create(name: string, mcpConfig: MCPConfigCreationParams): Promise<MCPConfigCreateResponse>;
|
|
4576
|
+
create(name: string, mcpConfig: MCPConfigCreationParams, requestOptions?: ComposioRequestOptions): Promise<MCPConfigCreateResponse>;
|
|
4537
4577
|
/**
|
|
4538
4578
|
* List the MCP servers with optional filtering and pagination
|
|
4539
4579
|
* @param {Object} options - Filtering and pagination options
|
|
@@ -4566,7 +4606,7 @@ declare class MCP {
|
|
|
4566
4606
|
* });
|
|
4567
4607
|
* ```
|
|
4568
4608
|
*/
|
|
4569
|
-
list(options: MCPListParams): Promise<MCPListResponse>;
|
|
4609
|
+
list(options: MCPListParams, requestOptions?: ComposioRequestOptions): Promise<MCPListResponse>;
|
|
4570
4610
|
/**
|
|
4571
4611
|
* Retrieve detailed information about a specific MCP server by its ID
|
|
4572
4612
|
* @param {string} serverId - The unique identifier of the MCP server to retrieve
|
|
@@ -4593,7 +4633,7 @@ declare class MCP {
|
|
|
4593
4633
|
*
|
|
4594
4634
|
* @throws {ValidationError} When the server ID is invalid or server not found
|
|
4595
4635
|
*/
|
|
4596
|
-
get(serverId: string): Promise<MCPItem>;
|
|
4636
|
+
get(serverId: string, requestOptions?: ComposioRequestOptions): Promise<MCPItem>;
|
|
4597
4637
|
/**
|
|
4598
4638
|
* Delete an MCP server configuration permanently
|
|
4599
4639
|
* @param {string} serverId - The unique identifier of the MCP server to delete
|
|
@@ -4630,7 +4670,7 @@ declare class MCP {
|
|
|
4630
4670
|
*
|
|
4631
4671
|
* @warning This operation is irreversible. Once deleted, the MCP server configuration and all its associated data will be permanently removed.
|
|
4632
4672
|
*/
|
|
4633
|
-
delete(serverId: string): Promise<{
|
|
4673
|
+
delete(serverId: string, requestOptions?: ComposioRequestOptions): Promise<{
|
|
4634
4674
|
id: string;
|
|
4635
4675
|
deleted: boolean;
|
|
4636
4676
|
}>;
|
|
@@ -4698,7 +4738,7 @@ declare class MCP {
|
|
|
4698
4738
|
* @note Only provided fields will be updated. Omitted fields will retain their current values.
|
|
4699
4739
|
* @note When updating toolkits, the entire toolkit configuration is replaced, not merged.
|
|
4700
4740
|
*/
|
|
4701
|
-
update(serverId: string, config: MCPUpdateParams): Promise<MCPItem>;
|
|
4741
|
+
update(serverId: string, config: MCPUpdateParams, requestOptions?: ComposioRequestOptions): Promise<MCPItem>;
|
|
4702
4742
|
/**
|
|
4703
4743
|
* Get server URLs for an existing MCP server.
|
|
4704
4744
|
* The response is wrapped according to the provider's specifications.
|
|
@@ -4716,7 +4756,7 @@ declare class MCP {
|
|
|
4716
4756
|
* @param options {object} additional options
|
|
4717
4757
|
* @param options.isChatAuth {boolean} Authenticate the users via chat when they use the MCP Server
|
|
4718
4758
|
*/
|
|
4719
|
-
generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams): Promise<MCPServerInstance>;
|
|
4759
|
+
generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams, requestOptions?: ComposioRequestOptions): Promise<MCPServerInstance>;
|
|
4720
4760
|
}
|
|
4721
4761
|
//#endregion
|
|
4722
4762
|
//#region src/provider/OpenAIProvider.d.ts
|
|
@@ -5075,7 +5115,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5075
5115
|
* });
|
|
5076
5116
|
* ```
|
|
5077
5117
|
*/
|
|
5078
|
-
create(userId: string, config?: ToolRouterCreateSessionConfig): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5118
|
+
create(userId: string, config?: ToolRouterCreateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5079
5119
|
/**
|
|
5080
5120
|
* Use an existing session
|
|
5081
5121
|
* @param id {string} The id of the session to use
|
|
@@ -5096,7 +5136,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
5096
5136
|
use(id: string, options?: {
|
|
5097
5137
|
customTools?: CustomTool[];
|
|
5098
5138
|
customToolkits?: CustomToolkit[];
|
|
5099
|
-
}): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5139
|
+
}, requestOptions?: ComposioRequestOptions): Promise<Session<TToolCollection, TTool, TProvider>>;
|
|
5100
5140
|
}
|
|
5101
5141
|
//#endregion
|
|
5102
5142
|
//#region src/composio.d.ts
|
|
@@ -5304,17 +5344,22 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5304
5344
|
* console.log(session.tools());
|
|
5305
5345
|
* ```
|
|
5306
5346
|
*/
|
|
5307
|
-
create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5347
|
+
create: (userId: string, routerConfig?: ToolRouterCreateSessionConfig, requestOptions?: ComposioRequestOptions) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5308
5348
|
/**
|
|
5309
5349
|
* Use an existing tool router session
|
|
5310
5350
|
*
|
|
5311
5351
|
* @param id {string} The id of the session to use
|
|
5352
|
+
* @param options {object} Custom tools / toolkits to attach to the session
|
|
5353
|
+
* @param requestOptions {ComposioRequestOptions} Per-request cancellation
|
|
5354
|
+
* options. The supplied AbortSignal aborts the underlying session
|
|
5355
|
+
* retrieve/attach call only. Subsequent session method calls accept
|
|
5356
|
+
* their own per-call requestOptions.
|
|
5312
5357
|
* @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
|
|
5313
5358
|
*/
|
|
5314
5359
|
use: (id: string, options?: {
|
|
5315
5360
|
customTools?: CustomTool[];
|
|
5316
5361
|
customToolkits?: CustomToolkit[];
|
|
5317
|
-
}) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5362
|
+
}, requestOptions?: ComposioRequestOptions) => Promise<Session<unknown, unknown, TProvider>>;
|
|
5318
5363
|
/**
|
|
5319
5364
|
* Creates a new instance of the Composio SDK.
|
|
5320
5365
|
*
|
|
@@ -5434,4 +5479,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
5434
5479
|
flush(): Promise<void>;
|
|
5435
5480
|
}
|
|
5436
5481
|
//#endregion
|
|
5437
|
-
export { WebhookVersions as $, TriggerSubscribeParamSchema as A, ToolkitAuthConfigDetailsSchema as At, VerifyWebhookParamsSchema as B, ToolkitRetrieveCategoriesResponse as Bt, TriggerInstanceUpsertParams as C, ToolKitItem as Ct, TriggerStatusEnum as D, ToolKitMeta as Dt, TriggerInstanceUpsertResponseSchema as E, ToolKitListResponseSchema as Et, TriggersTypeListParamsSchema as F, ToolkitCategory as Ft, WebhookPayloadV1Schema as G, ToolkitSortByEnumSchema as Gt, WebhookPayload as H, ToolkitRetrieveResponse as Ht, TriggersTypeListResponse as I, ToolkitCategorySchema as It, WebhookPayloadV3 as J, WebhookPayloadV2 as K, ToolkitsListParamsSchema as Kt, TriggersTypeListResponseSchema as L, ToolkitListParams as Lt, TriggerType as M, ToolkitAuthFieldSchema as Mt, TriggerTypeSchema as N, ToolkitAuthFieldsResponse as Nt, TriggerStatusType as O, ToolKitMetaSchema as Ot, TriggersTypeListParams as P, ToolkitAuthFieldsResponseSchema as Pt, WebhookVersion as Q, TriggersTypeRetrieveResponse as R, ToolkitMangedByEnum as Rt, TriggerInstanceManageUpdateResponseSchema as S, CreateCustomAuthConfigParamsSchema as St, TriggerInstanceUpsertResponse as T, ToolKitListResponse as Tt, WebhookPayloadSchema as U, ToolkitRetrieveResponseSchema as Ut, VerifyWebhookResult as V, ToolkitRetrieveCategoriesResponseSchema as Vt, WebhookPayloadV1 as W, ToolkitSortByEnum as Wt, WebhookTriggerPayloadV3 as X, WebhookPayloadV3Schema as Y, WebhookTriggerPayloadV3Schema as Z, TriggerInstanceManageDeleteResponse as _, CreateAuthConfigParams as _t, Experimental as a, AuthConfigRetrieveResponse as at, TriggerInstanceManageUpdateParamsSchema as b, CreateAuthConfigResponseSchema as bt, TriggerData as c, AuthConfigType as ct, TriggerInstanceListActiveParams as d, AuthConfigUpdateParamsSchema as dt, AuthConfigCreationToolAccessConfigSchema as et, TriggerInstanceListActiveParamsSchema as f, AuthCustomConfigUpdateParamsSchema as ft, TriggerInstanceListActiveResponseSchema as g, AuthSchemeTypes as gt, TriggerInstanceListActiveResponseItemSchema as h, AuthSchemeType as ht, MCP as i, AuthConfigListResponseSchema as it, TriggerSubscribeParams as j, ToolkitAuthField as jt, TriggerStatuses as k, ToolkitAuthConfigDetails as kt, TriggerEvent as l, AuthConfigTypes as lt, TriggerInstanceListActiveResponseItem as m, AuthSchemeEnum as mt, ComposioConfig as n, AuthConfigListParamsSchema as nt, IncomingTriggerPayload as o, AuthConfigRetrieveResponseSchema as ot, TriggerInstanceListActiveResponse as p, AuthDefaultConfigUpdateParamsSchema as pt, WebhookPayloadV2Schema as q, OpenAIProvider as r, AuthConfigListResponse as rt, IncomingTriggerPayloadSchema as s, AuthConfigToolAccessConfigSchema as st, Composio$1 as t, AuthConfigListParams as tt, TriggerEventData as u, AuthConfigUpdateParams as ut, TriggerInstanceManageDeleteResponseSchema as v, CreateAuthConfigParamsSchema as vt, TriggerInstanceUpsertParamsSchema as w, ToolKitItemSchema as wt, TriggerInstanceManageUpdateResponse as x, CreateComposioManagedAuthConfigParamsSchema as xt, TriggerInstanceManageUpdateParams as y, CreateAuthConfigResponse as yt, VerifyWebhookParams as z, ToolkitMangedByEnumSchema as zt };
|
|
5482
|
+
export { WebhookVersions as $, TriggerSubscribeParamSchema as A, ToolkitAuthConfigDetailsSchema as At, VerifyWebhookParamsSchema as B, ToolkitRetrieveCategoriesResponse as Bt, TriggerInstanceUpsertParams as C, ToolKitItem as Ct, TriggerStatusEnum as D, ToolKitMeta as Dt, TriggerInstanceUpsertResponseSchema as E, ToolKitListResponseSchema as Et, TriggersTypeListParamsSchema as F, ToolkitCategory as Ft, WebhookPayloadV1Schema as G, ToolkitSortByEnumSchema as Gt, WebhookPayload as H, ToolkitRetrieveResponse as Ht, TriggersTypeListResponse as I, ToolkitCategorySchema as It, WebhookPayloadV3 as J, WebhookPayloadV2 as K, ToolkitsListParamsSchema as Kt, TriggersTypeListResponseSchema as L, ToolkitListParams as Lt, TriggerType as M, ToolkitAuthFieldSchema as Mt, TriggerTypeSchema as N, ToolkitAuthFieldsResponse as Nt, TriggerStatusType as O, ToolKitMetaSchema as Ot, TriggersTypeListParams as P, ToolkitAuthFieldsResponseSchema as Pt, WebhookVersion as Q, TriggersTypeRetrieveResponse as R, ToolkitMangedByEnum as Rt, TriggerInstanceManageUpdateResponseSchema as S, CreateCustomAuthConfigParamsSchema as St, TriggerInstanceUpsertResponse as T, ToolKitListResponse as Tt, WebhookPayloadSchema as U, ToolkitRetrieveResponseSchema as Ut, VerifyWebhookResult as V, ToolkitRetrieveCategoriesResponseSchema as Vt, WebhookPayloadV1 as W, ToolkitSortByEnum as Wt, WebhookTriggerPayloadV3 as X, WebhookPayloadV3Schema as Y, WebhookTriggerPayloadV3Schema as Z, TriggerInstanceManageDeleteResponse as _, CreateAuthConfigParams as _t, Experimental as a, AuthConfigRetrieveResponse as at, TriggerInstanceManageUpdateParamsSchema as b, CreateAuthConfigResponseSchema as bt, TriggerData as c, AuthConfigType as ct, TriggerInstanceListActiveParams as d, AuthConfigUpdateParamsSchema as dt, AuthConfigCreationToolAccessConfigSchema as et, TriggerInstanceListActiveParamsSchema as f, AuthCustomConfigUpdateParamsSchema as ft, TriggerInstanceListActiveResponseSchema as g, AuthSchemeTypes as gt, TriggerInstanceListActiveResponseItemSchema as h, AuthSchemeType as ht, MCP as i, AuthConfigListResponseSchema as it, TriggerSubscribeParams as j, ToolkitAuthField as jt, TriggerStatuses as k, ToolkitAuthConfigDetails as kt, TriggerEvent as l, AuthConfigTypes as lt, TriggerInstanceListActiveResponseItem as m, AuthSchemeEnum as mt, ComposioConfig as n, AuthConfigListParamsSchema as nt, IncomingTriggerPayload as o, AuthConfigRetrieveResponseSchema as ot, TriggerInstanceListActiveResponse as p, AuthDefaultConfigUpdateParamsSchema as pt, WebhookPayloadV2Schema as q, ComposioRequestOptions as qt, OpenAIProvider as r, AuthConfigListResponse as rt, IncomingTriggerPayloadSchema as s, AuthConfigToolAccessConfigSchema as st, Composio$1 as t, AuthConfigListParams as tt, TriggerEventData as u, AuthConfigUpdateParams as ut, TriggerInstanceManageDeleteResponseSchema as v, CreateAuthConfigParamsSchema as vt, TriggerInstanceUpsertParamsSchema as w, ToolKitItemSchema as wt, TriggerInstanceManageUpdateResponse as x, CreateComposioManagedAuthConfigParamsSchema as xt, TriggerInstanceManageUpdateParams as y, CreateAuthConfigResponse as yt, VerifyWebhookParams as z, ToolkitMangedByEnumSchema as zt };
|