@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,826 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * This provides the structure needed for typescript to be aware of RPCs and their return types
6
+ */
7
+
8
+
9
+
10
+
11
+
12
+ export type CloseTaskInput = {
13
+ /** The ID of the task to close. */
14
+ taskId: number;
15
+ }
16
+ export type CreateCommentInput = {
17
+ /** Comment's task ID (for task comments). task_id or project_id required */
18
+ task_id?: string | undefined;
19
+ /** Comment's project ID (for project comments). task_id or project_id required */
20
+ project_id?: string | undefined;
21
+ /** Comment content. This value may contain markdown-formatted text and hyperlinks. */
22
+ content: string;
23
+ /** Object for attachment object. */
24
+ attachment?: {
25
+ resource_type?: string | undefined;
26
+ file_url?: string | undefined;
27
+ file_type?: string | undefined;
28
+ file_name?: string | undefined;
29
+ } | undefined;
30
+ }
31
+ export type CreateCommentOutput = {
32
+ /** Comment ID. */
33
+ id?: string | undefined;
34
+ /** Comment's task ID (will be null if the comment belongs to a project). */
35
+ task_id?: unknown | undefined;
36
+ /** Comment's project ID (will be null if the comment belongs to a task). */
37
+ project_id?: unknown | undefined;
38
+ /** Date and time when comment was added, in RFC3339 format in UTC. */
39
+ posted_at?: string | undefined;
40
+ /** Comment 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. */
41
+ content?: string | undefined;
42
+ /** Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation. */
43
+ attachment?: unknown | undefined;
44
+ }
45
+ export type CreatePersonalLabelInput = {
46
+ /** Name of the label. */
47
+ name: string;
48
+ /** Label order. */
49
+ order?: number | undefined;
50
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
51
+ color?: string | undefined;
52
+ /** Whether the label is a favorite (a true or false value). */
53
+ is_favorite?: boolean | undefined;
54
+ }
55
+ export type CreatePersonalLabelOutput = {
56
+ /** Label ID. */
57
+ id?: string | undefined;
58
+ /** Label name. */
59
+ name?: string | undefined;
60
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
61
+ color?: string | undefined;
62
+ /** Number used by clients to sort list of labels. */
63
+ order?: number | undefined;
64
+ /** Whether the label is a favorite (a true or false value). */
65
+ is_favorite?: boolean | undefined;
66
+ }
67
+ export type CreateProjectInput = {
68
+ /** Name of the project */
69
+ name: string;
70
+ /** Parent project ID */
71
+ parent_id?: string | undefined;
72
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. https://developer.todoist.com/guides/#colors */
73
+ color?: string | undefined;
74
+ /** Whether the project is a favorite (a true or false value). */
75
+ is_favorite?: boolean | undefined;
76
+ /** A string value (either list or board, default is list). This determines the way the project is displayed within the Todoist clients. */
77
+ view_style?: string | undefined;
78
+ }
79
+ export type CreateProjectOutput = {
80
+ /** Project ID. */
81
+ id?: string | undefined;
82
+ /** Project name. */
83
+ name?: string | undefined;
84
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. */
85
+ color?: string | undefined;
86
+ /** ID of parent project (will be null for top-level projects). */
87
+ parent_id?: unknown | undefined;
88
+ /** Project position under the same parent (read-only, will be 0 for inbox and team inbox projects). */
89
+ order?: number | undefined;
90
+ /** Number of project comments. */
91
+ comment_count?: number | undefined;
92
+ /** Whether the project is shared (read-only, a true or false value). */
93
+ is_shared?: boolean | undefined;
94
+ /** Whether the project is a favorite (a true or false value). */
95
+ is_favorite?: boolean | undefined;
96
+ /** Whether the project is the user's Inbox (read-only). */
97
+ is_inbox_project?: boolean | undefined;
98
+ /** Whether the project is the Team Inbox (read-only). */
99
+ is_team_inbox?: boolean | undefined;
100
+ /** A string value (either list or board). This determines the way the project is displayed within the Todoist clients. */
101
+ view_style?: string | undefined;
102
+ /** URL to access this project in the Todoist web or mobile applications. */
103
+ url?: string | undefined;
104
+ }
105
+ export type CreateSectionInput = {
106
+ /** Project ID this section should belong to */
107
+ project_id: string;
108
+ /** Section name */
109
+ name: string;
110
+ /** Order among other sections in a project */
111
+ order?: number | undefined;
112
+ }
113
+ export type CreateSectionOutput = {
114
+ /** Section ID */
115
+ id?: string | undefined;
116
+ /** ID of the project section belongs to */
117
+ project_id?: string | undefined;
118
+ /** Section position among other sections from the same project */
119
+ order?: number | undefined;
120
+ /** Section name */
121
+ name?: string | undefined;
122
+ }
123
+ export type CreateTaskInput = {
124
+ /** Task content. This value may contain markdown-formatted text and hyperlinks. */
125
+ content?: string | undefined;
126
+ /** A description for the task. This value may contain markdown-formatted text and hyperlinks. */
127
+ description?: string | undefined;
128
+ /** Task project ID. If not set, the task is put in the user's Inbox. */
129
+ project_id?: string | undefined;
130
+ /** ID of the section to put the task into. */
131
+ section_id?: string | undefined;
132
+ /** Parent task ID. */
133
+ parent_id?: string | undefined;
134
+ /** Non-zero integer value used by clients to sort tasks under the same parent. */
135
+ order?: number | undefined;
136
+ /** The task's labels (a list of names that may represent either personal or shared labels). */
137
+ labels?: string[] | undefined;
138
+ /** Task priority from 1 (normal) to 4 (urgent). */
139
+ priority?: number | undefined;
140
+ /** Human-defined task due date (ex. "next Monday," "Tomorrow"). Value is set using local (not UTC) time. */
141
+ due_string?: string | undefined;
142
+ /** Specific date in YYYY-MM-DD format relative to the user's timezone. */
143
+ due_date?: string | undefined;
144
+ /** Specific date and time in RFC3339 format in UTC. */
145
+ due_datetime?: string | undefined;
146
+ /** 2-letter code specifying the language in case due_string is not written in English. */
147
+ due_lang?: string | undefined;
148
+ /** The responsible user ID (only applies to shared tasks). */
149
+ assignee_id?: string | undefined;
150
+ /** A positive (greater than zero) integer for the amount of duration_unit the task will take. If specified, you must define a duration_unit. */
151
+ duration?: number | undefined;
152
+ /** The unit of time that the duration field above represents. Must be either minute or day. If specified, duration must be defined as well. */
153
+ duration_unit?: string | undefined;
154
+ }
155
+ export type CreateTaskOutput = {
156
+ /** Task ID. */
157
+ id?: string | undefined;
158
+ /** Task's project ID (read-only). */
159
+ project_id?: string | undefined;
160
+ /** ID of section task belongs to (read-only, will be null when the task has no parent section). */
161
+ section_id?: unknown | undefined;
162
+ /** 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. */
163
+ content?: string | undefined;
164
+ /** 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. */
165
+ description?: string | undefined;
166
+ /** Flag to mark completed tasks. */
167
+ is_completed?: boolean | undefined;
168
+ labels?: string[] | undefined;
169
+ /** ID of parent task (read-only, will be null for top-level tasks). */
170
+ parent_id?: unknown | undefined;
171
+ /** Position under the same parent or project for top-level tasks (read-only). */
172
+ order?: number | undefined;
173
+ /** Task priority from 1 (normal, default value) to 4 (urgent). */
174
+ priority?: number | undefined;
175
+ /** Object representing task due date/time, or null if no date is set. */
176
+ due?: {
177
+ dueObject?: {
178
+ /** Human defined date in arbitrary format. */
179
+ string: string;
180
+ /** Date in format YYYY-MM-DD corrected to user's timezone. */
181
+ date: string;
182
+ /** Whether the task has a recurring due date. */
183
+ is_recurring: boolean;
184
+ /** Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC. */
185
+ datetime?: string | undefined;
186
+ /** 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"). */
187
+ timezone?: string | undefined;
188
+ } | undefined;
189
+ } | undefined;
190
+ /** URL to access this task in the Todoist web or mobile applications (read-only). */
191
+ url?: string | undefined;
192
+ /** Number of task comments (read-only). */
193
+ comment_count?: number | undefined;
194
+ /** The date when the task was created (read-only). */
195
+ created_at?: string | undefined;
196
+ /** The ID of the user who created the task (read-only). */
197
+ creator_id?: string | undefined;
198
+ /** The responsible user ID (will be null if the task is unassigned). */
199
+ assignee_id?: unknown | undefined;
200
+ /** The ID of the user who assigned the task (read-only, will be null if the task is unassigned). */
201
+ assigner_id?: unknown | undefined;
202
+ /** 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. */
203
+ duration?: {
204
+ durationObject?: {
205
+ /** 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. */
206
+ amount?: unknown | undefined;
207
+ /** 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. */
208
+ unit?: unknown | undefined;
209
+ } | undefined;
210
+ } | undefined;
211
+ }
212
+ export type CredentialSchema_todoist = {
213
+ /** Todoist bearer token */
214
+ token: string;
215
+ }
216
+ export type DeleteCommentInput = {
217
+ /** The ID of the comment to delete. */
218
+ comment_id: number;
219
+ }
220
+ export type DeletePersonalLabelInput = {
221
+ /** The ID of the label to delete. */
222
+ label_id: number;
223
+ }
224
+ export type DeleteProjectInput = {
225
+ /** Project ID. */
226
+ projectId: string;
227
+ }
228
+ export type DeleteSectionInput = {
229
+ /** Section ID. */
230
+ sectionId: string;
231
+ }
232
+ export type DeleteTaskInput = {
233
+ /** The ID of the task to delete. */
234
+ taskId: number;
235
+ }
236
+ export type GetActiveTaskInput = {
237
+ /** The ID of the task to retrieve. */
238
+ taskId: number;
239
+ }
240
+ export type GetActiveTaskOutput = {
241
+ /** Task ID. */
242
+ id?: string | undefined;
243
+ /** Task's project ID (read-only). */
244
+ project_id?: string | undefined;
245
+ /** ID of section task belongs to (read-only, will be null when the task has no parent section). */
246
+ section_id?: unknown | undefined;
247
+ /** 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. */
248
+ content?: string | undefined;
249
+ /** 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. */
250
+ description?: string | undefined;
251
+ /** Flag to mark completed tasks. */
252
+ is_completed?: boolean | undefined;
253
+ labels?: string[] | undefined;
254
+ /** ID of parent task (read-only, will be null for top-level tasks). */
255
+ parent_id?: unknown | undefined;
256
+ /** Position under the same parent or project for top-level tasks (read-only). */
257
+ order?: number | undefined;
258
+ /** Task priority from 1 (normal, default value) to 4 (urgent). */
259
+ priority?: number | undefined;
260
+ /** Object representing task due date/time, or null if no date is set. */
261
+ due?: {
262
+ dueObject?: {
263
+ /** Human defined date in arbitrary format. */
264
+ string: string;
265
+ /** Date in format YYYY-MM-DD corrected to user's timezone. */
266
+ date: string;
267
+ /** Whether the task has a recurring due date. */
268
+ is_recurring: boolean;
269
+ /** Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC. */
270
+ datetime?: string | undefined;
271
+ /** 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"). */
272
+ timezone?: string | undefined;
273
+ } | undefined;
274
+ } | undefined;
275
+ /** URL to access this task in the Todoist web or mobile applications (read-only). */
276
+ url?: string | undefined;
277
+ /** Number of task comments (read-only). */
278
+ comment_count?: number | undefined;
279
+ /** The date when the task was created (read-only). */
280
+ created_at?: string | undefined;
281
+ /** The ID of the user who created the task (read-only). */
282
+ creator_id?: string | undefined;
283
+ /** The responsible user ID (will be null if the task is unassigned). */
284
+ assignee_id?: unknown | undefined;
285
+ /** The ID of the user who assigned the task (read-only, will be null if the task is unassigned). */
286
+ assigner_id?: unknown | undefined;
287
+ /** 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. */
288
+ duration?: {
289
+ durationObject?: {
290
+ /** 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. */
291
+ amount?: unknown | undefined;
292
+ /** 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. */
293
+ unit?: unknown | undefined;
294
+ } | undefined;
295
+ } | undefined;
296
+ }
297
+ export type GetActiveTasksInput = {
298
+ /** Filter tasks by project ID. */
299
+ project_id?: string | undefined;
300
+ /** Filter tasks by section ID. */
301
+ section_id?: string | undefined;
302
+ /** Filter tasks by label name. */
303
+ label?: string | undefined;
304
+ /** Filter by any supported filter. */
305
+ filter?: string | undefined;
306
+ /** IETF language tag defining what language the filter is written in, if it differs from the default English. */
307
+ lang?: string | undefined;
308
+ /** A list of the task IDs to retrieve, this should be a comma-separated list. */
309
+ ids?: number[] | undefined;
310
+ }
311
+ export type GetActiveTasksOutput = {
312
+ /** Task ID. */
313
+ id?: string | undefined;
314
+ /** Task's project ID (read-only). */
315
+ project_id?: string | undefined;
316
+ /** ID of section task belongs to (read-only, will be null when the task has no parent section). */
317
+ section_id?: unknown | undefined;
318
+ /** 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. */
319
+ content?: string | undefined;
320
+ /** 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. */
321
+ description?: string | undefined;
322
+ /** Flag to mark completed tasks. */
323
+ is_completed?: boolean | undefined;
324
+ labels?: string[] | undefined;
325
+ /** ID of parent task (read-only, will be null for top-level tasks). */
326
+ parent_id?: unknown | undefined;
327
+ /** Position under the same parent or project for top-level tasks (read-only). */
328
+ order?: number | undefined;
329
+ /** Task priority from 1 (normal, default value) to 4 (urgent). */
330
+ priority?: number | undefined;
331
+ /** Object representing task due date/time, or null if no date is set. */
332
+ due?: {
333
+ dueObject?: {
334
+ /** Human defined date in arbitrary format. */
335
+ string: string;
336
+ /** Date in format YYYY-MM-DD corrected to user's timezone. */
337
+ date: string;
338
+ /** Whether the task has a recurring due date. */
339
+ is_recurring: boolean;
340
+ /** Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC. */
341
+ datetime?: string | undefined;
342
+ /** 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"). */
343
+ timezone?: string | undefined;
344
+ } | undefined;
345
+ } | undefined;
346
+ /** URL to access this task in the Todoist web or mobile applications (read-only). */
347
+ url?: string | undefined;
348
+ /** Number of task comments (read-only). */
349
+ comment_count?: number | undefined;
350
+ /** The date when the task was created (read-only). */
351
+ created_at?: string | undefined;
352
+ /** The ID of the user who created the task (read-only). */
353
+ creator_id?: string | undefined;
354
+ /** The responsible user ID (will be null if the task is unassigned). */
355
+ assignee_id?: unknown | undefined;
356
+ /** The ID of the user who assigned the task (read-only, will be null if the task is unassigned). */
357
+ assigner_id?: unknown | undefined;
358
+ /** 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. */
359
+ duration?: {
360
+ durationObject?: {
361
+ /** 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. */
362
+ amount?: unknown | undefined;
363
+ /** 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. */
364
+ unit?: unknown | undefined;
365
+ } | undefined;
366
+ } | undefined;
367
+ }[]
368
+ export type GetAllCollaboratorsInput = {
369
+ /** Project ID. */
370
+ projectId: string;
371
+ }
372
+ export type GetAllCollaboratorsOutput = {
373
+ /** Collaborator's user ID */
374
+ id?: string | undefined;
375
+ /** Collaborator's name */
376
+ name?: string | undefined;
377
+ /** Collaborator's email */
378
+ email?: string | undefined;
379
+ }[]
380
+ export type GetAllCommentsInput = {
381
+ /** ID of the project used to filter comments. task_id or project_id required */
382
+ project_id?: string | undefined;
383
+ /** ID of the task used to filter comments. task_id or project_id required */
384
+ task_id?: string | undefined;
385
+ }
386
+ export type GetAllCommentsOutput = {
387
+ /** Comment ID. */
388
+ id?: string | undefined;
389
+ /** Comment's task ID (will be null if the comment belongs to a project). */
390
+ task_id?: unknown | undefined;
391
+ /** Comment's project ID (will be null if the comment belongs to a task). */
392
+ project_id?: unknown | undefined;
393
+ /** Date and time when comment was added, in RFC3339 format in UTC. */
394
+ posted_at?: string | undefined;
395
+ /** Comment 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. */
396
+ content?: string | undefined;
397
+ /** Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation. */
398
+ attachment?: unknown | undefined;
399
+ }[]
400
+ export type GetAllPersonalLabelsOutput = {
401
+ /** Label ID. */
402
+ id?: string | undefined;
403
+ /** Label name. */
404
+ name?: string | undefined;
405
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
406
+ color?: string | undefined;
407
+ /** Number used by clients to sort list of labels. */
408
+ order?: number | undefined;
409
+ /** Whether the label is a favorite (a true or false value). */
410
+ is_favorite?: boolean | undefined;
411
+ }[]
412
+ export type GetAllProjectsOutput = {
413
+ /** Project ID. */
414
+ id?: string | undefined;
415
+ /** Project name. */
416
+ name?: string | undefined;
417
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. */
418
+ color?: string | undefined;
419
+ /** ID of parent project (will be null for top-level projects). */
420
+ parent_id?: unknown | undefined;
421
+ /** Project position under the same parent (read-only, will be 0 for inbox and team inbox projects). */
422
+ order?: number | undefined;
423
+ /** Number of project comments. */
424
+ comment_count?: number | undefined;
425
+ /** Whether the project is shared (read-only, a true or false value). */
426
+ is_shared?: boolean | undefined;
427
+ /** Whether the project is a favorite (a true or false value). */
428
+ is_favorite?: boolean | undefined;
429
+ /** Whether the project is the user's Inbox (read-only). */
430
+ is_inbox_project?: boolean | undefined;
431
+ /** Whether the project is the Team Inbox (read-only). */
432
+ is_team_inbox?: boolean | undefined;
433
+ /** A string value (either list or board). This determines the way the project is displayed within the Todoist clients. */
434
+ view_style?: string | undefined;
435
+ /** URL to access this project in the Todoist web or mobile applications. */
436
+ url?: string | undefined;
437
+ }[]
438
+ export type GetAllSectionsInput = {
439
+ /** Project ID. */
440
+ project_id?: string | undefined;
441
+ }
442
+ export type GetAllSectionsOutput = {
443
+ /** Section ID */
444
+ id?: string | undefined;
445
+ /** ID of the project section belongs to */
446
+ project_id?: string | undefined;
447
+ /** Section position among other sections from the same project */
448
+ order?: number | undefined;
449
+ /** Section name */
450
+ name?: string | undefined;
451
+ }[]
452
+ export type GetCommentInput = {
453
+ /** The ID of the comment to retrieve. */
454
+ comment_id: number;
455
+ }
456
+ export type GetCommentOutput = {
457
+ /** Comment ID. */
458
+ id?: string | undefined;
459
+ /** Comment's task ID (will be null if the comment belongs to a project). */
460
+ task_id?: unknown | undefined;
461
+ /** Comment's project ID (will be null if the comment belongs to a task). */
462
+ project_id?: unknown | undefined;
463
+ /** Date and time when comment was added, in RFC3339 format in UTC. */
464
+ posted_at?: string | undefined;
465
+ /** Comment 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. */
466
+ content?: string | undefined;
467
+ /** Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation. */
468
+ attachment?: unknown | undefined;
469
+ }
470
+ export type GetPersonalLabelInput = {
471
+ /** The ID of the label to retrieve. */
472
+ label_id: number;
473
+ }
474
+ export type GetPersonalLabelOutput = {
475
+ /** Label ID. */
476
+ id?: string | undefined;
477
+ /** Label name. */
478
+ name?: string | undefined;
479
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
480
+ color?: string | undefined;
481
+ /** Number used by clients to sort list of labels. */
482
+ order?: number | undefined;
483
+ /** Whether the label is a favorite (a true or false value). */
484
+ is_favorite?: boolean | undefined;
485
+ }
486
+ export type GetProjectInput = {
487
+ /** Project ID. */
488
+ projectId: string;
489
+ }
490
+ export type GetProjectOutput = {
491
+ /** Project ID. */
492
+ id?: string | undefined;
493
+ /** Project name. */
494
+ name?: string | undefined;
495
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. */
496
+ color?: string | undefined;
497
+ /** ID of parent project (will be null for top-level projects). */
498
+ parent_id?: unknown | undefined;
499
+ /** Project position under the same parent (read-only, will be 0 for inbox and team inbox projects). */
500
+ order?: number | undefined;
501
+ /** Number of project comments. */
502
+ comment_count?: number | undefined;
503
+ /** Whether the project is shared (read-only, a true or false value). */
504
+ is_shared?: boolean | undefined;
505
+ /** Whether the project is a favorite (a true or false value). */
506
+ is_favorite?: boolean | undefined;
507
+ /** Whether the project is the user's Inbox (read-only). */
508
+ is_inbox_project?: boolean | undefined;
509
+ /** Whether the project is the Team Inbox (read-only). */
510
+ is_team_inbox?: boolean | undefined;
511
+ /** A string value (either list or board). This determines the way the project is displayed within the Todoist clients. */
512
+ view_style?: string | undefined;
513
+ /** URL to access this project in the Todoist web or mobile applications. */
514
+ url?: string | undefined;
515
+ }
516
+ export type GetSingleSectionInput = {
517
+ /** Section ID. */
518
+ sectionId: string;
519
+ }
520
+ export type GetSingleSectionOutput = {
521
+ /** Section ID */
522
+ id?: string | undefined;
523
+ /** ID of the project section belongs to */
524
+ project_id?: string | undefined;
525
+ /** Section position among other sections from the same project */
526
+ order?: number | undefined;
527
+ /** Section name */
528
+ name?: string | undefined;
529
+ }
530
+ export type ReopenTaskInput = {
531
+ /** The ID of the task to reopen. */
532
+ taskId: number;
533
+ }
534
+ export type UpdateCommentInput = {
535
+ /** The ID of the comment to update. */
536
+ comment_id: string;
537
+ /** New content for the comment. This value may contain markdown-formatted text and hyperlinks. */
538
+ content: string;
539
+ }
540
+ export type UpdateCommentOutput = {
541
+ /** Comment ID. */
542
+ id?: string | undefined;
543
+ /** Comment's task ID (will be null if the comment belongs to a project). */
544
+ task_id?: unknown | undefined;
545
+ /** Comment's project ID (will be null if the comment belongs to a task). */
546
+ project_id?: unknown | undefined;
547
+ /** Date and time when comment was added, in RFC3339 format in UTC. */
548
+ posted_at?: string | undefined;
549
+ /** Comment 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. */
550
+ content?: string | undefined;
551
+ /** Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation. */
552
+ attachment?: unknown | undefined;
553
+ }
554
+ export type UpdatePersonalLabelInput = {
555
+ /** The ID of the label to update. */
556
+ label_id: string;
557
+ /** New name of the label. */
558
+ name?: string | undefined;
559
+ /** Number that is used by clients to sort the list of labels. */
560
+ order?: number | undefined;
561
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
562
+ color?: string | undefined;
563
+ /** Whether the label is a favorite (a true or false value). */
564
+ is_favorite?: boolean | undefined;
565
+ }
566
+ export type UpdatePersonalLabelOutput = {
567
+ /** Label ID. */
568
+ id?: string | undefined;
569
+ /** Label name. */
570
+ name?: string | undefined;
571
+ /** The color of the label icon. Refer to the name column in the Colors guide for more info. */
572
+ color?: string | undefined;
573
+ /** Number used by clients to sort list of labels. */
574
+ order?: number | undefined;
575
+ /** Whether the label is a favorite (a true or false value). */
576
+ is_favorite?: boolean | undefined;
577
+ }
578
+ export type UpdateProjectInput = {
579
+ /** Project ID. */
580
+ projectId: string;
581
+ /** Name of the project */
582
+ name?: string | undefined;
583
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. https://developer.todoist.com/guides/#colors */
584
+ color?: string | undefined;
585
+ /** Whether the project is a favorite (a true or false value). */
586
+ is_favorite?: boolean | undefined;
587
+ /** A string value (either list or board, default is list). This determines the way the project is displayed within the Todoist clients. */
588
+ view_style?: string | undefined;
589
+ }
590
+ export type UpdateProjectOutput = {
591
+ /** Project ID. */
592
+ id?: string | undefined;
593
+ /** Project name. */
594
+ name?: string | undefined;
595
+ /** The color of the project icon. Refer to the name column in the Colors guide for more info. */
596
+ color?: string | undefined;
597
+ /** ID of parent project (will be null for top-level projects). */
598
+ parent_id?: unknown | undefined;
599
+ /** Project position under the same parent (read-only, will be 0 for inbox and team inbox projects). */
600
+ order?: number | undefined;
601
+ /** Number of project comments. */
602
+ comment_count?: number | undefined;
603
+ /** Whether the project is shared (read-only, a true or false value). */
604
+ is_shared?: boolean | undefined;
605
+ /** Whether the project is a favorite (a true or false value). */
606
+ is_favorite?: boolean | undefined;
607
+ /** Whether the project is the user's Inbox (read-only). */
608
+ is_inbox_project?: boolean | undefined;
609
+ /** Whether the project is the Team Inbox (read-only). */
610
+ is_team_inbox?: boolean | undefined;
611
+ /** A string value (either list or board). This determines the way the project is displayed within the Todoist clients. */
612
+ view_style?: string | undefined;
613
+ /** URL to access this project in the Todoist web or mobile applications. */
614
+ url?: string | undefined;
615
+ }
616
+ export type UpdateSectionInput = {
617
+ /** Section ID. */
618
+ sectionId: string;
619
+ /** Section name. */
620
+ name: string;
621
+ }
622
+ export type UpdateSectionOutput = {
623
+ /** Section ID */
624
+ id?: string | undefined;
625
+ /** ID of the project section belongs to */
626
+ project_id?: string | undefined;
627
+ /** Section position among other sections from the same project */
628
+ order?: number | undefined;
629
+ /** Section name */
630
+ name?: string | undefined;
631
+ }
632
+ export type UpdateTaskInput = {
633
+ /** The ID of the task to update. */
634
+ taskId: string;
635
+ /** Task content. This value may contain markdown-formatted text and hyperlinks. */
636
+ content?: string | undefined;
637
+ /** A description for the task. This value may contain markdown-formatted text and hyperlinks. */
638
+ description?: string | undefined;
639
+ /** The task's labels (a list of names that may represent either personal or shared labels). */
640
+ labels?: string[] | undefined;
641
+ /** Task priority from 1 (normal) to 4 (urgent). */
642
+ priority?: number | undefined;
643
+ /** Human-defined task due date (ex. "next Monday," "Tomorrow"). Value is set using local (not UTC) time. */
644
+ due_string?: string | undefined;
645
+ /** Specific date in YYYY-MM-DD format relative to the user's timezone. */
646
+ due_date?: string | undefined;
647
+ /** Specific date and time in RFC3339 format in UTC. */
648
+ due_datetime?: string | undefined;
649
+ /** 2-letter code specifying the language in case due_string is not written in English. */
650
+ due_lang?: string | undefined;
651
+ /** The responsible user ID or null to unset (for shared tasks). */
652
+ assignee_id?: string | undefined;
653
+ /** A positive integer for the task duration, or null to unset. If specified, you must define a duration_unit. */
654
+ duration?: number | undefined;
655
+ /** The unit of time for the duration. Must be either 'minute' or 'day'. */
656
+ duration_unit?: string | undefined;
657
+ }
658
+ export type UpdateTaskOutput = {
659
+ /** Task ID. */
660
+ id?: string | undefined;
661
+ /** Task's project ID (read-only). */
662
+ project_id?: string | undefined;
663
+ /** ID of section task belongs to (read-only, will be null when the task has no parent section). */
664
+ section_id?: unknown | undefined;
665
+ /** 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. */
666
+ content?: string | undefined;
667
+ /** 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. */
668
+ description?: string | undefined;
669
+ /** Flag to mark completed tasks. */
670
+ is_completed?: boolean | undefined;
671
+ labels?: string[] | undefined;
672
+ /** ID of parent task (read-only, will be null for top-level tasks). */
673
+ parent_id?: unknown | undefined;
674
+ /** Position under the same parent or project for top-level tasks (read-only). */
675
+ order?: number | undefined;
676
+ /** Task priority from 1 (normal, default value) to 4 (urgent). */
677
+ priority?: number | undefined;
678
+ /** Object representing task due date/time, or null if no date is set. */
679
+ due?: {
680
+ dueObject?: {
681
+ /** Human defined date in arbitrary format. */
682
+ string: string;
683
+ /** Date in format YYYY-MM-DD corrected to user's timezone. */
684
+ date: string;
685
+ /** Whether the task has a recurring due date. */
686
+ is_recurring: boolean;
687
+ /** Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC. */
688
+ datetime?: string | undefined;
689
+ /** 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"). */
690
+ timezone?: string | undefined;
691
+ } | undefined;
692
+ } | undefined;
693
+ /** URL to access this task in the Todoist web or mobile applications (read-only). */
694
+ url?: string | undefined;
695
+ /** Number of task comments (read-only). */
696
+ comment_count?: number | undefined;
697
+ /** The date when the task was created (read-only). */
698
+ created_at?: string | undefined;
699
+ /** The ID of the user who created the task (read-only). */
700
+ creator_id?: string | undefined;
701
+ /** The responsible user ID (will be null if the task is unassigned). */
702
+ assignee_id?: unknown | undefined;
703
+ /** The ID of the user who assigned the task (read-only, will be null if the task is unassigned). */
704
+ assigner_id?: unknown | undefined;
705
+ /** 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. */
706
+ duration?: {
707
+ durationObject?: {
708
+ /** 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. */
709
+ amount?: unknown | undefined;
710
+ /** 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. */
711
+ unit?: unknown | undefined;
712
+ } | undefined;
713
+ } | undefined;
714
+ }
715
+ export type VariableSchema_TODOIST_BASE_URL = "https://api.todoist.com/rest/v2"
716
+
717
+ interface RPCHandler<I, O> {
718
+ input: I;
719
+ output: O;
720
+ }
721
+
722
+ export type RPCMap = {
723
+ readonly 'getAllProjects': RPCHandler<null, GetAllProjectsOutput>,
724
+ readonly 'createProject': RPCHandler<CreateProjectInput, CreateProjectOutput>,
725
+ readonly 'getProject': RPCHandler<GetProjectInput, GetProjectOutput>,
726
+ readonly 'updateProject': RPCHandler<UpdateProjectInput, UpdateProjectOutput>,
727
+ readonly 'deleteProject': RPCHandler<DeleteProjectInput, null>,
728
+ readonly 'getAllCollaborators': RPCHandler<GetAllCollaboratorsInput, GetAllCollaboratorsOutput>,
729
+ readonly 'getAllSections': RPCHandler<GetAllSectionsInput, GetAllSectionsOutput>,
730
+ readonly 'createSection': RPCHandler<CreateSectionInput, CreateSectionOutput>,
731
+ readonly 'getSingleSection': RPCHandler<GetSingleSectionInput, GetSingleSectionOutput>,
732
+ readonly 'updateSection': RPCHandler<UpdateSectionInput, UpdateSectionOutput>,
733
+ readonly 'deleteSection': RPCHandler<DeleteSectionInput, null>,
734
+ readonly 'getActiveTasks': RPCHandler<GetActiveTasksInput, GetActiveTasksOutput>,
735
+ readonly 'createTask': RPCHandler<CreateTaskInput, CreateTaskOutput>,
736
+ readonly 'getActiveTask': RPCHandler<GetActiveTaskInput, GetActiveTaskOutput>,
737
+ readonly 'updateTask': RPCHandler<UpdateTaskInput, UpdateTaskOutput>,
738
+ readonly 'deleteTask': RPCHandler<DeleteTaskInput, null>,
739
+ readonly 'closeTask': RPCHandler<CloseTaskInput, null>,
740
+ readonly 'reopenTask': RPCHandler<ReopenTaskInput, null>,
741
+ readonly 'getAllComments': RPCHandler<GetAllCommentsInput, GetAllCommentsOutput>,
742
+ readonly 'createComment': RPCHandler<CreateCommentInput, CreateCommentOutput>,
743
+ readonly 'getComment': RPCHandler<GetCommentInput, GetCommentOutput>,
744
+ readonly 'updateComment': RPCHandler<UpdateCommentInput, UpdateCommentOutput>,
745
+ readonly 'deleteComment': RPCHandler<DeleteCommentInput, null>,
746
+ readonly 'getAllPersonalLabels': RPCHandler<null, GetAllPersonalLabelsOutput>,
747
+ readonly 'createPersonalLabel': RPCHandler<CreatePersonalLabelInput, CreatePersonalLabelOutput>,
748
+ readonly 'getPersonalLabel': RPCHandler<GetPersonalLabelInput, GetPersonalLabelOutput>,
749
+ readonly 'updatePersonalLabel': RPCHandler<UpdatePersonalLabelInput, UpdatePersonalLabelOutput>,
750
+ readonly 'deletePersonalLabel': RPCHandler<DeletePersonalLabelInput, null>,
751
+ };
752
+
753
+
754
+
755
+ // No addon packages, use RPCMap directly
756
+ export type FlattenedRPCMap = RPCMap
757
+
758
+ type IsAny<T> = 0 extends (1 & T) ? true : false
759
+ type IsVoidishInput<T> = IsAny<T> extends true
760
+ ? false
761
+ : [T] extends [void | null | undefined]
762
+ ? true
763
+ : false
764
+
765
+
766
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
767
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
768
+ ? [name: Name]
769
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
770
+ ) => Promise<FlattenedRPCMap[Name]['output']>
771
+
772
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
773
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
774
+ ? [name: Name]
775
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
776
+ ) => Promise<FlattenedRPCMap[Name]['output']>
777
+
778
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
779
+
780
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
781
+
782
+
783
+ type FlattenedAgentMap = AgentMap
784
+
785
+
786
+ import type { PikkuRPC } from '@pikku/core/rpc'
787
+
788
+ interface AIAgentInput {
789
+ message: string
790
+ threadId: string
791
+ resourceId: string
792
+ }
793
+
794
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
795
+ name: Name,
796
+ input: FlattenedWorkflowMap[Name]['input'],
797
+ options?: { startNode?: string }
798
+ ) => Promise<{ runId: string }>
799
+
800
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
801
+ name: Name,
802
+ input: FlattenedWorkflowMap[Name]['input']
803
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
804
+
805
+ export type TypedWorkflowStatus = (
806
+ workflowName: string,
807
+ runId: string
808
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
809
+
810
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
811
+ ? (name: string, input: AIAgentInput) => Promise<any>
812
+ : <Name extends keyof FlattenedAgentMap>(
813
+ name: Name,
814
+ input: AIAgentInput
815
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
816
+
817
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
818
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
819
+ : <Name extends keyof FlattenedAgentMap>(
820
+ name: Name,
821
+ input: AIAgentInput,
822
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
823
+ ) => Promise<void>
824
+
825
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
826
+