@composio/core 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -27443,7 +27443,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27443
27443
  logo?: string | undefined;
27444
27444
  availableVersions?: string[] | undefined;
27445
27445
  createdAt?: string | undefined;
27446
- updatedAt?: string | undefined;
27447
27446
  categories?: {
27448
27447
  slug: string;
27449
27448
  name: string;
@@ -27451,12 +27450,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27451
27450
  appUrl?: string | undefined;
27452
27451
  toolsCount?: number | undefined;
27453
27452
  triggersCount?: number | undefined;
27453
+ updatedAt?: string | undefined;
27454
27454
  }, {
27455
27455
  description?: string | undefined;
27456
27456
  logo?: string | undefined;
27457
27457
  availableVersions?: string[] | undefined;
27458
27458
  createdAt?: string | undefined;
27459
- updatedAt?: string | undefined;
27460
27459
  categories?: {
27461
27460
  slug: string;
27462
27461
  name: string;
@@ -27464,6 +27463,7 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27464
27463
  appUrl?: string | undefined;
27465
27464
  toolsCount?: number | undefined;
27466
27465
  triggersCount?: number | undefined;
27466
+ updatedAt?: string | undefined;
27467
27467
  }>;
27468
27468
  declare const ToolKitItemSchema: z.ZodObject<{
27469
27469
  name: z.ZodString;
@@ -27492,7 +27492,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27492
27492
  logo?: string | undefined;
27493
27493
  availableVersions?: string[] | undefined;
27494
27494
  createdAt?: string | undefined;
27495
- updatedAt?: string | undefined;
27496
27495
  categories?: {
27497
27496
  slug: string;
27498
27497
  name: string;
@@ -27500,12 +27499,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
27500
27499
  appUrl?: string | undefined;
27501
27500
  toolsCount?: number | undefined;
27502
27501
  triggersCount?: number | undefined;
27502
+ updatedAt?: string | undefined;
27503
27503
  }, {
27504
27504
  description?: string | undefined;
27505
27505
  logo?: string | undefined;
27506
27506
  availableVersions?: string[] | undefined;
27507
27507
  createdAt?: string | undefined;
27508
- updatedAt?: string | undefined;
27509
27508
  categories?: {
27510
27509
  slug: string;
27511
27510
  name: string;
@@ -27513,6 +27512,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27513
27512
  appUrl?: string | undefined;
27514
27513
  toolsCount?: number | undefined;
27515
27514
  triggersCount?: number | undefined;
27515
+ updatedAt?: string | undefined;
27516
27516
  }>;
27517
27517
  isLocalToolkit: z.ZodBoolean;
27518
27518
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -27526,7 +27526,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27526
27526
  logo?: string | undefined;
27527
27527
  availableVersions?: string[] | undefined;
27528
27528
  createdAt?: string | undefined;
27529
- updatedAt?: string | undefined;
27530
27529
  categories?: {
27531
27530
  slug: string;
27532
27531
  name: string;
@@ -27534,6 +27533,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27534
27533
  appUrl?: string | undefined;
27535
27534
  toolsCount?: number | undefined;
27536
27535
  triggersCount?: number | undefined;
27536
+ updatedAt?: string | undefined;
27537
27537
  };
27538
27538
  isLocalToolkit: boolean;
27539
27539
  authSchemes?: string[] | undefined;
@@ -27547,7 +27547,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27547
27547
  logo?: string | undefined;
27548
27548
  availableVersions?: string[] | undefined;
27549
27549
  createdAt?: string | undefined;
27550
- updatedAt?: string | undefined;
27551
27550
  categories?: {
27552
27551
  slug: string;
27553
27552
  name: string;
@@ -27555,6 +27554,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27555
27554
  appUrl?: string | undefined;
27556
27555
  toolsCount?: number | undefined;
27557
27556
  triggersCount?: number | undefined;
27557
+ updatedAt?: string | undefined;
27558
27558
  };
27559
27559
  isLocalToolkit: boolean;
27560
27560
  authSchemes?: string[] | undefined;
@@ -27588,7 +27588,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27588
27588
  logo?: string | undefined;
27589
27589
  availableVersions?: string[] | undefined;
27590
27590
  createdAt?: string | undefined;
27591
- updatedAt?: string | undefined;
27592
27591
  categories?: {
27593
27592
  slug: string;
27594
27593
  name: string;
@@ -27596,12 +27595,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27596
27595
  appUrl?: string | undefined;
27597
27596
  toolsCount?: number | undefined;
27598
27597
  triggersCount?: number | undefined;
27598
+ updatedAt?: string | undefined;
27599
27599
  }, {
27600
27600
  description?: string | undefined;
27601
27601
  logo?: string | undefined;
27602
27602
  availableVersions?: string[] | undefined;
27603
27603
  createdAt?: string | undefined;
27604
- updatedAt?: string | undefined;
27605
27604
  categories?: {
27606
27605
  slug: string;
27607
27606
  name: string;
@@ -27609,6 +27608,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27609
27608
  appUrl?: string | undefined;
27610
27609
  toolsCount?: number | undefined;
27611
27610
  triggersCount?: number | undefined;
27611
+ updatedAt?: string | undefined;
27612
27612
  }>;
27613
27613
  isLocalToolkit: z.ZodBoolean;
27614
27614
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -27622,7 +27622,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27622
27622
  logo?: string | undefined;
27623
27623
  availableVersions?: string[] | undefined;
27624
27624
  createdAt?: string | undefined;
27625
- updatedAt?: string | undefined;
27626
27625
  categories?: {
27627
27626
  slug: string;
27628
27627
  name: string;
@@ -27630,6 +27629,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27630
27629
  appUrl?: string | undefined;
27631
27630
  toolsCount?: number | undefined;
27632
27631
  triggersCount?: number | undefined;
27632
+ updatedAt?: string | undefined;
27633
27633
  };
27634
27634
  isLocalToolkit: boolean;
27635
27635
  authSchemes?: string[] | undefined;
@@ -27643,7 +27643,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27643
27643
  logo?: string | undefined;
27644
27644
  availableVersions?: string[] | undefined;
27645
27645
  createdAt?: string | undefined;
27646
- updatedAt?: string | undefined;
27647
27646
  categories?: {
27648
27647
  slug: string;
27649
27648
  name: string;
@@ -27651,6 +27650,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27651
27650
  appUrl?: string | undefined;
27652
27651
  toolsCount?: number | undefined;
27653
27652
  triggersCount?: number | undefined;
27653
+ updatedAt?: string | undefined;
27654
27654
  };
27655
27655
  isLocalToolkit: boolean;
27656
27656
  authSchemes?: string[] | undefined;
@@ -28047,7 +28047,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28047
28047
  logo?: string | undefined;
28048
28048
  availableVersions?: string[] | undefined;
28049
28049
  createdAt?: string | undefined;
28050
- updatedAt?: string | undefined;
28051
28050
  categories?: {
28052
28051
  slug: string;
28053
28052
  name: string;
@@ -28055,12 +28054,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28055
28054
  appUrl?: string | undefined;
28056
28055
  toolsCount?: number | undefined;
28057
28056
  triggersCount?: number | undefined;
28057
+ updatedAt?: string | undefined;
28058
28058
  }, {
28059
28059
  description?: string | undefined;
28060
28060
  logo?: string | undefined;
28061
28061
  availableVersions?: string[] | undefined;
28062
28062
  createdAt?: string | undefined;
28063
- updatedAt?: string | undefined;
28064
28063
  categories?: {
28065
28064
  slug: string;
28066
28065
  name: string;
@@ -28068,6 +28067,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28068
28067
  appUrl?: string | undefined;
28069
28068
  toolsCount?: number | undefined;
28070
28069
  triggersCount?: number | undefined;
28070
+ updatedAt?: string | undefined;
28071
28071
  }>;
28072
28072
  isLocalToolkit: z.ZodBoolean;
28073
28073
  composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -28416,7 +28416,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28416
28416
  logo?: string | undefined;
28417
28417
  availableVersions?: string[] | undefined;
28418
28418
  createdAt?: string | undefined;
28419
- updatedAt?: string | undefined;
28420
28419
  categories?: {
28421
28420
  slug: string;
28422
28421
  name: string;
@@ -28424,6 +28423,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28424
28423
  appUrl?: string | undefined;
28425
28424
  toolsCount?: number | undefined;
28426
28425
  triggersCount?: number | undefined;
28426
+ updatedAt?: string | undefined;
28427
28427
  };
28428
28428
  isLocalToolkit: boolean;
28429
28429
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28482,7 +28482,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28482
28482
  logo?: string | undefined;
28483
28483
  availableVersions?: string[] | undefined;
28484
28484
  createdAt?: string | undefined;
28485
- updatedAt?: string | undefined;
28486
28485
  categories?: {
28487
28486
  slug: string;
28488
28487
  name: string;
@@ -28490,6 +28489,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28490
28489
  appUrl?: string | undefined;
28491
28490
  toolsCount?: number | undefined;
28492
28491
  triggersCount?: number | undefined;
28492
+ updatedAt?: string | undefined;
28493
28493
  };
28494
28494
  isLocalToolkit: boolean;
28495
28495
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28947,6 +28947,7 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28947
28947
  }, {
28948
28948
  toolsForConnectedAccountCreation?: string[] | undefined;
28949
28949
  }>>;
28950
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
28950
28951
  }, "strip", z.ZodTypeAny, {
28951
28952
  type: "use_custom_auth";
28952
28953
  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";
@@ -28959,6 +28960,7 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28959
28960
  toolAccessConfig?: {
28960
28961
  toolsForConnectedAccountCreation?: string[] | undefined;
28961
28962
  } | undefined;
28963
+ isEnabledForToolRouter?: boolean | undefined;
28962
28964
  }, {
28963
28965
  type: "use_custom_auth";
28964
28966
  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";
@@ -28971,11 +28973,21 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28971
28973
  toolAccessConfig?: {
28972
28974
  toolsForConnectedAccountCreation?: string[] | undefined;
28973
28975
  } | undefined;
28976
+ isEnabledForToolRouter?: boolean | undefined;
28974
28977
  }>;
28975
28978
  declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
28976
28979
  type: z.ZodLiteral<"use_composio_managed_auth">;
28977
28980
  name: z.ZodOptional<z.ZodString>;
28978
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
28981
+ credentials: z.ZodOptional<z.ZodObject<{
28982
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28983
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28984
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28985
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28986
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28988
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28989
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
28990
+ }, z.ZodTypeAny, "passthrough">>>;
28979
28991
  toolAccessConfig: z.ZodOptional<z.ZodObject<{
28980
28992
  toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28981
28993
  }, "strip", z.ZodTypeAny, {
@@ -28983,20 +28995,29 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z.ZodObject<{
28983
28995
  }, {
28984
28996
  toolsForConnectedAccountCreation?: string[] | undefined;
28985
28997
  }>>;
28998
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
28986
28999
  }, "strip", z.ZodTypeAny, {
28987
29000
  type: "use_composio_managed_auth";
28988
29001
  name?: string | undefined;
28989
- credentials?: Record<string, string | number | boolean> | undefined;
29002
+ credentials?: z.objectOutputType<{
29003
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29004
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29005
+ }, z.ZodTypeAny, "passthrough"> | undefined;
28990
29006
  toolAccessConfig?: {
28991
29007
  toolsForConnectedAccountCreation?: string[] | undefined;
28992
29008
  } | undefined;
29009
+ isEnabledForToolRouter?: boolean | undefined;
28993
29010
  }, {
28994
29011
  type: "use_composio_managed_auth";
28995
29012
  name?: string | undefined;
28996
- credentials?: Record<string, string | number | boolean> | undefined;
29013
+ credentials?: z.objectInputType<{
29014
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29015
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29016
+ }, z.ZodTypeAny, "passthrough"> | undefined;
28997
29017
  toolAccessConfig?: {
28998
29018
  toolsForConnectedAccountCreation?: string[] | undefined;
28999
29019
  } | undefined;
29020
+ isEnabledForToolRouter?: boolean | undefined;
29000
29021
  }>;
29001
29022
  /**
29002
29023
  * Discriminated union of all possible auth config types.
@@ -29023,6 +29044,7 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29023
29044
  }, {
29024
29045
  toolsForConnectedAccountCreation?: string[] | undefined;
29025
29046
  }>>;
29047
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29026
29048
  }, "strip", z.ZodTypeAny, {
29027
29049
  type: "use_custom_auth";
29028
29050
  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";
@@ -29035,6 +29057,7 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29035
29057
  toolAccessConfig?: {
29036
29058
  toolsForConnectedAccountCreation?: string[] | undefined;
29037
29059
  } | undefined;
29060
+ isEnabledForToolRouter?: boolean | undefined;
29038
29061
  }, {
29039
29062
  type: "use_custom_auth";
29040
29063
  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";
@@ -29047,10 +29070,20 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29047
29070
  toolAccessConfig?: {
29048
29071
  toolsForConnectedAccountCreation?: string[] | undefined;
29049
29072
  } | undefined;
29073
+ isEnabledForToolRouter?: boolean | undefined;
29050
29074
  }>, z.ZodObject<{
29051
29075
  type: z.ZodLiteral<"use_composio_managed_auth">;
29052
29076
  name: z.ZodOptional<z.ZodString>;
29053
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
29077
+ credentials: z.ZodOptional<z.ZodObject<{
29078
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29079
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29080
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29081
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29082
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29083
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29084
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29085
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29086
+ }, z.ZodTypeAny, "passthrough">>>;
29054
29087
  toolAccessConfig: z.ZodOptional<z.ZodObject<{
29055
29088
  toolsForConnectedAccountCreation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29056
29089
  }, "strip", z.ZodTypeAny, {
@@ -29058,20 +29091,29 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29058
29091
  }, {
29059
29092
  toolsForConnectedAccountCreation?: string[] | undefined;
29060
29093
  }>>;
29094
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29061
29095
  }, "strip", z.ZodTypeAny, {
29062
29096
  type: "use_composio_managed_auth";
29063
29097
  name?: string | undefined;
29064
- credentials?: Record<string, string | number | boolean> | undefined;
29098
+ credentials?: z.objectOutputType<{
29099
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29100
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29101
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29065
29102
  toolAccessConfig?: {
29066
29103
  toolsForConnectedAccountCreation?: string[] | undefined;
29067
29104
  } | undefined;
29105
+ isEnabledForToolRouter?: boolean | undefined;
29068
29106
  }, {
29069
29107
  type: "use_composio_managed_auth";
29070
29108
  name?: string | undefined;
29071
- credentials?: Record<string, string | number | boolean> | undefined;
29109
+ credentials?: z.objectInputType<{
29110
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29111
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29112
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29072
29113
  toolAccessConfig?: {
29073
29114
  toolsForConnectedAccountCreation?: string[] | undefined;
29074
29115
  } | undefined;
29116
+ isEnabledForToolRouter?: boolean | undefined;
29075
29117
  }>]>;
29076
29118
  type CreateAuthConfigParams = z.infer<typeof CreateAuthConfigParamsSchema>;
29077
29119
  declare const CreateAuthConfigResponseSchema: z.ZodObject<{
@@ -29110,6 +29152,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29110
29152
  authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
29111
29153
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29112
29154
  expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
29155
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29113
29156
  /**
29114
29157
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29115
29158
  */
@@ -29144,6 +29187,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29144
29187
  toolsForConnectedAccountCreation?: string[] | undefined;
29145
29188
  toolsAvailableForExecution?: string[] | undefined;
29146
29189
  } | undefined;
29190
+ isEnabledForToolRouter?: boolean | undefined;
29147
29191
  isComposioManaged?: boolean | undefined;
29148
29192
  expectedInputFields?: unknown[] | undefined;
29149
29193
  restrictToFollowingTools?: string[] | undefined;
@@ -29166,6 +29210,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29166
29210
  toolsForConnectedAccountCreation?: string[] | undefined;
29167
29211
  toolsAvailableForExecution?: string[] | undefined;
29168
29212
  } | undefined;
29213
+ isEnabledForToolRouter?: boolean | undefined;
29169
29214
  isComposioManaged?: boolean | undefined;
29170
29215
  expectedInputFields?: unknown[] | undefined;
29171
29216
  restrictToFollowingTools?: string[] | undefined;
@@ -29211,6 +29256,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29211
29256
  authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
29212
29257
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29213
29258
  expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
29259
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29214
29260
  /**
29215
29261
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29216
29262
  */
@@ -29245,6 +29291,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29245
29291
  toolsForConnectedAccountCreation?: string[] | undefined;
29246
29292
  toolsAvailableForExecution?: string[] | undefined;
29247
29293
  } | undefined;
29294
+ isEnabledForToolRouter?: boolean | undefined;
29248
29295
  isComposioManaged?: boolean | undefined;
29249
29296
  expectedInputFields?: unknown[] | undefined;
29250
29297
  restrictToFollowingTools?: string[] | undefined;
@@ -29267,6 +29314,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29267
29314
  toolsForConnectedAccountCreation?: string[] | undefined;
29268
29315
  toolsAvailableForExecution?: string[] | undefined;
29269
29316
  } | undefined;
29317
+ isEnabledForToolRouter?: boolean | undefined;
29270
29318
  isComposioManaged?: boolean | undefined;
29271
29319
  expectedInputFields?: unknown[] | undefined;
29272
29320
  restrictToFollowingTools?: string[] | undefined;
@@ -29293,6 +29341,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29293
29341
  toolsForConnectedAccountCreation?: string[] | undefined;
29294
29342
  toolsAvailableForExecution?: string[] | undefined;
29295
29343
  } | undefined;
29344
+ isEnabledForToolRouter?: boolean | undefined;
29296
29345
  isComposioManaged?: boolean | undefined;
29297
29346
  expectedInputFields?: unknown[] | undefined;
29298
29347
  restrictToFollowingTools?: string[] | undefined;
@@ -29319,6 +29368,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29319
29368
  toolsForConnectedAccountCreation?: string[] | undefined;
29320
29369
  toolsAvailableForExecution?: string[] | undefined;
29321
29370
  } | undefined;
29371
+ isEnabledForToolRouter?: boolean | undefined;
29322
29372
  isComposioManaged?: boolean | undefined;
29323
29373
  expectedInputFields?: unknown[] | undefined;
29324
29374
  restrictToFollowingTools?: string[] | undefined;
@@ -29331,8 +29381,18 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29331
29381
  }>;
29332
29382
  type AuthConfigListResponse = z.infer<typeof AuthConfigListResponseSchema>;
29333
29383
  declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
29334
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
29335
29384
  type: z.ZodLiteral<"custom">;
29385
+ credentials: z.ZodOptional<z.ZodObject<{
29386
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29387
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29388
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29389
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29390
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29391
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29392
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29393
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29394
+ }, z.ZodTypeAny, "passthrough">>>;
29395
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29336
29396
  /**
29337
29397
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29338
29398
  */
@@ -29349,24 +29409,33 @@ declare const AuthCustomConfigUpdateParamsSchema: z.ZodObject<{
29349
29409
  }>>;
29350
29410
  }, "strip", z.ZodTypeAny, {
29351
29411
  type: "custom";
29352
- credentials: Record<string, unknown>;
29412
+ credentials?: z.objectOutputType<{
29413
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29414
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29415
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29353
29416
  toolAccessConfig?: {
29354
29417
  toolsForConnectedAccountCreation?: string[] | undefined;
29355
29418
  toolsAvailableForExecution?: string[] | undefined;
29356
29419
  } | undefined;
29420
+ isEnabledForToolRouter?: boolean | undefined;
29357
29421
  restrictToFollowingTools?: string[] | undefined;
29358
29422
  }, {
29359
29423
  type: "custom";
29360
- credentials: Record<string, unknown>;
29424
+ credentials?: z.objectInputType<{
29425
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29426
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29427
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29361
29428
  toolAccessConfig?: {
29362
29429
  toolsForConnectedAccountCreation?: string[] | undefined;
29363
29430
  toolsAvailableForExecution?: string[] | undefined;
29364
29431
  } | undefined;
29432
+ isEnabledForToolRouter?: boolean | undefined;
29365
29433
  restrictToFollowingTools?: string[] | undefined;
29366
29434
  }>;
29367
29435
  declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
29368
- scopes: z.ZodOptional<z.ZodString>;
29369
29436
  type: z.ZodLiteral<"default">;
29437
+ scopes: z.ZodOptional<z.ZodString>;
29438
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29370
29439
  /**
29371
29440
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29372
29441
  */
@@ -29388,6 +29457,7 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
29388
29457
  toolsForConnectedAccountCreation?: string[] | undefined;
29389
29458
  toolsAvailableForExecution?: string[] | undefined;
29390
29459
  } | undefined;
29460
+ isEnabledForToolRouter?: boolean | undefined;
29391
29461
  restrictToFollowingTools?: string[] | undefined;
29392
29462
  }, {
29393
29463
  type: "default";
@@ -29396,11 +29466,22 @@ declare const AuthDefaultConfigUpdateParamsSchema: z.ZodObject<{
29396
29466
  toolsForConnectedAccountCreation?: string[] | undefined;
29397
29467
  toolsAvailableForExecution?: string[] | undefined;
29398
29468
  } | undefined;
29469
+ isEnabledForToolRouter?: boolean | undefined;
29399
29470
  restrictToFollowingTools?: string[] | undefined;
29400
29471
  }>;
29401
29472
  declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
29402
- credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUnknown]>>;
29403
29473
  type: z.ZodLiteral<"custom">;
29474
+ credentials: z.ZodOptional<z.ZodObject<{
29475
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29476
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29477
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
29478
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29479
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29480
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29481
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29482
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29483
+ }, z.ZodTypeAny, "passthrough">>>;
29484
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29404
29485
  /**
29405
29486
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29406
29487
  */
@@ -29417,23 +29498,32 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29417
29498
  }>>;
29418
29499
  }, "strip", z.ZodTypeAny, {
29419
29500
  type: "custom";
29420
- credentials: Record<string, unknown>;
29501
+ credentials?: z.objectOutputType<{
29502
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29503
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29504
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29421
29505
  toolAccessConfig?: {
29422
29506
  toolsForConnectedAccountCreation?: string[] | undefined;
29423
29507
  toolsAvailableForExecution?: string[] | undefined;
29424
29508
  } | undefined;
29509
+ isEnabledForToolRouter?: boolean | undefined;
29425
29510
  restrictToFollowingTools?: string[] | undefined;
29426
29511
  }, {
29427
29512
  type: "custom";
29428
- credentials: Record<string, unknown>;
29513
+ credentials?: z.objectInputType<{
29514
+ scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29515
+ user_scopes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
29516
+ }, z.ZodTypeAny, "passthrough"> | undefined;
29429
29517
  toolAccessConfig?: {
29430
29518
  toolsForConnectedAccountCreation?: string[] | undefined;
29431
29519
  toolsAvailableForExecution?: string[] | undefined;
29432
29520
  } | undefined;
29521
+ isEnabledForToolRouter?: boolean | undefined;
29433
29522
  restrictToFollowingTools?: string[] | undefined;
29434
29523
  }>, z.ZodObject<{
29435
- scopes: z.ZodOptional<z.ZodString>;
29436
29524
  type: z.ZodLiteral<"default">;
29525
+ scopes: z.ZodOptional<z.ZodString>;
29526
+ isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29437
29527
  /**
29438
29528
  * @deprecated - use tool access config to determine the tools that the user can perform on the auth config.
29439
29529
  */
@@ -29455,6 +29545,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29455
29545
  toolsForConnectedAccountCreation?: string[] | undefined;
29456
29546
  toolsAvailableForExecution?: string[] | undefined;
29457
29547
  } | undefined;
29548
+ isEnabledForToolRouter?: boolean | undefined;
29458
29549
  restrictToFollowingTools?: string[] | undefined;
29459
29550
  }, {
29460
29551
  type: "default";
@@ -29463,6 +29554,7 @@ declare const AuthConfigUpdateParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29463
29554
  toolsForConnectedAccountCreation?: string[] | undefined;
29464
29555
  toolsAvailableForExecution?: string[] | undefined;
29465
29556
  } | undefined;
29557
+ isEnabledForToolRouter?: boolean | undefined;
29466
29558
  restrictToFollowingTools?: string[] | undefined;
29467
29559
  }>]>;
29468
29560
  type AuthConfigUpdateParams = z.infer<typeof AuthConfigUpdateParamsSchema>;
@@ -29671,21 +29763,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29671
29763
  }, "strip", z.ZodTypeAny, {
29672
29764
  connectedAccountId: string;
29673
29765
  id: string;
29766
+ updatedAt: string;
29674
29767
  disabledAt: string | null;
29675
29768
  state: Record<string, unknown>;
29676
29769
  triggerConfig: Record<string, unknown>;
29677
29770
  triggerName: string;
29678
- updatedAt: string;
29679
29771
  uuid?: string | undefined;
29680
29772
  triggerData?: string | undefined;
29681
29773
  }, {
29682
29774
  connectedAccountId: string;
29683
29775
  id: string;
29776
+ updatedAt: string;
29684
29777
  disabledAt: string | null;
29685
29778
  state: Record<string, unknown>;
29686
29779
  triggerConfig: Record<string, unknown>;
29687
29780
  triggerName: string;
29688
- updatedAt: string;
29689
29781
  uuid?: string | undefined;
29690
29782
  triggerData?: string | undefined;
29691
29783
  }>;
@@ -29703,21 +29795,21 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29703
29795
  }, "strip", z.ZodTypeAny, {
29704
29796
  connectedAccountId: string;
29705
29797
  id: string;
29798
+ updatedAt: string;
29706
29799
  disabledAt: string | null;
29707
29800
  state: Record<string, unknown>;
29708
29801
  triggerConfig: Record<string, unknown>;
29709
29802
  triggerName: string;
29710
- updatedAt: string;
29711
29803
  uuid?: string | undefined;
29712
29804
  triggerData?: string | undefined;
29713
29805
  }, {
29714
29806
  connectedAccountId: string;
29715
29807
  id: string;
29808
+ updatedAt: string;
29716
29809
  disabledAt: string | null;
29717
29810
  state: Record<string, unknown>;
29718
29811
  triggerConfig: Record<string, unknown>;
29719
29812
  triggerName: string;
29720
- updatedAt: string;
29721
29813
  uuid?: string | undefined;
29722
29814
  triggerData?: string | undefined;
29723
29815
  }>, "many">;
@@ -29727,11 +29819,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29727
29819
  items: {
29728
29820
  connectedAccountId: string;
29729
29821
  id: string;
29822
+ updatedAt: string;
29730
29823
  disabledAt: string | null;
29731
29824
  state: Record<string, unknown>;
29732
29825
  triggerConfig: Record<string, unknown>;
29733
29826
  triggerName: string;
29734
- updatedAt: string;
29735
29827
  uuid?: string | undefined;
29736
29828
  triggerData?: string | undefined;
29737
29829
  }[];
@@ -29741,11 +29833,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29741
29833
  items: {
29742
29834
  connectedAccountId: string;
29743
29835
  id: string;
29836
+ updatedAt: string;
29744
29837
  disabledAt: string | null;
29745
29838
  state: Record<string, unknown>;
29746
29839
  triggerConfig: Record<string, unknown>;
29747
29840
  triggerName: string;
29748
- updatedAt: string;
29749
29841
  uuid?: string | undefined;
29750
29842
  triggerData?: string | undefined;
29751
29843
  }[];