@keystrokehq/motion 0.1.4 → 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 +4 -9
  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 +4 -9
  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 +4 -9
  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 +4 -9
  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 -4
  22. package/dist/actions/create-comment.d.cts.map +1 -1
  23. package/dist/actions/create-comment.d.mts +3 -4
  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 +4 -16
  30. package/dist/actions/create-custom-field.d.cts.map +1 -1
  31. package/dist/actions/create-custom-field.d.mts +4 -16
  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 -19
  38. package/dist/actions/create-project.d.cts.map +1 -1
  39. package/dist/actions/create-project.d.mts +4 -19
  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 -13
  46. package/dist/actions/create-recurring-task.d.cts.map +1 -1
  47. package/dist/actions/create-recurring-task.d.mts +3 -13
  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 -13
  54. package/dist/actions/create-task.d.cts.map +1 -1
  55. package/dist/actions/create-task.d.mts +4 -13
  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 -4
  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 -4
  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 -4
  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 -4
  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 -4
  78. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  79. package/dist/actions/delete-custom-field.d.mts +3 -4
  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 -3
  86. package/dist/actions/delete-recurring-task.d.cts.map +1 -1
  87. package/dist/actions/delete-recurring-task.d.mts +3 -3
  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 -3
  94. package/dist/actions/delete-task.d.cts.map +1 -1
  95. package/dist/actions/delete-task.d.mts +3 -3
  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 -1
  102. package/dist/actions/get-my-user.d.cts.map +1 -1
  103. package/dist/actions/get-my-user.d.mts +3 -1
  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 -3
  110. package/dist/actions/get-project.d.cts.map +1 -1
  111. package/dist/actions/get-project.d.mts +3 -3
  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 -3
  118. package/dist/actions/get-task.d.cts.map +1 -1
  119. package/dist/actions/get-task.d.mts +3 -3
  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 -4
  126. package/dist/actions/list-comments.d.cts.map +1 -1
  127. package/dist/actions/list-comments.d.mts +3 -4
  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 -3
  134. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  135. package/dist/actions/list-custom-fields.d.mts +3 -3
  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 -4
  142. package/dist/actions/list-projects.d.cts.map +1 -1
  143. package/dist/actions/list-projects.d.mts +3 -4
  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 -4
  150. package/dist/actions/list-recurring-tasks.d.cts.map +1 -1
  151. package/dist/actions/list-recurring-tasks.d.mts +3 -4
  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 -1
  158. package/dist/actions/list-schedules.d.cts.map +1 -1
  159. package/dist/actions/list-schedules.d.mts +3 -1
  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 -3
  166. package/dist/actions/list-statuses.d.cts.map +1 -1
  167. package/dist/actions/list-statuses.d.mts +3 -3
  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 -10
  174. package/dist/actions/list-tasks.d.cts.map +1 -1
  175. package/dist/actions/list-tasks.d.mts +3 -10
  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 -5
  182. package/dist/actions/list-users.d.cts.map +1 -1
  183. package/dist/actions/list-users.d.mts +3 -5
  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 -4
  190. package/dist/actions/list-workspaces.d.cts.map +1 -1
  191. package/dist/actions/list-workspaces.d.mts +3 -4
  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 -5
  198. package/dist/actions/move-task.d.cts.map +1 -1
  199. package/dist/actions/move-task.d.mts +3 -5
  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 -3
  206. package/dist/actions/unassign-task.d.cts.map +1 -1
  207. package/dist/actions/unassign-task.d.mts +3 -3
  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 -18
  214. package/dist/actions/update-task.d.cts.map +1 -1
  215. package/dist/actions/update-task.d.mts +4 -18
  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 +5 -2
  220. package/dist/app.cjs.map +1 -1
  221. package/dist/app.d.cts +7 -1
  222. package/dist/app.d.cts.map +1 -1
  223. package/dist/app.d.mts +7 -1
  224. package/dist/app.d.mts.map +1 -1
  225. package/dist/app.mjs +3 -2
  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 +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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
79
+ declare const motionGetTask: AppAction<typeof MotionGetTaskInput, typeof MotionGetTaskOutput, typeof motion.credential>;
80
80
  //#endregion
81
81
  export { motionGetTask };
82
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,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,EAAE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,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,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,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,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,CAAC,SAAS,CAAC,CAAC,SAAS;CACt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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,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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-comments.d.ts
@@ -22,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const motionListComments: AppAction<typeof MotionListCommentsInput, typeof MotionListCommentsOutput, typeof motion.credential>;
29
28
  //#endregion
30
29
  export { motionListComments };
31
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const motionListComments: AppAction<typeof MotionListCommentsInput, typeof MotionListCommentsOutput, typeof motion.credential>;
29
28
  //#endregion
30
29
  export { motionListComments };
31
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,SAA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AC,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: MotionListCustom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ields.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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const motionListCustomFields: AppAction<typeof MotionListCustomFieldsInput, typeof MotionListCustomFieldsOutput, typeof motion.credential>;
22
22
  //#endregion
23
23
  export { motionListCustomFields };
24
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const motionListCustomFields: AppAction<typeof MotionListCustomFieldsInput, typeof MotionListCustomFieldsOutput, typeof motion.credential>;
22
22
  //#endregion
23
23
  export { motionListCustomFields };
24
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
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_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\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,S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;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.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 MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_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\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects: AppAction<\n typeof MotionListProjectsInput,\n typeof MotionListProjectsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,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keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-projects.d.ts
@@ -25,10 +27,7 @@ declare const MotionListProjectsOutput: z.ZodObject<{
25
27
  custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const motionListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- cursor?: string | undefined;
30
- workspace_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const motionListProjects: AppAction<typeof MotionListProjectsInput, typeof MotionListProjectsOutput, typeof motion.credential>;
32
31
  //#endregion
33
32
  export { motionListProjects };
34
33
  //# sourceMappingURL=list-projects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,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-projects.d.ts
@@ -25,10 +27,7 @@ declare const MotionListProjectsOutput: z.ZodObject<{
25
27
  custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const motionListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- cursor?: string | undefined;
30
- workspace_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const motionListProjects: AppAction<typeof MotionListProjectsInput, typeof MotionListProjectsOutput, typeof motion.credential>;
32
31
  //#endregion
33
32
  export { motionListProjects };
34
33
  //# sourceMappingURL=list-projects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,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-projects.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_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\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAA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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5U,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,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACxD,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.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 MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListProjects_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\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).passthrough().describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).passthrough().describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).passthrough().describe(\"Response model for listing projects.\");\n\nexport const motionListProjects: AppAction<\n typeof MotionListProjectsInput,\n typeof MotionListProjectsOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG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,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACxD,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;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-recurring-tasks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAM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AO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.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 MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks: AppAction<\n typeof MotionListRecurringTasksInput,\n typeof MotionListRecurringTasksOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAA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,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6BAA6B;CAClG,QAAQ,4CAA4C,SAAS;CAC7D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,0CAA0C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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-recurring-tasks.d.ts
@@ -63,10 +65,7 @@ declare const MotionListRecurringTasksOutput: z.ZodObject<{
63
65
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
64
66
  }, z.core.$loose>>;
65
67
  }, z.core.$loose>;
66
- declare const motionListRecurringTasks: import("@keystrokehq/action").WorkflowActionDefinition<{
67
- workspaceId: string;
68
- cursor?: string | undefined;
69
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ declare const motionListRecurringTasks: AppAction<typeof MotionListRecurringTasksInput, typeof MotionListRecurringTasksOutput, typeof motion.credential>;
70
69
  //#endregion
71
70
  export { motionListRecurringTasks };
72
71
  //# sourceMappingURL=list-recurring-tasks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-recurring-tasks.d.ts
@@ -63,10 +65,7 @@ declare const MotionListRecurringTasksOutput: z.ZodObject<{
63
65
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
64
66
  }, z.core.$loose>>;
65
67
  }, z.core.$loose>;
66
- declare const motionListRecurringTasks: import("@keystrokehq/action").WorkflowActionDefinition<{
67
- workspaceId: string;
68
- cursor?: string | undefined;
69
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ declare const motionListRecurringTasks: AppAction<typeof MotionListRecurringTasksInput, typeof MotionListRecurringTasksOutput, typeof motion.credential>;
70
69
  //#endregion
71
70
  export { motionListRecurringTasks };
72
71
  //# sourceMappingURL=list-recurring-tasks.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-recurring-tasks.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-recurring-tasks.mjs","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAA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;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6BAA6B;CAClG,QAAQ,4CAA4C,SAAS;CAC7D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,0CAA0C,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAMnD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-recurring-tasks.mjs","names":[],"sources":["../../src/actions/list-recurring-tasks.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 MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).passthrough().describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).passthrough().describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the project\").nullable().optional(),\n}).passthrough().describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).passthrough().describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values for the task\").nullable().optional(),\n}).passthrough().describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).passthrough().describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks: AppAction<\n typeof MotionListRecurringTasksInput,\n typeof MotionListRecurringTasksOutput,\n typeof motion.credential\n> = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAa,EAAE,OAAO,CAAC,CAAC,S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AAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6BAA6B;CAClG,QAAQ,4CAA4C,SAAS;CAC7D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,0CAA0C,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAMnD,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;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-schedules.ts