@composio/client 0.1.0-alpha.61 → 0.1.0-alpha.62

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 (69) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +12 -1
  3. package/resources/auth-configs.d.mts +16 -0
  4. package/resources/auth-configs.d.mts.map +1 -1
  5. package/resources/auth-configs.d.ts +16 -0
  6. package/resources/auth-configs.d.ts.map +1 -1
  7. package/resources/connected-accounts.d.mts +890 -174
  8. package/resources/connected-accounts.d.mts.map +1 -1
  9. package/resources/connected-accounts.d.ts +890 -174
  10. package/resources/connected-accounts.d.ts.map +1 -1
  11. package/resources/link.d.mts +168 -1
  12. package/resources/link.d.mts.map +1 -1
  13. package/resources/link.d.ts +168 -1
  14. package/resources/link.d.ts.map +1 -1
  15. package/resources/tool-router/index.d.mts +1 -1
  16. package/resources/tool-router/index.d.mts.map +1 -1
  17. package/resources/tool-router/index.d.ts +1 -1
  18. package/resources/tool-router/index.d.ts.map +1 -1
  19. package/resources/tool-router/index.js.map +1 -1
  20. package/resources/tool-router/index.mjs.map +1 -1
  21. package/resources/tool-router/session/index.d.mts +1 -1
  22. package/resources/tool-router/session/index.d.mts.map +1 -1
  23. package/resources/tool-router/session/index.d.ts +1 -1
  24. package/resources/tool-router/session/index.d.ts.map +1 -1
  25. package/resources/tool-router/session/index.js.map +1 -1
  26. package/resources/tool-router/session/index.mjs.map +1 -1
  27. package/resources/tool-router/session/session.d.mts +793 -4
  28. package/resources/tool-router/session/session.d.mts.map +1 -1
  29. package/resources/tool-router/session/session.d.ts +793 -4
  30. package/resources/tool-router/session/session.d.ts.map +1 -1
  31. package/resources/tool-router/session/session.js +28 -0
  32. package/resources/tool-router/session/session.js.map +1 -1
  33. package/resources/tool-router/session/session.mjs +28 -0
  34. package/resources/tool-router/session/session.mjs.map +1 -1
  35. package/resources/tool-router/tool-router.d.mts +2 -2
  36. package/resources/tool-router/tool-router.d.mts.map +1 -1
  37. package/resources/tool-router/tool-router.d.ts +2 -2
  38. package/resources/tool-router/tool-router.d.ts.map +1 -1
  39. package/resources/tool-router/tool-router.js.map +1 -1
  40. package/resources/tool-router/tool-router.mjs.map +1 -1
  41. package/resources/toolkits.d.mts +13 -0
  42. package/resources/toolkits.d.mts.map +1 -1
  43. package/resources/toolkits.d.ts +13 -0
  44. package/resources/toolkits.d.ts.map +1 -1
  45. package/resources/tools.d.mts +80 -2
  46. package/resources/tools.d.mts.map +1 -1
  47. package/resources/tools.d.ts +80 -2
  48. package/resources/tools.d.ts.map +1 -1
  49. package/resources/trigger-instances/trigger-instances.d.mts +4 -0
  50. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  51. package/resources/trigger-instances/trigger-instances.d.ts +4 -0
  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/resources/auth-configs.ts +20 -0
  56. package/src/resources/connected-accounts.ts +3140 -1744
  57. package/src/resources/link.ts +329 -1
  58. package/src/resources/tool-router/index.ts +2 -0
  59. package/src/resources/tool-router/session/index.ts +2 -0
  60. package/src/resources/tool-router/session/session.ts +1207 -3
  61. package/src/resources/tool-router/tool-router.ts +4 -0
  62. package/src/resources/toolkits.ts +16 -0
  63. package/src/resources/tools.ts +148 -2
  64. package/src/resources/trigger-instances/trigger-instances.ts +5 -0
  65. package/src/version.ts +1 -1
  66. package/version.d.mts +1 -1
  67. package/version.d.ts +1 -1
  68. package/version.js +1 -1
  69. package/version.mjs +1 -1
@@ -12,6 +12,8 @@ import {
12
12
  SessionExecuteResponse,
13
13
  SessionLinkParams,
14
14
  SessionLinkResponse,
15
+ SessionProxyExecuteParams,
16
+ SessionProxyExecuteResponse,
15
17
  SessionRetrieveResponse,
16
18
  SessionSearchParams,
17
19
  SessionSearchResponse,
@@ -138,6 +140,7 @@ export declare namespace ToolRouter {
138
140
  type SessionExecuteResponse as SessionExecuteResponse,
139
141
  type SessionExecuteMetaResponse as SessionExecuteMetaResponse,
140
142
  type SessionLinkResponse as SessionLinkResponse,
143
+ type SessionProxyExecuteResponse as SessionProxyExecuteResponse,
141
144
  type SessionSearchResponse as SessionSearchResponse,
142
145
  type SessionToolkitsResponse as SessionToolkitsResponse,
143
146
  type SessionToolsResponse as SessionToolsResponse,
@@ -145,6 +148,7 @@ export declare namespace ToolRouter {
145
148
  type SessionExecuteParams as SessionExecuteParams,
146
149
  type SessionExecuteMetaParams as SessionExecuteMetaParams,
147
150
  type SessionLinkParams as SessionLinkParams,
151
+ type SessionProxyExecuteParams as SessionProxyExecuteParams,
148
152
  type SessionSearchParams as SessionSearchParams,
149
153
  type SessionToolkitsParams as SessionToolkitsParams,
150
154
  type SessionToolsParams as SessionToolsParams,
@@ -86,6 +86,11 @@ export interface ToolkitRetrieveResponse {
86
86
  */
87
87
  auth_config_details?: Array<ToolkitRetrieveResponse.AuthConfigDetail>;
88
88
 
89
+ /**
90
+ * URL to a guide page with authentication setup instructions for this toolkit
91
+ */
92
+ auth_guide_url?: string | null;
93
+
89
94
  /**
90
95
  * If evaluation of base URL needs some connection info (like shopify), please
91
96
  * create the connection and get the base URL from there
@@ -206,6 +211,12 @@ export namespace ToolkitRetrieveResponse {
206
211
  */
207
212
  name: string;
208
213
 
214
+ /**
215
+ * URL to a page where users can obtain or configure credentials for this
216
+ * authentication method
217
+ */
218
+ auth_hint_url?: string | null;
219
+
209
220
  /**
210
221
  * @deprecated Authentication URL fields for OAuth 2.0 and OAuth 1.0. We don't
211
222
  * recommend using this field for authentication and might break post Aug 31 2025.
@@ -390,6 +401,11 @@ export namespace ToolkitListResponse {
390
401
  */
391
402
  slug: string;
392
403
 
404
+ /**
405
+ * URL to a guide page with authentication setup instructions for this toolkit
406
+ */
407
+ auth_guide_url?: string | null;
408
+
393
409
  /**
394
410
  * List of authentication methods supported by this toolkit
395
411
  */
@@ -589,7 +589,8 @@ export interface ToolExecuteParams {
589
589
  | ToolExecuteParams.UnionMember6
590
590
  | ToolExecuteParams.UnionMember7
591
591
  | ToolExecuteParams.UnionMember8
592
- | ToolExecuteParams.UnionMember9;
592
+ | ToolExecuteParams.UnionMember9
593
+ | ToolExecuteParams.UnionMember10;
593
594
 
594
595
  /**
595
596
  * @deprecated Body param: Deprecated: please use user_id instead. Entity
@@ -1356,6 +1357,78 @@ export namespace ToolExecuteParams {
1356
1357
  [k: string]: unknown;
1357
1358
  }
1358
1359
  }
1360
+
1361
+ export interface UnionMember10 {
1362
+ authScheme: 'S2S_OAUTH2';
1363
+
1364
+ toolkitSlug: string;
1365
+
1366
+ val: UnionMember10.Val;
1367
+ }
1368
+
1369
+ export namespace UnionMember10 {
1370
+ export interface Val {
1371
+ access_token: string;
1372
+
1373
+ client_id: string;
1374
+
1375
+ client_secret: string;
1376
+
1377
+ account_id?: string;
1378
+
1379
+ account_url?: string;
1380
+
1381
+ api_url?: string;
1382
+
1383
+ base_url?: string;
1384
+
1385
+ borneo_dashboard_url?: string;
1386
+
1387
+ COMPANYDOMAIN?: string;
1388
+
1389
+ dc?: string;
1390
+
1391
+ domain?: string;
1392
+
1393
+ expires_at?: string;
1394
+
1395
+ expires_in?: number | string | null;
1396
+
1397
+ extension?: string;
1398
+
1399
+ form_api_base_url?: string;
1400
+
1401
+ instanceEndpoint?: string;
1402
+
1403
+ instanceName?: string;
1404
+
1405
+ proxy_password?: string;
1406
+
1407
+ proxy_username?: string;
1408
+
1409
+ region?: string;
1410
+
1411
+ scope?: string | Array<string> | null;
1412
+
1413
+ server_location?: string;
1414
+
1415
+ shop?: string;
1416
+
1417
+ site_name?: string;
1418
+
1419
+ subdomain?: string;
1420
+
1421
+ token_type?: string;
1422
+
1423
+ version?: string;
1424
+
1425
+ your_server?: string;
1426
+
1427
+ 'your-domain'?: string;
1428
+
1429
+ [k: string]: unknown;
1430
+ }
1431
+ }
1359
1432
  }
1360
1433
 
1361
1434
  export interface ToolGetInputParams {
@@ -1426,7 +1499,8 @@ export interface ToolProxyParams {
1426
1499
  | ToolProxyParams.UnionMember6
1427
1500
  | ToolProxyParams.UnionMember7
1428
1501
  | ToolProxyParams.UnionMember8
1429
- | ToolProxyParams.UnionMember9;
1502
+ | ToolProxyParams.UnionMember9
1503
+ | ToolProxyParams.UnionMember10;
1430
1504
 
1431
1505
  /**
1432
1506
  * Additional HTTP headers or query parameters to include in the request
@@ -2153,6 +2227,78 @@ export namespace ToolProxyParams {
2153
2227
  }
2154
2228
  }
2155
2229
 
2230
+ export interface UnionMember10 {
2231
+ authScheme: 'S2S_OAUTH2';
2232
+
2233
+ toolkitSlug: string;
2234
+
2235
+ val: UnionMember10.Val;
2236
+ }
2237
+
2238
+ export namespace UnionMember10 {
2239
+ export interface Val {
2240
+ access_token: string;
2241
+
2242
+ client_id: string;
2243
+
2244
+ client_secret: string;
2245
+
2246
+ account_id?: string;
2247
+
2248
+ account_url?: string;
2249
+
2250
+ api_url?: string;
2251
+
2252
+ base_url?: string;
2253
+
2254
+ borneo_dashboard_url?: string;
2255
+
2256
+ COMPANYDOMAIN?: string;
2257
+
2258
+ dc?: string;
2259
+
2260
+ domain?: string;
2261
+
2262
+ expires_at?: string;
2263
+
2264
+ expires_in?: number | string | null;
2265
+
2266
+ extension?: string;
2267
+
2268
+ form_api_base_url?: string;
2269
+
2270
+ instanceEndpoint?: string;
2271
+
2272
+ instanceName?: string;
2273
+
2274
+ proxy_password?: string;
2275
+
2276
+ proxy_username?: string;
2277
+
2278
+ region?: string;
2279
+
2280
+ scope?: string | Array<string> | null;
2281
+
2282
+ server_location?: string;
2283
+
2284
+ shop?: string;
2285
+
2286
+ site_name?: string;
2287
+
2288
+ subdomain?: string;
2289
+
2290
+ token_type?: string;
2291
+
2292
+ version?: string;
2293
+
2294
+ your_server?: string;
2295
+
2296
+ 'your-domain'?: string;
2297
+
2298
+ [k: string]: unknown;
2299
+ }
2300
+ }
2301
+
2156
2302
  export interface Parameter {
2157
2303
  /**
2158
2304
  * Parameter name
@@ -143,6 +143,11 @@ export namespace TriggerInstanceListActiveResponse {
143
143
  */
144
144
  user_id: string;
145
145
 
146
+ /**
147
+ * Version of the trigger instance
148
+ */
149
+ version: string;
150
+
146
151
  /**
147
152
  * Deprecated fields for the trigger instance
148
153
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.61'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.62'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.61";
1
+ export declare const VERSION = "0.1.0-alpha.62";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.61";
1
+ export declare const VERSION = "0.1.0-alpha.62";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.61'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.62'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.61'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.62'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map