@composio/client 0.1.0-alpha.47 → 0.1.0-alpha.48

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/auth-configs.d.mts +58 -55
  10. package/resources/auth-configs.d.mts.map +1 -1
  11. package/resources/auth-configs.d.ts +58 -55
  12. package/resources/auth-configs.d.ts.map +1 -1
  13. package/resources/connected-accounts.d.mts +8 -0
  14. package/resources/connected-accounts.d.mts.map +1 -1
  15. package/resources/connected-accounts.d.ts +8 -0
  16. package/resources/connected-accounts.d.ts.map +1 -1
  17. package/resources/index.d.mts +1 -1
  18. package/resources/index.d.mts.map +1 -1
  19. package/resources/index.d.ts +1 -1
  20. package/resources/index.d.ts.map +1 -1
  21. package/resources/index.js.map +1 -1
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/mcp/mcp.d.mts +45 -40
  24. package/resources/mcp/mcp.d.mts.map +1 -1
  25. package/resources/mcp/mcp.d.ts +45 -40
  26. package/resources/mcp/mcp.d.ts.map +1 -1
  27. package/resources/mcp/mcp.js.map +1 -1
  28. package/resources/mcp/mcp.mjs.map +1 -1
  29. package/resources/tool-router/session.d.mts +118 -226
  30. package/resources/tool-router/session.d.mts.map +1 -1
  31. package/resources/tool-router/session.d.ts +118 -226
  32. package/resources/tool-router/session.d.ts.map +1 -1
  33. package/resources/tool-router/session.js +2 -11
  34. package/resources/tool-router/session.js.map +1 -1
  35. package/resources/tool-router/session.mjs +2 -11
  36. package/resources/tool-router/session.mjs.map +1 -1
  37. package/resources/tool-router/tool-router.d.mts +4 -4
  38. package/resources/tool-router/tool-router.d.ts +4 -4
  39. package/resources/tool-router/tool-router.js +4 -4
  40. package/resources/tool-router/tool-router.mjs +4 -4
  41. package/resources/toolkits.d.mts +4 -10
  42. package/resources/toolkits.d.mts.map +1 -1
  43. package/resources/toolkits.d.ts +4 -10
  44. package/resources/toolkits.d.ts.map +1 -1
  45. package/resources/toolkits.js +2 -2
  46. package/resources/toolkits.js.map +1 -1
  47. package/resources/toolkits.mjs +2 -2
  48. package/resources/toolkits.mjs.map +1 -1
  49. package/resources/trigger-instances/trigger-instances.d.mts +7 -6
  50. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  51. package/resources/trigger-instances/trigger-instances.d.ts +7 -6
  52. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  53. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  54. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  55. package/src/client.ts +0 -2
  56. package/src/resources/auth-configs.ts +64 -61
  57. package/src/resources/connected-accounts.ts +8 -0
  58. package/src/resources/index.ts +0 -1
  59. package/src/resources/mcp/mcp.ts +45 -40
  60. package/src/resources/tool-router/session.ts +120 -248
  61. package/src/resources/tool-router/tool-router.ts +4 -4
  62. package/src/resources/toolkits.ts +4 -15
  63. package/src/resources/trigger-instances/trigger-instances.ts +7 -6
  64. package/src/version.ts +1 -1
  65. package/version.d.mts +1 -1
  66. package/version.d.ts +1 -1
  67. package/version.js +1 -1
  68. package/version.mjs +1 -1
@@ -142,8 +142,8 @@ export interface McpCreateResponse {
142
142
  auth_config_ids: Array<string>;
143
143
 
144
144
  /**
145
- * Set of command line instructions for connecting various clients to this MCP
146
- * server
145
+ * @deprecated Set of command line instructions for connecting various clients to
146
+ * this MCP server
147
147
  */
148
148
  commands: McpCreateResponse.Commands;
149
149
 
@@ -158,7 +158,8 @@ export interface McpCreateResponse {
158
158
  managed_auth_via_composio: boolean;
159
159
 
160
160
  /**
161
- * URL endpoint for establishing SSE connection to this MCP server
161
+ * @deprecated [DEPRECATED] Please use the URL with user_id or connected_account_id
162
+ * query param
162
163
  */
163
164
  mcp_url: string;
164
165
 
@@ -190,22 +191,22 @@ export interface McpCreateResponse {
190
191
 
191
192
  export namespace McpCreateResponse {
192
193
  /**
193
- * Set of command line instructions for connecting various clients to this MCP
194
- * server
194
+ * @deprecated Set of command line instructions for connecting various clients to
195
+ * this MCP server
195
196
  */
196
197
  export interface Commands {
197
198
  /**
198
- * Command line instruction for Claude client setup
199
+ * @deprecated Command line instruction for Claude client setup
199
200
  */
200
201
  claude: string;
201
202
 
202
203
  /**
203
- * Command line instruction for Cursor client setup
204
+ * @deprecated Command line instruction for Cursor client setup
204
205
  */
205
206
  cursor: string;
206
207
 
207
208
  /**
208
- * Command line instruction for Windsurf client setup
209
+ * @deprecated Command line instruction for Windsurf client setup
209
210
  */
210
211
  windsurf: string;
211
212
  }
@@ -231,8 +232,8 @@ export interface McpRetrieveResponse {
231
232
  auth_config_ids: Array<string>;
232
233
 
233
234
  /**
234
- * Set of command line instructions for connecting various clients to this MCP
235
- * server
235
+ * @deprecated Set of command line instructions for connecting various clients to
236
+ * this MCP server
236
237
  */
237
238
  commands: McpRetrieveResponse.Commands;
238
239
 
@@ -252,7 +253,8 @@ export interface McpRetrieveResponse {
252
253
  managed_auth_via_composio: boolean;
253
254
 
254
255
  /**
255
- * URL endpoint for establishing SSE connection to this MCP server
256
+ * @deprecated [DEPRECATED] Please use the URL with user_id or connected_account_id
257
+ * query param
256
258
  */
257
259
  mcp_url: string;
258
260
 
@@ -284,22 +286,22 @@ export interface McpRetrieveResponse {
284
286
 
285
287
  export namespace McpRetrieveResponse {
286
288
  /**
287
- * Set of command line instructions for connecting various clients to this MCP
288
- * server
289
+ * @deprecated Set of command line instructions for connecting various clients to
290
+ * this MCP server
289
291
  */
290
292
  export interface Commands {
291
293
  /**
292
- * Command line instruction for Claude client setup
294
+ * @deprecated Command line instruction for Claude client setup
293
295
  */
294
296
  claude: string;
295
297
 
296
298
  /**
297
- * Command line instruction for Cursor client setup
299
+ * @deprecated Command line instruction for Cursor client setup
298
300
  */
299
301
  cursor: string;
300
302
 
301
303
  /**
302
- * Command line instruction for Windsurf client setup
304
+ * @deprecated Command line instruction for Windsurf client setup
303
305
  */
304
306
  windsurf: string;
305
307
  }
@@ -325,8 +327,8 @@ export interface McpUpdateResponse {
325
327
  auth_config_ids: Array<string>;
326
328
 
327
329
  /**
328
- * Set of command line instructions for connecting various clients to this MCP
329
- * server
330
+ * @deprecated Set of command line instructions for connecting various clients to
331
+ * this MCP server
330
332
  */
331
333
  commands: McpUpdateResponse.Commands;
332
334
 
@@ -346,7 +348,8 @@ export interface McpUpdateResponse {
346
348
  managed_auth_via_composio: boolean;
347
349
 
348
350
  /**
349
- * URL endpoint for establishing SSE connection to this MCP server
351
+ * @deprecated [DEPRECATED] Please use the URL with user_id or connected_account_id
352
+ * query param
350
353
  */
351
354
  mcp_url: string;
352
355
 
@@ -378,22 +381,22 @@ export interface McpUpdateResponse {
378
381
 
379
382
  export namespace McpUpdateResponse {
380
383
  /**
381
- * Set of command line instructions for connecting various clients to this MCP
382
- * server
384
+ * @deprecated Set of command line instructions for connecting various clients to
385
+ * this MCP server
383
386
  */
384
387
  export interface Commands {
385
388
  /**
386
- * Command line instruction for Claude client setup
389
+ * @deprecated Command line instruction for Claude client setup
387
390
  */
388
391
  claude: string;
389
392
 
390
393
  /**
391
- * Command line instruction for Cursor client setup
394
+ * @deprecated Command line instruction for Cursor client setup
392
395
  */
393
396
  cursor: string;
394
397
 
395
398
  /**
396
- * Command line instruction for Windsurf client setup
399
+ * @deprecated Command line instruction for Windsurf client setup
397
400
  */
398
401
  windsurf: string;
399
402
  }
@@ -440,8 +443,8 @@ export namespace McpListResponse {
440
443
  auth_config_ids: Array<string>;
441
444
 
442
445
  /**
443
- * Set of command line instructions for connecting various clients to this MCP
444
- * server
446
+ * @deprecated Set of command line instructions for connecting various clients to
447
+ * this MCP server
445
448
  */
446
449
  commands: Item.Commands;
447
450
 
@@ -456,7 +459,8 @@ export namespace McpListResponse {
456
459
  managed_auth_via_composio: boolean;
457
460
 
458
461
  /**
459
- * URL endpoint for establishing SSE connection to this MCP server
462
+ * @deprecated [DEPRECATED] Please use the URL with user_id or connected_account_id
463
+ * query param
460
464
  */
461
465
  mcp_url: string;
462
466
 
@@ -488,22 +492,22 @@ export namespace McpListResponse {
488
492
 
489
493
  export namespace Item {
490
494
  /**
491
- * Set of command line instructions for connecting various clients to this MCP
492
- * server
495
+ * @deprecated Set of command line instructions for connecting various clients to
496
+ * this MCP server
493
497
  */
494
498
  export interface Commands {
495
499
  /**
496
- * Command line instruction for Claude client setup
500
+ * @deprecated Command line instruction for Claude client setup
497
501
  */
498
502
  claude: string;
499
503
 
500
504
  /**
501
- * Command line instruction for Cursor client setup
505
+ * @deprecated Command line instruction for Cursor client setup
502
506
  */
503
507
  cursor: string;
504
508
 
505
509
  /**
506
- * Command line instruction for Windsurf client setup
510
+ * @deprecated Command line instruction for Windsurf client setup
507
511
  */
508
512
  windsurf: string;
509
513
  }
@@ -566,8 +570,8 @@ export namespace McpRetrieveAppResponse {
566
570
  auth_config_ids: Array<string>;
567
571
 
568
572
  /**
569
- * Set of command line instructions for connecting various clients to this MCP
570
- * server
573
+ * @deprecated Set of command line instructions for connecting various clients to
574
+ * this MCP server
571
575
  */
572
576
  commands: Item.Commands;
573
577
 
@@ -582,7 +586,8 @@ export namespace McpRetrieveAppResponse {
582
586
  managed_auth_via_composio: boolean;
583
587
 
584
588
  /**
585
- * URL endpoint for establishing SSE connection to this MCP server
589
+ * @deprecated [DEPRECATED] Please use the URL with user_id or connected_account_id
590
+ * query param
586
591
  */
587
592
  mcp_url: string;
588
593
 
@@ -614,22 +619,22 @@ export namespace McpRetrieveAppResponse {
614
619
 
615
620
  export namespace Item {
616
621
  /**
617
- * Set of command line instructions for connecting various clients to this MCP
618
- * server
622
+ * @deprecated Set of command line instructions for connecting various clients to
623
+ * this MCP server
619
624
  */
620
625
  export interface Commands {
621
626
  /**
622
- * Command line instruction for Claude client setup
627
+ * @deprecated Command line instruction for Claude client setup
623
628
  */
624
629
  claude: string;
625
630
 
626
631
  /**
627
- * Command line instruction for Cursor client setup
632
+ * @deprecated Command line instruction for Cursor client setup
628
633
  */
629
634
  cursor: string;
630
635
 
631
636
  /**
632
- * Command line instruction for Windsurf client setup
637
+ * @deprecated Command line instruction for Windsurf client setup
633
638
  */
634
639
  windsurf: string;
635
640
  }