@composio/core 0.1.51 → 0.1.53

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.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { z } from 'zod';
1
+ import z$1, { z } from 'zod';
2
2
  import { McpCreateResponse, CustomCreateResponse as CustomCreateResponse$1, GenerateURLResponse as GenerateURLResponse$1 } from '@composio/client/resources/mcp';
3
- import ComposioClient from '@composio/client';
3
+ import ComposioClient, { Composio as Composio$1 } from '@composio/client';
4
4
  import { ToolExecuteResponse as ToolExecuteResponse$1, ToolRetrieveEnumResponse, ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse } from '@composio/client/resources/tools';
5
5
  import { TriggersTypeRetrieveEnumResponse } from '@composio/client/resources/index';
6
6
  import { AuthConfigUpdateResponse, AuthConfigDeleteResponse, AuthConfigUpdateStatusResponse } from '@composio/client/resources/auth-configs';
@@ -120,7 +120,7 @@ declare const ToolSchema: z.ZodObject<{
120
120
  required?: string[] | undefined;
121
121
  additionalProperties?: boolean | undefined;
122
122
  }>>;
123
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
123
+ tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
124
124
  toolkit: z.ZodOptional<z.ZodObject<{
125
125
  slug: z.ZodString;
126
126
  name: z.ZodString;
@@ -135,11 +135,11 @@ declare const ToolSchema: z.ZodObject<{
135
135
  logo?: string | undefined;
136
136
  }>>;
137
137
  version: z.ZodOptional<z.ZodString>;
138
+ availableVersions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
138
139
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
139
140
  }, "strip", z.ZodTypeAny, {
140
141
  name: string;
141
142
  slug: string;
142
- tags: string[];
143
143
  toolkit?: {
144
144
  name: string;
145
145
  slug: string;
@@ -176,6 +176,8 @@ declare const ToolSchema: z.ZodObject<{
176
176
  required?: string[] | undefined;
177
177
  additionalProperties?: boolean | undefined;
178
178
  } | undefined;
179
+ tags?: string[] | undefined;
180
+ availableVersions?: string[] | undefined;
179
181
  }, {
180
182
  name: string;
181
183
  slug: string;
@@ -216,6 +218,7 @@ declare const ToolSchema: z.ZodObject<{
216
218
  additionalProperties?: boolean | undefined;
217
219
  } | undefined;
218
220
  tags?: string[] | undefined;
221
+ availableVersions?: string[] | undefined;
219
222
  }>;
220
223
  type Tool = z.infer<typeof ToolSchema>;
221
224
  /**
@@ -306,7 +309,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
306
309
  required?: string[] | undefined;
307
310
  additionalProperties?: boolean | undefined;
308
311
  }>>;
309
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
312
+ tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
310
313
  toolkit: z.ZodOptional<z.ZodObject<{
311
314
  slug: z.ZodString;
312
315
  name: z.ZodString;
@@ -321,11 +324,11 @@ declare const ToolListResponseSchema: z.ZodObject<{
321
324
  logo?: string | undefined;
322
325
  }>>;
323
326
  version: z.ZodOptional<z.ZodString>;
327
+ availableVersions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
324
328
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
325
329
  }, "strip", z.ZodTypeAny, {
326
330
  name: string;
327
331
  slug: string;
328
- tags: string[];
329
332
  toolkit?: {
330
333
  name: string;
331
334
  slug: string;
@@ -362,6 +365,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
362
365
  required?: string[] | undefined;
363
366
  additionalProperties?: boolean | undefined;
364
367
  } | undefined;
368
+ tags?: string[] | undefined;
369
+ availableVersions?: string[] | undefined;
365
370
  }, {
366
371
  name: string;
367
372
  slug: string;
@@ -402,6 +407,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
402
407
  additionalProperties?: boolean | undefined;
403
408
  } | undefined;
404
409
  tags?: string[] | undefined;
410
+ availableVersions?: string[] | undefined;
405
411
  }>, "many">;
406
412
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
413
  totalPages: z.ZodNumber;
@@ -409,7 +415,6 @@ declare const ToolListResponseSchema: z.ZodObject<{
409
415
  items: {
410
416
  name: string;
411
417
  slug: string;
412
- tags: string[];
413
418
  toolkit?: {
414
419
  name: string;
415
420
  slug: string;
@@ -446,6 +451,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
446
451
  required?: string[] | undefined;
447
452
  additionalProperties?: boolean | undefined;
448
453
  } | undefined;
454
+ tags?: string[] | undefined;
455
+ availableVersions?: string[] | undefined;
449
456
  }[];
450
457
  totalPages: number;
451
458
  nextCursor?: string | null | undefined;
@@ -490,6 +497,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
490
497
  additionalProperties?: boolean | undefined;
491
498
  } | undefined;
492
499
  tags?: string[] | undefined;
500
+ availableVersions?: string[] | undefined;
493
501
  }[];
494
502
  totalPages: number;
495
503
  nextCursor?: string | null | undefined;
@@ -499,6 +507,30 @@ type ToolListResponse = z.infer<typeof ToolListResponseSchema>;
499
507
  * Plain SDK level Tool List
500
508
  */
501
509
  type ToolList = Array<Tool>;
510
+ /**
511
+ * latest toolkit version param
512
+ */
513
+ type ToolkitLatestVersion = 'latest';
514
+ /**
515
+ * Versioning a tool based on it's toolkit version, either 'latest' or actual tool version as string '20250902_00'
516
+ * @example
517
+ * 'latest'
518
+ * '20250902_00'
519
+ */
520
+ type ToolkitVersion = ToolkitLatestVersion | string;
521
+ /**
522
+ * Versioning multiple toolkits
523
+ * @example
524
+ * { 'github': 'latest', 'slack': '20250902_00' }
525
+ */
526
+ type ToolkitVersions = Record<string, ToolkitVersion>;
527
+ /**
528
+ * Versioning a toolkit based on it's tool versions, either 'latest' or actual tool version as string '20250902_00'
529
+ * @example
530
+ * 'latest'
531
+ * { 'github': 'latest', 'slack': '20250902_00' }
532
+ */
533
+ type ToolkitVersionParam = ToolkitLatestVersion | ToolkitVersions | undefined;
502
534
  declare const ToolListParamsSchema: z.ZodObject<{
503
535
  tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
536
  toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -510,18 +542,18 @@ declare const ToolListParamsSchema: z.ZodObject<{
510
542
  }, "strip", z.ZodTypeAny, {
511
543
  limit?: number | undefined;
512
544
  scopes?: string[] | undefined;
513
- search?: string | undefined;
514
545
  tags?: string[] | undefined;
515
546
  tools?: string[] | undefined;
516
547
  toolkits?: string[] | undefined;
548
+ search?: string | undefined;
517
549
  authConfigIds?: string[] | undefined;
518
550
  }, {
519
551
  limit?: number | undefined;
520
552
  scopes?: string[] | undefined;
521
- search?: string | undefined;
522
553
  tags?: string[] | undefined;
523
554
  tools?: string[] | undefined;
524
555
  toolkits?: string[] | undefined;
556
+ search?: string | undefined;
525
557
  authConfigIds?: string[] | undefined;
526
558
  }>;
527
559
  type BaseParams = {
@@ -554,11 +586,11 @@ type TagsOnlyParams = {
554
586
  search?: never;
555
587
  } & Pick<BaseParams, 'limit'>;
556
588
  type SearchOnlyParams = {
589
+ search: string;
557
590
  tools?: never;
558
591
  toolkits?: never;
559
592
  scopes?: never;
560
593
  limit?: never;
561
- search: string;
562
594
  tags?: never;
563
595
  };
564
596
  type AuthConfigIdsOnlyParams = {
@@ -1849,7 +1881,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1849
1881
  }>]>>;
1850
1882
  arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1851
1883
  userId: z.ZodOptional<z.ZodString>;
1852
- version: z.ZodOptional<z.ZodString>;
1884
+ version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>>;
1853
1885
  text: z.ZodOptional<z.ZodString>;
1854
1886
  }, "strip", z.ZodTypeAny, {
1855
1887
  version?: string | undefined;
@@ -4132,6 +4164,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4132
4164
  } | undefined;
4133
4165
  }>;
4134
4166
  type ToolProxyParams = z.infer<typeof ToolProxyParamsSchema>;
4167
+ type SchemaModifierOptions = {
4168
+ modifySchema: TransformToolSchemaModifier;
4169
+ };
4135
4170
 
4136
4171
  /**
4137
4172
  * Modifier for altering the tool execute parameters before execution.
@@ -15940,7 +15975,7 @@ type ExecuteToolFn = (toolSlug: string, input: Record<string, unknown>) => Promi
15940
15975
  type GlobalExecuteToolFn = (slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers) => Promise<ToolExecuteResponse>;
15941
15976
 
15942
15977
  /**
15943
- * MCP Create Method Input Types
15978
+ * @deprecated
15944
15979
  */
15945
15980
  declare const MCPToolkitConfigSchema: z.ZodObject<{
15946
15981
  toolkit: z.ZodString;
@@ -15956,6 +15991,9 @@ declare const MCPToolkitConfigSchema: z.ZodObject<{
15956
15991
  allowedTools: string[];
15957
15992
  }>;
15958
15993
  type MCPToolkitConfig = z.infer<typeof MCPToolkitConfigSchema>;
15994
+ /**
15995
+ * @deprecated
15996
+ */
15959
15997
  declare const MCPToolkitConfigsArraySchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
15960
15998
  toolkit: z.ZodString;
15961
15999
  authConfigId: z.ZodString;
@@ -15977,6 +16015,9 @@ declare const MCPToolkitConfigsArraySchema: z.ZodEffects<z.ZodArray<z.ZodObject<
15977
16015
  authConfigId: string;
15978
16016
  allowedTools: string[];
15979
16017
  }[]>;
16018
+ /**
16019
+ * @deprecated
16020
+ */
15980
16021
  declare const MCPAuthOptionsSchema: z.ZodObject<{
15981
16022
  isChatAuth: z.ZodOptional<z.ZodBoolean>;
15982
16023
  }, "strip", z.ZodTypeAny, {
@@ -16715,7 +16756,7 @@ type GenerateURLResponse = z.infer<typeof GenerateURLResponseSchema>;
16715
16756
  * Base class for all providers.
16716
16757
  * This class is not meant to be used directly, but rather to be extended by different provider implementations.
16717
16758
  */
16718
- declare abstract class BaseProvider<TMcpResponse = McpServerGetResponse> {
16759
+ declare abstract class BaseProvider<TMcpResponse> {
16719
16760
  /**
16720
16761
  * @public
16721
16762
  * The name of the provider.
@@ -16753,12 +16794,12 @@ declare abstract class BaseProvider<TMcpResponse = McpServerGetResponse> {
16753
16794
  executeTool(toolSlug: string, body: ToolExecuteParams, modifers?: ExecuteToolModifiers): Promise<ToolExecuteResponse>;
16754
16795
  /**
16755
16796
  * @public
16797
+ * @deprecated: Will be removed in a future version, once the `experimental.mcp` flag is stabilized. Use `wrapMcpServers` instead.
16756
16798
  * Optional method to transform MCP URL response into provider-specific format.
16757
16799
  * Providers can override this method to define custom transformation logic
16758
16800
  * for MCP server responses.
16759
16801
  *
16760
16802
  * @param data - The MCP URL response data
16761
- * @param serverName - Name of the MCP server
16762
16803
 
16763
16804
  * @returns Transformed response in provider-specific format, or undefined to use default transformation
16764
16805
  */
@@ -16789,7 +16830,7 @@ declare abstract class BaseNonAgenticProvider<TToolCollection, TTool, TMcpRespon
16789
16830
  * Base class for all agentic providers.
16790
16831
  * This class is not meant to be used directly, but rather to be extended by concrete provider implementations.
16791
16832
  */
16792
- declare abstract class BaseAgenticProvider<TToolCollection, TTool, TMcpResponse = McpServerGetResponse> extends BaseProvider<TMcpResponse> {
16833
+ declare abstract class BaseAgenticProvider<TToolCollection, TTool, TMcpResponse> extends BaseProvider<TMcpResponse> {
16793
16834
  readonly _isAgentic = true;
16794
16835
  /**
16795
16836
  * Wrap a tool in the provider specific format.
@@ -16860,9 +16901,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16860
16901
  private readonly customTools;
16861
16902
  private provider;
16862
16903
  private autoUploadDownloadFiles;
16863
- constructor(client: ComposioClient, provider: TProvider, options?: {
16864
- autoUploadDownloadFiles: boolean;
16865
- });
16904
+ private toolkitVersions;
16905
+ constructor(client: ComposioClient, provider: TProvider, config?: ComposioConfig<TProvider>);
16866
16906
  /**
16867
16907
  * Transforms tool data from snake_case API format to camelCase for internal SDK use.
16868
16908
  *
@@ -16887,13 +16927,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16887
16927
  * @private
16888
16928
  */
16889
16929
  private transformToolExecuteResponse;
16890
- /**
16891
- * Check if the connected account exists for the given tools.
16892
- * @param {string} userId - The user id.
16893
- * @param {ToolList} tools - The tools to check.
16894
- * @returns {Promise<boolean>} True if the connected account exists for the given tools, false otherwise.
16895
- */
16896
- private checkIfConnectedAccountExistsForTools;
16897
16930
  /**
16898
16931
  * Get the connected account id for a given tool
16899
16932
  * @param {string} userId - The user id
@@ -16930,44 +16963,110 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16930
16963
  *
16931
16964
  * This method fetches tools from the Composio API in raw format and combines them with
16932
16965
  * any registered custom tools. The response can be filtered and modified as needed.
16966
+ * It provides access to the underlying tool data without provider-specific wrapping.
16933
16967
  *
16934
- * @param {ToolListParams} [query={}] - Optional query parameters to filter the tools
16935
- * @param {TransformToolSchemaModifier} [modifier] - Optional function to transform tool schemas
16968
+ * @param {ToolListParams} query - Query parameters to filter the tools (required)
16969
+ * @param {GetRawComposioToolsOptions} [options] - Optional configuration for tool retrieval
16970
+ * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform tool schemas
16936
16971
  * @returns {Promise<ToolList>} List of tools matching the query criteria
16937
16972
  *
16938
16973
  * @example
16939
16974
  * ```typescript
16940
- * // Get all tools
16941
- * const tools = await composio.tools.getRawComposioTools();
16975
+ * // Get tools from specific toolkits
16976
+ * const githubTools = await composio.tools.getRawComposioTools({
16977
+ * toolkits: ['github'],
16978
+ * limit: 10
16979
+ * });
16980
+ *
16981
+ * // Get specific tools by slug
16982
+ * const specificTools = await composio.tools.getRawComposioTools({
16983
+ * tools: ['GITHUB_GET_REPOS', 'HACKERNEWS_GET_USER']
16984
+ * });
16942
16985
  *
16943
- * // Get tools with filters
16986
+ * // Get tools from specific toolkits
16944
16987
  * const githubTools = await composio.tools.getRawComposioTools({
16945
16988
  * toolkits: ['github'],
16946
16989
  * limit: 10
16947
16990
  * });
16948
16991
  *
16949
16992
  * // Get tools with schema transformation
16950
- * const tools = await composio.tools.getRawComposioTools({},
16951
- * (toolSlug, toolkitSlug, tool) => {
16993
+ * const customizedTools = await composio.tools.getRawComposioTools({
16994
+ * toolkits: ['github'],
16995
+ * limit: 5
16996
+ * }, {
16997
+ * modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
16952
16998
  * // Add custom properties to tool schema
16953
- * return {...tool, customProperty: 'value'};
16999
+ * return {
17000
+ * ...schema,
17001
+ * customProperty: `Modified ${toolSlug} from ${toolkitSlug}`,
17002
+ * tags: [...(schema.tags || []), 'customized']
17003
+ * };
16954
17004
  * }
16955
- * );
17005
+ * });
17006
+ *
17007
+ * // Search for tools
17008
+ * const searchResults = await composio.tools.getRawComposioTools({
17009
+ * search: 'user management'
17010
+ * });
17011
+ *
17012
+ * // Get tools by authentication config
17013
+ * const authSpecificTools = await composio.tools.getRawComposioTools({
17014
+ * authConfigIds: ['auth_config_123']
17015
+ * });
16956
17016
  * ```
16957
17017
  */
16958
- getRawComposioTools(query: ToolListParams, modifier?: TransformToolSchemaModifier): Promise<ToolList>;
17018
+ getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
16959
17019
  /**
16960
- * Retrieves a tool by its Slug.
16961
- * This method is used to get the raw tools from the composio API.
16962
- * @param slug The ID of the tool to be retrieved
16963
- * @returns {Promise<Tool>} The tool
17020
+ * Retrieves a specific tool by its slug from the Composio API.
17021
+ *
17022
+ * This method fetches a single tool in raw format without provider-specific wrapping,
17023
+ * providing direct access to the tool's schema and metadata. Tool versions are controlled
17024
+ * at the Composio SDK initialization level through the `toolkitVersions` configuration.
17025
+ *
17026
+ * @param {string} slug - The unique identifier of the tool (e.g., 'GITHUB_GET_REPOS')
17027
+ * @param {GetRawComposioToolBySlugOptions} [options] - Optional configuration for tool retrieval
17028
+ * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
17029
+ * @returns {Promise<Tool>} The requested tool with its complete schema and metadata
16964
17030
  *
16965
17031
  * @example
16966
- * ```ts
16967
- * const tool = await composio.tools.getRawComposioToolBySlug('github');
17032
+ * ```typescript
17033
+ * // Get a tool by slug
17034
+ * const tool = await composio.tools.getRawComposioToolBySlug('GITHUB_GET_REPOS');
17035
+ * console.log(tool.name, tool.description);
17036
+ *
17037
+ * // Get a tool with schema transformation
17038
+ * const customizedTool = await composio.tools.getRawComposioToolBySlug(
17039
+ * 'SLACK_SEND_MESSAGE',
17040
+ * {
17041
+ * modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
17042
+ * return {
17043
+ * ...schema,
17044
+ * description: `Enhanced ${schema.description} with custom modifications`,
17045
+ * customMetadata: {
17046
+ * lastModified: new Date().toISOString(),
17047
+ * toolkit: toolkitSlug
17048
+ * }
17049
+ * };
17050
+ * }
17051
+ * }
17052
+ * );
17053
+ *
17054
+ * // Get a custom tool (will check custom tools first)
17055
+ * const customTool = await composio.tools.getRawComposioToolBySlug('MY_CUSTOM_TOOL');
17056
+ *
17057
+ * // Access tool properties
17058
+ * const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_ISSUE');
17059
+ * console.log({
17060
+ * slug: githubTool.slug,
17061
+ * name: githubTool.name,
17062
+ * toolkit: githubTool.toolkit?.name,
17063
+ * version: githubTool.version,
17064
+ * availableVersions: githubTool.availableVersions,
17065
+ * inputParameters: githubTool.inputParameters
17066
+ * });
16968
17067
  * ```
16969
17068
  */
16970
- getRawComposioToolBySlug(slug: string, modifier?: TransformToolSchemaModifier): Promise<Tool>;
17069
+ getRawComposioToolBySlug(slug: string, options?: SchemaModifierOptions): Promise<Tool>;
16971
17070
  /**
16972
17071
  * Get a list of tools from Composio based on filters.
16973
17072
  * This method fetches the tools from the Composio API and wraps them using the provider.
@@ -17462,18 +17561,24 @@ type ToolKitListResponse = z.infer<typeof ToolKitListResponseSchema>;
17462
17561
  * Toolkit retrieve response
17463
17562
  */
17464
17563
  declare const ToolkitAuthFieldSchema: z.ZodObject<{
17465
- name: z.ZodString;
17564
+ description: z.ZodString;
17466
17565
  displayName: z.ZodString;
17566
+ required: z.ZodBoolean;
17567
+ name: z.ZodString;
17467
17568
  type: z.ZodString;
17468
17569
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17469
17570
  }, "strip", z.ZodTypeAny, {
17470
17571
  type: string;
17471
17572
  name: string;
17573
+ description: string;
17574
+ required: boolean;
17472
17575
  displayName: string;
17473
17576
  default?: string | null | undefined;
17474
17577
  }, {
17475
17578
  type: string;
17476
17579
  name: string;
17580
+ description: string;
17581
+ required: boolean;
17477
17582
  displayName: string;
17478
17583
  default?: string | null | undefined;
17479
17584
  }>;
@@ -17483,34 +17588,46 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17483
17588
  fields: z.ZodObject<{
17484
17589
  authConfigCreation: z.ZodObject<{
17485
17590
  optional: z.ZodArray<z.ZodObject<{
17486
- name: z.ZodString;
17591
+ description: z.ZodString;
17487
17592
  displayName: z.ZodString;
17593
+ required: z.ZodBoolean;
17594
+ name: z.ZodString;
17488
17595
  type: z.ZodString;
17489
17596
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17490
17597
  }, "strip", z.ZodTypeAny, {
17491
17598
  type: string;
17492
17599
  name: string;
17600
+ description: string;
17601
+ required: boolean;
17493
17602
  displayName: string;
17494
17603
  default?: string | null | undefined;
17495
17604
  }, {
17496
17605
  type: string;
17497
17606
  name: string;
17607
+ description: string;
17608
+ required: boolean;
17498
17609
  displayName: string;
17499
17610
  default?: string | null | undefined;
17500
17611
  }>, "many">;
17501
17612
  required: z.ZodArray<z.ZodObject<{
17502
- name: z.ZodString;
17613
+ description: z.ZodString;
17503
17614
  displayName: z.ZodString;
17615
+ required: z.ZodBoolean;
17616
+ name: z.ZodString;
17504
17617
  type: z.ZodString;
17505
17618
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17506
17619
  }, "strip", z.ZodTypeAny, {
17507
17620
  type: string;
17508
17621
  name: string;
17622
+ description: string;
17623
+ required: boolean;
17509
17624
  displayName: string;
17510
17625
  default?: string | null | undefined;
17511
17626
  }, {
17512
17627
  type: string;
17513
17628
  name: string;
17629
+ description: string;
17630
+ required: boolean;
17514
17631
  displayName: string;
17515
17632
  default?: string | null | undefined;
17516
17633
  }>, "many">;
@@ -17518,12 +17635,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17518
17635
  required: {
17519
17636
  type: string;
17520
17637
  name: string;
17638
+ description: string;
17639
+ required: boolean;
17521
17640
  displayName: string;
17522
17641
  default?: string | null | undefined;
17523
17642
  }[];
17524
17643
  optional: {
17525
17644
  type: string;
17526
17645
  name: string;
17646
+ description: string;
17647
+ required: boolean;
17527
17648
  displayName: string;
17528
17649
  default?: string | null | undefined;
17529
17650
  }[];
@@ -17531,46 +17652,62 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17531
17652
  required: {
17532
17653
  type: string;
17533
17654
  name: string;
17655
+ description: string;
17656
+ required: boolean;
17534
17657
  displayName: string;
17535
17658
  default?: string | null | undefined;
17536
17659
  }[];
17537
17660
  optional: {
17538
17661
  type: string;
17539
17662
  name: string;
17663
+ description: string;
17664
+ required: boolean;
17540
17665
  displayName: string;
17541
17666
  default?: string | null | undefined;
17542
17667
  }[];
17543
17668
  }>;
17544
17669
  connectedAccountInitiation: z.ZodObject<{
17545
17670
  optional: z.ZodArray<z.ZodObject<{
17546
- name: z.ZodString;
17671
+ description: z.ZodString;
17547
17672
  displayName: z.ZodString;
17673
+ required: z.ZodBoolean;
17674
+ name: z.ZodString;
17548
17675
  type: z.ZodString;
17549
17676
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17550
17677
  }, "strip", z.ZodTypeAny, {
17551
17678
  type: string;
17552
17679
  name: string;
17680
+ description: string;
17681
+ required: boolean;
17553
17682
  displayName: string;
17554
17683
  default?: string | null | undefined;
17555
17684
  }, {
17556
17685
  type: string;
17557
17686
  name: string;
17687
+ description: string;
17688
+ required: boolean;
17558
17689
  displayName: string;
17559
17690
  default?: string | null | undefined;
17560
17691
  }>, "many">;
17561
17692
  required: z.ZodArray<z.ZodObject<{
17562
- name: z.ZodString;
17693
+ description: z.ZodString;
17563
17694
  displayName: z.ZodString;
17695
+ required: z.ZodBoolean;
17696
+ name: z.ZodString;
17564
17697
  type: z.ZodString;
17565
17698
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17566
17699
  }, "strip", z.ZodTypeAny, {
17567
17700
  type: string;
17568
17701
  name: string;
17702
+ description: string;
17703
+ required: boolean;
17569
17704
  displayName: string;
17570
17705
  default?: string | null | undefined;
17571
17706
  }, {
17572
17707
  type: string;
17573
17708
  name: string;
17709
+ description: string;
17710
+ required: boolean;
17574
17711
  displayName: string;
17575
17712
  default?: string | null | undefined;
17576
17713
  }>, "many">;
@@ -17578,12 +17715,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17578
17715
  required: {
17579
17716
  type: string;
17580
17717
  name: string;
17718
+ description: string;
17719
+ required: boolean;
17581
17720
  displayName: string;
17582
17721
  default?: string | null | undefined;
17583
17722
  }[];
17584
17723
  optional: {
17585
17724
  type: string;
17586
17725
  name: string;
17726
+ description: string;
17727
+ required: boolean;
17587
17728
  displayName: string;
17588
17729
  default?: string | null | undefined;
17589
17730
  }[];
@@ -17591,12 +17732,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17591
17732
  required: {
17592
17733
  type: string;
17593
17734
  name: string;
17735
+ description: string;
17736
+ required: boolean;
17594
17737
  displayName: string;
17595
17738
  default?: string | null | undefined;
17596
17739
  }[];
17597
17740
  optional: {
17598
17741
  type: string;
17599
17742
  name: string;
17743
+ description: string;
17744
+ required: boolean;
17600
17745
  displayName: string;
17601
17746
  default?: string | null | undefined;
17602
17747
  }[];
@@ -17606,12 +17751,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17606
17751
  required: {
17607
17752
  type: string;
17608
17753
  name: string;
17754
+ description: string;
17755
+ required: boolean;
17609
17756
  displayName: string;
17610
17757
  default?: string | null | undefined;
17611
17758
  }[];
17612
17759
  optional: {
17613
17760
  type: string;
17614
17761
  name: string;
17762
+ description: string;
17763
+ required: boolean;
17615
17764
  displayName: string;
17616
17765
  default?: string | null | undefined;
17617
17766
  }[];
@@ -17620,12 +17769,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17620
17769
  required: {
17621
17770
  type: string;
17622
17771
  name: string;
17772
+ description: string;
17773
+ required: boolean;
17623
17774
  displayName: string;
17624
17775
  default?: string | null | undefined;
17625
17776
  }[];
17626
17777
  optional: {
17627
17778
  type: string;
17628
17779
  name: string;
17780
+ description: string;
17781
+ required: boolean;
17629
17782
  displayName: string;
17630
17783
  default?: string | null | undefined;
17631
17784
  }[];
@@ -17635,12 +17788,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17635
17788
  required: {
17636
17789
  type: string;
17637
17790
  name: string;
17791
+ description: string;
17792
+ required: boolean;
17638
17793
  displayName: string;
17639
17794
  default?: string | null | undefined;
17640
17795
  }[];
17641
17796
  optional: {
17642
17797
  type: string;
17643
17798
  name: string;
17799
+ description: string;
17800
+ required: boolean;
17644
17801
  displayName: string;
17645
17802
  default?: string | null | undefined;
17646
17803
  }[];
@@ -17649,12 +17806,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17649
17806
  required: {
17650
17807
  type: string;
17651
17808
  name: string;
17809
+ description: string;
17810
+ required: boolean;
17652
17811
  displayName: string;
17653
17812
  default?: string | null | undefined;
17654
17813
  }[];
17655
17814
  optional: {
17656
17815
  type: string;
17657
17816
  name: string;
17817
+ description: string;
17818
+ required: boolean;
17658
17819
  displayName: string;
17659
17820
  default?: string | null | undefined;
17660
17821
  }[];
@@ -17675,12 +17836,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17675
17836
  required: {
17676
17837
  type: string;
17677
17838
  name: string;
17839
+ description: string;
17840
+ required: boolean;
17678
17841
  displayName: string;
17679
17842
  default?: string | null | undefined;
17680
17843
  }[];
17681
17844
  optional: {
17682
17845
  type: string;
17683
17846
  name: string;
17847
+ description: string;
17848
+ required: boolean;
17684
17849
  displayName: string;
17685
17850
  default?: string | null | undefined;
17686
17851
  }[];
@@ -17689,12 +17854,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17689
17854
  required: {
17690
17855
  type: string;
17691
17856
  name: string;
17857
+ description: string;
17858
+ required: boolean;
17692
17859
  displayName: string;
17693
17860
  default?: string | null | undefined;
17694
17861
  }[];
17695
17862
  optional: {
17696
17863
  type: string;
17697
17864
  name: string;
17865
+ description: string;
17866
+ required: boolean;
17698
17867
  displayName: string;
17699
17868
  default?: string | null | undefined;
17700
17869
  }[];
@@ -17711,12 +17880,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17711
17880
  required: {
17712
17881
  type: string;
17713
17882
  name: string;
17883
+ description: string;
17884
+ required: boolean;
17714
17885
  displayName: string;
17715
17886
  default?: string | null | undefined;
17716
17887
  }[];
17717
17888
  optional: {
17718
17889
  type: string;
17719
17890
  name: string;
17891
+ description: string;
17892
+ required: boolean;
17720
17893
  displayName: string;
17721
17894
  default?: string | null | undefined;
17722
17895
  }[];
@@ -17725,12 +17898,16 @@ declare const ToolkitAuthConfigDetailsSchema: z.ZodObject<{
17725
17898
  required: {
17726
17899
  type: string;
17727
17900
  name: string;
17901
+ description: string;
17902
+ required: boolean;
17728
17903
  displayName: string;
17729
17904
  default?: string | null | undefined;
17730
17905
  }[];
17731
17906
  optional: {
17732
17907
  type: string;
17733
17908
  name: string;
17909
+ description: string;
17910
+ required: boolean;
17734
17911
  displayName: string;
17735
17912
  default?: string | null | undefined;
17736
17913
  }[];
@@ -17794,34 +17971,46 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17794
17971
  fields: z.ZodObject<{
17795
17972
  authConfigCreation: z.ZodObject<{
17796
17973
  optional: z.ZodArray<z.ZodObject<{
17797
- name: z.ZodString;
17974
+ description: z.ZodString;
17798
17975
  displayName: z.ZodString;
17976
+ required: z.ZodBoolean;
17977
+ name: z.ZodString;
17799
17978
  type: z.ZodString;
17800
17979
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17801
17980
  }, "strip", z.ZodTypeAny, {
17802
17981
  type: string;
17803
17982
  name: string;
17983
+ description: string;
17984
+ required: boolean;
17804
17985
  displayName: string;
17805
17986
  default?: string | null | undefined;
17806
17987
  }, {
17807
17988
  type: string;
17808
17989
  name: string;
17990
+ description: string;
17991
+ required: boolean;
17809
17992
  displayName: string;
17810
17993
  default?: string | null | undefined;
17811
17994
  }>, "many">;
17812
17995
  required: z.ZodArray<z.ZodObject<{
17813
- name: z.ZodString;
17996
+ description: z.ZodString;
17814
17997
  displayName: z.ZodString;
17998
+ required: z.ZodBoolean;
17999
+ name: z.ZodString;
17815
18000
  type: z.ZodString;
17816
18001
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17817
18002
  }, "strip", z.ZodTypeAny, {
17818
18003
  type: string;
17819
18004
  name: string;
18005
+ description: string;
18006
+ required: boolean;
17820
18007
  displayName: string;
17821
18008
  default?: string | null | undefined;
17822
18009
  }, {
17823
18010
  type: string;
17824
18011
  name: string;
18012
+ description: string;
18013
+ required: boolean;
17825
18014
  displayName: string;
17826
18015
  default?: string | null | undefined;
17827
18016
  }>, "many">;
@@ -17829,12 +18018,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17829
18018
  required: {
17830
18019
  type: string;
17831
18020
  name: string;
18021
+ description: string;
18022
+ required: boolean;
17832
18023
  displayName: string;
17833
18024
  default?: string | null | undefined;
17834
18025
  }[];
17835
18026
  optional: {
17836
18027
  type: string;
17837
18028
  name: string;
18029
+ description: string;
18030
+ required: boolean;
17838
18031
  displayName: string;
17839
18032
  default?: string | null | undefined;
17840
18033
  }[];
@@ -17842,46 +18035,62 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17842
18035
  required: {
17843
18036
  type: string;
17844
18037
  name: string;
18038
+ description: string;
18039
+ required: boolean;
17845
18040
  displayName: string;
17846
18041
  default?: string | null | undefined;
17847
18042
  }[];
17848
18043
  optional: {
17849
18044
  type: string;
17850
18045
  name: string;
18046
+ description: string;
18047
+ required: boolean;
17851
18048
  displayName: string;
17852
18049
  default?: string | null | undefined;
17853
18050
  }[];
17854
18051
  }>;
17855
18052
  connectedAccountInitiation: z.ZodObject<{
17856
18053
  optional: z.ZodArray<z.ZodObject<{
17857
- name: z.ZodString;
18054
+ description: z.ZodString;
17858
18055
  displayName: z.ZodString;
18056
+ required: z.ZodBoolean;
18057
+ name: z.ZodString;
17859
18058
  type: z.ZodString;
17860
18059
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17861
18060
  }, "strip", z.ZodTypeAny, {
17862
18061
  type: string;
17863
18062
  name: string;
18063
+ description: string;
18064
+ required: boolean;
17864
18065
  displayName: string;
17865
18066
  default?: string | null | undefined;
17866
18067
  }, {
17867
18068
  type: string;
17868
18069
  name: string;
18070
+ description: string;
18071
+ required: boolean;
17869
18072
  displayName: string;
17870
18073
  default?: string | null | undefined;
17871
18074
  }>, "many">;
17872
18075
  required: z.ZodArray<z.ZodObject<{
17873
- name: z.ZodString;
18076
+ description: z.ZodString;
17874
18077
  displayName: z.ZodString;
18078
+ required: z.ZodBoolean;
18079
+ name: z.ZodString;
17875
18080
  type: z.ZodString;
17876
18081
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17877
18082
  }, "strip", z.ZodTypeAny, {
17878
18083
  type: string;
17879
18084
  name: string;
18085
+ description: string;
18086
+ required: boolean;
17880
18087
  displayName: string;
17881
18088
  default?: string | null | undefined;
17882
18089
  }, {
17883
18090
  type: string;
17884
18091
  name: string;
18092
+ description: string;
18093
+ required: boolean;
17885
18094
  displayName: string;
17886
18095
  default?: string | null | undefined;
17887
18096
  }>, "many">;
@@ -17889,12 +18098,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17889
18098
  required: {
17890
18099
  type: string;
17891
18100
  name: string;
18101
+ description: string;
18102
+ required: boolean;
17892
18103
  displayName: string;
17893
18104
  default?: string | null | undefined;
17894
18105
  }[];
17895
18106
  optional: {
17896
18107
  type: string;
17897
18108
  name: string;
18109
+ description: string;
18110
+ required: boolean;
17898
18111
  displayName: string;
17899
18112
  default?: string | null | undefined;
17900
18113
  }[];
@@ -17902,12 +18115,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17902
18115
  required: {
17903
18116
  type: string;
17904
18117
  name: string;
18118
+ description: string;
18119
+ required: boolean;
17905
18120
  displayName: string;
17906
18121
  default?: string | null | undefined;
17907
18122
  }[];
17908
18123
  optional: {
17909
18124
  type: string;
17910
18125
  name: string;
18126
+ description: string;
18127
+ required: boolean;
17911
18128
  displayName: string;
17912
18129
  default?: string | null | undefined;
17913
18130
  }[];
@@ -17917,12 +18134,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17917
18134
  required: {
17918
18135
  type: string;
17919
18136
  name: string;
18137
+ description: string;
18138
+ required: boolean;
17920
18139
  displayName: string;
17921
18140
  default?: string | null | undefined;
17922
18141
  }[];
17923
18142
  optional: {
17924
18143
  type: string;
17925
18144
  name: string;
18145
+ description: string;
18146
+ required: boolean;
17926
18147
  displayName: string;
17927
18148
  default?: string | null | undefined;
17928
18149
  }[];
@@ -17931,12 +18152,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17931
18152
  required: {
17932
18153
  type: string;
17933
18154
  name: string;
18155
+ description: string;
18156
+ required: boolean;
17934
18157
  displayName: string;
17935
18158
  default?: string | null | undefined;
17936
18159
  }[];
17937
18160
  optional: {
17938
18161
  type: string;
17939
18162
  name: string;
18163
+ description: string;
18164
+ required: boolean;
17940
18165
  displayName: string;
17941
18166
  default?: string | null | undefined;
17942
18167
  }[];
@@ -17946,12 +18171,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17946
18171
  required: {
17947
18172
  type: string;
17948
18173
  name: string;
18174
+ description: string;
18175
+ required: boolean;
17949
18176
  displayName: string;
17950
18177
  default?: string | null | undefined;
17951
18178
  }[];
17952
18179
  optional: {
17953
18180
  type: string;
17954
18181
  name: string;
18182
+ description: string;
18183
+ required: boolean;
17955
18184
  displayName: string;
17956
18185
  default?: string | null | undefined;
17957
18186
  }[];
@@ -17960,12 +18189,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17960
18189
  required: {
17961
18190
  type: string;
17962
18191
  name: string;
18192
+ description: string;
18193
+ required: boolean;
17963
18194
  displayName: string;
17964
18195
  default?: string | null | undefined;
17965
18196
  }[];
17966
18197
  optional: {
17967
18198
  type: string;
17968
18199
  name: string;
18200
+ description: string;
18201
+ required: boolean;
17969
18202
  displayName: string;
17970
18203
  default?: string | null | undefined;
17971
18204
  }[];
@@ -17986,12 +18219,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
17986
18219
  required: {
17987
18220
  type: string;
17988
18221
  name: string;
18222
+ description: string;
18223
+ required: boolean;
17989
18224
  displayName: string;
17990
18225
  default?: string | null | undefined;
17991
18226
  }[];
17992
18227
  optional: {
17993
18228
  type: string;
17994
18229
  name: string;
18230
+ description: string;
18231
+ required: boolean;
17995
18232
  displayName: string;
17996
18233
  default?: string | null | undefined;
17997
18234
  }[];
@@ -18000,12 +18237,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18000
18237
  required: {
18001
18238
  type: string;
18002
18239
  name: string;
18240
+ description: string;
18241
+ required: boolean;
18003
18242
  displayName: string;
18004
18243
  default?: string | null | undefined;
18005
18244
  }[];
18006
18245
  optional: {
18007
18246
  type: string;
18008
18247
  name: string;
18248
+ description: string;
18249
+ required: boolean;
18009
18250
  displayName: string;
18010
18251
  default?: string | null | undefined;
18011
18252
  }[];
@@ -18022,12 +18263,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18022
18263
  required: {
18023
18264
  type: string;
18024
18265
  name: string;
18266
+ description: string;
18267
+ required: boolean;
18025
18268
  displayName: string;
18026
18269
  default?: string | null | undefined;
18027
18270
  }[];
18028
18271
  optional: {
18029
18272
  type: string;
18030
18273
  name: string;
18274
+ description: string;
18275
+ required: boolean;
18031
18276
  displayName: string;
18032
18277
  default?: string | null | undefined;
18033
18278
  }[];
@@ -18036,12 +18281,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18036
18281
  required: {
18037
18282
  type: string;
18038
18283
  name: string;
18284
+ description: string;
18285
+ required: boolean;
18039
18286
  displayName: string;
18040
18287
  default?: string | null | undefined;
18041
18288
  }[];
18042
18289
  optional: {
18043
18290
  type: string;
18044
18291
  name: string;
18292
+ description: string;
18293
+ required: boolean;
18045
18294
  displayName: string;
18046
18295
  default?: string | null | undefined;
18047
18296
  }[];
@@ -18080,12 +18329,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18080
18329
  required: {
18081
18330
  type: string;
18082
18331
  name: string;
18332
+ description: string;
18333
+ required: boolean;
18083
18334
  displayName: string;
18084
18335
  default?: string | null | undefined;
18085
18336
  }[];
18086
18337
  optional: {
18087
18338
  type: string;
18088
18339
  name: string;
18340
+ description: string;
18341
+ required: boolean;
18089
18342
  displayName: string;
18090
18343
  default?: string | null | undefined;
18091
18344
  }[];
@@ -18094,12 +18347,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18094
18347
  required: {
18095
18348
  type: string;
18096
18349
  name: string;
18350
+ description: string;
18351
+ required: boolean;
18097
18352
  displayName: string;
18098
18353
  default?: string | null | undefined;
18099
18354
  }[];
18100
18355
  optional: {
18101
18356
  type: string;
18102
18357
  name: string;
18358
+ description: string;
18359
+ required: boolean;
18103
18360
  displayName: string;
18104
18361
  default?: string | null | undefined;
18105
18362
  }[];
@@ -18137,12 +18394,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18137
18394
  required: {
18138
18395
  type: string;
18139
18396
  name: string;
18397
+ description: string;
18398
+ required: boolean;
18140
18399
  displayName: string;
18141
18400
  default?: string | null | undefined;
18142
18401
  }[];
18143
18402
  optional: {
18144
18403
  type: string;
18145
18404
  name: string;
18405
+ description: string;
18406
+ required: boolean;
18146
18407
  displayName: string;
18147
18408
  default?: string | null | undefined;
18148
18409
  }[];
@@ -18151,12 +18412,16 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
18151
18412
  required: {
18152
18413
  type: string;
18153
18414
  name: string;
18415
+ description: string;
18416
+ required: boolean;
18154
18417
  displayName: string;
18155
18418
  default?: string | null | undefined;
18156
18419
  }[];
18157
18420
  optional: {
18158
18421
  type: string;
18159
18422
  name: string;
18423
+ description: string;
18424
+ required: boolean;
18160
18425
  displayName: string;
18161
18426
  default?: string | null | undefined;
18162
18427
  }[];
@@ -18215,8 +18480,9 @@ declare const ToolkitRetrieveCategoriesResponseSchema: z.ZodObject<{
18215
18480
  type ToolkitCategory = z.infer<typeof ToolkitCategorySchema>;
18216
18481
  type ToolkitRetrieveCategoriesResponse = z.infer<typeof ToolkitRetrieveCategoriesResponseSchema>;
18217
18482
  declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
18218
- name: z.ZodString;
18483
+ description: z.ZodString;
18219
18484
  displayName: z.ZodString;
18485
+ name: z.ZodString;
18220
18486
  type: z.ZodString;
18221
18487
  default: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18222
18488
  } & {
@@ -18224,12 +18490,14 @@ declare const ToolkitAuthFieldsResponseSchema: z.ZodArray<z.ZodObject<{
18224
18490
  }, "strip", z.ZodTypeAny, {
18225
18491
  type: string;
18226
18492
  name: string;
18493
+ description: string;
18227
18494
  displayName: string;
18228
18495
  default?: string | null | undefined;
18229
18496
  required?: boolean | undefined;
18230
18497
  }, {
18231
18498
  type: string;
18232
18499
  name: string;
18500
+ description: string;
18233
18501
  displayName: string;
18234
18502
  default?: string | null | undefined;
18235
18503
  required?: boolean | undefined;
@@ -63411,6 +63679,7 @@ declare const AuthSchemeTypes: {
63411
63679
  readonly NO_AUTH: "NO_AUTH";
63412
63680
  readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
63413
63681
  readonly CALCOM_AUTH: "CALCOM_AUTH";
63682
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
63414
63683
  };
63415
63684
  type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
63416
63685
  declare const AuthConfigCreationToolAccessConfigSchema: z.ZodObject<{
@@ -63430,12 +63699,12 @@ declare const AuthConfigToolAccessConfigSchema: z.ZodObject<{
63430
63699
  toolsForConnectedAccountCreation?: string[] | undefined;
63431
63700
  toolsAvailableForExecution?: string[] | undefined;
63432
63701
  }>;
63433
- declare const AuthSchemeEnum: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH"]>;
63702
+ declare const AuthSchemeEnum: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT"]>;
63434
63703
  declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
63435
63704
  type: z.ZodLiteral<"use_custom_auth">;
63436
63705
  name: z.ZodOptional<z.ZodString>;
63437
63706
  credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
63438
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH"]>;
63707
+ authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT"]>;
63439
63708
  proxyConfig: z.ZodOptional<z.ZodObject<{
63440
63709
  proxyUrl: z.ZodString;
63441
63710
  proxyAuthKey: z.ZodOptional<z.ZodString>;
@@ -63456,7 +63725,7 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
63456
63725
  }, "strip", z.ZodTypeAny, {
63457
63726
  type: "use_custom_auth";
63458
63727
  credentials: Record<string, string | number | boolean>;
63459
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH";
63728
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT";
63460
63729
  name?: string | undefined;
63461
63730
  proxyConfig?: {
63462
63731
  proxyUrl: string;
@@ -63468,7 +63737,7 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
63468
63737
  }, {
63469
63738
  type: "use_custom_auth";
63470
63739
  credentials: Record<string, string | number | boolean>;
63471
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH";
63740
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT";
63472
63741
  name?: string | undefined;
63473
63742
  proxyConfig?: {
63474
63743
  proxyUrl: string;
@@ -63511,7 +63780,7 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
63511
63780
  type: z.ZodLiteral<"use_custom_auth">;
63512
63781
  name: z.ZodOptional<z.ZodString>;
63513
63782
  credentials: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
63514
- authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH"]>;
63783
+ authScheme: z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT"]>;
63515
63784
  proxyConfig: z.ZodOptional<z.ZodObject<{
63516
63785
  proxyUrl: z.ZodString;
63517
63786
  proxyAuthKey: z.ZodOptional<z.ZodString>;
@@ -63532,7 +63801,7 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
63532
63801
  }, "strip", z.ZodTypeAny, {
63533
63802
  type: "use_custom_auth";
63534
63803
  credentials: Record<string, string | number | boolean>;
63535
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH";
63804
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT";
63536
63805
  name?: string | undefined;
63537
63806
  proxyConfig?: {
63538
63807
  proxyUrl: string;
@@ -63544,7 +63813,7 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
63544
63813
  }, {
63545
63814
  type: "use_custom_auth";
63546
63815
  credentials: Record<string, string | number | boolean>;
63547
- authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH";
63816
+ authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT";
63548
63817
  name?: string | undefined;
63549
63818
  proxyConfig?: {
63550
63819
  proxyUrl: string;
@@ -63613,7 +63882,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
63613
63882
  noOfConnections: z.ZodNumber;
63614
63883
  status: z.ZodEnum<["ENABLED", "DISABLED"]>;
63615
63884
  uuid: z.ZodString;
63616
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH"]>>;
63885
+ 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"]>>;
63617
63886
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
63618
63887
  expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
63619
63888
  /**
@@ -63645,7 +63914,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
63645
63914
  noOfConnections: number;
63646
63915
  uuid: string;
63647
63916
  credentials?: Record<string, unknown> | undefined;
63648
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
63917
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63649
63918
  toolAccessConfig?: {
63650
63919
  toolsForConnectedAccountCreation?: string[] | undefined;
63651
63920
  toolsAvailableForExecution?: string[] | undefined;
@@ -63667,7 +63936,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
63667
63936
  noOfConnections: number;
63668
63937
  uuid: string;
63669
63938
  credentials?: Record<string, unknown> | undefined;
63670
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
63939
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63671
63940
  toolAccessConfig?: {
63672
63941
  toolsForConnectedAccountCreation?: string[] | undefined;
63673
63942
  toolsAvailableForExecution?: string[] | undefined;
@@ -63714,7 +63983,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
63714
63983
  noOfConnections: z.ZodNumber;
63715
63984
  status: z.ZodEnum<["ENABLED", "DISABLED"]>;
63716
63985
  uuid: z.ZodString;
63717
- authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH"]>>;
63986
+ 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"]>>;
63718
63987
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
63719
63988
  expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
63720
63989
  /**
@@ -63746,7 +64015,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
63746
64015
  noOfConnections: number;
63747
64016
  uuid: string;
63748
64017
  credentials?: Record<string, unknown> | undefined;
63749
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
64018
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63750
64019
  toolAccessConfig?: {
63751
64020
  toolsForConnectedAccountCreation?: string[] | undefined;
63752
64021
  toolsAvailableForExecution?: string[] | undefined;
@@ -63768,7 +64037,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
63768
64037
  noOfConnections: number;
63769
64038
  uuid: string;
63770
64039
  credentials?: Record<string, unknown> | undefined;
63771
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
64040
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63772
64041
  toolAccessConfig?: {
63773
64042
  toolsForConnectedAccountCreation?: string[] | undefined;
63774
64043
  toolsAvailableForExecution?: string[] | undefined;
@@ -63794,7 +64063,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
63794
64063
  noOfConnections: number;
63795
64064
  uuid: string;
63796
64065
  credentials?: Record<string, unknown> | undefined;
63797
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
64066
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63798
64067
  toolAccessConfig?: {
63799
64068
  toolsForConnectedAccountCreation?: string[] | undefined;
63800
64069
  toolsAvailableForExecution?: string[] | undefined;
@@ -63820,7 +64089,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
63820
64089
  noOfConnections: number;
63821
64090
  uuid: string;
63822
64091
  credentials?: Record<string, unknown> | undefined;
63823
- authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | undefined;
64092
+ authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | undefined;
63824
64093
  toolAccessConfig?: {
63825
64094
  toolsForConnectedAccountCreation?: string[] | undefined;
63826
64095
  toolsAvailableForExecution?: string[] | undefined;
@@ -65188,21 +65457,640 @@ declare class ConnectedAccounts {
65188
65457
  disable(nanoid: string): Promise<ConnectedAccountUpdateStatusResponse>;
65189
65458
  }
65190
65459
 
65460
+ declare const MCPServerInstanceSchema: z$1.ZodObject<{
65461
+ id: z$1.ZodString;
65462
+ name: z$1.ZodString;
65463
+ type: z$1.ZodLiteral<"streamable_http">;
65464
+ url: z$1.ZodString;
65465
+ userId: z$1.ZodString;
65466
+ allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
65467
+ authConfigs: z$1.ZodArray<z$1.ZodString, "many">;
65468
+ }, "strip", z$1.ZodTypeAny, {
65469
+ type: "streamable_http";
65470
+ name: string;
65471
+ id: string;
65472
+ userId: string;
65473
+ allowedTools: string[];
65474
+ url: string;
65475
+ authConfigs: string[];
65476
+ }, {
65477
+ type: "streamable_http";
65478
+ name: string;
65479
+ id: string;
65480
+ userId: string;
65481
+ allowedTools: string[];
65482
+ url: string;
65483
+ authConfigs: string[];
65484
+ }>;
65485
+ type MCPServerInstance = z$1.infer<typeof MCPServerInstanceSchema>;
65486
+ declare const MCPConfigCreationParamsSchema: z$1.ZodObject<{
65487
+ toolkits: z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
65488
+ toolkit: z$1.ZodOptional<z$1.ZodString>;
65489
+ authConfigId: z$1.ZodOptional<z$1.ZodString>;
65490
+ }, "strip", z$1.ZodTypeAny, {
65491
+ toolkit?: string | undefined;
65492
+ authConfigId?: string | undefined;
65493
+ }, {
65494
+ toolkit?: string | undefined;
65495
+ authConfigId?: string | undefined;
65496
+ }>, z$1.ZodString]>, "many">;
65497
+ allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
65498
+ manuallyManageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
65499
+ }, "strip", z$1.ZodTypeAny, {
65500
+ toolkits: (string | {
65501
+ toolkit?: string | undefined;
65502
+ authConfigId?: string | undefined;
65503
+ })[];
65504
+ allowedTools?: string[] | undefined;
65505
+ manuallyManageConnections?: boolean | undefined;
65506
+ }, {
65507
+ toolkits: (string | {
65508
+ toolkit?: string | undefined;
65509
+ authConfigId?: string | undefined;
65510
+ })[];
65511
+ allowedTools?: string[] | undefined;
65512
+ manuallyManageConnections?: boolean | undefined;
65513
+ }>;
65514
+ type MCPConfigCreationParams = z$1.infer<typeof MCPConfigCreationParamsSchema>;
65515
+ declare const MCPConfigResponseSchema: z$1.ZodObject<{
65516
+ /**
65517
+ * Unique identifier for the newly created custom MCP server
65518
+ */
65519
+ id: z$1.ZodString;
65520
+ /**
65521
+ * Human-readable name of the custom MCP server
65522
+ */
65523
+ name: z$1.ZodString;
65524
+ /**
65525
+ * List of tool identifiers that are enabled for this server
65526
+ */
65527
+ allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
65528
+ /**
65529
+ * ID references to the auth configurations used by this server
65530
+ */
65531
+ authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
65532
+ /**
65533
+ * Set of command line instructions for connecting various clients to this MCP server
65534
+ */
65535
+ commands: z$1.ZodObject<{
65536
+ /**
65537
+ * Command line instruction for Claude client setup
65538
+ */
65539
+ claude: z$1.ZodString;
65540
+ /**
65541
+ * Command line instruction for Cursor client setup
65542
+ */
65543
+ cursor: z$1.ZodString;
65544
+ /**
65545
+ * Command line instruction for Windsurf client setup
65546
+ */
65547
+ windsurf: z$1.ZodString;
65548
+ }, "strip", z$1.ZodTypeAny, {
65549
+ cursor: string;
65550
+ claude: string;
65551
+ windsurf: string;
65552
+ }, {
65553
+ cursor: string;
65554
+ claude: string;
65555
+ windsurf: string;
65556
+ }>;
65557
+ /**
65558
+ * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
65559
+ */
65560
+ MCPUrl: z$1.ZodString;
65561
+ }, "strip", z$1.ZodTypeAny, {
65562
+ name: string;
65563
+ id: string;
65564
+ authConfigIds: string[];
65565
+ allowedTools: string[];
65566
+ commands: {
65567
+ cursor: string;
65568
+ claude: string;
65569
+ windsurf: string;
65570
+ };
65571
+ MCPUrl: string;
65572
+ }, {
65573
+ name: string;
65574
+ id: string;
65575
+ authConfigIds: string[];
65576
+ allowedTools: string[];
65577
+ commands: {
65578
+ cursor: string;
65579
+ claude: string;
65580
+ windsurf: string;
65581
+ };
65582
+ MCPUrl: string;
65583
+ }>;
65584
+ type MCPConfigResponse = z$1.infer<typeof MCPConfigResponseSchema>;
65585
+ interface MCPConfigCreateResponse extends MCPConfigResponse {
65586
+ /**
65587
+ * Creates an instance for a user of the specific MCP Server/COnfig
65588
+ * @param userId {string}
65589
+ * @returns {MCPServerInstance}
65590
+ */
65591
+ generate: (userId: string) => Promise<MCPServerInstance>;
65592
+ }
65593
+ declare const MCPGetInstanceParamsSchema: z$1.ZodObject<{
65594
+ manuallyManageConnections: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
65595
+ }, "strip", z$1.ZodTypeAny, {
65596
+ manuallyManageConnections?: boolean | undefined;
65597
+ }, {
65598
+ manuallyManageConnections?: boolean | undefined;
65599
+ }>;
65600
+ type MCPGetInstanceParams = z$1.infer<typeof MCPGetInstanceParamsSchema>;
65601
+ declare const MCPListParamsSchema: z$1.ZodObject<{
65602
+ page: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
65603
+ limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
65604
+ toolkits: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
65605
+ authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
65606
+ name: z$1.ZodOptional<z$1.ZodString>;
65607
+ }, "strip", z$1.ZodTypeAny, {
65608
+ limit: number;
65609
+ toolkits: string[];
65610
+ page: number;
65611
+ authConfigs: string[];
65612
+ name?: string | undefined;
65613
+ }, {
65614
+ name?: string | undefined;
65615
+ limit?: number | undefined;
65616
+ toolkits?: string[] | undefined;
65617
+ page?: number | undefined;
65618
+ authConfigs?: string[] | undefined;
65619
+ }>;
65620
+ type MCPListParams = z$1.infer<typeof MCPListParamsSchema>;
65621
+ declare const MCPItemSchema: z$1.ZodObject<{
65622
+ /**
65623
+ * Unique identifier for the newly created custom MCP server
65624
+ */
65625
+ id: z$1.ZodString;
65626
+ /**
65627
+ * Human-readable name of the custom MCP server
65628
+ */
65629
+ name: z$1.ZodString;
65630
+ /**
65631
+ * List of tool identifiers that are enabled for this server
65632
+ */
65633
+ allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
65634
+ /**
65635
+ * ID references to the auth configurations used by this server
65636
+ */
65637
+ authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
65638
+ /**
65639
+ * Set of command line instructions for connecting various clients to this MCP server
65640
+ */
65641
+ commands: z$1.ZodObject<{
65642
+ /**
65643
+ * Command line instruction for Claude client setup
65644
+ */
65645
+ claude: z$1.ZodString;
65646
+ /**
65647
+ * Command line instruction for Cursor client setup
65648
+ */
65649
+ cursor: z$1.ZodString;
65650
+ /**
65651
+ * Command line instruction for Windsurf client setup
65652
+ */
65653
+ windsurf: z$1.ZodString;
65654
+ }, "strip", z$1.ZodTypeAny, {
65655
+ cursor: string;
65656
+ claude: string;
65657
+ windsurf: string;
65658
+ }, {
65659
+ cursor: string;
65660
+ claude: string;
65661
+ windsurf: string;
65662
+ }>;
65663
+ /**
65664
+ * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
65665
+ */
65666
+ MCPUrl: z$1.ZodString;
65667
+ } & {
65668
+ toolkitIcons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
65669
+ serverInstanceCount: z$1.ZodNumber;
65670
+ toolkits: z$1.ZodArray<z$1.ZodString, "many">;
65671
+ }, "strip", z$1.ZodTypeAny, {
65672
+ name: string;
65673
+ id: string;
65674
+ toolkits: string[];
65675
+ authConfigIds: string[];
65676
+ allowedTools: string[];
65677
+ commands: {
65678
+ cursor: string;
65679
+ claude: string;
65680
+ windsurf: string;
65681
+ };
65682
+ MCPUrl: string;
65683
+ toolkitIcons: Record<string, string>;
65684
+ serverInstanceCount: number;
65685
+ }, {
65686
+ name: string;
65687
+ id: string;
65688
+ toolkits: string[];
65689
+ authConfigIds: string[];
65690
+ allowedTools: string[];
65691
+ commands: {
65692
+ cursor: string;
65693
+ claude: string;
65694
+ windsurf: string;
65695
+ };
65696
+ MCPUrl: string;
65697
+ toolkitIcons: Record<string, string>;
65698
+ serverInstanceCount: number;
65699
+ }>;
65700
+ type MCPItem = z$1.infer<typeof MCPItemSchema>;
65701
+ declare const MCPListResponseSchema: z$1.ZodObject<{
65702
+ items: z$1.ZodArray<z$1.ZodObject<{
65703
+ /**
65704
+ * Unique identifier for the newly created custom MCP server
65705
+ */
65706
+ id: z$1.ZodString;
65707
+ /**
65708
+ * Human-readable name of the custom MCP server
65709
+ */
65710
+ name: z$1.ZodString;
65711
+ /**
65712
+ * List of tool identifiers that are enabled for this server
65713
+ */
65714
+ allowedTools: z$1.ZodArray<z$1.ZodString, "many">;
65715
+ /**
65716
+ * ID references to the auth configurations used by this server
65717
+ */
65718
+ authConfigIds: z$1.ZodArray<z$1.ZodString, "many">;
65719
+ /**
65720
+ * Set of command line instructions for connecting various clients to this MCP server
65721
+ */
65722
+ commands: z$1.ZodObject<{
65723
+ /**
65724
+ * Command line instruction for Claude client setup
65725
+ */
65726
+ claude: z$1.ZodString;
65727
+ /**
65728
+ * Command line instruction for Cursor client setup
65729
+ */
65730
+ cursor: z$1.ZodString;
65731
+ /**
65732
+ * Command line instruction for Windsurf client setup
65733
+ */
65734
+ windsurf: z$1.ZodString;
65735
+ }, "strip", z$1.ZodTypeAny, {
65736
+ cursor: string;
65737
+ claude: string;
65738
+ windsurf: string;
65739
+ }, {
65740
+ cursor: string;
65741
+ claude: string;
65742
+ windsurf: string;
65743
+ }>;
65744
+ /**
65745
+ * URL endpoint for establishing Server-Sent Events (SSE) connection to this MCP server
65746
+ */
65747
+ MCPUrl: z$1.ZodString;
65748
+ } & {
65749
+ toolkitIcons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
65750
+ serverInstanceCount: z$1.ZodNumber;
65751
+ toolkits: z$1.ZodArray<z$1.ZodString, "many">;
65752
+ }, "strip", z$1.ZodTypeAny, {
65753
+ name: string;
65754
+ id: string;
65755
+ toolkits: string[];
65756
+ authConfigIds: string[];
65757
+ allowedTools: string[];
65758
+ commands: {
65759
+ cursor: string;
65760
+ claude: string;
65761
+ windsurf: string;
65762
+ };
65763
+ MCPUrl: string;
65764
+ toolkitIcons: Record<string, string>;
65765
+ serverInstanceCount: number;
65766
+ }, {
65767
+ name: string;
65768
+ id: string;
65769
+ toolkits: string[];
65770
+ authConfigIds: string[];
65771
+ allowedTools: string[];
65772
+ commands: {
65773
+ cursor: string;
65774
+ claude: string;
65775
+ windsurf: string;
65776
+ };
65777
+ MCPUrl: string;
65778
+ toolkitIcons: Record<string, string>;
65779
+ serverInstanceCount: number;
65780
+ }>, "many">;
65781
+ currentPage: z$1.ZodNumber;
65782
+ totalPages: z$1.ZodNumber;
65783
+ }, "strip", z$1.ZodTypeAny, {
65784
+ items: {
65785
+ name: string;
65786
+ id: string;
65787
+ toolkits: string[];
65788
+ authConfigIds: string[];
65789
+ allowedTools: string[];
65790
+ commands: {
65791
+ cursor: string;
65792
+ claude: string;
65793
+ windsurf: string;
65794
+ };
65795
+ MCPUrl: string;
65796
+ toolkitIcons: Record<string, string>;
65797
+ serverInstanceCount: number;
65798
+ }[];
65799
+ totalPages: number;
65800
+ currentPage: number;
65801
+ }, {
65802
+ items: {
65803
+ name: string;
65804
+ id: string;
65805
+ toolkits: string[];
65806
+ authConfigIds: string[];
65807
+ allowedTools: string[];
65808
+ commands: {
65809
+ cursor: string;
65810
+ claude: string;
65811
+ windsurf: string;
65812
+ };
65813
+ MCPUrl: string;
65814
+ toolkitIcons: Record<string, string>;
65815
+ serverInstanceCount: number;
65816
+ }[];
65817
+ totalPages: number;
65818
+ currentPage: number;
65819
+ }>;
65820
+ type MCPListResponse = z$1.infer<typeof MCPListResponseSchema>;
65821
+ declare const MCPUpdateParamsSchema: z$1.ZodObject<{
65822
+ name: z$1.ZodOptional<z$1.ZodString>;
65823
+ toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
65824
+ toolkit: z$1.ZodOptional<z$1.ZodString>;
65825
+ authConfigId: z$1.ZodOptional<z$1.ZodString>;
65826
+ }, "strip", z$1.ZodTypeAny, {
65827
+ toolkit?: string | undefined;
65828
+ authConfigId?: string | undefined;
65829
+ }, {
65830
+ toolkit?: string | undefined;
65831
+ authConfigId?: string | undefined;
65832
+ }>, z$1.ZodString]>, "many">>;
65833
+ allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
65834
+ manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
65835
+ }, "strip", z$1.ZodTypeAny, {
65836
+ name?: string | undefined;
65837
+ toolkits?: (string | {
65838
+ toolkit?: string | undefined;
65839
+ authConfigId?: string | undefined;
65840
+ })[] | undefined;
65841
+ allowedTools?: string[] | undefined;
65842
+ manuallyManageConnections?: boolean | undefined;
65843
+ }, {
65844
+ name?: string | undefined;
65845
+ toolkits?: (string | {
65846
+ toolkit?: string | undefined;
65847
+ authConfigId?: string | undefined;
65848
+ })[] | undefined;
65849
+ allowedTools?: string[] | undefined;
65850
+ manuallyManageConnections?: boolean | undefined;
65851
+ }>;
65852
+ type MCPUpdateParams = z$1.infer<typeof MCPUpdateParamsSchema>;
65853
+
65854
+ /**
65855
+ * MCP (Model Control Protocol) class
65856
+ * Handles MCP server operations.
65857
+ * When `config.experimental.mcp` is enabled, this class augments the features of `composio.mcp`.
65858
+ */
65859
+ declare class MCP$1 {
65860
+ client: Composio$1;
65861
+ constructor(client: Composio$1);
65862
+ /**
65863
+ * Create a new MCP configuration.
65864
+ * @param {Object} params - Parameters for creating the MCP configuration
65865
+ * @param {Array} params.authConfig - Array of auth configurations with id and allowed tools
65866
+ * @param {Object} params.options - Configuration options
65867
+ * @param {string} params.options.name - Unique name for the MCP configuration
65868
+ * @param {boolean} [params.options.manuallyManageConnections] - Whether to use chat-based authentication or manually connect accounts
65869
+ * @returns {Promise<McpServerCreateResponse<T>>} Created server details with instance getter
65870
+ *
65871
+ * @example
65872
+ * ```typescript
65873
+ * const server = await composio.mcpConfig.create("personal-mcp-server", {
65874
+ * toolkits: ["github", "slack"],
65875
+ * allowedTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"],
65876
+ * manuallyManageConnections: false
65877
+ * }
65878
+ * });
65879
+ *
65880
+ * const server = await composio.mcpConfig.create("personal-mcp-server", {
65881
+ * toolkits: [{ toolkit: "gmail", authConfigId: "ac_243434343" }],
65882
+ * allowedTools: ["GMAIL_FETCH_EMAILS"],
65883
+ * manuallyManageConnections: false
65884
+ * }
65885
+ * });
65886
+ * ```
65887
+ */
65888
+ create(name: string, mcpConfig: MCPConfigCreationParams): Promise<MCPConfigCreateResponse>;
65889
+ /**
65890
+ * List the MCP servers with optional filtering and pagination
65891
+ * @param {Object} options - Filtering and pagination options
65892
+ * @param {number} [options.page=1] - Page number for pagination (1-based)
65893
+ * @param {number} [options.limit=10] - Maximum number of items to return per page
65894
+ * @param {string[]} [options.toolkits=[]] - Array of toolkit names to filter by
65895
+ * @param {string[]} [options.authConfigs=[]] - Array of auth configuration IDs to filter by
65896
+ * @param {string} [options.name] - Filter by MCP server name (partial match)
65897
+ * @returns {Promise<MCPListResponse>} Paginated list of MCP servers with metadata
65898
+ *
65899
+ * @example
65900
+ * ```typescript
65901
+ * // List all MCP servers
65902
+ * const allServers = await composio.experimental.mcp.list({});
65903
+ *
65904
+ * // List with pagination
65905
+ * const pagedServers = await composio.experimental.mcp.list({
65906
+ * page: 2,
65907
+ * limit: 5
65908
+ * });
65909
+ *
65910
+ * // Filter by toolkit
65911
+ * const githubServers = await composio.experimental.mcp.list({
65912
+ * toolkits: ['github', 'slack']
65913
+ * });
65914
+ *
65915
+ * // Filter by name
65916
+ * const namedServers = await composio.experimental.mcp.list({
65917
+ * name: 'personal'
65918
+ * });
65919
+ * ```
65920
+ */
65921
+ list(options: MCPListParams): Promise<MCPListResponse>;
65922
+ /**
65923
+ * Retrieve detailed information about a specific MCP server by its ID
65924
+ * @param {string} serverId - The unique identifier of the MCP server to retrieve
65925
+ * @returns {Promise<MCPItem>} Complete MCP server details including configuration, tools, and metadata
65926
+ *
65927
+ * @example
65928
+ * ```typescript
65929
+ * // Get a specific MCP server by ID
65930
+ * const server = await composio.experimental.mcp.get("mcp_12345");
65931
+ *
65932
+ * console.log(server.name); // "My Personal MCP Server"
65933
+ * console.log(server.allowedTools); // ["GITHUB_CREATE_ISSUE", "SLACK_SEND_MESSAGE"]
65934
+ * console.log(server.toolkits); // ["github", "slack"]
65935
+ * console.log(server.serverInstanceCount); // 3
65936
+ *
65937
+ * // Access setup commands for different clients
65938
+ * console.log(server.commands.claude); // Claude setup command
65939
+ * console.log(server.commands.cursor); // Cursor setup command
65940
+ * console.log(server.commands.windsurf); // Windsurf setup command
65941
+ *
65942
+ * // Use the MCP URL for direct connections
65943
+ * const mcpUrl = server.MCPUrl;
65944
+ * ```
65945
+ *
65946
+ * @throws {ValidationError} When the server ID is invalid or server not found
65947
+ */
65948
+ get(serverId: string): Promise<MCPItem>;
65949
+ /**
65950
+ * Delete an MCP server configuration permanently
65951
+ * @param {string} serverId - The unique identifier of the MCP server to delete
65952
+ * @returns {Promise<{id: string; deleted: boolean}>} Confirmation object with server ID and deletion status
65953
+ *
65954
+ * @example
65955
+ * ```typescript
65956
+ * // Delete an MCP server by ID
65957
+ * const result = await composio.experimental.mcp.delete("mcp_12345");
65958
+ *
65959
+ * if (result.deleted) {
65960
+ * console.log(`Server ${result.id} has been successfully deleted`);
65961
+ * } else {
65962
+ * console.log(`Failed to delete server ${result.id}`);
65963
+ * }
65964
+ *
65965
+ * // Example with error handling
65966
+ * try {
65967
+ * const result = await composio.experimental.mcp.delete("mcp_12345");
65968
+ * console.log("Deletion successful:", result);
65969
+ * } catch (error) {
65970
+ * console.error("Failed to delete MCP server:", error.message);
65971
+ * }
65972
+ *
65973
+ * // Delete and verify from list
65974
+ * await composio.experimental.mcp.delete("mcp_12345");
65975
+ * const servers = await composio.experimental.mcp.list({});
65976
+ * const serverExists = servers.items.some(server => server.id === "mcp_12345");
65977
+ * console.log("Server still exists:", serverExists); // Should be false
65978
+ * ```
65979
+ *
65980
+ * @throws {ValidationError} When the server ID is invalid or server not found
65981
+ * @throws {Error} When the server cannot be deleted due to active connections or other constraints
65982
+ *
65983
+ * @warning This operation is irreversible. Once deleted, the MCP server configuration and all its associated data will be permanently removed.
65984
+ */
65985
+ delete(serverId: string): Promise<{
65986
+ id: string;
65987
+ deleted: boolean;
65988
+ }>;
65989
+ /**
65990
+ * Update an existing MCP server configuration with new settings
65991
+ * @param {string} serverId - The unique identifier of the MCP server to update
65992
+ * @param {Object} config - Update configuration parameters
65993
+ * @param {string} [config.name] - New name for the MCP server
65994
+ * @param {Array} [config.toolkits] - Updated toolkit configurations
65995
+ * @param {string} [config.toolkits[].toolkit] - Toolkit identifier (e.g., "github", "slack")
65996
+ * @param {string} [config.toolkits[].authConfigId] - Auth configuration ID for the toolkit
65997
+ * @param {string[]} [config.toolkits[].allowedTools] - Specific tools to enable for this toolkit
65998
+ * @param {boolean} [config.manuallyManageConnections] - Whether to manually manage account connections
65999
+ * @returns {Promise<MCPItem>} Updated MCP server configuration with all details
66000
+ *
66001
+ * @example
66002
+ * ```typescript
66003
+ * // Update server name only
66004
+ * const updatedServer = await composio.experimental.mcp.update("mcp_12345", {
66005
+ * name: "My Updated MCP Server"
66006
+ * });
66007
+ *
66008
+ * // Update toolkits and tools
66009
+ * const serverWithNewTools = await composio.experimental.mcp.update("mcp_12345", {
66010
+ * toolkits: [
66011
+ * {
66012
+ * toolkit: "github",
66013
+ * authConfigId: "auth_abc123",
66014
+ * allowedTools: ["GITHUB_CREATE_ISSUE", "GITHUB_LIST_REPOS"]
66015
+ * },
66016
+ * {
66017
+ * toolkit: "slack",
66018
+ * authConfigId: "auth_xyz789",
66019
+ * allowedTools: ["SLACK_SEND_MESSAGE", "SLACK_LIST_CHANNELS"]
66020
+ * }
66021
+ * ]
66022
+ * });
66023
+ *
66024
+ * // Update connection management setting
66025
+ * const serverWithManualAuth = await composio.experimental.mcp.update("mcp_12345", {
66026
+ * name: "Manual Auth Server",
66027
+ * manuallyManageConnections: true
66028
+ * });
66029
+ *
66030
+ * // Complete update example
66031
+ * const fullyUpdatedServer = await composio.experimental.mcp.update("mcp_12345", {
66032
+ * name: "Production MCP Server",
66033
+ * toolkits: [
66034
+ * {
66035
+ * toolkit: "gmail",
66036
+ * authConfigId: "auth_gmail_prod",
66037
+ * }
66038
+ * ],
66039
+ * allowedTools: ["GMAIL_SEND_EMAIL", "GMAIL_FETCH_EMAILS"]
66040
+ * manuallyManageConnections: false
66041
+ * });
66042
+ *
66043
+ * console.log("Updated server:", fullyUpdatedServer.name);
66044
+ * console.log("New tools:", fullyUpdatedServer.allowedTools);
66045
+ * ```
66046
+ *
66047
+ * @throws {ValidationError} When the update parameters are invalid or malformed
66048
+ * @throws {Error} When the server ID doesn't exist or update fails
66049
+ *
66050
+ * @note Only provided fields will be updated. Omitted fields will retain their current values.
66051
+ * @note When updating toolkits, the entire toolkit configuration is replaced, not merged.
66052
+ */
66053
+ update(serverId: string, config: MCPUpdateParams): Promise<MCPItem>;
66054
+ /**
66055
+ * Get server URLs for an existing MCP server.
66056
+ * The response is wrapped according to the provider's specifications.
66057
+ *
66058
+ * @example
66059
+ * ```typescript
66060
+ * import { Composio } from "@composio/code";
66061
+ *
66062
+ * const composio = new Composio();
66063
+ * const mcp = await composio.experimental.mcp.generate("default", "<mcp_config_id>");
66064
+ * ```
66065
+ *
66066
+ * @param userId {string} external user id from your database for whom you want the server for
66067
+ * @param mcpConfigId {string} config id of the MCPConfig for which you want to create a server for
66068
+ * @param options {object} additional options
66069
+ * @param options.isChatAuth {boolean} Authenticate the users via chat when they use the MCP Server
66070
+ */
66071
+ generate(userId: string, mcpConfigId: string, options?: MCPGetInstanceParams): Promise<MCPServerInstance>;
66072
+ }
66073
+
65191
66074
  /**
65192
66075
  * @fileoverview MCP class for Composio SDK, used to manage MCP servers.
65193
66076
  *
65194
66077
  * @module MCP
65195
66078
  */
65196
66079
 
66080
+ /**
66081
+ * Extract the MCP response type from a provider.
66082
+ */
66083
+ type ExtractMcpResponseType<T> = T extends BaseComposioProvider<unknown, unknown, infer TMcp> ? TMcp : McpServerGetResponse;
65197
66084
  /**
65198
66085
  * MCP (Model Control Protocol) class
65199
66086
  * Handles MCP server operations
65200
66087
  */
65201
- declare class MCP<T = McpServerGetResponse> {
66088
+ declare class MCP<TProvider extends BaseComposioProvider<unknown, unknown, unknown>> {
65202
66089
  private client;
65203
- private provider?;
65204
66090
  private toolkits;
65205
- constructor(client: ComposioClient, provider?: BaseComposioProvider<unknown, unknown, unknown>);
66091
+ protected provider: TProvider;
66092
+ readonly TMcpResponse: ExtractMcpResponseType<TProvider>;
66093
+ constructor(client: ComposioClient, provider: TProvider);
65206
66094
  /**
65207
66095
  * Validates toolkit configurations using Zod schema
65208
66096
  * @private
@@ -65218,7 +66106,7 @@ declare class MCP<T = McpServerGetResponse> {
65218
66106
  * @param {Object} params.options - Server creation options
65219
66107
  * @param {string} params.options.name - Unique name for the MCP server
65220
66108
  * @param {boolean} [params.options.isChatAuth] - Whether to use chat-based authentication
65221
- * @returns {Promise<McpServerCreateResponse<T>>} Created server details with instance getter
66109
+ * @returns {Promise<McpServerCreateResponse<TMcpResponse>>} Created server details with instance getter
65222
66110
  *
65223
66111
  * @example
65224
66112
  * ```typescript
@@ -65244,7 +66132,7 @@ declare class MCP<T = McpServerGetResponse> {
65244
66132
  allowedTools: string[];
65245
66133
  }>, options: {
65246
66134
  isChatAuth?: boolean;
65247
- }): Promise<McpServerCreateResponse<T>>;
66135
+ }): Promise<McpServerCreateResponse<typeof this.TMcpResponse>>;
65248
66136
  /**
65249
66137
  * Get the connection status of a user for an MCP server
65250
66138
  *
@@ -65327,7 +66215,7 @@ declare class MCP<T = McpServerGetResponse> {
65327
66215
  * @param {Object} [options] - Additional options for server configuration
65328
66216
  * @param {string[]} [options.limitTools] - Subset of tools to limit (from MCP config)
65329
66217
  * @param {boolean} [options.isChatAuth] - Whether to use chat-based authentication
65330
- * @returns {Promise<T>} Transformed server URLs in provider-specific format
66218
+ * @returns {Promise<TMcpResponse>} Transformed server URLs in provider-specific format
65331
66219
  *
65332
66220
  * @example
65333
66221
  * ```typescript
@@ -65340,11 +66228,12 @@ declare class MCP<T = McpServerGetResponse> {
65340
66228
  * isChatAuth: true
65341
66229
  * });
65342
66230
  * ```
66231
+ *
65343
66232
  */
65344
66233
  getServer(serverId: string, userId: string, options?: {
65345
66234
  limitTools?: string[];
65346
66235
  isChatAuth?: boolean;
65347
- }): Promise<T>;
66236
+ }): Promise<typeof this.TMcpResponse>;
65348
66237
  /**
65349
66238
  * List MCP server configurations with filtering options
65350
66239
  * @param {Object} options - Filtering and pagination options
@@ -65452,6 +66341,7 @@ declare class MCP<T = McpServerGetResponse> {
65452
66341
  * @param serverName - Name of the MCP server
65453
66342
 
65454
66343
  * @returns Transformed response in appropriate format
66344
+ * @deprecated
65455
66345
  */
65456
66346
  private wrapMcpServerResponse;
65457
66347
  /**
@@ -65481,7 +66371,7 @@ declare class MCP<T = McpServerGetResponse> {
65481
66371
 
65482
66372
  type OpenAiTool = OpenAI.ChatCompletionTool;
65483
66373
  type OpenAiToolCollection = Array<OpenAiTool>;
65484
- declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection, OpenAiTool> {
66374
+ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection, OpenAiTool, McpServerGetResponse> {
65485
66375
  readonly name = "openai";
65486
66376
  /**
65487
66377
  * Creates a new instance of the OpenAIProvider.
@@ -65849,6 +66739,73 @@ declare class Files {
65849
66739
  }): Promise<FileDownloadData>;
65850
66740
  }
65851
66741
 
66742
+ declare const ToolRouterConfigSchema: z$1.ZodObject<{
66743
+ toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<[z$1.ZodString, z$1.ZodObject<{
66744
+ toolkit: z$1.ZodString;
66745
+ authConfigId: z$1.ZodOptional<z$1.ZodString>;
66746
+ }, "strip", z$1.ZodTypeAny, {
66747
+ toolkit: string;
66748
+ authConfigId?: string | undefined;
66749
+ }, {
66750
+ toolkit: string;
66751
+ authConfigId?: string | undefined;
66752
+ }>]>, "many">>;
66753
+ manuallyManageConnections: z$1.ZodOptional<z$1.ZodBoolean>;
66754
+ }, "strip", z$1.ZodTypeAny, {
66755
+ toolkits?: (string | {
66756
+ toolkit: string;
66757
+ authConfigId?: string | undefined;
66758
+ })[] | undefined;
66759
+ manuallyManageConnections?: boolean | undefined;
66760
+ }, {
66761
+ toolkits?: (string | {
66762
+ toolkit: string;
66763
+ authConfigId?: string | undefined;
66764
+ })[] | undefined;
66765
+ manuallyManageConnections?: boolean | undefined;
66766
+ }>;
66767
+ type ToolRouterConfig = z$1.infer<typeof ToolRouterConfigSchema>;
66768
+ declare const ToolRouterSessionSchema: z$1.ZodObject<{
66769
+ sessionId: z$1.ZodString;
66770
+ url: z$1.ZodString;
66771
+ }, "strip", z$1.ZodTypeAny, {
66772
+ sessionId: string;
66773
+ url: string;
66774
+ }, {
66775
+ sessionId: string;
66776
+ url: string;
66777
+ }>;
66778
+ type ToolRouterSession = z$1.infer<typeof ToolRouterSessionSchema>;
66779
+
66780
+ declare class ToolRouter {
66781
+ private client;
66782
+ constructor(client: Composio$1);
66783
+ /**
66784
+ * Creates a new Session for the tool router
66785
+ *
66786
+ * @param userId {string} The user id to create the session for
66787
+ * @param routerConfig {ToolRouterConfig} The router config to use
66788
+ * @returns {Promise<ToolRouterSession>} The tool router session
66789
+ *
66790
+ * @example
66791
+ * ```typescript
66792
+ * import { Composio } form "@composio/core"
66793
+ *
66794
+ * const composio = new Composio()
66795
+ * const userId = "xxx-ooo-xxxx"
66796
+ *
66797
+ * const mcpSession = await composio.experimental.toolRouter.createSession(userId, {
66798
+ * toolkits: ["github", "hackernews", "slack"]
66799
+ * })
66800
+ *
66801
+ * // with auth configs
66802
+ * const mcpSession = await composio.experimental.toolRouter.createSession(userId, {
66803
+ * toolkits: [{ toolkit: "github", authConfingId: "ac_123455344"}]
66804
+ * ```
66805
+ */
66806
+ createSession(userId: string, routerConfig?: ToolRouterConfig): Promise<ToolRouterSession>;
66807
+ }
66808
+
65852
66809
  type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unknown> = OpenAIProvider> = {
65853
66810
  /**
65854
66811
  * The API key for the Composio API.
@@ -65902,11 +66859,16 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
65902
66859
  * @default false
65903
66860
  */
65904
66861
  disableVersionCheck?: boolean;
66862
+ /**
66863
+ * The versions of the toolkits to fetch.
66864
+ * Defaults to latest is nothing is provided.
66865
+ * Alternatively you can specify individual toolkit versions in the env `COMPOSIO_TOOLKIT_VERSION_GITHUB=20250902_00`
66866
+ * @example
66867
+ * { 'github': 'latest', 'slack': '20250902_00' }
66868
+ * 'latest'
66869
+ */
66870
+ toolkitVersions?: ToolkitVersionParam;
65905
66871
  };
65906
- /**
65907
- * Extract the MCP response type from a provider
65908
- */
65909
- type ExtractMcpResponseType<T> = T extends BaseComposioProvider<unknown, unknown, infer TMcp> ? TMcp : McpServerGetResponse;
65910
66872
  /**
65911
66873
  * This is the core class for Composio.
65912
66874
  * It is used to initialize the Composio SDK and provide a global configuration.
@@ -65916,7 +66878,7 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
65916
66878
  * The Composio API client.
65917
66879
  * @type {ComposioClient}
65918
66880
  */
65919
- private client;
66881
+ protected client: ComposioClient;
65920
66882
  /**
65921
66883
  * The configuration for the Composio SDK.
65922
66884
  * @type {ComposioConfig<TProvider>}
@@ -65932,7 +66894,19 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
65932
66894
  files: Files;
65933
66895
  authConfigs: AuthConfigs;
65934
66896
  connectedAccounts: ConnectedAccounts;
65935
- mcp: MCP<ExtractMcpResponseType<TProvider>>;
66897
+ mcp: MCP$1;
66898
+ /**
66899
+ * Experimental features
66900
+ */
66901
+ experimental: {
66902
+ toolRouter: ToolRouter;
66903
+ };
66904
+ /**
66905
+ * Deprecated features
66906
+ */
66907
+ deprecated: {
66908
+ mcp: MCP<TProvider>;
66909
+ };
65936
66910
  /**
65937
66911
  * Creates a new instance of the Composio SDK.
65938
66912
  *
@@ -65969,6 +66943,11 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
65969
66943
  * @returns {ComposioClient} The Composio API client.
65970
66944
  */
65971
66945
  getClient(): ComposioClient;
66946
+ /**
66947
+ * Get the configuration SDK is initialized with
66948
+ * @returns {ComposioConfig<TProvider>} The configuration SDK is initialized with
66949
+ */
66950
+ getConfig(): ComposioConfig<TProvider>;
65972
66951
  /**
65973
66952
  * Creates a new instance of the Composio SDK with custom request options while preserving the existing configuration.
65974
66953
  * This method is particularly useful when you need to:
@@ -66460,4 +67439,4 @@ declare class ComposioNoAPIKeyError extends ComposioError {
66460
67439
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
66461
67440
  }
66462
67441
 
66463
- export { type AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, type BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, type ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, type ConnectedAccountListParams, ConnectedAccountListParamsSchema, type ConnectedAccountListResponse, type ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, type ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, type ConnectedAccountStatus, type ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, type ConnectionData, ConnectionDataSchema, type ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, type ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, type CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, type CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomConnectionData, CustomConnectionDataSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, type CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type FileDownloadData, type FileUploadData, type GenerateURLParams, GenerateURLParamsSchema, type GenerateURLResponse, GenerateURLResponseSchema, type GenerateURLResponseValidated, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, type JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, type MCPAuthOptions, MCPAuthOptionsSchema, type MCPCreateMethodResponse, type MCPGenerateURLParams, MCPGenerateURLParamsSchema, type MCPGetServerParams, MCPGetServerParamsSchema, type MCPInstanceParams, type MCPMultiAppServer, MCPMultiAppServerSchema, type MCPServer, type MCPServerCreateResponse, MCPServerCreateResponseSchema, type MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, type MCPServerUpdateParams, MCPServerUpdateParamsSchema, type MCPSingleAppServer, MCPSingleAppServerSchema, type MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, type McpDeleteResponse, McpDeleteResponseSchema, type McpListResponse, McpListResponseSchema, type McpRetrieveResponse, McpRetrieveResponseSchema, type McpServerCreateResponse, type McpServerGetResponse, type McpServerUrlInfo, type McpToolkitConnectionStatus, type McpUpdateResponse, McpUpdateResponseSchema, type McpUrlResponse, type McpUrlResponseCamelCase, type McpUserConnectionStatus, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerEvent, type TriggerEventData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, type TriggerType, TriggerTypeSchema, type TriggersTypeListParams, TriggersTypeListParamsSchema, type TriggersTypeListResponse, TriggersTypeListResponseSchema, type TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, constants, createConnectionRequest, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
67442
+ export { type AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, type BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, type ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, type ConnectedAccountListParams, ConnectedAccountListParamsSchema, type ConnectedAccountListResponse, type ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, type ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, type ConnectedAccountStatus, type ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, type ConnectionData, ConnectionDataSchema, type ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, type ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, type CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, type CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomConnectionData, CustomConnectionDataSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, type CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type FileDownloadData, type FileUploadData, type GenerateURLParams, GenerateURLParamsSchema, type GenerateURLResponse, GenerateURLResponseSchema, type GenerateURLResponseValidated, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, type JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, type MCPAuthOptions, MCPAuthOptionsSchema, type MCPCreateMethodResponse, type MCPGenerateURLParams, MCPGenerateURLParamsSchema, type MCPGetServerParams, MCPGetServerParamsSchema, type MCPInstanceParams, type MCPMultiAppServer, MCPMultiAppServerSchema, type MCPServer, type MCPServerCreateResponse, MCPServerCreateResponseSchema, type MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, type MCPServerUpdateParams, MCPServerUpdateParamsSchema, type MCPSingleAppServer, MCPSingleAppServerSchema, type MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, type McpDeleteResponse, McpDeleteResponseSchema, type McpListResponse, McpListResponseSchema, type McpRetrieveResponse, McpRetrieveResponseSchema, type McpServerCreateResponse, type McpServerGetResponse, type McpServerUrlInfo, type McpToolkitConnectionStatus, type McpUpdateResponse, McpUpdateResponseSchema, type McpUrlResponse, type McpUrlResponseCamelCase, type McpUserConnectionStatus, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type SchemaModifierOptions, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitLatestVersion, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, type ToolkitVersion, type ToolkitVersionParam, type ToolkitVersions, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerEvent, type TriggerEventData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, type TriggerType, TriggerTypeSchema, type TriggersTypeListParams, TriggersTypeListParamsSchema, type TriggersTypeListResponse, TriggersTypeListResponseSchema, type TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, constants, createConnectionRequest, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };