@slates-integrations/google-chat 0.1.0-rc.2 → 0.1.0
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs/SPEC.md +5 -2
- package/package.json +3 -3
package/docs/SPEC.md
CHANGED
|
@@ -18,7 +18,7 @@ Google Chat is Google Workspace's team messaging service. This integration expos
|
|
|
18
18
|
| `manage_reaction` | User OAuth | Create, list, and delete reactions |
|
|
19
19
|
| `find_direct_message` | User OAuth or Chat app | `spaces.findDirectMessage` |
|
|
20
20
|
| `get_attachment` | Chat app only | `spaces.messages.attachments.get` metadata |
|
|
21
|
-
| `download_attachment` | User OAuth or Chat app | `media.download`;
|
|
21
|
+
| `download_attachment` | User OAuth or Chat app | `media.download`; returns a downloadable file |
|
|
22
22
|
| `upload_attachment` | User OAuth or Chat app | Multipart `media.upload`; returns an upload token, not a posted message |
|
|
23
23
|
| `list_space_events` | User OAuth | List events or get one event by ID |
|
|
24
24
|
|
|
@@ -58,7 +58,10 @@ When the search endpoint fails with HTTP 403/`PERMISSION_DENIED` or 404 (tenant
|
|
|
58
58
|
|
|
59
59
|
`upload_attachment` sends multipart bytes to the upload endpoint and returns `attachmentUploadToken` and, when available, the attachment data resource name. To post the file, call `send_message` for the same space and pass the opaque upload token—not the resource name—in `attachmentUploadTokens`. The upload alone does not create a visible Chat message, and the message target must be the same space used for the upload.
|
|
60
60
|
|
|
61
|
-
`get_attachment` reads metadata with app authentication. `download_attachment`
|
|
61
|
+
`get_attachment` reads metadata with app authentication. `download_attachment`
|
|
62
|
+
returns Google Chat-hosted bytes as a downloadable file and only file metadata
|
|
63
|
+
in structured output. Attachments whose source is `DRIVE_FILE` belong to the
|
|
64
|
+
Google Drive download flow.
|
|
62
65
|
|
|
63
66
|
## Configuration and resource names
|
|
64
67
|
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@lowerdeck/error": "^1.1.0",
|
|
12
12
|
"@types/node": "^20",
|
|
13
|
-
"slates": "1.0.0-rc.
|
|
13
|
+
"slates": "1.0.0-rc.17",
|
|
14
14
|
"zod": "^4.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@slates/test": "1.0.0-rc.
|
|
17
|
+
"@slates/test": "1.0.0-rc.14",
|
|
18
18
|
"typescript": "^5",
|
|
19
19
|
"vitest": "^3.1.2"
|
|
20
20
|
},
|
|
21
|
-
"version": "0.1.0
|
|
21
|
+
"version": "0.1.0",
|
|
22
22
|
"files": [
|
|
23
23
|
"dist/**",
|
|
24
24
|
"docs/**",
|