@keystrokehq/motion 0.1.5 → 0.1.6

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 (229) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-custom-field-to-project.cjs +1 -0
  4. package/dist/actions/add-custom-field-to-project.cjs.map +1 -1
  5. package/dist/actions/add-custom-field-to-project.d.cts +3 -20
  6. package/dist/actions/add-custom-field-to-project.d.cts.map +1 -1
  7. package/dist/actions/add-custom-field-to-project.d.mts +3 -20
  8. package/dist/actions/add-custom-field-to-project.d.mts.map +1 -1
  9. package/dist/actions/add-custom-field-to-project.mjs +1 -0
  10. package/dist/actions/add-custom-field-to-project.mjs.map +1 -1
  11. package/dist/actions/add-custom-field-to-task.cjs +1 -0
  12. package/dist/actions/add-custom-field-to-task.cjs.map +1 -1
  13. package/dist/actions/add-custom-field-to-task.d.cts +3 -20
  14. package/dist/actions/add-custom-field-to-task.d.cts.map +1 -1
  15. package/dist/actions/add-custom-field-to-task.d.mts +3 -20
  16. package/dist/actions/add-custom-field-to-task.d.mts.map +1 -1
  17. package/dist/actions/add-custom-field-to-task.mjs +1 -0
  18. package/dist/actions/add-custom-field-to-task.mjs.map +1 -1
  19. package/dist/actions/create-comment.cjs +1 -0
  20. package/dist/actions/create-comment.cjs.map +1 -1
  21. package/dist/actions/create-comment.d.cts +3 -16
  22. package/dist/actions/create-comment.d.cts.map +1 -1
  23. package/dist/actions/create-comment.d.mts +3 -16
  24. package/dist/actions/create-comment.d.mts.map +1 -1
  25. package/dist/actions/create-comment.mjs +1 -0
  26. package/dist/actions/create-comment.mjs.map +1 -1
  27. package/dist/actions/create-custom-field.cjs +1 -0
  28. package/dist/actions/create-custom-field.cjs.map +1 -1
  29. package/dist/actions/create-custom-field.d.cts +3 -27
  30. package/dist/actions/create-custom-field.d.cts.map +1 -1
  31. package/dist/actions/create-custom-field.d.mts +3 -27
  32. package/dist/actions/create-custom-field.d.mts.map +1 -1
  33. package/dist/actions/create-custom-field.mjs +1 -0
  34. package/dist/actions/create-custom-field.mjs.map +1 -1
  35. package/dist/actions/create-project.cjs +1 -0
  36. package/dist/actions/create-project.cjs.map +1 -1
  37. package/dist/actions/create-project.d.cts +4 -31
  38. package/dist/actions/create-project.d.cts.map +1 -1
  39. package/dist/actions/create-project.d.mts +4 -31
  40. package/dist/actions/create-project.d.mts.map +1 -1
  41. package/dist/actions/create-project.mjs +1 -0
  42. package/dist/actions/create-project.mjs.map +1 -1
  43. package/dist/actions/create-recurring-task.cjs +1 -0
  44. package/dist/actions/create-recurring-task.cjs.map +1 -1
  45. package/dist/actions/create-recurring-task.d.cts +3 -25
  46. package/dist/actions/create-recurring-task.d.cts.map +1 -1
  47. package/dist/actions/create-recurring-task.d.mts +3 -25
  48. package/dist/actions/create-recurring-task.d.mts.map +1 -1
  49. package/dist/actions/create-recurring-task.mjs +1 -0
  50. package/dist/actions/create-recurring-task.mjs.map +1 -1
  51. package/dist/actions/create-task.cjs +1 -0
  52. package/dist/actions/create-task.cjs.map +1 -1
  53. package/dist/actions/create-task.d.cts +4 -25
  54. package/dist/actions/create-task.d.cts.map +1 -1
  55. package/dist/actions/create-task.d.mts +4 -25
  56. package/dist/actions/create-task.d.mts.map +1 -1
  57. package/dist/actions/create-task.mjs +1 -0
  58. package/dist/actions/create-task.mjs.map +1 -1
  59. package/dist/actions/delete-custom-field-from-project.cjs +1 -0
  60. package/dist/actions/delete-custom-field-from-project.cjs.map +1 -1
  61. package/dist/actions/delete-custom-field-from-project.d.cts +3 -16
  62. package/dist/actions/delete-custom-field-from-project.d.cts.map +1 -1
  63. package/dist/actions/delete-custom-field-from-project.d.mts +3 -16
  64. package/dist/actions/delete-custom-field-from-project.d.mts.map +1 -1
  65. package/dist/actions/delete-custom-field-from-project.mjs +1 -0
  66. package/dist/actions/delete-custom-field-from-project.mjs.map +1 -1
  67. package/dist/actions/delete-custom-field-from-task.cjs +1 -0
  68. package/dist/actions/delete-custom-field-from-task.cjs.map +1 -1
  69. package/dist/actions/delete-custom-field-from-task.d.cts +3 -16
  70. package/dist/actions/delete-custom-field-from-task.d.cts.map +1 -1
  71. package/dist/actions/delete-custom-field-from-task.d.mts +3 -16
  72. package/dist/actions/delete-custom-field-from-task.d.mts.map +1 -1
  73. package/dist/actions/delete-custom-field-from-task.mjs +1 -0
  74. package/dist/actions/delete-custom-field-from-task.mjs.map +1 -1
  75. package/dist/actions/delete-custom-field.cjs +1 -0
  76. package/dist/actions/delete-custom-field.cjs.map +1 -1
  77. package/dist/actions/delete-custom-field.d.cts +3 -16
  78. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  79. package/dist/actions/delete-custom-field.d.mts +3 -16
  80. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  81. package/dist/actions/delete-custom-field.mjs +1 -0
  82. package/dist/actions/delete-custom-field.mjs.map +1 -1
  83. package/dist/actions/delete-recurring-task.cjs +1 -0
  84. package/dist/actions/delete-recurring-task.cjs.map +1 -1
  85. package/dist/actions/delete-recurring-task.d.cts +3 -15
  86. package/dist/actions/delete-recurring-task.d.cts.map +1 -1
  87. package/dist/actions/delete-recurring-task.d.mts +3 -15
  88. package/dist/actions/delete-recurring-task.d.mts.map +1 -1
  89. package/dist/actions/delete-recurring-task.mjs +1 -0
  90. package/dist/actions/delete-recurring-task.mjs.map +1 -1
  91. package/dist/actions/delete-task.cjs +1 -0
  92. package/dist/actions/delete-task.cjs.map +1 -1
  93. package/dist/actions/delete-task.d.cts +3 -15
  94. package/dist/actions/delete-task.d.cts.map +1 -1
  95. package/dist/actions/delete-task.d.mts +3 -15
  96. package/dist/actions/delete-task.d.mts.map +1 -1
  97. package/dist/actions/delete-task.mjs +1 -0
  98. package/dist/actions/delete-task.mjs.map +1 -1
  99. package/dist/actions/get-my-user.cjs +1 -0
  100. package/dist/actions/get-my-user.cjs.map +1 -1
  101. package/dist/actions/get-my-user.d.cts +3 -13
  102. package/dist/actions/get-my-user.d.cts.map +1 -1
  103. package/dist/actions/get-my-user.d.mts +3 -13
  104. package/dist/actions/get-my-user.d.mts.map +1 -1
  105. package/dist/actions/get-my-user.mjs +1 -0
  106. package/dist/actions/get-my-user.mjs.map +1 -1
  107. package/dist/actions/get-project.cjs +1 -0
  108. package/dist/actions/get-project.cjs.map +1 -1
  109. package/dist/actions/get-project.d.cts +3 -15
  110. package/dist/actions/get-project.d.cts.map +1 -1
  111. package/dist/actions/get-project.d.mts +3 -15
  112. package/dist/actions/get-project.d.mts.map +1 -1
  113. package/dist/actions/get-project.mjs +1 -0
  114. package/dist/actions/get-project.mjs.map +1 -1
  115. package/dist/actions/get-task.cjs +1 -0
  116. package/dist/actions/get-task.cjs.map +1 -1
  117. package/dist/actions/get-task.d.cts +3 -15
  118. package/dist/actions/get-task.d.cts.map +1 -1
  119. package/dist/actions/get-task.d.mts +3 -15
  120. package/dist/actions/get-task.d.mts.map +1 -1
  121. package/dist/actions/get-task.mjs +1 -0
  122. package/dist/actions/get-task.mjs.map +1 -1
  123. package/dist/actions/list-comments.cjs +1 -0
  124. package/dist/actions/list-comments.cjs.map +1 -1
  125. package/dist/actions/list-comments.d.cts +3 -16
  126. package/dist/actions/list-comments.d.cts.map +1 -1
  127. package/dist/actions/list-comments.d.mts +3 -16
  128. package/dist/actions/list-comments.d.mts.map +1 -1
  129. package/dist/actions/list-comments.mjs +1 -0
  130. package/dist/actions/list-comments.mjs.map +1 -1
  131. package/dist/actions/list-custom-fields.cjs +1 -0
  132. package/dist/actions/list-custom-fields.cjs.map +1 -1
  133. package/dist/actions/list-custom-fields.d.cts +3 -15
  134. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  135. package/dist/actions/list-custom-fields.d.mts +3 -15
  136. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  137. package/dist/actions/list-custom-fields.mjs +1 -0
  138. package/dist/actions/list-custom-fields.mjs.map +1 -1
  139. package/dist/actions/list-projects.cjs +1 -0
  140. package/dist/actions/list-projects.cjs.map +1 -1
  141. package/dist/actions/list-projects.d.cts +3 -16
  142. package/dist/actions/list-projects.d.cts.map +1 -1
  143. package/dist/actions/list-projects.d.mts +3 -16
  144. package/dist/actions/list-projects.d.mts.map +1 -1
  145. package/dist/actions/list-projects.mjs +1 -0
  146. package/dist/actions/list-projects.mjs.map +1 -1
  147. package/dist/actions/list-recurring-tasks.cjs +1 -0
  148. package/dist/actions/list-recurring-tasks.cjs.map +1 -1
  149. package/dist/actions/list-recurring-tasks.d.cts +3 -16
  150. package/dist/actions/list-recurring-tasks.d.cts.map +1 -1
  151. package/dist/actions/list-recurring-tasks.d.mts +3 -16
  152. package/dist/actions/list-recurring-tasks.d.mts.map +1 -1
  153. package/dist/actions/list-recurring-tasks.mjs +1 -0
  154. package/dist/actions/list-recurring-tasks.mjs.map +1 -1
  155. package/dist/actions/list-schedules.cjs +1 -0
  156. package/dist/actions/list-schedules.cjs.map +1 -1
  157. package/dist/actions/list-schedules.d.cts +3 -13
  158. package/dist/actions/list-schedules.d.cts.map +1 -1
  159. package/dist/actions/list-schedules.d.mts +3 -13
  160. package/dist/actions/list-schedules.d.mts.map +1 -1
  161. package/dist/actions/list-schedules.mjs +1 -0
  162. package/dist/actions/list-schedules.mjs.map +1 -1
  163. package/dist/actions/list-statuses.cjs +1 -0
  164. package/dist/actions/list-statuses.cjs.map +1 -1
  165. package/dist/actions/list-statuses.d.cts +3 -15
  166. package/dist/actions/list-statuses.d.cts.map +1 -1
  167. package/dist/actions/list-statuses.d.mts +3 -15
  168. package/dist/actions/list-statuses.d.mts.map +1 -1
  169. package/dist/actions/list-statuses.mjs +1 -0
  170. package/dist/actions/list-statuses.mjs.map +1 -1
  171. package/dist/actions/list-tasks.cjs +1 -0
  172. package/dist/actions/list-tasks.cjs.map +1 -1
  173. package/dist/actions/list-tasks.d.cts +3 -22
  174. package/dist/actions/list-tasks.d.cts.map +1 -1
  175. package/dist/actions/list-tasks.d.mts +3 -22
  176. package/dist/actions/list-tasks.d.mts.map +1 -1
  177. package/dist/actions/list-tasks.mjs +1 -0
  178. package/dist/actions/list-tasks.mjs.map +1 -1
  179. package/dist/actions/list-users.cjs +1 -0
  180. package/dist/actions/list-users.cjs.map +1 -1
  181. package/dist/actions/list-users.d.cts +3 -17
  182. package/dist/actions/list-users.d.cts.map +1 -1
  183. package/dist/actions/list-users.d.mts +3 -17
  184. package/dist/actions/list-users.d.mts.map +1 -1
  185. package/dist/actions/list-users.mjs +1 -0
  186. package/dist/actions/list-users.mjs.map +1 -1
  187. package/dist/actions/list-workspaces.cjs +1 -0
  188. package/dist/actions/list-workspaces.cjs.map +1 -1
  189. package/dist/actions/list-workspaces.d.cts +3 -16
  190. package/dist/actions/list-workspaces.d.cts.map +1 -1
  191. package/dist/actions/list-workspaces.d.mts +3 -16
  192. package/dist/actions/list-workspaces.d.mts.map +1 -1
  193. package/dist/actions/list-workspaces.mjs +1 -0
  194. package/dist/actions/list-workspaces.mjs.map +1 -1
  195. package/dist/actions/move-task.cjs +1 -0
  196. package/dist/actions/move-task.cjs.map +1 -1
  197. package/dist/actions/move-task.d.cts +3 -17
  198. package/dist/actions/move-task.d.cts.map +1 -1
  199. package/dist/actions/move-task.d.mts +3 -17
  200. package/dist/actions/move-task.d.mts.map +1 -1
  201. package/dist/actions/move-task.mjs +1 -0
  202. package/dist/actions/move-task.mjs.map +1 -1
  203. package/dist/actions/unassign-task.cjs +1 -0
  204. package/dist/actions/unassign-task.cjs.map +1 -1
  205. package/dist/actions/unassign-task.d.cts +3 -15
  206. package/dist/actions/unassign-task.d.cts.map +1 -1
  207. package/dist/actions/unassign-task.d.mts +3 -15
  208. package/dist/actions/unassign-task.d.mts.map +1 -1
  209. package/dist/actions/unassign-task.mjs +1 -0
  210. package/dist/actions/unassign-task.mjs.map +1 -1
  211. package/dist/actions/update-task.cjs +1 -0
  212. package/dist/actions/update-task.cjs.map +1 -1
  213. package/dist/actions/update-task.d.cts +4 -30
  214. package/dist/actions/update-task.d.cts.map +1 -1
  215. package/dist/actions/update-task.d.mts +4 -30
  216. package/dist/actions/update-task.d.mts.map +1 -1
  217. package/dist/actions/update-task.mjs +1 -0
  218. package/dist/actions/update-task.mjs.map +1 -1
  219. package/dist/app.cjs +2 -2
  220. package/dist/app.cjs.map +1 -1
  221. package/dist/app.d.cts +4 -6
  222. package/dist/app.d.cts.map +1 -1
  223. package/dist/app.d.mts +4 -6
  224. package/dist/app.d.mts.map +1 -1
  225. package/dist/app.mjs +0 -1
  226. package/dist/app.mjs.map +1 -1
  227. package/dist/index.d.cts +1 -1
  228. package/dist/index.d.mts +1 -1
  229. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const motionGetMyUser = action("MOTION_GET_MY_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-user.mjs","names":[],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetMyUserInput = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput = z.object({\n id: z.string().describe(\"The user ID\").nullable(),\n name: z.string().describe(\"The name of the user\").nullable(),\n email: z.string().describe(\"The email of the user\").nullable(),\n}).passthrough().describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;AAWA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAWjD;CACP,QAXmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-user.mjs","names":[],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionGetMyUserInput = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput = z.object({\n id: z.string().describe(\"The user ID\").nullable(),\n name: z.string().describe(\"The name of the user\").nullable(),\n email: z.string().describe(\"The email of the user\").nullable(),\n}).passthrough().describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser: AppAction<\n typeof MotionGetMyUserInput,\n typeof MotionGetMyUserOutput,\n typeof motion.credential\n> = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;;AAaA,MAAa,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAejD;CACP,QAfmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetProjectInput = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for a project.\");\n\nexport const motionGetProject = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description, status, and custom field values.\",\n input: MotionGetProjectInput,\n output: MotionGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5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C,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionGetProjectInput = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for a project.\");\n\nexport const motionGetProject: AppAction<\n typeof MotionGetProjectInput,\n typeof MotionGetProjectOutput,\n typeof motion.credential\n> = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description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,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-project.d.ts
@@ -18,21 +20,7 @@ declare const MotionGetProjectOutput: z.ZodObject<{
18
20
  workspaceId: z.ZodNullable<z.ZodString>;
19
21
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  }, z.core.$loose>;
21
- declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
23
+ declare const motionGetProject: AppAction<typeof MotionGetProjectInput, typeof MotionGetProjectOutput, typeof motion.credential>;
36
24
  //#endregion
37
25
  export { motionGetProject };
38
26
  //# sourceMappingURL=get-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-project.d.ts
@@ -18,21 +20,7 @@ declare const MotionGetProjectOutput: z.ZodObject<{
18
20
  workspaceId: z.ZodNullable<z.ZodString>;
19
21
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  }, z.core.$loose>;
21
- declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
23
+ declare const motionGetProject: AppAction<typeof MotionGetProjectInput, typeof MotionGetProjectOutput, typeof motion.credential>;
36
24
  //#endregion
37
25
  export { motionGetProject };
38
26
  //# sourceMappingURL=get-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetProjectInput = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for a project.\");\n\nexport const motionGetProject = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description, status, and custom field values.\",\n input: MotionGetProjectInput,\n output: MotionGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EAC7D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAY7D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC9D,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionGetProjectInput = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for a project.\");\n\nexport const motionGetProject: AppAction<\n typeof MotionGetProjectInput,\n typeof MotionGetProjectOutput,\n typeof motion.credential\n> = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description, status, and custom field values.\",\n input: MotionGetProjectInput,\n output: MotionGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EAC7D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAY7D,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC9D,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-task.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.cjs","names":["z","action"],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetTaskInput = z.object({\n id: z.string().describe(\"The id of the task to fetch\"),\n}).describe(\"Request model for fetching a specific task by ID.\");\nconst MotionGetTask_ChunkObjectSchema = z.object({\n id: z.string().describe(\"Chunk identifier\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether the chunk is fixed in time\").nullable().optional(),\n duration: z.union([z.number().int(), z.number()]).nullable().optional(),\n scheduledEnd: z.string().describe(\"Scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"Completion timestamp (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n}).passthrough().describe(\"Scheduling chunk object representing a time block for the task.\");\nconst MotionGetTask_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable().optional(),\n}).passthrough().describe(\"Label object for task categorization.\");\nconst MotionGetTask_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates resolution\").nullable().optional(),\n}).passthrough().describe(\"Task status details.\");\nconst MotionGetTask_UserObjectSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n}).passthrough().describe(\"User object containing basic user information.\");\nconst MotionGetTask_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Project identifier\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n status: z.string().describe(\"Project status\").nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n updatedTime: z.string().describe(\"Last update timestamp (ISO 8601 datetime)\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project object containing project details.\");\nconst MotionGetTask_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Workspace identifier\").nullable().optional(),\n name: z.string().describe(\"Workspace name\").nullable().optional(),\n type: z.string().describe(\"Workspace type\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Team identifier\").nullable().optional(),\n statuses: z.array(MotionGetTask_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace object containing workspace details.\");\nexport const MotionGetTaskOutput = z.object({\n id: z.string().describe(\"Task identifier\").nullable().optional(),\n name: z.string().describe(\"Task title\").nullable().optional(),\n chunks: z.array(MotionGetTask_ChunkObjectSchema).describe(\"Scheduling chunks for the task\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Labels assigned to the task\").nullable().optional(),\n status: MotionGetTask_StatusObjectSchema.nullable().optional(),\n creator: MotionGetTask_UserObjectSchema.nullable().optional(),\n dueDate: z.string().describe(\"Task deadline (ISO 8601 datetime)\").nullable().optional(),\n project: MotionGetTask_ProjectObjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Start date in YYYY-MM-DD format\").nullable().optional(),\n duration: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable().optional(),\n assignees: z.array(MotionGetTask_UserObjectSchema).describe(\"Users assigned to the task\").nullable().optional(),\n completed: z.boolean().describe(\"Completion status\").nullable().optional(),\n workspace: MotionGetTask_WorkspaceObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"HTML-formatted task details\").nullable().optional(),\n updatedTime: z.string().describe(\"Last modification timestamp (ISO 8601 datetime)\").nullable().optional(),\n deadlineType: z.string().describe(\"Deadline type: HARD, SOFT (default), or NONE\").nullable().optional(),\n scheduledEnd: z.string().describe(\"Motion's scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"When task was marked complete (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Motion's scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"True if Motion failed to schedule the task\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"Most recent interaction timestamp (ISO 8601 datetime)\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"Parent ID if this is a recurring task instance\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching a specific task.\\nContains complete task details including scheduling, assignees, and custom fields.\");\n\nexport const motionGetTask = action(\"MOTION_GET_TASK\", {\n slug: \"motion-get-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve a task by its ID from Motion. Returns complete task details including title, description, due date, priority, assignees, scheduling information, and custom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6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kIAAkI;AAE5J,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-task.cjs","names":["z","action"],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionGetTaskInput = z.object({\n id: z.string().describe(\"The id of the task to fetch\"),\n}).describe(\"Request model for fetching a specific task by ID.\");\nconst MotionGetTask_ChunkObjectSchema = z.object({\n id: z.string().describe(\"Chunk identifier\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether the chunk is fixed in time\").nullable().optional(),\n duration: z.union([z.number().int(), z.number()]).nullable().optional(),\n scheduledEnd: z.string().describe(\"Scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"Completion timestamp (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n}).passthrough().describe(\"Scheduling chunk object representing a time block for the task.\");\nconst MotionGetTask_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable().optional(),\n}).passthrough().describe(\"Label object for task categorization.\");\nconst MotionGetTask_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates resolution\").nullable().optional(),\n}).passthrough().describe(\"Task status details.\");\nconst MotionGetTask_UserObjectSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n}).passthrough().describe(\"User object containing basic user information.\");\nconst MotionGetTask_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Project identifier\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n status: z.string().describe(\"Project status\").nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n updatedTime: z.string().describe(\"Last update timestamp (ISO 8601 datetime)\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project object containing project details.\");\nconst MotionGetTask_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Workspace identifier\").nullable().optional(),\n name: z.string().describe(\"Workspace name\").nullable().optional(),\n type: z.string().describe(\"Workspace type\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Team identifier\").nullable().optional(),\n statuses: z.array(MotionGetTask_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace object containing workspace details.\");\nexport const MotionGetTaskOutput = z.object({\n id: z.string().describe(\"Task identifier\").nullable().optional(),\n name: z.string().describe(\"Task title\").nullable().optional(),\n chunks: z.array(MotionGetTask_ChunkObjectSchema).describe(\"Scheduling chunks for the task\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Labels assigned to the task\").nullable().optional(),\n status: MotionGetTask_StatusObjectSchema.nullable().optional(),\n creator: MotionGetTask_UserObjectSchema.nullable().optional(),\n dueDate: z.string().describe(\"Task deadline (ISO 8601 datetime)\").nullable().optional(),\n project: MotionGetTask_ProjectObjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Start date in YYYY-MM-DD format\").nullable().optional(),\n duration: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable().optional(),\n assignees: z.array(MotionGetTask_UserObjectSchema).describe(\"Users assigned to the task\").nullable().optional(),\n completed: z.boolean().describe(\"Completion status\").nullable().optional(),\n workspace: MotionGetTask_WorkspaceObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"HTML-formatted task details\").nullable().optional(),\n updatedTime: z.string().describe(\"Last modification timestamp (ISO 8601 datetime)\").nullable().optional(),\n deadlineType: z.string().describe(\"Deadline type: HARD, SOFT (default), or NONE\").nullable().optional(),\n scheduledEnd: z.string().describe(\"Motion's scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"When task was marked complete (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Motion's scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"True if Motion failed to schedule the task\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"Most recent interaction timestamp (ISO 8601 datetime)\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"Parent ID if this is a recurring task instance\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching a specific task.\\nContains complete task details including scheduling, assignees, and custom fields.\");\n\nexport const motionGetTask: AppAction<\n typeof MotionGetTaskInput,\n typeof MotionGetTaskOutput,\n typeof motion.credential\n> = action(\"MOTION_GET_TASK\", {\n slug: \"motion-get-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve a task by its ID from Motion. Returns complete task details including title, description, due date, priority, assignees, scheduling information, and custom fields.\",\n input: MotionGetTaskInput,\n output: MotionGetTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACvD,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAM,C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CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kIAAkI;AAE5J,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-task.d.ts
@@ -74,21 +76,7 @@ declare const MotionGetTaskOutput: z.ZodObject<{
74
76
  lastInteractedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
77
  parentRecurringTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
78
  }, z.core.$loose>;
77
- declare const motionGetTask: import("@keystrokehq/action").WorkflowActionDefinition<{
78
- id: string;
79
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- generic_api_key: z.ZodString;
85
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
86
- connectionId: z.ZodString;
87
- entityId: z.ZodString;
88
- instanceId: z.ZodString;
89
- }, z.core.$strip>, z.ZodObject<{
90
- generic_api_key: z.ZodString;
91
- }, z.core.$strip>>]>;
79
+ declare const motionGetTask: AppAction<typeof MotionGetTaskInput, typeof MotionGetTaskOutput, typeof motion.credential>;
92
80
  //#endregion
93
81
  export { motionGetTask };
94
82
  //# sourceMappingURL=get-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.d.cts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cA0ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-task.d.cts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cA0ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-task.d.ts
@@ -74,21 +76,7 @@ declare const MotionGetTaskOutput: z.ZodObject<{
74
76
  lastInteractedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
77
  parentRecurringTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
78
  }, z.core.$loose>;
77
- declare const motionGetTask: import("@keystrokehq/action").WorkflowActionDefinition<{
78
- id: string;
79
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- generic_api_key: z.ZodString;
85
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
86
- connectionId: z.ZodString;
87
- entityId: z.ZodString;
88
- instanceId: z.ZodString;
89
- }, z.core.$strip>, z.ZodObject<{
90
- generic_api_key: z.ZodString;
91
- }, z.core.$strip>>]>;
79
+ declare const motionGetTask: AppAction<typeof MotionGetTaskInput, typeof MotionGetTaskOutput, typeof motion.credential>;
92
80
  //#endregion
93
81
  export { motionGetTask };
94
82
  //# sourceMappingURL=get-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.d.mts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cA0ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-task.d.mts","names":[],"sources":["../../src/actions/get-task.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cA0ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-task.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-task.mjs","names":[],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetTaskInput = z.object({\n id: z.string().describe(\"The id of the task to fetch\"),\n}).describe(\"Request model for fetching a specific task by ID.\");\nconst MotionGetTask_ChunkObjectSchema = z.object({\n id: z.string().describe(\"Chunk identifier\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether the chunk is fixed in time\").nullable().optional(),\n duration: z.union([z.number().int(), z.number()]).nullable().optional(),\n scheduledEnd: z.string().describe(\"Scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"Completion timestamp (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n}).passthrough().describe(\"Scheduling chunk object representing a time block for the task.\");\nconst MotionGetTask_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable().optional(),\n}).passthrough().describe(\"Label object for task categorization.\");\nconst MotionGetTask_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates resolution\").nullable().optional(),\n}).passthrough().describe(\"Task status details.\");\nconst MotionGetTask_UserObjectSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n}).passthrough().describe(\"User object containing basic user information.\");\nconst MotionGetTask_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Project identifier\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n status: z.string().describe(\"Project status\").nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n updatedTime: z.string().describe(\"Last update timestamp (ISO 8601 datetime)\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project object containing project details.\");\nconst MotionGetTask_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Workspace identifier\").nullable().optional(),\n name: z.string().describe(\"Workspace name\").nullable().optional(),\n type: z.string().describe(\"Workspace type\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Team identifier\").nullable().optional(),\n statuses: z.array(MotionGetTask_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace object containing workspace details.\");\nexport const MotionGetTaskOutput = z.object({\n id: z.string().describe(\"Task identifier\").nullable().optional(),\n name: z.string().describe(\"Task title\").nullable().optional(),\n chunks: z.array(MotionGetTask_ChunkObjectSchema).describe(\"Scheduling chunks for the task\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Labels assigned to the task\").nullable().optional(),\n status: MotionGetTask_StatusObjectSchema.nullable().optional(),\n creator: MotionGetTask_UserObjectSchema.nullable().optional(),\n dueDate: z.string().describe(\"Task deadline (ISO 8601 datetime)\").nullable().optional(),\n project: MotionGetTask_ProjectObjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Start date in YYYY-MM-DD format\").nullable().optional(),\n duration: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable().optional(),\n assignees: z.array(MotionGetTask_UserObjectSchema).describe(\"Users assigned to the task\").nullable().optional(),\n completed: z.boolean().describe(\"Completion status\").nullable().optional(),\n workspace: MotionGetTask_WorkspaceObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"HTML-formatted task details\").nullable().optional(),\n updatedTime: z.string().describe(\"Last modification timestamp (ISO 8601 datetime)\").nullable().optional(),\n deadlineType: z.string().describe(\"Deadline type: HARD, SOFT (default), or NONE\").nullable().optional(),\n scheduledEnd: z.string().describe(\"Motion's scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"When task was marked complete (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Motion's scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"True if Motion failed to schedule the task\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"Most recent interaction timestamp (ISO 8601 datetime)\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"Parent ID if this is a recurring task instance\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching a specific task.\\nContains complete task details including scheduling, assignees, and custom fields.\");\n\nexport const motionGetTask = action(\"MOTION_GET_TASK\", {\n slug: \"motion-get-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve a task by its ID from Motion. Returns complete task details including title, description, due date, priority, assignees, scheduling information, and custom fields.\",\n input: MotionGetTaskInput,\n output: MotionGetTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACvD,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CA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C,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kIAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-task.mjs","names":[],"sources":["../../src/actions/get-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionGetTaskInput = z.object({\n id: z.string().describe(\"The id of the task to fetch\"),\n}).describe(\"Request model for fetching a specific task by ID.\");\nconst MotionGetTask_ChunkObjectSchema = z.object({\n id: z.string().describe(\"Chunk identifier\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether the chunk is fixed in time\").nullable().optional(),\n duration: z.union([z.number().int(), z.number()]).nullable().optional(),\n scheduledEnd: z.string().describe(\"Scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"Completion timestamp (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n}).passthrough().describe(\"Scheduling chunk object representing a time block for the task.\");\nconst MotionGetTask_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable().optional(),\n}).passthrough().describe(\"Label object for task categorization.\");\nconst MotionGetTask_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates resolution\").nullable().optional(),\n}).passthrough().describe(\"Task status details.\");\nconst MotionGetTask_UserObjectSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n}).passthrough().describe(\"User object containing basic user information.\");\nconst MotionGetTask_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Project identifier\").nullable().optional(),\n name: z.string().describe(\"Project name\").nullable().optional(),\n status: z.string().describe(\"Project status\").nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"Project description\").nullable().optional(),\n updatedTime: z.string().describe(\"Last update timestamp (ISO 8601 datetime)\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project object containing project details.\");\nconst MotionGetTask_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Workspace identifier\").nullable().optional(),\n name: z.string().describe(\"Workspace name\").nullable().optional(),\n type: z.string().describe(\"Workspace type\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Team identifier\").nullable().optional(),\n statuses: z.array(MotionGetTask_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace object containing workspace details.\");\nexport const MotionGetTaskOutput = z.object({\n id: z.string().describe(\"Task identifier\").nullable().optional(),\n name: z.string().describe(\"Task title\").nullable().optional(),\n chunks: z.array(MotionGetTask_ChunkObjectSchema).describe(\"Scheduling chunks for the task\").nullable().optional(),\n labels: z.array(MotionGetTask_LabelObjectSchema).describe(\"Labels assigned to the task\").nullable().optional(),\n status: MotionGetTask_StatusObjectSchema.nullable().optional(),\n creator: MotionGetTask_UserObjectSchema.nullable().optional(),\n dueDate: z.string().describe(\"Task deadline (ISO 8601 datetime)\").nullable().optional(),\n project: MotionGetTask_ProjectObjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Start date in YYYY-MM-DD format\").nullable().optional(),\n duration: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable().optional(),\n assignees: z.array(MotionGetTask_UserObjectSchema).describe(\"Users assigned to the task\").nullable().optional(),\n completed: z.boolean().describe(\"Completion status\").nullable().optional(),\n workspace: MotionGetTask_WorkspaceObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Creation timestamp (ISO 8601 datetime)\").nullable().optional(),\n description: z.string().describe(\"HTML-formatted task details\").nullable().optional(),\n updatedTime: z.string().describe(\"Last modification timestamp (ISO 8601 datetime)\").nullable().optional(),\n deadlineType: z.string().describe(\"Deadline type: HARD, SOFT (default), or NONE\").nullable().optional(),\n scheduledEnd: z.string().describe(\"Motion's scheduled end time (ISO 8601 datetime)\").nullable().optional(),\n completedTime: z.string().describe(\"When task was marked complete (ISO 8601 datetime)\").nullable().optional(),\n scheduledStart: z.string().describe(\"Motion's scheduled start time (ISO 8601 datetime)\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"True if Motion failed to schedule the task\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"Most recent interaction timestamp (ISO 8601 datetime)\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"Parent ID if this is a recurring task instance\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching a specific task.\\nContains complete task details including scheduling, assignees, and custom fields.\");\n\nexport const motionGetTask: AppAction<\n typeof MotionGetTaskInput,\n typeof MotionGetTaskOutput,\n typeof motion.credential\n> = action(\"MOTION_GET_TASK\", {\n slug: \"motion-get-task\",\n name: \"Get Task by ID\",\n description: \"Tool to retrieve a task by its ID from Motion. Returns complete task details including title, description, due date, priority, assignees, scheduling information, and custom fields.\",\n input: MotionGetTaskInput,\n output: MotionGetTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,EACvD,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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CAAC,CAAC,SAAS;EACtH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kIAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-comments.cjs","names":["z","action"],"sources":["../../src/actions/list-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCommentsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results. Pass the nextCursor value from the previous response to get the next page.\").optional(),\n taskId: z.string().describe(\"The ID of the task to get comments for. Required parameter to fetch all comments associated with a specific task.\"),\n});\nconst MotionListComments_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of comments included in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Pass this as the cursor parameter in the next request. If null, there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the comments list response.\");\nconst MotionListComments_CommentCreatorSchema = z.object({\n id: z.string().describe(\"The creator's unique user identifier.\").nullable(),\n name: z.string().describe(\"The creator's display name.\").nullable(),\n email: z.string().describe(\"The creator's email address.\").nullable(),\n}).passthrough().describe(\"Information about the comment creator.\");\nconst MotionListComments_CommentSchema = z.object({\n id: z.string().describe(\"The comment's unique identifier.\").nullable(),\n taskId: z.string().describe(\"The ID of the task this comment belongs to.\").nullable(),\n content: z.string().describe(\"The HTML content of the comment.\").nullable(),\n creator: MotionListComments_CommentCreatorSchema.nullable(),\n createdAt: z.string().describe(\"Timestamp of when the comment was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"A Motion comment object.\");\nexport const MotionListCommentsOutput = z.object({\n meta: MotionListComments_MetaInfoSchema.nullable(),\n comments: z.array(MotionListComments_CommentSchema).default([]).describe(\"List of comments on the task with details including id, taskId, content, createdAt, and creator information.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListComments = action(\"MOTION_LIST_COMMENTS\", {\n slug: \"motion-list-comments\",\n name: \"List comments on task\",\n description: \"Tool to get all comments on a specific task. Use when you need to retrieve comment history for a task. Supports cursor-based pagination for tasks with many comments.\",\n input: MotionListCommentsInput,\n output: MotionListCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACjJ,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,SAAS,wCAAwC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,kCAAkC,SAAS;CACjD,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-comments.cjs","names":["z","action"],"sources":["../../src/actions/list-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListCommentsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results. Pass the nextCursor value from the previous response to get the next page.\").optional(),\n taskId: z.string().describe(\"The ID of the task to get comments for. Required parameter to fetch all comments associated with a specific task.\"),\n});\nconst MotionListComments_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of comments included in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Pass this as the cursor parameter in the next request. If null, there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the comments list response.\");\nconst MotionListComments_CommentCreatorSchema = z.object({\n id: z.string().describe(\"The creator's unique user identifier.\").nullable(),\n name: z.string().describe(\"The creator's display name.\").nullable(),\n email: z.string().describe(\"The creator's email address.\").nullable(),\n}).passthrough().describe(\"Information about the comment creator.\");\nconst MotionListComments_CommentSchema = z.object({\n id: z.string().describe(\"The comment's unique identifier.\").nullable(),\n taskId: z.string().describe(\"The ID of the task this comment belongs to.\").nullable(),\n content: z.string().describe(\"The HTML content of the comment.\").nullable(),\n creator: MotionListComments_CommentCreatorSchema.nullable(),\n createdAt: z.string().describe(\"Timestamp of when the comment was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"A Motion comment object.\");\nexport const MotionListCommentsOutput = z.object({\n meta: MotionListComments_MetaInfoSchema.nullable(),\n comments: z.array(MotionListComments_CommentSchema).default([]).describe(\"List of comments on the task with details including id, taskId, content, createdAt, and creator information.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListComments: AppAction<\n typeof MotionListCommentsInput,\n typeof MotionListCommentsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_COMMENTS\", {\n slug: \"motion-list-comments\",\n name: \"List comments on task\",\n description: \"Tool to get all comments on a specific task. Use when you need to retrieve comment history for a task. Supports cursor-based pagination for tasks with many comments.\",\n input: MotionListCommentsInput,\n output: MotionListCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACjJ,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,S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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-comments.d.ts
@@ -22,22 +24,7 @@ declare const MotionListCommentsOutput: z.ZodObject<{
22
24
  createdAt: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>>>>;
24
26
  }, z.core.$loose>;
25
- declare const motionListComments: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- taskId: string;
27
- cursor?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>;
27
+ declare const motionListComments: AppAction<typeof MotionListCommentsInput, typeof MotionListCommentsOutput, typeof motion.credential>;
41
28
  //#endregion
42
29
  export { motionListComments };
43
30
  //# sourceMappingURL=list-comments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-comments.d.cts","names":[],"sources":["../../src/actions/list-comments.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-comments.d.cts","names":[],"sources":["../../src/actions/list-comments.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-comments.d.ts
@@ -22,22 +24,7 @@ declare const MotionListCommentsOutput: z.ZodObject<{
22
24
  createdAt: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>>>>;
24
26
  }, z.core.$loose>;
25
- declare const motionListComments: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- taskId: string;
27
- cursor?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>;
27
+ declare const motionListComments: AppAction<typeof MotionListCommentsInput, typeof MotionListCommentsOutput, typeof motion.credential>;
41
28
  //#endregion
42
29
  export { motionListComments };
43
30
  //# sourceMappingURL=list-comments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-comments.d.mts","names":[],"sources":["../../src/actions/list-comments.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-comments.d.mts","names":[],"sources":["../../src/actions/list-comments.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-comments.mjs","names":[],"sources":["../../src/actions/list-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCommentsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results. Pass the nextCursor value from the previous response to get the next page.\").optional(),\n taskId: z.string().describe(\"The ID of the task to get comments for. Required parameter to fetch all comments associated with a specific task.\"),\n});\nconst MotionListComments_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of comments included in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Pass this as the cursor parameter in the next request. If null, there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the comments list response.\");\nconst MotionListComments_CommentCreatorSchema = z.object({\n id: z.string().describe(\"The creator's unique user identifier.\").nullable(),\n name: z.string().describe(\"The creator's display name.\").nullable(),\n email: z.string().describe(\"The creator's email address.\").nullable(),\n}).passthrough().describe(\"Information about the comment creator.\");\nconst MotionListComments_CommentSchema = z.object({\n id: z.string().describe(\"The comment's unique identifier.\").nullable(),\n taskId: z.string().describe(\"The ID of the task this comment belongs to.\").nullable(),\n content: z.string().describe(\"The HTML content of the comment.\").nullable(),\n creator: MotionListComments_CommentCreatorSchema.nullable(),\n createdAt: z.string().describe(\"Timestamp of when the comment was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"A Motion comment object.\");\nexport const MotionListCommentsOutput = z.object({\n meta: MotionListComments_MetaInfoSchema.nullable(),\n comments: z.array(MotionListComments_CommentSchema).default([]).describe(\"List of comments on the task with details including id, taskId, content, createdAt, and creator information.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListComments = action(\"MOTION_LIST_COMMENTS\", {\n slug: \"motion-list-comments\",\n name: \"List comments on task\",\n description: \"Tool to get all comments on a specific task. Use when you need to retrieve comment history for a task. Supports cursor-based pagination for tasks with many comments.\",\n input: MotionListCommentsInput,\n output: MotionListCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACjJ,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,SAAS,wCAAwC,SAAS;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,kCAAkC,SAAS;EACjD,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-comments.mjs","names":[],"sources":["../../src/actions/list-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListCommentsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results. Pass the nextCursor value from the previous response to get the next page.\").optional(),\n taskId: z.string().describe(\"The ID of the task to get comments for. Required parameter to fetch all comments associated with a specific task.\"),\n});\nconst MotionListComments_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of comments included in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Pass this as the cursor parameter in the next request. If null, there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for the comments list response.\");\nconst MotionListComments_CommentCreatorSchema = z.object({\n id: z.string().describe(\"The creator's unique user identifier.\").nullable(),\n name: z.string().describe(\"The creator's display name.\").nullable(),\n email: z.string().describe(\"The creator's email address.\").nullable(),\n}).passthrough().describe(\"Information about the comment creator.\");\nconst MotionListComments_CommentSchema = z.object({\n id: z.string().describe(\"The comment's unique identifier.\").nullable(),\n taskId: z.string().describe(\"The ID of the task this comment belongs to.\").nullable(),\n content: z.string().describe(\"The HTML content of the comment.\").nullable(),\n creator: MotionListComments_CommentCreatorSchema.nullable(),\n createdAt: z.string().describe(\"Timestamp of when the comment was created (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"A Motion comment object.\");\nexport const MotionListCommentsOutput = z.object({\n meta: MotionListComments_MetaInfoSchema.nullable(),\n comments: z.array(MotionListComments_CommentSchema).default([]).describe(\"List of comments on the task with details including id, taskId, content, createdAt, and creator information.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListComments: AppAction<\n typeof MotionListCommentsInput,\n typeof MotionListCommentsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_COMMENTS\", {\n slug: \"motion-list-comments\",\n name: \"List comments on task\",\n description: \"Tool to get all comments on a specific task. Use when you need to retrieve comment history for a task. Supports cursor-based pagination for tasks with many comments.\",\n input: MotionListCommentsInput,\n output: MotionListCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACjJ,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,SAAS,wCAAwC,SAAS;CAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,kCAAkC,SAAS;EACjD,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-custom-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCustomFieldsInput = z.object({\n workspace_id: z.string().describe(\"The workspace ID to get custom fields from\"),\n}).describe(\"Request model for listing custom fields for a workspace.\");\nconst MotionListCustomFields_FieldDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n name: z.string().describe(\"The name of the custom field\").nullable(),\n type: z.string().describe(\"The type of the custom field (e.g., 'text', 'select', 'date', 'number')\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for the custom field (e.g., options for select fields, format for number fields)\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace this custom field belongs to\").nullable(),\n}).passthrough().describe(\"Details of a custom field.\");\nconst MotionListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n field: MotionListCustomFields_FieldDetailsSchema.nullable(),\n}).passthrough().describe(\"A custom field object containing field details and ID.\");\nexport const MotionListCustomFieldsOutput = z.object({\n custom_fields: z.array(MotionListCustomFields_CustomFieldSchema).describe(\"List of custom fields in the workspace\"),\n}).passthrough().describe(\"Response model for listing custom fields.\\nReturns an array of custom field objects.\");\n\nexport const motionListCustomFields = action(\"MOTION_LIST_CUSTOM_FIELDS\", {\n slug: \"motion-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to retrieve all custom fields for a given Motion workspace. Use when you need to see what custom fields are available in a workspace.\",\n input: MotionListCustomFieldsInput,\n output: MotionListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAEhH,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListCustomFieldsInput = z.object({\n workspace_id: z.string().describe(\"The workspace ID to get custom fields from\"),\n}).describe(\"Request model for listing custom fields for a workspace.\");\nconst MotionListCustomFields_FieldDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n name: z.string().describe(\"The name of the custom field\").nullable(),\n type: z.string().describe(\"The type of the custom field (e.g., 'text', 'select', 'date', 'number')\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for the custom field (e.g., options for select fields, format for number fields)\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace this custom field belongs to\").nullable(),\n}).passthrough().describe(\"Details of a custom field.\");\nconst MotionListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n field: MotionListCustomFields_FieldDetailsSchema.nullable(),\n}).passthrough().describe(\"A custom field object containing field details and ID.\");\nexport const MotionListCustomFieldsOutput = z.object({\n custom_fields: z.array(MotionListCustomFields_CustomFieldSchema).describe(\"List of custom fields in the workspace\"),\n}).passthrough().describe(\"Response model for listing custom fields.\\nReturns an array of custom field objects.\");\n\nexport const motionListCustomFields: AppAction<\n typeof MotionListCustomFieldsInput,\n typeof MotionListCustomFieldsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_CUSTOM_FIELDS\", {\n slug: \"motion-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to retrieve all custom fields for a given Motion workspace. Use when you need to see what custom fields are available in a workspace.\",\n input: MotionListCustomFieldsInput,\n output: MotionListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAEhH,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-custom-fields.d.ts
@@ -16,21 +18,7 @@ declare const MotionListCustomFieldsOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const motionListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- workspace_id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const motionListCustomFields: AppAction<typeof MotionListCustomFieldsInput, typeof MotionListCustomFieldsOutput, typeof motion.credential>;
34
22
  //#endregion
35
23
  export { motionListCustomFields };
36
24
  //# sourceMappingURL=list-custom-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { motion } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-custom-fields.d.ts
@@ -16,21 +18,7 @@ declare const MotionListCustomFieldsOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const motionListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- workspace_id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"motion", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const motionListCustomFields: AppAction<typeof MotionListCustomFieldsInput, typeof MotionListCustomFieldsOutput, typeof motion.credential>;
34
22
  //#endregion
35
23
  export { motionListCustomFields };
36
24
  //# sourceMappingURL=list-custom-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-custom-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCustomFieldsInput = z.object({\n workspace_id: z.string().describe(\"The workspace ID to get custom fields from\"),\n}).describe(\"Request model for listing custom fields for a workspace.\");\nconst MotionListCustomFields_FieldDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n name: z.string().describe(\"The name of the custom field\").nullable(),\n type: z.string().describe(\"The type of the custom field (e.g., 'text', 'select', 'date', 'number')\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for the custom field (e.g., options for select fields, format for number fields)\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace this custom field belongs to\").nullable(),\n}).passthrough().describe(\"Details of a custom field.\");\nconst MotionListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n field: MotionListCustomFields_FieldDetailsSchema.nullable(),\n}).passthrough().describe(\"A custom field object containing field details and ID.\");\nexport const MotionListCustomFieldsOutput = z.object({\n custom_fields: z.array(MotionListCustomFields_CustomFieldSchema).describe(\"List of custom fields in the workspace\"),\n}).passthrough().describe(\"Response model for listing custom fields.\\nReturns an array of custom field objects.\");\n\nexport const motionListCustomFields = action(\"MOTION_LIST_CUSTOM_FIELDS\", {\n slug: \"motion-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to retrieve all custom fields for a given Motion workspace. Use when you need to see what custom fields are available in a workspace.\",\n input: MotionListCustomFieldsInput,\n output: MotionListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { motion } from \"../app\";\n\nexport const MotionListCustomFieldsInput = z.object({\n workspace_id: z.string().describe(\"The workspace ID to get custom fields from\"),\n}).describe(\"Request model for listing custom fields for a workspace.\");\nconst MotionListCustomFields_FieldDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n name: z.string().describe(\"The name of the custom field\").nullable(),\n type: z.string().describe(\"The type of the custom field (e.g., 'text', 'select', 'date', 'number')\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for the custom field (e.g., options for select fields, format for number fields)\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace this custom field belongs to\").nullable(),\n}).passthrough().describe(\"Details of a custom field.\");\nconst MotionListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n field: MotionListCustomFields_FieldDetailsSchema.nullable(),\n}).passthrough().describe(\"A custom field object containing field details and ID.\");\nexport const MotionListCustomFieldsOutput = z.object({\n custom_fields: z.array(MotionListCustomFields_CustomFieldSchema).describe(\"List of custom fields in the workspace\"),\n}).passthrough().describe(\"Response model for listing custom fields.\\nReturns an array of custom field objects.\");\n\nexport const motionListCustomFields: AppAction<\n typeof MotionListCustomFieldsInput,\n typeof MotionListCustomFieldsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_CUSTOM_FIELDS\", {\n slug: \"motion-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to retrieve all custom fields for a given Motion workspace. Use when you need to see what custom fields are available in a workspace.\",\n input: MotionListCustomFieldsInput,\n output: MotionListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-projects.ts