@composio/client 0.1.0-alpha.10 → 0.1.0-alpha.12
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 +36 -0
- package/README.md +7 -7
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +168 -29
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +168 -29
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +50 -4
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +50 -4
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +80 -17
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +80 -17
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +56 -4
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +56 -4
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +72 -23
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +72 -23
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +20 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +20 -2
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/custom.d.mts +87 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +87 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +26 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +22 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/index.d.mts +2 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +2 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +3 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +322 -217
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +322 -217
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +72 -25
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +72 -25
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/migration.d.mts +11 -2
- package/resources/migration.d.mts.map +1 -1
- package/resources/migration.d.ts +11 -2
- package/resources/migration.d.ts.map +1 -1
- package/resources/migration.js +3 -1
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +3 -1
- package/resources/migration.mjs.map +1 -1
- package/resources/org/api-key.d.mts +23 -2
- package/resources/org/api-key.d.mts.map +1 -1
- package/resources/org/api-key.d.ts +23 -2
- package/resources/org/api-key.d.ts.map +1 -1
- package/resources/org/api-key.js +15 -2
- package/resources/org/api-key.js.map +1 -1
- package/resources/org/api-key.mjs +15 -2
- package/resources/org/api-key.mjs.map +1 -1
- package/resources/org/project/api-keys.d.mts +114 -22
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +114 -22
- package/resources/org/project/api-keys.d.ts.map +1 -1
- package/resources/org/project/api-keys.js +57 -0
- package/resources/org/project/api-keys.js.map +1 -1
- package/resources/org/project/api-keys.mjs +57 -0
- package/resources/org/project/api-keys.mjs.map +1 -1
- package/resources/org/project/project.d.mts +176 -4
- package/resources/org/project/project.d.mts.map +1 -1
- package/resources/org/project/project.d.ts +176 -4
- package/resources/org/project/project.d.ts.map +1 -1
- package/resources/org/project/project.js +46 -3
- package/resources/org/project/project.js.map +1 -1
- package/resources/org/project/project.mjs +46 -3
- package/resources/org/project/project.mjs.map +1 -1
- package/resources/org/project/trigger.d.mts +101 -1
- package/resources/org/project/trigger.d.mts.map +1 -1
- package/resources/org/project/trigger.d.ts +101 -1
- package/resources/org/project/trigger.d.ts.map +1 -1
- package/resources/org/project/trigger.js +21 -0
- package/resources/org/project/trigger.js.map +1 -1
- package/resources/org/project/trigger.mjs +21 -0
- package/resources/org/project/trigger.mjs.map +1 -1
- package/resources/org/project/webhook.d.mts +86 -15
- package/resources/org/project/webhook.d.mts.map +1 -1
- package/resources/org/project/webhook.d.ts +86 -15
- package/resources/org/project/webhook.d.ts.map +1 -1
- package/resources/org/project/webhook.js +49 -2
- package/resources/org/project/webhook.js.map +1 -1
- package/resources/org/project/webhook.mjs +49 -2
- package/resources/org/project/webhook.mjs.map +1 -1
- package/resources/team-members.d.mts +7 -7
- package/resources/team-members.d.mts.map +1 -1
- package/resources/team-members.d.ts +7 -7
- package/resources/team-members.d.ts.map +1 -1
- package/resources/toolkits.d.mts +195 -7
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +195 -7
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +14 -6
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +14 -6
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +211 -44
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +211 -44
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +62 -9
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +62 -9
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +1 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +1 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +86 -19
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +86 -19
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +6 -6
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +6 -6
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.d.mts +96 -2
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +96 -2
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +23 -1
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +23 -1
- package/resources/triggers-types.mjs.map +1 -1
- package/src/client.ts +6 -6
- package/src/resources/auth-configs.ts +169 -29
- package/src/resources/connected-accounts.ts +80 -17
- package/src/resources/files.ts +75 -23
- package/src/resources/index.ts +3 -3
- package/src/resources/mcp/custom.ts +103 -0
- package/src/resources/mcp/index.ts +2 -3
- package/src/resources/mcp/mcp.ts +342 -256
- package/src/resources/migration.ts +11 -2
- package/src/resources/org/api-key.ts +23 -2
- package/src/resources/org/project/api-keys.ts +117 -22
- package/src/resources/org/project/project.ts +176 -4
- package/src/resources/org/project/trigger.ts +101 -1
- package/src/resources/org/project/webhook.ts +86 -15
- package/src/resources/team-members.ts +7 -7
- package/src/resources/toolkits.ts +200 -7
- package/src/resources/tools.ts +213 -46
- package/src/resources/trigger-instances/index.ts +1 -1
- package/src/resources/trigger-instances/trigger-instances.ts +106 -25
- package/src/resources/triggers-types.ts +96 -2
- 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
- package/resources/mcp/command.d.mts +0 -37
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -37
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -15
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -11
- package/resources/mcp/command.mjs.map +0 -1
- package/src/resources/mcp/command.ts +0 -50
|
@@ -7,15 +7,20 @@ import { path } from '../internal/utils/path';
|
|
|
7
7
|
|
|
8
8
|
export class Toolkits extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Retrieves comprehensive information about a specific toolkit using its unique
|
|
11
|
+
* slug identifier. This endpoint provides detailed metadata, authentication
|
|
12
|
+
* configuration options, and feature counts for the requested toolkit.
|
|
11
13
|
*/
|
|
12
14
|
retrieve(slug: string, options?: RequestOptions): APIPromise<ToolkitRetrieveResponse> {
|
|
13
15
|
return this._client.get(path`/api/v3/toolkits/${slug}`, options);
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
+
* Retrieves a comprehensive list of toolkits that are available to the
|
|
20
|
+
* authenticated project. Toolkits represent integration points with external
|
|
21
|
+
* services and applications, each containing a collection of tools and triggers.
|
|
22
|
+
* This endpoint supports filtering by category, management type, and local
|
|
23
|
+
* availability, as well as different sorting options.
|
|
19
24
|
*/
|
|
20
25
|
list(
|
|
21
26
|
query: ToolkitListParams | null | undefined = {},
|
|
@@ -25,74 +30,168 @@ export class Toolkits extends APIResource {
|
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
/**
|
|
28
|
-
*
|
|
33
|
+
* Retrieves a comprehensive list of all available toolkit categories. These
|
|
34
|
+
* categories can be used to filter toolkits by type or purpose when using the
|
|
35
|
+
* toolkit listing endpoint. Categories help organize toolkits into logical groups
|
|
36
|
+
* based on their functionality or industry focus.
|
|
29
37
|
*/
|
|
30
|
-
retrieveCategories(
|
|
31
|
-
|
|
38
|
+
retrieveCategories(
|
|
39
|
+
query: ToolkitRetrieveCategoriesParams | null | undefined = {},
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<ToolkitRetrieveCategoriesResponse> {
|
|
42
|
+
return this._client.get('/api/v3/toolkits/categories', { query, ...options });
|
|
32
43
|
}
|
|
33
44
|
}
|
|
34
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Detailed information about a single toolkit
|
|
48
|
+
*/
|
|
35
49
|
export interface ToolkitRetrieveResponse {
|
|
50
|
+
/**
|
|
51
|
+
* Indicates if this toolkit is currently enabled and available for use
|
|
52
|
+
*/
|
|
36
53
|
enabled: boolean;
|
|
37
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Indicates if this toolkit is specific to the current project or globally
|
|
57
|
+
* available
|
|
58
|
+
*/
|
|
38
59
|
is_local_toolkit: boolean;
|
|
39
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Comprehensive metadata for the toolkit including dates, descriptions, and
|
|
63
|
+
* statistics
|
|
64
|
+
*/
|
|
40
65
|
meta: ToolkitRetrieveResponse.Meta;
|
|
41
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Human-readable name of the toolkit
|
|
69
|
+
*/
|
|
42
70
|
name: string;
|
|
43
71
|
|
|
72
|
+
/**
|
|
73
|
+
* URL-friendly unique identifier for the toolkit
|
|
74
|
+
*/
|
|
44
75
|
slug: string;
|
|
45
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Complete authentication configuration details for each supported auth method
|
|
79
|
+
*/
|
|
46
80
|
auth_config_details?: Array<ToolkitRetrieveResponse.AuthConfigDetail>;
|
|
47
81
|
|
|
82
|
+
/**
|
|
83
|
+
* List of authentication methods that Composio manages for this toolkit
|
|
84
|
+
*/
|
|
48
85
|
composio_managed_auth_schemes?: Array<string>;
|
|
49
86
|
}
|
|
50
87
|
|
|
51
88
|
export namespace ToolkitRetrieveResponse {
|
|
89
|
+
/**
|
|
90
|
+
* Comprehensive metadata for the toolkit including dates, descriptions, and
|
|
91
|
+
* statistics
|
|
92
|
+
*/
|
|
52
93
|
export interface Meta {
|
|
94
|
+
/**
|
|
95
|
+
* List of categories associated with this toolkit
|
|
96
|
+
*/
|
|
53
97
|
categories: Array<Meta.Category>;
|
|
54
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Creation date and time of the toolkit
|
|
101
|
+
*/
|
|
55
102
|
created_at: string;
|
|
56
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Human-readable description explaining the toolkit's purpose and functionality
|
|
106
|
+
*/
|
|
57
107
|
description: string;
|
|
58
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Image URL for the toolkit's branding
|
|
111
|
+
*/
|
|
59
112
|
logo: string;
|
|
60
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Count of available tools in this toolkit
|
|
116
|
+
*/
|
|
61
117
|
tools_count: number;
|
|
62
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Count of available triggers in this toolkit
|
|
121
|
+
*/
|
|
63
122
|
triggers_count: number;
|
|
64
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Last modification date and time of the toolkit
|
|
126
|
+
*/
|
|
65
127
|
updated_at: string;
|
|
66
128
|
|
|
129
|
+
/**
|
|
130
|
+
* Link to the toolkit's main application or service website
|
|
131
|
+
*/
|
|
67
132
|
app_url?: string | null;
|
|
68
133
|
}
|
|
69
134
|
|
|
70
135
|
export namespace Meta {
|
|
71
136
|
export interface Category {
|
|
137
|
+
/**
|
|
138
|
+
* Human-readable category name
|
|
139
|
+
*/
|
|
72
140
|
name: string;
|
|
73
141
|
|
|
142
|
+
/**
|
|
143
|
+
* URL-friendly identifier for the category
|
|
144
|
+
*/
|
|
74
145
|
slug: string;
|
|
75
146
|
}
|
|
76
147
|
}
|
|
77
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Detailed configuration for an authentication method
|
|
151
|
+
*/
|
|
78
152
|
export interface AuthConfigDetail {
|
|
153
|
+
/**
|
|
154
|
+
* Field groups required for different authentication stages
|
|
155
|
+
*/
|
|
79
156
|
fields: AuthConfigDetail.Fields;
|
|
80
157
|
|
|
158
|
+
/**
|
|
159
|
+
* The type of authentication mode (e.g., oauth2, basic_auth, api_key)
|
|
160
|
+
*/
|
|
81
161
|
mode: string;
|
|
82
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Display name for this authentication method
|
|
165
|
+
*/
|
|
83
166
|
name: string;
|
|
84
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Configuration for proxying authentication requests to external services
|
|
170
|
+
*/
|
|
85
171
|
proxy?: AuthConfigDetail.Proxy;
|
|
86
172
|
}
|
|
87
173
|
|
|
88
174
|
export namespace AuthConfigDetail {
|
|
175
|
+
/**
|
|
176
|
+
* Field groups required for different authentication stages
|
|
177
|
+
*/
|
|
89
178
|
export interface Fields {
|
|
179
|
+
/**
|
|
180
|
+
* Form fields needed when creating an authentication configuration
|
|
181
|
+
*/
|
|
90
182
|
auth_config_creation: Fields.AuthConfigCreation;
|
|
91
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Form fields needed when connecting a user account with this authentication
|
|
186
|
+
* method
|
|
187
|
+
*/
|
|
92
188
|
connected_account_initiation: Fields.ConnectedAccountInitiation;
|
|
93
189
|
}
|
|
94
190
|
|
|
95
191
|
export namespace Fields {
|
|
192
|
+
/**
|
|
193
|
+
* Form fields needed when creating an authentication configuration
|
|
194
|
+
*/
|
|
96
195
|
export interface AuthConfigCreation {
|
|
97
196
|
optional: Array<AuthConfigCreation.Optional>;
|
|
98
197
|
|
|
@@ -129,6 +228,10 @@ export namespace ToolkitRetrieveResponse {
|
|
|
129
228
|
}
|
|
130
229
|
}
|
|
131
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Form fields needed when connecting a user account with this authentication
|
|
233
|
+
* method
|
|
234
|
+
*/
|
|
132
235
|
export interface ConnectedAccountInitiation {
|
|
133
236
|
optional: Array<ConnectedAccountInitiation.Optional>;
|
|
134
237
|
|
|
@@ -166,7 +269,13 @@ export namespace ToolkitRetrieveResponse {
|
|
|
166
269
|
}
|
|
167
270
|
}
|
|
168
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Configuration for proxying authentication requests to external services
|
|
274
|
+
*/
|
|
169
275
|
export interface Proxy {
|
|
276
|
+
/**
|
|
277
|
+
* URL to which authentication requests will be proxied
|
|
278
|
+
*/
|
|
170
279
|
base_url: string;
|
|
171
280
|
}
|
|
172
281
|
}
|
|
@@ -181,45 +290,103 @@ export interface ToolkitListResponse {
|
|
|
181
290
|
}
|
|
182
291
|
|
|
183
292
|
export namespace ToolkitListResponse {
|
|
293
|
+
/**
|
|
294
|
+
* Detailed information about a toolkit
|
|
295
|
+
*/
|
|
184
296
|
export interface Item {
|
|
297
|
+
/**
|
|
298
|
+
* Indicates if this toolkit is specific to the current project or globally
|
|
299
|
+
* available
|
|
300
|
+
*/
|
|
185
301
|
is_local_toolkit: boolean;
|
|
186
302
|
|
|
303
|
+
/**
|
|
304
|
+
* Additional metadata about the toolkit
|
|
305
|
+
*/
|
|
187
306
|
meta: Item.Meta;
|
|
188
307
|
|
|
308
|
+
/**
|
|
309
|
+
* Human-readable name of the toolkit
|
|
310
|
+
*/
|
|
189
311
|
name: string;
|
|
190
312
|
|
|
313
|
+
/**
|
|
314
|
+
* URL-friendly unique identifier for the toolkit
|
|
315
|
+
*/
|
|
191
316
|
slug: string;
|
|
192
317
|
|
|
318
|
+
/**
|
|
319
|
+
* List of authentication methods supported by this toolkit
|
|
320
|
+
*/
|
|
193
321
|
auth_schemes?: Array<string>;
|
|
194
322
|
|
|
323
|
+
/**
|
|
324
|
+
* List of authentication methods that Composio manages for this toolkit
|
|
325
|
+
*/
|
|
195
326
|
composio_managed_auth_schemes?: Array<string>;
|
|
196
327
|
|
|
328
|
+
/**
|
|
329
|
+
* When true, this toolkit can be used without authentication
|
|
330
|
+
*/
|
|
197
331
|
no_auth?: boolean;
|
|
198
332
|
}
|
|
199
333
|
|
|
200
334
|
export namespace Item {
|
|
335
|
+
/**
|
|
336
|
+
* Additional metadata about the toolkit
|
|
337
|
+
*/
|
|
201
338
|
export interface Meta {
|
|
339
|
+
/**
|
|
340
|
+
* List of categories associated with this toolkit
|
|
341
|
+
*/
|
|
202
342
|
categories: Array<Meta.Category>;
|
|
203
343
|
|
|
344
|
+
/**
|
|
345
|
+
* Creation date and time of the toolkit
|
|
346
|
+
*/
|
|
204
347
|
created_at: string;
|
|
205
348
|
|
|
349
|
+
/**
|
|
350
|
+
* Human-readable description explaining the toolkit's purpose and functionality
|
|
351
|
+
*/
|
|
206
352
|
description: string;
|
|
207
353
|
|
|
354
|
+
/**
|
|
355
|
+
* Image URL for the toolkit's branding
|
|
356
|
+
*/
|
|
208
357
|
logo: string;
|
|
209
358
|
|
|
359
|
+
/**
|
|
360
|
+
* Count of available tools in this toolkit
|
|
361
|
+
*/
|
|
210
362
|
tools_count: number;
|
|
211
363
|
|
|
364
|
+
/**
|
|
365
|
+
* Count of available triggers in this toolkit
|
|
366
|
+
*/
|
|
212
367
|
triggers_count: number;
|
|
213
368
|
|
|
369
|
+
/**
|
|
370
|
+
* Last modification date and time of the toolkit
|
|
371
|
+
*/
|
|
214
372
|
updated_at: string;
|
|
215
373
|
|
|
374
|
+
/**
|
|
375
|
+
* Link to the toolkit's main application or service website
|
|
376
|
+
*/
|
|
216
377
|
app_url?: string | null;
|
|
217
378
|
}
|
|
218
379
|
|
|
219
380
|
export namespace Meta {
|
|
220
381
|
export interface Category {
|
|
382
|
+
/**
|
|
383
|
+
* Category identifier
|
|
384
|
+
*/
|
|
221
385
|
id: string;
|
|
222
386
|
|
|
387
|
+
/**
|
|
388
|
+
* Human-readable category name
|
|
389
|
+
*/
|
|
223
390
|
name: string;
|
|
224
391
|
}
|
|
225
392
|
}
|
|
@@ -235,31 +402,57 @@ export interface ToolkitRetrieveCategoriesResponse {
|
|
|
235
402
|
}
|
|
236
403
|
|
|
237
404
|
export namespace ToolkitRetrieveCategoriesResponse {
|
|
405
|
+
/**
|
|
406
|
+
* Information about a single toolkit category
|
|
407
|
+
*/
|
|
238
408
|
export interface Item {
|
|
409
|
+
/**
|
|
410
|
+
* URL-friendly unique identifier for the category, used for filtering toolkits
|
|
411
|
+
*/
|
|
239
412
|
id: string;
|
|
240
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Display name of the toolkit category
|
|
416
|
+
*/
|
|
241
417
|
name: string;
|
|
242
418
|
}
|
|
243
419
|
}
|
|
244
420
|
|
|
245
421
|
export interface ToolkitListParams {
|
|
422
|
+
/**
|
|
423
|
+
* Filter toolkits by category
|
|
424
|
+
*/
|
|
246
425
|
category?: string;
|
|
247
426
|
|
|
248
427
|
/**
|
|
249
|
-
* Whether to include local toolkits
|
|
428
|
+
* Whether to include local toolkits in the results
|
|
250
429
|
*/
|
|
251
430
|
is_local?: boolean | null;
|
|
252
431
|
|
|
432
|
+
/**
|
|
433
|
+
* Filter toolkits by who manages them
|
|
434
|
+
*/
|
|
253
435
|
managed_by?: 'composio' | 'all' | 'project';
|
|
254
436
|
|
|
437
|
+
/**
|
|
438
|
+
* Sort order for returned toolkits
|
|
439
|
+
*/
|
|
255
440
|
sort_by?: 'usage' | 'alphabetically';
|
|
256
441
|
}
|
|
257
442
|
|
|
443
|
+
export interface ToolkitRetrieveCategoriesParams {
|
|
444
|
+
/**
|
|
445
|
+
* Cache control parameter
|
|
446
|
+
*/
|
|
447
|
+
cache?: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
258
450
|
export declare namespace Toolkits {
|
|
259
451
|
export {
|
|
260
452
|
type ToolkitRetrieveResponse as ToolkitRetrieveResponse,
|
|
261
453
|
type ToolkitListResponse as ToolkitListResponse,
|
|
262
454
|
type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse,
|
|
263
455
|
type ToolkitListParams as ToolkitListParams,
|
|
456
|
+
type ToolkitRetrieveCategoriesParams as ToolkitRetrieveCategoriesParams,
|
|
264
457
|
};
|
|
265
458
|
}
|