@keystrokehq/motion 0.1.2 → 0.1.4

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 (163) hide show
  1. package/dist/actions/add-custom-field-to-project.cjs +1 -1
  2. package/dist/actions/add-custom-field-to-project.cjs.map +1 -1
  3. package/dist/actions/add-custom-field-to-project.d.cts +4 -4
  4. package/dist/actions/add-custom-field-to-project.d.mts +4 -4
  5. package/dist/actions/add-custom-field-to-project.mjs +1 -1
  6. package/dist/actions/add-custom-field-to-project.mjs.map +1 -1
  7. package/dist/actions/add-custom-field-to-task.cjs +1 -1
  8. package/dist/actions/add-custom-field-to-task.cjs.map +1 -1
  9. package/dist/actions/add-custom-field-to-task.d.cts +4 -4
  10. package/dist/actions/add-custom-field-to-task.d.mts +4 -4
  11. package/dist/actions/add-custom-field-to-task.mjs +1 -1
  12. package/dist/actions/add-custom-field-to-task.mjs.map +1 -1
  13. package/dist/actions/create-comment.cjs +2 -2
  14. package/dist/actions/create-comment.cjs.map +1 -1
  15. package/dist/actions/create-comment.d.cts +2 -2
  16. package/dist/actions/create-comment.d.mts +2 -2
  17. package/dist/actions/create-comment.mjs +2 -2
  18. package/dist/actions/create-comment.mjs.map +1 -1
  19. package/dist/actions/create-custom-field.cjs +2 -2
  20. package/dist/actions/create-custom-field.cjs.map +1 -1
  21. package/dist/actions/create-custom-field.d.cts +6 -5
  22. package/dist/actions/create-custom-field.d.mts +6 -5
  23. package/dist/actions/create-custom-field.mjs +2 -2
  24. package/dist/actions/create-custom-field.mjs.map +1 -1
  25. package/dist/actions/create-project.cjs +3 -3
  26. package/dist/actions/create-project.cjs.map +1 -1
  27. package/dist/actions/create-project.d.cts +5 -3
  28. package/dist/actions/create-project.d.mts +5 -3
  29. package/dist/actions/create-project.mjs +3 -3
  30. package/dist/actions/create-project.mjs.map +1 -1
  31. package/dist/actions/create-recurring-task.cjs +7 -7
  32. package/dist/actions/create-recurring-task.cjs.map +1 -1
  33. package/dist/actions/create-recurring-task.d.cts +10 -10
  34. package/dist/actions/create-recurring-task.d.mts +10 -10
  35. package/dist/actions/create-recurring-task.mjs +7 -7
  36. package/dist/actions/create-recurring-task.mjs.map +1 -1
  37. package/dist/actions/create-task.cjs +8 -8
  38. package/dist/actions/create-task.cjs.map +1 -1
  39. package/dist/actions/create-task.d.cts +11 -11
  40. package/dist/actions/create-task.d.mts +11 -11
  41. package/dist/actions/create-task.mjs +8 -8
  42. package/dist/actions/create-task.mjs.map +1 -1
  43. package/dist/actions/delete-custom-field-from-project.cjs +1 -1
  44. package/dist/actions/delete-custom-field-from-project.cjs.map +1 -1
  45. package/dist/actions/delete-custom-field-from-project.d.cts +1 -1
  46. package/dist/actions/delete-custom-field-from-project.d.mts +1 -1
  47. package/dist/actions/delete-custom-field-from-project.mjs +1 -1
  48. package/dist/actions/delete-custom-field-from-project.mjs.map +1 -1
  49. package/dist/actions/delete-custom-field.cjs +1 -1
  50. package/dist/actions/delete-custom-field.cjs.map +1 -1
  51. package/dist/actions/delete-custom-field.d.cts +1 -1
  52. package/dist/actions/delete-custom-field.d.mts +1 -1
  53. package/dist/actions/delete-custom-field.mjs +1 -1
  54. package/dist/actions/delete-custom-field.mjs.map +1 -1
  55. package/dist/actions/delete-recurring-task.cjs +1 -1
  56. package/dist/actions/delete-recurring-task.cjs.map +1 -1
  57. package/dist/actions/delete-recurring-task.d.cts +1 -1
  58. package/dist/actions/delete-recurring-task.d.mts +1 -1
  59. package/dist/actions/delete-recurring-task.mjs +1 -1
  60. package/dist/actions/delete-recurring-task.mjs.map +1 -1
  61. package/dist/actions/delete-task.cjs +1 -1
  62. package/dist/actions/delete-task.cjs.map +1 -1
  63. package/dist/actions/delete-task.d.cts +1 -1
  64. package/dist/actions/delete-task.d.mts +1 -1
  65. package/dist/actions/delete-task.mjs +1 -1
  66. package/dist/actions/delete-task.mjs.map +1 -1
  67. package/dist/actions/get-my-user.cjs +1 -1
  68. package/dist/actions/get-my-user.cjs.map +1 -1
  69. package/dist/actions/get-my-user.d.cts +1 -1
  70. package/dist/actions/get-my-user.d.mts +1 -1
  71. package/dist/actions/get-my-user.mjs +1 -1
  72. package/dist/actions/get-my-user.mjs.map +1 -1
  73. package/dist/actions/get-project.cjs +3 -3
  74. package/dist/actions/get-project.cjs.map +1 -1
  75. package/dist/actions/get-project.d.cts +3 -3
  76. package/dist/actions/get-project.d.mts +3 -3
  77. package/dist/actions/get-project.mjs +3 -3
  78. package/dist/actions/get-project.mjs.map +1 -1
  79. package/dist/actions/get-task.cjs +9 -9
  80. package/dist/actions/get-task.cjs.map +1 -1
  81. package/dist/actions/get-task.d.cts +12 -12
  82. package/dist/actions/get-task.d.mts +12 -12
  83. package/dist/actions/get-task.mjs +9 -9
  84. package/dist/actions/get-task.mjs.map +1 -1
  85. package/dist/actions/list-comments.cjs +4 -4
  86. package/dist/actions/list-comments.cjs.map +1 -1
  87. package/dist/actions/list-comments.d.cts +4 -4
  88. package/dist/actions/list-comments.d.mts +4 -4
  89. package/dist/actions/list-comments.mjs +4 -4
  90. package/dist/actions/list-comments.mjs.map +1 -1
  91. package/dist/actions/list-custom-fields.cjs +4 -4
  92. package/dist/actions/list-custom-fields.cjs.map +1 -1
  93. package/dist/actions/list-custom-fields.d.cts +4 -4
  94. package/dist/actions/list-custom-fields.d.mts +4 -4
  95. package/dist/actions/list-custom-fields.mjs +4 -4
  96. package/dist/actions/list-custom-fields.mjs.map +1 -1
  97. package/dist/actions/list-projects.cjs +5 -5
  98. package/dist/actions/list-projects.cjs.map +1 -1
  99. package/dist/actions/list-projects.d.cts +5 -5
  100. package/dist/actions/list-projects.d.mts +5 -5
  101. package/dist/actions/list-projects.mjs +5 -5
  102. package/dist/actions/list-projects.mjs.map +1 -1
  103. package/dist/actions/list-recurring-tasks.cjs +10 -10
  104. package/dist/actions/list-recurring-tasks.cjs.map +1 -1
  105. package/dist/actions/list-recurring-tasks.d.cts +14 -14
  106. package/dist/actions/list-recurring-tasks.d.mts +14 -14
  107. package/dist/actions/list-recurring-tasks.mjs +10 -10
  108. package/dist/actions/list-recurring-tasks.mjs.map +1 -1
  109. package/dist/actions/list-schedules.cjs +4 -4
  110. package/dist/actions/list-schedules.cjs.map +1 -1
  111. package/dist/actions/list-schedules.d.cts +10 -10
  112. package/dist/actions/list-schedules.d.mts +10 -10
  113. package/dist/actions/list-schedules.mjs +4 -4
  114. package/dist/actions/list-schedules.mjs.map +1 -1
  115. package/dist/actions/list-statuses.cjs +2 -2
  116. package/dist/actions/list-statuses.cjs.map +1 -1
  117. package/dist/actions/list-statuses.d.cts +2 -2
  118. package/dist/actions/list-statuses.d.mts +2 -2
  119. package/dist/actions/list-statuses.mjs +2 -2
  120. package/dist/actions/list-statuses.mjs.map +1 -1
  121. package/dist/actions/list-tasks.cjs +13 -13
  122. package/dist/actions/list-tasks.cjs.map +1 -1
  123. package/dist/actions/list-tasks.d.cts +13 -13
  124. package/dist/actions/list-tasks.d.mts +13 -13
  125. package/dist/actions/list-tasks.mjs +13 -13
  126. package/dist/actions/list-tasks.mjs.map +1 -1
  127. package/dist/actions/list-users.cjs +3 -3
  128. package/dist/actions/list-users.cjs.map +1 -1
  129. package/dist/actions/list-users.d.cts +3 -3
  130. package/dist/actions/list-users.d.mts +3 -3
  131. package/dist/actions/list-users.mjs +3 -3
  132. package/dist/actions/list-users.mjs.map +1 -1
  133. package/dist/actions/list-workspaces.cjs +5 -5
  134. package/dist/actions/list-workspaces.cjs.map +1 -1
  135. package/dist/actions/list-workspaces.d.cts +5 -5
  136. package/dist/actions/list-workspaces.d.mts +5 -5
  137. package/dist/actions/list-workspaces.mjs +5 -5
  138. package/dist/actions/list-workspaces.mjs.map +1 -1
  139. package/dist/actions/move-task.cjs +9 -9
  140. package/dist/actions/move-task.cjs.map +1 -1
  141. package/dist/actions/move-task.d.cts +13 -13
  142. package/dist/actions/move-task.d.mts +13 -13
  143. package/dist/actions/move-task.mjs +9 -9
  144. package/dist/actions/move-task.mjs.map +1 -1
  145. package/dist/actions/unassign-task.cjs +1 -1
  146. package/dist/actions/unassign-task.cjs.map +1 -1
  147. package/dist/actions/unassign-task.d.cts +1 -1
  148. package/dist/actions/unassign-task.d.mts +1 -1
  149. package/dist/actions/unassign-task.mjs +1 -1
  150. package/dist/actions/unassign-task.mjs.map +1 -1
  151. package/dist/actions/update-task.cjs +8 -8
  152. package/dist/actions/update-task.cjs.map +1 -1
  153. package/dist/actions/update-task.d.cts +12 -12
  154. package/dist/actions/update-task.d.mts +12 -12
  155. package/dist/actions/update-task.mjs +8 -8
  156. package/dist/actions/update-task.mjs.map +1 -1
  157. package/dist/catalog.cjs +1 -1
  158. package/dist/catalog.cjs.map +1 -1
  159. package/dist/catalog.d.cts +1 -1
  160. package/dist/catalog.d.mts +1 -1
  161. package/dist/catalog.mjs +1 -1
  162. package/dist/catalog.mjs.map +1 -1
  163. package/package.json +1 -1
@@ -15,7 +15,7 @@ declare const MotionListTasksOutput: z.ZodObject<{
15
15
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  tasks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,26 +26,26 @@ declare const MotionListTasksOutput: z.ZodObject<{
26
26
  scheduledEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  completedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  scheduledStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>>;
29
+ }, z.core.$loose>>>>;
30
30
  labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
36
  isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
45
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>>>;
48
+ }, z.core.$loose>>>;
49
49
  startOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  duration: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
51
51
  priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -53,7 +53,7 @@ declare const MotionListTasksOutput: z.ZodObject<{
53
53
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>>>;
56
+ }, z.core.$loose>>>>;
57
57
  completed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
58
58
  workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
59
59
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -61,14 +61,14 @@ declare const MotionListTasksOutput: z.ZodObject<{
61
61
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
63
63
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- }, z.core.$strip>>>>;
64
+ }, z.core.$loose>>>>;
65
65
  teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
67
67
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
69
69
  isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70
- }, z.core.$strip>>>>;
71
- }, z.core.$strip>>>;
70
+ }, z.core.$loose>>>>;
71
+ }, z.core.$loose>>>;
72
72
  createdTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
73
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  updatedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -77,11 +77,11 @@ declare const MotionListTasksOutput: z.ZodObject<{
77
77
  completedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
78
  scheduledStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  schedulingIssue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
80
- customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
80
+ customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
81
81
  lastInteractedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
82
  parentRecurringTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
- }, z.core.$strip>>>>;
84
- }, z.core.$strip>;
83
+ }, z.core.$loose>>>>;
84
+ }, z.core.$loose>;
85
85
  declare const motionListTasks: import("@keystrokehq/action").WorkflowActionDefinition<{
86
86
  name?: string | undefined;
87
87
  label?: string | undefined;
@@ -14,7 +14,7 @@ const MotionListTasksInput = z.object({
14
14
  const MotionListTasks_TaskMetaSchema = z.object({
15
15
  pageSize: z.number().int().describe("Number of tasks returned in this page.").nullable().optional(),
16
16
  nextCursor: z.string().describe("Cursor to use for fetching the next page of results. If null, there are no more pages.").nullable().optional()
17
- }).describe("Metadata for task list pagination.");
17
+ }).passthrough().describe("Metadata for task list pagination.");
18
18
  const MotionListTasks_TaskChunkSchema = z.object({
19
19
  id: z.string().describe("The chunk's unique ID.").nullable().optional(),
20
20
  isFixed: z.boolean().describe("Whether this chunk has a fixed time that cannot be rescheduled.").nullable().optional(),
@@ -22,34 +22,34 @@ const MotionListTasks_TaskChunkSchema = z.object({
22
22
  scheduledEnd: z.string().describe("ISO 8601 datetime when this chunk is scheduled to end.").nullable().optional(),
23
23
  completedTime: z.string().describe("ISO 8601 datetime when this chunk was completed. Null if not completed.").nullable().optional(),
24
24
  scheduledStart: z.string().describe("ISO 8601 datetime when this chunk is scheduled to start.").nullable().optional()
25
- }).describe("A scheduled chunk/block of time for working on the task.");
26
- const MotionListTasks_TaskLabelSchema = z.object({ name: z.string().describe("The name of the label.").nullable().optional() }).describe("Label attached to a task.");
25
+ }).passthrough().describe("A scheduled chunk/block of time for working on the task.");
26
+ const MotionListTasks_TaskLabelSchema = z.object({ name: z.string().describe("The name of the label.").nullable().optional() }).passthrough().describe("Label attached to a task.");
27
27
  const MotionListTasks_TaskStatusSchema = z.object({
28
28
  name: z.string().describe("The name of the status.").nullable().optional(),
29
29
  isDefaultStatus: z.boolean().describe("Whether this is the default status.").nullable().optional(),
30
30
  isResolvedStatus: z.boolean().describe("Whether this status indicates the task is resolved/completed.").nullable().optional()
31
- }).describe("Status information for a task.");
31
+ }).passthrough().describe("Status information for a task.");
32
32
  const MotionListTasks_TaskCreatorSchema = z.object({
33
33
  id: z.string().describe("The creator's user ID.").nullable().optional(),
34
34
  name: z.string().describe("The creator's name.").nullable().optional(),
35
35
  email: z.string().describe("The creator's email address.").nullable().optional()
36
- }).describe("Information about the user who created the task.");
36
+ }).passthrough().describe("Information about the user who created the task.");
37
37
  const MotionListTasks_TaskProjectSchema = z.object({
38
38
  id: z.string().describe("The project ID.").nullable().optional(),
39
39
  name: z.string().describe("The project name.").nullable().optional(),
40
40
  workspaceId: z.string().describe("The workspace ID this project belongs to.").nullable().optional()
41
- }).describe("Project information for a task.");
41
+ }).passthrough().describe("Project information for a task.");
42
42
  const MotionListTasks_TaskAssigneeSchema = z.object({
43
43
  id: z.string().describe("The assignee's user ID.").nullable().optional(),
44
44
  name: z.string().describe("The assignee's name.").nullable().optional(),
45
45
  email: z.string().describe("The assignee's email address.").nullable().optional()
46
- }).describe("Information about a user assigned to the task.");
47
- const MotionListTasks_WorkspaceLabelSchema = z.object({ name: z.string().describe("The name of the label.").nullable().optional() }).describe("Label definition in a workspace.");
46
+ }).passthrough().describe("Information about a user assigned to the task.");
47
+ const MotionListTasks_WorkspaceLabelSchema = z.object({ name: z.string().describe("The name of the label.").nullable().optional() }).passthrough().describe("Label definition in a workspace.");
48
48
  const MotionListTasks_WorkspaceStatusSchema = z.object({
49
49
  name: z.string().describe("The name of the status.").nullable().optional(),
50
50
  isDefaultStatus: z.boolean().describe("Whether this is the default status.").nullable().optional(),
51
51
  isResolvedStatus: z.boolean().describe("Whether this status indicates resolved/completed.").nullable().optional()
52
- }).describe("Status definition in a workspace.");
52
+ }).passthrough().describe("Status definition in a workspace.");
53
53
  const MotionListTasks_TaskWorkspaceSchema = z.object({
54
54
  id: z.string().describe("The workspace ID.").nullable().optional(),
55
55
  name: z.string().describe("The workspace name.").nullable().optional(),
@@ -57,7 +57,7 @@ const MotionListTasks_TaskWorkspaceSchema = z.object({
57
57
  labels: z.array(MotionListTasks_WorkspaceLabelSchema).describe("Available labels in the workspace.").nullable().optional(),
58
58
  teamId: z.string().describe("The team ID associated with the workspace.").nullable().optional(),
59
59
  statuses: z.array(MotionListTasks_WorkspaceStatusSchema).describe("Available statuses in the workspace.").nullable().optional()
60
- }).describe("Workspace information for a task.");
60
+ }).passthrough().describe("Workspace information for a task.");
61
61
  const MotionListTasks_TaskSchema = z.object({
62
62
  id: z.string().describe("The unique task ID.").nullable().optional(),
63
63
  name: z.string().describe("The task name.").nullable().optional(),
@@ -81,10 +81,10 @@ const MotionListTasks_TaskSchema = z.object({
81
81
  completedTime: z.string().describe("ISO 8601 datetime when the task was completed. Null if not completed.").nullable().optional(),
82
82
  scheduledStart: z.string().describe("ISO 8601 datetime when the task is scheduled to start.").nullable().optional(),
83
83
  schedulingIssue: z.boolean().describe("Whether there is a scheduling issue with the task.").nullable().optional(),
84
- customFieldValues: z.object({}).describe("Custom field values. Structure varies based on workspace custom field configuration.").nullable().optional(),
84
+ customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values. Structure varies based on workspace custom field configuration.").nullable().optional(),
85
85
  lastInteractedTime: z.string().describe("ISO 8601 datetime when the task was last interacted with.").nullable().optional(),
86
86
  parentRecurringTaskId: z.string().describe("ID of the parent recurring task if this task is part of a recurring series.").nullable().optional()
87
- }).describe("Represents a single task with all its details.");
87
+ }).passthrough().describe("Represents a single task with all its details.");
88
88
  const motionListTasks = action("MOTION_LIST_TASKS", {
89
89
  slug: "motion-list-tasks",
90
90
  name: "List Tasks",
@@ -93,7 +93,7 @@ const motionListTasks = action("MOTION_LIST_TASKS", {
93
93
  output: z.object({
94
94
  meta: MotionListTasks_TaskMetaSchema.nullable().optional(),
95
95
  tasks: z.array(MotionListTasks_TaskSchema).describe("List of tasks matching the query filters.").nullable().optional()
96
- }).describe("Response containing the list of tasks and pagination metadata.")
96
+ }).passthrough().describe("Response containing the list of tasks and pagination metadata.")
97
97
  });
98
98
  //#endregion
99
99
  export { motionListTasks };
@@ -1 +1 @@
1
- {"version":3,"file":"list-tasks.mjs","names":[],"sources":["../../src/actions/list-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListTasksInput = z.object({\n name: z.string().describe(\"Filter tasks containing this string in their name. Performs a case-insensitive substring match on task names.\").optional(),\n label: z.string().describe(\"Limit tasks returned by label. Filter tasks that have this specific label attached.\").optional(),\n cursor: z.string().describe(\"Pagination cursor. Use if a previous request returned a nextCursor value in the meta field to fetch the next page of results.\").optional(),\n status: z.array(z.string()).describe(\"Limit tasks by status array. Provide a list of status names to filter tasks with those specific statuses.\").optional(),\n projectId: z.string().describe(\"Limit tasks to a given project. Use the project's ID to filter tasks belonging to that project.\").optional(),\n assigneeId: z.string().describe(\"Limit tasks returned to a specific assignee. Use the assignee's user ID to filter tasks assigned to that person.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get tasks from. Use the workspace ID to scope the task list to a specific workspace.\").optional(),\n includeAllStatuses: z.boolean().describe(\"Include tasks with all statuses. Set to true to include tasks with any status, or false/omit to only include tasks with active statuses.\").optional(),\n}).describe(\"Request model for listing tasks with optional filtering.\");\nconst MotionListTasks_TaskMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks returned in this page.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).describe(\"Metadata for task list pagination.\");\nconst MotionListTasks_TaskChunkSchema = z.object({\n id: z.string().describe(\"The chunk's unique ID.\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether this chunk has a fixed time that cannot be rescheduled.\").nullable().optional(),\n duration: z.number().int().describe(\"Duration of the chunk in minutes.\").nullable().optional(),\n scheduledEnd: z.string().describe(\"ISO 8601 datetime when this chunk is scheduled to end.\").nullable().optional(),\n completedTime: z.string().describe(\"ISO 8601 datetime when this chunk was completed. Null if not completed.\").nullable().optional(),\n scheduledStart: z.string().describe(\"ISO 8601 datetime when this chunk is scheduled to start.\").nullable().optional(),\n}).describe(\"A scheduled chunk/block of time for working on the task.\");\nconst MotionListTasks_TaskLabelSchema = z.object({\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n}).describe(\"Label attached to a task.\");\nconst MotionListTasks_TaskStatusSchema = 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 status indicates the task is resolved/completed.\").nullable().optional(),\n}).describe(\"Status information for a task.\");\nconst MotionListTasks_TaskCreatorSchema = z.object({\n id: z.string().describe(\"The creator's user ID.\").nullable().optional(),\n name: z.string().describe(\"The creator's name.\").nullable().optional(),\n email: z.string().describe(\"The creator's email address.\").nullable().optional(),\n}).describe(\"Information about the user who created the task.\");\nconst MotionListTasks_TaskProjectSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable().optional(),\n name: z.string().describe(\"The project name.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this project belongs to.\").nullable().optional(),\n}).describe(\"Project information for a task.\");\nconst MotionListTasks_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"The assignee's user ID.\").nullable().optional(),\n name: z.string().describe(\"The assignee's name.\").nullable().optional(),\n email: z.string().describe(\"The assignee's email address.\").nullable().optional(),\n}).describe(\"Information about a user assigned to the task.\");\nconst MotionListTasks_WorkspaceLabelSchema = z.object({\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n}).describe(\"Label definition in a workspace.\");\nconst MotionListTasks_WorkspaceStatusSchema = 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 status indicates resolved/completed.\").nullable().optional(),\n}).describe(\"Status definition in a workspace.\");\nconst MotionListTasks_TaskWorkspaceSchema = z.object({\n id: z.string().describe(\"The workspace ID.\").nullable().optional(),\n name: z.string().describe(\"The workspace name.\").nullable().optional(),\n type: z.string().describe(\"The workspace type.\").nullable().optional(),\n labels: z.array(MotionListTasks_WorkspaceLabelSchema).describe(\"Available labels in the workspace.\").nullable().optional(),\n teamId: z.string().describe(\"The team ID associated with the workspace.\").nullable().optional(),\n statuses: z.array(MotionListTasks_WorkspaceStatusSchema).describe(\"Available statuses in the workspace.\").nullable().optional(),\n}).describe(\"Workspace information for a task.\");\nconst MotionListTasks_TaskSchema = z.object({\n id: z.string().describe(\"The unique task ID.\").nullable().optional(),\n name: z.string().describe(\"The task name.\").nullable().optional(),\n chunks: z.array(MotionListTasks_TaskChunkSchema).describe(\"List of scheduled time chunks for working on the task.\").nullable().optional(),\n labels: z.array(MotionListTasks_TaskLabelSchema).describe(\"List of labels attached to the task.\").nullable().optional(),\n status: MotionListTasks_TaskStatusSchema.nullable().optional(),\n creator: MotionListTasks_TaskCreatorSchema.nullable().optional(),\n dueDate: z.string().describe(\"ISO 8601 datetime when the task is due.\").nullable().optional(),\n project: MotionListTasks_TaskProjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Date when the task should start being scheduled.\").nullable().optional(),\n duration: z.union([z.number().int(), z.string()]).nullable().optional(),\n priority: z.string().describe(\"Priority level of the task (e.g., 'ASAP', 'HIGH', 'MEDIUM', 'LOW').\").nullable().optional(),\n assignees: z.array(MotionListTasks_TaskAssigneeSchema).describe(\"List of users assigned to the task.\").nullable().optional(),\n completed: z.boolean().describe(\"Whether the task is completed.\").nullable().optional(),\n workspace: MotionListTasks_TaskWorkspaceSchema.nullable().optional(),\n createdTime: z.string().describe(\"ISO 8601 datetime when the task was created.\").nullable().optional(),\n description: z.string().describe(\"The task description.\").nullable().optional(),\n updatedTime: z.string().describe(\"ISO 8601 datetime when the task was last updated.\").nullable().optional(),\n deadlineType: z.string().describe(\"Type of deadline for the task (e.g., 'HARD', 'SOFT').\").nullable().optional(),\n scheduledEnd: z.string().describe(\"ISO 8601 datetime when the task is scheduled to end.\").nullable().optional(),\n completedTime: z.string().describe(\"ISO 8601 datetime when the task was completed. Null if not completed.\").nullable().optional(),\n scheduledStart: z.string().describe(\"ISO 8601 datetime when the task is scheduled to start.\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"Whether there is a scheduling issue with the task.\").nullable().optional(),\n customFieldValues: z.object({}).describe(\"Custom field values. Structure varies based on workspace custom field configuration.\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"ISO 8601 datetime when the task was last interacted with.\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"ID of the parent recurring task if this task is part of a recurring series.\").nullable().optional(),\n}).describe(\"Represents a single task with all its details.\");\nexport const MotionListTasksOutput = z.object({\n meta: MotionListTasks_TaskMetaSchema.nullable().optional(),\n tasks: z.array(MotionListTasks_TaskSchema).describe(\"List of tasks matching the query filters.\").nullable().optional(),\n}).describe(\"Response containing the list of tasks and pagination metadata.\");\n\nexport const motionListTasks = action(\"MOTION_LIST_TASKS\", {\n slug: \"motion-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to get all tasks for a given query with optional filtering. Use when you need to retrieve tasks from Motion, optionally filtered by assignee, project, workspace, status, label, or name.\",\n input: MotionListTasksInput,\n output: MotionListTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACnJ,oBAA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"../action\";\n\nexport const MotionListTasksInput = z.object({\n name: z.string().describe(\"Filter tasks containing this string in their name. Performs a case-insensitive substring match on task names.\").optional(),\n label: z.string().describe(\"Limit tasks returned by label. Filter tasks that have this specific label attached.\").optional(),\n cursor: z.string().describe(\"Pagination cursor. Use if a previous request returned a nextCursor value in the meta field to fetch the next page of results.\").optional(),\n status: z.array(z.string()).describe(\"Limit tasks by status array. Provide a list of status names to filter tasks with those specific statuses.\").optional(),\n projectId: z.string().describe(\"Limit tasks to a given project. Use the project's ID to filter tasks belonging to that project.\").optional(),\n assigneeId: z.string().describe(\"Limit tasks returned to a specific assignee. Use the assignee's user ID to filter tasks assigned to that person.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get tasks from. Use the workspace ID to scope the task list to a specific workspace.\").optional(),\n includeAllStatuses: z.boolean().describe(\"Include tasks with all statuses. Set to true to include tasks with any status, or false/omit to only include tasks with active statuses.\").optional(),\n}).describe(\"Request model for listing tasks with optional filtering.\");\nconst MotionListTasks_TaskMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks returned in this page.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for task list pagination.\");\nconst MotionListTasks_TaskChunkSchema = z.object({\n id: z.string().describe(\"The chunk's unique ID.\").nullable().optional(),\n isFixed: z.boolean().describe(\"Whether this chunk has a fixed time that cannot be rescheduled.\").nullable().optional(),\n duration: z.number().int().describe(\"Duration of the chunk in minutes.\").nullable().optional(),\n scheduledEnd: z.string().describe(\"ISO 8601 datetime when this chunk is scheduled to end.\").nullable().optional(),\n completedTime: z.string().describe(\"ISO 8601 datetime when this chunk was completed. Null if not completed.\").nullable().optional(),\n scheduledStart: z.string().describe(\"ISO 8601 datetime when this chunk is scheduled to start.\").nullable().optional(),\n}).passthrough().describe(\"A scheduled chunk/block of time for working on the task.\");\nconst MotionListTasks_TaskLabelSchema = z.object({\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n}).passthrough().describe(\"Label attached to a task.\");\nconst MotionListTasks_TaskStatusSchema = 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 status indicates the task is resolved/completed.\").nullable().optional(),\n}).passthrough().describe(\"Status information for a task.\");\nconst MotionListTasks_TaskCreatorSchema = z.object({\n id: z.string().describe(\"The creator's user ID.\").nullable().optional(),\n name: z.string().describe(\"The creator's name.\").nullable().optional(),\n email: z.string().describe(\"The creator's email address.\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the task.\");\nconst MotionListTasks_TaskProjectSchema = z.object({\n id: z.string().describe(\"The project ID.\").nullable().optional(),\n name: z.string().describe(\"The project name.\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace ID this project belongs to.\").nullable().optional(),\n}).passthrough().describe(\"Project information for a task.\");\nconst MotionListTasks_TaskAssigneeSchema = z.object({\n id: z.string().describe(\"The assignee's user ID.\").nullable().optional(),\n name: z.string().describe(\"The assignee's name.\").nullable().optional(),\n email: z.string().describe(\"The assignee's email address.\").nullable().optional(),\n}).passthrough().describe(\"Information about a user assigned to the task.\");\nconst MotionListTasks_WorkspaceLabelSchema = z.object({\n name: z.string().describe(\"The name of the label.\").nullable().optional(),\n}).passthrough().describe(\"Label definition in a workspace.\");\nconst MotionListTasks_WorkspaceStatusSchema = 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 status indicates resolved/completed.\").nullable().optional(),\n}).passthrough().describe(\"Status definition in a workspace.\");\nconst MotionListTasks_TaskWorkspaceSchema = z.object({\n id: z.string().describe(\"The workspace ID.\").nullable().optional(),\n name: z.string().describe(\"The workspace name.\").nullable().optional(),\n type: z.string().describe(\"The workspace type.\").nullable().optional(),\n labels: z.array(MotionListTasks_WorkspaceLabelSchema).describe(\"Available labels in the workspace.\").nullable().optional(),\n teamId: z.string().describe(\"The team ID associated with the workspace.\").nullable().optional(),\n statuses: z.array(MotionListTasks_WorkspaceStatusSchema).describe(\"Available statuses in the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Workspace information for a task.\");\nconst MotionListTasks_TaskSchema = z.object({\n id: z.string().describe(\"The unique task ID.\").nullable().optional(),\n name: z.string().describe(\"The task name.\").nullable().optional(),\n chunks: z.array(MotionListTasks_TaskChunkSchema).describe(\"List of scheduled time chunks for working on the task.\").nullable().optional(),\n labels: z.array(MotionListTasks_TaskLabelSchema).describe(\"List of labels attached to the task.\").nullable().optional(),\n status: MotionListTasks_TaskStatusSchema.nullable().optional(),\n creator: MotionListTasks_TaskCreatorSchema.nullable().optional(),\n dueDate: z.string().describe(\"ISO 8601 datetime when the task is due.\").nullable().optional(),\n project: MotionListTasks_TaskProjectSchema.nullable().optional(),\n startOn: z.string().describe(\"Date when the task should start being scheduled.\").nullable().optional(),\n duration: z.union([z.number().int(), z.string()]).nullable().optional(),\n priority: z.string().describe(\"Priority level of the task (e.g., 'ASAP', 'HIGH', 'MEDIUM', 'LOW').\").nullable().optional(),\n assignees: z.array(MotionListTasks_TaskAssigneeSchema).describe(\"List of users assigned to the task.\").nullable().optional(),\n completed: z.boolean().describe(\"Whether the task is completed.\").nullable().optional(),\n workspace: MotionListTasks_TaskWorkspaceSchema.nullable().optional(),\n createdTime: z.string().describe(\"ISO 8601 datetime when the task was created.\").nullable().optional(),\n description: z.string().describe(\"The task description.\").nullable().optional(),\n updatedTime: z.string().describe(\"ISO 8601 datetime when the task was last updated.\").nullable().optional(),\n deadlineType: z.string().describe(\"Type of deadline for the task (e.g., 'HARD', 'SOFT').\").nullable().optional(),\n scheduledEnd: z.string().describe(\"ISO 8601 datetime when the task is scheduled to end.\").nullable().optional(),\n completedTime: z.string().describe(\"ISO 8601 datetime when the task was completed. Null if not completed.\").nullable().optional(),\n scheduledStart: z.string().describe(\"ISO 8601 datetime when the task is scheduled to start.\").nullable().optional(),\n schedulingIssue: z.boolean().describe(\"Whether there is a scheduling issue with the task.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values. Structure varies based on workspace custom field configuration.\").nullable().optional(),\n lastInteractedTime: z.string().describe(\"ISO 8601 datetime when the task was last interacted with.\").nullable().optional(),\n parentRecurringTaskId: z.string().describe(\"ID of the parent recurring task if this task is part of a recurring series.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single task with all its details.\");\nexport const MotionListTasksOutput = z.object({\n meta: MotionListTasks_TaskMetaSchema.nullable().optional(),\n tasks: z.array(MotionListTasks_TaskSchema).describe(\"List of tasks matching the query filters.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the list of tasks and pagination metadata.\");\n\nexport const motionListTasks = action(\"MOTION_LIST_TASKS\", {\n slug: \"motion-list-tasks\",\n name: \"List Tasks\",\n description: \"Tool to get all tasks for a given query with optional filtering. Use when you need to retrieve tasks from Motion, optionally filtered by assignee, project, workspace, status, label, or name.\",\n input: MotionListTasksInput,\n output: MotionListTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC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+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -9,16 +9,16 @@ const MotionListUsersInput = zod.z.object({
9
9
  const MotionListUsers_MetaInfoSchema = zod.z.object({
10
10
  pageSize: zod.z.number().int().describe("The number of users included in the current response.").nullable().optional(),
11
11
  nextCursor: zod.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()
12
- }).describe("Pagination metadata for the users list response.");
12
+ }).passthrough().describe("Pagination metadata for the users list response.");
13
13
  const MotionListUsers_MotionUserSchema = zod.z.object({
14
14
  id: zod.z.string().describe("The user's unique identifier.").nullable(),
15
15
  name: zod.z.string().describe("The user's display name.").nullable().optional(),
16
16
  email: zod.z.string().describe("The user's email address.").nullable()
17
- }).describe("A Motion user object.");
17
+ }).passthrough().describe("A Motion user object.");
18
18
  const MotionListUsersOutput = zod.z.object({
19
19
  meta: MotionListUsers_MetaInfoSchema.nullable().optional(),
20
20
  users: zod.z.array(MotionListUsers_MotionUserSchema).default([]).describe("List of users with their details including id, name, and email.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const motionListUsers = require_action.action("MOTION_LIST_USERS", {
23
23
  slug: "motion-list-users",
24
24
  name: "List users",
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListUsersInput = 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 teamId: z.string().describe(\"The ID of the team to filter users by. Filters results to return only users in the specified team.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace to get users from. Filters results to return only users in the specified workspace.\").optional(),\n});\nconst MotionListUsers_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of users 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}).describe(\"Pagination metadata for the users list response.\");\nconst MotionListUsers_MotionUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier.\").nullable(),\n name: z.string().describe(\"The user's display name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable(),\n}).describe(\"A Motion user object.\");\nexport const MotionListUsersOutput = z.object({\n meta: MotionListUsers_MetaInfoSchema.nullable().optional(),\n users: z.array(MotionListUsers_MotionUserSchema).default([]).describe(\"List of users with their details including id, name, and email.\").nullable().optional(),\n});\n\nexport const motionListUsers = action(\"MOTION_LIST_USERS\", {\n slug: \"motion-list-users\",\n name: \"List users\",\n description: \"Tool to get a list of users for a given workspace or team. Use when you need to retrieve user information from Motion. Supports pagination via cursor and filtering by workspaceId or teamId.\",\n input: MotionListUsersInput,\n output: MotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/J,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListUsersInput = 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 teamId: z.string().describe(\"The ID of the team to filter users by. Filters results to return only users in the specified team.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace to get users from. Filters results to return only users in the specified workspace.\").optional(),\n});\nconst MotionListUsers_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of users 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 users list response.\");\nconst MotionListUsers_MotionUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier.\").nullable(),\n name: z.string().describe(\"The user's display name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable(),\n}).passthrough().describe(\"A Motion user object.\");\nexport const MotionListUsersOutput = z.object({\n meta: MotionListUsers_MetaInfoSchema.nullable().optional(),\n users: z.array(MotionListUsers_MotionUserSchema).default([]).describe(\"List of users with their details including id, name, and email.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListUsers = action(\"MOTION_LIST_USERS\", {\n slug: \"motion-list-users\",\n name: \"List users\",\n description: \"Tool to get a list of users for a given workspace or team. Use when you need to retrieve user information from Motion. Supports pagination via cursor and filtering by workspaceId or teamId.\",\n input: MotionListUsersInput,\n output: MotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,13 +10,13 @@ declare const MotionListUsersOutput: z.ZodObject<{
10
10
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  users: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
15
15
  id: z.ZodNullable<z.ZodString>;
16
16
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  email: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const motionListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  cursor?: string | undefined;
22
22
  teamId?: string | undefined;
@@ -10,13 +10,13 @@ declare const MotionListUsersOutput: z.ZodObject<{
10
10
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  users: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
15
15
  id: z.ZodNullable<z.ZodString>;
16
16
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  email: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>>>>;
19
- }, z.core.$strip>;
18
+ }, z.core.$loose>>>>>;
19
+ }, z.core.$loose>;
20
20
  declare const motionListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  cursor?: string | undefined;
22
22
  teamId?: string | undefined;
@@ -9,12 +9,12 @@ const MotionListUsersInput = z.object({
9
9
  const MotionListUsers_MetaInfoSchema = z.object({
10
10
  pageSize: z.number().int().describe("The number of users included in the current response.").nullable().optional(),
11
11
  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()
12
- }).describe("Pagination metadata for the users list response.");
12
+ }).passthrough().describe("Pagination metadata for the users list response.");
13
13
  const MotionListUsers_MotionUserSchema = z.object({
14
14
  id: z.string().describe("The user's unique identifier.").nullable(),
15
15
  name: z.string().describe("The user's display name.").nullable().optional(),
16
16
  email: z.string().describe("The user's email address.").nullable()
17
- }).describe("A Motion user object.");
17
+ }).passthrough().describe("A Motion user object.");
18
18
  const motionListUsers = action("MOTION_LIST_USERS", {
19
19
  slug: "motion-list-users",
20
20
  name: "List users",
@@ -23,7 +23,7 @@ const motionListUsers = action("MOTION_LIST_USERS", {
23
23
  output: z.object({
24
24
  meta: MotionListUsers_MetaInfoSchema.nullable().optional(),
25
25
  users: z.array(MotionListUsers_MotionUserSchema).default([]).describe("List of users with their details including id, name, and email.").nullable().optional()
26
- })
26
+ }).passthrough()
27
27
  });
28
28
  //#endregion
29
29
  export { motionListUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListUsersInput = 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 teamId: z.string().describe(\"The ID of the team to filter users by. Filters results to return only users in the specified team.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace to get users from. Filters results to return only users in the specified workspace.\").optional(),\n});\nconst MotionListUsers_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of users 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}).describe(\"Pagination metadata for the users list response.\");\nconst MotionListUsers_MotionUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier.\").nullable(),\n name: z.string().describe(\"The user's display name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable(),\n}).describe(\"A Motion user object.\");\nexport const MotionListUsersOutput = z.object({\n meta: MotionListUsers_MetaInfoSchema.nullable().optional(),\n users: z.array(MotionListUsers_MotionUserSchema).default([]).describe(\"List of users with their details including id, name, and email.\").nullable().optional(),\n});\n\nexport const motionListUsers = action(\"MOTION_LIST_USERS\", {\n slug: \"motion-list-users\",\n name: \"List users\",\n description: \"Tool to get a list of users for a given workspace or team. Use when you need to retrieve user information from Motion. Supports pagination via cursor and filtering by workspaceId or teamId.\",\n input: MotionListUsersInput,\n output: MotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListUsersInput = 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 teamId: z.string().describe(\"The ID of the team to filter users by. Filters results to return only users in the specified team.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace to get users from. Filters results to return only users in the specified workspace.\").optional(),\n});\nconst MotionListUsers_MetaInfoSchema = z.object({\n pageSize: z.number().int().describe(\"The number of users 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 users list response.\");\nconst MotionListUsers_MotionUserSchema = z.object({\n id: z.string().describe(\"The user's unique identifier.\").nullable(),\n name: z.string().describe(\"The user's display name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable(),\n}).passthrough().describe(\"A Motion user object.\");\nexport const MotionListUsersOutput = z.object({\n meta: MotionListUsers_MetaInfoSchema.nullable().optional(),\n users: z.array(MotionListUsers_MotionUserSchema).default([]).describe(\"List of users with their details including id, name, and email.\").nullable().optional(),\n}).passthrough();\n\nexport const motionListUsers = action(\"MOTION_LIST_USERS\", {\n slug: \"motion-list-users\",\n name: \"List users\",\n description: \"Tool to get a list of users for a given workspace or team. Use when you need to retrieve user information from Motion. Supports pagination via cursor and filtering by workspaceId or teamId.\",\n input: MotionListUsersInput,\n output: MotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC3L,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC3J,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,13 +8,13 @@ const MotionListWorkspacesInput = zod.z.object({
8
8
  const MotionListWorkspaces_MetaSchema = zod.z.object({
9
9
  pageSize: zod.z.number().int().describe("Number of workspace objects returned in the current response.").nullable().optional(),
10
10
  nextCursor: zod.z.string().describe("Cursor to use for fetching the next page of results. If null, there are no more pages.").nullable().optional()
11
- }).describe("Metadata for pagination.");
12
- const MotionListWorkspaces_LabelSchema = zod.z.object({ name: zod.z.string().describe("Name of the label.").nullable() }).describe("Represents a label within a workspace.");
11
+ }).passthrough().describe("Metadata for pagination.");
12
+ const MotionListWorkspaces_LabelSchema = zod.z.object({ name: zod.z.string().describe("Name of the label.").nullable() }).passthrough().describe("Represents a label within a workspace.");
13
13
  const MotionListWorkspaces_StatusSchema = zod.z.object({
14
14
  name: zod.z.string().describe("Name of the status.").nullable(),
15
15
  isDefaultStatus: zod.z.boolean().describe("Indicates whether this is the default status for the workspace.").nullable(),
16
16
  isResolvedStatus: zod.z.boolean().describe("Indicates whether this status represents a terminal/resolved state.").nullable()
17
- }).describe("Represents a status within a workspace.");
17
+ }).passthrough().describe("Represents a status within a workspace.");
18
18
  const MotionListWorkspaces_WorkspaceSchema = zod.z.object({
19
19
  id: zod.z.string().describe("Unique identifier of the workspace.").nullable(),
20
20
  name: zod.z.string().describe("Display name of the workspace.").nullable(),
@@ -22,11 +22,11 @@ const MotionListWorkspaces_WorkspaceSchema = zod.z.object({
22
22
  labels: zod.z.array(MotionListWorkspaces_LabelSchema).describe("Array of labels available in this workspace."),
23
23
  teamId: zod.z.string().describe("Identifier of the team associated with this workspace. Null for individual workspaces.").nullable().optional(),
24
24
  taskStatuses: zod.z.array(MotionListWorkspaces_StatusSchema).describe("Array of statuses configured for this workspace.")
25
- }).describe("Represents a workspace object.");
25
+ }).passthrough().describe("Represents a workspace object.");
26
26
  const MotionListWorkspacesOutput = zod.z.object({
27
27
  meta: MotionListWorkspaces_MetaSchema.nullable().optional(),
28
28
  workspaces: zod.z.array(MotionListWorkspaces_WorkspaceSchema).describe("Array of workspace objects the user has access to.")
29
- }).describe("Response model for listing workspaces.");
29
+ }).passthrough().describe("Response model for listing workspaces.");
30
30
  const motionListWorkspaces = require_action.action("MOTION_LIST_WORKSPACES", {
31
31
  slug: "motion-list-workspaces",
32
32
  name: "List Workspaces",
@@ -1 +1 @@
1
- {"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListWorkspacesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of workspace IDs to retrieve specific workspaces. If provided, only returns workspaces matching these IDs. If not provided, returns all workspaces the user has access to.\").optional(),\n cursor: z.string().describe(\"Pagination cursor to retrieve the next page of results. Use the nextCursor value from the previous response's meta object to fetch more workspaces.\").optional(),\n}).describe(\"Request model for listing workspaces.\");\nconst MotionListWorkspaces_MetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of workspace objects returned in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).describe(\"Metadata for pagination.\");\nconst MotionListWorkspaces_LabelSchema = z.object({\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).describe(\"Represents a label within a workspace.\");\nconst MotionListWorkspaces_StatusSchema = z.object({\n name: z.string().describe(\"Name of the status.\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Indicates whether this is the default status for the workspace.\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this status represents a terminal/resolved state.\").nullable(),\n}).describe(\"Represents a status within a workspace.\");\nconst MotionListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace.\").nullable(),\n name: z.string().describe(\"Display name of the workspace.\").nullable(),\n type: z.string().describe(\"Type of workspace, either 'team' for shared workspaces or 'individual' for personal workspaces.\").nullable(),\n labels: z.array(MotionListWorkspaces_LabelSchema).describe(\"Array of labels available in this workspace.\"),\n teamId: z.string().describe(\"Identifier of the team associated with this workspace. Null for individual workspaces.\").nullable().optional(),\n taskStatuses: z.array(MotionListWorkspaces_StatusSchema).describe(\"Array of statuses configured for this workspace.\"),\n}).describe(\"Represents a workspace object.\");\nexport const MotionListWorkspacesOutput = z.object({\n meta: MotionListWorkspaces_MetaSchema.nullable().optional(),\n workspaces: z.array(MotionListWorkspaces_WorkspaceSchema).describe(\"Array of workspace objects the user has access to.\"),\n}).describe(\"Response model for listing workspaces.\");\n\nexport const motionListWorkspaces = action(\"MOTION_LIST_WORKSPACES\", {\n slug: \"motion-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to retrieve all workspaces a user has access to. Use when you need to discover available workspaces, filter for specific workspace IDs, or paginate through workspace results. Returns workspace details including type, team, labels, and statuses.\",\n input: MotionListWorkspacesInput,\n output: MotionListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAA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AA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,cAAcA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;AACtH,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListWorkspacesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of workspace IDs to retrieve specific workspaces. If provided, only returns workspaces matching these IDs. If not provided, returns all workspaces the user has access to.\").optional(),\n cursor: z.string().describe(\"Pagination cursor to retrieve the next page of results. Use the nextCursor value from the previous response's meta object to fetch more workspaces.\").optional(),\n}).describe(\"Request model for listing workspaces.\");\nconst MotionListWorkspaces_MetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of workspace objects returned in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for pagination.\");\nconst MotionListWorkspaces_LabelSchema = z.object({\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).passthrough().describe(\"Represents a label within a workspace.\");\nconst MotionListWorkspaces_StatusSchema = z.object({\n name: z.string().describe(\"Name of the status.\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Indicates whether this is the default status for the workspace.\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this status represents a terminal/resolved state.\").nullable(),\n}).passthrough().describe(\"Represents a status within a workspace.\");\nconst MotionListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace.\").nullable(),\n name: z.string().describe(\"Display name of the workspace.\").nullable(),\n type: z.string().describe(\"Type of workspace, either 'team' for shared workspaces or 'individual' for personal workspaces.\").nullable(),\n labels: z.array(MotionListWorkspaces_LabelSchema).describe(\"Array of labels available in this workspace.\"),\n teamId: z.string().describe(\"Identifier of the team associated with this workspace. Null for individual workspaces.\").nullable().optional(),\n taskStatuses: z.array(MotionListWorkspaces_StatusSchema).describe(\"Array of statuses configured for this workspace.\"),\n}).passthrough().describe(\"Represents a workspace object.\");\nexport const MotionListWorkspacesOutput = z.object({\n meta: MotionListWorkspaces_MetaSchema.nullable().optional(),\n workspaces: z.array(MotionListWorkspaces_WorkspaceSchema).describe(\"Array of workspace objects the user has access to.\"),\n}).passthrough().describe(\"Response model for listing workspaces.\");\n\nexport const motionListWorkspaces = action(\"MOTION_LIST_WORKSPACES\", {\n slug: \"motion-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to retrieve all workspaces a user has access to. Use when you need to discover available workspaces, filter for specific workspace IDs, or paginate through workspace results. Returns workspace details including type, team, labels, and statuses.\",\n input: MotionListWorkspacesInput,\n output: MotionListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC/N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CA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AA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,cAAcA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,22 +9,22 @@ declare const MotionListWorkspacesOutput: z.ZodObject<{
9
9
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
11
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>;
12
+ }, z.core.$loose>>>;
13
13
  workspaces: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
16
  type: z.ZodNullable<z.ZodString>;
17
17
  labels: z.ZodArray<z.ZodObject<{
18
18
  name: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  taskStatuses: z.ZodArray<z.ZodObject<{
22
22
  name: z.ZodNullable<z.ZodString>;
23
23
  isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
24
24
  isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const motionListWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  ids?: string[] | undefined;
30
30
  cursor?: string | undefined;
@@ -9,22 +9,22 @@ declare const MotionListWorkspacesOutput: z.ZodObject<{
9
9
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
11
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>;
12
+ }, z.core.$loose>>>;
13
13
  workspaces: z.ZodArray<z.ZodObject<{
14
14
  id: z.ZodNullable<z.ZodString>;
15
15
  name: z.ZodNullable<z.ZodString>;
16
16
  type: z.ZodNullable<z.ZodString>;
17
17
  labels: z.ZodArray<z.ZodObject<{
18
18
  name: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  taskStatuses: z.ZodArray<z.ZodObject<{
22
22
  name: z.ZodNullable<z.ZodString>;
23
23
  isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
24
24
  isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>>;
27
+ }, z.core.$loose>;
28
28
  declare const motionListWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  ids?: string[] | undefined;
30
30
  cursor?: string | undefined;
@@ -8,13 +8,13 @@ const MotionListWorkspacesInput = z.object({
8
8
  const MotionListWorkspaces_MetaSchema = z.object({
9
9
  pageSize: z.number().int().describe("Number of workspace objects returned in the current response.").nullable().optional(),
10
10
  nextCursor: z.string().describe("Cursor to use for fetching the next page of results. If null, there are no more pages.").nullable().optional()
11
- }).describe("Metadata for pagination.");
12
- const MotionListWorkspaces_LabelSchema = z.object({ name: z.string().describe("Name of the label.").nullable() }).describe("Represents a label within a workspace.");
11
+ }).passthrough().describe("Metadata for pagination.");
12
+ const MotionListWorkspaces_LabelSchema = z.object({ name: z.string().describe("Name of the label.").nullable() }).passthrough().describe("Represents a label within a workspace.");
13
13
  const MotionListWorkspaces_StatusSchema = z.object({
14
14
  name: z.string().describe("Name of the status.").nullable(),
15
15
  isDefaultStatus: z.boolean().describe("Indicates whether this is the default status for the workspace.").nullable(),
16
16
  isResolvedStatus: z.boolean().describe("Indicates whether this status represents a terminal/resolved state.").nullable()
17
- }).describe("Represents a status within a workspace.");
17
+ }).passthrough().describe("Represents a status within a workspace.");
18
18
  const MotionListWorkspaces_WorkspaceSchema = z.object({
19
19
  id: z.string().describe("Unique identifier of the workspace.").nullable(),
20
20
  name: z.string().describe("Display name of the workspace.").nullable(),
@@ -22,7 +22,7 @@ const MotionListWorkspaces_WorkspaceSchema = z.object({
22
22
  labels: z.array(MotionListWorkspaces_LabelSchema).describe("Array of labels available in this workspace."),
23
23
  teamId: z.string().describe("Identifier of the team associated with this workspace. Null for individual workspaces.").nullable().optional(),
24
24
  taskStatuses: z.array(MotionListWorkspaces_StatusSchema).describe("Array of statuses configured for this workspace.")
25
- }).describe("Represents a workspace object.");
25
+ }).passthrough().describe("Represents a workspace object.");
26
26
  const motionListWorkspaces = action("MOTION_LIST_WORKSPACES", {
27
27
  slug: "motion-list-workspaces",
28
28
  name: "List Workspaces",
@@ -31,7 +31,7 @@ const motionListWorkspaces = action("MOTION_LIST_WORKSPACES", {
31
31
  output: z.object({
32
32
  meta: MotionListWorkspaces_MetaSchema.nullable().optional(),
33
33
  workspaces: z.array(MotionListWorkspaces_WorkspaceSchema).describe("Array of workspace objects the user has access to.")
34
- }).describe("Response model for listing workspaces.")
34
+ }).passthrough().describe("Response model for listing workspaces.")
35
35
  });
36
36
  //#endregion
37
37
  export { motionListWorkspaces };
@@ -1 +1 @@
1
- {"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListWorkspacesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of workspace IDs to retrieve specific workspaces. If provided, only returns workspaces matching these IDs. If not provided, returns all workspaces the user has access to.\").optional(),\n cursor: z.string().describe(\"Pagination cursor to retrieve the next page of results. Use the nextCursor value from the previous response's meta object to fetch more workspaces.\").optional(),\n}).describe(\"Request model for listing workspaces.\");\nconst MotionListWorkspaces_MetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of workspace objects returned in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).describe(\"Metadata for pagination.\");\nconst MotionListWorkspaces_LabelSchema = z.object({\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).describe(\"Represents a label within a workspace.\");\nconst MotionListWorkspaces_StatusSchema = z.object({\n name: z.string().describe(\"Name of the status.\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Indicates whether this is the default status for the workspace.\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this status represents a terminal/resolved state.\").nullable(),\n}).describe(\"Represents a status within a workspace.\");\nconst MotionListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace.\").nullable(),\n name: z.string().describe(\"Display name of the workspace.\").nullable(),\n type: z.string().describe(\"Type of workspace, either 'team' for shared workspaces or 'individual' for personal workspaces.\").nullable(),\n labels: z.array(MotionListWorkspaces_LabelSchema).describe(\"Array of labels available in this workspace.\"),\n teamId: z.string().describe(\"Identifier of the team associated with this workspace. Null for individual workspaces.\").nullable().optional(),\n taskStatuses: z.array(MotionListWorkspaces_StatusSchema).describe(\"Array of statuses configured for this workspace.\"),\n}).describe(\"Represents a workspace object.\");\nexport const MotionListWorkspacesOutput = z.object({\n meta: MotionListWorkspaces_MetaSchema.nullable().optional(),\n workspaces: z.array(MotionListWorkspaces_WorkspaceSchema).describe(\"Array of workspace objects the user has access to.\"),\n}).describe(\"Response model for listing workspaces.\");\n\nexport const motionListWorkspaces = action(\"MOTION_LIST_WORKSPACES\", {\n slug: \"motion-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to retrieve all workspaces a user has access to. Use when you need to discover available workspaces, filter for specific workspace IDs, or paginate through workspace results. Returns workspace details including type, team, labels, and statuses.\",\n input: MotionListWorkspacesInput,\n output: MotionListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC/N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,mCAAmC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAClH,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,cAAc,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;AACtH,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAM5C,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,YAAY,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;CACzH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListWorkspacesInput = z.object({\n ids: z.array(z.string()).describe(\"Array of workspace IDs to retrieve specific workspaces. If provided, only returns workspaces matching these IDs. If not provided, returns all workspaces the user has access to.\").optional(),\n cursor: z.string().describe(\"Pagination cursor to retrieve the next page of results. Use the nextCursor value from the previous response's meta object to fetch more workspaces.\").optional(),\n}).describe(\"Request model for listing workspaces.\");\nconst MotionListWorkspaces_MetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of workspace objects returned in the current response.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. If null, there are no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for pagination.\");\nconst MotionListWorkspaces_LabelSchema = z.object({\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).passthrough().describe(\"Represents a label within a workspace.\");\nconst MotionListWorkspaces_StatusSchema = z.object({\n name: z.string().describe(\"Name of the status.\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Indicates whether this is the default status for the workspace.\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Indicates whether this status represents a terminal/resolved state.\").nullable(),\n}).passthrough().describe(\"Represents a status within a workspace.\");\nconst MotionListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace.\").nullable(),\n name: z.string().describe(\"Display name of the workspace.\").nullable(),\n type: z.string().describe(\"Type of workspace, either 'team' for shared workspaces or 'individual' for personal workspaces.\").nullable(),\n labels: z.array(MotionListWorkspaces_LabelSchema).describe(\"Array of labels available in this workspace.\"),\n teamId: z.string().describe(\"Identifier of the team associated with this workspace. Null for individual workspaces.\").nullable().optional(),\n taskStatuses: z.array(MotionListWorkspaces_StatusSchema).describe(\"Array of statuses configured for this workspace.\"),\n}).passthrough().describe(\"Represents a workspace object.\");\nexport const MotionListWorkspacesOutput = z.object({\n meta: MotionListWorkspaces_MetaSchema.nullable().optional(),\n workspaces: z.array(MotionListWorkspaces_WorkspaceSchema).describe(\"Array of workspace objects the user has access to.\"),\n}).passthrough().describe(\"Response model for listing workspaces.\");\n\nexport const motionListWorkspaces = action(\"MOTION_LIST_WORKSPACES\", {\n slug: \"motion-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to retrieve all workspaces a user has access to. Use when you need to discover available workspaces, filter for specific workspace IDs, or paginate through workspace results. Returns workspace details including type, team, labels, and statuses.\",\n input: MotionListWorkspacesInput,\n output: MotionListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,MAAM,EAAE,OAAO,CAA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,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,cAAc,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAM1D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,YAAY,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -13,18 +13,18 @@ const MotionMoveTask_ChunkInfoSchema = zod.z.object({
13
13
  scheduledEnd: zod.z.string().describe("Scheduled end time of the chunk").nullable().optional(),
14
14
  completedTime: zod.z.string().describe("Completion time").nullable().optional(),
15
15
  scheduledStart: zod.z.string().describe("Scheduled start time of the chunk").nullable().optional()
16
- }).describe("Represents a scheduled chunk of a task.");
17
- const MotionMoveTask_LabelInfoSchema = zod.z.object({ name: zod.z.string().describe("Name of the label").nullable() }).describe("Represents a label in Motion.");
16
+ }).passthrough().describe("Represents a scheduled chunk of a task.");
17
+ const MotionMoveTask_LabelInfoSchema = zod.z.object({ name: zod.z.string().describe("Name of the label").nullable() }).passthrough().describe("Represents a label in Motion.");
18
18
  const MotionMoveTask_StatusInfoSchema = zod.z.object({
19
19
  name: zod.z.string().describe("Name of the status").nullable(),
20
20
  isDefaultStatus: zod.z.boolean().describe("Indicates whether this is the default status").nullable(),
21
21
  isResolvedStatus: zod.z.boolean().describe("Indicates whether this is a resolved status").nullable()
22
- }).describe("Represents a status in Motion.");
22
+ }).passthrough().describe("Represents a status in Motion.");
23
23
  const MotionMoveTask_UserInfoSchema = zod.z.object({
24
24
  id: zod.z.string().describe("User ID").nullable(),
25
25
  name: zod.z.string().describe("User name").nullable(),
26
26
  email: zod.z.string().describe("User email").nullable()
27
- }).describe("Represents a user in Motion.");
27
+ }).passthrough().describe("Represents a user in Motion.");
28
28
  const MotionMoveTask_ProjectInfoSchema = zod.z.object({
29
29
  id: zod.z.string().describe("Project ID").nullable(),
30
30
  name: zod.z.string().describe("Project name").nullable(),
@@ -33,8 +33,8 @@ const MotionMoveTask_ProjectInfoSchema = zod.z.object({
33
33
  description: zod.z.string().describe("Project description").nullable().optional(),
34
34
  updatedTime: zod.z.string().describe("Project last update time").nullable().optional(),
35
35
  workspaceId: zod.z.string().describe("Workspace ID the project belongs to").nullable(),
36
- customFieldValues: zod.z.object({}).describe("Custom field values for the project").nullable().optional()
37
- }).describe("Represents a project in Motion.");
36
+ customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values for the project").nullable().optional()
37
+ }).passthrough().describe("Represents a project in Motion.");
38
38
  const MotionMoveTask_WorkspaceInfoSchema = zod.z.object({
39
39
  id: zod.z.string().describe("Workspace ID").nullable(),
40
40
  name: zod.z.string().describe("Workspace name").nullable(),
@@ -42,7 +42,7 @@ const MotionMoveTask_WorkspaceInfoSchema = zod.z.object({
42
42
  labels: zod.z.array(MotionMoveTask_LabelInfoSchema).describe("Workspace labels").nullable().optional(),
43
43
  teamId: zod.z.string().describe("Team ID the workspace belongs to").nullable().optional(),
44
44
  statuses: zod.z.array(MotionMoveTask_StatusInfoSchema).describe("Workspace statuses").nullable().optional()
45
- }).describe("Represents a workspace in Motion.");
45
+ }).passthrough().describe("Represents a workspace in Motion.");
46
46
  const MotionMoveTaskOutput = zod.z.object({
47
47
  id: zod.z.string().describe("Task ID").nullable(),
48
48
  name: zod.z.string().describe("Task name").nullable(),
@@ -70,10 +70,10 @@ const MotionMoveTaskOutput = zod.z.object({
70
70
  completedTime: zod.z.string().describe("Task completion time").nullable().optional(),
71
71
  scheduledStart: zod.z.string().describe("Scheduled start time for the task").nullable().optional(),
72
72
  schedulingIssue: zod.z.boolean().describe("Indicates if there's a scheduling issue with the task").nullable().optional(),
73
- customFieldValues: zod.z.object({}).describe("Custom field values for the task").nullable().optional(),
73
+ customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values for the task").nullable().optional(),
74
74
  lastInteractedTime: zod.z.string().describe("Last time the task was interacted with").nullable().optional(),
75
75
  parentRecurringTaskId: zod.z.string().describe("Parent recurring task ID if this is a recurring task instance").nullable().optional()
76
- }).describe("Response model containing the complete task information after moving.");
76
+ }).passthrough().describe("Response model containing the complete task information after moving.");
77
77
  const motionMoveTask = require_action.action("MOTION_MOVE_TASK", {
78
78
  slug: "motion-move-task",
79
79
  name: "Move Task to Workspace",