@composio/core 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -566,17 +566,17 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
566
566
  }, "strip", z$1.ZodTypeAny, {
567
567
  tags?: string[] | undefined;
568
568
  scopes?: string[] | undefined;
569
+ limit?: number | undefined;
569
570
  tools?: string[] | undefined;
570
571
  toolkits?: string[] | undefined;
571
- limit?: number | undefined;
572
572
  search?: string | undefined;
573
573
  authConfigIds?: string[] | undefined;
574
574
  }, {
575
575
  tags?: string[] | undefined;
576
576
  scopes?: string[] | undefined;
577
+ limit?: number | undefined;
577
578
  tools?: string[] | undefined;
578
579
  toolkits?: string[] | undefined;
579
- limit?: number | undefined;
580
580
  search?: string | undefined;
581
581
  authConfigIds?: string[] | undefined;
582
582
  }>;
@@ -26617,10 +26617,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26617
26617
  windsurf: string;
26618
26618
  };
26619
26619
  status?: string | undefined;
26620
+ createdAt?: string | undefined;
26620
26621
  tools?: string[] | undefined;
26621
26622
  toolkits?: string[] | undefined;
26622
26623
  authConfigIds?: string[] | undefined;
26623
- createdAt?: string | undefined;
26624
26624
  updatedAt?: string | undefined;
26625
26625
  managedAuthViaComposio?: boolean | undefined;
26626
26626
  }, {
@@ -26633,10 +26633,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
26633
26633
  windsurf: string;
26634
26634
  };
26635
26635
  status?: string | undefined;
26636
+ createdAt?: string | undefined;
26636
26637
  tools?: string[] | undefined;
26637
26638
  toolkits?: string[] | undefined;
26638
26639
  authConfigIds?: string[] | undefined;
26639
- createdAt?: string | undefined;
26640
26640
  updatedAt?: string | undefined;
26641
26641
  managedAuthViaComposio?: boolean | undefined;
26642
26642
  }>;
@@ -26706,17 +26706,17 @@ declare const McpUpdateResponseSchema: z$1.ZodObject<{
26706
26706
  name: string;
26707
26707
  id: string;
26708
26708
  status?: string | undefined;
26709
+ createdAt?: string | undefined;
26709
26710
  tools?: string[] | undefined;
26710
26711
  toolkits?: string[] | undefined;
26711
- createdAt?: string | undefined;
26712
26712
  updatedAt?: string | undefined;
26713
26713
  }, {
26714
26714
  name: string;
26715
26715
  id: string;
26716
26716
  status?: string | undefined;
26717
+ createdAt?: string | undefined;
26717
26718
  tools?: string[] | undefined;
26718
26719
  toolkits?: string[] | undefined;
26719
- createdAt?: string | undefined;
26720
26720
  updatedAt?: string | undefined;
26721
26721
  }>;
26722
26722
  declare const ComposioMcpUpdateResponseSchema: z$1.ZodObject<{
@@ -27398,14 +27398,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
27398
27398
  cursor: z$1.ZodOptional<z$1.ZodString>;
27399
27399
  limit: z$1.ZodOptional<z$1.ZodNumber>;
27400
27400
  }, "strip", z$1.ZodTypeAny, {
27401
- limit?: number | undefined;
27402
27401
  cursor?: string | undefined;
27402
+ limit?: number | undefined;
27403
27403
  category?: string | undefined;
27404
27404
  managedBy?: "all" | "composio" | "project" | undefined;
27405
27405
  sortBy?: "usage" | "alphabetically" | undefined;
27406
27406
  }, {
27407
- limit?: number | undefined;
27408
27407
  cursor?: string | undefined;
27408
+ limit?: number | undefined;
27409
27409
  category?: string | undefined;
27410
27410
  managedBy?: "all" | "composio" | "project" | undefined;
27411
27411
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -27440,7 +27440,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27440
27440
  logo?: string | undefined;
27441
27441
  availableVersions?: string[] | undefined;
27442
27442
  createdAt?: string | undefined;
27443
- updatedAt?: string | undefined;
27444
27443
  categories?: {
27445
27444
  slug: string;
27446
27445
  name: string;
@@ -27448,12 +27447,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27448
27447
  appUrl?: string | undefined;
27449
27448
  toolsCount?: number | undefined;
27450
27449
  triggersCount?: number | undefined;
27450
+ updatedAt?: string | undefined;
27451
27451
  }, {
27452
27452
  description?: string | undefined;
27453
27453
  logo?: string | undefined;
27454
27454
  availableVersions?: string[] | undefined;
27455
27455
  createdAt?: string | undefined;
27456
- updatedAt?: string | undefined;
27457
27456
  categories?: {
27458
27457
  slug: string;
27459
27458
  name: string;
@@ -27461,6 +27460,7 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27461
27460
  appUrl?: string | undefined;
27462
27461
  toolsCount?: number | undefined;
27463
27462
  triggersCount?: number | undefined;
27463
+ updatedAt?: string | undefined;
27464
27464
  }>;
27465
27465
  declare const ToolKitItemSchema: z$1.ZodObject<{
27466
27466
  name: z$1.ZodString;
@@ -27489,7 +27489,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27489
27489
  logo?: string | undefined;
27490
27490
  availableVersions?: string[] | undefined;
27491
27491
  createdAt?: string | undefined;
27492
- updatedAt?: string | undefined;
27493
27492
  categories?: {
27494
27493
  slug: string;
27495
27494
  name: string;
@@ -27497,12 +27496,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27497
27496
  appUrl?: string | undefined;
27498
27497
  toolsCount?: number | undefined;
27499
27498
  triggersCount?: number | undefined;
27499
+ updatedAt?: string | undefined;
27500
27500
  }, {
27501
27501
  description?: string | undefined;
27502
27502
  logo?: string | undefined;
27503
27503
  availableVersions?: string[] | undefined;
27504
27504
  createdAt?: string | undefined;
27505
- updatedAt?: string | undefined;
27506
27505
  categories?: {
27507
27506
  slug: string;
27508
27507
  name: string;
@@ -27510,6 +27509,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27510
27509
  appUrl?: string | undefined;
27511
27510
  toolsCount?: number | undefined;
27512
27511
  triggersCount?: number | undefined;
27512
+ updatedAt?: string | undefined;
27513
27513
  }>;
27514
27514
  isLocalToolkit: z$1.ZodBoolean;
27515
27515
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -27523,7 +27523,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27523
27523
  logo?: string | undefined;
27524
27524
  availableVersions?: string[] | undefined;
27525
27525
  createdAt?: string | undefined;
27526
- updatedAt?: string | undefined;
27527
27526
  categories?: {
27528
27527
  slug: string;
27529
27528
  name: string;
@@ -27531,6 +27530,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27531
27530
  appUrl?: string | undefined;
27532
27531
  toolsCount?: number | undefined;
27533
27532
  triggersCount?: number | undefined;
27533
+ updatedAt?: string | undefined;
27534
27534
  };
27535
27535
  isLocalToolkit: boolean;
27536
27536
  authSchemes?: string[] | undefined;
@@ -27544,7 +27544,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27544
27544
  logo?: string | undefined;
27545
27545
  availableVersions?: string[] | undefined;
27546
27546
  createdAt?: string | undefined;
27547
- updatedAt?: string | undefined;
27548
27547
  categories?: {
27549
27548
  slug: string;
27550
27549
  name: string;
@@ -27552,6 +27551,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27552
27551
  appUrl?: string | undefined;
27553
27552
  toolsCount?: number | undefined;
27554
27553
  triggersCount?: number | undefined;
27554
+ updatedAt?: string | undefined;
27555
27555
  };
27556
27556
  isLocalToolkit: boolean;
27557
27557
  authSchemes?: string[] | undefined;
@@ -27585,7 +27585,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27585
27585
  logo?: string | undefined;
27586
27586
  availableVersions?: string[] | undefined;
27587
27587
  createdAt?: string | undefined;
27588
- updatedAt?: string | undefined;
27589
27588
  categories?: {
27590
27589
  slug: string;
27591
27590
  name: string;
@@ -27593,12 +27592,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27593
27592
  appUrl?: string | undefined;
27594
27593
  toolsCount?: number | undefined;
27595
27594
  triggersCount?: number | undefined;
27595
+ updatedAt?: string | undefined;
27596
27596
  }, {
27597
27597
  description?: string | undefined;
27598
27598
  logo?: string | undefined;
27599
27599
  availableVersions?: string[] | undefined;
27600
27600
  createdAt?: string | undefined;
27601
- updatedAt?: string | undefined;
27602
27601
  categories?: {
27603
27602
  slug: string;
27604
27603
  name: string;
@@ -27606,6 +27605,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27606
27605
  appUrl?: string | undefined;
27607
27606
  toolsCount?: number | undefined;
27608
27607
  triggersCount?: number | undefined;
27608
+ updatedAt?: string | undefined;
27609
27609
  }>;
27610
27610
  isLocalToolkit: z$1.ZodBoolean;
27611
27611
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -27619,7 +27619,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27619
27619
  logo?: string | undefined;
27620
27620
  availableVersions?: string[] | undefined;
27621
27621
  createdAt?: string | undefined;
27622
- updatedAt?: string | undefined;
27623
27622
  categories?: {
27624
27623
  slug: string;
27625
27624
  name: string;
@@ -27627,6 +27626,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27627
27626
  appUrl?: string | undefined;
27628
27627
  toolsCount?: number | undefined;
27629
27628
  triggersCount?: number | undefined;
27629
+ updatedAt?: string | undefined;
27630
27630
  };
27631
27631
  isLocalToolkit: boolean;
27632
27632
  authSchemes?: string[] | undefined;
@@ -27640,7 +27640,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27640
27640
  logo?: string | undefined;
27641
27641
  availableVersions?: string[] | undefined;
27642
27642
  createdAt?: string | undefined;
27643
- updatedAt?: string | undefined;
27644
27643
  categories?: {
27645
27644
  slug: string;
27646
27645
  name: string;
@@ -27648,6 +27647,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27648
27647
  appUrl?: string | undefined;
27649
27648
  toolsCount?: number | undefined;
27650
27649
  triggersCount?: number | undefined;
27650
+ updatedAt?: string | undefined;
27651
27651
  };
27652
27652
  isLocalToolkit: boolean;
27653
27653
  authSchemes?: string[] | undefined;
@@ -28044,7 +28044,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28044
28044
  logo?: string | undefined;
28045
28045
  availableVersions?: string[] | undefined;
28046
28046
  createdAt?: string | undefined;
28047
- updatedAt?: string | undefined;
28048
28047
  categories?: {
28049
28048
  slug: string;
28050
28049
  name: string;
@@ -28052,12 +28051,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28052
28051
  appUrl?: string | undefined;
28053
28052
  toolsCount?: number | undefined;
28054
28053
  triggersCount?: number | undefined;
28054
+ updatedAt?: string | undefined;
28055
28055
  }, {
28056
28056
  description?: string | undefined;
28057
28057
  logo?: string | undefined;
28058
28058
  availableVersions?: string[] | undefined;
28059
28059
  createdAt?: string | undefined;
28060
- updatedAt?: string | undefined;
28061
28060
  categories?: {
28062
28061
  slug: string;
28063
28062
  name: string;
@@ -28065,6 +28064,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28065
28064
  appUrl?: string | undefined;
28066
28065
  toolsCount?: number | undefined;
28067
28066
  triggersCount?: number | undefined;
28067
+ updatedAt?: string | undefined;
28068
28068
  }>;
28069
28069
  isLocalToolkit: z$1.ZodBoolean;
28070
28070
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -28413,7 +28413,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28413
28413
  logo?: string | undefined;
28414
28414
  availableVersions?: string[] | undefined;
28415
28415
  createdAt?: string | undefined;
28416
- updatedAt?: string | undefined;
28417
28416
  categories?: {
28418
28417
  slug: string;
28419
28418
  name: string;
@@ -28421,6 +28420,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28421
28420
  appUrl?: string | undefined;
28422
28421
  toolsCount?: number | undefined;
28423
28422
  triggersCount?: number | undefined;
28423
+ updatedAt?: string | undefined;
28424
28424
  };
28425
28425
  isLocalToolkit: boolean;
28426
28426
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28479,7 +28479,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28479
28479
  logo?: string | undefined;
28480
28480
  availableVersions?: string[] | undefined;
28481
28481
  createdAt?: string | undefined;
28482
- updatedAt?: string | undefined;
28483
28482
  categories?: {
28484
28483
  slug: string;
28485
28484
  name: string;
@@ -28487,6 +28486,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28487
28486
  appUrl?: string | undefined;
28488
28487
  toolsCount?: number | undefined;
28489
28488
  triggersCount?: number | undefined;
28489
+ updatedAt?: string | undefined;
28490
28490
  };
28491
28491
  isLocalToolkit: boolean;
28492
28492
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28691,12 +28691,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
28691
28691
  redirectUrl: z$1.ZodNullable<z$1.ZodString>;
28692
28692
  }, "strip", z$1.ZodTypeAny, {
28693
28693
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28694
- redirectUrl: string | null;
28695
28694
  id: string;
28695
+ redirectUrl: string | null;
28696
28696
  }, {
28697
28697
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28698
- redirectUrl: string | null;
28699
28698
  id: string;
28699
+ redirectUrl: string | null;
28700
28700
  }>;
28701
28701
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
28702
28702
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
@@ -28745,17 +28745,17 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
28745
28745
  toolkitSlugs: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28746
28746
  userIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
28747
28747
  }, "strip", z$1.ZodTypeAny, {
28748
+ cursor?: string | null | undefined;
28748
28749
  limit?: number | null | undefined;
28749
28750
  authConfigIds?: string[] | null | undefined;
28750
- cursor?: string | null | undefined;
28751
28751
  orderBy?: "created_at" | "updated_at" | undefined;
28752
28752
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28753
28753
  toolkitSlugs?: string[] | null | undefined;
28754
28754
  userIds?: string[] | null | undefined;
28755
28755
  }, {
28756
+ cursor?: string | null | undefined;
28756
28757
  limit?: number | null | undefined;
28757
28758
  authConfigIds?: string[] | null | undefined;
28758
- cursor?: string | null | undefined;
28759
28759
  orderBy?: "created_at" | "updated_at" | undefined;
28760
28760
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28761
28761
  toolkitSlugs?: string[] | null | undefined;
@@ -28944,10 +28944,11 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28944
28944
  }, {
28945
28945
  toolsForConnectedAccountCreation?: string[] | undefined;
28946
28946
  }>>;
28947
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
28947
28948
  }, "strip", z$1.ZodTypeAny, {
28948
28949
  type: "use_custom_auth";
28949
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
28950
28950
  credentials: Record<string, string | number | boolean>;
28951
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
28951
28952
  name?: string | undefined;
28952
28953
  proxyConfig?: {
28953
28954
  proxyUrl: string;
@@ -28956,10 +28957,11 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28956
28957
  toolAccessConfig?: {
28957
28958
  toolsForConnectedAccountCreation?: string[] | undefined;
28958
28959
  } | undefined;
28960
+ isEnabledForToolRouter?: boolean | undefined;
28959
28961
  }, {
28960
28962
  type: "use_custom_auth";
28961
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
28962
28963
  credentials: Record<string, string | number | boolean>;
28964
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
28963
28965
  name?: string | undefined;
28964
28966
  proxyConfig?: {
28965
28967
  proxyUrl: string;
@@ -28968,11 +28970,21 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
28968
28970
  toolAccessConfig?: {
28969
28971
  toolsForConnectedAccountCreation?: string[] | undefined;
28970
28972
  } | undefined;
28973
+ isEnabledForToolRouter?: boolean | undefined;
28971
28974
  }>;
28972
28975
  declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
28973
28976
  type: z$1.ZodLiteral<"use_composio_managed_auth">;
28974
28977
  name: z$1.ZodOptional<z$1.ZodString>;
28975
- credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>>;
28978
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
28979
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28980
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28981
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
28982
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28983
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28984
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
28985
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28986
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
28987
+ }, z$1.ZodTypeAny, "passthrough">>>;
28976
28988
  toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
28977
28989
  toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28978
28990
  }, "strip", z$1.ZodTypeAny, {
@@ -28980,20 +28992,29 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
28980
28992
  }, {
28981
28993
  toolsForConnectedAccountCreation?: string[] | undefined;
28982
28994
  }>>;
28995
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
28983
28996
  }, "strip", z$1.ZodTypeAny, {
28984
28997
  type: "use_composio_managed_auth";
28985
28998
  name?: string | undefined;
28986
- credentials?: Record<string, string | number | boolean> | undefined;
28999
+ credentials?: z$1.objectOutputType<{
29000
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29001
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29002
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
28987
29003
  toolAccessConfig?: {
28988
29004
  toolsForConnectedAccountCreation?: string[] | undefined;
28989
29005
  } | undefined;
29006
+ isEnabledForToolRouter?: boolean | undefined;
28990
29007
  }, {
28991
29008
  type: "use_composio_managed_auth";
28992
29009
  name?: string | undefined;
28993
- credentials?: Record<string, string | number | boolean> | undefined;
29010
+ credentials?: z$1.objectInputType<{
29011
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29012
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29013
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
28994
29014
  toolAccessConfig?: {
28995
29015
  toolsForConnectedAccountCreation?: string[] | undefined;
28996
29016
  } | undefined;
29017
+ isEnabledForToolRouter?: boolean | undefined;
28997
29018
  }>;
28998
29019
  /**
28999
29020
  * Discriminated union of all possible auth config types.
@@ -29020,10 +29041,11 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29020
29041
  }, {
29021
29042
  toolsForConnectedAccountCreation?: string[] | undefined;
29022
29043
  }>>;
29044
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29023
29045
  }, "strip", z$1.ZodTypeAny, {
29024
29046
  type: "use_custom_auth";
29025
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
29026
29047
  credentials: Record<string, string | number | boolean>;
29048
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
29027
29049
  name?: string | undefined;
29028
29050
  proxyConfig?: {
29029
29051
  proxyUrl: string;
@@ -29032,10 +29054,11 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29032
29054
  toolAccessConfig?: {
29033
29055
  toolsForConnectedAccountCreation?: string[] | undefined;
29034
29056
  } | undefined;
29057
+ isEnabledForToolRouter?: boolean | undefined;
29035
29058
  }, {
29036
29059
  type: "use_custom_auth";
29037
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
29038
29060
  credentials: Record<string, string | number | boolean>;
29061
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
29039
29062
  name?: string | undefined;
29040
29063
  proxyConfig?: {
29041
29064
  proxyUrl: string;
@@ -29044,10 +29067,20 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29044
29067
  toolAccessConfig?: {
29045
29068
  toolsForConnectedAccountCreation?: string[] | undefined;
29046
29069
  } | undefined;
29070
+ isEnabledForToolRouter?: boolean | undefined;
29047
29071
  }>, z$1.ZodObject<{
29048
29072
  type: z$1.ZodLiteral<"use_composio_managed_auth">;
29049
29073
  name: z$1.ZodOptional<z$1.ZodString>;
29050
- credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>>;
29074
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
29075
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29076
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29077
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
29078
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29079
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29080
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
29081
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29082
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29083
+ }, z$1.ZodTypeAny, "passthrough">>>;
29051
29084
  toolAccessConfig: z$1.ZodOptional<z$1.ZodObject<{
29052
29085
  toolsForConnectedAccountCreation: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
29053
29086
  }, "strip", z$1.ZodTypeAny, {
@@ -29055,20 +29088,29 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29055
29088
  }, {
29056
29089
  toolsForConnectedAccountCreation?: string[] | undefined;
29057
29090
  }>>;
29091
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29058
29092
  }, "strip", z$1.ZodTypeAny, {
29059
29093
  type: "use_composio_managed_auth";
29060
29094
  name?: string | undefined;
29061
- credentials?: Record<string, string | number | boolean> | undefined;
29095
+ credentials?: z$1.objectOutputType<{
29096
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29097
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29098
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29062
29099
  toolAccessConfig?: {
29063
29100
  toolsForConnectedAccountCreation?: string[] | undefined;
29064
29101
  } | undefined;
29102
+ isEnabledForToolRouter?: boolean | undefined;
29065
29103
  }, {
29066
29104
  type: "use_composio_managed_auth";
29067
29105
  name?: string | undefined;
29068
- credentials?: Record<string, string | number | boolean> | undefined;
29106
+ credentials?: z$1.objectInputType<{
29107
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29108
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29109
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29069
29110
  toolAccessConfig?: {
29070
29111
  toolsForConnectedAccountCreation?: string[] | undefined;
29071
29112
  } | undefined;
29113
+ isEnabledForToolRouter?: boolean | undefined;
29072
29114
  }>]>;
29073
29115
  type CreateAuthConfigParams = z$1.infer<typeof CreateAuthConfigParamsSchema>;
29074
29116
  declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
@@ -29107,6 +29149,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
29107
29149
  authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
29108
29150
  credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
29109
29151
  expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
29152
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29110
29153
  /**
29111
29154
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29112
29155
  */
@@ -29135,12 +29178,13 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
29135
29178
  id: string;
29136
29179
  noOfConnections: number;
29137
29180
  uuid: string;
29138
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29139
29181
  credentials?: Record<string, unknown> | undefined;
29182
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29140
29183
  toolAccessConfig?: {
29141
29184
  toolsForConnectedAccountCreation?: string[] | undefined;
29142
29185
  toolsAvailableForExecution?: string[] | undefined;
29143
29186
  } | undefined;
29187
+ isEnabledForToolRouter?: boolean | undefined;
29144
29188
  isComposioManaged?: boolean | undefined;
29145
29189
  expectedInputFields?: unknown[] | undefined;
29146
29190
  restrictToFollowingTools?: string[] | undefined;
@@ -29157,12 +29201,13 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
29157
29201
  id: string;
29158
29202
  noOfConnections: number;
29159
29203
  uuid: string;
29160
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29161
29204
  credentials?: Record<string, unknown> | undefined;
29205
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29162
29206
  toolAccessConfig?: {
29163
29207
  toolsForConnectedAccountCreation?: string[] | undefined;
29164
29208
  toolsAvailableForExecution?: string[] | undefined;
29165
29209
  } | undefined;
29210
+ isEnabledForToolRouter?: boolean | undefined;
29166
29211
  isComposioManaged?: boolean | undefined;
29167
29212
  expectedInputFields?: unknown[] | undefined;
29168
29213
  restrictToFollowingTools?: string[] | undefined;
@@ -29178,14 +29223,14 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
29178
29223
  toolkit: z$1.ZodOptional<z$1.ZodString>;
29179
29224
  }, "strip", z$1.ZodTypeAny, {
29180
29225
  toolkit?: string | undefined;
29181
- limit?: number | undefined;
29182
29226
  isComposioManaged?: boolean | undefined;
29183
29227
  cursor?: string | undefined;
29228
+ limit?: number | undefined;
29184
29229
  }, {
29185
29230
  toolkit?: string | undefined;
29186
- limit?: number | undefined;
29187
29231
  isComposioManaged?: boolean | undefined;
29188
29232
  cursor?: string | undefined;
29233
+ limit?: number | undefined;
29189
29234
  }>;
29190
29235
  type AuthConfigListParams = z$1.infer<typeof AuthConfigListParamsSchema>;
29191
29236
  declare const AuthConfigListResponseSchema: z$1.ZodObject<{
@@ -29208,6 +29253,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29208
29253
  authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
29209
29254
  credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
29210
29255
  expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
29256
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29211
29257
  /**
29212
29258
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29213
29259
  */
@@ -29236,12 +29282,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29236
29282
  id: string;
29237
29283
  noOfConnections: number;
29238
29284
  uuid: string;
29239
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29240
29285
  credentials?: Record<string, unknown> | undefined;
29286
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29241
29287
  toolAccessConfig?: {
29242
29288
  toolsForConnectedAccountCreation?: string[] | undefined;
29243
29289
  toolsAvailableForExecution?: string[] | undefined;
29244
29290
  } | undefined;
29291
+ isEnabledForToolRouter?: boolean | undefined;
29245
29292
  isComposioManaged?: boolean | undefined;
29246
29293
  expectedInputFields?: unknown[] | undefined;
29247
29294
  restrictToFollowingTools?: string[] | undefined;
@@ -29258,12 +29305,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29258
29305
  id: string;
29259
29306
  noOfConnections: number;
29260
29307
  uuid: string;
29261
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29262
29308
  credentials?: Record<string, unknown> | undefined;
29309
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29263
29310
  toolAccessConfig?: {
29264
29311
  toolsForConnectedAccountCreation?: string[] | undefined;
29265
29312
  toolsAvailableForExecution?: string[] | undefined;
29266
29313
  } | undefined;
29314
+ isEnabledForToolRouter?: boolean | undefined;
29267
29315
  isComposioManaged?: boolean | undefined;
29268
29316
  expectedInputFields?: unknown[] | undefined;
29269
29317
  restrictToFollowingTools?: string[] | undefined;
@@ -29284,12 +29332,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29284
29332
  id: string;
29285
29333
  noOfConnections: number;
29286
29334
  uuid: string;
29287
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29288
29335
  credentials?: Record<string, unknown> | undefined;
29336
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29289
29337
  toolAccessConfig?: {
29290
29338
  toolsForConnectedAccountCreation?: string[] | undefined;
29291
29339
  toolsAvailableForExecution?: string[] | undefined;
29292
29340
  } | undefined;
29341
+ isEnabledForToolRouter?: boolean | undefined;
29293
29342
  isComposioManaged?: boolean | undefined;
29294
29343
  expectedInputFields?: unknown[] | undefined;
29295
29344
  restrictToFollowingTools?: string[] | undefined;
@@ -29310,12 +29359,13 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29310
29359
  id: string;
29311
29360
  noOfConnections: number;
29312
29361
  uuid: string;
29313
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29314
29362
  credentials?: Record<string, unknown> | undefined;
29363
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | undefined;
29315
29364
  toolAccessConfig?: {
29316
29365
  toolsForConnectedAccountCreation?: string[] | undefined;
29317
29366
  toolsAvailableForExecution?: string[] | undefined;
29318
29367
  } | undefined;
29368
+ isEnabledForToolRouter?: boolean | undefined;
29319
29369
  isComposioManaged?: boolean | undefined;
29320
29370
  expectedInputFields?: unknown[] | undefined;
29321
29371
  restrictToFollowingTools?: string[] | undefined;
@@ -29328,8 +29378,18 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
29328
29378
  }>;
29329
29379
  type AuthConfigListResponse = z$1.infer<typeof AuthConfigListResponseSchema>;
29330
29380
  declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
29331
- credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodUnknown]>>;
29332
29381
  type: z$1.ZodLiteral<"custom">;
29382
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
29383
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29384
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29385
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
29386
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29387
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29388
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
29389
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29390
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29391
+ }, z$1.ZodTypeAny, "passthrough">>>;
29392
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29333
29393
  /**
29334
29394
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29335
29395
  */
@@ -29346,24 +29406,33 @@ declare const AuthCustomConfigUpdateParamsSchema: z$1.ZodObject<{
29346
29406
  }>>;
29347
29407
  }, "strip", z$1.ZodTypeAny, {
29348
29408
  type: "custom";
29349
- credentials: Record<string, unknown>;
29409
+ credentials?: z$1.objectOutputType<{
29410
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29411
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29412
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29350
29413
  toolAccessConfig?: {
29351
29414
  toolsForConnectedAccountCreation?: string[] | undefined;
29352
29415
  toolsAvailableForExecution?: string[] | undefined;
29353
29416
  } | undefined;
29417
+ isEnabledForToolRouter?: boolean | undefined;
29354
29418
  restrictToFollowingTools?: string[] | undefined;
29355
29419
  }, {
29356
29420
  type: "custom";
29357
- credentials: Record<string, unknown>;
29421
+ credentials?: z$1.objectInputType<{
29422
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29423
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29424
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29358
29425
  toolAccessConfig?: {
29359
29426
  toolsForConnectedAccountCreation?: string[] | undefined;
29360
29427
  toolsAvailableForExecution?: string[] | undefined;
29361
29428
  } | undefined;
29429
+ isEnabledForToolRouter?: boolean | undefined;
29362
29430
  restrictToFollowingTools?: string[] | undefined;
29363
29431
  }>;
29364
29432
  declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
29365
- scopes: z$1.ZodOptional<z$1.ZodString>;
29366
29433
  type: z$1.ZodLiteral<"default">;
29434
+ scopes: z$1.ZodOptional<z$1.ZodString>;
29435
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29367
29436
  /**
29368
29437
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29369
29438
  */
@@ -29385,6 +29454,7 @@ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
29385
29454
  toolsForConnectedAccountCreation?: string[] | undefined;
29386
29455
  toolsAvailableForExecution?: string[] | undefined;
29387
29456
  } | undefined;
29457
+ isEnabledForToolRouter?: boolean | undefined;
29388
29458
  restrictToFollowingTools?: string[] | undefined;
29389
29459
  }, {
29390
29460
  type: "default";
@@ -29393,11 +29463,22 @@ declare const AuthDefaultConfigUpdateParamsSchema: z$1.ZodObject<{
29393
29463
  toolsForConnectedAccountCreation?: string[] | undefined;
29394
29464
  toolsAvailableForExecution?: string[] | undefined;
29395
29465
  } | undefined;
29466
+ isEnabledForToolRouter?: boolean | undefined;
29396
29467
  restrictToFollowingTools?: string[] | undefined;
29397
29468
  }>;
29398
29469
  declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
29399
- credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodUnknown]>>;
29400
29470
  type: z$1.ZodLiteral<"custom">;
29471
+ credentials: z$1.ZodOptional<z$1.ZodObject<{
29472
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29473
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29474
+ }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
29475
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29476
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29477
+ }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
29478
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29479
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29480
+ }, z$1.ZodTypeAny, "passthrough">>>;
29481
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29401
29482
  /**
29402
29483
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29403
29484
  */
@@ -29414,23 +29495,32 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29414
29495
  }>>;
29415
29496
  }, "strip", z$1.ZodTypeAny, {
29416
29497
  type: "custom";
29417
- credentials: Record<string, unknown>;
29498
+ credentials?: z$1.objectOutputType<{
29499
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29500
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29501
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29418
29502
  toolAccessConfig?: {
29419
29503
  toolsForConnectedAccountCreation?: string[] | undefined;
29420
29504
  toolsAvailableForExecution?: string[] | undefined;
29421
29505
  } | undefined;
29506
+ isEnabledForToolRouter?: boolean | undefined;
29422
29507
  restrictToFollowingTools?: string[] | undefined;
29423
29508
  }, {
29424
29509
  type: "custom";
29425
- credentials: Record<string, unknown>;
29510
+ credentials?: z$1.objectInputType<{
29511
+ scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29512
+ user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
29513
+ }, z$1.ZodTypeAny, "passthrough"> | undefined;
29426
29514
  toolAccessConfig?: {
29427
29515
  toolsForConnectedAccountCreation?: string[] | undefined;
29428
29516
  toolsAvailableForExecution?: string[] | undefined;
29429
29517
  } | undefined;
29518
+ isEnabledForToolRouter?: boolean | undefined;
29430
29519
  restrictToFollowingTools?: string[] | undefined;
29431
29520
  }>, z$1.ZodObject<{
29432
- scopes: z$1.ZodOptional<z$1.ZodString>;
29433
29521
  type: z$1.ZodLiteral<"default">;
29522
+ scopes: z$1.ZodOptional<z$1.ZodString>;
29523
+ isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
29434
29524
  /**
29435
29525
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29436
29526
  */
@@ -29452,6 +29542,7 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29452
29542
  toolsForConnectedAccountCreation?: string[] | undefined;
29453
29543
  toolsAvailableForExecution?: string[] | undefined;
29454
29544
  } | undefined;
29545
+ isEnabledForToolRouter?: boolean | undefined;
29455
29546
  restrictToFollowingTools?: string[] | undefined;
29456
29547
  }, {
29457
29548
  type: "default";
@@ -29460,6 +29551,7 @@ declare const AuthConfigUpdateParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
29460
29551
  toolsForConnectedAccountCreation?: string[] | undefined;
29461
29552
  toolsAvailableForExecution?: string[] | undefined;
29462
29553
  } | undefined;
29554
+ isEnabledForToolRouter?: boolean | undefined;
29463
29555
  restrictToFollowingTools?: string[] | undefined;
29464
29556
  }>]>;
29465
29557
  type AuthConfigUpdateParams = z$1.infer<typeof AuthConfigUpdateParamsSchema>;
@@ -29666,23 +29758,23 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29666
29758
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29667
29759
  uuid: z$1.ZodOptional<z$1.ZodString>;
29668
29760
  }, "strip", z$1.ZodTypeAny, {
29669
- connectedAccountId: string;
29670
29761
  id: string;
29762
+ connectedAccountId: string;
29763
+ updatedAt: string;
29671
29764
  disabledAt: string | null;
29672
29765
  state: Record<string, unknown>;
29673
29766
  triggerConfig: Record<string, unknown>;
29674
29767
  triggerName: string;
29675
- updatedAt: string;
29676
29768
  uuid?: string | undefined;
29677
29769
  triggerData?: string | undefined;
29678
29770
  }, {
29679
- connectedAccountId: string;
29680
29771
  id: string;
29772
+ connectedAccountId: string;
29773
+ updatedAt: string;
29681
29774
  disabledAt: string | null;
29682
29775
  state: Record<string, unknown>;
29683
29776
  triggerConfig: Record<string, unknown>;
29684
29777
  triggerName: string;
29685
- updatedAt: string;
29686
29778
  uuid?: string | undefined;
29687
29779
  triggerData?: string | undefined;
29688
29780
  }>;
@@ -29698,23 +29790,23 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29698
29790
  triggerData: z$1.ZodOptional<z$1.ZodString>;
29699
29791
  uuid: z$1.ZodOptional<z$1.ZodString>;
29700
29792
  }, "strip", z$1.ZodTypeAny, {
29701
- connectedAccountId: string;
29702
29793
  id: string;
29794
+ connectedAccountId: string;
29795
+ updatedAt: string;
29703
29796
  disabledAt: string | null;
29704
29797
  state: Record<string, unknown>;
29705
29798
  triggerConfig: Record<string, unknown>;
29706
29799
  triggerName: string;
29707
- updatedAt: string;
29708
29800
  uuid?: string | undefined;
29709
29801
  triggerData?: string | undefined;
29710
29802
  }, {
29711
- connectedAccountId: string;
29712
29803
  id: string;
29804
+ connectedAccountId: string;
29805
+ updatedAt: string;
29713
29806
  disabledAt: string | null;
29714
29807
  state: Record<string, unknown>;
29715
29808
  triggerConfig: Record<string, unknown>;
29716
29809
  triggerName: string;
29717
- updatedAt: string;
29718
29810
  uuid?: string | undefined;
29719
29811
  triggerData?: string | undefined;
29720
29812
  }>, "many">;
@@ -29722,13 +29814,13 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29722
29814
  totalPages: z$1.ZodNumber;
29723
29815
  }, "strip", z$1.ZodTypeAny, {
29724
29816
  items: {
29725
- connectedAccountId: string;
29726
29817
  id: string;
29818
+ connectedAccountId: string;
29819
+ updatedAt: string;
29727
29820
  disabledAt: string | null;
29728
29821
  state: Record<string, unknown>;
29729
29822
  triggerConfig: Record<string, unknown>;
29730
29823
  triggerName: string;
29731
- updatedAt: string;
29732
29824
  uuid?: string | undefined;
29733
29825
  triggerData?: string | undefined;
29734
29826
  }[];
@@ -29736,13 +29828,13 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29736
29828
  totalPages: number;
29737
29829
  }, {
29738
29830
  items: {
29739
- connectedAccountId: string;
29740
29831
  id: string;
29832
+ connectedAccountId: string;
29833
+ updatedAt: string;
29741
29834
  disabledAt: string | null;
29742
29835
  state: Record<string, unknown>;
29743
29836
  triggerConfig: Record<string, unknown>;
29744
29837
  triggerName: string;
29745
- updatedAt: string;
29746
29838
  uuid?: string | undefined;
29747
29839
  triggerData?: string | undefined;
29748
29840
  }[];
@@ -29818,67 +29910,67 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29818
29910
  status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
29819
29911
  }, "strip", z$1.ZodTypeAny, {
29820
29912
  status: "ACTIVE" | "INACTIVE";
29821
- userId: string;
29822
29913
  id: string;
29823
29914
  uuid: string;
29915
+ userId: string;
29824
29916
  authConfigId: string;
29825
29917
  authConfigUUID: string;
29826
29918
  }, {
29827
29919
  status: "ACTIVE" | "INACTIVE";
29828
- userId: string;
29829
29920
  id: string;
29830
29921
  uuid: string;
29922
+ userId: string;
29831
29923
  authConfigId: string;
29832
29924
  authConfigUUID: string;
29833
29925
  }>;
29834
29926
  }, "strip", z$1.ZodTypeAny, {
29835
- toolkitSlug: string;
29836
29927
  id: string;
29837
29928
  uuid: string;
29929
+ toolkitSlug: string;
29838
29930
  triggerSlug: string;
29839
29931
  triggerConfig: Record<string, unknown>;
29840
29932
  connectedAccount: {
29841
29933
  status: "ACTIVE" | "INACTIVE";
29842
- userId: string;
29843
29934
  id: string;
29844
29935
  uuid: string;
29936
+ userId: string;
29845
29937
  authConfigId: string;
29846
29938
  authConfigUUID: string;
29847
29939
  };
29848
29940
  triggerData?: string | undefined;
29849
29941
  }, {
29850
- toolkitSlug: string;
29851
29942
  id: string;
29852
29943
  uuid: string;
29944
+ toolkitSlug: string;
29853
29945
  triggerSlug: string;
29854
29946
  triggerConfig: Record<string, unknown>;
29855
29947
  connectedAccount: {
29856
29948
  status: "ACTIVE" | "INACTIVE";
29857
- userId: string;
29858
29949
  id: string;
29859
29950
  uuid: string;
29951
+ userId: string;
29860
29952
  authConfigId: string;
29861
29953
  authConfigUUID: string;
29862
29954
  };
29863
29955
  triggerData?: string | undefined;
29864
29956
  }>;
29865
29957
  }, "strip", z$1.ZodTypeAny, {
29866
- toolkitSlug: string;
29867
- userId: string;
29868
29958
  id: string;
29869
29959
  uuid: string;
29960
+ toolkitSlug: string;
29961
+ userId: string;
29870
29962
  triggerSlug: string;
29871
29963
  metadata: {
29872
- toolkitSlug: string;
29873
29964
  id: string;
29874
29965
  uuid: string;
29966
+ toolkitSlug: string;
29875
29967
  triggerSlug: string;
29876
29968
  triggerConfig: Record<string, unknown>;
29877
29969
  connectedAccount: {
29878
29970
  status: "ACTIVE" | "INACTIVE";
29879
- userId: string;
29880
29971
  id: string;
29881
29972
  uuid: string;
29973
+ userId: string;
29882
29974
  authConfigId: string;
29883
29975
  authConfigUUID: string;
29884
29976
  };
@@ -29887,22 +29979,22 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
29887
29979
  payload?: Record<string, unknown> | undefined;
29888
29980
  originalPayload?: Record<string, unknown> | undefined;
29889
29981
  }, {
29890
- toolkitSlug: string;
29891
- userId: string;
29892
29982
  id: string;
29893
29983
  uuid: string;
29984
+ toolkitSlug: string;
29985
+ userId: string;
29894
29986
  triggerSlug: string;
29895
29987
  metadata: {
29896
- toolkitSlug: string;
29897
29988
  id: string;
29898
29989
  uuid: string;
29990
+ toolkitSlug: string;
29899
29991
  triggerSlug: string;
29900
29992
  triggerConfig: Record<string, unknown>;
29901
29993
  connectedAccount: {
29902
29994
  status: "ACTIVE" | "INACTIVE";
29903
- userId: string;
29904
29995
  id: string;
29905
29996
  uuid: string;
29997
+ userId: string;
29906
29998
  authConfigId: string;
29907
29999
  authConfigUUID: string;
29908
30000
  };
@@ -29938,13 +30030,13 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
29938
30030
  limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
29939
30031
  toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
29940
30032
  }, "strip", z$1.ZodTypeAny, {
29941
- toolkits?: string[] | null | undefined;
29942
- limit?: number | null | undefined;
29943
30033
  cursor?: string | undefined;
29944
- }, {
29945
- toolkits?: string[] | null | undefined;
29946
30034
  limit?: number | null | undefined;
30035
+ toolkits?: string[] | null | undefined;
30036
+ }, {
29947
30037
  cursor?: string | undefined;
30038
+ limit?: number | null | undefined;
30039
+ toolkits?: string[] | null | undefined;
29948
30040
  }>;
29949
30041
  type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
29950
30042
  declare const TriggerTypeSchema: z$1.ZodObject<{
@@ -30209,8 +30301,8 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
30209
30301
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30210
30302
  }, "strip", z$1.ZodTypeAny, {
30211
30303
  type: "composio.trigger.message";
30212
- data: Record<string, unknown>;
30213
30304
  id: string;
30305
+ data: Record<string, unknown>;
30214
30306
  metadata: {
30215
30307
  trigger_id: string;
30216
30308
  log_id: string;
@@ -30222,8 +30314,8 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
30222
30314
  timestamp: string;
30223
30315
  }, {
30224
30316
  type: "composio.trigger.message";
30225
- data: Record<string, unknown>;
30226
30317
  id: string;
30318
+ data: Record<string, unknown>;
30227
30319
  metadata: {
30228
30320
  trigger_id: string;
30229
30321
  log_id: string;
@@ -30265,8 +30357,8 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
30265
30357
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
30266
30358
  }, "strip", z$1.ZodTypeAny, {
30267
30359
  type: "composio.trigger.message";
30268
- data: Record<string, unknown>;
30269
30360
  id: string;
30361
+ data: Record<string, unknown>;
30270
30362
  metadata: {
30271
30363
  trigger_id: string;
30272
30364
  log_id: string;
@@ -30278,8 +30370,8 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
30278
30370
  timestamp: string;
30279
30371
  }, {
30280
30372
  type: "composio.trigger.message";
30281
- data: Record<string, unknown>;
30282
30373
  id: string;
30374
+ data: Record<string, unknown>;
30283
30375
  metadata: {
30284
30376
  trigger_id: string;
30285
30377
  log_id: string;
@@ -31093,16 +31185,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
31093
31185
  }, "strip", z.ZodTypeAny, {
31094
31186
  name: string;
31095
31187
  type: "streamable_http";
31096
- userId: string;
31097
31188
  id: string;
31189
+ userId: string;
31098
31190
  allowedTools: string[];
31099
31191
  url: string;
31100
31192
  authConfigs: string[];
31101
31193
  }, {
31102
31194
  name: string;
31103
31195
  type: "streamable_http";
31104
- userId: string;
31105
31196
  id: string;
31197
+ userId: string;
31106
31198
  allowedTools: string[];
31107
31199
  url: string;
31108
31200
  authConfigs: string[];
@@ -31185,8 +31277,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
31185
31277
  MCPUrl: z.ZodString;
31186
31278
  }, "strip", z.ZodTypeAny, {
31187
31279
  name: string;
31188
- authConfigIds: string[];
31189
31280
  id: string;
31281
+ authConfigIds: string[];
31190
31282
  allowedTools: string[];
31191
31283
  commands: {
31192
31284
  cursor: string;
@@ -31196,8 +31288,8 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
31196
31288
  MCPUrl: string;
31197
31289
  }, {
31198
31290
  name: string;
31199
- authConfigIds: string[];
31200
31291
  id: string;
31292
+ authConfigIds: string[];
31201
31293
  allowedTools: string[];
31202
31294
  commands: {
31203
31295
  cursor: string;
@@ -31230,15 +31322,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
31230
31322
  authConfigs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
31231
31323
  name: z.ZodOptional<z.ZodString>;
31232
31324
  }, "strip", z.ZodTypeAny, {
31233
- toolkits: string[];
31234
31325
  limit: number;
31326
+ toolkits: string[];
31235
31327
  page: number;
31236
31328
  authConfigs: string[];
31237
31329
  name?: string | undefined;
31238
31330
  }, {
31239
31331
  name?: string | undefined;
31240
- toolkits?: string[] | undefined;
31241
31332
  limit?: number | undefined;
31333
+ toolkits?: string[] | undefined;
31242
31334
  page?: number | undefined;
31243
31335
  authConfigs?: string[] | undefined;
31244
31336
  }>;
@@ -31295,9 +31387,9 @@ declare const MCPItemSchema: z.ZodObject<{
31295
31387
  toolkits: z.ZodArray<z.ZodString, "many">;
31296
31388
  }, "strip", z.ZodTypeAny, {
31297
31389
  name: string;
31390
+ id: string;
31298
31391
  toolkits: string[];
31299
31392
  authConfigIds: string[];
31300
- id: string;
31301
31393
  allowedTools: string[];
31302
31394
  commands: {
31303
31395
  cursor: string;
@@ -31309,9 +31401,9 @@ declare const MCPItemSchema: z.ZodObject<{
31309
31401
  serverInstanceCount: number;
31310
31402
  }, {
31311
31403
  name: string;
31404
+ id: string;
31312
31405
  toolkits: string[];
31313
31406
  authConfigIds: string[];
31314
- id: string;
31315
31407
  allowedTools: string[];
31316
31408
  commands: {
31317
31409
  cursor: string;
@@ -31376,9 +31468,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31376
31468
  toolkits: z.ZodArray<z.ZodString, "many">;
31377
31469
  }, "strip", z.ZodTypeAny, {
31378
31470
  name: string;
31471
+ id: string;
31379
31472
  toolkits: string[];
31380
31473
  authConfigIds: string[];
31381
- id: string;
31382
31474
  allowedTools: string[];
31383
31475
  commands: {
31384
31476
  cursor: string;
@@ -31390,9 +31482,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31390
31482
  serverInstanceCount: number;
31391
31483
  }, {
31392
31484
  name: string;
31485
+ id: string;
31393
31486
  toolkits: string[];
31394
31487
  authConfigIds: string[];
31395
- id: string;
31396
31488
  allowedTools: string[];
31397
31489
  commands: {
31398
31490
  cursor: string;
@@ -31408,9 +31500,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31408
31500
  }, "strip", z.ZodTypeAny, {
31409
31501
  items: {
31410
31502
  name: string;
31503
+ id: string;
31411
31504
  toolkits: string[];
31412
31505
  authConfigIds: string[];
31413
- id: string;
31414
31506
  allowedTools: string[];
31415
31507
  commands: {
31416
31508
  cursor: string;
@@ -31426,9 +31518,9 @@ declare const MCPListResponseSchema: z.ZodObject<{
31426
31518
  }, {
31427
31519
  items: {
31428
31520
  name: string;
31521
+ id: string;
31429
31522
  toolkits: string[];
31430
31523
  authConfigIds: string[];
31431
- id: string;
31432
31524
  allowedTools: string[];
31433
31525
  commands: {
31434
31526
  cursor: string;
@@ -32591,15 +32683,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
32591
32683
  isConnected: z.ZodOptional<z.ZodBoolean>;
32592
32684
  search: z.ZodOptional<z.ZodString>;
32593
32685
  }, "strip", z.ZodTypeAny, {
32686
+ limit?: number | undefined;
32594
32687
  nextCursor?: string | undefined;
32595
32688
  toolkits?: string[] | undefined;
32596
- limit?: number | undefined;
32597
32689
  search?: string | undefined;
32598
32690
  isConnected?: boolean | undefined;
32599
32691
  }, {
32692
+ limit?: number | undefined;
32600
32693
  nextCursor?: string | undefined;
32601
32694
  toolkits?: string[] | undefined;
32602
- limit?: number | undefined;
32603
32695
  search?: string | undefined;
32604
32696
  isConnected?: boolean | undefined;
32605
32697
  }>;
@@ -32974,6 +33066,34 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
32974
33066
  createSession(options?: {
32975
33067
  headers?: ComposioRequestHeaders;
32976
33068
  }): Composio<TProvider>;
33069
+ /**
33070
+ * Flush any pending telemetry and wait for it to complete.
33071
+ *
33072
+ * In Node.js-compatible environments, telemetry is automatically flushed on process exit.
33073
+ * However, in environments like Cloudflare Workers that don't support process exit events,
33074
+ * you should call this method manually to ensure all telemetry is sent.
33075
+ *
33076
+ * @returns {Promise<void>} A promise that resolves when all pending telemetry has been sent.
33077
+ *
33078
+ * @example
33079
+ * ```typescript
33080
+ * // In a Cloudflare Worker, use ctx.waitUntil to ensure telemetry is flushed
33081
+ * export default {
33082
+ * async fetch(request: Request, env: Env, ctx: ExecutionContext) {
33083
+ * const composio = new Composio({ apiKey: env.COMPOSIO_API_KEY });
33084
+ *
33085
+ * // Do your work...
33086
+ * const result = await composio.tools.execute(...);
33087
+ *
33088
+ * // Ensure telemetry flushes before worker terminates
33089
+ * ctx.waitUntil(composio.flush());
33090
+ *
33091
+ * return new Response(JSON.stringify(result));
33092
+ * }
33093
+ * };
33094
+ * ```
33095
+ */
33096
+ flush(): Promise<void>;
32977
33097
  }
32978
33098
  //#endregion
32979
33099
  //#region src/provider/ComposioProvider.d.ts