@pikku/addon-todoist 0.0.2

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 (332) hide show
  1. package/README.md +12 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
  5. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  6. package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
  7. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  8. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/pikku-package.gen.js +10 -0
  10. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  11. package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
  12. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  13. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  14. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  16. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
  18. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  21. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  22. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  23. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  26. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  27. package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
  28. package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
  29. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
  30. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
  31. package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
  32. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
  33. package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
  34. package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
  35. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  36. package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
  37. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  38. package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
  39. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +796 -0
  40. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  41. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  42. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  43. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  44. package/dist/.pikku/function/pikku-functions-meta.gen.json +516 -0
  45. package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  46. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  47. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  48. package/dist/.pikku/function/pikku-functions.gen.js +62 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  50. package/dist/.pikku/function/pikku-functions.gen.ts +62 -0
  51. package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
  52. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  53. package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
  54. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  55. package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
  56. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  57. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  58. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  59. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  60. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  61. package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
  62. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  63. package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
  64. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  65. package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
  66. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  67. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  68. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  69. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  70. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  71. package/dist/.pikku/pikku-services.gen.d.ts +35 -0
  72. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  73. package/dist/.pikku/pikku-services.gen.js +30 -0
  74. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  75. package/dist/.pikku/pikku-services.gen.ts +42 -0
  76. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  77. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  78. package/dist/.pikku/pikku-types.gen.js +17 -0
  79. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  80. package/dist/.pikku/pikku-types.gen.ts +21 -0
  81. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  82. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  83. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  84. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  85. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  86. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +798 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +826 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  89. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  90. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  91. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  92. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +30 -0
  93. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  94. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  95. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  96. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  97. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  98. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  99. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  100. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  101. package/dist/.pikku/schemas/register.gen.js +103 -0
  102. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  103. package/dist/.pikku/schemas/register.gen.ts +199 -0
  104. package/dist/.pikku/schemas/schemas/CloseTaskInput.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/CreateCommentInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/CreateCommentOutput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/CreatePersonalLabelInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/CreatePersonalLabelOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/CreateProjectInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/CreateProjectOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/CreateSectionInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/CreateSectionOutput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/CreateTaskInput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/CreateTaskOutput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/CredentialSchema_todoist.schema.json +1 -0
  116. package/dist/.pikku/schemas/schemas/DeleteCommentInput.schema.json +1 -0
  117. package/dist/.pikku/schemas/schemas/DeletePersonalLabelInput.schema.json +1 -0
  118. package/dist/.pikku/schemas/schemas/DeleteProjectInput.schema.json +1 -0
  119. package/dist/.pikku/schemas/schemas/DeleteSectionInput.schema.json +1 -0
  120. package/dist/.pikku/schemas/schemas/DeleteTaskInput.schema.json +1 -0
  121. package/dist/.pikku/schemas/schemas/GetActiveTaskInput.schema.json +1 -0
  122. package/dist/.pikku/schemas/schemas/GetActiveTaskOutput.schema.json +1 -0
  123. package/dist/.pikku/schemas/schemas/GetActiveTasksInput.schema.json +1 -0
  124. package/dist/.pikku/schemas/schemas/GetActiveTasksOutput.schema.json +1 -0
  125. package/dist/.pikku/schemas/schemas/GetAllCollaboratorsInput.schema.json +1 -0
  126. package/dist/.pikku/schemas/schemas/GetAllCollaboratorsOutput.schema.json +1 -0
  127. package/dist/.pikku/schemas/schemas/GetAllCommentsInput.schema.json +1 -0
  128. package/dist/.pikku/schemas/schemas/GetAllCommentsOutput.schema.json +1 -0
  129. package/dist/.pikku/schemas/schemas/GetAllPersonalLabelsOutput.schema.json +1 -0
  130. package/dist/.pikku/schemas/schemas/GetAllProjectsOutput.schema.json +1 -0
  131. package/dist/.pikku/schemas/schemas/GetAllSectionsInput.schema.json +1 -0
  132. package/dist/.pikku/schemas/schemas/GetAllSectionsOutput.schema.json +1 -0
  133. package/dist/.pikku/schemas/schemas/GetCommentInput.schema.json +1 -0
  134. package/dist/.pikku/schemas/schemas/GetCommentOutput.schema.json +1 -0
  135. package/dist/.pikku/schemas/schemas/GetPersonalLabelInput.schema.json +1 -0
  136. package/dist/.pikku/schemas/schemas/GetPersonalLabelOutput.schema.json +1 -0
  137. package/dist/.pikku/schemas/schemas/GetProjectInput.schema.json +1 -0
  138. package/dist/.pikku/schemas/schemas/GetProjectOutput.schema.json +1 -0
  139. package/dist/.pikku/schemas/schemas/GetSingleSectionInput.schema.json +1 -0
  140. package/dist/.pikku/schemas/schemas/GetSingleSectionOutput.schema.json +1 -0
  141. package/dist/.pikku/schemas/schemas/ReopenTaskInput.schema.json +1 -0
  142. package/dist/.pikku/schemas/schemas/UpdateCommentInput.schema.json +1 -0
  143. package/dist/.pikku/schemas/schemas/UpdateCommentOutput.schema.json +1 -0
  144. package/dist/.pikku/schemas/schemas/UpdatePersonalLabelInput.schema.json +1 -0
  145. package/dist/.pikku/schemas/schemas/UpdatePersonalLabelOutput.schema.json +1 -0
  146. package/dist/.pikku/schemas/schemas/UpdateProjectInput.schema.json +1 -0
  147. package/dist/.pikku/schemas/schemas/UpdateProjectOutput.schema.json +1 -0
  148. package/dist/.pikku/schemas/schemas/UpdateSectionInput.schema.json +1 -0
  149. package/dist/.pikku/schemas/schemas/UpdateSectionOutput.schema.json +1 -0
  150. package/dist/.pikku/schemas/schemas/UpdateTaskInput.schema.json +1 -0
  151. package/dist/.pikku/schemas/schemas/UpdateTaskOutput.schema.json +1 -0
  152. package/dist/.pikku/schemas/schemas/VariableSchema_TODOIST_BASE_URL.schema.json +1 -0
  153. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  154. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  155. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  156. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  157. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  158. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  159. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  160. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  161. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  162. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  163. package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
  164. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  165. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  166. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  167. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  168. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  169. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  170. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  171. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  172. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  173. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  174. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  175. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  176. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  177. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  178. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  179. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  180. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  181. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  182. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  183. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  184. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  185. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  186. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  187. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  188. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  189. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  190. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  191. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  192. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  193. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  194. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  195. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  196. package/dist/src/functions/closeTask.function.d.ts +12 -0
  197. package/dist/src/functions/closeTask.function.d.ts.map +1 -0
  198. package/dist/src/functions/closeTask.function.js +13 -0
  199. package/dist/src/functions/closeTask.function.js.map +1 -0
  200. package/dist/src/functions/createComment.function.d.ts +73 -0
  201. package/dist/src/functions/createComment.function.d.ts.map +1 -0
  202. package/dist/src/functions/createComment.function.js +30 -0
  203. package/dist/src/functions/createComment.function.js.map +1 -0
  204. package/dist/src/functions/createPersonalLabel.function.d.ts +49 -0
  205. package/dist/src/functions/createPersonalLabel.function.d.ts.map +1 -0
  206. package/dist/src/functions/createPersonalLabel.function.js +24 -0
  207. package/dist/src/functions/createPersonalLabel.function.js.map +1 -0
  208. package/dist/src/functions/createProject.function.d.ts +81 -0
  209. package/dist/src/functions/createProject.function.d.ts.map +1 -0
  210. package/dist/src/functions/createProject.function.js +32 -0
  211. package/dist/src/functions/createProject.function.js.map +1 -0
  212. package/dist/src/functions/createSection.function.d.ts +41 -0
  213. package/dist/src/functions/createSection.function.d.ts.map +1 -0
  214. package/dist/src/functions/createSection.function.js +22 -0
  215. package/dist/src/functions/createSection.function.js.map +1 -0
  216. package/dist/src/functions/createTask.function.d.ts +197 -0
  217. package/dist/src/functions/createTask.function.d.ts.map +1 -0
  218. package/dist/src/functions/createTask.function.js +61 -0
  219. package/dist/src/functions/createTask.function.js.map +1 -0
  220. package/dist/src/functions/deleteComment.function.d.ts +12 -0
  221. package/dist/src/functions/deleteComment.function.d.ts.map +1 -0
  222. package/dist/src/functions/deleteComment.function.js +13 -0
  223. package/dist/src/functions/deleteComment.function.js.map +1 -0
  224. package/dist/src/functions/deletePersonalLabel.function.d.ts +12 -0
  225. package/dist/src/functions/deletePersonalLabel.function.d.ts.map +1 -0
  226. package/dist/src/functions/deletePersonalLabel.function.js +13 -0
  227. package/dist/src/functions/deletePersonalLabel.function.js.map +1 -0
  228. package/dist/src/functions/deleteProject.function.d.ts +12 -0
  229. package/dist/src/functions/deleteProject.function.d.ts.map +1 -0
  230. package/dist/src/functions/deleteProject.function.js +13 -0
  231. package/dist/src/functions/deleteProject.function.js.map +1 -0
  232. package/dist/src/functions/deleteSection.function.d.ts +12 -0
  233. package/dist/src/functions/deleteSection.function.d.ts.map +1 -0
  234. package/dist/src/functions/deleteSection.function.js +13 -0
  235. package/dist/src/functions/deleteSection.function.js.map +1 -0
  236. package/dist/src/functions/deleteTask.function.d.ts +12 -0
  237. package/dist/src/functions/deleteTask.function.d.ts.map +1 -0
  238. package/dist/src/functions/deleteTask.function.js +13 -0
  239. package/dist/src/functions/deleteTask.function.js.map +1 -0
  240. package/dist/src/functions/getActiveTask.function.d.ts +141 -0
  241. package/dist/src/functions/getActiveTask.function.d.ts.map +1 -0
  242. package/dist/src/functions/getActiveTask.function.js +47 -0
  243. package/dist/src/functions/getActiveTask.function.js.map +1 -0
  244. package/dist/src/functions/getActiveTasks.function.d.ts +161 -0
  245. package/dist/src/functions/getActiveTasks.function.d.ts.map +1 -0
  246. package/dist/src/functions/getActiveTasks.function.js +52 -0
  247. package/dist/src/functions/getActiveTasks.function.js.map +1 -0
  248. package/dist/src/functions/getAllCollaborators.function.d.ts +29 -0
  249. package/dist/src/functions/getAllCollaborators.function.d.ts.map +1 -0
  250. package/dist/src/functions/getAllCollaborators.function.js +19 -0
  251. package/dist/src/functions/getAllCollaborators.function.js.map +1 -0
  252. package/dist/src/functions/getAllComments.function.d.ts +45 -0
  253. package/dist/src/functions/getAllComments.function.d.ts.map +1 -0
  254. package/dist/src/functions/getAllComments.function.js +23 -0
  255. package/dist/src/functions/getAllComments.function.js.map +1 -0
  256. package/dist/src/functions/getAllPersonalLabels.function.d.ts +28 -0
  257. package/dist/src/functions/getAllPersonalLabels.function.d.ts.map +1 -0
  258. package/dist/src/functions/getAllPersonalLabels.function.js +17 -0
  259. package/dist/src/functions/getAllPersonalLabels.function.js.map +1 -0
  260. package/dist/src/functions/getAllProjects.function.d.ts +56 -0
  261. package/dist/src/functions/getAllProjects.function.d.ts.map +1 -0
  262. package/dist/src/functions/getAllProjects.function.js +24 -0
  263. package/dist/src/functions/getAllProjects.function.js.map +1 -0
  264. package/dist/src/functions/getAllSections.function.d.ts +33 -0
  265. package/dist/src/functions/getAllSections.function.d.ts.map +1 -0
  266. package/dist/src/functions/getAllSections.function.js +20 -0
  267. package/dist/src/functions/getAllSections.function.js.map +1 -0
  268. package/dist/src/functions/getComment.function.d.ts +41 -0
  269. package/dist/src/functions/getComment.function.d.ts.map +1 -0
  270. package/dist/src/functions/getComment.function.js +22 -0
  271. package/dist/src/functions/getComment.function.js.map +1 -0
  272. package/dist/src/functions/getPersonalLabel.function.d.ts +37 -0
  273. package/dist/src/functions/getPersonalLabel.function.d.ts.map +1 -0
  274. package/dist/src/functions/getPersonalLabel.function.js +21 -0
  275. package/dist/src/functions/getPersonalLabel.function.js.map +1 -0
  276. package/dist/src/functions/getProject.function.d.ts +65 -0
  277. package/dist/src/functions/getProject.function.d.ts.map +1 -0
  278. package/dist/src/functions/getProject.function.js +28 -0
  279. package/dist/src/functions/getProject.function.js.map +1 -0
  280. package/dist/src/functions/getSingleSection.function.d.ts +33 -0
  281. package/dist/src/functions/getSingleSection.function.d.ts.map +1 -0
  282. package/dist/src/functions/getSingleSection.function.js +20 -0
  283. package/dist/src/functions/getSingleSection.function.js.map +1 -0
  284. package/dist/src/functions/reopenTask.function.d.ts +12 -0
  285. package/dist/src/functions/reopenTask.function.d.ts.map +1 -0
  286. package/dist/src/functions/reopenTask.function.js +13 -0
  287. package/dist/src/functions/reopenTask.function.js.map +1 -0
  288. package/dist/src/functions/updateComment.function.d.ts +45 -0
  289. package/dist/src/functions/updateComment.function.d.ts.map +1 -0
  290. package/dist/src/functions/updateComment.function.js +23 -0
  291. package/dist/src/functions/updateComment.function.js.map +1 -0
  292. package/dist/src/functions/updatePersonalLabel.function.d.ts +53 -0
  293. package/dist/src/functions/updatePersonalLabel.function.d.ts.map +1 -0
  294. package/dist/src/functions/updatePersonalLabel.function.js +25 -0
  295. package/dist/src/functions/updatePersonalLabel.function.js.map +1 -0
  296. package/dist/src/functions/updateProject.function.d.ts +81 -0
  297. package/dist/src/functions/updateProject.function.d.ts.map +1 -0
  298. package/dist/src/functions/updateProject.function.js +32 -0
  299. package/dist/src/functions/updateProject.function.js.map +1 -0
  300. package/dist/src/functions/updateSection.function.d.ts +37 -0
  301. package/dist/src/functions/updateSection.function.d.ts.map +1 -0
  302. package/dist/src/functions/updateSection.function.js +21 -0
  303. package/dist/src/functions/updateSection.function.js.map +1 -0
  304. package/dist/src/functions/updateTask.function.d.ts +185 -0
  305. package/dist/src/functions/updateTask.function.d.ts.map +1 -0
  306. package/dist/src/functions/updateTask.function.js +58 -0
  307. package/dist/src/functions/updateTask.function.js.map +1 -0
  308. package/dist/src/index.d.ts +29 -0
  309. package/dist/src/index.d.ts.map +1 -0
  310. package/dist/src/index.js +29 -0
  311. package/dist/src/index.js.map +1 -0
  312. package/dist/src/services.d.ts +2 -0
  313. package/dist/src/services.d.ts.map +1 -0
  314. package/dist/src/services.js +14 -0
  315. package/dist/src/services.js.map +1 -0
  316. package/dist/src/todoist-api.service.d.ts +10 -0
  317. package/dist/src/todoist-api.service.d.ts.map +1 -0
  318. package/dist/src/todoist-api.service.js +297 -0
  319. package/dist/src/todoist-api.service.js.map +1 -0
  320. package/dist/src/todoist.credential.d.ts +5 -0
  321. package/dist/src/todoist.credential.d.ts.map +1 -0
  322. package/dist/src/todoist.credential.js +13 -0
  323. package/dist/src/todoist.credential.js.map +1 -0
  324. package/dist/src/todoist.types.d.ts +7 -0
  325. package/dist/src/todoist.types.d.ts.map +1 -0
  326. package/dist/src/todoist.types.js +8 -0
  327. package/dist/src/todoist.types.js.map +1 -0
  328. package/dist/src/todoist.variable.d.ts +5 -0
  329. package/dist/src/todoist.variable.d.ts.map +1 -0
  330. package/dist/src/todoist.variable.js +11 -0
  331. package/dist/src/todoist.variable.js.map +1 -0
  332. package/package.json +39 -0
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const CreatePersonalLabelInput = z.object({
4
+ name: z.string().describe("Name of the label."),
5
+ order: z.number().int().optional().describe("Label order."),
6
+ color: z.string().optional().describe("The color of the label icon. Refer to the name column in the Colors guide for more info."),
7
+ is_favorite: z.boolean().optional().describe("Whether the label is a favorite (a true or false value)."),
8
+ });
9
+ export const CreatePersonalLabelOutput = z.object({
10
+ id: z.string().optional().describe("Label ID."),
11
+ name: z.string().optional().describe("Label name."),
12
+ color: z.string().optional().describe("The color of the label icon. Refer to the name column in the Colors guide for more info."),
13
+ order: z.number().int().optional().describe("Number used by clients to sort list of labels."),
14
+ is_favorite: z.boolean().optional().describe("Whether the label is a favorite (a true or false value)."),
15
+ });
16
+ export const createPersonalLabel = pikkuSessionlessFunc({
17
+ description: "Creates a new personal label and returns its object as JSON.\n\nA successful response has 200 OK status and application/json Content-Type.",
18
+ input: CreatePersonalLabelInput,
19
+ output: CreatePersonalLabelOutput,
20
+ func: async ({ todoist }, data) => {
21
+ return todoist.call("POST", "/labels", data);
22
+ },
23
+ });
24
+ //# sourceMappingURL=createPersonalLabel.function.js.map
@@ -0,0 +1 @@
1
+ {"version":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AAM,mBAAmB,GAAG,oBAAoB,CAAC;IACtD,WAAW,EAAE,4IAA4I;IACzJ,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAQ,CAAA;IACrD,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,81 @@
1
+ import { z } from 'zod';
2
+ export declare const CreateProjectInput: z.ZodObject<{
3
+ name: z.ZodString;
4
+ parent_id: z.ZodOptional<z.ZodString>;
5
+ color: z.ZodOptional<z.ZodString>;
6
+ is_favorite: z.ZodOptional<z.ZodBoolean>;
7
+ view_style: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ export declare const CreateProjectOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ color: z.ZodOptional<z.ZodString>;
13
+ parent_id: z.ZodOptional<z.ZodUnknown>;
14
+ order: z.ZodOptional<z.ZodNumber>;
15
+ comment_count: z.ZodOptional<z.ZodNumber>;
16
+ is_shared: z.ZodOptional<z.ZodBoolean>;
17
+ is_favorite: z.ZodOptional<z.ZodBoolean>;
18
+ is_inbox_project: z.ZodOptional<z.ZodBoolean>;
19
+ is_team_inbox: z.ZodOptional<z.ZodBoolean>;
20
+ view_style: z.ZodOptional<z.ZodString>;
21
+ url: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ export declare const createProject: import("#pikku").PikkuFunctionConfig<{
24
+ name: string;
25
+ parent_id?: string | undefined;
26
+ color?: string | undefined;
27
+ is_favorite?: boolean | undefined;
28
+ view_style?: string | undefined;
29
+ }, {
30
+ id?: string | undefined;
31
+ name?: string | undefined;
32
+ color?: string | undefined;
33
+ parent_id?: unknown;
34
+ order?: number | undefined;
35
+ comment_count?: number | undefined;
36
+ is_shared?: boolean | undefined;
37
+ is_favorite?: boolean | undefined;
38
+ is_inbox_project?: boolean | undefined;
39
+ is_team_inbox?: boolean | undefined;
40
+ view_style?: string | undefined;
41
+ url?: string | undefined;
42
+ }, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
43
+ name: string;
44
+ parent_id?: string | undefined;
45
+ color?: string | undefined;
46
+ is_favorite?: boolean | undefined;
47
+ view_style?: string | undefined;
48
+ }, {
49
+ id?: string | undefined;
50
+ name?: string | undefined;
51
+ color?: string | undefined;
52
+ parent_id?: unknown;
53
+ order?: number | undefined;
54
+ comment_count?: number | undefined;
55
+ is_shared?: boolean | undefined;
56
+ is_favorite?: boolean | undefined;
57
+ is_inbox_project?: boolean | undefined;
58
+ is_team_inbox?: boolean | undefined;
59
+ view_style?: string | undefined;
60
+ url?: string | undefined;
61
+ }, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
62
+ name: string;
63
+ parent_id?: string | undefined;
64
+ color?: string | undefined;
65
+ is_favorite?: boolean | undefined;
66
+ view_style?: string | undefined;
67
+ }, {
68
+ id?: string | undefined;
69
+ name?: string | undefined;
70
+ color?: string | undefined;
71
+ parent_id?: unknown;
72
+ order?: number | undefined;
73
+ comment_count?: number | undefined;
74
+ is_shared?: boolean | undefined;
75
+ is_favorite?: boolean | undefined;
76
+ is_inbox_project?: boolean | undefined;
77
+ is_team_inbox?: boolean | undefined;
78
+ view_style?: string | undefined;
79
+ url?: string | undefined;
80
+ }, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
81
+ //# sourceMappingURL=createProject.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createProject.function.d.ts","sourceRoot":"","sources":["../../../src/functions/createProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;;;;;iBAM7B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;iBAa9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOxB,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const CreateProjectInput = z.object({
4
+ name: z.string().describe("Name of the project"),
5
+ parent_id: z.string().optional().describe("Parent project ID"),
6
+ color: z.string().optional().describe("The color of the project icon. Refer to the name column in the Colors guide for more info. https://developer.todoist.com/guides/#colors"),
7
+ is_favorite: z.boolean().optional().describe("Whether the project is a favorite (a true or false value)."),
8
+ view_style: z.string().optional().describe("A string value (either list or board, default is list). This determines the way the project is displayed within the Todoist clients."),
9
+ });
10
+ export const CreateProjectOutput = z.object({
11
+ id: z.string().optional().describe("Project ID."),
12
+ name: z.string().optional().describe("Project name."),
13
+ color: z.string().optional().describe("The color of the project icon. Refer to the name column in the Colors guide for more info."),
14
+ parent_id: z.unknown().optional().describe("ID of parent project (will be null for top-level projects)."),
15
+ order: z.number().int().optional().describe("Project position under the same parent (read-only, will be 0 for inbox and team inbox projects)."),
16
+ comment_count: z.number().int().optional().describe("Number of project comments."),
17
+ is_shared: z.boolean().optional().describe("Whether the project is shared (read-only, a true or false value)."),
18
+ is_favorite: z.boolean().optional().describe("Whether the project is a favorite (a true or false value)."),
19
+ is_inbox_project: z.boolean().optional().describe("Whether the project is the user's Inbox (read-only)."),
20
+ is_team_inbox: z.boolean().optional().describe("Whether the project is the Team Inbox (read-only)."),
21
+ view_style: z.string().optional().describe("A string value (either list or board). This determines the way the project is displayed within the Todoist clients."),
22
+ url: z.string().optional().describe("URL to access this project in the Todoist web or mobile applications."),
23
+ });
24
+ export const createProject = pikkuSessionlessFunc({
25
+ description: "Creates a new project and returns it as a JSON object.\n\nA successful response has 200 OK status and application/json Content-Type.",
26
+ input: CreateProjectInput,
27
+ output: CreateProjectOutput,
28
+ func: async ({ todoist }, data) => {
29
+ return todoist.call("POST", "/projects", data);
30
+ },
31
+ });
32
+ //# sourceMappingURL=createProject.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createProject.function.js","sourceRoot":"","sources":["../../../src/functions/createProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAChD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC9D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yIAAyI,CAAC;IAChL,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4DAA4D,CAAC;IAC1G,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sIAAsI,CAAC;CACnL,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;IACrD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4FAA4F,CAAC;IACnI,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6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;
4
+ name: z.ZodString;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ export declare const CreateSectionOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodString>;
9
+ project_id: z.ZodOptional<z.ZodString>;
10
+ order: z.ZodOptional<z.ZodNumber>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ export declare const createSection: import("#pikku").PikkuFunctionConfig<{
14
+ project_id: string;
15
+ name: string;
16
+ order?: number | undefined;
17
+ }, {
18
+ id?: string | undefined;
19
+ project_id?: string | undefined;
20
+ order?: number | undefined;
21
+ name?: string | undefined;
22
+ }, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
23
+ project_id: string;
24
+ name: string;
25
+ order?: number | undefined;
26
+ }, {
27
+ id?: string | undefined;
28
+ project_id?: string | undefined;
29
+ order?: number | undefined;
30
+ name?: string | undefined;
31
+ }, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
32
+ project_id: string;
33
+ name: string;
34
+ order?: number | undefined;
35
+ }, {
36
+ id?: string | undefined;
37
+ project_id?: string | undefined;
38
+ order?: number | undefined;
39
+ name?: string | undefined;
40
+ }, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
41
+ //# sourceMappingURL=createSection.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSection.function.d.ts","sourceRoot":"","sources":["../../../src/functions/createSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOxB,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const CreateSectionInput = z.object({
4
+ project_id: z.string().describe("Project ID this section should belong to"),
5
+ name: z.string().describe("Section name"),
6
+ order: z.number().int().optional().describe("Order among other sections in a project"),
7
+ });
8
+ export const CreateSectionOutput = z.object({
9
+ id: z.string().optional().describe("Section ID"),
10
+ project_id: z.string().optional().describe("ID of the project section belongs to"),
11
+ order: z.number().int().optional().describe("Section position among other sections from the same project"),
12
+ name: z.string().optional().describe("Section name"),
13
+ });
14
+ export const createSection = pikkuSessionlessFunc({
15
+ description: "Creates a new section and returns it as a JSON object.\n\nA successful response has 200 OK status and application/json Content-Type.",
16
+ input: CreateSectionInput,
17
+ output: CreateSectionOutput,
18
+ func: async ({ todoist }, data) => {
19
+ return todoist.call("POST", "/sections", data);
20
+ },
21
+ });
22
+ //# sourceMappingURL=createSection.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSection.function.js","sourceRoot":"","sources":["../../../src/functions/createSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAC3E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;CACvF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAClF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;IAC1G,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CACrD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,sIAAsI;IACnJ,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAQ,CAAA;IACvD,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,197 @@
1
+ import { z } from 'zod';
2
+ export declare const CreateTaskInput: z.ZodObject<{
3
+ content: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ project_id: z.ZodOptional<z.ZodString>;
6
+ section_id: z.ZodOptional<z.ZodString>;
7
+ parent_id: z.ZodOptional<z.ZodString>;
8
+ order: z.ZodOptional<z.ZodNumber>;
9
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ priority: z.ZodOptional<z.ZodNumber>;
11
+ due_string: z.ZodOptional<z.ZodString>;
12
+ due_date: z.ZodOptional<z.ZodString>;
13
+ due_datetime: z.ZodOptional<z.ZodString>;
14
+ due_lang: z.ZodOptional<z.ZodString>;
15
+ assignee_id: z.ZodOptional<z.ZodString>;
16
+ duration: z.ZodOptional<z.ZodNumber>;
17
+ duration_unit: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ export declare const CreateTaskOutput: z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodString>;
21
+ project_id: z.ZodOptional<z.ZodString>;
22
+ section_id: z.ZodOptional<z.ZodUnknown>;
23
+ content: z.ZodOptional<z.ZodString>;
24
+ description: z.ZodOptional<z.ZodString>;
25
+ is_completed: z.ZodOptional<z.ZodBoolean>;
26
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ parent_id: z.ZodOptional<z.ZodUnknown>;
28
+ order: z.ZodOptional<z.ZodNumber>;
29
+ priority: z.ZodOptional<z.ZodNumber>;
30
+ due: z.ZodOptional<z.ZodObject<{
31
+ dueObject: z.ZodOptional<z.ZodObject<{
32
+ string: z.ZodString;
33
+ date: z.ZodString;
34
+ is_recurring: z.ZodBoolean;
35
+ datetime: z.ZodOptional<z.ZodString>;
36
+ timezone: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>>;
39
+ url: z.ZodOptional<z.ZodString>;
40
+ comment_count: z.ZodOptional<z.ZodNumber>;
41
+ created_at: z.ZodOptional<z.ZodString>;
42
+ creator_id: z.ZodOptional<z.ZodString>;
43
+ assignee_id: z.ZodOptional<z.ZodUnknown>;
44
+ assigner_id: z.ZodOptional<z.ZodUnknown>;
45
+ duration: z.ZodOptional<z.ZodObject<{
46
+ durationObject: z.ZodOptional<z.ZodObject<{
47
+ amount: z.ZodOptional<z.ZodUnknown>;
48
+ unit: z.ZodOptional<z.ZodUnknown>;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>>;
51
+ }, z.core.$strip>;
52
+ export declare const createTask: import("#pikku").PikkuFunctionConfig<{
53
+ content?: string | undefined;
54
+ description?: string | undefined;
55
+ project_id?: string | undefined;
56
+ section_id?: string | undefined;
57
+ parent_id?: string | undefined;
58
+ order?: number | undefined;
59
+ labels?: string[] | undefined;
60
+ priority?: number | undefined;
61
+ due_string?: string | undefined;
62
+ due_date?: string | undefined;
63
+ due_datetime?: string | undefined;
64
+ due_lang?: string | undefined;
65
+ assignee_id?: string | undefined;
66
+ duration?: number | undefined;
67
+ duration_unit?: string | undefined;
68
+ }, {
69
+ id?: string | undefined;
70
+ project_id?: string | undefined;
71
+ section_id?: unknown;
72
+ content?: string | undefined;
73
+ description?: string | undefined;
74
+ is_completed?: boolean | undefined;
75
+ labels?: string[] | undefined;
76
+ parent_id?: unknown;
77
+ order?: number | undefined;
78
+ priority?: number | undefined;
79
+ due?: {
80
+ dueObject?: {
81
+ string: string;
82
+ date: string;
83
+ is_recurring: boolean;
84
+ datetime?: string | undefined;
85
+ timezone?: string | undefined;
86
+ } | undefined;
87
+ } | undefined;
88
+ url?: string | undefined;
89
+ comment_count?: number | undefined;
90
+ created_at?: string | undefined;
91
+ creator_id?: string | undefined;
92
+ assignee_id?: unknown;
93
+ assigner_id?: unknown;
94
+ duration?: {
95
+ durationObject?: {
96
+ amount?: unknown;
97
+ unit?: unknown;
98
+ } | undefined;
99
+ } | undefined;
100
+ }, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
101
+ content?: string | undefined;
102
+ description?: string | undefined;
103
+ project_id?: string | undefined;
104
+ section_id?: string | undefined;
105
+ parent_id?: string | undefined;
106
+ order?: number | undefined;
107
+ labels?: string[] | undefined;
108
+ priority?: number | undefined;
109
+ due_string?: string | undefined;
110
+ due_date?: string | undefined;
111
+ due_datetime?: string | undefined;
112
+ due_lang?: string | undefined;
113
+ assignee_id?: string | undefined;
114
+ duration?: number | undefined;
115
+ duration_unit?: string | undefined;
116
+ }, {
117
+ id?: string | undefined;
118
+ project_id?: string | undefined;
119
+ section_id?: unknown;
120
+ content?: string | undefined;
121
+ description?: string | undefined;
122
+ is_completed?: boolean | undefined;
123
+ labels?: string[] | undefined;
124
+ parent_id?: unknown;
125
+ order?: number | undefined;
126
+ priority?: number | undefined;
127
+ due?: {
128
+ dueObject?: {
129
+ string: string;
130
+ date: string;
131
+ is_recurring: boolean;
132
+ datetime?: string | undefined;
133
+ timezone?: string | undefined;
134
+ } | undefined;
135
+ } | undefined;
136
+ url?: string | undefined;
137
+ comment_count?: number | undefined;
138
+ created_at?: string | undefined;
139
+ creator_id?: string | undefined;
140
+ assignee_id?: unknown;
141
+ assigner_id?: unknown;
142
+ duration?: {
143
+ durationObject?: {
144
+ amount?: unknown;
145
+ unit?: unknown;
146
+ } | undefined;
147
+ } | undefined;
148
+ }, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
149
+ content?: string | undefined;
150
+ description?: string | undefined;
151
+ project_id?: string | undefined;
152
+ section_id?: string | undefined;
153
+ parent_id?: string | undefined;
154
+ order?: number | undefined;
155
+ labels?: string[] | undefined;
156
+ priority?: number | undefined;
157
+ due_string?: string | undefined;
158
+ due_date?: string | undefined;
159
+ due_datetime?: string | undefined;
160
+ due_lang?: string | undefined;
161
+ assignee_id?: string | undefined;
162
+ duration?: number | undefined;
163
+ duration_unit?: string | undefined;
164
+ }, {
165
+ id?: string | undefined;
166
+ project_id?: string | undefined;
167
+ section_id?: unknown;
168
+ content?: string | undefined;
169
+ description?: string | undefined;
170
+ is_completed?: boolean | undefined;
171
+ labels?: string[] | undefined;
172
+ parent_id?: unknown;
173
+ order?: number | undefined;
174
+ priority?: number | undefined;
175
+ due?: {
176
+ dueObject?: {
177
+ string: string;
178
+ date: string;
179
+ is_recurring: boolean;
180
+ datetime?: string | undefined;
181
+ timezone?: string | undefined;
182
+ } | undefined;
183
+ } | undefined;
184
+ url?: string | undefined;
185
+ comment_count?: number | undefined;
186
+ created_at?: string | undefined;
187
+ creator_id?: string | undefined;
188
+ assignee_id?: unknown;
189
+ assigner_id?: unknown;
190
+ duration?: {
191
+ durationObject?: {
192
+ amount?: unknown;
193
+ unit?: unknown;
194
+ } | undefined;
195
+ } | undefined;
196
+ }, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
197
+ //# sourceMappingURL=createTask.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTask.function.d.ts","sourceRoot":"","sources":["../../../src/functions/createTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;iBAgB1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgC3B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAOrB,CAAA"}
@@ -0,0 +1,61 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const CreateTaskInput = z.object({
4
+ content: z.string().optional().describe("Task content. This value may contain markdown-formatted text and hyperlinks."),
5
+ description: z.string().optional().describe("A description for the task. This value may contain markdown-formatted text and hyperlinks."),
6
+ project_id: z.string().optional().describe("Task project ID. If not set, the task is put in the user's Inbox."),
7
+ section_id: z.string().optional().describe("ID of the section to put the task into."),
8
+ parent_id: z.string().optional().describe("Parent task ID."),
9
+ order: z.number().int().optional().describe("Non-zero integer value used by clients to sort tasks under the same parent."),
10
+ labels: z.array(z.string()).optional().describe("The task's labels (a list of names that may represent either personal or shared labels)."),
11
+ priority: z.number().int().optional().describe("Task priority from 1 (normal) to 4 (urgent)."),
12
+ due_string: z.string().optional().describe("Human-defined task due date (ex. \"next Monday,\" \"Tomorrow\"). Value is set using local (not UTC) time."),
13
+ due_date: z.string().optional().describe("Specific date in YYYY-MM-DD format relative to the user's timezone."),
14
+ due_datetime: z.string().optional().describe("Specific date and time in RFC3339 format in UTC."),
15
+ due_lang: z.string().optional().describe("2-letter code specifying the language in case due_string is not written in English."),
16
+ assignee_id: z.string().optional().describe("The responsible user ID (only applies to shared tasks)."),
17
+ duration: z.number().int().optional().describe("A positive (greater than zero) integer for the amount of duration_unit the task will take. If specified, you must define a duration_unit."),
18
+ duration_unit: z.string().optional().describe("The unit of time that the duration field above represents. Must be either minute or day. If specified, duration must be defined as well."),
19
+ });
20
+ export const CreateTaskOutput = z.object({
21
+ id: z.string().optional().describe("Task ID."),
22
+ project_id: z.string().optional().describe("Task's project ID (read-only)."),
23
+ section_id: z.unknown().optional().describe("ID of section task belongs to (read-only, will be null when the task has no parent section)."),
24
+ content: z.string().optional().describe("Task content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
25
+ description: z.string().optional().describe("A description for the task. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center."),
26
+ is_completed: z.boolean().optional().describe("Flag to mark completed tasks."),
27
+ labels: z.array(z.string()).optional(),
28
+ parent_id: z.unknown().optional().describe("ID of parent task (read-only, will be null for top-level tasks)."),
29
+ order: z.number().int().optional().describe("Position under the same parent or project for top-level tasks (read-only)."),
30
+ priority: z.number().int().optional().describe("Task priority from 1 (normal, default value) to 4 (urgent)."),
31
+ due: z.object({
32
+ dueObject: z.object({
33
+ string: z.string().describe("Human defined date in arbitrary format."),
34
+ date: z.string().date().describe("Date in format YYYY-MM-DD corrected to user's timezone."),
35
+ is_recurring: z.boolean().describe("Whether the task has a recurring due date."),
36
+ datetime: z.string().datetime().optional().describe("Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC."),
37
+ timezone: z.string().optional().describe("Only returned if exact due time set, user's timezone definition either in tzdata-compatible format (\"Europe/Berlin\") or as a string specifying east of UTC offset as \"UTC±HH:MM\" (i.e. \"UTC-01:00\")."),
38
+ }).optional(),
39
+ }).optional().describe("Object representing task due date/time, or null if no date is set."),
40
+ url: z.string().optional().describe("URL to access this task in the Todoist web or mobile applications (read-only)."),
41
+ comment_count: z.number().int().optional().describe("Number of task comments (read-only)."),
42
+ created_at: z.string().optional().describe("The date when the task was created (read-only)."),
43
+ creator_id: z.string().optional().describe("The ID of the user who created the task (read-only)."),
44
+ assignee_id: z.unknown().optional().describe("The responsible user ID (will be null if the task is unassigned)."),
45
+ assigner_id: z.unknown().optional().describe("The ID of the user who assigned the task (read-only, will be null if the task is unassigned)."),
46
+ duration: z.object({
47
+ durationObject: z.object({
48
+ amount: z.unknown().optional().describe("A positive (greater than zero) integer for the amount of duration_unit the task will take, or null to unset. If specified, you must define a duration_unit."),
49
+ unit: z.unknown().optional().describe("The unit of time that the duration field above represents, or null to unset. Must be either minute or day. If specified, duration must be defined as well."),
50
+ }).optional(),
51
+ }).optional().describe("Object representing a task's duration, including a positive integer for the amount of time and the unit of time (minute or day). The object will be null if the task has no duration."),
52
+ });
53
+ export const createTask = pikkuSessionlessFunc({
54
+ description: "Creates a new task and returns it as a JSON object.",
55
+ input: CreateTaskInput,
56
+ output: CreateTaskOutput,
57
+ func: async ({ todoist }, data) => {
58
+ return todoist.call("POST", "/tasks", data);
59
+ },
60
+ });
61
+ //# sourceMappingURL=createTask.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTask.function.js","sourceRoot":"","sources":["../../../src/functions/createTask.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8EAA8E,CAAC;IACvH,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4FAA4F,CAAC;IACzI,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mEAAmE,CAAC;IAC/G,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACrF,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAA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AAE;KACd,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uLAAuL,CAAC;CAChN,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,qDAAqD;IAClE,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAQ,CAAA;IACpD,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const DeleteCommentInput: z.ZodObject<{
3
+ comment_id: z.ZodNumber;
4
+ }, z.core.$strip>;
5
+ export declare const deleteComment: import("#pikku").PikkuFunctionConfig<{
6
+ comment_id: number;
7
+ }, unknown, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
8
+ comment_id: number;
9
+ }, unknown, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
10
+ comment_id: number;
11
+ }, unknown, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
12
+ //# sourceMappingURL=deleteComment.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteComment.function.d.ts","sourceRoot":"","sources":["../../../src/functions/deleteComment.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;iBAE7B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;gFAMxB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const DeleteCommentInput = z.object({
4
+ comment_id: z.number().int().describe("The ID of the comment to delete."),
5
+ });
6
+ export const deleteComment = pikkuSessionlessFunc({
7
+ description: "Deletes a comment.\n\nA successful response has 204 No Content status and an empty body.",
8
+ input: DeleteCommentInput,
9
+ func: async ({ todoist }, data) => {
10
+ return todoist.call("DELETE", "/comments/{comment_id}", data);
11
+ },
12
+ });
13
+ //# sourceMappingURL=deleteComment.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteComment.function.js","sourceRoot":"","sources":["../../../src/functions/deleteComment.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;CAC1E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,0FAA0F;IACvG,KAAK,EAAE,kBAAkB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAA;IAC/D,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const DeletePersonalLabelInput: z.ZodObject<{
3
+ label_id: z.ZodNumber;
4
+ }, z.core.$strip>;
5
+ export declare const deletePersonalLabel: import("#pikku").PikkuFunctionConfig<{
6
+ label_id: number;
7
+ }, unknown, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
8
+ label_id: number;
9
+ }, unknown, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
10
+ label_id: number;
11
+ }, unknown, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
12
+ //# sourceMappingURL=deletePersonalLabel.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletePersonalLabel.function.d.ts","sourceRoot":"","sources":["../../../src/functions/deletePersonalLabel.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,wBAAwB;;iBAEnC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;gFAM9B,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const DeletePersonalLabelInput = z.object({
4
+ label_id: z.number().int().describe("The ID of the label to delete."),
5
+ });
6
+ export const deletePersonalLabel = pikkuSessionlessFunc({
7
+ description: "Deletes a personal label, all instances of the label will be removed from tasks.\n\nA successful response has 204 No Content status and an empty body.",
8
+ input: DeletePersonalLabelInput,
9
+ func: async ({ todoist }, data) => {
10
+ return todoist.call("DELETE", "/labels/{label_id}", data);
11
+ },
12
+ });
13
+ //# sourceMappingURL=deletePersonalLabel.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletePersonalLabel.function.js","sourceRoot":"","sources":["../../../src/functions/deletePersonalLabel.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CACtE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;IACtD,WAAW,EAAE,wJAAwJ;IACrK,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAA;IAC3D,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const DeleteProjectInput: z.ZodObject<{
3
+ projectId: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export declare const deleteProject: import("#pikku").PikkuFunctionConfig<{
6
+ projectId: string;
7
+ }, unknown, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
8
+ projectId: string;
9
+ }, unknown, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
10
+ projectId: string;
11
+ }, unknown, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
12
+ //# sourceMappingURL=deleteProject.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteProject.function.d.ts","sourceRoot":"","sources":["../../../src/functions/deleteProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;iBAE7B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;gFAMxB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { pikkuSessionlessFunc } from '#pikku';
3
+ export const DeleteProjectInput = z.object({
4
+ projectId: z.string().describe("Project ID."),
5
+ });
6
+ export const deleteProject = pikkuSessionlessFunc({
7
+ description: "Deletes a project.\n\nA successful response has 204 No Content status and an empty body.",
8
+ input: DeleteProjectInput,
9
+ func: async ({ todoist }, data) => {
10
+ return todoist.call("DELETE", "/projects/{projectId}", data);
11
+ },
12
+ });
13
+ //# sourceMappingURL=deleteProject.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteProject.function.js","sourceRoot":"","sources":["../../../src/functions/deleteProject.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,0FAA0F;IACvG,KAAK,EAAE,kBAAkB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,uBAAuB,EAAE,IAAI,CAAC,CAAA;IAC9D,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const DeleteSectionInput: z.ZodObject<{
3
+ sectionId: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export declare const deleteSection: import("#pikku").PikkuFunctionConfig<{
6
+ sectionId: string;
7
+ }, unknown, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
8
+ sectionId: string;
9
+ }, unknown, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
10
+ sectionId: string;
11
+ }, unknown, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
12
+ //# sourceMappingURL=deleteSection.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteSection.function.d.ts","sourceRoot":"","sources":["../../../src/functions/deleteSection.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,kBAAkB;;iBAE7B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;gFAMxB,CAAA"}