@composio/client 0.1.0-alpha.1 → 0.1.0-alpha.5

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 (206) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/LICENSE +1 -1
  3. package/README.md +29 -29
  4. package/client.d.mts +16 -13
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +16 -13
  7. package/client.d.ts.map +1 -1
  8. package/client.js +54 -61
  9. package/client.js.map +1 -1
  10. package/client.mjs +52 -59
  11. package/client.mjs.map +1 -1
  12. package/core/api-promise.d.mts +2 -2
  13. package/core/api-promise.d.mts.map +1 -1
  14. package/core/api-promise.d.ts +2 -2
  15. package/core/api-promise.d.ts.map +1 -1
  16. package/core/api-promise.js.map +1 -1
  17. package/core/api-promise.mjs.map +1 -1
  18. package/core/error.d.mts +2 -2
  19. package/core/error.d.mts.map +1 -1
  20. package/core/error.d.ts +2 -2
  21. package/core/error.d.ts.map +1 -1
  22. package/core/error.js +4 -4
  23. package/core/error.js.map +1 -1
  24. package/core/error.mjs +2 -2
  25. package/core/error.mjs.map +1 -1
  26. package/core/resource.d.mts +3 -3
  27. package/core/resource.d.mts.map +1 -1
  28. package/core/resource.d.ts +3 -3
  29. package/core/resource.d.ts.map +1 -1
  30. package/core/resource.js.map +1 -1
  31. package/core/resource.mjs.map +1 -1
  32. package/index.d.mts +3 -3
  33. package/index.d.mts.map +1 -1
  34. package/index.d.ts +3 -3
  35. package/index.d.ts.map +1 -1
  36. package/index.js +4 -4
  37. package/index.js.map +1 -1
  38. package/index.mjs +3 -3
  39. package/index.mjs.map +1 -1
  40. package/internal/parse.d.mts +2 -2
  41. package/internal/parse.d.mts.map +1 -1
  42. package/internal/parse.d.ts +2 -2
  43. package/internal/parse.d.ts.map +1 -1
  44. package/internal/parse.js.map +1 -1
  45. package/internal/parse.mjs.map +1 -1
  46. package/internal/qs/formats.d.mts +6 -0
  47. package/internal/qs/formats.d.mts.map +1 -0
  48. package/internal/qs/formats.d.ts +6 -0
  49. package/internal/qs/formats.d.ts.map +1 -0
  50. package/internal/qs/formats.js +11 -0
  51. package/internal/qs/formats.js.map +1 -0
  52. package/internal/qs/formats.mjs +8 -0
  53. package/internal/qs/formats.mjs.map +1 -0
  54. package/internal/qs/index.d.mts +10 -0
  55. package/internal/qs/index.d.mts.map +1 -0
  56. package/internal/qs/index.d.ts +10 -0
  57. package/internal/qs/index.d.ts.map +1 -0
  58. package/internal/qs/index.js +14 -0
  59. package/internal/qs/index.js.map +1 -0
  60. package/internal/qs/index.mjs +10 -0
  61. package/internal/qs/index.mjs.map +1 -0
  62. package/internal/qs/stringify.d.mts +3 -0
  63. package/internal/qs/stringify.d.mts.map +1 -0
  64. package/internal/qs/stringify.d.ts +3 -0
  65. package/internal/qs/stringify.d.ts.map +1 -0
  66. package/internal/qs/stringify.js +280 -0
  67. package/internal/qs/stringify.js.map +1 -0
  68. package/internal/qs/stringify.mjs +276 -0
  69. package/internal/qs/stringify.mjs.map +1 -0
  70. package/internal/qs/types.d.mts +57 -0
  71. package/internal/qs/types.d.mts.map +1 -0
  72. package/internal/qs/types.d.ts +57 -0
  73. package/internal/qs/types.d.ts.map +1 -0
  74. package/internal/qs/types.js +3 -0
  75. package/internal/qs/types.js.map +1 -0
  76. package/internal/qs/types.mjs +2 -0
  77. package/internal/qs/types.mjs.map +1 -0
  78. package/internal/qs/utils.d.mts +14 -0
  79. package/internal/qs/utils.d.mts.map +1 -0
  80. package/internal/qs/utils.d.ts +14 -0
  81. package/internal/qs/utils.d.ts.map +1 -0
  82. package/internal/qs/utils.js +229 -0
  83. package/internal/qs/utils.js.map +1 -0
  84. package/internal/qs/utils.mjs +217 -0
  85. package/internal/qs/utils.mjs.map +1 -0
  86. package/internal/shims/getBuiltinModule.d.mts.map +1 -1
  87. package/internal/shims/getBuiltinModule.d.ts.map +1 -1
  88. package/internal/shims/getBuiltinModule.js +5 -2
  89. package/internal/shims/getBuiltinModule.js.map +1 -1
  90. package/internal/shims/getBuiltinModule.mjs +5 -2
  91. package/internal/shims/getBuiltinModule.mjs.map +1 -1
  92. package/internal/shims.js +1 -1
  93. package/internal/shims.js.map +1 -1
  94. package/internal/shims.mjs +1 -1
  95. package/internal/shims.mjs.map +1 -1
  96. package/internal/uploads.d.mts +4 -4
  97. package/internal/uploads.d.mts.map +1 -1
  98. package/internal/uploads.d.ts +4 -4
  99. package/internal/uploads.d.ts.map +1 -1
  100. package/internal/uploads.js.map +1 -1
  101. package/internal/uploads.mjs.map +1 -1
  102. package/internal/utils/base64.js +2 -2
  103. package/internal/utils/base64.js.map +1 -1
  104. package/internal/utils/base64.mjs +3 -3
  105. package/internal/utils/base64.mjs.map +1 -1
  106. package/internal/utils/log.d.mts +3 -3
  107. package/internal/utils/log.d.mts.map +1 -1
  108. package/internal/utils/log.d.ts +3 -3
  109. package/internal/utils/log.d.ts.map +1 -1
  110. package/internal/utils/log.js.map +1 -1
  111. package/internal/utils/log.mjs.map +1 -1
  112. package/internal/utils/path.d.mts.map +1 -1
  113. package/internal/utils/path.d.ts.map +1 -1
  114. package/internal/utils/path.js +1 -1
  115. package/internal/utils/path.js.map +1 -1
  116. package/internal/utils/path.mjs +2 -2
  117. package/internal/utils/path.mjs.map +1 -1
  118. package/internal/utils/values.js +5 -5
  119. package/internal/utils/values.js.map +1 -1
  120. package/internal/utils/values.mjs +6 -6
  121. package/internal/utils/values.mjs.map +1 -1
  122. package/package.json +4 -4
  123. package/resources/action-execution.d.mts +1 -1
  124. package/resources/action-execution.d.mts.map +1 -1
  125. package/resources/action-execution.d.ts +1 -1
  126. package/resources/action-execution.d.ts.map +1 -1
  127. package/resources/cli.d.mts +124 -0
  128. package/resources/cli.d.mts.map +1 -0
  129. package/resources/cli.d.ts +124 -0
  130. package/resources/cli.d.ts.map +1 -0
  131. package/resources/cli.js +18 -0
  132. package/resources/cli.js.map +1 -0
  133. package/resources/cli.mjs +14 -0
  134. package/resources/cli.mjs.map +1 -0
  135. package/resources/index.d.mts +2 -0
  136. package/resources/index.d.mts.map +1 -1
  137. package/resources/index.d.ts +2 -0
  138. package/resources/index.d.ts.map +1 -1
  139. package/resources/index.js +5 -1
  140. package/resources/index.js.map +1 -1
  141. package/resources/index.mjs +2 -0
  142. package/resources/index.mjs.map +1 -1
  143. package/resources/mcp/command.d.mts +34 -0
  144. package/resources/mcp/command.d.mts.map +1 -0
  145. package/resources/mcp/command.d.ts +34 -0
  146. package/resources/mcp/command.d.ts.map +1 -0
  147. package/resources/mcp/command.js +12 -0
  148. package/resources/mcp/command.js.map +1 -0
  149. package/resources/mcp/command.mjs +8 -0
  150. package/resources/mcp/command.mjs.map +1 -0
  151. package/resources/mcp/index.d.mts +3 -0
  152. package/resources/mcp/index.d.mts.map +1 -0
  153. package/resources/mcp/index.d.ts +3 -0
  154. package/resources/mcp/index.d.ts.map +1 -0
  155. package/resources/mcp/index.js +9 -0
  156. package/resources/mcp/index.js.map +1 -0
  157. package/resources/mcp/index.mjs +4 -0
  158. package/resources/mcp/index.mjs.map +1 -0
  159. package/resources/mcp/mcp.d.mts +378 -0
  160. package/resources/mcp/mcp.d.mts.map +1 -0
  161. package/resources/mcp/mcp.d.ts +378 -0
  162. package/resources/mcp/mcp.d.ts.map +1 -0
  163. package/resources/mcp/mcp.js +66 -0
  164. package/resources/mcp/mcp.js.map +1 -0
  165. package/resources/mcp/mcp.mjs +39 -0
  166. package/resources/mcp/mcp.mjs.map +1 -0
  167. package/resources/mcp.d.mts +2 -0
  168. package/resources/mcp.d.mts.map +1 -0
  169. package/resources/mcp.d.ts +2 -0
  170. package/resources/mcp.d.ts.map +1 -0
  171. package/resources/mcp.js +19 -0
  172. package/resources/mcp.js.map +1 -0
  173. package/resources/mcp.mjs +3 -0
  174. package/resources/mcp.mjs.map +1 -0
  175. package/src/client.ts +82 -47
  176. package/src/core/api-promise.ts +4 -4
  177. package/src/core/error.ts +2 -2
  178. package/src/core/resource.ts +3 -3
  179. package/src/index.ts +3 -3
  180. package/src/internal/parse.ts +2 -2
  181. package/src/internal/qs/LICENSE.md +13 -0
  182. package/src/internal/qs/README.md +3 -0
  183. package/src/internal/qs/formats.ts +9 -0
  184. package/src/internal/qs/index.ts +13 -0
  185. package/src/internal/qs/stringify.ts +388 -0
  186. package/src/internal/qs/types.ts +71 -0
  187. package/src/internal/qs/utils.ts +265 -0
  188. package/src/internal/shims/getBuiltinModule.ts +4 -2
  189. package/src/internal/shims.ts +1 -1
  190. package/src/internal/uploads.ts +5 -5
  191. package/src/internal/utils/base64.ts +3 -3
  192. package/src/internal/utils/log.ts +3 -3
  193. package/src/internal/utils/path.ts +2 -4
  194. package/src/internal/utils/values.ts +6 -6
  195. package/src/resources/action-execution.ts +1 -1
  196. package/src/resources/cli.ts +166 -0
  197. package/src/resources/index.ts +22 -0
  198. package/src/resources/mcp/command.ts +47 -0
  199. package/src/resources/mcp/index.ts +17 -0
  200. package/src/resources/mcp/mcp.ts +519 -0
  201. package/src/resources/mcp.ts +3 -0
  202. package/src/version.ts +1 -1
  203. package/version.d.mts +1 -1
  204. package/version.d.ts +1 -1
  205. package/version.js +1 -1
  206. package/version.mjs +1 -1
@@ -0,0 +1,47 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import { APIPromise } from '../../core/api-promise';
5
+ import { RequestOptions } from '../../internal/request-options';
6
+
7
+ export class Command extends APIResource {
8
+ generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse> {
9
+ return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
10
+ }
11
+ }
12
+
13
+ export interface CommandGenerateResponse {
14
+ /**
15
+ * The generated command to run
16
+ */
17
+ command?: string;
18
+
19
+ /**
20
+ * The URL for the MCP server
21
+ */
22
+ url?: string;
23
+ }
24
+
25
+ export interface CommandGenerateParams {
26
+ /**
27
+ * The ID of the MCP server
28
+ */
29
+ id: string;
30
+
31
+ /**
32
+ * MCP client to generate command for
33
+ */
34
+ mcp_client: 'cursor' | 'claude' | 'windsurf';
35
+
36
+ /**
37
+ * Time to live for the command
38
+ */
39
+ ttl?: '1d' | '3d' | '1 month' | 'no expiration';
40
+ }
41
+
42
+ export declare namespace Command {
43
+ export {
44
+ type CommandGenerateResponse as CommandGenerateResponse,
45
+ type CommandGenerateParams as CommandGenerateParams,
46
+ };
47
+ }
@@ -0,0 +1,17 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { Command, type CommandGenerateResponse, type CommandGenerateParams } from './command';
4
+ export {
5
+ Mcp,
6
+ type McpCreateResponse,
7
+ type McpRetrieveResponse,
8
+ type McpUpdateResponse,
9
+ type McpListResponse,
10
+ type McpDeleteResponse,
11
+ type McpRetrieveAppResponse,
12
+ type McpValidateResponse,
13
+ type McpCreateParams,
14
+ type McpUpdateParams,
15
+ type McpListParams,
16
+ type McpValidateParams,
17
+ } from './mcp';
@@ -0,0 +1,519 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as CommandAPI from './command';
5
+ import { Command, CommandGenerateParams, CommandGenerateResponse } from './command';
6
+ import { APIPromise } from '../../core/api-promise';
7
+ import { buildHeaders } from '../../internal/headers';
8
+ import { RequestOptions } from '../../internal/request-options';
9
+ import { path } from '../../internal/utils/path';
10
+
11
+ export class Mcp extends APIResource {
12
+ command: CommandAPI.Command = new CommandAPI.Command(this._client);
13
+
14
+ create(body: McpCreateParams, options?: RequestOptions): APIPromise<McpCreateResponse> {
15
+ return this._client.post('/api/v3/mcp/create', { body, ...options });
16
+ }
17
+
18
+ retrieve(id: string, options?: RequestOptions): APIPromise<McpRetrieveResponse> {
19
+ return this._client.get(path`/api/v3/mcp/${id}`, options);
20
+ }
21
+
22
+ update(
23
+ id: string,
24
+ body: McpUpdateParams | null | undefined = {},
25
+ options?: RequestOptions,
26
+ ): APIPromise<McpUpdateResponse> {
27
+ return this._client.patch(path`/api/v3/mcp/${id}`, { body, ...options });
28
+ }
29
+
30
+ list(query: McpListParams | null | undefined = {}, options?: RequestOptions): APIPromise<McpListResponse> {
31
+ return this._client.get('/api/v3/mcp/list', { query, ...options });
32
+ }
33
+
34
+ delete(id: string, options?: RequestOptions): APIPromise<McpDeleteResponse> {
35
+ return this._client.delete(path`/api/v3/mcp/${id}`, options);
36
+ }
37
+
38
+ retrieveApp(appKey: string, options?: RequestOptions): APIPromise<McpRetrieveAppResponse> {
39
+ return this._client.get(path`/api/v3/mcp/app/${appKey}`, options);
40
+ }
41
+
42
+ validate(
43
+ uuid: string,
44
+ params: McpValidateParams,
45
+ options?: RequestOptions,
46
+ ): APIPromise<McpValidateResponse> {
47
+ const { 'x-admin-token': xAdminToken } = params;
48
+ return this._client.get(path`/api/v3/mcp/validate/${uuid}`, {
49
+ ...options,
50
+ headers: buildHeaders([{ 'x-admin-token': xAdminToken }, options?.headers]),
51
+ });
52
+ }
53
+ }
54
+
55
+ export interface McpCreateResponse {
56
+ /**
57
+ * The ID of the MCP server
58
+ */
59
+ id: string;
60
+
61
+ /**
62
+ * The app IDs associated with the server
63
+ */
64
+ apps: Array<string>;
65
+
66
+ /**
67
+ * The member ID who created the server
68
+ */
69
+ member_id: string;
70
+
71
+ /**
72
+ * The name of the MCP server
73
+ */
74
+ name: string;
75
+
76
+ /**
77
+ * Signed URL for the MCP server
78
+ */
79
+ signed_url: string;
80
+
81
+ /**
82
+ * Last update timestamp of the MCP server
83
+ */
84
+ updated_at: string;
85
+
86
+ /**
87
+ * The URL of the MCP server
88
+ */
89
+ url: string;
90
+
91
+ /**
92
+ * Auth configuration
93
+ */
94
+ auth_configs?: Record<string, unknown>;
95
+
96
+ /**
97
+ * Connected account IDs
98
+ */
99
+ connected_account_ids?: Array<string>;
100
+ }
101
+
102
+ export interface McpRetrieveResponse {
103
+ /**
104
+ * The ID of the MCP server
105
+ */
106
+ id: string;
107
+
108
+ /**
109
+ * The app IDs associated with the server
110
+ */
111
+ apps: Array<string>;
112
+
113
+ /**
114
+ * Client ID associated with the MCP server
115
+ */
116
+ client_id: string;
117
+
118
+ /**
119
+ * Creation timestamp of the MCP server
120
+ */
121
+ created_at: string;
122
+
123
+ /**
124
+ * Whether the MCP server is deleted
125
+ */
126
+ deleted: boolean;
127
+
128
+ /**
129
+ * The member ID who created the server
130
+ */
131
+ member_id: string;
132
+
133
+ /**
134
+ * The name of the MCP server
135
+ */
136
+ name: string;
137
+
138
+ /**
139
+ * Last update timestamp of the MCP server
140
+ */
141
+ updated_at: string;
142
+
143
+ /**
144
+ * The URL of the MCP server
145
+ */
146
+ url: string;
147
+
148
+ /**
149
+ * Actions available for the MCP server
150
+ */
151
+ actions?: Record<string, unknown>;
152
+
153
+ /**
154
+ * Auth configuration
155
+ */
156
+ auth_configs?: Record<string, unknown>;
157
+
158
+ /**
159
+ * Connected account IDs
160
+ */
161
+ connected_account_ids?: Array<string>;
162
+
163
+ /**
164
+ * Whether custom auth headers are enabled
165
+ */
166
+ custom_auth_headers?: boolean;
167
+
168
+ /**
169
+ * Entity IDs associated with the server
170
+ */
171
+ entity_ids?: Array<string>;
172
+ }
173
+
174
+ export interface McpUpdateResponse {
175
+ /**
176
+ * The ID of the MCP server
177
+ */
178
+ id: string;
179
+
180
+ /**
181
+ * The app IDs associated with the server
182
+ */
183
+ apps: Array<string>;
184
+
185
+ /**
186
+ * Client ID associated with the MCP server
187
+ */
188
+ client_id: string;
189
+
190
+ /**
191
+ * Creation timestamp of the MCP server
192
+ */
193
+ created_at: string;
194
+
195
+ /**
196
+ * Whether the MCP server is deleted
197
+ */
198
+ deleted: boolean;
199
+
200
+ /**
201
+ * The member ID who created the server
202
+ */
203
+ member_id: string;
204
+
205
+ /**
206
+ * The name of the MCP server
207
+ */
208
+ name: string;
209
+
210
+ /**
211
+ * Last update timestamp of the MCP server
212
+ */
213
+ updated_at: string;
214
+
215
+ /**
216
+ * The URL of the MCP server
217
+ */
218
+ url: string;
219
+
220
+ /**
221
+ * Actions available for the MCP server
222
+ */
223
+ actions?: Record<string, unknown>;
224
+
225
+ /**
226
+ * Auth configuration
227
+ */
228
+ auth_configs?: Record<string, unknown>;
229
+
230
+ /**
231
+ * Connected account IDs
232
+ */
233
+ connected_account_ids?: Array<string>;
234
+
235
+ /**
236
+ * Whether custom auth headers are enabled
237
+ */
238
+ custom_auth_headers?: boolean;
239
+
240
+ /**
241
+ * Entity IDs associated with the server
242
+ */
243
+ entity_ids?: Array<string>;
244
+ }
245
+
246
+ export type McpListResponse = Array<McpListResponse.McpListResponseItem>;
247
+
248
+ export namespace McpListResponse {
249
+ export interface McpListResponseItem {
250
+ /**
251
+ * The ID of the MCP server
252
+ */
253
+ id: string;
254
+
255
+ /**
256
+ * The app IDs associated with the server
257
+ */
258
+ apps: Array<string>;
259
+
260
+ /**
261
+ * The member ID who created the server
262
+ */
263
+ member_id: string;
264
+
265
+ /**
266
+ * The name of the MCP server
267
+ */
268
+ name: string;
269
+
270
+ /**
271
+ * Last update timestamp of the MCP server
272
+ */
273
+ updated_at: string;
274
+
275
+ /**
276
+ * The URL of the MCP server
277
+ */
278
+ url: string;
279
+
280
+ /**
281
+ * Auth configuration
282
+ */
283
+ auth_configs?: Record<string, unknown>;
284
+
285
+ /**
286
+ * Connected account IDs
287
+ */
288
+ connected_account_ids?: Array<string>;
289
+ }
290
+ }
291
+
292
+ export interface McpDeleteResponse {
293
+ /**
294
+ * Operation success status
295
+ */
296
+ success: boolean;
297
+ }
298
+
299
+ export interface McpRetrieveAppResponse {
300
+ items: Array<McpRetrieveAppResponse.Item>;
301
+ }
302
+
303
+ export namespace McpRetrieveAppResponse {
304
+ export interface Item {
305
+ /**
306
+ * The ID of the MCP server
307
+ */
308
+ id: string;
309
+
310
+ /**
311
+ * The app IDs associated with the server
312
+ */
313
+ apps: Array<string>;
314
+
315
+ /**
316
+ * The member ID who created the server
317
+ */
318
+ member_id: string;
319
+
320
+ /**
321
+ * The name of the MCP server
322
+ */
323
+ name: string;
324
+
325
+ /**
326
+ * Last update timestamp of the MCP server
327
+ */
328
+ updated_at: string;
329
+
330
+ /**
331
+ * The URL of the MCP server
332
+ */
333
+ url: string;
334
+
335
+ /**
336
+ * Auth configuration
337
+ */
338
+ auth_configs?: Record<string, unknown>;
339
+
340
+ /**
341
+ * Connected account IDs
342
+ */
343
+ connected_account_ids?: Array<string>;
344
+ }
345
+ }
346
+
347
+ export interface McpValidateResponse {
348
+ /**
349
+ * The ID of the MCP server
350
+ */
351
+ id: string;
352
+
353
+ client: McpValidateResponse.Client;
354
+
355
+ /**
356
+ * The name of the MCP server
357
+ */
358
+ name: string;
359
+
360
+ /**
361
+ * The URL of the MCP server
362
+ */
363
+ url: string;
364
+
365
+ userData: McpValidateResponse.UserData;
366
+ }
367
+
368
+ export namespace McpValidateResponse {
369
+ export interface Client {
370
+ /**
371
+ * The client ID
372
+ */
373
+ id: string;
374
+
375
+ /**
376
+ * The organization ID
377
+ */
378
+ orgId: string;
379
+ }
380
+
381
+ export interface UserData {
382
+ /**
383
+ * The user ID
384
+ */
385
+ id: string;
386
+
387
+ /**
388
+ * The API key
389
+ */
390
+ apiKey: string;
391
+
392
+ /**
393
+ * The user email
394
+ */
395
+ email: string;
396
+ }
397
+ }
398
+
399
+ export interface McpCreateParams {
400
+ /**
401
+ * Name of the MCP server
402
+ */
403
+ name: string;
404
+
405
+ /**
406
+ * Actions available for the server
407
+ */
408
+ actions?: Array<string>;
409
+
410
+ /**
411
+ * App IDs associated with the server
412
+ */
413
+ apps?: Array<string>;
414
+
415
+ /**
416
+ * Auth configurations
417
+ */
418
+ auth_configs?: Record<string, unknown>;
419
+
420
+ /**
421
+ * Connected account IDs
422
+ */
423
+ connected_account_ids?: Array<string>;
424
+
425
+ /**
426
+ * Whether to use custom auth headers
427
+ */
428
+ custom_auth_headers?: boolean;
429
+
430
+ /**
431
+ * Entity IDs
432
+ */
433
+ entity_ids?: Array<string>;
434
+
435
+ /**
436
+ * Time to live for the server
437
+ */
438
+ ttl?: '1d' | '3d' | '1 month' | 'no expiration';
439
+ }
440
+
441
+ export interface McpUpdateParams {
442
+ /**
443
+ * Actions available for the server
444
+ */
445
+ actions?: Array<string>;
446
+
447
+ /**
448
+ * App IDs associated with the server
449
+ */
450
+ apps?: Array<string>;
451
+
452
+ /**
453
+ * Name of the MCP server
454
+ */
455
+ name?: string;
456
+ }
457
+
458
+ export interface McpListParams {
459
+ /**
460
+ * App IDs to filter by
461
+ */
462
+ app_id?: Array<string>;
463
+
464
+ /**
465
+ * Connected account IDs to filter by
466
+ */
467
+ connected_account_id?: Array<string>;
468
+
469
+ /**
470
+ * Cursor for pagination
471
+ */
472
+ cursor?: number | null;
473
+
474
+ /**
475
+ * Entity IDs to filter by
476
+ */
477
+ entity_id?: Array<string>;
478
+
479
+ /**
480
+ * Integration ID to filter by
481
+ */
482
+ integration_id?: string;
483
+
484
+ /**
485
+ * Limit for pagination
486
+ */
487
+ limit?: number | null;
488
+ }
489
+
490
+ export interface McpValidateParams {
491
+ /**
492
+ * Admin token
493
+ */
494
+ 'x-admin-token': string;
495
+ }
496
+
497
+ Mcp.Command = Command;
498
+
499
+ export declare namespace Mcp {
500
+ export {
501
+ type McpCreateResponse as McpCreateResponse,
502
+ type McpRetrieveResponse as McpRetrieveResponse,
503
+ type McpUpdateResponse as McpUpdateResponse,
504
+ type McpListResponse as McpListResponse,
505
+ type McpDeleteResponse as McpDeleteResponse,
506
+ type McpRetrieveAppResponse as McpRetrieveAppResponse,
507
+ type McpValidateResponse as McpValidateResponse,
508
+ type McpCreateParams as McpCreateParams,
509
+ type McpUpdateParams as McpUpdateParams,
510
+ type McpListParams as McpListParams,
511
+ type McpValidateParams as McpValidateParams,
512
+ };
513
+
514
+ export {
515
+ Command as Command,
516
+ type CommandGenerateResponse as CommandGenerateResponse,
517
+ type CommandGenerateParams as CommandGenerateParams,
518
+ };
519
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './mcp/index';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.5'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.1";
1
+ export declare const VERSION = "0.1.0-alpha.5";
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";
1
+ export declare const VERSION = "0.1.0-alpha.5";
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.1'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.5'; // 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'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.5'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map