@composio/core 0.5.3 → 0.5.5

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./chunk-0j-ceAHr.mjs";
2
- import { a as logger_default, c as DEFAULT_BASE_URL, d as constants_exports, f as getEnvVariable, i as ComposioError, l as IS_DEVELOPMENT_OR_CI, n as getFileDataAfterUploadingToS3, o as COMPOSIO_DIR, p as getEnvsWithPrefix, r as telemetry, s as COMPOSIO_LOG_LEVEL, t as downloadFileFromS3, u as USER_DATA_FILE_NAME } from "./fileUtils-BxTR8M_c.mjs";
2
+ import { a as logger_default, c as DEFAULT_BASE_URL, d as constants_exports, f as getEnvVariable, i as ComposioError, l as IS_DEVELOPMENT_OR_CI, n as getFileDataAfterUploadingToS3, o as COMPOSIO_DIR, p as getEnvsWithPrefix, r as telemetry, s as COMPOSIO_LOG_LEVEL, t as downloadFileFromS3, u as USER_DATA_FILE_NAME } from "./fileUtils-Dbn-fnh5.mjs";
3
3
  import ComposioClient, { APIError } from "@composio/client";
4
4
  import z, { ZodError, z as z$1 } from "zod/v3";
5
5
  import * as zodToJsonSchema from "zod-to-json-schema";
@@ -827,7 +827,8 @@ const ToolListParamsSchema = z$1.object({
827
827
  tags: z$1.array(z$1.string()).optional(),
828
828
  limit: z$1.number().optional(),
829
829
  search: z$1.string().optional(),
830
- authConfigIds: z$1.array(z$1.string()).optional()
830
+ authConfigIds: z$1.array(z$1.string()).optional(),
831
+ important: z$1.boolean().optional()
831
832
  });
832
833
  /**
833
834
  * CustomAuthParams is the parameters for the custom authentication.
@@ -1448,6 +1449,10 @@ const ConnectedAccountListResponseSchema = z$1.object({
1448
1449
  });
1449
1450
  const CreateConnectedAccountLinkOptionsSchema = z$1.object({ callbackUrl: z$1.string().optional() });
1450
1451
  const CreateConnectedAccountLinkResponseSchema = z$1.object({ redirectUrl: z$1.string() });
1452
+ const ConnectedAccountRefreshOptionsSchema = z$1.object({
1453
+ redirectUrl: z$1.string().optional(),
1454
+ validateCredentials: z$1.boolean().optional()
1455
+ });
1451
1456
 
1452
1457
  //#endregion
1453
1458
  //#region src/utils/transform.ts
@@ -2194,6 +2199,8 @@ var Tools = class {
2194
2199
  if ("tools" in query && "toolkits" in query) throw new ValidationError("Invalid tool list parameters. You should not use tools and toolkits filter together.");
2195
2200
  const queryParams = ToolListParamsSchema.safeParse(query);
2196
2201
  if (queryParams.error) throw new ValidationError("Invalid tool list parameters", { cause: queryParams.error });
2202
+ const shouldAutoApplyImportant = "toolkits" in queryParams.data && !("tools" in queryParams.data) && !("tags" in queryParams.data) && !("search" in queryParams.data) && queryParams.data.important !== false;
2203
+ const effectiveImportant = "important" in queryParams.data ? queryParams.data.important : shouldAutoApplyImportant;
2197
2204
  if (!("tools" in queryParams.data || "toolkits" in queryParams.data || "search" in queryParams.data || "authConfigIds" in queryParams.data)) throw new ValidationError("Invalid tool list parameters, atleast one of the following parameters is required: tools, toolkits, search, authConfigIds");
2198
2205
  let limit = "limit" in queryParams.data ? queryParams.data.limit : void 0;
2199
2206
  if ("tools" in queryParams.data) limit = 9999;
@@ -2205,6 +2212,7 @@ var Tools = class {
2205
2212
  ..."scopes" in queryParams.data ? { scopes: queryParams.data.scopes } : {},
2206
2213
  ..."search" in queryParams.data ? { search: queryParams.data.search } : {},
2207
2214
  ..."authConfigIds" in queryParams.data ? { auth_config_ids: queryParams.data.authConfigIds } : {},
2215
+ ...effectiveImportant ? { important: "true" } : {},
2208
2216
  toolkit_versions: this.toolkitVersions
2209
2217
  };
2210
2218
  logger_default.debug(`Fetching tools with filters: ${JSON.stringify(filters, null, 2)}`);
@@ -2798,7 +2806,8 @@ const ToolkitRetrieveResponseSchema = z$1.object({
2798
2806
  composioManagedAuthSchemes: z$1.array(z$1.string()).optional(),
2799
2807
  authConfigDetails: z$1.array(ToolkitAuthConfigDetailsSchema).optional(),
2800
2808
  baseUrl: z$1.string().optional(),
2801
- getCurrentUserEndpoint: z$1.string().optional()
2809
+ getCurrentUserEndpoint: z$1.string().optional(),
2810
+ getCurrentUserEndpointMethod: z$1.string().optional()
2802
2811
  });
2803
2812
  /**
2804
2813
  * Toolkit categories response
@@ -3348,7 +3357,8 @@ var ConnectedAccounts = class {
3348
3357
  async initiate(userId, authConfigId, options) {
3349
3358
  const connectedAccount = await this.list({
3350
3359
  userIds: [userId],
3351
- authConfigIds: [authConfigId]
3360
+ authConfigIds: [authConfigId],
3361
+ statuses: [ConnectedAccountStatuses.ACTIVE]
3352
3362
  });
3353
3363
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) throw new ComposioMultipleConnectedAccountsError(`Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`);
3354
3364
  else if (connectedAccount.items.length > 0) logger_default.warn(`[Warn:AllowMultiple] Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`);
@@ -3494,8 +3504,17 @@ var ConnectedAccounts = class {
3494
3504
  * const refreshedAccount = await composio.connectedAccounts.refresh('conn_abc123');
3495
3505
  * ```
3496
3506
  */
3497
- async refresh(nanoid) {
3498
- return this.client.connectedAccounts.refresh(nanoid);
3507
+ async refresh(nanoid, options) {
3508
+ let params = void 0;
3509
+ if (options) {
3510
+ const parsedOptions = ConnectedAccountRefreshOptionsSchema.safeParse(options);
3511
+ if (!parsedOptions.success) throw new ValidationError("Failed to parse connected account refresh options", { cause: parsedOptions.error });
3512
+ params = {
3513
+ body_redirect_url: parsedOptions.data.redirectUrl,
3514
+ validate_credentials: parsedOptions.data.validateCredentials
3515
+ };
3516
+ }
3517
+ return this.client.connectedAccounts.refresh(nanoid, params);
3499
3518
  }
3500
3519
  /**
3501
3520
  * Update the status of a connected account
@@ -3612,7 +3631,8 @@ const transformToolkitRetrieveResponse = (response) => {
3612
3631
  proxy: { baseUrl: authConfig.proxy?.base_url }
3613
3632
  })),
3614
3633
  baseUrl: response$1.base_url,
3615
- getCurrentUserEndpoint: response$1.get_current_user_endpoint
3634
+ getCurrentUserEndpoint: response$1.get_current_user_endpoint,
3635
+ getCurrentUserEndpointMethod: response$1.get_current_user_endpoint_method
3616
3636
  }));
3617
3637
  };
3618
3638
  const transformToolkitRetrieveCategoriesResponse = (response) => {
@@ -3818,7 +3838,7 @@ const TriggerInstanceListActiveParamsSchema = z$1.object({
3818
3838
  authConfigIds: z$1.array(z$1.string()).nullable().optional(),
3819
3839
  connectedAccountIds: z$1.array(z$1.string()).nullable().optional(),
3820
3840
  limit: z$1.number().optional(),
3821
- page: z$1.number().optional(),
3841
+ cursor: z$1.string().optional(),
3822
3842
  showDisabled: z$1.boolean().nullable().optional(),
3823
3843
  triggerIds: z$1.array(z$1.string()).nullable().optional(),
3824
3844
  triggerNames: z$1.array(z$1.string()).nullable().optional()
@@ -4262,8 +4282,8 @@ var Triggers = class {
4262
4282
  return transformTriggerInstanceListActiveResponse(await this.client.triggerInstances.listActive(query ? {
4263
4283
  auth_config_ids: parsedParams.data.authConfigIds,
4264
4284
  connected_account_ids: parsedParams.data.connectedAccountIds,
4285
+ cursor: parsedParams.data.cursor,
4265
4286
  limit: parsedParams.data.limit,
4266
- page: parsedParams.data.page,
4267
4287
  show_disabled: parsedParams.data.showDisabled,
4268
4288
  trigger_ids: parsedParams.data.triggerIds,
4269
4289
  trigger_names: parsedParams.data.triggerNames
@@ -5703,7 +5723,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
5703
5723
 
5704
5724
  //#endregion
5705
5725
  //#region package.json
5706
- var version = "0.5.3";
5726
+ var version = "0.5.5";
5707
5727
 
5708
5728
  //#endregion
5709
5729
  //#region src/utils/session.ts
@@ -5822,7 +5842,8 @@ const ToolRouterCreateSessionConfigSchema = z.object({
5822
5842
  workbench: z.object({
5823
5843
  enableProxyExecution: z.boolean().optional().describe("Whether to enable proxy execution in the tool router session"),
5824
5844
  autoOffloadThreshold: z.number().optional().describe("The auto offload threshold in characters for the tool execution to be moved into workbench")
5825
- }).optional().describe("The execution config for the tool router session")
5845
+ }).optional().describe("The execution config for the tool router session"),
5846
+ experimental: z.object({ assistivePrompt: z.object({ userTimezone: z.string().optional().describe("IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\") for timezone-aware assistive prompts") }).optional().describe("Configuration for assistive prompt generation") }).optional().describe("Experimental features configuration - not stable, may be modified or removed")
5826
5847
  }).partial().describe("The config for the tool router session");
5827
5848
  const ToolkitConnectionStateSchema = z.object({
5828
5849
  slug: z.string().describe("The slug of a toolkit"),
@@ -6066,15 +6087,18 @@ var ToolRouter = class {
6066
6087
  tools: transformToolRouterToolsParams(routerConfig.tools),
6067
6088
  tags: transformToolRouterTagsParams(routerConfig.tags),
6068
6089
  manage_connections: transformToolRouterManageConnectionsParams(routerConfig.manageConnections),
6069
- workbench: transformToolRouterWorkbenchParams(routerConfig.workbench)
6090
+ workbench: transformToolRouterWorkbenchParams(routerConfig.workbench),
6091
+ experimental: routerConfig.experimental?.assistivePrompt?.userTimezone ? { assistive_prompt_config: { user_timezone: routerConfig.experimental.assistivePrompt.userTimezone } } : void 0
6070
6092
  };
6071
6093
  const session = await this.client.toolRouter.session.create(payload);
6094
+ const experimental = session.experimental ? { assistivePrompt: session.experimental.assistive_prompt } : void 0;
6072
6095
  return {
6073
6096
  sessionId: session.session_id,
6074
6097
  mcp: this.createMCPServerConfig(session.mcp),
6075
6098
  tools: this.createToolsFn(session.session_id),
6076
6099
  authorize: this.createAuthorizeFn(session.session_id),
6077
- toolkits: this.createToolkitsFn(session.session_id)
6100
+ toolkits: this.createToolkitsFn(session.session_id),
6101
+ experimental
6078
6102
  };
6079
6103
  }
6080
6104
  /**
@@ -6293,6 +6317,8 @@ var Composio = class Composio {
6293
6317
  * The new instance inherits all configuration from the parent instance (apiKey, baseURL, provider, etc.)
6294
6318
  * but allows you to specify custom request options that will be used for all API calls made through this session.
6295
6319
  *
6320
+ * @deprecated DEPRECATED: This method will be removed in a future version of the SDK.
6321
+ *
6296
6322
  * @param {MergedRequestInit} fetchOptions - Custom request options to be used for all API calls in this session.
6297
6323
  * This follows the Fetch API RequestInit interface with additional options.
6298
6324
  * @returns {Composio<TProvider>} A new Composio instance with the custom request options applied.
@@ -6773,4 +6799,4 @@ const ComposioMcpUpdateResponseSchema = z$1.object({
6773
6799
  });
6774
6800
 
6775
6801
  //#endregion
6776
- export { AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParamsSchema, AuthConfigListResponseSchema, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigTypes, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeTypes, BaseAgenticProvider, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParamsSchema, ConnectedAccountListResponseSchema, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatuses, CreateAuthConfigParamsSchema, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, DefaultCreateConnectedAccountParamsSchema, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptionsSchema, MCPGenerateURLParamsSchema, MCPGetServerParamsSchema, MCPMultiAppServerSchema, MCPServerCreateResponseSchema, MCPServerListResponseSchema, MCPServerSchema, MCPServerTypeSchema, MCPServerUpdateParamsSchema, MCPSingleAppServerSchema, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponseSchema, McpListResponseSchema, McpRetrieveResponseSchema, McpUpdateResponseSchema, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, SDKErrorCodes, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolSchema, ToolkitAuthConfigDetailsSchema, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponseSchema, ToolkitCategorySchema, ToolkitConnectionStateSchema, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersionSchema, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnumSchema, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersionsSchema, ToolkitsListParamsSchema, TriggerErrorCodes, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatuses, TriggerSubscribeParamSchema, TriggerTypeSchema, TriggersTypeListParamsSchema, TriggersTypeListResponseSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
6802
+ export { AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParamsSchema, AuthConfigListResponseSchema, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigTypes, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeTypes, BaseAgenticProvider, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParamsSchema, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatuses, CreateAuthConfigParamsSchema, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CustomAuthParamsSchema, CustomConnectionDataSchema, CustomCreateResponseSchema, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionDataSchema, DefaultCreateConnectedAccountParamsSchema, GenerateURLParamsSchema, GenerateURLResponseSchema, IncomingTriggerPayloadSchema, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptionsSchema, MCPGenerateURLParamsSchema, MCPGetServerParamsSchema, MCPMultiAppServerSchema, MCPServerCreateResponseSchema, MCPServerListResponseSchema, MCPServerSchema, MCPServerTypeSchema, MCPServerUpdateParamsSchema, MCPSingleAppServerSchema, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponseSchema, McpListResponseSchema, McpRetrieveResponseSchema, McpUpdateResponseSchema, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, RedirectableAuthSchemeSchema, SDKErrorCodes, ToolErrorCodes, ToolExecuteMetaParamsSchema, ToolExecuteParamsSchema, ToolExecuteResponseSchema, ToolKitItemSchema, ToolKitListResponseSchema, ToolKitMetaSchema, ToolListParamsSchema, ToolListResponseSchema, ToolProxyParamsSchema, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTagsSchema, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsParamSchema, ToolSchema, ToolkitAuthConfigDetailsSchema, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponseSchema, ToolkitCategorySchema, ToolkitConnectionStateSchema, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersionSchema, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnumSchema, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersionsSchema, ToolkitsListParamsSchema, TriggerErrorCodes, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatuses, TriggerSubscribeParamSchema, TriggerTypeSchema, TriggersTypeListParamsSchema, TriggersTypeListResponseSchema, ValidationError, ValidationErrorCodes, VerifyWebhookParamsSchema, WebhookPayloadSchema, WebhookPayloadV1Schema, WebhookPayloadV2Schema, WebhookPayloadV3Schema, WebhookVersions, constants_exports as constants, createConnectionRequest, handleToolExecutionError, jsonSchemaToZodSchema, logger_default as logger, removeNonRequiredProperties };
@@ -1,4 +1,4 @@
1
- const require_fileUtils = require('../fileUtils-BbE-aKW0.cjs');
1
+ const require_fileUtils = require('../fileUtils-2bnnG7dq.cjs');
2
2
 
3
3
  //#region src/models/Files.node.ts
4
4
  var Files = class {
@@ -1,5 +1,5 @@
1
1
  import "../chunk-0j-ceAHr.mjs";
2
- import { n as getFileDataAfterUploadingToS3, r as telemetry, t as downloadFileFromS3 } from "../fileUtils-BxTR8M_c.mjs";
2
+ import { n as getFileDataAfterUploadingToS3, r as telemetry, t as downloadFileFromS3 } from "../fileUtils-Dbn-fnh5.mjs";
3
3
 
4
4
  //#region src/models/Files.node.ts
5
5
  var Files = class {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@composio/core",
3
3
  "type": "module",
4
- "version": "0.5.3",
4
+ "version": "0.5.5",
5
5
  "description": "",
6
6
  "main": "dist/index.mjs",
7
7
  "publishConfig": {
@@ -106,7 +106,7 @@
106
106
  "zod": "^3.25 || ^4"
107
107
  },
108
108
  "dependencies": {
109
- "@composio/client": "0.1.0-alpha.55",
109
+ "@composio/client": "0.1.0-alpha.56",
110
110
  "@types/json-schema": "^7.0.15",
111
111
  "chalk": "^4.1.2",
112
112
  "openai": "^6.16.0",