@composio/core 0.17.0 → 1.0.0-beta.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 (31) hide show
  1. package/dist/{CustomTool-Uip-fhPw.d.mts → CustomTool-CwpeQhz2.d.mts} +1 -1
  2. package/dist/FileToolModifier.utils.neutral-D_YkHwZP.mjs +188 -0
  3. package/dist/{Telemetry-DuGJSwUt.mjs → Telemetry-DK1uAWnD.mjs} +1 -1
  4. package/dist/{cancellation-NVtGf3St.mjs → cancellation-C-qy8rcj.mjs} +1 -1
  5. package/dist/{composio-B27X6i6A.d.mts → composio-XjF7EMEe.d.mts} +256 -250
  6. package/dist/{customTool.types-B2Ava_j5.d.mts → customTool.types-DpJbYY5m.d.mts} +167 -167
  7. package/dist/experimental/index.d.mts +2 -2
  8. package/dist/{fileUtils.node-B1Wn848p.mjs → fileUtils.node-BwpUOF0s.mjs} +2 -2
  9. package/dist/index.d.mts +6 -5
  10. package/dist/index.mjs +58 -24
  11. package/dist/models/Files.node.mjs +2 -2
  12. package/dist/{sensitiveFileUploadPaths-BVEt0peg.mjs → sensitiveFileUploadPaths-B0w8dqpv.mjs} +23 -6
  13. package/dist/ssrfGuard.node-DlxO8uzr.mjs +307 -0
  14. package/dist/{types-DdZJuMm2.d.mts → types-C9kJAurw.d.mts} +2 -2
  15. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  16. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  17. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  18. package/dist/utils/modifiers/FileToolModifier.node.mjs +56 -100
  19. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  20. package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
  21. package/dist/utils/ssrfGuard.node.d.mts +14 -5
  22. package/dist/utils/ssrfGuard.node.mjs +1 -161
  23. package/package.json +7 -3
  24. package/src/models/ToolRouterSession.ts +36 -8
  25. package/src/models/Tools.ts +102 -39
  26. package/src/utils/modifiers/FileToolModifier.node.ts +85 -181
  27. package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +199 -0
  28. package/src/utils/pinnedDispatcher.node.ts +118 -0
  29. package/src/utils/sensitiveFileUploadPaths.ts +36 -9
  30. package/src/utils/ssrfGuard.node.ts +89 -11
  31. package/dist/FileToolModifier.utils.neutral-B5rT711M.mjs +0 -72
@@ -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,12 @@ 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
+ authConfigs?: Record<string, string> | undefined;
30791
30792
  preload?: {
30792
30793
  tools?: string[] | "all" | undefined;
30793
30794
  } | undefined;
30794
30795
  sessionPreset?: "direct_tools" | undefined;
30795
30796
  mcp?: boolean | undefined;
30796
- authConfigs?: Record<string, string> | undefined;
30797
30797
  connectedAccounts?: Record<string, string | string[]> | undefined;
30798
30798
  manageConnections?: boolean | {
30799
30799
  enable?: boolean | 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,12 @@ 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
+ authConfigs?: Record<string, string> | undefined;
30847
30848
  preload?: {
30848
30849
  tools?: string[] | "all" | undefined;
30849
30850
  } | undefined;
30850
30851
  sessionPreset?: "direct_tools" | undefined;
30851
30852
  mcp?: boolean | undefined;
30852
- authConfigs?: Record<string, string> | undefined;
30853
30853
  connectedAccounts?: Record<string, string | string[]> | undefined;
30854
30854
  manageConnections?: boolean | {
30855
30855
  enable?: boolean | 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,12 @@ 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
+ authConfigs?: Record<string, string> | undefined;
30903
30904
  preload?: {
30904
30905
  tools?: string[] | "all" | undefined;
30905
30906
  } | undefined;
30906
30907
  sessionPreset?: "direct_tools" | undefined;
30907
30908
  mcp?: boolean | undefined;
30908
- authConfigs?: Record<string, string> | undefined;
30909
30909
  connectedAccounts?: Record<string, string | string[]> | undefined;
30910
30910
  manageConnections?: boolean | {
30911
30911
  enable?: boolean | 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,12 @@ 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
+ authConfigs?: Record<string, string> | undefined;
30959
30960
  preload?: {
30960
30961
  tools?: string[] | "all" | undefined;
30961
30962
  } | undefined;
30962
30963
  sessionPreset?: "direct_tools" | undefined;
30963
30964
  mcp?: boolean | undefined;
30964
- authConfigs?: Record<string, string> | undefined;
30965
30965
  connectedAccounts?: Record<string, string | string[]> | undefined;
30966
30966
  manageConnections?: boolean | {
30967
30967
  enable?: boolean | 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,12 @@ 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
+ authConfigs?: Record<string, string> | undefined;
31015
31016
  preload?: {
31016
31017
  tools?: string[] | "all" | undefined;
31017
31018
  } | undefined;
31018
31019
  sessionPreset?: "direct_tools" | undefined;
31019
31020
  mcp?: boolean | undefined;
31020
- authConfigs?: Record<string, string> | undefined;
31021
31021
  connectedAccounts?: Record<string, string | string[]> | undefined;
31022
31022
  manageConnections?: boolean | {
31023
31023
  enable?: boolean | undefined;
@@ -31088,12 +31088,12 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31088
31088
  isComposioManaged: z.ZodBoolean;
31089
31089
  }, "strip", z.ZodTypeAny, {
31090
31090
  id: string;
31091
- mode: string;
31092
31091
  isComposioManaged: boolean;
31092
+ mode: string;
31093
31093
  }, {
31094
31094
  id: string;
31095
- mode: string;
31096
31095
  isComposioManaged: boolean;
31096
+ mode: string;
31097
31097
  }>>>;
31098
31098
  connectedAccount: z.ZodOptional<z.ZodObject<{
31099
31099
  id: z.ZodString;
@@ -31109,8 +31109,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31109
31109
  isActive: boolean;
31110
31110
  authConfig?: {
31111
31111
  id: string;
31112
- mode: string;
31113
31112
  isComposioManaged: boolean;
31113
+ mode: string;
31114
31114
  } | null | undefined;
31115
31115
  connectedAccount?: {
31116
31116
  status: string;
@@ -31120,8 +31120,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
31120
31120
  isActive: boolean;
31121
31121
  authConfig?: {
31122
31122
  id: string;
31123
- mode: string;
31124
31123
  isComposioManaged: boolean;
31124
+ mode: string;
31125
31125
  } | null | undefined;
31126
31126
  connectedAccount?: {
31127
31127
  status: string;
@@ -31129,16 +31129,16 @@ 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?: {
31137
31137
  isActive: boolean;
31138
31138
  authConfig?: {
31139
31139
  id: string;
31140
- mode: string;
31141
31140
  isComposioManaged: boolean;
31141
+ mode: string;
31142
31142
  } | null | undefined;
31143
31143
  connectedAccount?: {
31144
31144
  status: string;
@@ -31146,16 +31146,16 @@ 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?: {
31154
31154
  isActive: boolean;
31155
31155
  authConfig?: {
31156
31156
  id: string;
31157
- mode: string;
31158
31157
  isComposioManaged: boolean;
31158
+ mode: string;
31159
31159
  } | null | undefined;
31160
31160
  connectedAccount?: {
31161
31161
  status: string;
@@ -31177,12 +31177,12 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31177
31177
  isComposioManaged: z.ZodBoolean;
31178
31178
  }, "strip", z.ZodTypeAny, {
31179
31179
  id: string;
31180
- mode: string;
31181
31180
  isComposioManaged: boolean;
31181
+ mode: string;
31182
31182
  }, {
31183
31183
  id: string;
31184
- mode: string;
31185
31184
  isComposioManaged: boolean;
31185
+ mode: string;
31186
31186
  }>>>;
31187
31187
  connectedAccount: z.ZodOptional<z.ZodObject<{
31188
31188
  id: z.ZodString;
@@ -31198,8 +31198,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31198
31198
  isActive: boolean;
31199
31199
  authConfig?: {
31200
31200
  id: string;
31201
- mode: string;
31202
31201
  isComposioManaged: boolean;
31202
+ mode: string;
31203
31203
  } | null | undefined;
31204
31204
  connectedAccount?: {
31205
31205
  status: string;
@@ -31209,8 +31209,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
31209
31209
  isActive: boolean;
31210
31210
  authConfig?: {
31211
31211
  id: string;
31212
- mode: string;
31213
31212
  isComposioManaged: boolean;
31213
+ mode: string;
31214
31214
  } | null | undefined;
31215
31215
  connectedAccount?: {
31216
31216
  status: string;
@@ -31218,16 +31218,16 @@ 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?: {
31226
31226
  isActive: boolean;
31227
31227
  authConfig?: {
31228
31228
  id: string;
31229
- mode: string;
31230
31229
  isComposioManaged: boolean;
31230
+ mode: string;
31231
31231
  } | null | undefined;
31232
31232
  connectedAccount?: {
31233
31233
  status: string;
@@ -31235,16 +31235,16 @@ 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?: {
31243
31243
  isActive: boolean;
31244
31244
  authConfig?: {
31245
31245
  id: string;
31246
- mode: string;
31247
31246
  isComposioManaged: boolean;
31247
+ mode: string;
31248
31248
  } | null | undefined;
31249
31249
  connectedAccount?: {
31250
31250
  status: string;
@@ -31256,16 +31256,16 @@ 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?: {
31264
31264
  isActive: boolean;
31265
31265
  authConfig?: {
31266
31266
  id: string;
31267
- mode: string;
31268
31267
  isComposioManaged: boolean;
31268
+ mode: string;
31269
31269
  } | null | undefined;
31270
31270
  connectedAccount?: {
31271
31271
  status: string;
@@ -31277,16 +31277,16 @@ 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?: {
31285
31285
  isActive: boolean;
31286
31286
  authConfig?: {
31287
31287
  id: string;
31288
- mode: string;
31289
31288
  isComposioManaged: boolean;
31289
+ mode: string;
31290
31290
  } | null | undefined;
31291
31291
  connectedAccount?: {
31292
31292
  status: string;
@@ -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,14 +31898,10 @@ 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
+ authConfigs?: Record<string, string> | undefined;
31901
31902
  preload?: {
31902
31903
  tools?: string[] | "all" | undefined;
31903
31904
  } | undefined;
31904
- authConfigs?: Record<string, string> | undefined;
31905
31905
  connectedAccounts?: Record<string, string[]> | undefined;
31906
31906
  manageConnections?: boolean | {
31907
31907
  enable?: boolean | undefined;
@@ -31926,6 +31926,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31926
31926
  requireExplicitSelection?: boolean | undefined;
31927
31927
  } | null | 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,14 +31945,10 @@ 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
+ authConfigs?: Record<string, string> | undefined;
31948
31949
  preload?: {
31949
31950
  tools?: string[] | "all" | undefined;
31950
31951
  } | undefined;
31951
- authConfigs?: Record<string, string> | undefined;
31952
31952
  connectedAccounts?: Record<string, string | string[]> | undefined;
31953
31953
  manageConnections?: boolean | {
31954
31954
  enable?: boolean | undefined;
@@ -31973,6 +31973,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
31973
31973
  requireExplicitSelection?: boolean | undefined;
31974
31974
  } | null | 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,14 +31992,10 @@ 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
+ authConfigs?: Record<string, string> | undefined;
31995
31996
  preload?: {
31996
31997
  tools?: string[] | "all" | undefined;
31997
31998
  } | undefined;
31998
- authConfigs?: Record<string, string> | undefined;
31999
31999
  connectedAccounts?: Record<string, string[]> | undefined;
32000
32000
  manageConnections?: boolean | {
32001
32001
  enable?: boolean | undefined;
@@ -32020,6 +32020,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32020
32020
  requireExplicitSelection?: boolean | undefined;
32021
32021
  } | null | 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,14 +32039,10 @@ 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
+ authConfigs?: Record<string, string> | undefined;
32042
32043
  preload?: {
32043
32044
  tools?: string[] | "all" | undefined;
32044
32045
  } | undefined;
32045
- authConfigs?: Record<string, string> | undefined;
32046
32046
  connectedAccounts?: Record<string, string | string[]> | undefined;
32047
32047
  manageConnections?: boolean | {
32048
32048
  enable?: boolean | undefined;
@@ -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>;