@composio/client 0.1.0-alpha.67 → 0.1.0-alpha.69
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/CHANGELOG.md +24 -0
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.js +6 -6
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +6 -6
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli/cli.js +2 -2
- package/resources/cli/cli.js.map +1 -1
- package/resources/cli/cli.mjs +2 -2
- package/resources/cli/cli.mjs.map +1 -1
- package/resources/cli/realtime.js +2 -2
- package/resources/cli/realtime.js.map +1 -1
- package/resources/cli/realtime.mjs +2 -2
- package/resources/cli/realtime.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +164 -11
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +164 -11
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +16 -7
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +16 -7
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.js +2 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -2
- package/resources/files.mjs.map +1 -1
- package/resources/link.d.mts +78 -44
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +78 -44
- package/resources/link.d.ts.map +1 -1
- package/resources/link.js +1 -1
- package/resources/link.js.map +1 -1
- package/resources/link.mjs +1 -1
- package/resources/link.mjs.map +1 -1
- package/resources/logs/tools.js +2 -2
- package/resources/logs/tools.js.map +1 -1
- package/resources/logs/tools.mjs +2 -2
- package/resources/logs/tools.mjs.map +1 -1
- package/resources/logs/triggers.js +2 -2
- package/resources/logs/triggers.js.map +1 -1
- package/resources/logs/triggers.mjs +2 -2
- package/resources/logs/triggers.mjs.map +1 -1
- package/resources/mcp/custom.js +1 -1
- package/resources/mcp/custom.js.map +1 -1
- package/resources/mcp/custom.mjs +1 -1
- package/resources/mcp/custom.mjs.map +1 -1
- package/resources/mcp/generate.js +1 -1
- package/resources/mcp/generate.js.map +1 -1
- package/resources/mcp/generate.mjs +1 -1
- package/resources/mcp/generate.mjs.map +1 -1
- package/resources/mcp/mcp.js +6 -6
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +6 -6
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/migration.js +1 -1
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +1 -1
- package/resources/migration.mjs.map +1 -1
- package/resources/project/config.js +2 -2
- package/resources/project/config.js.map +1 -1
- package/resources/project/config.mjs +2 -2
- package/resources/project/config.mjs.map +1 -1
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session/files.js +4 -7
- package/resources/tool-router/session/files.js.map +1 -1
- package/resources/tool-router/session/files.mjs +4 -7
- package/resources/tool-router/session/files.mjs.map +1 -1
- package/resources/tool-router/session/index.d.mts +1 -1
- package/resources/tool-router/session/index.d.mts.map +1 -1
- package/resources/tool-router/session/index.d.ts +1 -1
- package/resources/tool-router/session/index.d.ts.map +1 -1
- package/resources/tool-router/session/index.js.map +1 -1
- package/resources/tool-router/session/index.mjs.map +1 -1
- package/resources/tool-router/session/session.d.mts +2184 -560
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +2184 -560
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/tool-router/session/session.js +65 -25
- package/resources/tool-router/session/session.js.map +1 -1
- package/resources/tool-router/session/session.mjs +65 -25
- package/resources/tool-router/session/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +2 -2
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +2 -2
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js +1 -1
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs +1 -1
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/toolkits.js +3 -3
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +3 -3
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.js +6 -6
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +6 -6
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/manage.js +2 -2
- package/resources/trigger-instances/manage.js.map +1 -1
- package/resources/trigger-instances/manage.mjs +2 -2
- package/resources/trigger-instances/manage.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +2 -2
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +2 -2
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.js +3 -3
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +3 -3
- package/resources/triggers-types.mjs.map +1 -1
- package/src/internal/types.ts +6 -8
- package/src/resources/auth-configs.ts +6 -6
- package/src/resources/cli/cli.ts +2 -2
- package/src/resources/cli/realtime.ts +2 -2
- package/src/resources/connected-accounts.ts +285 -18
- package/src/resources/files.ts +2 -2
- package/src/resources/link.ts +122 -61
- package/src/resources/logs/tools.ts +2 -2
- package/src/resources/logs/triggers.ts +2 -2
- package/src/resources/mcp/custom.ts +1 -1
- package/src/resources/mcp/generate.ts +1 -1
- package/src/resources/mcp/mcp.ts +6 -6
- package/src/resources/migration.ts +1 -1
- package/src/resources/project/config.ts +2 -2
- package/src/resources/tool-router/index.ts +6 -0
- package/src/resources/tool-router/session/files.ts +7 -7
- package/src/resources/tool-router/session/index.ts +6 -0
- package/src/resources/tool-router/session/session.ts +2605 -712
- package/src/resources/tool-router/tool-router.ts +13 -1
- package/src/resources/toolkits.ts +3 -3
- package/src/resources/tools.ts +6 -6
- package/src/resources/trigger-instances/manage.ts +2 -2
- package/src/resources/trigger-instances/trigger-instances.ts +2 -2
- package/src/resources/triggers-types.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,6 +4,10 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import * as SessionAPI from './session/session';
|
|
5
5
|
import {
|
|
6
6
|
Session,
|
|
7
|
+
SessionAttachParams,
|
|
8
|
+
SessionAttachResponse,
|
|
9
|
+
SessionConfigHistoryParams,
|
|
10
|
+
SessionConfigHistoryResponse,
|
|
7
11
|
SessionCreateParams,
|
|
8
12
|
SessionCreateResponse,
|
|
9
13
|
SessionExecuteMetaParams,
|
|
@@ -12,6 +16,8 @@ import {
|
|
|
12
16
|
SessionExecuteResponse,
|
|
13
17
|
SessionLinkParams,
|
|
14
18
|
SessionLinkResponse,
|
|
19
|
+
SessionPatchParams,
|
|
20
|
+
SessionPatchResponse,
|
|
15
21
|
SessionProxyExecuteParams,
|
|
16
22
|
SessionProxyExecuteResponse,
|
|
17
23
|
SessionRetrieveResponse,
|
|
@@ -61,7 +67,7 @@ export class ToolRouter extends APIResource {
|
|
|
61
67
|
body: ToolRouterCreateSessionParams,
|
|
62
68
|
options?: RequestOptions,
|
|
63
69
|
): APIPromise<ToolRouterCreateSessionResponse> {
|
|
64
|
-
return this._client.post('/api/v3/labs/tool_router/session', { body, ...options });
|
|
70
|
+
return this._client.post('/api/v3.1/labs/tool_router/session', { body, ...options });
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
73
|
|
|
@@ -137,17 +143,23 @@ export declare namespace ToolRouter {
|
|
|
137
143
|
Session as Session,
|
|
138
144
|
type SessionCreateResponse as SessionCreateResponse,
|
|
139
145
|
type SessionRetrieveResponse as SessionRetrieveResponse,
|
|
146
|
+
type SessionAttachResponse as SessionAttachResponse,
|
|
147
|
+
type SessionConfigHistoryResponse as SessionConfigHistoryResponse,
|
|
140
148
|
type SessionExecuteResponse as SessionExecuteResponse,
|
|
141
149
|
type SessionExecuteMetaResponse as SessionExecuteMetaResponse,
|
|
142
150
|
type SessionLinkResponse as SessionLinkResponse,
|
|
151
|
+
type SessionPatchResponse as SessionPatchResponse,
|
|
143
152
|
type SessionProxyExecuteResponse as SessionProxyExecuteResponse,
|
|
144
153
|
type SessionSearchResponse as SessionSearchResponse,
|
|
145
154
|
type SessionToolkitsResponse as SessionToolkitsResponse,
|
|
146
155
|
type SessionToolsResponse as SessionToolsResponse,
|
|
147
156
|
type SessionCreateParams as SessionCreateParams,
|
|
157
|
+
type SessionAttachParams as SessionAttachParams,
|
|
158
|
+
type SessionConfigHistoryParams as SessionConfigHistoryParams,
|
|
148
159
|
type SessionExecuteParams as SessionExecuteParams,
|
|
149
160
|
type SessionExecuteMetaParams as SessionExecuteMetaParams,
|
|
150
161
|
type SessionLinkParams as SessionLinkParams,
|
|
162
|
+
type SessionPatchParams as SessionPatchParams,
|
|
151
163
|
type SessionProxyExecuteParams as SessionProxyExecuteParams,
|
|
152
164
|
type SessionSearchParams as SessionSearchParams,
|
|
153
165
|
type SessionToolkitsParams as SessionToolkitsParams,
|
|
@@ -19,7 +19,7 @@ export class Toolkits extends APIResource {
|
|
|
19
19
|
query: ToolkitRetrieveParams | null | undefined = {},
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): APIPromise<ToolkitRetrieveResponse> {
|
|
22
|
-
return this._client.get(path`/api/v3/toolkits/${slug}`, { query, ...options });
|
|
22
|
+
return this._client.get(path`/api/v3.1/toolkits/${slug}`, { query, ...options });
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -33,7 +33,7 @@ export class Toolkits extends APIResource {
|
|
|
33
33
|
query: ToolkitListParams | null | undefined = {},
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): APIPromise<ToolkitListResponse> {
|
|
36
|
-
return this._client.get('/api/v3/toolkits', { query, ...options });
|
|
36
|
+
return this._client.get('/api/v3.1/toolkits', { query, ...options });
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -43,7 +43,7 @@ export class Toolkits extends APIResource {
|
|
|
43
43
|
* toolkits into logical groups based on their functionality or industry focus.
|
|
44
44
|
*/
|
|
45
45
|
retrieveCategories(options?: RequestOptions): APIPromise<ToolkitRetrieveCategoriesResponse> {
|
|
46
|
-
return this._client.get('/api/v3/toolkits/categories', options);
|
|
46
|
+
return this._client.get('/api/v3.1/toolkits/categories', options);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
package/src/resources/tools.ts
CHANGED
|
@@ -25,7 +25,7 @@ export class Tools extends APIResource {
|
|
|
25
25
|
query: ToolRetrieveParams | null | undefined = {},
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): APIPromise<ToolRetrieveResponse> {
|
|
28
|
-
return this._client.get(path`/api/v3/tools/${toolSlug}`, { query, ...options });
|
|
28
|
+
return this._client.get(path`/api/v3.1/tools/${toolSlug}`, { query, ...options });
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -42,7 +42,7 @@ export class Tools extends APIResource {
|
|
|
42
42
|
query: ToolListParams | null | undefined = {},
|
|
43
43
|
options?: RequestOptions,
|
|
44
44
|
): APIPromise<ToolListResponse> {
|
|
45
|
-
return this._client.get('/api/v3/tools', { query, ...options });
|
|
45
|
+
return this._client.get('/api/v3.1/tools', { query, ...options });
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -62,7 +62,7 @@ export class Tools extends APIResource {
|
|
|
62
62
|
options?: RequestOptions,
|
|
63
63
|
): APIPromise<ToolExecuteResponse> {
|
|
64
64
|
const { 'x-llm-gateway-headers': xLlmGatewayHeaders, ...body } = params ?? {};
|
|
65
|
-
return this._client.post(path`/api/v3/tools/execute/${toolSlug}`, {
|
|
65
|
+
return this._client.post(path`/api/v3.1/tools/execute/${toolSlug}`, {
|
|
66
66
|
body,
|
|
67
67
|
...options,
|
|
68
68
|
headers: buildHeaders([
|
|
@@ -90,7 +90,7 @@ export class Tools extends APIResource {
|
|
|
90
90
|
body: ToolGetInputParams,
|
|
91
91
|
options?: RequestOptions,
|
|
92
92
|
): APIPromise<ToolGetInputResponse> {
|
|
93
|
-
return this._client.post(path`/api/v3/tools/execute/${toolSlug}/input`, { body, ...options });
|
|
93
|
+
return this._client.post(path`/api/v3.1/tools/execute/${toolSlug}/input`, { body, ...options });
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -107,7 +107,7 @@ export class Tools extends APIResource {
|
|
|
107
107
|
* ```
|
|
108
108
|
*/
|
|
109
109
|
proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse> {
|
|
110
|
-
return this._client.post('/api/v3/tools/execute/proxy', { body, ...options });
|
|
110
|
+
return this._client.post('/api/v3.1/tools/execute/proxy', { body, ...options });
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/**
|
|
@@ -121,7 +121,7 @@ export class Tools extends APIResource {
|
|
|
121
121
|
* ```
|
|
122
122
|
*/
|
|
123
123
|
retrieveEnum(options?: RequestOptions): APIPromise<ToolRetrieveEnumResponse> {
|
|
124
|
-
return this._client.get('/api/v3/tools/enum', options);
|
|
124
|
+
return this._client.get('/api/v3.1/tools/enum', options);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -28,7 +28,7 @@ export class Manage extends APIResource {
|
|
|
28
28
|
body: ManageUpdateParams,
|
|
29
29
|
options?: RequestOptions,
|
|
30
30
|
): APIPromise<ManageUpdateResponse> {
|
|
31
|
-
return this._client.patch(path`/api/v3/trigger_instances/manage/${triggerID}`, { body, ...options });
|
|
31
|
+
return this._client.patch(path`/api/v3.1/trigger_instances/manage/${triggerID}`, { body, ...options });
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -44,7 +44,7 @@ export class Manage extends APIResource {
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
delete(triggerID: string, options?: RequestOptions): APIPromise<ManageDeleteResponse> {
|
|
47
|
-
return this._client.delete(path`/api/v3/trigger_instances/manage/${triggerID}`, options);
|
|
47
|
+
return this._client.delete(path`/api/v3.1/trigger_instances/manage/${triggerID}`, options);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -28,7 +28,7 @@ export class TriggerInstances extends APIResource {
|
|
|
28
28
|
query: TriggerInstanceListActiveParams | null | undefined = {},
|
|
29
29
|
options?: RequestOptions,
|
|
30
30
|
): APIPromise<TriggerInstanceListActiveResponse> {
|
|
31
|
-
return this._client.get('/api/v3/trigger_instances/active', { query, ...options });
|
|
31
|
+
return this._client.get('/api/v3.1/trigger_instances/active', { query, ...options });
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -50,7 +50,7 @@ export class TriggerInstances extends APIResource {
|
|
|
50
50
|
body: TriggerInstanceUpsertParams | null | undefined = {},
|
|
51
51
|
options?: RequestOptions,
|
|
52
52
|
): APIPromise<TriggerInstanceUpsertResponse> {
|
|
53
|
-
return this._client.post(path`/api/v3/trigger_instances/${slug}/upsert`, { body, ...options });
|
|
53
|
+
return this._client.post(path`/api/v3.1/trigger_instances/${slug}/upsert`, { body, ...options });
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -18,7 +18,7 @@ export class TriggersTypes extends APIResource {
|
|
|
18
18
|
query: TriggersTypeRetrieveParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): APIPromise<TriggersTypeRetrieveResponse> {
|
|
21
|
-
return this._client.get(path`/api/v3/triggers_types/${slug}`, { query, ...options });
|
|
21
|
+
return this._client.get(path`/api/v3.1/triggers_types/${slug}`, { query, ...options });
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -29,7 +29,7 @@ export class TriggersTypes extends APIResource {
|
|
|
29
29
|
query: TriggersTypeListParams | null | undefined = {},
|
|
30
30
|
options?: RequestOptions,
|
|
31
31
|
): APIPromise<TriggersTypeListResponse> {
|
|
32
|
-
return this._client.get('/api/v3/triggers_types', { query, ...options });
|
|
32
|
+
return this._client.get('/api/v3.1/triggers_types', { query, ...options });
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -37,7 +37,7 @@ export class TriggersTypes extends APIResource {
|
|
|
37
37
|
* across the API from latest versions of the toolkit only
|
|
38
38
|
*/
|
|
39
39
|
retrieveEnum(options?: RequestOptions): APIPromise<TriggersTypeRetrieveEnumResponse> {
|
|
40
|
-
return this._client.get('/api/v3/triggers_types/list/enum', options);
|
|
40
|
+
return this._client.get('/api/v3.1/triggers_types/list/enum', options);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.69'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.69";
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.69";
|
|
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.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.69'; // 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.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.69'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|