@zerodot/todoist 0.0.0-stage → 1.0.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/README.md CHANGED
@@ -1,3 +1,28 @@
1
- # Temporary Holding Version
1
+ # @zerodot/todoist
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Todoist node package for zerodot.
4
+
5
+ ## Credential
6
+
7
+ Create a **Todoist API Token** credential with an API token from Todoist.
8
+
9
+ - API tokens can be found in Todoist under **Settings > Integrations > Developer**.
10
+
11
+ ## Operations
12
+
13
+ - **Task**: Get Many, Get, Create, Update, Close, Reopen, Move, Delete
14
+ - **Project**: Get Many, Get, Create, Update, Delete
15
+ - **Section**: Get Many, Get, Create, Update, Delete
16
+ - **Label**: Get Many, Get, Create, Update, Delete
17
+ - **Comment**: Get Many, Get, Create, Update, Delete
18
+
19
+ ## Notes
20
+
21
+ - Todoist API base URL: `https://api.todoist.com`
22
+ - This package uses Todoist API v1 endpoints under `/api/v1/...`.
23
+ - IDs are opaque strings.
24
+ - Paginated list endpoints return `{ results: [...], next_cursor: string | null }`. Use `cursor` and `limit` (1-200) to page through results.
25
+ - Task, project, section, label, and comment updates use POST requests and only send fields you provide. Task label updates replace the full label list.
26
+ - Task move requires exactly one destination: `projectId`, `sectionId`, or `parentId`.
27
+ - Comment get many/create requires exactly one of `taskId` or `projectId`.
28
+ - Close, reopen, and delete operations return `{ success: true }` when Todoist responds with no content.