@composio/client 0.1.0-alpha.10 → 0.1.0-alpha.11
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 +20 -0
- 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 +163 -24
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +163 -24
- 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 +56 -23
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +56 -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/command.d.mts +0 -33
- package/resources/mcp/command.d.mts.map +1 -1
- package/resources/mcp/command.d.ts +0 -33
- package/resources/mcp/command.d.ts.map +1 -1
- package/resources/mcp/command.js +0 -6
- package/resources/mcp/command.js.map +1 -1
- package/resources/mcp/command.mjs +0 -6
- package/resources/mcp/command.mjs.map +1 -1
- 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.map +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +232 -235
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +232 -235
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +55 -19
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +55 -19
- 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 +97 -20
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +97 -20
- 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/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 +207 -40
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +207 -40
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +58 -5
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +58 -5
- 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/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +21 -24
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +21 -24
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +1 -8
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +1 -8
- 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 +4 -14
- package/src/resources/auth-configs.ts +164 -24
- package/src/resources/connected-accounts.ts +80 -17
- package/src/resources/files.ts +56 -23
- package/src/resources/index.ts +2 -7
- package/src/resources/mcp/command.ts +1 -46
- package/src/resources/mcp/index.ts +2 -5
- package/src/resources/mcp/mcp.ts +240 -280
- package/src/resources/migration.ts +11 -2
- package/src/resources/org/api-key.ts +23 -2
- package/src/resources/org/project/api-keys.ts +97 -20
- 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/toolkits.ts +200 -7
- package/src/resources/tools.ts +207 -40
- package/src/resources/trigger-instances/index.ts +0 -3
- package/src/resources/trigger-instances/trigger-instances.ts +22 -38
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.d.mts","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"toolkits.d.mts","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;O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KACd;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
package/resources/toolkits.d.ts
CHANGED
|
@@ -3,57 +3,153 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class Toolkits extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Retrieves comprehensive information about a specific toolkit using its unique
|
|
7
|
+
* slug identifier. This endpoint provides detailed metadata, authentication
|
|
8
|
+
* configuration options, and feature counts for the requested toolkit.
|
|
7
9
|
*/
|
|
8
10
|
retrieve(slug: string, options?: RequestOptions): APIPromise<ToolkitRetrieveResponse>;
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
+
* Retrieves a comprehensive list of toolkits that are available to the
|
|
13
|
+
* authenticated project. Toolkits represent integration points with external
|
|
14
|
+
* services and applications, each containing a collection of tools and triggers.
|
|
15
|
+
* This endpoint supports filtering by category, management type, and local
|
|
16
|
+
* availability, as well as different sorting options.
|
|
12
17
|
*/
|
|
13
18
|
list(query?: ToolkitListParams | null | undefined, options?: RequestOptions): APIPromise<ToolkitListResponse>;
|
|
14
19
|
/**
|
|
15
|
-
*
|
|
20
|
+
* Retrieves a comprehensive list of all available toolkit categories. These
|
|
21
|
+
* categories can be used to filter toolkits by type or purpose when using the
|
|
22
|
+
* toolkit listing endpoint. Categories help organize toolkits into logical groups
|
|
23
|
+
* based on their functionality or industry focus.
|
|
16
24
|
*/
|
|
17
|
-
retrieveCategories(options?: RequestOptions): APIPromise<ToolkitRetrieveCategoriesResponse>;
|
|
25
|
+
retrieveCategories(query?: ToolkitRetrieveCategoriesParams | null | undefined, options?: RequestOptions): APIPromise<ToolkitRetrieveCategoriesResponse>;
|
|
18
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Detailed information about a single toolkit
|
|
29
|
+
*/
|
|
19
30
|
export interface ToolkitRetrieveResponse {
|
|
31
|
+
/**
|
|
32
|
+
* Indicates if this toolkit is currently enabled and available for use
|
|
33
|
+
*/
|
|
20
34
|
enabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates if this toolkit is specific to the current project or globally
|
|
37
|
+
* available
|
|
38
|
+
*/
|
|
21
39
|
is_local_toolkit: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Comprehensive metadata for the toolkit including dates, descriptions, and
|
|
42
|
+
* statistics
|
|
43
|
+
*/
|
|
22
44
|
meta: ToolkitRetrieveResponse.Meta;
|
|
45
|
+
/**
|
|
46
|
+
* Human-readable name of the toolkit
|
|
47
|
+
*/
|
|
23
48
|
name: string;
|
|
49
|
+
/**
|
|
50
|
+
* URL-friendly unique identifier for the toolkit
|
|
51
|
+
*/
|
|
24
52
|
slug: string;
|
|
53
|
+
/**
|
|
54
|
+
* Complete authentication configuration details for each supported auth method
|
|
55
|
+
*/
|
|
25
56
|
auth_config_details?: Array<ToolkitRetrieveResponse.AuthConfigDetail>;
|
|
57
|
+
/**
|
|
58
|
+
* List of authentication methods that Composio manages for this toolkit
|
|
59
|
+
*/
|
|
26
60
|
composio_managed_auth_schemes?: Array<string>;
|
|
27
61
|
}
|
|
28
62
|
export declare namespace ToolkitRetrieveResponse {
|
|
63
|
+
/**
|
|
64
|
+
* Comprehensive metadata for the toolkit including dates, descriptions, and
|
|
65
|
+
* statistics
|
|
66
|
+
*/
|
|
29
67
|
interface Meta {
|
|
68
|
+
/**
|
|
69
|
+
* List of categories associated with this toolkit
|
|
70
|
+
*/
|
|
30
71
|
categories: Array<Meta.Category>;
|
|
72
|
+
/**
|
|
73
|
+
* Creation date and time of the toolkit
|
|
74
|
+
*/
|
|
31
75
|
created_at: string;
|
|
76
|
+
/**
|
|
77
|
+
* Human-readable description explaining the toolkit's purpose and functionality
|
|
78
|
+
*/
|
|
32
79
|
description: string;
|
|
80
|
+
/**
|
|
81
|
+
* Image URL for the toolkit's branding
|
|
82
|
+
*/
|
|
33
83
|
logo: string;
|
|
84
|
+
/**
|
|
85
|
+
* Count of available tools in this toolkit
|
|
86
|
+
*/
|
|
34
87
|
tools_count: number;
|
|
88
|
+
/**
|
|
89
|
+
* Count of available triggers in this toolkit
|
|
90
|
+
*/
|
|
35
91
|
triggers_count: number;
|
|
92
|
+
/**
|
|
93
|
+
* Last modification date and time of the toolkit
|
|
94
|
+
*/
|
|
36
95
|
updated_at: string;
|
|
96
|
+
/**
|
|
97
|
+
* Link to the toolkit's main application or service website
|
|
98
|
+
*/
|
|
37
99
|
app_url?: string | null;
|
|
38
100
|
}
|
|
39
101
|
namespace Meta {
|
|
40
102
|
interface Category {
|
|
103
|
+
/**
|
|
104
|
+
* Human-readable category name
|
|
105
|
+
*/
|
|
41
106
|
name: string;
|
|
107
|
+
/**
|
|
108
|
+
* URL-friendly identifier for the category
|
|
109
|
+
*/
|
|
42
110
|
slug: string;
|
|
43
111
|
}
|
|
44
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Detailed configuration for an authentication method
|
|
115
|
+
*/
|
|
45
116
|
interface AuthConfigDetail {
|
|
117
|
+
/**
|
|
118
|
+
* Field groups required for different authentication stages
|
|
119
|
+
*/
|
|
46
120
|
fields: AuthConfigDetail.Fields;
|
|
121
|
+
/**
|
|
122
|
+
* The type of authentication mode (e.g., oauth2, basic_auth, api_key)
|
|
123
|
+
*/
|
|
47
124
|
mode: string;
|
|
125
|
+
/**
|
|
126
|
+
* Display name for this authentication method
|
|
127
|
+
*/
|
|
48
128
|
name: string;
|
|
129
|
+
/**
|
|
130
|
+
* Configuration for proxying authentication requests to external services
|
|
131
|
+
*/
|
|
49
132
|
proxy?: AuthConfigDetail.Proxy;
|
|
50
133
|
}
|
|
51
134
|
namespace AuthConfigDetail {
|
|
135
|
+
/**
|
|
136
|
+
* Field groups required for different authentication stages
|
|
137
|
+
*/
|
|
52
138
|
interface Fields {
|
|
139
|
+
/**
|
|
140
|
+
* Form fields needed when creating an authentication configuration
|
|
141
|
+
*/
|
|
53
142
|
auth_config_creation: Fields.AuthConfigCreation;
|
|
143
|
+
/**
|
|
144
|
+
* Form fields needed when connecting a user account with this authentication
|
|
145
|
+
* method
|
|
146
|
+
*/
|
|
54
147
|
connected_account_initiation: Fields.ConnectedAccountInitiation;
|
|
55
148
|
}
|
|
56
149
|
namespace Fields {
|
|
150
|
+
/**
|
|
151
|
+
* Form fields needed when creating an authentication configuration
|
|
152
|
+
*/
|
|
57
153
|
interface AuthConfigCreation {
|
|
58
154
|
optional: Array<AuthConfigCreation.Optional>;
|
|
59
155
|
required: Array<AuthConfigCreation.Required>;
|
|
@@ -76,6 +172,10 @@ export declare namespace ToolkitRetrieveResponse {
|
|
|
76
172
|
default?: string | null;
|
|
77
173
|
}
|
|
78
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Form fields needed when connecting a user account with this authentication
|
|
177
|
+
* method
|
|
178
|
+
*/
|
|
79
179
|
interface ConnectedAccountInitiation {
|
|
80
180
|
optional: Array<ConnectedAccountInitiation.Optional>;
|
|
81
181
|
required: Array<ConnectedAccountInitiation.Required>;
|
|
@@ -99,7 +199,13 @@ export declare namespace ToolkitRetrieveResponse {
|
|
|
99
199
|
}
|
|
100
200
|
}
|
|
101
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Configuration for proxying authentication requests to external services
|
|
204
|
+
*/
|
|
102
205
|
interface Proxy {
|
|
206
|
+
/**
|
|
207
|
+
* URL to which authentication requests will be proxied
|
|
208
|
+
*/
|
|
103
209
|
base_url: string;
|
|
104
210
|
}
|
|
105
211
|
}
|
|
@@ -110,29 +216,87 @@ export interface ToolkitListResponse {
|
|
|
110
216
|
total_pages: number;
|
|
111
217
|
}
|
|
112
218
|
export declare namespace ToolkitListResponse {
|
|
219
|
+
/**
|
|
220
|
+
* Detailed information about a toolkit
|
|
221
|
+
*/
|
|
113
222
|
interface Item {
|
|
223
|
+
/**
|
|
224
|
+
* Indicates if this toolkit is specific to the current project or globally
|
|
225
|
+
* available
|
|
226
|
+
*/
|
|
114
227
|
is_local_toolkit: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Additional metadata about the toolkit
|
|
230
|
+
*/
|
|
115
231
|
meta: Item.Meta;
|
|
232
|
+
/**
|
|
233
|
+
* Human-readable name of the toolkit
|
|
234
|
+
*/
|
|
116
235
|
name: string;
|
|
236
|
+
/**
|
|
237
|
+
* URL-friendly unique identifier for the toolkit
|
|
238
|
+
*/
|
|
117
239
|
slug: string;
|
|
240
|
+
/**
|
|
241
|
+
* List of authentication methods supported by this toolkit
|
|
242
|
+
*/
|
|
118
243
|
auth_schemes?: Array<string>;
|
|
244
|
+
/**
|
|
245
|
+
* List of authentication methods that Composio manages for this toolkit
|
|
246
|
+
*/
|
|
119
247
|
composio_managed_auth_schemes?: Array<string>;
|
|
248
|
+
/**
|
|
249
|
+
* When true, this toolkit can be used without authentication
|
|
250
|
+
*/
|
|
120
251
|
no_auth?: boolean;
|
|
121
252
|
}
|
|
122
253
|
namespace Item {
|
|
254
|
+
/**
|
|
255
|
+
* Additional metadata about the toolkit
|
|
256
|
+
*/
|
|
123
257
|
interface Meta {
|
|
258
|
+
/**
|
|
259
|
+
* List of categories associated with this toolkit
|
|
260
|
+
*/
|
|
124
261
|
categories: Array<Meta.Category>;
|
|
262
|
+
/**
|
|
263
|
+
* Creation date and time of the toolkit
|
|
264
|
+
*/
|
|
125
265
|
created_at: string;
|
|
266
|
+
/**
|
|
267
|
+
* Human-readable description explaining the toolkit's purpose and functionality
|
|
268
|
+
*/
|
|
126
269
|
description: string;
|
|
270
|
+
/**
|
|
271
|
+
* Image URL for the toolkit's branding
|
|
272
|
+
*/
|
|
127
273
|
logo: string;
|
|
274
|
+
/**
|
|
275
|
+
* Count of available tools in this toolkit
|
|
276
|
+
*/
|
|
128
277
|
tools_count: number;
|
|
278
|
+
/**
|
|
279
|
+
* Count of available triggers in this toolkit
|
|
280
|
+
*/
|
|
129
281
|
triggers_count: number;
|
|
282
|
+
/**
|
|
283
|
+
* Last modification date and time of the toolkit
|
|
284
|
+
*/
|
|
130
285
|
updated_at: string;
|
|
286
|
+
/**
|
|
287
|
+
* Link to the toolkit's main application or service website
|
|
288
|
+
*/
|
|
131
289
|
app_url?: string | null;
|
|
132
290
|
}
|
|
133
291
|
namespace Meta {
|
|
134
292
|
interface Category {
|
|
293
|
+
/**
|
|
294
|
+
* Category identifier
|
|
295
|
+
*/
|
|
135
296
|
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* Human-readable category name
|
|
299
|
+
*/
|
|
136
300
|
name: string;
|
|
137
301
|
}
|
|
138
302
|
}
|
|
@@ -144,21 +308,45 @@ export interface ToolkitRetrieveCategoriesResponse {
|
|
|
144
308
|
total_pages: number;
|
|
145
309
|
}
|
|
146
310
|
export declare namespace ToolkitRetrieveCategoriesResponse {
|
|
311
|
+
/**
|
|
312
|
+
* Information about a single toolkit category
|
|
313
|
+
*/
|
|
147
314
|
interface Item {
|
|
315
|
+
/**
|
|
316
|
+
* URL-friendly unique identifier for the category, used for filtering toolkits
|
|
317
|
+
*/
|
|
148
318
|
id: string;
|
|
319
|
+
/**
|
|
320
|
+
* Display name of the toolkit category
|
|
321
|
+
*/
|
|
149
322
|
name: string;
|
|
150
323
|
}
|
|
151
324
|
}
|
|
152
325
|
export interface ToolkitListParams {
|
|
326
|
+
/**
|
|
327
|
+
* Filter toolkits by category
|
|
328
|
+
*/
|
|
153
329
|
category?: string;
|
|
154
330
|
/**
|
|
155
|
-
* Whether to include local toolkits
|
|
331
|
+
* Whether to include local toolkits in the results
|
|
156
332
|
*/
|
|
157
333
|
is_local?: boolean | null;
|
|
334
|
+
/**
|
|
335
|
+
* Filter toolkits by who manages them
|
|
336
|
+
*/
|
|
158
337
|
managed_by?: 'composio' | 'all' | 'project';
|
|
338
|
+
/**
|
|
339
|
+
* Sort order for returned toolkits
|
|
340
|
+
*/
|
|
159
341
|
sort_by?: 'usage' | 'alphabetically';
|
|
160
342
|
}
|
|
343
|
+
export interface ToolkitRetrieveCategoriesParams {
|
|
344
|
+
/**
|
|
345
|
+
* Cache control parameter
|
|
346
|
+
*/
|
|
347
|
+
cache?: string;
|
|
348
|
+
}
|
|
161
349
|
export declare namespace Toolkits {
|
|
162
|
-
export { type ToolkitRetrieveResponse as ToolkitRetrieveResponse, type ToolkitListResponse as ToolkitListResponse, type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse, type ToolkitListParams as ToolkitListParams, };
|
|
350
|
+
export { type ToolkitRetrieveResponse as ToolkitRetrieveResponse, type ToolkitListResponse as ToolkitListResponse, type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse, type ToolkitListParams as ToolkitListParams, type ToolkitRetrieveCategoriesParams as ToolkitRetrieveCategoriesParams, };
|
|
163
351
|
}
|
|
164
352
|
//# sourceMappingURL=toolkits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAG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EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,iCAAiC,CAAC;IACjD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
package/resources/toolkits.js
CHANGED
|
@@ -6,23 +6,31 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../internal/utils/path.js");
|
|
7
7
|
class Toolkits extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Retrieves comprehensive information about a specific toolkit using its unique
|
|
10
|
+
* slug identifier. This endpoint provides detailed metadata, authentication
|
|
11
|
+
* configuration options, and feature counts for the requested toolkit.
|
|
10
12
|
*/
|
|
11
13
|
retrieve(slug, options) {
|
|
12
14
|
return this._client.get((0, path_1.path) `/api/v3/toolkits/${slug}`, options);
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
+
* Retrieves a comprehensive list of toolkits that are available to the
|
|
18
|
+
* authenticated project. Toolkits represent integration points with external
|
|
19
|
+
* services and applications, each containing a collection of tools and triggers.
|
|
20
|
+
* This endpoint supports filtering by category, management type, and local
|
|
21
|
+
* availability, as well as different sorting options.
|
|
17
22
|
*/
|
|
18
23
|
list(query = {}, options) {
|
|
19
24
|
return this._client.get('/api/v3/toolkits', { query, ...options });
|
|
20
25
|
}
|
|
21
26
|
/**
|
|
22
|
-
*
|
|
27
|
+
* Retrieves a comprehensive list of all available toolkit categories. These
|
|
28
|
+
* categories can be used to filter toolkits by type or purpose when using the
|
|
29
|
+
* toolkit listing endpoint. Categories help organize toolkits into logical groups
|
|
30
|
+
* based on their functionality or industry focus.
|
|
23
31
|
*/
|
|
24
|
-
retrieveCategories(options) {
|
|
25
|
-
return this._client.get('/api/v3/toolkits/categories', options);
|
|
32
|
+
retrieveCategories(query = {}, options) {
|
|
33
|
+
return this._client.get('/api/v3/toolkits/categories', { query, ...options });
|
|
26
34
|
}
|
|
27
35
|
}
|
|
28
36
|
exports.Toolkits = Toolkits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AApCD,4BAoCC"}
|
package/resources/toolkits.mjs
CHANGED
|
@@ -3,23 +3,31 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
4
|
export class Toolkits extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Retrieves comprehensive information about a specific toolkit using its unique
|
|
7
|
+
* slug identifier. This endpoint provides detailed metadata, authentication
|
|
8
|
+
* configuration options, and feature counts for the requested toolkit.
|
|
7
9
|
*/
|
|
8
10
|
retrieve(slug, options) {
|
|
9
11
|
return this._client.get(path `/api/v3/toolkits/${slug}`, options);
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
+
* Retrieves a comprehensive list of toolkits that are available to the
|
|
15
|
+
* authenticated project. Toolkits represent integration points with external
|
|
16
|
+
* services and applications, each containing a collection of tools and triggers.
|
|
17
|
+
* This endpoint supports filtering by category, management type, and local
|
|
18
|
+
* availability, as well as different sorting options.
|
|
14
19
|
*/
|
|
15
20
|
list(query = {}, options) {
|
|
16
21
|
return this._client.get('/api/v3/toolkits', { query, ...options });
|
|
17
22
|
}
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
24
|
+
* Retrieves a comprehensive list of all available toolkit categories. These
|
|
25
|
+
* categories can be used to filter toolkits by type or purpose when using the
|
|
26
|
+
* toolkit listing endpoint. Categories help organize toolkits into logical groups
|
|
27
|
+
* based on their functionality or industry focus.
|
|
20
28
|
*/
|
|
21
|
-
retrieveCategories(options) {
|
|
22
|
-
return this._client.get('/api/v3/toolkits/categories', options);
|
|
29
|
+
retrieveCategories(query = {}, options) {
|
|
30
|
+
return this._client.get('/api/v3/toolkits/categories', { query, ...options });
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
//# sourceMappingURL=toolkits.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.mjs","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"toolkits.mjs","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|