@composio/core 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{CustomTool-Uip-fhPw.d.mts → CustomTool-BKhHv2hJ.d.mts} +1 -1
  2. package/dist/{CustomTool-l-j5HtEf.mjs → CustomTool-C4tv-GL1.mjs} +1 -1
  3. package/dist/FileToolModifier.utils.neutral-D_YkHwZP.mjs +188 -0
  4. package/dist/{Telemetry-DuGJSwUt.mjs → Telemetry-CBtSnWrm.mjs} +27 -11
  5. package/dist/cancellation-jUVItfHw.mjs +704 -0
  6. package/dist/{composio-B27X6i6A.d.mts → composio-CldtZUyC.d.mts} +256 -250
  7. package/dist/{customTool.types-B2Ava_j5.d.mts → customTool.types-DC5fPOOi.d.mts} +178 -178
  8. package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +1 -1
  9. package/dist/{errors-BcEUHZbq.mjs → errors-DyZt79fi.mjs} +3 -0
  10. package/dist/experimental/index.d.mts +2 -2
  11. package/dist/experimental/index.mjs +1 -1
  12. package/dist/{fileUtils.node-B1Wn848p.mjs → fileUtils.node-BwpUOF0s.mjs} +2 -2
  13. package/dist/index.d.mts +104 -5
  14. package/dist/index.mjs +61 -27
  15. package/dist/models/Files.node.mjs +2 -2
  16. package/dist/{sensitiveFileUploadPaths-BVEt0peg.mjs → sensitiveFileUploadPaths-B0w8dqpv.mjs} +23 -6
  17. package/dist/ssrfGuard.node-DlxO8uzr.mjs +307 -0
  18. package/dist/{types-DdZJuMm2.d.mts → types-BgsRW-XH.d.mts} +2 -2
  19. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  20. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  22. package/dist/utils/modifiers/FileToolModifier.node.mjs +57 -101
  23. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  24. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
  25. package/dist/utils/ssrfGuard.node.d.mts +14 -5
  26. package/dist/utils/ssrfGuard.node.mjs +1 -161
  27. package/package.json +7 -3
  28. package/src/errors/ToolErrors.ts +1 -0
  29. package/src/errors/ValidationErrors.ts +2 -0
  30. package/src/index.ts +6 -0
  31. package/src/models/ToolRouterSession.ts +36 -8
  32. package/src/models/Tools.ts +102 -39
  33. package/src/services/telemetry/TelemetryService.ts +27 -12
  34. package/src/utils/jsonSchema.ts +505 -27
  35. package/src/utils/modifiers/FileToolModifier.node.ts +85 -181
  36. package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +199 -0
  37. package/src/utils/pinnedDispatcher.node.ts +118 -0
  38. package/src/utils/sensitiveFileUploadPaths.ts +36 -9
  39. package/src/utils/ssrfGuard.node.ts +89 -11
  40. package/dist/FileToolModifier.utils.neutral-B5rT711M.mjs +0 -72
  41. package/dist/cancellation-NVtGf3St.mjs +0 -364
@@ -16,12 +16,12 @@ declare const ToolkitSchema: z$1.ZodObject<{
16
16
  name: z$1.ZodString;
17
17
  logo: z$1.ZodOptional<z$1.ZodString>;
18
18
  }, "strip", z$1.ZodTypeAny, {
19
- name: string;
20
19
  slug: string;
20
+ name: string;
21
21
  logo?: string | undefined;
22
22
  }, {
23
- name: string;
24
23
  slug: string;
24
+ name: string;
25
25
  logo?: string | undefined;
26
26
  }>;
27
27
  type Toolkit = z$1.infer<typeof ToolkitSchema>;
@@ -218,12 +218,12 @@ declare const ToolSchema: z$1.ZodObject<{
218
218
  name: z$1.ZodString;
219
219
  logo: z$1.ZodOptional<z$1.ZodString>;
220
220
  }, "strip", z$1.ZodTypeAny, {
221
- name: string;
222
221
  slug: string;
222
+ name: string;
223
223
  logo?: string | undefined;
224
224
  }, {
225
- name: string;
226
225
  slug: string;
226
+ name: string;
227
227
  logo?: string | undefined;
228
228
  }>>;
229
229
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -232,13 +232,8 @@ declare const ToolSchema: z$1.ZodObject<{
232
232
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
233
233
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
234
234
  }, "strip", z$1.ZodTypeAny, {
235
- name: string;
236
235
  slug: string;
237
- toolkit?: {
238
- name: string;
239
- slug: string;
240
- logo?: string | undefined;
241
- } | undefined;
236
+ name: string;
242
237
  description?: string | undefined;
243
238
  inputParameters?: {
244
239
  type: "object";
@@ -275,23 +270,28 @@ declare const ToolSchema: z$1.ZodObject<{
275
270
  definitions?: Record<string, JSONSchemaProperty> | undefined;
276
271
  } | undefined;
277
272
  tags?: string[] | undefined;
273
+ toolkit?: {
274
+ slug: string;
275
+ name: string;
276
+ logo?: string | undefined;
277
+ } | undefined;
278
278
  version?: string | undefined;
279
279
  isDeprecated?: boolean | undefined;
280
280
  availableVersions?: string[] | undefined;
281
281
  scopes?: string[] | undefined;
282
282
  isNoAuth?: boolean | undefined;
283
283
  }, {
284
- name: string;
285
284
  slug: string;
286
- toolkit?: {
287
- name: string;
288
- slug: string;
289
- logo?: string | undefined;
290
- } | undefined;
285
+ name: string;
291
286
  description?: string | undefined;
292
287
  inputParameters?: unknown;
293
288
  outputParameters?: unknown;
294
289
  tags?: string[] | undefined;
290
+ toolkit?: {
291
+ slug: string;
292
+ name: string;
293
+ logo?: string | undefined;
294
+ } | undefined;
295
295
  version?: string | undefined;
296
296
  isDeprecated?: boolean | undefined;
297
297
  availableVersions?: string[] | undefined;
@@ -443,12 +443,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
443
443
  name: z$1.ZodString;
444
444
  logo: z$1.ZodOptional<z$1.ZodString>;
445
445
  }, "strip", z$1.ZodTypeAny, {
446
- name: string;
447
446
  slug: string;
447
+ name: string;
448
448
  logo?: string | undefined;
449
449
  }, {
450
- name: string;
451
450
  slug: string;
451
+ name: string;
452
452
  logo?: string | undefined;
453
453
  }>>;
454
454
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -457,13 +457,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
457
457
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
458
458
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
459
459
  }, "strip", z$1.ZodTypeAny, {
460
- name: string;
461
460
  slug: string;
462
- toolkit?: {
463
- name: string;
464
- slug: string;
465
- logo?: string | undefined;
466
- } | undefined;
461
+ name: string;
467
462
  description?: string | undefined;
468
463
  inputParameters?: {
469
464
  type: "object";
@@ -500,23 +495,28 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
500
495
  definitions?: Record<string, JSONSchemaProperty> | undefined;
501
496
  } | undefined;
502
497
  tags?: string[] | undefined;
498
+ toolkit?: {
499
+ slug: string;
500
+ name: string;
501
+ logo?: string | undefined;
502
+ } | undefined;
503
503
  version?: string | undefined;
504
504
  isDeprecated?: boolean | undefined;
505
505
  availableVersions?: string[] | undefined;
506
506
  scopes?: string[] | undefined;
507
507
  isNoAuth?: boolean | undefined;
508
508
  }, {
509
- name: string;
510
509
  slug: string;
511
- toolkit?: {
512
- name: string;
513
- slug: string;
514
- logo?: string | undefined;
515
- } | undefined;
510
+ name: string;
516
511
  description?: string | undefined;
517
512
  inputParameters?: unknown;
518
513
  outputParameters?: unknown;
519
514
  tags?: string[] | undefined;
515
+ toolkit?: {
516
+ slug: string;
517
+ name: string;
518
+ logo?: string | undefined;
519
+ } | undefined;
520
520
  version?: string | undefined;
521
521
  isDeprecated?: boolean | undefined;
522
522
  availableVersions?: string[] | undefined;
@@ -527,13 +527,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
527
527
  totalPages: z$1.ZodNumber;
528
528
  }, "strip", z$1.ZodTypeAny, {
529
529
  items: {
530
- name: string;
531
530
  slug: string;
532
- toolkit?: {
533
- name: string;
534
- slug: string;
535
- logo?: string | undefined;
536
- } | undefined;
531
+ name: string;
537
532
  description?: string | undefined;
538
533
  inputParameters?: {
539
534
  type: "object";
@@ -570,6 +565,11 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
570
565
  definitions?: Record<string, JSONSchemaProperty> | undefined;
571
566
  } | undefined;
572
567
  tags?: string[] | undefined;
568
+ toolkit?: {
569
+ slug: string;
570
+ name: string;
571
+ logo?: string | undefined;
572
+ } | undefined;
573
573
  version?: string | undefined;
574
574
  isDeprecated?: boolean | undefined;
575
575
  availableVersions?: string[] | undefined;
@@ -580,17 +580,17 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
580
580
  nextCursor?: string | null | undefined;
581
581
  }, {
582
582
  items: {
583
- name: string;
584
583
  slug: string;
585
- toolkit?: {
586
- name: string;
587
- slug: string;
588
- logo?: string | undefined;
589
- } | undefined;
584
+ name: string;
590
585
  description?: string | undefined;
591
586
  inputParameters?: unknown;
592
587
  outputParameters?: unknown;
593
588
  tags?: string[] | undefined;
589
+ toolkit?: {
590
+ slug: string;
591
+ name: string;
592
+ logo?: string | undefined;
593
+ } | undefined;
594
594
  version?: string | undefined;
595
595
  isDeprecated?: boolean | undefined;
596
596
  availableVersions?: string[] | undefined;
@@ -644,22 +644,22 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
644
644
  authConfigIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
645
645
  important: z$1.ZodOptional<z$1.ZodBoolean>;
646
646
  }, "strip", z$1.ZodTypeAny, {
647
- tools?: string[] | undefined;
648
- toolkits?: string[] | undefined;
649
- authConfigIds?: string[] | undefined;
650
647
  tags?: string[] | undefined;
651
648
  scopes?: string[] | undefined;
649
+ tools?: string[] | undefined;
650
+ toolkits?: string[] | undefined;
652
651
  limit?: number | undefined;
653
652
  search?: string | undefined;
653
+ authConfigIds?: string[] | undefined;
654
654
  important?: boolean | undefined;
655
655
  }, {
656
- tools?: string[] | undefined;
657
- toolkits?: string[] | undefined;
658
- authConfigIds?: string[] | undefined;
659
656
  tags?: string[] | undefined;
660
657
  scopes?: string[] | undefined;
658
+ tools?: string[] | undefined;
659
+ toolkits?: string[] | undefined;
661
660
  limit?: number | undefined;
662
661
  search?: string | undefined;
662
+ authConfigIds?: string[] | undefined;
663
663
  important?: boolean | undefined;
664
664
  }>;
665
665
  type BaseParams = {
@@ -722,26 +722,26 @@ declare const CustomAuthParamsSchema: z$1.ZodObject<{
722
722
  name: z$1.ZodString;
723
723
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
724
724
  }, "strip", z$1.ZodTypeAny, {
725
- value: string | number;
726
725
  name: string;
726
+ value: string | number;
727
727
  in: "query" | "header";
728
728
  }, {
729
- value: string | number;
730
729
  name: string;
730
+ value: string | number;
731
731
  in: "query" | "header";
732
732
  }>, "many">;
733
733
  }, "strip", z$1.ZodTypeAny, {
734
734
  parameters: {
735
- value: string | number;
736
735
  name: string;
736
+ value: string | number;
737
737
  in: "query" | "header";
738
738
  }[];
739
739
  baseURL?: string | undefined;
740
740
  body?: Record<string, unknown> | undefined;
741
741
  }, {
742
742
  parameters: {
743
- value: string | number;
744
743
  name: string;
744
+ value: string | number;
745
745
  in: "query" | "header";
746
746
  }[];
747
747
  baseURL?: string | undefined;
@@ -795,26 +795,26 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
795
795
  name: z$1.ZodString;
796
796
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
797
797
  }, "strip", z$1.ZodTypeAny, {
798
- value: string | number;
799
798
  name: string;
799
+ value: string | number;
800
800
  in: "query" | "header";
801
801
  }, {
802
- value: string | number;
803
802
  name: string;
803
+ value: string | number;
804
804
  in: "query" | "header";
805
805
  }>, "many">;
806
806
  }, "strip", z$1.ZodTypeAny, {
807
807
  parameters: {
808
- value: string | number;
809
808
  name: string;
809
+ value: string | number;
810
810
  in: "query" | "header";
811
811
  }[];
812
812
  baseURL?: string | undefined;
813
813
  body?: Record<string, unknown> | undefined;
814
814
  }, {
815
815
  parameters: {
816
- value: string | number;
817
816
  name: string;
817
+ value: string | number;
818
818
  in: "query" | "header";
819
819
  }[];
820
820
  baseURL?: string | undefined;
@@ -2803,14 +2803,13 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2803
2803
  dangerouslySkipVersionCheck: z$1.ZodOptional<z$1.ZodBoolean>;
2804
2804
  text: z$1.ZodOptional<z$1.ZodString>;
2805
2805
  }, "strip", z$1.ZodTypeAny, {
2806
- userId?: string | undefined;
2807
2806
  version?: string | undefined;
2808
2807
  allowTracing?: boolean | undefined;
2809
2808
  connectedAccountId?: string | undefined;
2810
2809
  customAuthParams?: {
2811
2810
  parameters: {
2812
- value: string | number;
2813
2811
  name: string;
2812
+ value: string | number;
2814
2813
  in: "query" | "header";
2815
2814
  }[];
2816
2815
  baseURL?: string | undefined;
@@ -3231,17 +3230,17 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3231
3230
  };
3232
3231
  } | undefined;
3233
3232
  arguments?: Record<string, unknown> | undefined;
3233
+ userId?: string | undefined;
3234
3234
  dangerouslySkipVersionCheck?: boolean | undefined;
3235
3235
  text?: string | undefined;
3236
3236
  }, {
3237
- userId?: string | undefined;
3238
3237
  version?: string | undefined;
3239
3238
  allowTracing?: boolean | undefined;
3240
3239
  connectedAccountId?: string | undefined;
3241
3240
  customAuthParams?: {
3242
3241
  parameters: {
3243
- value: string | number;
3244
3242
  name: string;
3243
+ value: string | number;
3245
3244
  in: "query" | "header";
3246
3245
  }[];
3247
3246
  baseURL?: string | undefined;
@@ -3662,6 +3661,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3662
3661
  };
3663
3662
  } | undefined;
3664
3663
  arguments?: Record<string, unknown> | undefined;
3664
+ userId?: string | undefined;
3665
3665
  dangerouslySkipVersionCheck?: boolean | undefined;
3666
3666
  text?: string | undefined;
3667
3667
  }>;
@@ -3687,14 +3687,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
3687
3687
  logId: z$1.ZodOptional<z$1.ZodString>;
3688
3688
  sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
3689
3689
  }, "strip", z$1.ZodTypeAny, {
3690
- error: string | null;
3691
3690
  data: Record<string, unknown>;
3691
+ error: string | null;
3692
3692
  successful: boolean;
3693
3693
  logId?: string | undefined;
3694
3694
  sessionInfo?: unknown;
3695
3695
  }, {
3696
- error: string | null;
3697
3696
  data: Record<string, unknown>;
3697
+ error: string | null;
3698
3698
  successful: boolean;
3699
3699
  logId?: string | undefined;
3700
3700
  sessionInfo?: unknown;
@@ -3709,12 +3709,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3709
3709
  name: z$1.ZodString;
3710
3710
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
3711
3711
  }, "strip", z$1.ZodTypeAny, {
3712
- value: string | number;
3713
3712
  name: string;
3713
+ value: string | number;
3714
3714
  in: "query" | "header";
3715
3715
  }, {
3716
- value: string | number;
3717
3716
  name: string;
3717
+ value: string | number;
3718
3718
  in: "query" | "header";
3719
3719
  }>, "many">>;
3720
3720
  connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
@@ -5703,8 +5703,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5703
5703
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
5704
5704
  body?: unknown;
5705
5705
  parameters?: {
5706
- value: string | number;
5707
5706
  name: string;
5707
+ value: string | number;
5708
5708
  in: "query" | "header";
5709
5709
  }[] | undefined;
5710
5710
  connectedAccountId?: string | undefined;
@@ -6127,8 +6127,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
6127
6127
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
6128
6128
  body?: unknown;
6129
6129
  parameters?: {
6130
- value: string | number;
6131
6130
  name: string;
6131
+ value: string | number;
6132
6132
  in: "query" | "header";
6133
6133
  }[] | undefined;
6134
6134
  connectedAccountId?: string | undefined;
@@ -28810,7 +28810,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
28810
28810
  }>]>;
28811
28811
  }, "strip", z$1.ZodTypeAny, {
28812
28812
  type: "single" | "multi";
28813
- status: "active" | "inactive" | "error";
28813
+ status: "error" | "active" | "inactive";
28814
28814
  id: string;
28815
28815
  createdAt: string;
28816
28816
  updatedAt: string;
@@ -28837,7 +28837,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
28837
28837
  tools: string[];
28838
28838
  toolkits: string[];
28839
28839
  };
28840
- status?: "active" | "inactive" | "error" | undefined;
28840
+ status?: "error" | "active" | "inactive" | undefined;
28841
28841
  }>;
28842
28842
  type MCPServer = z$1.infer<typeof MCPServerSchema>;
28843
28843
  /**
@@ -28877,7 +28877,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28877
28877
  }>]>;
28878
28878
  }, "strip", z$1.ZodTypeAny, {
28879
28879
  type: "single" | "multi";
28880
- status: "active" | "inactive" | "error";
28880
+ status: "error" | "active" | "inactive";
28881
28881
  id: string;
28882
28882
  createdAt: string;
28883
28883
  updatedAt: string;
@@ -28904,7 +28904,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28904
28904
  tools: string[];
28905
28905
  toolkits: string[];
28906
28906
  };
28907
- status?: "active" | "inactive" | "error" | undefined;
28907
+ status?: "error" | "active" | "inactive" | undefined;
28908
28908
  }>, "many">;
28909
28909
  total: z$1.ZodNumber;
28910
28910
  page: z$1.ZodNumber;
@@ -28912,7 +28912,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28912
28912
  }, "strip", z$1.ZodTypeAny, {
28913
28913
  items: {
28914
28914
  type: "single" | "multi";
28915
- status: "active" | "inactive" | "error";
28915
+ status: "error" | "active" | "inactive";
28916
28916
  id: string;
28917
28917
  createdAt: string;
28918
28918
  updatedAt: string;
@@ -28944,7 +28944,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28944
28944
  tools: string[];
28945
28945
  toolkits: string[];
28946
28946
  };
28947
- status?: "active" | "inactive" | "error" | undefined;
28947
+ status?: "error" | "active" | "inactive" | undefined;
28948
28948
  }[];
28949
28949
  total: number;
28950
28950
  page: number;
@@ -28959,13 +28959,13 @@ declare const MCPServerUpdateParamsSchema: z$1.ZodObject<{
28959
28959
  toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28960
28960
  allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28961
28961
  }, "strip", z$1.ZodTypeAny, {
28962
- allowedTools?: string[] | undefined;
28963
28962
  name?: string | undefined;
28964
28963
  toolkits?: string[] | undefined;
28965
- }, {
28966
28964
  allowedTools?: string[] | undefined;
28965
+ }, {
28967
28966
  name?: string | undefined;
28968
28967
  toolkits?: string[] | undefined;
28968
+ allowedTools?: string[] | undefined;
28969
28969
  }>;
28970
28970
  type MCPServerUpdateParams = z$1.infer<typeof MCPServerUpdateParamsSchema>;
28971
28971
  /**
@@ -29004,7 +29004,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
29004
29004
  }>]>;
29005
29005
  }, "strip", z$1.ZodTypeAny, {
29006
29006
  type: "single" | "multi";
29007
- status: "active" | "inactive" | "error";
29007
+ status: "error" | "active" | "inactive";
29008
29008
  id: string;
29009
29009
  createdAt: string;
29010
29010
  updatedAt: string;
@@ -29031,7 +29031,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
29031
29031
  tools: string[];
29032
29032
  toolkits: string[];
29033
29033
  };
29034
- status?: "active" | "inactive" | "error" | undefined;
29034
+ status?: "error" | "active" | "inactive" | undefined;
29035
29035
  }>;
29036
29036
  type MCPServerCreateResponse = z$1.infer<typeof MCPServerCreateResponseSchema>;
29037
29037
  /**
@@ -29226,8 +29226,8 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29226
29226
  windsurf: string;
29227
29227
  }>;
29228
29228
  }, "strip", z$1.ZodTypeAny, {
29229
- mcpUrl: string;
29230
29229
  name: string;
29230
+ mcpUrl: string;
29231
29231
  id: string;
29232
29232
  commands: {
29233
29233
  claude: string;
@@ -29237,13 +29237,13 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29237
29237
  status?: string | undefined;
29238
29238
  tools?: string[] | undefined;
29239
29239
  toolkits?: string[] | undefined;
29240
+ authConfigIds?: string[] | undefined;
29240
29241
  createdAt?: string | undefined;
29241
29242
  updatedAt?: string | undefined;
29242
29243
  managedAuthViaComposio?: boolean | undefined;
29243
- authConfigIds?: string[] | undefined;
29244
29244
  }, {
29245
- mcpUrl: string;
29246
29245
  name: string;
29246
+ mcpUrl: string;
29247
29247
  id: string;
29248
29248
  commands: {
29249
29249
  claude: string;
@@ -29253,10 +29253,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29253
29253
  status?: string | undefined;
29254
29254
  tools?: string[] | undefined;
29255
29255
  toolkits?: string[] | undefined;
29256
+ authConfigIds?: string[] | undefined;
29256
29257
  createdAt?: string | undefined;
29257
29258
  updatedAt?: string | undefined;
29258
29259
  managedAuthViaComposio?: boolean | undefined;
29259
- authConfigIds?: string[] | undefined;
29260
29260
  }>;
29261
29261
  declare const ComposioMcpRetrieveResponseSchema: z$1.ZodObject<{
29262
29262
  id: z$1.ZodString;
@@ -29685,12 +29685,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
29685
29685
  redirectUrl: z$1.ZodNullable<z$1.ZodString>;
29686
29686
  }, "strip", z$1.ZodTypeAny, {
29687
29687
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
29688
- id: string;
29689
29688
  redirectUrl: string | null;
29689
+ id: string;
29690
29690
  }, {
29691
29691
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
29692
- id: string;
29693
29692
  redirectUrl: string | null;
29693
+ id: string;
29694
29694
  }>;
29695
29695
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
29696
29696
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
@@ -29753,19 +29753,19 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
29753
29753
  */
29754
29754
  accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
29755
29755
  }, "strip", z$1.ZodTypeAny, {
29756
- userIds?: string[] | null | undefined;
29756
+ limit?: number | null | undefined;
29757
29757
  authConfigIds?: string[] | null | undefined;
29758
+ userIds?: string[] | null | undefined;
29758
29759
  cursor?: string | null | undefined;
29759
- limit?: number | null | undefined;
29760
29760
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
29761
29761
  orderBy?: "created_at" | "updated_at" | undefined;
29762
29762
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
29763
29763
  toolkitSlugs?: string[] | null | undefined;
29764
29764
  }, {
29765
- userIds?: string[] | null | undefined;
29765
+ limit?: number | null | undefined;
29766
29766
  authConfigIds?: string[] | null | undefined;
29767
+ userIds?: string[] | null | undefined;
29767
29768
  cursor?: string | null | undefined;
29768
- limit?: number | null | undefined;
29769
29769
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
29770
29770
  orderBy?: "created_at" | "updated_at" | undefined;
29771
29771
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
@@ -30082,12 +30082,12 @@ declare const ToolRouterSessionFilesMountListOptionsSchema: z.ZodObject<{
30082
30082
  }, "strip", z.ZodTypeAny, {
30083
30083
  mountId: string;
30084
30084
  path?: string | undefined;
30085
- cursor?: string | undefined;
30086
30085
  limit?: number | undefined;
30086
+ cursor?: string | undefined;
30087
30087
  }, {
30088
30088
  path?: string | undefined;
30089
- cursor?: string | undefined;
30090
30089
  limit?: number | undefined;
30090
+ cursor?: string | undefined;
30091
30091
  mountId?: string | undefined;
30092
30092
  }>;
30093
30093
  type ToolRouterSessionFilesMountListOptions = z.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
@@ -30769,6 +30769,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30769
30769
  customToolkits?: CustomToolkit[] | undefined;
30770
30770
  }>>>;
30771
30771
  }, "strip", z.ZodTypeAny, {
30772
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30773
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30774
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30775
+ } | undefined;
30772
30776
  tools?: Record<string, string[] | {
30773
30777
  enable: string[];
30774
30778
  } | {
@@ -30784,16 +30788,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30784
30788
  } | {
30785
30789
  enable: string[];
30786
30790
  } | undefined;
30787
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30788
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30789
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30790
- } | undefined;
30791
- preload?: {
30792
- tools?: string[] | "all" | undefined;
30793
- } | undefined;
30791
+ authConfigs?: Record<string, string> | undefined;
30794
30792
  sessionPreset?: "direct_tools" | undefined;
30795
30793
  mcp?: boolean | undefined;
30796
- authConfigs?: Record<string, string> | undefined;
30797
30794
  connectedAccounts?: Record<string, string | string[]> | undefined;
30798
30795
  manageConnections?: boolean | {
30799
30796
  enable?: boolean | undefined;
@@ -30817,6 +30814,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30817
30814
  maxAccountsPerToolkit?: number | undefined;
30818
30815
  requireExplicitSelection?: boolean | undefined;
30819
30816
  } | undefined;
30817
+ preload?: {
30818
+ tools?: string[] | "all" | undefined;
30819
+ } | undefined;
30820
30820
  experimental?: {
30821
30821
  assistivePrompt?: {
30822
30822
  userTimezone?: string | undefined;
@@ -30825,6 +30825,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30825
30825
  customToolkits?: CustomToolkit[] | undefined;
30826
30826
  } | undefined;
30827
30827
  }, {
30828
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30829
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30830
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30831
+ } | undefined;
30828
30832
  tools?: Record<string, string[] | {
30829
30833
  enable: string[];
30830
30834
  } | {
@@ -30840,16 +30844,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30840
30844
  } | {
30841
30845
  enable: string[];
30842
30846
  } | undefined;
30843
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30844
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30845
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30846
- } | undefined;
30847
- preload?: {
30848
- tools?: string[] | "all" | undefined;
30849
- } | undefined;
30847
+ authConfigs?: Record<string, string> | undefined;
30850
30848
  sessionPreset?: "direct_tools" | undefined;
30851
30849
  mcp?: boolean | undefined;
30852
- authConfigs?: Record<string, string> | undefined;
30853
30850
  connectedAccounts?: Record<string, string | string[]> | undefined;
30854
30851
  manageConnections?: boolean | {
30855
30852
  enable?: boolean | undefined;
@@ -30873,6 +30870,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30873
30870
  maxAccountsPerToolkit?: number | undefined;
30874
30871
  requireExplicitSelection?: boolean | undefined;
30875
30872
  } | undefined;
30873
+ preload?: {
30874
+ tools?: string[] | "all" | undefined;
30875
+ } | undefined;
30876
30876
  experimental?: {
30877
30877
  assistivePrompt?: {
30878
30878
  userTimezone?: string | undefined;
@@ -30881,6 +30881,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30881
30881
  customToolkits?: CustomToolkit[] | undefined;
30882
30882
  } | undefined;
30883
30883
  }>, {
30884
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30885
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30886
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30887
+ } | undefined;
30884
30888
  tools?: Record<string, string[] | {
30885
30889
  enable: string[];
30886
30890
  } | {
@@ -30896,16 +30900,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30896
30900
  } | {
30897
30901
  enable: string[];
30898
30902
  } | undefined;
30899
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30900
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30901
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30902
- } | undefined;
30903
- preload?: {
30904
- tools?: string[] | "all" | undefined;
30905
- } | undefined;
30903
+ authConfigs?: Record<string, string> | undefined;
30906
30904
  sessionPreset?: "direct_tools" | undefined;
30907
30905
  mcp?: boolean | undefined;
30908
- authConfigs?: Record<string, string> | undefined;
30909
30906
  connectedAccounts?: Record<string, string | string[]> | undefined;
30910
30907
  manageConnections?: boolean | {
30911
30908
  enable?: boolean | undefined;
@@ -30929,6 +30926,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30929
30926
  maxAccountsPerToolkit?: number | undefined;
30930
30927
  requireExplicitSelection?: boolean | undefined;
30931
30928
  } | undefined;
30929
+ preload?: {
30930
+ tools?: string[] | "all" | undefined;
30931
+ } | undefined;
30932
30932
  experimental?: {
30933
30933
  assistivePrompt?: {
30934
30934
  userTimezone?: string | undefined;
@@ -30937,6 +30937,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30937
30937
  customToolkits?: CustomToolkit[] | undefined;
30938
30938
  } | undefined;
30939
30939
  }, {
30940
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30941
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30942
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30943
+ } | undefined;
30940
30944
  tools?: Record<string, string[] | {
30941
30945
  enable: string[];
30942
30946
  } | {
@@ -30952,16 +30956,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30952
30956
  } | {
30953
30957
  enable: string[];
30954
30958
  } | undefined;
30955
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30956
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30957
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30958
- } | undefined;
30959
- preload?: {
30960
- tools?: string[] | "all" | undefined;
30961
- } | undefined;
30959
+ authConfigs?: Record<string, string> | undefined;
30962
30960
  sessionPreset?: "direct_tools" | undefined;
30963
30961
  mcp?: boolean | undefined;
30964
- authConfigs?: Record<string, string> | undefined;
30965
30962
  connectedAccounts?: Record<string, string | string[]> | undefined;
30966
30963
  manageConnections?: boolean | {
30967
30964
  enable?: boolean | undefined;
@@ -30985,6 +30982,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30985
30982
  maxAccountsPerToolkit?: number | undefined;
30986
30983
  requireExplicitSelection?: boolean | undefined;
30987
30984
  } | undefined;
30985
+ preload?: {
30986
+ tools?: string[] | "all" | undefined;
30987
+ } | undefined;
30988
30988
  experimental?: {
30989
30989
  assistivePrompt?: {
30990
30990
  userTimezone?: string | undefined;
@@ -30993,6 +30993,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30993
30993
  customToolkits?: CustomToolkit[] | undefined;
30994
30994
  } | undefined;
30995
30995
  }>, {
30996
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30997
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30998
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30999
+ } | undefined;
30996
31000
  tools?: Record<string, string[] | {
30997
31001
  enable: string[];
30998
31002
  } | {
@@ -31008,16 +31012,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31008
31012
  } | {
31009
31013
  enable: string[];
31010
31014
  } | undefined;
31011
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31012
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31013
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31014
- } | undefined;
31015
- preload?: {
31016
- tools?: string[] | "all" | undefined;
31017
- } | undefined;
31015
+ authConfigs?: Record<string, string> | undefined;
31018
31016
  sessionPreset?: "direct_tools" | undefined;
31019
31017
  mcp?: boolean | undefined;
31020
- authConfigs?: Record<string, string> | undefined;
31021
31018
  connectedAccounts?: Record<string, string | string[]> | undefined;
31022
31019
  manageConnections?: boolean | {
31023
31020
  enable?: boolean | undefined;
@@ -31041,6 +31038,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31041
31038
  maxAccountsPerToolkit?: number | undefined;
31042
31039
  requireExplicitSelection?: boolean | undefined;
31043
31040
  } | undefined;
31041
+ preload?: {
31042
+ tools?: string[] | "all" | undefined;
31043
+ } | undefined;
31044
31044
  experimental?: {
31045
31045
  assistivePrompt?: {
31046
31046
  userTimezone?: string | undefined;
@@ -31129,8 +31129,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31129
31129
  } | undefined;
31130
31130
  }>>;
31131
31131
  }, "strip", z.ZodTypeAny, {
31132
- name: string;
31133
31132
  slug: string;
31133
+ name: string;
31134
31134
  isNoAuth: boolean;
31135
31135
  logo?: string | undefined;
31136
31136
  connection?: {
@@ -31146,8 +31146,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31146
31146
  } | undefined;
31147
31147
  } | undefined;
31148
31148
  }, {
31149
- name: string;
31150
31149
  slug: string;
31150
+ name: string;
31151
31151
  logo?: string | undefined;
31152
31152
  isNoAuth?: boolean | undefined;
31153
31153
  connection?: {
@@ -31218,8 +31218,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31218
31218
  } | undefined;
31219
31219
  }>>;
31220
31220
  }, "strip", z.ZodTypeAny, {
31221
- name: string;
31222
31221
  slug: string;
31222
+ name: string;
31223
31223
  isNoAuth: boolean;
31224
31224
  logo?: string | undefined;
31225
31225
  connection?: {
@@ -31235,8 +31235,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31235
31235
  } | undefined;
31236
31236
  } | undefined;
31237
31237
  }, {
31238
- name: string;
31239
31238
  slug: string;
31239
+ name: string;
31240
31240
  logo?: string | undefined;
31241
31241
  isNoAuth?: boolean | undefined;
31242
31242
  connection?: {
@@ -31256,8 +31256,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31256
31256
  totalPages: z.ZodNumber;
31257
31257
  }, "strip", z.ZodTypeAny, {
31258
31258
  items: {
31259
- name: string;
31260
31259
  slug: string;
31260
+ name: string;
31261
31261
  isNoAuth: boolean;
31262
31262
  logo?: string | undefined;
31263
31263
  connection?: {
@@ -31277,8 +31277,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31277
31277
  cursor?: string | undefined;
31278
31278
  }, {
31279
31279
  items: {
31280
- name: string;
31281
31280
  slug: string;
31281
+ name: string;
31282
31282
  logo?: string | undefined;
31283
31283
  isNoAuth?: boolean | undefined;
31284
31284
  connection?: {
@@ -31326,15 +31326,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
31326
31326
  search: z.ZodOptional<z.ZodString>;
31327
31327
  }, "strip", z.ZodTypeAny, {
31328
31328
  toolkits?: string[] | undefined;
31329
- cursor?: string | undefined;
31330
31329
  limit?: number | undefined;
31331
31330
  search?: string | undefined;
31331
+ cursor?: string | undefined;
31332
31332
  isConnected?: boolean | undefined;
31333
31333
  }, {
31334
31334
  toolkits?: string[] | undefined;
31335
- cursor?: string | undefined;
31336
31335
  limit?: number | undefined;
31337
31336
  search?: string | undefined;
31337
+ cursor?: string | undefined;
31338
31338
  isConnected?: boolean | undefined;
31339
31339
  }>;
31340
31340
  type ToolRouterToolkitsOptions = z.infer<typeof ToolRouterToolkitsOptionsSchema>;
@@ -31467,15 +31467,15 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31467
31467
  connectionDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
31468
31468
  currentUserInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
31469
31469
  }, "strip", z.ZodTypeAny, {
31470
- toolkit: string;
31471
31470
  description: string;
31471
+ toolkit: string;
31472
31472
  hasActiveConnection: boolean;
31473
31473
  statusMessage: string;
31474
31474
  connectionDetails?: Record<string, unknown> | undefined;
31475
31475
  currentUserInfo?: Record<string, unknown> | undefined;
31476
31476
  }, {
31477
- toolkit: string;
31478
31477
  description: string;
31478
+ toolkit: string;
31479
31479
  hasActiveConnection: boolean;
31480
31480
  statusMessage: string;
31481
31481
  connectionDetails?: Record<string, unknown> | undefined;
@@ -31545,8 +31545,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31545
31545
  } | undefined;
31546
31546
  }>;
31547
31547
  toolkitConnectionStatuses: {
31548
- toolkit: string;
31549
31548
  description: string;
31549
+ toolkit: string;
31550
31550
  hasActiveConnection: boolean;
31551
31551
  statusMessage: string;
31552
31552
  connectionDetails?: Record<string, unknown> | undefined;
@@ -31600,8 +31600,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31600
31600
  } | undefined;
31601
31601
  }>;
31602
31602
  toolkitConnectionStatuses: {
31603
- toolkit: string;
31604
31603
  description: string;
31604
+ toolkit: string;
31605
31605
  hasActiveConnection: boolean;
31606
31606
  statusMessage: string;
31607
31607
  connectionDetails?: Record<string, unknown> | undefined;
@@ -31625,12 +31625,12 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
31625
31625
  error: z.ZodNullable<z.ZodString>;
31626
31626
  logId: z.ZodString;
31627
31627
  }, "strip", z.ZodTypeAny, {
31628
- error: string | null;
31629
31628
  data: Record<string, unknown>;
31629
+ error: string | null;
31630
31630
  logId: string;
31631
31631
  }, {
31632
- error: string | null;
31633
31632
  data: Record<string, unknown>;
31633
+ error: string | null;
31634
31634
  logId: string;
31635
31635
  }>;
31636
31636
  type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
@@ -31704,12 +31704,12 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
31704
31704
  name: z.ZodString;
31705
31705
  value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
31706
31706
  }, "strip", z.ZodTypeAny, {
31707
- value: string | number;
31708
31707
  name: string;
31708
+ value: string | number;
31709
31709
  in: "query" | "header";
31710
31710
  }, {
31711
- value: string | number;
31712
31711
  name: string;
31712
+ value: string | number;
31713
31713
  in: "query" | "header";
31714
31714
  }>, "many">>;
31715
31715
  }, "strip", z.ZodTypeAny, {
@@ -31718,8 +31718,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
31718
31718
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
31719
31719
  body?: unknown;
31720
31720
  parameters?: {
31721
- value: string | number;
31722
31721
  name: string;
31722
+ value: string | number;
31723
31723
  in: "query" | "header";
31724
31724
  }[] | undefined;
31725
31725
  }, {
@@ -31728,8 +31728,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
31728
31728
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
31729
31729
  body?: unknown;
31730
31730
  parameters?: {
31731
- value: string | number;
31732
31731
  name: string;
31732
+ value: string | number;
31733
31733
  in: "query" | "header";
31734
31734
  }[] | undefined;
31735
31735
  }>;
@@ -31879,6 +31879,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31879
31879
  tools?: string[] | "all" | undefined;
31880
31880
  }>>>;
31881
31881
  }, "strip", z.ZodTypeAny, {
31882
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31883
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31884
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31885
+ } | undefined;
31882
31886
  tools?: Record<string, string[] | {
31883
31887
  enable: string[];
31884
31888
  } | {
@@ -31894,13 +31898,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31894
31898
  } | {
31895
31899
  enable: string[];
31896
31900
  } | undefined;
31897
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31898
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31899
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31900
- } | undefined;
31901
- preload?: {
31902
- tools?: string[] | "all" | undefined;
31903
- } | undefined;
31904
31901
  authConfigs?: Record<string, string> | undefined;
31905
31902
  connectedAccounts?: Record<string, string[]> | undefined;
31906
31903
  manageConnections?: boolean | {
@@ -31925,7 +31922,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31925
31922
  maxAccountsPerToolkit?: number | undefined;
31926
31923
  requireExplicitSelection?: boolean | undefined;
31927
31924
  } | null | undefined;
31925
+ preload?: {
31926
+ tools?: string[] | "all" | undefined;
31927
+ } | undefined;
31928
31928
  }, {
31929
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31930
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31931
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31932
+ } | undefined;
31929
31933
  tools?: Record<string, string[] | {
31930
31934
  enable: string[];
31931
31935
  } | {
@@ -31941,13 +31945,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31941
31945
  } | {
31942
31946
  enable: string[];
31943
31947
  } | undefined;
31944
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31945
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31946
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31947
- } | undefined;
31948
- preload?: {
31949
- tools?: string[] | "all" | undefined;
31950
- } | undefined;
31951
31948
  authConfigs?: Record<string, string> | undefined;
31952
31949
  connectedAccounts?: Record<string, string | string[]> | undefined;
31953
31950
  manageConnections?: boolean | {
@@ -31972,7 +31969,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31972
31969
  maxAccountsPerToolkit?: number | undefined;
31973
31970
  requireExplicitSelection?: boolean | undefined;
31974
31971
  } | null | undefined;
31972
+ preload?: {
31973
+ tools?: string[] | "all" | undefined;
31974
+ } | undefined;
31975
31975
  }>, {
31976
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31977
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31978
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31979
+ } | undefined;
31976
31980
  tools?: Record<string, string[] | {
31977
31981
  enable: string[];
31978
31982
  } | {
@@ -31988,13 +31992,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31988
31992
  } | {
31989
31993
  enable: string[];
31990
31994
  } | undefined;
31991
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31992
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31993
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31994
- } | undefined;
31995
- preload?: {
31996
- tools?: string[] | "all" | undefined;
31997
- } | undefined;
31998
31995
  authConfigs?: Record<string, string> | undefined;
31999
31996
  connectedAccounts?: Record<string, string[]> | undefined;
32000
31997
  manageConnections?: boolean | {
@@ -32019,7 +32016,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32019
32016
  maxAccountsPerToolkit?: number | undefined;
32020
32017
  requireExplicitSelection?: boolean | undefined;
32021
32018
  } | null | undefined;
32019
+ preload?: {
32020
+ tools?: string[] | "all" | undefined;
32021
+ } | undefined;
32022
32022
  }, {
32023
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32024
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32025
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32026
+ } | undefined;
32023
32027
  tools?: Record<string, string[] | {
32024
32028
  enable: string[];
32025
32029
  } | {
@@ -32035,13 +32039,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32035
32039
  } | {
32036
32040
  enable: string[];
32037
32041
  } | undefined;
32038
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32039
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32040
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32041
- } | undefined;
32042
- preload?: {
32043
- tools?: string[] | "all" | undefined;
32044
- } | undefined;
32045
32042
  authConfigs?: Record<string, string> | undefined;
32046
32043
  connectedAccounts?: Record<string, string | string[]> | undefined;
32047
32044
  manageConnections?: boolean | {
@@ -32066,6 +32063,9 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32066
32063
  maxAccountsPerToolkit?: number | undefined;
32067
32064
  requireExplicitSelection?: boolean | undefined;
32068
32065
  } | null | undefined;
32066
+ preload?: {
32067
+ tools?: string[] | "all" | undefined;
32068
+ } | undefined;
32069
32069
  }>;
32070
32070
  type ToolRouterUpdateSessionConfig = z.infer<typeof ToolRouterUpdateSessionConfigSchema>;
32071
32071
  type ToolRouterSessionUpdateFn = (config: ToolRouterUpdateSessionConfig) => Promise<void>;
@@ -32073,11 +32073,11 @@ declare const ToolRouterSessionDeleteResponseSchema: z.ZodObject<{
32073
32073
  sessionId: z.ZodString;
32074
32074
  deleted: z.ZodLiteral<true>;
32075
32075
  }, "strip", z.ZodTypeAny, {
32076
- deleted: true;
32077
32076
  sessionId: string;
32078
- }, {
32079
32077
  deleted: true;
32078
+ }, {
32080
32079
  sessionId: string;
32080
+ deleted: true;
32081
32081
  }>;
32082
32082
  type ToolRouterSessionDeleteResponse = z.infer<typeof ToolRouterSessionDeleteResponseSchema>;
32083
32083
  type ToolRouterSessionDeleteFn = (requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionDeleteResponse>;
@@ -32193,13 +32193,13 @@ declare const CreateCustomToolBaseSchema: z$1.ZodObject<{
32193
32193
  }, "strip", z$1.ZodTypeAny, {
32194
32194
  name: string;
32195
32195
  description: string;
32196
- extendsToolkit?: string | undefined;
32197
32196
  preload?: boolean | undefined;
32197
+ extendsToolkit?: string | undefined;
32198
32198
  }, {
32199
32199
  name: string;
32200
32200
  description: string;
32201
- extendsToolkit?: string | undefined;
32202
32201
  preload?: boolean | undefined;
32202
+ extendsToolkit?: string | undefined;
32203
32203
  }>;
32204
32204
  /** Options for creating a custom tool via `createCustomTool()`. */
32205
32205
  type CreateCustomToolParams<T extends AnyZodSchema> = z$1.infer<typeof CreateCustomToolBaseSchema> & {