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.
Files changed (230) hide show
  1. package/README.md +94 -140
  2. package/dist/credentials/TickTickOAuth2Api.credentials.d.ts +2 -1
  3. package/dist/credentials/TickTickOAuth2Api.credentials.js +32 -31
  4. package/dist/credentials/TickTickOAuth2Api.credentials.js.map +1 -1
  5. package/dist/credentials/TickTickSessionApi.credentials.d.ts +8 -0
  6. package/dist/credentials/TickTickSessionApi.credentials.js +40 -0
  7. package/dist/credentials/TickTickSessionApi.credentials.js.map +1 -0
  8. package/dist/credentials/TickTickTokenApi.credentials.d.ts +2 -1
  9. package/dist/credentials/TickTickTokenApi.credentials.js +1 -0
  10. package/dist/credentials/TickTickTokenApi.credentials.js.map +1 -1
  11. package/dist/nodes/TickTick/GenericFunctions.d.ts +4 -16
  12. package/dist/nodes/TickTick/GenericFunctions.js +18 -132
  13. package/dist/nodes/TickTick/GenericFunctions.js.map +1 -1
  14. package/dist/nodes/TickTick/TickTick.node.d.ts +20 -2
  15. package/dist/nodes/TickTick/TickTick.node.js +335 -274
  16. package/dist/nodes/TickTick/TickTick.node.js.map +1 -1
  17. package/dist/nodes/TickTick/helpers/apiRequest.d.ts +5 -0
  18. package/dist/nodes/TickTick/helpers/apiRequest.js +115 -0
  19. package/dist/nodes/TickTick/helpers/apiRequest.js.map +1 -0
  20. package/dist/nodes/TickTick/helpers/constants.d.ts +4 -0
  21. package/dist/nodes/TickTick/helpers/constants.js +54 -0
  22. package/dist/nodes/TickTick/helpers/constants.js.map +1 -0
  23. package/dist/nodes/TickTick/helpers/loadOptions.d.ts +42 -0
  24. package/dist/nodes/TickTick/helpers/loadOptions.js +327 -0
  25. package/dist/nodes/TickTick/helpers/loadOptions.js.map +1 -0
  26. package/dist/nodes/TickTick/helpers/sessionManager.d.ts +13 -0
  27. package/dist/nodes/TickTick/helpers/sessionManager.js +161 -0
  28. package/dist/nodes/TickTick/helpers/sessionManager.js.map +1 -0
  29. package/dist/nodes/TickTick/helpers/utils.d.ts +1 -0
  30. package/dist/nodes/TickTick/helpers/utils.js +15 -0
  31. package/dist/nodes/TickTick/helpers/utils.js.map +1 -0
  32. package/dist/nodes/TickTick/resources/focus/FocusDescription.d.ts +3 -0
  33. package/dist/nodes/TickTick/resources/focus/FocusDescription.js +37 -0
  34. package/dist/nodes/TickTick/resources/focus/FocusDescription.js.map +1 -0
  35. package/dist/nodes/TickTick/resources/focus/index.d.ts +2 -0
  36. package/dist/nodes/TickTick/{descriptions → resources/focus}/index.js +2 -2
  37. package/dist/nodes/TickTick/resources/focus/index.js.map +1 -0
  38. package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.d.ts +3 -0
  39. package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.js +53 -0
  40. package/dist/nodes/TickTick/resources/focus/operations/FocusGetDistribution.js.map +1 -0
  41. package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.d.ts +3 -0
  42. package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.js +56 -0
  43. package/dist/nodes/TickTick/resources/focus/operations/FocusGetHeatmap.js.map +1 -0
  44. package/dist/nodes/TickTick/resources/focus/operations/index.d.ts +2 -0
  45. package/dist/nodes/TickTick/resources/focus/operations/index.js +10 -0
  46. package/dist/nodes/TickTick/resources/focus/operations/index.js.map +1 -0
  47. package/dist/nodes/TickTick/resources/habits/HabitsDescription.d.ts +3 -0
  48. package/dist/nodes/TickTick/resources/habits/HabitsDescription.js +79 -0
  49. package/dist/nodes/TickTick/resources/habits/HabitsDescription.js.map +1 -0
  50. package/dist/nodes/TickTick/resources/habits/index.d.ts +2 -0
  51. package/dist/nodes/TickTick/resources/habits/index.js +19 -0
  52. package/dist/nodes/TickTick/resources/habits/index.js.map +1 -0
  53. package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.d.ts +3 -0
  54. package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.js +30 -0
  55. package/dist/nodes/TickTick/resources/habits/operations/HabitArchive.js.map +1 -0
  56. package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.d.ts +3 -0
  57. package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.js +66 -0
  58. package/dist/nodes/TickTick/resources/habits/operations/HabitCheckin.js.map +1 -0
  59. package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.d.ts +3 -0
  60. package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.js +137 -0
  61. package/dist/nodes/TickTick/resources/habits/operations/HabitCreate.js.map +1 -0
  62. package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.d.ts +3 -0
  63. package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.js +37 -0
  64. package/dist/nodes/TickTick/resources/habits/operations/HabitDelete.js.map +1 -0
  65. package/dist/nodes/TickTick/resources/habits/operations/HabitGet.d.ts +3 -0
  66. package/dist/nodes/TickTick/resources/habits/operations/HabitGet.js +30 -0
  67. package/dist/nodes/TickTick/resources/habits/operations/HabitGet.js.map +1 -0
  68. package/dist/nodes/TickTick/resources/habits/operations/HabitList.d.ts +3 -0
  69. package/dist/nodes/TickTick/resources/habits/operations/HabitList.js +30 -0
  70. package/dist/nodes/TickTick/resources/habits/operations/HabitList.js.map +1 -0
  71. package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.d.ts +3 -0
  72. package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.js +30 -0
  73. package/dist/nodes/TickTick/resources/habits/operations/HabitUnarchive.js.map +1 -0
  74. package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.d.ts +3 -0
  75. package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.js +145 -0
  76. package/dist/nodes/TickTick/resources/habits/operations/HabitUpdate.js.map +1 -0
  77. package/dist/nodes/TickTick/resources/habits/operations/index.d.ts +8 -0
  78. package/dist/nodes/TickTick/resources/habits/operations/index.js +28 -0
  79. package/dist/nodes/TickTick/resources/habits/operations/index.js.map +1 -0
  80. package/dist/nodes/TickTick/resources/index.d.ts +34 -0
  81. package/dist/nodes/TickTick/resources/index.js +46 -0
  82. package/dist/nodes/TickTick/resources/index.js.map +1 -0
  83. package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.d.ts +3 -0
  84. package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.js +51 -0
  85. package/dist/nodes/TickTick/resources/projectGroups/ProjectGroupsDescription.js.map +1 -0
  86. package/dist/nodes/TickTick/resources/projectGroups/index.d.ts +2 -0
  87. package/dist/nodes/TickTick/resources/projectGroups/index.js +19 -0
  88. package/dist/nodes/TickTick/resources/projectGroups/index.js.map +1 -0
  89. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.d.ts +3 -0
  90. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.js +59 -0
  91. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupCreate.js.map +1 -0
  92. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.d.ts +3 -0
  93. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.js +41 -0
  94. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupDelete.js.map +1 -0
  95. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.d.ts +3 -0
  96. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.js +14 -0
  97. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupList.js.map +1 -0
  98. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.d.ts +3 -0
  99. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.js +68 -0
  100. package/dist/nodes/TickTick/resources/projectGroups/operations/ProjectGroupUpdate.js.map +1 -0
  101. package/dist/nodes/TickTick/resources/projectGroups/operations/index.d.ts +4 -0
  102. package/dist/nodes/TickTick/resources/projectGroups/operations/index.js +16 -0
  103. package/dist/nodes/TickTick/resources/projectGroups/operations/index.js.map +1 -0
  104. package/dist/nodes/TickTick/resources/projects/ProjectsDescription.js +56 -0
  105. package/dist/nodes/TickTick/resources/projects/ProjectsDescription.js.map +1 -0
  106. package/dist/nodes/TickTick/resources/projects/index.d.ts +1 -0
  107. package/dist/nodes/TickTick/resources/projects/index.js +18 -0
  108. package/dist/nodes/TickTick/resources/projects/index.js.map +1 -0
  109. package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.d.ts +5 -0
  110. package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.js +136 -0
  111. package/dist/nodes/TickTick/resources/projects/operations/ProjectCreate.js.map +1 -0
  112. package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.d.ts +9 -0
  113. package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.js +77 -0
  114. package/dist/nodes/TickTick/resources/projects/operations/ProjectDelete.js.map +1 -0
  115. package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.d.ts +5 -0
  116. package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.js +151 -0
  117. package/dist/nodes/TickTick/resources/projects/operations/ProjectGet.js.map +1 -0
  118. package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.d.ts +5 -0
  119. package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.js +186 -0
  120. package/dist/nodes/TickTick/resources/projects/operations/ProjectUpdate.js.map +1 -0
  121. package/dist/nodes/TickTick/resources/projects/operations/index.d.ts +4 -0
  122. package/dist/nodes/TickTick/resources/projects/operations/index.js +21 -0
  123. package/dist/nodes/TickTick/resources/projects/operations/index.js.map +1 -0
  124. package/dist/nodes/TickTick/resources/sync/SyncDescription.d.ts +3 -0
  125. package/dist/nodes/TickTick/resources/sync/SyncDescription.js +28 -0
  126. package/dist/nodes/TickTick/resources/sync/SyncDescription.js.map +1 -0
  127. package/dist/nodes/TickTick/resources/sync/index.d.ts +2 -0
  128. package/dist/nodes/TickTick/resources/sync/index.js +19 -0
  129. package/dist/nodes/TickTick/resources/sync/index.js.map +1 -0
  130. package/dist/nodes/TickTick/resources/sync/operations/SyncAll.d.ts +3 -0
  131. package/dist/nodes/TickTick/resources/sync/operations/SyncAll.js +11 -0
  132. package/dist/nodes/TickTick/resources/sync/operations/SyncAll.js.map +1 -0
  133. package/dist/nodes/TickTick/resources/sync/operations/index.d.ts +1 -0
  134. package/dist/nodes/TickTick/resources/sync/operations/index.js +7 -0
  135. package/dist/nodes/TickTick/resources/sync/operations/index.js.map +1 -0
  136. package/dist/nodes/TickTick/resources/tags/TagsDescription.d.ts +3 -0
  137. package/dist/nodes/TickTick/resources/tags/TagsDescription.js +65 -0
  138. package/dist/nodes/TickTick/resources/tags/TagsDescription.js.map +1 -0
  139. package/dist/nodes/TickTick/resources/tags/index.d.ts +2 -0
  140. package/dist/nodes/TickTick/resources/tags/index.js +19 -0
  141. package/dist/nodes/TickTick/resources/tags/index.js.map +1 -0
  142. package/dist/nodes/TickTick/resources/tags/operations/TagCreate.d.ts +3 -0
  143. package/dist/nodes/TickTick/resources/tags/operations/TagCreate.js +73 -0
  144. package/dist/nodes/TickTick/resources/tags/operations/TagCreate.js.map +1 -0
  145. package/dist/nodes/TickTick/resources/tags/operations/TagDelete.d.ts +3 -0
  146. package/dist/nodes/TickTick/resources/tags/operations/TagDelete.js +60 -0
  147. package/dist/nodes/TickTick/resources/tags/operations/TagDelete.js.map +1 -0
  148. package/dist/nodes/TickTick/resources/tags/operations/TagList.d.ts +3 -0
  149. package/dist/nodes/TickTick/resources/tags/operations/TagList.js +12 -0
  150. package/dist/nodes/TickTick/resources/tags/operations/TagList.js.map +1 -0
  151. package/dist/nodes/TickTick/resources/tags/operations/TagMerge.d.ts +3 -0
  152. package/dist/nodes/TickTick/resources/tags/operations/TagMerge.js +105 -0
  153. package/dist/nodes/TickTick/resources/tags/operations/TagMerge.js.map +1 -0
  154. package/dist/nodes/TickTick/resources/tags/operations/TagRename.d.ts +3 -0
  155. package/dist/nodes/TickTick/resources/tags/operations/TagRename.js +81 -0
  156. package/dist/nodes/TickTick/resources/tags/operations/TagRename.js.map +1 -0
  157. package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.d.ts +3 -0
  158. package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.js +131 -0
  159. package/dist/nodes/TickTick/resources/tags/operations/TagUpdate.js.map +1 -0
  160. package/dist/nodes/TickTick/resources/tags/operations/index.d.ts +6 -0
  161. package/dist/nodes/TickTick/resources/tags/operations/index.js +22 -0
  162. package/dist/nodes/TickTick/resources/tags/operations/index.js.map +1 -0
  163. package/dist/nodes/TickTick/resources/tasks/TasksDescription.js +102 -0
  164. package/dist/nodes/TickTick/resources/tasks/TasksDescription.js.map +1 -0
  165. package/dist/nodes/TickTick/resources/tasks/index.d.ts +1 -0
  166. package/dist/nodes/TickTick/resources/tasks/index.js +18 -0
  167. package/dist/nodes/TickTick/resources/tasks/index.js.map +1 -0
  168. package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.d.ts +10 -0
  169. package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.js +113 -0
  170. package/dist/nodes/TickTick/resources/tasks/operations/TaskComplete.js.map +1 -0
  171. package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.d.ts +5 -0
  172. package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.js +366 -0
  173. package/dist/nodes/TickTick/resources/tasks/operations/TaskCreate.js.map +1 -0
  174. package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.d.ts +10 -0
  175. package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.js +120 -0
  176. package/dist/nodes/TickTick/resources/tasks/operations/TaskDelete.js.map +1 -0
  177. package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.d.ts +5 -0
  178. package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.js +93 -0
  179. package/dist/nodes/TickTick/resources/tasks/operations/TaskGet.js.map +1 -0
  180. package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.d.ts +3 -0
  181. package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.js +170 -0
  182. package/dist/nodes/TickTick/resources/tasks/operations/TaskListAll.js.map +1 -0
  183. package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.d.ts +3 -0
  184. package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.js +71 -0
  185. package/dist/nodes/TickTick/resources/tasks/operations/TaskListCompleted.js.map +1 -0
  186. package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.d.ts +3 -0
  187. package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.js +41 -0
  188. package/dist/nodes/TickTick/resources/tasks/operations/TaskListDeleted.js.map +1 -0
  189. package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.d.ts +3 -0
  190. package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.js +117 -0
  191. package/dist/nodes/TickTick/resources/tasks/operations/TaskMove.js.map +1 -0
  192. package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.d.ts +3 -0
  193. package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.js +161 -0
  194. package/dist/nodes/TickTick/resources/tasks/operations/TaskSetParent.js.map +1 -0
  195. package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.d.ts +5 -0
  196. package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.js +405 -0
  197. package/dist/nodes/TickTick/resources/tasks/operations/TaskUpdate.js.map +1 -0
  198. package/dist/nodes/TickTick/resources/tasks/operations/index.d.ts +10 -0
  199. package/dist/nodes/TickTick/resources/tasks/operations/index.js +27 -0
  200. package/dist/nodes/TickTick/resources/tasks/operations/index.js.map +1 -0
  201. package/dist/nodes/TickTick/resources/user/UserDescription.d.ts +3 -0
  202. package/dist/nodes/TickTick/resources/user/UserDescription.js +44 -0
  203. package/dist/nodes/TickTick/resources/user/UserDescription.js.map +1 -0
  204. package/dist/nodes/TickTick/resources/user/index.d.ts +2 -0
  205. package/dist/nodes/TickTick/resources/user/index.js +19 -0
  206. package/dist/nodes/TickTick/resources/user/index.js.map +1 -0
  207. package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.d.ts +3 -0
  208. package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.js +11 -0
  209. package/dist/nodes/TickTick/resources/user/operations/UserGetPreferences.js.map +1 -0
  210. package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.d.ts +3 -0
  211. package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.js +11 -0
  212. package/dist/nodes/TickTick/resources/user/operations/UserGetProfile.js.map +1 -0
  213. package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.d.ts +3 -0
  214. package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.js +11 -0
  215. package/dist/nodes/TickTick/resources/user/operations/UserGetStatus.js.map +1 -0
  216. package/dist/nodes/TickTick/resources/user/operations/index.d.ts +3 -0
  217. package/dist/nodes/TickTick/resources/user/operations/index.js +13 -0
  218. package/dist/nodes/TickTick/resources/user/operations/index.js.map +1 -0
  219. package/dist/package.json +21 -10
  220. package/dist/tsconfig.tsbuildinfo +1 -1
  221. package/package.json +88 -75
  222. package/dist/nodes/TickTick/descriptions/ProjectDescription.js +0 -306
  223. package/dist/nodes/TickTick/descriptions/ProjectDescription.js.map +0 -1
  224. package/dist/nodes/TickTick/descriptions/TaskDescription.js +0 -450
  225. package/dist/nodes/TickTick/descriptions/TaskDescription.js.map +0 -1
  226. package/dist/nodes/TickTick/descriptions/index.d.ts +0 -2
  227. package/dist/nodes/TickTick/descriptions/index.js.map +0 -1
  228. package/dist/nodes/TickTick/ticktick.svg +0 -8
  229. /package/dist/nodes/TickTick/{descriptions/ProjectDescription.d.ts → resources/projects/ProjectsDescription.d.ts} +0 -0
  230. /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
- [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
3
+ n8n community node for integrating TickTick with your workflows. Manage tasks, projects, and productivity seamlessly.
4
4
 
5
- This is an n8n community node. It lets you use TickTick in your n8n workflows.
5
+ ## Table of Contents
6
6
 
7
- TickTick is a comprehensive productivity app designed to help individuals and teams manage tasks, deadlines, and projects more efficiently. With its intuitive interface, TickTick allows users to easily create, organize, and prioritize tasks, set reminders, and track progress through various views such as lists, kanban boards, and calendars.
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
- ## 🔑 Credentials
30
+ For access to V2 API features (sync, tags, etc.):
33
31
 
34
- This node supports **two authentication types**:
32
+ 1. In n8n: Create new credential → **TickTick Session API**
33
+ 2. Enter your TickTick **email** and **password**
34
+ 3. Save
35
35
 
36
- ### 1️⃣ TickTick API Token (recommended)
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 in n8n → **TickTick API Token**
42
- 4. Paste token → Save
43
-
42
+ 3. In n8n: Create new credential → **TickTick API Token** → Paste token → Save
44
43
 
45
- ### 2️⃣ TickTick OAuth2
44
+ ### TickTick OAuth2 (V1)
46
45
 
47
- Steps:
48
- 1. Add credential in your n8n instance and select **TickTick OAuth2 API**
49
- 2. Visit: [TickTick Developer](https://developer.ticktick.com/)
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
- ## 🧩 Task Operations
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
- Parameters:
54
+ The following operations use the official TickTick Open API (V1) and work with **API Token** or **OAuth2** credentials.
98
55
 
99
- - Task identifier (required)
100
- - Project identifier (required)
56
+ ### Task Operations (V1)
101
57
 
102
- ### 5. Delete a Task
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
- Parameters:
66
+ ### Project Operations (V1)
105
67
 
106
- - Task identifier (required)
107
- - Project identifier (required)
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
- ## 📁 Project Operations
79
+ ## TickTick V2 API (Undocumented Session API)
112
80
 
113
- ### 1. Create a Project
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
- Parameters:
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
- - Name (required)
118
- - Color
119
- - View Mode (List, Kanban, Timeline)
120
- - Kind (Task, Note)
85
+ ### Task Operations (V2 Only)
121
86
 
122
- >> use Additional Fields or JSON Parameters
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
- ### 3. Get Project by ID
96
+ ### Sync Operations (V2)
129
97
 
130
- Parameters:
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
- - Project identifier (required)
102
+ ### Tag Operations (V2)
133
103
 
134
- ### 4. Get Project with Data
135
-
136
- Parameters:
137
-
138
- - Project identifier (required)
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
- ## 🧰 Compatibility
113
+ ## Compatibility
161
114
 
162
- Tested successfully on 2025-12-01 with:
115
+ Tested successfully on 2026-01-06 with:
163
116
 
164
- - n8n Version: 1.121.3
117
+ - n8n Version: 2.2.3
165
118
  - Node Version: 22.11.0
166
- - pnpm Version: 9.1.4
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
- - **Handling of API Responses**: This custom node has been designed to interpret HTTP status codes as indicators of the success or failure of an operation. Since no further details are provided by the API for certain requests, the node generates its own success messages for user feedback. Users should rely on these status codes and custom messages for confirmation of operation outcomes.
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
- - **API Documentation Discrepancies**: Users may also encounter instances where the behavior of the TickTick API does not fully align with its documentation, particularly regarding the response data for certain requests. We recommend users to proceed with caution and validate the functionality through testing, especially for critical workflows.
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
- This project's implementation takes these API characteristics into account, aiming to provide clear and useful feedback to users whenever possible. However, users are encouraged to conduct their own testing and verification to ensure the node meets their specific needs.
135
+ ### General
136
+ - **Unofficial Node**: Community-maintained node. Not affiliated with or endorsed by TickTick or n8n.
184
137
 
185
- Future updates to the TickTick API may address these issues, and subsequent versions of this project will aim to incorporate any changes to enhance functionality and user experience.
186
-
187
- ---
188
-
189
- ## 🔗 Resources
138
+ ## Resources
190
139
 
191
140
  - [n8n Website](https://n8n.io/)
192
- - [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
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 documentation](https://developer.ticktick.com/docs#/openapi)
195
- - [GitHub Repository](https://github.com/hansdoebel/n8n-nodes-ticktick.git)
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
- ## 📜 Version History
151
+ ## Version History
200
152
 
201
- - `1.2.2` – documentation and metadata update only
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 'n8n-workflow';
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 = 'tickTickOAuth2Api';
7
- this.extends = ['oAuth2Api'];
8
- this.displayName = 'TickTick OAuth2 API';
9
- this.documentationUrl = 'https://developer.ticktick.com/docs#/openapi';
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: 'Grant Type',
13
- name: 'grantType',
14
- type: 'hidden',
15
- default: 'pkce',
13
+ displayName: "Grant Type",
14
+ name: "grantType",
15
+ type: "hidden",
16
+ default: "pkce",
16
17
  },
17
18
  {
18
- displayName: 'Authorization URL',
19
- name: 'authUrl',
20
- type: 'hidden',
21
- default: 'https://ticktick.com/oauth/authorize',
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: 'Access Token URL',
26
- name: 'accessTokenUrl',
27
- type: 'hidden',
28
- default: 'https://ticktick.com/oauth/token',
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: 'Client ID',
33
- name: 'clientId',
34
- type: 'string',
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: 'Scope',
43
- name: 'scope',
44
- type: 'hidden',
43
+ displayName: "Scope",
44
+ name: "scope",
45
+ type: "hidden",
45
46
  default: ``,
46
47
  },
47
48
  {
48
- displayName: 'Auth URI Query Parameters',
49
- name: 'authQueryParameters',
50
- type: 'hidden',
51
- default: '',
49
+ displayName: "Auth URI Query Parameters",
50
+ name: "authQueryParameters",
51
+ type: "hidden",
52
+ default: "",
52
53
  },
53
54
  {
54
- displayName: 'Authentication',
55
- name: 'authentication',
56
- type: 'hidden',
57
- default: 'header',
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;AAxDD,8CAwDC"}
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,8 @@
1
+ import type { Icon, ICredentialType, INodeProperties } from "n8n-workflow";
2
+ export declare class TickTickSessionApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ icon: Icon;
7
+ properties: INodeProperties[];
8
+ }
@@ -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":";;;AAOA,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAC1B,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GAAG,8CAA8C,CAAC;QAClE,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;AA9BD,4CA8BC"}
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
- import type { IDataObject, IExecuteFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions } from "n8n-workflow";
2
- export declare function getInboxProjectId(this: IExecuteFunctions | IHookFunctions | ILoadOptionsFunctions): Promise<string>;
3
- export declare function getProjects(this: ILoadOptionsFunctions): Promise<{
4
- name: string;
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";