n8n-nodes-ticktick 1.2.2 → 2.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 +94 -140
- package/dist/credentials/TickTickOAuth2Api.credentials.d.ts +2 -1
- package/dist/credentials/TickTickOAuth2Api.credentials.js +32 -31
- package/dist/credentials/TickTickOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/TickTickSessionApi.credentials.d.ts +8 -0
- package/dist/credentials/TickTickSessionApi.credentials.js +40 -0
- package/dist/credentials/TickTickSessionApi.credentials.js.map +1 -0
- package/dist/credentials/TickTickTokenApi.credentials.d.ts +2 -1
- package/dist/credentials/TickTickTokenApi.credentials.js +1 -0
- package/dist/credentials/TickTickTokenApi.credentials.js.map +1 -1
- package/dist/nodes/TickTick/GenericFunctions.d.ts +4 -16
- package/dist/nodes/TickTick/GenericFunctions.js +18 -132
- package/dist/nodes/TickTick/GenericFunctions.js.map +1 -1
- package/dist/nodes/TickTick/TickTick.node.d.ts +20 -2
- package/dist/nodes/TickTick/TickTick.node.js +335 -274
- package/dist/nodes/TickTick/TickTick.node.js.map +1 -1
- package/dist/nodes/TickTick/helpers/apiRequest.d.ts +5 -0
- package/dist/nodes/TickTick/helpers/apiRequest.js +115 -0
- package/dist/nodes/TickTick/helpers/apiRequest.js.map +1 -0
- package/dist/nodes/TickTick/helpers/constants.d.ts +4 -0
- package/dist/nodes/TickTick/helpers/constants.js +54 -0
- package/dist/nodes/TickTick/helpers/constants.js.map +1 -0
- package/dist/nodes/TickTick/helpers/loadOptions.d.ts +42 -0
- package/dist/nodes/TickTick/helpers/loadOptions.js +327 -0
- package/dist/nodes/TickTick/helpers/loadOptions.js.map +1 -0
- package/dist/nodes/TickTick/helpers/sessionManager.d.ts +13 -0
- package/dist/nodes/TickTick/helpers/sessionManager.js +161 -0
- package/dist/nodes/TickTick/helpers/sessionManager.js.map +1 -0
- package/dist/nodes/TickTick/helpers/utils.d.ts +1 -0
- package/dist/nodes/TickTick/helpers/utils.js +15 -0
- package/dist/nodes/TickTick/helpers/utils.js.map +1 -0
- package/dist/nodes/TickTick/resources/focus/FocusDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/focus/FocusDescription.js +37 -0
- package/dist/nodes/TickTick/resources/focus/FocusDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/focus/index.d.ts +2 -0
- package/dist/nodes/TickTick/{descriptions → resources/focus}/index.js +2 -2
- package/dist/nodes/TickTick/resources/focus/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.d.ts +3 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.js +53 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.js.map +1 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.d.ts +3 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.js +56 -0
- package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.js.map +1 -0
- package/dist/nodes/TickTick/resources/focus/operations/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/focus/operations/index.js +10 -0
- package/dist/nodes/TickTick/resources/focus/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/HabitsDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/HabitsDescription.js +79 -0
- package/dist/nodes/TickTick/resources/habits/HabitsDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/habits/index.js +19 -0
- package/dist/nodes/TickTick/resources/habits/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.js +30 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.js +66 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.js +137 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.js +37 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitGet.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitGet.js +30 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitGet.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitList.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitList.js +30 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitList.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.js +30 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.js +145 -0
- package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.js.map +1 -0
- package/dist/nodes/TickTick/resources/habits/operations/index.d.ts +8 -0
- package/dist/nodes/TickTick/resources/habits/operations/index.js +28 -0
- package/dist/nodes/TickTick/resources/habits/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/index.d.ts +34 -0
- package/dist/nodes/TickTick/resources/index.js +46 -0
- package/dist/nodes/TickTick/resources/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.js +51 -0
- package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/projectGroups/index.js +19 -0
- package/dist/nodes/TickTick/resources/projectGroups/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.js +59 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.d.ts +3 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.js +41 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.d.ts +3 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.js +14 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.js +68 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.js.map +1 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/index.d.ts +4 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/index.js +16 -0
- package/dist/nodes/TickTick/resources/projectGroups/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/ProjectsDescription.js +56 -0
- package/dist/nodes/TickTick/resources/projects/ProjectsDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/index.d.ts +1 -0
- package/dist/nodes/TickTick/resources/projects/index.js +18 -0
- package/dist/nodes/TickTick/resources/projects/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.d.ts +5 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.js +136 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.d.ts +9 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.js +77 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.d.ts +5 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.js +151 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.d.ts +5 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.js +186 -0
- package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.js.map +1 -0
- package/dist/nodes/TickTick/resources/projects/operations/index.d.ts +4 -0
- package/dist/nodes/TickTick/resources/projects/operations/index.js +21 -0
- package/dist/nodes/TickTick/resources/projects/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/sync/SyncDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/sync/SyncDescription.js +28 -0
- package/dist/nodes/TickTick/resources/sync/SyncDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/sync/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/sync/index.js +19 -0
- package/dist/nodes/TickTick/resources/sync/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/sync/operations/SyncAll.d.ts +3 -0
- package/dist/nodes/TickTick/resources/sync/operations/SyncAll.js +11 -0
- package/dist/nodes/TickTick/resources/sync/operations/SyncAll.js.map +1 -0
- package/dist/nodes/TickTick/resources/sync/operations/index.d.ts +1 -0
- package/dist/nodes/TickTick/resources/sync/operations/index.js +7 -0
- package/dist/nodes/TickTick/resources/sync/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/TagsDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/TagsDescription.js +65 -0
- package/dist/nodes/TickTick/resources/tags/TagsDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/tags/index.js +19 -0
- package/dist/nodes/TickTick/resources/tags/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagCreate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagCreate.js +73 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagCreate.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagDelete.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagDelete.js +60 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagDelete.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagList.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagList.js +12 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagList.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagMerge.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagMerge.js +105 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagMerge.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagRename.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagRename.js +81 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagRename.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.js +131 -0
- package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.js.map +1 -0
- package/dist/nodes/TickTick/resources/tags/operations/index.d.ts +6 -0
- package/dist/nodes/TickTick/resources/tags/operations/index.js +22 -0
- package/dist/nodes/TickTick/resources/tags/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/TasksDescription.js +102 -0
- package/dist/nodes/TickTick/resources/tasks/TasksDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/index.d.ts +1 -0
- package/dist/nodes/TickTick/resources/tasks/index.js +18 -0
- package/dist/nodes/TickTick/resources/tasks/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.d.ts +10 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.js +113 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.d.ts +5 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.js +366 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.d.ts +10 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.js +120 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.d.ts +5 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.js +93 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.js +170 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.js +71 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.js +41 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.js +117 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.d.ts +3 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.js +161 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.d.ts +5 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.js +405 -0
- package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.js.map +1 -0
- package/dist/nodes/TickTick/resources/tasks/operations/index.d.ts +10 -0
- package/dist/nodes/TickTick/resources/tasks/operations/index.js +27 -0
- package/dist/nodes/TickTick/resources/tasks/operations/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/UserDescription.d.ts +3 -0
- package/dist/nodes/TickTick/resources/user/UserDescription.js +44 -0
- package/dist/nodes/TickTick/resources/user/UserDescription.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/index.d.ts +2 -0
- package/dist/nodes/TickTick/resources/user/index.js +19 -0
- package/dist/nodes/TickTick/resources/user/index.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.d.ts +3 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.js +11 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.d.ts +3 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.js +11 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.d.ts +3 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.js +11 -0
- package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.js.map +1 -0
- package/dist/nodes/TickTick/resources/user/operations/index.d.ts +3 -0
- package/dist/nodes/TickTick/resources/user/operations/index.js +13 -0
- package/dist/nodes/TickTick/resources/user/operations/index.js.map +1 -0
- package/dist/package.json +21 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +88 -75
- package/dist/nodes/TickTick/descriptions/ProjectDescription.js +0 -306
- package/dist/nodes/TickTick/descriptions/ProjectDescription.js.map +0 -1
- package/dist/nodes/TickTick/descriptions/TaskDescription.js +0 -450
- package/dist/nodes/TickTick/descriptions/TaskDescription.js.map +0 -1
- package/dist/nodes/TickTick/descriptions/index.d.ts +0 -2
- package/dist/nodes/TickTick/descriptions/index.js.map +0 -1
- package/dist/nodes/TickTick/ticktick.svg +0 -8
- /package/dist/nodes/TickTick/{descriptions/ProjectDescription.d.ts → resources/projects/ProjectsDescription.d.ts} +0 -0
- /package/dist/nodes/TickTick/{descriptions/TaskDescription.d.ts → resources/tasks/TasksDescription.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
# n8n-nodes-ticktick
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
n8n community node for integrating TickTick with your workflows. Manage tasks, projects, and productivity seamlessly.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Table of Contents
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- [Installation](#installation)
|
|
8
|
+
- [Credentials](#credentials)
|
|
9
|
+
- [Task Operations](#task-operations)
|
|
10
|
+
- [Project Operations](#project-operations)
|
|
11
|
+
- [Compatibility](#compatibility)
|
|
12
|
+
- [Known Issues](#known-issues)
|
|
13
|
+
- [Resources](#resources)
|
|
14
|
+
- [Version History](#version-history)
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[Installation](#installation)
|
|
12
|
-
[Task Operations](#task-operations)
|
|
13
|
-
[Project Operations](#projectoperations)
|
|
14
|
-
[Credentials](#credentials)
|
|
15
|
-
[Compatibility](#compatibility)
|
|
16
|
-
[Known Issues](#known-issues)
|
|
17
|
-
[Resources](#resources)
|
|
18
|
-
[Version history](#version-history)
|
|
19
|
-
|
|
20
|
-
## 📦 Installation
|
|
16
|
+
## Installation
|
|
21
17
|
|
|
22
18
|
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
23
19
|
|
|
@@ -27,178 +23,136 @@ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes
|
|
|
27
23
|
5. Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
|
|
28
24
|
6. Select Install. n8n installs the node, and returns to the Community Nodes list in Settings.
|
|
29
25
|
|
|
30
|
-
|
|
26
|
+
## Credentials
|
|
27
|
+
|
|
28
|
+
### TickTick Session API (V2) - Email/Password
|
|
31
29
|
|
|
32
|
-
|
|
30
|
+
For access to V2 API features (sync, tags, etc.):
|
|
33
31
|
|
|
34
|
-
|
|
32
|
+
1. In n8n: Create new credential → **TickTick Session API**
|
|
33
|
+
2. Enter your TickTick **email** and **password**
|
|
34
|
+
3. Save
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
**Note**: This authentication method provides access to TickTick's undocumented V2 API, which offers more features than the official V1 API.
|
|
37
|
+
|
|
38
|
+
### TickTick API Token (V1) - Recommended for V1 API
|
|
37
39
|
|
|
38
|
-
Steps:
|
|
39
40
|
1. In TickTick: Account Settings → API Token → "Manage"
|
|
40
41
|
2. Copy token
|
|
41
|
-
3. Create credential
|
|
42
|
-
4. Paste token → Save
|
|
43
|
-
|
|
42
|
+
3. In n8n: Create new credential → **TickTick API Token** → Paste token → Save
|
|
44
43
|
|
|
45
|
-
###
|
|
44
|
+
### TickTick OAuth2 (V1)
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
3. Go to Manage Apps → New App
|
|
51
|
-
4. Copy **Client ID** & **Client Secret**
|
|
52
|
-
5. In n8n, create credential **TickTick OAuth2 API**
|
|
53
|
-
6. Paste credentials & connect
|
|
46
|
+
1. Visit [TickTick Developer](https://developer.ticktick.com/) → Manage Apps → New App
|
|
47
|
+
2. Copy **Client ID** & **Client Secret**
|
|
48
|
+
3. In n8n: Create new credential → **TickTick OAuth2 API** → Paste credentials → Connect
|
|
54
49
|
|
|
55
50
|
---
|
|
56
51
|
|
|
57
|
-
##
|
|
58
|
-
|
|
59
|
-
### 1. Create a Task
|
|
60
|
-
|
|
61
|
-
Parameters:
|
|
62
|
-
|
|
63
|
-
- Task Title (required)
|
|
64
|
-
- Task Content
|
|
65
|
-
- Description of Checklist
|
|
66
|
-
- All day
|
|
67
|
-
- Start date
|
|
68
|
-
- Due date
|
|
69
|
-
|
|
70
|
-
>> use Additional Fields or JSON Parameters
|
|
71
|
-
>> Subtasks will be part of the next release
|
|
72
|
-
|
|
73
|
-
### 2. Get Task By Project ID And Task ID
|
|
74
|
-
|
|
75
|
-
Parameters:
|
|
76
|
-
|
|
77
|
-
- Task identifier (required)
|
|
78
|
-
- Project identifier (required)
|
|
79
|
-
|
|
80
|
-
### 3. Update a Task
|
|
81
|
-
|
|
82
|
-
Parameters:
|
|
83
|
-
|
|
84
|
-
- Task identifier (required)
|
|
85
|
-
- Project identifier (required)
|
|
86
|
-
- Task Title
|
|
87
|
-
- Task Content
|
|
88
|
-
- Description of Checklist
|
|
89
|
-
- All day
|
|
90
|
-
- Start date
|
|
91
|
-
- Due date
|
|
92
|
-
|
|
93
|
-
>> use Additional Fields or JSON Parameters
|
|
94
|
-
|
|
95
|
-
### 4. Complete a Task
|
|
52
|
+
## TickTick V1 API (Official)
|
|
96
53
|
|
|
97
|
-
|
|
54
|
+
The following operations use the official TickTick Open API (V1) and work with **API Token** or **OAuth2** credentials.
|
|
98
55
|
|
|
99
|
-
|
|
100
|
-
- Project identifier (required)
|
|
56
|
+
### Task Operations (V1)
|
|
101
57
|
|
|
102
|
-
|
|
58
|
+
| Operation | Required Parameters | Optional/Additional Fields |
|
|
59
|
+
|-----------|-------------------|--------------------------|
|
|
60
|
+
| **Create** | Title | Project, All Day, Content, Description, Due Date, Priority, Reminders, Start Date, Status, Items (Subtasks) |
|
|
61
|
+
| **Get** | Task ID, Project ID | — |
|
|
62
|
+
| **Update** | Task ID | Project ID, Title, Content, Description, Due Date, Priority, Reminders, Start Date, Status, Items, All Day |
|
|
63
|
+
| **Complete** | Task ID, Project ID | — |
|
|
64
|
+
| **Delete** | Task ID, Project ID | — |
|
|
103
65
|
|
|
104
|
-
|
|
66
|
+
### Project Operations (V1)
|
|
105
67
|
|
|
106
|
-
|
|
107
|
-
|
|
68
|
+
| Operation | Mode/Type | Required Parameters | Optional Fields |
|
|
69
|
+
|-----------|-----------|-------------------|-----------------|
|
|
70
|
+
| **Create** | — | Project Name | Color, Kind, Sort Order, View Mode |
|
|
71
|
+
| **Get** | All Projects | — | — |
|
|
72
|
+
| **Get** | Specific Project | Project ID | — |
|
|
73
|
+
| **Get** | With Tasks & Columns | Project ID | — |
|
|
74
|
+
| **Update** | — | Project ID | Name, Color, Kind, Sort Order, View Mode |
|
|
75
|
+
| **Delete** | — | Project ID | — |
|
|
108
76
|
|
|
109
77
|
---
|
|
110
78
|
|
|
111
|
-
##
|
|
79
|
+
## TickTick V2 API (Undocumented Session API)
|
|
112
80
|
|
|
113
|
-
|
|
81
|
+
The following operations require **TickTick Session API** (Email/Password) credentials and provide access to advanced features not available in the V1 API.
|
|
114
82
|
|
|
115
|
-
|
|
83
|
+
> **Note**: V2 authentication also supports all V1 task operations (Create, Get, Update, Complete, Delete) and all V1 project operations (Create, Get, Update, Delete). The operations listed below are **additional V2-only features** not available with V1 API Token or OAuth2 credentials.
|
|
116
84
|
|
|
117
|
-
|
|
118
|
-
- Color
|
|
119
|
-
- View Mode (List, Kanban, Timeline)
|
|
120
|
-
- Kind (Task, Note)
|
|
85
|
+
### Task Operations (V2 Only)
|
|
121
86
|
|
|
122
|
-
|
|
87
|
+
| Operation | Description | Required Parameters | Optional/Additional Fields |
|
|
88
|
+
|-----------|-------------|-------------------|--------------------------|
|
|
89
|
+
| **List All** | List all tasks across projects | — | Limit, Project Filter, Status Filter (All/Active/Completed), Include Deleted |
|
|
90
|
+
| **List Completed** | Get completed tasks in date range | — | Limit, Date Range (From/To) |
|
|
91
|
+
| **List Deleted** | Get deleted/trashed tasks | — | Limit |
|
|
92
|
+
| **Move** | Move task to different project | Task, To Project | — |
|
|
123
93
|
|
|
124
|
-
### 2. Get User Project
|
|
125
94
|
|
|
126
|
-
Empty Parameters
|
|
127
95
|
|
|
128
|
-
###
|
|
96
|
+
### Sync Operations (V2)
|
|
129
97
|
|
|
130
|
-
|
|
98
|
+
| Operation | Description | Returns |
|
|
99
|
+
|-----------|-------------|---------|
|
|
100
|
+
| **Sync All** | Get all data from sync endpoint | Tasks, Projects, Tags, Habits, Project Groups, Column Data, User Info |
|
|
131
101
|
|
|
132
|
-
|
|
102
|
+
### Tag Operations (V2)
|
|
133
103
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### 5. Update a Project
|
|
141
|
-
|
|
142
|
-
Parameters:
|
|
143
|
-
|
|
144
|
-
- Project identifier (required)
|
|
145
|
-
- Name
|
|
146
|
-
- Color
|
|
147
|
-
- View Mode (List, Kanban, Timeline)
|
|
148
|
-
- Kind (Task, Note)
|
|
149
|
-
|
|
150
|
-
>> use Additional Fields or JSON Parameters
|
|
151
|
-
|
|
152
|
-
### 6. Delete a Project
|
|
153
|
-
|
|
154
|
-
Parameters:
|
|
155
|
-
|
|
156
|
-
- Project identifier (required)
|
|
104
|
+
| Operation | Description | Required Parameters | Optional Fields |
|
|
105
|
+
|-----------|-------------|-------------------|-----------------|
|
|
106
|
+
| **Create** | Create a new tag | Tag Name | Label, Sort Order, Color, Parent Tag |
|
|
107
|
+
| **Update** | Update existing tag | Tag | Name, Label, Sort Order, Color, Parent Tag |
|
|
108
|
+
| **Delete** | Delete a tag | Tag | — |
|
|
109
|
+
| **List** | List all tags | — | — |
|
|
157
110
|
|
|
158
111
|
---
|
|
159
112
|
|
|
160
|
-
##
|
|
113
|
+
## Compatibility
|
|
161
114
|
|
|
162
|
-
Tested successfully on
|
|
115
|
+
Tested successfully on 2026-01-06 with:
|
|
163
116
|
|
|
164
|
-
- n8n Version:
|
|
117
|
+
- n8n Version: 2.2.3
|
|
165
118
|
- Node Version: 22.11.0
|
|
166
|
-
- pnpm Version:
|
|
119
|
+
- pnpm Version: 10.27.0
|
|
167
120
|
- No extra packages required (Luxon is bundled)
|
|
168
121
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
## ⚠ Known Issues & Notes
|
|
172
|
-
|
|
173
|
-
### TickTick API Response for Certain Requests
|
|
174
|
-
|
|
175
|
-
As of the current version of this project, it's important for users to be aware that the TickTick API has specific behaviors regarding the responses for certain operations. Notably:
|
|
176
|
-
|
|
177
|
-
- **No Content Responses**: For some operations, such as deleting a project or completing a task, the TickTick API returns an HTTP status code indicating success (e.g., `200 OK`) but does not include any response body. This means that while these operations can be successfully executed, the API does not provide additional data or confirmation in the response body.
|
|
122
|
+
## Known Issues
|
|
178
123
|
|
|
179
|
-
|
|
124
|
+
### V1 API (Official)
|
|
125
|
+
- **Inbox Handling**: The "Default Inbox" is handled internally as the "inbox" ID. It supports fetching data (tasks) but does not support "Get Specific Project" details as it is not a standard project.
|
|
126
|
+
- **Empty Responses**: Operations like delete or complete often return `200 OK` with no body. This node generates a success message for these cases.
|
|
180
127
|
|
|
181
|
-
|
|
128
|
+
### V2 API (Undocumented)
|
|
129
|
+
- **Undocumented API**: The V2 Session API is not officially documented by TickTick. Endpoints and behaviors were discovered through reverse engineering and may change without notice.
|
|
130
|
+
- **Rate Limits Unknown**: Rate limiting behavior for the V2 API is undocumented and unknown. Use responsibly to avoid potential account issues.
|
|
131
|
+
- **No Official Support**: TickTick does not provide official support for the V2 Session API. Use at your own risk.
|
|
132
|
+
- **Authentication Security**: Session API requires email/password credentials. These are stored securely by n8n but consider the security implications for your use case.
|
|
133
|
+
- **Breaking Changes**: Since the API is undocumented, TickTick may change endpoints or behavior at any time without warning.
|
|
182
134
|
|
|
183
|
-
|
|
135
|
+
### General
|
|
136
|
+
- **Unofficial Node**: Community-maintained node. Not affiliated with or endorsed by TickTick or n8n.
|
|
184
137
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## 🔗 Resources
|
|
138
|
+
## Resources
|
|
190
139
|
|
|
191
140
|
- [n8n Website](https://n8n.io/)
|
|
192
|
-
- [n8n
|
|
141
|
+
- [n8n Community Nodes Documentation](https://docs.n8n.io/integrations/community-nodes/)
|
|
142
|
+
- [n8n Documentation for LLMs](https://docs.n8n.io/llms.txt)
|
|
193
143
|
- [TickTick Website](https://www.ticktick.com/)
|
|
194
|
-
- [TickTick Open API
|
|
195
|
-
- [GitHub Repository](https://github.com/hansdoebel/n8n-nodes-ticktick
|
|
144
|
+
- [TickTick Open API](https://developer.ticktick.com/docs#/openapi)
|
|
145
|
+
- [GitHub Repository](https://github.com/hansdoebel/n8n-nodes-ticktick)
|
|
146
|
+
- [dev-mirzabicer/ticktick-sdk](https://github.com/dev-mirzabicer/ticktick-sdk)
|
|
147
|
+
- [lazeroffmichael/ticktick-py](https://github.com/lazeroffmichael/ticktick-py/)
|
|
148
|
+
- [@n8n/node-cli README](https://raw.githubusercontent.com/n8n-io/n8n/refs/heads/master/packages/%40n8n/node-cli/README.md)
|
|
196
149
|
|
|
197
|
-
---
|
|
198
150
|
|
|
199
|
-
##
|
|
151
|
+
## Version History
|
|
200
152
|
|
|
201
|
-
- `
|
|
153
|
+
- `2.0.0` – **V2 API Support**: Added TickTick Session API (email/password) authentication with support for undocumented V2 endpoints. New resources: Tags, Sync. New V2-only task operations: List All, List Completed, List Deleted, Move. All V1 operations now support both V1 and V2 authentication methods.
|
|
154
|
+
- `1.3.0` – Major refactor: Fixed API request context, added Inbox support, expanded Task/Project fields, added Subtask support, improved Project Get modes.
|
|
155
|
+
- `1.2.2` – Documentation and metadata update only
|
|
202
156
|
- `1.2.1` – Inbox support, API Token credential, improved task/project operations, success messages
|
|
203
157
|
- `1.1.1` – Added Luxon for date formatting (thank you [mrozekadam](https://github.com/mrozekadam))
|
|
204
158
|
- `1.0.0` – Initial release
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ICredentialType, INodeProperties } from
|
|
1
|
+
import { Icon, ICredentialType, INodeProperties } from "n8n-workflow";
|
|
2
2
|
export declare class TickTickOAuth2Api implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
extends: string[];
|
|
5
5
|
displayName: string;
|
|
6
6
|
documentationUrl: string;
|
|
7
|
+
icon: Icon;
|
|
7
8
|
properties: INodeProperties[];
|
|
8
9
|
}
|
|
@@ -3,58 +3,59 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TickTickOAuth2Api = void 0;
|
|
4
4
|
class TickTickOAuth2Api {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.name =
|
|
7
|
-
this.extends = [
|
|
8
|
-
this.displayName =
|
|
9
|
-
this.documentationUrl =
|
|
6
|
+
this.name = "tickTickOAuth2Api";
|
|
7
|
+
this.extends = ["oAuth2Api"];
|
|
8
|
+
this.displayName = "TickTick OAuth2 API";
|
|
9
|
+
this.documentationUrl = "https://developer.ticktick.com/docs#/openapi";
|
|
10
|
+
this.icon = "file:../icons/ticktick.svg";
|
|
10
11
|
this.properties = [
|
|
11
12
|
{
|
|
12
|
-
displayName:
|
|
13
|
-
name:
|
|
14
|
-
type:
|
|
15
|
-
default:
|
|
13
|
+
displayName: "Grant Type",
|
|
14
|
+
name: "grantType",
|
|
15
|
+
type: "hidden",
|
|
16
|
+
default: "pkce",
|
|
16
17
|
},
|
|
17
18
|
{
|
|
18
|
-
displayName:
|
|
19
|
-
name:
|
|
20
|
-
type:
|
|
21
|
-
default:
|
|
19
|
+
displayName: "Authorization URL",
|
|
20
|
+
name: "authUrl",
|
|
21
|
+
type: "hidden",
|
|
22
|
+
default: "https://ticktick.com/oauth/authorize",
|
|
22
23
|
required: true,
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
|
-
displayName:
|
|
26
|
-
name:
|
|
27
|
-
type:
|
|
28
|
-
default:
|
|
26
|
+
displayName: "Access Token URL",
|
|
27
|
+
name: "accessTokenUrl",
|
|
28
|
+
type: "hidden",
|
|
29
|
+
default: "https://ticktick.com/oauth/token",
|
|
29
30
|
required: true,
|
|
30
31
|
},
|
|
31
32
|
{
|
|
32
|
-
displayName:
|
|
33
|
-
name:
|
|
34
|
-
type:
|
|
33
|
+
displayName: "Client ID",
|
|
34
|
+
name: "clientId",
|
|
35
|
+
type: "string",
|
|
35
36
|
typeOptions: {
|
|
36
37
|
password: true,
|
|
37
38
|
},
|
|
38
|
-
default:
|
|
39
|
+
default: "",
|
|
39
40
|
required: true,
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
|
-
displayName:
|
|
43
|
-
name:
|
|
44
|
-
type:
|
|
43
|
+
displayName: "Scope",
|
|
44
|
+
name: "scope",
|
|
45
|
+
type: "hidden",
|
|
45
46
|
default: ``,
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
|
-
displayName:
|
|
49
|
-
name:
|
|
50
|
-
type:
|
|
51
|
-
default:
|
|
49
|
+
displayName: "Auth URI Query Parameters",
|
|
50
|
+
name: "authQueryParameters",
|
|
51
|
+
type: "hidden",
|
|
52
|
+
default: "",
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
|
-
displayName:
|
|
55
|
-
name:
|
|
56
|
-
type:
|
|
57
|
-
default:
|
|
55
|
+
displayName: "Authentication",
|
|
56
|
+
name: "authentication",
|
|
57
|
+
type: "hidden",
|
|
58
|
+
default: "header",
|
|
58
59
|
},
|
|
59
60
|
];
|
|
60
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TickTickOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/TickTickOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAA9B;QACC,SAAI,GAAG,mBAAmB,CAAC;QAC3B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QACxB,gBAAW,GAAG,qBAAqB,CAAC;QACpC,qBAAgB,GAAG,8CAA8C,CAAC;QAElE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;gBAC/C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,QAAQ;aACjB;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"TickTickOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/TickTickOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAA9B;QACC,SAAI,GAAG,mBAAmB,CAAC;QAC3B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QACxB,gBAAW,GAAG,qBAAqB,CAAC;QACpC,qBAAgB,GAAG,8CAA8C,CAAC;QAElE,SAAI,GAAS,4BAA4B,CAAC;QAE1C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;gBAC/C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,QAAQ;aACjB;SACD,CAAC;IACH,CAAC;CAAA;AA1DD,8CA0DC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TickTickSessionApi = void 0;
|
|
4
|
+
class TickTickSessionApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = "tickTickSessionApi";
|
|
7
|
+
this.displayName = "TickTick (V2) Session API";
|
|
8
|
+
this.documentationUrl = "https://github.com/hansdoebel/n8n-nodes-ticktick";
|
|
9
|
+
this.icon = "file:../icons/ticktick.svg";
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: "Email",
|
|
13
|
+
name: "username",
|
|
14
|
+
type: "string",
|
|
15
|
+
default: "",
|
|
16
|
+
required: true,
|
|
17
|
+
description: "Your TickTick account email",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: "Password",
|
|
21
|
+
name: "password",
|
|
22
|
+
type: "string",
|
|
23
|
+
typeOptions: {
|
|
24
|
+
password: true,
|
|
25
|
+
},
|
|
26
|
+
default: "",
|
|
27
|
+
required: true,
|
|
28
|
+
description: "Your TickTick account password",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
displayName: "Session auth uses TickTick's unofficial V2 API. Credential testing is disabled; validation happens when used in a workflow. 2FA is not supported.",
|
|
32
|
+
name: "notice",
|
|
33
|
+
type: "notice",
|
|
34
|
+
default: "",
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.TickTickSessionApi = TickTickSessionApi;
|
|
40
|
+
//# sourceMappingURL=TickTickSessionApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TickTickSessionApi.credentials.js","sourceRoot":"","sources":["../../credentials/TickTickSessionApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;IAA/B;QACC,SAAI,GAAG,oBAAoB,CAAC;QAC5B,gBAAW,GAAG,2BAA2B,CAAC;QAC1C,qBAAgB,GAAG,kDAAkD,CAAC;QACtE,SAAI,GAAS,4BAA4B,CAAC;QAC1C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,6BAA6B;aAC1C;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,gCAAgC;aAC7C;YACD;gBACC,WAAW,EACV,mJAAmJ;gBACpJ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,gDAiCC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
|
|
1
|
+
import { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
|
|
2
2
|
export declare class TickTickTokenApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
|
+
icon: Icon;
|
|
6
7
|
properties: INodeProperties[];
|
|
7
8
|
authenticate: IAuthenticateGeneric;
|
|
8
9
|
test: ICredentialTestRequest;
|
|
@@ -6,6 +6,7 @@ class TickTickTokenApi {
|
|
|
6
6
|
this.name = "tickTickTokenApi";
|
|
7
7
|
this.displayName = "TickTick API";
|
|
8
8
|
this.documentationUrl = "https://developer.ticktick.com/docs#/openapi";
|
|
9
|
+
this.icon = "file:../icons/ticktick.svg";
|
|
9
10
|
this.properties = [
|
|
10
11
|
{
|
|
11
12
|
displayName: "API Token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TickTickTokenApi.credentials.js","sourceRoot":"","sources":["../../credentials/TickTickTokenApi.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TickTickTokenApi.credentials.js","sourceRoot":"","sources":["../../credentials/TickTickTokenApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAC1B,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GAAG,8CAA8C,CAAC;QAClE,SAAI,GAAS,4BAA4B,CAAC;QAC1C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;aACD;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,qCAAqC;iBACpD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,sBAAsB;gBAC/B,GAAG,EAAE,kBAAkB;aACvB;SACD,CAAC;IACH,CAAC;CAAA;AA/BD,4CA+BC"}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
value: string;
|
|
6
|
-
}[]>;
|
|
7
|
-
export declare function getTasks(this: ILoadOptionsFunctions, projectId: string): Promise<{
|
|
8
|
-
name: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}[]>;
|
|
11
|
-
export declare function tickTickApiRequest(this: IExecuteFunctions | IHookFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any>;
|
|
12
|
-
export declare const TimeZones: {
|
|
13
|
-
name: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}[];
|
|
16
|
-
export declare function formatTickTickDate(dateString: string): string | undefined;
|
|
1
|
+
export * from "./helpers/apiRequest";
|
|
2
|
+
export * from "./helpers/loadOptions";
|
|
3
|
+
export * from "./helpers/utils";
|
|
4
|
+
export * from "./helpers/constants";
|