@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-custom-field-to-project.cjs +1 -1
- package/dist/actions/add-custom-field-to-project.cjs.map +1 -1
- package/dist/actions/add-custom-field-to-project.d.cts +33 -3
- package/dist/actions/add-custom-field-to-project.d.cts.map +1 -1
- package/dist/actions/add-custom-field-to-project.d.mts +33 -3
- package/dist/actions/add-custom-field-to-project.d.mts.map +1 -1
- package/dist/actions/add-custom-field-to-project.mjs +1 -1
- package/dist/actions/add-custom-field-to-project.mjs.map +1 -1
- package/dist/actions/add-custom-field-to-task.cjs +1 -1
- package/dist/actions/add-custom-field-to-task.cjs.map +1 -1
- package/dist/actions/add-custom-field-to-task.d.cts +33 -3
- package/dist/actions/add-custom-field-to-task.d.cts.map +1 -1
- package/dist/actions/add-custom-field-to-task.d.mts +33 -3
- package/dist/actions/add-custom-field-to-task.d.mts.map +1 -1
- package/dist/actions/add-custom-field-to-task.mjs +1 -1
- package/dist/actions/add-custom-field-to-task.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +4 -4
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +19 -3
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +19 -3
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +4 -4
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +2 -2
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +49 -3
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +49 -3
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +2 -2
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-project.cjs +4 -4
- package/dist/actions/create-project.cjs.map +1 -1
- package/dist/actions/create-project.d.cts +48 -3
- package/dist/actions/create-project.d.cts.map +1 -1
- package/dist/actions/create-project.d.mts +48 -3
- package/dist/actions/create-project.d.mts.map +1 -1
- package/dist/actions/create-project.mjs +4 -4
- package/dist/actions/create-project.mjs.map +1 -1
- package/dist/actions/create-recurring-task.cjs.map +1 -1
- package/dist/actions/create-recurring-task.d.cts +77 -3
- package/dist/actions/create-recurring-task.d.cts.map +1 -1
- package/dist/actions/create-recurring-task.d.mts +77 -3
- package/dist/actions/create-recurring-task.d.mts.map +1 -1
- package/dist/actions/create-recurring-task.mjs.map +1 -1
- package/dist/actions/create-task.cjs +17 -17
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +96 -3
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +96 -3
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +17 -17
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/delete-custom-field-from-project.cjs +1 -1
- package/dist/actions/delete-custom-field-from-project.cjs.map +1 -1
- package/dist/actions/delete-custom-field-from-project.d.cts +11 -3
- package/dist/actions/delete-custom-field-from-project.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-from-project.d.mts +11 -3
- package/dist/actions/delete-custom-field-from-project.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-from-project.mjs +1 -1
- package/dist/actions/delete-custom-field-from-project.mjs.map +1 -1
- package/dist/actions/delete-custom-field-from-task.cjs.map +1 -1
- package/dist/actions/delete-custom-field-from-task.d.cts +9 -3
- package/dist/actions/delete-custom-field-from-task.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-from-task.d.mts +9 -3
- package/dist/actions/delete-custom-field-from-task.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-from-task.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +12 -3
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +12 -3
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-recurring-task.cjs +1 -1
- package/dist/actions/delete-recurring-task.cjs.map +1 -1
- package/dist/actions/delete-recurring-task.d.cts +9 -3
- package/dist/actions/delete-recurring-task.d.cts.map +1 -1
- package/dist/actions/delete-recurring-task.d.mts +9 -3
- package/dist/actions/delete-recurring-task.d.mts.map +1 -1
- package/dist/actions/delete-recurring-task.mjs +1 -1
- package/dist/actions/delete-recurring-task.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -1
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +9 -3
- package/dist/actions/delete-task.d.cts.map +1 -1
- package/dist/actions/delete-task.d.mts +9 -3
- package/dist/actions/delete-task.d.mts.map +1 -1
- package/dist/actions/delete-task.mjs +1 -1
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-my-user.cjs +3 -3
- package/dist/actions/get-my-user.cjs.map +1 -1
- package/dist/actions/get-my-user.d.cts +7 -3
- package/dist/actions/get-my-user.d.cts.map +1 -1
- package/dist/actions/get-my-user.d.mts +7 -3
- package/dist/actions/get-my-user.d.mts.map +1 -1
- package/dist/actions/get-my-user.mjs +3 -3
- package/dist/actions/get-my-user.mjs.map +1 -1
- package/dist/actions/get-project.cjs +3 -3
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +20 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +20 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +3 -3
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-task.cjs.map +1 -1
- package/dist/actions/get-task.d.cts +76 -3
- package/dist/actions/get-task.d.cts.map +1 -1
- package/dist/actions/get-task.d.mts +76 -3
- package/dist/actions/get-task.d.mts.map +1 -1
- package/dist/actions/get-task.mjs.map +1 -1
- package/dist/actions/list-comments.cjs +7 -7
- package/dist/actions/list-comments.cjs.map +1 -1
- package/dist/actions/list-comments.d.cts +25 -3
- package/dist/actions/list-comments.d.cts.map +1 -1
- package/dist/actions/list-comments.d.mts +25 -3
- package/dist/actions/list-comments.d.mts.map +1 -1
- package/dist/actions/list-comments.mjs +7 -7
- package/dist/actions/list-comments.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +5 -5
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +18 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +18 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +5 -5
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +3 -3
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +28 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +28 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +3 -3
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-recurring-tasks.cjs +17 -17
- package/dist/actions/list-recurring-tasks.cjs.map +1 -1
- package/dist/actions/list-recurring-tasks.d.cts +66 -3
- package/dist/actions/list-recurring-tasks.d.cts.map +1 -1
- package/dist/actions/list-recurring-tasks.d.mts +66 -3
- package/dist/actions/list-recurring-tasks.d.mts.map +1 -1
- package/dist/actions/list-recurring-tasks.mjs +17 -17
- package/dist/actions/list-recurring-tasks.mjs.map +1 -1
- package/dist/actions/list-schedules.cjs +5 -5
- package/dist/actions/list-schedules.cjs.map +1 -1
- package/dist/actions/list-schedules.d.cts +39 -3
- package/dist/actions/list-schedules.d.cts.map +1 -1
- package/dist/actions/list-schedules.d.mts +39 -3
- package/dist/actions/list-schedules.d.mts.map +1 -1
- package/dist/actions/list-schedules.mjs +5 -5
- package/dist/actions/list-schedules.mjs.map +1 -1
- package/dist/actions/list-statuses.cjs +3 -3
- package/dist/actions/list-statuses.cjs.map +1 -1
- package/dist/actions/list-statuses.d.cts +13 -3
- package/dist/actions/list-statuses.d.cts.map +1 -1
- package/dist/actions/list-statuses.d.mts +13 -3
- package/dist/actions/list-statuses.d.mts.map +1 -1
- package/dist/actions/list-statuses.mjs +3 -3
- package/dist/actions/list-statuses.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +91 -3
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +91 -3
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +21 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +21 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workspaces.cjs +7 -7
- package/dist/actions/list-workspaces.cjs.map +1 -1
- package/dist/actions/list-workspaces.d.cts +28 -3
- package/dist/actions/list-workspaces.d.cts.map +1 -1
- package/dist/actions/list-workspaces.d.mts +28 -3
- package/dist/actions/list-workspaces.d.mts.map +1 -1
- package/dist/actions/list-workspaces.mjs +7 -7
- package/dist/actions/list-workspaces.mjs.map +1 -1
- package/dist/actions/move-task.cjs +16 -16
- package/dist/actions/move-task.cjs.map +1 -1
- package/dist/actions/move-task.d.cts +84 -3
- package/dist/actions/move-task.d.cts.map +1 -1
- package/dist/actions/move-task.d.mts +84 -3
- package/dist/actions/move-task.d.mts.map +1 -1
- package/dist/actions/move-task.mjs +16 -16
- package/dist/actions/move-task.mjs.map +1 -1
- package/dist/actions/unassign-task.cjs.map +1 -1
- package/dist/actions/unassign-task.d.cts +9 -3
- package/dist/actions/unassign-task.d.cts.map +1 -1
- package/dist/actions/unassign-task.d.mts +9 -3
- package/dist/actions/unassign-task.d.mts.map +1 -1
- package/dist/actions/unassign-task.mjs.map +1 -1
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +116 -3
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +116 -3
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-custom-fields.d.ts
|
|
4
|
-
declare const MotionListCustomFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MotionListCustomFieldsInput: z.ZodObject<{
|
|
5
|
+
workspace_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MotionListCustomFieldsOutput: z.ZodObject<{
|
|
8
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
field: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
15
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const motionListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
workspace_id: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { motionListCustomFields };
|
|
9
24
|
//# sourceMappingURL=list-custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-custom-fields.ts
|
|
4
4
|
const MotionListCustomFieldsInput = z.object({ workspace_id: z.string().describe("The workspace ID to get custom fields from") }).describe("Request model for listing custom fields for a workspace.");
|
|
5
5
|
const MotionListCustomFields_FieldDetailsSchema = z.object({
|
|
6
|
-
id: z.string().describe("The unique identifier for the custom field"),
|
|
7
|
-
name: z.string().describe("The name of the custom field"),
|
|
8
|
-
type: z.string().describe("The type of the custom field (e.g., 'text', 'select', 'date', 'number')"),
|
|
6
|
+
id: z.string().describe("The unique identifier for the custom field").nullable(),
|
|
7
|
+
name: z.string().describe("The name of the custom field").nullable(),
|
|
8
|
+
type: z.string().describe("The type of the custom field (e.g., 'text', 'select', 'date', 'number')").nullable(),
|
|
9
9
|
metadata: z.object({}).describe("Optional metadata for the custom field (e.g., options for select fields, format for number fields)").nullable().optional(),
|
|
10
|
-
workspaceId: z.string().describe("The workspace this custom field belongs to")
|
|
10
|
+
workspaceId: z.string().describe("The workspace this custom field belongs to").nullable()
|
|
11
11
|
}).describe("Details of a custom field.");
|
|
12
12
|
const MotionListCustomFields_CustomFieldSchema = z.object({
|
|
13
|
-
id: z.string().describe("The unique identifier for the custom field"),
|
|
13
|
+
id: z.string().describe("The unique identifier for the custom field").nullable(),
|
|
14
14
|
field: MotionListCustomFields_FieldDetailsSchema.nullable()
|
|
15
15
|
}).describe("A custom field object containing field details and ID.");
|
|
16
16
|
const motionListCustomFields = action("MOTION_LIST_CUSTOM_FIELDS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCustomFieldsInput
|
|
1
|
+
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListCustomFieldsInput = z.object({\n workspace_id: z.string().describe(\"The workspace ID to get custom fields from\"),\n}).describe(\"Request model for listing custom fields for a workspace.\");\nconst MotionListCustomFields_FieldDetailsSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n name: z.string().describe(\"The name of the custom field\").nullable(),\n type: z.string().describe(\"The type of the custom field (e.g., 'text', 'select', 'date', 'number')\").nullable(),\n metadata: z.object({}).describe(\"Optional metadata for the custom field (e.g., options for select fields, format for number fields)\").nullable().optional(),\n workspaceId: z.string().describe(\"The workspace this custom field belongs to\").nullable(),\n}).describe(\"Details of a custom field.\");\nconst MotionListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier for the custom field\").nullable(),\n field: MotionListCustomFields_FieldDetailsSchema.nullable(),\n}).describe(\"A custom field object containing field details and ID.\");\nexport const MotionListCustomFieldsOutput = z.object({\n custom_fields: z.array(MotionListCustomFields_CustomFieldSchema).describe(\"List of custom fields in the workspace\"),\n}).describe(\"Response model for listing custom fields.\\nReturns an array of custom field objects.\");\n\nexport const motionListCustomFields = action(\"MOTION_LIST_CUSTOM_FIELDS\", {\n slug: \"motion-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to retrieve all custom fields for a given Motion workspace. Use when you need to see what custom fields are available in a workspace.\",\n input: MotionListCustomFieldsInput,\n output: MotionListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,0CAA0C,SAAS;AAC5D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC,EACpH,CAAC,CAAC,CAAC,SAAS,sFAOF;AACV,CAAC"}
|
|
@@ -15,13 +15,13 @@ const MotionListProjects_ProjectStatusSchema = zod.z.object({
|
|
|
15
15
|
isResolvedStatus: zod.z.boolean().describe("Whether this is a resolved status").nullable().optional()
|
|
16
16
|
}).describe("Status information for a project.");
|
|
17
17
|
const MotionListProjects_ProjectSchema = zod.z.object({
|
|
18
|
-
id: zod.z.string().describe("The unique identifier for the project"),
|
|
19
|
-
name: zod.z.string().describe("The name of the project"),
|
|
18
|
+
id: zod.z.string().describe("The unique identifier for the project").nullable(),
|
|
19
|
+
name: zod.z.string().describe("The name of the project").nullable(),
|
|
20
20
|
status: MotionListProjects_ProjectStatusSchema.nullable().optional(),
|
|
21
21
|
description: zod.z.string().describe("HTML-formatted description of the project").nullable().optional(),
|
|
22
22
|
created_time: zod.z.string().describe("The timestamp when the project was created").nullable().optional(),
|
|
23
23
|
updated_time: zod.z.string().describe("The timestamp when the project was last updated").nullable().optional(),
|
|
24
|
-
workspace_id: zod.z.string().describe("The workspace ID this project belongs to"),
|
|
24
|
+
workspace_id: zod.z.string().describe("The workspace ID this project belongs to").nullable(),
|
|
25
25
|
custom_field_values: zod.z.object({}).describe("Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.").nullable().optional()
|
|
26
26
|
}).describe("A Motion project object.");
|
|
27
27
|
const MotionListProjectsOutput = zod.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput
|
|
1
|
+
{"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.object({}).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvT,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC;AAClG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-projects.d.ts
|
|
4
|
-
declare const MotionListProjectsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MotionListProjectsInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MotionListProjectsOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
page_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
workspace_id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const motionListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
cursor?: string | undefined;
|
|
30
|
+
workspace_id?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { motionListProjects };
|
|
9
34
|
//# sourceMappingURL=list-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-projects.d.ts
|
|
4
|
-
declare const MotionListProjectsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MotionListProjectsInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MotionListProjectsOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
page_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
isDefaultStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
isResolvedStatus: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
workspace_id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
custom_field_values: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const motionListProjects: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
cursor?: string | undefined;
|
|
30
|
+
workspace_id?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { motionListProjects };
|
|
9
34
|
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAuBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -15,13 +15,13 @@ const MotionListProjects_ProjectStatusSchema = z.object({
|
|
|
15
15
|
isResolvedStatus: z.boolean().describe("Whether this is a resolved status").nullable().optional()
|
|
16
16
|
}).describe("Status information for a project.");
|
|
17
17
|
const MotionListProjects_ProjectSchema = z.object({
|
|
18
|
-
id: z.string().describe("The unique identifier for the project"),
|
|
19
|
-
name: z.string().describe("The name of the project"),
|
|
18
|
+
id: z.string().describe("The unique identifier for the project").nullable(),
|
|
19
|
+
name: z.string().describe("The name of the project").nullable(),
|
|
20
20
|
status: MotionListProjects_ProjectStatusSchema.nullable().optional(),
|
|
21
21
|
description: z.string().describe("HTML-formatted description of the project").nullable().optional(),
|
|
22
22
|
created_time: z.string().describe("The timestamp when the project was created").nullable().optional(),
|
|
23
23
|
updated_time: z.string().describe("The timestamp when the project was last updated").nullable().optional(),
|
|
24
|
-
workspace_id: z.string().describe("The workspace ID this project belongs to"),
|
|
24
|
+
workspace_id: z.string().describe("The workspace ID this project belongs to").nullable(),
|
|
25
25
|
custom_field_values: z.object({}).describe("Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.").nullable().optional()
|
|
26
26
|
}).describe("A Motion project object.");
|
|
27
27
|
const motionListProjects = action("MOTION_LIST_PROJECTS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListProjectsInput = z.object({\n cursor: z.string().describe(\"Use if a previous request returned a cursor. Will page through results.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID to get projects from. If not provided, returns projects from all workspaces accessible by the API key.\").optional(),\n}).describe(\"Request model for listing projects in a workspace.\");\nconst MotionListProjects_MetaSchema = z.object({\n page_size: z.number().int().describe(\"Number of results in the current response\").nullable().optional(),\n next_cursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).describe(\"Pagination metadata.\");\nconst MotionListProjects_ProjectStatusSchema = z.object({\n name: z.string().describe(\"The name of the status\").nullable().optional(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable().optional(),\n isResolvedStatus: z.boolean().describe(\"Whether this is a resolved status\").nullable().optional(),\n}).describe(\"Status information for a project.\");\nconst MotionListProjects_ProjectSchema = z.object({\n id: z.string().describe(\"The unique identifier for the project\").nullable(),\n name: z.string().describe(\"The name of the project\").nullable(),\n status: MotionListProjects_ProjectStatusSchema.nullable().optional(),\n description: z.string().describe(\"HTML-formatted description of the project\").nullable().optional(),\n created_time: z.string().describe(\"The timestamp when the project was created\").nullable().optional(),\n updated_time: z.string().describe(\"The timestamp when the project was last updated\").nullable().optional(),\n workspace_id: z.string().describe(\"The workspace ID this project belongs to\").nullable(),\n custom_field_values: z.object({}).describe(\"Custom field values for the project, where keys are field IDs and values are field value objects. Supports various field types including text, number, URL, date, select, multiSelect, person, multiPerson, email, phone, checkbox, and relatedTo.\").nullable().optional(),\n}).describe(\"A Motion project object.\");\nexport const MotionListProjectsOutput = z.object({\n meta: MotionListProjects_MetaSchema.nullable().optional(),\n projects: z.array(MotionListProjects_ProjectSchema).describe(\"List of projects in the workspace\"),\n}).describe(\"Response model for listing projects.\");\n\nexport const motionListProjects = action(\"MOTION_LIST_PROJECTS\", {\n slug: \"motion-list-projects\",\n name: \"List Projects\",\n description: \"Tool to get all projects for a workspace. Use when you need to retrieve all projects accessible to the API key, optionally filtered by workspace.\",\n input: MotionListProjectsInput,\n output: MotionListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,QAAQ,C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describe("Number of tasks in the current response").nullable().optional(),
|
|
10
10
|
nextCursor: zod.z.string().describe("Cursor to use for fetching the next page of results. Null if no more pages.").nullable().optional()
|
|
11
11
|
}).describe("Pagination metadata.");
|
|
12
|
-
const MotionListRecurringTasks_LabelObjectSchema = zod.z.object({ name: zod.z.string().describe("Label name") }).describe("Label information.");
|
|
12
|
+
const MotionListRecurringTasks_LabelObjectSchema = zod.z.object({ name: zod.z.string().describe("Label name").nullable() }).describe("Label information.");
|
|
13
13
|
const MotionListRecurringTasks_StatusObjectSchema = zod.z.object({
|
|
14
|
-
name: zod.z.string().describe("Status name"),
|
|
15
|
-
isDefaultStatus: zod.z.boolean().describe("Whether this is the default status"),
|
|
16
|
-
isResolvedStatus: zod.z.boolean().describe("Whether this status indicates the task is resolved")
|
|
14
|
+
name: zod.z.string().describe("Status name").nullable(),
|
|
15
|
+
isDefaultStatus: zod.z.boolean().describe("Whether this is the default status").nullable(),
|
|
16
|
+
isResolvedStatus: zod.z.boolean().describe("Whether this status indicates the task is resolved").nullable()
|
|
17
17
|
}).describe("Task status information.");
|
|
18
18
|
const MotionListRecurringTasks_UserObjectSchema = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("Unique user identifier"),
|
|
20
|
-
name: zod.z.string().describe("User's full name"),
|
|
21
|
-
email: zod.z.string().describe("User's email address")
|
|
19
|
+
id: zod.z.string().describe("Unique user identifier").nullable(),
|
|
20
|
+
name: zod.z.string().describe("User's full name").nullable(),
|
|
21
|
+
email: zod.z.string().describe("User's email address").nullable()
|
|
22
22
|
}).describe("User information for creator or assignee.");
|
|
23
23
|
const MotionListRecurringTasks_ProjectObjectSchema = zod.z.object({
|
|
24
|
-
id: zod.z.string().describe("Unique project identifier"),
|
|
25
|
-
name: zod.z.string().describe("Project name"),
|
|
24
|
+
id: zod.z.string().describe("Unique project identifier").nullable(),
|
|
25
|
+
name: zod.z.string().describe("Project name").nullable(),
|
|
26
26
|
status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),
|
|
27
27
|
createdTime: zod.z.string().describe("Project creation timestamp in ISO format").nullable().optional(),
|
|
28
|
-
description: zod.z.string().describe("Project description (may contain HTML)"),
|
|
28
|
+
description: zod.z.string().describe("Project description (may contain HTML)").nullable(),
|
|
29
29
|
updatedTime: zod.z.string().describe("Project last update timestamp in ISO format").nullable().optional(),
|
|
30
|
-
workspaceId: zod.z.string().describe("Associated workspace identifier"),
|
|
30
|
+
workspaceId: zod.z.string().describe("Associated workspace identifier").nullable(),
|
|
31
31
|
customFieldValues: zod.z.object({}).describe("Custom field values for the project").nullable().optional()
|
|
32
32
|
}).describe("Project information associated with a recurring task.");
|
|
33
33
|
const MotionListRecurringTasks_WorkspaceObjectSchema = zod.z.object({
|
|
34
|
-
id: zod.z.string().describe("Unique workspace identifier"),
|
|
35
|
-
name: zod.z.string().describe("Workspace name"),
|
|
36
|
-
type: zod.z.string().describe("Workspace type: 'team' or 'individual'"),
|
|
34
|
+
id: zod.z.string().describe("Unique workspace identifier").nullable(),
|
|
35
|
+
name: zod.z.string().describe("Workspace name").nullable(),
|
|
36
|
+
type: zod.z.string().describe("Workspace type: 'team' or 'individual'").nullable(),
|
|
37
37
|
labels: zod.z.array(MotionListRecurringTasks_LabelObjectSchema).describe("Available labels in workspace").nullable().optional(),
|
|
38
38
|
teamId: zod.z.string().describe("Associated team identifier (null for individual workspaces)").nullable().optional(),
|
|
39
39
|
statuses: zod.z.array(MotionListRecurringTasks_StatusObjectSchema).describe("Available statuses in workspace").nullable().optional()
|
|
40
40
|
}).describe("Workspace information.");
|
|
41
41
|
const MotionListRecurringTasks_RecurringTaskObjectSchema = zod.z.object({
|
|
42
|
-
id: zod.z.string().describe("Unique recurring task identifier"),
|
|
43
|
-
name: zod.z.string().describe("Task title/name"),
|
|
42
|
+
id: zod.z.string().describe("Unique recurring task identifier").nullable(),
|
|
43
|
+
name: zod.z.string().describe("Task title/name").nullable(),
|
|
44
44
|
labels: zod.z.array(MotionListRecurringTasks_LabelObjectSchema).describe("Labels assigned to the task"),
|
|
45
45
|
status: MotionListRecurringTasks_StatusObjectSchema.nullable(),
|
|
46
46
|
creator: MotionListRecurringTasks_UserObjectSchema.nullable(),
|
|
47
47
|
project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),
|
|
48
48
|
assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),
|
|
49
|
-
priority: zod.z.string().describe("Task priority: ASAP, HIGH, MEDIUM, or LOW"),
|
|
49
|
+
priority: zod.z.string().describe("Task priority: ASAP, HIGH, MEDIUM, or LOW").nullable(),
|
|
50
50
|
workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),
|
|
51
51
|
customFieldValues: zod.z.object({}).describe("Custom field values for the task").nullable().optional()
|
|
52
52
|
}).describe("Recurring task details.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.cjs","names":["z","action"],"sources":["../../src/actions/list-recurring-tasks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MotionListRecurringTasksInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the nextCursor value from a previous response to get the next page of results.\").optional(),\n workspaceId: z.string().describe(\"The workspace to get recurring tasks from. Required.\"),\n}).describe(\"Request parameters for listing recurring tasks in a workspace.\");\nconst MotionListRecurringTasks_PaginationMetaSchema = z.object({\n pageSize: z.number().int().describe(\"Number of tasks in the current response\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n}).describe(\"Pagination metadata.\");\nconst MotionListRecurringTasks_LabelObjectSchema = z.object({\n name: z.string().describe(\"Label name\").nullable(),\n}).describe(\"Label information.\");\nconst MotionListRecurringTasks_StatusObjectSchema = z.object({\n name: z.string().describe(\"Status name\").nullable(),\n isDefaultStatus: z.boolean().describe(\"Whether this is the default status\").nullable(),\n isResolvedStatus: z.boolean().describe(\"Whether this status indicates the task is resolved\").nullable(),\n}).describe(\"Task status information.\");\nconst MotionListRecurringTasks_UserObjectSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n name: z.string().describe(\"User's full name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).describe(\"User information for creator or assignee.\");\nconst MotionListRecurringTasks_ProjectObjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),\n createdTime: z.string().describe(\"Project creation timestamp in ISO format\").nullable().optional(),\n description: z.string().describe(\"Project description (may contain HTML)\").nullable(),\n updatedTime: z.string().describe(\"Project last update timestamp in ISO format\").nullable().optional(),\n workspaceId: z.string().describe(\"Associated workspace identifier\").nullable(),\n customFieldValues: z.object({}).describe(\"Custom field values for the project\").nullable().optional(),\n}).describe(\"Project information associated with a recurring task.\");\nconst MotionListRecurringTasks_WorkspaceObjectSchema = z.object({\n id: z.string().describe(\"Unique workspace identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n type: z.string().describe(\"Workspace type: 'team' or 'individual'\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Available labels in workspace\").nullable().optional(),\n teamId: z.string().describe(\"Associated team identifier (null for individual workspaces)\").nullable().optional(),\n statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe(\"Available statuses in workspace\").nullable().optional(),\n}).describe(\"Workspace information.\");\nconst MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({\n id: z.string().describe(\"Unique recurring task identifier\").nullable(),\n name: z.string().describe(\"Task title/name\").nullable(),\n labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe(\"Labels assigned to the task\"),\n status: MotionListRecurringTasks_StatusObjectSchema.nullable(),\n creator: MotionListRecurringTasks_UserObjectSchema.nullable(),\n project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),\n assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),\n priority: z.string().describe(\"Task priority: ASAP, HIGH, MEDIUM, or LOW\").nullable(),\n workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),\n customFieldValues: z.object({}).describe(\"Custom field values for the task\").nullable().optional(),\n}).describe(\"Recurring task details.\");\nexport const MotionListRecurringTasksOutput = z.object({\n meta: MotionListRecurringTasks_PaginationMetaSchema.nullable().optional(),\n tasks: z.array(MotionListRecurringTasks_RecurringTaskObjectSchema).describe(\"List of recurring tasks\"),\n}).describe(\"Response containing paginated list of recurring tasks.\");\n\nexport const motionListRecurringTasks = action(\"MOTION_LIST_RECURRING_TASKS\", {\n slug: \"motion-list-recurring-tasks\",\n name: \"List Recurring Tasks\",\n description: \"Tool to get all recurring tasks for a workspace. Use when you need to retrieve recurring task information from Motion.\",\n input: MotionListRecurringTasksInput,\n output: MotionListRecurringTasksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MA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AA0C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,WAAW,+CAA+C,SAAS;CACnE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yBAAyB;AACvG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,72 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-recurring-tasks.d.ts
|
|
4
|
-
declare const MotionListRecurringTasksInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MotionListRecurringTasksInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
workspaceId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MotionListRecurringTasksOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
labels: z.ZodArray<z.ZodObject<{
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
creator: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
id: z.ZodNullable<z.ZodString>;
|
|
26
|
+
name: z.ZodNullable<z.ZodString>;
|
|
27
|
+
email: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
id: z.ZodNullable<z.ZodString>;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
35
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
createdTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
description: z.ZodNullable<z.ZodString>;
|
|
39
|
+
updatedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
41
|
+
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
assignee: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
id: z.ZodNullable<z.ZodString>;
|
|
45
|
+
name: z.ZodNullable<z.ZodString>;
|
|
46
|
+
email: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
priority: z.ZodNullable<z.ZodString>;
|
|
49
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
50
|
+
id: z.ZodNullable<z.ZodString>;
|
|
51
|
+
name: z.ZodNullable<z.ZodString>;
|
|
52
|
+
type: z.ZodNullable<z.ZodString>;
|
|
53
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
|
+
name: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>>>;
|
|
56
|
+
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
|
+
name: z.ZodNullable<z.ZodString>;
|
|
59
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
60
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
61
|
+
}, z.core.$strip>>>>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
declare const motionListRecurringTasks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
|
+
workspaceId: string;
|
|
68
|
+
cursor?: string | undefined;
|
|
69
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
70
|
//#endregion
|
|
8
71
|
export { motionListRecurringTasks };
|
|
9
72
|
//# sourceMappingURL=list-recurring-tasks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.d.cts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,72 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-recurring-tasks.d.ts
|
|
4
|
-
declare const MotionListRecurringTasksInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MotionListRecurringTasksInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
workspaceId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MotionListRecurringTasksOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
pageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
labels: z.ZodArray<z.ZodObject<{
|
|
17
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
creator: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
id: z.ZodNullable<z.ZodString>;
|
|
26
|
+
name: z.ZodNullable<z.ZodString>;
|
|
27
|
+
email: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
id: z.ZodNullable<z.ZodString>;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
35
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
createdTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
description: z.ZodNullable<z.ZodString>;
|
|
39
|
+
updatedTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
41
|
+
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
assignee: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
id: z.ZodNullable<z.ZodString>;
|
|
45
|
+
name: z.ZodNullable<z.ZodString>;
|
|
46
|
+
email: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
priority: z.ZodNullable<z.ZodString>;
|
|
49
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
50
|
+
id: z.ZodNullable<z.ZodString>;
|
|
51
|
+
name: z.ZodNullable<z.ZodString>;
|
|
52
|
+
type: z.ZodNullable<z.ZodString>;
|
|
53
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
|
+
name: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>>>;
|
|
56
|
+
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
|
+
name: z.ZodNullable<z.ZodString>;
|
|
59
|
+
isDefaultStatus: z.ZodNullable<z.ZodBoolean>;
|
|
60
|
+
isResolvedStatus: z.ZodNullable<z.ZodBoolean>;
|
|
61
|
+
}, z.core.$strip>>>>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
declare const motionListRecurringTasks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
|
+
workspaceId: string;
|
|
68
|
+
cursor?: string | undefined;
|
|
69
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
70
|
//#endregion
|
|
8
71
|
export { motionListRecurringTasks };
|
|
9
72
|
//# sourceMappingURL=list-recurring-tasks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-recurring-tasks.d.mts","names":[],"sources":["../../src/actions/list-recurring-tasks.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAmD7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -9,44 +9,44 @@ const MotionListRecurringTasks_PaginationMetaSchema = z.object({
|
|
|
9
9
|
pageSize: z.number().int().describe("Number of tasks in the current response").nullable().optional(),
|
|
10
10
|
nextCursor: z.string().describe("Cursor to use for fetching the next page of results. Null if no more pages.").nullable().optional()
|
|
11
11
|
}).describe("Pagination metadata.");
|
|
12
|
-
const MotionListRecurringTasks_LabelObjectSchema = z.object({ name: z.string().describe("Label name") }).describe("Label information.");
|
|
12
|
+
const MotionListRecurringTasks_LabelObjectSchema = z.object({ name: z.string().describe("Label name").nullable() }).describe("Label information.");
|
|
13
13
|
const MotionListRecurringTasks_StatusObjectSchema = z.object({
|
|
14
|
-
name: z.string().describe("Status name"),
|
|
15
|
-
isDefaultStatus: z.boolean().describe("Whether this is the default status"),
|
|
16
|
-
isResolvedStatus: z.boolean().describe("Whether this status indicates the task is resolved")
|
|
14
|
+
name: z.string().describe("Status name").nullable(),
|
|
15
|
+
isDefaultStatus: z.boolean().describe("Whether this is the default status").nullable(),
|
|
16
|
+
isResolvedStatus: z.boolean().describe("Whether this status indicates the task is resolved").nullable()
|
|
17
17
|
}).describe("Task status information.");
|
|
18
18
|
const MotionListRecurringTasks_UserObjectSchema = z.object({
|
|
19
|
-
id: z.string().describe("Unique user identifier"),
|
|
20
|
-
name: z.string().describe("User's full name"),
|
|
21
|
-
email: z.string().describe("User's email address")
|
|
19
|
+
id: z.string().describe("Unique user identifier").nullable(),
|
|
20
|
+
name: z.string().describe("User's full name").nullable(),
|
|
21
|
+
email: z.string().describe("User's email address").nullable()
|
|
22
22
|
}).describe("User information for creator or assignee.");
|
|
23
23
|
const MotionListRecurringTasks_ProjectObjectSchema = z.object({
|
|
24
|
-
id: z.string().describe("Unique project identifier"),
|
|
25
|
-
name: z.string().describe("Project name"),
|
|
24
|
+
id: z.string().describe("Unique project identifier").nullable(),
|
|
25
|
+
name: z.string().describe("Project name").nullable(),
|
|
26
26
|
status: MotionListRecurringTasks_StatusObjectSchema.nullable().optional(),
|
|
27
27
|
createdTime: z.string().describe("Project creation timestamp in ISO format").nullable().optional(),
|
|
28
|
-
description: z.string().describe("Project description (may contain HTML)"),
|
|
28
|
+
description: z.string().describe("Project description (may contain HTML)").nullable(),
|
|
29
29
|
updatedTime: z.string().describe("Project last update timestamp in ISO format").nullable().optional(),
|
|
30
|
-
workspaceId: z.string().describe("Associated workspace identifier"),
|
|
30
|
+
workspaceId: z.string().describe("Associated workspace identifier").nullable(),
|
|
31
31
|
customFieldValues: z.object({}).describe("Custom field values for the project").nullable().optional()
|
|
32
32
|
}).describe("Project information associated with a recurring task.");
|
|
33
33
|
const MotionListRecurringTasks_WorkspaceObjectSchema = z.object({
|
|
34
|
-
id: z.string().describe("Unique workspace identifier"),
|
|
35
|
-
name: z.string().describe("Workspace name"),
|
|
36
|
-
type: z.string().describe("Workspace type: 'team' or 'individual'"),
|
|
34
|
+
id: z.string().describe("Unique workspace identifier").nullable(),
|
|
35
|
+
name: z.string().describe("Workspace name").nullable(),
|
|
36
|
+
type: z.string().describe("Workspace type: 'team' or 'individual'").nullable(),
|
|
37
37
|
labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe("Available labels in workspace").nullable().optional(),
|
|
38
38
|
teamId: z.string().describe("Associated team identifier (null for individual workspaces)").nullable().optional(),
|
|
39
39
|
statuses: z.array(MotionListRecurringTasks_StatusObjectSchema).describe("Available statuses in workspace").nullable().optional()
|
|
40
40
|
}).describe("Workspace information.");
|
|
41
41
|
const MotionListRecurringTasks_RecurringTaskObjectSchema = z.object({
|
|
42
|
-
id: z.string().describe("Unique recurring task identifier"),
|
|
43
|
-
name: z.string().describe("Task title/name"),
|
|
42
|
+
id: z.string().describe("Unique recurring task identifier").nullable(),
|
|
43
|
+
name: z.string().describe("Task title/name").nullable(),
|
|
44
44
|
labels: z.array(MotionListRecurringTasks_LabelObjectSchema).describe("Labels assigned to the task"),
|
|
45
45
|
status: MotionListRecurringTasks_StatusObjectSchema.nullable(),
|
|
46
46
|
creator: MotionListRecurringTasks_UserObjectSchema.nullable(),
|
|
47
47
|
project: MotionListRecurringTasks_ProjectObjectSchema.nullable().optional(),
|
|
48
48
|
assignee: MotionListRecurringTasks_UserObjectSchema.nullable(),
|
|
49
|
-
priority: z.string().describe("Task priority: ASAP, HIGH, MEDIUM, or LOW"),
|
|
49
|
+
priority: z.string().describe("Task priority: ASAP, HIGH, MEDIUM, or LOW").nullable(),
|
|
50
50
|
workspace: MotionListRecurringTasks_WorkspaceObjectSchema.nullable(),
|
|
51
51
|
customFieldValues: z.object({}).describe("Custom field values for the task").nullable().optional()
|
|
52
52
|
}).describe("Recurring task details.");
|