@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.mts CHANGED
@@ -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;
@@ -28944,6 +28944,7 @@ 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
28950
  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";
@@ -28956,6 +28957,7 @@ 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
28963
  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";
@@ -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,6 +29041,7 @@ 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
29047
  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";
@@ -29032,6 +29054,7 @@ 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
29060
  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";
@@ -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
  */
@@ -29141,6 +29184,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
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;
@@ -29163,6 +29207,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
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;
@@ -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
  */
@@ -29242,6 +29288,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
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;
@@ -29264,6 +29311,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
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;
@@ -29290,6 +29338,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
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;
@@ -29316,6 +29365,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
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>;
@@ -29668,21 +29760,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29668
29760
  }, "strip", z$1.ZodTypeAny, {
29669
29761
  connectedAccountId: string;
29670
29762
  id: 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
29771
  connectedAccountId: string;
29680
29772
  id: 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
  }>;
@@ -29700,21 +29792,21 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29700
29792
  }, "strip", z$1.ZodTypeAny, {
29701
29793
  connectedAccountId: string;
29702
29794
  id: 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
29803
  connectedAccountId: string;
29712
29804
  id: 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">;
@@ -29724,11 +29816,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29724
29816
  items: {
29725
29817
  connectedAccountId: string;
29726
29818
  id: 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
  }[];
@@ -29738,11 +29830,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29738
29830
  items: {
29739
29831
  connectedAccountId: string;
29740
29832
  id: 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
  }[];