@keystrokehq/motion 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) 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 -1
  4. package/dist/actions/add-custom-field-to-project.cjs.map +1 -1
  5. package/dist/actions/add-custom-field-to-project.d.cts +33 -3
  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 +33 -3
  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 -1
  10. package/dist/actions/add-custom-field-to-project.mjs.map +1 -1
  11. package/dist/actions/add-custom-field-to-task.cjs +1 -1
  12. package/dist/actions/add-custom-field-to-task.cjs.map +1 -1
  13. package/dist/actions/add-custom-field-to-task.d.cts +33 -3
  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 +33 -3
  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 -1
  18. package/dist/actions/add-custom-field-to-task.mjs.map +1 -1
  19. package/dist/actions/create-comment.cjs +4 -4
  20. package/dist/actions/create-comment.cjs.map +1 -1
  21. package/dist/actions/create-comment.d.cts +19 -3
  22. package/dist/actions/create-comment.d.cts.map +1 -1
  23. package/dist/actions/create-comment.d.mts +19 -3
  24. package/dist/actions/create-comment.d.mts.map +1 -1
  25. package/dist/actions/create-comment.mjs +4 -4
  26. package/dist/actions/create-comment.mjs.map +1 -1
  27. package/dist/actions/create-custom-field.cjs +2 -2
  28. package/dist/actions/create-custom-field.cjs.map +1 -1
  29. package/dist/actions/create-custom-field.d.cts +49 -3
  30. package/dist/actions/create-custom-field.d.cts.map +1 -1
  31. package/dist/actions/create-custom-field.d.mts +49 -3
  32. package/dist/actions/create-custom-field.d.mts.map +1 -1
  33. package/dist/actions/create-custom-field.mjs +2 -2
  34. package/dist/actions/create-custom-field.mjs.map +1 -1
  35. package/dist/actions/create-project.cjs +4 -4
  36. package/dist/actions/create-project.cjs.map +1 -1
  37. package/dist/actions/create-project.d.cts +48 -3
  38. package/dist/actions/create-project.d.cts.map +1 -1
  39. package/dist/actions/create-project.d.mts +48 -3
  40. package/dist/actions/create-project.d.mts.map +1 -1
  41. package/dist/actions/create-project.mjs +4 -4
  42. package/dist/actions/create-project.mjs.map +1 -1
  43. package/dist/actions/create-recurring-task.cjs.map +1 -1
  44. package/dist/actions/create-recurring-task.d.cts +77 -3
  45. package/dist/actions/create-recurring-task.d.cts.map +1 -1
  46. package/dist/actions/create-recurring-task.d.mts +77 -3
  47. package/dist/actions/create-recurring-task.d.mts.map +1 -1
  48. package/dist/actions/create-recurring-task.mjs.map +1 -1
  49. package/dist/actions/create-task.cjs +17 -17
  50. package/dist/actions/create-task.cjs.map +1 -1
  51. package/dist/actions/create-task.d.cts +96 -3
  52. package/dist/actions/create-task.d.cts.map +1 -1
  53. package/dist/actions/create-task.d.mts +96 -3
  54. package/dist/actions/create-task.d.mts.map +1 -1
  55. package/dist/actions/create-task.mjs +17 -17
  56. package/dist/actions/create-task.mjs.map +1 -1
  57. package/dist/actions/delete-custom-field-from-project.cjs +1 -1
  58. package/dist/actions/delete-custom-field-from-project.cjs.map +1 -1
  59. package/dist/actions/delete-custom-field-from-project.d.cts +11 -3
  60. package/dist/actions/delete-custom-field-from-project.d.cts.map +1 -1
  61. package/dist/actions/delete-custom-field-from-project.d.mts +11 -3
  62. package/dist/actions/delete-custom-field-from-project.d.mts.map +1 -1
  63. package/dist/actions/delete-custom-field-from-project.mjs +1 -1
  64. package/dist/actions/delete-custom-field-from-project.mjs.map +1 -1
  65. package/dist/actions/delete-custom-field-from-task.cjs.map +1 -1
  66. package/dist/actions/delete-custom-field-from-task.d.cts +9 -3
  67. package/dist/actions/delete-custom-field-from-task.d.cts.map +1 -1
  68. package/dist/actions/delete-custom-field-from-task.d.mts +9 -3
  69. package/dist/actions/delete-custom-field-from-task.d.mts.map +1 -1
  70. package/dist/actions/delete-custom-field-from-task.mjs.map +1 -1
  71. package/dist/actions/delete-custom-field.cjs +1 -1
  72. package/dist/actions/delete-custom-field.cjs.map +1 -1
  73. package/dist/actions/delete-custom-field.d.cts +12 -3
  74. package/dist/actions/delete-custom-field.d.cts.map +1 -1
  75. package/dist/actions/delete-custom-field.d.mts +12 -3
  76. package/dist/actions/delete-custom-field.d.mts.map +1 -1
  77. package/dist/actions/delete-custom-field.mjs +1 -1
  78. package/dist/actions/delete-custom-field.mjs.map +1 -1
  79. package/dist/actions/delete-recurring-task.cjs +1 -1
  80. package/dist/actions/delete-recurring-task.cjs.map +1 -1
  81. package/dist/actions/delete-recurring-task.d.cts +9 -3
  82. package/dist/actions/delete-recurring-task.d.cts.map +1 -1
  83. package/dist/actions/delete-recurring-task.d.mts +9 -3
  84. package/dist/actions/delete-recurring-task.d.mts.map +1 -1
  85. package/dist/actions/delete-recurring-task.mjs +1 -1
  86. package/dist/actions/delete-recurring-task.mjs.map +1 -1
  87. package/dist/actions/delete-task.cjs +1 -1
  88. package/dist/actions/delete-task.cjs.map +1 -1
  89. package/dist/actions/delete-task.d.cts +9 -3
  90. package/dist/actions/delete-task.d.cts.map +1 -1
  91. package/dist/actions/delete-task.d.mts +9 -3
  92. package/dist/actions/delete-task.d.mts.map +1 -1
  93. package/dist/actions/delete-task.mjs +1 -1
  94. package/dist/actions/delete-task.mjs.map +1 -1
  95. package/dist/actions/get-my-user.cjs +3 -3
  96. package/dist/actions/get-my-user.cjs.map +1 -1
  97. package/dist/actions/get-my-user.d.cts +7 -3
  98. package/dist/actions/get-my-user.d.cts.map +1 -1
  99. package/dist/actions/get-my-user.d.mts +7 -3
  100. package/dist/actions/get-my-user.d.mts.map +1 -1
  101. package/dist/actions/get-my-user.mjs +3 -3
  102. package/dist/actions/get-my-user.mjs.map +1 -1
  103. package/dist/actions/get-project.cjs +3 -3
  104. package/dist/actions/get-project.cjs.map +1 -1
  105. package/dist/actions/get-project.d.cts +20 -3
  106. package/dist/actions/get-project.d.cts.map +1 -1
  107. package/dist/actions/get-project.d.mts +20 -3
  108. package/dist/actions/get-project.d.mts.map +1 -1
  109. package/dist/actions/get-project.mjs +3 -3
  110. package/dist/actions/get-project.mjs.map +1 -1
  111. package/dist/actions/get-task.cjs.map +1 -1
  112. package/dist/actions/get-task.d.cts +76 -3
  113. package/dist/actions/get-task.d.cts.map +1 -1
  114. package/dist/actions/get-task.d.mts +76 -3
  115. package/dist/actions/get-task.d.mts.map +1 -1
  116. package/dist/actions/get-task.mjs.map +1 -1
  117. package/dist/actions/list-comments.cjs +7 -7
  118. package/dist/actions/list-comments.cjs.map +1 -1
  119. package/dist/actions/list-comments.d.cts +25 -3
  120. package/dist/actions/list-comments.d.cts.map +1 -1
  121. package/dist/actions/list-comments.d.mts +25 -3
  122. package/dist/actions/list-comments.d.mts.map +1 -1
  123. package/dist/actions/list-comments.mjs +7 -7
  124. package/dist/actions/list-comments.mjs.map +1 -1
  125. package/dist/actions/list-custom-fields.cjs +5 -5
  126. package/dist/actions/list-custom-fields.cjs.map +1 -1
  127. package/dist/actions/list-custom-fields.d.cts +18 -3
  128. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  129. package/dist/actions/list-custom-fields.d.mts +18 -3
  130. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  131. package/dist/actions/list-custom-fields.mjs +5 -5
  132. package/dist/actions/list-custom-fields.mjs.map +1 -1
  133. package/dist/actions/list-projects.cjs +3 -3
  134. package/dist/actions/list-projects.cjs.map +1 -1
  135. package/dist/actions/list-projects.d.cts +28 -3
  136. package/dist/actions/list-projects.d.cts.map +1 -1
  137. package/dist/actions/list-projects.d.mts +28 -3
  138. package/dist/actions/list-projects.d.mts.map +1 -1
  139. package/dist/actions/list-projects.mjs +3 -3
  140. package/dist/actions/list-projects.mjs.map +1 -1
  141. package/dist/actions/list-recurring-tasks.cjs +17 -17
  142. package/dist/actions/list-recurring-tasks.cjs.map +1 -1
  143. package/dist/actions/list-recurring-tasks.d.cts +66 -3
  144. package/dist/actions/list-recurring-tasks.d.cts.map +1 -1
  145. package/dist/actions/list-recurring-tasks.d.mts +66 -3
  146. package/dist/actions/list-recurring-tasks.d.mts.map +1 -1
  147. package/dist/actions/list-recurring-tasks.mjs +17 -17
  148. package/dist/actions/list-recurring-tasks.mjs.map +1 -1
  149. package/dist/actions/list-schedules.cjs +5 -5
  150. package/dist/actions/list-schedules.cjs.map +1 -1
  151. package/dist/actions/list-schedules.d.cts +39 -3
  152. package/dist/actions/list-schedules.d.cts.map +1 -1
  153. package/dist/actions/list-schedules.d.mts +39 -3
  154. package/dist/actions/list-schedules.d.mts.map +1 -1
  155. package/dist/actions/list-schedules.mjs +5 -5
  156. package/dist/actions/list-schedules.mjs.map +1 -1
  157. package/dist/actions/list-statuses.cjs +3 -3
  158. package/dist/actions/list-statuses.cjs.map +1 -1
  159. package/dist/actions/list-statuses.d.cts +13 -3
  160. package/dist/actions/list-statuses.d.cts.map +1 -1
  161. package/dist/actions/list-statuses.d.mts +13 -3
  162. package/dist/actions/list-statuses.d.mts.map +1 -1
  163. package/dist/actions/list-statuses.mjs +3 -3
  164. package/dist/actions/list-statuses.mjs.map +1 -1
  165. package/dist/actions/list-tasks.cjs.map +1 -1
  166. package/dist/actions/list-tasks.d.cts +91 -3
  167. package/dist/actions/list-tasks.d.cts.map +1 -1
  168. package/dist/actions/list-tasks.d.mts +91 -3
  169. package/dist/actions/list-tasks.d.mts.map +1 -1
  170. package/dist/actions/list-tasks.mjs.map +1 -1
  171. package/dist/actions/list-users.cjs +2 -2
  172. package/dist/actions/list-users.cjs.map +1 -1
  173. package/dist/actions/list-users.d.cts +21 -3
  174. package/dist/actions/list-users.d.cts.map +1 -1
  175. package/dist/actions/list-users.d.mts +21 -3
  176. package/dist/actions/list-users.d.mts.map +1 -1
  177. package/dist/actions/list-users.mjs +2 -2
  178. package/dist/actions/list-users.mjs.map +1 -1
  179. package/dist/actions/list-workspaces.cjs +7 -7
  180. package/dist/actions/list-workspaces.cjs.map +1 -1
  181. package/dist/actions/list-workspaces.d.cts +28 -3
  182. package/dist/actions/list-workspaces.d.cts.map +1 -1
  183. package/dist/actions/list-workspaces.d.mts +28 -3
  184. package/dist/actions/list-workspaces.d.mts.map +1 -1
  185. package/dist/actions/list-workspaces.mjs +7 -7
  186. package/dist/actions/list-workspaces.mjs.map +1 -1
  187. package/dist/actions/move-task.cjs +16 -16
  188. package/dist/actions/move-task.cjs.map +1 -1
  189. package/dist/actions/move-task.d.cts +84 -3
  190. package/dist/actions/move-task.d.cts.map +1 -1
  191. package/dist/actions/move-task.d.mts +84 -3
  192. package/dist/actions/move-task.d.mts.map +1 -1
  193. package/dist/actions/move-task.mjs +16 -16
  194. package/dist/actions/move-task.mjs.map +1 -1
  195. package/dist/actions/unassign-task.cjs.map +1 -1
  196. package/dist/actions/unassign-task.d.cts +9 -3
  197. package/dist/actions/unassign-task.d.cts.map +1 -1
  198. package/dist/actions/unassign-task.d.mts +9 -3
  199. package/dist/actions/unassign-task.d.mts.map +1 -1
  200. package/dist/actions/unassign-task.mjs.map +1 -1
  201. package/dist/actions/update-task.cjs.map +1 -1
  202. package/dist/actions/update-task.d.cts +116 -3
  203. package/dist/actions/update-task.d.cts.map +1 -1
  204. package/dist/actions/update-task.d.mts +116 -3
  205. package/dist/actions/update-task.d.mts.map +1 -1
  206. package/dist/actions/update-task.mjs.map +1 -1
  207. package/dist/catalog.cjs +7 -1
  208. package/dist/catalog.cjs.map +1 -1
  209. package/dist/catalog.d.cts +8 -0
  210. package/dist/catalog.d.mts +8 -0
  211. package/dist/catalog.mjs +7 -1
  212. package/dist/catalog.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-custom-field-from-task.d.ts
4
- declare const MotionDeleteCustomFieldFromTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteCustomFieldFromTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteCustomFieldFromTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteCustomFieldFromTaskInput: z.ZodObject<{
5
+ taskId: z.ZodString;
6
+ valueId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MotionDeleteCustomFieldFromTaskOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ declare const motionDeleteCustomFieldFromTask: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ taskId: string;
11
+ valueId: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteCustomFieldFromTask };
9
15
  //# sourceMappingURL=delete-custom-field-from-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field-from-task.d.cts","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGsB;AAAA,cAC9D,qCAAA,EAAuC,CAAA,CAAE,UAA0L;AAAA,cAEnO,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-custom-field-from-task.d.cts","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-custom-field-from-task.d.ts
4
- declare const MotionDeleteCustomFieldFromTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteCustomFieldFromTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteCustomFieldFromTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteCustomFieldFromTaskInput: z.ZodObject<{
5
+ taskId: z.ZodString;
6
+ valueId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MotionDeleteCustomFieldFromTaskOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ declare const motionDeleteCustomFieldFromTask: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ taskId: string;
11
+ valueId: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteCustomFieldFromTask };
9
15
  //# sourceMappingURL=delete-custom-field-from-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field-from-task.d.mts","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGsB;AAAA,cAC9D,qCAAA,EAAuC,CAAA,CAAE,UAA0L;AAAA,cAEnO,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-custom-field-from-task.d.mts","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAErC,+BAAA,gCAA+B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field-from-task.mjs","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldFromTaskInput: z.ZodTypeAny = z.object({\n taskId: z.string().describe(\"The unique identifier of the task from which to delete the custom field value.\"),\n valueId: z.string().describe(\"The unique identifier of the custom field value to delete from the task.\"),\n}).describe(\"Request model for deleting a custom field value from a task.\");\nexport const MotionDeleteCustomFieldFromTaskOutput: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Response model for delete custom field from task operation.\\n\\nThe API may return an empty response or confirmation on success.\");\n\nexport const motionDeleteCustomFieldFromTask = action(\"MOTION_DELETE_CUSTOM_FIELD_FROM_TASK\", {\n slug: \"motion-delete-custom-field-from-task\",\n name: \"Delete Custom Field From Task\",\n description: \"Tool to delete a custom field value from a task in Motion. Use when you need to remove a custom field value from a specific task by providing the task ID and custom field value ID.\",\n input: MotionDeleteCustomFieldFromTaskInput,\n output: MotionDeleteCustomFieldFromTaskOutput,\n});\n"],"mappings":";;AAUA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVgE,EAAE,OAAO;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACzG,CAAC,CAAC,CAAC,SAAS,8DAOH;CACP,QAPiE,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iIAOpG;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field-from-task.mjs","names":[],"sources":["../../src/actions/delete-custom-field-from-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldFromTaskInput = z.object({\n taskId: z.string().describe(\"The unique identifier of the task from which to delete the custom field value.\"),\n valueId: z.string().describe(\"The unique identifier of the custom field value to delete from the task.\"),\n}).describe(\"Request model for deleting a custom field value from a task.\");\nexport const MotionDeleteCustomFieldFromTaskOutput = z.record(z.string(), z.unknown()).describe(\"Response model for delete custom field from task operation.\\n\\nThe API may return an empty response or confirmation on success.\");\n\nexport const motionDeleteCustomFieldFromTask = action(\"MOTION_DELETE_CUSTOM_FIELD_FROM_TASK\", {\n slug: \"motion-delete-custom-field-from-task\",\n name: \"Delete Custom Field From Task\",\n description: \"Tool to delete a custom field value from a task in Motion. Use when you need to remove a custom field value from a specific task by providing the task ID and custom field value ID.\",\n input: MotionDeleteCustomFieldFromTaskInput,\n output: MotionDeleteCustomFieldFromTaskOutput,\n});\n"],"mappings":";;AAUA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACzG,CAAC,CAAC,CAAC,SAAS,8DAOH;CACP,QAPmD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iIAOtF;AACV,CAAC"}
@@ -6,7 +6,7 @@ const MotionDeleteCustomFieldInput = zod.z.object({
6
6
  workspaceId: zod.z.string().describe("The workspace ID where the custom field exists")
7
7
  }).describe("Request model for deleting a custom field.");
8
8
  const MotionDeleteCustomFieldOutput = zod.z.object({
9
- id: zod.z.string().describe("The ID of the custom field that was deleted"),
9
+ id: zod.z.string().describe("The ID of the custom field that was deleted").nullable(),
10
10
  success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful").nullable().optional()
11
11
  }).describe("Response model for delete custom field operation.");
12
12
  const motionDeleteCustomField = require_action.action("MOTION_DELETE_CUSTOM_FIELD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The custom field ID to delete\"),\n workspaceId: z.string().describe(\"The workspace ID where the custom field exists\"),\n}).describe(\"Request model for deleting a custom field.\");\nexport const MotionDeleteCustomFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the custom field that was deleted\"),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for delete custom field operation.\");\n\nexport const motionDeleteCustomField = action(\"MOTION_DELETE_CUSTOM_FIELD\", {\n slug: \"motion-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a custom field from Motion workspace. Use when you need to remove a custom field that is no longer needed. This operation is permanent and cannot be undone.\",\n input: MotionDeleteCustomFieldInput,\n output: MotionDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACnF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldInput = z.object({\n id: z.string().describe(\"The custom field ID to delete\"),\n workspaceId: z.string().describe(\"The workspace ID where the custom field exists\"),\n}).describe(\"Request model for deleting a custom field.\");\nexport const MotionDeleteCustomFieldOutput = z.object({\n id: z.string().describe(\"The ID of the custom field that was deleted\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for delete custom field operation.\");\n\nexport const motionDeleteCustomField = action(\"MOTION_DELETE_CUSTOM_FIELD\", {\n slug: \"motion-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a custom field from Motion workspace. Use when you need to remove a custom field that is no longer needed. This operation is permanent and cannot be undone.\",\n input: MotionDeleteCustomFieldInput,\n output: MotionDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACnF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-custom-field.d.ts
4
- declare const MotionDeleteCustomFieldInput: z.ZodTypeAny;
5
- declare const MotionDeleteCustomFieldOutput: z.ZodTypeAny;
6
- declare const motionDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteCustomFieldInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ workspaceId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MotionDeleteCustomFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$strip>;
12
+ declare const motionDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: string;
14
+ workspaceId: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { motionDeleteCustomField };
9
18
  //# sourceMappingURL=delete-custom-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAC5C,6BAAA,EAA+B,CAAA,CAAE,UAGkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-custom-field.d.cts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-custom-field.d.ts
4
- declare const MotionDeleteCustomFieldInput: z.ZodTypeAny;
5
- declare const MotionDeleteCustomFieldOutput: z.ZodTypeAny;
6
- declare const motionDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteCustomFieldInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ workspaceId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MotionDeleteCustomFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$strip>;
12
+ declare const motionDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: string;
14
+ workspaceId: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { motionDeleteCustomField };
9
18
  //# sourceMappingURL=delete-custom-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAC5C,6BAAA,EAA+B,CAAA,CAAE,UAGkB;AAAA,cAEnD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-custom-field.d.mts","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -9,7 +9,7 @@ const motionDeleteCustomField = action("MOTION_DELETE_CUSTOM_FIELD", {
9
9
  workspaceId: z.string().describe("The workspace ID where the custom field exists")
10
10
  }).describe("Request model for deleting a custom field."),
11
11
  output: z.object({
12
- id: z.string().describe("The ID of the custom field that was deleted"),
12
+ id: z.string().describe("The ID of the custom field that was deleted").nullable(),
13
13
  success: z.boolean().default(true).describe("Indicates whether the deletion was successful").nullable().optional()
14
14
  }).describe("Response model for delete custom field operation.")
15
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The custom field ID to delete\"),\n workspaceId: z.string().describe(\"The workspace ID where the custom field exists\"),\n}).describe(\"Request model for deleting a custom field.\");\nexport const MotionDeleteCustomFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the custom field that was deleted\"),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for delete custom field operation.\");\n\nexport const motionDeleteCustomField = action(\"MOTION_DELETE_CUSTOM_FIELD\", {\n slug: \"motion-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a custom field from Motion workspace. Use when you need to remove a custom field that is no longer needed. This operation is permanent and cannot be undone.\",\n input: MotionDeleteCustomFieldInput,\n output: MotionDeleteCustomFieldOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACnF,CAAC,CAAC,CAAC,SAAS,4CAUH;CACP,QAVyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteCustomFieldInput = z.object({\n id: z.string().describe(\"The custom field ID to delete\"),\n workspaceId: z.string().describe(\"The workspace ID where the custom field exists\"),\n}).describe(\"Request model for deleting a custom field.\");\nexport const MotionDeleteCustomFieldOutput = z.object({\n id: z.string().describe(\"The ID of the custom field that was deleted\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for delete custom field operation.\");\n\nexport const motionDeleteCustomField = action(\"MOTION_DELETE_CUSTOM_FIELD\", {\n slug: \"motion-delete-custom-field\",\n name: \"Delete Custom Field\",\n description: \"Tool to delete a custom field from Motion workspace. Use when you need to remove a custom field that is no longer needed. This operation is permanent and cannot be undone.\",\n input: MotionDeleteCustomFieldInput,\n output: MotionDeleteCustomFieldOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACnF,CAAC,CAAC,CAAC,SAAS,4CAUH;CACP,QAV2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-recurring-task.ts
4
4
  const MotionDeleteRecurringTaskInput = zod.z.object({ id: zod.z.string().describe("ID of the recurring task to delete.") }).describe("Request model for deleting a recurring task.");
5
- const MotionDeleteRecurringTaskOutput = zod.z.object({ success: zod.z.boolean().describe("True if the recurring task was successfully deleted.") }).describe("Response model for delete recurring task operation.\n\nReturns success status indicating whether the deletion was successful.");
5
+ const MotionDeleteRecurringTaskOutput = zod.z.object({ success: zod.z.boolean().describe("True if the recurring task was successfully deleted.").nullable() }).describe("Response model for delete recurring task operation.\n\nReturns success status indicating whether the deletion was successful.");
6
6
  const motionDeleteRecurringTask = require_action.action("MOTION_DELETE_RECURRING_TASK", {
7
7
  slug: "motion-delete-recurring-task",
8
8
  name: "Delete Recurring Task",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-recurring-task.cjs","names":["z","action"],"sources":["../../src/actions/delete-recurring-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteRecurringTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the recurring task to delete.\"),\n}).describe(\"Request model for deleting a recurring task.\");\nexport const MotionDeleteRecurringTaskOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if the recurring task was successfully deleted.\"),\n}).describe(\"Response model for delete recurring task operation.\\n\\nReturns success status indicating whether the deletion was successful.\");\n\nexport const motionDeleteRecurringTask = action(\"MOTION_DELETE_RECURRING_TASK\", {\n slug: \"motion-delete-recurring-task\",\n name: \"Delete Recurring Task\",\n description: \"Tool to delete a recurring task from Motion based on the ID supplied. Use when you need to remove a recurring task permanently from the system.\",\n input: MotionDeleteRecurringTaskInput,\n output: MotionDeleteRecurringTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,+HAA+H;AAE3I,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-recurring-task.cjs","names":["z","action"],"sources":["../../src/actions/delete-recurring-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteRecurringTaskInput = z.object({\n id: z.string().describe(\"ID of the recurring task to delete.\"),\n}).describe(\"Request model for deleting a recurring task.\");\nexport const MotionDeleteRecurringTaskOutput = z.object({\n success: z.boolean().describe(\"True if the recurring task was successfully deleted.\").nullable(),\n}).describe(\"Response model for delete recurring task operation.\\n\\nReturns success status indicating whether the deletion was successful.\");\n\nexport const motionDeleteRecurringTask = action(\"MOTION_DELETE_RECURRING_TASK\", {\n slug: \"motion-delete-recurring-task\",\n name: \"Delete Recurring Task\",\n description: \"Tool to delete a recurring task from Motion based on the ID supplied. Use when you need to remove a recurring task permanently from the system.\",\n input: MotionDeleteRecurringTaskInput,\n output: MotionDeleteRecurringTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,SAAS,+HAA+H;AAE3I,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-recurring-task.d.ts
4
- declare const MotionDeleteRecurringTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteRecurringTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteRecurringTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteRecurringTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionDeleteRecurringTaskOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const motionDeleteRecurringTask: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteRecurringTask };
9
15
  //# sourceMappingURL=delete-recurring-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-recurring-task.d.cts","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAE4F;AAAA,cAE/H,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-recurring-task.d.cts","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-recurring-task.d.ts
4
- declare const MotionDeleteRecurringTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteRecurringTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteRecurringTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteRecurringTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionDeleteRecurringTaskOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const motionDeleteRecurringTask: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteRecurringTask };
9
15
  //# sourceMappingURL=delete-recurring-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-recurring-task.d.mts","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAE4F;AAAA,cAE/H,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-recurring-task.d.mts","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -5,7 +5,7 @@ const motionDeleteRecurringTask = action("MOTION_DELETE_RECURRING_TASK", {
5
5
  name: "Delete Recurring Task",
6
6
  description: "Tool to delete a recurring task from Motion based on the ID supplied. Use when you need to remove a recurring task permanently from the system.",
7
7
  input: z.object({ id: z.string().describe("ID of the recurring task to delete.") }).describe("Request model for deleting a recurring task."),
8
- output: z.object({ success: z.boolean().describe("True if the recurring task was successfully deleted.") }).describe("Response model for delete recurring task operation.\n\nReturns success status indicating whether the deletion was successful.")
8
+ output: z.object({ success: z.boolean().describe("True if the recurring task was successfully deleted.").nullable() }).describe("Response model for delete recurring task operation.\n\nReturns success status indicating whether the deletion was successful.")
9
9
  });
10
10
  //#endregion
11
11
  export { motionDeleteRecurringTask };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-recurring-task.mjs","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteRecurringTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the recurring task to delete.\"),\n}).describe(\"Request model for deleting a recurring task.\");\nexport const MotionDeleteRecurringTaskOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if the recurring task was successfully deleted.\"),\n}).describe(\"Response model for delete recurring task operation.\\n\\nReturns success status indicating whether the deletion was successful.\");\n\nexport const motionDeleteRecurringTask = action(\"MOTION_DELETE_RECURRING_TASK\", {\n slug: \"motion-delete-recurring-task\",\n name: \"Delete Recurring Task\",\n description: \"Tool to delete a recurring task from Motion based on the ID supplied. Use when you need to remove a recurring task permanently from the system.\",\n input: MotionDeleteRecurringTaskInput,\n output: MotionDeleteRecurringTaskOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,EACtF,CAAC,CAAC,CAAC,SAAS,+HAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-recurring-task.mjs","names":[],"sources":["../../src/actions/delete-recurring-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteRecurringTaskInput = z.object({\n id: z.string().describe(\"ID of the recurring task to delete.\"),\n}).describe(\"Request model for deleting a recurring task.\");\nexport const MotionDeleteRecurringTaskOutput = z.object({\n success: z.boolean().describe(\"True if the recurring task was successfully deleted.\").nullable(),\n}).describe(\"Response model for delete recurring task operation.\\n\\nReturns success status indicating whether the deletion was successful.\");\n\nexport const motionDeleteRecurringTask = action(\"MOTION_DELETE_RECURRING_TASK\", {\n slug: \"motion-delete-recurring-task\",\n name: \"Delete Recurring Task\",\n description: \"Tool to delete a recurring task from Motion based on the ID supplied. Use when you need to remove a recurring task permanently from the system.\",\n input: MotionDeleteRecurringTaskInput,\n output: MotionDeleteRecurringTaskOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACjG,CAAC,CAAC,CAAC,SAAS,+HAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-task.ts
4
4
  const MotionDeleteTaskInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the task to delete.") }).describe("Request model for deleting a task.");
5
- const MotionDeleteTaskOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the task deletion was successful.") }).describe("Response model for delete task operation.\n\nReturns success confirmation of the deleted task.");
5
+ const MotionDeleteTaskOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the task deletion was successful.").nullable() }).describe("Response model for delete task operation.\n\nReturns success confirmation of the deleted task.");
6
6
  const motionDeleteTask = require_action.action("MOTION_DELETE_TASK", {
7
7
  slug: "motion-delete-task",
8
8
  name: "Delete Task",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-task.cjs","names":["z","action"],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the task to delete.\"),\n}).describe(\"Request model for deleting a task.\");\nexport const MotionDeleteTaskOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the task deletion was successful.\"),\n}).describe(\"Response model for delete task operation.\\n\\nReturns success confirmation of the deleted task.\");\n\nexport const motionDeleteTask = action(\"MOTION_DELETE_TASK\", {\n slug: \"motion-delete-task\",\n name: \"Delete Task\",\n description: \"Tool to delete a task from Motion based on task ID. Use when you need to permanently remove a task from the Motion workspace.\",\n input: MotionDeleteTaskInput,\n output: MotionDeleteTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAE5G,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-task.cjs","names":["z","action"],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteTaskInput = z.object({\n id: z.string().describe(\"The unique identifier of the task to delete.\"),\n}).describe(\"Request model for deleting a task.\");\nexport const MotionDeleteTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the task deletion was successful.\").nullable(),\n}).describe(\"Response model for delete task operation.\\n\\nReturns success confirmation of the deleted task.\");\n\nexport const motionDeleteTask = action(\"MOTION_DELETE_TASK\", {\n slug: \"motion-delete-task\",\n name: \"Delete Task\",\n description: \"Tool to delete a task from Motion based on task ID. Use when you need to permanently remove a task from the Motion workspace.\",\n input: MotionDeleteTaskInput,\n output: MotionDeleteTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAE5G,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-task.d.ts
4
- declare const MotionDeleteTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionDeleteTaskOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const motionDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteTask };
9
15
  //# sourceMappingURL=delete-task.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-task.d.cts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEW;AAAA,cACpC,sBAAA,EAAwB,CAAA,CAAE,UAEsE;AAAA,cAEhG,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-task.d.cts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-task.d.ts
4
- declare const MotionDeleteTaskInput: z.ZodTypeAny;
5
- declare const MotionDeleteTaskOutput: z.ZodTypeAny;
6
- declare const motionDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionDeleteTaskInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionDeleteTaskOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const motionDeleteTask: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { motionDeleteTask };
9
15
  //# sourceMappingURL=delete-task.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-task.d.mts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEW;AAAA,cACpC,sBAAA,EAAwB,CAAA,CAAE,UAEsE;AAAA,cAEhG,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-task.d.mts","names":[],"sources":["../../src/actions/delete-task.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -5,7 +5,7 @@ const motionDeleteTask = action("MOTION_DELETE_TASK", {
5
5
  name: "Delete Task",
6
6
  description: "Tool to delete a task from Motion based on task ID. Use when you need to permanently remove a task from the Motion workspace.",
7
7
  input: z.object({ id: z.string().describe("The unique identifier of the task to delete.") }).describe("Request model for deleting a task."),
8
- output: z.object({ success: z.boolean().describe("Indicates whether the task deletion was successful.") }).describe("Response model for delete task operation.\n\nReturns success confirmation of the deleted task.")
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the task deletion was successful.").nullable() }).describe("Response model for delete task operation.\n\nReturns success confirmation of the deleted task.")
9
9
  });
10
10
  //#endregion
11
11
  export { motionDeleteTask };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-task.mjs","names":[],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteTaskInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the task to delete.\"),\n}).describe(\"Request model for deleting a task.\");\nexport const MotionDeleteTaskOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the task deletion was successful.\"),\n}).describe(\"Response model for delete task operation.\\n\\nReturns success confirmation of the deleted task.\");\n\nexport const motionDeleteTask = action(\"MOTION_DELETE_TASK\", {\n slug: \"motion-delete-task\",\n name: \"Delete Task\",\n description: \"Tool to delete a task from Motion based on task ID. Use when you need to permanently remove a task from the Motion workspace.\",\n input: MotionDeleteTaskInput,\n output: MotionDeleteTaskOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,oCASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,gGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-task.mjs","names":[],"sources":["../../src/actions/delete-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionDeleteTaskInput = z.object({\n id: z.string().describe(\"The unique identifier of the task to delete.\"),\n}).describe(\"Request model for deleting a task.\");\nexport const MotionDeleteTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the task deletion was successful.\").nullable(),\n}).describe(\"Response model for delete task operation.\\n\\nReturns success confirmation of the deleted task.\");\n\nexport const motionDeleteTask = action(\"MOTION_DELETE_TASK\", {\n slug: \"motion-delete-task\",\n name: \"Delete Task\",\n description: \"Tool to delete a task from Motion based on task ID. Use when you need to permanently remove a task from the Motion workspace.\",\n input: MotionDeleteTaskInput,\n output: MotionDeleteTaskOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,oCASH;CACP,QAToC,EAAE,OAAO,EAC7C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,gGAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/get-my-user.ts
4
4
  const MotionGetMyUserInput = zod.z.object({}).describe("Request model for getting information on the owner of the API key.\nThis endpoint requires no parameters.");
5
5
  const MotionGetMyUserOutput = zod.z.object({
6
- id: zod.z.string().describe("The user ID"),
7
- name: zod.z.string().describe("The name of the user"),
8
- email: zod.z.string().describe("The email of the user")
6
+ id: zod.z.string().describe("The user ID").nullable(),
7
+ name: zod.z.string().describe("The name of the user").nullable(),
8
+ email: zod.z.string().describe("The email of the user").nullable()
9
9
  }).describe("Response model for the user information.");
10
10
  const motionGetMyUser = require_action.action("MOTION_GET_MY_USER", {
11
11
  slug: "motion-get-my-user",
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-user.cjs","names":["z","action"],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetMyUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The user ID\"),\n name: z.string().describe(\"The name of the user\"),\n email: z.string().describe(\"The email of the user\"),\n}).describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACnL,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACpD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-user.cjs","names":["z","action"],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetMyUserInput = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput = z.object({\n id: z.string().describe(\"The user ID\").nullable(),\n name: z.string().describe(\"The name of the user\").nullable(),\n email: z.string().describe(\"The email of the user\").nullable(),\n}).describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACrK,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-my-user.d.ts
4
- declare const MotionGetMyUserInput: z.ZodTypeAny;
5
- declare const MotionGetMyUserOutput: z.ZodTypeAny;
6
- declare const motionGetMyUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionGetMyUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MotionGetMyUserOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const motionGetMyUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { motionGetMyUser };
9
13
  //# sourceMappingURL=get-my-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-user.d.cts","names":[],"sources":["../../src/actions/get-my-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA+I;AAAA,cACvK,qBAAA,EAAuB,CAAA,CAAE,UAIiB;AAAA,cAE1C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-user.d.cts","names":[],"sources":["../../src/actions/get-my-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-my-user.d.ts
4
- declare const MotionGetMyUserInput: z.ZodTypeAny;
5
- declare const MotionGetMyUserOutput: z.ZodTypeAny;
6
- declare const motionGetMyUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionGetMyUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MotionGetMyUserOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const motionGetMyUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { motionGetMyUser };
9
13
  //# sourceMappingURL=get-my-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-user.d.mts","names":[],"sources":["../../src/actions/get-my-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA+I;AAAA,cACvK,qBAAA,EAAuB,CAAA,CAAE,UAIiB;AAAA,cAE1C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-user.d.mts","names":[],"sources":["../../src/actions/get-my-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,9 +6,9 @@ const motionGetMyUser = action("MOTION_GET_MY_USER", {
6
6
  description: "Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.",
7
7
  input: z.object({}).describe("Request model for getting information on the owner of the API key.\nThis endpoint requires no parameters."),
8
8
  output: z.object({
9
- id: z.string().describe("The user ID"),
10
- name: z.string().describe("The name of the user"),
11
- email: z.string().describe("The email of the user")
9
+ id: z.string().describe("The user ID").nullable(),
10
+ name: z.string().describe("The name of the user").nullable(),
11
+ email: z.string().describe("The email of the user").nullable()
12
12
  }).describe("Response model for the user information.")
13
13
  });
14
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-user.mjs","names":[],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetMyUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The user ID\"),\n name: z.string().describe(\"The name of the user\"),\n email: z.string().describe(\"The email of the user\"),\n}).describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;AAWA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAW/D;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-user.mjs","names":[],"sources":["../../src/actions/get-my-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetMyUserInput = z.object({}).describe(\"Request model for getting information on the owner of the API key.\\nThis endpoint requires no parameters.\");\nexport const MotionGetMyUserOutput = z.object({\n id: z.string().describe(\"The user ID\").nullable(),\n name: z.string().describe(\"The name of the user\").nullable(),\n email: z.string().describe(\"The email of the user\").nullable(),\n}).describe(\"Response model for the user information.\");\n\nexport const motionGetMyUser = action(\"MOTION_GET_MY_USER\", {\n slug: \"motion-get-my-user\",\n name: \"Get My User Information\",\n description: \"Tool to get information on the owner of the API key. Use when you need to retrieve the current user's profile details including their ID, name, and email address.\",\n input: MotionGetMyUserInput,\n output: MotionGetMyUserOutput,\n});\n"],"mappings":";;AAWA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAWjD;CACP,QAXmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -8,13 +8,13 @@ const MotionGetProject_ProjectStatusSchema = zod.z.object({
8
8
  isResolvedStatus: zod.z.boolean().describe("Whether this status represents a completed/resolved state").nullable().optional()
9
9
  }).describe("Status information for a project.");
10
10
  const MotionGetProjectOutput = zod.z.object({
11
- id: zod.z.string().describe("The unique identifier of the project"),
12
- name: zod.z.string().describe("The name of the project"),
11
+ id: zod.z.string().describe("The unique identifier of the project").nullable(),
12
+ name: zod.z.string().describe("The name of the project").nullable(),
13
13
  status: MotionGetProject_ProjectStatusSchema.nullable().optional(),
14
14
  createdTime: zod.z.string().describe("The timestamp when the project was created").nullable().optional(),
15
15
  description: zod.z.string().describe("The HTML contents of the project description").nullable().optional(),
16
16
  updatedTime: zod.z.string().describe("The timestamp when the project was last updated").nullable().optional(),
17
- workspaceId: zod.z.string().describe("The ID of the workspace this project belongs to"),
17
+ workspaceId: zod.z.string().describe("The ID of the workspace this project belongs to").nullable(),
18
18
  customFieldValues: zod.z.object({}).describe("Custom field values for the project, where keys are field IDs and values are field value objects").nullable().optional()
19
19
  }).describe("Response model for a project.");
20
20
  const motionGetProject = require_action.action("MOTION_GET_PROJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetProjectInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the project\"),\n name: z.string().describe(\"The name of the project\"),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\"),\n customFieldValues: z.object({}).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).describe(\"Response model for a project.\");\n\nexport const motionGetProject = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description, status, and custom field values.\",\n input: MotionGetProjectInput,\n output: MotionGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EAC7D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAE3C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionGetProjectInput = z.object({\n id: z.string().describe(\"The ID of the project to retrieve\"),\n}).describe(\"Request model for getting a single project by ID.\");\nconst MotionGetProject_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status for the workspace\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this status represents a completed/resolved state\").nullable().optional(),\n}).describe(\"Status information for a project.\");\nexport const MotionGetProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionGetProject_ProjectStatusSchema.nullable().optional(),\n createdTime: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n description: z.string().describe(\"The HTML contents of the project description\").nullable().optional(),\n updatedTime: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspaceId: z.string().describe(\"The ID of the workspace this project belongs to\").nullable(),\n customFieldValues: z.object({}).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects\").nullable().optional(),\n}).describe(\"Response model for a project.\");\n\nexport const motionGetProject = action(\"MOTION_GET_PROJECT\", {\n slug: \"motion-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve a single project by its ID. Use when you need to get detailed information about a specific project including its name, description, status, and custom field values.\",\n input: MotionGetProjectInput,\n output: MotionGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EAC7D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQ,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAE3C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-project.d.ts
4
- declare const MotionGetProjectInput: z.ZodTypeAny;
5
- declare const MotionGetProjectOutput: z.ZodTypeAny;
6
- declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionGetProjectInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionGetProjectOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ }, z.core.$strip>>>;
15
+ createdTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updatedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ workspaceId: z.ZodNullable<z.ZodString>;
19
+ customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ }, z.core.$strip>;
21
+ declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ id: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { motionGetProject };
9
26
  //# sourceMappingURL=get-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE0B;AAAA,cAMnD,sBAAA,EAAwB,CAAA,CAAE,UASK;AAAA,cAE/B,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-project.d.ts
4
- declare const MotionGetProjectInput: z.ZodTypeAny;
5
- declare const MotionGetProjectOutput: z.ZodTypeAny;
6
- declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MotionGetProjectInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MotionGetProjectOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ }, z.core.$strip>>>;
15
+ createdTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updatedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ workspaceId: z.ZodNullable<z.ZodString>;
19
+ customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ }, z.core.$strip>;
21
+ declare const motionGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ id: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { motionGetProject };
9
26
  //# sourceMappingURL=get-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAE0B;AAAA,cAMnD,sBAAA,EAAwB,CAAA,CAAE,UASK;AAAA,cAE/B,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAQrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAWtB,gBAAA,gCAAgB,wBAAA"}