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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitCheckin.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/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E,CAAW,CAAC;IAE9E,MAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;IAC9D,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAExC,MAAM,IAAI,GAAG;QACZ,OAAO;QACP,KAAK;QACL,YAAY;QACZ,WAAW,EAAE,YAAY;KACzB,CAAC;IAEF,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAC/C,IAAI,EACJ,MAAM,EACN,gBAAgB,EAChB,IAAI,CACJ,CAAC;IAEF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitCreateFields: INodeProperties[];
3
+ export declare function habitCreateExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitCreateFields = void 0;
4
+ exports.habitCreateExecute = habitCreateExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitCreateFields = [
7
+ {
8
+ displayName: "Name",
9
+ name: "name",
10
+ type: "string",
11
+ required: true,
12
+ default: "",
13
+ placeholder: "e.g. Morning Exercise",
14
+ description: "The name of the habit",
15
+ displayOptions: {
16
+ show: {
17
+ resource: ["habit"],
18
+ operation: ["create"],
19
+ },
20
+ },
21
+ },
22
+ {
23
+ displayName: "Additional Fields",
24
+ name: "additionalFields",
25
+ type: "collection",
26
+ placeholder: "Add Field",
27
+ default: {},
28
+ displayOptions: {
29
+ show: {
30
+ resource: ["habit"],
31
+ operation: ["create"],
32
+ },
33
+ },
34
+ options: [
35
+ {
36
+ displayName: "Color",
37
+ name: "color",
38
+ type: "color",
39
+ default: "#97E38B",
40
+ description: "The color of the habit in hex format",
41
+ },
42
+ {
43
+ displayName: "Encouragement",
44
+ name: "encouragement",
45
+ type: "string",
46
+ default: "",
47
+ placeholder: "e.g. Keep up the great work!",
48
+ description: "A motivational message for the habit",
49
+ },
50
+ {
51
+ displayName: "Goal",
52
+ name: "goal",
53
+ type: "number",
54
+ default: 1,
55
+ description: "The target goal value for the habit",
56
+ },
57
+ {
58
+ displayName: "Icon",
59
+ name: "icon",
60
+ type: "string",
61
+ default: "habit_daily_check_in",
62
+ description: "The icon name for the habit",
63
+ },
64
+ {
65
+ displayName: "Reminders",
66
+ name: "reminders",
67
+ type: "string",
68
+ default: "",
69
+ placeholder: "e.g. 09:00,21:00",
70
+ description: 'Reminder times in HH:MM format, comma-separated (e.g., "09:00,21:00")',
71
+ },
72
+ {
73
+ displayName: "Repeat Rule",
74
+ name: "repeatRule",
75
+ type: "string",
76
+ default: "RRULE:FREQ=WEEKLY;BYDAY=SU,MO,TU,WE,TH,FR,SA",
77
+ description: "The RRULE for habit recurrence",
78
+ },
79
+ {
80
+ displayName: "Step",
81
+ name: "step",
82
+ type: "number",
83
+ default: 0,
84
+ description: "The increment step for numeric habits",
85
+ },
86
+ {
87
+ displayName: "Target Days",
88
+ name: "targetDays",
89
+ type: "number",
90
+ default: 0,
91
+ description: "The target number of days for the habit",
92
+ },
93
+ {
94
+ displayName: "Type",
95
+ name: "habitType",
96
+ type: "options",
97
+ options: [
98
+ { name: "Boolean (Yes/No)", value: "Boolean" },
99
+ { name: "Numeric (Count)", value: "Real" },
100
+ ],
101
+ default: "Boolean",
102
+ description: "The type of habit tracking",
103
+ },
104
+ {
105
+ displayName: "Unit",
106
+ name: "unit",
107
+ type: "string",
108
+ default: "Count",
109
+ placeholder: "e.g. glasses, minutes, pages",
110
+ description: "The unit of measurement for numeric habits",
111
+ },
112
+ ],
113
+ },
114
+ ];
115
+ async function habitCreateExecute(index) {
116
+ const name = this.getNodeParameter("name", index);
117
+ const additionalFields = this.getNodeParameter("additionalFields", index);
118
+ const body = {
119
+ name,
120
+ color: additionalFields.color || "#97E38B",
121
+ icon: additionalFields.icon || "habit_daily_check_in",
122
+ goal: additionalFields.goal || 1,
123
+ step: additionalFields.step || 0,
124
+ unit: additionalFields.unit || "Count",
125
+ habitType: additionalFields.habitType || "Boolean",
126
+ repeatRule: additionalFields.repeatRule ||
127
+ "RRULE:FREQ=WEEKLY;BYDAY=SU,MO,TU,WE,TH,FR,SA",
128
+ targetDays: additionalFields.targetDays || 0,
129
+ encouragement: additionalFields.encouragement || "",
130
+ };
131
+ if (additionalFields.reminders) {
132
+ body.reminders = additionalFields.reminders.split(",").map((r) => r.trim());
133
+ }
134
+ const response = await apiRequest_1.tickTickApiRequestV2.call(this, "POST", "/habits", body);
135
+ return [{ json: response }];
136
+ }
137
+ //# sourceMappingURL=HabitCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitCreate.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitCreate.ts"],"names":[],"mappings":";;;AAuHA,gDA4CC;AA7JD,oDAA2D;AAE9C,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uBAAuB;QACpC,WAAW,EAAE,uBAAuB;QACpC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CA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AI,CAAC,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAC/C,IAAI,EACJ,MAAM,EACN,SAAS,EACT,IAAI,CACJ,CAAC;IAEF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitDeleteFields: INodeProperties[];
3
+ export declare function habitDeleteExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitDeleteFields = void 0;
4
+ exports.habitDeleteExecute = habitDeleteExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitDeleteFields = [
7
+ {
8
+ displayName: 'Habit Name or ID',
9
+ name: "habitId",
10
+ type: "options",
11
+ typeOptions: {
12
+ loadOptionsMethod: "getHabits",
13
+ },
14
+ required: true,
15
+ default: "",
16
+ description: 'The habit to delete. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
17
+ displayOptions: {
18
+ show: {
19
+ resource: ["habit"],
20
+ operation: ["delete"],
21
+ },
22
+ },
23
+ },
24
+ ];
25
+ async function habitDeleteExecute(index) {
26
+ const habitId = this.getNodeParameter("habitId", index);
27
+ await apiRequest_1.tickTickApiRequestV2.call(this, "DELETE", `/habits/${habitId}`);
28
+ return [
29
+ {
30
+ json: {
31
+ success: true,
32
+ deletedHabitId: habitId,
33
+ },
34
+ },
35
+ ];
36
+ }
37
+ //# sourceMappingURL=HabitDelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitDelete.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitDelete.ts"],"names":[],"mappings":";;;AA2BA,gDAgBC;AAtCD,oDAA2D;AAE9C,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,WAAW;SAC9B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+PAA+P;QAC5Q,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;KACD;CACD,CAAC;AAEK,KAAK,UAAU,kBAAkB,CAEvC,KAAa;IAEb,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAElE,MAAM,iCAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,OAAO,EAAE,CAAC,CAAC;IAEtE,OAAO;QACN;YACC,IAAI,EAAE;gBACL,OAAO,EAAE,IAAI;gBACb,cAAc,EAAE,OAAO;aACvB;SACD;KACD,CAAC;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitGetFields: INodeProperties[];
3
+ export declare function habitGetExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitGetFields = void 0;
4
+ exports.habitGetExecute = habitGetExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitGetFields = [
7
+ {
8
+ displayName: 'Habit Name or ID',
9
+ name: "habitId",
10
+ type: "options",
11
+ typeOptions: {
12
+ loadOptionsMethod: "getHabits",
13
+ },
14
+ required: true,
15
+ default: "",
16
+ description: 'The habit to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
17
+ displayOptions: {
18
+ show: {
19
+ resource: ["habit"],
20
+ operation: ["get"],
21
+ },
22
+ },
23
+ },
24
+ ];
25
+ async function habitGetExecute(index) {
26
+ const habitId = this.getNodeParameter("habitId", index);
27
+ const response = await apiRequest_1.tickTickApiRequestV2.call(this, "GET", `/habits/${habitId}`);
28
+ return [{ json: response }];
29
+ }
30
+ //# sourceMappingURL=HabitGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitGet.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitGet.ts"],"names":[],"mappings":";;;AA2BA,0CAaC;AAnCD,oDAA2D;AAE9C,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,WAAW;SAC9B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iQAAiQ;QAC9Q,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;KACD;CACD,CAAC;AAEK,KAAK,UAAU,eAAe,CAEpC,KAAa;IAEb,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAElE,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAC/C,IAAI,EACJ,KAAK,EACL,WAAW,OAAO,EAAE,CACpB,CAAC;IAEF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitListFields: INodeProperties[];
3
+ export declare function habitListExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitListFields = void 0;
4
+ exports.habitListExecute = habitListExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitListFields = [
7
+ {
8
+ displayName: "Include Archived",
9
+ name: "includeArchived",
10
+ type: "boolean",
11
+ default: false,
12
+ description: "Whether to include archived habits",
13
+ displayOptions: {
14
+ show: {
15
+ resource: ["habit"],
16
+ operation: ["list"],
17
+ },
18
+ },
19
+ },
20
+ ];
21
+ async function habitListExecute(index) {
22
+ const includeArchived = this.getNodeParameter("includeArchived", index, false);
23
+ const response = await apiRequest_1.tickTickApiRequestV2.call(this, "GET", "/habits");
24
+ let habits = Array.isArray(response) ? response : [];
25
+ if (!includeArchived) {
26
+ habits = habits.filter((habit) => habit.status !== 2);
27
+ }
28
+ return habits.map((habit) => ({ json: habit }));
29
+ }
30
+ //# sourceMappingURL=HabitList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitList.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitList.ts"],"names":[],"mappings":";;;AAwBA,4CAmBC;AArCD,oDAA2D;AAE9C,QAAA,eAAe,GAAsB;IACjD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,oCAAoC;QACjD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;SACD;KACD;CACD,CAAC;AAEK,KAAK,UAAU,gBAAgB,CAErC,KAAa;IAEb,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC5C,iBAAiB,EACjB,KAAK,EACL,KAAK,CACM,CAAC;IAEb,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IAEzE,IAAI,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;IAErD,IAAI,CAAC,eAAe,EAAE,CAAC;QACtB,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAA0B,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAkB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;AAC9D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitUnarchiveFields: INodeProperties[];
3
+ export declare function habitUnarchiveExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitUnarchiveFields = void 0;
4
+ exports.habitUnarchiveExecute = habitUnarchiveExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitUnarchiveFields = [
7
+ {
8
+ displayName: 'Habit Name or ID',
9
+ name: "habitId",
10
+ type: "options",
11
+ typeOptions: {
12
+ loadOptionsMethod: "getHabits",
13
+ },
14
+ required: true,
15
+ default: "",
16
+ description: 'The habit to unarchive. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
17
+ displayOptions: {
18
+ show: {
19
+ resource: ["habit"],
20
+ operation: ["unarchive"],
21
+ },
22
+ },
23
+ },
24
+ ];
25
+ async function habitUnarchiveExecute(index) {
26
+ const habitId = this.getNodeParameter("habitId", index);
27
+ const response = await apiRequest_1.tickTickApiRequestV2.call(this, "POST", `/habits/${habitId}/unarchive`);
28
+ return [{ json: response }];
29
+ }
30
+ //# sourceMappingURL=HabitUnarchive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitUnarchive.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitUnarchive.ts"],"names":[],"mappings":";;;AA2BA,sDAaC;AAnCD,oDAA2D;AAE9C,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,WAAW;SAC9B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kQAAkQ;QAC/Q,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,WAAW,CAAC;aACxB;SACD;KACD;CACD,CAAC;AAEK,KAAK,UAAU,qBAAqB,CAE1C,KAAa;IAEb,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAElE,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAC/C,IAAI,EACJ,MAAM,EACN,WAAW,OAAO,YAAY,CAC9B,CAAC;IAEF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
2
+ export declare const habitUpdateFields: INodeProperties[];
3
+ export declare function habitUpdateExecute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitUpdateFields = void 0;
4
+ exports.habitUpdateExecute = habitUpdateExecute;
5
+ const apiRequest_1 = require("../../../helpers/apiRequest");
6
+ exports.habitUpdateFields = [
7
+ {
8
+ displayName: "Habit Name or ID",
9
+ name: "habitId",
10
+ type: "options",
11
+ typeOptions: {
12
+ loadOptionsMethod: "getHabits",
13
+ },
14
+ required: true,
15
+ default: "",
16
+ description: 'The habit to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
17
+ displayOptions: {
18
+ show: {
19
+ resource: ["habit"],
20
+ operation: ["update"],
21
+ },
22
+ },
23
+ },
24
+ {
25
+ displayName: "Update Fields",
26
+ name: "updateFields",
27
+ type: "collection",
28
+ placeholder: "Add Field",
29
+ default: {},
30
+ displayOptions: {
31
+ show: {
32
+ resource: ["habit"],
33
+ operation: ["update"],
34
+ },
35
+ },
36
+ options: [
37
+ {
38
+ displayName: "Color",
39
+ name: "color",
40
+ type: "color",
41
+ default: "#97E38B",
42
+ description: "The color of the habit in hex format",
43
+ },
44
+ {
45
+ displayName: "Encouragement",
46
+ name: "encouragement",
47
+ type: "string",
48
+ default: "",
49
+ description: "A motivational message for the habit",
50
+ },
51
+ {
52
+ displayName: "Goal",
53
+ name: "goal",
54
+ type: "number",
55
+ default: 1,
56
+ description: "The target goal value for the habit",
57
+ },
58
+ {
59
+ displayName: "Icon",
60
+ name: "icon",
61
+ type: "string",
62
+ default: "",
63
+ description: "The icon name for the habit",
64
+ },
65
+ {
66
+ displayName: "Name",
67
+ name: "name",
68
+ type: "string",
69
+ default: "",
70
+ description: "The new name for the habit",
71
+ },
72
+ {
73
+ displayName: "Reminders",
74
+ name: "reminders",
75
+ type: "string",
76
+ default: "",
77
+ description: 'Reminder times in HH:MM format, comma-separated (e.g., "09:00,21:00")',
78
+ },
79
+ {
80
+ displayName: "Repeat Rule",
81
+ name: "repeatRule",
82
+ type: "string",
83
+ default: "",
84
+ description: "The RRULE for habit recurrence",
85
+ },
86
+ {
87
+ displayName: "Step",
88
+ name: "step",
89
+ type: "number",
90
+ default: 0,
91
+ description: "The increment step for numeric habits",
92
+ },
93
+ {
94
+ displayName: "Target Days",
95
+ name: "targetDays",
96
+ type: "number",
97
+ default: 0,
98
+ description: "The target number of days for the habit",
99
+ },
100
+ {
101
+ displayName: "Unit",
102
+ name: "unit",
103
+ type: "string",
104
+ default: "",
105
+ description: "The unit of measurement for numeric habits",
106
+ },
107
+ ],
108
+ },
109
+ ];
110
+ async function habitUpdateExecute(index) {
111
+ const habitId = this.getNodeParameter("habitId", index);
112
+ const updateFields = this.getNodeParameter("updateFields", index);
113
+ const currentHabit = await apiRequest_1.tickTickApiRequestV2.call(this, "GET", `/habits/${habitId}`);
114
+ const body = {
115
+ ...currentHabit,
116
+ id: habitId,
117
+ };
118
+ if (updateFields.name !== undefined)
119
+ body.name = updateFields.name;
120
+ if (updateFields.color !== undefined)
121
+ body.color = updateFields.color;
122
+ if (updateFields.icon !== undefined)
123
+ body.icon = updateFields.icon;
124
+ if (updateFields.goal !== undefined)
125
+ body.goal = updateFields.goal;
126
+ if (updateFields.step !== undefined)
127
+ body.step = updateFields.step;
128
+ if (updateFields.unit !== undefined)
129
+ body.unit = updateFields.unit;
130
+ if (updateFields.repeatRule !== undefined) {
131
+ body.repeatRule = updateFields.repeatRule;
132
+ }
133
+ if (updateFields.targetDays !== undefined) {
134
+ body.targetDays = updateFields.targetDays;
135
+ }
136
+ if (updateFields.encouragement !== undefined) {
137
+ body.encouragement = updateFields.encouragement;
138
+ }
139
+ if (updateFields.reminders !== undefined) {
140
+ body.reminders = updateFields.reminders.split(",").map((r) => r.trim());
141
+ }
142
+ const response = await apiRequest_1.tickTickApiRequestV2.call(this, "PUT", `/habits/${habitId}`, body);
143
+ return [{ json: response }];
144
+ }
145
+ //# sourceMappingURL=HabitUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HabitUpdate.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/HabitUpdate.ts"],"names":[],"mappings":";;;AAmHA,gDAyDC;AAtKD,oDAA2D;AAE9C,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,WAAW;SAC9B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EACV,+PAA+P;QAChQ,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,WAAW,EAAE,sCAAsC;aACnD;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sCAAsC;aACnD;YACD;gBACC,WAAW,EAAE,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K,SAAS,EAAE,CAAC;QAC1C,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,iCAAoB,CAAC,IAAI,CAC/C,IAAI,EACJ,KAAK,EACL,WAAW,OAAO,EAAE,EACpB,IAAI,CACJ,CAAC;IAEF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ export { habitListExecute, habitListFields } from "./HabitList";
2
+ export { habitGetExecute, habitGetFields } from "./HabitGet";
3
+ export { habitCreateExecute, habitCreateFields } from "./HabitCreate";
4
+ export { habitUpdateExecute, habitUpdateFields } from "./HabitUpdate";
5
+ export { habitDeleteExecute, habitDeleteFields } from "./HabitDelete";
6
+ export { habitCheckinExecute, habitCheckinFields } from "./HabitCheckin";
7
+ export { habitArchiveExecute, habitArchiveFields } from "./HabitArchive";
8
+ export { habitUnarchiveExecute, habitUnarchiveFields } from "./HabitUnarchive";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.habitUnarchiveFields = exports.habitUnarchiveExecute = exports.habitArchiveFields = exports.habitArchiveExecute = exports.habitCheckinFields = exports.habitCheckinExecute = exports.habitDeleteFields = exports.habitDeleteExecute = exports.habitUpdateFields = exports.habitUpdateExecute = exports.habitCreateFields = exports.habitCreateExecute = exports.habitGetFields = exports.habitGetExecute = exports.habitListFields = exports.habitListExecute = void 0;
4
+ var HabitList_1 = require("./HabitList");
5
+ Object.defineProperty(exports, "habitListExecute", { enumerable: true, get: function () { return HabitList_1.habitListExecute; } });
6
+ Object.defineProperty(exports, "habitListFields", { enumerable: true, get: function () { return HabitList_1.habitListFields; } });
7
+ var HabitGet_1 = require("./HabitGet");
8
+ Object.defineProperty(exports, "habitGetExecute", { enumerable: true, get: function () { return HabitGet_1.habitGetExecute; } });
9
+ Object.defineProperty(exports, "habitGetFields", { enumerable: true, get: function () { return HabitGet_1.habitGetFields; } });
10
+ var HabitCreate_1 = require("./HabitCreate");
11
+ Object.defineProperty(exports, "habitCreateExecute", { enumerable: true, get: function () { return HabitCreate_1.habitCreateExecute; } });
12
+ Object.defineProperty(exports, "habitCreateFields", { enumerable: true, get: function () { return HabitCreate_1.habitCreateFields; } });
13
+ var HabitUpdate_1 = require("./HabitUpdate");
14
+ Object.defineProperty(exports, "habitUpdateExecute", { enumerable: true, get: function () { return HabitUpdate_1.habitUpdateExecute; } });
15
+ Object.defineProperty(exports, "habitUpdateFields", { enumerable: true, get: function () { return HabitUpdate_1.habitUpdateFields; } });
16
+ var HabitDelete_1 = require("./HabitDelete");
17
+ Object.defineProperty(exports, "habitDeleteExecute", { enumerable: true, get: function () { return HabitDelete_1.habitDeleteExecute; } });
18
+ Object.defineProperty(exports, "habitDeleteFields", { enumerable: true, get: function () { return HabitDelete_1.habitDeleteFields; } });
19
+ var HabitCheckin_1 = require("./HabitCheckin");
20
+ Object.defineProperty(exports, "habitCheckinExecute", { enumerable: true, get: function () { return HabitCheckin_1.habitCheckinExecute; } });
21
+ Object.defineProperty(exports, "habitCheckinFields", { enumerable: true, get: function () { return HabitCheckin_1.habitCheckinFields; } });
22
+ var HabitArchive_1 = require("./HabitArchive");
23
+ Object.defineProperty(exports, "habitArchiveExecute", { enumerable: true, get: function () { return HabitArchive_1.habitArchiveExecute; } });
24
+ Object.defineProperty(exports, "habitArchiveFields", { enumerable: true, get: function () { return HabitArchive_1.habitArchiveFields; } });
25
+ var HabitUnarchive_1 = require("./HabitUnarchive");
26
+ Object.defineProperty(exports, "habitUnarchiveExecute", { enumerable: true, get: function () { return HabitUnarchive_1.habitUnarchiveExecute; } });
27
+ Object.defineProperty(exports, "habitUnarchiveFields", { enumerable: true, get: function () { return HabitUnarchive_1.habitUnarchiveFields; } });
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/TickTick/resources/habits/operations/index.ts"],"names":[],"mappings":";;;AAAA,yCAAgE;AAAvD,6GAAA,gBAAgB,OAAA;AAAE,4GAAA,eAAe,OAAA;AAC1C,uCAA6D;AAApD,2GAAA,eAAe,OAAA;AAAE,0GAAA,cAAc,OAAA;AACxC,6CAAsE;AAA7D,iHAAA,kBAAkB,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAC9C,6CAAsE;AAA7D,iHAAA,kBAAkB,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAC9C,6CAAsE;AAA7D,iHAAA,kBAAkB,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAC9C,+CAAyE;AAAhE,mHAAA,mBAAmB,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAChD,+CAAyE;AAAhE,mHAAA,mBAAmB,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAChD,mDAA+E;AAAtE,uHAAA,qBAAqB,OAAA;AAAE,sHAAA,oBAAoB,OAAA"}
@@ -0,0 +1,34 @@
1
+ export declare const ticktickResources: {
2
+ task: {
3
+ operations: import("n8n-workflow").INodeProperties[];
4
+ fields: import("n8n-workflow").INodeProperties[];
5
+ };
6
+ project: {
7
+ operations: import("n8n-workflow").INodeProperties[];
8
+ fields: import("n8n-workflow").INodeProperties[];
9
+ };
10
+ tag: {
11
+ operations: import("n8n-workflow").INodeProperties[];
12
+ fields: import("n8n-workflow").INodeProperties[];
13
+ };
14
+ habit: {
15
+ operations: import("n8n-workflow").INodeProperties[];
16
+ fields: import("n8n-workflow").INodeProperties[];
17
+ };
18
+ focus: {
19
+ operations: import("n8n-workflow").INodeProperties[];
20
+ fields: import("n8n-workflow").INodeProperties[];
21
+ };
22
+ projectGroup: {
23
+ operations: import("n8n-workflow").INodeProperties[];
24
+ fields: import("n8n-workflow").INodeProperties[];
25
+ };
26
+ user: {
27
+ operations: import("n8n-workflow").INodeProperties[];
28
+ fields: import("n8n-workflow").INodeProperties[];
29
+ };
30
+ sync: {
31
+ operations: import("n8n-workflow").INodeProperties[];
32
+ fields: import("n8n-workflow").INodeProperties[];
33
+ };
34
+ };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ticktickResources = void 0;
4
+ const TasksDescription_1 = require("./tasks/TasksDescription");
5
+ const ProjectsDescription_1 = require("./projects/ProjectsDescription");
6
+ const TagsDescription_1 = require("./tags/TagsDescription");
7
+ const HabitsDescription_1 = require("./habits/HabitsDescription");
8
+ const FocusDescription_1 = require("./focus/FocusDescription");
9
+ const ProjectGroupsDescription_1 = require("./projectGroups/ProjectGroupsDescription");
10
+ const UserDescription_1 = require("./user/UserDescription");
11
+ const SyncDescription_1 = require("./sync/SyncDescription");
12
+ exports.ticktickResources = {
13
+ task: {
14
+ operations: TasksDescription_1.taskOperations,
15
+ fields: TasksDescription_1.taskFields,
16
+ },
17
+ project: {
18
+ operations: ProjectsDescription_1.projectOperations,
19
+ fields: ProjectsDescription_1.projectFields,
20
+ },
21
+ tag: {
22
+ operations: TagsDescription_1.tagOperations,
23
+ fields: TagsDescription_1.tagFields,
24
+ },
25
+ habit: {
26
+ operations: HabitsDescription_1.habitOperations,
27
+ fields: HabitsDescription_1.habitFields,
28
+ },
29
+ focus: {
30
+ operations: FocusDescription_1.focusOperations,
31
+ fields: FocusDescription_1.focusFields,
32
+ },
33
+ projectGroup: {
34
+ operations: ProjectGroupsDescription_1.projectGroupOperations,
35
+ fields: ProjectGroupsDescription_1.projectGroupFields,
36
+ },
37
+ user: {
38
+ operations: UserDescription_1.userOperations,
39
+ fields: UserDescription_1.userFields,
40
+ },
41
+ sync: {
42
+ operations: SyncDescription_1.syncOperations,
43
+ fields: SyncDescription_1.syncFields,
44
+ },
45
+ };
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/TickTick/resources/index.ts"],"names":[],"mappings":";;;AAAA,+DAAsE;AACtE,wEAGwC;AACxC,4DAAkE;AAClE,kEAA0E;AAC1E,+DAAwE;AACxE,uFAGkD;AAClD,4DAAoE;AACpE,4DAAoE;AAEvD,QAAA,iBAAiB,GAAG;IAChC,IAAI,EAAE;QACL,UAAU,EAAE,iCAAc;QAC1B,MAAM,EAAE,6BAAU;KAClB;IACD,OAAO,EAAE;QACR,UAAU,EAAE,uCAAiB;QAC7B,MAAM,EAAE,mCAAa;KACrB;IACD,GAAG,EAAE;QACJ,UAAU,EAAE,+BAAa;QACzB,MAAM,EAAE,2BAAS;KACjB;IACD,KAAK,EAAE;QACN,UAAU,EAAE,mCAAe;QAC3B,MAAM,EAAE,+BAAW;KACnB;IACD,KAAK,EAAE;QACN,UAAU,EAAE,kCAAe;QAC3B,MAAM,EAAE,8BAAW;KACnB;IACD,YAAY,EAAE;QACb,UAAU,EAAE,iDAAsB;QAClC,MAAM,EAAE,6CAAkB;KAC1B;IACD,IAAI,EAAE;QACL,UAAU,EAAE,gCAAc;QAC1B,MAAM,EAAE,4BAAU;KAClB;IACD,IAAI,EAAE;QACL,UAAU,EAAE,gCAAc;QAC1B,MAAM,EAAE,4BAAU;KAClB;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from "n8n-workflow";
2
+ export declare const projectGroupOperations: INodeProperties[];
3
+ export declare const projectGroupFields: INodeProperties[];