@composio/core 0.1.18 → 0.1.20

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/index.d.cts CHANGED
@@ -40,9 +40,14 @@ declare const ToolSchema: z.ZodObject<{
40
40
  inputParameters: z.ZodOptional<z.ZodObject<{
41
41
  type: z.ZodLiteral<"object">;
42
42
  anyOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
43
+ oneOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
44
+ allOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
45
+ not: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
43
46
  properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>;
44
47
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
48
  title: z.ZodOptional<z.ZodString>;
49
+ default: z.ZodOptional<z.ZodAny>;
50
+ nullable: z.ZodOptional<z.ZodBoolean>;
46
51
  description: z.ZodOptional<z.ZodString>;
47
52
  additionalProperties: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
48
53
  }, "strip", z.ZodTypeAny, {
@@ -50,7 +55,12 @@ declare const ToolSchema: z.ZodObject<{
50
55
  properties: Record<string, unknown>;
51
56
  description?: string | undefined;
52
57
  anyOf?: unknown[] | undefined;
58
+ oneOf?: unknown[] | undefined;
59
+ allOf?: unknown[] | undefined;
60
+ not?: unknown;
53
61
  title?: string | undefined;
62
+ default?: any;
63
+ nullable?: boolean | undefined;
54
64
  required?: string[] | undefined;
55
65
  additionalProperties?: boolean | undefined;
56
66
  }, {
@@ -58,16 +68,26 @@ declare const ToolSchema: z.ZodObject<{
58
68
  properties: Record<string, unknown>;
59
69
  description?: string | undefined;
60
70
  anyOf?: unknown[] | undefined;
71
+ oneOf?: unknown[] | undefined;
72
+ allOf?: unknown[] | undefined;
73
+ not?: unknown;
61
74
  title?: string | undefined;
75
+ default?: any;
76
+ nullable?: boolean | undefined;
62
77
  required?: string[] | undefined;
63
78
  additionalProperties?: boolean | undefined;
64
79
  }>>;
65
80
  outputParameters: z.ZodOptional<z.ZodObject<{
66
81
  type: z.ZodLiteral<"object">;
67
82
  anyOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
83
+ oneOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
84
+ allOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
85
+ not: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
68
86
  properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>;
69
87
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
88
  title: z.ZodOptional<z.ZodString>;
89
+ default: z.ZodOptional<z.ZodAny>;
90
+ nullable: z.ZodOptional<z.ZodBoolean>;
71
91
  description: z.ZodOptional<z.ZodString>;
72
92
  additionalProperties: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
73
93
  }, "strip", z.ZodTypeAny, {
@@ -75,7 +95,12 @@ declare const ToolSchema: z.ZodObject<{
75
95
  properties: Record<string, unknown>;
76
96
  description?: string | undefined;
77
97
  anyOf?: unknown[] | undefined;
98
+ oneOf?: unknown[] | undefined;
99
+ allOf?: unknown[] | undefined;
100
+ not?: unknown;
78
101
  title?: string | undefined;
102
+ default?: any;
103
+ nullable?: boolean | undefined;
79
104
  required?: string[] | undefined;
80
105
  additionalProperties?: boolean | undefined;
81
106
  }, {
@@ -83,7 +108,12 @@ declare const ToolSchema: z.ZodObject<{
83
108
  properties: Record<string, unknown>;
84
109
  description?: string | undefined;
85
110
  anyOf?: unknown[] | undefined;
111
+ oneOf?: unknown[] | undefined;
112
+ allOf?: unknown[] | undefined;
113
+ not?: unknown;
86
114
  title?: string | undefined;
115
+ default?: any;
116
+ nullable?: boolean | undefined;
87
117
  required?: string[] | undefined;
88
118
  additionalProperties?: boolean | undefined;
89
119
  }>>;
@@ -112,7 +142,12 @@ declare const ToolSchema: z.ZodObject<{
112
142
  properties: Record<string, unknown>;
113
143
  description?: string | undefined;
114
144
  anyOf?: unknown[] | undefined;
145
+ oneOf?: unknown[] | undefined;
146
+ allOf?: unknown[] | undefined;
147
+ not?: unknown;
115
148
  title?: string | undefined;
149
+ default?: any;
150
+ nullable?: boolean | undefined;
116
151
  required?: string[] | undefined;
117
152
  additionalProperties?: boolean | undefined;
118
153
  } | undefined;
@@ -121,7 +156,12 @@ declare const ToolSchema: z.ZodObject<{
121
156
  properties: Record<string, unknown>;
122
157
  description?: string | undefined;
123
158
  anyOf?: unknown[] | undefined;
159
+ oneOf?: unknown[] | undefined;
160
+ allOf?: unknown[] | undefined;
161
+ not?: unknown;
124
162
  title?: string | undefined;
163
+ default?: any;
164
+ nullable?: boolean | undefined;
125
165
  required?: string[] | undefined;
126
166
  additionalProperties?: boolean | undefined;
127
167
  } | undefined;
@@ -140,7 +180,12 @@ declare const ToolSchema: z.ZodObject<{
140
180
  properties: Record<string, unknown>;
141
181
  description?: string | undefined;
142
182
  anyOf?: unknown[] | undefined;
183
+ oneOf?: unknown[] | undefined;
184
+ allOf?: unknown[] | undefined;
185
+ not?: unknown;
143
186
  title?: string | undefined;
187
+ default?: any;
188
+ nullable?: boolean | undefined;
144
189
  required?: string[] | undefined;
145
190
  additionalProperties?: boolean | undefined;
146
191
  } | undefined;
@@ -149,7 +194,12 @@ declare const ToolSchema: z.ZodObject<{
149
194
  properties: Record<string, unknown>;
150
195
  description?: string | undefined;
151
196
  anyOf?: unknown[] | undefined;
197
+ oneOf?: unknown[] | undefined;
198
+ allOf?: unknown[] | undefined;
199
+ not?: unknown;
152
200
  title?: string | undefined;
201
+ default?: any;
202
+ nullable?: boolean | undefined;
153
203
  required?: string[] | undefined;
154
204
  additionalProperties?: boolean | undefined;
155
205
  } | undefined;
@@ -173,9 +223,14 @@ declare const ToolListResponseSchema: z.ZodObject<{
173
223
  inputParameters: z.ZodOptional<z.ZodObject<{
174
224
  type: z.ZodLiteral<"object">;
175
225
  anyOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
226
+ oneOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
227
+ allOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
228
+ not: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
176
229
  properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>;
177
230
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
178
231
  title: z.ZodOptional<z.ZodString>;
232
+ default: z.ZodOptional<z.ZodAny>;
233
+ nullable: z.ZodOptional<z.ZodBoolean>;
179
234
  description: z.ZodOptional<z.ZodString>;
180
235
  additionalProperties: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
181
236
  }, "strip", z.ZodTypeAny, {
@@ -183,7 +238,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
183
238
  properties: Record<string, unknown>;
184
239
  description?: string | undefined;
185
240
  anyOf?: unknown[] | undefined;
241
+ oneOf?: unknown[] | undefined;
242
+ allOf?: unknown[] | undefined;
243
+ not?: unknown;
186
244
  title?: string | undefined;
245
+ default?: any;
246
+ nullable?: boolean | undefined;
187
247
  required?: string[] | undefined;
188
248
  additionalProperties?: boolean | undefined;
189
249
  }, {
@@ -191,16 +251,26 @@ declare const ToolListResponseSchema: z.ZodObject<{
191
251
  properties: Record<string, unknown>;
192
252
  description?: string | undefined;
193
253
  anyOf?: unknown[] | undefined;
254
+ oneOf?: unknown[] | undefined;
255
+ allOf?: unknown[] | undefined;
256
+ not?: unknown;
194
257
  title?: string | undefined;
258
+ default?: any;
259
+ nullable?: boolean | undefined;
195
260
  required?: string[] | undefined;
196
261
  additionalProperties?: boolean | undefined;
197
262
  }>>;
198
263
  outputParameters: z.ZodOptional<z.ZodObject<{
199
264
  type: z.ZodLiteral<"object">;
200
265
  anyOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
266
+ oneOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
267
+ allOf: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
268
+ not: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
201
269
  properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>;
202
270
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
271
  title: z.ZodOptional<z.ZodString>;
272
+ default: z.ZodOptional<z.ZodAny>;
273
+ nullable: z.ZodOptional<z.ZodBoolean>;
204
274
  description: z.ZodOptional<z.ZodString>;
205
275
  additionalProperties: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
206
276
  }, "strip", z.ZodTypeAny, {
@@ -208,7 +278,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
208
278
  properties: Record<string, unknown>;
209
279
  description?: string | undefined;
210
280
  anyOf?: unknown[] | undefined;
281
+ oneOf?: unknown[] | undefined;
282
+ allOf?: unknown[] | undefined;
283
+ not?: unknown;
211
284
  title?: string | undefined;
285
+ default?: any;
286
+ nullable?: boolean | undefined;
212
287
  required?: string[] | undefined;
213
288
  additionalProperties?: boolean | undefined;
214
289
  }, {
@@ -216,7 +291,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
216
291
  properties: Record<string, unknown>;
217
292
  description?: string | undefined;
218
293
  anyOf?: unknown[] | undefined;
294
+ oneOf?: unknown[] | undefined;
295
+ allOf?: unknown[] | undefined;
296
+ not?: unknown;
219
297
  title?: string | undefined;
298
+ default?: any;
299
+ nullable?: boolean | undefined;
220
300
  required?: string[] | undefined;
221
301
  additionalProperties?: boolean | undefined;
222
302
  }>>;
@@ -245,7 +325,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
245
325
  properties: Record<string, unknown>;
246
326
  description?: string | undefined;
247
327
  anyOf?: unknown[] | undefined;
328
+ oneOf?: unknown[] | undefined;
329
+ allOf?: unknown[] | undefined;
330
+ not?: unknown;
248
331
  title?: string | undefined;
332
+ default?: any;
333
+ nullable?: boolean | undefined;
249
334
  required?: string[] | undefined;
250
335
  additionalProperties?: boolean | undefined;
251
336
  } | undefined;
@@ -254,7 +339,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
254
339
  properties: Record<string, unknown>;
255
340
  description?: string | undefined;
256
341
  anyOf?: unknown[] | undefined;
342
+ oneOf?: unknown[] | undefined;
343
+ allOf?: unknown[] | undefined;
344
+ not?: unknown;
257
345
  title?: string | undefined;
346
+ default?: any;
347
+ nullable?: boolean | undefined;
258
348
  required?: string[] | undefined;
259
349
  additionalProperties?: boolean | undefined;
260
350
  } | undefined;
@@ -273,7 +363,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
273
363
  properties: Record<string, unknown>;
274
364
  description?: string | undefined;
275
365
  anyOf?: unknown[] | undefined;
366
+ oneOf?: unknown[] | undefined;
367
+ allOf?: unknown[] | undefined;
368
+ not?: unknown;
276
369
  title?: string | undefined;
370
+ default?: any;
371
+ nullable?: boolean | undefined;
277
372
  required?: string[] | undefined;
278
373
  additionalProperties?: boolean | undefined;
279
374
  } | undefined;
@@ -282,7 +377,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
282
377
  properties: Record<string, unknown>;
283
378
  description?: string | undefined;
284
379
  anyOf?: unknown[] | undefined;
380
+ oneOf?: unknown[] | undefined;
381
+ allOf?: unknown[] | undefined;
382
+ not?: unknown;
285
383
  title?: string | undefined;
384
+ default?: any;
385
+ nullable?: boolean | undefined;
286
386
  required?: string[] | undefined;
287
387
  additionalProperties?: boolean | undefined;
288
388
  } | undefined;
@@ -307,7 +407,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
307
407
  properties: Record<string, unknown>;
308
408
  description?: string | undefined;
309
409
  anyOf?: unknown[] | undefined;
410
+ oneOf?: unknown[] | undefined;
411
+ allOf?: unknown[] | undefined;
412
+ not?: unknown;
310
413
  title?: string | undefined;
414
+ default?: any;
415
+ nullable?: boolean | undefined;
311
416
  required?: string[] | undefined;
312
417
  additionalProperties?: boolean | undefined;
313
418
  } | undefined;
@@ -316,7 +421,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
316
421
  properties: Record<string, unknown>;
317
422
  description?: string | undefined;
318
423
  anyOf?: unknown[] | undefined;
424
+ oneOf?: unknown[] | undefined;
425
+ allOf?: unknown[] | undefined;
426
+ not?: unknown;
319
427
  title?: string | undefined;
428
+ default?: any;
429
+ nullable?: boolean | undefined;
320
430
  required?: string[] | undefined;
321
431
  additionalProperties?: boolean | undefined;
322
432
  } | undefined;
@@ -339,7 +449,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
339
449
  properties: Record<string, unknown>;
340
450
  description?: string | undefined;
341
451
  anyOf?: unknown[] | undefined;
452
+ oneOf?: unknown[] | undefined;
453
+ allOf?: unknown[] | undefined;
454
+ not?: unknown;
342
455
  title?: string | undefined;
456
+ default?: any;
457
+ nullable?: boolean | undefined;
343
458
  required?: string[] | undefined;
344
459
  additionalProperties?: boolean | undefined;
345
460
  } | undefined;
@@ -348,7 +463,12 @@ declare const ToolListResponseSchema: z.ZodObject<{
348
463
  properties: Record<string, unknown>;
349
464
  description?: string | undefined;
350
465
  anyOf?: unknown[] | undefined;
466
+ oneOf?: unknown[] | undefined;
467
+ allOf?: unknown[] | undefined;
468
+ not?: unknown;
351
469
  title?: string | undefined;
470
+ default?: any;
471
+ nullable?: boolean | undefined;
352
472
  required?: string[] | undefined;
353
473
  additionalProperties?: boolean | undefined;
354
474
  } | undefined;
@@ -11330,6 +11450,48 @@ declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
11330
11450
  }>;
11331
11451
  type ToolkitCategory = z.infer<typeof ToolkitCategorySchema>;
11332
11452
  type ToolkitRetrieveCategoriesResponse = z.infer<typeof ToolkitRetrieveCategoriesResponseSchema>;
11453
+ declare const ToolkitAuthFieldsResponseSchema: z.ZodObject<{
11454
+ authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
11455
+ fields: z.ZodArray<z.ZodObject<{
11456
+ name: z.ZodString;
11457
+ displayName: z.ZodString;
11458
+ type: z.ZodString;
11459
+ default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11460
+ } & {
11461
+ required: z.ZodOptional<z.ZodBoolean>;
11462
+ }, "strip", z.ZodTypeAny, {
11463
+ name: string;
11464
+ type: string;
11465
+ displayName: string;
11466
+ default?: string | null | undefined;
11467
+ required?: boolean | undefined;
11468
+ }, {
11469
+ name: string;
11470
+ type: string;
11471
+ displayName: string;
11472
+ default?: string | null | undefined;
11473
+ required?: boolean | undefined;
11474
+ }>, "many">;
11475
+ }, "strip", z.ZodTypeAny, {
11476
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
11477
+ fields: {
11478
+ name: string;
11479
+ type: string;
11480
+ displayName: string;
11481
+ default?: string | null | undefined;
11482
+ required?: boolean | undefined;
11483
+ }[];
11484
+ }, {
11485
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
11486
+ fields: {
11487
+ name: string;
11488
+ type: string;
11489
+ displayName: string;
11490
+ default?: string | null | undefined;
11491
+ required?: boolean | undefined;
11492
+ }[];
11493
+ }>;
11494
+ type ToolkitAuthFieldsResponse = z.infer<typeof ToolkitAuthFieldsResponseSchema>;
11333
11495
 
11334
11496
  /**
11335
11497
  * Connected Account create parameters
@@ -39648,6 +39810,352 @@ declare class ConnectionRequest {
39648
39810
  toString(): string;
39649
39811
  }
39650
39812
 
39813
+ declare const AuthConfigTypes: {
39814
+ readonly CUSTOM: "use_custom_auth";
39815
+ readonly COMPOSIO_MANAGED: "use_composio_managed_auth";
39816
+ };
39817
+ type AuthConfigType = (typeof AuthConfigTypes)[keyof typeof AuthConfigTypes];
39818
+ declare const AuthSchemeTypes: {
39819
+ readonly OAUTH2: "OAUTH2";
39820
+ readonly OAUTH1: "OAUTH1";
39821
+ readonly OAUTH1A: "OAUTH1A";
39822
+ readonly API_KEY: "API_KEY";
39823
+ readonly BASIC: "BASIC";
39824
+ readonly BILLCOM_AUTH: "BILLCOM_AUTH";
39825
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
39826
+ readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
39827
+ readonly NO_AUTH: "NO_AUTH";
39828
+ readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
39829
+ readonly COMPOSIO_LINK: "COMPOSIO_LINK";
39830
+ readonly CALCOM_AUTH: "CALCOM_AUTH";
39831
+ readonly SNOWFLAKE: "SNOWFLAKE";
39832
+ };
39833
+ type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
39834
+ declare const AuthSchemeEnum: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
39835
+ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
39836
+ type: z.ZodLiteral<"use_custom_auth">;
39837
+ name: z.ZodOptional<z.ZodString>;
39838
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
39839
+ authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
39840
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39841
+ }, "strip", z.ZodTypeAny, {
39842
+ type: "use_custom_auth";
39843
+ credentials: Record<string, string | number | boolean>;
39844
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
39845
+ name?: string | undefined;
39846
+ restrictToFollowingTools?: string[] | undefined;
39847
+ }, {
39848
+ type: "use_custom_auth";
39849
+ credentials: Record<string, string | number | boolean>;
39850
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
39851
+ name?: string | undefined;
39852
+ restrictToFollowingTools?: string[] | undefined;
39853
+ }>;
39854
+ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
39855
+ type: z.ZodLiteral<"use_composio_managed_auth">;
39856
+ name: z.ZodOptional<z.ZodString>;
39857
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
39858
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39859
+ }, "strip", z.ZodTypeAny, {
39860
+ type: "use_composio_managed_auth";
39861
+ name?: string | undefined;
39862
+ credentials?: Record<string, string | number | boolean> | undefined;
39863
+ restrictToFollowingTools?: string[] | undefined;
39864
+ }, {
39865
+ type: "use_composio_managed_auth";
39866
+ name?: string | undefined;
39867
+ credentials?: Record<string, string | number | boolean> | undefined;
39868
+ restrictToFollowingTools?: string[] | undefined;
39869
+ }>;
39870
+ /**
39871
+ * Discriminated union of all possible auth config types.
39872
+ */
39873
+ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
39874
+ type: z.ZodLiteral<"use_custom_auth">;
39875
+ name: z.ZodOptional<z.ZodString>;
39876
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
39877
+ authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
39878
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39879
+ }, "strip", z.ZodTypeAny, {
39880
+ type: "use_custom_auth";
39881
+ credentials: Record<string, string | number | boolean>;
39882
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
39883
+ name?: string | undefined;
39884
+ restrictToFollowingTools?: string[] | undefined;
39885
+ }, {
39886
+ type: "use_custom_auth";
39887
+ credentials: Record<string, string | number | boolean>;
39888
+ authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
39889
+ name?: string | undefined;
39890
+ restrictToFollowingTools?: string[] | undefined;
39891
+ }>, z.ZodObject<{
39892
+ type: z.ZodLiteral<"use_composio_managed_auth">;
39893
+ name: z.ZodOptional<z.ZodString>;
39894
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
39895
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39896
+ }, "strip", z.ZodTypeAny, {
39897
+ type: "use_composio_managed_auth";
39898
+ name?: string | undefined;
39899
+ credentials?: Record<string, string | number | boolean> | undefined;
39900
+ restrictToFollowingTools?: string[] | undefined;
39901
+ }, {
39902
+ type: "use_composio_managed_auth";
39903
+ name?: string | undefined;
39904
+ credentials?: Record<string, string | number | boolean> | undefined;
39905
+ restrictToFollowingTools?: string[] | undefined;
39906
+ }>]>;
39907
+ type CreateAuthConfigParams = z.infer<typeof CreateAuthConfigParamsSchema>;
39908
+ declare const CreateAuthConfigResponseSchema: z.ZodObject<{
39909
+ id: z.ZodString;
39910
+ authScheme: z.ZodString;
39911
+ isComposioManaged: z.ZodBoolean;
39912
+ toolkit: z.ZodString;
39913
+ }, "strip", z.ZodTypeAny, {
39914
+ toolkit: string;
39915
+ authScheme: string;
39916
+ id: string;
39917
+ isComposioManaged: boolean;
39918
+ }, {
39919
+ toolkit: string;
39920
+ authScheme: string;
39921
+ id: string;
39922
+ isComposioManaged: boolean;
39923
+ }>;
39924
+ type CreateAuthConfigResponse = z.infer<typeof CreateAuthConfigResponseSchema>;
39925
+ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
39926
+ id: z.ZodString;
39927
+ name: z.ZodString;
39928
+ toolkit: z.ZodObject<{
39929
+ logo: z.ZodString;
39930
+ slug: z.ZodString;
39931
+ }, "strip", z.ZodTypeAny, {
39932
+ slug: string;
39933
+ logo: string;
39934
+ }, {
39935
+ slug: string;
39936
+ logo: string;
39937
+ }>;
39938
+ noOfConnections: z.ZodNumber;
39939
+ status: z.ZodEnum<["ENABLED", "DISABLED"]>;
39940
+ uuid: z.ZodString;
39941
+ authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
39942
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39943
+ expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
39944
+ isComposioManaged: z.ZodOptional<z.ZodBoolean>;
39945
+ createdBy: z.ZodOptional<z.ZodString>;
39946
+ createdAt: z.ZodOptional<z.ZodString>;
39947
+ lastUpdatedAt: z.ZodOptional<z.ZodString>;
39948
+ }, "strip", z.ZodTypeAny, {
39949
+ name: string;
39950
+ status: "ENABLED" | "DISABLED";
39951
+ toolkit: {
39952
+ slug: string;
39953
+ logo: string;
39954
+ };
39955
+ id: string;
39956
+ noOfConnections: number;
39957
+ uuid: string;
39958
+ credentials?: Record<string, unknown> | undefined;
39959
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
39960
+ isComposioManaged?: boolean | undefined;
39961
+ expectedInputFields?: unknown[] | undefined;
39962
+ createdBy?: string | undefined;
39963
+ createdAt?: string | undefined;
39964
+ lastUpdatedAt?: string | undefined;
39965
+ }, {
39966
+ name: string;
39967
+ status: "ENABLED" | "DISABLED";
39968
+ toolkit: {
39969
+ slug: string;
39970
+ logo: string;
39971
+ };
39972
+ id: string;
39973
+ noOfConnections: number;
39974
+ uuid: string;
39975
+ credentials?: Record<string, unknown> | undefined;
39976
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
39977
+ isComposioManaged?: boolean | undefined;
39978
+ expectedInputFields?: unknown[] | undefined;
39979
+ createdBy?: string | undefined;
39980
+ createdAt?: string | undefined;
39981
+ lastUpdatedAt?: string | undefined;
39982
+ }>;
39983
+ type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
39984
+ declare const AuthConfigListParamsSchema: z.ZodObject<{
39985
+ cursor: z.ZodOptional<z.ZodString>;
39986
+ isComposioManaged: z.ZodOptional<z.ZodBoolean>;
39987
+ limit: z.ZodOptional<z.ZodNumber>;
39988
+ toolkit: z.ZodOptional<z.ZodString>;
39989
+ }, "strip", z.ZodTypeAny, {
39990
+ toolkit?: string | undefined;
39991
+ cursor?: string | undefined;
39992
+ limit?: number | undefined;
39993
+ isComposioManaged?: boolean | undefined;
39994
+ }, {
39995
+ toolkit?: string | undefined;
39996
+ cursor?: string | undefined;
39997
+ limit?: number | undefined;
39998
+ isComposioManaged?: boolean | undefined;
39999
+ }>;
40000
+ type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
40001
+ declare const AuthConfigListResponseSchema: z.ZodObject<{
40002
+ items: z.ZodArray<z.ZodObject<{
40003
+ id: z.ZodString;
40004
+ name: z.ZodString;
40005
+ toolkit: z.ZodObject<{
40006
+ logo: z.ZodString;
40007
+ slug: z.ZodString;
40008
+ }, "strip", z.ZodTypeAny, {
40009
+ slug: string;
40010
+ logo: string;
40011
+ }, {
40012
+ slug: string;
40013
+ logo: string;
40014
+ }>;
40015
+ noOfConnections: z.ZodNumber;
40016
+ status: z.ZodEnum<["ENABLED", "DISABLED"]>;
40017
+ uuid: z.ZodString;
40018
+ authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
40019
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40020
+ expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
40021
+ isComposioManaged: z.ZodOptional<z.ZodBoolean>;
40022
+ createdBy: z.ZodOptional<z.ZodString>;
40023
+ createdAt: z.ZodOptional<z.ZodString>;
40024
+ lastUpdatedAt: z.ZodOptional<z.ZodString>;
40025
+ }, "strip", z.ZodTypeAny, {
40026
+ name: string;
40027
+ status: "ENABLED" | "DISABLED";
40028
+ toolkit: {
40029
+ slug: string;
40030
+ logo: string;
40031
+ };
40032
+ id: string;
40033
+ noOfConnections: number;
40034
+ uuid: string;
40035
+ credentials?: Record<string, unknown> | undefined;
40036
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40037
+ isComposioManaged?: boolean | undefined;
40038
+ expectedInputFields?: unknown[] | undefined;
40039
+ createdBy?: string | undefined;
40040
+ createdAt?: string | undefined;
40041
+ lastUpdatedAt?: string | undefined;
40042
+ }, {
40043
+ name: string;
40044
+ status: "ENABLED" | "DISABLED";
40045
+ toolkit: {
40046
+ slug: string;
40047
+ logo: string;
40048
+ };
40049
+ id: string;
40050
+ noOfConnections: number;
40051
+ uuid: string;
40052
+ credentials?: Record<string, unknown> | undefined;
40053
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40054
+ isComposioManaged?: boolean | undefined;
40055
+ expectedInputFields?: unknown[] | undefined;
40056
+ createdBy?: string | undefined;
40057
+ createdAt?: string | undefined;
40058
+ lastUpdatedAt?: string | undefined;
40059
+ }>, "many">;
40060
+ nextCursor: z.ZodNullable<z.ZodString>;
40061
+ totalPages: z.ZodNumber;
40062
+ }, "strip", z.ZodTypeAny, {
40063
+ items: {
40064
+ name: string;
40065
+ status: "ENABLED" | "DISABLED";
40066
+ toolkit: {
40067
+ slug: string;
40068
+ logo: string;
40069
+ };
40070
+ id: string;
40071
+ noOfConnections: number;
40072
+ uuid: string;
40073
+ credentials?: Record<string, unknown> | undefined;
40074
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40075
+ isComposioManaged?: boolean | undefined;
40076
+ expectedInputFields?: unknown[] | undefined;
40077
+ createdBy?: string | undefined;
40078
+ createdAt?: string | undefined;
40079
+ lastUpdatedAt?: string | undefined;
40080
+ }[];
40081
+ nextCursor: string | null;
40082
+ totalPages: number;
40083
+ }, {
40084
+ items: {
40085
+ name: string;
40086
+ status: "ENABLED" | "DISABLED";
40087
+ toolkit: {
40088
+ slug: string;
40089
+ logo: string;
40090
+ };
40091
+ id: string;
40092
+ noOfConnections: number;
40093
+ uuid: string;
40094
+ credentials?: Record<string, unknown> | undefined;
40095
+ authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40096
+ isComposioManaged?: boolean | undefined;
40097
+ expectedInputFields?: unknown[] | undefined;
40098
+ createdBy?: string | undefined;
40099
+ createdAt?: string | undefined;
40100
+ lastUpdatedAt?: string | undefined;
40101
+ }[];
40102
+ nextCursor: string | null;
40103
+ totalPages: number;
40104
+ }>;
40105
+ type AuthConfigListResponse = z.infer<typeof AuthConfigListResponseSchema>;
40106
+ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
40107
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
40108
+ type: z.ZodLiteral<"custom">;
40109
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40110
+ }, "strip", z.ZodTypeAny, {
40111
+ type: "custom";
40112
+ credentials: Record<string, unknown>;
40113
+ restrictToFollowingTools?: string[] | undefined;
40114
+ }, {
40115
+ type: "custom";
40116
+ credentials: Record<string, unknown>;
40117
+ restrictToFollowingTools?: string[] | undefined;
40118
+ }>;
40119
+ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
40120
+ scopes: z.ZodString;
40121
+ type: z.ZodLiteral<"default">;
40122
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40123
+ }, "strip", z.ZodTypeAny, {
40124
+ type: "default";
40125
+ scopes: string;
40126
+ restrictToFollowingTools?: string[] | undefined;
40127
+ }, {
40128
+ type: "default";
40129
+ scopes: string;
40130
+ restrictToFollowingTools?: string[] | undefined;
40131
+ }>;
40132
+ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
40133
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
40134
+ type: z.ZodLiteral<"custom">;
40135
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40136
+ }, "strip", z.ZodTypeAny, {
40137
+ type: "custom";
40138
+ credentials: Record<string, unknown>;
40139
+ restrictToFollowingTools?: string[] | undefined;
40140
+ }, {
40141
+ type: "custom";
40142
+ credentials: Record<string, unknown>;
40143
+ restrictToFollowingTools?: string[] | undefined;
40144
+ }>, z.ZodObject<{
40145
+ scopes: z.ZodString;
40146
+ type: z.ZodLiteral<"default">;
40147
+ restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40148
+ }, "strip", z.ZodTypeAny, {
40149
+ type: "default";
40150
+ scopes: string;
40151
+ restrictToFollowingTools?: string[] | undefined;
40152
+ }, {
40153
+ type: "default";
40154
+ scopes: string;
40155
+ restrictToFollowingTools?: string[] | undefined;
40156
+ }>]>;
40157
+ type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
40158
+
39651
40159
  /**
39652
40160
  * Toolkits class
39653
40161
  *
@@ -39682,7 +40190,7 @@ declare class Toolkits {
39682
40190
  *
39683
40191
  * @private
39684
40192
  */
39685
- private getToolkitBySlug;
40193
+ protected getToolkitBySlug(slug: string): Promise<ToolkitRetrieveResponse>;
39686
40194
  /**
39687
40195
  * Retrieves a specific toolkit by its slug identifier.
39688
40196
  *
@@ -39722,6 +40230,29 @@ declare class Toolkits {
39722
40230
  * ```
39723
40231
  */
39724
40232
  get(query: ToolkitListParams): Promise<ToolKitListResponse>;
40233
+ private getAuthConfigFields;
40234
+ /**
40235
+ * Retrieves the fields required for creating an auth config for a toolkit.
40236
+ * @param toolkitSlug - The slug of the toolkit to retrieve the fields for
40237
+ * @param authScheme - The auth scheme to retrieve the fields for
40238
+ * @param requiredOnly - Whether to only return the required fields
40239
+ * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for creating an auth config
40240
+ */
40241
+ getAuthConfigCreationFields(toolkitSlug: string, { authScheme, requiredOnly, }?: {
40242
+ authScheme?: AuthSchemeType;
40243
+ requiredOnly?: boolean;
40244
+ }): Promise<ToolkitAuthFieldsResponse>;
40245
+ /**
40246
+ * Retrieves the fields required for initiating a connected account for a toolkit.
40247
+ * @param toolkitSlug - The slug of the toolkit to retrieve the fields for
40248
+ * @param authScheme - The auth scheme to retrieve the fields for
40249
+ * @param requiredOnly - Whether to only return the required fields
40250
+ * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for initiating a connected account
40251
+ */
40252
+ getConnectedAccountInitiationFields(toolkitSlug: string, { authScheme, requiredOnly, }?: {
40253
+ authScheme?: AuthSchemeType;
40254
+ requiredOnly?: boolean;
40255
+ }): Promise<ToolkitAuthFieldsResponse>;
39725
40256
  /**
39726
40257
  * Retrieves all toolkit categories available in the Composio SDK.
39727
40258
  *
@@ -40017,8 +40548,6 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
40017
40548
  }, "strip", z.ZodTypeAny, {
40018
40549
  userId: string;
40019
40550
  id: string;
40020
- toolkitSlug: string;
40021
- triggerSlug: string;
40022
40551
  metadata: {
40023
40552
  id: string;
40024
40553
  toolkitSlug: string;
@@ -40034,13 +40563,13 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
40034
40563
  };
40035
40564
  triggerData?: string | undefined;
40036
40565
  };
40566
+ toolkitSlug: string;
40567
+ triggerSlug: string;
40037
40568
  payload?: Record<string, unknown> | undefined;
40038
40569
  originalPayload?: Record<string, unknown> | undefined;
40039
40570
  }, {
40040
40571
  userId: string;
40041
40572
  id: string;
40042
- toolkitSlug: string;
40043
- triggerSlug: string;
40044
40573
  metadata: {
40045
40574
  id: string;
40046
40575
  toolkitSlug: string;
@@ -40056,6 +40585,8 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
40056
40585
  };
40057
40586
  triggerData?: string | undefined;
40058
40587
  };
40588
+ toolkitSlug: string;
40589
+ triggerSlug: string;
40059
40590
  payload?: Record<string, unknown> | undefined;
40060
40591
  originalPayload?: Record<string, unknown> | undefined;
40061
40592
  }>;
@@ -40211,352 +40742,6 @@ declare class Triggers {
40211
40742
  unsubscribe(): Promise<void>;
40212
40743
  }
40213
40744
 
40214
- declare const AuthConfigTypes: {
40215
- readonly CUSTOM: "use_custom_auth";
40216
- readonly COMPOSIO_MANAGED: "use_composio_managed_auth";
40217
- };
40218
- type AuthConfigType = (typeof AuthConfigTypes)[keyof typeof AuthConfigTypes];
40219
- declare const AuthSchemeTypes: {
40220
- readonly OAUTH2: "OAUTH2";
40221
- readonly OAUTH1: "OAUTH1";
40222
- readonly OAUTH1A: "OAUTH1A";
40223
- readonly API_KEY: "API_KEY";
40224
- readonly BASIC: "BASIC";
40225
- readonly BILLCOM_AUTH: "BILLCOM_AUTH";
40226
- readonly BEARER_TOKEN: "BEARER_TOKEN";
40227
- readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
40228
- readonly NO_AUTH: "NO_AUTH";
40229
- readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
40230
- readonly COMPOSIO_LINK: "COMPOSIO_LINK";
40231
- readonly CALCOM_AUTH: "CALCOM_AUTH";
40232
- readonly SNOWFLAKE: "SNOWFLAKE";
40233
- };
40234
- type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
40235
- declare const AuthSchemeEnum: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
40236
- declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
40237
- type: z.ZodLiteral<"use_custom_auth">;
40238
- name: z.ZodOptional<z.ZodString>;
40239
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
40240
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
40241
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40242
- }, "strip", z.ZodTypeAny, {
40243
- type: "use_custom_auth";
40244
- credentials: Record<string, string | number | boolean>;
40245
- authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
40246
- name?: string | undefined;
40247
- restrictToFollowingTools?: string[] | undefined;
40248
- }, {
40249
- type: "use_custom_auth";
40250
- credentials: Record<string, string | number | boolean>;
40251
- authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
40252
- name?: string | undefined;
40253
- restrictToFollowingTools?: string[] | undefined;
40254
- }>;
40255
- declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
40256
- type: z.ZodLiteral<"use_composio_managed_auth">;
40257
- name: z.ZodOptional<z.ZodString>;
40258
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
40259
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40260
- }, "strip", z.ZodTypeAny, {
40261
- type: "use_composio_managed_auth";
40262
- name?: string | undefined;
40263
- credentials?: Record<string, string | number | boolean> | undefined;
40264
- restrictToFollowingTools?: string[] | undefined;
40265
- }, {
40266
- type: "use_composio_managed_auth";
40267
- name?: string | undefined;
40268
- credentials?: Record<string, string | number | boolean> | undefined;
40269
- restrictToFollowingTools?: string[] | undefined;
40270
- }>;
40271
- /**
40272
- * Discriminated union of all possible auth config types.
40273
- */
40274
- declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
40275
- type: z.ZodLiteral<"use_custom_auth">;
40276
- name: z.ZodOptional<z.ZodString>;
40277
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
40278
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>;
40279
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40280
- }, "strip", z.ZodTypeAny, {
40281
- type: "use_custom_auth";
40282
- credentials: Record<string, string | number | boolean>;
40283
- authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
40284
- name?: string | undefined;
40285
- restrictToFollowingTools?: string[] | undefined;
40286
- }, {
40287
- type: "use_custom_auth";
40288
- credentials: Record<string, string | number | boolean>;
40289
- authScheme: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE";
40290
- name?: string | undefined;
40291
- restrictToFollowingTools?: string[] | undefined;
40292
- }>, z.ZodObject<{
40293
- type: z.ZodLiteral<"use_composio_managed_auth">;
40294
- name: z.ZodOptional<z.ZodString>;
40295
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
40296
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40297
- }, "strip", z.ZodTypeAny, {
40298
- type: "use_composio_managed_auth";
40299
- name?: string | undefined;
40300
- credentials?: Record<string, string | number | boolean> | undefined;
40301
- restrictToFollowingTools?: string[] | undefined;
40302
- }, {
40303
- type: "use_composio_managed_auth";
40304
- name?: string | undefined;
40305
- credentials?: Record<string, string | number | boolean> | undefined;
40306
- restrictToFollowingTools?: string[] | undefined;
40307
- }>]>;
40308
- type CreateAuthConfigParams = z.infer<typeof CreateAuthConfigParamsSchema>;
40309
- declare const CreateAuthConfigResponseSchema: z.ZodObject<{
40310
- id: z.ZodString;
40311
- authScheme: z.ZodString;
40312
- isComposioManaged: z.ZodBoolean;
40313
- toolkit: z.ZodString;
40314
- }, "strip", z.ZodTypeAny, {
40315
- toolkit: string;
40316
- authScheme: string;
40317
- id: string;
40318
- isComposioManaged: boolean;
40319
- }, {
40320
- toolkit: string;
40321
- authScheme: string;
40322
- id: string;
40323
- isComposioManaged: boolean;
40324
- }>;
40325
- type CreateAuthConfigResponse = z.infer<typeof CreateAuthConfigResponseSchema>;
40326
- declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
40327
- id: z.ZodString;
40328
- name: z.ZodString;
40329
- toolkit: z.ZodObject<{
40330
- logo: z.ZodString;
40331
- slug: z.ZodString;
40332
- }, "strip", z.ZodTypeAny, {
40333
- slug: string;
40334
- logo: string;
40335
- }, {
40336
- slug: string;
40337
- logo: string;
40338
- }>;
40339
- noOfConnections: z.ZodNumber;
40340
- status: z.ZodEnum<["ENABLED", "DISABLED"]>;
40341
- uuid: z.ZodString;
40342
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
40343
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40344
- expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
40345
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
40346
- createdBy: z.ZodOptional<z.ZodString>;
40347
- createdAt: z.ZodOptional<z.ZodString>;
40348
- lastUpdatedAt: z.ZodOptional<z.ZodString>;
40349
- }, "strip", z.ZodTypeAny, {
40350
- name: string;
40351
- status: "ENABLED" | "DISABLED";
40352
- toolkit: {
40353
- slug: string;
40354
- logo: string;
40355
- };
40356
- id: string;
40357
- noOfConnections: number;
40358
- uuid: string;
40359
- credentials?: Record<string, unknown> | undefined;
40360
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40361
- isComposioManaged?: boolean | undefined;
40362
- expectedInputFields?: unknown[] | undefined;
40363
- createdBy?: string | undefined;
40364
- createdAt?: string | undefined;
40365
- lastUpdatedAt?: string | undefined;
40366
- }, {
40367
- name: string;
40368
- status: "ENABLED" | "DISABLED";
40369
- toolkit: {
40370
- slug: string;
40371
- logo: string;
40372
- };
40373
- id: string;
40374
- noOfConnections: number;
40375
- uuid: string;
40376
- credentials?: Record<string, unknown> | undefined;
40377
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40378
- isComposioManaged?: boolean | undefined;
40379
- expectedInputFields?: unknown[] | undefined;
40380
- createdBy?: string | undefined;
40381
- createdAt?: string | undefined;
40382
- lastUpdatedAt?: string | undefined;
40383
- }>;
40384
- type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
40385
- declare const AuthConfigListParamsSchema: z.ZodObject<{
40386
- cursor: z.ZodOptional<z.ZodString>;
40387
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
40388
- limit: z.ZodOptional<z.ZodNumber>;
40389
- toolkit: z.ZodOptional<z.ZodString>;
40390
- }, "strip", z.ZodTypeAny, {
40391
- toolkit?: string | undefined;
40392
- cursor?: string | undefined;
40393
- limit?: number | undefined;
40394
- isComposioManaged?: boolean | undefined;
40395
- }, {
40396
- toolkit?: string | undefined;
40397
- cursor?: string | undefined;
40398
- limit?: number | undefined;
40399
- isComposioManaged?: boolean | undefined;
40400
- }>;
40401
- type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
40402
- declare const AuthConfigListResponseSchema: z.ZodObject<{
40403
- items: z.ZodArray<z.ZodObject<{
40404
- id: z.ZodString;
40405
- name: z.ZodString;
40406
- toolkit: z.ZodObject<{
40407
- logo: z.ZodString;
40408
- slug: z.ZodString;
40409
- }, "strip", z.ZodTypeAny, {
40410
- slug: string;
40411
- logo: string;
40412
- }, {
40413
- slug: string;
40414
- logo: string;
40415
- }>;
40416
- noOfConnections: z.ZodNumber;
40417
- status: z.ZodEnum<["ENABLED", "DISABLED"]>;
40418
- uuid: z.ZodString;
40419
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
40420
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40421
- expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
40422
- isComposioManaged: z.ZodOptional<z.ZodBoolean>;
40423
- createdBy: z.ZodOptional<z.ZodString>;
40424
- createdAt: z.ZodOptional<z.ZodString>;
40425
- lastUpdatedAt: z.ZodOptional<z.ZodString>;
40426
- }, "strip", z.ZodTypeAny, {
40427
- name: string;
40428
- status: "ENABLED" | "DISABLED";
40429
- toolkit: {
40430
- slug: string;
40431
- logo: string;
40432
- };
40433
- id: string;
40434
- noOfConnections: number;
40435
- uuid: string;
40436
- credentials?: Record<string, unknown> | undefined;
40437
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40438
- isComposioManaged?: boolean | undefined;
40439
- expectedInputFields?: unknown[] | undefined;
40440
- createdBy?: string | undefined;
40441
- createdAt?: string | undefined;
40442
- lastUpdatedAt?: string | undefined;
40443
- }, {
40444
- name: string;
40445
- status: "ENABLED" | "DISABLED";
40446
- toolkit: {
40447
- slug: string;
40448
- logo: string;
40449
- };
40450
- id: string;
40451
- noOfConnections: number;
40452
- uuid: string;
40453
- credentials?: Record<string, unknown> | undefined;
40454
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40455
- isComposioManaged?: boolean | undefined;
40456
- expectedInputFields?: unknown[] | undefined;
40457
- createdBy?: string | undefined;
40458
- createdAt?: string | undefined;
40459
- lastUpdatedAt?: string | undefined;
40460
- }>, "many">;
40461
- nextCursor: z.ZodNullable<z.ZodString>;
40462
- totalPages: z.ZodNumber;
40463
- }, "strip", z.ZodTypeAny, {
40464
- items: {
40465
- name: string;
40466
- status: "ENABLED" | "DISABLED";
40467
- toolkit: {
40468
- slug: string;
40469
- logo: string;
40470
- };
40471
- id: string;
40472
- noOfConnections: number;
40473
- uuid: string;
40474
- credentials?: Record<string, unknown> | undefined;
40475
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40476
- isComposioManaged?: boolean | undefined;
40477
- expectedInputFields?: unknown[] | undefined;
40478
- createdBy?: string | undefined;
40479
- createdAt?: string | undefined;
40480
- lastUpdatedAt?: string | undefined;
40481
- }[];
40482
- nextCursor: string | null;
40483
- totalPages: number;
40484
- }, {
40485
- items: {
40486
- name: string;
40487
- status: "ENABLED" | "DISABLED";
40488
- toolkit: {
40489
- slug: string;
40490
- logo: string;
40491
- };
40492
- id: string;
40493
- noOfConnections: number;
40494
- uuid: string;
40495
- credentials?: Record<string, unknown> | undefined;
40496
- authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
40497
- isComposioManaged?: boolean | undefined;
40498
- expectedInputFields?: unknown[] | undefined;
40499
- createdBy?: string | undefined;
40500
- createdAt?: string | undefined;
40501
- lastUpdatedAt?: string | undefined;
40502
- }[];
40503
- nextCursor: string | null;
40504
- totalPages: number;
40505
- }>;
40506
- type AuthConfigListResponse = z.infer<typeof AuthConfigListResponseSchema>;
40507
- declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
40508
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
40509
- type: z.ZodLiteral<"custom">;
40510
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40511
- }, "strip", z.ZodTypeAny, {
40512
- type: "custom";
40513
- credentials: Record<string, unknown>;
40514
- restrictToFollowingTools?: string[] | undefined;
40515
- }, {
40516
- type: "custom";
40517
- credentials: Record<string, unknown>;
40518
- restrictToFollowingTools?: string[] | undefined;
40519
- }>;
40520
- declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
40521
- scopes: z.ZodString;
40522
- type: z.ZodLiteral<"default">;
40523
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40524
- }, "strip", z.ZodTypeAny, {
40525
- type: "default";
40526
- scopes: string;
40527
- restrictToFollowingTools?: string[] | undefined;
40528
- }, {
40529
- type: "default";
40530
- scopes: string;
40531
- restrictToFollowingTools?: string[] | undefined;
40532
- }>;
40533
- declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
40534
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
40535
- type: z.ZodLiteral<"custom">;
40536
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40537
- }, "strip", z.ZodTypeAny, {
40538
- type: "custom";
40539
- credentials: Record<string, unknown>;
40540
- restrictToFollowingTools?: string[] | undefined;
40541
- }, {
40542
- type: "custom";
40543
- credentials: Record<string, unknown>;
40544
- restrictToFollowingTools?: string[] | undefined;
40545
- }>, z.ZodObject<{
40546
- scopes: z.ZodString;
40547
- type: z.ZodLiteral<"default">;
40548
- restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40549
- }, "strip", z.ZodTypeAny, {
40550
- type: "default";
40551
- scopes: string;
40552
- restrictToFollowingTools?: string[] | undefined;
40553
- }, {
40554
- type: "default";
40555
- scopes: string;
40556
- restrictToFollowingTools?: string[] | undefined;
40557
- }>]>;
40558
- type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
40559
-
40560
40745
  /**
40561
40746
  * @fileoverview Auth configs class for Composio SDK, used to manage authentication configurations.
40562
40747
  *
@@ -40993,29 +41178,6 @@ declare class ConnectedAccounts {
40993
41178
  disable(nanoid: string): Promise<ConnectedAccountUpdateStatusResponse>;
40994
41179
  }
40995
41180
 
40996
- type AcceptableJSONValue = Record<string, unknown> | Array<Record<string, unknown>> | string | number | boolean | null | undefined;
40997
- interface TelemetryTransportParams {
40998
- url: string;
40999
- method: string;
41000
- headers: Record<string, string>;
41001
- data: AcceptableJSONValue;
41002
- }
41003
-
41004
- declare abstract class BaseTelemetryTransport {
41005
- /**
41006
- * Send the payload to the telemetry service.
41007
- * @param payload - The payload to send.
41008
- */
41009
- abstract send(payload: TelemetryTransportParams): Promise<void>;
41010
- }
41011
- /**
41012
- * A telemetry transport that logs to the console.
41013
- * This is just for testing purposes.
41014
- */
41015
- declare class ConsoleTelemetryTransport implements BaseTelemetryTransport {
41016
- send(payload: TelemetryTransportParams): Promise<void>;
41017
- }
41018
-
41019
41181
  /**
41020
41182
  * OpenAI ToolSet
41021
41183
  *
@@ -41338,7 +41500,6 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown> = O
41338
41500
  allowTracking?: boolean;
41339
41501
  allowTracing?: boolean;
41340
41502
  provider?: TProvider;
41341
- telemetryTransport?: BaseTelemetryTransport;
41342
41503
  /**
41343
41504
  * Request options to be passed to the Composio API client.
41344
41505
  * This is useful for passing in a custom fetch implementation.
@@ -41389,7 +41550,6 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown>
41389
41550
  * @param {boolean} [config.allowTracking=true] - Whether to allow anonymous usage analytics
41390
41551
  * @param {boolean} [config.allowTracing=true] - Whether to allow request tracing for debugging
41391
41552
  * @param {TProvider} [config.provider] - The provider to use for this Composio instance (defaults to OpenAIProvider)
41392
- * @param {BaseTelemetryTransport} [config.telemetryTransport] - Custom telemetry transport implementation
41393
41553
  *
41394
41554
  * @example
41395
41555
  * ```typescript
@@ -41840,4 +42000,4 @@ declare class ComposioNoAPIKeyError extends ComposioError {
41840
42000
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
41841
42001
  }
41842
42002
 
41843
- export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseNonAgenticProvider, BaseTelemetryTransport, BasicWithJwtConnectionDataSchema, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ConnectedAccountErrorCodes, type ConnectionData, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, type ConnectionStatusEnum, ConnectionStatuses, ConsoleTelemetryTransport, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, JsonSchemaToZodError, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListFilterBySearch, ToolListFilterBySearchSchema, type ToolListFilterByToolkits, ToolListFilterByToolkitsSchema, type ToolListFilterByTools, ToolListFilterByToolsSchema, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, jsonSchemaToZodSchema, logger };
42003
+ export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseNonAgenticProvider, BasicWithJwtConnectionDataSchema, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ConnectedAccountErrorCodes, type ConnectionData, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, JsonSchemaToZodError, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListFilterBySearch, ToolListFilterBySearchSchema, type ToolListFilterByToolkits, ToolListFilterByToolkitsSchema, type ToolListFilterByTools, ToolListFilterByToolsSchema, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, jsonSchemaToZodSchema, logger };