@composio/client 0.1.0-alpha.55 → 0.1.0-alpha.56

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 (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/files.d.mts +42 -111
  4. package/resources/files.d.mts.map +1 -1
  5. package/resources/files.d.ts +42 -111
  6. package/resources/files.d.ts.map +1 -1
  7. package/resources/files.js +5 -5
  8. package/resources/files.mjs +5 -5
  9. package/resources/project/config.d.mts +3 -0
  10. package/resources/project/config.d.mts.map +1 -1
  11. package/resources/project/config.d.ts +3 -0
  12. package/resources/project/config.d.ts.map +1 -1
  13. package/resources/tool-router/session.d.mts +43 -0
  14. package/resources/tool-router/session.d.mts.map +1 -1
  15. package/resources/tool-router/session.d.ts +43 -0
  16. package/resources/tool-router/session.d.ts.map +1 -1
  17. package/resources/toolkits.d.mts +4 -0
  18. package/resources/toolkits.d.mts.map +1 -1
  19. package/resources/toolkits.d.ts +4 -0
  20. package/resources/toolkits.d.ts.map +1 -1
  21. package/resources/trigger-instances/trigger-instances.d.mts +0 -4
  22. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  23. package/resources/trigger-instances/trigger-instances.d.ts +0 -4
  24. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  25. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  26. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  27. package/src/resources/files.ts +43 -130
  28. package/src/resources/project/config.ts +6 -0
  29. package/src/resources/tool-router/session.ts +48 -0
  30. package/src/resources/toolkits.ts +5 -0
  31. package/src/resources/trigger-instances/trigger-instances.ts +0 -5
  32. package/src/version.ts +1 -1
  33. package/version.d.mts +1 -1
  34. package/version.d.ts +1 -1
  35. package/version.js +1 -1
  36. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.56 (2026-01-22)
4
+
5
+ Full Changelog: [v0.1.0-alpha.55...v0.1.0-alpha.56](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.55...v0.1.0-alpha.56)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([95499b7](https://github.com/ComposioHQ/composio-base-ts/commit/95499b7fcd9c0b6370ade8dae3f29ee7766846ff))
10
+ * **api:** api update ([d065d88](https://github.com/ComposioHQ/composio-base-ts/commit/d065d8860989dcd8fc6cfd15434f1f659b16da41))
11
+ * **api:** api update ([896d069](https://github.com/ComposioHQ/composio-base-ts/commit/896d069c3f899405901f6c414de0f81f52e9f854))
12
+
13
+
14
+ ### Chores
15
+
16
+ * **internal:** update `actions/checkout` version ([5e94935](https://github.com/ComposioHQ/composio-base-ts/commit/5e949351012dd3d3ab67b10059046078b69a2407))
17
+ * **internal:** upgrade babel, qs, js-yaml ([e00eae7](https://github.com/ComposioHQ/composio-base-ts/commit/e00eae74e6a7dd8d27036930485e366245c06a41))
18
+
3
19
  ## 0.1.0-alpha.55 (2026-01-14)
4
20
 
5
21
  Full Changelog: [v0.1.0-alpha.54...v0.1.0-alpha.55](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.54...v0.1.0-alpha.55)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/client",
3
- "version": "0.1.0-alpha.55",
3
+ "version": "0.1.0-alpha.56",
4
4
  "description": "The official TypeScript library for the Composio API",
5
5
  "author": "Composio <tech@composio.dev>",
6
6
  "types": "./index.d.ts",
@@ -19,11 +19,11 @@ export declare class Files extends APIResource {
19
19
  * @example
20
20
  * ```ts
21
21
  * const response = await client.files.createPresignedURL({
22
- * filename: 'photo.jpg',
23
- * md5: 'd41d8cd98f00b204e9800998ecf8427e',
24
- * mimetype: 'image/jpeg',
25
- * tool_slug: 'resize-image',
26
- * toolkit_slug: 'image-processing',
22
+ * filename: 'quarterly_report.pdf',
23
+ * md5: 'a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6',
24
+ * mimetype: 'application/pdf',
25
+ * tool_slug: 'GMAIL_SEND_EMAIL',
26
+ * toolkit_slug: 'gmail',
27
27
  * });
28
28
  * ```
29
29
  */
@@ -62,110 +62,40 @@ export declare namespace FileListResponse {
62
62
  toolkit_slug: string;
63
63
  }
64
64
  }
65
- export type FileCreatePresignedURLResponse = FileCreatePresignedURLResponse.UnionMember0 | FileCreatePresignedURLResponse.UnionMember1 | FileCreatePresignedURLResponse.UnionMember2;
65
+ export interface FileCreatePresignedURLResponse {
66
+ /**
67
+ * ID of the request file. Example: "req_file_9mZn4qR8sXwT"
68
+ */
69
+ id: string;
70
+ /**
71
+ * Object storage upload location. Example:
72
+ * "projects/prj_xyz789/requests/slack/SLACK_UPLOAD_FILE/document_9mZn4q.docx"
73
+ */
74
+ key: string;
75
+ metadata: FileCreatePresignedURLResponse.Metadata;
76
+ /**
77
+ * Presigned URL for upload. Example:
78
+ * "https://storage.composio.dev/projects/prj_xyz789/requests/slack/document_9mZn4q.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600..."
79
+ */
80
+ new_presigned_url: string;
81
+ /**
82
+ * @deprecated [DEPRECATED] Use new_presigned_url instead. Presigned URL for
83
+ * upload. Example:
84
+ * "https://storage.composio.dev/projects/prj_xyz789/requests/slack/document_9mZn4q.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600..."
85
+ */
86
+ newPresignedUrl: string;
87
+ /**
88
+ * @deprecated [DEPRECATED] Indicates this is a new file that needs to be uploaded
89
+ */
90
+ type: 'new';
91
+ }
66
92
  export declare namespace FileCreatePresignedURLResponse {
67
- interface UnionMember0 {
68
- /**
69
- * ID of the request file. Example: "f1e2d3c4b5a6"
70
- */
71
- id: string;
72
- /**
73
- * URL of the existing request file. Example:
74
- * "https://storage.example.com/projects/123/files/photo-1234.jpg"
75
- */
76
- existing_url: string;
77
- /**
78
- * [DEPRECATED] Use existing_url instead. URL of the existing request file.
79
- * Example: "https://storage.example.com/projects/123/files/photo-1234.jpg"
80
- */
81
- existingUrl: string;
82
- /**
83
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
84
- */
85
- key: string;
86
- metadata: UnionMember0.Metadata;
87
- /**
88
- * Indicates the file already exists and does not need to be uploaded again
89
- */
90
- type: 'existing';
91
- }
92
- namespace UnionMember0 {
93
- interface Metadata {
94
- /**
95
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
96
- * to set the blob type to `BlockBlob` while uploading the file
97
- */
98
- storage_backend: 's3' | 'azure_blob_storage';
99
- }
100
- }
101
- interface UnionMember1 {
102
- /**
103
- * ID of the request file. Example: "f1e2d3c4b5a6"
104
- */
105
- id: string;
106
- /**
107
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
108
- */
109
- key: string;
110
- metadata: UnionMember1.Metadata;
111
- /**
112
- * Presigned URL for upload. Example:
113
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
114
- */
115
- new_presigned_url: string;
116
- /**
117
- * [DEPRECATED] Use new_presigned_url instead. Presigned URL for upload. Example:
118
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
119
- */
120
- newPresignedUrl: string;
121
- /**
122
- * Indicates this is a new file that needs to be uploaded
123
- */
124
- type: 'new';
125
- }
126
- namespace UnionMember1 {
127
- interface Metadata {
128
- /**
129
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
130
- * to set the blob type to `BlockBlob` while uploading the file
131
- */
132
- storage_backend: 's3' | 'azure_blob_storage';
133
- }
134
- }
135
- interface UnionMember2 {
136
- /**
137
- * ID of the request file. Example: "f1e2d3c4b5a6"
138
- */
139
- id: string;
140
- /**
141
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
142
- */
143
- key: string;
144
- metadata: UnionMember2.Metadata;
93
+ interface Metadata {
145
94
  /**
146
- * Indicates this file exists but needs to be updated with a new version
95
+ * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
96
+ * to set the blob type to `BlockBlob` while uploading the file
147
97
  */
148
- type: 'update';
149
- /**
150
- * Presigned URL for upload. Example:
151
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
152
- */
153
- update_presigned_url: string;
154
- /**
155
- * [DEPRECATED] Use update_presigned_url instead. Presigned URL for upload.
156
- * Example:
157
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
158
- */
159
- updatePresignedUrl: string;
160
- }
161
- namespace UnionMember2 {
162
- interface Metadata {
163
- /**
164
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
165
- * to set the blob type to `BlockBlob` while uploading the file
166
- */
167
- storage_backend: 's3' | 'azure_blob_storage';
168
- }
98
+ storage_backend: 's3' | 'azure_blob_storage';
169
99
  }
170
100
  }
171
101
  export interface FileListParams {
@@ -191,24 +121,25 @@ export interface FileListParams {
191
121
  }
192
122
  export interface FileCreatePresignedURLParams {
193
123
  /**
194
- * Name of the original file. Example: "photo.jpg"
124
+ * Name of the original file. Example: "quarterly_report.pdf"
195
125
  */
196
126
  filename: string;
197
127
  /**
198
128
  * MD5 hash of the file for deduplication and integrity verification. Example:
199
- * "d41d8cd98f00b204e9800998ecf8427e"
129
+ * "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
200
130
  */
201
131
  md5: string;
202
132
  /**
203
- * Mime type of the original file. Example: "image/jpeg"
133
+ * Mime type of the original file. Example: "application/pdf", "image/png"
204
134
  */
205
135
  mimetype: string;
206
136
  /**
207
- * Slug of the action where this file belongs to. Example: "resize-image"
137
+ * Slug of the action where this file belongs to. Example: "GMAIL_SEND_EMAIL",
138
+ * "SLACK_UPLOAD_FILE"
208
139
  */
209
140
  tool_slug: string;
210
141
  /**
211
- * Slug of the app where this file belongs to. Example: "image-processing"
142
+ * Slug of the app where this file belongs to. Example: "gmail", "slack", "github"
212
143
  */
213
144
  toolkit_slug: string;
214
145
  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ED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -19,11 +19,11 @@ export declare class Files extends APIResource {
19
19
  * @example
20
20
  * ```ts
21
21
  * const response = await client.files.createPresignedURL({
22
- * filename: 'photo.jpg',
23
- * md5: 'd41d8cd98f00b204e9800998ecf8427e',
24
- * mimetype: 'image/jpeg',
25
- * tool_slug: 'resize-image',
26
- * toolkit_slug: 'image-processing',
22
+ * filename: 'quarterly_report.pdf',
23
+ * md5: 'a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6',
24
+ * mimetype: 'application/pdf',
25
+ * tool_slug: 'GMAIL_SEND_EMAIL',
26
+ * toolkit_slug: 'gmail',
27
27
  * });
28
28
  * ```
29
29
  */
@@ -62,110 +62,40 @@ export declare namespace FileListResponse {
62
62
  toolkit_slug: string;
63
63
  }
64
64
  }
65
- export type FileCreatePresignedURLResponse = FileCreatePresignedURLResponse.UnionMember0 | FileCreatePresignedURLResponse.UnionMember1 | FileCreatePresignedURLResponse.UnionMember2;
65
+ export interface FileCreatePresignedURLResponse {
66
+ /**
67
+ * ID of the request file. Example: "req_file_9mZn4qR8sXwT"
68
+ */
69
+ id: string;
70
+ /**
71
+ * Object storage upload location. Example:
72
+ * "projects/prj_xyz789/requests/slack/SLACK_UPLOAD_FILE/document_9mZn4q.docx"
73
+ */
74
+ key: string;
75
+ metadata: FileCreatePresignedURLResponse.Metadata;
76
+ /**
77
+ * Presigned URL for upload. Example:
78
+ * "https://storage.composio.dev/projects/prj_xyz789/requests/slack/document_9mZn4q.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600..."
79
+ */
80
+ new_presigned_url: string;
81
+ /**
82
+ * @deprecated [DEPRECATED] Use new_presigned_url instead. Presigned URL for
83
+ * upload. Example:
84
+ * "https://storage.composio.dev/projects/prj_xyz789/requests/slack/document_9mZn4q.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600..."
85
+ */
86
+ newPresignedUrl: string;
87
+ /**
88
+ * @deprecated [DEPRECATED] Indicates this is a new file that needs to be uploaded
89
+ */
90
+ type: 'new';
91
+ }
66
92
  export declare namespace FileCreatePresignedURLResponse {
67
- interface UnionMember0 {
68
- /**
69
- * ID of the request file. Example: "f1e2d3c4b5a6"
70
- */
71
- id: string;
72
- /**
73
- * URL of the existing request file. Example:
74
- * "https://storage.example.com/projects/123/files/photo-1234.jpg"
75
- */
76
- existing_url: string;
77
- /**
78
- * [DEPRECATED] Use existing_url instead. URL of the existing request file.
79
- * Example: "https://storage.example.com/projects/123/files/photo-1234.jpg"
80
- */
81
- existingUrl: string;
82
- /**
83
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
84
- */
85
- key: string;
86
- metadata: UnionMember0.Metadata;
87
- /**
88
- * Indicates the file already exists and does not need to be uploaded again
89
- */
90
- type: 'existing';
91
- }
92
- namespace UnionMember0 {
93
- interface Metadata {
94
- /**
95
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
96
- * to set the blob type to `BlockBlob` while uploading the file
97
- */
98
- storage_backend: 's3' | 'azure_blob_storage';
99
- }
100
- }
101
- interface UnionMember1 {
102
- /**
103
- * ID of the request file. Example: "f1e2d3c4b5a6"
104
- */
105
- id: string;
106
- /**
107
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
108
- */
109
- key: string;
110
- metadata: UnionMember1.Metadata;
111
- /**
112
- * Presigned URL for upload. Example:
113
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
114
- */
115
- new_presigned_url: string;
116
- /**
117
- * [DEPRECATED] Use new_presigned_url instead. Presigned URL for upload. Example:
118
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
119
- */
120
- newPresignedUrl: string;
121
- /**
122
- * Indicates this is a new file that needs to be uploaded
123
- */
124
- type: 'new';
125
- }
126
- namespace UnionMember1 {
127
- interface Metadata {
128
- /**
129
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
130
- * to set the blob type to `BlockBlob` while uploading the file
131
- */
132
- storage_backend: 's3' | 'azure_blob_storage';
133
- }
134
- }
135
- interface UnionMember2 {
136
- /**
137
- * ID of the request file. Example: "f1e2d3c4b5a6"
138
- */
139
- id: string;
140
- /**
141
- * S3 upload location. Example: "projects/123/files/photo-1234.jpg"
142
- */
143
- key: string;
144
- metadata: UnionMember2.Metadata;
93
+ interface Metadata {
145
94
  /**
146
- * Indicates this file exists but needs to be updated with a new version
95
+ * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
96
+ * to set the blob type to `BlockBlob` while uploading the file
147
97
  */
148
- type: 'update';
149
- /**
150
- * Presigned URL for upload. Example:
151
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
152
- */
153
- update_presigned_url: string;
154
- /**
155
- * [DEPRECATED] Use update_presigned_url instead. Presigned URL for upload.
156
- * Example:
157
- * "https://storage.example.com/projects/123/files/photo-1234.jpg?X-Amz-Algorithm=..."
158
- */
159
- updatePresignedUrl: string;
160
- }
161
- namespace UnionMember2 {
162
- interface Metadata {
163
- /**
164
- * Storage backend used for the file. If this is azure, use `x-ms-blob-type` header
165
- * to set the blob type to `BlockBlob` while uploading the file
166
- */
167
- storage_backend: 's3' | 'azure_blob_storage';
168
- }
98
+ storage_backend: 's3' | 'azure_blob_storage';
169
99
  }
170
100
  }
171
101
  export interface FileListParams {
@@ -191,24 +121,25 @@ export interface FileListParams {
191
121
  }
192
122
  export interface FileCreatePresignedURLParams {
193
123
  /**
194
- * Name of the original file. Example: "photo.jpg"
124
+ * Name of the original file. Example: "quarterly_report.pdf"
195
125
  */
196
126
  filename: string;
197
127
  /**
198
128
  * MD5 hash of the file for deduplication and integrity verification. Example:
199
- * "d41d8cd98f00b204e9800998ecf8427e"
129
+ * "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
200
130
  */
201
131
  md5: string;
202
132
  /**
203
- * Mime type of the original file. Example: "image/jpeg"
133
+ * Mime type of the original file. Example: "application/pdf", "image/png"
204
134
  */
205
135
  mimetype: string;
206
136
  /**
207
- * Slug of the action where this file belongs to. Example: "resize-image"
137
+ * Slug of the action where this file belongs to. Example: "GMAIL_SEND_EMAIL",
138
+ * "SLACK_UPLOAD_FILE"
208
139
  */
209
140
  tool_slug: string;
210
141
  /**
211
- * Slug of the app where this file belongs to. Example: "image-processing"
142
+ * Slug of the app where this file belongs to. Example: "gmail", "slack", "github"
212
143
  */
213
144
  toolkit_slug: string;
214
145
  }
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAChB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEpC,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,IAAI;QACnB;;WA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7B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -23,11 +23,11 @@ class Files extends resource_1.APIResource {
23
23
  * @example
24
24
  * ```ts
25
25
  * const response = await client.files.createPresignedURL({
26
- * filename: 'photo.jpg',
27
- * md5: 'd41d8cd98f00b204e9800998ecf8427e',
28
- * mimetype: 'image/jpeg',
29
- * tool_slug: 'resize-image',
30
- * toolkit_slug: 'image-processing',
26
+ * filename: 'quarterly_report.pdf',
27
+ * md5: 'a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6',
28
+ * mimetype: 'application/pdf',
29
+ * tool_slug: 'GMAIL_SEND_EMAIL',
30
+ * toolkit_slug: 'gmail',
31
31
  * });
32
32
  * ```
33
33
  */
@@ -20,11 +20,11 @@ export class Files extends APIResource {
20
20
  * @example
21
21
  * ```ts
22
22
  * const response = await client.files.createPresignedURL({
23
- * filename: 'photo.jpg',
24
- * md5: 'd41d8cd98f00b204e9800998ecf8427e',
25
- * mimetype: 'image/jpeg',
26
- * tool_slug: 'resize-image',
27
- * toolkit_slug: 'image-processing',
23
+ * filename: 'quarterly_report.pdf',
24
+ * md5: 'a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6',
25
+ * mimetype: 'application/pdf',
26
+ * tool_slug: 'GMAIL_SEND_EMAIL',
27
+ * toolkit_slug: 'gmail',
28
28
  * });
29
29
  * ```
30
30
  */
@@ -35,6 +35,7 @@ export interface ConfigRetrieveResponse {
35
35
  is_composio_link_enabled_for_managed_auth?: boolean;
36
36
  logo_url?: string;
37
37
  require_mcp_api_key?: boolean;
38
+ signed_url_file_expiry_in_seconds?: number;
38
39
  }
39
40
  export interface ConfigUpdateResponse {
40
41
  is_2FA_enabled: boolean;
@@ -48,6 +49,7 @@ export interface ConfigUpdateResponse {
48
49
  is_composio_link_enabled_for_managed_auth?: boolean;
49
50
  logo_url?: string;
50
51
  require_mcp_api_key?: boolean;
52
+ signed_url_file_expiry_in_seconds?: number;
51
53
  }
52
54
  export interface ConfigUpdateParams {
53
55
  display_name?: string;
@@ -61,6 +63,7 @@ export interface ConfigUpdateParams {
61
63
  logo_url?: string;
62
64
  mask_secret_keys_in_connected_account?: boolean;
63
65
  require_mcp_api_key?: boolean;
66
+ signed_url_file_expiry_in_seconds?: number;
64
67
  }
65
68
  export declare namespace Config {
66
69
  export { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE;;;;;;;;;OASG;IACH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AAO,CAAC;IAEzB;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;IAEpD,sBAAsB,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAExD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAEhD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,iCAAiC,CAAC,EAAE,MAAM,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -35,6 +35,7 @@ export interface ConfigRetrieveResponse {
35
35
  is_composio_link_enabled_for_managed_auth?: boolean;
36
36
  logo_url?: string;
37
37
  require_mcp_api_key?: boolean;
38
+ signed_url_file_expiry_in_seconds?: number;
38
39
  }
39
40
  export interface ConfigUpdateResponse {
40
41
  is_2FA_enabled: boolean;
@@ -48,6 +49,7 @@ export interface ConfigUpdateResponse {
48
49
  is_composio_link_enabled_for_managed_auth?: boolean;
49
50
  logo_url?: string;
50
51
  require_mcp_api_key?: boolean;
52
+ signed_url_file_expiry_in_seconds?: number;
51
53
  }
52
54
  export interface ConfigUpdateParams {
53
55
  display_name?: string;
@@ -61,6 +63,7 @@ export interface ConfigUpdateParams {
61
63
  logo_url?: string;
62
64
  mask_secret_keys_in_connected_account?: boolean;
63
65
  require_mcp_api_key?: boolean;
66
+ signed_url_file_expiry_in_seconds?: number;
64
67
  }
65
68
  export declare namespace Config {
66
69
  export { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,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AAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,iCAAiC,CAAC,EAAE,MAAM,CAAC;CAC5C;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;IAEpD,sBAAsB,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAExD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAEhD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,iCAAiC,CAAC,EAAE,MAAM,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -112,6 +112,11 @@ export interface SessionCreateResponse {
112
112
  * List of available tools in this session
113
113
  */
114
114
  tool_router_tools: Array<string>;
115
+ /**
116
+ * Experimental features including the generated system prompt. Only returned on
117
+ * session creation, not on GET.
118
+ */
119
+ experimental?: SessionCreateResponse.Experimental;
115
120
  }
116
121
  export declare namespace SessionCreateResponse {
117
122
  /**
@@ -245,6 +250,17 @@ export declare namespace SessionCreateResponse {
245
250
  */
246
251
  url: string;
247
252
  }
253
+ /**
254
+ * Experimental features including the generated system prompt. Only returned on
255
+ * session creation, not on GET.
256
+ */
257
+ interface Experimental {
258
+ /**
259
+ * The assistive system prompt to inject into your agent for optimal tool router
260
+ * usage
261
+ */
262
+ assistive_prompt: string;
263
+ }
248
264
  }
249
265
  export interface SessionRetrieveResponse {
250
266
  /**
@@ -666,6 +682,11 @@ export interface SessionCreateParams {
666
682
  connected_accounts?: {
667
683
  [key: string]: string;
668
684
  };
685
+ /**
686
+ * Experimental features - not stable, may be modified or removed in future
687
+ * versions.
688
+ */
689
+ experimental?: SessionCreateParams.Experimental;
669
690
  /**
670
691
  * Configuration for connection management settings
671
692
  */
@@ -695,6 +716,28 @@ export interface SessionCreateParams {
695
716
  workbench?: SessionCreateParams.Workbench;
696
717
  }
697
718
  export declare namespace SessionCreateParams {
719
+ /**
720
+ * Experimental features - not stable, may be modified or removed in future
721
+ * versions.
722
+ */
723
+ interface Experimental {
724
+ /**
725
+ * Customize assistive prompt generation (e.g., timezone).
726
+ */
727
+ assistive_prompt_config?: Experimental.AssistivePromptConfig;
728
+ }
729
+ namespace Experimental {
730
+ /**
731
+ * Customize assistive prompt generation (e.g., timezone).
732
+ */
733
+ interface AssistivePromptConfig {
734
+ /**
735
+ * IANA timezone identifier (e.g., 'America/New_York', 'Europe/London'). Used to
736
+ * customize the system prompt with timezone-aware instructions.
737
+ */
738
+ user_timezone?: string;
739
+ }
740
+ }
698
741
  /**
699
742
  * Configuration for connection management settings
700
743
  */